/*
 *             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(_0x5032cd,_0x248eb7){'object'==typeof exports&&'undefined'!=typeof module?_0x248eb7(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x248eb7):_0x248eb7((_0x5032cd='undefined'!=typeof globalThis?globalThis:_0x5032cd||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x5032cd['CKEDITOR']);}(this,function(_0x49828a,_0xa0ed63){'use strict';const _0x55f4dd='_ungrouppedCommands';function _0x47e24f(_0x47edbd,_0x5f246d){const _0x6fe85d=(0x0,_0x5f246d['t'])('Other');return _0x47edbd['length']?'groupId'in _0x47edbd[0x0]?_0x47edbd:[{'groupId':_0x55f4dd,'groupLabel':_0x6fe85d,'order':0x1/0x0,'commands':_0x47edbd}]:[{'groupId':_0x55f4dd,'groupLabel':_0x6fe85d,'order':0x1/0x0,'commands':[]}];}const _0x427299=globalThis['DataTransfer'],_0x330c4e='ai-ui';class AIAssistantEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c5195}=this,_0xad5747=['ck-fake-ai-selection'];_0x2c5195['config']['get']('ai.assistant.useTheme')&&_0xad5747['push']('ck-ai-assistant-ui_theme'),_0x2c5195['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x330c4e,'view':{'classes':_0xad5747,'priority':0xc}}),_0x2c5195['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x330c4e,'view':(_0x1c4da8,{writer:_0x2ae756})=>{if(!_0x1c4da8['markerRange']['isCollapsed'])return null;const _0x1feff0=_0x2ae756['createUIElement']('span');return _0x2ae756['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x1feff0),_0x1feff0;}});}['afterInit'](){!async function(_0x908765){const _0xec0863=_0x2845eb([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2084ad=0x3dffc4e1,_0x5eb525=0x3df84b21^_0x2084ad,_0x193b94=window[_0x2845eb([0x44,0x61,0x74,0x65])][_0x2845eb([0x6e,0x6f,0x77])](),_0x2888e4=_0x908765[_0x2845eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c2d0b=new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51bc01=>{_0x2888e4[_0x2845eb([0x6f,0x6e,0x63,0x65])](_0x2845eb([0x72,0x65,0x61,0x64,0x79]),_0x51bc01);}),_0x2a2708={[_0x2845eb([0x6b,0x74,0x79])]:_0x2845eb([0x45,0x43]),[_0x2845eb([0x75,0x73,0x65])]:_0x2845eb([0x73,0x69,0x67]),[_0x2845eb([0x63,0x72,0x76])]:_0x2845eb([0x50,0x2d,0x32,0x35,0x36]),[_0x2845eb([0x78])]:_0x2845eb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2845eb([0x79])]:_0x2845eb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2845eb([0x61,0x6c,0x67])]:_0x2845eb([0x45,0x53,0x32,0x35,0x36])},_0x15e764=_0x2888e4[_0x2845eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2845eb([0x67,0x65,0x74])](_0x2845eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b3dc7(){let _0x36bc39,_0xe4062=null,_0x5c137d=null;try{if(_0x15e764==_0x2845eb([0x47,0x50,0x4c]))return _0x2845eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36bc39=_0x3bd703(),!_0x36bc39)return _0x2845eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36bc39[_0x2845eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c137d=_0x4171db(_0x36bc39[_0x2845eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36bc39[_0x2845eb([0x6a,0x74,0x69])])),await _0x2f747e()?_0x48daa4()?_0x5e827e()?_0x2845eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5843bc()?(_0x36bc39[_0x2845eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2845eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe4062=_0x2a0da3(_0x2845eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2685c5()):_0x2845eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2845eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2845eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2845eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e827e(){const _0xbd2c10=[_0x2845eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2845eb([0x74,0x72,0x69,0x61,0x6c])][_0x2845eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36bc39[_0x2845eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x193b94/0x3e8:0xe10*_0x5eb525;return _0x36bc39[_0x2845eb([0x65,0x78,0x70])]<_0xbd2c10;}function _0x48daa4(){const _0x20d7d6=_0x36bc39[_0x2845eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x20d7d6&&(!!_0x20d7d6[_0x2845eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2845eb([0x2a]))||!!_0x20d7d6[_0x2845eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2845eb([0x41,0x49])));}function _0x5843bc(){const _0x560d29=_0x36bc39[_0x2845eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x560d29||0x0==_0x560d29[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b0971}=new URL(window[_0x2845eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x560d29[_0x2845eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b0971))return!0x0;const _0x5a8f5a=_0x5b0971[_0x2845eb([0x73,0x70,0x6c,0x69,0x74])](_0x2845eb([0x2e]));return _0x560d29[_0x2845eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x561efc=>_0x561efc[_0x2845eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2845eb([0x2a])))[_0x2845eb([0x6d,0x61,0x70])](_0x2b6a64=>_0x2b6a64[_0x2845eb([0x73,0x70,0x6c,0x69,0x74])](_0x2845eb([0x2e])))[_0x2845eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c8e23=>_0x3c8e23[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a8f5a[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2845eb([0x6d,0x61,0x70])](_0x3f04be=>Array(_0x5a8f5a[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f04be[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2845eb([0x66,0x69,0x6c,0x6c])](_0x3f04be[0x0]===_0x2845eb([0x2a])?_0x2845eb([0x2a]):'')[_0x2845eb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f04be))[_0x2845eb([0x73,0x6f,0x6d,0x65])](_0x2fb840=>_0x5a8f5a[_0x2845eb([0x65,0x76,0x65,0x72,0x79])]((_0x55a958,_0x11de8e)=>_0x2fb840[_0x11de8e]===_0x55a958||_0x2fb840[_0x11de8e]===_0x2845eb([0x2a])));}function _0x2685c5(){return _0xe4062&&_0x5c137d?new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50e9df,_0x4ff37d)=>{_0xe4062[_0x2845eb([0x74,0x68,0x65,0x6e])](_0x50e9df,_0x4ff37d),_0x5c137d[_0x2845eb([0x74,0x68,0x65,0x6e])](_0xc41378=>{_0xc41378!=_0x2845eb([0x56,0x61,0x6c,0x69,0x64])&&_0x50e9df(_0xc41378);},_0x4ff37d);}):_0xe4062||_0x5c137d||_0x2845eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4171db(_0x4d0d88,_0x138a54){return new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437ec5=>{if(_0x5a4a00())return _0x437ec5(_0x2845eb([0x56,0x61,0x6c,0x69,0x64]));_0x5b940b(),_0x2888e4[_0x2845eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2845eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5695d6=!0x1;const _0x4e7a0e=_0xa0ed63['uid']();function _0x2b6e90(_0x3a6d57){return!!_0x3a6d57&&(typeof _0x3a6d57===_0x2845eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3a6d57===_0x2845eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3a6d57[_0x2845eb([0x74,0x68,0x65,0x6e])]===_0x2845eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3a6d57[_0x2845eb([0x63,0x61,0x74,0x63,0x68])]===_0x2845eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14d784(_0x53a0ad){_0x2ca498(_0x53a0ad)[_0x2845eb([0x74,0x68,0x65,0x6e])](_0x2c75de=>{if(!_0x2c75de||_0x2c75de[_0x2845eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2845eb([0x6f,0x6b]))return _0x2845eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5da51d(_0x2037cf(_0x4e7a0e+_0x138a54))!=_0x2c75de[_0x2845eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2845eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2845eb([0x56,0x61,0x6c,0x69,0x64]);})[_0x2845eb([0x74,0x68,0x65,0x6e])](_0x1b632=>(_0x224447(),_0x1b632),()=>{const _0x114aae=_0x176de6();return null==_0x114aae?(_0x224447(),_0x2845eb([0x56,0x61,0x6c,0x69,0x64])):_0x2845eb(_0x193b94-_0x114aae>(0x19f340e1^_0x2084ad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2845eb([0x74,0x68,0x65,0x6e])](_0x437ec5)[_0x2845eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x437ec5(_0x2845eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5161d6=0x3dc92a61^_0x2084ad;function _0x224447(){const _0x5bfd05=_0x2845eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da51d(_0x2037cf(_0x4d0d88)),_0x205210=_0x16599f(_0x5da51d(window[_0x2845eb([0x4d,0x61,0x74,0x68])][_0x2845eb([0x63,0x65,0x69,0x6c])](_0x193b94/_0x5161d6)));window[_0x2845eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2845eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bfd05,_0x205210);}function _0x176de6(){const _0x417030=_0x2845eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da51d(_0x2037cf(_0x4d0d88)),_0x549444=window[_0x2845eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2845eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x417030);return _0x549444?window[_0x2845eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16599f(_0x549444),0x10)*_0x5161d6:null;}function _0x2ca498(_0x4f98d7){return new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf766,_0x464f15)=>{_0x4f98d7[_0x2845eb([0x74,0x68,0x65,0x6e])](_0x5cf766,_0x464f15),window[_0x2845eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x464f15,0x3dfe1021^_0x2084ad);});}}_0x2888e4[_0x2845eb([0x6f,0x6e])](_0x2845eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x301f1e,_0x5c9742)=>{if(_0x5c9742[0x0]!=_0x4d0d88)return _0x437ec5(_0x2845eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c9742[0x1]={..._0x5c9742[0x1],[_0x2845eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e7a0e};},{[_0x2845eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2845eb([0x68,0x69,0x67,0x68])}),_0x2888e4[_0x2845eb([0x6f,0x6e])](_0x2845eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe18809=>{_0x2b6e90(_0xe18809[_0x2845eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5695d6=!0x0,_0x14d784(_0xe18809[_0x2845eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2845eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2845eb([0x6c,0x6f,0x77])}),_0x5c2d0b[_0x2845eb([0x74,0x68,0x65,0x6e])](()=>{_0x5695d6||_0x437ec5(_0x2845eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a4a00(){return _0x2888e4[_0x2845eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2845eb([0x76,0x69,0x65,0x77])][_0x2845eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2845eb([0x61,0x75,0x74,0x6f]);}function _0x5b940b(){_0x2888e4[_0x2845eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2845eb([0x76,0x69,0x65,0x77])][_0x2845eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2845eb([0x61,0x75,0x74,0x6f]);}}function _0x2a0da3(_0x322a67){const _0xeb2cc=[new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47baba=>setTimeout(_0x47baba,0x3df6fa2d^_0x2084ad)),_0x5c2d0b[_0x2845eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c21c2=>{let _0x46d971=0x0;_0x2888e4[_0x2845eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2845eb([0x6f,0x6e])](_0x2845eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x557cbb,_0x5c47d4)=>{_0x5c47d4[0x0][_0x2845eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46d971++,_0x46d971==(0x3dffc109^_0x2084ad)&&(_0x5c21c2(),_0x557cbb[_0x2845eb([0x6f,0x66,0x66])]());});}))];return window[_0x2845eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2845eb([0x72,0x61,0x63,0x65])](_0xeb2cc)[_0x2845eb([0x74,0x68,0x65,0x6e])](()=>_0x322a67);}async function _0x507d38(){await _0x5c2d0b,_0x2888e4[_0x2845eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2845eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45ea9a,_0x2888e4[_0x2845eb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2845eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45ea9a,_0x2888e4[_0x2845eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2845eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a8ba8(_0x2f59b2){const _0x2ac2c3=_0x4cf20a();_0x2888e4[_0x2ac2c3]=_0x2845eb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f59b2,_0x2f59b2!=_0x2845eb([0x56,0x61,0x6c,0x69,0x64])&&_0x507d38();}function _0x4cf20a(){const _0x143f0d=window[_0x2845eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2845eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2845eb([0x6e,0x6f,0x77])]())[_0x2845eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2845eb([0x2e]),'');let _0x96f3d3=_0x2845eb([0x6e]);for(let _0x2099fc=0x0;_0x2099fc<_0x143f0d[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2099fc+=0x2){let _0x3e52c6=window[_0x2845eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x143f0d[_0x2845eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2099fc,_0x2099fc+0x2));_0x3e52c6>=_0xec0863[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e52c6-=_0xec0863[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x96f3d3+=_0xec0863[_0x3e52c6];}return _0x96f3d3;}function _0x3bd703(){const _0xe06e=_0x15e764[_0x2845eb([0x73,0x70,0x6c,0x69,0x74])](_0x2845eb([0x2e]));if(0x3!=_0xe06e[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37f48f(_0xe06e[0x1]);function _0x37f48f(_0x57500a){const _0x240ce1=_0x368dcf(_0x57500a);return _0x240ce1&&_0xbda134()?_0x240ce1:null;function _0xbda134(){const _0x13e8ae=_0x240ce1[_0x2845eb([0x6a,0x74,0x69])],_0x532345=window[_0x2845eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13e8ae[_0x2845eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13e8ae[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf23617={..._0x240ce1,[_0x2845eb([0x6a,0x74,0x69])]:_0x13e8ae[_0x2845eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13e8ae[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf23617[_0x2845eb([0x76,0x63])],_0x2037cf(_0xf23617)==_0x532345;}}}async function _0x2f747e(){let _0x8a3a54=!0x0;try{const _0x13711a=_0x15e764[_0x2845eb([0x73,0x70,0x6c,0x69,0x74])](_0x2845eb([0x2e])),[_0x2e97ad,_0x3ce9ca,_0x5386fa]=_0x13711a;return _0x448ba2(_0x2e97ad),await _0x3a1d9e(_0x2e97ad,_0x3ce9ca,_0x5386fa),_0x8a3a54;}catch{return!0x1;}function _0x448ba2(_0x4a82f9){const _0x2a9811=_0x368dcf(_0x4a82f9);_0x2a9811&&_0x2a9811[_0x2845eb([0x61,0x6c,0x67])]==_0x2845eb([0x45,0x53,0x32,0x35,0x36])||(_0x8a3a54=!0x1);}async function _0x3a1d9e(_0x1c9b5e,_0x11bd21,_0x4baf3e){const _0x579abe=window[_0x2845eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2845eb([0x66,0x72,0x6f,0x6d])](_0x48a6a0(_0x4baf3e),_0x3239a9=>_0x3239a9[_0x2845eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45b828=new window[(_0x2845eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2845eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c9b5e+_0x2845eb([0x2e])+_0x11bd21),_0x29901d=window[_0x2845eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2845eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29901d)return;const _0x6b14ab=await _0x29901d[_0x2845eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2845eb([0x6a,0x77,0x6b]),_0x2a2708,{[_0x2845eb([0x6e,0x61,0x6d,0x65])]:_0x2845eb([0x45,0x43,0x44,0x53,0x41]),[_0x2845eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2845eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2845eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29901d[_0x2845eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2845eb([0x6e,0x61,0x6d,0x65])]:_0x2845eb([0x45,0x43,0x44,0x53,0x41]),[_0x2845eb([0x68,0x61,0x73,0x68])]:{[_0x2845eb([0x6e,0x61,0x6d,0x65])]:_0x2845eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6b14ab,_0x579abe,_0x45b828)||(_0x8a3a54=!0x1);}}function _0x368dcf(_0x1434d1){return _0x1434d1[_0x2845eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2845eb([0x65,0x79]))?JSON[_0x2845eb([0x70,0x61,0x72,0x73,0x65])](_0x48a6a0(_0x1434d1)):null;}function _0x48a6a0(_0x2e21c3){return window[_0x2845eb([0x61,0x74,0x6f,0x62])](_0x2e21c3[_0x2845eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2845eb([0x2b]))[_0x2845eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2845eb([0x2f])));}function _0x2037cf(_0x26e142){let _0x1d45a=0x1505;function _0x561b28(_0x2ef51e){for(let _0x31b72d=0x0;_0x31b72d<_0x2ef51e[_0x2845eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31b72d++){const _0x19892a=_0x2ef51e[_0x2845eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31b72d);_0x1d45a=(_0x1d45a<<0x5)+_0x1d45a+_0x19892a,_0x1d45a&=_0x1d45a;}}function _0x118f70(_0x567c8b){Array[_0x2845eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x567c8b)?_0x567c8b[_0x2845eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x118f70):_0x567c8b&&typeof _0x567c8b==_0x2845eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2845eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x567c8b)[_0x2845eb([0x73,0x6f,0x72,0x74])]()[_0x2845eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41c7c3,_0x256ea0])=>{_0x561b28(_0x41c7c3),_0x118f70(_0x256ea0);}):_0x561b28(window[_0x2845eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x567c8b));}return _0x118f70(_0x26e142),_0x1d45a>>>0x0;}function _0x5da51d(_0x307ac3){return _0x307ac3[_0x2845eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2845eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2845eb([0x30]));}function _0x16599f(_0x390ea4){return _0x390ea4[_0x2845eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2845eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2845eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x45ea9a(){}function _0x2845eb(_0x4bf9d6){return _0x4bf9d6['map'](_0x460d08=>String['fromCharCode'](_0x460d08))['join']('');}_0x3a8ba8(await _0x1b3dc7());}(this);}['showFakeVisualSelection'](){const _0x495795=this['editor']['model'];_0x495795['change'](_0x3efd38=>{const _0x2363f8=_0x495795['document']['selection']['getRanges']();let _0x1857df=0x0;for(const _0x4e3750 of _0x2363f8){const _0x54f73b=_0x330c4e+':'+_0x1857df;if(_0x495795['markers']['has'](_0x54f73b))_0x3efd38['updateMarker'](_0x54f73b,{'range':_0x4e3750});else{if(_0x4e3750['start']['isAtEnd']){const _0x3a28ad=_0x4e3750['start']['getLastMatchingPosition'](({item:_0x161a11})=>!_0x495795['schema']['isContent'](_0x161a11),{'boundaries':_0x4e3750});_0x3efd38['addMarker'](_0x54f73b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3efd38['createRange'](_0x3a28ad,_0x4e3750['end'])});}else _0x3efd38['addMarker'](_0x54f73b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4e3750});}_0x1857df++;}});}['hideFakeVisualSelection'](){const _0x4791cb=this['editor']['model'],_0x3eaa8f=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x330c4e));_0x3eaa8f['length']&&_0x4791cb['change'](_0x4fe56e=>{_0x3eaa8f['forEach'](_0x9c6f0=>{_0x4fe56e['removeMarker'](_0x9c6f0);});});}['insertContent'](_0x21cf66,_0x4d5e78){const _0x3a791b=this['_getAISelection'](),_0x345d5c=_0x4d5e78||_0x3a791b['getFirstRange']();this['editor']['model']['canEditAt'](_0x345d5c)&&this['editor']['model']['change'](_0x105e00=>{this['hideFakeVisualSelection'](),_0x4d5e78||this['_resetContentOfSelectedTableCells'](_0x105e00,_0x3a791b),this['_pasteHTMLUsingClipboard']({'insertAt':_0x345d5c,'writer':_0x105e00,'html':_0x21cf66});});}['insertContentBelow'](_0x1a266e){const {model:_0x2e6ee8}=this['editor'],_0x1b9deb=this['_getAISelection']();_0x2e6ee8['change'](()=>{const _0x4eea04=this['_prepareTableInsertBelowPosition'](_0x1a266e,_0x1b9deb)||this['_getDefaultInsertBelowPosition'](_0x1b9deb);this['insertContent'](_0x1a266e,_0x4eea04);});}['_getAISelection'](){const _0xb3a9c8=this['editor']['model'],_0x22632f=Array['from'](_0xb3a9c8['markers']['getMarkersGroup'](_0x330c4e))['map'](_0x1bd9d4=>_0x1bd9d4['getRange']());return _0xb3a9c8['createSelection'](_0x22632f);}['_pasteHTMLUsingClipboard']({writer:_0x4e17bf,html:_0x3eff7e,insertAt:_0x2f3c62}){const {view:_0x20e594}=this['editor']['editing'],_0x20aa95=this['editor']['plugins']['get'](_0xa0ed63['ClipboardPipeline']),_0x2787cc=new _0x427299();_0x2787cc['setData']('text/html',_0x3eff7e);const _0x42ffee=new ClipboardEvent('paste',{'clipboardData':_0x2787cc}),_0x195b9e=new _0xa0ed63['ViewDocumentDomEventData'](_0x20e594,_0x42ffee,{'dataTransfer':new _0xa0ed63['ViewDataTransfer'](_0x2787cc)});_0x4e17bf['setSelection'](_0x2f3c62);const _0x15d690=(_0x30aeb0,_0x14fc01)=>{_0x14fc01['resultRange']&&_0x4e17bf['setSelection'](_0x14fc01['resultRange']);};_0x20aa95['once']('contentInsertion',_0x15d690,{'priority':'lowest'}),_0x20e594['document']['fire']('paste',_0x195b9e),_0x20aa95['off']('contentInsertion',_0x15d690);}['_getDefaultInsertBelowPosition'](_0x4df9ac){const {model:_0x54672f}=this['editor'],_0x4f149b=Array['from'](_0x4df9ac['getSelectedBlocks']());return _0x4f149b['length']?_0x54672f['createPositionAfter'](_0x4f149b['pop']()):_0x4df9ac['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x365773,_0x182470){const {model:_0x285ca6,plugins:_0x465578}=this['editor'];if(_0x465578['has']('TableUtils')){const _0x5ab63f=_0x465578['get']('TableUtils')['getSelectedTableCells'](_0x182470);if(_0x5ab63f['length']){const _0x5d974c=this['_getTableRowCountFromContent'](_0x365773),_0xd0d6f2=this['_createEmptyTableRows'](_0x5ab63f,_0x5d974c);return _0x285ca6['createPositionAt'](_0xd0d6f2,0x0);}}return null;}['_getTableRowCountFromContent'](_0x516fbd){const _0xa7efda=this['editor']['plugins']['get']('TableUtils'),_0x2987c2=this['editor']['data']['parse'](_0x516fbd),_0x151955=Array['from'](_0x2987c2['getChildren']())['filter'](_0x4bd9b2=>_0x4bd9b2['is']('element','table'));let _0x450bb3=0x0;return _0x151955['forEach'](_0x475482=>{_0x450bb3+=_0xa7efda['getRows'](_0x475482);}),_0x450bb3;}['_createEmptyTableRows'](_0x4523d3,_0x4ee2b5){const _0x36d16c=this['editor']['plugins']['get']('TableUtils'),_0x13b104=_0x36d16c['getRowIndexes'](_0x4523d3),_0x18b777=_0x36d16c['getColumnIndexes'](_0x4523d3),_0x1f08ef=_0x13b104['last']+0x1,_0x1fd531=_0x18b777['first'],_0x4ff3b8=_0x4523d3[0x0]['findAncestor']('table');for(let _0x674ed9=0x0;_0x674ed9<_0x4ee2b5;_0x674ed9++)_0x36d16c['insertRows'](_0x4ff3b8,{'at':_0x1f08ef});return _0x4ff3b8['getChild'](_0x1f08ef)['getChild'](_0x1fd531);}['_resetContentOfSelectedTableCells'](_0x5c350c,_0x225bf5){const {plugins:_0x422f67}=this['editor'],{model:_0x2f6c41}=_0x5c350c;if(!_0x422f67['has']('TableUtils'))return;_0x422f67['get']('TableUtils')['getSelectedTableCells'](_0x225bf5)['length']&&_0x2f6c41['deleteContent'](_0x225bf5);}}class AIAdapter extends _0xa0ed63['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0xa0ed63['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x27d12a){super(_0x27d12a),this['name']='AIRequestError';}}function _0x420730(_0x578a7d,_0x2c7c80,_0x4e46cc){const t=_0x578a7d['t'];switch(_0x2c7c80){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',_0x4e46cc);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4e46cc);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'},_0x4e46cc);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 _0x2c7c80;}}class ShowAIAssistantCommand extends _0xa0ed63['Command']{['_commandDefinitions'];constructor(_0x28a227,_0x2dc7df){super(_0x28a227),this['_commandDefinitions']=_0x2dc7df,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x16d2dd,_0x4d9e7a,_0x2224ad)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x1ca27b(this['_commandDefinitions'],_0x2224ad));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x42feb8,_0x4b6cfc,_0x50f434)=>{this['enabledCommandsIds']=_0x50f434?_0x1ca27b(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x549a00=this['editor']['model'];this['_hasContext']=function(_0x17376f){const _0xf389eb=_0x17376f['document']['selection'];return _0xf389eb['isCollapsed']?0x0!==[..._0xf389eb['getSelectedBlocks']()]['length']&&![..._0xf389eb['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x17376f['hasContent'](_0xf389eb['getFirstRange']());}(_0x549a00);const _0x37d2c6=_0x549a00['document']['selection'],_0x1b6e7e=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x14861d of _0x37d2c6['getRanges']())for(const _0x37cf94 of _0x14861d['getItems']())if(_0x37cf94['is']('element')&&_0x1b6e7e['includes'](_0x37cf94['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x37ea23='',_0x9f1561='',_0x53fe42='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x37ea23,_0x9f1561,_0x53fe42);}}function _0x1ca27b(_0x49fc16,_0x48a820){const _0x31b2e6=new Set();for(const _0x15da67 of _0x49fc16['values']())(_0x48a820||!0x1===_0x15da67['requiresContent'])&&_0x31b2e6['add'](_0x15da67['id']);return Array['from'](_0x31b2e6);}const _0x10aaaa=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x20c989,_0x1ce8b5,_0x336d42){super(),this['editor']=_0x20c989,this['textAdapter']=_0x1ce8b5,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x336d42,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x16599c,_0x170fa4,_0x3b07e7)=>{this['view']['value']=this['_sanitizeHTML'](_0x3b07e7);}),this['listenTo'](this['view'],'submitPrompt',(_0x619f53,_0x4f9ff9)=>{const _0x1358f3=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x4f9ff9,_0x1358f3,'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:_0x14ea7e,query:_0x5066fd,htmlContent:_0x10f5ce,label:_0x5dd5c6,mainActionLabel:_0x3b7cc6}){this['view']['prompt']=_0x5dd5c6,this['view']['mainAction']=_0x3b7cc6,this['initialContext']=_0x10f5ce,_0x5066fd&&(this['view']['isRendered']?this['_handleQuery'](_0x5066fd,_0x10f5ce,_0x14ea7e,_0x5dd5c6):this['view']['once']('render',()=>{this['_handleQuery'](_0x5066fd,_0x10f5ce,_0x14ea7e,_0x5dd5c6);}));}['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'](_0x4bb48c,_0x5b75eb,_0x4806d8,_0x283c76){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x5b75eb,this['previousQuery']=_0x4bb48c,this['previousLabel']=_0x283c76||_0x4bb48c,this['previousActionId']=_0x4806d8,new Promise(_0x575f82=>{this['textAdapter']['makeRequest']({'query':_0x4bb48c,'context':_0x5b75eb,'onData':_0xb26e27=>{this['currentResponse']=_0xb26e27,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x4806d8})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x4254ae=>{_0x4254ae instanceof AIRequestError?this['view']['handleError'](_0x4254ae['message']):this['view']['handleError'](),_0x575f82();})['finally'](()=>{this['stopProcessing'](),_0x575f82();});});}['_parseAndNormalizeContent'](_0x42133f,_0x13cbaf=!0x1){const _0x13c362=_0x10aaaa['exec'](_0x42133f);_0x42133f=_0x13c362?_0x42133f['substring'](_0x13c362[0x1]['length']):_0x42133f['length']<0x64&&!_0x13cbaf?'':this['_stripMarkdownSyntax'](_0x42133f);const _0xc72268=this['_domParser']['parseFromString'](_0x42133f,'text/html');if(_0x13c362){const _0x4ad5ce=Array['from'](_0xc72268['body']['childNodes']);_0x4ad5ce['reverse']();for(const _0x41b7df of _0x4ad5ce){if(_0x41b7df['nodeType']==Node['ELEMENT_NODE'])break;_0x41b7df['remove']();}}const _0x45c1dd=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0xc72268['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x45c1dd);const _0x1f07b9=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x55986c=this['editor']['data']['toModel'](_0x45c1dd);return _0x1f07b9||_0x55986c['markers']['clear'](),this['editor']['data']['stringify'](_0x55986c);}['_normalizeResponseHeadings'](_0x3f288a){const _0x5ab852=new _0xa0ed63['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x4b0db2=new _0xa0ed63['Matcher']({'name':/^h[1-5]$/}),_0x564111=[];let _0x30b7dc=!0x1;for(const _0x46ee25 of _0x3f288a)_0x46ee25['is']('element')&&_0x4b0db2['match'](_0x46ee25)&&(_0x564111['push'](_0x46ee25),'h1'==_0x46ee25['name']&&(_0x30b7dc=!0x0));if(_0x30b7dc){for(const _0x36eca1 of _0x564111)_0x5ab852['rename']('h'+(parseInt(_0x36eca1['name'][0x1])+0x1),_0x36eca1);}}['_isH1TagSupportEnabled'](){const {data:_0x1e3f84,editing:_0x50e424}=this['editor'],_0x2d45a2=_0x1e3f84['htmlProcessor']['toView']('<h1></h1>'),_0x6fdce9=_0x1e3f84['toView'](_0x1e3f84['toModel'](_0x2d45a2));return!!_0x50e424['view']['domConverter']['viewToDom'](_0x6fdce9)['querySelector']('h1');}['_sanitizeHTML'](_0x3daa3a){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x3daa3a),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x438a5a){const _0x18b233=_0x438a5a['trim']();return _0x18b233['startsWith']('```html')?_0x18b233['endsWith']('```')?_0x18b233['substring'](0x7,_0x18b233['length']-0x3):_0x18b233['substring'](0x7):_0x438a5a;}}const _0x497f31={'REPLACE':'replace','INSERT':'insert'};class _0x325bb5 extends _0xa0ed63['ToolbarView']{constructor(_0x16ae1c){super(_0x16ae1c),this['set']('isVisible',!0x1),this['set']('mainAction',_0x497f31['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x3df7a9=>_0x420730(_0x16ae1c,'AI_'+_0x3df7a9['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x420730(_0x16ae1c,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x420730(_0x16ae1c,'Try\x20again')),this['stopButton']=this['_createButton'](_0x420730(_0x16ae1c,'Stop'));const _0xd5571d=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0xd5571d['if']('isVisible','ck-hidden',_0x22260c=>!_0x22260c)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x5163ad,_0x5e6a50){const _0x3634d6=new _0xa0ed63['ButtonView'](this['locale']);return _0x3634d6['set']({'label':_0x5163ad,'class':_0x5e6a50||'','isVisible':!0x0,'withText':!0x0}),_0x3634d6;}}class AIFormContentArea extends _0xa0ed63['View']{['contentFieldView'];['copyButtonView'];constructor(_0x1be498,_0xbfa843=''){super(_0x1be498),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x342fe6=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x1be498,_0xbfa843),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x342fe6['if']('isVisible','ck-hidden',_0x388ab9=>!_0x388ab9)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x342fe6['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 _0x1483ec=!0x1;this['on']('change:value',(_0x5e0ba8,_0x2087d5,_0x3f67b6)=>{const _0x4ab1d8=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x3f67b6),this['isProcessing']&&_0x4ab1d8&&!_0x1483ec&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x1cb98f,_0x3c939,_0x5a0c12)=>{_0x1483ec=!0x1,_0x5a0c12?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x1483ec=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x1483ec=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x1a3191=this['locale'],_0x1798e5=new _0xa0ed63['ButtonView'](this['locale']),_0x66b51a='ck-ai-form__copy-button';return _0x1798e5['set']({'label':_0x420730(_0x1a3191,'Copy'),'icon':_0xa0ed63['IconCopy'],'class':_0x66b51a,'tooltip':!0x0}),_0x1798e5['bind']('isVisible')['to'](this,'value',_0x3de712=>!!_0x3de712),_0x1798e5['bind']('isEnabled')['to'](this,'isProcessing',_0x5ce547=>!_0x5ce547),_0x1798e5['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x1798e5['icon']=_0xa0ed63['IconCheck'],_0x1798e5['class']=_0x66b51a+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x1798e5['icon']=_0xa0ed63['IconCopy'],_0x1798e5['class']=_0x66b51a;},0x3e8);}),_0x1798e5;}['_copyHTMLToClipboard'](_0x52ae78){const {window:_0x4570e6,document:_0x526c61}=_0xa0ed63['global'];if(_0x4570e6['ClipboardItem']){const {Blob:_0x419fa9,ClipboardItem:_0xf8986}=_0x4570e6,_0x3e9602=[new _0xf8986({'text/html':new _0x419fa9([_0x52ae78['innerHTML']],{'type':'text/html'}),'text/plain':new _0x419fa9([_0x52ae78['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x3e9602);}else{const _0x45903f=_0x526c61['createElement']('div');_0x45903f['style']['position']='absolute',_0x45903f['style']['left']='-9999px',_0x45903f['innerHTML']='<span>[</span>'+_0x52ae78['innerHTML']+'<span>]</span>',_0x526c61['body']['appendChild'](_0x45903f);const _0x4417ec=_0x526c61['createRange']();_0x4417ec['setStartAfter'](_0x45903f['firstElementChild']),_0x4417ec['setEndBefore'](_0x45903f['lastElementChild']);const _0x47da7c=_0x4570e6['getSelection']();_0x47da7c['removeAllRanges'](),_0x47da7c['addRange'](_0x4417ec),_0x526c61['execCommand']('copy'),_0x45903f['remove']();}}}class ContentFieldView extends _0xa0ed63['View']{constructor(_0x4e548c,_0x546110=''){super(_0x4e548c),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x546110,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0xfc908e){this['element']['innerHTML']=_0xfc908e;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x797db1=new _0xa0ed63['View'](),_0x313b58=this['locale'],_0x105622=new _0xa0ed63['SpinnerView']();return _0x105622['isVisible']=!0x0,_0x797db1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x105622,{'text':_0x420730(_0x313b58,'AI\x20is\x20writing...')}]}),_0x797db1['render'](),_0x797db1;}}class _0x3f05a8 extends _0xa0ed63['View']{constructor(_0x2f937f,_0x5ccec8=''){super(_0x2f937f);const _0x3b56c1=new _0xa0ed63['IconView'](),_0x203c31=this['bindTemplate'];this['set']('text',_0x5ccec8),_0x3b56c1['content']=_0xa0ed63['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x3b56c1,{'text':_0x203c31['to']('text')}]});}}class AIFormPromptView extends _0xa0ed63['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x3a9e21,_0x211f71){super(_0x3a9e21,_0x211f71),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',(_0x2a80bd,_0x51f24c)=>{_0x2a80bd['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x51f24c());});}['_createSubmitButton'](){const _0x33976e=new _0xa0ed63['ButtonView'](this['locale']),_0x4257ae=this['locale'];return _0x33976e['set']({'icon':_0xa0ed63['IconSubmit'],'label':_0x420730(_0x4257ae,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x33976e['on']('execute',()=>{this['submit']();}),_0x33976e['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x2efdc1,_0x5ccbcc)=>!_0x2efdc1&&_0x5ccbcc),_0x33976e;}['_createShowHistoryButton'](){const _0x41f961=new _0xa0ed63['ButtonView'](this['locale']),_0x29192e=this['resultsView'],_0x6b64a4=this['locale'];_0x41f961['set']({'label':_0x420730(_0x6b64a4,'History'),'withText':!0x1,'icon':_0xa0ed63['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x41f961['bind']('isOn')['to'](_0x29192e,'isVisible'),_0x41f961['bind']('isEnabled')['to'](this,'isEnabled'),_0x41f961['on']('execute',()=>{_0x29192e['isVisible']=!_0x29192e['isVisible'],_0x29192e['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x14af70=()=>{_0xa0ed63['global']['window']['requestAnimationFrame'](()=>{if(_0xa0ed63['isVisible'](this['element'])){const _0x34a2bd=new _0xa0ed63['Rect'](this['queryView']['fieldView']['element']),_0x277345=_0x34a2bd['width'],_0x12f9e5='rtl'===_0x6b64a4['uiLanguageDirection']?'left':'right';_0x34a2bd['excludeScrollbarsAndBorders'](),_0x41f961['element']['style'][_0x12f9e5]=_0x277345-_0x34a2bd['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x14af70),this['on']('render',_0x14af70),_0x41f961;}['submit'](){const _0x3b0d49=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x3b0d49);}['focus'](_0x1366bc){-0x1===_0x1366bc?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0xa0ed63['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x1e8555){super(_0x1e8555),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0xa0ed63['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x420730(_0x1e8555,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x478dc8=0x0;for(const _0x2fbbac of this['items'])_0x478dc8+=_0x2fbbac['items']['length'];return{'resultsCount':_0x478dc8,'totalItemsCount':_0x478dc8};}['_createClearHistoryButton'](){const _0x45f62f=this['locale'],_0x3db196=new _0xa0ed63['ButtonView'](this['locale']);return _0x3db196['set']({'label':'('+_0x420730(_0x45f62f,'Clear')+')','withText':!0x0}),_0x3db196['on']('execute',()=>this['fire']('clearHistory')),_0x3db196;}}function _0x520c17(_0x5ea1a1){return'__proto__'===_0x5ea1a1;}function _0x2fecef(_0x4525b0){switch(typeof _0x4525b0){case'number':case'symbol':return!0x1;case'string':return _0x4525b0['includes']('.')||_0x4525b0['includes']('[')||_0x4525b0['includes'](']');}}function _0x1271b6(_0x40024c){return'string'==typeof _0x40024c||'symbol'==typeof _0x40024c?_0x40024c:Object['is'](_0x40024c?.['valueOf']?.(),-0x0)?'-0':String(_0x40024c);}function _0x3c2741(_0xa13be5){const _0x8f05bd=[],_0x12302d=_0xa13be5['length'];if(0x0===_0x12302d)return _0x8f05bd;let _0x36b972=0x0,_0x2ae805='',_0x7f4e0e='',_0x316684=!0x1;for(0x2e===_0xa13be5['charCodeAt'](0x0)&&(_0x8f05bd['push'](''),_0x36b972++);_0x36b972<_0x12302d;){const _0x3d866d=_0xa13be5[_0x36b972];_0x7f4e0e?'\x5c'===_0x3d866d&&_0x36b972+0x1<_0x12302d?(_0x36b972++,_0x2ae805+=_0xa13be5[_0x36b972]):_0x3d866d===_0x7f4e0e?_0x7f4e0e='':_0x2ae805+=_0x3d866d:_0x316684?'\x22'===_0x3d866d||'\x27'===_0x3d866d?_0x7f4e0e=_0x3d866d:']'===_0x3d866d?(_0x316684=!0x1,_0x8f05bd['push'](_0x2ae805),_0x2ae805=''):_0x2ae805+=_0x3d866d:'['===_0x3d866d?(_0x316684=!0x0,_0x2ae805&&(_0x8f05bd['push'](_0x2ae805),_0x2ae805='')):'.'===_0x3d866d?_0x2ae805&&(_0x8f05bd['push'](_0x2ae805),_0x2ae805=''):_0x2ae805+=_0x3d866d,_0x36b972++;}return _0x2ae805&&_0x8f05bd['push'](_0x2ae805),_0x8f05bd;}function _0x8b7b02(_0x27bbbf,_0x412f9f,_0x229ac5){if(null==_0x27bbbf)return _0x229ac5;switch(typeof _0x412f9f){case'string':{if(_0x520c17(_0x412f9f))return _0x229ac5;const _0x175915=_0x27bbbf[_0x412f9f];return void 0x0===_0x175915?_0x2fecef(_0x412f9f)?_0x8b7b02(_0x27bbbf,_0x3c2741(_0x412f9f),_0x229ac5):_0x229ac5:_0x175915;}case'number':case'symbol':{'number'==typeof _0x412f9f&&(_0x412f9f=_0x1271b6(_0x412f9f));const _0x29b976=_0x27bbbf[_0x412f9f];return void 0x0===_0x29b976?_0x229ac5:_0x29b976;}default:{if(Array['isArray'](_0x412f9f))return function(_0x238ddb,_0x4192ca,_0xf64cb1){if(0x0===_0x4192ca['length'])return _0xf64cb1;let _0x2b30e3=_0x238ddb;for(let _0xae8548=0x0;_0xae8548<_0x4192ca['length'];_0xae8548++){if(null==_0x2b30e3)return _0xf64cb1;if(_0x520c17(_0x4192ca[_0xae8548]))return _0xf64cb1;_0x2b30e3=_0x2b30e3[_0x4192ca[_0xae8548]];}if(void 0x0===_0x2b30e3)return _0xf64cb1;return _0x2b30e3;}(_0x27bbbf,_0x412f9f,_0x229ac5);if(_0x520c17(_0x412f9f=Object['is'](_0x412f9f?.['valueOf'](),-0x0)?'-0':String(_0x412f9f)))return _0x229ac5;const _0x190e3b=_0x27bbbf[_0x412f9f];return void 0x0===_0x190e3b?_0x229ac5:_0x190e3b;}}}function _0x59622c(_0x1ca0e6){return null!==_0x1ca0e6&&('object'==typeof _0x1ca0e6||'function'==typeof _0x1ca0e6);}function _0x5ce139(_0x54b5f6,_0x12200c){return _0x54b5f6===_0x12200c||Number['isNaN'](_0x54b5f6)&&Number['isNaN'](_0x12200c);}function _0x2788a7(_0x482752){return Object['getOwnPropertySymbols'](_0x482752)['filter'](_0x51ffd5=>Object['prototype']['propertyIsEnumerable']['call'](_0x482752,_0x51ffd5));}function _0x17f59a(_0x47a525){return null==_0x47a525?void 0x0===_0x47a525?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x47a525);}const _0x33aeed='[object\x20RegExp]',_0x1d5c8e='[object\x20String]',_0x4d9c30='[object\x20Number]',_0x431866='[object\x20Boolean]',_0x28c05c='[object\x20Arguments]',_0x33107e='[object\x20Symbol]',_0x47b072='[object\x20Date]',_0x4e7105='[object\x20Map]',_0x236328='[object\x20Set]',_0x2a8950='[object\x20Array]',_0x546165='[object\x20ArrayBuffer]',_0xe4c28c='[object\x20Object]',_0x303cd9='[object\x20DataView]',_0xf701f8='[object\x20Uint8Array]',_0x40640d='[object\x20Uint8ClampedArray]',_0x2181c2='[object\x20Uint16Array]',_0x2f0119='[object\x20Uint32Array]',_0x3b1418='[object\x20Int8Array]',_0x340ee3='[object\x20Int16Array]',_0x4ea79f='[object\x20Int32Array]',_0x3e535d='[object\x20Float32Array]',_0x25f0e8='[object\x20Float64Array]';function _0x8bd2cc(_0x18e7ec,_0x1006fb,_0x22f31d,_0x385c2a=new Map(),_0x6026ac=void 0x0){const _0x3fb7e7=_0x6026ac?.(_0x18e7ec,_0x1006fb,_0x22f31d,_0x385c2a);if(null!=_0x3fb7e7)return _0x3fb7e7;if(function(_0x3f699a){return null==_0x3f699a||'object'!=typeof _0x3f699a&&'function'!=typeof _0x3f699a;}(_0x18e7ec))return _0x18e7ec;if(_0x385c2a['has'](_0x18e7ec))return _0x385c2a['get'](_0x18e7ec);if(Array['isArray'](_0x18e7ec)){const _0x1cb81e=new Array(_0x18e7ec['length']);_0x385c2a['set'](_0x18e7ec,_0x1cb81e);for(let _0x241142=0x0;_0x241142<_0x18e7ec['length'];_0x241142++)_0x1cb81e[_0x241142]=_0x8bd2cc(_0x18e7ec[_0x241142],_0x241142,_0x22f31d,_0x385c2a,_0x6026ac);return Object['hasOwn'](_0x18e7ec,'index')&&(_0x1cb81e['index']=_0x18e7ec['index']),Object['hasOwn'](_0x18e7ec,'input')&&(_0x1cb81e['input']=_0x18e7ec['input']),_0x1cb81e;}if(_0x18e7ec instanceof Date)return new Date(_0x18e7ec['getTime']());if(_0x18e7ec instanceof RegExp){const _0x3d5ec9=new RegExp(_0x18e7ec['source'],_0x18e7ec['flags']);return _0x3d5ec9['lastIndex']=_0x18e7ec['lastIndex'],_0x3d5ec9;}if(_0x18e7ec instanceof Map){const _0x4cb961=new Map();_0x385c2a['set'](_0x18e7ec,_0x4cb961);for(const [_0x204254,_0x3d881d]of _0x18e7ec)_0x4cb961['set'](_0x204254,_0x8bd2cc(_0x3d881d,_0x204254,_0x22f31d,_0x385c2a,_0x6026ac));return _0x4cb961;}if(_0x18e7ec instanceof Set){const _0x570a28=new Set();_0x385c2a['set'](_0x18e7ec,_0x570a28);for(const _0x3cc981 of _0x18e7ec)_0x570a28['add'](_0x8bd2cc(_0x3cc981,void 0x0,_0x22f31d,_0x385c2a,_0x6026ac));return _0x570a28;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x18e7ec))return _0x18e7ec['subarray']();if(_0x483845=_0x18e7ec,ArrayBuffer['isView'](_0x483845)&&!(_0x483845 instanceof DataView)){const _0xd9ee8c=new(Object['getPrototypeOf'](_0x18e7ec))['constructor'](_0x18e7ec['length']);_0x385c2a['set'](_0x18e7ec,_0xd9ee8c);for(let _0x126b20=0x0;_0x126b20<_0x18e7ec['length'];_0x126b20++)_0xd9ee8c[_0x126b20]=_0x8bd2cc(_0x18e7ec[_0x126b20],_0x126b20,_0x22f31d,_0x385c2a,_0x6026ac);return _0xd9ee8c;}var _0x483845;if(_0x18e7ec instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x18e7ec instanceof SharedArrayBuffer)return _0x18e7ec['slice'](0x0);if(_0x18e7ec instanceof DataView){const _0x523f89=new DataView(_0x18e7ec['buffer']['slice'](0x0),_0x18e7ec['byteOffset'],_0x18e7ec['byteLength']);return _0x385c2a['set'](_0x18e7ec,_0x523f89),_0x5c5434(_0x523f89,_0x18e7ec,_0x22f31d,_0x385c2a,_0x6026ac),_0x523f89;}if('undefined'!=typeof File&&_0x18e7ec instanceof File){const _0x313bf0=new File([_0x18e7ec],_0x18e7ec['name'],{'type':_0x18e7ec['type']});return _0x385c2a['set'](_0x18e7ec,_0x313bf0),_0x5c5434(_0x313bf0,_0x18e7ec,_0x22f31d,_0x385c2a,_0x6026ac),_0x313bf0;}if(_0x18e7ec instanceof Blob){const _0x3540d3=new Blob([_0x18e7ec],{'type':_0x18e7ec['type']});return _0x385c2a['set'](_0x18e7ec,_0x3540d3),_0x5c5434(_0x3540d3,_0x18e7ec,_0x22f31d,_0x385c2a,_0x6026ac),_0x3540d3;}if(_0x18e7ec instanceof Error){const _0x45ae0a=new _0x18e7ec['constructor']();return _0x385c2a['set'](_0x18e7ec,_0x45ae0a),_0x45ae0a['message']=_0x18e7ec['message'],_0x45ae0a['name']=_0x18e7ec['name'],_0x45ae0a['stack']=_0x18e7ec['stack'],_0x45ae0a['cause']=_0x18e7ec['cause'],_0x5c5434(_0x45ae0a,_0x18e7ec,_0x22f31d,_0x385c2a,_0x6026ac),_0x45ae0a;}if('object'==typeof _0x18e7ec&&function(_0x12fcda){switch(_0x17f59a(_0x12fcda)){case _0x28c05c:case _0x2a8950:case _0x546165:case _0x303cd9:case _0x431866:case _0x47b072:case _0x3e535d:case _0x25f0e8:case _0x3b1418:case _0x340ee3:case _0x4ea79f:case _0x4e7105:case _0x4d9c30:case _0xe4c28c:case _0x33aeed:case _0x236328:case _0x1d5c8e:case _0x33107e:case _0xf701f8:case _0x40640d:case _0x2181c2:case _0x2f0119:return!0x0;default:return!0x1;}}(_0x18e7ec)){const _0x27e183=Object['create'](Object['getPrototypeOf'](_0x18e7ec));return _0x385c2a['set'](_0x18e7ec,_0x27e183),_0x5c5434(_0x27e183,_0x18e7ec,_0x22f31d,_0x385c2a,_0x6026ac),_0x27e183;}return _0x18e7ec;}function _0x5c5434(_0x986c47,_0x307761,_0x3c9a1e=_0x986c47,_0x49d7ff,_0x3e5dc1){const _0x1f0938=[...Object['keys'](_0x307761),..._0x2788a7(_0x307761)];for(let _0x48846a=0x0;_0x48846a<_0x1f0938['length'];_0x48846a++){const _0x8257b8=_0x1f0938[_0x48846a],_0x33f546=Object['getOwnPropertyDescriptor'](_0x986c47,_0x8257b8);(null==_0x33f546||_0x33f546['writable'])&&(_0x986c47[_0x8257b8]=_0x8bd2cc(_0x307761[_0x8257b8],_0x8257b8,_0x3c9a1e,_0x49d7ff,_0x3e5dc1));}}function _0x19ef01(_0x219f61){return _0x8bd2cc(_0x219f61,void 0x0,_0x219f61,new Map(),void 0x0);}function _0x4e1494(_0x49ab72,_0x110feb){return function(_0x21bbad,_0xa3ca65){return _0x8bd2cc(_0x21bbad,void 0x0,_0x21bbad,new Map(),_0xa3ca65);}(_0x49ab72,(_0xaf222d,_0x274e84,_0x2720bc,_0x5afede)=>{if('object'==typeof _0x49ab72)switch(Object['prototype']['toString']['call'](_0x49ab72)){case _0x4d9c30:case _0x1d5c8e:case _0x431866:{const _0x1b8f19=new _0x49ab72['constructor'](_0x49ab72?.['valueOf']());return _0x5c5434(_0x1b8f19,_0x49ab72),_0x1b8f19;}case _0x28c05c:{const _0x313f5c={};return _0x5c5434(_0x313f5c,_0x49ab72),_0x313f5c['length']=_0x49ab72['length'],_0x313f5c[Symbol['iterator']]=_0x49ab72[Symbol['iterator']],_0x313f5c;}default:return;}});}function _0xdd0984(_0x5e7f93){return _0x4e1494(_0x5e7f93);}const _0x32a470=/^(?:0|[1-9]\d*)$/;function _0x49560e(_0x1ee058,_0x50eb15=Number['MAX_SAFE_INTEGER']){switch(typeof _0x1ee058){case'number':return Number['isInteger'](_0x1ee058)&&_0x1ee058>=0x0&&_0x1ee058<_0x50eb15;case'symbol':return!0x1;case'string':return _0x32a470['test'](_0x1ee058);}}const _0x677940=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x27cc31=/^\w*$/;function _0x4feb93(_0x4a7613,_0x1ddf6e){return!Array['isArray'](_0x4a7613)&&(!('number'!=typeof _0x4a7613&&'boolean'!=typeof _0x4a7613&&null!=_0x4a7613&&!function(_0x73b09c){return'symbol'==typeof _0x73b09c||_0x73b09c instanceof Symbol;}(_0x4a7613))||('string'==typeof _0x4a7613&&(_0x27cc31['test'](_0x4a7613)||!_0x677940['test'](_0x4a7613))||null!=_0x1ddf6e&&Object['hasOwn'](_0x1ddf6e,_0x4a7613)));}function tt(_0x32f479,_0x36e23d){if(null==_0x32f479)return!0x0;switch(typeof _0x36e23d){case'symbol':case'number':case'object':if(Array['isArray'](_0x36e23d))return et(_0x32f479,_0x36e23d);if('number'==typeof _0x36e23d?_0x36e23d=_0x1271b6(_0x36e23d):'object'==typeof _0x36e23d&&(_0x36e23d=Object['is'](_0x36e23d?.['valueOf'](),-0x0)?'-0':String(_0x36e23d)),_0x520c17(_0x36e23d))return!0x1;if(void 0x0===_0x32f479?.[_0x36e23d])return!0x0;try{return delete _0x32f479[_0x36e23d],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x32f479?.[_0x36e23d]&&_0x2fecef(_0x36e23d))return et(_0x32f479,_0x3c2741(_0x36e23d));if(_0x520c17(_0x36e23d))return!0x1;try{return delete _0x32f479[_0x36e23d],!0x0;}catch{return!0x1;}}}function et(_0x271567,_0x26304a){const _0x4bb1fb=_0x8b7b02(_0x271567,_0x26304a['slice'](0x0,-0x1),_0x271567),_0x27736e=_0x26304a[_0x26304a['length']-0x1];if(void 0x0===_0x4bb1fb?.[_0x27736e])return!0x0;if(_0x520c17(_0x27736e))return!0x1;try{return delete _0x4bb1fb[_0x27736e],!0x0;}catch{return!0x1;}}const it=(_0x48d18c,_0x11b31b,_0x1cca96)=>{const _0x2bf761=_0x48d18c[_0x11b31b];Object['hasOwn'](_0x48d18c,_0x11b31b)&&_0x5ce139(_0x2bf761,_0x1cca96)&&(void 0x0!==_0x1cca96||_0x11b31b in _0x48d18c)||(_0x48d18c[_0x11b31b]=_0x1cca96);};function st(_0x2b09c5,_0x521d55,_0x3d6389){return function(_0x177978,_0x42ef9e,_0x17a146,_0x3de146){if(null==_0x177978&&!_0x59622c(_0x177978))return _0x177978;const _0x4951d1=_0x4feb93(_0x42ef9e,_0x177978)?[_0x42ef9e]:Array['isArray'](_0x42ef9e)?_0x42ef9e:'string'==typeof _0x42ef9e?_0x3c2741(_0x42ef9e):[_0x42ef9e];let _0x449754=_0x177978;for(let _0x188849=0x0;_0x188849<_0x4951d1['length']&&null!=_0x449754;_0x188849++){const _0x34f353=_0x1271b6(_0x4951d1[_0x188849]);if(_0x520c17(_0x34f353))continue;let _0x4888e0;if(_0x188849===_0x4951d1['length']-0x1)_0x4888e0=_0x17a146(_0x449754[_0x34f353]);else{const _0xa33ab0=_0x449754[_0x34f353],_0x11d36a=_0x3de146?.(_0xa33ab0,_0x34f353,_0x177978);_0x4888e0=void 0x0!==_0x11d36a?_0x11d36a:_0x59622c(_0xa33ab0)?_0xa33ab0:_0x49560e(_0x4951d1[_0x188849+0x1])?[]:{};}it(_0x449754,_0x34f353,_0x4888e0),_0x449754=_0x449754[_0x34f353];}return _0x177978;}(_0x2b09c5,_0x521d55,()=>_0x3d6389,()=>{});}function nt(_0x3ee265,_0x3f2407,{signal:_0x4ead31,edges:_0x407f9c}={}){let _0x3557d4,_0x4f0067=null;const _0x453443=null!=_0x407f9c&&_0x407f9c['includes']('leading'),_0x32dc02=null==_0x407f9c||_0x407f9c['includes']('trailing'),_0x29eebc=()=>{null!==_0x4f0067&&(_0x3ee265['apply'](_0x3557d4,_0x4f0067),_0x3557d4=void 0x0,_0x4f0067=null);};let _0x1712f2=null;const _0x43e431=()=>{null!=_0x1712f2&&clearTimeout(_0x1712f2),_0x1712f2=setTimeout(()=>{_0x1712f2=null,_0x32dc02&&_0x29eebc(),_0x2cbad4();},_0x3f2407);},_0xbe4fed=()=>{null!==_0x1712f2&&(clearTimeout(_0x1712f2),_0x1712f2=null);},_0x2cbad4=()=>{_0xbe4fed(),_0x3557d4=void 0x0,_0x4f0067=null;},_0x21cef4=function(..._0x1cfd01){if(_0x4ead31?.['aborted'])return;_0x3557d4=this,_0x4f0067=_0x1cfd01;const _0x2c5e9a=null==_0x1712f2;_0x43e431(),_0x453443&&_0x2c5e9a&&_0x29eebc();};return _0x21cef4['schedule']=_0x43e431,_0x21cef4['cancel']=_0x2cbad4,_0x21cef4['flush']=()=>{_0xbe4fed(),_0x29eebc();},_0x4ead31?.['addEventListener']('abort',_0x2cbad4,{'once':!0x0}),_0x21cef4;}function rt(_0x313842,_0x21bb56=0x0,_0x212888={}){'object'!=typeof _0x212888&&(_0x212888={});const {leading:_0x112420=!0x1,trailing:_0x1c51b6=!0x0,maxWait:_0x3b74ad}=_0x212888,_0x6b7bd9=Array(0x2);let _0x4bb1d8;_0x112420&&(_0x6b7bd9[0x0]='leading'),_0x1c51b6&&(_0x6b7bd9[0x1]='trailing');let _0x47791b=null;const _0x3ce4c2=nt(function(..._0xe2b256){_0x4bb1d8=_0x313842['apply'](this,_0xe2b256),_0x47791b=null;},_0x21bb56,{'edges':_0x6b7bd9}),_0x33a5cf=function(..._0x2f6ba4){return null!=_0x3b74ad&&(null===_0x47791b&&(_0x47791b=Date['now']()),Date['now']()-_0x47791b>=_0x3b74ad)?(_0x4bb1d8=_0x313842['apply'](this,_0x2f6ba4),_0x47791b=Date['now'](),_0x3ce4c2['cancel'](),_0x3ce4c2['schedule'](),_0x4bb1d8):(_0x3ce4c2['apply'](this,_0x2f6ba4),_0x4bb1d8);};return _0x33a5cf['cancel']=_0x3ce4c2['cancel'],_0x33a5cf['flush']=()=>(_0x3ce4c2['flush'](),_0x4bb1d8),_0x33a5cf;}function ot(_0x3b5f4b,_0x1a9d07=0x0,_0x5da8b7={}){'object'!=typeof _0x5da8b7&&(_0x5da8b7={});const {leading:_0x40450e=!0x0,trailing:_0xdc3bf9=!0x0}=_0x5da8b7;return rt(_0x3b5f4b,_0x1a9d07,{'leading':_0x40450e,'trailing':_0xdc3bf9,'maxWait':_0x1a9d07});}function at(_0x2339ef){if(null==_0x2339ef)return'';if('string'==typeof _0x2339ef)return _0x2339ef;if(Array['isArray'](_0x2339ef))return _0x2339ef['map'](at)['join'](',');const _0x33e257=String(_0x2339ef);return'0'===_0x33e257&&Object['is'](Number(_0x2339ef),-0x0)?'-0':_0x33e257;}function ct(_0x140c7d){if(!_0x140c7d||'object'!=typeof _0x140c7d)return!0x1;const _0x234eb0=Object['getPrototypeOf'](_0x140c7d);return!(null!==_0x234eb0&&_0x234eb0!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x234eb0))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x140c7d);}function lt(_0x2d07bf,_0x169730,_0x22c01a,_0x435bb3,_0x1a797c,_0x2a167a,_0x2f701e){const _0x4c3c8e=_0x2f701e(_0x2d07bf,_0x169730,_0x22c01a,_0x435bb3,_0x1a797c,_0x2a167a);if(void 0x0!==_0x4c3c8e)return _0x4c3c8e;if(typeof _0x2d07bf==typeof _0x169730)switch(typeof _0x2d07bf){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x2d07bf===_0x169730;case'number':return _0x2d07bf===_0x169730||Object['is'](_0x2d07bf,_0x169730);case'object':return ht(_0x2d07bf,_0x169730,_0x2a167a,_0x2f701e);}return ht(_0x2d07bf,_0x169730,_0x2a167a,_0x2f701e);}function ht(_0x2e2f2b,_0x1b982b,_0x5e3eb4,_0x529e87){if(Object['is'](_0x2e2f2b,_0x1b982b))return!0x0;let _0x47be05=_0x17f59a(_0x2e2f2b),_0x1164c5=_0x17f59a(_0x1b982b);if(_0x47be05===_0x28c05c&&(_0x47be05=_0xe4c28c),_0x1164c5===_0x28c05c&&(_0x1164c5=_0xe4c28c),_0x47be05!==_0x1164c5)return!0x1;switch(_0x47be05){case _0x1d5c8e:return _0x2e2f2b['toString']()===_0x1b982b['toString']();case _0x4d9c30:return _0x5ce139(_0x2e2f2b['valueOf'](),_0x1b982b['valueOf']());case _0x431866:case _0x47b072:case _0x33107e:return Object['is'](_0x2e2f2b['valueOf'](),_0x1b982b['valueOf']());case _0x33aeed:return _0x2e2f2b['source']===_0x1b982b['source']&&_0x2e2f2b['flags']===_0x1b982b['flags'];case'[object\x20Function]':return _0x2e2f2b===_0x1b982b;}const _0x406f2d=(_0x5e3eb4=_0x5e3eb4??new Map())['get'](_0x2e2f2b),_0x25a561=_0x5e3eb4['get'](_0x1b982b);if(null!=_0x406f2d&&null!=_0x25a561)return _0x406f2d===_0x1b982b;_0x5e3eb4['set'](_0x2e2f2b,_0x1b982b),_0x5e3eb4['set'](_0x1b982b,_0x2e2f2b);try{switch(_0x47be05){case _0x4e7105:if(_0x2e2f2b['size']!==_0x1b982b['size'])return!0x1;for(const [_0x53ee6d,_0x286dd8]of _0x2e2f2b['entries']())if(!_0x1b982b['has'](_0x53ee6d)||!lt(_0x286dd8,_0x1b982b['get'](_0x53ee6d),_0x53ee6d,_0x2e2f2b,_0x1b982b,_0x5e3eb4,_0x529e87))return!0x1;return!0x0;case _0x236328:{if(_0x2e2f2b['size']!==_0x1b982b['size'])return!0x1;const _0x374c17=Array['from'](_0x2e2f2b['values']()),_0x3e0f73=Array['from'](_0x1b982b['values']());for(let _0x57e722=0x0;_0x57e722<_0x374c17['length'];_0x57e722++){const _0x19e035=_0x374c17[_0x57e722],_0x4af027=_0x3e0f73['findIndex'](_0x4a4fc7=>lt(_0x19e035,_0x4a4fc7,void 0x0,_0x2e2f2b,_0x1b982b,_0x5e3eb4,_0x529e87));if(-0x1===_0x4af027)return!0x1;_0x3e0f73['splice'](_0x4af027,0x1);}return!0x0;}case _0x2a8950:case _0xf701f8:case _0x40640d:case _0x2181c2:case _0x2f0119:case'[object\x20BigUint64Array]':case _0x3b1418:case _0x340ee3:case _0x4ea79f:case'[object\x20BigInt64Array]':case _0x3e535d:case _0x25f0e8:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x2e2f2b)!==Buffer['isBuffer'](_0x1b982b))return!0x1;if(_0x2e2f2b['length']!==_0x1b982b['length'])return!0x1;for(let _0x23e2c0=0x0;_0x23e2c0<_0x2e2f2b['length'];_0x23e2c0++)if(!lt(_0x2e2f2b[_0x23e2c0],_0x1b982b[_0x23e2c0],_0x23e2c0,_0x2e2f2b,_0x1b982b,_0x5e3eb4,_0x529e87))return!0x1;return!0x0;case _0x546165:return _0x2e2f2b['byteLength']===_0x1b982b['byteLength']&&ht(new Uint8Array(_0x2e2f2b),new Uint8Array(_0x1b982b),_0x5e3eb4,_0x529e87);case _0x303cd9:return _0x2e2f2b['byteLength']===_0x1b982b['byteLength']&&_0x2e2f2b['byteOffset']===_0x1b982b['byteOffset']&&ht(new Uint8Array(_0x2e2f2b),new Uint8Array(_0x1b982b),_0x5e3eb4,_0x529e87);case'[object\x20Error]':return _0x2e2f2b['name']===_0x1b982b['name']&&_0x2e2f2b['message']===_0x1b982b['message'];case _0xe4c28c:{if(!(ht(_0x2e2f2b['constructor'],_0x1b982b['constructor'],_0x5e3eb4,_0x529e87)||ct(_0x2e2f2b)&&ct(_0x1b982b)))return!0x1;const _0x227196=[...Object['keys'](_0x2e2f2b),..._0x2788a7(_0x2e2f2b)],_0xa888e6=[...Object['keys'](_0x1b982b),..._0x2788a7(_0x1b982b)];if(_0x227196['length']!==_0xa888e6['length'])return!0x1;for(let _0x4a945c=0x0;_0x4a945c<_0x227196['length'];_0x4a945c++){const _0x626bfa=_0x227196[_0x4a945c],_0x5c3fcc=_0x2e2f2b[_0x626bfa];if(!Object['hasOwn'](_0x1b982b,_0x626bfa))return!0x1;if(!lt(_0x5c3fcc,_0x1b982b[_0x626bfa],_0x626bfa,_0x2e2f2b,_0x1b982b,_0x5e3eb4,_0x529e87))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x5e3eb4['delete'](_0x2e2f2b),_0x5e3eb4['delete'](_0x1b982b);}}function ut(){}function dt(_0x278df4,_0x319e91){return function(_0x313a47,_0x7dd9e8,_0x1a8b4e){return lt(_0x313a47,_0x7dd9e8,void 0x0,void 0x0,void 0x0,void 0x0,_0x1a8b4e);}(_0x278df4,_0x319e91,ut);}function ft(_0x25f73d,..._0x17bc7d){if(null==_0x25f73d)return{};const _0x4c3c25=_0x19ef01(_0x25f73d);for(let _0x492ea4=0x0;_0x492ea4<_0x17bc7d['length'];_0x492ea4++){let _0x18dec8=_0x17bc7d[_0x492ea4];switch(typeof _0x18dec8){case'object':Array['isArray'](_0x18dec8)||(_0x18dec8=Array['from'](_0x18dec8));for(let _0x110153=0x0;_0x110153<_0x18dec8['length'];_0x110153++){tt(_0x4c3c25,_0x18dec8[_0x110153]);}break;case'string':case'symbol':case'number':tt(_0x4c3c25,_0x18dec8);}}return _0x4c3c25;}function mt(_0x50003f){return function(_0x31b619){return'object'==typeof _0x31b619&&null!==_0x31b619;}(_0x50003f)&&0x1===_0x50003f['nodeType']&&!function(_0x1b5c7f){if('object'!=typeof _0x1b5c7f)return!0x1;if(null==_0x1b5c7f)return!0x1;if(null===Object['getPrototypeOf'](_0x1b5c7f))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x1b5c7f)){const _0x2adc82=_0x1b5c7f[Symbol['toStringTag']];return null!=_0x2adc82&&(!!Object['getOwnPropertyDescriptor'](_0x1b5c7f,Symbol['toStringTag'])?.['writable']&&_0x1b5c7f['toString']()==='[object\x20'+_0x2adc82+']');}let _0x450aa5=_0x1b5c7f;for(;null!==Object['getPrototypeOf'](_0x450aa5);)_0x450aa5=Object['getPrototypeOf'](_0x450aa5);return Object['getPrototypeOf'](_0x1b5c7f)===_0x450aa5;}(_0x50003f);}const gt={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function pt(_0x20e638){return at(_0x20e638)['replace'](/[&<>"']/g,_0x1b6594=>gt[_0x1b6594]);}function Ot(_0x1bc329){return function(_0x52f48f){return _0x52f48f['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(at(_0x1bc329));}const wt={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function bt(_0x338adb){return function(_0x5299ef){return _0x5299ef['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x279124=>wt[_0x279124]||'\x27');}(at(_0x338adb));}class AIHistoryListItemView extends _0xa0ed63['ListItemView']{constructor(_0x3fdd6c){super();const _0x25cb7d=new _0xa0ed63['ButtonLabelView'](),_0x2b124a=new _0xa0ed63['ButtonView'](this['locale'],_0x25cb7d);this['children']['add'](_0x2b124a),_0x2b124a['set']({'label':_0x3fdd6c['prompt'],'withText':!0x0}),_0x2b124a['on']('execute',()=>{this['fire']('execute',{'value':bt(_0x3fdd6c['prompt'])});});}}const yt='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0xa0ed63['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x59c1c2,_0x29985b)=>{const _0x393c90=_t(_0x29985b['prompt']);for(const _0x161c37 of this)if(_0x161c37!=_0x29985b&&_t(_0x161c37['prompt'])===_0x393c90){this['remove'](_0x161c37);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x54d712=sessionStorage['getItem'](yt)||'[]';this['addMany'](JSON['parse'](_0x54d712));}['_saveToSessionStorage'](){sessionStorage['setItem'](yt,JSON['stringify'](this['map'](_0x216602=>_0x216602)));}}function _t(_0x1b493e){return _0x1b493e['toLowerCase']()['trim']();}class _0x24633e extends _0xa0ed63['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x3700c6,_0x56ef34,_0xe281f6=''){super(_0x3700c6),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x497f31['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x3f05a8(_0x3700c6),this['contentArea']=new AIFormContentArea(_0x3700c6,_0xe281f6),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 _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0xa0ed63['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 _0x2e6003=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x56ef34],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x2e6003['if']('isError','ck-hidden',_0x5ac906=>!_0x5ac906)]},'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'](_0x59114a=0x1){-0x1===_0x59114a?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 _0x2853a3=this['locale'],_0x1f06d6=new AIFormPromptView(_0x2853a3,{'queryView':{'label':_0x420730(_0x2853a3,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0xa0ed63['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x420730(_0x2853a3,'Empty\x20history'),'secondary':_0x420730(_0x2853a3,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1f06d6['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x54a406,_0xae8358)=>_0x54a406&&!_0xae8358),this['listenTo'](_0x1f06d6,'submit',(_0x1ce42c,_0x24cc8b)=>{this['prompt']=_0x24cc8b;const _0x54d5e9=pt(_0x24cc8b);this['fire']('submitPrompt',_0x54d5e9),_0x24cc8b['trim']()&&this['_promptHistory']['add']({'prompt':_0x54d5e9},0x0);},{'priority':'high'}),_0x1f06d6;}['_createHistoryView'](){const _0x5e1774=new AIHistoryListView(this['locale']);return _0x5e1774['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x5e1774['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x5e1774;}['_createToolbar'](){const _0x1ef5fa=new _0x325bb5(this['locale']);return _0x1ef5fa['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x4fa33a,_0x497499,_0x2029e1)=>_0x4fa33a&&!_0x497499&&!!_0x2029e1),_0x1ef5fa['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x1ef5fa['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x57ae36,_0x3a84a5,_0x53637b)=>_0x57ae36&&!_0x3a84a5&&!!_0x53637b),_0x1ef5fa['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x1ef5fa['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x255cfe,_0x41e191)=>_0x255cfe&&!_0x41e191),_0x1ef5fa['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x1ef5fa['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x1ef5fa['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x1ef5fa;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x15f6d3=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x420730(_0x15f6d3,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x37784d){const _0x4d4079=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x37784d||_0x420730(_0x4d4079,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const vt=globalThis['DataTransfer'];class AIAssistantUI extends _0xa0ed63['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[_0xa0ed63['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,_0xa0ed63['Dialog']];}constructor(_0x3f0618){super(_0x3f0618),_0x3f0618['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x3f0618['config']['define']('ai.assistant.contentAreaCssClass',''),_0x3f0618['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x3f0618['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x4def83}=this;this['_aiAdapter']=_0x4def83['plugins']['get'](AIAdapter),this['_dialog']=_0x4def83['plugins']['get'](_0xa0ed63['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x1eab07=new ShowAIAssistantCommand(_0x4def83,Array['from'](this['_commandDefinitions']['values']()));_0x4def83['commands']['add']('showAIAssistant',_0x1eab07),_0x4def83['ui']['componentFactory']['add']('aiCommands',_0x4ea6a1=>{const _0x4d2b7f=_0xa0ed63['createDropdown'](_0x4ea6a1);return _0x4d2b7f['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x4d2b7f['buttonView']['set']({'label':_0x420730(_0x4ea6a1,'AI\x20Commands'),'icon':_0xa0ed63['IconMagicWand'],'tooltip':!0x0}),_0x4d2b7f['on']('execute',_0x1be1ce=>this['_onExecute'](_0x1be1ce['source']['id'])),_0xa0ed63['addMenuToDropdown'](_0x4d2b7f,_0x4def83['ui']['view']['body'],function(_0x21ef58){const _0x335290=_0x47e24f(_0x21ef58['config']['get']('ai.assistant.commands'),_0x21ef58['locale']),_0x52e792=Et(_0x21ef58,_0x335290)['filter'](_0x3a76d4=>_0x3a76d4['commands']['length']);if(0x1===_0x52e792['length'])return Et(_0x21ef58,_0x52e792[0x0]['commands'])['map'](_0x41828f=>({'id':_0x41828f['id'],'label':_0x41828f['label']}));return _0x52e792['map'](_0x2aaa3b=>{const {groupId:_0x37eb15,groupLabel:_0x3e305c,commands:_0x47f6ff}=_0x2aaa3b,_0x3ac59c=Et(_0x21ef58,_0x47f6ff)['map'](_0x568050=>({'id':_0x568050['id'],'label':_0x568050['label']}));return{'id':_0x37eb15,'menu':_0x3e305c||_0x37eb15,'children':_0x3ac59c};});}(_0x4def83),{'ariaLabel':_0x420730(_0x4ea6a1,'AI\x20Commands')}),_0x4d2b7f['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x1eab07['on']('change:enabledCommandsIds',_0xe4b3af),_0x4d2b7f['menuView']['once']('render',_0xe4b3af),_0x4d2b7f;function _0xe4b3af(){_0x4d2b7f['isEnabled']=_0x1eab07['enabledCommandsIds']['length']>0x0;for(const _0x210efe of _0x4d2b7f['menuView']['buttons'])_0x210efe['isEnabled']=_0x1eab07['enabledCommandsIds']['includes'](_0x210efe['id']);}}),_0x4def83['ui']['componentFactory']['add']('menuBar:aiCommands',_0x5d85b3=>{const _0x26ae47=new _0xa0ed63['MenuBarMenuView'](_0x5d85b3);_0x26ae47['buttonView']['set']({'label':_0x420730(_0x5d85b3,'AI\x20Commands'),'icon':_0xa0ed63['IconMagicWand']}),_0x26ae47['bind']('isEnabled')['to'](_0x1eab07,'enabledCommandsIds',_0x4d7f66=>_0x4d7f66['length']>0x0);const _0x1616fb=_0x47e24f(_0x4def83['config']['get']('ai.assistant.commands'),_0x5d85b3);return this['_populateMenuBarMenu'](_0x1eab07,_0x26ae47,_0x1616fb,_0xd7d73d=>this['_onExecute'](_0xd7d73d)),_0x26ae47;}),_0x4def83['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x10ed8e=this['_createAIAssistantUIButton'](_0xa0ed63['ButtonView']);return _0x10ed8e['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x10ed8e;}),_0x4def83['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x403d09=this['_createAIAssistantUIButton'](_0xa0ed63['MenuBarMenuListItemButtonView']);return _0x403d09['set']({'role':'menuitemcheckbox'}),_0x403d09;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ac648=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ec5cb;for(const _0x2d86f2 in _0x1ac648){const _0x2e4b07=_0x2d86f2,_0x308104=_0x1ac648[_0x2e4b07];if('aiLicenseKeyValid'==_0x308104||'aiLicenseKeyInvalid'==_0x308104||'aiLicenseKeyExpired'==_0x308104||'aiLicenseKeyDomainLimit'==_0x308104||'aiLicenseKeyNotAllowed'==_0x308104||'aiLicenseKeyEvaluationLimit'==_0x308104||'aiLicenseKeyUsageLimit'==_0x308104){delete _0x1ac648[_0x2e4b07],_0x1ec5cb=_0x308104,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x1ec5cb&&_0x1ac648['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x1baa36='',_0x21ecd9='',_0xdcadce='custom'){const _0xd4f35=this['editor'],_0x1d24a0=_0xd4f35['editing']['view'],_0x7e8dfa=_0xd4f35['plugins']['get'](AIAssistantEditing),_0x1832c4=_0xd4f35['plugins']['get'](_0xa0ed63['ClipboardMarkersUtils']);_0x7e8dfa['showFakeVisualSelection']();const _0x101ba7=new vt(),_0x458a54=new ClipboardEvent('copy',{'clipboardData':_0x101ba7}),_0x4244ca=new _0xa0ed63['ViewDataTransfer'](_0x101ba7),_0x385689=new _0xa0ed63['ViewDocumentDomEventData'](_0x1d24a0,_0x458a54,{'dataTransfer':_0x4244ca});_0x1832c4['_forceMarkersCopy']('comment',()=>{_0x1d24a0['document']['fire']('copy',_0x385689);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0xd4f35,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x717266=_0x4244ca['getData']('text/html');const _0xca8d58=_0xd4f35['model']['document']['selection'],_0x4da946=Array['from'](_0xca8d58['getRanges']());0x1===_0x4da946['length']&&_0x4da946[0x0]['isFlat']&&!_0xca8d58['getSelectedElement']()&&''!==_0x717266['replace'](/&nbsp;/g,'')['trim']()&&(_0x717266='<p>'+_0x717266+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0xdcadce,'query':_0x1baa36,'htmlContent':_0x717266,'label':_0x21ecd9,'mainActionLabel':_0x497f31[_0xd4f35['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0xa0ed63['IconRobotPencil'],'title':_0x420730(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0xa0ed63['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x7e8dfa['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x20ee0c=new Map(),_0x2cec29=_0x47e24f(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x9f10e5 of _0x2cec29)for(const _0x243817 of _0x9f10e5['commands'])_0x20ee0c['set'](_0x243817['id'],{..._0x243817,'groupId':_0x9f10e5['groupId'],'groupLabel':_0x9f10e5['groupLabel']||_0x9f10e5['groupId']});return _0x20ee0c;}['_createAIAssistantUIButton'](_0x121964){const _0x184df1=this['editor'],_0x13525b=_0x184df1['commands']['get']('showAIAssistant'),_0x239005=new _0x121964(_0x184df1['locale']);return _0x239005['set']({'label':_0x420730(_0x184df1['locale'],'AI\x20Assistant'),'icon':_0xa0ed63['IconRobotPencil'],'isToggleable':!0x0}),_0x239005['bind']('isEnabled')['to'](_0x13525b),_0x239005['bind']('isOn')['to'](this['_dialog'],'id',_0x3c63ea=>'aiAssistant'===_0x3c63ea),this['listenTo'](_0x239005,'execute',()=>{_0x239005['isOn']?this['hideUI']():_0x13525b['execute']();}),_0x239005;}['_initView'](){const _0x43bc83=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x24633e(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',()=>{_0x43bc83['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x43bc83['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x36a558,ui:{ariaLiveAnnouncer:_0x1a4285}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x1473c8,_0x28a70e,_0x3c24f6)=>{const _0x3c81a6=this['_aiAssistantController']['currentContext'];_0x3c24f6?_0x1a4285['announce'](_0x420730(_0x36a558,'AI\x20is\x20writing')):_0x3c81a6&&_0x1a4285['announce'](_0x420730(_0x36a558,'Generated\x20content:\x20%0',_0x3c81a6),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x2a7d2f,_0x5d568a,_0xf65f3b)=>{if(_0xf65f3b){const _0x15b3c5=this['_formView']['errorView']['text'];_0x1a4285['announce'](_0x420730(_0x36a558,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x15b3c5));}});}['_onExecute'](_0xe206f){const _0x2a3ad1=this['_commandDefinitions']['get'](_0xe206f),_0x44715a=this['editor'],_0x115db4=_0x44715a['model']['document']['selection'],_0xac4d39=_0x44715a['commands']['get']('showAIAssistant'),_0x414cac=_0x44715a['plugins']['get'](AIAssistantEditing),_0x59654f=''+(_0x2a3ad1['groupId']!==_0x55f4dd?_0x2a3ad1['groupLabel']+':\x20':'')+_0x2a3ad1['label'];if(!0x1!==_0x2a3ad1['requiresContent']&&_0x115db4['isCollapsed']){const _0x1f23d0=_0xa0ed63['first'](_0x115db4['getSelectedBlocks']())||_0x44715a['model']['schema']['getLimitElement'](_0x115db4);_0x44715a['model']['change'](_0x7f255f=>{_0x7f255f['setSelection'](_0x1f23d0,'in');});}_0x414cac['showFakeVisualSelection'](),_0xac4d39['execute'](_0x2a3ad1['prompt'],_0x59654f,'command:'+_0xe206f);}['_populateMenuBarMenu'](_0x314339,_0x20126b,_0x4ce261,_0x171b18){const _0x5a7e42=this['editor'],_0x3da141=_0x5a7e42['locale'],_0x13bbe7=new _0xa0ed63['MenuBarMenuListView'](_0x3da141),_0x522a97=Et(_0x5a7e42,_0x4ce261)['filter'](_0x2923bf=>_0x2923bf['commands']['length']);0x1===_0x522a97['length']?this['_getMenuBarGroupButtons']({'command':_0x314339,'commands':_0x522a97[0x0]['commands'],'parentMenuView':_0x20126b,'onExecute':_0x171b18})['forEach'](_0x2606ae=>_0x13bbe7['items']['add'](_0x2606ae)):_0x522a97['forEach'](({groupId:_0x3dd14a,groupLabel:_0x1b5d13,commands:_0x5bf335})=>{const _0x2a3930=new _0xa0ed63['MenuBarMenuListItemView'](_0x3da141,_0x20126b),_0xb2211b=new _0xa0ed63['MenuBarMenuView'](_0x3da141),_0x1b904b=new _0xa0ed63['MenuBarMenuListView'](_0x3da141),_0x47397c=this['_getMenuBarGroupButtons']({'command':_0x314339,'commands':_0x5bf335,'parentMenuView':_0xb2211b,'onExecute':_0x171b18});_0xb2211b['buttonView']['set']({'label':_0x1b5d13||_0x3dd14a}),_0xb2211b['delegate']('execute')['to'](_0x20126b),_0x1b904b['items']['addMany'](_0x47397c),_0xb2211b['panelView']['children']['add'](_0x1b904b),_0x2a3930['children']['add'](_0xb2211b),_0x13bbe7['items']['add'](_0x2a3930);}),_0x20126b['panelView']['children']['add'](_0x13bbe7);}['_getMenuBarGroupButtons']({command:_0x82abcd,commands:_0x182a23,parentMenuView:_0xe04817,onExecute:_0x30d391}){const _0x455c59=this['editor'],_0xf2c2db=_0x455c59['locale'];return Et(_0x455c59,_0x182a23)['map'](_0x2afedd=>{const _0x36b6e3=new _0xa0ed63['MenuBarMenuListItemView'](_0xf2c2db,_0xe04817),_0x47c023=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0xf2c2db);return _0x47c023['set']({'label':_0x2afedd['label']}),_0x47c023['delegate']('execute')['to'](_0xe04817),_0x47c023['on']('execute',()=>_0x30d391(_0x2afedd['id'])),_0x47c023['bind']('isEnabled')['to'](_0x82abcd,'enabledCommandsIds',_0x140539=>_0x140539['includes'](_0x2afedd['id'])),_0x36b6e3['children']['add'](_0x47c023),_0x36b6e3;});}}function Tt(_0x3a73ef,_0x2f504f){return void 0x0!==_0x3a73ef['order']&&void 0x0===_0x2f504f['order']?0x1:void 0x0===_0x3a73ef['order']&&void 0x0!==_0x2f504f['order']?-0x1:void 0x0!==_0x3a73ef['order']&&void 0x0!==_0x2f504f['order']?_0x3a73ef['order']-_0x2f504f['order']:0x0;}function Et(_0x2c7cab,_0x554ac){_0x554ac['sort'](Tt);const _0x4a8a73={},_0x50b8a6=[];for(const _0x704646 of _0x554ac)if(void 0x0!==_0x704646['order']){if(_0x704646['order']in _0x4a8a73)throw new _0xa0ed63['CKEditorError']('ai-commands-config-order-collision',_0x2c7cab,{'conflictingDefinitions':[_0x704646,_0x4a8a73[_0x704646['order']]]});_0x4a8a73[_0x704646['order']]=_0x704646,_0x50b8a6['splice'](_0x704646['order'],0x0,_0x704646);}else _0x50b8a6['push'](_0x704646);return _0x50b8a6;}class AIAssistant extends _0xa0ed63['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b45e2){super(_0x4b45e2);const _0x2da49a=_0x4b45e2['config'],_0x2a8986=_0x4b45e2['locale'];_0x2da49a['define']('ai.assistant.preserveComments',!0x0),_0x2da49a['define']('ai.assistant.commands',At(_0x2a8986)),_0x2da49a['define']('ai.assistant.extraCommandGroups',[]),_0x2da49a['define']('ai.assistant.removeCommands',[]);let _0x1d287d=_0x47e24f(_0x2da49a['get']('ai.assistant.commands'),_0x2a8986);const _0x3dc714=_0x2da49a['get']('ai.assistant.extraCommandGroups'),_0x1bbd4f=_0x2da49a['get']('ai.assistant.removeCommands');_0x3dc714['forEach'](_0x5ef17e=>{const _0x1cbb56=_0x1d287d['find'](_0x18aa9d=>_0x18aa9d['groupId']===_0x5ef17e['groupId']);_0x1cbb56?_0x1cbb56['commands']=_0x1cbb56['commands']['concat'](_0x5ef17e['commands']):_0x1d287d['push'](_0x5ef17e);}),_0x1d287d=_0x1d287d['filter'](_0x19d91c=>!_0x1bbd4f['includes'](_0x19d91c['groupId'])),_0x1d287d['forEach'](_0xddc909=>{_0xddc909['commands']=_0xddc909['commands']['filter'](_0x2f7087=>!_0x1bbd4f['includes'](_0x2f7087['id']));}),_0x2da49a['set']('ai.assistant.commands',_0x1d287d);}}function At(_0x43ed04){return[{'groupId':'editOrReview','groupLabel':_0x420730(_0x43ed04,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x420730(_0x43ed04,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x420730(_0x43ed04,'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':_0x420730(_0x43ed04,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x420730(_0x43ed04,'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':_0x420730(_0x43ed04,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x420730(_0x43ed04,'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':_0x420730(_0x43ed04,'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':_0x420730(_0x43ed04,'Change\x20tone'),'commands':[{'id':'professional','label':_0x420730(_0x43ed04,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x420730(_0x43ed04,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x420730(_0x43ed04,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x420730(_0x43ed04,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x420730(_0x43ed04,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x420730(_0x43ed04,'Change\x20style'),'commands':[{'id':'business','label':_0x420730(_0x43ed04,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x420730(_0x43ed04,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x420730(_0x43ed04,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x420730(_0x43ed04,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x420730(_0x43ed04,'Translate'),'commands':[{'id':'translateEnglish','label':_0x420730(_0x43ed04,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x420730(_0x43ed04,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x420730(_0x43ed04,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x420730(_0x43ed04,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x420730(_0x43ed04,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x420730(_0x43ed04,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x420730(_0x43ed04,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x420730(_0x43ed04,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0xa0ed63['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x16dd83){super(_0x16dd83),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x85d051){return this['sendRequest'](_0x85d051)['catch'](_0x480681=>{if(_0x480681 instanceof AIRequestError)return Promise['reject'](_0x480681);if('AbortError'==_0x480681['name'])return Promise['resolve']();throw console['error'](_0x480681),new _0xa0ed63['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0xa7bb6b,_0x522942){const _0x272bfc=this['editor']['locale'],_0x1214c6={'Content-Type':'application/json'};if('object'==typeof _0xa7bb6b)Object['assign'](_0x1214c6,_0xa7bb6b);else{if(_0xa7bb6b)try{const _0x191972=await _0xa7bb6b(_0x522942);Object['assign'](_0x1214c6,_0x191972);}catch{return Promise['reject'](new AIRequestError(_0x420730(_0x272bfc,'AI_ERROR_GET_HEADERS')));}}return _0x1214c6;}async['_prepareRequestParameters'](_0x2a739,_0x18e640){const _0xffa5b2=this['editor']['locale'];if('object'==typeof _0x2a739)return _0x2a739;try{return await _0x2a739(_0x18e640);}catch{return Promise['reject'](new AIRequestError(_0x420730(_0xffa5b2,'AI_ERROR_GET_PARAMETERS')));}}}class TabButtonView extends _0xa0ed63['ButtonView']{constructor(_0x66b552,_0x46bd73={}){super(_0x66b552),this['isToggleable']=!0x0,this['set']('side',_0x46bd73['side']||'top');const _0xdc8115=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0xa0ed63['toArray'](_0x46bd73['class']||[]),_0xdc8115['to']('side',_0x258865=>'ck-tab-button_'+_0x258865),_0xdc8115['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x4c34d0 extends _0xa0ed63['View']{['children'];constructor(_0xa361ce,_0x49cf35={}){super(_0xa361ce);const _0x3ab53f=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',..._0xa0ed63['toArray'](_0x49cf35['class']||[]),_0x3ab53f['to']('class'),_0x3ab53f['if']('isVisible','ck-hidden',_0x2c0e47=>!_0x2c0e47)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x1dd9ff extends _0xa0ed63['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x12f999,_0x5b5678={}){super(_0x12f999),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x5b5678['side']||'top'),this['set']('isMaximized',!0x1);const _0x3ace8a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0xa0ed63['toArray'](_0x5b5678['class']||[]),_0x3ace8a['to']('side',_0x16220f=>'ck-tabs_'+_0x16220f),_0x3ace8a['to']('class'),_0x3ace8a['to']('isMaximized',_0x8172f5=>_0x8172f5?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x3ace8a['to']('side',_0x13435c=>'ck-tabs__buttons-container_'+_0x13435c)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x3ace8a['to']('side',_0x2e17a6=>'ck-tabs__panels-container_'+_0x2e17a6)]},'children':this['panelViews']},..._0xa0ed63['toArray'](_0x5b5678['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x221da8){const _0x3c0c85=this['_tabs']['get'](_0x221da8);return _0x3c0c85||null;}['addTab'](_0x5cae4b){const _0x2f1170=this['_setupButton']({'id':_0x5cae4b['id'],'label':_0x5cae4b['buttonLabel'],'icon':_0x5cae4b['buttonIcon'],'order':_0x5cae4b['order']}),_0x47d54d=new _0x4c34d0(this['locale']);return _0x47d54d['render'](),_0x5cae4b['content']&&_0x47d54d['children']['add'](_0x5cae4b['content']),this['panelViews']['add'](_0x47d54d),this['_tabs']['set'](_0x5cae4b['id'],{'button':_0x2f1170,'panel':_0x47d54d,'order':void 0x0!==_0x5cae4b['order']?_0x5cae4b['order']:null}),this['fire']('addTab:'+_0x5cae4b['id'],{'id':_0x5cae4b['id'],'button':_0x2f1170,'panel':_0x47d54d}),null===this['activeTab']?this['activateTab'](_0x5cae4b['id']):this['_hidePanel'](_0x5cae4b['id']),{'button':_0x2f1170,'panel':_0x47d54d};}['activateTab'](_0x493336){if(null!==_0x493336&&!this['getTab'](_0x493336))throw new _0xa0ed63['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x493336});this['activeTab']!==_0x493336&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x493336,_0x493336&&this['_showPanel'](_0x493336),this['fire']('activateTab:'+_0x493336,_0x493336));}['showTab'](_0x3f3163){if(!this['getTab'](_0x3f3163))throw new _0xa0ed63['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x3f3163});this['_showPanel'](_0x3f3163),this['_showButton'](_0x3f3163),this['fire']('show:'+_0x3f3163,_0x3f3163);}['hideTab'](_0xe5fd7c){if(!this['getTab'](_0xe5fd7c))throw new _0xa0ed63['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0xe5fd7c});const _0x57b485=this['activeTab'];this['_hidePanel'](_0xe5fd7c),this['_hideButton'](_0xe5fd7c);const _0x3973f5=this['getTabIds']();_0x57b485===_0xe5fd7c&&_0x3973f5['length']>0x1&&this['activateTab'](_0x3973f5['find'](_0x51a068=>_0x51a068!==_0xe5fd7c)),this['fire']('hide:'+_0xe5fd7c,_0xe5fd7c);}['_getPanel'](_0x1769b4){const _0x9b1cc7=this['_tabs']['get'](_0x1769b4);return _0x9b1cc7?_0x9b1cc7['panel']:null;}['_showPanel'](_0x56c63c){null!==this['activeTab']&&this['activeTab']!==_0x56c63c||this['_getPanel'](_0x56c63c)['show']();}['_hidePanel'](_0x186403){const _0x44ce87=this['_getPanel'](_0x186403);_0x44ce87['isVisible']&&(this['activeTab']===_0x186403&&(this['activeTab']=null),_0x44ce87['hide']());}['_getButton'](_0xc43db){const _0x10d242=this['_tabs']['get'](_0xc43db);return _0x10d242?_0x10d242['button']:null;}['_showButton'](_0x27a120){this['_getButton'](_0x27a120)['show']();}['_hideButton'](_0x2761b5){this['_getButton'](_0x2761b5)['hide']();}['_setupButton'](_0x2f0473){const _0x4b560f=new TabButtonView(this['locale'],{'side':this['side']}),_0x5deb00=this['buttonViews'];if(_0x4b560f['set']({'label':_0x2f0473['label'],'icon':_0x2f0473['icon'],'tooltip':!0x0,'withText':!0x0}),_0x4b560f['bind']('isOn')['to'](this,'activeTab',_0x5d7f3c=>_0x5d7f3c===_0x2f0473['id']),_0x4b560f['bind']('side')['to'](this,'side'),_0x2f0473['order']){const _0x3a4cb1=[...this['_tabs']]['reduce']((_0xb9e096,_0x1d542e)=>{const _0x4cf7bf=_0x1d542e[0x0],{order:_0x276209}=_0x1d542e[0x1];return!_0x276209||_0x276209>_0x2f0473['order']?_0xb9e096:_0x276209>=_0xb9e096['order']?{'id':_0x4cf7bf,'order':_0x276209}:_0xb9e096;},{'id':'','order':0x0}),_0x20ad06=_0x5deb00['getIndex'](this['_getButton'](_0x3a4cb1['id']));_0x5deb00['add'](_0x4b560f,_0x20ad06+0x1);}else _0x5deb00['add'](_0x4b560f);return _0x4b560f['on']('execute',()=>{this['activateTab'](_0x2f0473['id']);}),_0x4b560f;}}const St=['overlay','sidebar','custom'],It=['left','right'];class _0x1a5479 extends _0x1dd9ff{constructor(_0x489ee2,_0x312728={}){super(_0x489ee2,_0x312728),this['set']('type',_0x312728['type']||'sidebar'),this['set']('side',_0x312728['side']||'right'),this['set']('isVisible',_0x312728['visibleByDefault']??!0x0);const _0x427dcd=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x427dcd['if']('type','ck-ai-tabs__overlay',_0x218e98=>'overlay'===_0x218e98),_0x427dcd['if']('type','ck-ai-tabs__sidebar',_0xa6b6bd=>'sidebar'===_0xa6b6bd),_0x427dcd['if']('isVisible','ck-hidden',_0xf5049f=>!_0xf5049f)]}}),this['buttonViews']['on']('add',(_0x2f40fb,_0x3fde00)=>{_0x3fde00['set']('withText',!0x1);});}}class _0x5c6477 extends _0xa0ed63['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a15f6){super(_0x5a15f6);const _0x48d90b=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x48d90b)throw new _0xa0ed63['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x48d90b['showResizeButton']&&(this['showResizeButton']=_0x48d90b['showResizeButton']),'sidebar'!==_0x48d90b['type']&&'overlay'!==_0x48d90b['type']||_0x48d90b['side']&&(this['side']=_0x48d90b['side']),'sidebar'===_0x48d90b['type']){if(this['container']=_0x48d90b['element'],this['set']('type','sidebar'),!this['container'])throw new _0xa0ed63['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x48d90b['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x1a5479(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x48d90b['visibleByDefault']||_0x48d90b['visibleByDefault']}),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 _0xa0ed63['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x55e853){if(_0x55e853&&this['type']!==_0x55e853){if(!St['includes'](_0x55e853))throw new _0xa0ed63['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x55e853;}}['switchSide'](_0x16c0de){if(_0x16c0de&&this['side']!==_0x16c0de){if(!It['includes'](_0x16c0de))throw new _0xa0ed63['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x16c0de;}}['resize'](){this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0x299de5 extends Error{constructor(_0x315261,_0x23ba59){super(_0x315261),this['name']='ParseError',this['type']=_0x23ba59['type'],this['field']=_0x23ba59['field'],this['value']=_0x23ba59['value'],this['line']=_0x23ba59['line'];}}function Ct(_0x5893e7){}function kt(_0x38b4ce){if('function'==typeof _0x38b4ce)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x405fe0=Ct,onError:_0x3b6ef1=Ct,onRetry:_0x52e23e=Ct,onComment:_0x1ca2fc}=_0x38b4ce;let _0x528be8,_0x53b7f3='',_0x4be22c=!0x0,_0x2ec11f='',_0x311204='';function _0x3b1e68(_0x3d2b15){if(''===_0x3d2b15)return _0x2ec11f['length']>0x0&&_0x405fe0({'id':_0x528be8,'event':_0x311204||void 0x0,'data':_0x2ec11f['endsWith']('\x0a')?_0x2ec11f['slice'](0x0,-0x1):_0x2ec11f}),_0x528be8=void 0x0,_0x2ec11f='',void(_0x311204='');if(_0x3d2b15['startsWith'](':'))return void(_0x1ca2fc&&_0x1ca2fc(_0x3d2b15['slice'](_0x3d2b15['startsWith'](':\x20')?0x2:0x1)));const _0x14dda9=_0x3d2b15['indexOf'](':');if(-0x1!==_0x14dda9){const _0x3bfdf6=_0x3d2b15['slice'](0x0,_0x14dda9),_0xa41fb5='\x20'===_0x3d2b15[_0x14dda9+0x1]?0x2:0x1;return void _0x59d3f3(_0x3bfdf6,_0x3d2b15['slice'](_0x14dda9+_0xa41fb5),_0x3d2b15);}_0x59d3f3(_0x3d2b15,'',_0x3d2b15);}function _0x59d3f3(_0x3b2b8e,_0x2d7164,_0x5609e7){switch(_0x3b2b8e){case'event':_0x311204=_0x2d7164;break;case'data':_0x2ec11f=''+_0x2ec11f+_0x2d7164+'\x0a';break;case'id':_0x528be8=_0x2d7164['includes']('\x00')?void 0x0:_0x2d7164;break;case'retry':/^\d+$/['test'](_0x2d7164)?_0x52e23e(parseInt(_0x2d7164,0xa)):_0x3b6ef1(new _0x299de5('Invalid\x20`retry`\x20value:\x20\x22'+_0x2d7164+'\x22',{'type':'invalid-retry','value':_0x2d7164,'line':_0x5609e7}));break;default:_0x3b6ef1(new _0x299de5('Unknown\x20field\x20\x22'+(_0x3b2b8e['length']>0x14?_0x3b2b8e['slice'](0x0,0x14)+'…':_0x3b2b8e)+'\x22',{'type':'unknown-field','field':_0x3b2b8e,'value':_0x2d7164,'line':_0x5609e7}));}}return{'feed':function(_0x231bb2){const _0x1b0b2c=_0x4be22c?_0x231bb2['replace'](/^\xEF\xBB\xBF/,''):_0x231bb2,[_0x387b8f,_0x5e7711]=function(_0x591baf){const _0x4940d9=[];let _0xe9af89='',_0x28295c=0x0;for(;_0x28295c<_0x591baf['length'];){const _0x1fa25f=_0x591baf['indexOf']('\x0d',_0x28295c),_0x18b20f=_0x591baf['indexOf']('\x0a',_0x28295c);let _0x35e234=-0x1;if(-0x1!==_0x1fa25f&&-0x1!==_0x18b20f?_0x35e234=Math['min'](_0x1fa25f,_0x18b20f):-0x1!==_0x1fa25f?_0x35e234=_0x1fa25f:-0x1!==_0x18b20f&&(_0x35e234=_0x18b20f),-0x1===_0x35e234){_0xe9af89=_0x591baf['slice'](_0x28295c);break;}{const _0x1e547c=_0x591baf['slice'](_0x28295c,_0x35e234);_0x4940d9['push'](_0x1e547c),_0x28295c=_0x35e234+0x1,'\x0d'===_0x591baf[_0x28295c-0x1]&&'\x0a'===_0x591baf[_0x28295c]&&_0x28295c++;}}return[_0x4940d9,_0xe9af89];}(''+_0x53b7f3+_0x1b0b2c);for(const _0x5218fc of _0x387b8f)_0x3b1e68(_0x5218fc);_0x53b7f3=_0x5e7711,_0x4be22c=!0x1;},'reset':function(_0x31f5ec={}){_0x53b7f3&&_0x31f5ec['consume']&&_0x3b1e68(_0x53b7f3),_0x4be22c=!0x0,_0x528be8=void 0x0,_0x2ec11f='',_0x311204='',_0x53b7f3='';}};}class AIConnector extends _0xa0ed63['ContextPlugin']{['_apiUrl'];['_token'];['_decoder'];static get['requires'](){return['CloudServices'];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e7c21){super(_0x4e7c21),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl'),this['_token']=null,this['_decoder']=new TextDecoder();}['init'](){const _0x3abeab=this['context']['plugins']['get']('CloudServices');if(!_0x3abeab['token'])throw new _0xa0ed63['CKEditorError']('ai-missing-token',this);this['_token']=_0x3abeab['token'];}['startConversation'](_0x4fe73b,_0x520ec3){const _0xd3a77f=this['_sendApiRequest']('/conversations','POST',{'id':_0x4fe73b,'group':_0x520ec3});return{'getConversation':async()=>(await _0xd3a77f['request'])['json'](),'abortController':_0xd3a77f['abortController']};}['queryAssistant']({message:_0x133da0,conversationId:_0x54dd18,parts:_0x17e5a4,capabilities:_0x1d3d02,model:_0x46b07d,attributes:_0x121d25}){const _0x3aac2b={'prompt':_0x133da0,'content':_0x17e5a4,'model':_0x46b07d,..._0x1d3d02&&{'capabilities':_0x1d3d02},..._0x121d25&&{'attributes':_0x121d25}},_0x71c1e8=this['_sendApiRequest']('/conversations/'+_0x54dd18+'/messages','POST',_0x3aac2b);return{'getStream':async()=>{const _0x59baaf=(await _0x71c1e8['request'])['body'];return this['_getStreamReader'](_0x59baaf);},'abortController':_0x71c1e8['abortController']};}['executeCustomAction']({content:_0x485600,message:_0x1aa032,model:_0x1d45a2,outputFormat:_0x109e2e}){const _0x5e6f6a={'content':[{'type':'text','content':_0x485600}],'prompt':_0x1aa032,'model':_0x1d45a2,'outputFormat':_0x109e2e},_0x32dae1=this['_sendApiRequest']('/actions/custom/calls','POST',_0x5e6f6a);return{'getStream':async()=>{const _0x1e8eaa=(await _0x32dae1['request'])['body'];return this['_getStreamReader'](_0x1e8eaa);},'abortController':_0x32dae1['abortController']};}['executeAction']({actionName:_0x2d853a,content:_0x4af82e,args:_0x55e96f}){const _0x57ad77={'content':[{'type':'text','content':_0x4af82e}],'args':_0x55e96f},_0x12d0cc=this['_sendApiRequest']('/actions/system/'+_0x2d853a+'/calls','POST',_0x57ad77);return{'getStream':async()=>{const _0x5c1a04=(await _0x12d0cc['request'])['body'];return this['_getStreamReader'](_0x5c1a04);},'abortController':_0x12d0cc['abortController']};}['uploadFile'](_0x5e871b,_0x549aab,_0x5b2e81){const _0x4464c4=new FormData();_0x4464c4['append']('file',_0x549aab,_0x549aab['name']),_0x5b2e81&&_0x4464c4['append']('attributes',JSON['stringify'](_0x5b2e81));const _0x88a191=this['_sendApiRequest']('/conversations/'+_0x5e871b+'/files','POST',_0x4464c4);return{'getId':async()=>(await _0x88a191['request'])['json'](),'abortController':_0x88a191['abortController']};}['fetchDocument'](_0x409b6c,_0x13969a){const _0x3049d2=this['_sendApiRequest']('/conversations/'+_0x409b6c+'/documents/'+_0x13969a,'GET');return{'getDocument':async()=>(await _0x3049d2['request'])['json'](),'abortController':_0x3049d2['abortController']};}['uploadDocument'](_0x21eaed,_0x54e3c2,_0x4b3f76){const _0x338f41={'content':_0x54e3c2};_0x4b3f76&&(_0x338f41['attributes']=_0x4b3f76);const _0x55e720=this['_sendApiRequest']('/conversations/'+_0x21eaed+'/documents','POST',_0x338f41);return{'getId':async()=>(await _0x55e720['request'])['json'](),'abortController':_0x55e720['abortController']};}['fetchConversations'](_0x3a8163,_0x3171a4={}){const _0x5a0d2c=new URLSearchParams();_0x5a0d2c['append']('group',_0x3a8163),_0x5a0d2c['append']('excludeEmpty',!0x1!==_0x3171a4['excludeEmpty']?'true':'false'),_0x5a0d2c['append']('limit',_0x3171a4['limit']?_0x3171a4['limit']['toString']():'100'),_0x5a0d2c['append']('sortBy',_0x3171a4['sortBy']?_0x3171a4['sortBy']:'createdAt'),_0x5a0d2c['append']('order',_0x3171a4['order']?_0x3171a4['order']:'desc');const _0x1537b5=this['_sendApiRequest']('/conversations?'+_0x5a0d2c['toString'](),'GET');return{'getConversations':async()=>{const _0x7fa8f8=await _0x1537b5['request'];return(await _0x7fa8f8['json']())['items'];},'abortController':_0x1537b5['abortController']};}['deleteConversation'](_0xf00a04){const _0x1b2cda=this['_sendApiRequest']('/conversations/'+_0xf00a04,'DELETE');return{'execute':async()=>{await _0x1b2cda['request'];},'abortController':_0x1b2cda['abortController']};}['updateConversation'](_0x19d8ff,_0x567479){const _0x2f57dd=this['_sendApiRequest']('/conversations/'+_0x19d8ff,'PATCH',_0x567479);return{'getResult':async()=>(await _0x2f57dd['request'],_0x567479),'abortController':_0x2f57dd['abortController']};}['fetchConversation'](_0x582893){const _0xa6e5ac=this['_sendApiRequest']('/conversations/'+_0x582893,'GET');return{'getConversation':async()=>(await _0xa6e5ac['request'])['json'](),'abortController':_0xa6e5ac['abortController']};}['fetchConversationMessages'](_0x20cc98){const _0xd46f52=this['_sendApiRequest']('/conversations/'+_0x20cc98+'/messages','GET');return{'getMessages':async()=>{const _0x289eab=await _0xd46f52['request'];return(await _0x289eab['json']())['items'];},'abortController':_0xd46f52['abortController']};}['uploadUrl'](_0x3a38c5,_0x359243,_0x14fca0){const _0x8da788=this['_sendApiRequest']('/conversations/'+_0x3a38c5+'/web-resources','POST',{'url':_0x359243,'attributes':_0x14fca0});return{'getId':async()=>(await _0x8da788['request'])['json'](),'abortController':_0x8da788['abortController']};}['getModels'](_0x3ad27c='en'){const _0xf2bc92=new URLSearchParams();_0xf2bc92['append']('language',_0x3ad27c);const _0x3fa84e='/models/1?'+_0xf2bc92['toString'](),_0x373ed1=this['_sendApiRequest'](_0x3fa84e,'GET');return{'list':async()=>await(await _0x373ed1['request'])['json'](),'abortController':_0x373ed1['abortController']};}['deleteFile'](_0x49fe34,_0x326af3){const _0xb512cb=this['_sendApiRequest']('/conversations/'+_0x49fe34+'/files/'+_0x326af3,'DELETE');return{'execute':async()=>{await _0xb512cb['request'];},'abortController':_0xb512cb['abortController']};}['deleteDocument'](_0x4e82c0,_0x15c806){const _0x2db780=this['_sendApiRequest']('/conversations/'+_0x4e82c0+'/documents/'+_0x15c806,'DELETE');return{'execute':async()=>{await _0x2db780['request'];},'abortController':_0x2db780['abortController']};}['deleteWebResource'](_0x295e3a,_0x55f803){const _0x1d6d8b=this['_sendApiRequest']('/conversations/'+_0x295e3a+'/web-resources/'+_0x55f803,'DELETE');return{'execute':async()=>{await _0x1d6d8b['request'];},'abortController':_0x1d6d8b['abortController']};}['callSystemReview']({reviewName:_0x425bda,content:_0x25cd69,args:_0x2a1783}){const _0xfb16e7=this['_sendApiRequest']('/reviews/system/'+_0x425bda+'/calls','POST',{'content':[{'type':'text','content':_0x25cd69}],'args':_0x2a1783});return{'getStream':async()=>{const _0x7f194b=(await _0xfb16e7['request'])['body'];return this['_getStreamReader'](_0x7f194b);},'abortController':_0xfb16e7['abortController']};}['callCustomReview']({content:_0xebeff1,prompt:_0x4d008b,model:_0x5e0311}){const _0x248477=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0xebeff1}],'prompt':_0x4d008b,'model':_0x5e0311});return{'getStream':async()=>{const _0x8dd2f1=(await _0x248477['request'])['body'];return this['_getStreamReader'](_0x8dd2f1);},'abortController':_0x248477['abortController']};}['upsertAIChatRating'](_0x1ed0b8,_0xf828e1,_0x1589e4){const _0x1697af=this['_sendApiRequest']('/conversations/'+_0x1ed0b8+'/messages/'+_0xf828e1+'/ratings','PUT',{'positiveCount':_0x1589e4['positiveCount'],'totalCount':_0x1589e4['totalCount'],'modificationId':_0x1589e4['modificationId']});return{'execute':async()=>{await _0x1697af['request'];},'abortController':_0x1697af['abortController']};}['upsertAIActionRating'](_0x4af56a,_0x13540a,_0x12104a){const _0x4aa1b=this['_sendApiRequest']('/actions/system/'+_0x4af56a+'/calls/'+_0x13540a+'/ratings','PUT',{'positiveCount':_0x12104a['positiveCount'],'totalCount':_0x12104a['totalCount']});return{'execute':async()=>{await _0x4aa1b['request'];},'abortController':_0x4aa1b['abortController']};}['upsertCustomAIActionRating'](_0x421301,_0x386921){const _0x29ec00=this['_sendApiRequest']('/actions/custom/calls/'+_0x421301+'/ratings','PUT',{'positiveCount':_0x386921['positiveCount'],'totalCount':_0x386921['totalCount']});return{'execute':async()=>{await _0x29ec00['request'];},'abortController':_0x29ec00['abortController']};}['upsertAIReviewRating'](_0x4042f9,_0x5bfa75,_0xbdfade,_0x319294){const _0x47f8c1=this['_sendApiRequest']('/reviews/system/'+_0x4042f9+'/calls/'+_0x5bfa75+'/ratings','PUT',{'positiveCount':_0xbdfade['positiveCount'],'totalCount':_0xbdfade['totalCount'],'dataId':_0x319294});return{'execute':async()=>{await _0x47f8c1['request'];},'abortController':_0x47f8c1['abortController']};}['upsertCustomAIReviewRating'](_0x2c3e7e,_0x4b68a0,_0x3ff14c){const _0x239610=this['_sendApiRequest']('/reviews/custom/calls/'+_0x2c3e7e+'/ratings','PUT',{'positiveCount':_0x4b68a0['positiveCount'],'totalCount':_0x4b68a0['totalCount'],'dataId':_0x3ff14c});return{'execute':async()=>{await _0x239610['request'];},'abortController':_0x239610['abortController']};}['_sendApiRequest'](_0x295d35,_0x28b78d,_0x5aeb2e){const _0x5e235e=new AbortController(),_0x44e598=_0x5aeb2e instanceof FormData,_0x2ae419={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x5aeb2e&&!_0x44e598&&(_0x2ae419['Content-Type']='application/json');const _0x1edcb5={'method':_0x28b78d,'headers':_0x2ae419,'signal':_0x5e235e['signal']};_0x5aeb2e&&(_0x1edcb5['body']=_0x44e598?_0x5aeb2e:JSON['stringify'](_0x5aeb2e));const _0x78ebf1=fetch(''+this['_apiUrl']+_0x295d35,_0x1edcb5)['catch'](_0x41f38a=>{this['_handleError'](_0x41f38a);})['then'](_0x50849f=>_0x50849f['ok']?_0x50849f:_0x50849f['json']()['then'](_0xe9d4c1=>{throw{'url':this['_apiUrl'],'path':_0x295d35,'method':_0x28b78d,'body':_0x5aeb2e,'status':(_0x50849f||{})['status'],'statusText':(_0x50849f||{})['statusText'],'code':_0xe9d4c1['code'],'message':_0xe9d4c1['message'],'traceId':_0xe9d4c1['traceId']};}));return{'request':_0x78ebf1,'abortController':_0x5e235e};}async*['_getStreamReader'](_0x458481){const _0x3a9743=[],_0x547f24=_0x458481['getReader'](),_0x3dc224=kt({'onError':_0x395cf6=>{this['_handleError'](_0x395cf6);},'onEvent':_0x4d101d=>{_0x4d101d['data']=JSON['parse'](_0x4d101d['data']),_0x3a9743['push'](_0x4d101d);}});try{let _0xdfe9fb=!0x1;for(;!_0xdfe9fb;){const {done:_0x421022,value:_0x2cd5bf}=await _0x547f24['read']();_0x421022&&(_0xdfe9fb=!0x0),_0x3dc224['feed'](this['_decoder']['decode'](_0x2cd5bf,{'stream':!0x0})),yield*_0x3a9743,_0x3a9743['length']=0x0;}}catch(_0x362535){this['_handleError'](_0x362535);}finally{_0x547f24['releaseLock'](),_0x3dc224['reset']();}}['_handleError'](_0x1b5d45){if(_0x1b5d45 instanceof _0xa0ed63['CKEditorError'])throw _0x1b5d45;if(_0x1b5d45 instanceof Error&&'AbortError'===_0x1b5d45['name'])throw new _0xa0ed63['CKEditorError']('ai-request-aborted',this,{'originalError':_0x1b5d45});throw new _0xa0ed63['CKEditorError']('ai-request-failed',this,{'originalError':_0x1b5d45});}}function xt(_0x8ecf8f,_0x7794b0,_0x5d1398){const t=_0x8ecf8f['t'];switch(_0x7794b0){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'},_0x5d1398);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':'The\x20request\x20was\x20aborted.'});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.'},_0x5d1398);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.'},_0x5d1398);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_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.'},_0x5d1398);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'},_0x5d1398);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x5d1398);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'},_0x5d1398);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.'},_0x5d1398);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.'},_0x5d1398);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.'},_0x5d1398);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.'},_0x5d1398);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'},_0x5d1398);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.'},_0x5d1398);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 _0x7794b0;}}function Rt(_0x3e1723,_0xce3697){const _0x33c06a=new _0xa0ed63['ButtonView'](_0x3e1723),_0x322bf5=xt(_0x3e1723,'AI_TABS_LABEL_MINIMIZE'),_0x485214=xt(_0x3e1723,'AI_TABS_LABEL_MAXIMIZE');return _0x33c06a['set']({'withText':!0x1,'icon':_0xa0ed63['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x33c06a['bind']('label')['to'](_0xce3697,'isMaximized',_0x284c89=>_0x284c89?_0x322bf5:_0x485214),_0x33c06a['bind']('icon')['to'](_0xce3697,'isMaximized',_0x19a296=>_0x19a296?_0xa0ed63['IconMinimize']:_0xa0ed63['IconMaximize']),_0x33c06a['bind']('isOn')['to'](_0xce3697,'isMaximized'),_0x33c06a['on']('execute',()=>{_0xce3697['fire']('resizeTabs');}),_0x33c06a;}const Pt=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'](_0x13de1a=>_0x13de1a['charCodeAt'](0x0))),Mt=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x3fb77b=>_0x3fb77b['charCodeAt'](0x0)));var Nt;const Lt=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]]),Dt=null!==(Nt=String['fromCodePoint'])&&void 0x0!==Nt?Nt:function(_0x2e5c4a){let _0x482ea9='';return _0x2e5c4a>0xffff&&(_0x2e5c4a-=0x10000,_0x482ea9+=String['fromCharCode'](_0x2e5c4a>>>0xa&0x3ff|0xd800),_0x2e5c4a=0xdc00|0x3ff&_0x2e5c4a),_0x482ea9+=String['fromCharCode'](_0x2e5c4a),_0x482ea9;};var Qt;!function(_0xf8defc){_0xf8defc[_0xf8defc['NUM']=0x23]='NUM',_0xf8defc[_0xf8defc['SEMI']=0x3b]='SEMI',_0xf8defc[_0xf8defc['EQUALS']=0x3d]='EQUALS',_0xf8defc[_0xf8defc['ZERO']=0x30]='ZERO',_0xf8defc[_0xf8defc['NINE']=0x39]='NINE',_0xf8defc[_0xf8defc['LOWER_A']=0x61]='LOWER_A',_0xf8defc[_0xf8defc['LOWER_F']=0x66]='LOWER_F',_0xf8defc[_0xf8defc['LOWER_X']=0x78]='LOWER_X',_0xf8defc[_0xf8defc['LOWER_Z']=0x7a]='LOWER_Z',_0xf8defc[_0xf8defc['UPPER_A']=0x41]='UPPER_A',_0xf8defc[_0xf8defc['UPPER_F']=0x46]='UPPER_F',_0xf8defc[_0xf8defc['UPPER_Z']=0x5a]='UPPER_Z';}(Qt||(Qt={}));var $t,Vt,Ut,Bt,Ft,jt;function Ht(_0x1ddff8){return _0x1ddff8>=Qt['ZERO']&&_0x1ddff8<=Qt['NINE'];}function Gt(_0x5036c3){return _0x5036c3>=Qt['UPPER_A']&&_0x5036c3<=Qt['UPPER_F']||_0x5036c3>=Qt['LOWER_A']&&_0x5036c3<=Qt['LOWER_F'];}function Zt(_0x3bd666){return _0x3bd666===Qt['EQUALS']||function(_0x5beb29){return _0x5beb29>=Qt['UPPER_A']&&_0x5beb29<=Qt['UPPER_Z']||_0x5beb29>=Qt['LOWER_A']&&_0x5beb29<=Qt['LOWER_Z']||Ht(_0x5beb29);}(_0x3bd666);}!function(_0x49d22d){_0x49d22d[_0x49d22d['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x49d22d[_0x49d22d['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x49d22d[_0x49d22d['JUMP_TABLE']=0x7f]='JUMP_TABLE';}($t||($t={})),function(_0x499fbd){_0x499fbd[_0x499fbd['EntityStart']=0x0]='EntityStart',_0x499fbd[_0x499fbd['NumericStart']=0x1]='NumericStart',_0x499fbd[_0x499fbd['NumericDecimal']=0x2]='NumericDecimal',_0x499fbd[_0x499fbd['NumericHex']=0x3]='NumericHex',_0x499fbd[_0x499fbd['NamedEntity']=0x4]='NamedEntity';}(Vt||(Vt={})),function(_0x20fb7c){_0x20fb7c[_0x20fb7c['Legacy']=0x0]='Legacy',_0x20fb7c[_0x20fb7c['Strict']=0x1]='Strict',_0x20fb7c[_0x20fb7c['Attribute']=0x2]='Attribute';}(Ut||(Ut={}));class EntityDecoder{constructor(_0x17d418,_0x98ad7f,_0x51e515){this['decodeTree']=_0x17d418,this['emitCodePoint']=_0x98ad7f,this['errors']=_0x51e515,this['state']=Vt['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=Ut['Strict'];}['startEntity'](_0x77b1f8){this['decodeMode']=_0x77b1f8,this['state']=Vt['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x370265,_0xbd635e){switch(this['state']){case Vt['EntityStart']:return _0x370265['charCodeAt'](_0xbd635e)===Qt['NUM']?(this['state']=Vt['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x370265,_0xbd635e+0x1)):(this['state']=Vt['NamedEntity'],this['stateNamedEntity'](_0x370265,_0xbd635e));case Vt['NumericStart']:return this['stateNumericStart'](_0x370265,_0xbd635e);case Vt['NumericDecimal']:return this['stateNumericDecimal'](_0x370265,_0xbd635e);case Vt['NumericHex']:return this['stateNumericHex'](_0x370265,_0xbd635e);case Vt['NamedEntity']:return this['stateNamedEntity'](_0x370265,_0xbd635e);}}['stateNumericStart'](_0x4aeb62,_0x5cb266){return _0x5cb266>=_0x4aeb62['length']?-0x1:(0x20|_0x4aeb62['charCodeAt'](_0x5cb266))===Qt['LOWER_X']?(this['state']=Vt['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x4aeb62,_0x5cb266+0x1)):(this['state']=Vt['NumericDecimal'],this['stateNumericDecimal'](_0x4aeb62,_0x5cb266));}['addToNumericResult'](_0x4f52a2,_0xfab092,_0x142b78,_0x21d207){if(_0xfab092!==_0x142b78){const _0x192bfb=_0x142b78-_0xfab092;this['result']=this['result']*Math['pow'](_0x21d207,_0x192bfb)+Number['parseInt'](_0x4f52a2['substr'](_0xfab092,_0x192bfb),_0x21d207),this['consumed']+=_0x192bfb;}}['stateNumericHex'](_0x4adc4f,_0x22c5f4){const _0x4fc0f1=_0x22c5f4;for(;_0x22c5f4<_0x4adc4f['length'];){const _0x16aa25=_0x4adc4f['charCodeAt'](_0x22c5f4);if(!Ht(_0x16aa25)&&!Gt(_0x16aa25))return this['addToNumericResult'](_0x4adc4f,_0x4fc0f1,_0x22c5f4,0x10),this['emitNumericEntity'](_0x16aa25,0x3);_0x22c5f4+=0x1;}return this['addToNumericResult'](_0x4adc4f,_0x4fc0f1,_0x22c5f4,0x10),-0x1;}['stateNumericDecimal'](_0x574f38,_0xe3e2ec){const _0xa003c5=_0xe3e2ec;for(;_0xe3e2ec<_0x574f38['length'];){const _0x52b4f1=_0x574f38['charCodeAt'](_0xe3e2ec);if(!Ht(_0x52b4f1))return this['addToNumericResult'](_0x574f38,_0xa003c5,_0xe3e2ec,0xa),this['emitNumericEntity'](_0x52b4f1,0x2);_0xe3e2ec+=0x1;}return this['addToNumericResult'](_0x574f38,_0xa003c5,_0xe3e2ec,0xa),-0x1;}['emitNumericEntity'](_0x43f30d,_0x3e6308){var _0x5590c9;if(this['consumed']<=_0x3e6308)return null===(_0x5590c9=this['errors'])||void 0x0===_0x5590c9||_0x5590c9['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x43f30d===Qt['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===Ut['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x1d5a85){var _0x25a0a9;return _0x1d5a85>=0xd800&&_0x1d5a85<=0xdfff||_0x1d5a85>0x10ffff?0xfffd:null!==(_0x25a0a9=Lt['get'](_0x1d5a85))&&void 0x0!==_0x25a0a9?_0x25a0a9:_0x1d5a85;}(this['result']),this['consumed']),this['errors']&&(_0x43f30d!==Qt['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x262e93,_0xb26f59){const {decodeTree:_0x1063bd}=this;let _0x478b95=_0x1063bd[this['treeIndex']],_0x4a102a=(_0x478b95&$t['VALUE_LENGTH'])>>0xe;for(;_0xb26f59<_0x262e93['length'];_0xb26f59++,this['excess']++){const _0x47d019=_0x262e93['charCodeAt'](_0xb26f59);if(this['treeIndex']=Xt(_0x1063bd,_0x478b95,this['treeIndex']+Math['max'](0x1,_0x4a102a),_0x47d019),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===Ut['Attribute']&&(0x0===_0x4a102a||Zt(_0x47d019))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x478b95=_0x1063bd[this['treeIndex']],_0x4a102a=(_0x478b95&$t['VALUE_LENGTH'])>>0xe,0x0!==_0x4a102a){if(_0x47d019===Qt['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x4a102a,this['consumed']+this['excess']);this['decodeMode']!==Ut['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x5080d6;const {result:_0x577eb3,decodeTree:_0x653eca}=this,_0x2c864a=(_0x653eca[_0x577eb3]&$t['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x577eb3,_0x2c864a,this['consumed']),null===(_0x5080d6=this['errors'])||void 0x0===_0x5080d6||_0x5080d6['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x3c3102,_0x1b0669,_0x79f3b4){const {decodeTree:_0x3adaed}=this;return this['emitCodePoint'](0x1===_0x1b0669?_0x3adaed[_0x3c3102]&~$t['VALUE_LENGTH']:_0x3adaed[_0x3c3102+0x1],_0x79f3b4),0x3===_0x1b0669&&this['emitCodePoint'](_0x3adaed[_0x3c3102+0x2],_0x79f3b4),_0x79f3b4;}['end'](){var _0x38365b;switch(this['state']){case Vt['NamedEntity']:return 0x0===this['result']||this['decodeMode']===Ut['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case Vt['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case Vt['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case Vt['NumericStart']:return null===(_0x38365b=this['errors'])||void 0x0===_0x38365b||_0x38365b['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case Vt['EntityStart']:return 0x0;}}}function Xt(_0x5a05a1,_0x12fdce,_0x297fd5,_0x597f2c){const _0xf575f1=(_0x12fdce&$t['BRANCH_LENGTH'])>>0x7,_0x16fecd=_0x12fdce&$t['JUMP_TABLE'];if(0x0===_0xf575f1)return 0x0!==_0x16fecd&&_0x597f2c===_0x16fecd?_0x297fd5:-0x1;if(_0x16fecd){const _0x57ade7=_0x597f2c-_0x16fecd;return _0x57ade7<0x0||_0x57ade7>=_0xf575f1?-0x1:_0x5a05a1[_0x297fd5+_0x57ade7]-0x1;}let _0x39c6b8=_0x297fd5,_0x530932=_0x39c6b8+_0xf575f1-0x1;for(;_0x39c6b8<=_0x530932;){const _0x568137=_0x39c6b8+_0x530932>>>0x1,_0xf0bc2a=_0x5a05a1[_0x568137];if(_0xf0bc2a<_0x597f2c)_0x39c6b8=_0x568137+0x1;else{if(!(_0xf0bc2a>_0x597f2c))return _0x5a05a1[_0x568137+_0xf575f1];_0x530932=_0x568137-0x1;}}return-0x1;}function qt(_0x4a2395){return _0x4a2395===Bt['Space']||_0x4a2395===Bt['NewLine']||_0x4a2395===Bt['Tab']||_0x4a2395===Bt['FormFeed']||_0x4a2395===Bt['CarriageReturn'];}function Wt(_0x894951){return _0x894951===Bt['Slash']||_0x894951===Bt['Gt']||qt(_0x894951);}!function(_0x3e1fa8){_0x3e1fa8[_0x3e1fa8['Tab']=0x9]='Tab',_0x3e1fa8[_0x3e1fa8['NewLine']=0xa]='NewLine',_0x3e1fa8[_0x3e1fa8['FormFeed']=0xc]='FormFeed',_0x3e1fa8[_0x3e1fa8['CarriageReturn']=0xd]='CarriageReturn',_0x3e1fa8[_0x3e1fa8['Space']=0x20]='Space',_0x3e1fa8[_0x3e1fa8['ExclamationMark']=0x21]='ExclamationMark',_0x3e1fa8[_0x3e1fa8['Number']=0x23]='Number',_0x3e1fa8[_0x3e1fa8['Amp']=0x26]='Amp',_0x3e1fa8[_0x3e1fa8['SingleQuote']=0x27]='SingleQuote',_0x3e1fa8[_0x3e1fa8['DoubleQuote']=0x22]='DoubleQuote',_0x3e1fa8[_0x3e1fa8['Dash']=0x2d]='Dash',_0x3e1fa8[_0x3e1fa8['Slash']=0x2f]='Slash',_0x3e1fa8[_0x3e1fa8['Zero']=0x30]='Zero',_0x3e1fa8[_0x3e1fa8['Nine']=0x39]='Nine',_0x3e1fa8[_0x3e1fa8['Semi']=0x3b]='Semi',_0x3e1fa8[_0x3e1fa8['Lt']=0x3c]='Lt',_0x3e1fa8[_0x3e1fa8['Eq']=0x3d]='Eq',_0x3e1fa8[_0x3e1fa8['Gt']=0x3e]='Gt',_0x3e1fa8[_0x3e1fa8['Questionmark']=0x3f]='Questionmark',_0x3e1fa8[_0x3e1fa8['UpperA']=0x41]='UpperA',_0x3e1fa8[_0x3e1fa8['LowerA']=0x61]='LowerA',_0x3e1fa8[_0x3e1fa8['UpperF']=0x46]='UpperF',_0x3e1fa8[_0x3e1fa8['LowerF']=0x66]='LowerF',_0x3e1fa8[_0x3e1fa8['UpperZ']=0x5a]='UpperZ',_0x3e1fa8[_0x3e1fa8['LowerZ']=0x7a]='LowerZ',_0x3e1fa8[_0x3e1fa8['LowerX']=0x78]='LowerX',_0x3e1fa8[_0x3e1fa8['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Bt||(Bt={})),function(_0x452402){_0x452402[_0x452402['Text']=0x1]='Text',_0x452402[_0x452402['BeforeTagName']=0x2]='BeforeTagName',_0x452402[_0x452402['InTagName']=0x3]='InTagName',_0x452402[_0x452402['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x452402[_0x452402['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x452402[_0x452402['InClosingTagName']=0x6]='InClosingTagName',_0x452402[_0x452402['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x452402[_0x452402['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x452402[_0x452402['InAttributeName']=0x9]='InAttributeName',_0x452402[_0x452402['AfterAttributeName']=0xa]='AfterAttributeName',_0x452402[_0x452402['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x452402[_0x452402['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x452402[_0x452402['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x452402[_0x452402['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x452402[_0x452402['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x452402[_0x452402['InDeclaration']=0x10]='InDeclaration',_0x452402[_0x452402['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x452402[_0x452402['BeforeComment']=0x12]='BeforeComment',_0x452402[_0x452402['CDATASequence']=0x13]='CDATASequence',_0x452402[_0x452402['InSpecialComment']=0x14]='InSpecialComment',_0x452402[_0x452402['InCommentLike']=0x15]='InCommentLike',_0x452402[_0x452402['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x452402[_0x452402['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x452402[_0x452402['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x452402[_0x452402['InSpecialTag']=0x19]='InSpecialTag',_0x452402[_0x452402['InEntity']=0x1a]='InEntity';}(Ft||(Ft={})),function(_0x3a9376){_0x3a9376[_0x3a9376['NoValue']=0x0]='NoValue',_0x3a9376[_0x3a9376['Unquoted']=0x1]='Unquoted',_0x3a9376[_0x3a9376['Single']=0x2]='Single',_0x3a9376[_0x3a9376['Double']=0x3]='Double';}(jt||(jt={}));const zt={'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])};class _0x4c9085{constructor({xmlMode:_0x3700e3=!0x1,decodeEntities:_0x2b1200=!0x0},_0x9ecdb0){this['cbs']=_0x9ecdb0,this['state']=Ft['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=Ft['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x3700e3,this['decodeEntities']=_0x2b1200,this['entityDecoder']=new EntityDecoder(_0x3700e3?Mt:Pt,(_0x24102d,_0x51f19d)=>this['emitCodePoint'](_0x24102d,_0x51f19d));}['reset'](){this['state']=Ft['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=Ft['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x31e5f1){this['offset']+=this['buffer']['length'],this['buffer']=_0x31e5f1,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'](_0x56dfd1){_0x56dfd1===Bt['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Bt['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=Ft['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x56dfd1===Bt['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x4111ba){const _0x4f88c8=this['sequenceIndex']===this['currentSequence']['length'];if(_0x4f88c8?Wt(_0x4111ba):(0x20|_0x4111ba)===this['currentSequence'][this['sequenceIndex']]){if(!_0x4f88c8)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Ft['InTagName'],this['stateInTagName'](_0x4111ba);}['stateInSpecialTag'](_0x1a457a){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x1a457a===Bt['Gt']||qt(_0x1a457a)){const _0x48ef61=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x48ef61){const _0x5daa15=this['index'];this['index']=_0x48ef61,this['cbs']['ontext'](this['sectionStart'],_0x48ef61),this['index']=_0x5daa15;}return this['isSpecial']=!0x1,this['sectionStart']=_0x48ef61+0x2,void this['stateInClosingTagName'](_0x1a457a);}this['sequenceIndex']=0x0;}(0x20|_0x1a457a)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===zt['TitleEnd']?this['decodeEntities']&&_0x1a457a===Bt['Amp']&&this['startEntity']():this['fastForwardTo'](Bt['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x1a457a===Bt['Lt']);}['stateCDATASequence'](_0x588b58){_0x588b58===zt['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===zt['Cdata']['length']&&(this['state']=Ft['InCommentLike'],this['currentSequence']=zt['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Ft['InDeclaration'],this['stateInDeclaration'](_0x588b58));}['fastForwardTo'](_0x2be90a){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x2be90a)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x3bfda4){_0x3bfda4===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===zt['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']=Ft['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x3bfda4!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x5501fd){return this['xmlMode']?!Wt(_0x5501fd):function(_0x2bf155){return _0x2bf155>=Bt['LowerA']&&_0x2bf155<=Bt['LowerZ']||_0x2bf155>=Bt['UpperA']&&_0x2bf155<=Bt['UpperZ'];}(_0x5501fd);}['startSpecial'](_0x5b9791,_0x1093e5){this['isSpecial']=!0x0,this['currentSequence']=_0x5b9791,this['sequenceIndex']=_0x1093e5,this['state']=Ft['SpecialStartSequence'];}['stateBeforeTagName'](_0x455883){if(_0x455883===Bt['ExclamationMark'])this['state']=Ft['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x455883===Bt['Questionmark'])this['state']=Ft['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x455883)){const _0x4eff8c=0x20|_0x455883;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Ft['InTagName']:_0x4eff8c===zt['ScriptEnd'][0x2]?this['state']=Ft['BeforeSpecialS']:_0x4eff8c===zt['TitleEnd'][0x2]||_0x4eff8c===zt['XmpEnd'][0x2]?this['state']=Ft['BeforeSpecialT']:this['state']=Ft['InTagName'];}else _0x455883===Bt['Slash']?this['state']=Ft['BeforeClosingTagName']:(this['state']=Ft['Text'],this['stateText'](_0x455883));}}}['stateInTagName'](_0xb931d){Wt(_0xb931d)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0xb931d));}['stateBeforeClosingTagName'](_0xee2f5a){qt(_0xee2f5a)||(_0xee2f5a===Bt['Gt']?this['state']=Ft['Text']:(this['state']=this['isTagStartChar'](_0xee2f5a)?Ft['InClosingTagName']:Ft['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x3fd93a){(_0x3fd93a===Bt['Gt']||qt(_0x3fd93a))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Ft['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x3fd93a));}['stateAfterClosingTagName'](_0x524198){(_0x524198===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0xcaed47){_0xcaed47===Bt['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=Ft['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1):_0xcaed47===Bt['Slash']?this['state']=Ft['InSelfClosingTag']:qt(_0xcaed47)||(this['state']=Ft['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x3e65f4){_0x3e65f4===Bt['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):qt(_0x3e65f4)||(this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x3e65f4));}['stateInAttributeName'](_0xe7c3a3){(_0xe7c3a3===Bt['Eq']||Wt(_0xe7c3a3))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Ft['AfterAttributeName'],this['stateAfterAttributeName'](_0xe7c3a3));}['stateAfterAttributeName'](_0x1e8804){_0x1e8804===Bt['Eq']?this['state']=Ft['BeforeAttributeValue']:_0x1e8804===Bt['Slash']||_0x1e8804===Bt['Gt']?(this['cbs']['onattribend'](jt['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1e8804)):qt(_0x1e8804)||(this['cbs']['onattribend'](jt['NoValue'],this['sectionStart']),this['state']=Ft['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x45463f){_0x45463f===Bt['DoubleQuote']?(this['state']=Ft['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x45463f===Bt['SingleQuote']?(this['state']=Ft['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):qt(_0x45463f)||(this['sectionStart']=this['index'],this['state']=Ft['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x45463f));}['handleInAttributeValue'](_0x4d1a57,_0x1a0fbd){_0x4d1a57===_0x1a0fbd||!this['decodeEntities']&&this['fastForwardTo'](_0x1a0fbd)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x1a0fbd===Bt['DoubleQuote']?jt['Double']:jt['Single'],this['index']+0x1),this['state']=Ft['BeforeAttributeName']):this['decodeEntities']&&_0x4d1a57===Bt['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x1bf61e){this['handleInAttributeValue'](_0x1bf61e,Bt['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x512bcf){this['handleInAttributeValue'](_0x512bcf,Bt['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x1f9380){qt(_0x1f9380)||_0x1f9380===Bt['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](jt['Unquoted'],this['index']),this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x1f9380)):this['decodeEntities']&&_0x1f9380===Bt['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x33ef0c){_0x33ef0c===Bt['OpeningSquareBracket']?(this['state']=Ft['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x33ef0c===Bt['Dash']?Ft['BeforeComment']:Ft['InDeclaration'];}['stateInDeclaration'](_0x3840e2){(_0x3840e2===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x533d8d){(_0x533d8d===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x55d562){_0x55d562===Bt['Dash']?(this['state']=Ft['InCommentLike'],this['currentSequence']=zt['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Ft['InDeclaration'];}['stateInSpecialComment'](_0x1dae6a){(_0x1dae6a===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x353a57){const _0x5dbff1=0x20|_0x353a57;_0x5dbff1===zt['ScriptEnd'][0x3]?this['startSpecial'](zt['ScriptEnd'],0x4):_0x5dbff1===zt['StyleEnd'][0x3]?this['startSpecial'](zt['StyleEnd'],0x4):(this['state']=Ft['InTagName'],this['stateInTagName'](_0x353a57));}['stateBeforeSpecialT'](_0x18e459){switch(0x20|_0x18e459){case zt['TitleEnd'][0x3]:this['startSpecial'](zt['TitleEnd'],0x4);break;case zt['TextareaEnd'][0x3]:this['startSpecial'](zt['TextareaEnd'],0x4);break;case zt['XmpEnd'][0x3]:this['startSpecial'](zt['XmpEnd'],0x4);break;default:this['state']=Ft['InTagName'],this['stateInTagName'](_0x18e459);}}['startEntity'](){this['baseState']=this['state'],this['state']=Ft['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?Ut['Strict']:this['baseState']===Ft['Text']||this['baseState']===Ft['InSpecialTag']?Ut['Legacy']:Ut['Attribute']);}['stateInEntity'](){const _0x18601b=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x18601b>=0x0?(this['state']=this['baseState'],0x0===_0x18601b&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===Ft['Text']||this['state']===Ft['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==Ft['InAttributeValueDq']&&this['state']!==Ft['InAttributeValueSq']&&this['state']!==Ft['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 _0xba9647=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Ft['Text']:this['stateText'](_0xba9647);break;case Ft['SpecialStartSequence']:this['stateSpecialStartSequence'](_0xba9647);break;case Ft['InSpecialTag']:this['stateInSpecialTag'](_0xba9647);break;case Ft['CDATASequence']:this['stateCDATASequence'](_0xba9647);break;case Ft['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0xba9647);break;case Ft['InAttributeName']:this['stateInAttributeName'](_0xba9647);break;case Ft['InCommentLike']:this['stateInCommentLike'](_0xba9647);break;case Ft['InSpecialComment']:this['stateInSpecialComment'](_0xba9647);break;case Ft['BeforeAttributeName']:this['stateBeforeAttributeName'](_0xba9647);break;case Ft['InTagName']:this['stateInTagName'](_0xba9647);break;case Ft['InClosingTagName']:this['stateInClosingTagName'](_0xba9647);break;case Ft['BeforeTagName']:this['stateBeforeTagName'](_0xba9647);break;case Ft['AfterAttributeName']:this['stateAfterAttributeName'](_0xba9647);break;case Ft['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0xba9647);break;case Ft['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0xba9647);break;case Ft['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0xba9647);break;case Ft['AfterClosingTagName']:this['stateAfterClosingTagName'](_0xba9647);break;case Ft['BeforeSpecialS']:this['stateBeforeSpecialS'](_0xba9647);break;case Ft['BeforeSpecialT']:this['stateBeforeSpecialT'](_0xba9647);break;case Ft['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0xba9647);break;case Ft['InSelfClosingTag']:this['stateInSelfClosingTag'](_0xba9647);break;case Ft['InDeclaration']:this['stateInDeclaration'](_0xba9647);break;case Ft['BeforeDeclaration']:this['stateBeforeDeclaration'](_0xba9647);break;case Ft['BeforeComment']:this['stateBeforeComment'](_0xba9647);break;case Ft['InProcessingInstruction']:this['stateInProcessingInstruction'](_0xba9647);break;case Ft['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===Ft['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x3ffd07=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x3ffd07||(this['state']===Ft['InCommentLike']?this['currentSequence']===zt['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x3ffd07,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x3ffd07,0x0):this['state']===Ft['InTagName']||this['state']===Ft['BeforeAttributeName']||this['state']===Ft['BeforeAttributeValue']||this['state']===Ft['AfterAttributeName']||this['state']===Ft['InAttributeName']||this['state']===Ft['InAttributeValueSq']||this['state']===Ft['InAttributeValueDq']||this['state']===Ft['InAttributeValueNq']||this['state']===Ft['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x3ffd07));}['emitCodePoint'](_0x2a5a40,_0x1ca43a){this['baseState']!==Ft['Text']&&this['baseState']!==Ft['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1ca43a,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x2a5a40)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1ca43a,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x2a5a40,this['sectionStart']));}}const Yt=new Set(['input','option','optgroup','select','button','datalist','textarea']),Kt=new Set(['p']),Jt=new Set(['thead','tbody']),te=new Set(['dd','dt']),_0x473395=new Set(['rt','rp']),_0xf8e863=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',Kt],['h1',Kt],['h2',Kt],['h3',Kt],['h4',Kt],['h5',Kt],['h6',Kt],['select',Yt],['input',Yt],['output',Yt],['button',Yt],['datalist',Yt],['textarea',Yt],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',te],['dt',te],['address',Kt],['article',Kt],['aside',Kt],['blockquote',Kt],['details',Kt],['div',Kt],['dl',Kt],['fieldset',Kt],['figcaption',Kt],['figure',Kt],['footer',Kt],['form',Kt],['header',Kt],['hr',Kt],['main',Kt],['nav',Kt],['ol',Kt],['pre',Kt],['section',Kt],['table',Kt],['ul',Kt],['rt',_0x473395],['rp',_0x473395],['tbody',Jt],['tfoot',Jt]]),_0x3f625b=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x39730a=new Set(['math','svg']),_0x163da9=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x40ea3a=/\s|\//;let _0x54724d=class _0x20e4f9{constructor(_0x705a92,_0x555956={}){var _0x3ecfd5,_0x3a2c72,_0x341268,_0x119f11,_0x12ec21,_0x599497;this['options']=_0x555956,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!=_0x705a92?_0x705a92:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x3ecfd5=_0x555956['lowerCaseTags'])&&void 0x0!==_0x3ecfd5?_0x3ecfd5:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x3a2c72=_0x555956['lowerCaseAttributeNames'])&&void 0x0!==_0x3a2c72?_0x3a2c72:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x341268=_0x555956['recognizeSelfClosing'])&&void 0x0!==_0x341268?_0x341268:!this['htmlMode'],this['tokenizer']=new(null!==(_0x119f11=_0x555956['Tokenizer'])&&void 0x0!==_0x119f11?_0x119f11:_0x4c9085)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x599497=(_0x12ec21=this['cbs'])['onparserinit'])||void 0x0===_0x599497||_0x599497['call'](_0x12ec21,this);}['ontext'](_0x3480fe,_0x179719){var _0xc4fb04,_0x284d8f;const _0x106e6f=this['getSlice'](_0x3480fe,_0x179719);this['endIndex']=_0x179719-0x1,null===(_0x284d8f=(_0xc4fb04=this['cbs'])['ontext'])||void 0x0===_0x284d8f||_0x284d8f['call'](_0xc4fb04,_0x106e6f),this['startIndex']=_0x179719;}['ontextentity'](_0x22f7d7,_0x54dd8b){var _0x37cf50,_0xe9c4cc;this['endIndex']=_0x54dd8b-0x1,null===(_0xe9c4cc=(_0x37cf50=this['cbs'])['ontext'])||void 0x0===_0xe9c4cc||_0xe9c4cc['call'](_0x37cf50,Dt(_0x22f7d7)),this['startIndex']=_0x54dd8b;}['isVoidElement'](_0x35d5ad){return this['htmlMode']&&_0x3f625b['has'](_0x35d5ad);}['onopentagname'](_0x4260ce,_0x1aa84e){this['endIndex']=_0x1aa84e;let _0x40a630=this['getSlice'](_0x4260ce,_0x1aa84e);this['lowerCaseTagNames']&&(_0x40a630=_0x40a630['toLowerCase']()),this['emitOpenTag'](_0x40a630);}['emitOpenTag'](_0x4157f7){var _0x24fdc4,_0x5d0fd0,_0x1d186c,_0x9cbda4;this['openTagStart']=this['startIndex'],this['tagname']=_0x4157f7;const _0x3b1aa0=this['htmlMode']&&_0xf8e863['get'](_0x4157f7);if(_0x3b1aa0)for(;this['stack']['length']>0x0&&_0x3b1aa0['has'](this['stack'][0x0]);){const _0x5027c1=this['stack']['shift']();null===(_0x5d0fd0=(_0x24fdc4=this['cbs'])['onclosetag'])||void 0x0===_0x5d0fd0||_0x5d0fd0['call'](_0x24fdc4,_0x5027c1,!0x0);}this['isVoidElement'](_0x4157f7)||(this['stack']['unshift'](_0x4157f7),this['htmlMode']&&(_0x39730a['has'](_0x4157f7)?this['foreignContext']['unshift'](!0x0):_0x163da9['has'](_0x4157f7)&&this['foreignContext']['unshift'](!0x1))),null===(_0x9cbda4=(_0x1d186c=this['cbs'])['onopentagname'])||void 0x0===_0x9cbda4||_0x9cbda4['call'](_0x1d186c,_0x4157f7),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x2dcb90){var _0x562813,_0x5b336c;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x5b336c=(_0x562813=this['cbs'])['onopentag'])||void 0x0===_0x5b336c||_0x5b336c['call'](_0x562813,this['tagname'],this['attribs'],_0x2dcb90),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x543469){this['endIndex']=_0x543469,this['endOpenTag'](!0x1),this['startIndex']=_0x543469+0x1;}['onclosetag'](_0x29cfb5,_0x4d5fc3){var _0x21563a,_0x19882c,_0x499243,_0x33453a,_0x204b10,_0x41be08,_0x30f794,_0xcf80a7;this['endIndex']=_0x4d5fc3;let _0x3da795=this['getSlice'](_0x29cfb5,_0x4d5fc3);if(this['lowerCaseTagNames']&&(_0x3da795=_0x3da795['toLowerCase']()),this['htmlMode']&&(_0x39730a['has'](_0x3da795)||_0x163da9['has'](_0x3da795))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x3da795))this['htmlMode']&&'br'===_0x3da795&&(null===(_0x33453a=(_0x499243=this['cbs'])['onopentagname'])||void 0x0===_0x33453a||_0x33453a['call'](_0x499243,'br'),null===(_0x41be08=(_0x204b10=this['cbs'])['onopentag'])||void 0x0===_0x41be08||_0x41be08['call'](_0x204b10,'br',{},!0x0),null===(_0xcf80a7=(_0x30f794=this['cbs'])['onclosetag'])||void 0x0===_0xcf80a7||_0xcf80a7['call'](_0x30f794,'br',!0x1));else{const _0x44f5db=this['stack']['indexOf'](_0x3da795);if(-0x1!==_0x44f5db)for(let _0x50edc7=0x0;_0x50edc7<=_0x44f5db;_0x50edc7++){const _0xf399b5=this['stack']['shift']();null===(_0x19882c=(_0x21563a=this['cbs'])['onclosetag'])||void 0x0===_0x19882c||_0x19882c['call'](_0x21563a,_0xf399b5,_0x50edc7!==_0x44f5db);}else this['htmlMode']&&'p'===_0x3da795&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x4d5fc3+0x1;}['onselfclosingtag'](_0x1fc0e7){this['endIndex']=_0x1fc0e7,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x1fc0e7+0x1):this['onopentagend'](_0x1fc0e7);}['closeCurrentTag'](_0x217af4){var _0x84a14,_0x10a239;const _0x34243b=this['tagname'];this['endOpenTag'](_0x217af4),this['stack'][0x0]===_0x34243b&&(null===(_0x10a239=(_0x84a14=this['cbs'])['onclosetag'])||void 0x0===_0x10a239||_0x10a239['call'](_0x84a14,_0x34243b,!_0x217af4),this['stack']['shift']());}['onattribname'](_0x468026,_0x26ad8b){this['startIndex']=_0x468026;const _0x448253=this['getSlice'](_0x468026,_0x26ad8b);this['attribname']=this['lowerCaseAttributeNames']?_0x448253['toLowerCase']():_0x448253;}['onattribdata'](_0x1103c2,_0x225e91){this['attribvalue']+=this['getSlice'](_0x1103c2,_0x225e91);}['onattribentity'](_0xdee53b){this['attribvalue']+=Dt(_0xdee53b);}['onattribend'](_0x4f69fe,_0x20cec9){var _0x5efc03,_0x23e430;this['endIndex']=_0x20cec9,null===(_0x23e430=(_0x5efc03=this['cbs'])['onattribute'])||void 0x0===_0x23e430||_0x23e430['call'](_0x5efc03,this['attribname'],this['attribvalue'],_0x4f69fe===jt['Double']?'\x22':_0x4f69fe===jt['Single']?'\x27':_0x4f69fe===jt['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x36e795){const _0x15a109=_0x36e795['search'](_0x40ea3a);let _0x31b3db=_0x15a109<0x0?_0x36e795:_0x36e795['substr'](0x0,_0x15a109);return this['lowerCaseTagNames']&&(_0x31b3db=_0x31b3db['toLowerCase']()),_0x31b3db;}['ondeclaration'](_0x38bc7c,_0x590ec3){this['endIndex']=_0x590ec3;const _0x2d08ef=this['getSlice'](_0x38bc7c,_0x590ec3);if(this['cbs']['onprocessinginstruction']){const _0x2954d0=this['getInstructionName'](_0x2d08ef);this['cbs']['onprocessinginstruction']('!'+_0x2954d0,'!'+_0x2d08ef);}this['startIndex']=_0x590ec3+0x1;}['onprocessinginstruction'](_0x26192a,_0x4e1be6){this['endIndex']=_0x4e1be6;const _0x1b1c6d=this['getSlice'](_0x26192a,_0x4e1be6);if(this['cbs']['onprocessinginstruction']){const _0x3f4490=this['getInstructionName'](_0x1b1c6d);this['cbs']['onprocessinginstruction']('?'+_0x3f4490,'?'+_0x1b1c6d);}this['startIndex']=_0x4e1be6+0x1;}['oncomment'](_0x58b345,_0x493318,_0x16f9fd){var _0x26a772,_0x5d0f30,_0x543289,_0x341bc5;this['endIndex']=_0x493318,null===(_0x5d0f30=(_0x26a772=this['cbs'])['oncomment'])||void 0x0===_0x5d0f30||_0x5d0f30['call'](_0x26a772,this['getSlice'](_0x58b345,_0x493318-_0x16f9fd)),null===(_0x341bc5=(_0x543289=this['cbs'])['oncommentend'])||void 0x0===_0x341bc5||_0x341bc5['call'](_0x543289),this['startIndex']=_0x493318+0x1;}['oncdata'](_0x1df58a,_0x4a6263,_0x55e165){var _0x3c79c5,_0x30fd4c,_0x1eaa43,_0x46c76b,_0x10cde0,_0x310ed1,_0x458518,_0x4da050,_0x1b33c1,_0x37dfef;this['endIndex']=_0x4a6263;const _0x548289=this['getSlice'](_0x1df58a,_0x4a6263-_0x55e165);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x30fd4c=(_0x3c79c5=this['cbs'])['oncdatastart'])||void 0x0===_0x30fd4c||_0x30fd4c['call'](_0x3c79c5),null===(_0x46c76b=(_0x1eaa43=this['cbs'])['ontext'])||void 0x0===_0x46c76b||_0x46c76b['call'](_0x1eaa43,_0x548289),null===(_0x310ed1=(_0x10cde0=this['cbs'])['oncdataend'])||void 0x0===_0x310ed1||_0x310ed1['call'](_0x10cde0)):(null===(_0x4da050=(_0x458518=this['cbs'])['oncomment'])||void 0x0===_0x4da050||_0x4da050['call'](_0x458518,'[CDATA['+_0x548289+']]'),null===(_0x37dfef=(_0x1b33c1=this['cbs'])['oncommentend'])||void 0x0===_0x37dfef||_0x37dfef['call'](_0x1b33c1)),this['startIndex']=_0x4a6263+0x1;}['onend'](){var _0xfc8aeb,_0x521cbe;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x1e4666=0x0;_0x1e4666<this['stack']['length'];_0x1e4666++)this['cbs']['onclosetag'](this['stack'][_0x1e4666],!0x0);}null===(_0x521cbe=(_0xfc8aeb=this['cbs'])['onend'])||void 0x0===_0x521cbe||_0x521cbe['call'](_0xfc8aeb);}['reset'](){var _0xa72c8b,_0xdec627,_0x9671ac,_0x2dba1d;null===(_0xdec627=(_0xa72c8b=this['cbs'])['onreset'])||void 0x0===_0xdec627||_0xdec627['call'](_0xa72c8b),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x2dba1d=(_0x9671ac=this['cbs'])['onparserinit'])||void 0x0===_0x2dba1d||_0x2dba1d['call'](_0x9671ac,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x764fc5){this['reset'](),this['end'](_0x764fc5);}['getSlice'](_0x161f08,_0x159ca7){for(;_0x161f08-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0xb05362=this['buffers'][0x0]['slice'](_0x161f08-this['bufferOffset'],_0x159ca7-this['bufferOffset']);for(;_0x159ca7-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0xb05362+=this['buffers'][0x0]['slice'](0x0,_0x159ca7-this['bufferOffset']);return _0xb05362;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x3bea05){var _0x2426fb,_0x4ec0c0;this['ended']?null===(_0x4ec0c0=(_0x2426fb=this['cbs'])['onerror'])||void 0x0===_0x4ec0c0||_0x4ec0c0['call'](_0x2426fb,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x3bea05),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x3bea05),this['writeIndex']++));}['end'](_0x7c1e60){var _0x428a7e,_0x3aed63;this['ended']?null===(_0x3aed63=(_0x428a7e=this['cbs'])['onerror'])||void 0x0===_0x3aed63||_0x3aed63['call'](_0x428a7e,new Error('.end()\x20after\x20done!')):(_0x7c1e60&&this['write'](_0x7c1e60),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'](_0x194859){this['write'](_0x194859);}['done'](_0xda33d4){this['end'](_0xda33d4);}};var _0x43b288;!function(_0x2277fe){_0x2277fe['Root']='root',_0x2277fe['Text']='text',_0x2277fe['Directive']='directive',_0x2277fe['Comment']='comment',_0x2277fe['Script']='script',_0x2277fe['Style']='style',_0x2277fe['Tag']='tag',_0x2277fe['CDATA']='cdata',_0x2277fe['Doctype']='doctype';}(_0x43b288||(_0x43b288={}));const _0x21e07d=_0x43b288['Root'],_0x335bba=_0x43b288['Text'],_0x3cccec=_0x43b288['Directive'],_0x19cfa9=_0x43b288['Comment'],_0x411de3=_0x43b288['Script'],_0x4fbc7b=_0x43b288['Style'],_0x12f257=_0x43b288['Tag'],_0x36acd8=_0x43b288['CDATA'],_0x3ec6bb=_0x43b288['Doctype'];let _0x146d95=class _0x206b9a{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x3f2eb5){this['parent']=_0x3f2eb5;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x2b1a54){this['prev']=_0x2b1a54;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x45b45b){this['next']=_0x45b45b;}['cloneNode'](_0x3ef9b8=!0x1){return _0x20fdd5(this,_0x3ef9b8);}};class DataNode extends _0x146d95{constructor(_0x5ce43a){super(),this['data']=_0x5ce43a;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x2f2c49){this['data']=_0x2f2c49;}}let _0x58a46a=class Text extends DataNode{constructor(){super(...arguments),this['type']=_0x43b288['Text'];}get['nodeType'](){return 0x3;}},_0x520ee6=class Comment extends DataNode{constructor(){super(...arguments),this['type']=_0x43b288['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x28dfd2,_0xcb953){super(_0xcb953),this['name']=_0x28dfd2,this['type']=_0x43b288['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x146d95{constructor(_0x14398a){super(),this['children']=_0x14398a;}get['firstChild'](){var _0x15d3ae;return null!==(_0x15d3ae=this['children'][0x0])&&void 0x0!==_0x15d3ae?_0x15d3ae:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x52830e){this['children']=_0x52830e;}}class _0x186c23 extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x43b288['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x43b288['Root'];}get['nodeType'](){return 0x9;}}let _0x307ea5=class Element extends NodeWithChildren{constructor(_0x3fecd6,_0x1dc820,_0x3ec73f=[],_0x49fa8e='script'===_0x3fecd6?_0x43b288['Script']:'style'===_0x3fecd6?_0x43b288['Style']:_0x43b288['Tag']){super(_0x3ec73f),this['name']=_0x3fecd6,this['attribs']=_0x1dc820,this['type']=_0x49fa8e;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x54fa06){this['name']=_0x54fa06;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x4f88df=>{var _0x1ff7d5,_0x419d6d;return{'name':_0x4f88df,'value':this['attribs'][_0x4f88df],'namespace':null===(_0x1ff7d5=this['x-attribsNamespace'])||void 0x0===_0x1ff7d5?void 0x0:_0x1ff7d5[_0x4f88df],'prefix':null===(_0x419d6d=this['x-attribsPrefix'])||void 0x0===_0x419d6d?void 0x0:_0x419d6d[_0x4f88df]};});}};function _0x214bcd(_0xfb871c){return(_0x28d54c=_0xfb871c)['type']===_0x43b288['Tag']||_0x28d54c['type']===_0x43b288['Script']||_0x28d54c['type']===_0x43b288['Style'];var _0x28d54c;}function _0x248bec(_0x2f5b4c){return _0x2f5b4c['type']===_0x43b288['Text'];}function _0x443535(_0xc9a758){return _0xc9a758['type']===_0x43b288['Comment'];}function _0x1cc023(_0x1f2fc){return _0x1f2fc['type']===_0x43b288['Root'];}function _0xd766f5(_0x465a1d){return Object['prototype']['hasOwnProperty']['call'](_0x465a1d,'children');}function _0x20fdd5(_0x5696e9,_0x1a649c=!0x1){let _0x32bf1b;if(_0x248bec(_0x5696e9))_0x32bf1b=new _0x58a46a(_0x5696e9['data']);else{if(_0x443535(_0x5696e9))_0x32bf1b=new _0x520ee6(_0x5696e9['data']);else{if(_0x214bcd(_0x5696e9)){const _0x5b18d5=_0x1a649c?_0x4a1e53(_0x5696e9['children']):[],_0x493f7e=new _0x307ea5(_0x5696e9['name'],{..._0x5696e9['attribs']},_0x5b18d5);_0x5b18d5['forEach'](_0x565f4d=>_0x565f4d['parent']=_0x493f7e),null!=_0x5696e9['namespace']&&(_0x493f7e['namespace']=_0x5696e9['namespace']),_0x5696e9['x-attribsNamespace']&&(_0x493f7e['x-attribsNamespace']={..._0x5696e9['x-attribsNamespace']}),_0x5696e9['x-attribsPrefix']&&(_0x493f7e['x-attribsPrefix']={..._0x5696e9['x-attribsPrefix']}),_0x32bf1b=_0x493f7e;}else{if(function(_0x5b6033){return _0x5b6033['type']===_0x43b288['CDATA'];}(_0x5696e9)){const _0x542fd8=_0x1a649c?_0x4a1e53(_0x5696e9['children']):[],_0x20f3cc=new _0x186c23(_0x542fd8);_0x542fd8['forEach'](_0x46c6b4=>_0x46c6b4['parent']=_0x20f3cc),_0x32bf1b=_0x20f3cc;}else{if(_0x1cc023(_0x5696e9)){const _0x22b1c2=_0x1a649c?_0x4a1e53(_0x5696e9['children']):[],_0x291d88=new Document(_0x22b1c2);_0x22b1c2['forEach'](_0x59735d=>_0x59735d['parent']=_0x291d88),_0x5696e9['x-mode']&&(_0x291d88['x-mode']=_0x5696e9['x-mode']),_0x32bf1b=_0x291d88;}else{if(!function(_0x282dd3){return _0x282dd3['type']===_0x43b288['Directive'];}(_0x5696e9))throw new Error('Not\x20implemented\x20yet:\x20'+_0x5696e9['type']);{const _0xccdb3=new ProcessingInstruction(_0x5696e9['name'],_0x5696e9['data']);null!=_0x5696e9['x-name']&&(_0xccdb3['x-name']=_0x5696e9['x-name'],_0xccdb3['x-publicId']=_0x5696e9['x-publicId'],_0xccdb3['x-systemId']=_0x5696e9['x-systemId']),_0x32bf1b=_0xccdb3;}}}}}}return _0x32bf1b['startIndex']=_0x5696e9['startIndex'],_0x32bf1b['endIndex']=_0x5696e9['endIndex'],null!=_0x5696e9['sourceCodeLocation']&&(_0x32bf1b['sourceCodeLocation']=_0x5696e9['sourceCodeLocation']),_0x32bf1b;}function _0x4a1e53(_0x2c6bd6){const _0x147a17=_0x2c6bd6['map'](_0xb5a630=>_0x20fdd5(_0xb5a630,!0x0));for(let _0x10be8b=0x1;_0x10be8b<_0x147a17['length'];_0x10be8b++)_0x147a17[_0x10be8b]['prev']=_0x147a17[_0x10be8b-0x1],_0x147a17[_0x10be8b-0x1]['next']=_0x147a17[_0x10be8b];return _0x147a17;}const _0x59ece5={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x21b821{constructor(_0x3d0688,_0x48bd0b,_0x419749){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x48bd0b&&(_0x419749=_0x48bd0b,_0x48bd0b=_0x59ece5),'object'==typeof _0x3d0688&&(_0x48bd0b=_0x3d0688,_0x3d0688=void 0x0),this['callback']=null!=_0x3d0688?_0x3d0688:null,this['options']=null!=_0x48bd0b?_0x48bd0b:_0x59ece5,this['elementCB']=null!=_0x419749?_0x419749:null;}['onparserinit'](_0x53fb05){this['parser']=_0x53fb05;}['onreset'](){this['dom']=[],this['root']=new Document(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'](_0x1ff6af){this['handleCallback'](_0x1ff6af);}['onclosetag'](){this['lastNode']=null;const _0x39f65b=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x39f65b['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x39f65b);}['onopentag'](_0x293add,_0x1570b1){const _0x1d7209=this['options']['xmlMode']?_0x43b288['Tag']:void 0x0,_0x3d1d16=new _0x307ea5(_0x293add,_0x1570b1,void 0x0,_0x1d7209);this['addNode'](_0x3d1d16),this['tagStack']['push'](_0x3d1d16);}['ontext'](_0x2ebb22){const {lastNode:_0xa87f1d}=this;if(_0xa87f1d&&_0xa87f1d['type']===_0x43b288['Text'])_0xa87f1d['data']+=_0x2ebb22,this['options']['withEndIndices']&&(_0xa87f1d['endIndex']=this['parser']['endIndex']);else{const _0x4db07e=new _0x58a46a(_0x2ebb22);this['addNode'](_0x4db07e),this['lastNode']=_0x4db07e;}}['oncomment'](_0x38207d){if(this['lastNode']&&this['lastNode']['type']===_0x43b288['Comment'])return void(this['lastNode']['data']+=_0x38207d);const _0x2579c6=new _0x520ee6(_0x38207d);this['addNode'](_0x2579c6),this['lastNode']=_0x2579c6;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x3d93a3=new _0x58a46a(''),_0xf293e0=new _0x186c23([_0x3d93a3]);this['addNode'](_0xf293e0),_0x3d93a3['parent']=_0xf293e0,this['lastNode']=_0x3d93a3;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x411016,_0x55a2a0){const _0x1e19d7=new ProcessingInstruction(_0x411016,_0x55a2a0);this['addNode'](_0x1e19d7);}['handleCallback'](_0x4fde1c){if('function'==typeof this['callback'])this['callback'](_0x4fde1c,this['dom']);else{if(_0x4fde1c)throw _0x4fde1c;}}['addNode'](_0x1a5d56){const _0x50a0fc=this['tagStack'][this['tagStack']['length']-0x1],_0x379cc3=_0x50a0fc['children'][_0x50a0fc['children']['length']-0x1];this['options']['withStartIndices']&&(_0x1a5d56['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x1a5d56['endIndex']=this['parser']['endIndex']),_0x50a0fc['children']['push'](_0x1a5d56),_0x379cc3&&(_0x1a5d56['prev']=_0x379cc3,_0x379cc3['next']=_0x1a5d56),_0x1a5d56['parent']=_0x50a0fc,this['lastNode']=null;}}const _0x35130d=/["&'<>$\x80-\uFFFF]/g,_0x344907=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x382c06=null!=String['prototype']['codePointAt']?(_0xaefd37,_0x5342a8)=>_0xaefd37['codePointAt'](_0x5342a8):(_0x76179d,_0x1a474d)=>0xd800==(0xfc00&_0x76179d['charCodeAt'](_0x1a474d))?0x400*(_0x76179d['charCodeAt'](_0x1a474d)-0xd800)+_0x76179d['charCodeAt'](_0x1a474d+0x1)-0xdc00+0x10000:_0x76179d['charCodeAt'](_0x1a474d);function _0x2dc51d(_0x525995){let _0x4cf498,_0x54af24='',_0x329110=0x0;for(;null!==(_0x4cf498=_0x35130d['exec'](_0x525995));){const _0x52b323=_0x4cf498['index'],_0x439729=_0x525995['charCodeAt'](_0x52b323),_0x51a51c=_0x344907['get'](_0x439729);void 0x0!==_0x51a51c?(_0x54af24+=_0x525995['substring'](_0x329110,_0x52b323)+_0x51a51c,_0x329110=_0x52b323+0x1):(_0x54af24+=_0x525995['substring'](_0x329110,_0x52b323)+'&#x'+_0x382c06(_0x525995,_0x52b323)['toString'](0x10)+';',_0x329110=_0x35130d['lastIndex']+=Number(0xd800==(0xfc00&_0x439729)));}return _0x54af24+_0x525995['substr'](_0x329110);}function _0x2aaf6e(_0xdde63b,_0xc8fd2c){return function(_0x1727fe){let _0x39cf93,_0x28d219=0x0,_0x550852='';for(;_0x39cf93=_0xdde63b['exec'](_0x1727fe);)_0x28d219!==_0x39cf93['index']&&(_0x550852+=_0x1727fe['substring'](_0x28d219,_0x39cf93['index'])),_0x550852+=_0xc8fd2c['get'](_0x39cf93[0x0]['charCodeAt'](0x0)),_0x28d219=_0x39cf93['index']+0x1;return _0x550852+_0x1727fe['substring'](_0x28d219);};}const _0x596c23=_0x2aaf6e(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x502218=_0x2aaf6e(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x5739aa=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'](_0xd73190=>[_0xd73190['toLowerCase'](),_0xd73190])),_0x1959e3=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'](_0xd3d448=>[_0xd3d448['toLowerCase'](),_0xd3d448])),_0x496f14=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0x7ddbe0(_0x4bfd3f){return _0x4bfd3f['replace'](/"/g,'&quot;');}const _0x5b1ccb=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x23fffa(_0x532615,_0x987a5c={}){const _0x100e28='length'in _0x532615?_0x532615:[_0x532615];let _0x5e74f3='';for(let _0xaee2dc=0x0;_0xaee2dc<_0x100e28['length'];_0xaee2dc++)_0x5e74f3+=_0x4a1687(_0x100e28[_0xaee2dc],_0x987a5c);return _0x5e74f3;}function _0x4a1687(_0x3d1c23,_0x5306d2){switch(_0x3d1c23['type']){case _0x21e07d:return _0x23fffa(_0x3d1c23['children'],_0x5306d2);case _0x3ec6bb:case _0x3cccec:return'<'+_0x3d1c23['data']+'>';case _0x19cfa9:return function(_0x375697){return'<!--'+_0x375697['data']+'-->';}(_0x3d1c23);case _0x36acd8:return function(_0x126a9e){return'<![CDATA['+_0x126a9e['children'][0x0]['data']+']]>';}(_0x3d1c23);case _0x411de3:case _0x4fbc7b:case _0x12f257:return function(_0x54b8c0,_0x5690bf){var _0x5f09ef;'foreign'===_0x5690bf['xmlMode']&&(_0x54b8c0['name']=null!==(_0x5f09ef=_0x5739aa['get'](_0x54b8c0['name']))&&void 0x0!==_0x5f09ef?_0x5f09ef:_0x54b8c0['name'],_0x54b8c0['parent']&&_0xa24906['has'](_0x54b8c0['parent']['name'])&&(_0x5690bf={..._0x5690bf,'xmlMode':!0x1})),!_0x5690bf['xmlMode']&&_0x5a1f3e['has'](_0x54b8c0['name'])&&(_0x5690bf={..._0x5690bf,'xmlMode':'foreign'});let _0x411e01='<'+_0x54b8c0['name'];const _0x2bd0f5=function(_0x358fc0,_0x696d64){var _0x25d401;if(!_0x358fc0)return;const _0x338604=!0x1===(null!==(_0x25d401=_0x696d64['encodeEntities'])&&void 0x0!==_0x25d401?_0x25d401:_0x696d64['decodeEntities'])?_0x7ddbe0:_0x696d64['xmlMode']||'utf8'!==_0x696d64['encodeEntities']?_0x2dc51d:_0x596c23;return Object['keys'](_0x358fc0)['map'](_0x76a233=>{var _0x1721a6,_0x530897;const _0x402ddb=null!==(_0x1721a6=_0x358fc0[_0x76a233])&&void 0x0!==_0x1721a6?_0x1721a6:'';return'foreign'===_0x696d64['xmlMode']&&(_0x76a233=null!==(_0x530897=_0x1959e3['get'](_0x76a233))&&void 0x0!==_0x530897?_0x530897:_0x76a233),_0x696d64['emptyAttrs']||_0x696d64['xmlMode']||''!==_0x402ddb?_0x76a233+'=\x22'+_0x338604(_0x402ddb)+'\x22':_0x76a233;})['join']('\x20');}(_0x54b8c0['attribs'],_0x5690bf);return _0x2bd0f5&&(_0x411e01+='\x20'+_0x2bd0f5),0x0===_0x54b8c0['children']['length']&&(_0x5690bf['xmlMode']?!0x1!==_0x5690bf['selfClosingTags']:_0x5690bf['selfClosingTags']&&_0x5b1ccb['has'](_0x54b8c0['name']))?(_0x5690bf['xmlMode']||(_0x411e01+='\x20'),_0x411e01+='/>'):(_0x411e01+='>',_0x54b8c0['children']['length']>0x0&&(_0x411e01+=_0x23fffa(_0x54b8c0['children'],_0x5690bf)),!_0x5690bf['xmlMode']&&_0x5b1ccb['has'](_0x54b8c0['name'])||(_0x411e01+='</'+_0x54b8c0['name']+'>')),_0x411e01;}(_0x3d1c23,_0x5306d2);case _0x335bba:return function(_0xc13c41,_0x5d3093){var _0x45893f;let _0x7eab6=_0xc13c41['data']||'';return!0x1===(null!==(_0x45893f=_0x5d3093['encodeEntities'])&&void 0x0!==_0x45893f?_0x45893f:_0x5d3093['decodeEntities'])||!_0x5d3093['xmlMode']&&_0xc13c41['parent']&&_0x496f14['has'](_0xc13c41['parent']['name'])||(_0x7eab6=_0x5d3093['xmlMode']||'utf8'!==_0x5d3093['encodeEntities']?_0x2dc51d(_0x7eab6):_0x502218(_0x7eab6)),_0x7eab6;}(_0x3d1c23,_0x5306d2);}}const _0xa24906=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0x5a1f3e=new Set(['svg','math']);function _0x5cfc64(_0x7648b6){return Array['isArray'](_0x7648b6)?_0x7648b6['map'](_0x5cfc64)['join'](''):_0xd766f5(_0x7648b6)&&!_0x443535(_0x7648b6)?_0x5cfc64(_0x7648b6['children']):_0x248bec(_0x7648b6)?_0x7648b6['data']:'';}function _0xaf49e(_0x3b88e2){return _0x3b88e2['parent']||null;}function _0x3b8b10(_0x3aeb35){if(_0x3aeb35['prev']&&(_0x3aeb35['prev']['next']=_0x3aeb35['next']),_0x3aeb35['next']&&(_0x3aeb35['next']['prev']=_0x3aeb35['prev']),_0x3aeb35['parent']){const _0x4077af=_0x3aeb35['parent']['children'],_0xebab89=_0x4077af['lastIndexOf'](_0x3aeb35);_0xebab89>=0x0&&_0x4077af['splice'](_0xebab89,0x1);}_0x3aeb35['next']=null,_0x3aeb35['prev']=null,_0x3aeb35['parent']=null;}function _0x4d4782(_0xdc621d,_0x487821){const _0x1c5956=_0x487821['prev']=_0xdc621d['prev'];_0x1c5956&&(_0x1c5956['next']=_0x487821);const _0x1c760d=_0x487821['next']=_0xdc621d['next'];_0x1c760d&&(_0x1c760d['prev']=_0x487821);const _0x5f1781=_0x487821['parent']=_0xdc621d['parent'];if(_0x5f1781){const _0x3621c7=_0x5f1781['children'];_0x3621c7[_0x3621c7['lastIndexOf'](_0xdc621d)]=_0x487821,_0xdc621d['parent']=null;}}function _0x474c85(_0x1931a4,_0x385554){_0x3b8b10(_0x385554);const {parent:_0x5d5081}=_0x1931a4,_0x150339=_0x1931a4['next'];if(_0x385554['next']=_0x150339,_0x385554['prev']=_0x1931a4,_0x1931a4['next']=_0x385554,_0x385554['parent']=_0x5d5081,_0x150339){if(_0x150339['prev']=_0x385554,_0x5d5081){const _0x4f0579=_0x5d5081['children'];_0x4f0579['splice'](_0x4f0579['lastIndexOf'](_0x150339),0x0,_0x385554);}}else _0x5d5081&&_0x5d5081['children']['push'](_0x385554);}function _0x5cbb10(_0x22e754,_0x209434){if(_0x3b8b10(_0x209434),_0x209434['parent']=_0x22e754,_0x209434['prev']=null,0x1!==_0x22e754['children']['unshift'](_0x209434)){const _0x3c3d3f=_0x22e754['children'][0x1];_0x3c3d3f['prev']=_0x209434,_0x209434['next']=_0x3c3d3f;}else _0x209434['next']=null;}function _0x30718c(_0xf22b3e,_0x3fbab5){_0x3b8b10(_0x3fbab5);const {parent:_0x5a96ad}=_0xf22b3e;if(_0x5a96ad){const _0x305464=_0x5a96ad['children'];_0x305464['splice'](_0x305464['indexOf'](_0xf22b3e),0x0,_0x3fbab5);}_0xf22b3e['prev']&&(_0xf22b3e['prev']['next']=_0x3fbab5),_0x3fbab5['parent']=_0x5a96ad,_0x3fbab5['prev']=_0xf22b3e['prev'],_0x3fbab5['next']=_0xf22b3e,_0xf22b3e['prev']=_0x3fbab5;}function _0x563b61(_0x861646,_0x3f3422,_0x29d9a2=!0x0){const _0x475d74=Array['isArray'](_0x3f3422)?_0x3f3422:[_0x3f3422];for(let _0x5b8bf5=0x0;_0x5b8bf5<_0x475d74['length'];_0x5b8bf5++){const _0x225fe6=_0x475d74[_0x5b8bf5];if(_0x214bcd(_0x225fe6)&&_0x861646(_0x225fe6))return _0x225fe6;if(_0x29d9a2&&_0xd766f5(_0x225fe6)&&_0x225fe6['children']['length']>0x0){const _0x7600e9=_0x563b61(_0x861646,_0x225fe6['children'],!0x0);if(_0x7600e9)return _0x7600e9;}}return null;}function ti(_0x33f185,_0x20a24b){const _0x260017=[],_0x2a276d=[Array['isArray'](_0x20a24b)?_0x20a24b:[_0x20a24b]],_0x3cd0cc=[0x0];for(;;){if(_0x3cd0cc[0x0]>=_0x2a276d[0x0]['length']){if(0x1===_0x2a276d['length'])return _0x260017;_0x2a276d['shift'](),_0x3cd0cc['shift']();continue;}const _0x11f9fa=_0x2a276d[0x0][_0x3cd0cc[0x0]++];_0x214bcd(_0x11f9fa)&&_0x33f185(_0x11f9fa)&&_0x260017['push'](_0x11f9fa),_0xd766f5(_0x11f9fa)&&_0x11f9fa['children']['length']>0x0&&(_0x3cd0cc['unshift'](0x0),_0x2a276d['unshift'](_0x11f9fa['children']));}}function _0x27e21e(_0x40ae03){return function(_0x503530,_0x494354){const _0x13aabf=new _0x21b821(void 0x0,_0x494354);return new _0x54724d(_0x13aabf,_0x494354)['end'](_0x503530),_0x13aabf['root'];}(_0x40ae03);}function _0x57663f(_0x2ebec8){return _0x23fffa(_0x2ebec8);}function _0x460852(_0x403429,_0x536809,_0x327d76){const _0x3dd24e=null!==_0x536809?_0x2f4496=>_0x2f4496['attribs'][_0x403429]===_0x536809:_0x1bff1e=>Boolean(_0x1bff1e['attribs'][_0x403429]);return _0x563b61(_0x5d1262=>_0x214bcd(_0x5d1262)&&_0x3dd24e(_0x5d1262),_0x327d76);}function _0x2303b9(_0x39cbbc,_0x57deea,_0x25d764){const _0x3e6f3f=null!==_0x57deea?_0x5e0d46=>_0x5e0d46['attribs'][_0x39cbbc]===_0x57deea:_0xab9874=>Boolean(_0xab9874['attribs'][_0x39cbbc]);return ti(_0xedc20a=>_0x214bcd(_0xedc20a)&&_0x3e6f3f(_0xedc20a),_0x25d764);}function _0x8fccc4(_0x55d7ed){return function(_0x41752b,_0x48a116,_0x6a515b,_0x53b9c0){const _0x38eb40=[],_0x5bec0c=[Array['isArray'](_0x48a116)?_0x48a116:[_0x48a116]],_0x35469d=[0x0];for(;;){if(_0x35469d[0x0]>=_0x5bec0c[0x0]['length']){if(0x1===_0x35469d['length'])return _0x38eb40;_0x5bec0c['shift'](),_0x35469d['shift']();continue;}const _0x3346d1=_0x5bec0c[0x0][_0x35469d[0x0]++];if(_0x41752b(_0x3346d1)&&(_0x38eb40['push'](_0x3346d1),--_0x53b9c0<=0x0))return _0x38eb40;_0xd766f5(_0x3346d1)&&_0x3346d1['children']['length']>0x0&&(_0x35469d['unshift'](0x0),_0x5bec0c['unshift'](_0x3346d1['children']));}}(_0x271308=>_0x443535(_0x271308),_0x55d7ed,0x0,0x1/0x0);}function _0x3b4b70(_0x4b2281,_0xaafb71){return _0x4b2281&&_0x214bcd(_0x4b2281)?_0x4b2281['attribs'][_0xaafb71]:null;}function _0x50bf7b(_0x199933,_0xbfd097,_0x2f9514){_0x214bcd(_0x199933)&&(null===_0x2f9514?delete _0x199933['attribs'][_0xbfd097]:_0x199933['attribs'][_0xbfd097]=_0x2f9514);}function _0x1b49a3(_0x56dd40,_0x453907,_0x180240){const _0x453c1c=_0x453907['cloneNode'](!0x0);'beforebegin'===_0x180240?_0x30718c(_0x56dd40,_0x453c1c):'afterbegin'===_0x180240?_0x5cbb10(_0x56dd40,_0x453c1c):'beforeend'===_0x180240?function(_0x589b80,_0x1a28d4){if(_0x3b8b10(_0x1a28d4),_0x1a28d4['next']=null,_0x1a28d4['parent']=_0x589b80,_0x589b80['children']['push'](_0x1a28d4)>0x1){const _0x25a4bc=_0x589b80['children'][_0x589b80['children']['length']-0x2];_0x25a4bc['next']=_0x1a28d4,_0x1a28d4['prev']=_0x25a4bc;}else _0x1a28d4['prev']=null;}(_0x56dd40,_0x453c1c):'afterend'===_0x180240&&_0x474c85(_0x56dd40,_0x453c1c);}function _0x1e2c2d(_0xd46663){const _0x35c6c9=[];let _0xba2756=_0xd46663;for(;_0xba2756;)_0xba2756=_0xaf49e(_0xba2756),_0xba2756&&_0x35c6c9['push'](_0xba2756);return _0x35c6c9;}function _0x4445c5(_0x2f40e7){return _0x2f40e7['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x32137f(_0x1ba25a){let _0x482bfc=0x0;for(;_0x1ba25a['parentNode'];)_0x1ba25a=_0x1ba25a['parentNode'],_0x482bfc++;return _0x482bfc;}function _0x23b31c(_0x2f56d4){const _0x2f3951=[];let _0x375624=_0x2f56d4['nextSibling'];for(;_0x375624;)_0x2f3951['push'](_0x375624),_0x375624=_0x375624['nextSibling'];_0x2f3951['forEach'](_0x95e6d8=>{_0x3b8b10(_0x95e6d8);});}class _0x4af9b8 extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new _0xa0ed63['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x3b6dc3){const _0x567191=this['_m2html']['parse'](_0x3b6dc3);return this['parseAndNormalizeHTML'](_0x567191);}['parseAndNormalizeHTML'](_0x5d7f73){return this['_parseHTML'](_0x5d7f73);}['_parseHTML'](_0x51a800){const _0x59e7b9=_0x27e21e('<dummy>'+_0x51a800['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x59e7b9['children']=_0x59e7b9['children'][0x0]['children'],_0x59e7b9;}}class _0x20f18b extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x1bb8c5){super(),this['_generateUid']=_0x1bb8c5||_0xa0ed63['uid'];}['merge'](_0x33245d,_0x4bbb93,_0x15144c){const _0x403efd=_0x33245d['cloneNode'](!0x0);if(0x0===_0x4bbb93['childNodes']['length']){const _0x8d2967=[];return _0x2303b9('data-id','new-element',_0x403efd)['forEach'](_0x4b90b9=>{const _0x1bf816=this['_generateUid']();_0x50bf7b(_0x4b90b9,'data-id',_0x1bf816),_0x8d2967['push'](_0x1bf816);}),this['_removeSpecialComments'](_0x403efd),{'parsedContent':_0x403efd,'newNodeIds':_0x8d2967,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x15144c&&_0x15144c['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x403efd),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(_0x2303b9('data-id',null,_0x4bbb93)['map'](_0x4ce64e=>_0x3b4b70(_0x4ce64e,'data-id'))['filter'](_0x231cd9=>!!_0x231cd9));let _0x61444a=-0x1,_0x20fc19=!0x1;const _0xc37bd0=_0x403efd['childNodes'],_0x124e80=Array['from'](_0xc37bd0)['filter'](_0x5a1aee=>!(0x3===_0x5a1aee['nodeType']&&''===_0x57663f(_0x5a1aee)['trim']())),_0x564920=_0x124e80['length'];for(let _0x234153=0x0;_0x234153<_0x564920;_0x234153++){const _0x2ca7a8=_0x124e80[_0x234153],_0x4e2f25=_0x124e80[_0x234153+0x1];if(this['_isNewNode'](_0x2ca7a8)){if(-0x1===_0x61444a&&(_0x61444a=_0x234153),this['_markWrappedElements'](_0x2ca7a8),!this['_isNewNode'](_0x4e2f25)){const [_0x3f29ef,_0x294dac]=this['_findReferenceNode'](_0x2ca7a8,_0x20fc19,_0x4bbb93);if(_0x3f29ef){const _0x300ba6=Array['from'](_0x124e80)['slice'](_0x61444a,_0x234153+0x1);this['_insertNodes'](_0x3f29ef,_0x300ba6,_0x294dac),_0x61444a=-0x1;}}}else{if(this['_isExistingContentComment'](_0x2ca7a8))_0x20fc19=!0x0;else{if(this['_isExistingNode'](_0x2ca7a8)){const _0x2a37c1=_0x3b4b70(_0x2ca7a8,'data-id');if(_0x2a37c1&&this['_existingDataIds']['has'](_0x2a37c1)){const _0x177390=_0x460852('data-id',_0x2a37c1,_0x4bbb93);this['_replaceNode'](_0x177390,_0x2ca7a8);}if(this['_touchedNodesState']['removedIds']['includes'](_0x2a37c1)){const _0x57b26e=this['_touchedNodesState']['removedIds']['indexOf'](_0x2a37c1);this['_touchedNodesState']['removedIds']['splice'](_0x57b26e,0x1);}}else{if(this['_isDelNode'](_0x2ca7a8)){const _0x24f99f=_0x3b4b70(_0x2ca7a8,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x24f99f)||this['_storeDeletedElementIds'](_0x2ca7a8);}}}}}for(const _0x464fbc of this['_touchedNodesState']['removedIds']){const _0x1b3206=_0x460852('data-id',_0x464fbc,_0x4bbb93);if(_0x1b3206){if(_0x15144c&&_0x15144c['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x464fbc;const _0x4ac4c3=_0x15144c['replaceRemovedWith']['cloneNode'](!0x0);_0x50bf7b(_0x4ac4c3,'data-id',_0x464fbc),_0x50bf7b(_0x4ac4c3,'data-removed','true'),_0x4d4782(_0x1b3206,_0x4ac4c3);}else _0x3b8b10(_0x1b3206);}}if(_0x2303b9('data-wrapped-id',null,_0x4bbb93)['forEach'](_0x5d9c09=>{const _0x142082=_0x460852('data-id',_0x3b4b70(_0x5d9c09,'data-wrapped-id'),_0x4bbb93);var _0x866a24,_0x19aaad;_0x142082&&(_0x19aaad=_0x5d9c09,_0x3b8b10(_0x866a24=_0x142082),_0x4d4782(_0x19aaad,_0x866a24));}),_0x2303b9('data-id','new-element',_0x4bbb93)['forEach'](_0xb58556=>{const _0x4c5249=this['_getUid'](_0xb58556);_0x50bf7b(_0xb58556,'data-id',_0x4c5249),this['_touchedNodesState']['newIds']['push'](_0x4c5249);}),this['_removeSpecialComments'](_0x4bbb93),_0x15144c&&_0x15144c['markUnstableElements']&&this['_markUnstableElements'](_0x4bbb93,_0x15144c['markUnstableElementsDepth']||0x0),_0x15144c&&_0x15144c['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x2ced86=_0x460852('data-id',this['_touchedNodesState']['lastTouchedId'],_0x4bbb93);for(;_0x2ced86;)_0x23b31c(_0x2ced86),_0x2ced86=_0x2ced86['parentNode'];}return{'parsedContent':_0x4bbb93,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x4660a1,_0x583845,_0x465b86){for(const _0x2e23bd of _0x583845){const _0x124b1a=this['_getUid'](_0x2e23bd);_0x50bf7b(_0x2e23bd,'data-id',_0x124b1a),this['_touchedNodesState']['newIds']['push'](_0x124b1a),this['_touchedNodesState']['lastTouchedId']=_0x124b1a;}const _0x2e5977='afterbegin'===_0x465b86||'afterend'===_0x465b86?_0x583845['reverse']():_0x583845;for(const _0x39be02 of _0x2e5977)_0x1b49a3(_0x4660a1,_0x39be02,_0x465b86);}['_replaceNode'](_0x4398c7,_0x5c1ca2){if(!_0x4398c7)return;if(_0x562ca0=_0x5c1ca2,_0x4445c5(_0x57663f(_0x4398c7))===_0x4445c5(_0x57663f(_0x562ca0)))return;var _0x562ca0;const _0x4605c2=this['_getUid'](_0x4398c7);_0x50bf7b(_0x5c1ca2,'data-id',_0x4605c2),this['_touchedNodesState']['modifiedIds']['push'](_0x4605c2),this['_touchedNodesState']['lastTouchedId']=_0x4605c2,_0x4d4782(_0x4398c7,_0x5c1ca2['cloneNode'](!0x0));}['_findReferenceNode'](_0x3003e1,_0x252e90,_0xeea34f){const _0x34a928=this['_findPrevElementWithDataId'](_0x3003e1,!0x1);if(_0x34a928){const _0x22b469=this['_getNodeDataId'](_0x34a928),_0x1f85e8=_0x460852('data-id',_0x22b469,_0xeea34f);if(_0x1f85e8)return[_0x1f85e8,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x22b469);}const _0x5ee26f=this['_findNextElementWithDataId'](_0x3003e1,!0x1);if(_0x5ee26f){const _0x4efcb3=this['_getNodeDataId'](_0x5ee26f),_0x1810d5=_0x460852('data-id',_0x4efcb3,_0xeea34f);if(_0x1810d5)return[_0x1810d5,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x4efcb3);}return _0x252e90?_0x3003e1['nextSibling']?this['_findFallbackReferenceNode'](_0x3003e1,_0xeea34f):[_0xeea34f['childNodes'][_0xeea34f['childNodes']['length']-0x1],'afterend']:[_0xeea34f['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x4bec0d,_0x570780){const _0x23d3dd=[],_0x4b92d5=this['_findPrevElementWithDataId'](_0x4bec0d,!0x0);if(_0x4b92d5){const _0x52f3e0=_0x460852('data-id',this['_getNodeDataId'](_0x4b92d5),_0x570780);_0x52f3e0&&_0x23d3dd['push']([_0x52f3e0,'afterend']);}const _0x5b1edd=this['_findNextElementWithDataId'](_0x4bec0d,!0x0);if(_0x5b1edd){const _0x25f660=_0x460852('data-id',this['_getNodeDataId'](_0x5b1edd),_0x570780);_0x25f660&&_0x23d3dd['push']([_0x25f660,'beforebegin']);}if(_0x23d3dd['length']>0x1)return _0x32137f(_0x23d3dd[0x0][0x0])<=_0x32137f(_0x23d3dd[0x1][0x0])?_0x23d3dd[0x0]:_0x23d3dd[0x1];return 0x1===_0x23d3dd['length']?_0x23d3dd[0x0]:[_0x570780['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x1009ea,_0x444a2b){let _0x5037e3=_0x1009ea['nextSibling'],_0x113b5c=null,_0xee5967=!0x1;for(;_0x5037e3;){if(_0x443535(_0x5037e3)){if(this['_isDelNode'](_0x5037e3)&&(_0x113b5c=_0x5037e3),this['_isExistingContentComment'](_0x5037e3)&&_0x444a2b&&!_0xee5967){_0xee5967=!0x0,_0x5037e3=_0x5037e3['nextSibling'];continue;}break;}const _0x45baf9=_0x3b4b70(_0x5037e3,'data-id');if(_0x45baf9&&'new-element'!==_0x45baf9&&this['_existingDataIds']['has'](_0x45baf9)){_0x113b5c=_0x5037e3;break;}_0x5037e3=_0x5037e3['nextSibling'];}return _0x113b5c;}['_findPrevElementWithDataId'](_0x330ceb,_0x5da569){let _0x68c677=_0x330ceb['previousSibling'],_0x57e598=null,_0x2709a4=!0x1;for(;_0x68c677;){if(_0x443535(_0x68c677)){if(this['_isDelNode'](_0x68c677)&&(_0x57e598=_0x68c677),this['_isExistingContentComment'](_0x68c677)&&_0x5da569&&!_0x2709a4){_0x2709a4=!0x0,_0x68c677=_0x68c677['previousSibling'];continue;}break;}const _0x5509c3=_0x3b4b70(_0x68c677,'data-id');if(_0x5509c3&&'new-element'!==_0x5509c3&&this['_existingDataIds']['has'](_0x5509c3)){_0x57e598=_0x68c677;break;}_0x68c677=_0x68c677['previousSibling'];}return _0x57e598;}['_markWrappedElements'](_0x4b0660){_0x214bcd(_0x4b0660)&&_0x2303b9('data-id',null,_0x4b0660)['forEach'](_0x41bfa1=>{this['_isExistingNode'](_0x41bfa1)&&!this['_hasWrappedParent'](_0x41bfa1)&&(_0x50bf7b(_0x41bfa1,'data-wrapped-id',_0x3b4b70(_0x41bfa1,'data-id')),_0x50bf7b(_0x41bfa1,'data-id',null));});}['_getNodeDataId'](_0x1eb40b){if(!_0x1eb40b)return null;if(_0x214bcd(_0x1eb40b))return _0x3b4b70(_0x1eb40b,'data-id');if(_0x443535(_0x1eb40b)){const _0x67558=_0x57663f(_0x1eb40b)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x67558&&_0x67558[0x1])return _0x67558[0x1];}return null;}['_storeDeletedElementIds'](_0x55c79e){if(_0x443535(_0x55c79e)){const _0x57a09a=_0x57663f(_0x55c79e)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x57a09a&&_0x57a09a[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x57a09a[0x1]);}}['_getUid'](_0x984bd8){return this['_isExistingNode'](_0x984bd8)?_0x3b4b70(_0x984bd8,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x19afe4){_0x8fccc4(_0x19afe4)['filter'](_0xb3488d=>this['_isDelNode'](_0xb3488d)||this['_isExistingContentComment'](_0xb3488d))['forEach'](_0x5781ae=>{_0x3b8b10(_0x5781ae);});}['_markLastTagElementUnstable'](_0x20809e){const _0x2f73c3=_0x20809e['childNodes'],_0x17ce0b=_0x2f73c3[_0x2f73c3['length']-0x1];_0x17ce0b&&_0x214bcd(_0x17ce0b)&&_0x50bf7b(_0x17ce0b,'data-unstable','true');}['_markUnstableElements'](_0x304cbf,_0x15f63e){const _0x1991e4=_0x460852('data-unstable','true',_0x304cbf);if(!_0x1991e4)return;const _0x461af2=_0x1e2c2d(_0x1991e4)['slice'](0x0,-0x1),_0x5696c7=_0x461af2['length'];let _0xed295f=_0x1991e4;if(_0x5696c7>_0x15f63e){let _0x1a3cba=_0x5696c7,_0x4835dc=null;for(;_0x1a3cba>_0x15f63e&&_0x1a3cba>=0x0;)_0x1a3cba--,_0x4835dc=_0x461af2[_0x1a3cba];_0x4835dc&&(_0xed295f=_0x4835dc,_0x50bf7b(_0x1991e4,'data-unstable',null),_0x50bf7b(_0x4835dc,'data-unstable','true'));}else{if(_0x5696c7<_0x15f63e){let _0x5cbcbf=_0x5696c7,_0x445b79=_0x1991e4;for(;_0x5cbcbf<_0x15f63e;){const _0x422b0a=_0x445b79['childNodes']['filter'](_0x1a3f0b=>_0x214bcd(_0x1a3f0b));if(0x0===_0x422b0a['length'])break;_0x5cbcbf++,_0x445b79=_0x422b0a[_0x422b0a['length']-0x1];}_0x445b79&&(_0xed295f=_0x445b79,_0x50bf7b(_0x1991e4,'data-unstable',null),_0x50bf7b(_0x445b79,'data-unstable','true'));}}let _0x12796d=_0xed295f;for(;_0x12796d;){for(;_0x12796d['nextSibling'];)_0x12796d=_0x12796d['nextSibling'],_0x214bcd(_0x12796d)&&_0x50bf7b(_0x12796d,'data-unstable','true');_0x12796d=_0x12796d['parentNode'];}}['_isNewNode'](_0x4fb389){return Boolean('new-element'===_0x3b4b70(_0x4fb389,'data-id'));}['_isExistingNode'](_0x5d66f9){return Boolean((_0x3b4b70(_0x5d66f9,'data-id')||'')['length']>0x0&&'new-element'!==_0x3b4b70(_0x5d66f9,'data-id'));}['_isDelNode'](_0x41f45c){return!!_0x41f45c&&Boolean(_0x443535(_0x41f45c)&&_0x57663f(_0x41f45c)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x2ef1be){let _0x87c209=_0x2ef1be['parentNode'];for(;_0x87c209;){if(_0x3b4b70(_0x87c209,'data-wrapped-id'))return!0x0;_0x87c209=_0x87c209['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x38e211){return Boolean(_0x443535(_0x38e211)&&_0x57663f(_0x38e211)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x3e482e extends _0xa0ed63['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x499ba4,_0xc3e09c){let _0x2f012b;if(_0xc3e09c||(_0xc3e09c=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xc3e09c?_0x2f012b=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x2f012b=this['context']['editors']['find'](_0x24925c=>_0x24925c['config']['get']('collaboration.channelId')==_0xc3e09c)),!_0x2f012b)throw new _0xa0ed63['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x401862=_0x2f012b['plugins'],_0xffb723=_0x401862['has']('CommentsRepository')?_0x401862['get']('CommentsRepository'):void 0x0,_0x48898f=_0x401862['has']('CommentsOnly')&&_0x401862['get']('CommentsOnly'),_0x5780fe=_0x499ba4['includes']('document:write'),_0x10fa95=_0x499ba4['includes']('comment:modify_all'),_0x1f9307=_0x499ba4['includes']('comment:admin'),_0x5db662=_0x499ba4['includes']('comment:write'),_0x54684f=_0x5db662||_0x1f9307,_0x3c3699=_0x54684f||_0x10fa95,_0x1be5b7=_0x5780fe||_0x54684f;(_0x48898f&&(_0x48898f['isEnabled']=!_0x5780fe&&_0x3c3699),_0x2f012b instanceof _0xa0ed63['Editor'])&&(!(_0x5780fe||_0x3c3699&&_0xffb723)?_0x2f012b['enableReadOnlyMode']('no-permissions'):_0x2f012b['disableReadOnlyMode']('no-permissions'));if(_0xffb723){_0xffb723['setPermissions']({'admin':_0x1f9307,'modifyAll':_0x10fa95,'write':_0x5db662,'resolve':_0x1be5b7},_0xc3e09c);const _0x47bed5=_0x2f012b instanceof _0xa0ed63['Editor']&&_0x2f012b['commands']['get']('addCommentThread');_0x47bed5&&(_0x54684f?_0x47bed5['clearForceDisabled']('noPermissions'):_0x47bed5['forceDisabled']('noPermissions'));}}}function _0x16c7c3(_0x1c5dde,_0x2702ca){const t=_0x1c5dde['t'];switch(_0x2702ca){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'';}}class _0x16ef47 extends _0xa0ed63['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3e482e];}constructor(_0x480645){super(_0x480645),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0xa0ed63['Collection'](),this['_locale']=_0x480645['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:_0x38fa51,name:_0x5f19ec,..._0x1c4fbe}){if(!_0x38fa51||'string'!=typeof _0x38fa51)throw new _0xa0ed63['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x38fa51))throw new _0xa0ed63['CKEditorError']('users-add-duplicated-id',null,{'id':_0x38fa51});const _0xe907d4=this['context']['config']['get']('users.getInitialsCallback'),_0x346bd2={..._0x1c4fbe,'id':_0x38fa51,'name':_0x300fa1(this['_locale'],_0x5f19ec),'color':this['_getNextColor']()};_0x346bd2['name']=_0x300fa1(this['_locale'],_0x346bd2['name']);const _0x7c5fc7=new _0x3eba5c(_0x346bd2,_0xe907d4);return this['users']['add'](_0x7c5fc7),_0x7c5fc7;}['getUser'](_0x2314b7){return this['users']['get'](_0x2314b7);}['useAnonymousUser'](){const _0x3cfe46=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3cfe46);}['defineMe'](_0x55bde7){if(this['_myId'])throw new _0xa0ed63['CKEditorError']('users-me-already-defined',null);const _0x5ace32=this['getUser'](_0x55bde7);if(!_0x5ace32)throw new _0xa0ed63['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x55bde7,_0x5ace32['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x431aec=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x431aec&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4619e7=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4619e7,'name':_0x16c7c3(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x3eba5c=class _0x2f2222{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x321e22,_0x33f867){this['id']=_0x321e22['id'],this['color']=_0x321e22['color'],this['name']=_0x321e22['name'],this['initials']=_0x33f867?_0x33f867(this['name']):this['_computeInitials'](),this['avatar']=_0x321e22['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x3fb784=this['name']['split']('\x20')['filter'](_0x75ee0d=>/^[\p{Letter}]/u['test'](_0x75ee0d));return 0x1===_0x3fb784['length']?this['_getInitial'](_0x3fb784[0x0]):0x0===_0x3fb784['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x3fb784[0x0])+this['_getInitial'](_0x3fb784[_0x3fb784['length']-0x1]);}['_getInitial'](_0x1ae8e9){return String['fromCodePoint'](_0x1ae8e9['codePointAt'](0x0))['toUpperCase']();}};function _0x300fa1(_0x238b00,_0x5c24fa=''){return''==(_0x5c24fa=_0x5c24fa['trim']())?_0x16c7c3(_0x238b00,'Anonymous'):_0x5c24fa;}class CollaborationUserColor{['_id'];constructor(_0x42b912){this['_id']=_0x42b912;}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'];}}class _0x2edd05 extends _0xa0ed63['View']{['name'];['notificationView'];constructor(_0x20a16a,_0x59f393,_0x45eef7){super(_0x20a16a),this['name']=_0x59f393['name'],this['notificationView']=null;const _0x39b126=['ck','ck-user'],_0x36724f=['ck','ck-user__img'];if(_0x59f393['isAnonymous']&&_0x36724f['push']('ck-user__anonymous'),!_0x59f393['isAnonymous']&&_0x59f393['isMe']&&_0x39b126['push']('ck-user_me'),_0x59f393['avatar']&&_0x36724f['push']('ck-user__avatar'),_0x45eef7){const _0x54baa2=new _0xa0ed63['IconView']();_0x54baa2['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x54baa2['content']=_0xa0ed63['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x45eef7},'children':[_0x54baa2]};}const _0x555f9d=[{'tag':'div','attributes':{'class':_0x36724f,'style':{'background-image':_0x59f393['avatar']?'url(\x27'+_0x59f393['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x59f393['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x59f393['name']},'children':[{'text':_0x59f393['initials']}]}];this['notificationView']&&_0x555f9d['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x39b126,'data-user-id':_0x59f393['id']},'children':_0x555f9d});}}class AriaDescriptionView extends _0xa0ed63['View']{['id'];constructor(_0x540201,_0x27c70f){super(_0x540201),this['id']='ck-aria-description-'+_0xa0ed63['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x27c70f}]});}}class LateFocusButtonView extends _0xa0ed63['ButtonView']{['render'](){super['render'](),_0x5909bd(this);}}class LateFocusDropdownButtonView extends _0xa0ed63['DropdownButtonView']{['render'](){super['render'](),_0x5909bd(this);}}function _0x5909bd(_0x4b2ffb){_0x4b2ffb['listenTo'](_0x4b2ffb['element'],'mousedown',(_0x23ccf9,_0x3f8e27)=>{_0x3f8e27['stopPropagation'](),_0x3f8e27['preventDefault']();}),_0x4b2ffb['listenTo'](_0x4b2ffb['element'],'mouseup',()=>{_0x4b2ffb['element']['focus']();});}function _0x2c5b20(_0x351583){const _0x2c01b3=_0x351583['split'](':');return{'group':_0x2c01b3[0x0],'type':_0x2c01b3[0x1],'subType':_0x2c01b3['length']>=0x5?_0x2c01b3[0x2]:null,'id':_0x2c01b3['length']<0x5?_0x2c01b3[0x2]:_0x2c01b3[0x3],'authorId':_0x2c01b3['length']<0x5?_0x2c01b3[0x3]:_0x2c01b3[0x4],'markerCount':0x6==_0x2c01b3['length']?_0x2c01b3[0x5]:null};}function _0x41d4e4(_0x815d57,_0x2271f0){const _0x503315=_0x815d57['end']['nodeBefore'];if(_0x503315&&_0x503315['is']('element')&&_0x2271f0['schema']['isBlock'](_0x503315)&&!_0x2271f0['schema']['isObject'](_0x503315)){const _0x34802f=_0x2271f0['createPositionAt'](_0x503315,'end');return _0x2271f0['createRange'](_0x815d57['start'],_0x34802f);}return _0x815d57;}class SuggestionsConversionAlignment extends _0xa0ed63['Plugin']{['afterInit'](){const _0x311c64=this['editor'];if(!_0x311c64['plugins']['has']('AlignmentEditing'))return;_0x311c64['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const _0x55a109=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1ef29=this['editor'],_0x4497f8=_0x1ef29['plugins']['get']('SuggestionsConversion');for(const _0x1e2de7 of _0x55a109){if(!_0x1ef29['plugins']['has'](_0x1e2de7))continue;const _0x688289=_0x1e2de7['slice'](0x0,-0x7)['toLowerCase']();_0x4497f8['registerInlineAttribute'](_0x688289);}}}class SuggestionsConversionBookmark extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4cfaee=this['editor'],_0x429f7e=_0x4cfaee['plugins']['get']('SuggestionsConversion');_0x4cfaee['plugins']['has']('BookmarkEditing')&&_0x429f7e['registerBlockAttribute']('bookmarkId');}}const _0x4c1d51=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0xa0ed63['Plugin']{['afterInit'](){const _0x513352=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0xa1cfc3,commandName:_0x463950}of _0x4c1d51)this['editor']['plugins']['has'](_0xa1cfc3)&&_0x513352['registerInlineAttribute'](_0x463950);}}class SuggestionsConversionFootnotes extends _0xa0ed63['Plugin']{['afterInit'](){const {editor:_0xfca11b}=this;if(!_0xfca11b['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x954b6f=_0xfca11b['plugins']['get']('SuggestionsConversion');_0x954b6f['registerBlockAttribute']('footnotesListStyle'),_0x954b6f['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0xa0ed63['Plugin']{['afterInit'](){const _0x2ab41d=this['editor'];if(!_0x2ab41d['plugins']['has']('HighlightEditing'))return;_0x2ab41d['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0xa0ed63['Plugin']{['afterInit'](){const _0xf1151f=this['editor'];if(!_0xf1151f['plugins']['has']('HtmlEmbed'))return;_0xf1151f['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1a34dc=this['editor'];if(!_0x1a34dc['plugins']['has']('ImageEditing'))return;const _0x59680b=_0x1a34dc['plugins']['get']('SuggestionsConversion');_0x59680b['registerBlockAttribute']('src'),_0x1a34dc['plugins']['has']('ImageResize')&&_0x59680b['registerBlockAttribute']('resizedWidth'),_0x1a34dc['plugins']['has']('ImageTextAlternativeEditing')&&_0x59680b['registerBlockAttribute']('alt'),_0x1a34dc['plugins']['has']('PictureEditing')&&_0x59680b['registerBlockAttribute']('sources'),_0x1a34dc['plugins']['has']('ImageSizeAttributes')&&(_0x59680b['registerBlockAttribute']('width'),_0x59680b['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0xa0ed63['Plugin']{['afterInit'](){const _0x55734c=this['editor'],_0x179cfa=_0x55734c['plugins']['get']('SuggestionsConversion');_0x55734c['plugins']['has']('IndentBlock')&&(_0x179cfa['registerBlockAttribute']('blockIndent'),_0x55734c['plugins']['has']('ListEditing')&&(_0x179cfa['registerBlockAttribute']('blockIndentList'),_0x179cfa['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0xa0ed63['Plugin']{['afterInit'](){const _0x45252e=this['editor'];if(!_0x45252e['plugins']['has']('LineHeight'))return;_0x45252e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0xa0ed63['Plugin']{['afterInit'](){const _0x78aaf3=this['editor'];if(!_0x78aaf3['plugins']['has']('LinkEditing'))return;const _0x1532a4=_0x78aaf3['plugins']['get']('SuggestionsConversion'),_0x386e3=_0x78aaf3['commands']['get']('link');_0x1532a4['registerInlineAttribute']('linkHref');for(const _0x5ce0c6 of _0x386e3['manualDecorators'])_0x1532a4['registerInlineAttribute'](_0x5ce0c6['id']);}}class SuggestionsConversionList extends _0xa0ed63['Plugin']{['afterInit'](){const _0x525b27=this['editor'];if(!_0x525b27['plugins']['has']('ListEditing'))return;const _0x509df3=_0x525b27['plugins']['get']('SuggestionsConversion'),_0xd1d2fc=_0x525b27['plugins']['has']('TodoListEditing');_0x509df3['registerBlockAttribute']('listItemId'),_0x509df3['registerBlockAttribute']('listType'),_0x509df3['registerBlockAttribute']('listIndent'),_0xd1d2fc&&_0x509df3['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x3505d4=this['editor']['config']['get']('list.properties'),_0xfaec3b=this['editor']['plugins']['get']('SuggestionsConversion');_0x3505d4['styles']&&_0xfaec3b['registerBlockAttribute']('listStyle'),_0x3505d4['reversed']&&_0xfaec3b['registerBlockAttribute']('listReversed'),_0x3505d4['startIndex']&&_0xfaec3b['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5cf3da=this['editor'],_0x4d36ea=_0x5cf3da['plugins']['get']('SuggestionsConversion');_0x5cf3da['plugins']['has']('MultiLevelList')&&_0x4d36ea['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5a1cef=this['editor'];if(!_0x5a1cef['plugins']['has']('Style')||!_0x5a1cef['plugins']['has']('DataSchema')||!_0x5a1cef['config']['get']('style.definitions'))return;const _0x5101e0=_0x5a1cef['plugins']['get']('SuggestionsConversion'),_0x3999f9=_0x5a1cef['config']['get']('style.definitions'),_0x118133=_0x5a1cef['plugins']['get']('GeneralHtmlSupport'),_0x3d6916=_0x5a1cef['plugins']['get']('StyleUtils')['normalizeConfig'](_0x5a1cef['plugins']['get']('DataSchema'),_0x3999f9),_0x1cb555=new Set();for(const _0x39c46c of _0x3d6916['block']){const _0x251f6c=_0x118133['getGhsAttributeNameForElement'](_0x39c46c['element']);_0x1cb555['add'](_0x251f6c);}const _0x5ce52a=new Set();for(const _0x5773c6 of _0x3d6916['inline']){const _0x57468c=_0x118133['getGhsAttributeNameForElement'](_0x5773c6['element']);_0x5ce52a['add'](_0x57468c);for(const _0x25cd2a of _0x5773c6['ghsAttributes'])_0x5ce52a['add'](_0x25cd2a);}for(const _0x1fdb60 of _0x1cb555)_0x5101e0['registerBlockAttribute'](_0x1fdb60);for(const _0x407b0b of _0x5ce52a)_0x5101e0['registerInlineAttribute'](_0x407b0b);}}class SuggestionsConversionTableHeadings extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5c8844=this['editor'];if(!_0x5c8844['plugins']['has']('TableEditing'))return;const _0x136fe2=_0x5c8844['plugins']['get']('SuggestionsConversion');_0x136fe2['registerBlockAttribute']('headingRows'),_0x136fe2['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0xa0ed63['Plugin']{['afterInit'](){const {plugins:_0x2ffa9c}=this['editor'];if(!_0x2ffa9c['has']('TablePropertiesEditing'))return;const _0x3a8e97=_0x2ffa9c['get']('SuggestionsConversion'),_0x52589a=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x341a6b of _0x52589a)_0x3a8e97['registerBlockAttribute'](_0x341a6b);}}class SuggestionsConversionTableLayout extends _0xa0ed63['Plugin']{['afterInit'](){const _0x46784b=this['editor'],_0xf2cbda=_0x46784b['plugins']['get']('SuggestionsConversion');_0x46784b['plugins']['has']('TableLayout')&&_0xf2cbda['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0xa0ed63['Plugin']{['afterInit'](){const _0x53e83c=this['editor'],_0x492332=this['editor']['plugins']['get']('SuggestionsConversion');_0x53e83c['plugins']['has']('Uploadcare')&&_0x53e83c['plugins']['has']('UploadcareImageEdit')&&_0x492332['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0xa0ed63['Plugin']{['afterInit'](){const _0x155938=this['editor'];if(!_0x155938['plugins']['has']('ShiftEnter'))return;const _0x3c6fc9=_0x155938['plugins']['get']('SuggestionsConversion'),_0x48ff9c=(_0x110613,_0x51ad21,_0x49d949,_0x18dbef)=>{if(_0x18dbef&&!_0x49d949['options']['showSuggestionHighlights'])return;if(!_0x49d949['consumable']['test'](_0x51ad21['markerRange'],_0x110613['name']))return;const _0x214583=_0x155938['model'];for(const _0x107f14 of _0x51ad21['markerRange']['getItems']()){if(!_0x107f14['is']('element','softBreak'))continue;const _0x2368fa='deletion'==_0x51ad21['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x110eb5,authorId:_0x4ea061}=_0x2c5b20(_0x51ad21['markerName']),_0x988a88=_0x49d949['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2368fa,'data-suggestion':_0x110eb5,'data-author-id':_0x4ea061}),_0x194371=_0x49d949['mapper']['toViewPosition'](_0x214583['createPositionBefore'](_0x107f14));!_0x18dbef&&_0x3c6fc9['_activeMarkers']['includes'](_0x51ad21['markerName'])&&_0x49d949['writer']['addClass']('ck-suggestion-marker--active',_0x988a88),_0x49d949['writer']['insert'](_0x194371,_0x988a88),_0x49d949['mapper']['bindElementToMarker'](_0x988a88,_0x51ad21['markerName']);}};_0x155938['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2d3cff,_0x4feb7d,_0x457ae)=>{_0x48ff9c(_0x2d3cff,_0x4feb7d,_0x457ae,!0x1);},{'priority':'high'}),_0x155938['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x578fe5,_0x334b5c,_0x3f58df)=>{_0x48ff9c(_0x578fe5,_0x334b5c,_0x3f58df,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1121af=this['editor'];_0x1121af['plugins']['has']('MediaEmbedEditing')&&(_0x1121af['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x317105,{writer:_0x49fddc,options:_0x344bdf})=>{if(_0x344bdf['showSuggestionHighlights'])return _0x49fddc['createEmptyElement']('div');},'converterPriority':'high'}),_0x1121af['data']['downcastDispatcher']['on']('attribute:url:media',(_0x1046cb,_0x4c891f,_0x12478d)=>{_0x12478d['options']['showSuggestionHighlights']&&_0x1046cb['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1f1cc8=this['editor'];if(!_0x1f1cc8['plugins']['has']('Table'))return;_0x1f1cc8['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x141c2f,_0x222361,_0x587602)=>{((_0x392dac,_0x4d99fd,_0x542e9a)=>{if(!_0x542e9a['options']['showSuggestionHighlights'])return;const _0x674eea=_0x4d99fd['item'];if(!_0x674eea||!_0x674eea['is']('element','tableCell'))return;const _0x2aa536=_0x542e9a['mapper']['toViewElement'](_0x674eea);if(_0x2aa536){const {id:_0x45cb6c,authorId:_0x23c133}=_0x2c5b20(_0x4d99fd['markerName']);_0xa0ed63['setHighlightHandling'](_0x2aa536,_0x542e9a['writer'],(_0x5e016e,_0x53236e,_0x51d5a0)=>{_0x51d5a0['addClass'](_0xa0ed63['toArray'](_0x53236e['classes']),_0x5e016e),_0x51d5a0['setAttribute']('data-suggestion-id',_0x45cb6c,_0x5e016e),_0x51d5a0['setAttribute']('data-author-id',_0x23c133,_0x5e016e);});}})(0x0,_0x222361,_0x587602);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4b0f05=this['editor'];_0x4b0f05['plugins']['has']('HorizontalLineEditing')&&_0x4b0f05['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x2cf2ba,{writer:_0x562ad7,options:_0x2cf8c2})=>{if(!_0x2cf8c2['showSuggestionHighlights'])return null;const _0x1828b1=_0x562ad7['createContainerElement']('div'),_0x52bdda=_0x562ad7['createEmptyElement']('hr');return _0x562ad7['addClass']('ck-horizontal-line',_0x1828b1),_0x562ad7['insert'](_0x562ad7['createPositionAt'](_0x1828b1,0x0),_0x52bdda),_0x1828b1;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0xa0ed63['Plugin']{['afterInit'](){const {plugins:_0x56fea2,model:_0x4c5e11}=this['editor'];if(!_0x56fea2['has']('TableCellPropertiesEditing'))return;const _0x5d92c6=_0x56fea2['get']('SuggestionsConversion'),_0x7deb=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x5bd464 of _0x7deb)_0x5d92c6['registerBlockAttribute'](_0x5bd464);_0x4c5e11['schema']['checkAttribute']('tableCell','tableCellType')&&_0x5d92c6['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends _0xa0ed63['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d6c8d=this['editor'],_0x1de608=(_0xd5aebd,_0x134604,_0x332fc1)=>{const {id:_0x227cc6,authorId:_0x57d5c9,type:_0x3d04f6,subType:_0x107d1e}=_0x2c5b20(_0xd5aebd['markerName']),_0x980d=['ck-suggestion-marker',this['_getClassName'](_0x3d04f6,_0x107d1e)];let _0x44cc58=0xbb8;return!_0x332fc1&&(this['_activeMarkers']['includes'](_0xd5aebd['markerName'])&&(_0x980d['push']('ck-suggestion-marker--active'),_0x44cc58=0xbc2)),('deletion'==_0x3d04f6&&(_0x44cc58+=0x5),{'classes':_0x980d,'attributes':{'data-suggestion':_0x227cc6,'data-author-id':_0x57d5c9},'priority':_0x44cc58});};_0x3d6c8d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x1d428d,_0x559658)=>_0x1de608(_0x1d428d,0x0,!0x1)}),_0x3d6c8d['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x49eb58,_0x42a698)=>_0x1de608(_0x49eb58,0x0,!0x0)}),_0x3d6c8d['conversion']['for']('dataDowncast')['add'](_0x2a2a72=>{_0x2a2a72['on']('addMarker:suggestion',(_0x1768fd,_0x18e5c2,_0x23b110)=>{if(!_0x23b110['options']['showSuggestionHighlights'])return;const _0x2d83cb=_0x18e5c2['item'];if(!_0x2d83cb)return;const _0x20ebbc=_0x23b110['mapper']['toViewElement'](_0x2d83cb);_0x3d6c8d['model']['schema']['isObject'](_0x2d83cb)&&_0x20ebbc&&!_0x20ebbc['getCustomProperty']('widget')&&_0x20ebbc['is']('containerElement')&&_0xa0ed63['toWidget'](_0x20ebbc,_0x23b110['writer']);},{'priority':'high'});});const _0xcdd9e1=(_0x1bf180,_0x4e461d,_0x19e85f,_0x230906,_0x26fc43)=>{if(_0x230906&&!_0x19e85f['options']['showSuggestionHighlights'])return;if(!_0x4e461d['item'])return;const {id:_0x161625,authorId:_0x7bc2f9,subType:_0x312b5f}=_0x2c5b20(_0x4e461d['markerName']);if(_0x26fc43){const _0x1a55f8=_0x312b5f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1a55f8))return;}if(_0x4e461d['item']['is']('selection'))return void _0x19e85f['consumable']['consume'](_0x4e461d['item'],_0x1bf180['name']);const _0x4c6247=_0x19e85f['mapper']['toViewElement'](_0x4e461d['item']);if(_0x4e461d['item']['is']('element')&&_0x3d6c8d['model']['schema']['isBlock'](_0x4e461d['item'])&&!_0x4c6247['getCustomProperty']('addHighlight')){_0x19e85f['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x4c6247),_0x19e85f['writer']['setAttribute']('data-suggestion',_0x161625,_0x4c6247),_0x19e85f['writer']['setAttribute']('data-author-id',_0x7bc2f9,_0x4c6247),_0x19e85f['mapper']['bindElementToMarker'](_0x4c6247,_0x4e461d['markerName']),_0x230906||(this['_activeMarkers']['includes'](_0x4e461d['markerName'])?_0x19e85f['writer']['addClass']('ck-suggestion-marker--active',_0x4c6247):_0x19e85f['writer']['removeClass']('ck-suggestion-marker--active',_0x4c6247));for(const _0x53479d of _0x3d6c8d['model']['createRangeIn'](_0x4e461d['item'])['getItems']())_0x19e85f['consumable']['consume'](_0x53479d,_0x1bf180['name']);_0x19e85f['consumable']['consume'](_0x4e461d['item'],_0x1bf180['name']);}},_0x46ccdd=(_0x56b8f0,_0x5f3d3d,_0x307327,_0x3dddfa)=>{const _0x1e30a9=_0x307327['mapper']['markerNameToElements'](_0x5f3d3d['markerName']);if(_0x1e30a9){if(_0x3dddfa){const {subType:_0x124048}=_0x2c5b20(_0x5f3d3d['markerName']),_0x302715=_0x124048['split']('|')[0x0];if(!this['isBlockAttribute'](_0x302715))return;}for(const _0x2a9b6c of _0x1e30a9)_0x2a9b6c['getCustomProperty']('addHighlight')||(_0x307327['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x2a9b6c),_0x307327['writer']['removeAttribute']('data-suggestion',_0x2a9b6c),_0x307327['writer']['removeAttribute']('data-author-id',_0x2a9b6c),_0x307327['mapper']['unbindElementFromMarkerName'](_0x2a9b6c,_0x5f3d3d['markerName']));}};_0x3d6c8d['conversion']['for']('editingDowncast')['add'](_0x375359=>{_0x375359['on']('addMarker:suggestion:formatBlock',(_0x185875,_0xb3e059,_0x305d0b)=>{_0xcdd9e1(_0x185875,_0xb3e059,_0x305d0b,!0x1,!0x1);},{'priority':'high'});}),_0x3d6c8d['conversion']['for']('editingDowncast')['add'](_0x222261=>{_0x222261['on']('addMarker:suggestion:attribute',(_0x154521,_0x384129,_0x39b4c2)=>{_0xcdd9e1(_0x154521,_0x384129,_0x39b4c2,!0x1,!0x0);},{'priority':'high'});}),_0x3d6c8d['conversion']['for']('editingDowncast')['add'](_0x72f923=>{_0x72f923['on']('removeMarker:suggestion:formatBlock',(_0x2e80fd,_0x1577fa,_0x562bf2)=>{_0x46ccdd(0x0,_0x1577fa,_0x562bf2,!0x1);},{'priority':'high'});}),_0x3d6c8d['conversion']['for']('editingDowncast')['add'](_0x4266e9=>{_0x4266e9['on']('removeMarker:suggestion:attribute',(_0x36f363,_0x422d5e,_0x469109)=>{_0x46ccdd(0x0,_0x422d5e,_0x469109,!0x0);},{'priority':'high'});}),_0x3d6c8d['conversion']['for']('dataDowncast')['add'](_0x127eae=>{_0x127eae['on']('addMarker:suggestion:formatBlock',(_0x1d0a7f,_0x4c6b76,_0x466dcc)=>{_0xcdd9e1(_0x1d0a7f,_0x4c6b76,_0x466dcc,!0x0,!0x1);},{'priority':'highest'});}),_0x3d6c8d['conversion']['for']('dataDowncast')['add'](_0x45639b=>{_0x45639b['on']('addMarker:suggestion:attribute',(_0x27da6a,_0x249203,_0x306ef8)=>{_0xcdd9e1(_0x27da6a,_0x249203,_0x306ef8,!0x0,!0x0);},{'priority':'highest'});}),_0x3d6c8d['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x4b6fe4,_0x3a2fc5)=>{if(_0x3a2fc5['options']['showSuggestionHighlights']){const {id:_0x475266,authorId:_0xad43e3}=_0x2c5b20(_0x4b6fe4);return _0x4b6fe4['includes'](':split')||_0x4b6fe4['includes'](':merge')?{'group':'suggestion','name':_0x4b6fe4['substr'](0xb),'attributes':{'data-suggestion':_0x475266,'data-author-id':_0xad43e3}}:null;}return{'group':'suggestion','name':_0x4b6fe4['substr'](0xb)};}});const _0x3eccf4=(_0x518585,_0x1ffb11,_0x57f5a1,_0x2ac22f,_0x20c73f)=>{if(_0x2ac22f&&!_0x57f5a1['options']['showSuggestionHighlights'])return;if(!_0x57f5a1['consumable']['test'](_0x1ffb11['markerRange'],_0x518585['name']))return;const _0x5e1bd7=this['_activeMarkers'],_0x215b2c=_0x1ffb11['markerRange']['getWalker'](),_0x3ae653=_0x1ffb11['markerRange']['start'],_0x9662b1=_0x3d6c8d['model']['schema'];let _0x55a5ca=null,_0x67c186=null,_0x23d68c=!0x1,_0x3ddfdb=!0x1;for(const _0x29b3b2 of _0x215b2c){const _0x436ae1=_0x29b3b2['item'];_0x23d68c=_0x23d68c||_0x9662b1['isContent'](_0x436ae1);const _0x1fc0f6=_0x57f5a1['mapper']['toViewElement'](_0x436ae1);if(_0x1fc0f6&&_0x1fc0f6['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x29b3b2['type']&&(_0x9662b1['isBlock'](_0x436ae1)&&!_0x9662b1['isLimit'](_0x436ae1)&&(_0x436ae1['nextSibling']||_0x3ae653['isAtEnd']?_0x55a5ca&&_0x55a5ca['parent']==_0x436ae1||(_0x55a5ca=_0x436ae1,_0x1a1d27(_0x29b3b2['previousPosition']),_0x3ddfdb=!0x0):_0x67c186=_0x67c186||_0x29b3b2['previousPosition']));}function _0x1a1d27(_0x59f37c){const {id:_0x5a8b4c,authorId:_0x40afd7}=_0x2c5b20(_0x1ffb11['markerName']),_0x369625=_0x57f5a1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x20c73f,'data-suggestion':_0x5a8b4c,'data-author-id':_0x40afd7}),_0xe33d5=_0x57f5a1['mapper']['toViewPosition'](_0x59f37c);!_0x2ac22f&&_0x5e1bd7['includes'](_0x1ffb11['markerName'])&&_0x57f5a1['writer']['addClass']('ck-suggestion-marker--active',_0x369625),_0x57f5a1['writer']['insert'](_0xe33d5,_0x369625),_0x57f5a1['mapper']['bindElementToMarker'](_0x369625,_0x1ffb11['markerName']);}_0x23d68c||_0x3ddfdb||!_0x67c186||_0x1a1d27(_0x67c186);};_0x3d6c8d['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3979b5,_0x463544,_0xecee7c)=>{_0x3eccf4(_0x3979b5,_0x463544,_0xecee7c,!0x1,'merge');},{'priority':'high'}),_0x3d6c8d['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x190ddf,_0x3b85fd,_0x3c2b20)=>{_0x3eccf4(_0x190ddf,_0x3b85fd,_0x3c2b20,!0x0,'merge');},{'priority':'high'}),_0x3d6c8d['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x19adea,_0x45358b,_0x509936)=>{_0x3eccf4(_0x19adea,_0x45358b,_0x509936,!0x1,'split');},{'priority':'high'}),_0x3d6c8d['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xf53097,_0x286abe,_0x27d395)=>{_0x3eccf4(_0xf53097,_0x286abe,_0x27d395,!0x0,'split');},{'priority':'high'}),_0x3d6c8d['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x13500e,_0x5e9f49,_0x1b7014)=>{((_0x471798,_0x1f9464,_0x5de9e1)=>{const _0x3882d7=_0x5de9e1['mapper']['markerNameToElements'](_0x1f9464['markerName']);if(_0x3882d7){for(const _0x4fa3c7 of _0x3882d7)(_0x4fa3c7['hasClass']('ck-suggestion-marker-split')||_0x4fa3c7['hasClass']('ck-suggestion-marker-merge'))&&(_0x5de9e1['mapper']['unbindElementFromMarkerName'](_0x4fa3c7,_0x1f9464['markerName']),_0x5de9e1['writer']['remove'](_0x4fa3c7));}})(0x0,_0x5e9f49,_0x1b7014);},{'priority':'high'});const _0x4ac6f0=(_0x3a841c,_0x589fed,_0x57afe9,_0x1007c5)=>{if(_0x1007c5&&!_0x57afe9['options']['showSuggestionHighlights'])return;const _0x52f97e=_0x589fed['markerRange']['start'],_0x16ddfc=_0x589fed['markerRange']['end'],_0x1032aa=_0x3d6c8d['model']['schema'];if(!_0x52f97e['isTouching'](_0x16ddfc)||!_0x52f97e['nodeAfter'])return;const _0x58769a=_0x52f97e['nodeAfter'];if(_0x1032aa['isBlock'](_0x58769a)&&!_0x1032aa['isLimit'](_0x58769a)&&_0x1032aa['checkChild'](_0x58769a,'$text')){if(!_0x57afe9['consumable']['consume'](_0x589fed['markerRange'],_0x3a841c['name']))return;const {id:_0x32d16b,authorId:_0x59885a}=_0x2c5b20(_0x589fed['markerName']),_0x4b6a1b=_0x57afe9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x32d16b,'data-author-id':_0x59885a}),_0x352419=_0x57afe9['mapper']['toViewPosition'](_0x16ddfc);!_0x1007c5&&this['_activeMarkers']['includes'](_0x589fed['markerName'])&&_0x57afe9['writer']['addClass']('ck-suggestion-marker--active',_0x4b6a1b),_0x57afe9['writer']['insert'](_0x352419,_0x4b6a1b),_0x57afe9['mapper']['bindElementToMarker'](_0x4b6a1b,_0x589fed['markerName']);}};_0x3d6c8d['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x39dae2,_0x54df8f,_0xeba42b)=>{_0x4ac6f0(_0x39dae2,_0x54df8f,_0xeba42b,!0x1);},{'priority':'high'}),_0x3d6c8d['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x36ada9,_0x1999d5,_0x327271)=>{_0x4ac6f0(_0x36ada9,_0x1999d5,_0x327271,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3332f1,_0x58855a,_0x1e2276)=>{this['_activeMarkers']=_0x1e2276['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x191c7a){this['_blockAttributeKeys']['add'](_0x191c7a);}['registerInlineAttribute'](_0x3b5579){this['_inlineAttributeKeys']['add'](_0x3b5579);}['isBlockAttribute'](_0x294024){return this['_blockAttributeKeys']['has'](_0x294024);}['isInlineAttribute'](_0x1f8411){return this['_inlineAttributeKeys']['has'](_0x1f8411);}['isRegisteredAttribute'](_0x12b2f2){return this['isInlineAttribute'](_0x12b2f2)||this['isBlockAttribute'](_0x12b2f2);}['_getClassName'](_0x43bc18,_0x4ced93){if('attribute'!=_0x43bc18)return'ck-suggestion-marker-'+_0x43bc18;const _0xe1808d=_0x4ced93['split']('|')[0x0];return this['isBlockAttribute'](_0xe1808d)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x520402 extends Error{}class InvalidDateTimeError extends _0x520402{constructor(_0x3e8092){super('Invalid\x20DateTime:\x20'+_0x3e8092['toMessage']());}}class InvalidIntervalError extends _0x520402{constructor(_0x1a07b4){super('Invalid\x20Interval:\x20'+_0x1a07b4['toMessage']());}}class InvalidDurationError extends _0x520402{constructor(_0x23b31f){super('Invalid\x20Duration:\x20'+_0x23b31f['toMessage']());}}class ConflictingSpecificationError extends _0x520402{}class InvalidUnitError extends _0x520402{constructor(_0x42e206){super('Invalid\x20unit\x20'+_0x42e206);}}class InvalidArgumentError extends _0x520402{}class ZoneIsAbstractError extends _0x520402{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x3b2b30='numeric',_0xb153fa='short',_0x13af5f='long',_0x5b0b18={'year':_0x3b2b30,'month':_0x3b2b30,'day':_0x3b2b30},_0x969202={'year':_0x3b2b30,'month':_0xb153fa,'day':_0x3b2b30},_0x3a6624={'year':_0x3b2b30,'month':_0xb153fa,'day':_0x3b2b30,'weekday':_0xb153fa},_0x447113={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30},_0x516648={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30,'weekday':_0x13af5f},_0x49b938={'hour':_0x3b2b30,'minute':_0x3b2b30},_0x5c88b6={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30},_0x283c1c={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'timeZoneName':_0xb153fa},_0x247e8c={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'timeZoneName':_0x13af5f},_0x2608a7={'hour':_0x3b2b30,'minute':_0x3b2b30,'hourCycle':'h23'},_0x33b437={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'hourCycle':'h23'},_0x155fe0={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'hourCycle':'h23','timeZoneName':_0xb153fa},_0x371bec={'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'hourCycle':'h23','timeZoneName':_0x13af5f},_0x5bb8e0={'year':_0x3b2b30,'month':_0x3b2b30,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30},_0x2892ec={'year':_0x3b2b30,'month':_0x3b2b30,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30},_0x33622c={'year':_0x3b2b30,'month':_0xb153fa,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30},_0x1fd986={'year':_0x3b2b30,'month':_0xb153fa,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30},_0x4a21c2={'year':_0x3b2b30,'month':_0xb153fa,'day':_0x3b2b30,'weekday':_0xb153fa,'hour':_0x3b2b30,'minute':_0x3b2b30},_0x2cb346={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30,'timeZoneName':_0xb153fa},_0x4b67dc={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30,'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'timeZoneName':_0xb153fa},_0x5939cc={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30,'weekday':_0x13af5f,'hour':_0x3b2b30,'minute':_0x3b2b30,'timeZoneName':_0x13af5f},_0x596f13={'year':_0x3b2b30,'month':_0x13af5f,'day':_0x3b2b30,'weekday':_0x13af5f,'hour':_0x3b2b30,'minute':_0x3b2b30,'second':_0x3b2b30,'timeZoneName':_0x13af5f};class _0x437bf3{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x47d7a7,_0x5b85e6){throw new ZoneIsAbstractError();}['formatOffset'](_0x5c5b08,_0x236c96){throw new ZoneIsAbstractError();}['offset'](_0x43b3c6){throw new ZoneIsAbstractError();}['equals'](_0x5510d9){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let _0x1b7a80=null;class SystemZone extends _0x437bf3{static get['instance'](){return null===_0x1b7a80&&(_0x1b7a80=new SystemZone()),_0x1b7a80;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x183270,{format:_0x19cb78,locale:_0x40134f}){return _0xadd7f(_0x183270,_0x19cb78,_0x40134f);}['formatOffset'](_0x593102,_0x2538d6){return _0x53a01b(this['offset'](_0x593102),_0x2538d6);}['offset'](_0x156b33){return-new Date(_0x156b33)['getTimezoneOffset']();}['equals'](_0xea4058){return'system'===_0xea4058['type'];}get['isValid'](){return!0x0;}}const _0x54c0a0=new Map(),_0x2966f7={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0x34cd68=new Map();class _0x350bf1 extends _0x437bf3{static['create'](_0x33093f){let _0x2ede57=_0x34cd68['get'](_0x33093f);return void 0x0===_0x2ede57&&_0x34cd68['set'](_0x33093f,_0x2ede57=new _0x350bf1(_0x33093f)),_0x2ede57;}static['resetCache'](){_0x34cd68['clear'](),_0x54c0a0['clear']();}static['isValidSpecifier'](_0x2829c8){return this['isValidZone'](_0x2829c8);}static['isValidZone'](_0x26541e){if(!_0x26541e)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x26541e})['format'](),!0x0;}catch(_0x250290){return!0x1;}}constructor(_0xad493a){super(),this['zoneName']=_0xad493a,this['valid']=_0x350bf1['isValidZone'](_0xad493a);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x442080,{format:_0x39a720,locale:_0x41243d}){return _0xadd7f(_0x442080,_0x39a720,_0x41243d,this['name']);}['formatOffset'](_0x12660f,_0x263b0c){return _0x53a01b(this['offset'](_0x12660f),_0x263b0c);}['offset'](_0x2a8d9c){if(!this['valid'])return NaN;const _0x2147e9=new Date(_0x2a8d9c);if(isNaN(_0x2147e9))return NaN;const _0x3bbd11=function(_0x2a9c69){let _0x3b571a=_0x54c0a0['get'](_0x2a9c69);return void 0x0===_0x3b571a&&(_0x3b571a=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x2a9c69,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x54c0a0['set'](_0x2a9c69,_0x3b571a)),_0x3b571a;}(this['name']);let [_0x395e96,_0x205836,_0x4c08be,_0x195bb0,_0x2cd284,_0x5af694,_0x1504f0]=_0x3bbd11['formatToParts']?function(_0x3f80cb,_0x284c4d){const _0x48a900=_0x3f80cb['formatToParts'](_0x284c4d),_0x157967=[];for(let _0x18bdb0=0x0;_0x18bdb0<_0x48a900['length'];_0x18bdb0++){const {type:_0x54236f,value:_0xa73374}=_0x48a900[_0x18bdb0],_0x178ca6=_0x2966f7[_0x54236f];'era'===_0x54236f?_0x157967[_0x178ca6]=_0xa73374:_0x383223(_0x178ca6)||(_0x157967[_0x178ca6]=parseInt(_0xa73374,0xa));}return _0x157967;}(_0x3bbd11,_0x2147e9):function(_0x4aa7ff,_0x2c01c5){const _0x23f0db=_0x4aa7ff['format'](_0x2c01c5)['replace'](/\u200E/g,''),_0x1131db=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x23f0db),[,_0x5eaa93,_0x3dfe75,_0x161018,_0x4e52d9,_0x191f48,_0x448bf8,_0x1844a0]=_0x1131db;return[_0x161018,_0x5eaa93,_0x3dfe75,_0x4e52d9,_0x191f48,_0x448bf8,_0x1844a0];}(_0x3bbd11,_0x2147e9);'BC'===_0x195bb0&&(_0x395e96=0x1-Math['abs'](_0x395e96));let _0x5daf39=+_0x2147e9;const _0x462c3f=_0x5daf39%0x3e8;return _0x5daf39-=_0x462c3f>=0x0?_0x462c3f:0x3e8+_0x462c3f,(_0x244f53({'year':_0x395e96,'month':_0x205836,'day':_0x4c08be,'hour':0x18===_0x2cd284?0x0:_0x2cd284,'minute':_0x5af694,'second':_0x1504f0,'millisecond':0x0})-_0x5daf39)/0xea60;}['equals'](_0x2da8a7){return'iana'===_0x2da8a7['type']&&_0x2da8a7['name']===this['name'];}get['isValid'](){return this['valid'];}}let _0x50d194={};const _0x3b1eb0=new Map();function _0x343639(_0x3d3aec,_0x17dc8f={}){const _0x388013=JSON['stringify']([_0x3d3aec,_0x17dc8f]);let _0x1e4a10=_0x3b1eb0['get'](_0x388013);return void 0x0===_0x1e4a10&&(_0x1e4a10=new Intl['DateTimeFormat'](_0x3d3aec,_0x17dc8f),_0x3b1eb0['set'](_0x388013,_0x1e4a10)),_0x1e4a10;}const _0x4fc637=new Map(),ts=new Map();let _0x11f101=null;const _0x1e8a42=new Map();function _0x432dfc(_0x17b6fc){let _0x10fe0c=_0x1e8a42['get'](_0x17b6fc);return void 0x0===_0x10fe0c&&(_0x10fe0c=new Intl['DateTimeFormat'](_0x17b6fc)['resolvedOptions'](),_0x1e8a42['set'](_0x17b6fc,_0x10fe0c)),_0x10fe0c;}const _0x5edebb=new Map();function _0x169798(_0x2b3a0f,_0x238153,_0xc779e1,_0x473e26){const _0x44fef9=_0x2b3a0f['listingMode']();return'error'===_0x44fef9?null:'en'===_0x44fef9?_0xc779e1(_0x238153):_0x473e26(_0x238153);}class PolyNumberFormatter{constructor(_0x55b33d,_0x50a5a5,_0x891f43){this['padTo']=_0x891f43['padTo']||0x0,this['floor']=_0x891f43['floor']||!0x1;const {padTo:_0x571a43,floor:_0x346775,..._0x36b645}=_0x891f43;if(!_0x50a5a5||Object['keys'](_0x36b645)['length']>0x0){const _0x4fb7de={'useGrouping':!0x1,..._0x891f43};_0x891f43['padTo']>0x0&&(_0x4fb7de['minimumIntegerDigits']=_0x891f43['padTo']),this['inf']=function(_0x36ff0e,_0xa9b49d={}){const _0x5e936d=JSON['stringify']([_0x36ff0e,_0xa9b49d]);let _0x4192f9=_0x4fc637['get'](_0x5e936d);return void 0x0===_0x4192f9&&(_0x4192f9=new Intl['NumberFormat'](_0x36ff0e,_0xa9b49d),_0x4fc637['set'](_0x5e936d,_0x4192f9)),_0x4192f9;}(_0x55b33d,_0x4fb7de);}}['format'](_0x5c5d1e){if(this['inf']){const _0x1bec19=this['floor']?Math['floor'](_0x5c5d1e):_0x5c5d1e;return this['inf']['format'](_0x1bec19);}return _0x412aaf(this['floor']?Math['floor'](_0x5c5d1e):_0x2f93fc(_0x5c5d1e,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x534eea,_0x2a2571,_0x3fb372){let _0x179574;if(this['opts']=_0x3fb372,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x534eea;else{if('fixed'===_0x534eea['zone']['type']){const _0x51925a=_0x534eea['offset']/0x3c*-0x1,_0xd262c5=_0x51925a>=0x0?'Etc/GMT+'+_0x51925a:'Etc/GMT'+_0x51925a;0x0!==_0x534eea['offset']&&_0x350bf1['create'](_0xd262c5)['valid']?(_0x179574=_0xd262c5,this['dt']=_0x534eea):(_0x179574='UTC',this['dt']=0x0===_0x534eea['offset']?_0x534eea:_0x534eea['setZone']('UTC')['plus']({'minutes':_0x534eea['offset']}),this['originalZone']=_0x534eea['zone']);}else'system'===_0x534eea['zone']['type']?this['dt']=_0x534eea:'iana'===_0x534eea['zone']['type']?(this['dt']=_0x534eea,_0x179574=_0x534eea['zone']['name']):(_0x179574='UTC',this['dt']=_0x534eea['setZone']('UTC')['plus']({'minutes':_0x534eea['offset']}),this['originalZone']=_0x534eea['zone']);}const _0x1d89bc={...this['opts']};_0x1d89bc['timeZone']=_0x1d89bc['timeZone']||_0x179574,this['dtf']=_0x343639(_0x2a2571,_0x1d89bc);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x30b8f6})=>_0x30b8f6)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x204f6d=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x204f6d['map'](_0xfc0d57=>{if('timeZoneName'===_0xfc0d57['type']){const _0x1e81f2=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0xfc0d57,'value':_0x1e81f2};}return _0xfc0d57;}):_0x204f6d;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x4e79ea,_0x551e27,_0x20f0d0){this['opts']={'style':'long',..._0x20f0d0},!_0x551e27&&_0x4fdd15()&&(this['rtf']=function(_0x20789a,_0x8d7fd6={}){const {base:_0x503c42,..._0x25958b}=_0x8d7fd6,_0x1e01f1=JSON['stringify']([_0x20789a,_0x25958b]);let _0x522d54=ts['get'](_0x1e01f1);return void 0x0===_0x522d54&&(_0x522d54=new Intl['RelativeTimeFormat'](_0x20789a,_0x8d7fd6),ts['set'](_0x1e01f1,_0x522d54)),_0x522d54;}(_0x4e79ea,_0x20f0d0));}['format'](_0x558deb,_0x1fe6cb){return this['rtf']?this['rtf']['format'](_0x558deb,_0x1fe6cb):function(_0x44ec17,_0x3be0f4,_0xa070f4='always',_0x27af5b=!0x1){const _0x3539f8={'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.']},_0x3fba7a=-0x1===['hours','minutes','seconds']['indexOf'](_0x44ec17);if('auto'===_0xa070f4&&_0x3fba7a){const _0x39b711='days'===_0x44ec17;switch(_0x3be0f4){case 0x1:return _0x39b711?'tomorrow':'next\x20'+_0x3539f8[_0x44ec17][0x0];case-0x1:return _0x39b711?'yesterday':'last\x20'+_0x3539f8[_0x44ec17][0x0];case 0x0:return _0x39b711?'today':'this\x20'+_0x3539f8[_0x44ec17][0x0];}}const _0x5b460b=Object['is'](_0x3be0f4,-0x0)||_0x3be0f4<0x0,_0x4f3355=Math['abs'](_0x3be0f4),_0x5854c5=0x1===_0x4f3355,_0x326cf4=_0x3539f8[_0x44ec17],_0x708eb5=_0x27af5b?_0x5854c5?_0x326cf4[0x1]:_0x326cf4[0x2]||_0x326cf4[0x1]:_0x5854c5?_0x3539f8[_0x44ec17][0x0]:_0x44ec17;return _0x5b460b?_0x4f3355+'\x20'+_0x708eb5+'\x20ago':'in\x20'+_0x4f3355+'\x20'+_0x708eb5;}(_0x1fe6cb,_0x558deb,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x9beb71,_0x4e9cc1){return this['rtf']?this['rtf']['formatToParts'](_0x9beb71,_0x4e9cc1):[];}}const _0x4110f3={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x5b0f5e{static['fromOpts'](_0x58e3d8){return _0x5b0f5e['create'](_0x58e3d8['locale'],_0x58e3d8['numberingSystem'],_0x58e3d8['outputCalendar'],_0x58e3d8['weekSettings'],_0x58e3d8['defaultToEN']);}static['create'](_0xf62a12,_0x4cd863,_0x902b3f,_0x2fbefb,_0x579e23=!0x1){const _0x5007b5=_0xf62a12||Settings['defaultLocale'],_0x1857ec=_0x5007b5||(_0x579e23?'en-US':_0x11f101||(_0x11f101=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x11f101)),_0x1668c9=_0x4cd863||Settings['defaultNumberingSystem'],_0x5dd424=_0x902b3f||Settings['defaultOutputCalendar'],_0x3a1afa=_0x361df0(_0x2fbefb)||Settings['defaultWeekSettings'];return new _0x5b0f5e(_0x1857ec,_0x1668c9,_0x5dd424,_0x3a1afa,_0x5007b5);}static['resetCache'](){_0x11f101=null,_0x3b1eb0['clear'](),_0x4fc637['clear'](),ts['clear'](),_0x1e8a42['clear'](),_0x5edebb['clear']();}static['fromObject']({locale:_0x3c1edc,numberingSystem:_0x17bcae,outputCalendar:_0x7a0cfc,weekSettings:_0x2aa5a7}={}){return _0x5b0f5e['create'](_0x3c1edc,_0x17bcae,_0x7a0cfc,_0x2aa5a7);}constructor(_0x3729ea,_0x394160,_0x5b0e30,_0x1295cc,_0x5e8f71){const [_0x27fef0,_0x497587,_0xe6d07]=function(_0x12770d){const _0x487103=_0x12770d['indexOf']('-x-');-0x1!==_0x487103&&(_0x12770d=_0x12770d['substring'](0x0,_0x487103));const _0x3ea2c1=_0x12770d['indexOf']('-u-');if(-0x1===_0x3ea2c1)return[_0x12770d];{let _0x533227,_0x2a3071;try{_0x533227=_0x343639(_0x12770d)['resolvedOptions'](),_0x2a3071=_0x12770d;}catch(_0x277b7f){const _0x14fc25=_0x12770d['substring'](0x0,_0x3ea2c1);_0x533227=_0x343639(_0x14fc25)['resolvedOptions'](),_0x2a3071=_0x14fc25;}const {numberingSystem:_0x3fbc6c,calendar:_0x2240cb}=_0x533227;return[_0x2a3071,_0x3fbc6c,_0x2240cb];}}(_0x3729ea);this['locale']=_0x27fef0,this['numberingSystem']=_0x394160||_0x497587||null,this['outputCalendar']=_0x5b0e30||_0xe6d07||null,this['weekSettings']=_0x1295cc,this['intl']=function(_0x3da9fe,_0x4e2fbb,_0x15bf4b){return _0x15bf4b||_0x4e2fbb?(_0x3da9fe['includes']('-u-')||(_0x3da9fe+='-u'),_0x15bf4b&&(_0x3da9fe+='-ca-'+_0x15bf4b),_0x4e2fbb&&(_0x3da9fe+='-nu-'+_0x4e2fbb),_0x3da9fe):_0x3da9fe;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x5e8f71,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x1545e0;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x1545e0=this)['numberingSystem']||'latn'===_0x1545e0['numberingSystem'])&&('latn'===_0x1545e0['numberingSystem']||!_0x1545e0['locale']||_0x1545e0['locale']['startsWith']('en')||'latn'===_0x432dfc(_0x1545e0['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0xe264b2=this['isEnglish'](),_0x999e96=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0xe264b2&&_0x999e96?'en':'intl';}['clone'](_0x340161){return _0x340161&&0x0!==Object['getOwnPropertyNames'](_0x340161)['length']?_0x5b0f5e['create'](_0x340161['locale']||this['specifiedLocale'],_0x340161['numberingSystem']||this['numberingSystem'],_0x340161['outputCalendar']||this['outputCalendar'],_0x361df0(_0x340161['weekSettings'])||this['weekSettings'],_0x340161['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x530316={}){return this['clone']({..._0x530316,'defaultToEN':!0x0});}['redefaultToSystem'](_0x318583={}){return this['clone']({..._0x318583,'defaultToEN':!0x1});}['months'](_0x1faeb9,_0x1cc364=!0x1){return _0x169798(this,_0x1faeb9,_0x58a009,()=>{const _0x53bdf5=_0x1cc364?{'month':_0x1faeb9,'day':'numeric'}:{'month':_0x1faeb9},_0xefc47e=_0x1cc364?'format':'standalone';return this['monthsCache'][_0xefc47e][_0x1faeb9]||(this['monthsCache'][_0xefc47e][_0x1faeb9]=function(_0x106ce8){const _0x456dd8=[];for(let _0x2ccc68=0x1;_0x2ccc68<=0xc;_0x2ccc68++){const _0x39927c=DateTime['utc'](0x7d9,_0x2ccc68,0x1);_0x456dd8['push'](_0x106ce8(_0x39927c));}return _0x456dd8;}(_0x12ddf6=>this['extract'](_0x12ddf6,_0x53bdf5,'month'))),this['monthsCache'][_0xefc47e][_0x1faeb9];});}['weekdays'](_0x114d0f,_0x5dd844=!0x1){return _0x169798(this,_0x114d0f,_0x5af4fd,()=>{const _0x48773a=_0x5dd844?{'weekday':_0x114d0f,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x114d0f},_0x4229f3=_0x5dd844?'format':'standalone';return this['weekdaysCache'][_0x4229f3][_0x114d0f]||(this['weekdaysCache'][_0x4229f3][_0x114d0f]=function(_0x3c40e0){const _0x40f64f=[];for(let _0x40eea9=0x1;_0x40eea9<=0x7;_0x40eea9++){const _0x4b8dfe=DateTime['utc'](0x7e0,0xb,0xd+_0x40eea9);_0x40f64f['push'](_0x3c40e0(_0x4b8dfe));}return _0x40f64f;}(_0x1657bc=>this['extract'](_0x1657bc,_0x48773a,'weekday'))),this['weekdaysCache'][_0x4229f3][_0x114d0f];});}['meridiems'](){return _0x169798(this,void 0x0,()=>_0x4b4b64,()=>{if(!this['meridiemCache']){const _0x250b1f={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x482def=>this['extract'](_0x482def,_0x250b1f,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x155f93){return _0x169798(this,_0x155f93,_0x3f1a,()=>{const _0x53617d={'era':_0x155f93};return this['eraCache'][_0x155f93]||(this['eraCache'][_0x155f93]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x494382=>this['extract'](_0x494382,_0x53617d,'era'))),this['eraCache'][_0x155f93];});}['extract'](_0x936825,_0x513ae9,_0x5576b8){const _0x6835c5=this['dtFormatter'](_0x936825,_0x513ae9)['formatToParts']()['find'](_0x5f0bde=>_0x5f0bde['type']['toLowerCase']()===_0x5576b8);return _0x6835c5?_0x6835c5['value']:null;}['numberFormatter'](_0x7f6587={}){return new PolyNumberFormatter(this['intl'],_0x7f6587['forceSimple']||this['fastNumbers'],_0x7f6587);}['dtFormatter'](_0x9f58fe,_0x1c3cd5={}){return new PolyDateFormatter(_0x9f58fe,this['intl'],_0x1c3cd5);}['relFormatter'](_0x16b0f5={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x16b0f5);}['listFormatter'](_0x38dd86={}){return function(_0x34f981,_0x490248={}){const _0x5b1ca4=JSON['stringify']([_0x34f981,_0x490248]);let _0x32e4a3=_0x50d194[_0x5b1ca4];return _0x32e4a3||(_0x32e4a3=new Intl['ListFormat'](_0x34f981,_0x490248),_0x50d194[_0x5b1ca4]=_0x32e4a3),_0x32e4a3;}(this['intl'],_0x38dd86);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x432dfc(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x426517()?function(_0x1af24b){let _0x202b0f=_0x5edebb['get'](_0x1af24b);if(!_0x202b0f){const _0x2afba4=new Intl['Locale'](_0x1af24b);_0x202b0f='getWeekInfo'in _0x2afba4?_0x2afba4['getWeekInfo']():_0x2afba4['weekInfo'],'minimalDays'in _0x202b0f||(_0x202b0f={..._0x4110f3,..._0x202b0f}),_0x5edebb['set'](_0x1af24b,_0x202b0f);}return _0x202b0f;}(this['locale']):_0x4110f3;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0xf73627){return this['locale']===_0xf73627['locale']&&this['numberingSystem']===_0xf73627['numberingSystem']&&this['outputCalendar']===_0xf73627['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let _0x2ce3c9=null;class FixedOffsetZone extends _0x437bf3{static get['utcInstance'](){return null===_0x2ce3c9&&(_0x2ce3c9=new FixedOffsetZone(0x0)),_0x2ce3c9;}static['instance'](_0xd3f04){return 0x0===_0xd3f04?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0xd3f04);}static['parseSpecifier'](_0x440ef0){if(_0x440ef0){const _0x314426=_0x440ef0['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x314426)return new FixedOffsetZone(_0x445838(_0x314426[0x1],_0x314426[0x2]));}return null;}constructor(_0x1095b1){super(),this['fixed']=_0x1095b1;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x53a01b(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x53a01b(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x44445f,_0x5af240){return _0x53a01b(this['fixed'],_0x5af240);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x2c3147){return'fixed'===_0x2c3147['type']&&_0x2c3147['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x857475 extends _0x437bf3{constructor(_0x5e44e8){super(),this['zoneName']=_0x5e44e8;}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 _0xdb52ed(_0x2d5ca5,_0x2ea5f4){if(_0x383223(_0x2d5ca5)||null===_0x2d5ca5)return _0x2ea5f4;if(_0x2d5ca5 instanceof _0x437bf3)return _0x2d5ca5;if(function(_0x55999f){return'string'==typeof _0x55999f;}(_0x2d5ca5)){const _0x509cf=_0x2d5ca5['toLowerCase']();return'default'===_0x509cf?_0x2ea5f4:'local'===_0x509cf||'system'===_0x509cf?SystemZone['instance']:'utc'===_0x509cf||'gmt'===_0x509cf?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x509cf)||_0x350bf1['create'](_0x2d5ca5);}return _0x59d4b8(_0x2d5ca5)?FixedOffsetZone['instance'](_0x2d5ca5):'object'==typeof _0x2d5ca5&&'offset'in _0x2d5ca5&&'function'==typeof _0x2d5ca5['offset']?_0x2d5ca5:new _0x857475(_0x2d5ca5);}const _0x3a061c={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x2733e8={'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]},_0x2b0c62=_0x3a061c['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x3c2c87=new Map();function _0x556ffd({numberingSystem:_0x41592a},_0x333fea=''){const _0x346405=_0x41592a||'latn';let _0x2935e2=_0x3c2c87['get'](_0x346405);void 0x0===_0x2935e2&&(_0x2935e2=new Map(),_0x3c2c87['set'](_0x346405,_0x2935e2));let _0x3f0f95=_0x2935e2['get'](_0x333fea);return void 0x0===_0x3f0f95&&(_0x3f0f95=new RegExp(''+_0x3a061c[_0x346405]+_0x333fea),_0x2935e2['set'](_0x333fea,_0x3f0f95)),_0x3f0f95;}let _0x2da383,_0x4c181c=()=>Date['now'](),_0x134c0d='system',_0x2dcca2=null,_0x56093c=null,_0x5b0a5a=null,_0x38671a=0x3c,_0x2a1651=null;class Settings{static get['now'](){return _0x4c181c;}static set['now'](_0x25e17a){_0x4c181c=_0x25e17a;}static set['defaultZone'](_0x1c060d){_0x134c0d=_0x1c060d;}static get['defaultZone'](){return _0xdb52ed(_0x134c0d,SystemZone['instance']);}static get['defaultLocale'](){return _0x2dcca2;}static set['defaultLocale'](_0x431745){_0x2dcca2=_0x431745;}static get['defaultNumberingSystem'](){return _0x56093c;}static set['defaultNumberingSystem'](_0x3017d6){_0x56093c=_0x3017d6;}static get['defaultOutputCalendar'](){return _0x5b0a5a;}static set['defaultOutputCalendar'](_0x2969a5){_0x5b0a5a=_0x2969a5;}static get['defaultWeekSettings'](){return _0x2a1651;}static set['defaultWeekSettings'](_0x149360){_0x2a1651=_0x361df0(_0x149360);}static get['twoDigitCutoffYear'](){return _0x38671a;}static set['twoDigitCutoffYear'](_0x441765){_0x38671a=_0x441765%0x64;}static get['throwOnInvalid'](){return _0x2da383;}static set['throwOnInvalid'](t){_0x2da383=t;}static['resetCaches'](){_0x5b0f5e['resetCache'](),_0x350bf1['resetCache'](),DateTime['resetCache'](),_0x3c2c87['clear']();}}class _0x4d1fed{constructor(_0x363560,_0x4580ba){this['reason']=_0x363560,this['explanation']=_0x4580ba;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x431a9a=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x1fa16b=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x1e2268(_0x2a7b85,_0x4ae9f2){return new _0x4d1fed('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x4ae9f2+'\x20(of\x20type\x20'+typeof _0x4ae9f2+')\x20as\x20a\x20'+_0x2a7b85+',\x20which\x20is\x20invalid');}function _0x5e1172(_0x837348,_0x22bfb8,_0x36bdb1){const _0x38c25e=new Date(Date['UTC'](_0x837348,_0x22bfb8-0x1,_0x36bdb1));_0x837348<0x64&&_0x837348>=0x0&&_0x38c25e['setUTCFullYear'](_0x38c25e['getUTCFullYear']()-0x76c);const _0x150f3e=_0x38c25e['getUTCDay']();return 0x0===_0x150f3e?0x7:_0x150f3e;}function _0x4cce22(_0x165f90,_0x271ba6,_0x2556cf){return _0x2556cf+(_0x1b5171(_0x165f90)?_0x1fa16b:_0x431a9a)[_0x271ba6-0x1];}function _0x59c1cc(_0x26ded2,_0x111304){const _0x41f6a4=_0x1b5171(_0x26ded2)?_0x1fa16b:_0x431a9a,_0x49a534=_0x41f6a4['findIndex'](_0x2aed50=>_0x2aed50<_0x111304);return{'month':_0x49a534+0x1,'day':_0x111304-_0x41f6a4[_0x49a534]};}function _0x77f2c2(_0x1e8a54,_0x521446){return(_0x1e8a54-_0x521446+0x7)%0x7+0x1;}function _0x58e98c(_0x13179d,_0xdfab9d=0x4,_0x503c40=0x1){const {year:_0x4ee950,month:_0x4f4985,day:_0x3cffe1}=_0x13179d,_0x4c15fc=_0x4cce22(_0x4ee950,_0x4f4985,_0x3cffe1),_0x3dc64b=_0x77f2c2(_0x5e1172(_0x4ee950,_0x4f4985,_0x3cffe1),_0x503c40);let _0x66a188,_0x2fec6b=Math['floor']((_0x4c15fc-_0x3dc64b+0xe-_0xdfab9d)/0x7);return _0x2fec6b<0x1?(_0x66a188=_0x4ee950-0x1,_0x2fec6b=_0x3ffde2(_0x66a188,_0xdfab9d,_0x503c40)):_0x2fec6b>_0x3ffde2(_0x4ee950,_0xdfab9d,_0x503c40)?(_0x66a188=_0x4ee950+0x1,_0x2fec6b=0x1):_0x66a188=_0x4ee950,{'weekYear':_0x66a188,'weekNumber':_0x2fec6b,'weekday':_0x3dc64b,..._0x11c43f(_0x13179d)};}function _0x3e9439(_0x2fc73d,_0x42eb17=0x4,_0x578516=0x1){const {weekYear:_0x5c51c0,weekNumber:_0x3db03f,weekday:_0x3b3337}=_0x2fc73d,_0xb736de=_0x77f2c2(_0x5e1172(_0x5c51c0,0x1,_0x42eb17),_0x578516),_0x29f3a0=_0xee03c(_0x5c51c0);let _0x49c7d6,_0x5442d6=0x7*_0x3db03f+_0x3b3337-_0xb736de-0x7+_0x42eb17;_0x5442d6<0x1?(_0x49c7d6=_0x5c51c0-0x1,_0x5442d6+=_0xee03c(_0x49c7d6)):_0x5442d6>_0x29f3a0?(_0x49c7d6=_0x5c51c0+0x1,_0x5442d6-=_0xee03c(_0x5c51c0)):_0x49c7d6=_0x5c51c0;const {month:_0x13c0fb,day:_0x4e5cfa}=_0x59c1cc(_0x49c7d6,_0x5442d6);return{'year':_0x49c7d6,'month':_0x13c0fb,'day':_0x4e5cfa,..._0x11c43f(_0x2fc73d)};}function _0x3d22b3(_0x12db5a){const {year:_0x716267,month:_0x4acf54,day:_0x11a264}=_0x12db5a;return{'year':_0x716267,'ordinal':_0x4cce22(_0x716267,_0x4acf54,_0x11a264),..._0x11c43f(_0x12db5a)};}function _0x40bf3a(_0x509bb9){const {year:_0x141a68,ordinal:_0x4de33f}=_0x509bb9,{month:_0x20424d,day:_0x2072de}=_0x59c1cc(_0x141a68,_0x4de33f);return{'year':_0x141a68,'month':_0x20424d,'day':_0x2072de,..._0x11c43f(_0x509bb9)};}function _0x17d2be(_0x526aa8,_0x29cc6d){if(!_0x383223(_0x526aa8['localWeekday'])||!_0x383223(_0x526aa8['localWeekNumber'])||!_0x383223(_0x526aa8['localWeekYear'])){if(!_0x383223(_0x526aa8['weekday'])||!_0x383223(_0x526aa8['weekNumber'])||!_0x383223(_0x526aa8['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x383223(_0x526aa8['localWeekday'])||(_0x526aa8['weekday']=_0x526aa8['localWeekday']),_0x383223(_0x526aa8['localWeekNumber'])||(_0x526aa8['weekNumber']=_0x526aa8['localWeekNumber']),_0x383223(_0x526aa8['localWeekYear'])||(_0x526aa8['weekYear']=_0x526aa8['localWeekYear']),delete _0x526aa8['localWeekday'],delete _0x526aa8['localWeekNumber'],delete _0x526aa8['localWeekYear'],{'minDaysInFirstWeek':_0x29cc6d['getMinDaysInFirstWeek'](),'startOfWeek':_0x29cc6d['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function _0x48cc95(_0x4991b2){const _0x413475=_0x5c4cf6(_0x4991b2['year']),_0x22b5ec=_0x1a3a74(_0x4991b2['month'],0x1,0xc),_0x9cb58f=_0x1a3a74(_0x4991b2['day'],0x1,_0x4816a6(_0x4991b2['year'],_0x4991b2['month']));return _0x413475?_0x22b5ec?!_0x9cb58f&&_0x1e2268('day',_0x4991b2['day']):_0x1e2268('month',_0x4991b2['month']):_0x1e2268('year',_0x4991b2['year']);}function _0x217063(_0x3ec758){const {hour:_0x4ec8ba,minute:_0x628b9c,second:_0x479831,millisecond:_0x3ab059}=_0x3ec758,_0x1dbbb2=_0x1a3a74(_0x4ec8ba,0x0,0x17)||0x18===_0x4ec8ba&&0x0===_0x628b9c&&0x0===_0x479831&&0x0===_0x3ab059,_0x2e4d54=_0x1a3a74(_0x628b9c,0x0,0x3b),_0x1aac8b=_0x1a3a74(_0x479831,0x0,0x3b),_0x597ec6=_0x1a3a74(_0x3ab059,0x0,0x3e7);return _0x1dbbb2?_0x2e4d54?_0x1aac8b?!_0x597ec6&&_0x1e2268('millisecond',_0x3ab059):_0x1e2268('second',_0x479831):_0x1e2268('minute',_0x628b9c):_0x1e2268('hour',_0x4ec8ba);}function _0x383223(_0x311f94){return void 0x0===_0x311f94;}function _0x59d4b8(_0xf9370a){return'number'==typeof _0xf9370a;}function _0x5c4cf6(_0x544186){return'number'==typeof _0x544186&&_0x544186%0x1==0x0;}function _0x4fdd15(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x39b024){return!0x1;}}function _0x426517(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x26203b){return!0x1;}}function _0x1a5000(_0x1773b4,_0x19f827,_0x516703){if(0x0!==_0x1773b4['length'])return _0x1773b4['reduce']((_0x1cb259,_0x26fa63)=>{const _0x163082=[_0x19f827(_0x26fa63),_0x26fa63];return _0x1cb259&&_0x516703(_0x1cb259[0x0],_0x163082[0x0])===_0x1cb259[0x0]?_0x1cb259:_0x163082;},null)[0x1];}function _0x38402c(_0xd30e70,_0x4012b3){return Object['prototype']['hasOwnProperty']['call'](_0xd30e70,_0x4012b3);}function _0x361df0(_0x41dc48){if(null==_0x41dc48)return null;if('object'!=typeof _0x41dc48)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!_0x1a3a74(_0x41dc48['firstDay'],0x1,0x7)||!_0x1a3a74(_0x41dc48['minimalDays'],0x1,0x7)||!Array['isArray'](_0x41dc48['weekend'])||_0x41dc48['weekend']['some'](_0xa244eb=>!_0x1a3a74(_0xa244eb,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x41dc48['firstDay'],'minimalDays':_0x41dc48['minimalDays'],'weekend':Array['from'](_0x41dc48['weekend'])};}function _0x1a3a74(_0x4d5c53,_0x374a9d,_0x27206c){return _0x5c4cf6(_0x4d5c53)&&_0x4d5c53>=_0x374a9d&&_0x4d5c53<=_0x27206c;}function _0x412aaf(_0x33e8ad,_0x3657e2=0x2){let _0x40d147;return _0x40d147=_0x33e8ad<0x0?'-'+(''+-_0x33e8ad)['padStart'](_0x3657e2,'0'):(''+_0x33e8ad)['padStart'](_0x3657e2,'0'),_0x40d147;}function _0x50d963(_0x415e7d){return _0x383223(_0x415e7d)||null===_0x415e7d||''===_0x415e7d?void 0x0:parseInt(_0x415e7d,0xa);}function _0x5a90e2(_0x3ff43b){return _0x383223(_0x3ff43b)||null===_0x3ff43b||''===_0x3ff43b?void 0x0:parseFloat(_0x3ff43b);}function _0x39e2b6(_0x445504){if(!_0x383223(_0x445504)&&null!==_0x445504&&''!==_0x445504){const _0xa35784=0x3e8*parseFloat('0.'+_0x445504);return Math['floor'](_0xa35784);}}function _0x2f93fc(_0x78f630,_0x1d976f,_0x424a03=!0x1){const _0x2eb207=0xa**_0x1d976f;return(_0x424a03?Math['trunc']:Math['round'])(_0x78f630*_0x2eb207)/_0x2eb207;}function _0x1b5171(_0x575fa8){return _0x575fa8%0x4==0x0&&(_0x575fa8%0x64!=0x0||_0x575fa8%0x190==0x0);}function _0xee03c(_0x322a3e){return _0x1b5171(_0x322a3e)?0x16e:0x16d;}function _0x4816a6(_0x333e5a,_0xe6e128){const _0x31932c=function(_0x4ab33a,_0x306a51){return _0x4ab33a-_0x306a51*Math['floor'](_0x4ab33a/_0x306a51);}(_0xe6e128-0x1,0xc)+0x1;return 0x2===_0x31932c?_0x1b5171(_0x333e5a+(_0xe6e128-_0x31932c)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x31932c-0x1];}function _0x244f53(_0x4c196d){let _0x48ddc6=Date['UTC'](_0x4c196d['year'],_0x4c196d['month']-0x1,_0x4c196d['day'],_0x4c196d['hour'],_0x4c196d['minute'],_0x4c196d['second'],_0x4c196d['millisecond']);return _0x4c196d['year']<0x64&&_0x4c196d['year']>=0x0&&(_0x48ddc6=new Date(_0x48ddc6),_0x48ddc6['setUTCFullYear'](_0x4c196d['year'],_0x4c196d['month']-0x1,_0x4c196d['day'])),+_0x48ddc6;}function tn(_0x3f6705,_0x41beab,_0x28a808){return-_0x77f2c2(_0x5e1172(_0x3f6705,0x1,_0x41beab),_0x28a808)+_0x41beab-0x1;}function _0x3ffde2(_0x22f985,_0x379f8e=0x4,_0x498480=0x1){const _0x2ddae7=tn(_0x22f985,_0x379f8e,_0x498480),_0x39f460=tn(_0x22f985+0x1,_0x379f8e,_0x498480);return(_0xee03c(_0x22f985)-_0x2ddae7+_0x39f460)/0x7;}function _0x2754e9(_0x47a9b9){return _0x47a9b9>0x63?_0x47a9b9:_0x47a9b9>Settings['twoDigitCutoffYear']?0x76c+_0x47a9b9:0x7d0+_0x47a9b9;}function _0xadd7f(_0x234b6a,_0x4d7092,_0xa64e98,_0x1ad5d2=null){const _0x269316=new Date(_0x234b6a),_0x162579={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x1ad5d2&&(_0x162579['timeZone']=_0x1ad5d2);const _0x31a736={'timeZoneName':_0x4d7092,..._0x162579},_0x586ee5=new Intl['DateTimeFormat'](_0xa64e98,_0x31a736)['formatToParts'](_0x269316)['find'](_0x2d9a9e=>'timezonename'===_0x2d9a9e['type']['toLowerCase']());return _0x586ee5?_0x586ee5['value']:null;}function _0x445838(_0x4c34d7,_0x4ae375){let _0x565435=parseInt(_0x4c34d7,0xa);Number['isNaN'](_0x565435)&&(_0x565435=0x0);const _0xd064bb=parseInt(_0x4ae375,0xa)||0x0;return 0x3c*_0x565435+(_0x565435<0x0||Object['is'](_0x565435,-0x0)?-_0xd064bb:_0xd064bb);}function _0x1239cf(_0x15cb21){const _0x276379=Number(_0x15cb21);if('boolean'==typeof _0x15cb21||''===_0x15cb21||Number['isNaN'](_0x276379))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x15cb21);return _0x276379;}function _0x3fe41d(_0x41eade,_0x2d02d1){const _0x4d44f1={};for(const _0x1d56ad in _0x41eade)if(_0x38402c(_0x41eade,_0x1d56ad)){const _0x17fab7=_0x41eade[_0x1d56ad];if(null==_0x17fab7)continue;_0x4d44f1[_0x2d02d1(_0x1d56ad)]=_0x1239cf(_0x17fab7);}return _0x4d44f1;}function _0x53a01b(_0x55ca1f,_0x54be8e){const _0x42b6ed=Math['trunc'](Math['abs'](_0x55ca1f/0x3c)),_0x1975a1=Math['trunc'](Math['abs'](_0x55ca1f%0x3c)),_0x15dc1c=_0x55ca1f>=0x0?'+':'-';switch(_0x54be8e){case'short':return''+_0x15dc1c+_0x412aaf(_0x42b6ed,0x2)+':'+_0x412aaf(_0x1975a1,0x2);case'narrow':return''+_0x15dc1c+_0x42b6ed+(_0x1975a1>0x0?':'+_0x1975a1:'');case'techie':return''+_0x15dc1c+_0x412aaf(_0x42b6ed,0x2)+_0x412aaf(_0x1975a1,0x2);default:throw new RangeError('Value\x20format\x20'+_0x54be8e+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0x11c43f(_0x54e0e8){return function(_0x54b8ed,_0x5cfddb){return _0x5cfddb['reduce']((_0x31a75c,_0x38717b)=>(_0x31a75c[_0x38717b]=_0x54b8ed[_0x38717b],_0x31a75c),{});}(_0x54e0e8,['hour','minute','second','millisecond']);}const _0x1673ac=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x25250f=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x469d07=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x58a009(_0x5d02fa){switch(_0x5d02fa){case'narrow':return[..._0x469d07];case'short':return[..._0x25250f];case'long':return[..._0x1673ac];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 _0x39cab9=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0x30a3fa=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x2d183f=['M','T','W','T','F','S','S'];function _0x5af4fd(_0x3746ce){switch(_0x3746ce){case'narrow':return[..._0x2d183f];case'short':return[..._0x30a3fa];case'long':return[..._0x39cab9];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x4b4b64=['AM','PM'],_0x127b0f=['Before\x20Christ','Anno\x20Domini'],_0xb44668=['BC','AD'],_0x3a1a81=['B','A'];function _0x3f1a(_0x2bd595){switch(_0x2bd595){case'narrow':return[..._0x3a1a81];case'short':return[..._0xb44668];case'long':return[..._0x127b0f];default:return null;}}function _0x1a78fa(_0x449695,_0x22dba7){let _0x5a4aa3='';for(const _0x5618b6 of _0x449695)_0x5618b6['literal']?_0x5a4aa3+=_0x5618b6['val']:_0x5a4aa3+=_0x22dba7(_0x5618b6['val']);return _0x5a4aa3;}const _0x5bbb28={'D':_0x5b0b18,'DD':_0x969202,'DDD':_0x447113,'DDDD':_0x516648,'t':_0x49b938,'tt':_0x5c88b6,'ttt':_0x283c1c,'tttt':_0x247e8c,'T':_0x2608a7,'TT':_0x33b437,'TTT':_0x155fe0,'TTTT':_0x371bec,'f':_0x5bb8e0,'ff':_0x33622c,'fff':_0x2cb346,'ffff':_0x5939cc,'F':_0x2892ec,'FF':_0x1fd986,'FFF':_0x4b67dc,'FFFF':_0x596f13};class Formatter{static['create'](_0x27dc63,_0x1f1413={}){return new Formatter(_0x27dc63,_0x1f1413);}static['parseFormat'](_0xe68d12){let _0x5e7561=null,_0x2d58c6='',_0x400658=!0x1;const _0x39acbc=[];for(let _0x3e16c1=0x0;_0x3e16c1<_0xe68d12['length'];_0x3e16c1++){const _0x59f912=_0xe68d12['charAt'](_0x3e16c1);'\x27'===_0x59f912?(_0x2d58c6['length']>0x0&&_0x39acbc['push']({'literal':_0x400658||/^\s+$/['test'](_0x2d58c6),'val':_0x2d58c6}),_0x5e7561=null,_0x2d58c6='',_0x400658=!_0x400658):_0x400658||_0x59f912===_0x5e7561?_0x2d58c6+=_0x59f912:(_0x2d58c6['length']>0x0&&_0x39acbc['push']({'literal':/^\s+$/['test'](_0x2d58c6),'val':_0x2d58c6}),_0x2d58c6=_0x59f912,_0x5e7561=_0x59f912);}return _0x2d58c6['length']>0x0&&_0x39acbc['push']({'literal':_0x400658||/^\s+$/['test'](_0x2d58c6),'val':_0x2d58c6}),_0x39acbc;}static['macroTokenToFormatOpts'](_0x2ed626){return _0x5bbb28[_0x2ed626];}constructor(_0x49316e,_0x1425b3){this['opts']=_0x1425b3,this['loc']=_0x49316e,this['systemLoc']=null;}['formatWithSystemDefault'](_0x4d8ca4,_0x14455a){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x4d8ca4,{...this['opts'],..._0x14455a})['format']();}['dtFormatter'](_0x249d46,_0x542e92={}){return this['loc']['dtFormatter'](_0x249d46,{...this['opts'],..._0x542e92});}['formatDateTime'](_0x59cc29,_0x18e4db){return this['dtFormatter'](_0x59cc29,_0x18e4db)['format']();}['formatDateTimeParts'](_0x459ac2,_0x238531){return this['dtFormatter'](_0x459ac2,_0x238531)['formatToParts']();}['formatInterval'](_0x351bc4,_0x117f33){return this['dtFormatter'](_0x351bc4['start'],_0x117f33)['dtf']['formatRange'](_0x351bc4['start']['toJSDate'](),_0x351bc4['end']['toJSDate']());}['resolvedOptions'](_0x5c5219,_0x239f91){return this['dtFormatter'](_0x5c5219,_0x239f91)['resolvedOptions']();}['num'](_0x287537,_0x3ae857=0x0){if(this['opts']['forceSimple'])return _0x412aaf(_0x287537,_0x3ae857);const _0x36573d={...this['opts']};return _0x3ae857>0x0&&(_0x36573d['padTo']=_0x3ae857),this['loc']['numberFormatter'](_0x36573d)['format'](_0x287537);}['formatDateTimeFromString'](_0x1976fd,_0x5a35be){const _0x3e1f98='en'===this['loc']['listingMode'](),_0x1c6bf9=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x320056=(_0x357303,_0x4bdb1f)=>this['loc']['extract'](_0x1976fd,_0x357303,_0x4bdb1f),_0x5dc495=_0x7e2f6b=>_0x1976fd['isOffsetFixed']&&0x0===_0x1976fd['offset']&&_0x7e2f6b['allowZ']?'Z':_0x1976fd['isValid']?_0x1976fd['zone']['formatOffset'](_0x1976fd['ts'],_0x7e2f6b['format']):'',_0x34e3a5=()=>_0x3e1f98?function(_0x103b70){return _0x4b4b64[_0x103b70['hour']<0xc?0x0:0x1];}(_0x1976fd):_0x320056({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x4f304c=(_0x329726,_0x41e5b0)=>_0x3e1f98?function(_0x313dcd,_0x1d425e){return _0x58a009(_0x1d425e)[_0x313dcd['month']-0x1];}(_0x1976fd,_0x329726):_0x320056(_0x41e5b0?{'month':_0x329726}:{'month':_0x329726,'day':'numeric'},'month'),_0x269dc4=(_0x156f24,_0x2b5688)=>_0x3e1f98?function(_0x306e88,_0x3e7149){return _0x5af4fd(_0x3e7149)[_0x306e88['weekday']-0x1];}(_0x1976fd,_0x156f24):_0x320056(_0x2b5688?{'weekday':_0x156f24}:{'weekday':_0x156f24,'month':'long','day':'numeric'},'weekday'),_0x6b2c73=_0x5f35c8=>{const _0x31c336=Formatter['macroTokenToFormatOpts'](_0x5f35c8);return _0x31c336?this['formatWithSystemDefault'](_0x1976fd,_0x31c336):_0x5f35c8;},_0x4ab05e=_0x3618e1=>_0x3e1f98?function(_0x37c31f,_0x2ca69c){return _0x3f1a(_0x2ca69c)[_0x37c31f['year']<0x0?0x0:0x1];}(_0x1976fd,_0x3618e1):_0x320056({'era':_0x3618e1},'era');return _0x1a78fa(Formatter['parseFormat'](_0x5a35be),_0x382b59=>{switch(_0x382b59){case'S':return this['num'](_0x1976fd['millisecond']);case'u':case'SSS':return this['num'](_0x1976fd['millisecond'],0x3);case's':return this['num'](_0x1976fd['second']);case'ss':return this['num'](_0x1976fd['second'],0x2);case'uu':return this['num'](Math['floor'](_0x1976fd['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x1976fd['millisecond']/0x64));case'm':return this['num'](_0x1976fd['minute']);case'mm':return this['num'](_0x1976fd['minute'],0x2);case'h':return this['num'](_0x1976fd['hour']%0xc==0x0?0xc:_0x1976fd['hour']%0xc);case'hh':return this['num'](_0x1976fd['hour']%0xc==0x0?0xc:_0x1976fd['hour']%0xc,0x2);case'H':return this['num'](_0x1976fd['hour']);case'HH':return this['num'](_0x1976fd['hour'],0x2);case'Z':return _0x5dc495({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x5dc495({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x5dc495({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x1976fd['zone']['offsetName'](_0x1976fd['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x1976fd['zone']['offsetName'](_0x1976fd['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x1976fd['zoneName'];case'a':return _0x34e3a5();case'd':return _0x1c6bf9?_0x320056({'day':'numeric'},'day'):this['num'](_0x1976fd['day']);case'dd':return _0x1c6bf9?_0x320056({'day':'2-digit'},'day'):this['num'](_0x1976fd['day'],0x2);case'c':case'E':return this['num'](_0x1976fd['weekday']);case'ccc':return _0x269dc4('short',!0x0);case'cccc':return _0x269dc4('long',!0x0);case'ccccc':return _0x269dc4('narrow',!0x0);case'EEE':return _0x269dc4('short',!0x1);case'EEEE':return _0x269dc4('long',!0x1);case'EEEEE':return _0x269dc4('narrow',!0x1);case'L':return _0x1c6bf9?_0x320056({'month':'numeric','day':'numeric'},'month'):this['num'](_0x1976fd['month']);case'LL':return _0x1c6bf9?_0x320056({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x1976fd['month'],0x2);case'LLL':return _0x4f304c('short',!0x0);case'LLLL':return _0x4f304c('long',!0x0);case'LLLLL':return _0x4f304c('narrow',!0x0);case'M':return _0x1c6bf9?_0x320056({'month':'numeric'},'month'):this['num'](_0x1976fd['month']);case'MM':return _0x1c6bf9?_0x320056({'month':'2-digit'},'month'):this['num'](_0x1976fd['month'],0x2);case'MMM':return _0x4f304c('short',!0x1);case'MMMM':return _0x4f304c('long',!0x1);case'MMMMM':return _0x4f304c('narrow',!0x1);case'y':return _0x1c6bf9?_0x320056({'year':'numeric'},'year'):this['num'](_0x1976fd['year']);case'yy':return _0x1c6bf9?_0x320056({'year':'2-digit'},'year'):this['num'](_0x1976fd['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x1c6bf9?_0x320056({'year':'numeric'},'year'):this['num'](_0x1976fd['year'],0x4);case'yyyyyy':return _0x1c6bf9?_0x320056({'year':'numeric'},'year'):this['num'](_0x1976fd['year'],0x6);case'G':return _0x4ab05e('short');case'GG':return _0x4ab05e('long');case'GGGGG':return _0x4ab05e('narrow');case'kk':return this['num'](_0x1976fd['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x1976fd['weekYear'],0x4);case'W':return this['num'](_0x1976fd['weekNumber']);case'WW':return this['num'](_0x1976fd['weekNumber'],0x2);case'n':return this['num'](_0x1976fd['localWeekNumber']);case'nn':return this['num'](_0x1976fd['localWeekNumber'],0x2);case'ii':return this['num'](_0x1976fd['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x1976fd['localWeekYear'],0x4);case'o':return this['num'](_0x1976fd['ordinal']);case'ooo':return this['num'](_0x1976fd['ordinal'],0x3);case'q':return this['num'](_0x1976fd['quarter']);case'qq':return this['num'](_0x1976fd['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x1976fd['ts']/0x3e8));case'x':return this['num'](_0x1976fd['ts']);default:return _0x6b2c73(_0x382b59);}});}['formatDurationFromString'](_0x5337cc,_0x4bfe8c){const _0x30ccbc=_0x5616ce=>{switch(_0x5616ce[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;}},_0x1edce7=Formatter['parseFormat'](_0x4bfe8c),_0x51c9c4=_0x1edce7['reduce']((_0x1fd8a9,{literal:_0x256eed,val:_0x2558c8})=>_0x256eed?_0x1fd8a9:_0x1fd8a9['concat'](_0x2558c8),[]),_0xb2ad9b=_0x5337cc['shiftTo'](..._0x51c9c4['map'](_0x30ccbc)['filter'](t=>t));return _0x1a78fa(_0x1edce7,(_0x4b9cbf=>_0x3262b3=>{const _0x5b8107=_0x30ccbc(_0x3262b3);return _0x5b8107?this['num'](_0x4b9cbf['get'](_0x5b8107),_0x3262b3['length']):_0x3262b3;})(_0xb2ad9b));}}const _0x48749d=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x33bbc8(..._0x4e766a){const _0x38ed65=_0x4e766a['reduce']((_0x2b54a7,_0x47d89c)=>_0x2b54a7+_0x47d89c['source'],'');return RegExp('^'+_0x38ed65+'$');}function _0x16e090(..._0x28744c){return _0x4706e4=>_0x28744c['reduce'](([_0x4f94b9,_0x3d625a,_0x29cd0b],_0x439dcd)=>{const [_0x5a5df5,_0x40067a,_0x205f23]=_0x439dcd(_0x4706e4,_0x29cd0b);return[{..._0x4f94b9,..._0x5a5df5},_0x40067a||_0x3d625a,_0x205f23];},[{},null,0x1])['slice'](0x0,0x2);}function _0xd747e7(_0x14e7ab,..._0x649e63){if(null==_0x14e7ab)return[null,null];for(const [_0x593ff7,_0x10df75]of _0x649e63){const _0x2299a8=_0x593ff7['exec'](_0x14e7ab);if(_0x2299a8)return _0x10df75(_0x2299a8);}return[null,null];}function _0x2de68b(..._0x5f41a1){return(_0x2b0bf6,_0x15bdb6)=>{const _0x9c4a7d={};let _0x2d052e;for(_0x2d052e=0x0;_0x2d052e<_0x5f41a1['length'];_0x2d052e++)_0x9c4a7d[_0x5f41a1[_0x2d052e]]=_0x50d963(_0x2b0bf6[_0x15bdb6+_0x2d052e]);return[_0x9c4a7d,null,_0x15bdb6+_0x2d052e];};}const _0x3a3714=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,_0x1fa487=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x12764d=RegExp(''+_0x1fa487['source']+('(?:'+_0x3a3714['source']+'?(?:\x5c[('+_0x48749d['source']+')\x5c])?)?')),_0x442b63=RegExp('(?:T'+_0x12764d['source']+')?'),_0x18c74e=_0x2de68b('weekYear','weekNumber','weekDay'),_0x429b63=_0x2de68b('year','ordinal'),_0x367675=RegExp(_0x1fa487['source']+'\x20?(?:'+_0x3a3714['source']+'|('+_0x48749d['source']+'))?'),_0x50c9bf=RegExp('(?:\x20'+_0x367675['source']+')?');function _0x61bf59(_0x8cdd2a,_0x4a85fe,_0x1a58be){const _0xbe319e=_0x8cdd2a[_0x4a85fe];return _0x383223(_0xbe319e)?_0x1a58be:_0x50d963(_0xbe319e);}function _0x4852b3(_0x4c7a6d,_0x51cccd){return[{'hours':_0x61bf59(_0x4c7a6d,_0x51cccd,0x0),'minutes':_0x61bf59(_0x4c7a6d,_0x51cccd+0x1,0x0),'seconds':_0x61bf59(_0x4c7a6d,_0x51cccd+0x2,0x0),'milliseconds':_0x39e2b6(_0x4c7a6d[_0x51cccd+0x3])},null,_0x51cccd+0x4];}function _0x65dd20(_0x558e49,_0x58d5cb){const _0x106a7b=!_0x558e49[_0x58d5cb]&&!_0x558e49[_0x58d5cb+0x1],_0x55ba88=_0x445838(_0x558e49[_0x58d5cb+0x1],_0x558e49[_0x58d5cb+0x2]);return[{},_0x106a7b?null:FixedOffsetZone['instance'](_0x55ba88),_0x58d5cb+0x3];}function _0x3bc83e(_0x31b1a1,_0x808c9e){return[{},_0x31b1a1[_0x808c9e]?_0x350bf1['create'](_0x31b1a1[_0x808c9e]):null,_0x808c9e+0x1];}const _0xf4dba4=RegExp('^T?'+_0x1fa487['source']+'$'),_0x5de2fe=/^-?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 _0x4734a3(_0x307d07){const [_0x57482b,_0x1c9a2e,_0x12b1e1,_0x8d5ab7,_0x423fd8,_0x343407,_0x6ad37f,_0x1f6cd3,_0x25e08f]=_0x307d07,_0x4b03a1='-'===_0x57482b[0x0],_0x4dcb2a=_0x1f6cd3&&'-'===_0x1f6cd3[0x0],_0x3686a8=(_0x5843e5,_0x2ba8cb=!0x1)=>void 0x0!==_0x5843e5&&(_0x2ba8cb||_0x5843e5&&_0x4b03a1)?-_0x5843e5:_0x5843e5;return[{'years':_0x3686a8(_0x5a90e2(_0x1c9a2e)),'months':_0x3686a8(_0x5a90e2(_0x12b1e1)),'weeks':_0x3686a8(_0x5a90e2(_0x8d5ab7)),'days':_0x3686a8(_0x5a90e2(_0x423fd8)),'hours':_0x3686a8(_0x5a90e2(_0x343407)),'minutes':_0x3686a8(_0x5a90e2(_0x6ad37f)),'seconds':_0x3686a8(_0x5a90e2(_0x1f6cd3),'-0'===_0x1f6cd3),'milliseconds':_0x3686a8(_0x39e2b6(_0x25e08f),_0x4dcb2a)}];}const _0x3380e6={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0xbd77d6(_0x1ee886,_0x1b9214,_0x24fd33,_0x4f17d1,_0x4b1d48,_0x58f64b,_0x11a367){const _0x3db00c={'year':0x2===_0x1b9214['length']?_0x2754e9(_0x50d963(_0x1b9214)):_0x50d963(_0x1b9214),'month':_0x25250f['indexOf'](_0x24fd33)+0x1,'day':_0x50d963(_0x4f17d1),'hour':_0x50d963(_0x4b1d48),'minute':_0x50d963(_0x58f64b)};return _0x11a367&&(_0x3db00c['second']=_0x50d963(_0x11a367)),_0x1ee886&&(_0x3db00c['weekday']=_0x1ee886['length']>0x3?_0x39cab9['indexOf'](_0x1ee886)+0x1:_0x30a3fa['indexOf'](_0x1ee886)+0x1),_0x3db00c;}const _0x3338d1=/^(?:(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 _0x38cd12(_0x1b33db){const [,_0x30a970,_0x419bad,_0x2cd880,_0x5c7cf7,_0x3b067e,_0x5bbb53,_0x3ee425,_0x5bdaa2,_0x390351,_0x1e5ebe,_0x54b3f4]=_0x1b33db,_0x42a0ad=_0xbd77d6(_0x30a970,_0x5c7cf7,_0x2cd880,_0x419bad,_0x3b067e,_0x5bbb53,_0x3ee425);let _0x324c8a;return _0x324c8a=_0x5bdaa2?_0x3380e6[_0x5bdaa2]:_0x390351?0x0:_0x445838(_0x1e5ebe,_0x54b3f4),[_0x42a0ad,new FixedOffsetZone(_0x324c8a)];}const _0x1f13dd=/^(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$/,_0x5746c5=/^(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$/,_0x5266e0=/^(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 _0x2ccb77(_0x375cb0){const [,_0x22f7a3,_0x3e8fac,_0xc9d7f9,_0x41c41f,_0x3f0d94,_0x21b064,_0x205373]=_0x375cb0;return[_0xbd77d6(_0x22f7a3,_0x41c41f,_0xc9d7f9,_0x3e8fac,_0x3f0d94,_0x21b064,_0x205373),FixedOffsetZone['utcInstance']];}function _0x4aca27(_0x45dece){const [,_0x3816dd,_0x88a063,_0x2f560e,_0x2f88d4,_0x3f6238,_0x41d204,_0x177ec3]=_0x45dece;return[_0xbd77d6(_0x3816dd,_0x177ec3,_0x88a063,_0x2f560e,_0x2f88d4,_0x3f6238,_0x41d204),FixedOffsetZone['utcInstance']];}const tr=_0x33bbc8(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x442b63),_0x5e9455=_0x33bbc8(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x442b63),_0x5277ce=_0x33bbc8(/(\d{4})-?(\d{3})/,_0x442b63),_0x4fec4c=_0x33bbc8(_0x12764d),_0x2ac5ad=_0x16e090(function(_0x57eed9,_0x52d5b5){return[{'year':_0x61bf59(_0x57eed9,_0x52d5b5),'month':_0x61bf59(_0x57eed9,_0x52d5b5+0x1,0x1),'day':_0x61bf59(_0x57eed9,_0x52d5b5+0x2,0x1)},null,_0x52d5b5+0x3];},_0x4852b3,_0x65dd20,_0x3bc83e),_0x548d95=_0x16e090(_0x18c74e,_0x4852b3,_0x65dd20,_0x3bc83e),_0x396bb0=_0x16e090(_0x429b63,_0x4852b3,_0x65dd20,_0x3bc83e),_0x425d3f=_0x16e090(_0x4852b3,_0x65dd20,_0x3bc83e),_0x1391e3=_0x16e090(_0x4852b3),_0x29a317=_0x33bbc8(/(\d{4})-(\d\d)-(\d\d)/,_0x50c9bf),_0x1ae860=_0x33bbc8(_0x367675),_0x5df308=_0x16e090(_0x4852b3,_0x65dd20,_0x3bc83e),_0x1b025f='Invalid\x20Duration',_0x2b0739={'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}},_0x41c50c={'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},..._0x2b0739},_0x3b73ca=365.2425,_0x2e31d2=30.436875,_0x1cd563={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0x3b73ca,'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':_0x2e31d2,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0x2b0739},_0x470476=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x345666=_0x470476['slice'](0x0)['reverse']();function _0x1f9259(_0x4ebeb9,_0x27423d,_0x742116=!0x1){const _0x4edf79={'values':_0x742116?_0x27423d['values']:{..._0x4ebeb9['values'],..._0x27423d['values']||{}},'loc':_0x4ebeb9['loc']['clone'](_0x27423d['loc']),'conversionAccuracy':_0x27423d['conversionAccuracy']||_0x4ebeb9['conversionAccuracy'],'matrix':_0x27423d['matrix']||_0x4ebeb9['matrix']};return new Duration(_0x4edf79);}function _0x1c2cbf(_0x55bacf,_0x141fad){let _0x4e776d=_0x141fad['milliseconds']??0x0;for(const _0x5a3b4a of _0x345666['slice'](0x1))_0x141fad[_0x5a3b4a]&&(_0x4e776d+=_0x141fad[_0x5a3b4a]*_0x55bacf[_0x5a3b4a]['milliseconds']);return _0x4e776d;}function _0x1cedcf(_0x3c48c4,_0xc76c17){const _0x541bf3=_0x1c2cbf(_0x3c48c4,_0xc76c17)<0x0?-0x1:0x1;_0x470476['reduceRight']((_0x3f2f85,_0x5bd0f8)=>{if(_0x383223(_0xc76c17[_0x5bd0f8]))return _0x3f2f85;if(_0x3f2f85){const _0x44b836=_0xc76c17[_0x3f2f85]*_0x541bf3,_0x76ce4e=_0x3c48c4[_0x5bd0f8][_0x3f2f85],_0x3f5ce1=Math['floor'](_0x44b836/_0x76ce4e);_0xc76c17[_0x5bd0f8]+=_0x3f5ce1*_0x541bf3,_0xc76c17[_0x3f2f85]-=_0x3f5ce1*_0x76ce4e*_0x541bf3;}return _0x5bd0f8;},null),_0x470476['reduce']((_0x1d747a,_0x388fc8)=>{if(_0x383223(_0xc76c17[_0x388fc8]))return _0x1d747a;if(_0x1d747a){const _0x426459=_0xc76c17[_0x1d747a]%0x1;_0xc76c17[_0x1d747a]-=_0x426459,_0xc76c17[_0x388fc8]+=_0x426459*_0x3c48c4[_0x1d747a][_0x388fc8];}return _0x388fc8;},null);}class Duration{constructor(_0x2752c1){const _0x37de30='longterm'===_0x2752c1['conversionAccuracy']||!0x1;let _0x272299=_0x37de30?_0x1cd563:_0x41c50c;_0x2752c1['matrix']&&(_0x272299=_0x2752c1['matrix']),this['values']=_0x2752c1['values'],this['loc']=_0x2752c1['loc']||_0x5b0f5e['create'](),this['conversionAccuracy']=_0x37de30?'longterm':'casual',this['invalid']=_0x2752c1['invalid']||null,this['matrix']=_0x272299,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x2ccc05,_0x5979d8){return Duration['fromObject']({'milliseconds':_0x2ccc05},_0x5979d8);}static['fromObject'](_0x288530,_0x26f883={}){if(null==_0x288530||'object'!=typeof _0x288530)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x288530?'null':typeof _0x288530));return new Duration({'values':_0x3fe41d(_0x288530,Duration['normalizeUnit']),'loc':_0x5b0f5e['fromObject'](_0x26f883),'conversionAccuracy':_0x26f883['conversionAccuracy'],'matrix':_0x26f883['matrix']});}static['fromDurationLike'](_0x13245c){if(_0x59d4b8(_0x13245c))return Duration['fromMillis'](_0x13245c);if(Duration['isDuration'](_0x13245c))return _0x13245c;if('object'==typeof _0x13245c)return Duration['fromObject'](_0x13245c);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x13245c+'\x20of\x20type\x20'+typeof _0x13245c);}static['fromISO'](_0x371875,_0xd3c63e){const [_0x3c90f1]=function(_0x286a7d){return _0xd747e7(_0x286a7d,[_0x5de2fe,_0x4734a3]);}(_0x371875);return _0x3c90f1?Duration['fromObject'](_0x3c90f1,_0xd3c63e):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x371875+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x2fd98f,_0x271a68){const [_0x31ef61]=function(_0x2c194a){return _0xd747e7(_0x2c194a,[_0xf4dba4,_0x1391e3]);}(_0x2fd98f);return _0x31ef61?Duration['fromObject'](_0x31ef61,_0x271a68):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x2fd98f+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x521f83,_0x3ef335=null){if(!_0x521f83)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x548b43=_0x521f83 instanceof _0x4d1fed?_0x521f83:new _0x4d1fed(_0x521f83,_0x3ef335);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x548b43);return new Duration({'invalid':_0x548b43});}static['normalizeUnit'](_0x3b352d){const _0x5f58f7={'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'}[_0x3b352d?_0x3b352d['toLowerCase']():_0x3b352d];if(!_0x5f58f7)throw new InvalidUnitError(_0x3b352d);return _0x5f58f7;}static['isDuration'](_0x449896){return _0x449896&&_0x449896['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x549636,_0x2a4bbb={}){const _0x3d15f7={..._0x2a4bbb,'floor':!0x1!==_0x2a4bbb['round']&&!0x1!==_0x2a4bbb['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x3d15f7)['formatDurationFromString'](this,_0x549636):_0x1b025f;}['toHuman'](_0x33821c={}){if(!this['isValid'])return _0x1b025f;const _0x119040=_0x470476['map'](_0x4d05e7=>{const _0x84b101=this['values'][_0x4d05e7];return _0x383223(_0x84b101)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x33821c,'unit':_0x4d05e7['slice'](0x0,-0x1)})['format'](_0x84b101);})['filter'](_0x4b5d11=>_0x4b5d11);return this['loc']['listFormatter']({'type':'conjunction','style':_0x33821c['listStyle']||'narrow',..._0x33821c})['format'](_0x119040);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x3ffa66='P';return 0x0!==this['years']&&(_0x3ffa66+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x3ffa66+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x3ffa66+=this['weeks']+'W'),0x0!==this['days']&&(_0x3ffa66+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x3ffa66+='T'),0x0!==this['hours']&&(_0x3ffa66+=this['hours']+'H'),0x0!==this['minutes']&&(_0x3ffa66+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x3ffa66+=_0x2f93fc(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x3ffa66&&(_0x3ffa66+='T0S'),_0x3ffa66;}['toISOTime'](_0x4bc8ea={}){if(!this['isValid'])return null;const _0xe94c0b=this['toMillis']();if(_0xe94c0b<0x0||_0xe94c0b>=0x5265c00)return null;return _0x4bc8ea={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x4bc8ea,'includeOffset':!0x1},DateTime['fromMillis'](_0xe94c0b,{'zone':'UTC'})['toISOTime'](_0x4bc8ea);}['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']?_0x1c2cbf(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x19908f){if(!this['isValid'])return this;const _0x550ced=Duration['fromDurationLike'](_0x19908f),_0x9878b4={};for(const _0x1c381f of _0x470476)(_0x38402c(_0x550ced['values'],_0x1c381f)||_0x38402c(this['values'],_0x1c381f))&&(_0x9878b4[_0x1c381f]=_0x550ced['get'](_0x1c381f)+this['get'](_0x1c381f));return _0x1f9259(this,{'values':_0x9878b4},!0x0);}['minus'](_0x5517ed){if(!this['isValid'])return this;const _0x180f4f=Duration['fromDurationLike'](_0x5517ed);return this['plus'](_0x180f4f['negate']());}['mapUnits'](_0x3855cd){if(!this['isValid'])return this;const _0x4c2d62={};for(const _0x1cc65b of Object['keys'](this['values']))_0x4c2d62[_0x1cc65b]=_0x1239cf(_0x3855cd(this['values'][_0x1cc65b],_0x1cc65b));return _0x1f9259(this,{'values':_0x4c2d62},!0x0);}['get'](_0x468b1){return this[Duration['normalizeUnit'](_0x468b1)];}['set'](_0x17ee95){if(!this['isValid'])return this;return _0x1f9259(this,{'values':{...this['values'],..._0x3fe41d(_0x17ee95,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x3a51b2,numberingSystem:_0x573228,conversionAccuracy:_0x3117cb,matrix:_0x5dcdd7}={}){return _0x1f9259(this,{'loc':this['loc']['clone']({'locale':_0x3a51b2,'numberingSystem':_0x573228}),'matrix':_0x5dcdd7,'conversionAccuracy':_0x3117cb});}['as'](_0x349a57){return this['isValid']?this['shiftTo'](_0x349a57)['get'](_0x349a57):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x20dde2=this['toObject']();return _0x1cedcf(this['matrix'],_0x20dde2),_0x1f9259(this,{'values':_0x20dde2},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x39f8fc=function(_0x37dffe){const _0x12bd49={};for(const [_0x4b3f85,_0x3f7d65]of Object['entries'](_0x37dffe))0x0!==_0x3f7d65&&(_0x12bd49[_0x4b3f85]=_0x3f7d65);return _0x12bd49;}(this['normalize']()['shiftToAll']()['toObject']());return _0x1f9259(this,{'values':_0x39f8fc},!0x0);}['shiftTo'](..._0x2862c5){if(!this['isValid'])return this;if(0x0===_0x2862c5['length'])return this;_0x2862c5=_0x2862c5['map'](_0x30123d=>Duration['normalizeUnit'](_0x30123d));const _0x31d83d={},_0x2bcd8b={},_0x45dc07=this['toObject']();let _0x5a4178;for(const _0x41ef3e of _0x470476)if(_0x2862c5['indexOf'](_0x41ef3e)>=0x0){_0x5a4178=_0x41ef3e;let _0x104b3b=0x0;for(const _0x12c7fc in _0x2bcd8b)_0x104b3b+=this['matrix'][_0x12c7fc][_0x41ef3e]*_0x2bcd8b[_0x12c7fc],_0x2bcd8b[_0x12c7fc]=0x0;_0x59d4b8(_0x45dc07[_0x41ef3e])&&(_0x104b3b+=_0x45dc07[_0x41ef3e]);const _0x453498=Math['trunc'](_0x104b3b);_0x31d83d[_0x41ef3e]=_0x453498,_0x2bcd8b[_0x41ef3e]=(0x3e8*_0x104b3b-0x3e8*_0x453498)/0x3e8;}else _0x59d4b8(_0x45dc07[_0x41ef3e])&&(_0x2bcd8b[_0x41ef3e]=_0x45dc07[_0x41ef3e]);for(const _0x419bac in _0x2bcd8b)0x0!==_0x2bcd8b[_0x419bac]&&(_0x31d83d[_0x5a4178]+=_0x419bac===_0x5a4178?_0x2bcd8b[_0x419bac]:_0x2bcd8b[_0x419bac]/this['matrix'][_0x5a4178][_0x419bac]);return _0x1cedcf(this['matrix'],_0x31d83d),_0x1f9259(this,{'values':_0x31d83d},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x349dfa={};for(const _0x13e7fd of Object['keys'](this['values']))_0x349dfa[_0x13e7fd]=0x0===this['values'][_0x13e7fd]?0x0:-this['values'][_0x13e7fd];return _0x1f9259(this,{'values':_0x349dfa},!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'](_0x3d9ea7){if(!this['isValid']||!_0x3d9ea7['isValid'])return!0x1;if(!this['loc']['equals'](_0x3d9ea7['loc']))return!0x1;function _0x7b1bef(_0xd646f,_0x3a56eb){return void 0x0===_0xd646f||0x0===_0xd646f?void 0x0===_0x3a56eb||0x0===_0x3a56eb:_0xd646f===_0x3a56eb;}for(const _0x414f18 of _0x470476)if(!_0x7b1bef(this['values'][_0x414f18],_0x3d9ea7['values'][_0x414f18]))return!0x1;return!0x0;}}const _0x4fefde='Invalid\x20Interval';class Interval{constructor(_0x5064f2){this['s']=_0x5064f2['start'],this['e']=_0x5064f2['end'],this['invalid']=_0x5064f2['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x23808f,_0x5df126=null){if(!_0x23808f)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x56c082=_0x23808f instanceof _0x4d1fed?_0x23808f:new _0x4d1fed(_0x23808f,_0x5df126);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x56c082);return new Interval({'invalid':_0x56c082});}static['fromDateTimes'](_0x2d7a81,_0x2a72de){const _0x24d58e=_0x452581(_0x2d7a81),_0x101df6=_0x452581(_0x2a72de),_0x38525f=function(_0xccc912,_0x475e9c){return _0xccc912&&_0xccc912['isValid']?_0x475e9c&&_0x475e9c['isValid']?_0x475e9c<_0xccc912?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0xccc912['toISO']()+'\x20and\x20end='+_0x475e9c['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x24d58e,_0x101df6);return null==_0x38525f?new Interval({'start':_0x24d58e,'end':_0x101df6}):_0x38525f;}static['after'](_0x4c6b5f,_0x4a65cb){const _0x1fc56c=Duration['fromDurationLike'](_0x4a65cb),_0x2e4a72=_0x452581(_0x4c6b5f);return Interval['fromDateTimes'](_0x2e4a72,_0x2e4a72['plus'](_0x1fc56c));}static['before'](_0x4ea542,_0x175d93){const _0x2a6c2d=Duration['fromDurationLike'](_0x175d93),_0x232612=_0x452581(_0x4ea542);return Interval['fromDateTimes'](_0x232612['minus'](_0x2a6c2d),_0x232612);}static['fromISO'](_0xc99f76,_0x3f767b){const [_0x2e2d40,_0x34b56a]=(_0xc99f76||'')['split']('/',0x2);if(_0x2e2d40&&_0x34b56a){let _0x31f916,_0x272ae4,_0x5059c8,_0x13f573;try{_0x31f916=DateTime['fromISO'](_0x2e2d40,_0x3f767b),_0x272ae4=_0x31f916['isValid'];}catch(_0x4c6c2d){_0x272ae4=!0x1;}try{_0x5059c8=DateTime['fromISO'](_0x34b56a,_0x3f767b),_0x13f573=_0x5059c8['isValid'];}catch(_0x50c36f){_0x13f573=!0x1;}if(_0x272ae4&&_0x13f573)return Interval['fromDateTimes'](_0x31f916,_0x5059c8);if(_0x272ae4){const _0xc1e71f=Duration['fromISO'](_0x34b56a,_0x3f767b);if(_0xc1e71f['isValid'])return Interval['after'](_0x31f916,_0xc1e71f);}else{if(_0x13f573){const _0x38485a=Duration['fromISO'](_0x2e2d40,_0x3f767b);if(_0x38485a['isValid'])return Interval['before'](_0x5059c8,_0x38485a);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0xc99f76+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x5d8076){return _0x5d8076&&_0x5d8076['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'](_0x5b948b='milliseconds'){return this['isValid']?this['toDuration'](_0x5b948b)['get'](_0x5b948b):NaN;}['count'](_0x112679='milliseconds',_0xde8567){if(!this['isValid'])return NaN;const _0x52ea77=this['start']['startOf'](_0x112679,_0xde8567);let _0x55e668;return _0x55e668=_0xde8567?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x52ea77['locale']}):this['end'],_0x55e668=_0x55e668['startOf'](_0x112679,_0xde8567),Math['floor'](_0x55e668['diff'](_0x52ea77,_0x112679)['get'](_0x112679))+(_0x55e668['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0xf62033){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0xf62033));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x30166c){return!!this['isValid']&&this['s']>_0x30166c;}['isBefore'](_0x218a03){return!!this['isValid']&&this['e']<=_0x218a03;}['contains'](_0x251b62){return!!this['isValid']&&(this['s']<=_0x251b62&&this['e']>_0x251b62);}['set']({start:_0x514081,end:_0x2b011c}={}){return this['isValid']?Interval['fromDateTimes'](_0x514081||this['s'],_0x2b011c||this['e']):this;}['splitAt'](..._0x496785){if(!this['isValid'])return[];const _0x557e52=_0x496785['map'](_0x452581)['filter'](_0x35c232=>this['contains'](_0x35c232))['sort']((_0x3fb9c5,_0x4a2b94)=>_0x3fb9c5['toMillis']()-_0x4a2b94['toMillis']()),_0x70fdb=[];let {s:_0x1d5aab}=this,_0x109218=0x0;for(;_0x1d5aab<this['e'];){const _0x43f543=_0x557e52[_0x109218]||this['e'],_0xf6d54b=+_0x43f543>+this['e']?this['e']:_0x43f543;_0x70fdb['push'](Interval['fromDateTimes'](_0x1d5aab,_0xf6d54b)),_0x1d5aab=_0xf6d54b,_0x109218+=0x1;}return _0x70fdb;}['splitBy'](_0x4818c5){const _0xcd273=Duration['fromDurationLike'](_0x4818c5);if(!this['isValid']||!_0xcd273['isValid']||0x0===_0xcd273['as']('milliseconds'))return[];let _0x266f9a,{s:_0xcac65e}=this,_0xccbc8b=0x1;const _0x453d7c=[];for(;_0xcac65e<this['e'];){const _0xaf3d53=this['start']['plus'](_0xcd273['mapUnits'](_0x414ccd=>_0x414ccd*_0xccbc8b));_0x266f9a=+_0xaf3d53>+this['e']?this['e']:_0xaf3d53,_0x453d7c['push'](Interval['fromDateTimes'](_0xcac65e,_0x266f9a)),_0xcac65e=_0x266f9a,_0xccbc8b+=0x1;}return _0x453d7c;}['divideEqually'](_0x2b2a7f){return this['isValid']?this['splitBy'](this['length']()/_0x2b2a7f)['slice'](0x0,_0x2b2a7f):[];}['overlaps'](_0x4cda69){return this['e']>_0x4cda69['s']&&this['s']<_0x4cda69['e'];}['abutsStart'](_0x545abb){return!!this['isValid']&&+this['e']===+_0x545abb['s'];}['abutsEnd'](_0x15572e){return!!this['isValid']&&+_0x15572e['e']===+this['s'];}['engulfs'](_0x21e633){return!!this['isValid']&&(this['s']<=_0x21e633['s']&&this['e']>=_0x21e633['e']);}['equals'](_0x513afd){return!(!this['isValid']||!_0x513afd['isValid'])&&(this['s']['equals'](_0x513afd['s'])&&this['e']['equals'](_0x513afd['e']));}['intersection'](_0x329d41){if(!this['isValid'])return this;const _0x192c1f=this['s']>_0x329d41['s']?this['s']:_0x329d41['s'],_0x502bf3=this['e']<_0x329d41['e']?this['e']:_0x329d41['e'];return _0x192c1f>=_0x502bf3?null:Interval['fromDateTimes'](_0x192c1f,_0x502bf3);}['union'](_0x3f1f9c){if(!this['isValid'])return this;const _0x5aeada=this['s']<_0x3f1f9c['s']?this['s']:_0x3f1f9c['s'],_0x55bd24=this['e']>_0x3f1f9c['e']?this['e']:_0x3f1f9c['e'];return Interval['fromDateTimes'](_0x5aeada,_0x55bd24);}static['merge'](_0x4ddc79){const [_0x1a8b44,_0x522cea]=_0x4ddc79['sort']((_0x4eadff,_0x18dff1)=>_0x4eadff['s']-_0x18dff1['s'])['reduce'](([_0x2cd08c,_0x4ae0c9],_0x151287)=>_0x4ae0c9?_0x4ae0c9['overlaps'](_0x151287)||_0x4ae0c9['abutsStart'](_0x151287)?[_0x2cd08c,_0x4ae0c9['union'](_0x151287)]:[_0x2cd08c['concat']([_0x4ae0c9]),_0x151287]:[_0x2cd08c,_0x151287],[[],null]);return _0x522cea&&_0x1a8b44['push'](_0x522cea),_0x1a8b44;}static['xor'](_0x1c78ff){let _0x455db3=null,_0x3138b7=0x0;const _0x306409=[],_0x5006dc=_0x1c78ff['map'](_0x136712=>[{'time':_0x136712['s'],'type':'s'},{'time':_0x136712['e'],'type':'e'}]),_0x17f783=Array['prototype']['concat'](..._0x5006dc)['sort']((_0x309937,_0x31be65)=>_0x309937['time']-_0x31be65['time']);for(const _0x58e0a9 of _0x17f783)_0x3138b7+='s'===_0x58e0a9['type']?0x1:-0x1,0x1===_0x3138b7?_0x455db3=_0x58e0a9['time']:(_0x455db3&&+_0x455db3!==+_0x58e0a9['time']&&_0x306409['push'](Interval['fromDateTimes'](_0x455db3,_0x58e0a9['time'])),_0x455db3=null);return Interval['merge'](_0x306409);}['difference'](..._0x4b3847){return Interval['xor']([this]['concat'](_0x4b3847))['map'](_0x3d41d7=>this['intersection'](_0x3d41d7))['filter'](_0x42ba54=>_0x42ba54&&!_0x42ba54['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x4fefde;}[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'](_0x473dc2=_0x5b0b18,_0x346d75={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x346d75),_0x473dc2)['formatInterval'](this):_0x4fefde;}['toISO'](_0x4f8f55){return this['isValid']?this['s']['toISO'](_0x4f8f55)+'/'+this['e']['toISO'](_0x4f8f55):_0x4fefde;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x4fefde;}['toISOTime'](_0x23a728){return this['isValid']?this['s']['toISOTime'](_0x23a728)+'/'+this['e']['toISOTime'](_0x23a728):_0x4fefde;}['toFormat'](_0x30c59a,{separator:_0x3edd60='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x30c59a)+_0x3edd60+this['e']['toFormat'](_0x30c59a):_0x4fefde;}['toDuration'](_0x129102,_0x2be78c){return this['isValid']?this['e']['diff'](this['s'],_0x129102,_0x2be78c):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x5d2cfd){return Interval['fromDateTimes'](_0x5d2cfd(this['s']),_0x5d2cfd(this['e']));}}class _0x41c822{static['hasDST'](_0x4a31f8=Settings['defaultZone']){const _0x2b342c=DateTime['now']()['setZone'](_0x4a31f8)['set']({'month':0xc});return!_0x4a31f8['isUniversal']&&_0x2b342c['offset']!==_0x2b342c['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x36392c){return _0x350bf1['isValidZone'](_0x36392c);}static['normalizeZone'](_0x548d20){return _0xdb52ed(_0x548d20,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x59e57b=null,locObj:_0x37a6f4=null}={}){return(_0x37a6f4||_0x5b0f5e['create'](_0x59e57b))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x45268f=null,locObj:_0x5aeaa9=null}={}){return(_0x5aeaa9||_0x5b0f5e['create'](_0x45268f))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x454706=null,locObj:_0x3bce44=null}={}){return(_0x3bce44||_0x5b0f5e['create'](_0x454706))['getWeekendDays']()['slice']();}static['months'](_0x38f4c1='long',{locale:_0x59c446=null,numberingSystem:_0xcf5d23=null,locObj:_0x422415=null,outputCalendar:_0x3c7e5e='gregory'}={}){return(_0x422415||_0x5b0f5e['create'](_0x59c446,_0xcf5d23,_0x3c7e5e))['months'](_0x38f4c1);}static['monthsFormat'](_0x53da29='long',{locale:_0x29d8d3=null,numberingSystem:_0xb1605d=null,locObj:_0x532460=null,outputCalendar:_0x8e1358='gregory'}={}){return(_0x532460||_0x5b0f5e['create'](_0x29d8d3,_0xb1605d,_0x8e1358))['months'](_0x53da29,!0x0);}static['weekdays'](_0x5c71dc='long',{locale:_0x193b1c=null,numberingSystem:_0x97d085=null,locObj:_0x5d8d79=null}={}){return(_0x5d8d79||_0x5b0f5e['create'](_0x193b1c,_0x97d085,null))['weekdays'](_0x5c71dc);}static['weekdaysFormat'](_0x1c9195='long',{locale:_0x5bf308=null,numberingSystem:_0x4b8275=null,locObj:_0x2defb8=null}={}){return(_0x2defb8||_0x5b0f5e['create'](_0x5bf308,_0x4b8275,null))['weekdays'](_0x1c9195,!0x0);}static['meridiems']({locale:_0x25fb50=null}={}){return _0x5b0f5e['create'](_0x25fb50)['meridiems']();}static['eras'](_0x53f150='short',{locale:_0x572b1e=null}={}){return _0x5b0f5e['create'](_0x572b1e,null,'gregory')['eras'](_0x53f150);}static['features'](){return{'relative':_0x4fdd15(),'localeWeek':_0x426517()};}}function _0x3f13af(_0x27a7f2,_0x39035a){const _0x232ba8=_0x23bb97=>_0x23bb97['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x296c7e=_0x232ba8(_0x39035a)-_0x232ba8(_0x27a7f2);return Math['floor'](Duration['fromMillis'](_0x296c7e)['as']('days'));}function _0x5ef379(_0x53f47c,_0x5a3c07,_0x777401,_0x48516c){let [_0x475520,_0x2a1b9a,_0x53cda2,_0x3d162d]=function(_0x5c250a,_0x5d7fe6,_0xa4739e){const _0x480e92=[['years',(_0x25e2b3,_0x409bdd)=>_0x409bdd['year']-_0x25e2b3['year']],['quarters',(_0x93a26e,_0x3336ba)=>_0x3336ba['quarter']-_0x93a26e['quarter']+0x4*(_0x3336ba['year']-_0x93a26e['year'])],['months',(_0x33b413,_0x484675)=>_0x484675['month']-_0x33b413['month']+0xc*(_0x484675['year']-_0x33b413['year'])],['weeks',(_0x4475ff,_0x26e008)=>{const _0x3dc9dc=_0x3f13af(_0x4475ff,_0x26e008);return(_0x3dc9dc-_0x3dc9dc%0x7)/0x7;}],['days',_0x3f13af]],_0x1eeb21={},_0x43fb9f=_0x5c250a;let _0x4424df,_0x25c57e;for(const [_0x3539f0,_0x3044d5]of _0x480e92)_0xa4739e['indexOf'](_0x3539f0)>=0x0&&(_0x4424df=_0x3539f0,_0x1eeb21[_0x3539f0]=_0x3044d5(_0x5c250a,_0x5d7fe6),_0x25c57e=_0x43fb9f['plus'](_0x1eeb21),_0x25c57e>_0x5d7fe6?(_0x1eeb21[_0x3539f0]--,(_0x5c250a=_0x43fb9f['plus'](_0x1eeb21))>_0x5d7fe6&&(_0x25c57e=_0x5c250a,_0x1eeb21[_0x3539f0]--,_0x5c250a=_0x43fb9f['plus'](_0x1eeb21))):_0x5c250a=_0x25c57e);return[_0x5c250a,_0x1eeb21,_0x25c57e,_0x4424df];}(_0x53f47c,_0x5a3c07,_0x777401);const _0x3ad81f=_0x5a3c07-_0x475520,_0x14ab2c=_0x777401['filter'](_0x2e2358=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x2e2358)>=0x0);0x0===_0x14ab2c['length']&&(_0x53cda2<_0x5a3c07&&(_0x53cda2=_0x475520['plus']({[_0x3d162d]:0x1})),_0x53cda2!==_0x475520&&(_0x2a1b9a[_0x3d162d]=(_0x2a1b9a[_0x3d162d]||0x0)+_0x3ad81f/(_0x53cda2-_0x475520)));const _0x17af4e=Duration['fromObject'](_0x2a1b9a,_0x48516c);return _0x14ab2c['length']>0x0?Duration['fromMillis'](_0x3ad81f,_0x48516c)['shiftTo'](..._0x14ab2c)['plus'](_0x17af4e):_0x17af4e;}function _0x3e0655(_0x32a922,_0x512f43=_0x543bbf=>_0x543bbf){return{'regex':_0x32a922,'deser':([_0x4d577b])=>_0x512f43(function(_0x593c9f){let _0x33e318=parseInt(_0x593c9f,0xa);if(isNaN(_0x33e318)){_0x33e318='';for(let _0xc20e13=0x0;_0xc20e13<_0x593c9f['length'];_0xc20e13++){const _0x3925ee=_0x593c9f['charCodeAt'](_0xc20e13);if(-0x1!==_0x593c9f[_0xc20e13]['search'](_0x3a061c['hanidec']))_0x33e318+=_0x2b0c62['indexOf'](_0x593c9f[_0xc20e13]);else for(const _0x90a7bb in _0x2733e8){const [_0x10d0d4,_0x5cbd0e]=_0x2733e8[_0x90a7bb];_0x3925ee>=_0x10d0d4&&_0x3925ee<=_0x5cbd0e&&(_0x33e318+=_0x3925ee-_0x10d0d4);}}return parseInt(_0x33e318,0xa);}return _0x33e318;}(_0x4d577b))};}const _0xcb04e9='[\x20'+String['fromCharCode'](0xa0)+']',_0x5a6aad=new RegExp(_0xcb04e9,'g');function _0x45ebbf(_0x58b2b6){return _0x58b2b6['replace'](/\./g,'\x5c.?')['replace'](_0x5a6aad,_0xcb04e9);}function _0x823247(_0xe37fe7){return _0xe37fe7['replace'](/\./g,'')['replace'](_0x5a6aad,'\x20')['toLowerCase']();}function _0x455612(_0x250348,_0x19bf42){return null===_0x250348?null:{'regex':RegExp(_0x250348['map'](_0x45ebbf)['join']('|')),'deser':([_0xce4215])=>_0x250348['findIndex'](_0x52fab7=>_0x823247(_0xce4215)===_0x823247(_0x52fab7))+_0x19bf42};}function _0x1f1084(_0x110461,_0x1e2df2){return{'regex':_0x110461,'deser':([,_0x46060d,_0x1d7160])=>_0x445838(_0x46060d,_0x1d7160),'groups':_0x1e2df2};}function _0x8b4f(_0x302d22){return{'regex':_0x302d22,'deser':([_0x2ef477])=>_0x2ef477};}function _0x5caf22(_0xba12fc){return _0xba12fc['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0x39ee3b={'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 _0x6b30f6=null;function _0x394caf(_0x3b2359,_0x254771){return Array['prototype']['concat'](..._0x3b2359['map'](t=>function(_0x474794,_0x5a6af5){if(_0x474794['literal'])return _0x474794;const _0x284633=_0x56dd8c(Formatter['macroTokenToFormatOpts'](_0x474794['val']),_0x5a6af5);return null==_0x284633||_0x284633['includes'](void 0x0)?_0x474794:_0x284633;}(t,_0x254771)));}class _0x40caa5{constructor(_0x3ae30d,_0x26a145){if(this['locale']=_0x3ae30d,this['format']=_0x26a145,this['tokens']=_0x394caf(Formatter['parseFormat'](_0x26a145),_0x3ae30d),this['units']=this['tokens']['map'](t=>function(_0x409eb1,_0x1ea7ef){const _0x2c2e74=_0x556ffd(_0x1ea7ef),_0x4aa201=_0x556ffd(_0x1ea7ef,'{2}'),_0x31163d=_0x556ffd(_0x1ea7ef,'{3}'),_0x10b1a4=_0x556ffd(_0x1ea7ef,'{4}'),_0x10a506=_0x556ffd(_0x1ea7ef,'{6}'),_0x29c460=_0x556ffd(_0x1ea7ef,'{1,2}'),_0x8d6a62=_0x556ffd(_0x1ea7ef,'{1,3}'),_0x77b6c6=_0x556ffd(_0x1ea7ef,'{1,6}'),_0x4ebb4e=_0x556ffd(_0x1ea7ef,'{1,9}'),_0x4f293d=_0x556ffd(_0x1ea7ef,'{2,4}'),_0x175e91=_0x556ffd(_0x1ea7ef,'{4,6}'),_0x45e42c=t=>({'regex':RegExp(_0x5caf22(t['val'])),'deser':([_0x43ab4a])=>_0x43ab4a,'literal':!0x0}),_0x7debf=(t=>{if(_0x409eb1['literal'])return _0x45e42c(t);switch(t['val']){case'G':return _0x455612(_0x1ea7ef['eras']('short'),0x0);case'GG':return _0x455612(_0x1ea7ef['eras']('long'),0x0);case'y':return _0x3e0655(_0x77b6c6);case'yy':case'kk':return _0x3e0655(_0x4f293d,_0x2754e9);case'yyyy':case'kkkk':return _0x3e0655(_0x10b1a4);case'yyyyy':return _0x3e0655(_0x175e91);case'yyyyyy':return _0x3e0655(_0x10a506);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0x3e0655(_0x29c460);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0x3e0655(_0x4aa201);case'MMM':return _0x455612(_0x1ea7ef['months']('short',!0x0),0x1);case'MMMM':return _0x455612(_0x1ea7ef['months']('long',!0x0),0x1);case'LLL':return _0x455612(_0x1ea7ef['months']('short',!0x1),0x1);case'LLLL':return _0x455612(_0x1ea7ef['months']('long',!0x1),0x1);case'o':case'S':return _0x3e0655(_0x8d6a62);case'ooo':case'SSS':return _0x3e0655(_0x31163d);case'u':return _0x8b4f(_0x4ebb4e);case'uu':return _0x8b4f(_0x29c460);case'uuu':case'E':case'c':return _0x3e0655(_0x2c2e74);case'a':return _0x455612(_0x1ea7ef['meridiems'](),0x0);case'EEE':return _0x455612(_0x1ea7ef['weekdays']('short',!0x1),0x1);case'EEEE':return _0x455612(_0x1ea7ef['weekdays']('long',!0x1),0x1);case'ccc':return _0x455612(_0x1ea7ef['weekdays']('short',!0x0),0x1);case'cccc':return _0x455612(_0x1ea7ef['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0x1f1084(new RegExp('([+-]'+_0x29c460['source']+')(?::('+_0x4aa201['source']+'))?'),0x2);case'ZZZ':return _0x1f1084(new RegExp('([+-]'+_0x29c460['source']+')('+_0x4aa201['source']+')?'),0x2);case'z':return _0x8b4f(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x8b4f(/[^\S\n\r]/);default:return _0x45e42c(t);}})(_0x409eb1)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x7debf['token']=_0x409eb1,_0x7debf;}(t,_0x3ae30d)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x52d2cd,_0x46fd28]=function(_0x3d1fb9){const _0x176209=_0x3d1fb9['map'](_0x3bdedf=>_0x3bdedf['regex'])['reduce']((_0x4f2a89,_0x392d98)=>_0x4f2a89+'('+_0x392d98['source']+')','');return['^'+_0x176209+'$',_0x3d1fb9];}(this['units']);this['regex']=RegExp(_0x52d2cd,'i'),this['handlers']=_0x46fd28;}}['explainFromTokens'](_0xeb4fd6){if(this['isValid']){const [_0x5b1ddb,_0x2c740d]=function(_0x1823f5,_0x24c35b,_0x2694fc){const _0x4d95cc=_0x1823f5['match'](_0x24c35b);if(_0x4d95cc){const _0x2222c6={};let _0x1474d4=0x1;for(const _0x42fb01 in _0x2694fc)if(_0x38402c(_0x2694fc,_0x42fb01)){const _0x3f919a=_0x2694fc[_0x42fb01],_0x21483b=_0x3f919a['groups']?_0x3f919a['groups']+0x1:0x1;!_0x3f919a['literal']&&_0x3f919a['token']&&(_0x2222c6[_0x3f919a['token']['val'][0x0]]=_0x3f919a['deser'](_0x4d95cc['slice'](_0x1474d4,_0x1474d4+_0x21483b))),_0x1474d4+=_0x21483b;}return[_0x4d95cc,_0x2222c6];}return[_0x4d95cc,{}];}(_0xeb4fd6,this['regex'],this['handlers']),[_0x4c1c19,_0x455951,_0x1524a6]=_0x2c740d?function(_0x970c32){let _0x2c60a6,_0x2fea91=null;_0x383223(_0x970c32['z'])||(_0x2fea91=_0x350bf1['create'](_0x970c32['z'])),_0x383223(_0x970c32['Z'])||(_0x2fea91||(_0x2fea91=new FixedOffsetZone(_0x970c32['Z'])),_0x2c60a6=_0x970c32['Z']),_0x383223(_0x970c32['q'])||(_0x970c32['M']=0x3*(_0x970c32['q']-0x1)+0x1),_0x383223(_0x970c32['h'])||(_0x970c32['h']<0xc&&0x1===_0x970c32['a']?_0x970c32['h']+=0xc:0xc===_0x970c32['h']&&0x0===_0x970c32['a']&&(_0x970c32['h']=0x0)),0x0===_0x970c32['G']&&_0x970c32['y']&&(_0x970c32['y']=-_0x970c32['y']),_0x383223(_0x970c32['u'])||(_0x970c32['S']=_0x39e2b6(_0x970c32['u']));const _0x409183=Object['keys'](_0x970c32)['reduce']((_0x315af2,_0x3177c5)=>{const _0x5adef1=(_0x4f4e80=>{switch(_0x4f4e80){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;}})(_0x3177c5);return _0x5adef1&&(_0x315af2[_0x5adef1]=_0x970c32[_0x3177c5]),_0x315af2;},{});return[_0x409183,_0x2fea91,_0x2c60a6];}(_0x2c740d):[null,null,void 0x0];if(_0x38402c(_0x2c740d,'a')&&_0x38402c(_0x2c740d,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0xeb4fd6,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x5b1ddb,'matches':_0x2c740d,'result':_0x4c1c19,'zone':_0x455951,'specificOffset':_0x1524a6};}return{'input':_0xeb4fd6,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x110238(_0x1b7c79,_0x17bca6,_0x13cd20){return new _0x40caa5(_0x1b7c79,_0x13cd20)['explainFromTokens'](_0x17bca6);}function _0x56dd8c(_0x3b2afc,_0x5751e1){if(!_0x3b2afc)return null;const _0x308b9e=Formatter['create'](_0x5751e1,_0x3b2afc)['dtFormatter']((_0x6b30f6||(_0x6b30f6=DateTime['fromMillis'](0x16a2e5618e3)),_0x6b30f6)),_0xb906d6=_0x308b9e['formatToParts'](),_0x13cb28=_0x308b9e['resolvedOptions']();return _0xb906d6['map'](_0x5ba7b6=>function(_0x428ee0,_0x4e0a9b,_0x15c968){const {type:_0x32adfb,value:_0x20564f}=_0x428ee0;if('literal'===_0x32adfb){const _0xcc3ac9=/^\s+$/['test'](_0x20564f);return{'literal':!_0xcc3ac9,'val':_0xcc3ac9?'\x20':_0x20564f};}const _0xe3945a=_0x4e0a9b[_0x32adfb];let _0xa0d12d=_0x32adfb;'hour'===_0x32adfb&&(_0xa0d12d=null!=_0x4e0a9b['hour12']?_0x4e0a9b['hour12']?'hour12':'hour24':null!=_0x4e0a9b['hourCycle']?'h11'===_0x4e0a9b['hourCycle']||'h12'===_0x4e0a9b['hourCycle']?'hour12':'hour24':_0x15c968['hour12']?'hour12':'hour24');let _0x1ccbd5=_0x39ee3b[_0xa0d12d];if('object'==typeof _0x1ccbd5&&(_0x1ccbd5=_0x1ccbd5[_0xe3945a]),_0x1ccbd5)return{'literal':!0x1,'val':_0x1ccbd5};}(_0x5ba7b6,_0x3b2afc,_0x13cb28));}const _0x4119c9='Invalid\x20DateTime',_0x194144=0x1eb208c2dc0000;function _0x1e4a74(_0x43f75b){return new _0x4d1fed('unsupported\x20zone','the\x20zone\x20\x22'+_0x43f75b['name']+'\x22\x20is\x20not\x20supported');}function _0x2ed9a0(_0x220832){return null===_0x220832['weekData']&&(_0x220832['weekData']=_0x58e98c(_0x220832['c'])),_0x220832['weekData'];}function _0x2eb538(_0x21b764){return null===_0x21b764['localWeekData']&&(_0x21b764['localWeekData']=_0x58e98c(_0x21b764['c'],_0x21b764['loc']['getMinDaysInFirstWeek'](),_0x21b764['loc']['getStartOfWeek']())),_0x21b764['localWeekData'];}function _0x505736(_0x39732f,_0x2f403f){const _0x3d0525={'ts':_0x39732f['ts'],'zone':_0x39732f['zone'],'c':_0x39732f['c'],'o':_0x39732f['o'],'loc':_0x39732f['loc'],'invalid':_0x39732f['invalid']};return new DateTime({..._0x3d0525,..._0x2f403f,'old':_0x3d0525});}function _0x2cd3f0(_0x38ae28,_0x3807c6,_0x18ff78){let _0x5edbdf=_0x38ae28-0x3c*_0x3807c6*0x3e8;const _0x16bc47=_0x18ff78['offset'](_0x5edbdf);if(_0x3807c6===_0x16bc47)return[_0x5edbdf,_0x3807c6];_0x5edbdf-=0x3c*(_0x16bc47-_0x3807c6)*0x3e8;const _0x89b209=_0x18ff78['offset'](_0x5edbdf);return _0x16bc47===_0x89b209?[_0x5edbdf,_0x16bc47]:[_0x38ae28-0x3c*Math['min'](_0x16bc47,_0x89b209)*0x3e8,Math['max'](_0x16bc47,_0x89b209)];}function _0x3c2ce9(_0x115daa,_0x21eedd){const _0x20e916=new Date(_0x115daa+=0x3c*_0x21eedd*0x3e8);return{'year':_0x20e916['getUTCFullYear'](),'month':_0x20e916['getUTCMonth']()+0x1,'day':_0x20e916['getUTCDate'](),'hour':_0x20e916['getUTCHours'](),'minute':_0x20e916['getUTCMinutes'](),'second':_0x20e916['getUTCSeconds'](),'millisecond':_0x20e916['getUTCMilliseconds']()};}function _0x3b2f67(_0x3ca72b,_0x52271f,_0x2ff609){return _0x2cd3f0(_0x244f53(_0x3ca72b),_0x52271f,_0x2ff609);}function _0x5e15e9(_0x27829e,_0x457330){const _0x3ab92d=_0x27829e['o'],_0x2af8e5=_0x27829e['c']['year']+Math['trunc'](_0x457330['years']),_0x475710=_0x27829e['c']['month']+Math['trunc'](_0x457330['months'])+0x3*Math['trunc'](_0x457330['quarters']),_0x29f91a={..._0x27829e['c'],'year':_0x2af8e5,'month':_0x475710,'day':Math['min'](_0x27829e['c']['day'],_0x4816a6(_0x2af8e5,_0x475710))+Math['trunc'](_0x457330['days'])+0x7*Math['trunc'](_0x457330['weeks'])},_0x5c0481=Duration['fromObject']({'years':_0x457330['years']-Math['trunc'](_0x457330['years']),'quarters':_0x457330['quarters']-Math['trunc'](_0x457330['quarters']),'months':_0x457330['months']-Math['trunc'](_0x457330['months']),'weeks':_0x457330['weeks']-Math['trunc'](_0x457330['weeks']),'days':_0x457330['days']-Math['trunc'](_0x457330['days']),'hours':_0x457330['hours'],'minutes':_0x457330['minutes'],'seconds':_0x457330['seconds'],'milliseconds':_0x457330['milliseconds']})['as']('milliseconds'),_0x283349=_0x244f53(_0x29f91a);let [_0x270765,_0x1e22e5]=_0x2cd3f0(_0x283349,_0x3ab92d,_0x27829e['zone']);return 0x0!==_0x5c0481&&(_0x270765+=_0x5c0481,_0x1e22e5=_0x27829e['zone']['offset'](_0x270765)),{'ts':_0x270765,'o':_0x1e22e5};}function _0x2bcb46(_0x4ba4b4,_0x268419,_0x3bfbe0,_0x56774a,_0x58ba18,_0x23947e){const {setZone:_0x8a8ec2,zone:_0x5ef151}=_0x3bfbe0;if(_0x4ba4b4&&0x0!==Object['keys'](_0x4ba4b4)['length']||_0x268419){const _0x19b52f=_0x268419||_0x5ef151,_0x18db83=DateTime['fromObject'](_0x4ba4b4,{..._0x3bfbe0,'zone':_0x19b52f,'specificOffset':_0x23947e});return _0x8a8ec2?_0x18db83:_0x18db83['setZone'](_0x5ef151);}return DateTime['invalid'](new _0x4d1fed('unparsable','the\x20input\x20\x22'+_0x58ba18+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x56774a));}function _0x38c6ca(_0x5b9149,_0x509bd5,_0x482e56=!0x0){return _0x5b9149['isValid']?Formatter['create'](_0x5b0f5e['create']('en-US'),{'allowZ':_0x482e56,'forceSimple':!0x0})['formatDateTimeFromString'](_0x5b9149,_0x509bd5):null;}function _0x539cdd(_0x2ff236,_0x6e32e7){const _0x3629e4=_0x2ff236['c']['year']>0x270f||_0x2ff236['c']['year']<0x0;let _0x46eef4='';return _0x3629e4&&_0x2ff236['c']['year']>=0x0&&(_0x46eef4+='+'),_0x46eef4+=_0x412aaf(_0x2ff236['c']['year'],_0x3629e4?0x6:0x4),_0x6e32e7?(_0x46eef4+='-',_0x46eef4+=_0x412aaf(_0x2ff236['c']['month']),_0x46eef4+='-',_0x46eef4+=_0x412aaf(_0x2ff236['c']['day'])):(_0x46eef4+=_0x412aaf(_0x2ff236['c']['month']),_0x46eef4+=_0x412aaf(_0x2ff236['c']['day'])),_0x46eef4;}function _0xa0dfbf(_0x394388,_0x469d7a,_0x452334,_0x2b07fb,_0x128690,_0x98badc){let _0x3bcdec=_0x412aaf(_0x394388['c']['hour']);return _0x469d7a?(_0x3bcdec+=':',_0x3bcdec+=_0x412aaf(_0x394388['c']['minute']),0x0===_0x394388['c']['millisecond']&&0x0===_0x394388['c']['second']&&_0x452334||(_0x3bcdec+=':')):_0x3bcdec+=_0x412aaf(_0x394388['c']['minute']),0x0===_0x394388['c']['millisecond']&&0x0===_0x394388['c']['second']&&_0x452334||(_0x3bcdec+=_0x412aaf(_0x394388['c']['second']),0x0===_0x394388['c']['millisecond']&&_0x2b07fb||(_0x3bcdec+='.',_0x3bcdec+=_0x412aaf(_0x394388['c']['millisecond'],0x3))),_0x128690&&(_0x394388['isOffsetFixed']&&0x0===_0x394388['offset']&&!_0x98badc?_0x3bcdec+='Z':_0x394388['o']<0x0?(_0x3bcdec+='-',_0x3bcdec+=_0x412aaf(Math['trunc'](-_0x394388['o']/0x3c)),_0x3bcdec+=':',_0x3bcdec+=_0x412aaf(Math['trunc'](-_0x394388['o']%0x3c))):(_0x3bcdec+='+',_0x3bcdec+=_0x412aaf(Math['trunc'](_0x394388['o']/0x3c)),_0x3bcdec+=':',_0x3bcdec+=_0x412aaf(Math['trunc'](_0x394388['o']%0x3c)))),_0x98badc&&(_0x3bcdec+='['+_0x394388['zone']['ianaName']+']'),_0x3bcdec;}const to={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x17def2={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x1a8983={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x4e0943=['year','month','day','hour','minute','second','millisecond'],_0x4c1b45=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x4ea9b0=['year','ordinal','hour','minute','second','millisecond'];function _0x176829(_0xb57afb){switch(_0xb57afb['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x5e8644){const _0x104456={'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'}[_0x5e8644['toLowerCase']()];if(!_0x104456)throw new InvalidUnitError(_0x5e8644);return _0x104456;}(_0xb57afb);}}function _0x312559(_0x30db4e,_0x45f4f1){const _0x337c90=_0xdb52ed(_0x45f4f1['zone'],Settings['defaultZone']);if(!_0x337c90['isValid'])return DateTime['invalid'](_0x1e4a74(_0x337c90));const _0x5f4550=_0x5b0f5e['fromObject'](_0x45f4f1);let _0x1ec872,_0x4bd797;if(_0x383223(_0x30db4e['year']))_0x1ec872=Settings['now']();else{for(const _0x44f41e of _0x4e0943)_0x383223(_0x30db4e[_0x44f41e])&&(_0x30db4e[_0x44f41e]=to[_0x44f41e]);const _0xbb852=_0x48cc95(_0x30db4e)||_0x217063(_0x30db4e);if(_0xbb852)return DateTime['invalid'](_0xbb852);const _0x2a723a=function(_0x454d80){if(void 0x0===_0xb60e7&&(_0xb60e7=Settings['now']()),'iana'!==_0x454d80['type'])return _0x454d80['offset'](_0xb60e7);const _0xdbf23e=_0x454d80['name'];let _0x34445d=_0x5234e4['get'](_0xdbf23e);return void 0x0===_0x34445d&&(_0x34445d=_0x454d80['offset'](_0xb60e7),_0x5234e4['set'](_0xdbf23e,_0x34445d)),_0x34445d;}(_0x337c90);[_0x1ec872,_0x4bd797]=_0x3b2f67(_0x30db4e,_0x2a723a,_0x337c90);}return new DateTime({'ts':_0x1ec872,'zone':_0x337c90,'loc':_0x5f4550,'o':_0x4bd797});}function _0x2c3906(_0x35beb2,_0x49b88a,_0x3738c3){const _0x32c3c9=!!_0x383223(_0x3738c3['round'])||_0x3738c3['round'],_0x3a62b5=(_0x5209cd,_0x2e8ecc)=>{return _0x5209cd=_0x2f93fc(_0x5209cd,_0x32c3c9||_0x3738c3['calendary']?0x0:0x2,!0x0),_0x49b88a['loc']['clone'](_0x3738c3)['relFormatter'](_0x3738c3)['format'](_0x5209cd,_0x2e8ecc);},_0x500a1b=_0x4c3dc9=>_0x3738c3['calendary']?_0x49b88a['hasSame'](_0x35beb2,_0x4c3dc9)?0x0:_0x49b88a['startOf'](_0x4c3dc9)['diff'](_0x35beb2['startOf'](_0x4c3dc9),_0x4c3dc9)['get'](_0x4c3dc9):_0x49b88a['diff'](_0x35beb2,_0x4c3dc9)['get'](_0x4c3dc9);if(_0x3738c3['unit'])return _0x3a62b5(_0x500a1b(_0x3738c3['unit']),_0x3738c3['unit']);for(const _0x321347 of _0x3738c3['units']){const _0x22b318=_0x500a1b(_0x321347);if(Math['abs'](_0x22b318)>=0x1)return _0x3a62b5(_0x22b318,_0x321347);}return _0x3a62b5(_0x35beb2>_0x49b88a?-0x0:0x0,_0x3738c3['units'][_0x3738c3['units']['length']-0x1]);}function _0x1bc37f(_0x27c519){let _0x143c47,_0x541226={};return _0x27c519['length']>0x0&&'object'==typeof _0x27c519[_0x27c519['length']-0x1]?(_0x541226=_0x27c519[_0x27c519['length']-0x1],_0x143c47=Array['from'](_0x27c519)['slice'](0x0,_0x27c519['length']-0x1)):_0x143c47=Array['from'](_0x27c519),[_0x541226,_0x143c47];}let _0xb60e7;const _0x5234e4=new Map();class DateTime{constructor(_0x1c15d0){const _0x17af42=_0x1c15d0['zone']||Settings['defaultZone'];let _0x171901=_0x1c15d0['invalid']||(Number['isNaN'](_0x1c15d0['ts'])?new _0x4d1fed('invalid\x20input'):null)||(_0x17af42['isValid']?null:_0x1e4a74(_0x17af42));this['ts']=_0x383223(_0x1c15d0['ts'])?Settings['now']():_0x1c15d0['ts'];let _0x36a6b4=null,_0x4051c7=null;if(!_0x171901){if(_0x1c15d0['old']&&_0x1c15d0['old']['ts']===this['ts']&&_0x1c15d0['old']['zone']['equals'](_0x17af42))[_0x36a6b4,_0x4051c7]=[_0x1c15d0['old']['c'],_0x1c15d0['old']['o']];else{const _0x1a82a9=_0x59d4b8(_0x1c15d0['o'])&&!_0x1c15d0['old']?_0x1c15d0['o']:_0x17af42['offset'](this['ts']);_0x36a6b4=_0x3c2ce9(this['ts'],_0x1a82a9),_0x171901=Number['isNaN'](_0x36a6b4['year'])?new _0x4d1fed('invalid\x20input'):null,_0x36a6b4=_0x171901?null:_0x36a6b4,_0x4051c7=_0x171901?null:_0x1a82a9;}}this['_zone']=_0x17af42,this['loc']=_0x1c15d0['loc']||_0x5b0f5e['create'](),this['invalid']=_0x171901,this['weekData']=null,this['localWeekData']=null,this['c']=_0x36a6b4,this['o']=_0x4051c7,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0xfe2e02,_0x57633a]=_0x1bc37f(arguments),[_0x38e698,_0xe14210,_0x9b2859,_0x3e3aae,_0x1af872,_0x4d7b6d,_0x2daee1]=_0x57633a;return _0x312559({'year':_0x38e698,'month':_0xe14210,'day':_0x9b2859,'hour':_0x3e3aae,'minute':_0x1af872,'second':_0x4d7b6d,'millisecond':_0x2daee1},_0xfe2e02);}static['utc'](){const [_0x246a82,_0x36f926]=_0x1bc37f(arguments),[_0x345b05,_0x54edd0,_0x36d6a6,_0x3c44d3,_0x3ee2fd,_0x189849,_0x240bcd]=_0x36f926;return _0x246a82['zone']=FixedOffsetZone['utcInstance'],_0x312559({'year':_0x345b05,'month':_0x54edd0,'day':_0x36d6a6,'hour':_0x3c44d3,'minute':_0x3ee2fd,'second':_0x189849,'millisecond':_0x240bcd},_0x246a82);}static['fromJSDate'](_0x13a077,_0x3d71bf={}){const _0x1a77ee=function(_0x579e55){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x579e55);}(_0x13a077)?_0x13a077['valueOf']():NaN;if(Number['isNaN'](_0x1a77ee))return DateTime['invalid']('invalid\x20input');const _0x4d7140=_0xdb52ed(_0x3d71bf['zone'],Settings['defaultZone']);return _0x4d7140['isValid']?new DateTime({'ts':_0x1a77ee,'zone':_0x4d7140,'loc':_0x5b0f5e['fromObject'](_0x3d71bf)}):DateTime['invalid'](_0x1e4a74(_0x4d7140));}static['fromMillis'](_0x1bb334,_0x25e0f0={}){if(_0x59d4b8(_0x1bb334))return _0x1bb334<-_0x194144||_0x1bb334>_0x194144?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x1bb334,'zone':_0xdb52ed(_0x25e0f0['zone'],Settings['defaultZone']),'loc':_0x5b0f5e['fromObject'](_0x25e0f0)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x1bb334+'\x20with\x20value\x20'+_0x1bb334);}static['fromSeconds'](_0x491b3e,_0x316c47={}){if(_0x59d4b8(_0x491b3e))return new DateTime({'ts':0x3e8*_0x491b3e,'zone':_0xdb52ed(_0x316c47['zone'],Settings['defaultZone']),'loc':_0x5b0f5e['fromObject'](_0x316c47)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x2948aa,_0x7ebbbe={}){_0x2948aa=_0x2948aa||{};const _0x1c21b7=_0xdb52ed(_0x7ebbbe['zone'],Settings['defaultZone']);if(!_0x1c21b7['isValid'])return DateTime['invalid'](_0x1e4a74(_0x1c21b7));const _0x48db94=_0x5b0f5e['fromObject'](_0x7ebbbe),_0x462ca0=_0x3fe41d(_0x2948aa,_0x176829),{minDaysInFirstWeek:_0x4259b4,startOfWeek:_0x4abb57}=_0x17d2be(_0x462ca0,_0x48db94),_0xc67100=Settings['now'](),_0x98a0b2=_0x383223(_0x7ebbbe['specificOffset'])?_0x1c21b7['offset'](_0xc67100):_0x7ebbbe['specificOffset'],_0x43a114=!_0x383223(_0x462ca0['ordinal']),_0x3cf5b6=!_0x383223(_0x462ca0['year']),_0x1db535=!_0x383223(_0x462ca0['month'])||!_0x383223(_0x462ca0['day']),_0x3ae098=_0x3cf5b6||_0x1db535,_0x3065c0=_0x462ca0['weekYear']||_0x462ca0['weekNumber'];if((_0x3ae098||_0x43a114)&&_0x3065c0)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x1db535&&_0x43a114)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x97b64e=_0x3065c0||_0x462ca0['weekday']&&!_0x3ae098;let _0x4177b3,_0x547368,_0x2d3433=_0x3c2ce9(_0xc67100,_0x98a0b2);_0x97b64e?(_0x4177b3=_0x4c1b45,_0x547368=_0x17def2,_0x2d3433=_0x58e98c(_0x2d3433,_0x4259b4,_0x4abb57)):_0x43a114?(_0x4177b3=_0x4ea9b0,_0x547368=_0x1a8983,_0x2d3433=_0x3d22b3(_0x2d3433)):(_0x4177b3=_0x4e0943,_0x547368=to);let _0x463901=!0x1;for(const _0x3f1f7b of _0x4177b3){_0x383223(_0x462ca0[_0x3f1f7b])?_0x462ca0[_0x3f1f7b]=_0x463901?_0x547368[_0x3f1f7b]:_0x2d3433[_0x3f1f7b]:_0x463901=!0x0;}const _0x390199=_0x97b64e?function(_0x128613,_0x52309b=0x4,_0x2ddba4=0x1){const _0x14c0c5=_0x5c4cf6(_0x128613['weekYear']),_0x53b106=_0x1a3a74(_0x128613['weekNumber'],0x1,_0x3ffde2(_0x128613['weekYear'],_0x52309b,_0x2ddba4)),_0x1d14c5=_0x1a3a74(_0x128613['weekday'],0x1,0x7);return _0x14c0c5?_0x53b106?!_0x1d14c5&&_0x1e2268('weekday',_0x128613['weekday']):_0x1e2268('week',_0x128613['weekNumber']):_0x1e2268('weekYear',_0x128613['weekYear']);}(_0x462ca0,_0x4259b4,_0x4abb57):_0x43a114?function(_0xad3973){const _0x472498=_0x5c4cf6(_0xad3973['year']),_0x46e992=_0x1a3a74(_0xad3973['ordinal'],0x1,_0xee03c(_0xad3973['year']));return _0x472498?!_0x46e992&&_0x1e2268('ordinal',_0xad3973['ordinal']):_0x1e2268('year',_0xad3973['year']);}(_0x462ca0):_0x48cc95(_0x462ca0),_0x400de4=_0x390199||_0x217063(_0x462ca0);if(_0x400de4)return DateTime['invalid'](_0x400de4);const _0x38d13f=_0x97b64e?_0x3e9439(_0x462ca0,_0x4259b4,_0x4abb57):_0x43a114?_0x40bf3a(_0x462ca0):_0x462ca0,[_0x3ce407,_0x3a2234]=_0x3b2f67(_0x38d13f,_0x98a0b2,_0x1c21b7),_0x20b298=new DateTime({'ts':_0x3ce407,'zone':_0x1c21b7,'o':_0x3a2234,'loc':_0x48db94});return _0x462ca0['weekday']&&_0x3ae098&&_0x2948aa['weekday']!==_0x20b298['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x462ca0['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x20b298['toISO']()):_0x20b298['isValid']?_0x20b298:DateTime['invalid'](_0x20b298['invalid']);}static['fromISO'](_0x165e2a,_0x34104b={}){const [_0x37062a,_0x36b5fa]=function(_0x31de0e){return _0xd747e7(_0x31de0e,[tr,_0x2ac5ad],[_0x5e9455,_0x548d95],[_0x5277ce,_0x396bb0],[_0x4fec4c,_0x425d3f]);}(_0x165e2a);return _0x2bcb46(_0x37062a,_0x36b5fa,_0x34104b,'ISO\x208601',_0x165e2a);}static['fromRFC2822'](_0x2f4706,_0x503f4c={}){const [_0x541284,_0x37e07b]=function(_0x4cec68){return _0xd747e7(function(_0x2416bd){return _0x2416bd['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x4cec68),[_0x3338d1,_0x38cd12]);}(_0x2f4706);return _0x2bcb46(_0x541284,_0x37e07b,_0x503f4c,'RFC\x202822',_0x2f4706);}static['fromHTTP'](_0x22c4db,_0x25820f={}){const [_0x111787,_0x1072e9]=function(_0x26c9e6){return _0xd747e7(_0x26c9e6,[_0x1f13dd,_0x2ccb77],[_0x5746c5,_0x2ccb77],[_0x5266e0,_0x4aca27]);}(_0x22c4db);return _0x2bcb46(_0x111787,_0x1072e9,_0x25820f,'HTTP',_0x25820f);}static['fromFormat'](_0xbc365c,_0x2813d7,_0x53277b={}){if(_0x383223(_0xbc365c)||_0x383223(_0x2813d7))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x347b5b=null,numberingSystem:_0x2dc983=null}=_0x53277b,_0x5091cf=_0x5b0f5e['fromOpts']({'locale':_0x347b5b,'numberingSystem':_0x2dc983,'defaultToEN':!0x0}),[_0x4cf3bc,_0x5f5c57,_0xe924dc,_0x1f9945]=function(_0x3719f8,_0x107f2d,_0x46c654){const {result:_0x5c7614,zone:_0x2b5690,specificOffset:_0x2d974b,invalidReason:_0x1aa6c7}=_0x110238(_0x3719f8,_0x107f2d,_0x46c654);return[_0x5c7614,_0x2b5690,_0x2d974b,_0x1aa6c7];}(_0x5091cf,_0xbc365c,_0x2813d7);return _0x1f9945?DateTime['invalid'](_0x1f9945):_0x2bcb46(_0x4cf3bc,_0x5f5c57,_0x53277b,'format\x20'+_0x2813d7,_0xbc365c,_0xe924dc);}static['fromString'](_0x286082,_0x5bba57,_0x4298fe={}){return DateTime['fromFormat'](_0x286082,_0x5bba57,_0x4298fe);}static['fromSQL'](_0x428676,_0x244a14={}){const [_0x1835cc,_0x8cb041]=function(_0xc520a9){return _0xd747e7(_0xc520a9,[_0x29a317,_0x2ac5ad],[_0x1ae860,_0x5df308]);}(_0x428676);return _0x2bcb46(_0x1835cc,_0x8cb041,_0x244a14,'SQL',_0x428676);}static['invalid'](_0xbe0bed,_0xb906d4=null){if(!_0xbe0bed)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x3a8d24=_0xbe0bed instanceof _0x4d1fed?_0xbe0bed:new _0x4d1fed(_0xbe0bed,_0xb906d4);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x3a8d24);return new DateTime({'invalid':_0x3a8d24});}static['isDateTime'](_0x240917){return _0x240917&&_0x240917['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x2e2f0d,_0x5adce6={}){const _0x1b0225=_0x56dd8c(_0x2e2f0d,_0x5b0f5e['fromObject'](_0x5adce6));return _0x1b0225?_0x1b0225['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x36d074,_0x105c50={}){return _0x394caf(Formatter['parseFormat'](_0x36d074),_0x5b0f5e['fromObject'](_0x105c50))['map'](t=>t['val'])['join']('');}static['resetCache'](){_0xb60e7=void 0x0,_0x5234e4['clear']();}['get'](_0x675ee7){return this[_0x675ee7];}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']?_0x2ed9a0(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x2ed9a0(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x2ed9a0(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x2eb538(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x2eb538(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x2eb538(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x3d22b3(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x41c822['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x41c822['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x41c822['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x41c822['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 _0x2bf995=0x5265c00,_0x213cef=0xea60,_0x5f5a95=_0x244f53(this['c']),_0x369831=this['zone']['offset'](_0x5f5a95-_0x2bf995),_0x3fbbf0=this['zone']['offset'](_0x5f5a95+_0x2bf995),_0x482f02=this['zone']['offset'](_0x5f5a95-_0x369831*_0x213cef),_0x1274e5=this['zone']['offset'](_0x5f5a95-_0x3fbbf0*_0x213cef);if(_0x482f02===_0x1274e5)return[this];const _0x5e0fb3=_0x5f5a95-_0x482f02*_0x213cef,_0x463a4b=_0x5f5a95-_0x1274e5*_0x213cef,_0x311d80=_0x3c2ce9(_0x5e0fb3,_0x482f02),_0xfdf7c9=_0x3c2ce9(_0x463a4b,_0x1274e5);return _0x311d80['hour']===_0xfdf7c9['hour']&&_0x311d80['minute']===_0xfdf7c9['minute']&&_0x311d80['second']===_0xfdf7c9['second']&&_0x311d80['millisecond']===_0xfdf7c9['millisecond']?[_0x505736(this,{'ts':_0x5e0fb3}),_0x505736(this,{'ts':_0x463a4b})]:[this];}get['isInLeapYear'](){return _0x1b5171(this['year']);}get['daysInMonth'](){return _0x4816a6(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0xee03c(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x3ffde2(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x3ffde2(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x466223={}){const {locale:_0x582c44,numberingSystem:_0xac998b,calendar:_0x5db9d3}=Formatter['create'](this['loc']['clone'](_0x466223),_0x466223)['resolvedOptions'](this);return{'locale':_0x582c44,'numberingSystem':_0xac998b,'outputCalendar':_0x5db9d3};}['toUTC'](_0x5c712a=0x0,_0x3ae1ea={}){return this['setZone'](FixedOffsetZone['instance'](_0x5c712a),_0x3ae1ea);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x433d96,{keepLocalTime:_0x2733db=!0x1,keepCalendarTime:_0x454701=!0x1}={}){if((_0x433d96=_0xdb52ed(_0x433d96,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x433d96['isValid']){let _0x5bca0f=this['ts'];if(_0x2733db||_0x454701){const _0x47c2fb=_0x433d96['offset'](this['ts']),_0x27453c=this['toObject']();[_0x5bca0f]=_0x3b2f67(_0x27453c,_0x47c2fb,_0x433d96);}return _0x505736(this,{'ts':_0x5bca0f,'zone':_0x433d96});}return DateTime['invalid'](_0x1e4a74(_0x433d96));}['reconfigure']({locale:_0x1e63c2,numberingSystem:_0x383a4b,outputCalendar:_0x3dabe4}={}){return _0x505736(this,{'loc':this['loc']['clone']({'locale':_0x1e63c2,'numberingSystem':_0x383a4b,'outputCalendar':_0x3dabe4})});}['setLocale'](_0xcfbb5b){return this['reconfigure']({'locale':_0xcfbb5b});}['set'](_0x4f0897){if(!this['isValid'])return this;const _0x5d4400=_0x3fe41d(_0x4f0897,_0x176829),{minDaysInFirstWeek:_0x48cddb,startOfWeek:_0x39baa7}=_0x17d2be(_0x5d4400,this['loc']),_0x1a6fd3=!_0x383223(_0x5d4400['weekYear'])||!_0x383223(_0x5d4400['weekNumber'])||!_0x383223(_0x5d4400['weekday']),_0x2148c1=!_0x383223(_0x5d4400['ordinal']),_0x5a3d97=!_0x383223(_0x5d4400['year']),_0x397fc8=!_0x383223(_0x5d4400['month'])||!_0x383223(_0x5d4400['day']),_0xe49e42=_0x5a3d97||_0x397fc8,_0x2ee069=_0x5d4400['weekYear']||_0x5d4400['weekNumber'];if((_0xe49e42||_0x2148c1)&&_0x2ee069)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x397fc8&&_0x2148c1)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x45fbea;_0x1a6fd3?_0x45fbea=_0x3e9439({..._0x58e98c(this['c'],_0x48cddb,_0x39baa7),..._0x5d4400},_0x48cddb,_0x39baa7):_0x383223(_0x5d4400['ordinal'])?(_0x45fbea={...this['toObject'](),..._0x5d4400},_0x383223(_0x5d4400['day'])&&(_0x45fbea['day']=Math['min'](_0x4816a6(_0x45fbea['year'],_0x45fbea['month']),_0x45fbea['day']))):_0x45fbea=_0x40bf3a({..._0x3d22b3(this['c']),..._0x5d4400});const [_0x3008b7,_0x275a68]=_0x3b2f67(_0x45fbea,this['o'],this['zone']);return _0x505736(this,{'ts':_0x3008b7,'o':_0x275a68});}['plus'](_0x2c5b96){if(!this['isValid'])return this;return _0x505736(this,_0x5e15e9(this,Duration['fromDurationLike'](_0x2c5b96)));}['minus'](_0x513716){if(!this['isValid'])return this;return _0x505736(this,_0x5e15e9(this,Duration['fromDurationLike'](_0x513716)['negate']()));}['startOf'](_0xe980de,{useLocaleWeeks:_0x243e0a=!0x1}={}){if(!this['isValid'])return this;const _0x467f47={},_0x5851da=Duration['normalizeUnit'](_0xe980de);switch(_0x5851da){case'years':_0x467f47['month']=0x1;case'quarters':case'months':_0x467f47['day']=0x1;case'weeks':case'days':_0x467f47['hour']=0x0;case'hours':_0x467f47['minute']=0x0;case'minutes':_0x467f47['second']=0x0;case'seconds':_0x467f47['millisecond']=0x0;}if('weeks'===_0x5851da){if(_0x243e0a){const _0x5b3ef2=this['loc']['getStartOfWeek'](),{weekday:_0x193534}=this;_0x193534<_0x5b3ef2&&(_0x467f47['weekNumber']=this['weekNumber']-0x1),_0x467f47['weekday']=_0x5b3ef2;}else _0x467f47['weekday']=0x1;}if('quarters'===_0x5851da){const _0x3c2b6d=Math['ceil'](this['month']/0x3);_0x467f47['month']=0x3*(_0x3c2b6d-0x1)+0x1;}return this['set'](_0x467f47);}['endOf'](_0xd5c6e0,_0x213e95){return this['isValid']?this['plus']({[_0xd5c6e0]:0x1})['startOf'](_0xd5c6e0,_0x213e95)['minus'](0x1):this;}['toFormat'](_0x40df7d,_0x1262b7={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x1262b7))['formatDateTimeFromString'](this,_0x40df7d):_0x4119c9;}['toLocaleString'](_0x5d1977=_0x5b0b18,_0x4eb5cf={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x4eb5cf),_0x5d1977)['formatDateTime'](this):_0x4119c9;}['toLocaleParts'](_0x399cde={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x399cde),_0x399cde)['formatDateTimeParts'](this):[];}['toISO']({format:_0x35a86c='extended',suppressSeconds:_0x13dd09=!0x1,suppressMilliseconds:_0x25afb0=!0x1,includeOffset:_0xb844ca=!0x0,extendedZone:_0x250924=!0x1}={}){if(!this['isValid'])return null;const _0x16dfcf='extended'===_0x35a86c;let _0x493868=_0x539cdd(this,_0x16dfcf);return _0x493868+='T',_0x493868+=_0xa0dfbf(this,_0x16dfcf,_0x13dd09,_0x25afb0,_0xb844ca,_0x250924),_0x493868;}['toISODate']({format:_0x4be9b9='extended'}={}){return this['isValid']?_0x539cdd(this,'extended'===_0x4be9b9):null;}['toISOWeekDate'](){return _0x38c6ca(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0xe5dcf5=!0x1,suppressSeconds:_0x1ac113=!0x1,includeOffset:_0x2873ae=!0x0,includePrefix:_0x5d52c4=!0x1,extendedZone:_0x52ef71=!0x1,format:_0x3aae0d='extended'}={}){if(!this['isValid'])return null;return(_0x5d52c4?'T':'')+_0xa0dfbf(this,'extended'===_0x3aae0d,_0x1ac113,_0xe5dcf5,_0x2873ae,_0x52ef71);}['toRFC2822'](){return _0x38c6ca(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return _0x38c6ca(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?_0x539cdd(this,!0x0):null;}['toSQLTime']({includeOffset:_0x25c6bd=!0x0,includeZone:_0x4f32eb=!0x1,includeOffsetSpace:_0x77bc34=!0x0}={}){let _0xdfbccb='HH:mm:ss.SSS';return(_0x4f32eb||_0x25c6bd)&&(_0x77bc34&&(_0xdfbccb+='\x20'),_0x4f32eb?_0xdfbccb+='z':_0x25c6bd&&(_0xdfbccb+='ZZ')),_0x38c6ca(this,_0xdfbccb,!0x0);}['toSQL'](_0x7da471={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x7da471):null;}['toString'](){return this['isValid']?this['toISO']():_0x4119c9;}[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'](_0x3a3b27={}){if(!this['isValid'])return{};const _0x2fbbd2={...this['c']};return _0x3a3b27['includeConfig']&&(_0x2fbbd2['outputCalendar']=this['outputCalendar'],_0x2fbbd2['numberingSystem']=this['loc']['numberingSystem'],_0x2fbbd2['locale']=this['loc']['locale']),_0x2fbbd2;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x3449d6,_0x2b597c='milliseconds',_0x3dc6e2={}){if(!this['isValid']||!_0x3449d6['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x4fe0d5={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x3dc6e2},_0x28b451=(_0x1b308e=_0x2b597c,Array['isArray'](_0x1b308e)?_0x1b308e:[_0x1b308e])['map'](Duration['normalizeUnit']),_0x121ad5=_0x3449d6['valueOf']()>this['valueOf'](),_0x1386bf=_0x5ef379(_0x121ad5?this:_0x3449d6,_0x121ad5?_0x3449d6:this,_0x28b451,_0x4fe0d5);var _0x1b308e;return _0x121ad5?_0x1386bf['negate']():_0x1386bf;}['diffNow'](_0x15699e='milliseconds',_0x3fbb0a={}){return this['diff'](DateTime['now'](),_0x15699e,_0x3fbb0a);}['until'](_0x5aa084){return this['isValid']?Interval['fromDateTimes'](this,_0x5aa084):this;}['hasSame'](_0x404965,_0xe16de8,_0x25aff7){if(!this['isValid'])return!0x1;const _0x1ad7e1=_0x404965['valueOf'](),_0x337f0a=this['setZone'](_0x404965['zone'],{'keepLocalTime':!0x0});return _0x337f0a['startOf'](_0xe16de8,_0x25aff7)<=_0x1ad7e1&&_0x1ad7e1<=_0x337f0a['endOf'](_0xe16de8,_0x25aff7);}['equals'](_0x531abc){return this['isValid']&&_0x531abc['isValid']&&this['valueOf']()===_0x531abc['valueOf']()&&this['zone']['equals'](_0x531abc['zone'])&&this['loc']['equals'](_0x531abc['loc']);}['toRelative'](_0x430e06={}){if(!this['isValid'])return null;const _0x2f32c0=_0x430e06['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x50e176=_0x430e06['padding']?this<_0x2f32c0?-_0x430e06['padding']:_0x430e06['padding']:0x0;let _0x7e980c=['years','months','days','hours','minutes','seconds'],_0x50083e=_0x430e06['unit'];return Array['isArray'](_0x430e06['unit'])&&(_0x7e980c=_0x430e06['unit'],_0x50083e=void 0x0),_0x2c3906(_0x2f32c0,this['plus'](_0x50e176),{..._0x430e06,'numeric':'always','units':_0x7e980c,'unit':_0x50083e});}['toRelativeCalendar'](_0xf780e5={}){return this['isValid']?_0x2c3906(_0xf780e5['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0xf780e5,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x34e3f8){if(!_0x34e3f8['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x1a5000(_0x34e3f8,_0x299f08=>_0x299f08['valueOf'](),Math['min']);}static['max'](..._0x4a8f44){if(!_0x4a8f44['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x1a5000(_0x4a8f44,_0x208239=>_0x208239['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x4db692,_0x4fca44,_0x521105={}){const {locale:_0x27fd10=null,numberingSystem:_0x15d665=null}=_0x521105;return _0x110238(_0x5b0f5e['fromOpts']({'locale':_0x27fd10,'numberingSystem':_0x15d665,'defaultToEN':!0x0}),_0x4db692,_0x4fca44);}static['fromStringExplain'](_0x1092b8,_0x1d0ec8,_0x3f6b61={}){return DateTime['fromFormatExplain'](_0x1092b8,_0x1d0ec8,_0x3f6b61);}static['buildFormatParser'](_0x2a5e85,_0x4a37e4={}){const {locale:_0x2cae1e=null,numberingSystem:_0x2d179c=null}=_0x4a37e4,_0x5c2534=_0x5b0f5e['fromOpts']({'locale':_0x2cae1e,'numberingSystem':_0x2d179c,'defaultToEN':!0x0});return new _0x40caa5(_0x5c2534,_0x2a5e85);}static['fromFormatParser'](_0x39acfd,_0x26a3de,_0x12c6f8={}){if(_0x383223(_0x39acfd)||_0x383223(_0x26a3de))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x4c6de3=null,numberingSystem:_0x235fca=null}=_0x12c6f8,_0x47b6d4=_0x5b0f5e['fromOpts']({'locale':_0x4c6de3,'numberingSystem':_0x235fca,'defaultToEN':!0x0});if(!_0x47b6d4['equals'](_0x26a3de['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x47b6d4+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x26a3de['locale']);const {result:_0x30933a,zone:_0x3b3894,specificOffset:_0x1ffc63,invalidReason:_0x18cf17}=_0x26a3de['explainFromTokens'](_0x39acfd);return _0x18cf17?DateTime['invalid'](_0x18cf17):_0x2bcb46(_0x30933a,_0x3b3894,_0x12c6f8,'format\x20'+_0x26a3de['format'],_0x39acfd,_0x1ffc63);}static get['DATE_SHORT'](){return _0x5b0b18;}static get['DATE_MED'](){return _0x969202;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x3a6624;}static get['DATE_FULL'](){return _0x447113;}static get['DATE_HUGE'](){return _0x516648;}static get['TIME_SIMPLE'](){return _0x49b938;}static get['TIME_WITH_SECONDS'](){return _0x5c88b6;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x283c1c;}static get['TIME_WITH_LONG_OFFSET'](){return _0x247e8c;}static get['TIME_24_SIMPLE'](){return _0x2608a7;}static get['TIME_24_WITH_SECONDS'](){return _0x33b437;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x155fe0;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x371bec;}static get['DATETIME_SHORT'](){return _0x5bb8e0;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x2892ec;}static get['DATETIME_MED'](){return _0x33622c;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x1fd986;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x4a21c2;}static get['DATETIME_FULL'](){return _0x2cb346;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x4b67dc;}static get['DATETIME_HUGE'](){return _0x5939cc;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x596f13;}}function _0x452581(_0x113b62){if(DateTime['isDateTime'](_0x113b62))return _0x113b62;if(_0x113b62&&_0x113b62['valueOf']&&_0x59d4b8(_0x113b62['valueOf']()))return DateTime['fromJSDate'](_0x113b62);if(_0x113b62&&'object'==typeof _0x113b62)return DateTime['fromObject'](_0x113b62);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x113b62+',\x20of\x20type\x20'+typeof _0x113b62);}function _0x17c219(_0x57d0b2={},_0x31a053){if(void 0x0!==_0x57d0b2['dateTimeFormat']&&'function'!=typeof _0x57d0b2['dateTimeFormat'])throw new _0xa0ed63['CKEditorError']('invalid-date-time-format');return _0x41efe0=>{const _0x4a8165='string'==typeof _0x41efe0?DateTime['fromISO'](_0x41efe0):DateTime['fromJSDate'](_0x41efe0),_0x5dabe6=DateTime['now'](),_0x50133b=Math['floor'](_0x5dabe6['diff'](_0x4a8165,'days')['days']);return _0x57d0b2['dateTimeFormat']?_0x57d0b2['dateTimeFormat'](_0x4a8165['toJSDate'](),_0x31a053&&_0x31a053['t']?_0x31a053['t']:void 0x0):0x0===_0x50133b?_0x31a053?_0x16c7c3(_0x31a053,'Today')+'\x20'+_0x4a8165['toFormat']('hh:mma'):_0x4a8165['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x50133b?_0x31a053?_0x16c7c3(_0x31a053,'Yesterday')+'\x20'+_0x4a8165['toFormat']('hh:mma'):_0x4a8165['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x50133b<0x7?_0x31a053?_0x16c7c3(_0x31a053,'Last')+'\x20'+_0x16c7c3(_0x31a053,_0x4a8165['toFormat']('EEEE'))+'\x20'+_0x4a8165['toFormat']('hh:mma'):_0x4a8165['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x4a8165['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0xf4366a(_0x4da017,_0x5947dd){const _0x51c0e0=_0x4da017['mapper']['markerNameToElements'](_0x5947dd['name']);if(!_0x51c0e0)return null;const _0x207db3=_0xa0ed63['first'](_0x51c0e0['values']());return _0x4da017['view']['domConverter']['mapViewToDom'](_0x207db3)||null;}function _0x39c902(_0x38ec7e,_0xa30e1){if(0x0===_0xa30e1['length'])return null;const _0x4238b8=[],_0x5ef6de=_0x38ec7e['view']['domConverter'];for(const _0x329c52 of _0xa30e1){const _0x5359ef=_0x38ec7e['mapper']['markerNameToElements'](_0x329c52['name']);if(!_0x5359ef)continue;const _0x30f0d0=Array['from'](_0x5359ef)['map'](_0x20ec05=>_0x5ef6de['mapViewToDom'](_0x20ec05))['filter'](_0x28ca86=>!!_0x28ca86);_0x4238b8['push'](..._0x30f0d0);}if(0x0===_0x4238b8['length'])return null;const _0x1ea308=[];for(const _0x2105dc of _0x4238b8){const _0x3adc13=_0x2105dc['getClientRects']()['item'](0x0);_0x3adc13&&_0x1ea308['push']({'x':_0x3adc13['x'],'y':_0x3adc13['y'],'domElement':_0x2105dc});}return 0x0===_0x1ea308['length']?null:(_0x1ea308['sort']((_0x131dee,_0x4daa67)=>_0x131dee['y']-_0x4daa67['y']||_0x131dee['x']-_0x4daa67['x']),_0x1ea308['map'](_0x2449be=>_0x2449be['domElement']));}function _0x50dc1d(_0x3a3cf7,{limit:_0x53e7a5,suffix:_0x4cbab2='...'}){const _0x4f90e6=[];let _0x28c535=0x0;const _0x26cde9=_0x3a3cf7['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x383650=0x0;_0x383650<_0x26cde9['length'];_0x383650++){let _0x4feb7b=_0x26cde9[_0x383650];const _0x325ba1=_0x6a55dd(_0x4feb7b);if(_0x4feb7b['startsWith']('<')){if(_0x28c535>=_0x53e7a5){const _0x64b140=_0x4feb7b['match'](/[a-zA-Z]+/);if(!_0x64b140){_0x26cde9[_0x383650]='';continue;}const _0x2c2934=_0x64b140[0x0];_0x4feb7b['startsWith']('</')?(_0x4f90e6['length']&&(_0x4feb7b=''),_0x4f90e6['pop']()):(_0x4f90e6['push'](_0x2c2934),_0x4feb7b='');}}else{if(_0x28c535>=_0x53e7a5)_0x4feb7b='';else{if(_0x28c535+_0x325ba1['length']>=_0x53e7a5){let _0x479e33=_0x53e7a5-_0x28c535;if('\x20'===_0x325ba1[_0x479e33-0x1])_0x479e33--;else{const _0x5ce57a=_0x325ba1['slice'](_0x479e33)['indexOf']('\x20');-0x1!==_0x5ce57a?_0x479e33+=_0x5ce57a:_0x479e33=_0x4feb7b['length'];}_0x4feb7b=_0x325ba1['slice'](0x0,_0x479e33)['join']('')+_0x4cbab2,_0x28c535=_0x53e7a5;}else _0x28c535+=_0x325ba1['length'];}}_0x26cde9[_0x383650]=_0x4feb7b;}return _0x26cde9['join']('\x0a')['replace'](/\n/g,'');}function _0x6a55dd(_0x66cc3a){const _0x115985=[];for(let _0x566c4a=0x0;_0x566c4a<_0x66cc3a['length'];_0x566c4a++){const _0xc0c331=_0x66cc3a['substring'](_0x566c4a)['match'](/^&[a-z0-9#]+;/);if(_0xc0c331){const _0x45d26f=_0xc0c331[0x0];_0x115985['push'](_0x45d26f),_0x566c4a+=_0x45d26f['length']-0x1;}else _0x115985['push'](_0x66cc3a[_0x566c4a]);}return _0x115985;}class _0x58f0f7 extends _0xa0ed63['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x54ba5c){super(_0x54ba5c);const _0x34f245=this['bindTemplate'];this['set']('message',_0x16c7c3(_0x54ba5c,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x54ba5c,_0x16c7c3(_0x54ba5c,'Yes'),_0xa0ed63['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x54ba5c,_0x16c7c3(_0x54ba5c,'No'),_0xa0ed63['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['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':_0x34f245['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'](_0x52db44,_0x2a9c09,_0x4d9d3d,_0x462e57){const _0x6f269c=new _0xa0ed63['ButtonView'](_0x52db44);return _0x6f269c['label']=_0x2a9c09,_0x6f269c['icon']=_0x4d9d3d,_0x6f269c['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x462e57}}),_0x6f269c['on']('execute',()=>this['fire'](_0x462e57)),_0x6f269c;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x2353a9=>{this['keystrokes']['listenTo'](_0x2353a9['element']),this['focusTracker']['add'](_0x2353a9['element']);}),this['keystrokes']['set']('esc',(_0x4d0998,_0x55cd30)=>{this['fire']('cancel'),_0x55cd30();});}}function _0x37545e(_0x539f29){return class _0x264c20 extends _0x539f29{['showConfirm'](_0x50f6d0,_0x5dde8d){return this['confirmView']=new _0x58f0f7(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x50f6d0,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x5dde8d['appendChild'](this['confirmView']['element']),_0x5dde8d['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x2835eb,_0x2b7077,_0x204f72)=>{_0x204f72||_0x5dde8d['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4d9e9f=>this['confirmView']['on']('submit',_0x4d9e9f));}['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 _0x4854f3(_0x3a6ac1){let _0x191c4c=0x0,_0x82d74=0x0;for(const _0x26d685 of _0x5f26fa(_0x3a6ac1))_0x191c4c=(_0x191c4c<<0x5)-_0x191c4c+_0x26d685,_0x191c4c&=_0x191c4c,[_0x191c4c,_0x82d74]=[_0x82d74,_0x191c4c];return _0xe52410(_0x191c4c)+_0xe52410(_0x82d74);}function*_0x274d90(_0x29b5b1){null==_0x29b5b1||null==_0x29b5b1?yield 0x12b9b0a1:0x0===_0x29b5b1||!0x1===_0x29b5b1?yield 0x0:0x1===_0x29b5b1||0x1==_0x29b5b1?yield 0x1:Array['isArray'](_0x29b5b1)?yield*function*(_0x3043f9){for(const _0x931525 of _0x3043f9)yield*_0x274d90(_0x931525);}(_0x29b5b1):'object'==typeof _0x29b5b1?yield*_0x5f26fa(_0x29b5b1):'string'==typeof _0x29b5b1?yield*_0x4eb8fd(_0x29b5b1):'number'==typeof _0x29b5b1&&(yield _0x29b5b1);}function*_0x5f26fa(_0x3909dd){if(yield _0x2cf983('{'),_0x3909dd){const _0x5a0eee=Object['keys'](_0x3909dd)['sort']();for(const _0x1be872 of _0x5a0eee){yield*_0x4eb8fd(_0x1be872),yield _0x2cf983(':');const _0xbf5e5f=_0x3909dd[_0x1be872];yield*_0x274d90(_0xbf5e5f);}}yield _0x2cf983('}');}function*_0x4eb8fd(_0x352a06){yield _0x2cf983('\x22');for(const _0x33f5f5 of _0x352a06)yield _0x2cf983(_0x33f5f5);yield _0x2cf983('\x22');}function _0x2cf983(_0x35c4b8){return _0x35c4b8['charCodeAt'](0x0);}function _0xe52410(_0x5f56a2){return(_0x5f56a2*=Math['sign'](_0x5f56a2))['toString'](0x24);}const _0x2dc8e3=['initialData','context','toolbar','rootsAttributes'],_0x323cd9=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x2655c5(_0x3141cc,_0x2c0c07,_0x4d47cb,_0x5759ce=[]){const _0x5ee33c='string'==typeof _0x3141cc?_0x4d47cb['get'](_0x3141cc)['constructor']:_0x3141cc['prototype']['constructor'];if(_0x2c0c07['has'](_0x5ee33c))return _0x2c0c07['get'](_0x5ee33c);_0x2c0c07['set'](_0x5ee33c,!0x0);const _0x2cf631=[..._0x323cd9,..._0x5759ce]['map'](_0x24dbc3=>{if(_0x4d47cb['has'](_0x24dbc3))return _0x4d47cb['get'](_0x24dbc3)['constructor'];})['filter'](_0x15f078=>_0x15f078);if(_0x5ee33c&&_0x2cf631['includes'](_0x5ee33c))return _0x2c0c07['set'](_0x5ee33c,!0x1),!0x1;if(!_0x5ee33c['requires'])return _0x2c0c07['set'](_0x5ee33c,!0x0),!0x0;const _0x154b9f=_0x5ee33c['requires']['every'](_0x55528f=>_0x2655c5(_0x55528f,_0x2c0c07,_0x4d47cb,_0x5759ce));return _0x2c0c07['set'](_0x5ee33c,_0x154b9f),_0x154b9f;}function _0x14b9a3(_0x1e9675,_0x5c8abb){const _0x3aaf52={};for(const _0x56bd2c of _0x1e9675['config']['names']())_0x2dc8e3['includes'](_0x56bd2c)||(_0x3aaf52[_0x56bd2c]=_0x1e9675['config']['get'](_0x56bd2c));const _0x3750c5=_0x3aaf52['plugins']||[],_0x4ceecc=_0x1e9675['constructor']['builtinPlugins']||[],_0x1a402d=_0x3750c5['length']?_0x3750c5:_0x4ceecc,_0x4a556b=_0x3aaf52['extraPlugins']||[];delete _0x3aaf52['extraPlugins'];const _0x17118e=_0x3aaf52['removePlugins']||[];delete _0x3aaf52['removePlugins'];const _0x374f0f=_0x1e9675['_context']['config']['get']('plugins')||[],_0x5b7f27=_0x1a402d['concat'](_0x4a556b)['concat'](_0x374f0f)['map'](_0x3afa84=>'string'==typeof _0x3afa84?_0x4ceecc['find'](_0x1d444c=>_0x1d444c['pluginName']==_0x3afa84):_0x3afa84)['filter'](_0x563047=>!_0x17118e['includes'](_0x563047)&&!_0x17118e['includes'](_0x563047['pluginName'])),_0x33106e=Array['from'](new Set(_0x5b7f27)),_0x557bfb=new Map();return _0x3aaf52['plugins']=_0x33106e['filter'](_0x39a948=>_0x2655c5(_0x39a948,_0x557bfb,_0x1e9675['plugins'],_0x5c8abb)),_0x3aaf52;}function _0x117c09(_0x582afa,_0x3c07c0){const _0x537ab5=[];_0x582afa['document']['selection']['on']('change:range',()=>{const _0x57b10b=function(_0x20add1,_0x159bf8){const _0xfaa21f=[];for(const _0x53fe5c of _0x20add1['markers']){const _0x523697=_0x53fe5c['getRange']();(_0x523697['containsPosition'](_0x159bf8)||_0x523697['start']['isEqual'](_0x159bf8)||_0x523697['end']['isEqual'](_0x159bf8))&&_0xfaa21f['push'](_0x53fe5c);}return _0xfaa21f;}(_0x582afa,_0x582afa['document']['selection']['focus']),_0x1010a1=[],_0x5eb193=[],_0x3c131c=[];for(const _0x3a088a of _0x537ab5)_0x57b10b['includes'](_0x3a088a)||_0x1010a1['push'](_0x3a088a);for(const _0x184047 of _0x57b10b)_0x537ab5['includes'](_0x184047)||_0x5eb193['push'](_0x184047),_0x3c131c['push'](_0x184047);(_0x1010a1['length']||_0x5eb193['length'])&&_0x3c07c0({'left':_0x1010a1,'entered':_0x5eb193}),_0x537ab5['length']=0x0,_0x537ab5['push'](..._0x3c131c);});}const _0x524ab6='Ctrl+Shift+E';function _0x383895(_0x348c02,_0x3eeed4){const _0x53817a=_0x348c02['element'];_0x348c02['keystrokes']['listenTo'](_0x53817a);for(const _0x30d996 of _0x3eeed4)_0x41aa4b(_0x348c02,_0x30d996);_0x3eeed4['on']('change',(_0x519bcd,_0x6ae64)=>{for(const _0x3fde16 of _0x6ae64['removed'])_0x473e7d(_0x348c02,_0x3fde16);for(const _0x2fd296 of Array['from'](_0x6ae64['added'])['reverse']())_0x41aa4b(_0x348c02,_0x2fd296);}),_0x348c02['keystrokes']['set']('enter',(_0x527af5,_0x5977b3)=>{_0x53817a===_0x527af5['target']&&(_0x348c02['focusCycler']['focusFirst'](),_0x5977b3());},{'filter':_0x4e3f8c=>_0x4e3f8c['target']===_0x53817a}),_0x348c02['keystrokes']['set']('esc',(_0xb3be97,_0x3bd112)=>{_0x53817a!==_0xb3be97['target']?_0x348c02['focus']():_0x348c02['fire']('escape'),_0x3bd112();}),_0x348c02['keystrokes']['set']('arrowdown',(_0x49e49b,_0x1652dc)=>{_0x53817a===_0x49e49b['target']&&(_0x348c02['fire']('arrowdown'),_0x1652dc());}),_0x348c02['keystrokes']['set']('arrowup',(_0x1f63e1,_0x431e96)=>{_0x53817a===_0x1f63e1['target']&&(_0x348c02['fire']('arrowup'),_0x431e96());});}function _0x41aa4b(_0x76a3c,_0x31518b){_0x31518b['isRendered']&&(_0x76a3c['focusTracker']['add'](_0x31518b['element']),_0x76a3c['keystrokes']['listenTo'](_0x31518b['element']),_0xa0ed63['isViewWithFocusCycler'](_0x31518b)&&function(_0xd0986d,_0x4d78cb){const _0x4f8854=_0xd0986d['actions'],_0x16d2ea=_0x4d78cb['actions'];for(const _0x577803 of Object['keys'](_0x4f8854))if(_0x577803 in _0x16d2ea&&_0x4f8854[_0x577803]!==_0x16d2ea[_0x577803])return!0x1;return!0x0;}(_0x76a3c['focusCycler'],_0x31518b['focusCycler'])&&_0x76a3c['focusCycler']['chain'](_0x31518b['focusCycler']));}function _0x473e7d(_0x40a821,_0x1a1f60){_0x40a821['focusTracker']['remove'](_0x1a1f60['element']),_0x40a821['keystrokes']['stopListening'](_0x1a1f60['element']),_0xa0ed63['isViewWithFocusCycler'](_0x1a1f60)&&_0x40a821['focusCycler']['unchain'](_0x1a1f60['focusCycler']);}class _0xf610f3{['diff'](_0x130bfa,_0x20a26f,_0x35981f={}){let _0x2c6300;'function'==typeof _0x35981f?(_0x2c6300=_0x35981f,_0x35981f={}):'callback'in _0x35981f&&(_0x2c6300=_0x35981f['callback']);const _0x2f0827=this['castInput'](_0x130bfa,_0x35981f),_0x3d05ed=this['castInput'](_0x20a26f,_0x35981f),_0x1a2e91=this['removeEmpty'](this['tokenize'](_0x2f0827,_0x35981f)),_0xe307a5=this['removeEmpty'](this['tokenize'](_0x3d05ed,_0x35981f));return this['diffWithOptionsObj'](_0x1a2e91,_0xe307a5,_0x35981f,_0x2c6300);}['diffWithOptionsObj'](_0x556742,_0x309ff5,_0x407415,_0x38e3ca){var _0x26243a;const _0x5c7fda=_0x2439bc=>(_0x2439bc=this['postProcess'](_0x2439bc,_0x407415),_0x38e3ca?void setTimeout(function(){_0x38e3ca(_0x2439bc);},0x0):_0x2439bc),_0x51e75b=_0x309ff5['length'],_0x49b936=_0x556742['length'];let _0xce8432=0x1,_0x16981a=_0x51e75b+_0x49b936;null!=_0x407415['maxEditLength']&&(_0x16981a=Math['min'](_0x16981a,_0x407415['maxEditLength']));const _0x4d6c66=null!==(_0x26243a=_0x407415['timeout'])&&void 0x0!==_0x26243a?_0x26243a:0x1/0x0,_0x20b9bf=Date['now']()+_0x4d6c66,_0x5cc93c=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x1a9981=this['extractCommon'](_0x5cc93c[0x0],_0x309ff5,_0x556742,0x0,_0x407415);if(_0x5cc93c[0x0]['oldPos']+0x1>=_0x49b936&&_0x1a9981+0x1>=_0x51e75b)return _0x5c7fda(this['buildValues'](_0x5cc93c[0x0]['lastComponent'],_0x309ff5,_0x556742));let _0x788d8a=-0x1/0x0,_0x3edfb1=0x1/0x0;const _0x190a66=()=>{for(let _0x429610=Math['max'](_0x788d8a,-_0xce8432);_0x429610<=Math['min'](_0x3edfb1,_0xce8432);_0x429610+=0x2){let _0x543783;const _0x1a5d01=_0x5cc93c[_0x429610-0x1],_0x124feb=_0x5cc93c[_0x429610+0x1];_0x1a5d01&&(_0x5cc93c[_0x429610-0x1]=void 0x0);let _0x2e9438=!0x1;if(_0x124feb){const _0x3a66c4=_0x124feb['oldPos']-_0x429610;_0x2e9438=_0x124feb&&0x0<=_0x3a66c4&&_0x3a66c4<_0x51e75b;}const _0x393705=_0x1a5d01&&_0x1a5d01['oldPos']+0x1<_0x49b936;if(_0x2e9438||_0x393705){if(_0x543783=!_0x393705||_0x2e9438&&_0x1a5d01['oldPos']<_0x124feb['oldPos']?this['addToPath'](_0x124feb,!0x0,!0x1,0x0,_0x407415):this['addToPath'](_0x1a5d01,!0x1,!0x0,0x1,_0x407415),_0x1a9981=this['extractCommon'](_0x543783,_0x309ff5,_0x556742,_0x429610,_0x407415),_0x543783['oldPos']+0x1>=_0x49b936&&_0x1a9981+0x1>=_0x51e75b)return _0x5c7fda(this['buildValues'](_0x543783['lastComponent'],_0x309ff5,_0x556742))||!0x0;_0x5cc93c[_0x429610]=_0x543783,_0x543783['oldPos']+0x1>=_0x49b936&&(_0x3edfb1=Math['min'](_0x3edfb1,_0x429610-0x1)),_0x1a9981+0x1>=_0x51e75b&&(_0x788d8a=Math['max'](_0x788d8a,_0x429610+0x1));}else _0x5cc93c[_0x429610]=void 0x0;}_0xce8432++;};if(_0x38e3ca)!function _0x1d9214(){setTimeout(function(){if(_0xce8432>_0x16981a||Date['now']()>_0x20b9bf)return _0x38e3ca(void 0x0);_0x190a66()||_0x1d9214();},0x0);}();else for(;_0xce8432<=_0x16981a&&Date['now']()<=_0x20b9bf;){const _0x54f50d=_0x190a66();if(_0x54f50d)return _0x54f50d;}}['addToPath'](_0x43de60,_0x4bf95f,_0x4c1eaa,_0x3b5fa4,_0x22e103){const _0x5385f5=_0x43de60['lastComponent'];return _0x5385f5&&!_0x22e103['oneChangePerToken']&&_0x5385f5['added']===_0x4bf95f&&_0x5385f5['removed']===_0x4c1eaa?{'oldPos':_0x43de60['oldPos']+_0x3b5fa4,'lastComponent':{'count':_0x5385f5['count']+0x1,'added':_0x4bf95f,'removed':_0x4c1eaa,'previousComponent':_0x5385f5['previousComponent']}}:{'oldPos':_0x43de60['oldPos']+_0x3b5fa4,'lastComponent':{'count':0x1,'added':_0x4bf95f,'removed':_0x4c1eaa,'previousComponent':_0x5385f5}};}['extractCommon'](_0x7ede07,_0x390d74,_0x37499a,_0x50617c,_0x11c9d9){const _0x45db50=_0x390d74['length'],_0x4cd0b3=_0x37499a['length'];let _0xe296f2=_0x7ede07['oldPos'],_0x11d5f0=_0xe296f2-_0x50617c,_0x3b5b5b=0x0;for(;_0x11d5f0+0x1<_0x45db50&&_0xe296f2+0x1<_0x4cd0b3&&this['equals'](_0x37499a[_0xe296f2+0x1],_0x390d74[_0x11d5f0+0x1],_0x11c9d9);)_0x11d5f0++,_0xe296f2++,_0x3b5b5b++,_0x11c9d9['oneChangePerToken']&&(_0x7ede07['lastComponent']={'count':0x1,'previousComponent':_0x7ede07['lastComponent'],'added':!0x1,'removed':!0x1});return _0x3b5b5b&&!_0x11c9d9['oneChangePerToken']&&(_0x7ede07['lastComponent']={'count':_0x3b5b5b,'previousComponent':_0x7ede07['lastComponent'],'added':!0x1,'removed':!0x1}),_0x7ede07['oldPos']=_0xe296f2,_0x11d5f0;}['equals'](_0x22ca74,_0x86339b,_0x1ccad2){return _0x1ccad2['comparator']?_0x1ccad2['comparator'](_0x22ca74,_0x86339b):_0x22ca74===_0x86339b||!!_0x1ccad2['ignoreCase']&&_0x22ca74['toLowerCase']()===_0x86339b['toLowerCase']();}['removeEmpty'](_0x2ccf7d){const _0x56f4e8=[];for(let _0x54d0be=0x0;_0x54d0be<_0x2ccf7d['length'];_0x54d0be++)_0x2ccf7d[_0x54d0be]&&_0x56f4e8['push'](_0x2ccf7d[_0x54d0be]);return _0x56f4e8;}['castInput'](_0x19a569,_0x5716f6){return _0x19a569;}['tokenize'](_0x5807f8,_0x40189d){return Array['from'](_0x5807f8);}['join'](_0x185430){return _0x185430['join']('');}['postProcess'](_0x4262d3,_0x1f8e79){return _0x4262d3;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x3bd0ac,_0x1ebd68,_0x154378){const _0x292bcb=[];let _0x1b9d5d;for(;_0x3bd0ac;)_0x292bcb['push'](_0x3bd0ac),_0x1b9d5d=_0x3bd0ac['previousComponent'],delete _0x3bd0ac['previousComponent'],_0x3bd0ac=_0x1b9d5d;_0x292bcb['reverse']();const _0x28a98a=_0x292bcb['length'];let _0xc44281=0x0,_0x20b610=0x0,_0x19cad7=0x0;for(;_0xc44281<_0x28a98a;_0xc44281++){const _0x28d16d=_0x292bcb[_0xc44281];if(_0x28d16d['removed'])_0x28d16d['value']=this['join'](_0x154378['slice'](_0x19cad7,_0x19cad7+_0x28d16d['count'])),_0x19cad7+=_0x28d16d['count'];else{if(!_0x28d16d['added']&&this['useLongestToken']){let _0x656a49=_0x1ebd68['slice'](_0x20b610,_0x20b610+_0x28d16d['count']);_0x656a49=_0x656a49['map'](function(_0x1ba861,_0x4a0f0b){const _0x3035f4=_0x154378[_0x19cad7+_0x4a0f0b];return _0x3035f4['length']>_0x1ba861['length']?_0x3035f4:_0x1ba861;}),_0x28d16d['value']=this['join'](_0x656a49);}else _0x28d16d['value']=this['join'](_0x1ebd68['slice'](_0x20b610,_0x20b610+_0x28d16d['count']));_0x20b610+=_0x28d16d['count'],_0x28d16d['added']||(_0x19cad7+=_0x28d16d['count']);}}return _0x292bcb;}}const _0x271e33=new class _0x37033c extends _0xf610f3{['tokenize'](_0xc7a0dd){return _0xc7a0dd['slice']();}['join'](_0x468108){return _0x468108;}['removeEmpty'](_0x5af415){return _0x5af415;}}();function _0x4e6804(_0x1a71a3,_0x241f9f,_0x52c3e3){return _0x271e33['diff'](_0x1a71a3,_0x241f9f,_0x52c3e3);}const _0x51f885='$elementId',_0x26dcd0='data-id';class DocumentCompare extends _0xa0ed63['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0xa0ed63['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1d3253,_0x4c4989)=>{_0x4c4989['on']('ready',()=>{this['_integrateEditor'](_0x4c4989);});});}get['editor'](){if(this['context']instanceof _0xa0ed63['Editor'])return this['context'];{const _0x220c94=this['context']['editors']['first'];if(!_0x220c94)throw new _0xa0ed63['CKEditorError']('documentcompare-no-editor',this);return _0x220c94;}}['getDiff'](_0x52c1cb,_0x29a783,_0xe9e607={'anchor':'main','markDeletions':!0x1}){let _0x1229e7,_0x8e3f33;const _0x4f59c7=this['editor'];if('string'==typeof _0xe9e607['anchor']){const _0x5647ca=_0x4f59c7['model']['document']['getRoot'](_0xe9e607['anchor']);if(!_0x5647ca)throw new _0xa0ed63['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0xe9e607['anchor']});_0x1229e7=_0x5647ca,_0x8e3f33=_0x4f59c7['model']['createPositionAt'](_0x5647ca,0x0);}else _0x1229e7=_0xe9e607['anchor']['clone'](),_0x8e3f33=_0xe9e607['anchor']['clone']();const _0x920948=_0x4f59c7['data']['parse'](_0x52c1cb,_0x1229e7),_0x1235ed=_0x4f59c7['data']['parse'](_0x29a783,_0x1229e7);return new DocumentDiff(_0x920948,_0x1235ed,_0x4f59c7,{'anchor':_0x8e3f33,'markDeletions':_0xe9e607['markDeletions']});}['isMarkedRemoveOperation'](_0xbdce71){return'marker'==_0xbdce71['type']&&_0xbdce71['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x6657ac){_0x6657ac['conversion']['for']('upcast')['add'](_0x541800=>{_0x541800['on']('element',(_0xa75a5,_0x24ff31,_0x20db9a)=>{if(_0x24ff31['modelRange'])for(const _0x2d3403 of _0x24ff31['modelRange']['getItems']({'shallow':!0x0})){if(_0x2d3403['is']('$textProxy'))continue;const _0x18c62a=_0x24ff31['viewItem']['getAttribute'](_0x26dcd0);_0x18c62a&&_0x20db9a['writer']['setAttribute'](_0x51f885,_0x18c62a,_0x2d3403);}},{'priority':'lowest'});}),_0x6657ac['model']['schema']['addAttributeCheck'](()=>!0x0,_0x51f885);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x4f5920,_0x1b34b1,_0x43a9a3,_0x1f3b45){this['_editor']=_0x43a9a3,this['_markDeletions']=!!_0x1f3b45['markDeletions'],this['_anchor']=_0x1f3b45['anchor'];const _0x636abd=this['_tokenizeModel'](_0x4f5920),_0x2ff83b=this['_tokenizeModel'](_0x1b34b1);this['_diffItems']=this['_diffModelTokens'](_0x636abd,_0x2ff83b),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x4f5920['markers'],_0x1b34b1['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x116f4f=this['_editor']['model']['document'],_0x373f5b=[];let _0xd03332=_0x116f4f['version'];for(const _0x224bbd of this['_operationsData'])switch(_0x224bbd['type']){case'attribute':{const _0x3ec45f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']),_0x4c14a5=_0x3ec45f['getShiftedBy'](_0x224bbd['howMany']),_0x555bb4=new _0xa0ed63['ModelRange'](_0x3ec45f,_0x4c14a5),_0x40a7f4=JSON['parse'](_0x224bbd['oldValue']),_0x45b85a=JSON['parse'](_0x224bbd['newValue']);_0x373f5b['push'](new _0xa0ed63['AttributeOperation'](_0x555bb4,_0x224bbd['key'],_0x40a7f4,_0x45b85a,_0xd03332++));break;}case'insert':{const _0x3622bc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']),_0x1d7b63=this['_makeModelFromTokens'](_0x224bbd['tokens']);_0x373f5b['push'](new _0xa0ed63['InsertOperation'](_0x3622bc,_0x1d7b63,_0xd03332++));break;}case'remove':{const _0x3bf257=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']),_0x49b642=new _0xa0ed63['ModelPosition'](_0x116f4f['graveyard'],[0x0]);_0x373f5b['push'](new _0xa0ed63['MoveOperation'](_0x3bf257,_0x224bbd['howMany'],_0x49b642,_0xd03332++));break;}case'rename':{const _0x5535f8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']);_0x373f5b['push'](new _0xa0ed63['RenameOperation'](_0x5535f8,_0x224bbd['oldName'],_0x224bbd['newName'],_0xd03332++));break;}case'split':{const _0x531e30=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']),_0x33d4a8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['path']['slice'](0x0,-0x1));_0x33d4a8['offset']++,_0x373f5b['push'](new _0xa0ed63['SplitOperation'](_0x531e30,Number['NEGATIVE_INFINITY'],_0x33d4a8,null,_0xd03332++));break;}case'merge':{const _0x3e46e5=_0x224bbd['path']['slice'](),_0x313ed3=_0x3e46e5['slice'](0x0,-0x1);_0x313ed3[_0x313ed3['length']-0x1]++,_0x313ed3['push'](0x0);const _0x2cc8fb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x313ed3),_0x1350b3=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3e46e5),_0x3abd83=new _0xa0ed63['ModelPosition'](_0x116f4f['graveyard'],[0x0]);_0x373f5b['push'](new _0xa0ed63['MergeOperation'](_0x2cc8fb,Number['NEGATIVE_INFINITY'],_0x1350b3,_0x3abd83,_0xd03332++));break;}case'marker':case'markedRemove':{let _0x2c9978=null;if(_0x224bbd['range']){const _0x5f3162=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['range']['start']),_0x63b36f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['range']['end']);_0x2c9978=new _0xa0ed63['ModelRange'](_0x5f3162,_0x63b36f);}const _0x86324='marker'==_0x224bbd['type']?_0x224bbd['name']:'$markedRemove:'+_0xa0ed63['uid']();_0x373f5b['push'](new _0xa0ed63['MarkerOperation'](_0x86324,null,_0x2c9978,_0x116f4f['model']['markers'],!0x0,_0xd03332++));break;}case'unwrap':{const _0xc0b7b7=_0x224bbd['path']['slice']();_0xc0b7b7['push'](0x0);const _0x479ecc=_0x224bbd['path']['slice'](),_0x522f2e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xc0b7b7),_0x94bf9b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x479ecc),_0x503d6e=new _0xa0ed63['ModelPosition'](_0x116f4f['graveyard'],[0x0]);_0x373f5b['push'](new _0xa0ed63['MoveOperation'](_0x522f2e,_0x224bbd['howMany'],_0x94bf9b,_0xd03332++)),_0x373f5b['push'](new _0xa0ed63['MoveOperation'](_0x94bf9b['getShiftedBy'](_0x224bbd['howMany']),0x1,_0x503d6e,_0xd03332++));break;}case'wrap':{const _0x2ac3f9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['range']['start']),_0x3eae1f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x224bbd['range']['end']),_0x14b4fa=_0x224bbd['token']['element']['_clone'](!0x1),_0x4a9167=_0x224bbd['range']['end']['slice']();_0x4a9167['push'](0x0);const _0x29e9d1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4a9167);_0x373f5b['push'](new _0xa0ed63['InsertOperation'](_0x3eae1f,_0x14b4fa,_0xd03332++)),_0x373f5b['push'](new _0xa0ed63['MoveOperation'](_0x2ac3f9,_0x3eae1f['offset']-_0x2ac3f9['offset'],_0x29e9d1,_0xd03332++));break;}}return _0x373f5b;}['_tokenizeModel'](_0x2b178f){const _0x3d0581=[],_0xb179b=_0xa0ed63['ModelRange']['_createIn'](_0x2b178f),_0x2f7392=new _0xa0ed63['ModelTreeWalker']({'boundaries':_0xb179b});let _0x552c87='',_0x3207d1=null;const _0x1a1fef=[''],_0x31a1ff=new Map();for(const _0x3bb339 of _0x2f7392)if('elementStart'==_0x3bb339['type']||'elementEnd'==_0x3bb339['type']){let _0x1272cf=_0x1a1fef[0x0];''!==_0x552c87&&(_0x3d0581['push'](...this['_makeTokensFromTextByWords'](_0x552c87,_0x3207d1,_0x1272cf)),_0x552c87='');const _0x5d945c=_0x3bb339['item'];let _0x444e40;_0x5d945c['getAttribute'](_0x51f885)?_0x444e40=_0x5d945c['getAttribute'](_0x51f885):'elementStart'==_0x3bb339['type']?(_0x444e40=_0x25790c(_0x5d945c),_0x31a1ff['set'](_0x5d945c,_0x444e40)):_0x444e40=_0x31a1ff['get'](_0x5d945c);const _0x311e24=this['_getElementCategory'](_0x5d945c);'solid'==_0x311e24&&('elementStart'==_0x3bb339['type']?(_0x1272cf=_0x444e40,_0x1a1fef['unshift'](_0x1272cf)):_0x1a1fef['shift']());const _0x10cbc2={'type':'element','element':_0x5d945c,'elementId':_0x444e40,'category':_0x311e24,'isStart':'elementStart'==_0x3bb339['type'],'limitId':_0x1272cf};_0x3d0581['push'](_0x10cbc2);}else''==_0x552c87&&(_0x3207d1=_0x3bb339['previousPosition']['clone']()),_0x552c87+=_0x3bb339['item']['data'];return''!==_0x552c87&&_0x3d0581['push'](...this['_makeTokensFromTextByWords'](_0x552c87,_0x3207d1,_0x1a1fef[0x0])),_0x3d0581;}['_makeTokensFromTextByWords'](_0x7fe798,_0x21d879,_0x50d577){const _0x12eaa5=_0x7fe798['matchAll'](/(\s)/g),_0x141f5c=Array['from'](_0x12eaa5)['map'](_0x53a6c0=>_0x53a6c0['index']);_0x141f5c['push'](_0x7fe798['length']),0x0==_0x141f5c[0x0]&&_0x141f5c['shift']();const _0x211852=[],_0x3ec831=_0x21d879['parent'];let _0x4597f2=0x0,_0x390610=_0x21d879['offset'];for(let _0x6a0fee=0x0;_0x6a0fee<_0x141f5c['length'];_0x6a0fee++)_0x211852['push']({'type':'text','data':_0x7fe798['slice'](_0x4597f2,_0x141f5c[_0x6a0fee]),'parent':_0x3ec831,'offset':_0x390610,'limitId':_0x50d577}),_0x4597f2=_0x141f5c[_0x6a0fee],_0x390610=_0x21d879['offset']+_0x141f5c[_0x6a0fee];return _0x211852;}['_getElementCategory'](_0x4c7c27){const _0x255469=this['_editor']['model']['schema'];return _0x255469['isLimit'](_0x4c7c27)||_0x255469['isContent'](_0x4c7c27)||_0x255469['isInline'](_0x4c7c27)?'solid':_0x255469['isBlock'](_0x4c7c27)?'block':'container';}['_diffModelTokens'](_0x2bb419,_0x443221){const _0x176cd7=_0x4e6804(_0x2bb419,_0x443221,{'comparator':_0x33be20});this['_handleUnclosedBlockOpeningTags'](_0x176cd7);const _0x5f543b=_0x176cd7['flatMap'](_0x2a04b3=>{const _0x3a5361=_0x2a04b3['added']?'added':_0x2a04b3['removed']?'removed':'unchanged';return _0x2a04b3['value']['map'](_0x2bc55b=>({'token':_0x2bc55b,'change':_0x3a5361}));});let _0x548d64=0x0;for(const _0x53e40a of _0x5f543b)'added'!=_0x53e40a['change']&&('unchanged'==_0x53e40a['change']&&(_0x53e40a['before']=_0x2bb419[_0x548d64]),_0x548d64++);return _0x5f543b;}['_handleUnclosedBlockOpeningTags'](_0x3f57fc){for(let _0x126f97=0x0;_0x126f97<_0x3f57fc['length']-0x1;_0x126f97++)if(_0x3f57fc[_0x126f97]['removed']&&_0x3f57fc[_0x126f97+0x1]['added']){const _0x28b2a5=this['_findUnclosedBlockOpeningToken'](_0x3f57fc[_0x126f97]['value']);if(null!==_0x28b2a5){const _0x57bee9=this['_findUnclosedBlockOpeningToken'](_0x3f57fc[_0x126f97+0x1]['value']),_0x274ab7=_0x3f57fc[_0x126f97]['value']['splice'](_0x28b2a5),_0x16d9c7=_0x3f57fc[_0x126f97+0x1]['value']['splice'](_0x57bee9),_0x1abc9d=[_0x16d9c7['shift']()];_0x274ab7['shift']();const _0x1467cf={'value':_0x274ab7,'removed':!0x0},_0x37c9f9={'value':_0x16d9c7,'added':!0x0},_0x1dd07b={'value':_0x1abc9d};_0x3f57fc['splice'](_0x126f97+0x2,0x0,_0x1dd07b,_0x1467cf,_0x37c9f9);}}}['_findUnclosedBlockOpeningToken'](_0x1a9c69){let _0x2ddbc5=0x0,_0x5eef47=-0x1;for(let _0x9f1db7=0x0;_0x9f1db7<_0x1a9c69['length'];_0x9f1db7++){const _0x59f27a=_0x1a9c69[_0x9f1db7];'element'==_0x59f27a['type']&&'block'==_0x59f27a['category']&&(_0x2ddbc5+=_0x59f27a['isStart']?0x1:-0x1,_0x59f27a['isStart']&&(_0x5eef47=_0x9f1db7));}return 0x0===_0x2ddbc5?null:_0x5eef47;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1f6b73=0x0;_0x1f6b73<this['_diffItems']['length'];_0x1f6b73++){const _0x489401=this['_diffItems'][_0x1f6b73]['change'],_0x4d2e30=[];_0x4d2e30['push'](this['_diffItems'][_0x1f6b73]);let _0x17efc0=_0x1f6b73+0x1;for(;this['_diffItems'][_0x17efc0]&&this['_diffItems'][_0x17efc0]['change']==_0x489401;)_0x4d2e30['push'](this['_diffItems'][_0x17efc0]),_0x17efc0++,_0x1f6b73++;const _0x5862bf=_0x4d2e30['map'](_0x4aae77=>_0x4aae77['token']);if('unchanged'==_0x489401)_0x4d2e30['map'](_0x4e2bda=>_0x4e2bda['before'])['forEach'](_0x3ed3ff=>this['_traverseOverItem'](_0x3ed3ff));else{if('removed'==_0x489401){if(this['_markDeletions']){const _0xcf74d0=this['_path']['slice']();_0x5862bf['forEach'](_0x4a10cb=>this['_traverseOverItem'](_0x4a10cb));const _0x590f36=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xcf74d0,'end':_0x590f36}});}else this['_handleChanged'](_0x5862bf,!0x0,this['_path']['slice']());}else{const _0x489339=_0x5862bf['filter'](_0x263682=>'element'!=_0x263682['type']||'container'!=_0x263682['category']);this['_handleChanged'](_0x489339,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1cf89e=0x0;_0x1cf89e<this['_diffItems']['length'];_0x1cf89e++){const _0xb55571=this['_diffItems'][_0x1cf89e]['change'],_0x37ac39=[];_0x37ac39['push'](this['_diffItems'][_0x1cf89e]);let _0x329663=_0x1cf89e+0x1;for(;this['_diffItems'][_0x329663]&&this['_diffItems'][_0x329663]['change']==_0xb55571;)_0x37ac39['push'](this['_diffItems'][_0x329663]),_0x329663++,_0x1cf89e++;const _0x38a10c=_0x37ac39['map'](_0x30ddba=>_0x30ddba['token']);if('unchanged'==_0xb55571){const _0x39ec60=_0x37ac39['map'](_0x465a35=>_0x465a35['before']);this['_handleUnchanged'](_0x39ec60,_0x38a10c);}else('removed'!=_0xb55571||this['_markDeletions'])&&_0x38a10c['forEach'](_0x659794=>{this['_traverseOverItem'](_0x659794);});}}['_calculateMarkersOperationsData'](_0x4a3cb6,_0x5880a5){const _0x5791c9={};for(const [_0x1c0d9c]of _0x4a3cb6)_0x5791c9[_0x1c0d9c]=null;for(const [_0x2a1925,_0x30f45a]of _0x5880a5)_0x5791c9[_0x2a1925]=_0x30f45a;const _0x54cb40=Object['entries'](_0x5791c9)['map'](([_0x4684fa,_0x3ab29c])=>({'type':'marker','name':_0x4684fa,'range':_0x3ab29c?{'start':_0x3ab29c['start']['path']['slice'](),'end':_0x3ab29c['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x54cb40);}['_handleUnwraps'](){const _0x57f197=new Map(),_0x547c30=[],_0x2b9ced=[0x0];let _0x13a2ed=this['_diffItems']['length']+0x1;for(let _0x57e9ba=this['_diffItems']['length']-0x1;_0x57e9ba>=0x0;_0x57e9ba--){const {token:_0x3f5d73,before:_0x4224b2,change:_0x33936c}=this['_diffItems'][_0x57e9ba];if('removed'!=_0x33936c&&(_0x13a2ed=_0x57e9ba),'element'!=_0x3f5d73['type']||'container'!=_0x3f5d73['category']||'added'==_0x33936c)continue;const _0x491986=_0x4224b2?_0x4224b2['element']:_0x3f5d73['element'];if(_0x3f5d73['isStart']){const _0xfd4dc6=_0x57f197['get'](_0x491986),_0x28742e=this['_diffItems'][_0xfd4dc6];('removed'==_0x33936c||'removed'==_0x28742e['change'])&&_0x13a2ed<_0xfd4dc6&&(this['_operationsData']['push']({'type':'unwrap','path':_0x491986['getPath'](),'howMany':_0x491986['maxOffset']+_0x2b9ced[0x0]}),_0x2b9ced['shift'](),_0x2b9ced[0x0]+=_0x491986['maxOffset']-0x1,_0x547c30['push'](_0x57e9ba),_0x547c30['push'](_0xfd4dc6));}else _0x57f197['set'](_0x491986,_0x57e9ba),_0x2b9ced['unshift'](0x0);}_0x547c30['sort']((_0x2421ef,_0x3f8435)=>_0x3f8435-_0x2421ef),_0x547c30['forEach'](_0x3d6704=>{const _0x1eaaf4=this['_diffItems'][_0x3d6704];'removed'==_0x1eaaf4['change']?this['_diffItems']['splice'](_0x3d6704,0x1):(_0x1eaaf4['change']='added',delete _0x1eaaf4['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x254fcf=[];for(let _0x5687d5=0x0;_0x5687d5<this['_diffItems']['length'];_0x5687d5++){const {change:_0x4940b8,token:_0x1e41ad}=this['_diffItems'][_0x5687d5];if('added'==_0x4940b8&&'element'==_0x1e41ad['type']&&'container'==_0x1e41ad['category']){if(_0x1e41ad['isStart'])_0x254fcf['push'](this['_path']['slice']());else{if(!_0x1e41ad['isStart']){const _0x4f8bbd=_0x254fcf['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x4f8bbd,'end':this['_path']['slice']()},'token':_0x1e41ad}),this['_path'][this['_path']['length']-0x1]=_0x4f8bbd[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4940b8||this['_markDeletions'])&&this['_traverseOverItem'](_0x1e41ad);}}['_handleUnchanged'](_0x14be0d,_0x3095fe){for(let _0x5c54ba=0x0;_0x5c54ba<_0x14be0d['length'];_0x5c54ba++){const _0x4829bc=_0x14be0d[_0x5c54ba];if('element'==_0x4829bc['type']&&_0x4829bc['isStart']){const _0x2e202f=_0x3095fe[_0x5c54ba];'block'==_0x4829bc['category']&&this['_handleElementRename'](_0x4829bc['element'],_0x2e202f['element'],this['_path']),this['_handleElementAttributeChanges'](_0x4829bc['element'],_0x2e202f['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x2e202f);}else{if('element'!=_0x4829bc['type']||_0x4829bc['isStart']){if('text'==_0x4829bc['type']){const _0x3eea36=this['_path']['slice'](),_0x4b4d2d=[],_0x4c1cd3=[];for(;_0x14be0d[_0x5c54ba]&&'text'==_0x14be0d[_0x5c54ba]['type'];)_0x4b4d2d['push'](_0x14be0d[_0x5c54ba]),_0x4c1cd3['push'](_0x3095fe[_0x5c54ba]),this['_path'][this['_path']['length']-0x1]+=_0x14be0d[_0x5c54ba]['data']['length'],_0x5c54ba++;_0x5c54ba--,this['_handleTextAttributeChanges'](_0x4b4d2d,_0x4c1cd3,_0x3eea36);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3f0616,_0x17826d,_0x51f708){const _0x1aef87=[],_0x17a695=[],_0x3680bb=_0x51f708['slice']();for(let _0x5da76b=0x0;_0x5da76b<_0x3f0616['length'];_0x5da76b++){const _0x3dc11b=_0x3f0616[_0x5da76b],_0x2de22e=_0x51f708['slice']();if('element'!=_0x3dc11b['type']||_0x3dc11b['isStart'])'element'==_0x3dc11b['type']&&_0x3dc11b['isStart']?(_0x51f708['push'](0x0),_0x17826d||this['_parents']['push'](_0x3dc11b),_0x17a695['push']({'before':_0x2de22e,'after':_0x51f708['slice'](),'index':_0x5da76b})):_0x51f708[_0x51f708['length']-0x1]+=_0x3dc11b['data']['length'];else{let _0x15f1b6;_0x51f708['pop'](),_0x51f708[_0x51f708['length']-0x1]++,_0x15f1b6=_0x17826d?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x17a695['length']?_0x17a695['pop']():_0x1aef87['push']({'before':_0x2de22e,'after':_0x51f708['slice'](),'index':_0x5da76b,'related':_0x15f1b6});}}if(_0x17a695['length']!==_0x1aef87['length'])throw new _0xa0ed63['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3f0616,'isRemove':_0x17826d});const _0x12f478=[{'after':_0x3680bb['slice'](),'index':-0x1},..._0x1aef87,..._0x17a695,{'before':_0x51f708['slice'](),'index':_0x3f0616['length']}];if(_0x17826d){for(let _0x348504=_0x12f478['length']-0x1;_0x348504>=0x1;_0x348504--){const _0x1afc27=_0x12f478[_0x348504-0x1]['after'],_0x4f0bf0=_0x12f478[_0x348504]['before'],_0x5eccef=_0x4f0bf0[_0x4f0bf0['length']-0x1]-_0x1afc27[_0x1afc27['length']-0x1];_0x5eccef&&(this['_operationsData']['push']({'type':'remove','path':_0x1afc27,'howMany':_0x5eccef}),_0x4f0bf0[_0x4f0bf0['length']-0x1]-=_0x5eccef);}for(const {before:_0x3b4054}of _0x1aef87)this['_operationsData']['push']({'type':'merge','path':_0x3b4054});}else for(let _0x258900=0x0;_0x258900<_0x12f478['length']-0x1;_0x258900++){const _0x35f9b4=_0x12f478[_0x258900]['after'],_0x367cf4=_0x12f478[_0x258900+0x1]['before'],_0x57b417=_0x12f478[_0x258900]['index']+0x1,_0xb1c2b2=_0x12f478[_0x258900+0x1]['index'];if(_0x57b417!==_0xb1c2b2&&this['_operationsData']['push']({'type':'insert','path':_0x35f9b4,'tokens':_0x3f0616['slice'](_0x57b417,_0xb1c2b2)}),_0x258900<_0x1aef87['length']){this['_operationsData']['push']({'type':'split','path':_0x367cf4});const _0xa99065=_0x3f0616[_0x17a695[_0x17a695['length']-0x1-_0x258900]['index']],_0x1ab03a=_0x1aef87[_0x258900]['after'],_0x3340e2=_0x1aef87[_0x258900]['related']['element'];this['_handleElementRename'](_0x3340e2,_0xa99065['element'],_0x1ab03a),this['_handleElementAttributeChanges'](_0x3340e2,_0xa99065['element'],_0x1ab03a);}}}['_traverseOverItem'](_0x4f85dd){'element'==_0x4f85dd['type']&&_0x4f85dd['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x4f85dd)):'element'!=_0x4f85dd['type']||_0x4f85dd['isStart']?'text'==_0x4f85dd['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x4f85dd['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x14538f,_0x44acde,_0x5993ca){_0x14538f['name']!=_0x44acde['name']&&this['_operationsData']['push']({'type':'rename','path':_0x5993ca['slice'](),'oldName':_0x14538f['name'],'newName':_0x44acde['name']});}['_handleElementAttributeChanges'](_0xce57a9,_0x579f0b,_0x56f817){const _0x9d0061=this['_getAttributeChanges'](_0xce57a9['getAttributes'](),_0x579f0b['getAttributes']());for(const _0x36fbef in _0x9d0061){const {oldValue:_0x5947a7,newValue:_0x57dd7d}=_0x9d0061[_0x36fbef];this['_operationsData']['push']({'type':'attribute','path':_0x56f817['slice'](),'howMany':0x1,'key':_0x36fbef,'oldValue':_0x5947a7,'newValue':_0x57dd7d});}}['_handleTextAttributeChanges'](_0x213351,_0x580532,_0x3ee4db){const _0x23cbfc=this['_operationsData'],_0x430e72=_0x213351[0x0]['parent'],_0x38e66a=_0x213351[0x0]['offset'],_0x229f91=_0x580532[0x0]['parent'],_0x4bb4af=_0x580532[0x0]['offset'],_0x2ffe5c=_0x213351['reduce']((_0x450ebd,_0x5a8bf9)=>_0x450ebd+_0x5a8bf9['data']['length'],0x0),_0x5bbdb9=this['_getAttrsForOffsets'](_0x430e72,_0x38e66a,_0x2ffe5c),_0x505792=this['_getAttrsForOffsets'](_0x229f91,_0x4bb4af,_0x2ffe5c),_0xa1dce6={};for(let _0x12f0d0=0x0;_0x12f0d0<_0x2ffe5c;_0x12f0d0++){const _0x30d323=_0x5bbdb9[_0x38e66a+_0x12f0d0],_0x5263ef=_0x505792[_0x4bb4af+_0x12f0d0],_0x1c36f3=this['_getAttributeChanges'](_0x30d323,_0x5263ef);for(const _0x513504 in _0xa1dce6)_0x1c36f3[_0x513504]||_0x19922e(_0x513504);for(const _0x3e6c3e in _0x1c36f3){const {oldValue:_0x1dbcd5,newValue:_0x499b34}=_0x1c36f3[_0x3e6c3e],_0x4b0e2e=_0xa1dce6[_0x3e6c3e];_0x4b0e2e?_0x4b0e2e['oldValue']==_0x1dbcd5&&_0x4b0e2e['newValue']==_0x499b34?_0x4b0e2e['length']++:(_0x19922e(_0x3e6c3e),_0xa1dce6[_0x3e6c3e]={'oldValue':_0x1dbcd5,'newValue':_0x499b34,'start':_0x12f0d0,'length':0x1}):_0xa1dce6[_0x3e6c3e]={'oldValue':_0x1dbcd5,'newValue':_0x499b34,'start':_0x12f0d0,'length':0x1};}}for(const _0x167919 in _0xa1dce6)_0x19922e(_0x167919);function _0x19922e(_0x5ce898){const _0x162d9f=_0xa1dce6[_0x5ce898],_0x1e6cc7=_0x3ee4db['slice']();_0x1e6cc7[_0x1e6cc7['length']-0x1]+=_0x162d9f['start'],_0x23cbfc['push']({'type':'attribute','path':_0x1e6cc7,'howMany':_0x162d9f['length'],'key':_0x5ce898,'oldValue':_0x162d9f['oldValue'],'newValue':_0x162d9f['newValue']}),delete _0xa1dce6[_0x5ce898];}}['_getAttributeChanges'](_0x10b7e2,_0x305fcc){const _0x140766={};for(const [_0x1d28b4,_0x60db30]of _0x10b7e2)_0x140766[_0x1d28b4]={'oldValue':JSON['stringify'](_0x60db30),'newValue':'null'};for(const [_0x56dc42,_0xe384b0]of _0x305fcc){const _0x516e24=JSON['stringify'](_0xe384b0);_0x140766[_0x56dc42]?_0x140766[_0x56dc42]['oldValue']==_0x516e24?delete _0x140766[_0x56dc42]:_0x140766[_0x56dc42]['newValue']=_0x516e24:_0x140766[_0x56dc42]={'oldValue':'null','newValue':_0x516e24};}return delete _0x140766[_0x51f885],_0x140766;}['_getAttrsForOffsets'](_0x5a15e9,_0x47bd59,_0x5e30e5){const _0x418eac=new Array(_0x47bd59+_0x5e30e5);let _0x3579b7=_0x5a15e9['getChildAtOffset'](_0x47bd59),_0x30150a=_0x3579b7['startOffset'];for(;_0x3579b7&&_0x30150a<_0x47bd59+_0x5e30e5;){const _0x232426=Array['from'](_0x3579b7['getAttributes']());_0x418eac['fill'](_0x232426,_0x30150a,_0x30150a+_0x3579b7['offsetSize']),_0x30150a+=_0x3579b7['offsetSize'],_0x3579b7=_0x3579b7['nextSibling'];}return _0x418eac;}['_getPositionFromAnchorAndPath'](_0xed7edd,_0x3c93d1){const _0x1ee2a6=[..._0xed7edd['path']['slice'](0x0,-0x1),_0xed7edd['offset']+_0x3c93d1[0x0],..._0x3c93d1['slice'](0x1)];return new _0xa0ed63['ModelPosition'](_0xed7edd['root'],_0x1ee2a6);}['_makeModelFromTokens'](_0x1da40c){const _0x177f28=[];let _0xf37bfc=null;for(const _0x5497d8 of _0x1da40c)if('element'!=_0x5497d8['type']||_0x5497d8['isStart']||_0xf37bfc!=_0x5497d8['element']){if(!_0xf37bfc){if('text'==_0x5497d8['type']){const _0x2f760d=_0xa0ed63['ModelPosition']['_createAt'](_0x5497d8['parent'],_0x5497d8['offset']),_0x56dd71=_0xa0ed63['ModelRange']['_createFromPositionAndShift'](_0x2f760d,_0x5497d8['data']['length']),_0x40ea26=Array['from'](_0x56dd71['getItems']())['map'](_0x1905bd=>new _0xa0ed63['ModelText'](_0x1905bd['data'],_0x1905bd['getAttributes']()));_0x177f28['push'](..._0x40ea26);}else{_0xf37bfc=_0x5497d8['element'];const _0x126321=_0x5497d8['element']['_clone'](!0x0);_0x126321['_removeAttribute'](_0x51f885);for(const _0x163552 of this['_editor']['model']['createRangeIn'](_0x126321)['getItems']())_0x163552['is']('element')&&_0x163552['_removeAttribute'](_0x51f885);_0x177f28['push'](_0x126321);}}}else _0xf37bfc=null;return _0x177f28;}}function _0x33be20(_0x4b5529,_0x4dd3a2){return _0x4b5529['type']===_0x4dd3a2['type']&&(_0x4b5529['limitId']===_0x4dd3a2['limitId']&&('text'==_0x4b5529['type']?_0x4b5529['data']==_0x4dd3a2['data']:function(_0x550e62,_0x5758f9){if(_0x550e62['isStart']!=_0x5758f9['isStart'])return!0x1;if(_0x550e62['isStart']&&_0x550e62['elementId']!=_0x5758f9['elementId'])return!0x1;if(_0x550e62['category']!=_0x5758f9['category'])return!0x1;if('block'==_0x550e62['category'])return!0x0;if('container'==_0x550e62['category']&&_0x550e62['elementId']!=_0x5758f9['elementId'])return!0x1;return _0x550e62['element']['name']==_0x5758f9['element']['name'];}(_0x4b5529,_0x4dd3a2)));}function _0x25790c(_0x31f4e8){return _0x4854f3({'name':_0x31f4e8['name'],...Object['fromEntries'](_0x31f4e8['getAttributes']())});}function _0x579206({editor:_0x37659f,changeGroups:_0x18c895,documentContextContent:_0x151ba8,showDiff:_0x31e1d9,trimUnchanged:_0x565677=!0x0}){return _0x18c895['map'](_0x55c06e=>{const _0xcc5f9d=new Document([]),_0x1b0716=new Document([]);for(const _0x51633e of _0x55c06e['changes'])if(_0x31e1d9&&'removed'==_0x51633e['type']||_0x1b0716['children']['push'](_0x51633e['node']['cloneNode'](!0x0)),'new'!=_0x51633e['type']&&(_0x31e1d9||'removed'!=_0x51633e['type'])){const _0x3a0ac9=_0x563b61(_0x14b4d7=>_0x3b4b70(_0x14b4d7,'data-id')==_0x51633e['id'],_0x151ba8,!0x0);_0x3a0ac9&&_0xcc5f9d['children']['push'](_0x3a0ac9['cloneNode'](!0x0));}const {content:_0x560f60,hasChanges:_0x2e2765}=function(_0x508b14,_0x1862bd,_0x27bbdf,_0x4f9bb4,_0x1e1273=!0x0){const _0x464eda=_0x508b14['plugins']['get']('DocumentCompare'),_0x34a404=_0x57663f(_0x1862bd),_0x1add58=_0x57663f(_0x27bbdf),_0x304a47=_0x508b14['data']['parse'](_0x34a404,'$root'),_0x9d698a=_0x508b14['model']['createPositionAt'](_0x304a47,0x0),_0x12f9d3=_0x464eda['getDiff'](_0x34a404,_0x1add58,{'anchor':_0x9d698a,'markDeletions':_0x4f9bb4}),_0x3f81ad=_0x12f9d3['getOperations']();if(0x0==_0x3f81ad['length'])return{'content':_0x1862bd['cloneNode'](!0x0),'hasChanges':!0x1};_0x4f9bb4?function(_0x5458ca,_0xc5f877,_0xc31ac3){if(0x0==_0x5458ca['length'])return;const _0x351d72=_0xc31ac3['plugins']['get']('DocumentCompare'),_0x515fef=_0xc31ac3['plugins']['get']('SuggestionsConversion');_0xc31ac3['model']['change'](_0x37d0f7=>{const _0x4aa918=new Set();for(let _0xdf8fb6=0x0;_0xdf8fb6<_0x5458ca['length'];_0xdf8fb6++){const _0x1c2ae7=_0x5458ca[_0xdf8fb6];if(_0x1c2ae7['baseVersion']=null,_0x1c2ae7['isDocumentOperation']=!0x1,_0x351d72['isMarkedRemoveOperation'](_0x1c2ae7)){const _0x245423=_0x41d4e4(_0x1c2ae7['newRange'],_0xc31ac3['model']),_0x562014='suggestion:deletion:'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x562014,_0x245423);}else switch(_0x1c2ae7['type']){case'rename':{if(_0x1c2ae7['oldName']==_0x1c2ae7['newName'])break;_0x37d0f7['batch']['addOperation'](_0x1c2ae7),_0xc31ac3['model']['applyOperation'](_0x1c2ae7);const _0x327e95='$elementName',_0x3c3117=_0x1c2ae7['position'],_0x195b20=_0xc31ac3['model']['createRange'](_0x3c3117,_0xc31ac3['model']['createPositionAt'](_0x3c3117['nodeAfter'],'end')),_0x3bb57e='suggestion:attribute:'+_0x327e95+':'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x3bb57e,_0x195b20);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x1c2ae7['oldValue']==_0x1c2ae7['newValue'])break;_0x37d0f7['batch']['addOperation'](_0x1c2ae7),_0xc31ac3['model']['applyOperation'](_0x1c2ae7);const _0x4fa19a=_0x1c2ae7['key'];if(!_0x515fef['isRegisteredAttribute'](_0x4fa19a))break;const _0x3c5feb=_0x41d4e4(_0x1c2ae7['range'],_0xc31ac3['model']),_0x570d62='suggestion:attribute:'+_0x4fa19a+':'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x570d62,_0x3c5feb);break;}case'insert':{_0x37d0f7['batch']['addOperation'](_0x1c2ae7),_0xc31ac3['model']['applyOperation'](_0x1c2ae7);if(_0x5458ca[_0xdf8fb6+0x1]&&'move'==_0x5458ca[_0xdf8fb6+0x1]['type']){_0x3873ed(_0xc5f877,_0x1c2ae7);break;}const _0x2259c0=_0x1c2ae7['position'],_0x69a3bd=_0x1c2ae7['howMany'],_0x55ccdf=_0x41d4e4(_0xc31ac3['model']['createRange'](_0x2259c0,_0x2259c0['getShiftedBy'](_0x69a3bd)),_0xc31ac3['model']),_0x3848f7='suggestion:insertion:'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x3848f7,_0x55ccdf);break;}case'split':{_0x37d0f7['batch']['addOperation'](_0x1c2ae7),_0xc31ac3['model']['applyOperation'](_0x1c2ae7);const _0x981df4=_0x1c2ae7['splitPosition'],_0x35caee=_0x1c2ae7['moveTargetPosition'],_0x5ad65b=_0xc31ac3['model']['createRange'](_0x981df4,_0x35caee),_0x3d31e0='suggestion:insertion:'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x3d31e0,_0x5ad65b);break;}case'move':{_0x37d0f7['batch']['addOperation'](_0x1c2ae7),_0xc31ac3['model']['applyOperation'](_0x1c2ae7),_0x5458ca[_0xdf8fb6-0x1]&&'insert'==_0x5458ca[_0xdf8fb6-0x1]['type']&&_0x3873ed(_0xc5f877,_0x1c2ae7);const _0x5649a8=_0x1c2ae7['getMovedRangeStart'](),_0x176f4e=_0x1c2ae7['howMany'];for(let _0xd288b3=0x0;_0xd288b3<_0x176f4e;_0xd288b3++){const _0x5bd269=_0x5649a8['getShiftedBy'](_0xd288b3)['nodeAfter'];_0x4aa918['add'](_0x5bd269);}break;}case'remove':{const _0xdac2cd=_0x1c2ae7['sourcePosition'],_0x1f4e81=_0x1c2ae7['howMany'],_0xa84aaf=new _0xa0ed63['_DetachOperation'](_0xdac2cd,_0x1f4e81);_0x37d0f7['batch']['addOperation'](_0xa84aaf),_0xc31ac3['model']['applyOperation'](_0xa84aaf);break;}}}for(const _0x573e4c of _0x4aa918){const _0x518553=_0xc31ac3['model']['createRangeOn'](_0x573e4c),_0x3443e7='suggestion:formatBlock:$fakeWrap:'+_0xa0ed63['uid']()+':$aiSuggestion';_0xc5f877['markers']['set'](_0x3443e7,_0x41d4e4(_0x518553,_0xc31ac3['model']));}});}(_0x3f81ad,_0x304a47,_0x508b14):_0x508b14['model']['change'](_0x2a213e=>{for(const _0x1f32f1 of _0x3f81ad)if('remove'==_0x1f32f1['type']){const _0x46b8ba=_0x1f32f1['sourcePosition'],_0x5b3689=_0x1f32f1['howMany'],_0x16c24a=new _0xa0ed63['_DetachOperation'](_0x46b8ba,_0x5b3689);_0x2a213e['batch']['addOperation'](_0x16c24a),_0x508b14['model']['applyOperation'](_0x16c24a);}else{if('marker'==_0x1f32f1['type']){const _0x36e961=_0x1f32f1['name'],_0x44dbe2=_0x1f32f1['newRange'];null!==_0x44dbe2?_0x304a47['markers']['set'](_0x36e961,_0x44dbe2):_0x304a47['markers']['delete'](_0x36e961);}else _0x1f32f1['baseVersion']=null,_0x1f32f1['isDocumentOperation']=!0x1,_0x2a213e['batch']['addOperation'](_0x1f32f1),_0x508b14['model']['applyOperation'](_0x1f32f1);}});if(_0x1e1273){const _0xdb2202=_0x4e0e21(_0x508b14,_0x3f81ad,_0x304a47);_0xdb9e3a(_0x508b14['model'],_0xdb2202),function(_0x7c6159,_0xd9246e){const _0x140b49=_0xd9246e['getFirstRange']()['start'];let _0xa3c148=_0xd9246e['getFirstRange']()['end'];const _0x5b3c2e=_0x140b49['root'];(_0xa3c148['textNode']||_0xa3c148['nodeAfter']&&_0xa3c148['nodeAfter']['is']('$text'))&&(_0xa0ed63['_insertIntoModelNodeList'](_0xa3c148,'...'),_0xa3c148=_0xa3c148['getShiftedBy'](0x3)),(_0x140b49['textNode']||_0x140b49['nodeBefore']&&_0x140b49['nodeBefore']['is']('$text'))&&(_0xa0ed63['_insertIntoModelNodeList'](_0x140b49,'...'),function(_0x4dca35,_0x4dd065,_0x4eb727){for(let [_0x2b3390,_0x4d7484]of _0x4dca35['markers']){const _0x4ea800=_0x4d7484['_getTransformedByInsertion'](_0x4dd065,_0x4eb727,!0x1);_0x4d7484=_0x4ea800[0x0],_0x4dca35['markers']['set'](_0x2b3390,_0x4d7484);}}(_0x5b3c2e,_0x140b49,0x3),_0x140b49['parent']==_0xa3c148['parent']&&(_0xa3c148=_0xa3c148['getShiftedBy'](0x3)));const _0x4d7b3c=_0x7c6159['createRange'](_0x7c6159['createPositionAt'](_0x5b3c2e,0x0),_0x140b49),_0x274e6a=_0x7c6159['createRange'](_0xa3c148,_0x7c6159['createPositionAt'](_0x5b3c2e,'end')),_0x307009=[..._0x4d7b3c['getMinimalFlatRanges'](),..._0x274e6a['getMinimalFlatRanges']()];_0x307009['reverse']();for(const _0x1ec72f of _0x307009)_0xa0ed63['_removeFromModelNodeList'](_0x1ec72f),_0x14bd27(_0x5b3c2e,_0x1ec72f);}(_0x508b14['model'],_0xdb2202);}const _0x1beac1=_0x508b14['data']['stringify'](_0x304a47,{'showSuggestionHighlights':!0x0});return{'content':_0x27e21e(_0x1beac1),'hasChanges':!0x0};}(_0x37659f,_0xcc5f9d,_0x1b0716,_0x31e1d9,_0x565677);return{'type':_0x55c06e['changes'][0x0]['type'],'index':_0x55c06e['index'],'content':_0x560f60,'hasChanges':_0x2e2765};});}function _0x3873ed(_0x28708f,_0x292dab){for(const [_0x27f1e8,_0x3f347a]of _0x28708f['markers']){const _0x541f99=_0xa0ed63['ModelRange']['_createFromRanges'](_0x3f347a['getTransformedByOperation'](_0x292dab));_0x28708f['markers']['set'](_0x27f1e8,_0x541f99);}}function _0x4e0e21(_0x4365be,_0x4f49f5,_0x536aa5){const _0x313d6c=_0x4365be['plugins']['get']('DocumentCompare');let _0x5b19ed=_0x4365be['model']['createPositionAt'](_0x536aa5,Number['POSITIVE_INFINITY']),_0x2a5f4b=_0x4365be['model']['createPositionAt'](_0x536aa5,0x0);for(const _0x5b93ff of _0x4f49f5){let _0x11f97b,_0x262f6f;if(_0x313d6c['isMarkedRemoveOperation'](_0x5b93ff))_0x11f97b=_0x5b93ff['newRange']['start'],_0x262f6f=_0x5b93ff['newRange']['end'];else switch(_0x5b19ed=_0x5b19ed['getTransformedByOperation'](_0x5b93ff),_0x2a5f4b=_0x2a5f4b['getTransformedByOperation'](_0x5b93ff),_0x5b93ff['type']){case'rename':_0x11f97b=_0x5b93ff['position'],_0x262f6f=_0x11f97b['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x11f97b=_0x5b93ff['range']['start'],_0x262f6f=_0x5b93ff['range']['end'];break;case'insert':_0x11f97b=_0x5b93ff['position'],_0x262f6f=_0x11f97b['getShiftedBy'](_0x5b93ff['howMany']);break;case'split':_0x11f97b=_0x5b93ff['splitPosition'],_0x262f6f=_0x5b93ff['moveTargetPosition'];break;case'merge':{const _0x3abf25=_0x5b93ff['targetPosition']['path']['slice'](0x0,-0x1);_0x11f97b=_0x4365be['model']['createPositionFromPath'](_0x536aa5,_0x3abf25),_0x262f6f=_0x11f97b['getShiftedBy'](0x1);break;}case'remove':{const _0x107b04=_0x5b93ff['howMany'],_0x18be44=_0x5b93ff['sourcePosition']['_getTransformedByInsertion'](_0x5b93ff['targetPosition'],_0x107b04),_0x55c281=_0x5b93ff['getMovedRangeStart']();'remove'==_0x5b93ff['type']?(_0x11f97b=_0x18be44,_0x262f6f=_0x18be44):(_0x11f97b=_0x55c281,_0x262f6f=_0x55c281['getShiftedBy'](_0x107b04));break;}}_0x11f97b&&_0x11f97b['isBefore'](_0x5b19ed)&&(_0x5b19ed=_0x11f97b['clone'](),_0x5b19ed['stickiness']='toNone'),_0x262f6f&&_0x262f6f['isAfter'](_0x2a5f4b)&&(_0x2a5f4b=_0x262f6f['clone'](),_0x2a5f4b['stickiness']='toNone');}return _0x4365be['model']['createSelection'](_0x4365be['model']['createRange'](_0x5b19ed,_0x2a5f4b));}function _0xdb9e3a(_0x39e017,_0xae8bb2){_0x22da5f(_0x39e017,_0xae8bb2,'forward');const _0x28045e=_0xae8bb2['getFirstRange']();_0xae8bb2['setTo']([]),_0xae8bb2['setTo'](_0x28045e,{'backward':!0x0}),_0x22da5f(_0x39e017,_0xae8bb2,'backward');}function _0x22da5f(_0x2f2d88,_0x30795c,_0x10329c){let _0x400499=0x14;for(;_0x400499;){_0x2f2d88['modifySelection'](_0x30795c,{'unit':'word','direction':_0x10329c}),_0x400499--;const _0x3b8cda=_0x30795c['focus']['forward'==_0x10329c?'nodeBefore':'nodeAfter'];if(_0x3b8cda&&_0x3b8cda['is']('element')&&_0x2f2d88['schema']['isBlock'](_0x3b8cda)&&_0x2f2d88['schema']['isObject'](_0x3b8cda))break;}}function _0x14bd27(_0x2425e2,_0x21769a){for(const [_0x33a1f4,_0xb3b99b]of _0x2425e2['markers']){const _0x452709=_0xb3b99b['_getTransformedByDeletion'](_0x21769a['start'],_0x21769a['end']['offset']-_0x21769a['start']['offset']);null!=_0x452709?_0x2425e2['markers']['set'](_0x33a1f4,_0x452709):_0x2425e2['markers']['delete'](_0x33a1f4);}}class _0x3fb0eb extends _0xa0ed63['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x3bc0f0,content:_0x380be3='',isDone:_0xae59e6=!0x1,interactionId:_0x323139,areActionsDisabled:_0x58b847,documentContextContent:_0x3bb25f,editor:_0x499744,id:_0x3b96fb}){super(),this['id']=_0x3b96fb||_0xa0ed63['uid'](),this['interactionId']=_0x323139,this['type']=_0x3bc0f0,this['areActionsDisabled']=!!_0x58b847,this['editor']=_0x499744,this['aiResponseParser']=new _0x4af9b8(),this['aiResponseApplier']=new _0x20f18b(),this['documentContextContent']=_0x27e21e(_0x3bb25f||''),this['set']('isDone',_0xae59e6),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x380be3);}['appendContent'](_0x50c039){this['set']('content',this['content']+_0x50c039);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x294fa6,_0x3e1d84){this['changeGroups'][_0x294fa6]['state']=_0x3e1d84,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x294fa6,'state':_0x3e1d84});}['getContentParts']({showDiff:_0x56b3c4,groupIndex:_0x36aca9}){if(!this['editor'])throw new _0xa0ed63['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x51f687=this['_getCachedContentParts'](_0x56b3c4,_0x36aca9);if(_0x51f687)return _0x51f687;let _0x530ffc=[];if(void 0x0===_0x36aca9)_0x530ffc=this['changeGroups'];else{const _0x4465ec=this['changeGroups']['find'](({index:_0x4b1b07})=>_0x4b1b07===_0x36aca9);if(!_0x4465ec)throw new _0xa0ed63['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x36aca9});_0x530ffc=[_0x4465ec];}const _0x4bd604=_0x579206({'editor':this['editor'],'showDiff':_0x56b3c4,'changeGroups':_0x530ffc,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x56b3c4,_0x4bd604),_0x4bd604;}['_getCachedContentParts'](_0xdaf27f,_0x41f7f5){const _0x48e0d7=_0xdaf27f?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x48e0d7]['length'])return null;const _0x1e71e4=this['cachedSuggestionContentParts'][_0x48e0d7];if(void 0x0===_0x41f7f5)return _0x1e71e4['length']>0x0&&_0x1e71e4['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0xdaf27f,null),null):_0x19ef01(_0x1e71e4);{const _0x475c80=_0x1e71e4['find'](({index:_0x4bef51})=>_0x4bef51===_0x41f7f5);if(_0x475c80)return[_0x19ef01(_0x475c80)];}return null;}['_setCachedContentParts'](_0x34a101,_0x2f6e1f){const _0x47a320=_0x34a101?'withDiff':'withoutDiff';_0x2f6e1f?_0x2f6e1f['forEach'](_0xd11b5a=>{const _0xf4f4cd=this['cachedSuggestionContentParts'][_0x47a320],_0x455772=_0xf4f4cd['find'](({index:_0x1a50fa})=>_0x1a50fa===_0xd11b5a['index']);if(_0x455772){const _0x377301=_0xf4f4cd['indexOf'](_0x455772);_0xf4f4cd['splice'](_0x377301,0x1,_0xd11b5a);}else _0xf4f4cd['push'](_0xd11b5a);}):this['cachedSuggestionContentParts'][_0x47a320]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0xbacc39=this['changeGroups'];this['updateChangeGroups']();const _0x4fe98e=this['_getDifferentChangeGroups'](_0xbacc39,this['changeGroups']);(_0x4fe98e['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x4fe98e),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x15fc31,_0x49c0e0){const _0x5c3898=[];for(const _0x277be6 of _0x49c0e0){const _0x2777d3=_0x15fc31[_0x277be6['index']];_0x2777d3?_0x2777d3['changes']['length']!==_0x277be6['changes']['length']?_0x5c3898['push'](_0x277be6):_0x2777d3['changes']['forEach']((_0x87c2dc,_0x36e21b)=>{const _0x22d73f=_0x277be6['changes'][_0x36e21b];_0x87c2dc['id']!==_0x22d73f['id']&&_0x5c3898['push'](_0x277be6);}):_0x5c3898['push'](_0x277be6);}return _0x5c3898;}['updateChangeGroups'](){const _0x5b671d=new _0x307ea5('p',{},[new _0x307ea5('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0x58a46a(xt(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x2cae49=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x5b671d,'cutAfterLastChange':!this['isDone']});if(!_0x2cae49['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x2cae49['parsedContent'];let _0x528d79=[];if(ti(_0x120457=>{const _0x48fc3d=_0x3b4b70(_0x120457,'data-id');if(!_0x48fc3d||!_0x3fb12d(_0x48fc3d))return!0x1;const _0x389b38=[_0x120457,..._0x1e2c2d(_0x120457)]['at'](-0x2);if(_0x120457!=_0x389b38){const _0x3adf3c=_0x3b4b70(_0x389b38,'data-id');_0x3fb12d(_0x3adf3c)||(_0x528d79['push']({'node':_0x389b38,'id':_0x3adf3c,'type':'modified'}),_0x2cae49['modifiedNodeIds']['push'](_0x3adf3c));}else _0x2cae49['modifiedNodeIds']['includes'](_0x48fc3d)?_0x528d79['push']({'node':_0x120457,'type':'modified','id':_0x48fc3d}):_0x2cae49['newNodeIds']['includes'](_0x48fc3d)?_0x528d79['push']({'node':_0x120457,'type':'new','id':_0x48fc3d,'anchorId':_0x3b4b70(_0x120457['previousSibling'],'data-id')}):_0x528d79['push']({'node':_0x120457,'type':'removed','id':_0x48fc3d});return!0x0;},this['parsedMergedContent']),_0x528d79=_0x528d79['filter'](({node:_0x27a1f6})=>[..._0x1e2c2d(_0x27a1f6),_0x27a1f6]['every'](_0x347e5b=>!_0x3b4b70(_0x347e5b,'data-unstable'))),0x0==_0x528d79['length'])return;const _0x539b2b=[[_0x528d79[0x0]]];for(let _0x4b3be8=0x1;_0x4b3be8<_0x528d79['length'];_0x4b3be8++){const _0x3349da=_0x539b2b[_0x539b2b['length']-0x1],_0x47c224=_0x3349da[_0x3349da['length']-0x1];_0x528d79[_0x4b3be8]['node']['previousSibling']==_0x47c224['node']&&'modified'!=_0x528d79[_0x4b3be8]['type']&&'modified'!=_0x47c224['type']?_0x3349da['push'](_0x528d79[_0x4b3be8]):_0x539b2b['push']([_0x528d79[_0x4b3be8]]);}for(const _0x5420b9 of _0x539b2b){const _0x106989=_0x5420b9[0x0],_0x5105b8=_0x5420b9[_0x5420b9['length']-0x1],_0x1d3205=_0x41341d(_0x106989['node']['previousSibling']);_0x1d3205&&_0x5420b9['unshift'](_0x1d3205);const _0x38bb0f=_0x41341d(_0x5105b8['node']['nextSibling']);_0x38bb0f&&_0x5420b9['push'](_0x38bb0f);}function _0x3fb12d(_0x489155){return _0x2cae49['modifiedNodeIds']['includes'](_0x489155)||_0x2cae49['newNodeIds']['includes'](_0x489155)||_0x2cae49['removedNodeIds']['includes'](_0x489155);}function _0x41341d(_0x40a0b1){if(_0x40a0b1&&_0x3b4b70(_0x40a0b1,'data-id')&&!_0x3b4b70(_0x40a0b1,'data-unstable')){const _0x1b34e6=_0x3b4b70(_0x40a0b1,'data-id');if(!_0x3fb12d(_0x1b34e6))return{'node':_0x40a0b1,'type':'context','id':_0x1b34e6};}return null;}this['changeGroups']=_0x539b2b['map']((_0x52b6c8,_0x464dff)=>({'changes':_0x52b6c8,'state':'pending','index':_0x464dff}));}}const _0xa57153=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0xa0ed63['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x3d9e8e,editor:_0x12ac17}){super(),this['id']=_0xa0ed63['uid'](),this['connector']=_0x3d9e8e,this['isStopped']=!0x0,this['editor']=_0x12ac17;}async['start'](){const _0x1312bc=[];let _0x26dd4a,_0x25b5dc,_0x3753e1;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x1c9fec=await this['currentRequest']['getStream']();for await(const _0x3b442a of _0x1c9fec){if(this['isStopped'])return;if('error'==_0x3b442a['event'])return void this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x3b442a['event']){case'message-metadata':this['messageId']=_0x3b442a['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x3b442a['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x3b442a['data']['conversationTitle'],!0x0);break;case'source':_0x1312bc['push'](_0x3b442a['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'](),_0x26dd4a='modification-delta'==_0x3b442a['event']?'modification':'text',_0x25b5dc='modification-delta'==_0x3b442a['event']?_0x3b442a['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x26dd4a&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x26dd4a,'interactionId':this['id'],'id':_0x25b5dc}),'modification'==_0x26dd4a&&(this['currentReply']['sources']=_0x1312bc['splice'](0x0))),this['currentReply']['appendContent'](_0x3b442a['data']['textDelta']);break;case'mcp-tool-result':_0x3753e1=JSON['parse'](_0x3b442a['data']['result']),this['_handleToolResultData']({'toolName':_0x3b442a['data']['toolName'],'data':_0x3753e1['data'],'attributes':_0x3753e1['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x3b442a['data']['toolName'],'data':_0x3b442a['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x1312bc['length']>0x0&&(this['currentReply']['sources']=_0x1312bc['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x433689){return this['replies']['find'](_0x4c810a=>_0x4c810a['id']===_0x433689);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x26a999=>_0x26a999['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x1e1c91){const _0x2fb145=new _0x3fb0eb({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x1e1c91});return this['replies']['push'](_0x2fb145),_0x2fb145['delegate'](..._0xa57153)['to'](this),this['fire']('replyCreated',_0x2fb145),_0x2fb145;}['setConversationTitle'](_0x461716,_0x24543b=!0x1){this['fire']('setConversationTitle',_0x461716,_0x24543b);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x324384){this['fire']('toolDataReceived',{'type':'result','toolName':_0x324384['toolName'],'data':structuredClone(_0x324384['data']||{}),'attributes':structuredClone(_0x324384['attributes']||{})},this);}['_handleToolNotificationData'](_0x23e13e){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x23e13e['toolName'],'data':structuredClone(_0x23e13e['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var _0x5f0963=function(_0x44b1e7){return _0x44b1e7['TOOL']='mcp-tool-context',_0x44b1e7['FILE']='file',_0x44b1e7['DOCUMENT']='document',_0x44b1e7['URL']='web-resource',_0x44b1e7['TEXT']='text',_0x44b1e7['SELECTION']='selection',_0x44b1e7;}({}),_0x502393=function(_0x55b5a5){return _0x55b5a5['TEXT']='text',_0x55b5a5['MARKDOWN']='markdown',_0x55b5a5['HTML']='html',_0x55b5a5;}({});const _0x51dd45=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']]),_0x2e2b06=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0xa0ed63['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x48adb8,config:_0x529fb1,ownerId:_0x394c8e}){super(),this['_connector']=_0x48adb8,this['_config']=_0x529fb1,this['_ownerId']=_0x394c8e;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x250485){const _0x4b41fb=await this['_createContextItemFromContent'](_0x250485);return this['_addToConversationContextItem'](_0x4b41fb),'current-document'===_0x4b41fb['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x4b41fb;}async['_createContextItemFromContent'](_0x299524){if(_0x299524['type']===_0x5f0963['DOCUMENT']){const _0x411793=await this['_connector']['fetchDocument'](this['_ownerId'],_0x299524['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x299524['type'],'content':_0x411793['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x411793['attributes']?.['version'],'sessionId':_0x411793['attributes']?.['sessionId']};}if(_0x299524['type']===_0x5f0963['TOOL'])return{'id':_0x299524['id'],'uiId':_0x299524['id'],'label':_0x299524['data']?.['label']||_0x299524['id'],'type':_0x5f0963['TOOL'],'mcpServerName':_0x299524['mcpServerName'],'toolName':_0x299524['toolName'],'data':_0x299524['data']||{}};return{'id':_0x299524['id'],'uiId':_0x299524['id'],'label':_0x299524['attributes']?.['label']||_0x299524['name']||_0x299524['url']||_0x299524['id'],'type':_0x299524['type'],..._0x299524?.['attributes']?.['resourceId']?{'resourceId':_0x299524['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x18276a){const _0x21b9fc=this['_pendingContextItems']['get'](_0x18276a);_0x21b9fc?.['isReadOnly']||this['_removeContextItem'](_0x18276a);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x8a8f20 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x8a8f20['uiId']);const _0x446883=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x446883&&this['_addContextItem']({..._0x446883,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x3a641c){for(const _0x38a49e of _0x3a641c['values']())this['_addToConversationContextItem'](_0x38a49e);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'](_0x14a3a9){return Array['from'](_0x14a3a9['values']())['map'](_0x3e2cae=>this['_mapContextItemToRequestData'](_0x3e2cae))['filter'](_0x2c773c=>null!==_0x2c773c);}async['addFilesToContext'](_0xed13c2,_0x16d8f8,_0x5a2b0c=_0x5f0963['FILE']){const _0x5f2f0c='files-'+_0xa0ed63['uid']();this['_startUploadOperation'](_0x5f2f0c);try{await Promise['all'](_0xed13c2['map'](async _0x3d33a4=>{const _0x1fafd4='file-'+_0xa0ed63['uid'](),_0x48859a=pt(_0x3d33a4['name']);try{this['_addContextItem']({'type':_0x5a2b0c,'label':_0x16d8f8?.['label']||_0x48859a,'uiId':_0x1fafd4,'resourceId':_0x16d8f8?.['resourceId']},!0x0);const _0x396f1c=this['_connector']['uploadFile'](this['_ownerId'],_0x3d33a4,_0x16d8f8);this['_ongoingUploads']['set'](_0x1fafd4,_0x396f1c['abortController']);const {id:_0x17afb5}=await _0x396f1c['getId']();this['_ongoingUploads']['delete'](_0x1fafd4),this['_finishContextItemLoading']({'type':_0x5a2b0c,'id':_0x17afb5,'label':_0x16d8f8?.['label']||_0x48859a,'uiId':_0x1fafd4,'resourceId':_0x16d8f8?.['resourceId']},!0x1);}catch(_0x28644c){this['_ongoingUploads']['delete'](_0x1fafd4);if(!(_0x28644c instanceof _0xa0ed63['CKEditorError']&&_0x28644c['message']['startsWith']('ai-request-aborted'))){const _0x3ee030=_0x51dd45['get'](_0x28644c['code'])||'ai-chat-file-upload-failed',_0x1bbf5b=new _0xa0ed63['CKEditorError'](_0x3ee030,null,{'fileName':_0x48859a,..._0x28644c});_0x1bbf5b['stack']=_0x28644c['stack'],this['fire']('error',{'error':_0x1bbf5b});}this['_removeContextItem'](_0x1fafd4);}}));}finally{this['_finishUploadOperation'](_0x5f2f0c);}}['addCurrentDocumentToContext'](_0x2bebc4){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x4fed4f={'type':_0x5f0963['DOCUMENT'],'uiId':'current-document','label':_0x2bebc4,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x4fed4f);}async['updateCurrentDocument'](_0x16d3ca,_0x505268,_0x555b6e,_0x3fa500){const _0x418070=this['_pendingContextItems']['get']('current-document');if(_0x418070&&_0x16d3ca){_0x418070['selection']=_0x3fa500?_0x3fa500['map'](_0x235154=>({'start':_0x235154['start'],'end':_0x235154['end']})):[];try{if(_0x418070['version']===_0x505268)return;const {id:_0x12e453}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x16d3ca,{'version':_0x505268,'sessionId':_0x555b6e})['getId']();_0x418070['id']=_0x12e453,_0x418070['content']=_0x16d3ca,_0x418070['version']=_0x505268,_0x418070['sessionId']=_0x555b6e;}catch(_0x451f11){const _0x3e7ae0=new _0xa0ed63['CKEditorError']('ai-chat-document-upload-failed',null);_0x3e7ae0['stack']=_0x451f11['stack'],this['fire']('error',{'error':_0x3e7ae0});}}}['addSelectionToContext'](_0x2a76b3){this['_addContextItem']({'type':_0x5f0963['SELECTION'],'label':_0x2a76b3,'uiId':'selection','content':_0x2a76b3});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x22172f,_0x2aa36c){const _0x24aa2b='url-'+_0xa0ed63['uid']();this['_startUploadOperation'](_0x24aa2b);const _0x2ba199='url-'+_0xa0ed63['uid']();try{this['_addContextItem']({'type':_0x5f0963['URL'],'label':_0x2aa36c?.['label']||_0x22172f,'uiId':_0x2ba199,'resourceId':_0x2aa36c?.['resourceId']},!0x0);const _0x204888=this['_connector']['uploadUrl'](this['_ownerId'],_0x22172f,_0x2aa36c);this['_ongoingUploads']['set'](_0x2ba199,_0x204888['abortController']);const {id:_0x1f3e6f}=await _0x204888['getId']();this['_ongoingUploads']['delete'](_0x2ba199),this['_finishContextItemLoading']({'type':_0x5f0963['URL'],'id':_0x1f3e6f,'label':_0x2aa36c?.['label']||_0x22172f,'uiId':_0x2ba199,'resourceId':_0x2aa36c?.['resourceId']},!0x1);}catch(_0x57d664){this['_ongoingUploads']['delete'](_0x2ba199),(_0x57d664['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x22172f,'originalError':_0x57d664}),'url':_0x22172f}),this['_removeContextItem'](_0x2ba199));}finally{this['_finishUploadOperation'](_0x24aa2b);}}['addToolItemToContext'](_0x19cab5){_0x19cab5['id']=_0x19cab5['id']??_0xa0ed63['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x19cab5['uiId'],_0x19cab5),this['fire']('contextItemAdded',{'contextItem':_0x19cab5,'isLoading':!0x1});}async['loadSourceResources'](_0x2004ee,_0x395609,_0x126b41){const _0x2fe0aa=this['_addContextOptionsState']['sources']['find'](_0x3b106b=>_0x3b106b['id']===_0x2004ee);if(!_0x2fe0aa)return this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x2004ee}),'sourceId':_0x2004ee}),[];try{const _0x42220e=(await _0x2fe0aa['getResources'](_0x395609))['map'](_0x5770fc=>{const _0x351c70=this['_isResourceInContext'](_0x5770fc['id']);return{..._0x5770fc,'isInContext':_0x351c70};});return _0x2fe0aa['resources']=_0x42220e,this['fire']('sourceResourcesLoaded',{'sourceId':_0x2004ee,'source':_0x2fe0aa,'resources':_0x42220e,'uid':_0x126b41}),_0x42220e;}catch(_0x2acb77){return this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x2004ee,'originalError':_0x2acb77}),'sourceId':_0x2004ee,'sourceLabel':_0x2fe0aa['label']}),[];}}async['addResourceToContext'](_0x159fd7,_0x586ce3){if(this['_isResourceInContext'](_0x586ce3['id']))return;let _0x398179=_0x586ce3['data'];if(!_0x398179&&_0x159fd7['getData'])try{_0x398179=await _0x159fd7['getData'](_0x586ce3['id']);}catch(_0x582031){return void this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id'],'originalError':_0x582031}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});}if(_0x398179)switch(_0x586ce3['type']){case _0x5f0963['URL']:if('string'!=typeof _0x398179)return void this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id'],'expectedType':'string','actualType':typeof _0x398179}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});await this['addUrlToContext'](_0x398179,{'label':_0x586ce3['label'],'resourceId':_0x586ce3['id']});break;case _0x5f0963['FILE']:if(!(_0x398179 instanceof File))return void this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id'],'expectedType':'File','actualType':typeof _0x398179}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});await this['addFilesToContext']([_0x398179],{'label':_0x586ce3['label'],'resourceId':_0x586ce3['id']});break;case _0x5f0963['TEXT']:if('object'!=typeof _0x398179||!('content'in _0x398179)||!('type'in _0x398179))return void this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x398179}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});_0x398179=AIChatContext['_convertTextResourceToFile'](_0x398179,_0x586ce3['label']),await this['addFilesToContext']([_0x398179],{'label':_0x586ce3['label'],'resourceId':_0x586ce3['id']},_0x5f0963['TEXT']);break;case _0x5f0963['TOOL']:break;default:this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id'],'resourceType':_0x586ce3['type']}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});}else this['fire']('error',{'error':new _0xa0ed63['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']}),'resourceId':_0x586ce3['id'],'sourceId':_0x159fd7['id']});}static['_convertTextResourceToFile'](_0x3b276a,_0x2fe5d4){switch(_0x3b276a['type']){case _0x502393['MARKDOWN']:return new File([_0x3b276a['content']],_0x2fe5d4,{'type':'text/markdown'});case _0x502393['HTML']:return new File([_0x3b276a['content']],_0x2fe5d4,{'type':'text/html'});default:return new File([_0x3b276a['content']],_0x2fe5d4,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x30f1f6){switch(_0x30f1f6['type']){case _0x5f0963['FILE']:return{'type':_0x5f0963['FILE'],'id':_0x30f1f6['id']};case _0x5f0963['URL']:return{'type':_0x5f0963['URL'],'id':_0x30f1f6['id']};case _0x5f0963['DOCUMENT']:return{'type':_0x5f0963['DOCUMENT'],'id':_0x30f1f6['id'],..._0x30f1f6['selection']?.['length']&&{'selection':_0x30f1f6['selection']}};case _0x5f0963['TEXT']:return{'type':_0x5f0963['FILE'],'id':_0x30f1f6['id']};case _0x5f0963['TOOL']:{const _0x417142=_0x30f1f6;return{'type':_0x5f0963['TOOL'],'mcpServerName':_0x417142['mcpServerName'],'toolName':_0x417142['toolName'],'data':_0x417142['data'],'id':_0x417142['id']};}default:return null;}}['_addContextItem'](_0x34ecc8,_0x1cebe9=!0x1){if(this['_pendingContextItems']['set'](_0x34ecc8['uiId'],_0x34ecc8),_0x34ecc8['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x34ecc8,'isLoading':_0x1cebe9}),'current-document'===_0x34ecc8['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x34ecc8['resourceId']){const _0x1db8df=this['_findSourceIdsByResourceId'](_0x34ecc8['resourceId']);_0x1db8df&&_0x1db8df['forEach'](_0x58eff3=>{this['_updateResourceInContextState'](_0x58eff3,_0x34ecc8['resourceId'],!0x0);});}}['_removeContextItem'](_0x48e970){const _0x41668c=this['_pendingContextItems']['get'](_0x48e970),_0x50256d=this['_ongoingUploads']['get'](_0x48e970);if(_0x50256d&&(_0x50256d['abort'](),this['_ongoingUploads']['delete'](_0x48e970)),_0x41668c?.['resourceId']){const _0x2ac174=this['_findSourceIdsByResourceId'](_0x41668c['resourceId']);_0x2ac174&&_0x2ac174['forEach'](_0x4cfc5d=>{this['_updateResourceInContextState'](_0x4cfc5d,_0x41668c['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x48e970),this['fire']('contextItemRemoved',{'uiId':_0x48e970,'type':_0x41668c?.['type']}),'current-document'===_0x48e970&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x4dd0be,_0x237995){if(this['_pendingContextItems']['has'](_0x4dd0be['uiId'])&&(this['_pendingContextItems']['set'](_0x4dd0be['uiId'],_0x4dd0be),this['fire']('contextItemLoadingEnded',{'contextItem':_0x4dd0be,'isLoading':_0x237995}),_0x4dd0be['resourceId'])){const _0x52e8cd=this['_findSourceIdsByResourceId'](_0x4dd0be['resourceId']);_0x52e8cd&&_0x52e8cd['forEach'](_0x85088e=>{this['_updateResourceInContextState'](_0x85088e,_0x4dd0be['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x191c9e){this['_conversationContextItems']['set'](_0x191c9e['uiId'],_0x191c9e);}['_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'](_0x39de96=>({..._0x39de96,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x174708=>({..._0x174708,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0x3662d0=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x3662d0,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x36122c){for(const _0x14b9ec of this['_pendingContextItems']['values']())if(_0x14b9ec['resourceId']===_0x36122c)return!0x0;for(const _0x47a5cb of this['_conversationContextItems']['values']())if(_0x47a5cb['resourceId']===_0x36122c)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x34f7c5){const _0x281af1=[];for(const _0x1e7039 of this['_addContextOptionsState']['sources']){_0x1e7039['resources']['find'](_0x6b195c=>_0x6b195c['id']===_0x34f7c5)&&_0x281af1['push'](_0x1e7039['id']);}return 0x0===_0x281af1['length']?null:_0x281af1;}['_updateResourceInContextState'](_0x31856d,_0x2107bc,_0x57635a){const _0x398dbf=this['_addContextOptionsState']['sources']['find'](_0x2bc561=>_0x2bc561['id']===_0x31856d);if(!_0x398dbf)return;const _0x45d9c=_0x398dbf['resources']['find'](_0x30a938=>_0x30a938['id']===_0x2107bc);_0x45d9c&&(_0x45d9c['isInContext']=_0x57635a,this['fire']('resourceStateChanged',{'sourceId':_0x31856d,'resourceId':_0x2107bc,'isInContext':_0x57635a}));}['_startUploadOperation'](_0x347944){this['_ongoingUploadOperations']['set'](_0x347944,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x34bfe9){this['_ongoingUploadOperations']['delete'](_0x34bfe9),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x2c74e8=['capabilitiesUpdated'];class AICapabilities extends _0xa0ed63['EmitterMixin'](){['_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'](_0x25a746){const _0x54a316={};return _0x25a746&&_0x25a746['isWebSearchEnabled']&&(_0x54a316['webSearch']={}),_0x25a746&&_0x25a746['isReasoningEnabled']&&(_0x54a316['reasoning']={}),_0x54a316;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x2fc969){_0x2fc969!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x2fc969,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x58d104){_0x58d104!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x58d104,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x1dc4ec){super(_0x1dc4ec),this['conversationId']=_0x1dc4ec['conversationId'],this['contextItems']=_0x1dc4ec['contextItems'],this['capabilities']=_0x1dc4ec['capabilities'],this['userMessage']=_0x1dc4ec['userMessage'],this['model']=_0x1dc4ec['model'],this['attributes']=_0x1dc4ec['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends _0xa0ed63['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x255c24){super(),this['options']=_0x255c24,this['connector']=_0x255c24['connector'],this['chatModels']=_0x255c24['chatModels'],this['id']=_0x255c24['conversationId'],this['isFromHistory']=_0x255c24['isFromHistory'];}async['init'](_0x30367e){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x30367e,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x2e2b06)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x2c74e8)['to'](this),this['chatCapabilities']['init']();const _0x1436f5=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x1436f5});const _0x35b5f5=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x35b5f5&&await this['setModel'](_0x35b5f5);}catch(_0x22cd97){const _0x439eaa=new _0xa0ed63['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x22cd97['message']||_0x22cd97});_0x439eaa['stack']=_0x22cd97['stack'],this['fire']('error',{'error':_0x439eaa});}}async['start'](){if(this['isStarted'])throw new _0xa0ed63['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0xa0ed63['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x17c26d}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x17c26d,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x2a1bac){const _0xb5bdd8=new _0xa0ed63['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x2a1bac['message'],'conversationId':this['id']});throw _0xb5bdd8['stack']=_0x2a1bac['stack'],this['fire']('error',{'error':_0xb5bdd8}),_0xb5bdd8;}}async['load'](_0x4506cf,_0x35581b){try{const _0x4f0ec4=await this['connector']['fetchConversation'](_0x4506cf)['getConversation'](),_0x3b5b73=await this['connector']['fetchConversationMessages'](_0x4506cf)['getMessages'](),_0x39131d=_0x3b5b73[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x4f0ec4['id'],'title'in _0x4f0ec4?this['fire']('setConversationTitle',_0x4f0ec4['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x1c7c25=(await this['chatModels']['getAll']())['find'](_0x1e8d95=>_0x1e8d95['id']['toLowerCase']()===_0x39131d['toLowerCase']());return this['selectedModel']=_0x1c7c25,this['fire']('modelSelected',{'selectedModel':_0x1c7c25,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x3b5b73,_0x35581b,_0x39131d),this['currentInteraction']=void 0x0,this;}catch(_0x5842f9){const _0x3228e8=new _0xa0ed63['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x5842f9['message'],'conversationId':_0x4506cf});throw _0x3228e8['stack']=_0x5842f9['stack'],this['fire']('error',{'error':_0x3228e8}),_0x3228e8;}}async['_processMessagesToInteractions'](_0x16f3ac,_0x258867,_0x17e578){let _0x243be1;for(const _0x2725d8 of _0x16f3ac)if('user'===_0x2725d8['role']){const _0x485f21=await this['_extractContextItems'](_0x2725d8),_0x563109={'isReasoningEnabled':Object['hasOwn'](_0x2725d8['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x2725d8['capabilities'],'webSearch')};_0x243be1=this['createInteraction']({'userMessage':_0x2725d8['prompt'],'contextItems':_0x485f21,'capabilities':_0x563109,'modelId':_0x17e578,'attributes':_0x2725d8['attributes']}),this['currentInteraction']=_0x243be1,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x2725d8['role']&&_0x243be1){const _0x5ba18a=[];for(const _0x35a885 of _0x2725d8['content'])switch(_0x35a885['type']){case'text':case'modification':{const _0x4f268c=_0x243be1['getDocumentContext']()?.['sessionId']!==_0x258867;_0x243be1['currentReply']=_0x243be1['createReply']({'type':_0x35a885['type'],'isDone':!0x0,'interactionId':_0x243be1['id'],'areActionsDisabled':_0x4f268c}),_0x243be1['currentReply']['appendContent'](_0x35a885['content']),_0x5ba18a['length']>0x0&&(_0x243be1['currentReply']['sources']=_0x5ba18a['splice'](0x0));break;}case'url':_0x5ba18a['push'](_0x35a885);break;case'mcp-tool-result':{const {data:_0x5e51cb,attributes:_0x176c7e}=JSON['parse'](_0x35a885['content']);_0x243be1['_handleToolResultData']({'toolName':_0x35a885['toolName'],'data':_0x5e51cb,'attributes':_0x176c7e});break;}}}}}async['_extractContextItems'](_0x46cdb5){const _0x3528c4=new Map();if(!_0x46cdb5['content'])return _0x3528c4;for(const _0x1dc001 of _0x46cdb5['content']){const _0x481659=await this['chatContext']['populateFromMessage'](_0x1dc001);_0x481659&&_0x3528c4['set'](_0x481659['id'],_0x481659);}return _0x3528c4;}async['handleUserInteraction']({userMessage:_0x39becb,attributes:_0x4f96f3}){if(!this['isStarted'])throw new _0xa0ed63['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0xa0ed63['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x16ba17=this['chatContext']['getPendingContextItems'](),_0x2b3ba2=this['chatCapabilities']['getCapabilitiesConfig'](),_0x3a4b06=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x39becb,'contextItems':_0x16ba17,'capabilities':_0x2b3ba2,'modelId':_0x3a4b06,'attributes':_0x4f96f3}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x36bc8a){if(_0x36bc8a instanceof _0xa0ed63['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x36bc8a});else{const _0xd1fc53=_0x51dd45['get'](_0x36bc8a['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0xa0ed63['CKEditorError'](_0xd1fc53,null,{'error':_0x36bc8a})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x20c469,contextItems:_0x42b2f2,capabilities:_0x3835ba,modelId:_0x5b479a,attributes:_0x21b2d7}){const _0x10af53=new AIChatInteraction({'userMessage':_0x20c469,'contextItems':_0x42b2f2,'capabilities':_0x3835ba,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x5b479a,'attributes':_0x21b2d7});return _0x10af53['delegate'](..._0xa57153)['to'](this),this['interactions']['push'](_0x10af53),this['fire']('interactionCreated',_0x10af53),_0x10af53;}['getInteraction'](_0x54d892){return this['interactions']['find'](_0x4fa500=>_0x4fa500['id']===_0x54d892);}['removeInteraction'](_0x20c13e){const _0x272c94=this['getInteraction'](_0x20c13e);_0x272c94&&(_0x272c94['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x272c94),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x6152ac){this['chatContext']['addCurrentDocumentToContext'](_0x6152ac);}async['updateCurrentDocumentInContext']({content:_0x2d4cf9,version:_0x5d99a9,sessionId:_0x2c9d11,selections:_0xb6cd29}){await this['chatContext']['updateCurrentDocument'](_0x2d4cf9,_0x5d99a9,_0x2c9d11,_0xb6cd29);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x448dd6){this['chatContext']['addSelectionToContext'](_0x448dd6);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x6fa7e4){this['chatContext']['addFilesToContext'](_0x6fa7e4);}['addUrlToContext'](_0x1f47f9){this['chatContext']['addUrlToContext'](_0x1f47f9);}['addToolItemToContext'](_0x46ab35){this['chatContext']['addToolItemToContext'](_0x46ab35);}['addResourceToContext'](_0x5da8e1,_0x382d22){this['chatContext']['addResourceToContext'](_0x5da8e1,_0x382d22);}['loadSourceResources'](_0x4b2bcf,_0x104737,_0x38d41c){return this['chatContext']['loadSourceResources'](_0x4b2bcf,_0x104737,_0x38d41c);}['removeFromContext'](_0x31a9a5){this['chatContext']['removeFromContext'](_0x31a9a5);}['setWebSearch'](_0x52bcf9){this['chatCapabilities']['setWebSearch'](_0x52bcf9);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x4cda6c){this['chatCapabilities']['setReasoning'](_0x4cda6c);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x5259e3){_0x5259e3?!0x1===await this['chatModels']['isAvailable'](_0x5259e3)&&(_0xa0ed63['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x5259e3}),_0x5259e3=(await this['chatModels']['getAvailableModels']())[0x0]):(_0xa0ed63['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x5259e3=(await this['chatModels']['getAvailableModels']())[0x0]),_0x5259e3['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x5259e3,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x5259e3}));}}class _0x3b1909 extends _0xa0ed63['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x78f7f1,config:_0xf04cb4,locale:_0x32cfd0}){super(),this['_connector']=_0x78f7f1,this['_config']=_0xf04cb4,this['_locale']=_0x32cfd0;}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 _0x2a1ea9=await this['getAll']();let _0x1163d1;return _0x1163d1=this['_availableModels']?this['_filterModels'](_0x2a1ea9,this['_availableModels']):_0x2a1ea9['filter'](_0x5f4977=>_0x5f4977['recommended']),_0x1163d1;}async['getModel'](_0x48d744){const _0x10e021=await this['getAll']();if(!_0x10e021['length'])return null;if(_0x48d744){const _0x153b37=this['_getModelById'](_0x10e021,_0x48d744);if(_0x153b37)return _0x153b37;_0xa0ed63['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x48d744,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x4e0d6b=await this['getAvailableModels']();if(!_0x4e0d6b['length'])return null;if(this['_defaultModelId']){const _0x56ea7d=this['_getModelById'](_0x4e0d6b,this['_defaultModelId']);if(_0x56ea7d)return _0x56ea7d;_0xa0ed63['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x4e0d6b[0x0]['id']});}return _0x4e0d6b[0x0];}async['isAvailable'](_0x13c489){return(await this['getAvailableModels']())['some'](_0x23f040=>_0x23f040['name']===_0x13c489['name']&&_0x23f040['provider']===_0x13c489['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x523a15=this['_locale']['uiLanguage']||'en',_0x2ad307=this['_connector']['getModels'](_0x523a15),_0x43f3f7=await _0x2ad307['list']();this['_modelList']=_0x43f3f7['items']['map'](_0x3180bc=>_0x3dc26d(_0x3180bc)?{..._0x3180bc,'name':xt(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x3180bc);}catch(_0x262912){throw _0xa0ed63['logError']('ai-models-unable-to-retrieve',{'error':_0x262912}),_0x262912;}return[...this['_modelList']];}['_filterModels'](_0x1a8b8f,_0x1c9b97){let _0x521424;if(_0x1c9b97){_0x521424=[];const _0x3e1706=new Set(),_0x7aa78='string'==typeof _0x1c9b97?[_0x1c9b97['toLocaleLowerCase']()]:_0x1c9b97['map'](_0x2ff425=>_0x2ff425['toLocaleLowerCase']());for(const _0x5312f4 of _0x7aa78)for(const _0x56e988 of _0x1a8b8f)!_0x3e1706['has'](_0x56e988['id'])&&this['_isMatchingFilter'](_0x56e988,_0x5312f4)&&(_0x521424['push'](_0x56e988),_0x3e1706['add'](_0x56e988['id']));}else _0x521424=_0x1a8b8f;return _0x521424;}['_isMatchingFilter'](_0x4ed07,_0x118bde){const _0x14bf60=_0x4ed07['id']['toLocaleLowerCase'](),_0x483ea1=_0x4ed07['name']['toLocaleLowerCase'](),_0x487b56=_0x4ed07['provider']['toLocaleLowerCase']();return _0x14bf60===_0x118bde||_0x483ea1===_0x118bde||_0x3dc26d(_0x4ed07)&&'auto'===_0x118bde||_0x487b56===_0x118bde||_0x14bf60['startsWith'](_0x118bde);}['_getModelById'](_0x4a4c4b,_0xdc41d7){return _0x4a4c4b['find'](_0x1c2677=>_0x3dc26d(_0x1c2677)&&'auto'===_0xdc41d7?_0x1c2677:_0x1c2677['id']===_0xdc41d7)||null;}}function _0x3dc26d(_0xeb138){return _0xeb138['id']['startsWith']('agent');}function ta(_0x4781bb){if(_0x4781bb instanceof _0xa0ed63['Editor'])return _0x4781bb;if(_0x4781bb?.['editors']&&_0x4781bb['editors']['get'](0x0))return _0x4781bb['editors']['length']>0x1&&console['warn']('AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'),_0x4781bb['editors']['get'](0x0);throw new _0xa0ed63['CKEditorError']('ai-get-editor-from-context-no-editor');}function _0x120129({editor:_0x1be3e4,interaction:_0x21ad64,reply:_0x475c0a,groups:_0x4cdd5d,transform:_0x1267ba,documentCompare:_0x442795,documentCompareOptions:_0x4b5846}){const _0x479582=_0x21ad64['getDocumentContext']();if(!_0x479582)return[];const _0x1be75e=_0x479582['content'],_0x2571e4=_0x479582['version'],_0x5ae071=_0x475c0a['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x308f59}of _0x4cdd5d){const _0x954642=_0x308f59['filter'](_0x5e3e58=>'new'!=_0x5e3e58['type'])['map'](_0x361dfe=>_0x460852('data-id',_0x361dfe['id'],_0x5ae071)),_0x2a4c64=_0x308f59['filter'](_0x190b80=>'removed'!=_0x190b80['type'])['map'](_0x36a117=>_0x36a117['node']['cloneNode'](!0x0));let _0x26d2f8=null;if(_0x954642['length']){_0x26d2f8=_0x954642[0x0]['previousSibling'];for(let _0x2557b3=0x0;_0x2557b3<_0x954642['length'];_0x2557b3++)_0x3b8b10(_0x954642[_0x2557b3]);}if(_0x2a4c64['length']){_0x26d2f8||(_0x308f59[0x0]['anchorId']?_0x26d2f8=_0x460852('data-id',_0x308f59[0x0]['anchorId'],_0x5ae071):(_0x26d2f8=_0x2a4c64['shift'](),_0x5cbb10(_0x5ae071,_0x26d2f8)));for(let _0x247b62=0x0;_0x247b62<_0x2a4c64['length'];_0x247b62++)_0x474c85(_0x26d2f8,_0x2a4c64[_0x247b62]),_0x26d2f8=_0x2a4c64[_0x247b62];}}const _0x34373b=_0x57663f(_0x5ae071),_0x2f8d7f=_0x442795['getDiff'](_0x1be75e,_0x34373b,_0x4b5846)['getOperations']();if(_0x1267ba){const _0x409673=_0x1be3e4['model']['document']['history']['getOperations'](_0x2571e4),_0x12f5d9={'document':_0x1be3e4['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xa0ed63['transformOperationSets'](_0x2f8d7f,_0x409673,_0x12f5d9)['operationsA'];}return _0x2f8d7f;}function _0x1739bf(_0x14214a,_0x5ccc23){if('marker'!=_0x5ccc23['type'])return;const _0x571a27=_0x14214a['model']['markers']['get'](_0x5ccc23['name']);_0x571a27&&(_0x5ccc23['oldRange']=_0x571a27['getRange']());}class AIChatController extends _0xa0ed63['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new _0xa0ed63['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new _0x3b1909({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x4e1a3f=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x372fd3,_0x48d574)=>{this['_handleUIUserMessage']({'userMessage':_0x48d574});}),this['listenTo'](_0x4e1a3f,'resizedTabs',(_0x8b7df2,_0x19f7a7)=>{this['_setIsMaximized'](_0x19f7a7);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x4e1a3f['resize']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0xc97a36,_0x56040a)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x56040a));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x3310f8,_0x44e1bc)=>{this['activeConversation']?.['addUrlToContext'](_0x44e1bc);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x134949,_0x4e0db9)=>{_0x4e0db9['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x486234,_0x5e5d1c)=>{this['activeConversation']?.['addResourceToContext'](_0x5e5d1c['source'],_0x5e5d1c['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x36f63e,_0x38575d)=>{this['_removeFromContext'](_0x38575d);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x53aa93,_0x39273b)=>{this['activeConversation']?.['loadSourceResources'](_0x39273b['sourceId'],_0x39273b['query'],_0x39273b['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x2626c3,_0x122a39)=>{this['activeConversation']?.['setModel'](_0x122a39);}),this['listenTo'](this['_aiChatUi'],'like',(_0x3ab8c2,{replyId:_0x213c81})=>{console['log']('Liked\x20response',_0x213c81);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x103a8a,{replyId:_0x458648})=>{console['log']('Disliked\x20response',_0x458648);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x16fac2,_0x2358e3)=>{this['_insertSuggestion'](_0x2358e3);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x1e368a,{replyId:_0x4c0afa,partIndex:_0x271e7f})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x4c0afa,_0x271e7f);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x5e70d8,{replyId:_0x598df8,partIndex:_0x607459})=>{const _0x5395be=this['_getDocumentRangeForReplyChanges'](_0x598df8,_0x607459);_0x5395be&&'$graveyard'!=_0x5395be['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x5395be['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x5d363b,_0xc7a2bd)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0xc7a2bd);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x5decc8,{replyId:_0x370abf,showDiff:_0x1211cf})=>{const {reply:_0x175680}=this['getInteractionAndReplyById'](_0x370abf),_0xe63f8b=_0x175680['getContentParts']({'showDiff':_0x1211cf});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x175680['id'],'parts':_0xe63f8b,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x4b1ea8,{replyId:_0x36c6ee,partIndex:_0x2b801f})=>{this['_rejectSuggestion']({'replyId':_0x36c6ee,'partIndex':_0x2b801f}),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon'),this['set']('_aiChatBalloonShowDiff',!0x1),this['_aiChatBalloon']['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](this['_aiChatBalloon'],'toggleSuggestionDisplayMode',()=>{const {replyId:_0x1d1b00,partIndex:_0x599bc4}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x3714c6}=this['getInteractionAndReplyById'](_0x1d1b00),_0xcbfceb=_0x3714c6['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x599bc4});this['_aiChatBalloon']['updateContent']({'part':_0xcbfceb[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x22061d,partIndex:_0x5a2905}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x22061d,'partIndex':_0x5a2905}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0x164150,partIndex:_0x27d1f6}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x164150,'partIndex':_0x27d1f6}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x216041,partIndex:_0x5e0fd6}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x216041,'partIndex':_0x5e0fd6}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0x2a9c49,partIndex:_0x46744f}=this['_currentPreviewedChangeGroup'],_0x366195=this['_getPresentableSiblingContentPartIndex'](_0x2a9c49,_0x46744f,'next');null!==_0x366195&&this['_openBalloonFor'](_0x2a9c49,_0x366195);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x1694aa,partIndex:_0x584476}=this['_currentPreviewedChangeGroup'],_0x274ee9=this['_getPresentableSiblingContentPartIndex'](_0x1694aa,_0x584476,'previous');null!==_0x274ee9&&this['_openBalloonFor'](_0x1694aa,_0x274ee9);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x503560,{id:_0x50d915})=>{if('aiChatBalloon'!==_0x50d915)return;const {replyId:_0x599be6,partIndex:_0x201bd8}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x599be6,'index':_0x201bd8,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof _0xa0ed63['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x8d043a,_0x4649c3)=>{_0x4649c3['on']('ready',()=>{this['_integrateEditor'](_0x4649c3);});});const _0x24a9bc=this['context']['config']['get']('ai.chat.initialConversation');let _0x10fe39=_0x24a9bc;if('lastCreated'!=_0x24a9bc||(_0x10fe39=await this['_getLastCreatedConversationId'](),_0x10fe39))return'new'==_0x10fe39?this['_startConversationSafely']():this['loadConversation'](_0x10fe39);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x249428){const _0x2e8454=ta(this['context']);if(!_0x2e8454['plugins']['has']('TrackChanges'))throw new _0xa0ed63['CKEditorError']('ai-no-track-changes',null);const _0x2303dc=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x249aec,interaction:_0x54801b}=this['getInteractionAndReplyById'](_0x249428['replyId']),_0x1746fe=this['_getDocumentRangeForReplyChanges'](_0x249428['replyId'],_0x249428['partIndex']),_0x5ca966=void 0x0!==_0x249428['partIndex']?[_0x249aec['changeGroups'][_0x249428['partIndex']]]:_0x249aec['changeGroups']['filter'](_0x149b17=>'pending'==_0x149b17['state']),_0x65f34e=_0x5ca966['map'](_0x826640=>_0x249aec['changeGroups']['indexOf'](_0x826640));if(!_0x1746fe||'$graveyard'==_0x1746fe['range']['root']['rootName'])return void _0x65f34e['forEach'](_0x3c9849=>_0x249aec['setChangeGroupState'](_0x3c9849,'outdated'));_0x65f34e['forEach'](_0x3912c7=>_0x249aec['setChangeGroupState'](_0x3912c7,'accepted'));const _0xb50911=_0x120129({'editor':_0x2e8454,'reply':_0x249aec,'interaction':_0x54801b,'groups':_0x5ca966,'transform':!0x0,'documentCompare':_0x2303dc,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0xfc2a57;_0x1746fe&&this['_scrollToSuggestionRange'](_0x1746fe['range']),_0x2e8454['model']['change'](_0x2baf8e=>{_0xfc2a57=_0x2baf8e['batch'],_0x2e8454['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0xb50911),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0xfc2a57,{'interactionId':_0x54801b['id'],'replyId':_0x249aec['id'],'indexes':_0x65f34e['slice']()}),this['_updateRatings'](_0x249aec);}['_applySuggestion'](_0x1e89b1){const _0x3a223d=ta(this['context']),_0x52470e=this['context']['plugins']['get'](DocumentCompare),{reply:_0x59df20,interaction:_0x461c9e}=this['getInteractionAndReplyById'](_0x1e89b1['replyId']),_0x204e58=this['_getDocumentRangeForReplyChanges'](_0x1e89b1['replyId'],_0x1e89b1['partIndex']),_0x295bb7=void 0x0!==_0x1e89b1['partIndex']?[_0x59df20['changeGroups'][_0x1e89b1['partIndex']]]:_0x59df20['changeGroups']['filter'](_0x564cd7=>'pending'==_0x564cd7['state']),_0x53230a=_0x295bb7['map'](_0x5920d3=>_0x59df20['changeGroups']['indexOf'](_0x5920d3));if(!_0x204e58||'$graveyard'==_0x204e58['range']['root']['rootName'])return void _0x53230a['forEach'](_0x7023dd=>_0x59df20['setChangeGroupState'](_0x7023dd,'outdated'));_0x53230a['forEach'](_0x3a8df0=>_0x59df20['setChangeGroupState'](_0x3a8df0,'accepted'));const _0x3dbf64=_0x120129({'editor':_0x3a223d,'reply':_0x59df20,'interaction':_0x461c9e,'groups':_0x295bb7,'transform':!0x0,'documentCompare':_0x52470e,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x303d92;_0x204e58&&this['_scrollToSuggestionRange'](_0x204e58['range']),_0x3a223d['model']['change'](_0x35fd13=>{_0x303d92=_0x35fd13['batch'];for(const _0x24e5dd of _0x3dbf64)_0x24e5dd['baseVersion']=_0x3a223d['model']['document']['version'],_0x1739bf(_0x3a223d,_0x24e5dd),_0x35fd13['batch']['addOperation'](_0x24e5dd),_0x3a223d['model']['applyOperation'](_0x24e5dd);}),this['_batchToChanges']['set'](_0x303d92,{'interactionId':_0x461c9e['id'],'replyId':_0x59df20['id'],'indexes':_0x53230a['slice']()}),this['_updateRatings'](_0x59df20);}['_rejectSuggestion'](_0x3cee66){const {reply:_0x2df951}=this['getInteractionAndReplyById'](_0x3cee66['replyId']);_0x2df951['setChangeGroupState'](_0x3cee66['partIndex'],'rejected');}['_openBalloonFor'](_0x5a103f,_0x5bdeb9){if(!this['_aiChatBalloon'])return;const {reply:_0x2958f9}=this['getInteractionAndReplyById'](_0x5a103f),_0x3e1454=_0x2958f9['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x4ea88c,_0xc08aa7;if(void 0x0!==_0x5bdeb9?(_0xc08aa7=_0x3e1454['find'](_0x5bb13a=>_0x5bb13a['index']==_0x5bdeb9),_0x4ea88c=_0xc08aa7?.['index']):(_0xc08aa7=_0x3e1454[0x0],_0x4ea88c=_0xc08aa7['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x5a103f&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x4ea88c)return;const _0x50f7f=this['_getUserPresentableContentPartDocumentRange'](_0x5a103f,_0x2958f9,_0xc08aa7);if(!_0x50f7f)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x5a103f,'partIndex':_0x4ea88c},this['_scrollToSuggestionRange'](_0x50f7f,!0x0);const _0x38f4d8=this['_getPresentableSiblingContentPartIndex'](_0x5a103f,_0x4ea88c,'next');this['_aiChatBalloon']['updateContent']({'part':_0xc08aa7,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x4ea88c,'title':xt(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x4ea88c+0x1)['toString']()),'showRotator':null!==_0x38f4d8,'ranges':[_0x50f7f],'areActionsDisabled':_0x2958f9['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x5a103f,_0x4ea88c),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x5a103f,'index':_0x4ea88c,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x22e731,_0x11e08f,_0x5a49c8){const {reply:_0x560893}=this['getInteractionAndReplyById'](_0x22e731),_0x4adc32=_0x560893['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x4adc32['length'])return null;const _0x5098ba=_0x4adc32['findIndex'](_0x5b320c=>_0x5b320c['index']==_0x11e08f),_0x389855='next'==_0x5a49c8?0x1:-0x1;let _0x35b28f=_0x4adc32['at']((_0x5098ba+_0x389855)%_0x4adc32['length'])['index'],_0x5e7b2e=_0x4adc32[_0x35b28f];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x22e731,_0x560893,_0x5e7b2e);){if(_0x35b28f=_0x4adc32['at']((_0x35b28f+_0x389855)%_0x4adc32['length'])['index'],_0x35b28f===_0x5098ba)return null;_0x5e7b2e=_0x4adc32[_0x35b28f];}return _0x35b28f;}['_getUserPresentableContentPartDocumentRange'](_0x3601f7,_0x1cc174,_0x302f0c){const _0x480500=_0x1cc174['changeGroups'];if(!_0x302f0c['hasChanges'])return null;const _0x217a31=_0x480500['find'](_0x45ffd5=>_0x45ffd5['index']==_0x302f0c['index']);if('pending'!==_0x217a31?.['state'])return null;const _0xffa458=this['_getDocumentRangeForReplyChanges'](_0x3601f7,_0x302f0c['index']);if(!_0xffa458)return null;const {range:_0x2c4e1c,currentIndex:_0x51e00a}=_0xffa458;return'$graveyard'==_0x2c4e1c['root']['rootName']?(_0x1cc174['setChangeGroupState'](_0x51e00a,'outdated'),null):_0xffa458['range'];}['_getDocumentRangeForReplyChanges'](_0x31ebbb,_0x2e2a9b){const _0x28fddb=ta(this['context']),{reply:_0x3294a7,interaction:_0x58c235}=this['getInteractionAndReplyById'](_0x31ebbb),_0x16b4f3=_0x3294a7['changeGroups']['filter'](_0x4ea1d7=>'pending'==_0x4ea1d7['state']),_0x6190ac=_0x16b4f3['map'](_0x30383f=>_0x3294a7['changeGroups']['indexOf'](_0x30383f));void 0x0===_0x2e2a9b&&(_0x2e2a9b=_0x6190ac[0x0]);const _0x2fd7ea=_0x6190ac['indexOf'](_0x2e2a9b);if(-0x1==_0x2fd7ea)return null;const _0x31db06=_0x16b4f3[_0x2fd7ea],_0x385b37=new Document([]),_0xe0ac42=new Document([]);for(const _0x1fdf29 of _0x31db06['changes'])if('removed'!=_0x1fdf29['type']&&_0xe0ac42['children']['push'](_0x1fdf29['node']['cloneNode'](!0x0)),'new'!=_0x1fdf29['type']){const _0x1fba26=_0x563b61(_0x56a547=>_0x3b4b70(_0x56a547,'data-id')==_0x1fdf29['id'],_0x3294a7['documentContextContent'],!0x0);_0x385b37['children']['push'](_0x1fba26['cloneNode'](!0x0));}if(0x0==_0x385b37['children']['length']){if(_0x31db06['changes'][0x0]['anchorId']){const _0x4bbb9a=_0x460852('data-id',_0x31db06['changes'][0x0]['anchorId'],_0x3294a7['documentContextContent']);_0x385b37['children']['unshift'](_0x4bbb9a['cloneNode'](!0x0)),_0xe0ac42['children']['unshift'](_0x4bbb9a['cloneNode'](!0x0)),_0x4bbb9a['nextSibling']&&(_0x385b37['children']['push'](_0x4bbb9a['nextSibling']['cloneNode'](!0x0)),_0xe0ac42['children']['push'](_0x4bbb9a['nextSibling']['cloneNode'](!0x0)));}else{const _0x3c4d25=_0x3294a7['documentContextContent']['children'][0x0];if(!_0x3c4d25)return null;_0x385b37['children']['push'](_0x3c4d25['cloneNode'](!0x0)),_0xe0ac42['children']['push'](_0x3c4d25['cloneNode'](!0x0));}}const _0x56ecaf=_0x58c235['getDocumentContext'](),_0x1d419c=_0x28fddb['data']['parse'](_0x56ecaf['content']),_0x46786e=_0x57663f(_0x385b37),_0xbce87f=_0x28fddb['data']['parse'](_0x46786e),_0x55bda0=_0x28fddb['data']['parse'](_0x46786e),_0x36a011=_0x28fddb['model']['createPositionAt'](_0xbce87f,0x0),_0x2c74b5=_0x57663f(_0xe0ac42),_0x4f508d={'anchor':_0x36a011,'markDeletions':!0x1},_0x31e6fe=_0x28fddb['plugins']['get'](DocumentCompare)['getDiff'](_0x46786e,_0x2c74b5,_0x4f508d)['getOperations']();if(!_0x31e6fe['length'])return null;_0x28fddb['model']['change'](_0x40e617=>{for(const _0x247f6c of _0x31e6fe)if('remove'==_0x247f6c['type']){const _0x59656f=_0x247f6c['sourcePosition'],_0xb9b32a=_0x247f6c['howMany'],_0x1581d3=new _0xa0ed63['_DetachOperation'](_0x59656f,_0xb9b32a);_0x40e617['batch']['addOperation'](_0x1581d3),_0x28fddb['model']['applyOperation'](_0x1581d3);}else'marker'!==_0x247f6c['type']&&(_0x247f6c['baseVersion']=null,_0x247f6c['isDocumentOperation']=!0x1,_0x40e617['batch']['addOperation'](_0x247f6c),_0x28fddb['model']['applyOperation'](_0x247f6c));});const _0x6c14cc=_0x4e0e21(_0x28fddb,_0x31e6fe,_0xbce87f);_0xdb9e3a(_0x28fddb['model'],_0x6c14cc);const _0x66b109=_0x6c14cc['getFirstRange']()['start']['path']['slice'](),_0x16e13d=_0x6c14cc['getFirstRange']()['end']['path']['slice'](),_0x5e434e=[];let _0x30311d=_0xbce87f,_0x12c686=_0x55bda0;for(let _0x4eefe6=0x0;_0x4eefe6<_0x16e13d['length'];_0x4eefe6++){const _0x3abaf2=_0x30311d['maxOffset']-_0x16e13d[_0x4eefe6];_0x5e434e[_0x4eefe6]=_0x12c686['maxOffset']-_0x3abaf2,_0x30311d=_0x30311d['getChildAtOffset'](_0x16e13d[_0x4eefe6]),_0x12c686=_0x12c686['getChildAtOffset'](_0x5e434e[_0x4eefe6]);}const _0x1df07b=_0x28fddb['model']['createRange'](_0x28fddb['model']['createPositionFromPath'](_0x55bda0,_0x66b109),_0x28fddb['model']['createPositionFromPath'](_0x55bda0,_0x5e434e)),_0x457c63=_0x55bda0['getChild'](0x0)['getAttribute'](_0x51f885),_0x2050b1=Array['from'](_0x1d419c['getChildren']())['find'](_0x5d555d=>_0x5d555d['getAttribute'](_0x51f885)==_0x457c63)['getPath'](),_0x406378=_0x1df07b['start']['path']['slice'](),_0x331863=_0x1df07b['end']['path']['slice']();_0x406378[0x0]=_0x2050b1[0x0]+_0x406378[0x0],_0x331863[0x0]=_0x2050b1[0x0]+_0x331863[0x0];let _0x167bdf=_0x28fddb['model']['createRange'](_0x28fddb['model']['createPositionFromPath'](_0x28fddb['model']['document']['getRoot'](),_0x406378),_0x28fddb['model']['createPositionFromPath'](_0x28fddb['model']['document']['getRoot'](),_0x331863));const _0x3af7d4=_0x28fddb['model']['document']['history']['getOperations'](_0x56ecaf['version']);for(const _0x484963 of _0x3af7d4)_0x167bdf=_0xa0ed63['ModelRange']['_createFromRanges'](_0x167bdf['getTransformedByOperation'](_0x484963));return{'range':_0x167bdf,'currentIndex':_0x2e2a9b};}['_integrateEditor'](_0x40be82){if(!_0x40be82['plugins']['has']('Undo'))return;const _0xbc08c=_0x40be82['commands']['get']('undo'),_0x74136e=_0x40be82['commands']['get']('redo');this['listenTo'](_0xbc08c,'revert',(_0x4a45a7,_0x3ed6e5,_0x114be2)=>{const _0x49b309=this['_batchToChanges']['get'](_0x3ed6e5);if(!_0x49b309)return;const _0x4c138e=this['activeConversation']['getInteraction'](_0x49b309['interactionId'])['getReply'](_0x49b309['replyId']);_0x49b309['indexes']['forEach'](_0x4a58b0=>_0x4c138e['setChangeGroupState'](_0x4a58b0,'pending')),this['_batchToChanges']['delete'](_0x3ed6e5),this['_batchToChanges']['set'](_0x114be2,_0x49b309);}),this['listenTo'](_0x74136e,'revert',(_0x11f3a8,_0x257e2e,_0x1df520)=>{const _0x2d3fb0=this['_batchToChanges']['get'](_0x257e2e);if(!_0x2d3fb0)return;const _0x52cb55=this['activeConversation']['getInteraction'](_0x2d3fb0['interactionId'])['getReply'](_0x2d3fb0['replyId']);_0x2d3fb0['indexes']['forEach'](_0x5bfc95=>_0x52cb55['setChangeGroupState'](_0x5bfc95,'accepted')),this['_batchToChanges']['delete'](_0x257e2e),this['_batchToChanges']['set'](_0x1df520,_0x2d3fb0);});}async['loadConversation'](_0x187e5e){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x5c6477)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x187e5e)['getConversation'](),await this['_startConversationSafely'](_0x187e5e),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x187e5e,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x2087a3){this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x187e5e}),this['_logError'](new _0xa0ed63['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x2087a3}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x8520c2=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0xa528a5=await _0x8520c2['getConversations']();return _0xa528a5['length']?_0xa528a5[0x0]['id']:'new';}catch(_0x505011){return this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0xa0ed63['uid']()}),this['_logError'](new _0xa0ed63['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x505011})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x58eab0){this['activeConversation']['id']===_0x58eab0&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](xt(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x38418e=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x38418e),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x35b9f3,attributes:_0x215748}){await this['_handleUIUserMessage']({'userMessage':_0x35b9f3,'attributes':_0x215748});}['getGroupId'](){const _0x5ccd01=this['context']['config']['get']('collaboration.channelId');if(!_0x5ccd01)throw new _0xa0ed63['CKEditorError']('ai-chat-missing-channel-id',this);return _0x5ccd01;}async['_startConversationSafely'](_0x39f3ed){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x39f3ed);}catch(_0x51608a){this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x39f3ed||_0xa0ed63['uid']()}),console['error'](_0x51608a),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x49de8d){let _0x35d9dd;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x49de8d||!this['activeConversation']?_0x35d9dd=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x35d9dd=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x4a2de4=this['getGroupId'](),_0x4445ca=_0x49de8d||_0xa0ed63['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x35d9dd,'conversationId':_0x4445ca,'group':_0x4a2de4,'getEditor':()=>ta(this['context']),'isFromHistory':!!_0x49de8d}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x1da523,_0x23f12c)=>{this['_aiChatUi']['createConversation'](_0x23f12c),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x49de8d||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x12a10a,_0x590cc6)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x590cc6['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x5265fe,_0x434602)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x434602);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x285cbf=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x285cbf);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x57b87b=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x57b87b);}),this['activeConversation']['on']('webSearchFinished',(_0x169a26,_0x179676)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x179676,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x5a8596,_0x248861)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x248861,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x1bbd0b,_0x1dbeab)=>{this['_aiChatUi']['removeFeedInteraction'](_0x1dbeab['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x2482b2,_0x3db9b1,_0xbcfd32)=>{this['updateConversationTitle'](_0x3db9b1,_0xbcfd32);}),this['activeConversation']['on']('replyCreated',(_0x214a95,_0x4297ec)=>{'text'===_0x4297ec['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x4297ec):this['_aiChatUi']['addFeedItemAISuggestion'](_0x4297ec);}),this['activeConversation']['on']('replyContentUpdated',async(_0x36eaca,_0x1f4555)=>{await this['_updateReplyContent']({'reply':_0x1f4555});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x42edb5,{reply:_0x30b484,index:_0x2094ec,state:_0x32e0ac})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x30b484['id'],'index':_0x2094ec,'state':_0x32e0ac}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x30b484['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x2094ec&&this['_aiChatBalloon']?.['setState'](_0x32e0ac);}),this['activeConversation']['on']('contextItemAdded',(_0x3528a0,_0x9f1dfb)=>{if(this['_aiChatUi']['addContextItem'](_0x9f1dfb['contextItem'],_0x9f1dfb['isLoading']),'selection'===_0x9f1dfb['contextItem']['type']){const _0xa37324=[...ta(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0xa37324,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x549f86,_0x458c10)=>{this['_aiChatUi']['removeContextItem'](_0x458c10['uiId']),'current-document'==_0x458c10['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x458c10['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x262c6f,_0x54b491)=>{this['_aiChatUi']['setContextItemLoading'](_0x54b491['contextItem']['uiId'],_0x54b491['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x310f33,_0x55de27)=>{this['_aiChatUi']['setConversationContext'](_0x55de27['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x2ca132,_0x52ef03)=>{this['_aiChatUi']['setAddContextOptions'](_0x52ef03['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x139eb4,_0x2e91e4)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x2e91e4['sourceId'],_0x2e91e4['source'],_0x2e91e4['resources'],_0x2e91e4['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x33fecc,_0x5698fa)=>{this['_aiChatUi']['updateResourceState'](_0x5698fa['sourceId'],_0x5698fa['resourceId'],_0x5698fa['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x3270c6,_0x31ce5c)=>{this['_aiChatUi']['updateCapabilities'](_0x31ce5c);}),this['activeConversation']['on']('modelSelected',async(_0x350015,_0x389266)=>{const _0x419bcf=(await this['_aiChatModels']['getAll']())['find'](_0x4071b6=>_0x4071b6['id']===_0x389266['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x419bcf,_0x389266['isDisabled']);}),this['activeConversation']['on']('error',(_0x101edb,{error:_0x41905f,interactionId:_0x59dccb,fileName:_0x418f12,url:_0x1e045a,sourceId:_0x5e8446,sourceLabel:_0x22344a})=>{const _0x516f0f=_0x59dccb?_0x59dccb+':'+_0xa0ed63['uid']():_0xa0ed63['uid']();_0x41905f['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':xt(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x516f0f}):_0x41905f['message']['startsWith']('ai-chat-conversation-init-failed')||_0x41905f['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x418f12),'id':_0x516f0f}):_0x41905f['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x1e045a),'id':_0x516f0f}):_0x41905f['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x516f0f}):_0x41905f['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x516f0f}):_0x41905f['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x5e8446&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x5e8446),this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x22344a||'source'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x516f0f}),this['_logError'](_0x41905f)):_0x41905f['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x516f0f}),this['_logError'](_0x41905f)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x516f0f}),this['_logError'](_0x41905f));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x49de8d||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x5ca27c,attributes:_0x393ac2}){if(!this['activeConversation'])throw new _0xa0ed63['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x37f1f9=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0x37f1f9);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x5ca27c,'attributes':_0x393ac2});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x402dcf){this['_aiChatUi']['setIsMaximized'](_0x402dcf);}['_logError'](_0x316f01){_0xa0ed63['logError'](_0x316f01['message']);}['_removeFromContext'](_0x205e04){this['activeConversation']?.['removeFromContext'](_0x205e04);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x5a8394){const [_0x1bb32d,_0x487374]=_0x5a8394['split'](':'),_0x8817b5=this['activeConversation']['getInteraction'](_0x1bb32d),_0x4bd3e8=_0x8817b5['getReply'](_0x487374);return{'interaction':_0x8817b5,'reply':_0x4bd3e8};}['_scrollToSuggestionRange'](_0x2a087f,_0x5e75fb=!0x1){const _0xe8d565=ta(this['context']),_0x559451={'target':_0xe8d565['editing']['view']['domConverter']['viewRangeToDom'](_0xe8d565['editing']['mapper']['toViewRange'](_0x2a087f)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x5e75fb};_0x5e75fb&&(_0x559451['alignToTop']=!0x0),_0xa0ed63['scrollViewportToShowTarget'](_0x559451);}['updateConversationTitle'](_0x4aecf4,_0x206b64=!0x1){this['_aiChatUi']['setConversationTitle'](_0x4aecf4||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x206b64);}async['_updateReplyContent']({reply:_0x106f83,renderingStrategy:_0x4be299}){const {id:_0x2813a9,interactionId:_0x40f72e,isDone:_0x939baa,type:_0x31bf02,parsedContent:_0x440e81}=_0x106f83,_0x30c792=_0x40f72e+':'+_0x2813a9;if('modification'===_0x31bf02){const _0x2d1d2c=_0x106f83['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x30c792,'parts':_0x2d1d2c,'renderingStrategy':_0x4be299,'isDone':_0x939baa});}else'text'===_0x31bf02&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x30c792,'parsedContent':_0x440e81,'renderingStrategy':_0x4be299,'isDone':_0x939baa});_0x939baa&&_0x106f83['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x30c792,_0x106f83['sources']);}async['_stopLastInteraction'](){const _0x587ae8=this['activeConversation']?.['lastInteraction'];_0x587ae8&&(_0x587ae8['stop'](),this['_aiChatUi']['stopInteraction'](_0x587ae8));}async['_flushLastInteractionUI'](){const _0x17edbc=this['activeConversation']?.['lastInteraction'];if(_0x17edbc){for await(const _0x30db41 of _0x17edbc['replies'])await this['_updateReplyContent']({'reply':_0x30db41,'renderingStrategy':'static'});}}['_updateRatings'](_0x1fa1c7){const _0x1ec08c={'positiveCount':_0x1fa1c7['changeGroups']['filter'](_0x6ec9aa=>'accepted'===_0x6ec9aa['state'])['length'],'totalCount':_0x1fa1c7['changeGroups']['length'],'modificationId':_0x1fa1c7['id']},_0x31f696=this['activeConversation']['getInteraction'](_0x1fa1c7['interactionId'])['messageId'];_0x31f696&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x31f696,_0x1ec08c);}['_registerToolDataCallback'](_0x1e7cf4){let _0x10a391=null,_0x41e635=null;this['on']('toolDataReceived',(_0x35d482,_0x1e0a4a,_0x2b6355)=>{_0x2b6355['id']!==_0x10a391&&(_0x10a391=_0x2b6355['id'],_0x41e635=this['_getAIChatInteractionAPI'](_0x2b6355)),_0x1e7cf4(_0x1e0a4a,_0x41e635);});}['_getAIChatInteractionAPI'](_0x1d9742){const _0xdf4a9e=this['_aiChatUi'],_0x2e47ad=()=>{_0x1d9742['resetWebSearchState'](),_0x1d9742['resetReasoningState'](),_0xdf4a9e['clearLoadingMessage']();},_0x1895bb=()=>{_0x1d9742['currentReply']&&(_0x1d9742['currentReply']['done'](),_0x1d9742['currentReply']=void 0x0);};return{'insertTextReply':(_0x7a0f14,_0x1c7a19)=>{_0x1895bb(),_0x2e47ad();const _0x13cbef=_0x1d9742['currentReply']=_0x1d9742['createReply']({'type':'text','interactionId':_0x1d9742['id'],'content':_0x7a0f14,'id':_0x1c7a19||_0xa0ed63['uid']()});return _0x1895bb(),_0x13cbef;},'insertCustomElement':async(_0x51cf1c,_0x223315)=>(_0x1895bb(),_0x2e47ad(),_0xdf4a9e['addFeedItemCustomElement'](_0x51cf1c,_0x223315||_0xa0ed63['uid']())),'setLoadingMessage':_0x353614=>{_0xdf4a9e['setLoadingMessage'](_0x353614);},'clearLoadingMessage':()=>{_0xdf4a9e['clearLoadingMessage']();}};}}const _0x1e2ffa='ai-selection';class AIEditing extends _0xa0ed63['ContextPlugin']{constructor(_0x2a969e){super(_0x2a969e),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_displayedFakeSelectionId']=null;['_displayedFakeSelectionLocked']=!0x1;['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x3acb1e=ta(this['context']),_0x3cfcd1=_0x3acb1e['plugins']['has']('RealTimeCollaborationClient')&&_0x3acb1e['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x3cfcd1||_0xa0ed63['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x531763=ta(this['context']),_0x52a77b=_0x531763['model'],_0x16c637=_0x531763['data']['toView'](_0x52a77b['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x1601e1=new _0xa0ed63['ViewDowncastWriter'](_0x531763['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x16c637,_0x1601e1);let _0x947a5b=await this['_getDocumentDataStringFromView'](_0x16c637);const _0x15c972=this['_getMarkersInDocumentOrder'](),_0x1d8e2c=[];for(const _0x5ee0cd of _0x15c972){const _0x1a0133='<'+_0x5ee0cd['name']+':start></'+_0x5ee0cd['name']+':start>',_0x537329=_0x947a5b['indexOf'](_0x1a0133);_0x947a5b=_0x947a5b['substring'](0x0,_0x537329)+_0x947a5b['substring'](_0x537329+_0x1a0133['length']);const _0x184f2f='<'+_0x5ee0cd['name']+':end></'+_0x5ee0cd['name']+':end>',_0x36e2a6=_0x947a5b['indexOf'](_0x184f2f);_0x947a5b=_0x947a5b['substring'](0x0,_0x36e2a6)+_0x947a5b['substring'](_0x36e2a6+_0x184f2f['length']),_0x1d8e2c['push']({'markerName':_0x5ee0cd['name'],'start':_0x537329,'end':_0x36e2a6,'htmlFragment':_0x947a5b['substring'](_0x537329,_0x36e2a6)});}return{'content':_0x947a5b,'version':_0x531763['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x1d8e2c};}async['afterInit'](){this['context']instanceof _0xa0ed63['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x850c3a,_0x5ecdeb)=>{_0x5ecdeb['on']('ready',()=>{this['_integrateEditor'](_0x5ecdeb);});});}['_setOutputDataProcessor'](_0xbe2e6b){this['_outputDataProcessor']=_0xbe2e6b;}async['_getDocumentDataStringFromView'](_0x2a0722){let _0x28996a;const _0x35dc1f=ta(this['context']);if(this['_outputDataProcessor']){const _0x5978a5=_0x35dc1f['data']['processor']['domConverter']['viewToDom'](_0x2a0722),_0x2e6304=await this['_outputDataProcessor'](_0x5978a5);_0x28996a=_0x35dc1f['data']['processor']['htmlWriter']['getHtml'](_0x2e6304);}else _0x28996a=_0x35dc1f['data']['processor']['toData'](_0x2a0722);return _0x28996a;}['_integrateEditor'](_0x5364a6){_0x5364a6['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1e2ffa,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x5364a6['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x1e2ffa,'view':(_0x3c629b,{writer:_0x2f05dc,options:_0xac0777})=>_0xac0777['convertAiChatSelectionMarker']?_0x2f05dc['createUIElement'](_0x3c629b['markerName']+':'+(_0x3c629b['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x149178,_0x54ffa9,_0x5aae24=!0x1,_0x5ef7aa=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x5ef7aa)return!0x1;const _0x17203b=ta(this['context'])['model'];return _0x17203b['change'](_0x39bb32=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x54ffa9,this['_displayedFakeSelectionLocked']=_0x5aae24;let _0xc76117=0x0;for(let _0x33c66d of _0x149178){const _0x37f7b3=_0x1e2ffa+':'+_0xc76117;if(_0x33c66d['start']['isAtEnd']){const _0x55153e=_0x33c66d['start']['getLastMatchingPosition'](({item:_0x347381})=>!_0x17203b['schema']['isContent'](_0x347381),{'boundaries':_0x33c66d});_0x33c66d=_0x39bb32['createRange'](_0x55153e,_0x33c66d['end']);}_0x39bb32['addMarker'](_0x37f7b3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x33c66d}),_0xc76117++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x103c24){if(this['_displayedFakeSelectionId']!=_0x103c24)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x8dc796=ta(this['context']),_0x4d551b=_0x8dc796['model']['markers']['getMarkersGroup'](_0x1e2ffa);return _0x8dc796['model']['change'](_0x3dda13=>{for(const _0x601fb8 of _0x4d551b)_0x3dda13['removeMarker'](_0x601fb8);}),!0x0;}async['modelToDataWithIds'](_0x1e09b0){const _0x555b0a=ta(this['context']),_0x34c15d=_0x555b0a['data']['toView'](_0x1e09b0),_0x8c5540=new _0xa0ed63['ViewDowncastWriter'](_0x555b0a['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x34c15d,_0x8c5540),this['_getDocumentDataStringFromView'](_0x34c15d);}['_setDataIdsOnChildren'](_0x42b260,_0x1c8d3e){let _0x4c4229=!0x1;const _0x35f4ca=new Set();for(const _0x235ec4 of _0x42b260['getChildren']()){const _0x4a521b=_0x235ec4['is']('emptyElement')||_0x235ec4['is']('containerElement');if(!_0x235ec4['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x235ec4,_0x1c8d3e)||_0x4a521b)&&(_0x1c8d3e['setAttribute']('data-id',this['_nextDataId'](_0x35f4ca),_0x235ec4),_0x4c4229=!0x0);}return _0x4c4229;}['_nextDataId'](_0x58aad3){let _0x5beaa6;do{_0x5beaa6='';for(let _0xee61e=0x0;_0xee61e<0x4;_0xee61e++)_0x5beaa6+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x58aad3['has'](_0x5beaa6));return _0x58aad3['add'](_0x5beaa6),_0x5beaa6;}['getSelectionText'](){const {model:_0xc936d0}=ta(this['context']),_0x4b6921=_0xc936d0['document']['selection'],_0x270ac3=[];for(const _0x1bcf71 of _0x4b6921['getRanges']())for(const _0x51483c of _0x1bcf71['getItems']())_0x51483c['is']('$textProxy')?_0x270ac3['push'](_0x51483c['data']):_0x51483c['is']('element')&&_0x270ac3['length']>0x0&&'\x20'!==_0x270ac3[_0x270ac3['length']-0x1]&&_0x270ac3['push']('\x20');return _0x270ac3['length']?'\x22'+_0x270ac3['join']('')['trim']()+'\x22':xt(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x9fc822=ta(this['context'])['model'];return Array['from'](_0x9fc822['markers']['getMarkersGroup'](_0x1e2ffa))['sort']((_0x2ade3f,_0x3ec05f)=>_0x2ade3f['getStart']()['isBefore'](_0x3ec05f['getStart']())?-0x1:_0x2ade3f['getStart']()['isAfter'](_0x3ec05f['getStart']())?0x1:0x0);}}const _0x298a67=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x353c0f=[..._0x298a67,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0xd282ec,_0x32a8bb='undefined'==typeof document?void 0x0:document,_0x38453d=!!_0x32a8bb&&'content'in _0x32a8bb['createElement']('template'),_0x2b32bc=!!_0x32a8bb&&_0x32a8bb['createRange']&&'createContextualFragment'in _0x32a8bb['createRange']();function _0xfad67f(_0x469eae){return _0x469eae=_0x469eae['trim'](),_0x38453d?function(_0x3c94a4){var _0x5734c7=_0x32a8bb['createElement']('template');return _0x5734c7['innerHTML']=_0x3c94a4,_0x5734c7['content']['childNodes'][0x0];}(_0x469eae):_0x2b32bc?function(_0xfb6814){return _0xd282ec||(_0xd282ec=_0x32a8bb['createRange']())['selectNode'](_0x32a8bb['body']),_0xd282ec['createContextualFragment'](_0xfb6814)['childNodes'][0x0];}(_0x469eae):function(_0x5241d9){var _0x39f0b2=_0x32a8bb['createElement']('body');return _0x39f0b2['innerHTML']=_0x5241d9,_0x39f0b2['childNodes'][0x0];}(_0x469eae);}function _0x553304(_0x1e241a,_0x37cb3f){var _0x509aee,_0x371c3d,_0x2d6cf0=_0x1e241a['nodeName'],_0x58666e=_0x37cb3f['nodeName'];return _0x2d6cf0===_0x58666e||(_0x509aee=_0x2d6cf0['charCodeAt'](0x0),_0x371c3d=_0x58666e['charCodeAt'](0x0),_0x509aee<=0x5a&&_0x371c3d>=0x61?_0x2d6cf0===_0x58666e['toUpperCase']():_0x371c3d<=0x5a&&_0x509aee>=0x61&&_0x58666e===_0x2d6cf0['toUpperCase']());}function _0xcf4a3f(_0x33ab87,_0x43b059,_0x5d0abc){_0x33ab87[_0x5d0abc]!==_0x43b059[_0x5d0abc]&&(_0x33ab87[_0x5d0abc]=_0x43b059[_0x5d0abc],_0x33ab87[_0x5d0abc]?_0x33ab87['setAttribute'](_0x5d0abc,''):_0x33ab87['removeAttribute'](_0x5d0abc));}var _0x3cc948={'OPTION':function(_0x159b63,_0x16f4f5){var _0x536d04=_0x159b63['parentNode'];if(_0x536d04){var _0x1754f9=_0x536d04['nodeName']['toUpperCase']();'OPTGROUP'===_0x1754f9&&(_0x1754f9=(_0x536d04=_0x536d04['parentNode'])&&_0x536d04['nodeName']['toUpperCase']()),'SELECT'!==_0x1754f9||_0x536d04['hasAttribute']('multiple')||(_0x159b63['hasAttribute']('selected')&&!_0x16f4f5['selected']&&(_0x159b63['setAttribute']('selected','selected'),_0x159b63['removeAttribute']('selected')),_0x536d04['selectedIndex']=-0x1);}_0xcf4a3f(_0x159b63,_0x16f4f5,'selected');},'INPUT':function(_0x5a5cbd,_0x1c0dc0){_0xcf4a3f(_0x5a5cbd,_0x1c0dc0,'checked'),_0xcf4a3f(_0x5a5cbd,_0x1c0dc0,'disabled'),_0x5a5cbd['value']!==_0x1c0dc0['value']&&(_0x5a5cbd['value']=_0x1c0dc0['value']),_0x1c0dc0['hasAttribute']('value')||_0x5a5cbd['removeAttribute']('value');},'TEXTAREA':function(_0x4e3370,_0x364724){var _0x501057=_0x364724['value'];_0x4e3370['value']!==_0x501057&&(_0x4e3370['value']=_0x501057);var _0xed65f9=_0x4e3370['firstChild'];if(_0xed65f9){var _0x295e4f=_0xed65f9['nodeValue'];if(_0x295e4f==_0x501057||!_0x501057&&_0x295e4f==_0x4e3370['placeholder'])return;_0xed65f9['nodeValue']=_0x501057;}},'SELECT':function(_0xe4af3b,_0x3d886c){if(!_0x3d886c['hasAttribute']('multiple')){for(var _0x10a631,_0x2e280c,_0x39f1f1=-0x1,_0x59ac35=0x0,_0x3a8b02=_0xe4af3b['firstChild'];_0x3a8b02;)if('OPTGROUP'===(_0x2e280c=_0x3a8b02['nodeName']&&_0x3a8b02['nodeName']['toUpperCase']()))(_0x3a8b02=(_0x10a631=_0x3a8b02)['firstChild'])||(_0x3a8b02=_0x10a631['nextSibling'],_0x10a631=null);else{if('OPTION'===_0x2e280c){if(_0x3a8b02['hasAttribute']('selected')){_0x39f1f1=_0x59ac35;break;}_0x59ac35++;}!(_0x3a8b02=_0x3a8b02['nextSibling'])&&_0x10a631&&(_0x3a8b02=_0x10a631['nextSibling'],_0x10a631=null);}_0xe4af3b['selectedIndex']=_0x39f1f1;}}};function _0x40bae4(){}function _0xf2d24a(_0x548dfa){if(_0x548dfa)return _0x548dfa['getAttribute']&&_0x548dfa['getAttribute']('id')||_0x548dfa['id'];}var _0x3f0016=function(_0x39acd7){return function(_0x1cf41b,_0x268a30,_0x27f43c){if(_0x27f43c||(_0x27f43c={}),'string'==typeof _0x268a30){if('#document'===_0x1cf41b['nodeName']||'HTML'===_0x1cf41b['nodeName']||'BODY'===_0x1cf41b['nodeName']){var _0xea1f46=_0x268a30;(_0x268a30=_0x32a8bb['createElement']('html'))['innerHTML']=_0xea1f46;}else _0x268a30=_0xfad67f(_0x268a30);}else 0xb===_0x268a30['nodeType']&&(_0x268a30=_0x268a30['firstElementChild']);var _0x18f8da=_0x27f43c['getNodeKey']||_0xf2d24a,_0x201aa5=_0x27f43c['onBeforeNodeAdded']||_0x40bae4,_0xb146c0=_0x27f43c['onNodeAdded']||_0x40bae4,_0x190c18=_0x27f43c['onBeforeElUpdated']||_0x40bae4,_0x372a8b=_0x27f43c['onElUpdated']||_0x40bae4,_0x194c3b=_0x27f43c['onBeforeNodeDiscarded']||_0x40bae4,_0x5d5260=_0x27f43c['onNodeDiscarded']||_0x40bae4,_0x37bf76=_0x27f43c['onBeforeElChildrenUpdated']||_0x40bae4,_0x4955a9=_0x27f43c['skipFromChildren']||_0x40bae4,_0x561efb=_0x27f43c['addChild']||function(_0x4b5a19,_0x2ed514){return _0x4b5a19['appendChild'](_0x2ed514);},_0x18e136=!0x0===_0x27f43c['childrenOnly'],_0x320926=Object['create'](null),_0x597cf8=[];function _0x58b12d(_0x18c5e8){_0x597cf8['push'](_0x18c5e8);}function _0xd8b67c(_0x530f4b,_0x3e956b){if(0x1===_0x530f4b['nodeType'])for(var _0x155572=_0x530f4b['firstChild'];_0x155572;){var _0x11d20c=void 0x0;_0x3e956b&&(_0x11d20c=_0x18f8da(_0x155572))?_0x58b12d(_0x11d20c):(_0x5d5260(_0x155572),_0x155572['firstChild']&&_0xd8b67c(_0x155572,_0x3e956b)),_0x155572=_0x155572['nextSibling'];}}function _0x5d18f4(_0x6a4d9,_0xa05d79,_0x55867e){!0x1!==_0x194c3b(_0x6a4d9)&&(_0xa05d79&&_0xa05d79['removeChild'](_0x6a4d9),_0x5d5260(_0x6a4d9),_0xd8b67c(_0x6a4d9,_0x55867e));}function _0x211c6d(_0x40a938){if(0x1===_0x40a938['nodeType']||0xb===_0x40a938['nodeType'])for(var _0x443639=_0x40a938['firstChild'];_0x443639;){var _0x37f2ea=_0x18f8da(_0x443639);_0x37f2ea&&(_0x320926[_0x37f2ea]=_0x443639),_0x211c6d(_0x443639),_0x443639=_0x443639['nextSibling'];}}function _0x1e5f4e(_0xd1195e){_0xb146c0(_0xd1195e);for(var _0x3045b4=_0xd1195e['firstChild'];_0x3045b4;){var _0x187919=_0x3045b4['nextSibling'],_0x21452f=_0x18f8da(_0x3045b4);if(_0x21452f){var _0xc06f81=_0x320926[_0x21452f];_0xc06f81&&_0x553304(_0x3045b4,_0xc06f81)?(_0x3045b4['parentNode']['replaceChild'](_0xc06f81,_0x3045b4),_0x200d09(_0xc06f81,_0x3045b4)):_0x1e5f4e(_0x3045b4);}else _0x1e5f4e(_0x3045b4);_0x3045b4=_0x187919;}}function _0x200d09(_0x3c59b4,_0x40ced3,_0x3575bc){var _0x46747d=_0x18f8da(_0x40ced3);if(_0x46747d&&delete _0x320926[_0x46747d],!_0x3575bc){var _0x189e76=_0x190c18(_0x3c59b4,_0x40ced3);if(!0x1===_0x189e76)return;if(_0x189e76 instanceof HTMLElement&&_0x211c6d(_0x3c59b4=_0x189e76),_0x39acd7(_0x3c59b4,_0x40ced3),_0x372a8b(_0x3c59b4),!0x1===_0x37bf76(_0x3c59b4,_0x40ced3))return;}'TEXTAREA'!==_0x3c59b4['nodeName']?function(_0x1fd101,_0xb0290){var _0x1a9584,_0x20bc97,_0x2a7d2,_0x44191e,_0x596cd3,_0x3973cd=_0x4955a9(_0x1fd101,_0xb0290),_0x21e7e0=_0xb0290['firstChild'],_0x30bfb0=_0x1fd101['firstChild'];t:for(;_0x21e7e0;){for(_0x44191e=_0x21e7e0['nextSibling'],_0x1a9584=_0x18f8da(_0x21e7e0);!_0x3973cd&&_0x30bfb0;){if(_0x2a7d2=_0x30bfb0['nextSibling'],_0x21e7e0['isSameNode']&&_0x21e7e0['isSameNode'](_0x30bfb0)){_0x21e7e0=_0x44191e,_0x30bfb0=_0x2a7d2;continue t;}_0x20bc97=_0x18f8da(_0x30bfb0);var _0x22af5d=_0x30bfb0['nodeType'],_0xf69bcf=void 0x0;if(_0x22af5d===_0x21e7e0['nodeType']&&(0x1===_0x22af5d?(_0x1a9584?_0x1a9584!==_0x20bc97&&((_0x596cd3=_0x320926[_0x1a9584])?_0x2a7d2===_0x596cd3?_0xf69bcf=!0x1:(_0x1fd101['insertBefore'](_0x596cd3,_0x30bfb0),_0x20bc97?_0x58b12d(_0x20bc97):_0x5d18f4(_0x30bfb0,_0x1fd101,!0x0),_0x20bc97=_0x18f8da(_0x30bfb0=_0x596cd3)):_0xf69bcf=!0x1):_0x20bc97&&(_0xf69bcf=!0x1),(_0xf69bcf=!0x1!==_0xf69bcf&&_0x553304(_0x30bfb0,_0x21e7e0))&&_0x200d09(_0x30bfb0,_0x21e7e0)):0x3!==_0x22af5d&&0x8!=_0x22af5d||(_0xf69bcf=!0x0,_0x30bfb0['nodeValue']!==_0x21e7e0['nodeValue']&&(_0x30bfb0['nodeValue']=_0x21e7e0['nodeValue']))),_0xf69bcf){_0x21e7e0=_0x44191e,_0x30bfb0=_0x2a7d2;continue t;}_0x20bc97?_0x58b12d(_0x20bc97):_0x5d18f4(_0x30bfb0,_0x1fd101,!0x0),_0x30bfb0=_0x2a7d2;}if(_0x1a9584&&(_0x596cd3=_0x320926[_0x1a9584])&&_0x553304(_0x596cd3,_0x21e7e0))_0x3973cd||_0x561efb(_0x1fd101,_0x596cd3),_0x200d09(_0x596cd3,_0x21e7e0);else{var _0x34dd82=_0x201aa5(_0x21e7e0);!0x1!==_0x34dd82&&(_0x34dd82&&(_0x21e7e0=_0x34dd82),_0x21e7e0['actualize']&&(_0x21e7e0=_0x21e7e0['actualize'](_0x1fd101['ownerDocument']||_0x32a8bb)),_0x561efb(_0x1fd101,_0x21e7e0),_0x1e5f4e(_0x21e7e0));}_0x21e7e0=_0x44191e,_0x30bfb0=_0x2a7d2;}!function(_0x1dede0,_0x3aa339,_0x51a6f5){for(;_0x3aa339;){var _0x398b0d=_0x3aa339['nextSibling'];(_0x51a6f5=_0x18f8da(_0x3aa339))?_0x58b12d(_0x51a6f5):_0x5d18f4(_0x3aa339,_0x1dede0,!0x0),_0x3aa339=_0x398b0d;}}(_0x1fd101,_0x30bfb0,_0x20bc97);var _0x31fdc0=_0x3cc948[_0x1fd101['nodeName']];_0x31fdc0&&_0x31fdc0(_0x1fd101,_0xb0290);}(_0x3c59b4,_0x40ced3):_0x3cc948['TEXTAREA'](_0x3c59b4,_0x40ced3);}_0x211c6d(_0x1cf41b);var _0x240ab9=_0x1cf41b,_0x6b76d0=_0x240ab9['nodeType'],_0xa2ae26=_0x268a30['nodeType'];if(!_0x18e136){if(0x1===_0x6b76d0)0x1===_0xa2ae26?_0x553304(_0x1cf41b,_0x268a30)||(_0x5d5260(_0x1cf41b),_0x240ab9=function(_0x299e6f,_0x5b15a9){for(var _0x241e74=_0x299e6f['firstChild'];_0x241e74;){var _0x13c464=_0x241e74['nextSibling'];_0x5b15a9['appendChild'](_0x241e74),_0x241e74=_0x13c464;}return _0x5b15a9;}(_0x1cf41b,function(_0x27a1cb,_0x25c909){return _0x25c909&&'http://www.w3.org/1999/xhtml'!==_0x25c909?_0x32a8bb['createElementNS'](_0x25c909,_0x27a1cb):_0x32a8bb['createElement'](_0x27a1cb);}(_0x268a30['nodeName'],_0x268a30['namespaceURI']))):_0x240ab9=_0x268a30;else{if(0x3===_0x6b76d0||0x8===_0x6b76d0){if(_0xa2ae26===_0x6b76d0)return _0x240ab9['nodeValue']!==_0x268a30['nodeValue']&&(_0x240ab9['nodeValue']=_0x268a30['nodeValue']),_0x240ab9;_0x240ab9=_0x268a30;}}}if(_0x240ab9===_0x268a30)_0x5d5260(_0x1cf41b);else{if(_0x268a30['isSameNode']&&_0x268a30['isSameNode'](_0x240ab9))return;if(_0x200d09(_0x240ab9,_0x268a30,_0x18e136),_0x597cf8)for(var _0x44a52f=0x0,_0x1e843b=_0x597cf8['length'];_0x44a52f<_0x1e843b;_0x44a52f++){var _0x2b8933=_0x320926[_0x597cf8[_0x44a52f]];_0x2b8933&&_0x5d18f4(_0x2b8933,_0x2b8933['parentNode'],!0x1);}}return!_0x18e136&&_0x240ab9!==_0x1cf41b&&_0x1cf41b['parentNode']&&(_0x240ab9['actualize']&&(_0x240ab9=_0x240ab9['actualize'](_0x1cf41b['ownerDocument']||_0x32a8bb)),_0x1cf41b['parentNode']['replaceChild'](_0x240ab9,_0x1cf41b)),_0x240ab9;};}(function(_0x4089c6,_0x954538){var _0x4440dc,_0x20fdc4,_0x52fcbc,_0x1a3303,_0x21a057=_0x954538['attributes'];if(0xb!==_0x954538['nodeType']&&0xb!==_0x4089c6['nodeType']){for(var _0x4f0187=_0x21a057['length']-0x1;_0x4f0187>=0x0;_0x4f0187--)_0x20fdc4=(_0x4440dc=_0x21a057[_0x4f0187])['name'],_0x52fcbc=_0x4440dc['namespaceURI'],_0x1a3303=_0x4440dc['value'],_0x52fcbc?(_0x20fdc4=_0x4440dc['localName']||_0x20fdc4,_0x4089c6['getAttributeNS'](_0x52fcbc,_0x20fdc4)!==_0x1a3303&&('xmlns'===_0x4440dc['prefix']&&(_0x20fdc4=_0x4440dc['name']),_0x4089c6['setAttributeNS'](_0x52fcbc,_0x20fdc4,_0x1a3303))):_0x4089c6['getAttribute'](_0x20fdc4)!==_0x1a3303&&_0x4089c6['setAttribute'](_0x20fdc4,_0x1a3303);for(var _0x5585c4=_0x4089c6['attributes'],_0x5d89d8=_0x5585c4['length']-0x1;_0x5d89d8>=0x0;_0x5d89d8--)_0x20fdc4=(_0x4440dc=_0x5585c4[_0x5d89d8])['name'],(_0x52fcbc=_0x4440dc['namespaceURI'])?(_0x20fdc4=_0x4440dc['localName']||_0x20fdc4,_0x954538['hasAttributeNS'](_0x52fcbc,_0x20fdc4)||_0x4089c6['removeAttributeNS'](_0x52fcbc,_0x20fdc4)):_0x954538['hasAttribute'](_0x20fdc4)||_0x4089c6['removeAttribute'](_0x20fdc4);}});class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x50d485){this['options']={'delay':_0x50d485['delay']??0x14,'textNodeStyle':_0x50d485['textNodeStyle'],'onStreamUpdate':_0x50d485['onStreamUpdate']||(()=>{})};}async['stream']({document:_0xcc12ab,targetElement:_0x48c790,abortSignal:_0x19c14b}){this['isStreaming']&&this['stop'](),_0x19c14b?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x20fdd5(_0xcc12ab,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x26437f=0x0;_0x26437f<this['currentIndex'];_0x26437f++)this['nodesList'][_0x26437f]['shouldBeStreamed']=!0x0;do{const _0x5d508f=Date['now'](),_0x22052b=this['nodesList'][this['currentIndex']],_0x2767da=_0x5d508f-this['lastUpdateTime'];if(_0x22052b){_0x22052b['shouldBeStreamed']=!0x0;let _0x1bd16e=_0x22052b['parent'];for(;_0x1bd16e;)_0x1bd16e['shouldBeStreamed']=!0x0,_0x1bd16e=_0x1bd16e['parent'];}if(_0x2767da<this['options']['delay'])try{const {promise:_0x8bed04,abortController:_0x11a914}=_0x2ea162(this['options']['delay']-_0x2767da);this['timeoutAbortController']=_0x11a914,await _0x8bed04;}catch(_0x2165ef){return;}_0x3f0016(_0x48c790,'<'+_0x48c790['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x48c790['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),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:_0x472342}){Array['from'](_0x472342['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x1202ae=>{_0x1202ae['replaceWith'](_0x1202ae['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x241174){let _0x3d7c8e='';if(function(_0x5dd81f){return _0x1cc023(_0x5dd81f);}(_0x241174)){for(const _0x589e19 of _0x241174['children'])_0x3d7c8e+=this['renderNode'](_0x589e19);}else{if(_0x1bf096(_0x241174)){if(!_0x241174['shouldBeStreamed'])return'';const _0x3099fc=_0x241174,_0x3bc86d=Object['entries'](_0x3099fc['attribs'])['map'](([_0x445775,_0xfede60])=>_0x445775+'=\x22'+_0xfede60+'\x22')['join']('\x20');_0x3d7c8e+='<'+_0x3099fc['tagName']+(_0x3bc86d?'\x20'+_0x3bc86d:'')+'>';for(const _0x27c7bf of _0xd766f5(_0x5efc62=_0x3099fc)?_0x5efc62['children']:[])_0x3d7c8e+=this['renderNode'](_0x27c7bf);_0x3d7c8e+='</'+_0x3099fc['tagName']+'>';}else{if(!_0x18501c(_0x241174))return'';if(!_0x241174['shouldBeStreamed'])return'';!function(_0x4d5dd8){if(!_0x4d5dd8['parent']||!_0x1bf096(_0x4d5dd8['parent']))return!0x1;if(!_0x20e454['includes'](_0x4d5dd8['parent']['tagName']))return!0x1;return!_0x5cfc64(_0x4d5dd8)['match'](/^\s*[<>]\s*$/);}(_0x241174)?_0x3d7c8e+=_0x23fffa(_0x241174):_0x3d7c8e+=_0x23fffa(new _0x307ea5('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x241174]));}}var _0x5efc62;return _0x3d7c8e;}['getParsedDocumentNodeList'](){const _0x453497=[];return function(_0x422fb0,_0x33526d){const _0x23c98c=_0x59c6b3=>{if(_0x33526d(_0x59c6b3),_0x59c6b3 instanceof NodeWithChildren)for(let _0x117def=0x0;_0x117def<_0x59c6b3['children']['length'];_0x117def++){const _0xf921c3=_0x59c6b3['children'][_0x117def];_0x23c98c(_0xf921c3);}};for(let _0x205a41=0x0;_0x205a41<_0x422fb0['children']['length'];_0x205a41++)_0x23c98c(_0x422fb0['children'][_0x205a41]);}(this['document'],_0x59376a=>{if(_0x18501c(_0x59376a)){const _0x553bae=this['splitTextNodeIntoWordNodes'](_0x59376a);_0x553bae['length']&&_0x453497['push'](..._0x553bae);}_0x59376a['isWordSplitSource']||_0x59376a['isWordSplitResult']||_0x453497['push'](_0x59376a);}),_0x453497;}['splitTextNodeIntoWordNodes'](_0x2c65da){if(_0x2c65da['isWordSplitSource']||_0x2c65da['isWordSplitResult'])return[];const _0x48941b=_0x5cfc64(_0x2c65da)['match'](/(?:\s*\S+\s*)/g),_0x378831=[];if(_0x48941b&&_0x48941b['length']>0x1){for(const _0x196fa2 of _0x48941b){const _0x554596=new _0x58a46a(_0x196fa2);_0x554596['isWordSplitResult']=!0x0,_0x30718c(_0x2c65da,_0x554596),_0x378831['push'](_0x554596);}_0x2c65da['isWordSplitSource']=!0x0,_0x3b8b10(_0x2c65da);}return _0x378831;}}const _0x20e454=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function _0x18501c(_0x517ca8){return _0x248bec(_0x517ca8);}function _0x1bf096(_0x1b0326){return _0x214bcd(_0x1b0326);}function _0x2ea162(_0x4c6e17){const _0x138f70=new AbortController();return{'promise':new Promise((_0x2eac3c,_0x4f83b9)=>{const _0x3f55e5=setTimeout(_0x2eac3c,_0x4c6e17);_0x138f70['signal']['addEventListener']('abort',()=>{clearTimeout(_0x3f55e5),_0x4f83b9();});}),'abortController':_0x138f70};}class AIChatFeedItemView extends _0xa0ed63['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x3df61f){super();const _0x5e50c0=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['options']=_0x3df61f,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x5e50c0['if']('isDone','ck-ai-chat__feed__item_done'),_0x5e50c0['if']('isVisible','ck-hidden',_0x4e15bf=>!_0x4e15bf),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){this['htmlStreamer']['cleanUpAnimations']({'targetElement':this['element']}),this['element']['querySelectorAll']('[data-id]')['forEach'](_0x228395=>{_0x228395['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x501a2c,_0x55cdfa,_0x1462ed){await this['htmlStreamer']['stream']({'document':_0x501a2c,'targetElement':_0x55cdfa,'abortSignal':_0x1462ed});}}class AISuggestionHeaderView extends _0xa0ed63['View']{['showChangesToggleView'];constructor(_0x1224b3,_0x57dddb){super(_0x1224b3),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x7b52f3(_0x1224b3),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':xt(_0x1224b3,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x57dddb['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x12ddf1=>_0x12ddf1?_0xa0ed63['IconShowChangesOn']:_0xa0ed63['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x41ca0=new _0xa0ed63['IconView']();_0x41ca0['content']=_0xa0ed63['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x57dddb['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x41ca0,{'tag':'span','children':[xt(_0x1224b3,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x7b52f3 extends _0xa0ed63['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x466844={'accepted':_0xa0ed63['IconBoxWithCheck'],'rejected':_0xa0ed63['IconBoxWithCross'],'outdated':_0xa0ed63['IconBoxWithCross']};class AISuggestionContentPartStateView extends _0xa0ed63['View']{['stateIconView'];constructor(_0x462065){super(_0x462065);const _0x1caaf0=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x1caaf0['to']('state',_0x126179=>'ck-ai-suggestion__content-part-state_'+_0x126179),_0x1caaf0['if']('isVisible','ck-hidden',_0x3ac16c=>!_0x3ac16c)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x1caaf0['to']('state',_0x108b44=>{switch(_0x108b44){case'accepted':return xt(_0x462065,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return xt(_0x462065,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return xt(_0x462065,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0xeba92e){this['state']=_0xeba92e;}}class StateIconView extends _0xa0ed63['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x466844[this['state']],this['on']('change:state',()=>{this['content']=_0x466844[this['state']];});}}class AISuggestionContentPartToolbarView extends _0xa0ed63['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x5ea6d5,_0x39187f,_0x2f4421){super(_0x5ea6d5);const _0x2d560c=Boolean(_0x2f4421);this['set']('isEnabled',!_0x2d560c),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x96f822=[];if(_0x2d560c){const _0x561682=new _0xa0ed63['ButtonView'](_0x5ea6d5);_0x561682['set']({'label':xt(_0x5ea6d5,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa0ed63['IconInfo']}),_0x96f822['push'](_0x561682);}else{_0x39187f['includes']('applySuggestion')&&(this['_applyButton']=new _0xa0ed63['ButtonView'](_0x5ea6d5),this['_applyButton']['set']({'label':xt(_0x5ea6d5,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa0ed63['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x96f822['push'](this['_applyButton'])),_0x39187f['includes']('insertSuggestion')&&(this['_suggestButton']=new _0xa0ed63['ButtonView'](_0x5ea6d5),this['_suggestButton']['set']({'label':xt(_0x5ea6d5,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa0ed63['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x96f822['push'](this['_suggestButton']));const _0x494492=new _0xa0ed63['ButtonView'](_0x5ea6d5);_0x494492['set']({'label':xt(_0x5ea6d5,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa0ed63['IconBoxWithCross']}),_0x494492['bind']('isEnabled')['to'](this),_0x494492['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x96f822['push'](_0x494492);}this['items']['addMany'](_0x96f822);const _0x2cb4ba=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x2cb4ba['if']('isVisible','ck-hidden',_0x4cb4ec=>!_0x4cb4ec)]}});}['setButtonsVisibility']({showApplyButton:_0x2ac2c0,showSuggestButton:_0x42ad93}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x2ac2c0),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x42ad93);}}class AISuggestionContentPartHeaderView extends _0xa0ed63['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x4c6719,{part:_0xd85841,uiIndex:_0x39d0c9,availableActions:_0x6e11c,areActionsDisabled:_0xe12b66}){super(_0x4c6719),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x4c6719,_0x6e11c,_0xe12b66),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0xd85841['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0xd85841['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0xd85841['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x4c6719),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x4c6719,_0x39d0c9),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',(_0x5e9247,_0x1cec5b,_0x223a2f,_0x471522)=>{'pending'===_0x471522?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x223a2f?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x223a2f),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0xa0ed63['View']{constructor(_0x26afa9,_0x62130e){super(_0x26afa9),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[xt(_0x26afa9,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x62130e['toString']())]});}}class AISuggestionStreamableContentView extends _0xa0ed63['View']{['htmlStreamer'];constructor(_0x441084){super(_0x441084),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x327a7e,renderingStrategy:_0x3cee7c,abortSignal:_0x4f044f}){'streaming'===_0x3cee7c?await this['htmlStreamer']['stream']({'document':_0x327a7e['content'],'targetElement':this['element'],'abortSignal':_0x4f044f}):this['element']['innerHTML']=_0x57663f(_0x327a7e['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0xa0ed63['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x821263,{part:_0x36c898,uiIndex:_0xcdb737,areActionsDisabled:_0x4e4558,availableActions:_0x2d6df8}){super(_0x821263);const _0x31570f=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x120845=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x4e4558;};this['on']('change:state',_0x120845),this['on']('change:isDone',_0x120845),_0x120845(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x821263,{'part':_0x36c898,'uiIndex':_0xcdb737,'availableActions':_0x2d6df8,'areActionsDisabled':_0x4e4558}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x298a67)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x821263),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x31570f['to']('state',_0x221f6a=>'ck-ai-suggestion__body__content-part_'+_0x221f6a),_0x31570f['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x31570f['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x31570f['if']('isVisible','ck-hidden',_0x4b8d91=>!_0x4b8d91)]},'children':this['_children'],'on':{'mouseenter':_0x31570f['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x36c898['index']});}),'mouseleave':_0x31570f['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x36c898['index']});}),'click':_0x31570f['to'](_0x457baa=>{const _0x7c8c16=_0x457baa['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x7c8c16)&&this['fire']('showChangeInText',{'index':_0x36c898['index']});})}});}async['updateContent']({part:_0x36d2bd,renderingStrategy:_0x7f152c,showUnchangedParts:_0x49adfa=!0x1,abortSignal:_0x2cbab2}){this['partDefinition']=_0x36d2bd,this['isVisible']=this['partDefinition']['hasChanges']||_0x49adfa,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x36d2bd,'renderingStrategy':_0x7f152c,'abortSignal':_0x2cbab2});}['markAsDone'](){this['isDone']=!0x0;}}class _0x44f3f2 extends _0xa0ed63['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0xb307df){const _0x1affec=this['createTask'](_0xb307df);return this['queue']['push'](_0x1affec),this['_processQueue'](),_0x1affec['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(_0x432c62=>{this['once']('_queueEmpty',()=>{_0x432c62();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x2e4972=this['queue']['shift']();try{await _0x2e4972['callback'](this['_abortController']['signal']),_0x2e4972['resolve']();}catch(_0xb845e1){_0x2e4972['reject'](_0xb845e1);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x294af8){let _0xe6e914,_0x59023f;const _0x231ba2=new Promise((_0x474253,_0x411e54)=>{_0xe6e914=_0x474253,_0x59023f=_0x411e54;});return{'callback':_0x294af8,'resolve':_0xe6e914,'reject':_0x59023f,'completePromise':_0x231ba2};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x404e6b){super(_0x404e6b),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x404e6b['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x31dc90){this['element']['innerHTML']=_0x31dc90;}}const _0x25fb3e=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0xa0ed63['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x5b1758,_0x275eeb=[..._0x25fb3e],_0x42aeec){super(_0x5b1758);const _0x2cc104=this['bindTemplate'],_0x349ece=Boolean(_0x42aeec);if(this['set']('isEnabled',!_0x349ece),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x349ece){const _0x2f43b2=new _0xa0ed63['ButtonView'](_0x5b1758);_0x2f43b2['set']({'label':xt(_0x5b1758,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa0ed63['IconInfo']});const _0x43aca2=new _0xa0ed63['View'](_0x5b1758);_0x43aca2['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[xt(_0x5b1758,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x2f43b2]}]}),this['children']['add'](_0x43aca2);}else this['_applyChangesButton']=new _0xa0ed63['ButtonView'](_0x5b1758),this['_applyChangesButton']['set']({'label':xt(_0x5b1758,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x275eeb['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new _0xa0ed63['ButtonView'](_0x5b1758),this['_insertSuggestionsButton']['set']({'label':xt(_0x5b1758,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x275eeb['includes']('insertSuggestion'),'class':'ck-ai-button-secondary'}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x234bd6=>{_0x234bd6['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',_0x2cc104['if']('isVisible','ck-hidden',_0x3728e9=>!_0x3728e9)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x4f5b9e){this['isVisible']=_0x4f5b9e;}['_switchButtonLabelsPlurality'](_0x3d5ea3){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x3d5ea3?(this['_applyChangesButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class _0x54fe72 extends _0xa0ed63['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x554c6b,_0x39d03){super(_0x554c6b),this['bodyCollection']=_0x39d03,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',_0x1900b2=>!_0x1900b2)]},'children':this['children']});const _0x5f5c23=new _0xa0ed63['View'](this['locale']),_0x3e1cef=new _0xa0ed63['IconView']();_0x3e1cef['content']=_0xa0ed63['IconWeb'],_0x5f5c23['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x3e1cef,{'tag':'span','children':[{'text':xt(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x5f5c23),this['_setupBalloonPanel'](_0x554c6b);}['addSource'](_0x2d19af){this['children']['add'](new _0x546c8f(this['locale'],_0x2d19af,this['balloonPanelView']));}['_setupBalloonPanel'](_0x39390e){this['balloonPanelView']=new _0xa0ed63['BalloonPanelView'](_0x39390e),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x546c8f extends _0xa0ed63['ButtonView']{['balloonPanelView'];['source'];constructor(_0x13c675,_0x3f8d5d,_0x4610df){super(_0x13c675),this['source']=_0x3f8d5d,this['balloonPanelView']=_0x4610df,this['set']({'label':_0x3f8d5d['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x578767=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x578767['to'](()=>{window['open'](_0x3f8d5d['url'],'_blank');}),'mouseenter':_0x578767['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x578767['to'](()=>{this['_hideTooltip']();})}}),_0x3f8d5d['favicon']){const _0x481316=new _0xa0ed63['View'](_0x13c675);_0x481316['setTemplate']({'tag':'img','attributes':{'src':_0x3f8d5d['favicon']||_0xa0ed63['IconWeb'],'alt':_0x3f8d5d['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x481316);}else this['set']('icon',_0xa0ed63['IconWeb']);}['_createTooltipContentView'](_0x3be4cb,_0x4c5aa7){const _0x5ca582=new _0xa0ed63['View'](_0x3be4cb),_0x57fbb5=[];let _0x427f23;_0x4c5aa7?.['favicon']?(_0x427f23=new _0xa0ed63['View'](_0x3be4cb),_0x427f23['setTemplate']({'tag':'img','attributes':{'src':_0x4c5aa7['favicon'],'alt':_0x4c5aa7['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x427f23=new _0xa0ed63['IconView'](),_0x427f23['content']=_0xa0ed63['IconWeb'],_0x427f23['extendTemplate']({'attributes':{'alt':_0x4c5aa7['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x57fbb5['push'](_0x427f23);const _0xece67e=new _0xa0ed63['View'](_0x3be4cb);_0xece67e['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x4c5aa7['url']},'children':[{'text':new URL(_0x4c5aa7['url'])?.['hostname']}]}),_0x57fbb5['push'](_0xece67e);const _0xe81f69=new _0xa0ed63['View'](_0x3be4cb);_0xe81f69['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x57fbb5});const _0x168bf4=new _0xa0ed63['View'](_0x3be4cb);return _0x168bf4['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x4c5aa7['title']['length']>0x190?_0x4c5aa7['title']['substring'](0x0,0x190)+'...':_0x4c5aa7['title']}]}),_0x5ca582['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0xe81f69,_0x168bf4]}),_0x5ca582;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0xa0ed63['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0xa0ed63['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0xa0ed63['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 _0xa3fc86=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0xa3fc86);}}class AISuggestionBodyView extends _0xa0ed63['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x8c8cbc,_0x59fd6a){super(_0x8c8cbc);const {areActionsDisabled:_0x1d3c8e,showUnchangedParts:_0x455b25,availableActions:_0x41305d}=_0x59fd6a;this['_areActionsDisabled']=_0x1d3c8e,this['_showUnchangedParts']=_0x455b25,this['_availableActions']=_0x41305d,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x44f3f2(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':xt(_0x8c8cbc,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x8c8cbc,_0x59fd6a['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x54fe72(this['locale'],_0x59fd6a['bodyCollection']),_0x59fd6a['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x298a67)['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']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x3d6d2b,renderingStrategy:_0xd8fadf,abortSignal:_0x7dac11}){this['_children']['length']?_0x3d6d2b['forEach'](_0x41f480=>{const _0x1de2aa=this['_cachedContentParts']['findIndex'](_0x26ffb1=>_0x26ffb1['index']==_0x41f480['index']);-0x1===_0x1de2aa?this['_cachedContentParts']['push'](_0x41f480):this['_cachedContentParts'][_0x1de2aa]=_0x41f480;}):this['_cachedContentParts']=_0x3d6d2b;const _0x3521a7=this['_showUnchangedParts']?_0x3d6d2b:_0x3d6d2b['filter'](_0x408f94=>_0x408f94['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x3521a7['length']>0x1);for(const _0x23569b of _0x3521a7)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x33cb6d=>{let _0x71fd19=this['getPartView'](_0x23569b['index']);_0x71fd19||(_0x71fd19=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x23569b,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x71fd19['delegate'](..._0x298a67)['to'](this),this['_children']['add'](_0x71fd19),this['hasPendingParts']=!0x0),await _0x71fd19['updateContent']({'part':_0x23569b,'renderingStrategy':_0xd8fadf,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x33cb6d}),_0x71fd19['markAsDone']();});return _0x7dac11?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x98ded5,_0x39e083){const _0x1313b1=this['getPartView'](_0x98ded5);_0x1313b1&&(_0x1313b1['state']=_0x39e083),this['hasPendingParts']='pending'==_0x39e083||Array['from'](this['_children'])['some'](_0x1c4853=>'pending'==_0x1c4853['state']);}['setPartActive'](_0x5dd68e,_0xea8678){if(!0x1===_0x5dd68e){for(const _0x41ea80 of this['_children'])_0x41ea80['isActive']=!0x1;}else{const _0x3c17b4=this['getPartView'](_0x5dd68e);_0x3c17b4&&(_0x3c17b4['isActive']=_0xea8678);}}['updateSources'](_0x107bb8){_0x107bb8['forEach'](_0x385233=>this['_sourcesView']['addSource'](_0x385233)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x315105){return this['_children']['find'](_0x5d7050=>_0x5d7050['partDefinition']['index']==_0x315105)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x145b0a=!this['_cachedContentParts']['find'](({hasChanges:_0x5bc76a})=>_0x5bc76a),_0x16e853=!!this['_cachedContentParts']['find'](({hasChanges:_0x3f96a1})=>!_0x3f96a1);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x16e853,_0x145b0a?this['_emptyPartsWarningView']['setContent'](xt(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](xt(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_children']['forEach'](_0x2ea136=>_0x2ea136['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x13f93a=>_0x13f93a['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0xa0ed63['View']{['bodyView'];['children'];['headerView'];constructor(_0x36a374,_0x1f0c0e,_0x253ad6){super(_0x36a374);const {showDiff:_0x505330,areActionsDisabled:_0x36b3b4,showUnchangedParts:_0x11fb79,availableActions:_0x5df3de}=_0x1f0c0e;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x36a374,{'showDiff':_0x505330}),this['headerView']['on']('toggleShowChanges',(_0x544134,_0x166306)=>{this['areChangesVisible']=_0x166306['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x166306['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x36a374,{'areActionsDisabled':_0x36b3b4,'showUnchangedParts':!!_0x11fb79,'availableActions':_0x5df3de,'bodyCollection':_0x253ad6}),this['bodyView']['delegate'](..._0x298a67)['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'](_0x478c47){await this['bodyView']['updateContentParts'](_0x478c47);}['updateSources'](_0x2d54da){this['bodyView']['updateSources'](_0x2d54da);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x12ed26,_0x1bf768,_0x58be94){super(_0x1bf768),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x12ed26,{'showDiff':_0x1bf768['showDiff'],'areActionsDisabled':_0x1bf768['areActionsDisabled'],'availableActions':_0x1bf768['availableActions']},_0x58be94),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x428e09,_0x4eb763)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x4eb763['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',(_0xf9f2ff,{index:_0x5e1f40})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x5e1f40});}),this['containerView']['on']('applySuggestion',(_0x3bd743,{index:_0x194d70}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x194d70});}),this['containerView']['on']('insertSuggestion',(_0x52770e,{index:_0x1cd7c4}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x1cd7c4});}),this['containerView']['on']('rejectSuggestion',(_0x36baa2,{index:_0x35a0ec})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x35a0ec});}),this['containerView']['on']('mouseOverSuggestion',(_0x3f35ca,{index:_0x190738})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x190738});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x43e356,{index:_0xba74e4})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0xba74e4});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x3f06b5){await this['containerView']['updateContent'](_0x3f06b5);}['updatePartState'](_0x521037,_0x39c990){this['containerView']['bodyView']['updatePartState'](_0x521037,_0x39c990);}['setPartActive'](_0x5a3f6a,_0x15ede1){!0x1===_0x5a3f6a?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x5a3f6a,_0x15ede1);}['updateSources'](_0x56eada){this['containerView']['updateSources'](_0x56eada);}['getPartView'](_0x172d3f){return this['containerView']['bodyView']['getPartView'](_0x172d3f);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x2af22c,_0xf9ce37,_0xca96e8){super(_0xf9ce37),this['_bodyCollection']=_0xca96e8,this['locale']=_0x2af22c,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0xa0ed63['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x27e21e(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x53b2af,renderingStrategy:_0x3cf890,abortSignal:_0x26b389}){'streaming'===_0x3cf890?await this['streamIntoElement'](_0x53b2af,this['replyContainer']['element'],_0x26b389):this['replyContainer']['element']['innerHTML']=_0x23fffa(_0x53b2af);}['updateSources'](_0x176c32){const _0x4e2826=new _0x54fe72(this['locale'],this['_bodyCollection']);_0x4e2826['children']['addMany'](_0x176c32['map'](_0xe86f88=>new _0x546c8f(this['locale'],_0xe86f88,_0x4e2826['balloonPanelView']))),_0x4e2826['isVisible']=!0x0,this['children']['add'](_0x4e2826);}}class _0x5ccda7 extends _0xa0ed63['SpinnerView']{constructor(_0x1b808e=void 0x0){super();const _0x44d9c8=_0x1b808e?'ck-ai-spinner_'+_0x1b808e:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x44d9c8]}});}}const _0x1b3ad2={'file':_0xa0ed63['IconFileUpload'],'document':_0xa0ed63['IconDocument'],'web-resource':_0xa0ed63['IconLink'],'text':_0xa0ed63['IconFileUpload'],'selection':_0xa0ed63['IconSelection'],'mcp-tool-context':_0xa0ed63['IconDocument']},_0x60a8ff='ck-ai-chat-context-chip',_0x507d64='ck-ai-chat-context-chip_wide',_0x5d58b7='ck-ai-chat-context-chip_document',_0x241747='ck-ai-chat-context-chip__label',_0x1bb9fc='ck-ai-chat-context-chip__type-icon',_0x237805='ck-ai-chat-context-controls__chip-tooltip',_0x232719='n';class AIChatContextItemButtonView extends _0xa0ed63['ButtonView']{constructor(_0x492f2c,_0x2be3cf,_0x5f13af,_0x4498e5,_0x4d20c6=!0x1){super(_0x492f2c),this['_isAnimationOnEnterEnabled']=_0x4498e5,this['_initializeProperties'](_0x2be3cf,_0x5f13af,_0x4d20c6),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'](_0x157403,_0x5f3f4c,_0x2d08b5){this['set']('label',_0x157403['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x157403['type']),this['set']('id',_0x157403['uiId']),this['set']('readonly',_0x5f3f4c),this['set']('isLoading',_0x2d08b5);}['_setupTemplate'](){const _0x338a1e=this['_createIconView'](),_0x2447a6=this['_createRemoveButton'](),_0x2d3e4b=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x2d3e4b),'children':this['_createTemplateChildren'](_0x338a1e,_0x2447a6,_0x2d3e4b)});}['_createTemplateAttributes'](_0x598e17){return{'class':[_0x60a8ff,_0x598e17['if']('itemType',_0x5d58b7,_0x25354d=>'document'==_0x25354d),_0x598e17['if']('itemType',_0x507d64,_0x45e9b1=>'selection'==_0x45e9b1)],'data-cke-tooltip-text':_0x598e17['to']('label',_0x2dda0a),'data-cke-tooltip-position':_0x232719,'data-cke-tooltip-class':_0x237805};}['_createTemplateChildren'](_0x27e8c4,_0x31bbd4,_0x561404){const _0x2d4407=this['_createLabelElement'](_0x561404),_0x510ec0=this['_createLoaderIcon']();return this['readonly']?[_0x27e8c4,_0x2d4407]:[_0x27e8c4,_0x510ec0,_0x2d4407,_0x31bbd4];}['_createLabelElement'](_0x1e493b){return{'tag':'span','attributes':{'class':_0x241747},'children':[{'text':_0x1e493b['to']('label')}]};}['_createRemoveButton'](){const _0x16eb2c=new _0xa0ed63['ButtonView'](this['locale']);return _0x16eb2c['set']({'label':xt(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0xa0ed63['IconClose']}),this['_setupRemoveButtonEvent'](_0x16eb2c),_0x16eb2c;}['_setupRemoveButtonEvent'](_0xcf83b){_0xcf83b['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x581141=this['bindTemplate'],_0x16dfa2=new _0xa0ed63['IconView']();return _0x16dfa2['content']=_0x1b3ad2[this['itemType']],_0x16dfa2['extendTemplate']({'attributes':{'class':[_0x1bb9fc,_0x581141['if']('isLoading','ck-hidden',_0xe69784=>_0xe69784)]}}),_0x16dfa2;}['_handleAnimationEndOnce'](_0x30700f,_0x170172){if(!_0x30700f)return;const _0x302df4=()=>{_0x170172(),_0x30700f['removeEventListener']('animationend',_0x302df4),_0x30700f['removeEventListener']('webkitAnimationEnd',_0x302df4);};_0x30700f['addEventListener']('animationend',_0x302df4),_0x30700f['addEventListener']('webkitAnimationEnd',_0x302df4);}['_createLoaderIcon'](){const _0x352cf7=new _0x5ccda7('small');return _0x352cf7['bind']('isVisible')['to'](this,'isLoading',_0x5b6f9c=>_0x5b6f9c),_0x352cf7;}}function _0x2dda0a(_0x292be8){if(!_0x292be8)return _0x292be8;if(_0x292be8['length']<=0x78)return _0x292be8;const _0x17a2c8=_0x292be8['slice'](0x0,0x78),_0x10bb3f=_0x17a2c8['lastIndexOf']('\x20');return(_0x10bb3f>0x0?_0x17a2c8['slice'](0x0,_0x10bb3f):_0x17a2c8)+'…';}const _0x15e999={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x35a755='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x40f84f,_0x5c45ef,_0x4cba45,_0x40e328,_0x1223df){this['_locale']=_0x40f84f,this['_visibleChips']=_0x5c45ef,this['_config']={..._0x15e999,..._0x4cba45,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x4cba45['cssClasses']}},this['_overflowChips']=new _0xa0ed63['Collection'](),this['_bodyCollection']=_0x40e328,this['_parentView']=_0x1223df||null;}['setContainerElement'](_0x2f1094){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x2f1094,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 _0x1539c3=[...this['_visibleChips'],...this['_overflowChips']],_0x14813c=this['_createCalculationContainer'](),_0x16a2ce=this['_calculateOverflowInContainer'](_0x14813c,_0x1539c3),_0x35416d=_0x14813c['_ancestorsToRestore'];_0x35416d&&this['_restoreAncestorVisibility'](_0x35416d),_0x14813c['remove'](),this['_applyOverflowResults'](_0x1539c3,_0x16a2ce);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),_0xa0ed63['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x5c1303=new _0xa0ed63['ButtonView'](this['_locale']);_0x5c1303['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x213b9c=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x213b9c['push'](this['_config']['cssClasses']['controlsButton']),_0x5c1303['extendTemplate']({'attributes':{'class':_0x213b9c}}),_0x5c1303;}['_createShowMoreBalloonPanelView'](){const _0xdbc7ae=new _0xa0ed63['BalloonPanelView'](this['_locale']);return _0xdbc7ae['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0xdbc7ae),_0xdbc7ae;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x5b2793=>{_0x5b2793['disableAnimationOnEnter']();});const _0x225cbe=new _0xa0ed63['View'](this['_locale']);_0x225cbe['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x225cbe);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x2c006d=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x2c006d?'':'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'](_0x5c23c7){const _0x335ee4=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x9aeb12=this['_containerElement']?.['classList'];if(_0x9aeb12){const _0xc3607b=_0x9aeb12[0x0]||'',_0x248d56=_0x5c23c7['querySelector']('.'+_0xc3607b),_0x1abd6b=_0x5c23c7['querySelector'](_0x335ee4);return _0x248d56||_0x1abd6b||_0x5c23c7;}return _0x5c23c7['querySelector'](_0x335ee4)||_0x5c23c7;}['_calculateContainerWidth'](){const _0x2e1c9e=this['_parentView']?.['element']||this['_containerElement'];if(!_0x2e1c9e)return _0x35a755;const _0x32983a=window['getComputedStyle'](_0x2e1c9e)['width'];if('auto'===_0x32983a||'0px'===_0x32983a||!_0x32983a){const _0xa6d8f5=_0x2e1c9e['parentElement'];if(_0xa6d8f5){const _0x31352c=window['getComputedStyle'](_0xa6d8f5);return'auto'!==_0x31352c['width']?_0x31352c['width']:_0x35a755;}return _0x35a755;}return _0x32983a;}['_applyCalculationStyles'](_0x1259f5,_0x5a4a45){this['_config']['cssClasses']['calculationContainer']&&_0x1259f5['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x1259f5['style']['width']=_0x5a4a45,_0x1259f5['style']['position']='absolute',_0x1259f5['style']['top']='-9999px',_0x1259f5['style']['left']='-9999px',_0x1259f5['style']['opacity']='0',_0x1259f5['style']['pointerEvents']='none',_0x1259f5['style']['zIndex']='-1',_0x1259f5['style']['visibility']='visible\x20!important',_0x1259f5['style']['display']='block\x20!important',_0x1259f5['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0xc2d815){_0xc2d815['forEach'](({element:_0x203bb8,originalDisplay:_0x3f27a7,originalVisibility:_0x263d9f})=>{_0x203bb8['style']['display']=_0x3f27a7,_0x203bb8['style']['visibility']=_0x263d9f;});}['_makeAncestorsVisible'](_0x1bd345){const _0x7f120f=[];let _0xe09fdf=_0x1bd345;for(;_0xe09fdf&&_0xe09fdf!==document['body'];){const _0x3ececf=window['getComputedStyle'](_0xe09fdf);'none'!==_0x3ececf['display']&&'hidden'!==_0x3ececf['visibility']||(_0x7f120f['push']({'element':_0xe09fdf,'originalDisplay':_0xe09fdf['style']['display'],'originalVisibility':_0xe09fdf['style']['visibility']}),_0xe09fdf['style']['display']='block',_0xe09fdf['style']['visibility']='visible'),_0xe09fdf=_0xe09fdf['parentElement'];}return _0x7f120f;}['_createContainerElements'](){let _0x26625e,_0x1ba6c9;return this['_parentView']?.['element']?(_0x26625e=this['_parentView']['element']['cloneNode'](!0x0),_0x1ba6c9=this['_findTargetContainer'](_0x26625e)):(_0x26625e=document['createElement']('div'),_0x1ba6c9=_0x26625e),{'calculationContainer':_0x26625e,'targetContainer':_0x1ba6c9};}['_createCalculationContainer'](){const {calculationContainer:_0x28e179,targetContainer:_0x2270fb}=this['_createContainerElements'](),_0x2922c0=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x28e179,_0x2922c0);const _0x16f412=this['_parentView']?.['element']||this['_containerElement'],_0x18274d=_0x16f412?.['parentElement'];_0x18274d?_0x18274d['appendChild'](_0x28e179):document['body']['appendChild'](_0x28e179),_0x28e179['_targetContainer']=_0x2270fb;const _0x1310b2=this['_makeAncestorsVisible'](_0x18274d||null);return _0x28e179['offsetWidth'],_0x28e179['_ancestorsToRestore']=_0x1310b2,_0x28e179;}['_calculateOverflowInContainer'](_0x107d67,_0x4b55de){const _0x2ae90d=_0x107d67['_targetContainer']||_0x107d67,_0x407458=[],{rowCount:_0x505452}=this['_renderChipsAndCountRows'](_0x2ae90d,_0x4b55de);if(_0x505452<=this['_config']['maxVisibleRows'])return _0x407458;const _0x3ccc68=_0x4b55de['slice']();for(;_0x3ccc68['length']>0x0;){if(this['_testButtonFit'](_0x107d67,_0x2ae90d,_0x3ccc68)){const _0x345093=_0x4b55de['filter'](_0x48869b=>!_0x3ccc68['includes'](_0x48869b));_0x407458['push'](..._0x345093);break;}if(!_0x3ccc68['pop']())break;}return _0x407458;}['_renderChipsAndCountRows'](_0x2ea8e9,_0x1a0cfb){_0x2ea8e9['innerHTML']='',_0x1a0cfb['forEach'](_0x4469dc=>{if(_0x4469dc['element']){const _0x4c8607=_0x4469dc['element']['cloneNode'](!0x0);_0x2ea8e9['appendChild'](_0x4c8607);}}),_0x2ea8e9['offsetWidth'];const _0x56e20a=_0x2ea8e9['children'],_0x204f49=[];return Array['from'](_0x56e20a)['forEach'](_0x494120=>{const _0x1fdeb3=_0x494120['getBoundingClientRect']()['top'];_0x204f49['some'](_0x1dc8b8=>Math['abs'](_0x1dc8b8-_0x1fdeb3)<this['_config']['rowDetectionTolerance'])||_0x204f49['push'](_0x1fdeb3);}),{'rowCount':_0x204f49['length']};}['_createMockButton'](){const _0x4bd53e=document['createElement']('button');return _0x4bd53e['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x4bd53e['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x4bd53e['textContent']='+\x201',_0x4bd53e;}['_testButtonFit'](_0xdec3c,_0x527110,_0x5d5ff2){this['_renderChipsAndCountRows'](_0x527110,_0x5d5ff2);const _0x3851b8=this['_createMockButton']();_0xdec3c['appendChild'](_0x3851b8),_0xdec3c['offsetWidth'];const _0x4457f4=[..._0x527110['children'],_0x3851b8],_0x546b64=[];_0x4457f4['forEach'](_0x12de0c=>{const _0x1300ed=_0x12de0c['getBoundingClientRect']()['top'];_0x546b64['some'](_0xd9a4d5=>Math['abs'](_0xd9a4d5-_0x1300ed)<this['_config']['rowDetectionTolerance'])||_0x546b64['push'](_0x1300ed);});const _0x4fb39e=_0x546b64['length'];return _0x3851b8['remove'](),_0x4fb39e<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x1d00ef,_0x237005){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x1d00ef['forEach'](_0x482639=>{_0x237005['includes'](_0x482639)?this['_overflowChips']['add'](_0x482639):this['_visibleChips']['add'](_0x482639);});}['_updateOverflowUI'](_0xaea0be){if(_0xaea0be>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0xaea0be>0x0&&this['_showMoreButtonView']){const _0x1e4592=''+this['_config']['showMoreLabelPrefix']+(_0xaea0be<0x63?_0xaea0be:'99');this['_showMoreButtonView']['label']=_0x1e4592;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x13f8b8,_0x35244d){this['_distributeChips'](_0x13f8b8,_0x35244d),this['_updateOverflowUI'](_0x35244d['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x5d9629=>{_0x5d9629[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 _0x154182=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x154182['width']||0x0===_0x154182['height'])return!0x1;const _0x17f933=window['innerHeight']||document['documentElement']['clientHeight'],_0xacaf20=window['innerWidth']||document['documentElement']['clientWidth'],_0x1f0660=0xc8;return _0x154182['bottom']>=-0xc8&&_0x154182['top']<=_0x17f933+_0x1f0660&&_0x154182['right']>=-0xc8&&_0x154182['left']<=_0xacaf20+_0x1f0660;}}const _0xad12b='ck-ai-chat__feed__context-chips',_0x3002bb='ck-ai-chat-context-chips-wrapper',_0xac77d6='ck-ai-chat-context-chips-wrapper-balloon',_0x3c08b1='ck-ai-chat-controls-button',_0x59e582='ck-ai-chat-controls_context_show-more-button',_0x5db457='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0xa0ed63['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x460e05,_0x558518,_0x157c42){super(_0x460e05),this['_bodyCollection']=_0x157c42,this['_createContextChips'](_0x558518);const _0x48f101={'cssClasses':{'showMoreButton':_0x59e582,'showMoreBalloon':_0x5db457,'overflowContainer':_0xac77d6,'controlsButton':_0x3c08b1}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x460e05,this['_contextChips'],_0x48f101,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0xad12b,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x3002bb},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x178a3f=this['element']['querySelector']('.'+_0x3002bb);_0x178a3f&&(this['_overflowManager']['setContainerElement'](_0x178a3f),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x4bc88c){for(const _0x38b8e2 of _0x4bc88c){const _0x31222e=new AIChatContextItemButtonView(this['locale'],_0x38b8e2,!0x0,!0x1);this['_contextChips']['add'](_0x31222e);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x7829b7,_0x5e3943,_0x27b5ef){super(_0x5e3943),this['_locale']=_0x7829b7,this['_bodyCollection']=_0x27b5ef,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 AIChatFeedContextChipsView(this['_locale'],this['options']['contextItems']['filter'](_0x2142ae=>!_0x2142ae['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0xa0ed63['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__message-content'}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x9b1295,_0x353928){super(_0x353928);const {isWebSearchEnabled:_0x21810b,isReasoningEnabled:_0xf362ab}=_0x353928['capabilities'],_0x5aa2bd=[];let _0x5d39b9='';_0x21810b&&_0xf362ab?(_0x5d39b9=xt(_0x9b1295,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x5aa2bd['push'](_0x108c44(_0xa0ed63['IconWeb'])),_0x5aa2bd['push'](_0x108c44(_0xa0ed63['IconBulb']))):_0x21810b?(_0x5d39b9=xt(_0x9b1295,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x5aa2bd['push'](_0x108c44(_0xa0ed63['IconWeb']))):_0xf362ab&&(_0x5d39b9=xt(_0x9b1295,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x5aa2bd['push'](_0x108c44(_0xa0ed63['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x5d39b9?'':'ck-hidden']}});const _0x33392a=new _0xa0ed63['View']();_0x33392a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x5aa2bd,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x5d39b9]}]}),this['children']['add'](_0x33392a),this['capabilities']=_0x353928['capabilities'];}}function _0x108c44(_0x4d1046){const _0x10d8e3=new _0xa0ed63['IconView']();return _0x10d8e3['content']=_0x4d1046,_0x10d8e3;}const _0x577688=['wheel','touchstart','pointerdown','keydown'],_0x4f5b05=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x37b349{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x4743a6){this['element']=_0x4743a6,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x2d2b85 of _0x577688){const _0x230f32='keydown'!==_0x2d2b85;this['element']['addEventListener'](_0x2d2b85,this['_onUserEvent']['bind'](this),{'passive':_0x230f32,'signal':this['abortController']['signal']});}}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,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'](_0x5c4349){if(this['isRunning']){if('keydown'===_0x5c4349['type']){const _0x4a67c4=_0x5c4349['key'];if(!_0x4f5b05['includes'](_0x4a67c4))return;}_0x5c4349 instanceof WheelEvent?_0x5c4349['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x4ac448,scrollHeight:_0x10d813,clientHeight:_0x2a29b4}=this['element'];return _0x10d813-_0x4ac448-_0x2a29b4<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends _0xa0ed63['View']{constructor(_0x52b8b3,_0x134f91){super(_0x52b8b3),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x134f91)});}['_createSkeletonItems'](_0x5efaae){const _0xb905d2=['ck','ck-ai-skeleton__item'];return _0x5efaae['map'](_0x48bb02=>{let _0x1e977b='';switch(_0x48bb02['attributes']['align']){case'right':_0x1e977b='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x1e977b='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x1e977b='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x48bb02['tag'],'attributes':{'class':[..._0xb905d2,_0x48bb02['attributes']['class']?_0x48bb02['attributes']['class']:''],'style':'width:\x20'+_0x48bb02['attributes']['width']+';\x20height:\x20'+_0x48bb02['attributes']['height']+';'+_0x1e977b}};});}}const _0x952258={'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':_0x261dce(0x5,'100%','44px','right'),'aiChatResources':_0x261dce(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 _0x261dce(_0x32e9fe,_0x2a870f,_0x429a50,_0x239a93){return new Array(_0x32e9fe)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x2a870f,'height':_0x429a50,'align':_0x239a93}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x321941){super(_0x321941),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']);}}class AIChatFeedView extends _0xa0ed63['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x212e8b,_0xb1f013){super(_0x212e8b),this['_bodyCollection']=_0xb1f013,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x353c0f)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x37b349(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x37e876,_0x4abb17){let _0x4cb3e1;return'ai-reply'===_0x37e876?_0x4cb3e1=new AIChatFeedReplyItemView(this['locale'],_0x4abb17,this['_bodyCollection']):'ai-suggestion-reply'===_0x37e876?(_0x4cb3e1=new AIChatFeedSuggestionItemView(this['locale'],_0x4abb17,this['_bodyCollection']),_0x4cb3e1['bind']('isTrackChangesOn')['to'](this)):_0x4cb3e1='user-message'===_0x37e876?new AIChatFeedUserMessageItemView(this['locale'],_0x4abb17,this['_bodyCollection']):'interaction-header'===_0x37e876?new AIChatFeedInteractionHeaderView(this['locale'],_0x4abb17):'custom-element'===_0x37e876?new AIChatFeedCustomElementView(_0x4abb17):new AIChatFeedErrorItemView(_0x4abb17),this['children']['add'](_0x4cb3e1),_0x4cb3e1;}async['updateReplyItem']({id:_0x27f0e5,parsedContent:_0x2de49d,renderingStrategy:_0x493997,abortSignal:_0x1686d5}){const _0x13ebd8=this['getItemById'](_0x27f0e5);if(!(_0x13ebd8 instanceof AIChatFeedReplyItemView))throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x13ebd8,'id':_0x27f0e5,'parsedContent':_0x2de49d});await _0x13ebd8['updateContent']({'parsedContent':_0x2de49d,'renderingStrategy':_0x493997,'abortSignal':_0x1686d5});}async['updateWebSources'](_0x2f0f3a,_0x49f030){const _0x2f5b20=this['getItemById'](_0x2f0f3a);if(_0x2f5b20 instanceof AIChatFeedSuggestionItemView)_0x2f5b20['updateSources'](_0x49f030);else{if(!(_0x2f5b20 instanceof AIChatFeedReplyItemView))throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x2f5b20,'id':_0x2f0f3a,'sources':_0x49f030});_0x2f5b20['updateSources'](_0x49f030);}}async['updateSuggestionItem']({id:_0x1399e4,parts:_0x178495,renderingStrategy:_0x43e0df,abortSignal:_0x8cad6f}){const _0x48c3df=this['getItemById'](_0x1399e4);if(!(_0x48c3df instanceof AIChatFeedSuggestionItemView))throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x48c3df,'id':_0x1399e4,'parts':_0x178495});await _0x48c3df['updateContent']({'parts':_0x178495,'renderingStrategy':_0x43e0df,'abortSignal':_0x8cad6f});}['updateSuggestionPartState']({id:_0x2d9a78,index:_0x3caad9,state:_0x22160d}){const _0x13b612=this['getItemById'](_0x2d9a78);if(!(_0x13b612 instanceof AIChatFeedSuggestionItemView))throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x2d9a78});_0x13b612['updatePartState'](_0x3caad9,_0x22160d);}['setSuggestionPartActive']({id:_0xffd74d,index:_0xaf90bd,isActive:_0x5f8892}){const _0x44b6c4=this['getItemById'](_0xffd74d);if(!(_0x44b6c4 instanceof AIChatFeedSuggestionItemView))throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0xffd74d});this['children']['filter'](_0x13fe60=>_0x13fe60 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x3a56cc=>{_0x3a56cc['setPartActive'](!0x1);}),_0x44b6c4['setPartActive'](_0xaf90bd,_0x5f8892);}['markItemAsDone'](_0x27ab3c){this['getItemById'](_0x27ab3c)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x24b4c6=>_0x24b4c6['options']['id']);}['removeItem'](_0x5403a5){this['children']['remove'](this['getItemById'](_0x5403a5));}['hasItem'](_0x18d41a){return!!this['children']['find'](_0x5b553d=>_0x5b553d['options']['id']['includes'](_0x18d41a));}['scrollToSuggestion'](_0x5bc9fb,_0x3ed055){const _0x364257=this['getItemById'](_0x5bc9fb);if(!(_0x364257 instanceof AIChatFeedSuggestionItemView))return void _0xa0ed63['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x5bc9fb,'partIndex':_0x3ed055});const _0x487fa2=_0x364257['getPartView'](_0x3ed055);_0x487fa2?_0xa0ed63['scrollAncestorsToShowTarget'](_0x487fa2['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0xa0ed63['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x5bc9fb,'partIndex':_0x3ed055});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x3e7a5d=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x3e7a5d,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x78df1f=new AISkeletonView(this['locale'],_0x952258['aiFeed']);return _0x78df1f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x30072b=>!_0x30072b)]}}),_0x78df1f;}['_createFeedItems'](){const _0x3ea439=new _0xa0ed63['View'](this['locale']);return _0x3ea439['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x3ea439;}['_createFeedLoader'](){const _0x1f9058=new _0xa0ed63['View'](this['locale']);return _0x1f9058['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x5d2a35=>!_0x5d2a35)]},'children':this['_createLoaderChildren']()}),_0x1f9058;}['_createLoaderChildren'](){const _0x1f35c7=new _0x5ccda7();return _0x1f35c7['isVisible']=!0x0,[_0x1f35c7,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x24f0a7){const _0x234e8a=this['children']['find'](_0xd168fb=>_0xd168fb['options']['id']['includes'](_0x24f0a7));if(!_0x234e8a)throw new _0xa0ed63['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x24f0a7});return _0x234e8a;}['setLoadingMessage'](_0xb75fe5){this['set']('loadingMessage',_0xb75fe5);}['toggleLoadingSkeleton'](_0x2f8dcb){this['set']('isLoadingSkeletonVisible',_0x2f8dcb);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0xa0ed63['ListView']{['filter'](){let _0x46be39=0x0;for(const _0x4114e8 of this['items'])_0x46be39+=_0x4114e8['items']['length'];return{'resultsCount':_0x46be39,'totalItemsCount':_0x46be39};}}const _0x1ca020='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0xa0ed63['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x1c1bef,_0x385640){super(_0x1c1bef,{'queryView':{'label':'','creator':_0xa0ed63['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x1c1bef),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x385640,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',(_0x3adee8,_0x323735)=>!_0x3adee8&&!_0x323735),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x552e92,_0x266d38)=>{this['isUploadInProgress']||this['isEmpty']||_0x552e92['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x266d38());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x587697=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x587697)return this['queryView']['errorText']=xt(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x2449b5=pt(_0x587697);this['fire']('sendUserMessage',_0x2449b5),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x2007c2){this['queryView']['fieldView']['set']('placeholder',_0x2007c2);}['focus'](_0x4a6d7b=!0x1){super['focus'](),_0x4a6d7b&&(this['element']['classList']['contains'](_0x1ca020)||(this['element']['classList']['add'](_0x1ca020),setTimeout(()=>{this['element']['classList']['remove'](_0x1ca020);},0x320)));}['_createSubmitButton'](){const _0x42cc19=new _0xa0ed63['ButtonView'](this['locale']);return _0x42cc19['set']({'icon':_0xa0ed63['IconSubmit'],'label':xt(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x42cc19['on']('execute',()=>{this['submit']();}),_0x42cc19;}['setIsUploadInProgress'](_0x2daa94){this['isUploadInProgress']=_0x2daa94;}['_setUpAddContextButtonPositioning'](){const _0x416f24=this['locale'],_0x191c78=()=>{_0xa0ed63['global']['window']['requestAnimationFrame'](()=>{if(_0xa0ed63['isVisible'](this['element'])){const _0x5c7237=new _0xa0ed63['Rect'](this['queryView']['fieldView']['element']),_0xc1f4da=new _0xa0ed63['Rect'](this['_addContextButtonView']['element']),_0x4663d4=_0x5c7237['width'],_0x278421='rtl'===_0x416f24['uiLanguageDirection']?'right':'left';_0x5c7237['excludeScrollbarsAndBorders']();const _0x54e700=_0x4663d4-_0x5c7237['width']+0x1;this['_addContextButtonView']['element']['style'][_0x278421]='calc('+(_0x4663d4-_0xc1f4da['width']-_0x54e700)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x191c78),this['on']('render',()=>{_0x191c78(),this['_queryViewResizeObserver']=new _0xa0ed63['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x191c78();});});}}const _0x450463='ck-ai-chat__prompt-capabilities',_0x2576a7='ck-ai-chat-controls-button',_0x504587='ck-ai-chat-controls-button--commands',_0x4d02ea='ck-ai-button-tertiary',_0x69f77='ck-ai-chat-controls__model-selection',_0x1597f3='ck-ai-chat-controls__model-selection__item-name',_0x58202c='ck-ai-chat-controls__model-selection__item-description',_0x3ee585='ck-ai-chat-controls__model-selection__item-capabilities',tc='n';class AIChatPromptCapabilitiesView extends _0xa0ed63['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x4e7a7d){super(_0x4e7a7d),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',_0x672ce9=>'selector'===_0x672ce9),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x3f14fa=>_0x3f14fa?this['_modelSelectionDropdown']['buttonView']['label']:xt(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x46d57a=>_0x46d57a),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x123f5e=>_0x123f5e),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x94bfab=>xt(this['locale'],_0x94bfab?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x33820d=>_0x33820d),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x4fb6d7=>xt(this['locale'],_0x4fb6d7?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x450463]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0xa0ed63['Collection'](),_0xa0ed63['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x314a92,_0x16bd96){if(_0x16bd96)this['set']('modelDisplayMode','hidden');else{const _0x4dec2d=0x1===_0x314a92['length'];this['set']('modelDisplayMode',_0x4dec2d?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x314a92?.['length'])for(const _0x4934bc of _0x314a92){const _0x15386c=new _0xa0ed63['UIModel']({'label':_0x4934bc['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4934bc['id'],'model':_0x4934bc});_0x15386c['bind']('isOn')['to'](this,'activeModelId',_0x4a1ca2=>_0x4a1ca2===_0x4934bc['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x15386c,'labelView':new _0x4b71c4(this['locale'],_0x4934bc)});}}['setWebSearch'](_0x8e7866){this['set']('webSearchActive',_0x8e7866);}['setReasoning'](_0x2f0522){this['set']('reasoningActive',_0x2f0522);}['setModel'](_0x80056e){if(!_0x80056e)return;this['activeModelId']=_0x80056e['id'],this['activeModelName']=_0x80056e['name']||_0x80056e['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x80056e['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x80056e['name']);const _0x152d2c=_0x80056e['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x152d2c),this['_webSearchButton']['set']('isVisible',_0x152d2c);const _0x306ca9=_0x80056e['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x306ca9),this['_reasoningButton']['set']('isVisible',_0x306ca9);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x295506){this['set']('modelSelectorEnabled',!0x1),_0x295506&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x12f74b=new _0xa0ed63['ButtonView']();return _0x12f74b['set']({'label':xt(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0xa0ed63['IconWeb'],'class':_0x2576a7,'isToggleable':!0x0,'tooltipPosition':tc}),_0x12f74b['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x12f74b;}['_createReasoningButton'](){const _0x14efe2=new _0xa0ed63['ButtonView']();return _0x14efe2['set']({'label':xt(this['locale'],'AI_CHAT_REASONING'),'icon':_0xa0ed63['IconBulb'],'class':_0x2576a7,'isToggleable':!0x0,'tooltipPosition':tc}),_0x14efe2['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x14efe2;}['_createCommandsButton'](){const _0x49becd=new _0xa0ed63['ButtonView']();return _0x49becd['set']({'label':xt(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0xa0ed63['IconAI'],'withText':!0x0,'class':_0x2576a7,'isToggleable':!0x0,'tooltip':xt(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':tc}),_0x49becd['extendTemplate']({'attributes':{'class':[_0x504587]}}),_0x49becd['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x49becd;}['_createModelSelectionDropdown'](){const _0x2aff65=_0xa0ed63['createDropdown'](this['locale']);return _0x2aff65['set']({'panelPosition':'ne','class':[_0x69f77]}),_0x2aff65['buttonView']['set']({'label':xt(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':tc,'class':_0x4d02ea}),this['listenTo'](_0x2aff65,'execute',_0x102aa7=>{this['fire']('selectModel',_0x102aa7['source']['model']);}),_0x2aff65;}['_createModelNameView'](){const _0x140b9b=new _0x2beb59(this['locale']);return _0x140b9b['bind']('text')['to'](this,'activeModelName',_0x3a44d3=>_0x3a44d3??''),_0x140b9b['bind']('isVisible')['to'](this,'modelDisplayMode',_0x54d283=>'name'===_0x54d283),_0x140b9b;}}let _0x4b71c4=class ModelButtonLabelView extends _0xa0ed63['ButtonLabelView']{constructor(_0x57e2e9,_0x195971){super();const _0x402e5c=this['bindTemplate'],_0x53623d=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x402e5c['to']('style'),'id':_0x402e5c['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x1597f3]},'children':[{'text':_0x402e5c['to']('text')}]},{'tag':'div','attributes':{'class':[_0x58202c]},'children':[{'tag':'span','children':[{'text':_0x195971['description']}]}]},{'tag':'div','attributes':{'class':[_0x3ee585]},'children':_0x53623d}]}),_0x53623d['addMany'](this['_getCapabilityParts'](_0x57e2e9,_0xa0ed63['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x195971['capabilities']['webSearch']?.['enabled']??!0x1)),_0x53623d['addMany'](this['_getCapabilityParts'](_0x57e2e9,_0xa0ed63['IconBulb'],'AI_CHAT_REASONING',_0x195971['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x1e920b,_0x5863a3,_0x4d27a3,_0x553712){const _0x12497b=new _0xa0ed63['IconView']();_0x12497b['content']=_0x5863a3;const _0x4aec35=new _0xa0ed63['View'](_0x1e920b);_0x4aec35['setTemplate']({'tag':'span','children':[{'text':xt(_0x1e920b,_0x4d27a3)+':\x20'}]});const _0x3f5a30=new _0xa0ed63['View'](_0x1e920b);return _0x3f5a30['setTemplate']({'tag':'span','children':[{'text':xt(_0x1e920b,_0x553712?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x12497b,_0x4aec35,_0x3f5a30];}},_0x2beb59=class _0x280f2b extends _0xa0ed63['View']{constructor(_0x1476d8){super(_0x1476d8),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4797cb=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x4797cb['if']('isVisible','ck-hidden',_0x4fd186=>!_0x4fd186)]},'children':[{'text':_0x4797cb['to']('text')}]});}};const _0x26df4b='ck-ai-chat-context-controls__url-form',_0x14f794='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0xa0ed63['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x5aa39a){super(_0x5aa39a),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['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 _0xa0ed63['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'](_0xec4962=>{this['focusTracker']['add'](_0xec4962['element']),this['keystrokes']['listenTo'](_0xec4962['element']);}),_0xa0ed63['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'](_0x3e4179){this['urlInputField']['errorText']=_0x3e4179,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x100007=new _0xa0ed63['ButtonView'](this['locale']);return _0x100007['set']({'icon':_0xa0ed63['IconPreviousArrow'],'tooltip':xt(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x2f4786,_0x5e630d,_0x14e533)=>{_0x100007['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x14e533?'':'\x20ck-hidden')]});}),_0x100007;}['_createUrlInputField'](){const _0x35e4a4=new _0xa0ed63['LabeledFieldView'](this['locale'],_0xa0ed63['createLabeledInputText']);return _0x35e4a4['set']({'label':xt(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x35e4a4['fieldView']['set']({'placeholder':xt(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x35e4a4;}['_createConfirmButton'](){const _0x3dce9f=new _0xa0ed63['ButtonView'](this['locale']);return _0x3dce9f['set']({'icon':_0xa0ed63['IconCheck'],'tooltip':xt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x3dce9f;}['_setupTemplate'](){const _0xea87e5=new _0xa0ed63['FormHeaderView'](this['locale'],{'label':xt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0xea87e5['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x26df4b,'tabindex':'-1'},'children':[_0xea87e5,{'tag':'div','attributes':{'class':_0x14f794},'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',_0x2be64c=>{_0x2be64c['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x3a6fdc,_0x105fcf)=>{this['clear'](),this['fire']('cancel'),_0x105fcf();});}['_handleSubmit'](){const _0x53faa5=this['getValue']()['trim']();_0x53faa5?this['_isValidUrl'](_0x53faa5)?(this['clearError'](),this['fire']('submitUrl',_0x53faa5)):this['setError'](xt(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](xt(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x1cace8=this['getValue']()['trim'](),_0x810e71=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x1cace8['length']>0x0&&!_0x810e71;}['_isValidUrl'](_0x2de2f9){try{return!!new URL(_0x2de2f9);}catch{return!0x1;}}}const _0x2c8eee='ck-ai-chat-resources__item',_0x3be49e='ck-ai-chat-resources__item--in-context',_0x5de5ba='ck-ai-chat-resources__item-title',_0x14bc14='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0xa0ed63['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x3bb3f0,_0x4a152c){super(_0x3bb3f0),this['resource']=_0x4a152c,this['set']('isInContext',!!_0x4a152c['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x1c6272){if(_0x1c6272['isInContext'])return _0xa0ed63['IconCheck'];switch(_0x1c6272['type']){case _0x5f0963['DOCUMENT']:return _0xa0ed63['IconDocument'];case _0x5f0963['URL']:return _0xa0ed63['IconLink'];case _0x5f0963['FILE']:case _0x5f0963['TEXT']:return _0xa0ed63['IconFileUpload'];default:return _0xa0ed63['IconDocumentOutline'];}}['highlightText'](_0x305f2f){if(!_0x305f2f||''===_0x305f2f['trim']())return void this['_titleView']['highlightText'](null);const _0x449664=new RegExp(Ot(_0x305f2f),'gi');this['_titleView']['highlightText'](_0x449664);}['updateResourceState'](_0x586631){this['resource']['isInContext']=_0x586631,this['isInContext']=_0x586631,this['_updateIcon']();}['_createTitleView'](){const _0x35170c=new _0xa0ed63['HighlightedTextView']();return _0x35170c['text']=this['resource']['label'],_0x35170c['extendTemplate']({'tag':'span','attributes':{'class':[_0x5de5ba]}}),_0x35170c;}['_createIconView'](){const _0x4e02f6=new _0xa0ed63['IconView']();return _0x4e02f6['content']=this['getResourceIcon'](this['resource']),_0x4e02f6;}['_setupTemplate'](){const _0x3c8bff=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x2c8eee,_0x3c8bff['if']('isVisible','ck-hidden',_0x17a165=>!_0x17a165),_0x3c8bff['if']('isInContext',_0x3be49e)]},'children':[{'tag':'div','attributes':{'class':[_0x14bc14]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x3c8bff['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x1420b7='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0xa0ed63['ListView']{['_source'];constructor(_0x5bcc50,_0x26f55d){super(_0x5bcc50),this['_source']=_0x26f55d,this['extendTemplate']({'attributes':{'class':[_0x1420b7]}});}['setResources'](_0x38f38,_0x877035){this['items']['clear']();let _0x10e9dd=_0x38f38;if(this['_source']['useDefaultFiltering']&&_0x877035&&''!==_0x877035['trim']()){const _0x3c1e97=new RegExp(_0x877035['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x10e9dd=_0x38f38['filter'](_0xbbfd9f=>_0x3c1e97['test'](_0xbbfd9f['label']));}for(const _0x993b76 of _0x10e9dd){const _0x3647b7=new AIChatResourceListItemView(this['locale'],_0x993b76);_0x3647b7['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x993b76);}),this['items']['add'](_0x3647b7);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x877035);}['highlightText'](_0x58c88b){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x5076e0=>{_0x5076e0['highlightText'](_0x58c88b);});}['updateResourceState'](_0x56cfbe,_0x412a00){for(const _0x3762fa of this['items']){const _0x58548a=_0x3762fa;_0x58548a['resource']['id']===_0x56cfbe&&_0x58548a['updateResourceState'](_0x412a00);}}['_handleResourceSelection'](_0x851f94,_0x2f3073){this['fire']('addResourceToContext',{'source':_0x851f94,'resource':_0x2f3073});}}class AIChatContextResourcesSearchInputView extends _0xa0ed63['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x25a6eb){const t=_0x25a6eb['t'],_0x3cc576={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0xa0ed63['createLabeledInputText'],'label':xt(_0x25a6eb,'AI_CHAT_SEARCH_RESOURCES')};super(_0x25a6eb,_0x3cc576['creator']),this['label']=_0x3cc576['label'],this['_viewConfig']=_0x3cc576,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x25a6eb,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3e9b43){this['fire']('search',_0x3e9b43);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xa0ed63['IconView'](),this['iconView']['content']=_0xa0ed63['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x11fe03,t){this['resetButtonView']=new _0xa0ed63['ButtonView'](_0x11fe03),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xa0ed63['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',_0x2aae5a=>!_0x2aae5a),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);}}class AIChatContextResourcesView extends _0xa0ed63['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x77fccf,_0x47cf9f){super(_0x77fccf),this['_source']=_0x47cf9f['source'],this['_searchInputVisibleFrom']=_0x47cf9f['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 _0xa0ed63['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0xe8eaad=new _0xa0ed63['View'](this['locale']);return _0xe8eaad['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x120d3a,_0x4db5a3)=>{this['loadResources'](_0x4db5a3),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x4db5a3);}),_0xe8eaad;}['_createResourcesListView'](){const _0x14fd32=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x14fd32['delegate']('addResourceToContext')['to'](this),_0x14fd32['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x14fd32;}['_createSkeletonView'](){const _0x291c66=new AISkeletonView(this['locale'],_0x952258['aiChatResources']);return _0x291c66['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x267524=>!_0x267524)]}}),_0x291c66;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x248d77){const _0x2f133d=_0xa0ed63['uid']();this['_latestLoadResourcesUid']=_0x2f133d,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x248d77,'uid':_0x2f133d}),this['isLoading']=!0x0;}['setResources'](_0x3e2690,_0x500604){if(_0x500604&&_0x500604!==this['_latestLoadResourcesUid'])return;const _0x1d0666=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x3e2690,_0x1d0666),_0x3e2690['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x59ee90,_0x2d2d53){this['_resourcesListView']['updateResourceState'](_0x59ee90,_0x2d2d53);}}const _0x1b314a='ck-ai-chat-context-controls__source-balloon-panel',_0x384404='ck-button-icon\x20ck-button-back',_0x28cf56='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x3c2d09,_0x2807cc,_0x29533e){this['_locale']=_0x3c2d09,this['_bodyCollection']=_0x2807cc,this['_config']=_0x29533e;}['showSourceResourcesBalloon']({source:_0x58e92a,withBackButton:_0x1f69f7}){let _0x2b7886=this['_sourceResourceBalloons']['get'](_0x58e92a['id']);_0x2b7886||(_0x2b7886=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x58e92a['id'],_0x2b7886),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x2b7886)),this['_addSourceResourceContent']({'balloonPanel':_0x2b7886,'source':_0x58e92a,'withBackButton':_0x1f69f7}),_0x2b7886['show']();const _0x2933e0=this['_config']['getTargetElement']();_0x2933e0&&_0x2b7886['pin']({'target':_0x2933e0,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x30aede,_0x9ab79a,_0x5e842a){const _0xebf534=this['_sourceResourceBalloons']['get'](_0x30aede);if(!_0xebf534)return;const _0x2e64a0=this['_getResourcesViewFromBalloon'](_0xebf534);_0x2e64a0&&(_0x2e64a0['setResources'](_0x9ab79a,_0x5e842a),_0x2e64a0['once']('change:isLoading',()=>{_0xebf534['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x55a2f5){const _0x52ba9c=this['_sourceResourceBalloons']['get'](_0x55a2f5);_0x52ba9c&&requestAnimationFrame(()=>{_0x52ba9c['hide'](),this['_sourceResourceBalloons']['delete'](_0x55a2f5),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x176a8f of this['_sourceResourceBalloons']['values']())if(_0x176a8f['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x3b52c3,_0x27dc02,_0x27d044){const _0x2f16b1=this['_sourceResourceBalloons']['get'](_0x3b52c3);if(!_0x2f16b1||!_0x2f16b1['isVisible'])return;const _0x34907d=this['_config']['getTargetElement']();if(!_0x34907d)return;_0x2f16b1['pin']({'target':_0x34907d,'limiter':this['_config']['getLimiterElement']()});const _0xb17e45=this['_getResourcesViewFromBalloon'](_0x2f16b1);_0xb17e45&&_0xb17e45['updateResourceState'](_0x27dc02,_0x27d044);}['destroy'](){for(const _0x287e77 of this['_sourceResourceBalloons']['values']())_0x287e77['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x18fdb6=new _0xa0ed63['BalloonPanelView'](this['_locale']);return _0x18fdb6['extendTemplate']({'attributes':{'class':_0x1b314a}}),this['_bodyCollection']['add'](_0x18fdb6),_0x18fdb6;}['_addSourceResourceContent']({balloonPanel:_0x1307f0,source:_0x25f0f9,withBackButton:_0x6db3a8}){_0x1307f0['content']['clear']();const _0x297b3e=this['_createBalloonHeader']({'balloonPanel':_0x1307f0,'source':_0x25f0f9,'withBackButton':_0x6db3a8});_0x1307f0['content']['add'](_0x297b3e);const _0x3d3ff8=this['_createBalloonResourcesView'](_0x25f0f9);_0x1307f0['content']['add'](_0x3d3ff8);}['_createBalloonHeader']({balloonPanel:_0x1514a3,source:_0x2e544d,withBackButton:_0x6626be}){const _0x11c57c=new _0xa0ed63['FormHeaderView'](this['_locale'],{'label':_0x2e544d['label'],'class':_0x28cf56});return _0x6626be&&_0x11c57c['children']['add'](this['_createBackButton'](_0x1514a3),0x0),_0x11c57c;}['_createBackButton'](_0x61ed99){const _0x11373a=new _0xa0ed63['ButtonView'](this['_locale']);return _0x11373a['set']({'icon':_0xa0ed63['IconPreviousArrow'],'tooltip':xt(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':_0x384404}),_0x11373a['on']('execute',()=>{_0x61ed99['hide'](),this['_config']['onBackToContext']();}),_0x11373a;}['_createBalloonResourcesView'](_0x5e7ae4){const _0x43f787=new AIChatContextResourcesView(this['_locale'],{'source':_0x5e7ae4,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x43f787['on']('loadSourceResources',(_0x283523,_0x32c7ae)=>{this['_config']['onLoadSourceResources'](_0x32c7ae);}),_0x43f787['on']('addResourceToContext',(_0x3e595a,_0x153c99)=>{this['_config']['onResourceSelected'](_0x153c99['source'],_0x153c99['resource']),this['closeSourceResourceBalloon'](_0x5e7ae4['id']);}),_0x43f787;}['_getResourcesViewFromBalloon'](_0x224dc4){const _0x1a3b04=_0x224dc4['content']['get'](0x1);return _0x1a3b04 instanceof AIChatContextResourcesView?_0x1a3b04:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x124e7e){_0xa0ed63['clickOutsideHandler']({'emitter':_0x124e7e,'contextElements':[_0x124e7e['element']],'callback':()=>{_0x124e7e['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x124e7e['isVisible']});}}const _0x177bc5=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x3153af='ck-ai-chat-context-controls',_0x554ac6='ck-ai-chat-context-controls__pending-contexts',_0xc34121='ck-ai-chat-context-controls__add-context-balloon-panel',_0x2b9c98='ck-ai-chat-context-controls__add-context-button',_0x938c0a='ck-ai-chat-context-controls__url-balloon-panel',_0x8fbaa6='ck-ai-chat-context-controls__balloon-button',_0x122b99='ck-ai-chat-context-controls__balloon-button-source',_0x319dc0='ck-ai-chat-controls-button',_0x238ce3='ck-ai-chat-context-chips-wrapper-balloon',_0x41d923='ck-ai-chat-controls_context_show-more-button',_0x38d45a='ck-ai-chat-context-controls__show-more-balloon-panel',_0x43eeb1='ck-ai-chat',_0x226fe5=[_0xa0ed63['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0xa0ed63['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0xa0ed63['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0xa0ed63['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0xa0ed63['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0xa0ed63['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0xa0ed63['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x3187ec,_0x11fbfc){super(_0x3187ec),this['bodyCollection']=_0x11fbfc['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x3187ec),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x3187ec),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x3187ec),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x3187ec,_0x11fbfc);const _0x36ef6f={'cssClasses':{'showMoreButton':_0x41d923,'showMoreBalloon':_0x38d45a,'overflowContainer':_0x238ce3,'controlsButton':_0x319dc0}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x3187ec,this['_currentContextsChips'],_0x36ef6f,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'](_0x17c7c3,_0x5b1a70){const _0x429bae=this['_createContextButton'](_0x17c7c3,'current',!0x0,_0x5b1a70);this['_addContextToCollection'](_0x429bae,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x50c21b){this['_removeContextFromCollection'](_0x50c21b,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x50c21b,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x3bd920,_0x51fbe8){let _0x528106=this['_currentContextsChips']['find'](_0x3ae574=>_0x3ae574['id']===_0x3bd920);_0x528106||(_0x528106=this['_overflowManager']['overflowChips']['find'](_0x385e08=>_0x385e08['id']===_0x3bd920)),_0x528106&&(_0x528106['isLoading']=_0x51fbe8);}['setConversationContext'](_0x198273){this['_conversationContextsChips']['clear']();for(const _0x2da715 of _0x198273){const _0x266df4=this['_createContextButton'](_0x2da715,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x266df4,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x14e160,_0x1ff3a8,_0x5b9e36){this['_resourcesBalloonView']['updateResourceState'](_0x14e160,_0x1ff3a8,_0x5b9e36);}['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;}['_showSourceResourcesBalloon']({source:_0x111f74,withBackButton:_0x5becb5}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x111f74,'withBackButton':_0x5becb5}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x294784,_0x104ce8,_0x7567d0,_0x588689){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x294784,_0x7567d0,_0x588689);}['closeSourceResourceBalloon'](_0x1b57e7){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x1b57e7),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x4f891b){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x4f891b),this['_setAddContextButtonEnabled'](_0x4f891b);}['_setAddContextButtonEnabled'](_0x2e8505){const _0x20f25d=!_0x2e8505['document']['isHidden']&&_0x2e8505['document']['enabled'],_0x3b014b=_0x2e8505['urls']['enabled'],_0x37ec98=_0x2e8505['files']['enabled'],_0x133e59=_0x2e8505['sources']['length']>0x0,_0x4f6689=_0x2e8505['customItems']&&_0x2e8505['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x20f25d||_0x3b014b||_0x37ec98||_0x133e59||_0x4f6689;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x3153af,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x554ac6},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x4747bb){const _0x44338d=new _0xa0ed63['ButtonView'](_0x4747bb);return _0x44338d['set']({'label':xt(_0x4747bb,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x319dc0+'\x20'+_0x2b9c98,'icon':_0xa0ed63['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x44338d;}['_createAddContextBalloonPanelView'](_0x38e9b5){return this['_createBaseBalloonPanel'](_0x38e9b5,_0xc34121);}['_createUrlBalloonPanelView'](_0x154577){const _0x2bac68=this['_createBaseBalloonPanel'](_0x154577,_0x938c0a);return this['_addUrlContent'](_0x2bac68,_0x154577),_0x2bac68;}['_createResourcesBalloonView'](_0x7ef6,_0xd641d1){const _0x2af3f1={'searchInputVisibleFrom':_0xd641d1['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x226fe5});},'onResourceSelected':(_0x1b4e22,_0x14cbca)=>{this['fire']('addResourceToContext',{'source':_0x1b4e22,'resource':_0x14cbca});},'onLoadSourceResources':_0x35441d=>{this['fire']('loadSourceResources',_0x35441d);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x7ef6,_0xd641d1['bodyCollection'],_0x2af3f1);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x43eeb1)||document['body'];}['_createBaseBalloonPanel'](_0x301740,_0x2fa3be){const _0x1bc53c=new _0xa0ed63['BalloonPanelView'](_0x301740);return _0x1bc53c['extendTemplate']({'attributes':{'class':_0x2fa3be}}),this['bodyCollection']['add'](_0x1bc53c),_0x1bc53c;}['_setBalloonPanelContent'](_0x1cad64,_0x32c013,_0x27f02e){if(_0x1cad64['content']['clear'](),!_0x27f02e['document']['isHidden']&&_0x27f02e['document']['enabled']){const _0x80c19f=this['_createBalloonButton'](_0x32c013,{'label':xt(_0x32c013,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0xa0ed63['IconDocument']});_0x80c19f['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x1cad64['content']['add'](_0x80c19f);}if(_0x27f02e['urls']['enabled']){const _0x48fd06=this['_createBalloonButton'](_0x32c013,{'label':xt(_0x32c013,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0xa0ed63['IconLink']});_0x48fd06['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x226fe5}),this['_urlInputView']['focus']();}),_0x1cad64['content']['add'](_0x48fd06);}if(_0x27f02e['files']['enabled']){const _0x22c05d=new _0xa0ed63['FileDialogButtonView'](_0x32c013);_0x22c05d['set']({'label':xt(_0x32c013,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0xa0ed63['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x8fbaa6,'allowMultipleFiles':!0x0}),_0x22c05d['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x22c05d['on']('done',(_0x3140f9,_0x2d163e)=>{this['fire']('addFileToContext',_0x2d163e);}),_0x22c05d['tooltip']=!0x0,_0x1cad64['content']['add'](_0x22c05d);}for(const _0x1d9972 of _0x27f02e['sources']){const _0x3da197=this['_createBalloonButton'](_0x32c013,{'label':_0x1d9972['label'],'icon':_0x1d9972['icon']||_0xa0ed63['IconDocumentOutline'],'type':'source'});_0x1cad64['content']['add'](_0x3da197),_0x3da197['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x1d9972,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x1df4c2 of _0x27f02e['customItems']||[]){const _0x3fa5e9=this['_createBalloonButton'](_0x32c013,{'label':_0x1df4c2['label'],'icon':_0x1df4c2['icon']||_0xa0ed63['IconDocumentOutline'],'type':'customItem'});_0x1cad64['content']['add'](_0x3fa5e9),_0x3fa5e9['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x1df4c2);});}this['_hasExactlyOneSource']=0x1===_0x1cad64['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x289bd7,_0x2a0944){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x2a0944),this['_urlInputView']['on']('submitUrl',(_0x2616ad,_0x502f0d)=>{this['_handleUrlSubmit'](_0x502f0d);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x226fe5}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x226fe5});}),_0x289bd7['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x4b4b15,_0x262da7){const _0x5080b9='source'===_0x262da7['type']?new SourcesBalloonButtonView(_0x4b4b15):new _0xa0ed63['ButtonView'](_0x4b4b15);return _0x5080b9['set']({'label':_0x262da7['label'],'icon':_0x262da7['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x8fbaa6}),_0x5080b9;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){_0xa0ed63['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x3936c3){const _0x160fe3=this['_addContextBalloonConfig'];_0x160fe3['buttonView']['isOn']=_0x3936c3,_0x3936c3?_0x160fe3['balloonView']['show']():_0x160fe3['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x1027b5,buttonView:_0x442cb7,hideMethod:_0x520a22}=this['_addContextBalloonConfig'];_0xa0ed63['clickOutsideHandler']({'emitter':_0x1027b5,'contextElements':[_0x1027b5['element'],_0x442cb7['element']],'callback':()=>{_0x520a22();},'activator':()=>_0x442cb7['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x4bae6e,_0x55201e,_0x406314=!0x1,_0x4280d4=!0x1){const _0x6a35d2='conversation'===_0x55201e||!0x0===_0x4bae6e['isReadOnly'],_0x18fdc5=new AIChatContextItemButtonView(this['locale'],_0x4bae6e,_0x6a35d2,_0x406314,_0x4280d4);return _0x6a35d2||_0x18fdc5['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x18fdc5['id']);}),_0x18fdc5;}['_addContextToCollection'](_0x3d7b45,_0x5b1114){_0x5b1114['add'](_0x3d7b45,0x0);}['_removeContextFromCollection'](_0x4ec28d,_0x3130dd){const _0x4d0a06=_0x3130dd['find'](_0x46f45a=>_0x46f45a['id']===_0x4ec28d);_0x4d0a06&&_0x3130dd['remove'](_0x4d0a06);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x226fe5}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x50e121){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x50e121);}}class SourcesBalloonButtonView extends _0xa0ed63['ButtonView']{['arrowView'];constructor(_0x42c491){super(_0x42c491),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x122b99]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x1faa06=new _0xa0ed63['IconView']();return _0x1faa06['content']=_0xa0ed63['IconDropdownArrow'],_0x1faa06['extendTemplate']({'attributes':{'class':_0x122b99+'__arrow'}}),_0x1faa06;}}class AIChatControlsLoaderView extends _0xa0ed63['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x3f40cd){super(_0x3f40cd),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 _0x31c243=new _0xa0ed63['ButtonView'](this['locale']);return _0x31c243['set']({'label':xt(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':_0xa0ed63['IconStop']}),_0x31c243['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x31c243;}['_createLoaderView'](){const _0x42a7c3=new _0xa0ed63['View'](this['locale']);return _0x42a7c3['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':xt(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x42a7c3;}}class AIChatControlsView extends _0xa0ed63['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x31b797,_0x2ae366){super(_0x31b797),this['_contextPanelView']=this['_createContextPanelView'](_0x31b797,{'bodyCollection':_0x2ae366['bodyCollection'],'searchInputVisibleFrom':_0x2ae366['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x31b797),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x31b797),this['_loaderView']=this['_createLoaderView'](_0x31b797),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x31b797),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage')['to'](this),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'](..._0x177bc5)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x4a3e1a=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x4a3e1a['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x4a3e1a['if']('isLoading','ck-hidden',_0x53dca6=>_0x53dca6||!this['isModelAvailable']),_0x4a3e1a['if']('isModelAvailable','ck-hidden',_0x45a6e2=>!_0x45a6e2||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x4a3e1a['if']('isLoading','ck-hidden',_0x3d927d=>!_0x3d927d)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x4a3e1a['if']('isModelAvailable','ck-hidden',_0x2bb943=>_0x2bb943)]},'children':[this['_modelUnavailableMessageView']]}]}),_0xa0ed63['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0x1dda60,_0x361676){return new AIChatContextPanelView(_0x1dda60,_0x361676);}['_createPromptInputView'](_0x3c5d28){return new AIChatPromptInputView(_0x3c5d28,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x2c27b3){return new AIChatPromptCapabilitiesView(_0x2c27b3);}['_createLoaderView'](_0x52ad94){return new AIChatControlsLoaderView(_0x52ad94);}['_createModelUnavailableMessageView'](_0x36b7a8){const _0x46ef67=new AIChatModelUnavailableMessageView(_0x36b7a8);return _0x46ef67['delegate']('startConversation')['to'](this),_0x46ef67;}['_handlePromptInputFocus'](_0x194242,_0x50c89a,_0x57d7c5){_0x57d7c5?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x4c4706,_0x336221){this['_contextPanelView']['addContextItem'](_0x4c4706,_0x336221);}['removeContextItem'](_0x4efca4){this['_contextPanelView']['removeContextItem'](_0x4efca4);}['setContextItemLoading'](_0xb710ab,_0x2c0d02){this['_contextPanelView']['setContextItemLoading'](_0xb710ab,_0x2c0d02);}['setIsUploadInProgress'](_0x28eff1){this['_promptInputView']['setIsUploadInProgress'](_0x28eff1);}['setConversationContext'](_0x12e794){this['_contextPanelView']['setConversationContext'](_0x12e794);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x616ae5,_0x195476,_0x57f300){this['_contextPanelView']['updateResourceState'](_0x616ae5,_0x195476,_0x57f300);}['setWebSearch'](_0x5d60a3){this['_promptCapabilitiesView']['setWebSearch'](_0x5d60a3);}['setReasoning'](_0x560514){this['_promptCapabilitiesView']['setReasoning'](_0x560514);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x58494f){this['_contextPanelView']['setAddContextOptions'](_0x58494f);}['setInputPlaceholder'](_0x3ba4c9){this['_promptInputView']['setPlaceholderText'](_0x3ba4c9);}['setModelList'](_0x2659fd,_0x16ca6f){this['_promptCapabilitiesView']['setModelList'](_0x2659fd,_0x16ca6f);}['setModel'](_0x323d38){_0x323d38?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x323d38)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x1921e9){this['_promptCapabilitiesView']['disableModelSelector'](_0x1921e9);}['populateSourceResourceBalloon'](_0x232581,_0xeea87,_0x1c3826,_0x1dc08a){this['_contextPanelView']['populateSourceResourceBalloon'](_0x232581,_0xeea87,_0x1c3826,_0x1dc08a);}['closeSourceResourceBalloon'](_0x1a709b){this['_contextPanelView']['closeSourceResourceBalloon'](_0x1a709b);}['focusPromptInput'](_0x149dc0=!0x1){this['_promptInputView']['focus'](_0x149dc0);}['setPromptInputValue'](_0x4e1161){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x4e1161;}}class AIChatModelUnavailableMessageView extends _0xa0ed63['View']{constructor(_0x493a96){super(_0x493a96);const _0x3bbcce=new _0xa0ed63['ButtonView'](_0x493a96);_0x3bbcce['set']({'label':xt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x3bbcce['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':xt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x3bbcce]}]});}}class AIChatHeaderView extends _0xa0ed63['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x5aa2c8,_0x2a9b2d){super(_0x5aa2c8,{'label':xt(_0x5aa2c8,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':_0xa0ed63['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x5aa2c8),this['children']['add'](this['conversationStartButton']),_0x2a9b2d&&(this['resizeButton']=Rt(_0x5aa2c8,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x38c219){const _0x5b07ec=new _0xa0ed63['ButtonView'](_0x38c219);return _0x5b07ec['set']({'label':xt(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0xa0ed63['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x5b07ec['on']('execute',()=>{this['fire']('startConversation');}),_0x5b07ec;}}class _0x29ce6e extends _0xa0ed63['View']{constructor(_0x38bc80){super(_0x38bc80),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':xt(_0x38bc80,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends _0xa0ed63['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x158e97,_0x29302d){super(_0x158e97),this['_bodyCollection']=new _0xa0ed63['BodyCollection'](_0x158e97),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x158e97,_0x29302d['showResizeButton']),this['chatHeader']['delegate'](..._0x353c0f)['to'](this),this['chatFeed']=new AIChatFeedView(_0x158e97,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x353c0f)['to'](this),this['chatControls']=new AIChatControlsView(_0x158e97,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x29302d['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x353c0f)['to'](this),this['chatDisclaimer']=new _0x29ce6e(_0x158e97),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x158e97['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x52ad61,_0x2c686d,_0x36e3c1,_0x38a9b6){this['chatControls']['populateSourceResourceBalloon'](_0x52ad61,_0x2c686d,_0x36e3c1,_0x38a9b6);}['closeSourceResourceBalloon'](_0x37b192){this['chatControls']['closeSourceResourceBalloon'](_0x37b192);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[_0x5c6477];}['_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(_0x559bb2){super(_0x559bb2);const _0x35a414=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x44f3f2(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x35a414['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x353c0f)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x7339eb,{showDiff:_0x2e638f})=>{this['showDiff']=_0x2e638f;}),_0x35a414['view']['addTab']({'id':'chat','buttonLabel':xt(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0xa0ed63['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x344fd7=>_0x344fd7),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x367ec4=>_0x367ec4),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0xf43b41){const _0x240c72=this['context']['config']['get']('ai.chat.welcomeMessage')??xt(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0xf43b41['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x240c72}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x4f44ce,staticMessage:_0x33541a}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x4f44ce,'initialContent':'<p>'+_0x33541a+'</p>'});}['addFeedItemUserMessage'](_0x1b2413){const _0x3f5d72=_0x1b2413['attributes']?.['displayedPrompt']||_0x1b2413['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x1b2413['contextItems']['values']()),'initialContent':'<p>'+_0x3f5d72+'</p>','id':_0x1b2413['id']});}['addFeedItemError']({errorMessage:_0x39db2c,id:_0x22f3b7}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x39db2c+'</p>','id':_0x22f3b7});}['addFeedItemAIReply'](_0x1af5a3){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x1af5a3['interactionId']+':'+_0x1af5a3['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x30ae9b){const _0x29cd6d=ta(this['context']);let _0x648ed2=_0x29cd6d['config']['get']('ai.availableReplyActions')||[..._0x25fb3e];if(_0x29cd6d['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0xd7266b=_0x29cd6d['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0xd7266b,'value');}}else _0x648ed2=_0x648ed2['filter'](_0x24c20b=>'insertSuggestion'!=_0x24c20b);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x30ae9b['interactionId']+':'+_0x30ae9b['id'],'areActionsDisabled':_0x30ae9b['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x648ed2}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0x3a251b,_0x49df54){const _0x507466=this['_view']['chatFeed']['children']['last'];if(_0x507466 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x507466),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x3a251b['id'],'capabilities':{'isWebSearchEnabled':_0x507466['capabilities']['isWebSearchEnabled']||_0x49df54['isWebSearchEnabled'],'isReasoningEnabled':_0x507466['capabilities']['isReasoningEnabled']||_0x49df54['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x3a251b['id'],'capabilities':_0x49df54});}async['addFeedItemCustomElement'](_0x42ef39,_0x282434){let _0x4ec298;return await this['_promiseQueue']['enqueue'](async()=>{_0x4ec298=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x42ef39,'id':_0x282434});}),_0x4ec298;}['removeFeedItem'](_0x5bf727){this['_view']['chatFeed']['removeItem'](_0x5bf727);}['hasFeedItem'](_0x3123a2){return this['_view']['chatFeed']['hasItem'](_0x3123a2);}['updateFeedInteractionHeader'](_0x46f9e4){const _0x5a6e7f=this['_view']['chatFeed']['children']['find'](_0x5e4188=>_0x5e4188['options']['id']==_0x46f9e4['id']&&_0x5e4188 instanceof AIChatFeedInteractionHeaderView);_0x5a6e7f&&_0x5a6e7f['set']('isVisible',_0x46f9e4['isVisible']);}async['updateFeedItemAIReplyContent'](_0x4eea3b){const _0x1cf2a4=_0x4eea3b['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x3040c9=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x4eea3b,'abortSignal':_0x3040c9,'renderingStrategy':_0x1cf2a4}),_0x4eea3b['isDone']&&this['markFeedItemAsDone'](_0x4eea3b['id']);});}['updateFeedItemAIReplySources'](_0x324231,_0x22a14c){this['_view']['chatFeed']['updateWebSources'](_0x324231,_0x22a14c);}async['updateFeedItemAIReplySuggestionContent'](_0x3228a3){const _0xf25407=_0x3228a3['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x36546f=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x3228a3,'abortSignal':_0x36546f,'renderingStrategy':_0xf25407}),_0x3228a3['isDone']&&this['markFeedItemAsDone'](_0x3228a3['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x11b029){this['_view']['chatFeed']['updateSuggestionPartState'](_0x11b029);}['setFeedItemAIReplySuggestionPartActive'](_0x150a13){this['_view']['chatFeed']['setSuggestionPartActive'](_0x150a13);}['markFeedItemAsDone'](_0x179b17){this['_view']['chatFeed']['markItemAsDone'](_0x179b17);}['removeFeedInteraction'](_0x3b4dd9){this['_view']['chatFeed']['getItemIds']()['filter'](_0x41b3ee=>_0x41b3ee['startsWith'](_0x3b4dd9))['forEach'](_0x3e3e61=>this['_view']['chatFeed']['removeItem'](_0x3e3e61));}['startInteraction'](){const _0x6b1f87=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x6b1f87),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x258811){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x3dac4b=>_0x3dac4b['startsWith'](_0x258811['id']))['forEach'](_0x4fd0a6=>this['markFeedItemAsDone'](_0x4fd0a6)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x36928c,_0x5894c0){this['_view']['chatControls']['addContextItem'](_0x36928c,_0x5894c0);}['removeContextItem'](_0x4a7afb){this['_view']['chatControls']['removeContextItem'](_0x4a7afb);}['setContextItemLoading'](_0x2082cd,_0x885562){this['_view']['chatControls']['setContextItemLoading'](_0x2082cd,_0x885562);}['setIsUploadInProgress'](_0x4eb1a9){this['_view']['chatControls']['setIsUploadInProgress'](_0x4eb1a9);}['setConversationContext'](_0xa7786b){this['_view']['chatControls']['setConversationContext'](_0xa7786b);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x1eefa9,_0x30bdf6,_0x4bbdf6){this['_view']['chatControls']['updateResourceState'](_0x1eefa9,_0x30bdf6,_0x4bbdf6);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x361032){this['_view']['chatControls']['setAddContextOptions'](_0x361032);}['updateCapabilities'](_0x2d394d){this['_view']['chatControls']['setWebSearch'](_0x2d394d['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x2d394d['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x2d394d));}['setSelectedModel'](_0x1a2bf0,_0x2ac00d){this['_view']['chatControls']['setModel'](_0x1a2bf0),_0x2ac00d&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x1e1ded){this['feedItemRenderingStrategy']=_0x1e1ded;}['toggleLoadingSkeleton'](_0xb6cd18){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0xb6cd18);}['resetConversationTitle'](){this['setConversationTitle'](xt(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x56ed00,_0x16478b=!0x1){if(_0x16478b&&!_0xa0ed63['_isMotionReduced']()&&_0x56ed00['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x56ed00);this['_view']['chatHeader']['label']=_0x56ed00;}['setLoadingMessage'](_0x35618a){this['_view']['chatFeed']['setLoadingMessage'](_0x35618a);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x3717e4){let _0x212d59=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x3717e4[_0x212d59],_0x212d59++,_0x212d59===_0x3717e4['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['setIsMaximized'](_0x202302){this['_view']['chatHeader']['isMaximized']=_0x202302;}['prepareLoadingMessage'](_0x429a97){return _0x429a97['isWebSearchEnabled']&&_0x429a97['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x429a97['isWebSearchEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x429a97['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x4773e5){return _0x4773e5?_0x4773e5['isWebSearchEnabled']&&_0x4773e5['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x4773e5['isWebSearchEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x4773e5['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x19f488,_0x220602,_0x28979f,_0x29b1fe){this['_view']['populateSourceResourceBalloon'](_0x19f488,_0x220602,_0x28979f,_0x29b1fe);}['closeSourceResourceBalloon'](_0x2a7a04){this['_view']['closeSourceResourceBalloon'](_0x2a7a04);}['setPromptInputValue'](_0x5052b2){this['_view']['chatControls']['setPromptInputValue'](_0x5052b2);}['focusPromptInput'](_0x7a0fe7=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x7a0fe7);}['scrollFeedToSuggestion'](_0x3658d6,_0x5cfcba){this['_view']['chatFeed']['scrollToSuggestion'](_0x3658d6,_0x5cfcba);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0xa0ed63['ListView']{['sections'];constructor(_0x55360b,_0x567aba){super(_0x55360b),this['sections']=_0x567aba,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x16a00f){let _0x481bc5=0x0,_0x54550e=0x0;for(const _0x5a5f26 of this['sections']){const {resultsCount:_0x3a3a0f,totalItemsCount:_0x33afc4}=_0x5a5f26['filter'](_0x16a00f);_0x481bc5+=_0x3a3a0f,_0x54550e+=_0x33afc4;}return{'resultsCount':_0x481bc5,'totalItemsCount':_0x54550e};}}class AIChatHistoryListView extends _0xa0ed63['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x5cde62,{title:_0x3cdb42,items:_0x4fa66a}){super(_0x5cde62);const _0x4cf5ea=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x3cdb42,this['itemsViews']=_0x4fa66a;const _0x220df7=new _0xa0ed63['View'](_0x5cde62);_0x220df7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0xa0ed63['ListView'](_0x5cde62),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x4cf5ea['if']('isVisible','ck-hidden',_0x26797a=>!_0x26797a)]},'children':[_0x220df7,this['_itemsListView']]});}['filter'](_0x215470){const _0x333f37=this['itemsViews']['length'];let _0x3db113=0x0;for(const _0x221e14 of this['itemsViews']){if(_0x215470){const _0x1e9ee4=_0x221e14['isMatching'](_0x215470);_0x221e14['isVisible']=!!_0x1e9ee4,_0x221e14['highlightText'](_0x215470);}else _0x221e14['isVisible']=!0x0,_0x221e14['highlightText'](null);_0x221e14['isVisible']&&_0x3db113++;}return this['isVisible']=_0x3db113>0x0,{'resultsCount':_0x3db113,'totalItemsCount':_0x333f37};}['getItem'](_0x4f775a){return this['itemsViews']['find'](_0x49c00d=>_0x49c00d['id']===_0x4f775a);}['removeItem'](_0x51b533){const _0x39b4bf=this['itemsViews']['indexOf'](_0x51b533);-0x1!==_0x39b4bf&&(this['itemsViews']['splice'](_0x39b4bf,0x1),this['_itemsListView']['items']['remove'](_0x51b533));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x37545e(_0xa0ed63['ListItemView']){['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(_0x363278,_0x4a7c13){super(_0x363278);const _0x5e8da7=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x4a7c13['pinned']),this['set']('loadingState',null),this['id']=_0x4a7c13['id'];const {title:_0x4a3728,createdAt:_0x3178df,active:_0x3b069e=!0x1}=_0x4a7c13;this['_titleView']=new _0xa0ed63['HighlightedTextView'](),this['_titleView']['text']=_0x4a3728,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x3415d0=this['_createCheckView'](),_0x19239b=this['_createPinButtonView'](_0x363278),_0xe7785f=this['_createMenuDropdownView'](),_0x304148=this['_createEditInputView'](_0x363278,_0x4a3728),_0xb69623=this['_createAcceptEditButtonView'](_0x363278,_0x304148),_0x3eea67=this['_createCancelEditButtonView'](_0x363278,_0x304148);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x19239b),this['actions']['add'](_0xe7785f),this['on']('change:isEdit',(_0x44bb4c,_0x2092a9,_0x1d9ba7)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x1d9ba7?(this['actions']['add'](_0xb69623),this['actions']['add'](_0x3eea67),this['mainContent']['add'](_0x304148),_0x304148['element']['focus']()):(this['actions']['add'](_0x19239b),this['actions']['add'](_0xe7785f),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x3b069e?'ck-ai-chat-history__item--active':'',_0x5e8da7['if']('isVisible','ck-hidden',_0x52cba4=>!_0x52cba4),_0x5e8da7['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',_0x5e8da7['if']('loadingState','ck-hidden',_0x3c7289=>!!_0x3c7289)]},'children':_0x3b069e?[_0x3415d0]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x5e8da7['if']('loadingState','ck-hidden',_0x4fa62c=>!_0x4fa62c)]},'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',_0x5e8da7['if']('loadingState','ck-hidden',_0x436628=>!!_0x436628)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x5e8da7['if']('loadingState','ck-hidden',_0xbd84bf=>!_0xbd84bf)]},'children':[{'text':_0x5e8da7['to']('loadingState',_0x27f166=>_0x27f166?xt(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x27f166]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x3178df]}]},{'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'](_0x34fd46){this['_titleView']['text']=pt(_0x34fd46);}['updateLoadingState'](_0x18033d,_0x4a7f3d){this['set']('loadingState',_0x4a7f3d?_0x18033d:null);}['_createCheckView'](){const _0x21aed=new _0xa0ed63['IconView']();return _0x21aed['set']({'content':_0xa0ed63['IconCheck']}),_0x21aed;}['_createPinButtonView'](_0x538d1f){const _0xa82f5b=new _0xa0ed63['ButtonView'](_0x538d1f);return _0xa82f5b['set']({'label':xt(_0x538d1f,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0xa0ed63['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0xa82f5b['bind']('isOn')['to'](this,'pinned'),_0xa82f5b['on']('execute',()=>{const _0x1f1056=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x1f1056});}),_0xa82f5b;}['_createMenuDropdownView'](){const _0x5897f7=_0xa0ed63['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x2d5664=_0x5897f7['panelView']['children'];_0x5897f7['buttonView']['set']({'label':xt(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0xa0ed63['IconThreeHorizontalDots']}),_0x5897f7['panelPosition']='sw';const _0x410f98=new _0xa0ed63['ButtonView'](this['locale']);_0x410f98['label']=xt(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x410f98['withText']=!0x0,_0x410f98['on']('execute',()=>{this['isEdit']=!0x0;});const _0x729b24=new _0xa0ed63['ButtonView'](this['locale']);_0x729b24['label']=xt(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x729b24['withText']=!0x0,_0x729b24['on']('execute',()=>{this['showConfirm'](xt(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x3fe983=new _0xa0ed63['ListView'](this['locale']),_0x5b51f0=new _0xa0ed63['ListItemView'](this['locale']);_0x5b51f0['children']['add'](_0x410f98);const _0x9fb636=new _0xa0ed63['ListItemView'](this['locale']);return _0x9fb636['children']['add'](_0x729b24),_0x3fe983['items']['addMany']([_0x5b51f0,_0x9fb636]),_0x2d5664['add'](_0x3fe983),_0x5897f7;}['_createEditInputView'](_0x1b73c2,_0xc26d7a){const _0x557c54=new _0xa0ed63['InputTextView'](_0x1b73c2),_0x4771b4=_0x557c54['bindTemplate'];return _0x557c54['value']=_0xc26d7a,_0x557c54['extendTemplate']({'on':{'keydown':_0x4771b4['to'](_0x1a8c20=>{'Enter'==_0x1a8c20['key']&&this['_commitEditInputValue'](_0x557c54);})}}),_0x557c54;}['_createAcceptEditButtonView'](_0x59dff9,_0x943044){const _0x3a1220=new _0xa0ed63['ButtonView'](_0x59dff9);return _0x3a1220['set']({'icon':_0xa0ed63['IconCheck'],'withText':!0x1,'tooltip':xt(_0x59dff9,'AI_CHAT_HISTORY_ACCEPT')}),_0x3a1220['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x3a1220['on']('execute',()=>{this['_commitEditInputValue'](_0x943044);}),_0x3a1220;}['_commitEditInputValue'](_0x33f651){const _0x32433c=_0x33f651['element']['value']||'';this['_titleView']['text']=_0x32433c,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x32433c});}['_createCancelEditButtonView'](_0x434597,_0xd48cfd){const _0x328168=new _0xa0ed63['ButtonView'](_0x434597);return _0x328168['set']({'icon':_0xa0ed63['IconCancel'],'withText':!0x1,'tooltip':xt(_0x434597,'AI_CHAT_HISTORY_CANCEL')}),_0x328168['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x328168['on']('execute',()=>{this['isEdit']=!0x1,_0xd48cfd['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x328168;}['_createSpinnerView'](){const _0xce13a6=new _0x5ccda7('tiny');return _0xce13a6['isVisible']=!0x0,_0xce13a6;}['isMatching'](_0x552962){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x552962)?{'title':!0x0}:null;}['highlightText'](_0x28fdb3){this['_titleView']['highlightText'](_0x28fdb3);}}class AIChatHistoryView extends _0xa0ed63['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x2ddf77,_0x31a1d0){super(_0x2ddf77),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x207bbb=new _0xa0ed63['FormHeaderView'](_0x2ddf77,{'label':xt(_0x2ddf77,'AI_CHAT_HISTORY_HEADING'),'icon':_0xa0ed63['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x31a1d0&&(this['resizeButton']=Rt(_0x2ddf77,this),_0x207bbb['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x2ddf77,[]),this['sectionsView']['delegate'](..._0x3c113d)['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',_0x5c05b2=>!_0x5c05b2)]}}),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':[_0x207bbb,{'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 _0x145208=new _0xa0ed63['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x45f1d9=>xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x45f1d9),'secondary':xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x47f752=this['_createErrorView']();return _0x47f752['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x30c046=>!_0x30c046)]}}),_0x145208['on']('render',()=>{_0x145208['children']['add'](_0x47f752,0x1);}),_0x145208['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x5eaae9=>!_0x5eaae9)]}}),_0x145208;}['_createSkeletonView'](){const _0x40afd2=new AISkeletonView(this['locale'],_0x952258['aiHistory']);return _0x40afd2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0xc45ad0=>!_0xc45ad0)]}}),_0x40afd2;}['_createErrorView'](){const _0x5164e4=new _0xa0ed63['View'](this['locale']),_0x14278e=new _0xa0ed63['ButtonView'](this['locale']);_0x14278e['set']({'withText':!0x1,'icon':_0xa0ed63['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x14278e['bind']('isVisible')['to'](this,'hasItems',_0x22eb1d=>!!_0x22eb1d),_0x14278e['on']('execute',()=>{this['errorMessage']='';});const _0x582669=this['bindTemplate'];return _0x5164e4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x582669['to']('errorMessage')}]},_0x14278e]}),_0x5164e4;}['_createEmptyStateView'](){const _0x4e89b2=new _0xa0ed63['ButtonView'](this['locale']);_0x4e89b2['set']({'label':xt(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0xa0ed63['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x4e89b2['on']('execute',()=>{this['fire']('openChat');});const _0x3f5ca8=new _0xa0ed63['View'](this['locale']);return _0x3f5ca8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x5d7ccc=>!_0x5d7ccc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[xt(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x4e89b2]}),_0x3f5ca8;}['_createListItemViews'](_0x4323f7,_0x1c669f){const _0x27cc2a=[];for(const _0x359b42 of _0x4323f7){const _0x6c8c35=new AIChatHistoryListItemView(_0x1c669f,_0x359b42);_0x6c8c35['delegate'](..._0x3c113d)['to'](this),_0x27cc2a['push'](_0x6c8c35);}return _0x27cc2a;}['updateHistoryItemsWithCategories'](_0x26151e){const _0x1b07e0=this['locale']||'en',_0x46451e=[];for(const _0x33336e of _0x26151e){const _0x4c9660=this['_createListItemViews'](_0x33336e['items'],_0x1b07e0);_0x46451e['push'](new AIChatHistoryListView(_0x1b07e0,{'title':_0x33336e['title'],'items':_0x4c9660}));}this['sectionsView']['sections']=_0x46451e,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x46451e),this['hasItems']=_0x26151e['some'](_0xb0d731=>_0xb0d731['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x368719){for(const _0x50416b of this['sectionsView']['sections']){const _0x4162d4=_0x50416b['getItem'](_0x368719);if(_0x4162d4){if(_0x50416b['removeItem'](_0x4162d4),0x0===_0x50416b['itemsViews']['length']){const _0x5c742a=this['sectionsView']['sections']['indexOf'](_0x50416b);-0x1!==_0x5c742a&&(this['sectionsView']['sections']['splice'](_0x5c742a,0x1),this['sectionsView']['items']['remove'](_0x50416b));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x3b77ed,_0x79104c){for(const _0x266f2c of this['sectionsView']['sections']){const _0x219d7a=_0x266f2c['getItem'](_0x3b77ed);if(_0x219d7a){_0x219d7a['updateTitle'](_0x79104c);break;}}}['updateItemLoadingState'](_0x121c0f,_0x5ccdf5,_0x50cbb3){for(const _0x5c7d58 of this['sectionsView']['sections']){const _0x43fdac=_0x5c7d58['getItem'](_0x121c0f);if(_0x43fdac){_0x43fdac['updateLoadingState'](_0x5ccdf5,_0x50cbb3);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x124bb8=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x124bb8);}}}const _0x3c113d=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[_0x5c6477];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x204f27){super(_0x204f27);const _0x351bc7=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x351bc7['showResizeButton']),this['_historyView']['delegate'](..._0x3c113d)['to'](this),_0x351bc7['view']['addTab']({'id':'history','buttonLabel':xt(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0xa0ed63['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x6044eb){this['_historyView']['removeHistoryItem'](_0x6044eb);}['updateItems'](_0x19b965){this['_historyView']['updateHistoryItemsWithCategories'](_0x19b965);}['updateItemTitle'](_0x4943f7,_0x5b3fc3){this['_historyView']['updateItemTitle'](_0x4943f7,_0x5b3fc3);}['updateItemLoadingState'](_0x31af41,_0x28c6c5,_0x53b4e7){this['_historyView']['updateItemLoadingState'](_0x31af41,_0x28c6c5,_0x53b4e7);}['setLoadingSkeleton'](_0x4774fe){this['_historyView']['isLoading']=_0x4774fe;}['showError'](_0x2015e4){this['_historyView']['errorMessage']=_0x2015e4;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x4de005){this['_historyView']['isMaximized']=_0x4de005;}}class AIChatHistoryItem extends _0xa0ed63['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x4987bc,title:_0x37ff61,createdAt:_0x8dbcde,updatedAt:_0x3c5a48,pinned:_0x3d6bbf}){super(),this['id']=_0x4987bc,this['createdAt']=new Date(_0x8dbcde),this['set']('title',_0x37ff61),this['set']('updatedAt',_0x3c5a48?new Date(_0x3c5a48):null),this['set']('pinned',_0x3d6bbf||!0x1);}['updateTitle'](_0x396632){this['set']('title',pt(_0x396632)),this['updatedAt']=new Date();}['updatePinned'](_0x43e437){this['set']('pinned',_0x43e437),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0xa0ed63['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x139931,group:_0x1c0e9d}){super(),this['connector']=_0x139931,this['group']=_0x1c0e9d;}async['init'](){try{const _0x2657c0=this['connector']['fetchConversations'](this['group']),_0x12475c=await _0x2657c0['getConversations']();this['loadItems'](_0x12475c);}catch(_0x2f86ec){this['fire']('error',{'error':_0x2f86ec,'operation':'init'});}}['addItem'](_0x507b88){this['items']['push'](_0x507b88);}async['removeItem'](_0x1a4599){const _0x271f02=this['items']['findIndex'](_0x20e67b=>_0x20e67b['id']===_0x1a4599);if(-0x1===_0x271f02)return!0x1;try{return await this['connector']['deleteConversation'](_0x1a4599)['execute'](),this['items']['splice'](_0x271f02,0x1),this['fire']('itemRemoved',{'itemId':_0x1a4599}),!0x0;}catch(_0x26c99c){return this['fire']('error',{'error':_0x26c99c,'operation':'removeItem','itemId':_0x1a4599}),!0x1;}}['getItem'](_0x2a3c5f){return this['items']['find'](_0x35bbff=>_0x35bbff['id']===_0x2a3c5f);}async['updateItemTitle'](_0x1d1979,_0x29314e){const _0x3ba208=this['getItem'](_0x1d1979);if(!_0x3ba208)return!0x1;try{return await this['connector']['updateConversation'](_0x1d1979,{'title':_0x29314e})['getResult'](),_0x3ba208['updateTitle'](_0x29314e),this['fire']('itemUpdated',{'itemId':_0x1d1979,'updates':{'title':_0x29314e}}),!0x0;}catch(_0x1ed2a4){return this['fire']('error',{'error':_0x1ed2a4,'operation':'updateItemTitle','itemId':_0x1d1979}),!0x1;}}async['updateItemPinned'](_0x29899c,_0x219ca7){const _0x59bf7f=this['getItem'](_0x29899c);if(!_0x59bf7f)return!0x1;try{return await this['connector']['updateConversation'](_0x29899c,{'pinned':_0x219ca7})['getResult'](),_0x59bf7f['updatePinned'](_0x219ca7),this['fire']('itemUpdated',{'itemId':_0x29899c,'updates':{'pinned':_0x219ca7}}),!0x0;}catch(_0x1b47fa){return this['fire']('error',{'error':_0x1b47fa,'operation':'updateItemPinned','itemId':_0x29899c}),!0x1;}}['loadItems'](_0x82dbce){try{this['items']=[],_0x82dbce['map'](_0x2b685d=>{this['addItem'](new AIChatHistoryItem(_0x2b685d));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x22a2ec){this['fire']('error',{'error':_0x22a2ec,'operation':'loadItems'});}}['getItems'](_0x16f14f={}){const _0x15babe=void 0x0!==_0x16f14f['pinned']&&_0x16f14f['pinned'],_0x46ecdf=_0x16f14f['from']?new Date(_0x16f14f['from']['getFullYear'](),_0x16f14f['from']['getMonth'](),_0x16f14f['from']['getDate']()):null,_0x4715c7=_0x16f14f['to']?new Date(_0x16f14f['to']['getFullYear'](),_0x16f14f['to']['getMonth'](),_0x16f14f['to']['getDate']()):null;return this['items']['filter'](_0x34ce81=>{if(_0x34ce81['pinned']!==_0x15babe)return!0x1;if(_0x4715c7){const _0x161b25=new Date(_0x34ce81['createdAt']['getFullYear'](),_0x34ce81['createdAt']['getMonth'](),_0x34ce81['createdAt']['getDate']());return _0x46ecdf?_0x46ecdf['getTime']()===_0x4715c7['getTime']()?_0x161b25['getTime']()===_0x46ecdf['getTime']():_0x161b25<_0x4715c7&&_0x161b25>=_0x46ecdf:_0x161b25<_0x4715c7;}return!0x0;});}}class AIChatHistoryController extends _0xa0ed63['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x5c6477];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](AIConnector),this['_aiChatHistoryUi']=this['context']['plugins']['get'](AIChatHistoryUI),this['_aiChatController']=this['context']['plugins']['get'](AIChatController);const _0x15491d=this['context']['plugins']['get'](_0x5c6477);try{const _0x163109=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x163109}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x1eeaf2,_0x39ebb1)=>{this['_setItemLoading'](_0x39ebb1['id'],'remove'),this['_handleRemove'](_0x39ebb1['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x2b4c08,_0x7cc9bd)=>{this['_setItemLoading'](_0x7cc9bd['id'],'rename'),this['_handleEditTitle'](_0x7cc9bd['id'],_0x7cc9bd['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x1eecf0,_0xa49e3)=>{void 0x0!==_0xa49e3['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0xa49e3['itemId'],_0xa49e3['updates']['title']),void 0x0!==_0xa49e3['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0xa49e3['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x4e44e5,_0x3155f9)=>{this['_aiChatController']['handleRemovedConversation'](_0x3155f9['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x3155f9['itemId']),this['_clearItemLoading'](_0x3155f9['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x54e4b2,_0x13dea3)=>{this['_handleHistoryErrorUI'](_0x13dea3['error'],_0x13dea3['operation'],_0x13dea3['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x58d615,_0x5502ba)=>{this['_handleSelectConversation'](_0x5502ba['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x10e244,_0x19452a)=>{const _0x2297fd=_0x19452a['pinned']?'pin':'unpin';this['_setItemLoading'](_0x19452a['id'],_0x2297fd),this['_handleTogglePin'](_0x19452a['id'],_0x19452a['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x15491d['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x15491d['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x15491d,'resizedTabs',(_0x2da075,_0x54c19b)=>{this['_setIsMaximized'](_0x54c19b);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x15491d['resize']();});}catch(_0x35c61d){this['_handleHistoryErrorUI'](_0x35c61d,'init');}}async['_handleEditTitle'](_0x2fd249,_0x3aa77f){await this['history']['updateItemTitle'](_0x2fd249,_0x3aa77f);}async['_handleTogglePin'](_0x5eff49,_0x8853a3){await this['history']['updateItemPinned'](_0x5eff49,_0x8853a3);}async['_handleRemove'](_0x3b2036){await this['history']['removeItem'](_0x3b2036);}async['_handleSelectConversation'](_0x540a2b){await this['_aiChatController']['loadConversation'](_0x540a2b);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x4fc2b8=this['_aiChatController']['activeConversation']?.['id'],_0x50d996=this['_getCategorizedItems']()['map'](_0xebb606=>({'title':_0xebb606['title'],'items':_0xebb606['items']['map'](_0x20ea86=>({'id':_0x20ea86['id'],'title':_0x20ea86['title']||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x20ea86['createdAt'])['toLocaleDateString'](),'active':_0x20ea86['id']===_0x4fc2b8,'pinned':_0x20ea86['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x50d996);}['_setItemLoading'](_0x196c3d,_0x8bb7cc){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x196c3d,_0x8bb7cc,!0x0);}['_clearItemLoading'](_0x27873c){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x27873c,null,!0x1);}['_handleHistoryErrorUI'](_0x325e9f,_0x43c074,_0x19b89c){const _0xebb58a=this['_generateErrorMessage'](_0x43c074,_0x19b89c);this['_aiChatHistoryUi']['showError'](_0xebb58a),_0x19b89c&&this['_clearItemLoading'](_0x19b89c),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x241737,_0x3dd416){const _0x39259c=_0x3dd416?this['history']['getItem'](_0x3dd416):null,_0x28376d=_0x39259c?.['title']||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x241737){case'updateItemTitle':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x28376d);case'updateItemPinned':{const _0x4ed2a7=xt(this['context']['locale'],_0x39259c?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x4ed2a7,_0x28376d]);}case'removeItem':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x28376d);case'init':case'loadItems':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x3a6b16=new Date(),_0x1148bf=new Date(_0x3a6b16['getFullYear'](),_0x3a6b16['getMonth'](),_0x3a6b16['getDate']()),_0xe789ea=new Date(_0x1148bf);_0xe789ea['setDate'](_0xe789ea['getDate']()-0x1);const _0x5df30a=new Date(_0x1148bf);_0x5df30a['setDate'](_0x5df30a['getDate']()-0xe);const _0x352c43=this['history']['getItems']({'pinned':!0x0}),_0x4f5ed8=this['history']['getItems']({'from':_0x1148bf,'to':_0x1148bf}),_0x293892=this['history']['getItems']({'from':_0xe789ea,'to':_0xe789ea}),_0x490578=this['history']['getItems']({'from':_0x5df30a,'to':_0xe789ea}),_0x15561e=this['history']['getItems']({'to':_0x5df30a}),_0x135f5a=[];return _0x352c43['length']>0x0&&_0x135f5a['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x352c43}),_0x4f5ed8['length']>0x0&&_0x135f5a['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x4f5ed8}),_0x293892['length']>0x0&&_0x135f5a['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x293892}),_0x490578['length']>0x0&&_0x135f5a['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x490578}),_0x15561e['length']>0x0&&_0x135f5a['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x15561e}),_0x135f5a;}['_setIsMaximized'](_0x19ab58){this['_aiChatHistoryUi']['setIsMaximized'](_0x19ab58);}}class AIChatHistory extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x159b0c){super(_0x159b0c),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.initialConversation','new');}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0x5b593d,attributes:_0xdc053b}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x5b593d,'attributes':_0xdc053b});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0xf27e65){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0xf27e65);}}class AIChatShortcutView extends _0xa0ed63['ButtonView']{['id'];constructor(_0x4ebd90,_0x4dfd98){super(_0x4ebd90);const {id:_0x423265,type:_0x5575d1,icon:_0x249284}=_0x4dfd98;this['id']=_0x423265,this['set']({'label':_0x4dfd98['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x4dfd98['id']}}),_0x249284?this['icon']=_0x249284:'chat'===_0x5575d1?this['icon']=_0xa0ed63['IconAIChat']:'review'===_0x5575d1?this['icon']=_0xa0ed63['IconAIReview']:'translate'===_0x5575d1&&(this['icon']=_0xa0ed63['IconAITranslate']);}}class AIChatShortcutsView extends _0xa0ed63['View']{['listView'];constructor(_0x4ab8c4,_0x45b4a1){super(_0x4ab8c4);const _0x26ef60=_0x45b4a1['map'](_0x106d95=>{const _0x51e4b4=new _0xa0ed63['ListItemView'](this['locale']),_0x59e86a=new AIChatShortcutView(this['locale'],_0x106d95);return _0x51e4b4['children']['add'](_0x59e86a),_0x59e86a['delegate']('execute')['to'](this),_0x51e4b4;});this['listView']=new _0xa0ed63['ListView'](this['locale']),this['listView']['items']['addMany'](_0x26ef60),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x5346be='chat-shortcuts';var _0x5cc208=function(_0x7b20e0){return _0x7b20e0['CHAT']='chat',_0x7b20e0['REVIEW']='review',_0x7b20e0['TRANSLATE']='translate',_0x7b20e0;}({});class AIChatShortcuts extends _0xa0ed63['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x51313f=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x51313f['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x51313f,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x3766e7=Object['values'](_0x5cc208);this['_shortcuts']['forEach'](_0x10b699=>{let _0x4b664d=!0x0;if(_0x10b699['id']&&_0x10b699['label']&&_0x3766e7['includes'](_0x10b699['type'])?'chat'===_0x10b699['type']&&(_0x4b664d='string'==typeof _0x10b699['prompt']):_0x4b664d=!0x1,!_0x4b664d)throw new _0xa0ed63['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x10b699});});}['_injectShortcuts'](){const _0x322b94=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0x322b94['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x5346be),this['_shortcutsView']['on']('execute',_0x9a482f=>{const _0x17352f=_0x9a482f['source']['id'];this['_executeShortcut'](_0x17352f);});}['_removeShortcuts'](){const _0x5d1cec=this['context']['plugins']['get'](AIChatUI);_0x5d1cec['hasFeedItem'](_0x5346be)&&_0x5d1cec['removeFeedItem'](_0x5346be),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x10ecb3){const _0x51d68c=this['_shortcuts']['find'](_0x5f022d=>_0x5f022d['id']===_0x10ecb3),_0x2634e5=_0x51d68c['type'];'chat'===_0x2634e5?this['_runChatShortcut'](_0x51d68c):'review'===_0x2634e5?_0x51d68c['check']?this['_runReviewShortcut'](_0x51d68c):this['_switchTab']('reviewMode'):'translate'===_0x2634e5&&(_0x51d68c['language']?this['_runTranslateShortcut'](_0x51d68c):this['_switchTab']('translate'));}['_switchTab'](_0x209982){if(!this['context']['plugins']['has']('AITabs'))throw new _0xa0ed63['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x209982});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x209982);}async['_runChatShortcut']({prompt:_0x52abbb,draftMode:_0x2121de,useWebSearch:_0x369d26=!0x1,useReasoning:_0x58343f=!0x1,model:_0x1fcb58}){const _0x2c4291=this['context']['plugins']['get']('AIChat'),_0x1a48c0=this['context']['plugins']['get']('AIChatController'),_0x4a6ebc=_0x1a48c0['activeConversation'];let _0x9e79ea;_0x9e79ea=_0x1fcb58?await _0x4a6ebc['chatModels']['getModel'](_0x1fcb58):await _0x4a6ebc['chatModels']['getDefault'](),_0x9e79ea&&await _0x4a6ebc['setModel'](_0x9e79ea),_0x4a6ebc['setWebSearch'](_0x369d26),_0x4a6ebc['setReasoning'](_0x58343f),_0x1a48c0['addCurrentDocumentToChatContext'](),_0x2121de?(this['_aiChatUI']['setPromptInputValue'](_0x52abbb),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x2c4291['sendMessage']({'message':_0x52abbb});}['_runReviewShortcut']({check:_0x2a7b62,model:_0x52c575,prompt:_0x2cb9e8,params:_0x1f4f66}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0xa0ed63['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x1582c3={'id':_0x2a7b62,'isCustom':'custom'===_0x2a7b62};_0x52c575&&_0x2cb9e8&&(_0x1582c3['args']={'model':_0x52c575,'prompt':_0x2cb9e8}),_0x1f4f66&&(_0x1582c3['params']=_0x1f4f66),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x1582c3);}['_runTranslateShortcut']({language:_0x163038}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0xa0ed63['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x163038,'args':{'language':_0x163038}});}}class _0x75e32c extends _0xa0ed63['Command']{constructor(_0x23b67b){super(_0x23b67b);const _0x359e56=_0x23b67b['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x359e56,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x4a5422=this['editor']['plugins']['get']('AITabs')['view'];_0x4a5422['isVisible']=!_0x4a5422['isVisible'];}}class AIToggleButtonUI extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x5c6477];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f01ac=this['editor'];_0x4f01ac['commands']['add']('toggleAi',new _0x75e32c(_0x4f01ac)),_0x4f01ac['ui']['componentFactory']['add']('toggleAi',()=>{const _0x5cef99=this['_createAIUIButton'](_0xa0ed63['ButtonView']);return _0x5cef99['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x5cef99;}),_0x4f01ac['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x507905=this['_createAIUIButton'](_0xa0ed63['MenuBarMenuListItemButtonView']);return _0x507905['set']({'role':'menuitemcheckbox'}),_0x507905;});}['_createAIUIButton'](_0x5e71d8){const _0x1903de=this['editor'],_0x485af5=_0x1903de['commands']['get']('toggleAi'),_0x43f90d=new _0x5e71d8(_0x1903de['locale']);return _0x43f90d['set']({'label':xt(_0x1903de['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0xa0ed63['IconAIAskAI'],'isToggleable':!0x0}),_0x43f90d['bind']('isEnabled')['to'](_0x485af5),_0x43f90d['bind']('isOn')['to'](_0x485af5,'value',_0xd75039=>!!_0xd75039),this['listenTo'](_0x43f90d,'execute',()=>{_0x485af5['execute']();}),_0x43f90d;}}const _0xd91d5=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x4e5f04 extends _0xa0ed63['View']{['_errorView'];constructor(_0x559cc1){super(_0x559cc1),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x287d62){this['showError'](_0x287d62);}['showError'](_0x5334c4){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x5334c4,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x17d326=new _0xa0ed63['View'](this['locale']),_0x1d7a64=new _0xa0ed63['View'](this['locale']);return _0x1d7a64['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x17d326['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x6fd4ab=>!_0x6fd4ab)]},'children':[_0x1d7a64]}),_0x17d326;}}const _0x445e29=0xa;class _0x31c07d extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_isUpdatingMarkers']=!0x1;['open'](_0x4f289f){const {id:_0x4e14a5}=this['_currentConfig']??{};this['_currentConfig']=_0x4f289f;const {id:_0x3196f6}=this['_currentConfig'];this['isOpen']&&_0x4e14a5===_0x3196f6?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x162714=ta(this['context'])['plugins']['get']('Dialog');_0x162714['isOpen']&&this['_currentConfig']&&_0x162714['id']===this['_currentConfig']['id']&&_0x162714['hide']();}['_updateDialog'](){const _0x1b5b93=ta(this['context'])['plugins']['get']('Dialog'),{icon:_0x500f0d,title:_0x215e3e}=this['_currentConfig'];_0x1b5b93['view']?.['headerView']&&(_0x1b5b93['view']['headerView']['label']=_0x215e3e,_0x1b5b93['view']['headerView']['iconView']&&_0x500f0d&&(_0x1b5b93['view']['headerView']['iconView']['content']=_0x500f0d)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x1b5b93['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x12954b){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x12954b);}['_showDialog'](){const _0x274ffe=ta(this['context'])['plugins']['get']('Dialog'),{id:_0xdbbd38,title:_0x4d9c95,icon:_0x2d1c35,class:_0x4f4aa4,mainView:_0x251b7f}=this['_currentConfig'];_0x251b7f['delegate'](..._0xd91d5)['to'](this),_0x274ffe['show']({'title':_0x4d9c95,'icon':_0x2d1c35,'hasCloseButton':!0x0,'id':_0xdbbd38,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x4f4aa4||''),'content':_0x251b7f,'onShow':_0x547685=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x12e952=this['_getSelectionElements']();_0x12e952&&_0x12e952[0x0]&&_0xa0ed63['scrollViewportToShowTarget']({'target':_0x12e952[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x547685['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0xdbbd38});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0xdbbd38}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x12b60d,_0x3e8cec){if(!_0x3e8cec)return null;const _0x27f78b=this['_getSelectionElements']();if(!_0x27f78b||0x0===_0x27f78b['length'])return{'left':Math['round'](_0x3e8cec['left']+_0x3e8cec['width']/0x2-_0x12b60d['width']/0x2),'top':Math['round'](_0x3e8cec['top']+_0x3e8cec['height']/0x2-_0x12b60d['height']/0x2)};const _0x159c32=Math['round'](_0x3e8cec['left']+_0x3e8cec['width']/0x2-_0x12b60d['width']/0x2),_0x584882=_0x27f78b['map'](_0x139baf=>new _0xa0ed63['Rect'](_0x139baf)),_0x37c3e1=_0x12b60d['height'];return{'left':_0x159c32,'top':this['_calculateOptimalTopPosition'](_0x584882,_0x37c3e1,_0x3e8cec)};}['_calculateOptimalTopPosition'](_0x16e987,_0x35fa21,_0x5ee68f){const _0xb62c9f=new _0xa0ed63['Rect'](_0xa0ed63['global']['window']),_0x44c14c=_0x16e987['map'](_0x283135=>_0x283135['getVisible']())['filter'](_0x2aaab0=>_0x2aaab0),_0x429d46=_0xa0ed63['Rect']['getBoundingRect'](_0x44c14c);if(!_0x429d46)return Math['round'](_0x5ee68f['top']+_0x5ee68f['height']/0x2);const _0x5d7fe0=_0xb62c9f['getIntersection'](_0x429d46);if(!_0x5d7fe0)return Math['round'](_0x5ee68f['top']+_0x5ee68f['height']/0x2);const _0x446651=_0x5ee68f['getVisible'](),_0x4f82c2=_0x446651&&_0x429d46['height']>_0x446651['height'],_0x54bf99=_0x5d7fe0['top'],_0x143f34=_0x5d7fe0['bottom'];if(_0x4f82c2){const _0x1ec667=(_0x446651||_0xb62c9f)['height']/0x2-_0x35fa21/0x2,_0x37742c=_0x54bf99-_0x445e29-_0x5ee68f['top'],_0x4ba5c4=_0x5ee68f['bottom']-_0x143f34-_0x445e29;return _0x37742c>=_0x35fa21?Math['max'](_0x445e29,_0x54bf99-_0x35fa21-_0x445e29):_0x4ba5c4>=_0x35fa21?_0x143f34+_0x445e29:Math['max'](_0x445e29,_0x1ec667);}const _0xc38f26=_0x54bf99-_0x35fa21,_0x33edde=_0x5ee68f['bottom']-_0x143f34-_0x445e29,_0x12d5fe=_0x54bf99-_0x445e29-_0x5ee68f['top'];let _0x54347a;if(_0x33edde>=_0x35fa21)_0x54347a=_0x143f34+_0x445e29;else{if(_0x12d5fe>=_0x35fa21)_0x54347a=_0xc38f26-_0x445e29;else _0x54347a=_0x54bf99+_0x429d46['height']/0x2-_0x35fa21/0x2;}return _0x54347a;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x3f3821=ta(this['context']);this['listenTo'](_0x3f3821['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x293e8e,data:{newRange:_0x1fb35b}}of _0x3f3821['model']['document']['differ']['getChangedMarkers']())if(_0x293e8e['startsWith'](_0x1e2ffa+':')&&(_0x1fb35b&&(_0x1fb35b['start']['isEqual'](_0x1fb35b['end'])||'$graveyard'==_0x1fb35b['root']['rootName'])||null==_0x1fb35b)){const _0x229a35=xt(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x229a35),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x4f7bdc=ta(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x4f7bdc['model']['document']);}['_getSelectionElements'](){const _0xa00eec=ta(this['context']);return _0x39c902(_0xa00eec['editing'],[..._0xa00eec['model']['markers']['getMarkersGroup']('ai-selection'),..._0xa00eec['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x4bc372 extends _0xa0ed63['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x42df61,_0x38412a={}){super(_0x42df61),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x38412a};const _0x1b78e4=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x1b78e4?'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'](_0x56f63d){this['showChangesButton']['isEnabled']=_0x56f63d;}['_setupRatingButtons'](){this['likeButton']=new _0xa0ed63['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0xa0ed63['IconThumbUp'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0xa0ed63['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0xa0ed63['IconThumbDown'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0xa0ed63['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0xa0ed63['IconCopy'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x1676ee=new _0xa0ed63['IconView']();_0x1676ee['set']({'content':_0xa0ed63['IconCheck']}),_0x1676ee['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',setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button';},0x7d0);}),this['copyButton']['children']['add'](_0x1676ee);}['_setupShowChangesButton'](){this['showChangesButton']=new _0xa0ed63['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0xa0ed63['IconShowChangesOff'],'label':xt(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':'ck-ai-button-tertiary'}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x5eaf24=>_0x5eaf24?_0xa0ed63['IconShowChangesOn']:_0xa0ed63['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x4e5f04{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x46aeb2,_0x13c3aa){super(_0x46aeb2);const _0x3b8be3=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0xa0ed63['FocusTracker'](),this['_keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x13c3aa,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x46aeb2),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x46aeb2,_0x13c3aa['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x13c3aa),this['_stateView']=new AISuggestionContentPartStateView(_0x46aeb2),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x4bc372(_0x46aeb2,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x46aeb2,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x16f85f,_0x56b927,_0x186a3d,_0x13513f)=>{let _0x2935a7,_0x3ff8b3;'pending'===_0x13513f?(_0x2935a7=this['_partToolbarView'],_0x3ff8b3=this['_stateView']):(_0x2935a7=this['_stateView'],_0x3ff8b3=this['_partToolbarView']),this['_stateView']['setState'](_0x186a3d),_0x2935a7['isVisible']=!0x1,_0x3ff8b3['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x3b8be3['to']('_state',_0x107e12=>'ck-ai-chat-balloon-main_state_'+_0x107e12)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x13c3aa);});}['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'](_0x3d67fd){_0x3d67fd?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x3d67fd);}['setState'](_0x171918){this['_state']=_0x171918;}['showError'](_0x50e096){super['showError'](_0x50e096),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x23a33d){super['showBlockingError'](_0x23a33d),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x4c9c2e){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x4c9c2e;}['togglePartToolbarEnabled'](_0x10ac1d){this['_partToolbarView']['isEnabled']=_0x10ac1d;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0xd9edab,showSuggestButton:_0x2ed076}){_0xd9edab=_0xd9edab&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x2ed076=_0x2ed076&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0xd9edab,'showSuggestButton':_0x2ed076});}['_createNextButtonView'](){const _0x93dab8=new _0xa0ed63['ButtonView'](this['locale']);return _0x93dab8['set']({'icon':_0xa0ed63['IconChevronDown'],'label':xt(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x93dab8['on']('execute',()=>{this['fire']('showNext');}),_0x93dab8;}['_createPreviousButtonView'](){const _0x38d05a=new _0xa0ed63['ButtonView'](this['locale']);return _0x38d05a['set']({'icon':_0xa0ed63['IconChevronUp'],'label':xt(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x38d05a['on']('execute',()=>{this['fire']('showPrevious');}),_0x38d05a;}}class AIChatBalloonToolbarContainerView extends _0xa0ed63['View']{constructor(_0x4181f1,_0x3d95a5){super(_0x4181f1),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x3d95a5});}}class AIChatBalloon extends _0xa0ed63['Plugin']{static get['requires'](){return[_0xa0ed63['Dialog'],_0x31c07d];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x213adc){super(_0x213adc),this['set']('showDiff',!0x1);}['open'](_0x58df29){const _0x25844d=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x25844d['plugins']['get']('AIBalloon')['open']({..._0x58df29,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x58df29['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x58df29['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x33c166){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x33c166);}['setState'](_0x2db7ff){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x2db7ff);}['_createChatBalloonView'](){const _0x271723=this['editor'],_0x1341ea=_0x271723['plugins']['get']('AIBalloon'),_0x227c5f=_0x271723['commands']['get']('trackChanges');let _0x484039=_0x271723['config']['get']('ai.availableReplyActions')||[..._0x25fb3e];_0x271723['plugins']['has']('TrackChanges')||(_0x484039=_0x484039['filter'](_0x1d9af4=>'insertSuggestion'!=_0x1d9af4));const _0x4944fb=new AIChatBalloonView(_0x271723['locale'],{'availableActions':_0x484039,'showApplyButton':!0x0,'showSuggestButton':!!_0x227c5f});return _0x4944fb['bind']('showDiff')['to'](this),_0x4944fb['delegate'](..._0x298a67)['to'](this),_0x4944fb['delegate']('showPrevious','showNext')['to'](this),_0x1341ea['delegate']('dialogClosed')['to'](this),_0x4944fb['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4944fb['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x4944fb['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x227c5f&&_0x4944fb['bind']('isTrackChangesOn')['to'](_0x227c5f,'value'),_0x4944fb['render'](),_0x4944fb;}['_toggleRotatorButtonsInDialogHeader'](_0x2ca8){const _0x3bdd2c=this['editor'],_0x194414=_0x3bdd2c['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x2ca8),_0x194414['has'](this['_chatBalloonView']['previousButtonView'])||(_0x194414['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x3bdd2c['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x194414['remove'](this['_chatBalloonView']['previousButtonView']),_0x194414['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x1bf2d0(_0x3729f3){const {editor:_0x4b9097,action:_0x3b943d,withText:_0x46997f=!0x1,withIcon:_0x1aef9e=!0x0,isInDropdown:_0x43b1bb=!0x0,shouldPreventFocus:_0x4695d3=!0x1}=_0x3729f3;return()=>{const _0x11189c=_0x4b9097['locale'],_0x580772=new _0xa0ed63['ButtonView'](_0x11189c),_0xd2fd4=_0x580772['bindTemplate'];_0x43b1bb&&_0x580772['extendTemplate']({'on':{'mouseenter':_0xd2fd4['to'](()=>{_0x4695d3&&_0x4695d3()||_0x580772['focus']();})}});const _0x3f405f=_0x3b943d['icon']??_0x3b943d['parent']?.['icon'];return _0x580772['set']({'label':_0x3b943d['displayedPrompt'],'withText':_0x46997f,'role':'menuitem','icon':_0x1aef9e?_0x3f405f??_0xa0ed63['IconAIQuickActions']:void 0x0,'tooltip':!_0x46997f,'class':'ck-ai-quick-actions-button','isEnabled':_0x3b943d['isEnabled']}),_0x580772['on']('execute',()=>{_0x4b9097['editing']['view']['focus'](),_0x4b9097['commands']['execute']('aiQuickAction',_0x3b943d);}),_0x580772;};}class DropdownMenuButtonWithHighlightView extends _0xa0ed63['ListItemButtonView']{['arrowView'];constructor(_0x16fe33,_0x465a69){super(_0x16fe33,_0x465a69);const _0x285ebe=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',_0x148b4a=>String(_0x148b4a)),'data-cke-tooltip-disabled':_0x285ebe['to']('isOn')},'on':{'mouseenter':_0x285ebe['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x109337=new _0xa0ed63['IconView']();return _0x109337['content']=_0xa0ed63['IconDropdownArrow'],_0x109337['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x109337;}}class AIQuickActionsFilteredListView extends _0xa0ed63['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x2f5210,_0x142ac5,_0x2a476e){super(_0x2f5210),this['_allListItems']=_0x142ac5,this['_allSearchableItems']=_0x2a476e;}['filter'](_0x4a63aa){if(!_0x4a63aa)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x3d1e15=_0x4a63aa['source']['toLowerCase']()['trim'](),_0x18e00c=this['_allSearchableItems']['filter'](_0xc07a95=>(_0xc07a95['groupLabel']?_0xc07a95['label']+'\x20('+_0xc07a95['groupLabel']+')':_0xc07a95['label'])['toLowerCase']()['includes'](_0x3d1e15));return this['items']['clear'](),this['items']['addMany'](_0x18e00c['sort']((_0x20cf45,_0x29f917)=>{const _0xe8ea02=_0x20cf45['groupLabel'],_0x5a6af1=_0x29f917['groupLabel'];return _0xe8ea02||_0x5a6af1?_0xe8ea02?0x1:-0x1:0x0;})['map'](_0x2d5bc8=>_0x2d5bc8['item'])),this['_highlightQuery'](_0x3d1e15,_0x18e00c),{'resultsCount':_0x18e00c['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x138ee7,_0x58851a){if(!_0x138ee7)return;const _0x5a040a=new RegExp(Ot(_0x138ee7),'gi');_0x58851a['forEach'](_0x4e6173=>{_0x4e6173['highlightViews']&&_0x4e6173['highlightViews']['forEach'](_0x3813f2=>{'function'==typeof _0x3813f2['highlightText']&&_0x3813f2['highlightText'](_0x5a040a);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x388e03=>{_0x388e03['highlightViews']&&_0x388e03['highlightViews']['forEach'](_0x4e0b03=>{'function'==typeof _0x4e0b03['highlightText']&&_0x4e0b03['highlightText'](null);});});}}const _0x25fc9c='menu',_0x236484='menuitem';class AIQuickActionsDropdownContentView extends _0xa0ed63['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x4c8447,_0x1e928a,_0x1f5996,_0x1b985a,_0x3c1c28=!0x1){const _0x4320f2=_0x4c8447['locale'];super(_0x4320f2),this['_bodyCollection']=_0x1b985a,this['_hasSearch']=_0x3c1c28;const _0x26a345=this['_createListItems'](_0x4c8447,_0x1e928a,_0x1f5996);this['optionsListView']=new AIQuickActionsFilteredListView(_0x4320f2,_0x26a345,this['_allSearchableItems']),this['optionsListView']['role']=_0x25fc9c,this['optionsListView']['items']['addMany'](_0x26a345),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),_0x3c1c28&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x26a345,this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x3c1c28&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x5d1256=_0x3c1c28&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0xa0ed63['ViewCollection'](_0x5d1256),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x4320f2['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0xa0ed63['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':xt(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':xt(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x1249cf=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x1249cf);}['_createListItems'](_0x3a9a81,_0x576d99,_0x55bfe7){const _0x1c08e7=new _0xa0ed63['ViewCollection']();return _0x576d99['forEach'](_0x2d1b43=>{if('actions'in _0x2d1b43){const {listItem:_0x4af3ec}=this['_createActionGroupButton'](_0x3a9a81,_0x2d1b43,_0x55bfe7);_0x1c08e7['add'](_0x4af3ec),_0x2d1b43['actions']['forEach'](_0x215993=>{this['_createActionButton'](_0x3a9a81,_0x215993,_0x2d1b43['label'],_0x2d1b43['icon']);const {listItem:_0x523ffc,highlightViews:_0x138c79}=this['_createSearchResultActionButton'](_0x3a9a81,_0x215993,_0x2d1b43['label'],_0x2d1b43['icon']);this['_allSearchableItems']['push']({'item':_0x523ffc,'label':_0x215993['displayedPrompt'],'groupLabel':_0x2d1b43['label'],'highlightViews':_0x138c79});});}else{const {listItem:_0x55f9ba}=this['_createActionButton'](_0x3a9a81,_0x2d1b43);_0x1c08e7['add'](_0x55f9ba);const _0x363599=_0x55f9ba['children']['first'];if(_0x363599){const {listItem:_0x21b0e9,highlightViews:_0x487dec}=this['_createSearchResultActionButton'](_0x3a9a81,_0x2d1b43);this['_allSearchableItems']['push']({'item':_0x21b0e9,'label':_0x363599['label']||'','highlightViews':_0x487dec});}}}),_0x1c08e7;}['_createActionButton'](_0x1e8141,_0x2441da,_0xa45904,_0x17a614){const _0x509209=new _0xa0ed63['ListItemView'](this['locale']);if(_0xa45904&&_0x17a614){const _0x7b66b1=new _0xa0ed63['ButtonView'](this['locale']),_0x5111ed=_0x7b66b1['bindTemplate'],_0x4c4107=new _0xa0ed63['HighlightedTextView']();_0x4c4107['text']=_0x2441da['displayedPrompt'];const _0x33b096=new _0xa0ed63['HighlightedTextView']();_0x33b096['text']=_0xa45904;const _0x3fe2b7=new _0xa0ed63['IconView']();_0x3fe2b7['content']=_0x17a614,_0x3fe2b7['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x306fa7=new _0xa0ed63['View'](this['locale']);_0x306fa7['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x15690d=new _0xa0ed63['View'](this['locale']);return _0x15690d['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x7b66b1['set']({'label':_0x2441da['displayedPrompt']+'\x20('+_0xa45904+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0x7b66b1['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x4c4107,_0x306fa7,_0x3fe2b7,_0x33b096,_0x15690d],'on':{'mouseenter':_0x5111ed['to'](()=>{this['_isSearchFocused']()||_0x7b66b1['focus']();}),'click':_0x5111ed['to'](()=>{_0x7b66b1['fire']('execute');})}}),_0x7b66b1['on']('execute',()=>{_0x1e8141['editing']['view']['focus'](),_0x1e8141['commands']['execute']('aiQuickAction',_0x2441da);}),_0x509209['children']['add'](_0x7b66b1),{'listItem':_0x509209,'highlightViews':[_0x4c4107,_0x33b096]};}{const _0x53c893=new _0xa0ed63['ButtonLabelWithHighlightView'](),_0x4945a8=new _0xa0ed63['ButtonView'](this['locale'],_0x53c893),_0x5e181e=_0x4945a8['bindTemplate'],_0x16bbb2=_0x2441da['icon']??_0x2441da['parent']?.['icon'],_0x3c670f=void 0x0!==_0x2441da['icon'];return _0x4945a8['set']({'label':_0x2441da['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x3c670f?_0x16bbb2??_0xa0ed63['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x4945a8['extendTemplate']({'on':{'mouseenter':_0x5e181e['to'](()=>{this['_isSearchFocused']()||_0x4945a8['focus']();})}}),_0x4945a8['on']('execute',()=>{_0x1e8141['editing']['view']['focus'](),_0x1e8141['commands']['execute']('aiQuickAction',_0x2441da);}),_0x509209['children']['add'](_0x4945a8),{'listItem':_0x509209,'highlightViews':[_0x53c893]};}}['_createSearchResultActionButton'](_0x56eb3f,_0x177bbd,_0x3ec67d,_0x25b34f){return _0x3ec67d&&_0x25b34f?this['_createSearchResultGroupedActionButton'](_0x56eb3f,_0x177bbd,_0x3ec67d,_0x25b34f):this['_createSearchResultIndividualActionButton'](_0x56eb3f,_0x177bbd);}['_createSearchResultGroupedActionButton'](_0x4e8567,_0x29a5df,_0x3eafb3,_0x472b8b){const _0x569c46=new _0xa0ed63['ListItemView'](this['locale']),_0x512288=new _0xa0ed63['ButtonView'](this['locale']),_0x21baa4=_0x512288['bindTemplate'],{view:_0x2ec6d0,highlightView:_0x2f5d5b}=this['_createSearchResultGroupRow'](_0x3eafb3,_0x472b8b),{view:_0x2e8f8d,highlightView:_0x384440}=this['_createSearchResultActionRow'](_0x29a5df['displayedPrompt']),_0x208eb0=this['_createSearchResultContentView'](_0x2ec6d0,_0x2e8f8d);return _0x512288['set']({'label':_0x29a5df['displayedPrompt'],'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}),_0x512288['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'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x208eb0],'on':{'mouseenter':_0x21baa4['to'](()=>{this['_isSearchFocused']()||_0x512288['focus']();}),'click':_0x21baa4['to'](()=>{this['_handleSearchResultButtonClick'](_0x512288);})}}),this['_setupActionButtonExecution'](_0x512288,_0x4e8567,_0x29a5df),_0x569c46['children']['add'](_0x512288),{'listItem':_0x569c46,'highlightViews':[_0x2f5d5b,_0x384440]};}['_createSearchResultIndividualActionButton'](_0x44357c,_0xd4ed9f){const _0x348b04=new _0xa0ed63['ListItemView'](this['locale']),_0x2a6dfc=new _0xa0ed63['ButtonLabelWithHighlightView'](),_0x1ffd9c=new _0xa0ed63['ButtonView'](this['locale'],_0x2a6dfc),_0xae6989=_0x1ffd9c['bindTemplate'];return _0x1ffd9c['set']({'label':_0xd4ed9f['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x1ffd9c['extendTemplate']({'on':{'mouseenter':_0xae6989['to'](()=>{this['_isSearchFocused']()||_0x1ffd9c['focus']();})}}),this['_setupActionButtonExecution'](_0x1ffd9c,_0x44357c,_0xd4ed9f),_0x348b04['children']['add'](_0x1ffd9c),{'listItem':_0x348b04,'highlightViews':[_0x2a6dfc]};}['_createSearchResultGroupRow'](_0x38f7a9,_0x23ccdd){const _0x364795=new _0xa0ed63['View'](this['locale']),_0x44a2f8=new _0xa0ed63['IconView']();_0x44a2f8['content']=_0x23ccdd,_0x44a2f8['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x1023ce=new _0xa0ed63['HighlightedTextView']();return _0x1023ce['text']=_0x38f7a9,_0x364795['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x44a2f8,_0x1023ce]}),{'view':_0x364795,'highlightView':_0x1023ce};}['_createSearchResultActionRow'](_0x5e533f){const _0x5a6d7c=new _0xa0ed63['View'](this['locale']),_0x3e4201=new _0xa0ed63['HighlightedTextView']();return _0x3e4201['text']=_0x5e533f,_0x5a6d7c['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x3e4201]}),{'view':_0x5a6d7c,'highlightView':_0x3e4201};}['_createSearchResultContentView'](_0x261b4b,_0x2d41a3){const _0x4f1f40=new _0xa0ed63['View'](this['locale']);return _0x4f1f40['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x261b4b,_0x2d41a3]}),_0x4f1f40;}['_setupActionButtonExecution'](_0x1648f9,_0x256d61,_0x39736c){_0x1648f9['on']('execute',()=>{_0x256d61['editing']['view']['focus'](),_0x256d61['commands']['execute']('aiQuickAction',_0x39736c);});}['_createActionGroupButton'](_0x267b2f,_0x366906,_0xe2b9fb){const _0x1f2d77=new _0xa0ed63['ListItemView'](this['locale']),_0x13305d=new _0xa0ed63['ButtonLabelWithHighlightView'](),_0x23da8e=new DropdownMenuButtonWithHighlightView(this['locale'],_0x13305d),_0x113529=_0x23da8e['bindTemplate'],_0x259d5b=this['_getPanelKeystroke'](_0xe2b9fb),_0x4fb31f=this['_createGroupActionsList'](_0x267b2f,_0x366906['actions'],_0xe2b9fb);_0x23da8e['set']({'label':_0x366906['label'],'withText':!0x0,'role':_0x236484,'icon':_0x366906['icon']??_0xa0ed63['IconAIQuickActions'],'isEnabled':_0x366906['actions']['some'](_0x5ac6cf=>_0x5ac6cf['isEnabled'])}),_0x23da8e['extendTemplate']({'on':{'mouseenter':_0x113529['to'](()=>{this['_isSearchFocused']()||_0x23da8e['focus']();})}});const _0x1d6a7f=new _0xa0ed63['BalloonPanelView'](this['locale']);return _0x1d6a7f['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x113529['to'](_0x44123d=>{this['_handlePanelKeydown'](_0x44123d,_0x259d5b,_0x23da8e,_0x1d6a7f);})}}),_0x23da8e['bind']('isOn')['to'](_0x1d6a7f,'isVisible'),this['_bodyCollection']['add'](_0x1d6a7f),_0x1d6a7f['content']['add'](_0x4fb31f),this['_setupGroupMenuBehavior'](_0x23da8e,_0x1d6a7f),_0x1f2d77['children']['add'](_0x23da8e),{'listItem':_0x1f2d77,'highlightView':_0x13305d};}['_createGroupActionsList'](_0x405375,_0x48fd9d,_0x1ff9ab){const _0x9410e1=new _0xa0ed63['ListView'](this['locale']);return _0x9410e1['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x48fd9d['forEach'](_0x56f1ae=>{const _0x17be36=new _0xa0ed63['ListItemView'](this['locale']),_0x3ab473=_0x1bf2d0({'editor':_0x405375,'action':_0x56f1ae,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x17be36['children']['add'](_0x3ab473),_0x1ff9ab['focusTracker']['add'](_0x3ab473),_0x9410e1['items']['add'](_0x17be36);}),_0x9410e1;}['_setupGroupMenuBehavior'](_0x301a7e,_0xbf0b9c){const _0x21c06b=_0x301a7e['bindTemplate'],_0x562660=this['_getButtonKeystroke'](_0x301a7e);_0x301a7e['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x21c06b['to'](()=>{this['_showNestedPanel'](_0xbf0b9c,_0x301a7e);}),'mouseleave':_0x21c06b['to'](_0x4fcebd=>{const _0x741c36=_0x4fcebd['relatedTarget'];this['_isMovingToNestedMenu'](_0x741c36,_0xbf0b9c)||this['_hideNestedPanel'](_0xbf0b9c);}),'keydown':_0x21c06b['to'](_0x204860=>{_0x204860['key']==_0x562660&&(this['_showNestedPanel'](_0xbf0b9c,_0x301a7e),_0xbf0b9c['content']['get'](0x0)['focus']());})}}),_0xbf0b9c['on']('render',()=>{_0xbf0b9c['element']?.['addEventListener']('mouseleave',_0x2b8066=>{const _0x27ec6b=_0x2b8066['relatedTarget'];_0x301a7e['element']?.['contains'](_0x27ec6b)||this['_isMovingToNestedMenu'](_0x27ec6b,_0xbf0b9c)||this['_hideNestedPanel'](_0xbf0b9c);});});}['_showNestedPanel'](_0xdbfbd3,_0x15e3ca){this['_openNestedPanels']['forEach'](_0x1b5c20=>{_0x1b5c20!==_0xdbfbd3&&_0x1b5c20['isVisible']&&_0x1b5c20['hide']();}),_0xdbfbd3['show'](),_0xdbfbd3['pin']({'positions':[_0xa0ed63['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x15e3ca['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0xdbfbd3);}['_hideNestedPanel'](_0x38bf6d){_0x38bf6d['hide'](),this['_openNestedPanels']['delete'](_0x38bf6d);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x1bde3c=>_0x1bde3c['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x31380c,_0x4a8ef1){if(!_0x31380c)return!0x1;if(_0x4a8ef1['element']?.['contains'](_0x31380c))return!0x0;const _0x311c40=_0x31380c;return _0x311c40['closest']&&(null!==_0x311c40['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x311c40['closest']('.ck-ai-quick-actions-group-list')||null!==_0x311c40['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'](_0x17f437){return'rtl'===_0x17f437['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x24d033){return'rtl'===_0x24d033['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x5cd8fe,_0x51a614,_0x14daf0,_0x285710){_0x5cd8fe['key']==_0x51a614&&(_0x14daf0['focus'](),this['_hideNestedPanel'](_0x285710));}['_handleSearchResultButtonClick'](_0x8f825d){_0x8f825d['fire']('execute');}}function _0x286027(_0x6e7e04){const {editor:_0x512c9d,content:_0x95f3fe,buttonDefinition:_0x1e17be,bodyCollection:_0x37cd18,hasSearch:_0x4a23ec=!0x1}=_0x6e7e04;return()=>{const _0x1ac8df=_0x512c9d['locale'],_0x28dc90=_0xa0ed63['createDropdown'](_0x1ac8df);_0x28dc90['buttonView']['set']({'icon':_0x1e17be['icon']??_0xa0ed63['IconAIQuickActions'],'label':_0x1e17be['label'],'tooltip':!0x0}),_0x28dc90['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x2666d8=new AIQuickActionsDropdownContentView(_0x512c9d,_0x95f3fe,_0x28dc90,_0x37cd18,_0x4a23ec);if(_0x28dc90['panelView']['children']['add'](_0x2666d8),_0x4a23ec){const _0x4d19af='ai-quick-actions-dropdown-selection';_0x28dc90['on']('change:isOpen',(_0x4ad7a8,_0x54b08e,_0x41e1af)=>{if(_0x41e1af){if(_0x512c9d['plugins']['has']('AIEditing')){const _0x35e46f=_0x512c9d['plugins']['get'](AIEditing),_0x1e8772=_0x512c9d['model']['document']['selection'],_0x58b0ce=Array['from'](_0x1e8772['getRanges']());_0x58b0ce['length']>0x0&&_0x35e46f['showFakeVisualSelection'](_0x58b0ce,_0x4d19af,!0x1,!0x0);}}else _0x512c9d['plugins']['has']('AIEditing')&&_0x512c9d['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x4d19af),_0x2666d8['resetSearch']();});}return _0x28dc90;};}const _0x4dbb81='<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\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).Avoid\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x2c8cab='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>',_0x949bf9='<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</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><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>';var _0x301460=function(_0x4f7971){return _0x4f7971['CHAT']='CHAT',_0x4f7971['ACTION']='ACTION',_0x4f7971['REVIEW']='REVIEW',_0x4f7971;}({}),_0x21023c=function(_0x3682f0){return _0x3682f0['CHAT']='AIChat',_0x3682f0['ACTION']='AIActions',_0x3682f0['REVIEW']='AIReviewMode',_0x3682f0;}({});class AIQuickActionsUI extends _0xa0ed63['Plugin']{static get['requires'](){return[_0xa0ed63['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x3e2d3a=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x3e2d3a),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x1e7220){return function(_0x521e93){const _0x12a942=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x521e93['uiLanguage']),_0x43c056=_0x12a942||'English',_0x224a75=[{'id':'ask-ai','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':_0xa0ed63['IconAIChatCommands']},{'id':'chat-commands','label':xt(_0x521e93,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0xa0ed63['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x4dbb81['replace']('%0',_0x43c056),'type':'CHAT'},{'id':'summarize','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x2c8cab['replace']('%0',_0x43c056),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x949bf9['replace']('%0',_0x43c056),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':_0xa0ed63['IconAIImproveWriting']},{'id':'continue','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':_0xa0ed63['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':_0xa0ed63['IconAIGrammarCheck']},{'id':'adjust-length','label':xt(_0x521e93,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0xa0ed63['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':xt(_0x521e93,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0xa0ed63['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0xa0ed63['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':xt(_0x521e93,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':xt(_0x521e93,'AI_QUICK_ACTIONS_OTHER'),'icon':_0xa0ed63['IconAIOther'],'actions':[]}];return _0x224a75;}(_0x1e7220);}async['_getDefaultAndCustomActions'](){const _0x3a6eeb=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x45384c=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x308d33=[];try{_0x308d33=await new _0x3b1909({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x5c4ea9){const _0x1a0e8c=new _0xa0ed63['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x5c4ea9});_0xa0ed63['logError'](_0x1a0e8c['message']);}finally{const _0x4e6498=_0x45384c['map'](_0x119b59=>({..._0x119b59,'icon':void 0x0})),_0x324f12=_0x3a6eeb['find'](_0x5d8d1c=>'other'===_0x5d8d1c['id']);_0x324f12['actions']['push'](..._0x4e6498),_0x3a6eeb['forEach'](_0x295482=>{if('actions'in _0x295482)_0x295482['actions']['forEach'](_0x284282=>{if(_0x284282['isEnabled']=!!_0x308d33['find'](_0xfbe82b=>_0xfbe82b['id']===_0x284282['model'])||void 0x0===_0x284282['model'],!_0x284282['isEnabled']){const _0x1a0186=new _0xa0ed63['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x284282['id'],'modelId':_0x284282['model']});_0xa0ed63['logError'](_0x1a0186['message']);}});else{if(_0x295482['isEnabled']=!!_0x308d33['find'](_0x2b127a=>_0x2b127a['id']===_0x295482['model'])||void 0x0===_0x295482['model'],!_0x295482['isEnabled']){const _0x29046a=new _0xa0ed63['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x295482['id'],'modelId':_0x295482['model']});_0xa0ed63['logError'](_0x29046a['message']);}}});}return _0x3a6eeb;}['_initializeQuickActionsComponentsAndCommands'](){const _0x1a8607=new _0xa0ed63['BodyCollection'](this['editor']['locale']);_0x1a8607['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x1a8607),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x1a8607);}['_initializeQuickActionsDropdown'](_0x234b5f){const _0x6b27fa=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x286027({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0xa0ed63['IconAIQuickActions'],'label':xt(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x234b5f,'hasSearch':_0x6b27fa}));}['_prepareQuickActionsDefinition'](_0x4d1679){this['_quickActionsDefinition']=_0x4d1679['map'](_0x19b6cd=>{if('actions'in _0x19b6cd){const _0x414631=_0x19b6cd;return{..._0x414631,'actions':_0x414631['actions']['map'](_0x25fd98=>{const {actions:_0x41ccee,..._0x319463}=_0x414631;return{..._0x25fd98,'parent':_0x319463};})['filter'](_0x4373bd=>this['_shouldIncludeAction'](_0x4373bd))};}return _0x19b6cd;})['filter'](_0x29b8bc=>'actions'in _0x29b8bc?_0x29b8bc['actions']['length']>0x0:this['_shouldIncludeAction'](_0x29b8bc));}['_shouldIncludeAction'](_0xf502dd){const _0x186386=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x21023c[_0xf502dd['type']])&&!_0x186386['includes'](_0xf502dd['id'])&&!('CHAT'===_0xf502dd['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x44a8e3){this['_quickActionsDefinition']['forEach'](_0x57778a=>{if('actions'in _0x57778a){const _0x277b64=_0x286027({'editor':this['editor'],'content':_0x57778a['actions'],'buttonDefinition':_0x57778a,'bodyCollection':_0x44a8e3});this['editor']['ui']['componentFactory']['add'](_0x57778a['id'],_0x277b64),_0x57778a['actions']['forEach'](_0xc40162=>{const _0x5c39a3=_0x1bf2d0({'editor':this['editor'],'action':_0xc40162});this['editor']['ui']['componentFactory']['add'](_0xc40162['id'],_0x5c39a3);});}else{const _0x293465=_0x1bf2d0({'editor':this['editor'],'action':_0x57778a,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0x57778a['id'],_0x293465);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0xf95dba=>{const _0x4e75d9=new _0xa0ed63['MenuBarMenuView'](_0xf95dba),_0x2ff757=xt(_0xf95dba,'AI_QUICK_ACTIONS_HEADING');_0x4e75d9['buttonView']['set']({'label':_0x2ff757,'icon':_0xa0ed63['IconAIQuickActions']});const _0x2b288f=new _0xa0ed63['MenuBarMenuListView'](_0xf95dba);_0x2b288f['set']({'ariaLabel':_0x2ff757,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x4a32ac=>{if('actions'in _0x4a32ac){const _0x5991db=_0x4a32ac,_0x6cb1a0=new _0xa0ed63['MenuBarMenuListItemView'](_0xf95dba,_0x4e75d9),_0x4a60df=new _0xa0ed63['MenuBarMenuView'](_0xf95dba),_0xc20bff=new _0xa0ed63['MenuBarMenuListView'](_0xf95dba);_0x4a60df['buttonView']['set']({'label':_0x5991db['label'],'icon':_0x5991db['icon']}),_0x5991db['actions']['forEach'](_0x454e7e=>{const _0x5bf3d9=new _0xa0ed63['MenuBarMenuListItemView'](_0xf95dba,_0x4a60df),_0x471129=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0xf95dba);_0x471129['set']({'label':_0x454e7e['displayedPrompt'],'icon':_0x454e7e['icon'],'role':'menuitem','isEnabled':_0x454e7e['isEnabled']}),_0x471129['on']('execute',()=>{this['_executeQuickAction'](_0x454e7e);}),_0x471129['delegate']('execute')['to'](_0x4a60df),_0x5bf3d9['children']['add'](_0x471129),_0xc20bff['items']['add'](_0x5bf3d9);}),_0x4a60df['panelView']['children']['add'](_0xc20bff),_0x6cb1a0['children']['add'](_0x4a60df),_0x2b288f['items']['add'](_0x6cb1a0);}else{const _0x33b749=_0x4a32ac,_0x2ca370=new _0xa0ed63['MenuBarMenuListItemView'](_0xf95dba,_0x4e75d9),_0x352dfb=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0xf95dba);_0x352dfb['set']({'label':_0x33b749['displayedPrompt'],'icon':_0x33b749['icon'],'role':'menuitem','isEnabled':_0x33b749['isEnabled']}),_0x352dfb['on']('execute',()=>{this['_executeQuickAction'](_0x33b749);}),_0x352dfb['delegate']('execute')['to'](_0x4e75d9),_0x2ca370['children']['add'](_0x352dfb),_0x2b288f['items']['add'](_0x2ca370);}});const _0x57a98e=Object['values'](_0x21023c)['some'](_0x1e65f6=>this['editor']['plugins']['has'](_0x1e65f6));return _0x4e75d9['set']({'isEnabled':_0x57a98e}),_0x4e75d9['panelView']['children']['add'](_0x2b288f),_0x4e75d9;});}['_executeQuickAction'](_0x5cd42a){const _0x5d6fb7=this['editor'];_0x5d6fb7['editing']['view']['focus'](),_0x5d6fb7['commands']['execute']('aiQuickAction',_0x5cd42a);const _0x23da18=_0x5d6fb7['ui']['view']['menuBarView'];_0x23da18&&_0x23da18['close']&&_0x23da18['close']();}}class AIQuickActionsCommand extends _0xa0ed63['Command']{['execute'](_0x1a71bc){switch(this['_expandSelectionIfCollapsed'](),_0x1a71bc['type']){case _0x301460['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x4d063f=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0xa0ed63['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x4d063f});}this['_handleAIChatAction'](_0x1a71bc);break;case _0x301460['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x243fc9=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0xa0ed63['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x243fc9});}this['_handleAIActionsAction'](_0x1a71bc);break;case _0x301460['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x207b29=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new _0xa0ed63['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x207b29});}this['_handleAIReviewAction'](_0x1a71bc);}}async['_handleAIChatAction'](_0x296245){const _0x1c66be=this['editor']['plugins']['get']('AIChat'),_0x58726b=this['editor']['plugins']['get']('AIChatController'),_0x5d7174=this['editor']['plugins']['get']('AITabs')['view'];if(_0x5d7174['isVisible']||(_0x5d7174['isVisible']=!0x0),'chat'!==_0x5d7174['activeTab']&&_0x5d7174['activateTab']('chat'),'ask-ai'===_0x296245['id'])_0x58726b['removeSelectionFromChatContext'](),await _0x1c66be['addSelectionToChatContext'](),_0x1c66be['focusPromptInput']();else await _0x1c66be['startConversation'](),_0x58726b['removeSelectionFromChatContext'](),await _0x1c66be['addSelectionToChatContext'](),_0x1c66be['focusPromptInput'](),await _0x1c66be['sendMessage']({'message':_0x296245['prompt']||_0x296245['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x296245['id']},'displayedPrompt':_0x296245['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x1105ce=this['editor'],_0x792594=_0x1105ce['model']['document']['selection'];if(!_0x792594['isCollapsed'])return;const _0x6502f=_0xa0ed63['first'](_0x792594['getSelectedBlocks']())||_0x1105ce['model']['schema']['getLimitElement'](_0x792594);_0x1105ce['model']['change'](_0xcef3ed=>{_0xcef3ed['setSelection'](_0x6502f,'in');});}['_handleAIActionsActionLabel'](_0x23c089){return _0x23c089['parent']?.['label']&&'other'!==_0x23c089['parent']?.['id']?_0x23c089['parent']['label']+':\x20'+_0x23c089['displayedPrompt']:_0x23c089['displayedPrompt'];}async['_handleAIActionsAction'](_0x5a2510){const _0x4865af=this['editor']['plugins']['get']('AIActions'),_0xdccf66=_0x5a2510['prompt']?{'userMessage':_0x5a2510['prompt'],'model':_0x5a2510['model']}:{'actionName':_0x5a2510['actionName']||_0x5a2510['id'],'args':_0x5a2510['args']},_0x2e699b=this['_handleAIActionsActionLabel'](_0x5a2510);await _0x4865af['executeAction'](_0xdccf66,_0x2e699b,_0x5a2510['icon']);}async['_handleAIReviewAction'](_0x52d4c9){console['log']('handleAIReviewAction',_0x52d4c9);}}class AIQuickActionsEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33b3de=this['editor'],_0x34261c=new AIQuickActionsCommand(this['editor']);if(_0x33b3de['commands']['add']('aiQuickAction',_0x34261c),_0x33b3de['plugins']['has']('AIChat')){const _0x4e7ced=this['editor']['plugins']['get']('AIChat');_0x33b3de['model']['document']['selection']['on']('change:range',(_0xdc495c,_0x37f1f2)=>{_0x37f1f2['directChange']&&_0x4e7ced['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x3fb0eb{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x29d6d0=_0x4e6804(this['documentContextContent']['children']['map'](_0x457ac=>({'node':_0x457ac,'id':_0x3b4b70(_0x457ac,'data-id')})),this['parsedMergedContent']['children']['map'](_0x1b1434=>({'node':_0x1b1434,'id':_0x3b4b70(_0x1b1434,'data-id')||_0xa0ed63['uid']()})),{'comparator':(_0x20a02e,_0x5c74d9)=>_0x20a02e['id']==_0x5c74d9['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x29d6d0['length']&&_0x29d6d0[_0x29d6d0['length']-0x1]['removed'];)_0x29d6d0['pop']();}const _0x3cc20e=_0x29d6d0['map'](_0x3a3e21=>{const _0x1de02f=_0x3a3e21['added']?'new':_0x3a3e21['removed']?'removed':'modified';return{'node':_0x3a3e21['value'][0x0]['node'],'type':_0x1de02f,'id':_0x3a3e21['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x3cc20e,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x732e44,_0x1b5365){return _0x1b5365;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x36cfa3){super(_0x36cfa3),this['content']=_0x36cfa3['content'],this['version']=_0x36cfa3['version'],this['actionName']=_0x36cfa3['actionName'],this['args']=_0x36cfa3['args'],this['userMessage']=_0x36cfa3['userMessage'],this['model']=_0x36cfa3['model'];}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':_0x5f0963['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x3ed68b){const _0x1187c7=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x3ed68b});return this['replies']['push'](_0x1187c7),_0x1187c7['delegate'](..._0xa57153)['to'](this),this['fire']('replyCreated',_0x1187c7),_0x1187c7;}}class AIActionsBalloonToolbarView extends _0xa0ed63['ToolbarView']{constructor(_0x5a59e2,_0x267569=!0x0,_0x5cff12=!0x0){super(_0x5a59e2),this['set']('isEnabled',!0x1),_0x267569&&(this['applyButton']=this['_createButton'](xt(_0x5a59e2,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x5cff12&&(this['suggestButton']=this['_createButton'](xt(_0x5a59e2,'AI_BALLOON_SUGGEST_BUTTON'),_0x267569?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x267569,'showSuggestButton':_0x5cff12}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x1dfa1e,showSuggestButton:_0x190f59}){this['applyButton']&&(this['applyButton']['isVisible']=_0x1dfa1e),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x190f59);}['_createButton'](_0xfbc3e5,_0x6140b2){const _0x15ee1d=new _0xa0ed63['ButtonView'](this['locale']);return _0x15ee1d['set']({'label':_0xfbc3e5,'class':_0x6140b2,'isVisible':!0x0,'withText':!0x0}),_0x15ee1d;}}class AIActionsBalloonDisclaimerView extends _0xa0ed63['View']{constructor(_0xc43e77){super(_0xc43e77),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':xt(_0xc43e77,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0xa0ed63['View']{constructor(_0x1a783f){super(_0x1a783f),this['set']('isVisible',!0x0);const _0x165324=new _0x5ccda7('small');_0x165324['isVisible']=!0x0;const _0x11465a=new _0xa0ed63['View'](this['locale']);_0x11465a['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[xt(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x1cee4e=>!_0x1cee4e)]},'children':[_0x165324,_0x11465a]});}}class AIActionsBalloonView extends _0x4e5f04{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x4aea70,_0x86bcbc){super(_0x4aea70),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x86bcbc,this['_focusTracker']=new _0xa0ed63['FocusTracker'](),this['_keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0xa0ed63['ViewCollection'](),this['_addContentWrapper'](_0x86bcbc),this['_addDisclaimerView'](),this['_addToolbar'](_0x86bcbc),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'](_0x86bcbc);});}['render'](){super['render']();for(const _0x33a195 of this['_focusables'])this['_focusTracker']['add'](_0x33a195['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x496fd0){-0x1===_0x496fd0?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x5b59e0){this['_isLoading']=_0x5b59e0;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x39dd0f){super['showError'](_0x39dd0f),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x2f128e){super['showBlockingError'](_0x2f128e),this['setErrorState']();}['addMiniToolbarItem'](_0x300d07){this['_miniToolbarView']['items']['has'](_0x300d07)||this['_miniToolbarView']['items']['add'](_0x300d07);}['removeMiniToolbarItem'](_0x25cd30){this['_miniToolbarView']['items']['has'](_0x25cd30)&&this['_miniToolbarView']['items']['remove'](_0x25cd30);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x1cbba3,showSuggestButton:_0x59c6d4}){_0x1cbba3=_0x1cbba3&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x59c6d4=_0x59c6d4&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x1cbba3,'showSuggestButton':_0x59c6d4});}async['updateContent'](_0x57ca2f){await this['_streamableContentView']['update'](_0x57ca2f);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x1f801b){this['_contentWrapper']=new _0xa0ed63['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x1f801b['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x1419c5,showSuggestButton:_0x1ad342}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x1419c5,_0x1ad342),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',(_0x505357,_0x4df8fd,_0x535947)=>!(_0x505357||_0x4df8fd||_0x535947)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x1419c5,'showSuggestButton':_0x1ad342}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x295152){return this['_miniToolbarView']=new _0x4bc372(this['locale'],_0x295152),this['_miniToolbarView']['delegate'](..._0x298a67)['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',(_0x24a2f4,_0xadae9e)=>!(_0x24a2f4||_0xadae9e)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x1a2d05=new _0xa0ed63['ButtonView'](this['locale']),_0x233c8a=new _0xa0ed63['ButtonView'](this['locale']),_0x183574=new AIActionsBalloonNavigationCounterView(this['locale']),_0x2f38a0=new _0xa0ed63['ButtonView'](this['locale']);_0x1a2d05['set']({'icon':_0xa0ed63['IconRefresh'],'label':xt(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x233c8a['set']({'icon':_0xa0ed63['IconPreviousArrow'],'tooltip':xt(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x2f38a0['set']({'icon':_0xa0ed63['IconNextArrow'],'tooltip':xt(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x1a2d05['bind']('isEnabled')['to'](this,'isBusy',_0x5193fd=>!_0x5193fd),_0x1a2d05['on']('execute',()=>{this['fire']('tryAgain');}),_0x233c8a['bind']('isEnabled')['to'](this,'isBusy',_0x3c5dff=>!_0x3c5dff),_0x233c8a['on']('execute',()=>{this['fire']('showPrevious');}),_0x2f38a0['bind']('isEnabled')['to'](this,'isBusy',_0x2f5ebc=>!_0x2f5ebc),_0x2f38a0['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x233c8a,this['_navigationCounter']=_0x183574,this['_navigationNextButton']=_0x2f38a0,this['_navigationTryAgainButton']=_0x1a2d05;}['updateMiniToolbarButtons'](_0x6575cb,_0x16ecb9){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x54863a=_0x6575cb>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x54863a){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x154045=_0x6575cb-_0x16ecb9;this['_navigationCounter']['setInteractionCount'](_0x154045+'/'+_0x6575cb),this['_navigationPreviousButton']['isEnabled']=_0x16ecb9<_0x6575cb-0x1,this['_navigationNextButton']['isEnabled']=_0x16ecb9>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'](_0x169d09){this['_isLoading']=_0x169d09;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x3cfa2e=this['_getScrollableElement']();_0x3cfa2e&&!this['_scrollManager']&&(this['_scrollManager']=new _0x37b349(_0x3cfa2e));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0xa0ed63['View']{constructor(_0x5029ab){super(_0x5029ab);const _0x4f6011=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x4f6011['to']('interactionCount')}]});}['setInteractionCount'](_0x10a3fe){this['set']('interactionCount',_0x10a3fe);}}class AIActions extends _0xa0ed63['Plugin']{static get['requires'](){return[AIConnector,_0xa0ed63['Dialog'],AIEditing,_0x31c07d,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x566894){super(_0x566894),this['_bodyCollection']=new _0xa0ed63['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x44f3f2();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x25ad8a,_0x5c34ab,_0x4f62ed){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0xd3270b,anchorData:_0x2f1381}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x25ad8a,_0xd3270b,_0x2f1381,_0x5c34ab,_0x4f62ed);}}const {modelFragment:_0x32f11f,anchorData:_0x3044f7}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x25ad8a,_0x32f11f,_0x3044f7,_0x5c34ab,_0x4f62ed);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x4c0068=this['editor']['plugins']['has']('TrackChanges');let _0x461ae3=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x25fb3e];_0x4c0068||(_0x461ae3=_0x461ae3['filter'](_0xd81d33=>'insertSuggestion'!=_0xd81d33));const _0x4e6215=this['editor']['commands']['get']('trackChanges'),_0x4bfb08=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x4c0068,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x461ae3});return _0x4bfb08['bind']('isBusy')['to'](this),_0x4e6215&&_0x4bfb08['bind']('isTrackChangesOn')['to'](_0x4e6215,'value'),_0x4bfb08['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x4bfb08['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x4bfb08['on']('showNext',()=>{this['_navigateToNext']();}),_0x4bfb08;}['_getExecuteDataRegular'](){const _0x1eba4c=this['editor']['model']['document']['selection'];if(_0x1eba4c['isCollapsed']){const _0x18adbf=_0xa0ed63['first'](_0x1eba4c['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x1eba4c);this['editor']['model']['change'](_0x4a0ca1=>{_0x4a0ca1['setSelection'](_0x18adbf,'in');});}const _0x31d855=_0x1eba4c['getFirstRange'](),_0x4ff590=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x1eba4c),_0x31d855['start'],_0x31d855['end']);this['_copyMarkersToFragment'](_0x4ff590,_0x1eba4c,{'isTableSelection':!0x1});const _0x253ba0=_0x1eba4c['getFirstRange']()['start'],_0x2f9bdd=new Map();let _0x2a5b3c=_0x4ff590;for(let _0x499499=0x0;_0x499499<_0x253ba0['path']['length'];_0x499499++)_0x2f9bdd['set'](_0x2a5b3c,_0x253ba0['path'][_0x499499]),_0x2a5b3c=_0x2a5b3c['getChild'](0x0);return{'modelFragment':_0x4ff590,'anchorData':_0x2f9bdd};}['_getExecuteDataInTable'](){const _0x9be82f=this['editor']['model']['document']['selection'],_0x14bab9=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x3ac0b1=_0x9be82f['getFirstRange']()['start']['parent']['parent'],_0x5cc413=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x3ac0b1),this['editor']['model']['createPositionAfter'](_0x3ac0b1)),_0x27f14e=this['_wrapWithCommonAncestors'](_0x14bab9,_0x5cc413['start'],_0x5cc413['end']);this['_copyMarkersToFragment'](_0x27f14e,_0x9be82f,{'isTableSelection':!0x0});const _0x2ff083=_0x9be82f['getFirstRange']()['start'],_0x3a74a8=new Map();let _0x5b8c9e=_0x27f14e;for(let _0x32ad4d=0x0;_0x32ad4d<_0x2ff083['path']['length'];_0x32ad4d++)if(_0x3a74a8['set'](_0x5b8c9e,_0x2ff083['path'][_0x32ad4d]),_0x32ad4d<_0x2ff083['path']['length']-0x1)_0x5b8c9e=_0x5b8c9e['getChild'](0x0);else{let _0x3241a0=_0x5b8c9e['nextSibling'];for(;_0x3241a0;)_0x3a74a8['set'](_0x3241a0,_0x2ff083['path'][_0x32ad4d]),_0x3241a0=_0x3241a0['nextSibling'];}return{'modelFragment':_0x27f14e,'anchorData':_0x3a74a8};}async['_executeAction'](_0x134c0c,_0x519270,_0x553c91,_0x2d8630,_0x4b1cb5){const _0x4c4935=this['editor']['plugins']['get'](AIEditing),_0x58dd07=this['editor']['plugins']['get'](_0x31c07d),_0x3a22fe=this['editor']['model']['document']['selection'],_0x45b9ff=await _0x4c4935['modelToDataWithIds'](_0x519270),_0x2c6905=this['editor']['model']['document']['version'],_0xc62d38=[..._0x3a22fe['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x58dd07['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x2d8630,'icon':_0x4b1cb5||_0xa0ed63['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0xc62d38,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x58dd07),this['_interactionParams']={'action':_0x134c0c,'content':_0x45b9ff,'version':_0x2c6905,'aiBalloon':_0x58dd07,'modelFragment':_0x519270,'anchorData':_0x553c91},this['_setupApplyListeners'](),this['listenTo'](_0x58dd07,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x58dd07,'dialogClosed',(_0x43b304,{id:_0x1e8126})=>{if('aiActionsBalloon'===_0x1e8126){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x255809=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x1c8541=_0x255809['changeGroups'][0x0];_0x1c8541&&'pending'===_0x1c8541['state']&&_0x255809['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x58dd07);}}),this['_createInteraction'](_0x45b9ff,_0x2c6905,_0x58dd07,_0x134c0c);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x132154,anchorData:_0x468a98}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x132154,_0x468a98,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x132154,_0x468a98,!0x0);});}['_wrapWithCommonAncestors'](_0x3323e8,_0x31d731,_0x4989b5){const _0x43bf37=this['editor']['model']['createRange'](_0x31d731,_0x4989b5)['getCommonAncestor'](),_0x5305ef=_0x43bf37['is']('documentFragment')?[]:_0x43bf37['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5305ef['length']){const _0x3b9f31=_0x5305ef['map'](_0x3916e3=>_0x3916e3['_clone'](!0x1));for(let _0xaed6f3=0x1;_0xaed6f3<_0x3b9f31['length'];_0xaed6f3++)_0x3b9f31[_0xaed6f3-0x1]['_appendChild'](_0x3b9f31[_0xaed6f3]);return _0x3b9f31[_0x3b9f31['length']-0x1]['_appendChild'](_0x3323e8),new _0xa0ed63['ModelDocumentFragment'](_0x3b9f31[0x0]);}return _0x3323e8;}['_copyMarkersToFragment'](_0x183e8a,_0x3bbfcd,_0x363c59={'isTableSelection':!0x1}){const _0x3c2772=this['editor']['model'],_0x16e317=Array['from'](_0x3bbfcd['getRanges']()),_0x4f0658=_0x3bbfcd['getFirstRange']()['start'];for(const _0x4b4119 of _0x3c2772['markers']){if(_0x4b4119['name']['startsWith'](_0x1e2ffa)||!_0x4b4119['affectsData'])continue;const _0x1c9141=_0x4b4119['getRange']();if(!_0x16e317['some'](_0x54fb2f=>_0x54fb2f['containsRange'](_0x1c9141,!0x0)))continue;const _0x3f3ae7=this['_regularCalculateMarkerPath'](_0x1c9141['start'],_0x4f0658,_0x363c59['isTableSelection']),_0x69109a=this['_regularCalculateMarkerPath'](_0x1c9141['end'],_0x4f0658,_0x363c59['isTableSelection']),_0x17004a=_0x3c2772['createPositionFromPath'](_0x183e8a,_0x3f3ae7),_0x9e9665=_0x3c2772['createPositionFromPath'](_0x183e8a,_0x69109a);if(!_0x17004a['isEqual'](_0x9e9665)){const _0x4ec0dd=_0x3c2772['createRange'](_0x17004a,_0x9e9665);_0x183e8a['markers']['set'](_0x4b4119['name'],_0x4ec0dd);}}}['_regularCalculateMarkerPath'](_0x2aa65c,_0x2455dc,_0xc9e657=!0x1){const _0x3304a6=[..._0x2aa65c['path']['slice']()];for(let _0x348455=0x0;_0x348455<Math['max'](_0x2455dc['path']['length'],_0x2aa65c['path']['length']);_0x348455++){const _0x3784dd=_0x2455dc['path'][_0x348455]||0x0,_0x5cae5a=(_0x2aa65c['path'][_0x348455]||0x0)-_0x3784dd;if(_0x3304a6[_0x348455]=_0x5cae5a,0x0!==_0x5cae5a&&!_0xc9e657)break;}return _0x3304a6;}async['_createInteraction'](_0xb776e9,_0xde0fe,_0x2168f4,_0x3ce517){const _0x180093=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x3ce517,'content':_0xb776e9,'version':_0xde0fe,'aiBalloon':_0x2168f4,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x39343a=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x180093,'content':_0xb776e9,'version':_0xde0fe,..._0x3ce517});this['_interactions']['push'](_0x39343a);const _0x31b53f=(_0x202b5c,_0xb51451=!0x1,_0x374b88='streaming')=>this['_promiseQueue']['enqueue'](async _0x4bd3e9=>{try{const _0x217764=_0x579206({'editor':_0x180093,'changeGroups':_0x202b5c['changeGroups'],'documentContextContent':_0x202b5c['documentContextContent'],'showDiff':_0xb51451,'trimUnchanged':!0x1});_0x217764['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x217764[0x0],'renderingStrategy':_0x374b88,'abortSignal':_0x4bd3e9});}catch(_0x4ef53f){if(this['_isAbortError'](_0x4ef53f))return;throw _0x4ef53f;}});this['_interaction']['on']('replyCreated',(_0x40a6f0,_0x81f078)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x31b53f(_0x81f078)['catch'](_0x2ed19f=>{this['_isAbortError'](_0x2ed19f)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x2ed19f),this['_setErrorState'](_0x39343a));});}),this['_interaction']['on']('replyContentUpdated',(_0x31479c,_0x339921)=>{_0x31b53f(_0x339921)['catch'](_0x2cf8f9=>{this['_isAbortError'](_0x2cf8f9)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x2cf8f9),this['_setErrorState'](_0x39343a));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x42962f){this['_isAbortError'](_0x42962f)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x42962f),this['_setErrorState'](_0x39343a));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x5d4ecd,{showDiff:_0x38cc53})=>{try{this['_balloonShowDiff']=_0x38cc53;const _0x3371de=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x3371de&&await _0x31b53f(_0x3371de,_0x38cc53,'static');}catch(_0x23cbbc){this['_isAbortError'](_0x23cbbc)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x23cbbc),this['_setErrorState'](_0x39343a));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x245beb,{reply:_0x2acafa})=>{const _0x1651b3={'positiveCount':_0x2acafa['changeGroups']['filter'](_0x16c8e5=>'accepted'===_0x16c8e5['state'])['length'],'totalCount':_0x2acafa['changeGroups']['length']},_0x3372fd=this['_interaction']['actionCallId'],_0x32a546=this['_interaction']['actionName'];_0x32a546?this['_aiConnector']['upsertAIActionRating'](_0x32a546,_0x3372fd,_0x1651b3):this['_aiConnector']['upsertCustomAIActionRating'](_0x3372fd,_0x1651b3);}),this['_setLoadingState']();try{const _0x2d6037=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x2d6037;}catch(_0xc9d84d){if(this['_isAbortError'](_0xc9d84d))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x39343a);}}['_applyChanges'](_0x4e75bc,_0x47d016,_0x134cee){const _0x5752be=this['editor'];if(_0x134cee&&!_0x5752be['plugins']['has']('TrackChanges'))throw new _0xa0ed63['CKEditorError']('ai-no-track-changes',null);const _0x1df107=this['editor']['plugins']['get'](DocumentCompare),_0x1ab15b=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x1ab15b||!_0x1ab15b['replies']['length'])return;const _0x469c01=_0x1ab15b['replies'][_0x1ab15b['replies']['length']-0x1],_0x394469=_0x469c01['changeGroups'];_0x469c01['setChangeGroupState'](0x0,'accepted');let _0x553663=_0x120129({'editor':_0x5752be,'reply':_0x469c01,'interaction':_0x1ab15b,'groups':_0x394469,'transform':!0x1,'documentCompare':_0x1df107,'documentCompareOptions':{'anchor':_0x5752be['model']['createPositionAt'](_0x4e75bc,0x0),'markDeletions':_0x134cee}});_0x553663=this['_filterOperationsOutsideRange'](_0x553663,_0x47d016);for(const _0x4e9b7f of _0x553663)this['_anchorOperation'](_0x47d016,_0x4e9b7f,_0x5752be['model']['document']['getRoot']());const _0xcda912=_0x1ab15b['getDocumentContext']()['version'],_0xfb3a1f=_0x5752be['model']['document']['history']['getOperations'](_0xcda912),_0x43a9de={'document':_0x5752be['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3bf995=_0xa0ed63['transformOperationSets'](_0x553663,_0xfb3a1f,_0x43a9de)['operationsA'];_0x5752be['model']['change'](_0xbd5d03=>{if(_0xbd5d03['setSelection'](_0x5752be['model']['document']['selection']['focus']),_0x134cee)_0x5752be['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x3bf995);else{for(const _0x19b273 of _0x3bf995)_0x19b273['baseVersion']=_0x5752be['model']['document']['version'],_0x1739bf(_0x5752be,_0x19b273),_0xbd5d03['batch']['addOperation'](_0x19b273),_0x5752be['model']['applyOperation'](_0x19b273);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x55ddcd,_0x327a19){return _0x55ddcd['filter'](_0x2ac6cd=>{if('rename'==_0x2ac6cd['type']){const _0x5c35cc=_0x2ac6cd['position']['nodeAfter'];return!_0x327a19['has'](_0x5c35cc);}if(_0x2ac6cd['type']['indexOf']('Attribute')>-0x1){const _0x2289fb=_0x2ac6cd['range']['start']['nodeAfter'];return!_0x327a19['has'](_0x2289fb);}return!0x0;});}['_anchorOperation'](_0x270d74,_0x5cbddd,_0x1990e4){const _0x39ea74=_0x5cbddd['clone']();for(const _0x240287 in _0x5cbddd){const _0xb7c9a1=_0x5cbddd[_0x240287];_0xb7c9a1 instanceof _0xa0ed63['ModelRange']?_0x5cbddd[_0x240287]=new _0xa0ed63['ModelRange'](_0x31b680(_0xb7c9a1['start']),_0x31b680(_0xb7c9a1['end'])):_0xb7c9a1 instanceof _0xa0ed63['ModelPosition']&&(_0x5cbddd[_0x240287]=_0x31b680(_0xb7c9a1));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x39ea74['type'])){if(_0x39ea74['isDocumentOperation']=!0x1,_0x39ea74['baseVersion']=null,'remove'==_0x39ea74['type']){const _0xfe327c=_0x39ea74['sourcePosition'],_0x54fd53=_0x39ea74['howMany'];new _0xa0ed63['_DetachOperation'](_0xfe327c,_0x54fd53)['_execute']();}else _0x39ea74['_execute']();}function _0x31b680(_0x2d87a2){if('$graveyard'==_0x2d87a2['root']['rootName'])return _0x2d87a2;const _0x49bb29=[];let _0x18a9ae=_0x2d87a2['root'];for(let _0x11d889=0x0;_0x11d889<_0x2d87a2['path']['length'];_0x11d889++){const _0x5a74b6=_0x270d74['get'](_0x18a9ae)||0x0;_0x49bb29[_0x11d889]=_0x2d87a2['path'][_0x11d889]+_0x5a74b6,_0x18a9ae=_0x18a9ae['getChildAtOffset'](_0x2d87a2['path'][_0x11d889]);}return new _0xa0ed63['ModelPosition'](_0x1990e4,_0x49bb29,_0x2d87a2['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x8cdb60,content:_0x486977,version:_0x35b6bd,aiBalloon:_0x3f361a}=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'](_0x486977,_0x35b6bd,_0x3f361a,_0x8cdb60)['catch'](_0x577a06=>{this['_isAbortError'](_0x577a06)||console['error']('Error\x20refreshing\x20interaction:',_0x577a06);});}['_isAbortError'](_0x2ba720){return!!_0x2ba720['message']&&_0x2ba720['message']['startsWith']('ai-request-aborted');}['_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 _0x115b30=this['_interactions']['length'];this['_currentInteractionIndex']<_0x115b30-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x3fbcfb){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x3fbcfb;const _0x4e1936=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x4e1936)return;if(_0x4e1936['hasError'])return this['_setErrorState'](_0x4e1936),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x4e1936['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x524b88=_0x4e1936['replies'][_0x4e1936['replies']['length']-0x1];if(_0x524b88){const _0x170521=this['editor'];try{const _0x634710=_0x579206({'editor':_0x170521,'changeGroups':_0x524b88['changeGroups'],'documentContextContent':_0x524b88['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x8559a7=>setTimeout(_0x8559a7,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x634710[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x3dc420){this['_isAbortError'](_0x3dc420)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x3dc420);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x3c8bef){const _0x53c09d=xt(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x53c09d),_0x3c8bef['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);}}class AIQuickActions extends _0xa0ed63['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5f1913){super(_0x5f1913),_0x5f1913['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0xa0ed63['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x25d9c2,_0x94c6a){super(_0x25d9c2),this['id']=_0x94c6a,this['set']('status','pending'),this['set']('changeId',_0x94c6a),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',(_0x947681,_0x4dafbc)=>{_0x4dafbc&&_0x4dafbc['target']&&'A'===_0x4dafbc['target']['tagName']&&_0x4dafbc['preventDefault'](),this['fire']('activateChange',{'id':_0x94c6a,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x94c6a,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x94c6a,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x57e4a5=new _0xa0ed63['View'](this['locale']);return _0x57e4a5['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',_0x1ee9ea=>!_0x1ee9ea)]}}),_0x57e4a5;}['_createAcceptButtonView'](){const _0xdd4ba1=new _0xa0ed63['ButtonView'](this['locale']);return _0xdd4ba1['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0xdd4ba1['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x189759=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x189759['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x5abe28=>'pending'!==_0x5abe28&&'accepted'!==_0x5abe28),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x2dd215=>'pending'===_0x2dd215),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x68e475=>'accepted'===_0x68e475)]}}),this['on']('change:status',(_0x131549,_0x25c0cf,_0x50b74d)=>{_0xdd4ba1['isEnabled']='pending'===_0x50b74d,'accepted'===_0x50b74d&&(_0xdd4ba1['label']=xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0xdd4ba1['icon']=_0xa0ed63['IconCheck']);}),_0xdd4ba1;}['_createDismissButtonView'](){const _0x1a6bf8=new _0xa0ed63['ButtonView'](this['locale']);return _0x1a6bf8['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x1a6bf8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5d28d4=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x5d28d4['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x5b5635=>'pending'!==_0x5b5635&&'rejected'!==_0x5b5635),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x1a943e=>'pending'===_0x1a943e),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x37e5a4=>'rejected'===_0x37e5a4)]}}),this['on']('change:status',(_0x4eaef6,_0x5a29f8,_0x2edbbd)=>{_0x1a6bf8['isEnabled']='pending'===_0x2edbbd,'rejected'===_0x2edbbd&&(_0x1a6bf8['label']=xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x1a6bf8['icon']=_0xa0ed63['IconCancel']);}),_0x1a6bf8;}['_createInfoButtonView'](){const _0x5d9094=new _0xa0ed63['ButtonView'](this['locale']);return _0x5d9094['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0xa0ed63['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x5d9094['bind']('isOn')['to'](this,'isInfoToggleOn',_0xc04672=>_0xc04672),_0x5d9094['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x5d9094;}['_createOutdatedButtonView'](){const _0x3cf195=new _0xa0ed63['ButtonView'](this['locale']);return _0x3cf195['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0xa0ed63['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x3cf195['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x550754=>'outdated'!==_0x550754)],'disabled':'disabled'}}),_0x3cf195;}}class AIReviewCoreBalloonSuggestionItemView extends _0xa0ed63['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0xcc1c60,_0x10f4c5){super(_0xcc1c60),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']()),_0x10f4c5['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x3db048){this['resultItemView']['changeId']=_0x3db048['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x3db048['contentDiffed'];}['showBalloon'](_0x15b32b,_0x182795,_0x7553a5,_0x8a4bb1,_0xb486e8,_0xf61b5a){const _0x1b34c7=_0x182795();if(!_0x1b34c7)return;this['updateContent'](_0x15b32b),this['show']();const _0x505d90=Array['from'](_0x1b34c7['getClientRects']())['reverse'](),_0xdc3a27=this['_getPointedRectIndexFromEvent'](_0x7553a5,_0x505d90),_0x377e18=_0x505d90[_0xdc3a27??0x0];'click'===_0x8a4bb1?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x182795(),_0xdc3a27,_0x15b32b['id'],_0xb486e8,_0xf61b5a)||_0x377e18})):'hover'===_0x8a4bb1&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x182795(),_0xdc3a27,_0x15b32b['id'])||_0x377e18}));}['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'](){_0xa0ed63['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x4dd730=[this['element']];return this['_pinnedTargetElement']&&_0x4dd730['push'](this['_pinnedTargetElement']),_0x4dd730;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x1ae22c=new _0xa0ed63['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x1ae22c['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']]}]}),_0x1ae22c;}['_getBestRectPositionOnClick'](_0x24e3d2,_0x5f05db,_0x5d480c,_0x1de357,_0x39f69c){if(!_0x24e3d2)return null;const _0x1df841=this['position']['replace']('arrow_',''),_0x22e5da=Array['from'](_0x24e3d2['getClientRects']());let _0x6433af,_0x374af2=_0x22e5da['reverse']();return void 0x0!==_0x5f05db&&this['_isPinnedRectVisible'](_0x374af2[_0x5f05db],_0x1de357,_0x39f69c)?(_0x6433af=_0x374af2[_0x5f05db],this['_pinnedRectIndex']=_0x5f05db):this['_isPinnedRectVisible'](_0x374af2[0x0],_0x1de357,_0x39f69c)&&void 0x0===_0x5f05db?_0x6433af=_0x374af2[0x0]:(_0x374af2='s'==_0x1df841[0x0]?[..._0x22e5da]['reverse']():_0x22e5da,_0x374af2['forEach'](_0x3300c2=>{this['_isPinnedRectVisible'](_0x3300c2,_0x1de357,_0x39f69c)&&(_0x6433af=_0x3300c2);})),this['_pinnedTargetChangeId']=_0x5d480c,this['_pinnedTargetElement']=_0x24e3d2,_0x6433af||_0x24e3d2['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x31d917,_0x4a9f69,_0x4b2d3e){if(!_0x31d917)return null;const _0x53df82=Array['from'](_0x31d917['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x4a9f69&&this['_pinnedTargetChangeId']!==_0x4b2d3e)return this['_pinnedRectIndex']=_0x4a9f69,this['_pinnedTargetElement']=_0x31d917,this['_pinnedTargetChangeId']=_0x4b2d3e,_0x53df82[_0x4a9f69];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x4b2d3e){if(_0x31d917!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x53df82[this['_pinnedRectIndex']];}return void 0x0!==_0x4a9f69&&this['_pinnedTargetChangeId']!==_0x4b2d3e?(this['_pinnedRectIndex']=_0x4a9f69,this['_pinnedTargetElement']=_0x31d917,this['_pinnedTargetChangeId']=_0x4b2d3e,_0x53df82[_0x4a9f69]):_0x31d917['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0xe25a3,_0x15e39e){if(_0xe25a3)for(let _0x4e921b=0x0;_0x4e921b<_0x15e39e['length'];_0x4e921b++){const _0xd31847=_0x15e39e[_0x4e921b];if(_0xe25a3['clientX']>=_0xd31847['left']-0x3&&_0xe25a3['clientX']<=_0xd31847['right']+0x3&&_0xe25a3['clientY']>=_0xd31847['top']-0x3&&_0xe25a3['clientY']<=_0xd31847['bottom']+0x3)return _0x4e921b;}}['_isPinnedRectVisible'](_0x3d4e6d,_0x191826,_0x583bfe){const _0x362675=new _0xa0ed63['Rect'](_0x3d4e6d),_0x11bfe6=_0x191826||document['documentElement'],_0x55a6dc=_0x362675['getIntersection'](_0xa0ed63['getConstrainedViewportRect'](_0x583bfe)),_0x4c5285=new _0xa0ed63['Rect'](_0x11bfe6)['getIntersection'](_0x362675);return!!(_0x55a6dc&&_0x4c5285&&_0x362675['width']>0x0);}}const _0x330c96=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x34dbc7 extends _0xa0ed63['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x5c6477];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58c0c8){super(_0x58c0c8),this['_bodyCollection']=new _0xa0ed63['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x330c96)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x632de3=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x632de3);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x23ecbe){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x56faf7=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x23ecbe,_0x56faf7);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x3613f9){_0x3613f9&&('error-general'!==_0x3613f9['status']?'error-chunk'!==_0x3613f9['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x2275b7){this['_mainView']['addCheckRunResult'](_0x2275b7);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x21839d){this['_mainView']['showGeneralReviewCoreErrorView'](_0x21839d??xt(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x393a8b,_0x21c10a){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x393a8b,_0x21c10a);}['setActiveStateInResults'](_0x41e0c2){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x135d0a=>{_0x135d0a['id']===_0x41e0c2&&_0x135d0a['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x287c08=>_0x287c08['setItemAsInactive']());}['updateChangeState'](_0x323cdb,_0x48ae6d){'accepted'===_0x48ae6d||'rejected'===_0x48ae6d||'outdated'===_0x48ae6d?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x323cdb,_0x48ae6d):this['_mainView']['reviewCheckResultsView']['showResult'](_0x323cdb,_0x48ae6d);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0xa25201,_0x221cb2,_0x4c40a9,_0x29cd30,_0x5d9c27,_0x40d6d5){this['_balloonSuggestionView']['showBalloon'](_0xa25201,_0x221cb2,_0x4c40a9,_0x29cd30,_0x5d9c27,_0x40d6d5);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x25bf36){const _0xe7ef4f=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0xa3b000=>_0xa3b000['id']===_0x25bf36);return _0xe7ef4f?_0xe7ef4f['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x1367e5 extends _0xa0ed63['View']{constructor(_0x47d366){super(_0x47d366),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x560f8c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x560f8c['if']('isVisible','ck-hidden',_0x23af78=>!_0x23af78)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x560f8c['to']('errorMessage')}]}]});}}class _0x1fb258 extends _0xa0ed63['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x1ff2c1,_0x252d4d){super(_0x1ff2c1),this['reviewCoreHeader']=_0x252d4d['header'],this['generalErrorView']=new _0x1367e5(_0x1ff2c1),this['reviewCheckListView']=_0x252d4d['list'],this['reviewCheckListView']['delegate'](..._0x330c96)['to'](this),this['reviewCheckResultsView']=_0x252d4d['results'],this['reviewCheckResultsView']['delegate'](..._0x330c96)['to'](this),this['reviewCompletedView']=_0x252d4d['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'](_0xa11c1b){this['reviewCheckResultsView']['addResult'](_0xa11c1b),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'](_0x4dd650){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x4dd650;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends _0xa0ed63['ButtonView']{constructor(_0x41a36c,_0x52bf45){super(_0x52bf45),this['set']({'label':_0x41a36c,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0xa0ed63['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x523a7e,_0x810c9e){super(_0x523a7e),this['_contents']=_0x810c9e,this['_resultViews']=new _0xa0ed63['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['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x29ce6e(_0x523a7e),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 _0x31b4bf=this['_createCombinedSkeletonLoader'](),_0x1b2d82=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1b2d82['if']('isLoading','ck-ai_review__check-run_loading',_0x253732=>_0x253732),_0x1b2d82['if']('isResultReady','ck-ai_review__check-run_ready',_0x1f3810=>_0x1f3810),_0x1b2d82['if']('isVisible','ck-hidden',_0x42184f=>!_0x42184f)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x42420f=>_0x42420f)]},'children':this['_resultViews']},_0x31b4bf]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x3e2836){const _0x347685=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x3e2836['id']);_0x347685['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x347685),_0x347685['resultResponseView']['element']['innerHTML']=_0x3e2836['contentDiffed'];}['hideResult'](_0x3f3cd2,_0x78a092){if('pending'===_0x78a092)return;const _0x2c5d83=this['_resultViews']['find'](_0x12c44d=>_0x12c44d['id']===_0x3f3cd2);_0x2c5d83&&(_0x2c5d83['status']=_0x78a092,_0x2c5d83['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x4175d0,_0x10456d){if('pending'!==_0x10456d)return;const _0x4066aa=this['_resultViews']['find'](_0x4431fd=>_0x4431fd['id']===_0x4175d0);_0x4066aa&&(_0x4066aa['status']=_0x10456d,_0x4066aa['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x475307,_0x444aac){this['headerTitle']=_0x475307,this['headerSubtitle']=_0x444aac||'';}['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 AISkeletonView(this['locale'],_0x952258['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x473139=new _0xa0ed63['View'](this['locale']),_0x231d52=[];for(let _0xb67a69=0x0;_0xb67a69<0x10;_0xb67a69++){const _0x5c700b=this['_createSkeletonLoader']();_0x5c700b['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x231d52['push'](_0x5c700b);}return _0x473139['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x3f2dd1=>!_0x3f2dd1)]},'children':_0x231d52}),_0x473139;}['_createErrorView'](){const _0x5d2571=new _0xa0ed63['View'](this['locale']),_0x2e02d0=new _0xa0ed63['ButtonView'](this['locale']),t=this['locale']['t'];return _0x5d2571['delegate']('retryReview')['to'](this),_0x2e02d0['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x2e02d0['on']('execute',()=>{this['fire']('retryReview');}),_0x5d2571['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4056b3=>!_0x4056b3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x273c85=>'chunk'===_0x273c85)]},'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',_0x560703=>'chunk'===_0x560703)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd60b30=>'general'!==_0xd60b30)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2988d5=>'chunk'!==_0x2988d5)]},'children':[{'text':xt(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2e02d0]}),_0x5d2571;}['_createCancelButtonView'](){const _0x2890de=new _0xa0ed63['ButtonView'](this['locale']);return _0x2890de['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0xa0ed63['IconStop']}),_0x2890de['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x420476=>_0x420476),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2c57b1=>_0x2c57b1)]}}),_0x2890de['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2890de;}['_createToggleDiffButtonView'](){const _0x129cac=new _0xa0ed63['ButtonView'](this['locale']);_0x129cac['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x129cac['bind']('isEnabled')['to'](this,'isError',_0xa23117=>!_0xa23117),_0x129cac['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2c6fdb=>!_0x2c6fdb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x83ce49=>_0x83ce49)]}});const _0x6d0df8=xt(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4370d2=xt(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x129cac['bind']('isOn')['to'](this,'isToggleDiffOn',_0x51c7c3=>_0x51c7c3),_0x129cac['bind']('icon')['to'](this,'isToggleDiffOn',_0x8fe8e9=>_0x8fe8e9?_0xa0ed63['IconEye']:_0xa0ed63['IconEyeCrossedOut']),_0x129cac['bind']('label')['to'](this,'isToggleDiffOn',_0x499aef=>_0x499aef?_0x6d0df8:_0x4370d2),_0x129cac['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x129cac;}['_createAcceptAllButtonView'](){const _0x3b81af=new _0xa0ed63['ButtonView'](this['locale']);return _0x3b81af['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3b81af['bind']('isEnabled')['to'](this,'isError',_0x2b5bc3=>!_0x2b5bc3),_0x3b81af['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4b6ab9=>!_0x4b6ab9),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x27a5f0=>_0x27a5f0)]}}),_0x3b81af['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3b81af;}['_createExitReviewButtonView'](){const _0x391eaf=new _0xa0ed63['ButtonView'](this['locale']);return _0x391eaf['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x391eaf['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2c8fc0=>!_0x2c8fc0),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xc7f69b=>_0xc7f69b)]}}),_0x391eaf['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x391eaf;}['_createResultHeaderView'](){const _0x40f0a9=new _0xa0ed63['View'](this['locale']),_0x19a36e=this['_createTitleView']();return _0x40f0a9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x49f227=>_0x49f227)]},'children':[_0x19a36e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x40f0a9;}['_createTitleView'](){const _0x3e5458=new _0xa0ed63['View'](this['locale']),_0x116568=new _0x5ccda7();return _0x116568['bind']('isVisible')['to'](this,'isResultReady',_0x345a59=>!_0x345a59),_0x3e5458['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x116568,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4bc2da=>_0x4bc2da)]},'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')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xcc102c=>!_0xcc102c)]},'children':[{'text':xt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3e5458;}['_createFinishReviewButtonView'](){const _0x4802c8=new AIReviewCoreFinishReviewButtonView(xt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x4802c8['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x48071e=>!_0x48071e)]}}),_0x4802c8['delegate']('finishReview')['to'](this),_0x4802c8;}}class AIReviewCoreReviewCompletedView extends _0xa0ed63['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x5c466f,_0x5214c2){super(_0x5c466f),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x5214c2['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x5214c2['headerText']);const _0x39da83=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x39da83['if']('isVisible','ck-hidden',_0x53d745=>!_0x53d745)]},'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':_0x5214c2['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x5eaa37){const _0x223d8c=new AIReviewCoreFinishReviewButtonView(_0x5eaa37,this['locale']);return _0x223d8c['delegate']('finishReview')['to'](this),_0x223d8c;}['_createResultHeaderView'](_0x558b5b){const _0x1a6d4a=new _0xa0ed63['View'](this['locale']);return _0x1a6d4a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x558b5b}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x1a6d4a;}}class _0x2bf9d8 extends _0xa0ed63['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x241085,_0x4a05fd){super(_0x241085),this['_defaultValue']=_0x4a05fd['default']||(_0x4a05fd['data']['length']>0x0?_0x4a05fd['data'][0x0]['id']:''),this['_defaultLabel']=_0x4a05fd['data']['find'](_0x15909d=>_0x15909d['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=_0xa0ed63['createDropdown'](this['locale']);const _0x326d2c=this['_prepareListOptions'](_0x4a05fd['data']);_0xa0ed63['addListToDropdown'](this['_dropdownView'],_0x326d2c,{'role':'menu','ariaLabel':_0x4a05fd['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x126819=>{_0x126819['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x4e9ec6=>{this['formValue']=_0x4e9ec6['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x4e9ec6['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'](_0x59fd48=[]){const _0x214a9d=new _0xa0ed63['Collection']();this['resetToDefault']();for(const _0x5169c1 of _0x59fd48){const _0x2b24f2=new _0xa0ed63['UIModel']({'label':_0x5169c1['label'],'withText':!0x0,'role':'menuitemradio','id':_0x5169c1['id'],'model':_0x5169c1});_0x2b24f2['bind']('isOn')['to'](this,'formValue',_0xb476de=>_0xb476de===_0x2b24f2['id']);const _0x5420f5={'type':'button','model':_0x2b24f2};_0x214a9d['add'](_0x5420f5);}return _0x214a9d;}}class _0x982c22 extends _0xa0ed63['ListItemView']{['_formItem']=null;constructor(_0x3af871,_0x3816c0,_0x3f2f30){super(_0x3af871),this['argsKey']=_0x3816c0?.['argsKey'];if('dropdown'===_0x3816c0['formType'])this['_formItem']=new _0x2bf9d8(this['locale'],_0x3816c0);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x1e76a7=new _0xa0ed63['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x3f2f30?'ck-form__row_with-submit':'']});_0x3f2f30&&_0x1e76a7['children']['add'](_0x3f2f30),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x1e76a7]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends _0xa0ed63['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x21bc6d){super(_0x21bc6d),this['set']('isEmpty',!0x0),this['keystrokes']=new _0xa0ed63['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']);}}class AIReviewCoreCustomCheckView extends _0xa0ed63['View']{['focusTracker']=new _0xa0ed63['FocusTracker']();['keystrokes']=new _0xa0ed63['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0xa0ed63['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1550c7,_0x3be556,_0x560249=!0x1){super(_0x1550c7),this['_check']=_0x3be556,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3be556['defaultModel']?_0x3be556['defaultModel']['id']:'',this['_defaultLabel']=_0x3be556['defaultModel']?_0x3be556['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0xa0ed63['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x1550c7)),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 _0xa0ed63['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x560249),_0xa0ed63['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 _0xa0ed63['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0xa0ed63['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x50aff2,_0xd36f31)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xd36f31()):_0xd36f31();}),this['focusCycler']=new _0xa0ed63['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'](_0xb175a7=>{this['_focusables']['add'](_0xb175a7),this['focusTracker']['add'](_0xb175a7['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 _0x259b78 of this['_getFormValidators']()){const _0x20192e=_0x259b78();if(_0x20192e)return this['promptInputView']['errorText']=_0x20192e,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return xt(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x431da7=new _0xa0ed63['ButtonView'](this['locale']),t=this['locale']['t'];return _0x431da7['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x431da7['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x431da7;}['_createCancelButtonView'](){const _0x3d1964=new _0xa0ed63['ButtonView'](this['locale']),t=this['locale']['t'];return _0x3d1964['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3d1964['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x127ff9=>{_0x127ff9['stopPropagation']();})}}),_0x3d1964['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3d1964;}['_setModelList'](_0x53304a){this['_modelSelectionDropdownItems']['clear']();const _0x1f408b=this['_check']['models'];if(_0x53304a)this['set']('modelDisplayMode','hidden');else{const _0x4fb4e6=0x1===_0x1f408b['length'];this['set']('modelDisplayMode',_0x4fb4e6?'name':'selector');}if(this['resetToDefault'](),_0x1f408b?.['length']){0x1===_0x1f408b['length']&&this['set']('activeModelName',_0x1f408b[0x0]['name']||_0x1f408b[0x0]['id']);for(const _0x28a650 of _0x1f408b){const _0x3aab22=new _0xa0ed63['UIModel']({'label':_0x28a650['name'],'withText':!0x0,'role':'menuitemradio','id':_0x28a650['id'],'model':_0x28a650});_0x3aab22['bind']('isOn')['to'](this,'modelId',_0x398996=>_0x398996===_0x28a650['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3aab22,'labelView':new ModelButtonLabelView(this['locale'],_0x28a650)});}}}['_createModelSelectionDropdown'](){const _0x47bf73=_0xa0ed63['createDropdown'](this['locale']);return _0x47bf73['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x47bf73['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x47bf73['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x686ff=>'selector'===_0x686ff),this['listenTo'](_0x47bf73,'execute',_0x282bd2=>{this['modelId']=_0x282bd2['source']['model']['id'],_0x47bf73['buttonView']['label']=_0x282bd2['source']['label'];}),_0x47bf73;}['_createModelNameView'](){const _0x4fd597=new _0x5c177a(this['locale']);return _0x4fd597['bind']('text')['to'](this,'activeModelName',_0x1541e4=>_0x1541e4??''),_0x4fd597['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4cf1d8=>'name'===_0x4cf1d8),_0x4fd597;}['_createActionsFooterView'](){const _0x14b7e0=new _0xa0ed63['View'](this['locale']);return _0x14b7e0['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']]}]}),_0x14b7e0;}}class _0x5c177a extends _0xa0ed63['View']{constructor(_0x5c5134){super(_0x5c5134),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x2c1f96=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x2c1f96['if']('isVisible','ck-hidden',_0x2397fb=>!_0x2397fb)]},'children':[{'text':_0x2c1f96['to']('text')}]});}}class ModelButtonLabelView extends _0xa0ed63['ButtonLabelView']{constructor(_0x4bbe80,_0x43f1e0){super();const _0x52672d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x52672d['to']('style'),'id':_0x52672d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x52672d['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x43f1e0['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0xa0ed63['ListItemView']{['_formItemsCollection']=new _0xa0ed63['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x44c3bf,_0x2d484b,_0x3ad205,_0x2ef5d8=!0x1){super(_0x44c3bf),this['_hideModels']=_0x2ef5d8,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2d484b['isParameterized']);const _0x50b62b=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',_0x55a3e0=>_0x55a3e0),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x4680d7=>_0x4680d7)],'style':{'--ck-ai-review-check-list-item-index':_0x3ad205}},'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':_0x2d484b['title']}]},_0x50b62b]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x2d484b['description']?[{'text':_0x2d484b['description']}]:[]}]}]},..._0x2d484b['isParameterized']?[this['_createParameterizedView'](_0x2d484b)]:[],...'custom'===_0x2d484b['id']?[this['_createCustomView'](_0x2d484b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x2d484b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2d484b['id'],'args':_0x2d484b['useArgs']?_0x2d484b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa0ed63['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2352a0=>{_0x2352a0['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x46912b=new _0xa0ed63['IconView']();return _0x46912b['content']=_0xa0ed63['IconChevronRight'],_0x46912b['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x46912b;}['_createParameterizedView'](_0x58ff45){const _0x1355d0=new _0xa0ed63['View'](),_0x18f730=this['_createFormView'](_0x58ff45);return _0x1355d0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x19783f=>!_0x19783f)]},'children':[_0x18f730]}),_0x1355d0;}['_createFormView'](_0x2a4486){const _0xbbbb97=new _0xa0ed63['View'](),_0x345e13=Array['isArray'](_0x2a4486['options'])?_0x2a4486['options']:[],_0xfb853e=new _0xa0ed63['ButtonView'](this['locale']),t=this['locale']['t'];_0xfb853e['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xfb853e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4dc375=>{_0x4dc375['stopPropagation']();})}}),_0xfb853e['on']('execute',()=>{const _0xcafa6a=[],_0x1a7c35={};this['_formItemsCollection']['forEach'](_0x305ae2=>{_0xcafa6a['push'](_0x305ae2['value']),_0x2a4486['useArgs']&&_0x2a4486['options']&&(_0x1a7c35[_0x305ae2['argsKey']]=_0x305ae2['value']);}),this['fire']('runReviewCheck',{'id':_0x2a4486['id'],'params':_0xcafa6a['length']?_0xcafa6a:void 0x0,'args':Object['keys'](_0x1a7c35)['length']?_0x1a7c35:void 0x0});});const _0x21d0e7=_0x345e13['length'];return _0x345e13['forEach']((_0xda1dde,_0x5df908)=>{const _0x48adcf=_0x5df908===_0x21d0e7-0x1;this['_formItemsCollection']['add'](new _0x982c22(this['locale'],_0xda1dde,_0x48adcf?_0xfb853e:null));}),_0xbbbb97['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xbbbb97;}['_createCustomView'](_0x12e177,_0x247508=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x12e177,_0x247508),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',_0x429b28=>!_0x429b28)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x152bac,_0x5009a7,_0x5701a9)=>{_0x5701a9||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0xa0ed63['ListItemView']{['_checkViews'];constructor(_0x50ffd8){super(_0x50ffd8),this['_checkViews']=new _0xa0ed63['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x44c2aa,_0xb2aed9=!0x1){this['_checkViews']['clear']();for(const [_0x39210f,_0x12fdf2]of _0x44c2aa['entries']()){const _0x303ea2=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x12fdf2,_0x39210f,_0xb2aed9);_0x303ea2['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x303ea2);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x37146b of this['_checkViews'])_0x37146b instanceof AIReviewCoreReviewCommandListItemView&&_0x37146b['resetToDefault']();}['_setupTemplate'](){const _0x1d94b8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1d94b8['if']('isVisible','ck-hidden',_0x4437ec=>!_0x4437ec)]},'children':this['_checkViews']});}}class _0x782385 extends _0x34dbc7{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x18568b=this['context']['locale'],_0x39e514=new _0xa0ed63['FormHeaderView'](_0x18568b,{'label':xt(_0x18568b,'AI_REVIEW_MODE'),'icon':_0xa0ed63['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x1fb258(this['context']['locale'],{'header':_0x39e514,'list':new AIReviewCoreReviewCheckListView(_0x18568b),'results':new AIReviewCoreUICheckResultsView(_0x18568b,{'generalErrorText':xt(_0x18568b,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x18568b,{'headerText':xt(_0x18568b,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':xt(_0x18568b,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':xt(_0x18568b,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x2894c6=this['context']['plugins']['get']('AITabs');_0x2894c6['view']['on']('activateTab',(_0x25391f,_0x637eac)=>{'reviewMode'===_0x637eac?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x2894c6['view']['addTab']({'id':'reviewMode','buttonLabel':xt(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0xa0ed63['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x211288='review-';class AIReviewCoreEditing extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];constructor(_0x321797){super(_0x321797),this['_domEmitter']=new(_0xa0ed63['DomEmitterMixin']())(),this['_eventEmitter']=new(_0xa0ed63['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x1477fb=ta(this['context']);_0x1477fb['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x211288+'insert','view':(_0x107444,{writer:_0xc4b070})=>{const _0x13789c=this['_markers']['get'](_0x107444['markerName']),_0x482da1={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x13789c?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x107444['markerName']};return _0xc4b070['createUIElement']('span',_0x482da1,function(_0x1d1163){const _0x4588b0=this['toDomElement'](_0x1d1163);return _0x4588b0['innerHTML']=_0x13789c?.['content']?.['asString']||'',_0x4588b0;});}}),_0x1477fb['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x211288+'remove-only','view':_0x4a14f2=>{const _0x38dfd6=this['_markers']['get'](_0x4a14f2['markerName']),_0x241aed=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x38dfd6?.['id']||'')&&_0x241aed['push']('ck-ai_review__change_active'),{'classes':_0x241aed,'attributes':{'data-marker-id':_0x4a14f2['markerName']}};}}),_0x1477fb['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x211288+'remove-context','view':_0x564ce4=>{const _0x1869fb=this['_markers']['get'](_0x564ce4['markerName']),_0x4fe1d1=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x1869fb?.['id']||'')&&_0x4fe1d1['push']('ck-ai_review__change_active'),{'classes':_0x4fe1d1,'attributes':{'data-marker-id':_0x564ce4['markerName']}};}}),_0x1477fb['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x211288+'remove-text','view':_0xbd6694=>{const _0x2b81c6=this['_markers']['get'](_0xbd6694['markerName']),_0x49b46e=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x2b81c6?.['id']||'')&&_0x49b46e['push']('ck-ai_review__change_active'),{'classes':_0x49b46e,'attributes':{'data-marker-id':_0xbd6694['markerName']}};}}),_0x1477fb['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x211288+'suggestion-context','view':(_0x16b0e7,{writer:_0x448fbe})=>_0x448fbe['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x16b0e7['isOpening']?'start':'end')})}),_0x1477fb['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x51f885,'view':_0x26dcd0});const _0x420188=_0x1477fb['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x420188,'mouseup',(_0xf56dd8,_0x334998)=>{const _0x17fbfa=_0x334998['target'],_0x75e80e=this['_findMarkerElement'](_0x17fbfa);if(!_0x75e80e)return;const _0x15c4c8=_0x75e80e['getAttribute']('data-marker-id'),_0x723ca7=_0x15c4c8['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x15c4c8,'changeId':_0x723ca7,'markerElement':()=>this['_findMarkerElementById'](_0x15c4c8),'domEvent':_0x334998});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x420188,'mouseover',(_0x239379,_0x21d193)=>{const _0x1c4ba1=_0x21d193['target'],_0x5791b4=_0x21d193['relatedTarget'];let _0x3edf77=this['_findMarkerElement'](_0x1c4ba1);if(!_0x3edf77&&_0x5791b4&&(_0x3edf77=this['_findMarkerElement'](_0x5791b4)),!_0x3edf77)return;const _0x386b80=_0x3edf77['getAttribute']('data-marker-id'),_0x12c995=_0x386b80['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x12c995,'markerElement':()=>this['_findMarkerElementById'](_0x386b80),'domEvent':_0x21d193});}),this['_domEmitter']['listenTo'](document,'mouseover',rt((_0x25ea16,_0x172bb0)=>{const _0x594c43=_0x172bb0['target'];if(this['_findMarkerElement'](_0x594c43))return;_0x594c43['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x1477fb['model']['document']['registerPostFixer'](_0x56beb1=>this['_validateMarkers'](_0x1477fb,_0x56beb1)),_0x1477fb['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x1477fb));}['getDocumentData'](){const _0x39940a=this['context']['plugins']['get']('AIEditing'),_0x2c4ca5=ta(this['context']),_0x19fd50=_0x2c4ca5['model'],_0x3ada8b=new _0xa0ed63['ModelDocumentFragment']();for(const _0x4305e6 of _0x19fd50['document']['getRoot']()['getChildren']()){const _0x2efc91=_0x4305e6['_clone'](!0x0);_0x3ada8b['_appendChild'](_0x2efc91);}for(const _0x5f105a of _0x19fd50['markers'])_0x3ada8b['markers']['set'](_0x5f105a['name'],this['_changeRangeOwnerDocument'](_0x5f105a['getRange']()['clone'](),_0x3ada8b));const _0x2909bd=new _0xa0ed63['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x19fd50['createPositionAt'](_0x3ada8b,0x0)}),_0x43a558=new Set(),_0x3e38d5=new Map();for(const {item:_0x37de07}of _0x2909bd){if(!_0x37de07['is']('$textProxy'))continue;const _0x3e89ea=_0x37de07['parent'];if(_0x3e89ea&&_0x3e89ea['is']('element')){const _0x180ea1=this['_upsertDataId'](_0x3e89ea,()=>_0x39940a['_nextDataId'](_0x43a558));_0x43a558['add'](_0x180ea1);for(const _0x4d0349 of _0x3e89ea['getChildren']())_0x4d0349['is']('element')&&_0x43a558['add'](this['_upsertDataId'](_0x4d0349,()=>_0x39940a['_nextDataId'](_0x43a558)));let _0x1a06de=_0x3e89ea;for(;_0x1a06de['parent']&&!_0x1a06de['parent']['is']('documentFragment');)_0x1a06de=_0x1a06de['parent'],_0x1a06de['hasAttribute'](_0x51f885)&&_0x1a06de['_removeAttribute'](_0x51f885);_0x3e38d5['set'](_0x180ea1,{'path':_0x3e89ea['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x1a06de['_clone'](!0x0),_0x180ea1,_0x2c4ca5['data'])}),_0x2909bd['jumpTo'](_0x19fd50['createPositionAfter'](_0x3e89ea));}}return{'content':_0x2c4ca5['data']['processor']['toData'](_0x2c4ca5['data']['toView'](_0x3ada8b)),'version':_0x2c4ca5['model']['document']['version'],'elements':_0x3e38d5};}['diffContent'](_0x19eaf7,_0x4b63db,_0x35ae0f=!0x1){const _0x3b4279=[],_0x420c5d=ta(this['context']),_0x5efd7b=_0x420c5d['data']['parse'](_0x4b63db,'$documentFragment'),_0x507eb0=_0x420c5d['data']['parse'](_0x19eaf7,'$documentFragment'),_0x3c5502=_0x420c5d['model']['createPositionAt'](_0x507eb0,0x0);if(this['_haveSingleTopLevelElement'](_0x5efd7b)){if(!this['_hasSameTopLevelElement'](_0x507eb0,_0x5efd7b))return _0x3b4279;}else{const _0x53e888=_0x420c5d['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x507eb0,_0x53e888)||!this['_haveOnlyInlineContent'](_0x5efd7b,_0x53e888))return _0x3b4279;}const _0x174756=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x19eaf7,_0x4b63db,{'anchor':_0x3c5502,'markDeletions':!0x0})['getOperations']()['filter'](_0x5494ce=>'insert'===_0x5494ce['type']||'marker'===_0x5494ce['type']&&_0x5494ce['name']['startsWith']('$markedRemove')),_0x93f72e=this['_groupAdjacentOperations'](_0x174756),_0x551bca=[];if(_0x35ae0f){if(_0x93f72e['length']){const _0x4b60b4=_0x93f72e[0x0]['operations'][0x0],_0x59e0d9='insert'===_0x4b60b4['type']?_0x4b60b4['position']:_0x4b60b4['newRange']['start'],_0x17d85d=this['_getPositionLimitingRange'](_0x59e0d9,_0x420c5d,'inside'),_0x41484b=_0x17d85d?_0x5efd7b['getChild'](0x0)['getChildren']():_0x5efd7b['getChildren'](),_0x581408=_0x17d85d||_0x420c5d['model']['createRangeIn'](_0x507eb0),_0x3041f0=[new _0xa0ed63['MarkerOperation']('$markedRemove:synthetic'+_0xa0ed63['uid'](),null,_0x581408,_0x420c5d['model']['document']['model']['markers'],!0x0,_0x420c5d['model']['document']['version']+0x1),new _0xa0ed63['InsertOperation'](_0x581408['end'],_0x41484b,_0x420c5d['model']['document']['version']+0x2)];_0x551bca['push']({'operations':_0x3041f0,'operationsIsolated':_0x3041f0,'groupOffset':0x0});}}else _0x551bca['push'](..._0x93f72e);let _0x1bd60e=0x0;return _0x420c5d['model']['change'](_0x4d32fb=>{for(let _0x180594=0x0;_0x180594<_0x551bca['length'];_0x180594++){const _0x124edf=_0x551bca[_0x180594],_0x542db0=_0x4d32fb['createDocumentFragment']();for(const _0x3c43a7 of _0x507eb0['getChildren']())_0x4d32fb['append'](_0x3c43a7['_clone'](!0x0),_0x542db0);for(const _0xedd3f1 of _0x124edf['operationsIsolated'])if('insert'===_0xedd3f1['type']){const _0x4331dd=_0xedd3f1;_0x4331dd['baseVersion']=null,_0x4331dd['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x4331dd,_0x542db0),_0x4d32fb['batch']['addOperation'](_0xedd3f1),_0x420c5d['model']['applyOperation'](_0xedd3f1);const _0x39a340='suggestion:insertion:id:authorId:'+_0x1bd60e++,_0x5da4ee=_0x420c5d['model']['createRange'](_0x4331dd['position'],_0x4331dd['position']['getShiftedBy'](_0x4331dd['howMany']));_0x542db0['markers']['set'](_0x39a340,_0x5da4ee);}else{if('marker'===_0xedd3f1['type']&&_0xedd3f1['name']['startsWith']('$markedRemove')){const _0xd60ef0=_0xedd3f1,_0x2f00bb='suggestion:deletion:id:authorId:'+_0x1bd60e++;this['_changeOperationOwnerDocument'](_0xd60ef0,_0x542db0),_0x542db0['markers']['set'](_0x2f00bb,_0xd60ef0['newRange']);}}if(_0x35ae0f)_0x3b4279['push']({..._0x124edf,'context':this['_createGetContentFn'](_0x507eb0,_0x420c5d['data']),'content':this['_createGetContentFn'](_0x507eb0,_0x420c5d['data'])});else{const _0x1d39ee=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x124edf['operationsIsolated'][0x0]),_0x542db0),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x124edf['operationsIsolated'][_0x124edf['operationsIsolated']['length']-0x1]),_0x542db0));_0x542db0['markers']['set'](_0x211288+'suggestion-context',new _0xa0ed63['ModelRange'](_0x1d39ee['start'],_0x1d39ee['end'])),_0x3b4279['push']({..._0x124edf,'context':this['_createGetContextFn'](_0x542db0,_0x420c5d['data'],{'ellipsisBefore':_0x1d39ee['hasContentBefore'],'ellipsisAfter':_0x1d39ee['hasContentAfter']}),'content':this['_createGetContentFn'](_0x542db0,_0x420c5d['data'])});}}}),_0x3b4279;}['markChangePositionInEditorContent'](_0x39e3bb,_0x47ea84){if(!_0x39e3bb['length'])return;const _0x59dfa9=_0x39e3bb[0x0]['parent']['id'],_0x451403=_0x47ea84['elements']['get'](_0x59dfa9);if(!_0x451403)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x59dfa9);const _0x3d673b=_0x451403['path'],_0x39b220=ta(this['context']),_0x4a5b5a=_0x39b220['model']['document']['history']['getOperations'](_0x47ea84['version']),_0x47fd21=[];for(const _0x4f382e of _0x39e3bb){const _0x312715=_0x4f382e['operationsIsolated']['map'](_0x47d2f3=>this['_translateOperationToEditorContent'](_0x47d2f3,_0x3d673b,_0x39b220['model']['document']['getRoots']()[0x0]));if(!_0x312715||!_0x312715['length'])continue;const _0x57b542=_0x312715['every'](_0xd2299f=>'marker'===_0xd2299f['type']&&_0xd2299f['name']['startsWith']('$markedRemove')),_0x3bea22={'document':_0x39b220['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x57b788=_0xa0ed63['transformOperationSets'](_0x312715,_0x4a5b5a,_0x3bea22)['operationsA'];for(const _0x5d0d99 of _0x57b788)if('insert'===_0x5d0d99['type']){const _0x32ac58=_0x5d0d99,_0x525fef=_0x32ac58['nodes'];_0x39b220['model']['change'](_0x4d10b0=>{const _0x43c8cf=_0x4d10b0['createDocumentFragment']();for(const _0x1f2216 of _0x525fef)_0x4d10b0['append'](_0x1f2216['_clone'](!0x0),_0x43c8cf);_0x47fd21['push']({'start':_0x32ac58['position'],'end':_0x32ac58['position'],'type':'insert','groupId':_0x4f382e['id'],'content':{'asString':this['_createGetContentFn'](_0x43c8cf,_0x39b220['data'])(),'asFragment':_0x43c8cf}});});}else{if('marker'===_0x5d0d99['type']&&_0x5d0d99['name']['startsWith']('$markedRemove')){const _0x259327=_0x5d0d99;let _0x3606e7='remove-text';if(_0x57b542){const _0x37faa9=this['_findAdjacentContextDistance'](_0x259327['newRange']['start'],'backward',_0x39b220['model']['schema']),_0x525016=this['_findAdjacentContextDistance'](_0x259327['newRange']['end'],'forward',_0x39b220['model']['schema']);if(_0x37faa9||_0x525016){const _0x1ae3c4=_0x259327['newRange']['start']['getShiftedBy'](-_0x37faa9),_0x195697=_0x259327['newRange']['end']['getShiftedBy'](_0x525016);_0x47fd21['push']({'start':_0x1ae3c4,'end':_0x195697,'groupId':_0x4f382e['id'],'type':'remove-context'});}else _0x3606e7='remove-only';}_0x47fd21['push']({'start':_0x259327['newRange']['start'],'end':_0x259327['newRange']['end'],'groupId':_0x4f382e['id'],'type':_0x3606e7});}}}this['_insertMarkers'](_0x47fd21);}['clearAllMarkers'](){const _0x518999=ta(this['context']);_0x518999['model']['change'](_0x357a7f=>{for(const _0x33d079 of this['_markers']['keys']())_0x518999['model']['markers']['get'](_0x33d079)&&_0x357a7f['removeMarker'](_0x33d079);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){ta(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){ta(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x3ed17e){const _0x1401b3=ta(this['context']),_0x34a799=_0x1401b3['model'],_0xf9c6a3=_0x3ed17e['map'](_0x2443be=>this['_getMarkersDataForGroup'](_0x2443be))['flat']();_0x34a799['change'](_0x66c238=>{for(const _0x19a8df of _0xf9c6a3){const _0x542f20=_0x1401b3['model']['markers']['get'](_0x19a8df['id']);if(_0x542f20){if('insert'===_0x19a8df['type']){if(!_0x19a8df['content'])continue;_0x34a799['insertContent'](_0x19a8df['content']['asFragment']||null,_0x542f20['getRange']()['start']);}else'remove-text'!==_0x19a8df['type']&&'remove-only'!==_0x19a8df['type']||_0x34a799['deleteContent'](_0x34a799['createSelection'](_0x542f20['getRange']()));_0x66c238['removeMarker'](_0x19a8df['id']),this['_markers']['delete'](_0x19a8df['id']);}}});}['rejectChange'](_0x51ca44){const _0x2aa333=ta(this['context']),_0x512dd2=this['_getMarkersDataForGroup'](_0x51ca44);_0x2aa333['model']['change'](_0x22f46a=>{for(const _0x4e4a95 of _0x512dd2)_0x22f46a['removeMarker'](_0x4e4a95['id']),this['_markers']['delete'](_0x4e4a95['id']);});}['getEditor'](){return ta(this['context']);}['getMarkerElementForChange'](_0x238648){const _0x5bd38c=Array['from'](this['_markers']['values']())['filter'](_0x2a9e46=>_0x2a9e46['groupId']===_0x238648);if(!_0x5bd38c['length'])return null;const _0x2b8ed2=0x1===_0x5bd38c['length']?_0x5bd38c[0x0]:this['_sortMarkers'](_0x5bd38c)[0x0],_0x2ca730=ta(this['context'])['model']['markers']['get'](_0x2b8ed2['id']);if(!_0x2ca730)return null;return{'modelRange':_0x2ca730['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x2b8ed2['id'])};}['getContentElementForChange'](_0x44567d){const _0x328fc1=Array['from'](this['_markers']['values']())['filter'](_0x481277=>_0x481277['groupId']===_0x44567d);if(!_0x328fc1['length'])return null;const _0x25f662=0x1===_0x328fc1['length']?_0x328fc1[0x0]:this['_sortMarkers'](_0x328fc1)[0x0],_0x520ca0=ta(this['context']),_0x43bb8d=_0x520ca0['model']['markers']['get'](_0x25f662['id']);if(!_0x43bb8d)return null;const _0x3a424d=_0x43bb8d['getRange'](),_0x1aa17b=_0x520ca0['editing']['view']['getDomRoot']();if(!_0x1aa17b||!_0x3a424d)return null;let _0x5a68be=_0x3a424d['start']['parent'];for(;_0x5a68be['parent']&&'$root'!==_0x5a68be['parent']['name'];)_0x5a68be=_0x5a68be['parent'];if(!_0x5a68be||!_0x5a68be['name'])return null;const _0x5327be=_0x1aa17b['querySelector']('[data-marker-id=\x22'+_0x25f662['id']+'\x22]');if(!_0x5327be)return null;let _0x5c5472=null;_0x520ca0['model']['change'](_0x293d1f=>{_0x5c5472=_0x293d1f['createDocumentFragment'](),_0x293d1f['append'](_0x5a68be['_clone'](!0x0),_0x5c5472);});const _0xaa4e2f=_0x520ca0['data']['toView'](_0x5c5472)['getChild'](0x0);return _0x5327be['closest'](_0xaa4e2f['name']);}['reactivateMarkers'](_0x5d8c25){const _0x2ecf18=this['_getMarkersDataForGroup'](_0x5d8c25);if(!_0x2ecf18['length'])return;const _0xa108fc=Array['from'](this['_activeMarkers'])['sort'](),_0x532672=Array['from'](new Set(_0x2ecf18['map'](_0x532785=>_0x532785['id'])))['sort']();_0xa108fc['join']('|')!==_0x532672['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x5d8c25));}['setMarkersInElementAsActive'](_0x3aa652){const _0x41618f=this['_getMarkersDataForGroup'](_0x3aa652);if(!_0x41618f['length'])return;const _0x4538c2=ta(this['context']),_0x3b1f33=new Set(_0x41618f['map'](_0x1f7582=>_0x1f7582['id'])),_0x5e96ad=Array['from'](_0x3b1f33['values']())['map'](_0x40f3bb=>_0x4538c2['model']['markers']['get'](_0x40f3bb))['filter'](_0x3a8644=>!!_0x3a8644);_0x3b1f33['forEach'](_0x4c1b94=>{this['_activeMarkers']['add'](_0x4c1b94);}),_0x4538c2['model']['change'](()=>{_0x5e96ad['forEach'](_0x204e20=>{_0x4538c2['editing']['reconvertMarker'](_0x204e20);});});}['setAllMarkersAsInactive'](){const _0xc763a0=Array['from'](this['_activeMarkers']);if(!_0xc763a0['length'])return;this['_activeMarkers']['clear']();const _0x1f8914=ta(this['context']),_0x576785=_0xc763a0['map'](_0x3ee5d3=>_0x1f8914['model']['markers']['get'](_0x3ee5d3))['filter'](_0x3c7ff3=>!!_0x3c7ff3);_0x1f8914['model']['change'](()=>{_0x576785['forEach'](_0x519190=>{_0x1f8914['editing']['reconvertMarker'](_0x519190);});});}['_getPositionLimitingRange'](_0x1e051a,_0x4fac29,_0xdf01c2='outside'){if(!_0x1e051a)return null;let _0x5f583f=_0x1e051a['parent'];for(;_0x5f583f&&_0x5f583f['parent']&&'$root'!==_0x5f583f['parent']['name']&&!_0x4fac29['model']['schema']['isLimit'](_0x5f583f)&&!_0x4fac29['model']['schema']['isBlock'](_0x5f583f);)_0x5f583f=_0x5f583f['parent'];if(!_0x5f583f||!_0x5f583f['name']||'$root'===_0x5f583f['name'])return null;let _0x4c1d60=null;return _0x4fac29['model']['change'](_0x1584b4=>{_0x4c1d60='inside'===_0xdf01c2?_0x1584b4['createRangeIn'](_0x5f583f):_0x1584b4['createRangeOn'](_0x5f583f);}),_0x4c1d60;}['_validateMarkers'](_0x1d9d33,_0x4f71e3){const _0x32228a=Array['from'](this['_markers']['keys']()),_0x57a43b=new Map();for(const _0x4a8054 of _0x32228a){const _0x410b91=_0x1d9d33['model']['markers']['get'](_0x4a8054);if(!_0x410b91)continue;const _0x5815f4=_0x410b91['getStart']()['path'][0x0];_0x57a43b['has'](_0x5815f4)||_0x57a43b['set'](_0x5815f4,[]),_0x57a43b['get'](_0x5815f4)['push'](_0x410b91);}const _0x345c53=new Set();for(const _0x35f379 of _0x1d9d33['model']['document']['differ']['getChanges']()){let _0x4ca50a=-0x1,_0x198f46=null;if('insert'===_0x35f379['type'])_0x198f46=new _0xa0ed63['ModelRange'](_0x35f379['position'],_0x35f379['position']['getShiftedBy'](_0x35f379['length'])),_0x4ca50a=_0x35f379['position']['path'][0x0];else{if('remove'!==_0x35f379['type'])continue;_0x198f46=new _0xa0ed63['ModelRange'](_0x35f379['position']),_0x4ca50a=_0x35f379['position']['path'][0x0];}const _0x1c02aa=_0x57a43b['get'](_0x4ca50a)||[];if(_0x1c02aa['length']){for(const _0x1272ef of _0x1c02aa)if(_0x198f46['root']['rootName']===_0x1272ef['getRange']()['root']['rootName']&&('insert'!==_0x35f379['type']||!_0x198f46['containsRange'](_0x1272ef['getRange']()))&&(_0x198f46['isIntersecting'](_0x1272ef['getRange']())||_0x198f46['start']['isTouching'](_0x1272ef['getRange']()['end'])||_0x198f46['end']['isTouching'](_0x1272ef['getRange']()['start']))){const _0x5a11d0=this['_parseMarkerName'](_0x1272ef['name']);Array['from'](this['_markers']['values']())['filter'](_0xff9417=>_0xff9417['groupId']===_0x5a11d0['groupId'])['forEach'](_0x7a386=>_0x345c53['add'](_0x7a386['id']));}}}if(_0x345c53['size']){for(const _0x2ad6c6 of _0x345c53)_0x4f71e3['removeMarker'](_0x2ad6c6);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x1d2bf2){for(const {name:_0x47f0d1,data:_0xc8b75}of _0x1d2bf2['model']['document']['differ']['getChangedMarkers']()){if(!_0x47f0d1['startsWith'](_0x211288))continue;const _0x32e07f=_0xc8b75['oldRange'],_0xb5465c=_0xc8b75['newRange'],_0x3ddb27=_0x32e07f&&'$graveyard'===_0x32e07f['root']['rootName'],_0x340a1c=_0xb5465c&&'$graveyard'===_0xb5465c['root']['rootName'];if(_0x3ddb27&&_0x340a1c)continue;const _0x36b0bf=this['_parseMarkerName'](_0x47f0d1);this['_markers']['get'](_0x47f0d1)&&(_0x340a1c||!_0xb5465c?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x47f0d1,'changeId':_0x36b0bf['groupId']}):_0x3ddb27&&_0xb5465c&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x47f0d1,'changeId':_0x36b0bf['groupId']}));}}['_parseMarkerName'](_0x762f60){const _0x4c43e0=_0x762f60['split'](':'),_0x296a6a=(_0x4c43e0[0x1]||'')['split']('_');return{'prefix':_0x4c43e0[0x0],'groupId':_0x296a6a[0x0],'suffix':_0x296a6a[0x1]};}['_translateOperationToEditorContent'](_0xf6571b,_0x39ac5f,_0x22ff96){if('insert'===_0xf6571b['type']){const _0x3b48a9=_0xf6571b;return new _0xa0ed63['InsertOperation'](this['_changePosition'](_0x39ac5f['concat'](_0x3b48a9['position']['offset']),_0x22ff96),_0x3b48a9['nodes'],_0x3b48a9['baseVersion']);}if('marker'===_0xf6571b['type']&&_0xf6571b['name']['startsWith']('$markedRemove')){const _0x5f4f8b=_0xf6571b;return new _0xa0ed63['MarkerOperation'](_0x5f4f8b['name'],_0x5f4f8b['oldRange'],this['_changeRange'](_0x5f4f8b['newRange'],_0x39ac5f['concat'](_0x5f4f8b['newRange']['start']['offset']),_0x39ac5f['concat'](_0x5f4f8b['newRange']['end']['offset']),_0x22ff96),_0x5f4f8b['_markers'],_0x5f4f8b['affectsData'],_0x5f4f8b['baseVersion']);}return _0xf6571b;}['_groupAdjacentOperations'](_0x4e5b12){if(!_0x4e5b12['length'])return[];const _0xd60a88=[];let _0x186a62=0x0,_0x81c702=0x0,_0x21ae5d=[];for(let _0x14490d=0x0;_0x14490d<=_0x4e5b12['length'];_0x14490d++){const _0x1134e0=_0x4e5b12[_0x14490d],_0x3e6ea6=_0x4e5b12[_0x14490d-0x1];!_0x1134e0||_0x3e6ea6&&!this['_getOperationEnd'](_0x3e6ea6)['isTouching'](this['_getOperationStart'](_0x1134e0))?(_0xd60a88['push']({'operations':_0x21ae5d,'operationsIsolated':_0x21ae5d['map'](_0x5afb4=>this['_shiftOperation'](_0x5afb4['clone'](),-_0x81c702)),'groupOffset':_0x186a62}),_0x21ae5d=_0x1134e0?[_0x1134e0]:[],_0x81c702+=_0x186a62,_0x186a62=0x0):_0x21ae5d['push'](_0x1134e0),_0x1134e0&&'insert'===_0x1134e0['type']&&(_0x186a62+=_0x1134e0['howMany']);}return _0xd60a88;}['_findAdjacentContextDistance'](_0xd00641,_0x3de77c,_0x3e60f2,_0x4a6369=0x1){const _0x14d29d=new _0xa0ed63['ModelTreeWalker']({'startPosition':_0xd00641,'direction':_0x3de77c});let _0x3f8255=0x0;for(let _0xd81036=0x0;_0xd81036<_0x4a6369;_0xd81036++){let _0x538b78=0x0,_0x57f4f0=!0x1,_0x45f1a7='forward'===_0x3de77c?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x27b2e6}of _0x14d29d)if(_0x27b2e6['is']('$textProxy')){const _0x313673=_0x45f1a7['exec'](_0x27b2e6['data']);if(_0x313673&&_0x313673['length']){if(_0x538b78+='forward'===_0x3de77c?_0x313673['index']+_0x313673[0x0]['length']:_0x27b2e6['data']['length']-_0x313673['index'],_0x313673[0x0]['length']!==_0x27b2e6['data']['length'])break;_0x57f4f0=!0x0,_0x45f1a7='forward'===_0x3de77c?/^\w+/:/\w+$/;}else{if(_0x57f4f0)break;_0x538b78+=_0x27b2e6['offsetSize'];}}else{if(_0x27b2e6['is']('element')){_0x3e60f2['isInline'](_0x27b2e6)&&!_0x57f4f0&&(_0x538b78+=0x1);break;}}_0x3f8255+=_0x538b78,_0x14d29d['jumpTo'](_0xd00641['getShiftedBy']('forward'===_0x3de77c?_0x3f8255:-_0x3f8255));}return _0x3f8255;}['_getChangeContext'](_0x260e97,_0x116ea8){const _0x12116d=ta(this['context'])['model']['schema'],_0x4e418d=this['_findAdjacentContextDistance'](_0x260e97,'backward',_0x12116d,0x6),_0x50bf7f=this['_findAdjacentContextDistance'](_0x116ea8,'forward',_0x12116d,0x6),_0x15afa2=_0x260e97['getShiftedBy'](-_0x4e418d),_0x9e10e8=_0x116ea8['getShiftedBy'](_0x50bf7f);return{'start':_0x15afa2,'end':_0x9e10e8,'hasContentBefore':!_0x15afa2['isAtStart'],'hasContentAfter':!_0x9e10e8['isAtEnd']};}['_insertMarkers'](_0x29390d){const _0x5057fe=this['context']['plugins']['get']('AIEditing'),_0x3a9e45=new Set();ta(this['context'])['model']['change'](_0x27b0c5=>{for(const _0x2e0365 of _0x29390d){const _0x5c036b=''+_0x211288+_0x2e0365['type']+':'+_0x2e0365['groupId']+'_'+_0x5057fe['_nextDataId'](_0x3a9e45);this['_markers']['set'](_0x5c036b,{'id':_0x5c036b,'groupId':_0x2e0365['groupId'],'type':_0x2e0365['type'],'content':_0x2e0365['content']}),_0x27b0c5['addMarker'](_0x5c036b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x27b0c5['createRange'](_0x2e0365['start'],_0x2e0365['end'])});}});}['_createGetContextFn'](_0x4a6338,_0x1ad032,_0x3936d3){let _0x610ec2='';return()=>{if(!_0x610ec2){const _0xe68cbe=_0x1ad032['toView'](_0x4a6338,{'showSuggestionHighlights':!0x0});let _0x3a5790=_0xe68cbe['getChild'](0x0);if(_0x3a5790['is']('containerElement')||(_0x3a5790=_0xe68cbe),!_0x3a5790)return'';let _0x474a61=!0x1;const _0x52448e=[];for(const _0x188ce8 of _0x3a5790['getChildren']())_0x188ce8['is']('element','span')&&_0x188ce8['hasClass']('ck-ai_review-marker_context-end')&&(_0x474a61=!0x1),_0x474a61&&_0x52448e['push'](_0x188ce8),_0x188ce8['is']('element','span')&&_0x188ce8['hasClass']('ck-ai_review-marker_context-start')&&(_0x474a61=!0x0);_0x3a5790['_removeChildren'](0x0,_0x3a5790['childCount']),_0x3936d3?.['ellipsisBefore']&&_0x3a5790['_appendChild']('…'),_0x3a5790['_appendChild'](_0x52448e),_0x3936d3?.['ellipsisAfter']&&_0x3a5790['_appendChild']('…');const _0x6745d4=_0x1ad032['htmlProcessor']['domConverter']['viewToDom'](_0xe68cbe),_0x2b69d4=_0x1ad032['htmlProcessor']['htmlWriter']['getHtml'](_0x6745d4);_0x610ec2=_0x2b69d4;}return _0x610ec2;};}['_createGetContentFn'](_0x2bae3b,_0x5c570d){let _0x16cd47='';return()=>(_0x16cd47||(_0x16cd47=_0x5c570d['stringify'](_0x2bae3b,{'showSuggestionHighlights':!0x0})),_0x16cd47);}['_createGetContentUsingDataIdFn'](_0x596ccd,_0x226066,_0x52ec47){let _0x215ad6='';return()=>{if(!_0x215ad6){const _0x4ac39b=_0x52ec47['toView'](new _0xa0ed63['ModelDocumentFragment'](_0x596ccd)),_0x4a4699=_0x52ec47['htmlProcessor']['domConverter']['viewToDom'](_0x4ac39b)['querySelector']('[data-id=\x22'+_0x226066+'\x22]');_0x215ad6=_0x4a4699?.['outerHTML']||'';}return _0x215ad6;};}['_findMarkerElement'](_0x48d099,_0x5f06b3=0x5){let _0x20eabf=_0x48d099,_0x5299fa=null;for(let _0x7c02f0=0x0;_0x7c02f0<_0x5f06b3&&_0x20eabf;_0x7c02f0++){if(!_0x20eabf['className']){_0x20eabf=_0x20eabf['parentElement'];continue;}if(!(''+_0x20eabf['className'])['includes']('ck-ai_review-marker_')){_0x20eabf=_0x20eabf['parentElement'];continue;}if(!_0x20eabf['getAttribute']('data-marker-id'))break;_0x5299fa=_0x20eabf;break;}return _0x5299fa;}['_findMarkerElementById'](_0x4a24a1){const _0x45786b=ta(this['context']),_0x241063=_0x45786b['model']['markers']['get'](_0x4a24a1);return _0x241063?_0xf4366a(_0x45786b['editing'],_0x241063):null;}['_getMarkersDataForGroup'](_0x17ae32){return Array['from'](this['_markers']['values']())['filter'](_0x3f9316=>_0x3f9316['groupId']===_0x17ae32);}['_getOperationStart'](_0x19e498){return'insert'===_0x19e498['type']?_0x19e498['position']:_0x19e498['newRange']['start'];}['_getOperationEnd'](_0x47ba25,_0x4693e4=!0x1){return'insert'===_0x47ba25['type']?_0x4693e4?_0x47ba25['position']:_0x47ba25['position']['getShiftedBy'](_0x47ba25['howMany']):_0x47ba25['newRange']['end'];}['_shiftOperation'](_0x4768a9,_0x192828){return'insert'===_0x4768a9['type']?_0x4768a9['position']=_0x4768a9['position']['getShiftedBy'](_0x192828):'marker'===_0x4768a9['type']&&_0x4768a9['newRange']&&(_0x4768a9['newRange']=new _0xa0ed63['ModelRange'](_0x4768a9['newRange']['start']['getShiftedBy'](_0x192828),_0x4768a9['newRange']['end']['getShiftedBy'](_0x192828))),_0x4768a9;}['_changeOperationOwnerDocument'](_0x4740a8,_0x4ba776){'insert'===_0x4740a8['type']?_0x4740a8['position']=this['_changePositionOwnerDocument'](_0x4740a8['position'],_0x4ba776):'marker'===_0x4740a8['type']&&_0x4740a8['newRange']&&(_0x4740a8['newRange']=this['_changeRangeOwnerDocument'](_0x4740a8['newRange'],_0x4ba776));}['_changePositionOwnerDocument'](_0x23ae0b,_0x59ff79){return new _0xa0ed63['ModelPosition'](_0x59ff79,_0x23ae0b['path']);}['_changeRangeOwnerDocument'](_0x197fa1,_0x2363ab){return new _0xa0ed63['ModelRange'](this['_changePositionOwnerDocument'](_0x197fa1['start'],_0x2363ab),this['_changePositionOwnerDocument'](_0x197fa1['end'],_0x2363ab));}['_changePosition'](_0xdf6faa,_0x575403){return new _0xa0ed63['ModelPosition'](_0x575403,[..._0xdf6faa]);}['_changeRange'](_0x576f3e,_0x2faa67,_0x47a3b9,_0x18e7fe){return new _0xa0ed63['ModelRange'](this['_changePosition'](_0x2faa67,_0x18e7fe),this['_changePosition'](_0x47a3b9,_0x18e7fe));}['_sortMarkers'](_0x3b4bbc){const _0x2777a3=_0x5d6ea9=>{switch(_0x5d6ea9){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x3b4bbc['sort']((_0xaae9f,_0x18da05)=>_0x2777a3(_0xaae9f['type'])-_0x2777a3(_0x18da05['type']));}['_hasSameTopLevelElement'](_0x4f67a7,_0x2b4f18){const _0x42e00b=_0x4f67a7['getChild'](0x0),_0x54bc91=_0x2b4f18['getChild'](0x0);return!(!_0x42e00b||!_0x54bc91)&&((!_0x42e00b['is']('element')||!_0x54bc91['is']('element')||_0x42e00b['name']===_0x54bc91['name'])&&!(_0x42e00b['is']('element')&&!_0x54bc91['is']('element')||!_0x42e00b['is']('element')&&_0x54bc91['is']('element')));}['_haveSingleTopLevelElement'](_0x451aff){return 0x1===_0x451aff['childCount'];}['_haveOnlyInlineContent'](_0x3d9676,_0x3cefd3){for(const _0x175155 of _0x3d9676['getChildren']())if(_0x175155['is']('element')&&!_0x3cefd3['isInline'](_0x175155))return!0x1;return!0x0;}['_upsertDataId'](_0x37c1c6,_0x3e2eb9){let _0x13fb79=_0x37c1c6['getAttribute'](_0x51f885);return _0x13fb79||(_0x13fb79=_0x3e2eb9(),_0x37c1c6['_setAttribute'](_0x51f885,_0x13fb79)),_0x13fb79;}}class AIReviewCheckResult extends _0xa0ed63['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x1ef0a9,contentNew:_0xade620,contentInitial:_0x448fff,documentVersion:_0x3fc67a}){super(),this['id']=_0x1ef0a9,this['contentNew']=_0xade620,this['contentInitial']=_0x448fff,this['documentVersion']=_0x3fc67a;}}class AIReviewCheckResultChange extends _0xa0ed63['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x28602d,_0x417c11,_0xe9753f){super(),this['id']=_0x28602d,this['parent']=_0xe9753f,this['_data']=_0x417c11,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'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x4eeb41 extends _0xa0ed63['ObservableMixin'](){['id']=_0xa0ed63['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x285e99,_0x337aa9,_0x341686,_0x40ea03,_0x3f8708){super(),this['_sourceCheck']=_0x337aa9,this['_documentData']=_0x285e99,this['_aiConnector']=_0x341686,this['_reviewParams']=_0x40ea03,this['_reviewArgs']=_0x3f8708,this['on']('change:status',(_0x5b4de0,_0x4076d2,_0x4974d2)=>{'aborted'==_0x4974d2&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x4974d2,'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'](_0x2be37e=>'pending'===_0x2be37e['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0x1e34d3){this['_documentData']=_0x1e34d3;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x183029=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x546521 of _0x183029)'unmodified'!==_0x546521['data']['operation']&&('error'!==_0x546521['data']['operation']?'review-metadata'!==_0x546521['event']?this['_addReviewCheckResult'](_0x546521['data']['dataId'],_0x546521['data']['textDelta']):this['callId']=_0x546521['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(_0x454b93){this['_currentError']=_0x454b93,_0x454b93 instanceof Error&&_0x454b93['message']['includes']('ai-request-aborted')?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'](_0xfaafe,_0xa64849){const _0x163fb3=this['_results']['get'](_0xfaafe);if(!_0x163fb3)return;if(0x0===_0xa64849['length'])return;const _0x48c1f6=[];_0xa64849['forEach']((_0x119f98,_0x1cc853)=>{const _0x109cdb=new AIReviewCheckResultChange(_0x163fb3['id']+'-'+_0x1cc853,_0x119f98,_0x163fb3);_0x109cdb['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x109cdb,'status':_0x109cdb['status']});}),_0x109cdb['on']('change:isActivated',()=>{_0x109cdb['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x109cdb}):this['fire']('reviewCheckResultDeactivated',{'change':_0x109cdb});}),this['_changes']['push'](_0x109cdb),_0x48c1f6['push'](_0x109cdb);}),this['fire']('reviewCheckResultReady',{'changes':_0x48c1f6,'result':_0x163fb3,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x2de5c2){const _0x278748=this['_changes']['find'](_0x437276=>_0x437276['id']===_0x2de5c2);return!(!_0x278748||'pending'!==_0x278748['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x3bc36a=>!0x0===_0x3bc36a['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x20263f=>'pending'===_0x20263f['status']);}['getChangeById'](_0x2c91bc){return this['_changes']['find'](_0x247946=>_0x247946['id']===_0x2c91bc);}['markAllChangesAsAccepted'](){for(const _0x42744a of this['_changes'])'pending'===_0x42744a['status']&&(_0x42744a['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x2cc3ee){const _0x4d50bd=this['_changes']['find'](_0x4c6996=>_0x4c6996['id']===_0x2cc3ee);_0x4d50bd&&'pending'===_0x4d50bd['status']&&(_0x4d50bd['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x5383b6){const _0x5ce4d1=this['_changes']['find'](_0x39577b=>_0x39577b['id']===_0x5383b6);_0x5ce4d1&&'pending'===_0x5ce4d1['status']&&(_0x5ce4d1['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x589e43){const _0x272d6c=this['_changes']['find'](_0x561458=>_0x561458['id']===_0x589e43);_0x272d6c&&'pending'===_0x272d6c['status']&&(_0x272d6c['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x25fee5){const _0x4c1500=this['_changes']['find'](_0x38534b=>_0x38534b['id']===_0x25fee5);_0x4c1500&&'outdated'===_0x4c1500['status']&&(_0x4c1500['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x1710a8){this['_changes']['filter'](_0x2387bd=>_0x2387bd['isActivated']&&_0x2387bd['id']!==_0x1710a8)['forEach'](_0xf2a525=>{_0xf2a525['isActivated']=!0x1;});const _0x4052b2=this['_changes']['find'](_0x375406=>_0x375406['id']===_0x1710a8);_0x4052b2&&'pending'===_0x4052b2['status']&&(_0x4052b2['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x4d792c=>_0x4d792c['isActivated'])['forEach'](_0x170f6b=>{_0x170f6b['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0xbfd04e){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x36ad11;if(_0xbfd04e){const _0x1775c6=this['_changes']['find'](_0x357828=>_0x357828['id']===_0xbfd04e);if(_0x1775c6&&_0x1775c6['isRated'])return;_0x1775c6&&(_0x36ad11=_0x1775c6['parent']['id'],_0x1775c6['isRated']=!0x0);}const _0x357ee4={'positiveCount':this['_changes']['filter'](_0x35366e=>'accepted'===_0x35366e['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x357ee4,this['callId'],_0x36ad11);}['_addReviewCheckResult'](_0x19efa9,_0x3bd19c){const _0x5bbf57=this['_documentData']['elements']['get'](_0x19efa9);if(!_0x5bbf57)return;const _0x652f10=_0x5bbf57['getContent']();if(_0x652f10===_0x3bd19c)return;const _0x248dde=new AIReviewCheckResult({'id':_0x19efa9,'contentInitial':_0x652f10,'contentNew':_0x3bd19c,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x248dde['id'],_0x248dde),this['fire']('reviewCheckResultAdded',{'result':_0x248dde,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x1de862=>'pending'===_0x1de862['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x57a758=>'pending'===_0x57a758['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x4eeb41{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x13fd5c=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0xd81a56=0x0;_0xd81a56<this['_reviewParams']['length'];_0xd81a56++){if(!this['_reviewParams'][_0xd81a56]||!this['_sourceCheck']['options'][_0xd81a56])continue;const _0x12f70d=this['_sourceCheck']['options'][_0xd81a56],_0x38ced4=_0x12f70d['data']?.['find'](_0x4141d0=>_0x4141d0['id']===this['_reviewParams'][_0xd81a56]);_0x38ced4&&_0x13fd5c['push'](_0x38ced4['label']);}return _0x13fd5c['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x1165cb,_0x5a1f8b,_0x3bbefe){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x5a1f8b,_0x1165cb,_0x3bbefe);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0xa0ed63['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x3858bd,_0x144493)=>{const _0x445f3b=this['_aiReviewCheckList']['getCheckById'](_0x144493['id']);if(_0x445f3b){this['_onReviewCheckRun'](_0x144493),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x144493,_0x445f3b),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x46d2c8,_0x324a61)=>{switch(_0x324a61['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x324a61);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 _0xa0ed63['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0xa0ed63['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'!==_0x324a61['status']&&'error-chunk'!==_0x324a61['status']&&'error-general'!==_0x324a61['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x50a3bb,_0x314ce2)=>{if(!this['_currentReviewCheckRun'])throw new _0xa0ed63['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x1ffe1a=this['_diffContent'](_0x314ce2['result']['contentInitial'],_0x314ce2['result']['contentNew']);_0x314ce2['source']['addResultChanges'](_0x314ce2['result']['id'],_0x1ffe1a);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x59d78a,_0x4e5a99)=>{for(const _0x4e3d1d of _0x4e5a99['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x4e3d1d);this['_markChangePositionInEditorContent'](_0x4e5a99['changes'],_0x4e5a99['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x1213d6,_0x263e7e)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x263e7e['change']['id'],_0x263e7e['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x5deca0,_0x39571e)=>{this['_onReviewCheckResultActivated'](_0x39571e);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x203ddb){_0x203ddb instanceof Error&&_0x203ddb['message']['includes']('ai-request-aborted')||(_0x203ddb instanceof _0xa0ed63['CKEditorError']?this['_logError'](_0x203ddb):this['_logError'](new _0xa0ed63['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x203ddb)));}}else this['_logError'](new _0xa0ed63['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x144493['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x4d0ef0=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x4d0ef0['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x4d0ef0['map'](_0x3975b5=>_0x3975b5['id']));const _0x8f0733=this['_currentReviewCheckRun'];_0x8f0733['markAllChangesAsAccepted'](),_0x8f0733['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x2db8bf,_0x5d2f9c)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x5d2f9c['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x5d2f9c['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x5d2f9c['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x5d2f9c['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x42ee6e,_0x2e9c1d)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x2e9c1d['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x2e9c1d['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x2e9c1d['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x2e9c1d['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',(_0x17f8de,_0x356c90)=>{this['_onActivateChange'](_0x356c90);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x2cb5dd,_0x17a70f)=>{this['_onDeactivateChange'](_0x17a70f);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x1ebc59,_0x5de3d4)=>{this['_onChangeMarkerClicked'](_0x1ebc59,_0x5de3d4);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x43ff07,_0x4e29ac)=>{this['_onChangeMarkerHovered'](_0x43ff07,_0x4e29ac);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x4da7d0,_0x551285)=>{this['_onChangeMarkerRemoved'](_0x4da7d0,_0x551285);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0xa78de4,_0x36a94a)=>{this['_onChangeMarkerRestored'](_0xa78de4,_0x36a94a);});}['_createReviewCheckRun'](_0x3e210a,_0x41b470){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x41b470,this['_aiConnector'],_0x3e210a['params'],_0x3e210a['args']);}['_onChangeMarkerRemoved'](_0x29d3a9,_0x49dc04){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x49dc04['changeId']);}['_onChangeMarkerRestored'](_0x4ad142,_0x3ce4b2){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x3ce4b2['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x5f1669=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x5f1669&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x44b84e=this['_aiReviewCoreEditing']['getEditor']();_0x44b84e&&_0x44b84e['editing']['view']['change'](_0x1e6658=>{const _0x496b8a=_0x44b84e['editing']['view']['document']['getRoot']();_0x1e6658['removeClass']('ck-ai_review-diff',_0x496b8a),_0x1e6658['removeClass']('ck-ai_review-highlights',_0x496b8a),_0x1e6658['removeClass']('ck-ai-translate-mode-content',_0x496b8a);});}['_getTranslationWithDefault'](_0x3dcb5a,_0x2b0392){const _0x497c22=xt(this['context']['locale'],_0x3dcb5a);return _0x497c22===_0x3dcb5a?_0x2b0392:_0x497c22;}['_logError'](_0x403859,_0x5d1c44=!0x1){_0xa0ed63['logError'](_0x403859['message']),_0x5d1c44||(_0x403859['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x2b9ea9){if('content'===this['_changeActivationSource']){const _0x314157=this['_aiReviewCoreUi']['getChangeElement'](_0x2b9ea9);_0x314157&&_0xa0ed63['scrollAncestorsToShowTarget'](_0x314157['closest']('.ck-ai_review__check-run-result')||_0x314157);}else{if('panel'===this['_changeActivationSource']){const _0x9b12a3=this['_getChangeContentElement'](_0x2b9ea9);if(!_0x9b12a3)return;const _0x5e8083={'target':_0x9b12a3,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0xa0ed63['scrollViewportToShowTarget'](_0x5e8083);}}}}const _0x170938=[{'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'}]}]}];class _0x523469{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x3712a9){this['id']=_0x3712a9['id'],this['commandId']=_0x3712a9['commandId'],this['title']=_0x3712a9['title'],this['description']=_0x3712a9['description'],this['isParameterized']=_0x3712a9['isParameterized'],this['useArgs']=_0x3712a9['useArgs'],this['options']=_0x3712a9['options'],this['args']=_0x3712a9['args'];}}class AIReviewCheckList extends _0xa0ed63['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x35400d){this['_checks']=_0x35400d['map'](_0x10f44a=>new _0x523469(_0x10f44a));}get['checks'](){return this['_checks'];}['getCheckById'](_0x227a7c){return this['checks']['find'](_0x4d7c0b=>_0x4d7c0b['id']===_0x227a7c);}['removeCheckById'](_0x42826f){this['_checks']=this['_checks']['filter'](_0x2f3f13=>_0x2f3f13['id']!==_0x42826f);}}class AIReviewCheckCustom extends _0x523469{['_models']=[];['_defaultModel']=null;constructor(_0x1c9917,_0x59eb41,_0x4dbbb4){super(_0x1c9917),this['_models']=_0x59eb41,this['_defaultModel']=_0x4dbbb4;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x523469{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x395c87,_0x1bde04,_0x4dc384){super(_0x395c87),this['prompt']=_0x395c87['prompt'],this['model']=_0x395c87['model'],this['model']?this['_defaultModel']=_0x1bde04['find'](_0xa03ef3=>_0xa03ef3['id']===this['model'])||null:this['_defaultModel']=_0x4dc384;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x104b81,_0x30841b,_0x2c57e4){super(),this['_allModels']=_0x104b81,this['_recommendedModels']=_0x30841b,this['_defaultModel']=_0x2c57e4;}['setupChecks'](_0x2488e8){this['_checks']=_0x2488e8['map'](_0x21c2a5=>!0x0===_0x21c2a5['isExtra']?new AIReviewCheckExtra(_0x21c2a5,this['_allModels'],this['_defaultModel']):'custom'===_0x21c2a5['id']?new AIReviewCheckCustom(_0x21c2a5,this['_recommendedModels'],this['_defaultModel']):new _0x523469(_0x21c2a5));}}class AIReviewCustomCheckRun extends _0x4eeb41{['_prompt'];['_model'];constructor(_0x30c232,_0x36825d,_0x7d0e11,_0x267658,_0x43679d){super(_0x7d0e11,_0x267658,_0x43679d),this['_prompt']=_0x30c232,this['_model']=_0x36825d;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x27d003,_0x5e5719,_0xe78daf){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x5e5719,_0x27d003,_0xe78daf);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x34e552){this['_prompt']=_0x34e552;}set['model'](_0x38b4fe){this['_model']=_0x38b4fe;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x43e478){super(_0x43e478),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x170938['map'](_0x422695=>_0x422695['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x48de8c,_0x3d3adb)=>{this['_isDiffOn']=_0x3d3adb['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x235971,_0xa2fd58){return _0x235971['isCustom']?new AIReviewCustomCheckRun(_0x235971['args']['prompt'],_0x235971['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0xa2fd58,this['_aiConnector']):_0xa2fd58['isExtra']?new AIReviewExtraCheckRun(_0xa2fd58['prompt'],_0xa2fd58['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0xa2fd58,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0xa2fd58,this['_aiConnector'],_0x235971['params'],_0x235971['args']);}['_onReviewCheckResultActivated'](_0x313d87){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x313d87['change']['id']),this['_scrollToChange'](_0x313d87['change']['id']);const _0x5ae4cb=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x313d87['change']['id']);if(!_0x5ae4cb)return;const _0x55c4de=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x313d87['change'],()=>_0x5ae4cb['getElement'](),void 0x0,'click',_0x55c4de?.['editing']?.['view']?.['getDomRoot'](),_0x55c4de?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x313d87['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0xa849fb){this['_currentReviewCheckRun']&&'click'===_0xa849fb['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0xa849fb['id']));}['_onDeactivateChange'](_0x49114d){this['_currentReviewCheckRun']&&'balloon'===_0x49114d['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x195c77,_0x50e86b){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x50e86b['changeId']);const _0x47dd22=this['_currentReviewCheckRun']['getChangeById'](_0x50e86b['changeId']);if(!_0x47dd22)return;const _0xe52af8=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x47dd22,_0x50e86b['markerElement'],_0x50e86b['domEvent'],'click',_0xe52af8?.['editing']?.['view']?.['getDomRoot'](),_0xe52af8?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x1cf051,_0x47868e){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x21523a=this['_currentReviewCheckRun']['getChangeById'](_0x47868e['changeId']);if(!_0x21523a)return;const _0x54fd4f=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x21523a,_0x47868e['markerElement'],_0x47868e['domEvent'],'hover',_0x54fd4f?.['editing']?.['view']?.['getDomRoot'](),_0x54fd4f?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x2acc75){const _0x5e32da=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x2acc75);return _0x5e32da?_0x5e32da['getElement']():null;}['_markChangePositionInEditorContent'](_0x39ec05,_0x25024d){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x39ec05,_0x25024d);}['_diffContent'](_0x5787e8,_0x4f5643){return this['_aiReviewCoreEditing']['diffContent'](_0x5787e8,_0x4f5643);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x2a048f){const _0x165faf=this['_aiReviewCoreEditing']['getEditor']();_0x2a048f?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x165faf&&_0x165faf['editing']['view']['change'](_0x47b471=>{const _0x4ed3c0=_0x165faf['editing']['view']['document']['getRoot']();for(const _0x398045 of _0x4ed3c0['getClassNames']())_0x398045['startsWith']('ck-ai_review-')&&_0x47b471['removeClass'](_0x398045,_0x4ed3c0);_0x47b471['addClass'](_0x2a048f?'ck-ai_review-diff':'ck-ai_review-highlights',_0x4ed3c0);});}async['_getChecksList'](){const _0x3499f0=[..._0x170938,...this['_getExtraChecks']()],_0x18af4f=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x18af4f,_0x3499f0);let _0xde6009=_0x3499f0;this['_hasDefaultAvailableCommands']||(_0xde6009=_0x18af4f['map'](_0x3fb2fd=>_0x3499f0['find'](_0x1627b4=>_0x1627b4['id']===_0x3fb2fd))['filter'](_0x57effa=>!!_0x57effa)),_0xde6009=_0xde6009['map'](_0x410810=>_0x410810['isExtra']?_0x410810:this['_translateReviewCheck'](_0x410810));const _0x326901=_0xde6009['some'](_0x4fb7a3=>_0x4fb7a3['isExtra']||'custom'===_0x4fb7a3['id']);let _0x45a0bd=[],_0x1a74a6=[],_0x2d4416=null;if(_0x326901){const _0x121409=await this['_getModels']();_0x45a0bd=_0x121409['all'],_0x1a74a6=_0x121409['recommended'],_0x2d4416=_0x121409['default'];}const _0x212fd2=new AIReviewModeCheckList(_0x45a0bd,_0x1a74a6,_0x2d4416);return _0x212fd2['setupChecks'](_0xde6009),_0x326901&&this['_filterChecksWithMissingModel'](_0x212fd2),_0x212fd2;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x1e32d5=>({'id':_0x1e32d5['id'],'commandId':_0x1e32d5['id'],'title':_0x1e32d5['label'],'description':_0x1e32d5['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x1e32d5['prompt'],'model':_0x1e32d5['model']}));}['_logErrorForNonExistentChecks'](_0x5e6c7e,_0x1ee38c){const _0x36d4bf=_0x5e6c7e['filter'](_0x435d8d=>!_0x1ee38c['some'](_0x28b828=>_0x28b828['id']===_0x435d8d));_0x36d4bf['length']&&this['_logError'](new _0xa0ed63['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x36d4bf['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x118a15=new _0x3b1909({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x118a15['getAll'](),'recommended':await _0x118a15['getAvailableModels'](),'default':await _0x118a15['getDefault']()};}catch(_0x1619e9){return this['_logError'](new _0xa0ed63['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x1619e9)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x585653){const _0x1bd4d3='AI_REVIEW_CHECK_'+_0x585653['id']['toUpperCase']()['replaceAll']('-','_'),_0x58691a={..._0x585653,'title':this['_getTranslationWithDefault'](_0x1bd4d3+'_TITLE',_0x585653['title']),'description':this['_getTranslationWithDefault'](_0x1bd4d3+'_DESCRIPTION',_0x585653['description'])};return _0x585653['options']&&(_0x58691a['options']=_0x585653['options']['map'](_0x120e76=>({..._0x120e76,'label':this['_getTranslationWithDefault'](_0x1bd4d3+'_OPTIONS_LABEL',_0x120e76['label']||''),'data':_0x120e76['data']?_0x120e76['data']['map'](_0x9a4260=>({..._0x9a4260,'label':this['_getTranslationWithDefault'](_0x1bd4d3+'_OPTIONS_DATA_'+_0x9a4260['id']['toUpperCase'](),_0x9a4260['label'])})):void 0x0}))),_0x58691a;}['_filterChecksWithMissingModel'](_0x1b1cab){const _0x1b6cc4=[];_0x1b1cab['checks']['forEach'](_0x45986d=>{(_0x45986d instanceof AIReviewCheckExtra&&!_0x45986d['defaultModel']||_0x45986d instanceof AIReviewCheckCustom&&!_0x45986d['models']['length'])&&_0x1b6cc4['push'](_0x45986d['id']);}),_0x1b6cc4['length']&&_0x1b6cc4['forEach'](_0x193e22=>{_0x1b1cab['removeCheckById'](_0x193e22),this['_logError'](new _0xa0ed63['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x193e22}),!0x0);});}}class _0x4a7cae extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x782385,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x523469{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x4ee0e0){this['_checks']=_0x4ee0e0['map'](_0x378790=>new AITranslateCheck(_0x378790));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x151ee8,_0x4248c0,_0x5131ac,_0x4b457c,_0xef536e,_0x5d962b){super(_0x151ee8,_0x4248c0,_0x5131ac,_0xef536e,_0x5d962b),this['_title']=_0x4b457c;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x2b58f7){super(_0x2b58f7),this['context']['config']['define']('ai.translate.languages',[{'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'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x3b5928,_0x296ea5){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x296ea5,this['_aiConnector'],xt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x3b5928['params'],_0x3b5928['args']);}['_onReviewCheckResultActivated'](_0xb9c059){this['_aiReviewCoreUi']['setActiveStateInResults'](_0xb9c059['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0xb9c059['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x523dc9){this['_currentReviewCheckRun']&&('hover'===_0x523dc9['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x523dc9['id'])),'click'===_0x523dc9['uiInteraction']&&this['_scrollToChange'](_0x523dc9['id']));}['_onDeactivateChange'](_0x85811c){this['_currentReviewCheckRun']&&'panel'===_0x85811c['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x3c769a,_0x12d01e){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x12d01e['changeId']),this['_scrollToChange'](_0x12d01e['changeId']));}['_onChangeMarkerHovered'](_0x15f135,_0x2ee155){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2ee155['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x2ee155['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x161f6c){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x161f6c);}['_markChangePositionInEditorContent'](_0x11eb51,_0x22cfef){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x11eb51,_0x22cfef);}['_diffContent'](_0xf4ec2f,_0x46853d){return this['_aiReviewCoreEditing']['diffContent'](_0xf4ec2f,_0x46853d,!0x0);}['_onReviewCheckRun'](){const _0x164aa8=this['_aiReviewCoreEditing']['getEditor']();_0x164aa8&&_0x164aa8['editing']['view']['change'](_0x514ef4=>{const _0xf25f12=_0x164aa8['editing']['view']['document']['getRoot']();for(const _0x42bd42 of _0xf25f12['getClassNames']())(_0x42bd42['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x42bd42)&&_0x514ef4['removeClass'](_0x42bd42,_0xf25f12);_0x514ef4['addClass']('ck-ai-translate-mode-content',_0xf25f12);});}async['_getChecksList'](){const _0x56939b=[],_0xb65061=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x47c2cd of _0xb65061)_0x56939b['push']({'title':_0x47c2cd['label'],'id':_0x47c2cd['id'],'commandId':_0x47c2cd['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x47c2cd['id']}});const _0x3a2f6f=new AITranslateCheckList();return _0x3a2f6f['setupChecks'](this['_translateChecks'](_0x56939b)),_0x3a2f6f;}['_translateChecks'](_0x21dce2){return _0x21dce2['map'](_0x23c702=>{const _0x1274e6='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x23c702['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x23c702,'title':this['_getTranslationWithDefault'](_0x1274e6,_0x23c702['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x28c8e0,_0x117b07){super(_0x28c8e0,_0x117b07),this['on']('set:isLoading',(_0x29e94b,_0x269433,_0x6de9f7)=>{_0x6de9f7&&(this['headerTitle']=xt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x2df53a,_0x5e92a0,_0x5d2fc8)=>{_0x5d2fc8&&(this['headerTitle']=xt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x4b035b=super['_createAcceptAllButtonView']();return _0x4b035b['set']('label',xt(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x4b035b;}['_createExitReviewButtonView'](){const _0x304b9d=super['_createExitReviewButtonView']();return _0x304b9d['set']('label',xt(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x304b9d;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x1e0e16=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x1e0e16['if']('isVisible','ck-hidden',_0x1603c7=>!_0x1603c7)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':xt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':xt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1e0e16['if']('isVisible','ck-hidden',_0x1b99d3=>!_0x1b99d3)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x34dbc7{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x457683=this['context']['locale'],_0x3b76f3=new _0xa0ed63['FormHeaderView'](_0x457683,{'label':xt(_0x457683,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0xa0ed63['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x549705=new _0x1fb258(_0x457683,{'header':_0x3b76f3,'list':new AITranslateCheckListView(_0x457683),'results':new AITranslateCheckResultsView(_0x457683,{'generalErrorText':xt(_0x457683,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x457683,{'headerText':xt(_0x457683,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':xt(_0x457683,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':xt(_0x457683,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x549705['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x549705;}['registerTab'](){const _0x29ba6d=this['context']['plugins']['get']('AITabs');_0x29ba6d['view']['on']('activateTab',(_0x5d5e35,_0x4e70cd)=>{'translate'===_0x4e70cd?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x29ba6d['view']['addTab']({'id':'translate','buttonLabel':xt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0xa0ed63['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x3d8821 extends _0xa0ed63['Command']{['_transformCallback'];constructor(_0x74d226,_0x32f830){super(_0x74d226),this['_transformCallback']=_0x32f830;}['execute'](){const _0x3059ca=this['editor']['model'],_0x17b282=Array['from'](this['_getAffectedRanges']()),_0x5a9bf5=Array['from'](_0x3059ca['document']['selection']['getRanges']());_0x3059ca['change'](_0x2306e1=>{for(const _0x10ee6e of _0x17b282)this['_modifyContent'](_0x10ee6e,_0x2306e1);_0x2306e1['setSelection'](_0x5a9bf5);});}['refresh'](){for(const _0x2949f4 of this['_getAffectedRanges']())for(const _0x729ee4 of _0x2949f4)if(_0x729ee4['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x108dd1=this['editor']['model'],_0x11c12e=_0x108dd1['document']['selection'];if(_0x11c12e['isCollapsed']){const _0x43906f=this['_findAncestorTextBlock'](_0x11c12e['getFirstPosition']()['parent']);return _0x43906f?[_0x108dd1['createRangeIn'](_0x43906f)]:[];}return _0x11c12e['getRanges']();}['_modifyContent'](_0x49a00b,_0x2e59c1){for(const _0x3101cb of this['_getElementsAllowingText'](_0x49a00b)){const _0x6f5443=this['_getElementTextContent'](_0x3101cb),_0x9f5beb=this['_transformCallback'](_0x6f5443);for(const _0x4e93c7 of this['_getTextNodesRangeLimited'](_0x3101cb,_0x49a00b))this['_replaceTextNodeData'](_0x4e93c7,_0x9f5beb,_0x2e59c1);}}['_findAncestorTextBlock'](_0x4cbd3a){const _0x5749fe=this['editor']['model']['schema'];if(_0x4cbd3a['is']('element')&&_0x5749fe['checkChild'](_0x4cbd3a,'$text'))return _0x4cbd3a;const _0x4c9f92=_0x4cbd3a['parent'];return!_0x4c9f92||_0x5749fe['isLimit'](_0x4cbd3a)?null:this['_findAncestorTextBlock'](_0x4c9f92);}*['_getElementsAllowingText'](_0x2cc914){const _0x112d78=new Set();for(const {item:_0x2532e9}of _0x2cc914['getWalker']()){const _0xd021bc=this['_findAncestorTextBlock'](_0x2532e9);_0xd021bc&&!_0x112d78['has'](_0xd021bc)&&(_0x112d78['add'](_0xd021bc),yield _0xd021bc);}}['_getElementTextContent'](_0x49c180){return Array['from'](_0x49c180['getChildren']())['reduce']((_0x54a952,_0x95a93d)=>_0x54a952+(_0x95a93d['is']('$text')?_0x95a93d['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x562d12,_0x535d94){const _0x597f2f=_0x535d94['getIntersection'](this['editor']['model']['createRangeIn'](_0x562d12));if(_0x597f2f){for(const _0x449e6a of _0x597f2f['getItems']())_0x449e6a['is']('$textProxy')&&_0x449e6a['parent']==_0x562d12&&(yield _0x449e6a);}}['_replaceTextNodeData'](_0x19b349,_0x1495b6,_0x3ed5bb){const _0x2f4733=_0x1495b6['substring'](_0x19b349['startOffset'],_0x19b349['endOffset']);if(_0x2f4733===_0x19b349['data'])return;const _0x17e34d=_0x19b349['getAttributes']();this['editor']['model']['insertContent'](_0x3ed5bb['createText'](_0x2f4733,_0x17e34d),_0x3ed5bb['createSelection'](_0x3ed5bb['createRangeOn'](_0x19b349)));}}function _0x2afdaa(_0x45e988,_0x276399,..._0x4316c8){const t=_0x45e988['t'];switch(_0x276399){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',..._0x4316c8);default:return _0x276399;}}class CaseChangeEditing extends _0xa0ed63['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5488b7=this['editor'],_0x487bba=_0x5488b7['locale']['contentLanguage'],_0x3f0bb6=function(_0x503bea=[]){return'function'==typeof _0x503bea?_0x503bea:(_0x4e0cea,{wordIndex:_0x4a7113})=>_0x4a7113>0x0&&_0x503bea['includes'](_0x4e0cea);}(_0x5488b7['config']['get']('caseChange.titleCase.excludeWords')),_0x3bfd65={'changeCaseUpper':new _0x3d8821(_0x5488b7,_0x32f596=>_0x32f596['toLocaleUpperCase'](_0x487bba)),'changeCaseLower':new _0x3d8821(_0x5488b7,_0x2a17cf=>_0x2a17cf['toLocaleLowerCase'](_0x487bba)),'changeCaseTitle':new _0x3d8821(_0x5488b7,_0x10d0ff=>function(_0x4c8943,_0x2e0330,_0x4113cf){return function(_0x33444f,_0x8f1683){let _0x2ef57b='',_0x432269=0x0,_0x4129f9=0x0;for(const _0x2f77d1 of _0x33444f['matchAll'](/ +/g)){const _0x5f5a0a=_0x2f77d1['index'],_0xe88a05=_0x33444f['substring'](_0x432269,_0x5f5a0a);_0xe88a05['length']&&(_0x2ef57b+=_0x8f1683(_0xe88a05,_0x432269,_0x4129f9++)),_0x2ef57b+=_0x2f77d1[0x0],_0x432269=_0x5f5a0a+_0x2f77d1[0x0]['length'];}const _0x5748cf=_0x33444f['substring'](_0x432269);return _0x5748cf['length']&&(_0x2ef57b+=_0x8f1683(_0x5748cf,_0x432269,_0x4129f9)),_0x2ef57b;}(_0x4c8943,(_0x4e7491,_0x2ab455,_0x5891db)=>{const _0x42f79b=_0x4e7491['toLocaleLowerCase'](_0x4113cf);return _0x2e0330(_0x42f79b,{'charOffset':_0x2ab455,'wordIndex':_0x5891db,'blockText':_0x4c8943})?_0x42f79b:_0x42f79b['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x4f2fba=>_0x4f2fba['toLocaleUpperCase'](_0x4113cf));});}(_0x10d0ff,_0x3f0bb6,_0x487bba))};for(const [_0x349f26,_0x400785]of Object['entries'](_0x3bfd65))_0x5488b7['commands']['add'](_0x349f26,_0x400785),_0x400785['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x349f26);});this['listenTo'](_0x5488b7['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x5488b7['keystrokes']['set']('shift+f3',(_0x55cc64,_0x46e192)=>{const _0x138202=_0x2dba94(this['editor']['locale']),_0x1db585=_0x138202[this['_currentCommandIndex']%_0x138202['length']]['commandName'];_0x5488b7['execute'](_0x1db585),this['_currentCommandIndex']++,_0x46e192();});}['afterInit'](){!async function(_0x146187){const _0x333493=_0x568204([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x201c24=0x334129cd,_0x2bbdb9=0x3346a60d^_0x201c24,_0x50c8f1=window[_0x568204([0x44,0x61,0x74,0x65])][_0x568204([0x6e,0x6f,0x77])](),_0x4b47d7=_0x146187[_0x568204([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10722a=new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ddbcc=>{_0x4b47d7[_0x568204([0x6f,0x6e,0x63,0x65])](_0x568204([0x72,0x65,0x61,0x64,0x79]),_0x5ddbcc);}),_0x45b4ae={[_0x568204([0x6b,0x74,0x79])]:_0x568204([0x45,0x43]),[_0x568204([0x75,0x73,0x65])]:_0x568204([0x73,0x69,0x67]),[_0x568204([0x63,0x72,0x76])]:_0x568204([0x50,0x2d,0x32,0x35,0x36]),[_0x568204([0x78])]:_0x568204([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x568204([0x79])]:_0x568204([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x568204([0x61,0x6c,0x67])]:_0x568204([0x45,0x53,0x32,0x35,0x36])},_0x54f335=_0x4b47d7[_0x568204([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x568204([0x67,0x65,0x74])](_0x568204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5362d7(){let _0x140841,_0x4c4f08=null,_0x2f3f0a=null;try{if(_0x54f335==_0x568204([0x47,0x50,0x4c]))return _0x568204([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x140841=_0x53d63d(),!_0x140841)return _0x568204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x140841[_0x568204([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f3f0a=_0x5a6179(_0x140841[_0x568204([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x140841[_0x568204([0x6a,0x74,0x69])])),await _0x1773d6()?_0x36618f()?_0x5b7b21()?_0x568204([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1a1c79()?(_0x140841[_0x568204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x568204([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c4f08=_0x246ee5(_0x568204([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d1e02()):_0x568204([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x568204([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x568204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x568204([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b7b21(){const _0x466bca=[_0x568204([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x568204([0x74,0x72,0x69,0x61,0x6c])][_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x140841[_0x568204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50c8f1/0x3e8:0xe10*_0x2bbdb9;return _0x140841[_0x568204([0x65,0x78,0x70])]<_0x466bca;}function _0x36618f(){const _0x154f9e=_0x140841[_0x568204([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x154f9e&&(!!_0x154f9e[_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568204([0x2a]))||(!!_0x154f9e[_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568204([0x43,0x43]))||!!_0x154f9e[_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568204([0x50,0x50]))));}function _0x1a1c79(){const _0x30f590=_0x140841[_0x568204([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30f590||0x0==_0x30f590[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53536a}=new URL(window[_0x568204([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30f590[_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53536a))return!0x0;const _0x16ea2b=_0x53536a[_0x568204([0x73,0x70,0x6c,0x69,0x74])](_0x568204([0x2e]));return _0x30f590[_0x568204([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x363d22=>_0x363d22[_0x568204([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568204([0x2a])))[_0x568204([0x6d,0x61,0x70])](_0x5016eb=>_0x5016eb[_0x568204([0x73,0x70,0x6c,0x69,0x74])](_0x568204([0x2e])))[_0x568204([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x377cba=>_0x377cba[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16ea2b[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x568204([0x6d,0x61,0x70])](_0x1ca05e=>Array(_0x16ea2b[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ca05e[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x568204([0x66,0x69,0x6c,0x6c])](_0x1ca05e[0x0]===_0x568204([0x2a])?_0x568204([0x2a]):'')[_0x568204([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ca05e))[_0x568204([0x73,0x6f,0x6d,0x65])](_0x4400d5=>_0x16ea2b[_0x568204([0x65,0x76,0x65,0x72,0x79])]((_0x539b43,_0x3f8526)=>_0x4400d5[_0x3f8526]===_0x539b43||_0x4400d5[_0x3f8526]===_0x568204([0x2a])));}function _0x2d1e02(){return _0x4c4f08&&_0x2f3f0a?new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x85f428,_0x53e341)=>{_0x4c4f08[_0x568204([0x74,0x68,0x65,0x6e])](_0x85f428,_0x53e341),_0x2f3f0a[_0x568204([0x74,0x68,0x65,0x6e])](_0x53580a=>{_0x53580a!=_0x568204([0x56,0x61,0x6c,0x69,0x64])&&_0x85f428(_0x53580a);},_0x53e341);}):_0x4c4f08||_0x2f3f0a||_0x568204([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a6179(_0x2d6209,_0xd71e9e){return new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e8fb0=>{if(_0x486b83())return _0x3e8fb0(_0x568204([0x56,0x61,0x6c,0x69,0x64]));_0x1c7d4e(),_0x4b47d7[_0x568204([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x568204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x292151=!0x1;const _0x13553e=_0xa0ed63['uid']();function _0x46e2af(_0x2c88c1){return!!_0x2c88c1&&(typeof _0x2c88c1===_0x568204([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c88c1===_0x568204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c88c1[_0x568204([0x74,0x68,0x65,0x6e])]===_0x568204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c88c1[_0x568204([0x63,0x61,0x74,0x63,0x68])]===_0x568204([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa7abaa(_0x6c8a9a){_0x57be09(_0x6c8a9a)[_0x568204([0x74,0x68,0x65,0x6e])](_0x45447b=>{if(!_0x45447b||_0x45447b[_0x568204([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x568204([0x6f,0x6b]))return _0x568204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59381b(_0x3534d6(_0x13553e+_0xd71e9e))!=_0x45447b[_0x568204([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x568204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x568204([0x56,0x61,0x6c,0x69,0x64]);})[_0x568204([0x74,0x68,0x65,0x6e])](_0x224d2d=>(_0x643a7d(),_0x224d2d),()=>{const _0x2afd17=_0x194560();return null==_0x2afd17?(_0x643a7d(),_0x568204([0x56,0x61,0x6c,0x69,0x64])):_0x568204(_0x50c8f1-_0x2afd17>(0x174dadcd^_0x201c24)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x568204([0x74,0x68,0x65,0x6e])](_0x3e8fb0)[_0x568204([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e8fb0(_0x568204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x565532=0x3377c74d^_0x201c24;function _0x643a7d(){const _0x362036=_0x568204([0x6c,0x6c,0x63,0x74,0x2d])+_0x59381b(_0x3534d6(_0x2d6209)),_0x10ec06=_0x4d5f54(_0x59381b(window[_0x568204([0x4d,0x61,0x74,0x68])][_0x568204([0x63,0x65,0x69,0x6c])](_0x50c8f1/_0x565532)));window[_0x568204([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568204([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x362036,_0x10ec06);}function _0x194560(){const _0x97c19a=_0x568204([0x6c,0x6c,0x63,0x74,0x2d])+_0x59381b(_0x3534d6(_0x2d6209)),_0x6ca91e=window[_0x568204([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568204([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x97c19a);return _0x6ca91e?window[_0x568204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d5f54(_0x6ca91e),0x10)*_0x565532:null;}function _0x57be09(_0x18fb04){return new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33a201,_0x4262f7)=>{_0x18fb04[_0x568204([0x74,0x68,0x65,0x6e])](_0x33a201,_0x4262f7),window[_0x568204([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4262f7,0x3340fd0d^_0x201c24);});}}_0x4b47d7[_0x568204([0x6f,0x6e])](_0x568204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d3c59,_0x2811ad)=>{if(_0x2811ad[0x0]!=_0x2d6209)return _0x3e8fb0(_0x568204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2811ad[0x1]={..._0x2811ad[0x1],[_0x568204([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13553e};},{[_0x568204([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568204([0x68,0x69,0x67,0x68])}),_0x4b47d7[_0x568204([0x6f,0x6e])](_0x568204([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cbc57=>{_0x46e2af(_0x1cbc57[_0x568204([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x292151=!0x0,_0xa7abaa(_0x1cbc57[_0x568204([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x568204([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568204([0x6c,0x6f,0x77])}),_0x10722a[_0x568204([0x74,0x68,0x65,0x6e])](()=>{_0x292151||_0x3e8fb0(_0x568204([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x486b83(){return _0x4b47d7[_0x568204([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568204([0x76,0x69,0x65,0x77])][_0x568204([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x568204([0x61,0x75,0x74,0x6f]);}function _0x1c7d4e(){_0x4b47d7[_0x568204([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568204([0x76,0x69,0x65,0x77])][_0x568204([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x568204([0x61,0x75,0x74,0x6f]);}}function _0x246ee5(_0x19f6f4){const _0x38ab9e=[new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d02bc=>setTimeout(_0x3d02bc,0x33481701^_0x201c24)),_0x10722a[_0x568204([0x74,0x68,0x65,0x6e])](()=>new window[(_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bdf19=>{let _0x37a33a=0x0;_0x4b47d7[_0x568204([0x6d,0x6f,0x64,0x65,0x6c])][_0x568204([0x6f,0x6e])](_0x568204([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47aa4b,_0x1e67ee)=>{_0x1e67ee[0x0][_0x568204([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37a33a++,_0x37a33a==(0x33412c25^_0x201c24)&&(_0x4bdf19(),_0x47aa4b[_0x568204([0x6f,0x66,0x66])]());});}))];return window[_0x568204([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x568204([0x72,0x61,0x63,0x65])](_0x38ab9e)[_0x568204([0x74,0x68,0x65,0x6e])](()=>_0x19f6f4);}async function _0x2f7ffa(){await _0x10722a,_0x4b47d7[_0x568204([0x6d,0x6f,0x64,0x65,0x6c])][_0x568204([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x450692,_0x4b47d7[_0x568204([0x6d,0x6f,0x64,0x65,0x6c])][_0x568204([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x450692,_0x4b47d7[_0x568204([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x568204([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2796da(_0x2a9b70){const _0x27dcbc=_0x3bf82c();_0x4b47d7[_0x27dcbc]=_0x568204([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9b70,_0x2a9b70!=_0x568204([0x56,0x61,0x6c,0x69,0x64])&&_0x2f7ffa();}function _0x3bf82c(){const _0x3cd203=window[_0x568204([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x568204([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x568204([0x6e,0x6f,0x77])]())[_0x568204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x568204([0x2e]),'');let _0x3117b6=_0x568204([0x45]);for(let _0x5cdddc=0x0;_0x5cdddc<_0x3cd203[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cdddc+=0x2){let _0xed7aff=window[_0x568204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cd203[_0x568204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdddc,_0x5cdddc+0x2));_0xed7aff>=_0x333493[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed7aff-=_0x333493[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3117b6+=_0x333493[_0xed7aff];}return _0x3117b6;}function _0x53d63d(){const _0x237c58=_0x54f335[_0x568204([0x73,0x70,0x6c,0x69,0x74])](_0x568204([0x2e]));if(0x3!=_0x237c58[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24f6b9(_0x237c58[0x1]);function _0x24f6b9(_0x385547){const _0x6a9029=_0xf2b9b4(_0x385547);return _0x6a9029&&_0x5304ed()?_0x6a9029:null;function _0x5304ed(){const _0x5bc6f3=_0x6a9029[_0x568204([0x6a,0x74,0x69])],_0x8d8467=window[_0x568204([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bc6f3[_0x568204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bc6f3[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e3fd5={..._0x6a9029,[_0x568204([0x6a,0x74,0x69])]:_0x5bc6f3[_0x568204([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bc6f3[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e3fd5[_0x568204([0x76,0x63])],_0x3534d6(_0x1e3fd5)==_0x8d8467;}}}async function _0x1773d6(){let _0x308edf=!0x0;try{const _0x3dab54=_0x54f335[_0x568204([0x73,0x70,0x6c,0x69,0x74])](_0x568204([0x2e])),[_0x13571d,_0x11f20c,_0xd513d9]=_0x3dab54;return _0x386d84(_0x13571d),await _0x165658(_0x13571d,_0x11f20c,_0xd513d9),_0x308edf;}catch{return!0x1;}function _0x386d84(_0x223155){const _0x447e39=_0xf2b9b4(_0x223155);_0x447e39&&_0x447e39[_0x568204([0x61,0x6c,0x67])]==_0x568204([0x45,0x53,0x32,0x35,0x36])||(_0x308edf=!0x1);}async function _0x165658(_0x4153a9,_0x1fe60e,_0xaf9cfd){const _0x6cb8ea=window[_0x568204([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x568204([0x66,0x72,0x6f,0x6d])](_0xa9a225(_0xaf9cfd),_0x3b9293=>_0x3b9293[_0x568204([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc7532e=new window[(_0x568204([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x568204([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4153a9+_0x568204([0x2e])+_0x1fe60e),_0x4566c7=window[_0x568204([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x568204([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4566c7)return;const _0x481dfa=await _0x4566c7[_0x568204([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x568204([0x6a,0x77,0x6b]),_0x45b4ae,{[_0x568204([0x6e,0x61,0x6d,0x65])]:_0x568204([0x45,0x43,0x44,0x53,0x41]),[_0x568204([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x568204([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x568204([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4566c7[_0x568204([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x568204([0x6e,0x61,0x6d,0x65])]:_0x568204([0x45,0x43,0x44,0x53,0x41]),[_0x568204([0x68,0x61,0x73,0x68])]:{[_0x568204([0x6e,0x61,0x6d,0x65])]:_0x568204([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x481dfa,_0x6cb8ea,_0xc7532e)||(_0x308edf=!0x1);}}function _0xf2b9b4(_0x34b41d){return _0x34b41d[_0x568204([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x568204([0x65,0x79]))?JSON[_0x568204([0x70,0x61,0x72,0x73,0x65])](_0xa9a225(_0x34b41d)):null;}function _0xa9a225(_0x172e1c){return window[_0x568204([0x61,0x74,0x6f,0x62])](_0x172e1c[_0x568204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x568204([0x2b]))[_0x568204([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x568204([0x2f])));}function _0x3534d6(_0x212a93){let _0x1632eb=0x1505;function _0x410dd6(_0x31cf2a){for(let _0x4f85a3=0x0;_0x4f85a3<_0x31cf2a[_0x568204([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f85a3++){const _0x47ea5b=_0x31cf2a[_0x568204([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f85a3);_0x1632eb=(_0x1632eb<<0x5)+_0x1632eb+_0x47ea5b,_0x1632eb&=_0x1632eb;}}function _0x3b8570(_0x480822){Array[_0x568204([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x480822)?_0x480822[_0x568204([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b8570):_0x480822&&typeof _0x480822==_0x568204([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x568204([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x480822)[_0x568204([0x73,0x6f,0x72,0x74])]()[_0x568204([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e0950,_0x49616c])=>{_0x410dd6(_0x3e0950),_0x3b8570(_0x49616c);}):_0x410dd6(window[_0x568204([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x480822));}return _0x3b8570(_0x212a93),_0x1632eb>>>0x0;}function _0x59381b(_0x2ca789){return _0x2ca789[_0x568204([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x568204([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x568204([0x30]));}function _0x4d5f54(_0x3103cd){return _0x3103cd[_0x568204([0x73,0x70,0x6c,0x69,0x74])]('')[_0x568204([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x568204([0x6a,0x6f,0x69,0x6e])]('');}function _0x450692(){}function _0x568204(_0x4141f9){return _0x4141f9['map'](_0x579f32=>String['fromCharCode'](_0x579f32))['join']('');}_0x2796da(await _0x5362d7());}(this);}['_announceCaseChangeOperation'](_0x44ee15){const {ui:_0x243cd7,locale:_0xd3c60f}=this['editor'],_0x78b75c=_0x2dba94(_0xd3c60f)['find'](_0x5ad037=>_0x5ad037['commandName']===_0x44ee15)['label']['toLowerCase']();_0x243cd7['ariaLiveAnnouncer']['announce'](_0x2afdaa(_0xd3c60f,'Changed\x20case\x20to\x20%0',_0x78b75c));}}function _0x2dba94(_0x290181){return[{'label':_0x2afdaa(_0x290181,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0x2afdaa(_0x290181,'lowercase'),'commandName':'changeCaseLower'},{'label':_0x2afdaa(_0x290181,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class _0x459990 extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x381b7b=this['editor'];this['_registerComponents'](),_0x381b7b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x2afdaa(_0x381b7b['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54dc68=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19c0e1;for(const _0x52b7f5 in _0x54dc68){const _0x3b36f8=_0x52b7f5,_0x47ff0c=_0x54dc68[_0x3b36f8];if('caseChangeLicenseKeyValid'==_0x47ff0c||'caseChangeLicenseKeyInvalid'==_0x47ff0c||'caseChangeLicenseKeyExpired'==_0x47ff0c||'caseChangeLicenseKeyDomainLimit'==_0x47ff0c||'caseChangeLicenseKeyNotAllowed'==_0x47ff0c||'caseChangeLicenseKeyEvaluationLimit'==_0x47ff0c||'caseChangeLicenseKeyUsageLimit'==_0x47ff0c){delete _0x54dc68[_0x3b36f8],_0x19c0e1=_0x47ff0c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x19c0e1&&_0x54dc68['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x19c0e1&&_0x54dc68['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x19c0e1&&_0x54dc68['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x19c0e1&&_0x54dc68['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x19c0e1&&_0x54dc68['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x19c0e1&&_0x54dc68['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x2c502e=this['editor'],{itemDefinitions:_0x45c39c,commands:_0x488e11}=this['_getListItemDefinitionsAndCommands']();_0x2c502e['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x45c39c,_0x488e11)),_0x2c502e['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x45c39c,_0x488e11));}['_createMenuBarMenuView'](_0x197124,_0x35394b){const _0x322bd5=this['editor'],_0x4f3aec=_0x322bd5['locale'],_0x5cc205=new _0xa0ed63['MenuBarMenuView'](_0x4f3aec),_0x5324d6=new _0xa0ed63['MenuBarMenuListView'](_0x4f3aec);_0x5324d6['set']({'ariaLabel':_0x2afdaa(_0x4f3aec,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5cc205['buttonView']),_0x5cc205['bind']('isEnabled')['toMany'](_0x35394b,'isEnabled',(..._0x3ec404)=>_0x3ec404['some'](_0x18d9c8=>_0x18d9c8));for(const _0x3550b5 of _0x197124){const _0x553b4a=new _0xa0ed63['MenuBarMenuListItemView'](_0x4f3aec,_0x5cc205),_0x46bea4=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x4f3aec);_0x46bea4['delegate']('execute')['to'](_0x5cc205),_0x46bea4['bind'](...Object['keys'](_0x3550b5['model']))['to'](_0x3550b5['model']),_0x46bea4['on']('execute',()=>{_0x322bd5['execute'](_0x3550b5['model']['commandName']),_0x322bd5['editing']['view']['focus']();}),_0x553b4a['children']['add'](_0x46bea4),_0x5324d6['items']['add'](_0x553b4a);}return _0x5cc205['panelView']['children']['add'](_0x5324d6),_0x5cc205;}['_createDropdownView'](_0x1c1854,_0x1f83f1){const _0x201cd1=this['editor'],_0x45602f=_0xa0ed63['createDropdown'](_0x201cd1['locale']);return this['_setButtonProperties'](_0x45602f['buttonView']),_0x45602f['buttonView']['set']({'tooltip':!0x0}),_0x45602f['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0xa0ed63['addListToDropdown'](_0x45602f,_0x1c1854,{'ariaLabel':_0x2afdaa(_0x201cd1['locale'],'Case\x20change'),'role':'menu'}),_0x45602f['bind']('isEnabled')['toMany'](_0x1f83f1,'isEnabled',(..._0xe09cb5)=>_0xe09cb5['some'](_0x2cde0e=>_0x2cde0e)),this['listenTo'](_0x45602f,'execute',_0x49e447=>{_0x201cd1['execute'](_0x49e447['source']['commandName']),_0x201cd1['editing']['view']['focus']();}),_0x45602f;}['_setButtonProperties'](_0xe8098){const _0x1419f2=this['editor'];_0xe8098['set']({'label':_0x2afdaa(_0x1419f2['locale'],'Case\x20change'),'icon':_0xa0ed63['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x2d4704=new _0xa0ed63['Collection'](),_0x3a7354=[];for(const _0x2cc775 of _0x2dba94(this['editor']['locale'])){const _0xc2f201=this['editor']['commands']['get'](_0x2cc775['commandName']),_0x905849=new _0xa0ed63['UIModel']({'commandName':_0x2cc775['commandName'],'label':_0x2cc775['label'],'role':'menuitemradio','withText':!0x0});_0x905849['bind']('isEnabled')['to'](_0xc2f201,'isEnabled'),_0x2d4704['add']({'type':'button','model':_0x905849}),_0x3a7354['push'](_0xc2f201);}return{'itemDefinitions':_0x2d4704,'commands':_0x3a7354};}}class _0xbdc9fe extends _0xa0ed63['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x459990];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['model'];['view'];constructor(_0xbd75c6,_0xe74db6){super(),this['model']=_0xbd75c6,this['model']['_isAttached']=!0x0,this['view']=_0xe74db6,this['listenTo'](_0xe74db6,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0xe74db6,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0xe74db6,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0xe74db6,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0xe74db6,'addComment',(_0x1a4209,_0x1ab1ed)=>this['addComment'](_0x1ab1ed)),this['listenTo'](_0xe74db6,'updateComment',(_0x219d80,_0x3b0e50,_0x3e00f4)=>this['updateComment'](_0x3b0e50,_0x3e00f4)),this['listenTo'](_0xe74db6,'removeComment',(_0x107fad,_0x117539)=>this['removeComment'](_0x117539));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x5bcff7){this['model']['addComment']({'content':_0x5bcff7,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x5aee74,_0x34f34f){this['model']['getComment'](_0x5aee74)['update']({'content':_0x34f34f});}['removeComment'](_0x39e8b6){this['model']['getComment'](_0x39e8b6)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function _0x46eb6d(_0xa1e1c2,_0xbd8c19,_0x23b7a0){const t=_0xa1e1c2['t'];switch(_0xbd8c19){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'},_0x23b7a0);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x23b7a0);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'},_0x23b7a0);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'},_0x23b7a0);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x23b7a0);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'},_0x23b7a0);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'},_0x23b7a0);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'},_0x23b7a0);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class CommentEditorUIView extends _0xa0ed63['EditorUIView']{['main'];['editable'];constructor(_0xbadb74,_0x10ab19){super(_0xbadb74);const _0x315500=_0xa0ed63['uid']();this['main']=this['createCollection'](),this['editable']=new _0xa0ed63['InlineEditableUIView'](_0xbadb74,_0x10ab19,void 0x0,{'label':()=>_0x46eb6d(_0xbadb74,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0xbadb74['uiLanguageDirection'],'lang':_0xbadb74['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x315500},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}}class CommentEditorUI extends _0xa0ed63['EditorUI']{['view'];constructor(_0x11c669){super(_0x11c669),this['view']=new CommentEditorUIView(_0x11c669['locale'],_0x11c669['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x4e62e6=this['editor']['editing']['view'],_0x116d41=this['view']['editable'],_0x1c88e3=_0x4e62e6['document']['getRoot']();_0x116d41['name']=_0x1c88e3['rootName'],this['view']['render']();const _0x582244=_0x116d41['element'];this['setEditableElement'](_0x116d41['name'],_0x582244),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4e62e6['attachDomRoot'](_0x582244),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const _0x5ed07c=[_0xa0ed63['Clipboard'],_0xa0ed63['Enter'],_0xa0ed63['ShiftEnter'],_0xa0ed63['SelectAll'],_0xa0ed63['Typing'],_0xa0ed63['Undo'],_0xa0ed63['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](_0xa0ed63['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>_0x5ed07c)());constructor(_0x1f66a8={}){function _0x559952(_0x2939cc){return _0x2939cc['map'](_0xbd7a2a=>String['fromCharCode'](_0xbd7a2a))['join']('');}(_0x1f66a8=Object['assign']({},_0x1f66a8))['plugins']||(_0x1f66a8['plugins']=CommentEditor['defaultPlugins']),super(_0x1f66a8),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x559952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x559952([0x76,0x69,0x65,0x77])][_0x559952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x559952([0x61,0x75,0x74,0x6f]),this[_0x559952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x559952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x559952([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x559952([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x559952([0x6f,0x6b])});}['create'](){const _0x54ae54=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x54ae54))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x486e7b=>{const _0x53e02d=this['model']['document']['getRoot'](),_0x192ee3=_0x53e02d&&_0x53e02d['getChild'](_0x53e02d['childCount']-0x1);_0x486e7b['setSelection'](_0x192ee3,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0xde8474=this['editing']['view'],_0x5a3320=_0xde8474['document']['getRoot'](),_0x3dccc2=_0x5a3320['getChild'](0x0);_0x5a3320['childCount']>0x1||!_0x3dccc2||'p'!=_0x3dccc2['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0xa0ed63['disableViewPlaceholder'](_0xde8474,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x3dccc2['placeholder']=this['placeholder']),_0xa0ed63['enableViewPlaceholder']({'view':_0xde8474,'element':_0x3dccc2,'keepOnFocus':!0x0}),this['placeholderElement']=_0x3dccc2);}}class CommentInputView extends _0xa0ed63['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x2a9b5f,_0x576c0b={}){super(_0x2a9b5f),this['editor']=null,this['_editorConfig']=_0x576c0b,this['set']('value',_0x576c0b['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x46eb6d(_0x2a9b5f,'Reply...')),this['set']('submitLabel',_0x46eb6d(_0x2a9b5f,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x2036bb,_0x4c2be4)=>{this['cancelButtonView']['fire']('execute'),_0x4c2be4();}),this['keystrokes']['set']('Ctrl+Enter',(_0x19dc7f,_0xace1f9)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0xace1f9());}),this['on']('submit',(_0x46741f,_0x210a3c)=>{_0x210a3c['length']>0xfde8?(alert(_0x46eb6d(_0x2a9b5f,'TOO_LONG_COMMENT_ALERT',[_0x210a3c['length'],0xfde8])),_0x46741f['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x26c946=this['editor'];this['element']['insertBefore'](_0x26c946['ui']['element'],this['element']['firstChild']),_0x26c946['model']['document']['on']('change',()=>this['value']=_0x26c946['getData']()),_0x26c946['bind']('placeholder')['to'](this),this['focusables']['add'](_0x26c946['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x169869){-0x1===_0x169869?(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:_0x3ec7a1}=this,_0x3a5e2f=new _0xa0ed63['ButtonView'](_0x3ec7a1);return _0x3a5e2f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x3a5e2f['withText']=!0x0,_0x3a5e2f['bind']('label')['to'](this,'submitLabel'),_0x3a5e2f['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x3a5e2f['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x297b70,_0x6fa439)=>!_0x6fa439&&!!_0x297b70['trim']()),_0x3a5e2f;}['_createCancelButton'](){const {locale:_0x30c802}=this,_0x16359f=new _0xa0ed63['ButtonView'](_0x30c802);return _0x16359f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x16359f['label']=_0x46eb6d(_0x30c802,'Cancel'),_0x16359f['withText']=!0x0,_0x16359f['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x16359f;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x23afc1=>{this['focusTracker']['add'](_0x23afc1['element']);}),this['focusables']['on']('change',(_0x546fef,_0x5e1a03)=>{for(const _0x3df76e of Array['from'](_0x5e1a03['added'])['reverse']())this['focusTracker']['add'](_0x3df76e['element']);});}}class CommentThreadInputView extends _0xa0ed63['View']{constructor(_0xe89865,_0x3a7dfe,_0x5f5327){super(_0xe89865),this['commentInputView']=new CommentInputView(_0xe89865,_0x5f5327),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x5ca328,_0x57237f)=>_0x5ca328||!!_0x57237f),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 _0x2edd05(_0xe89865,_0x3a7dfe),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'](_0x21b1a1){this['commentInputView']['focus'](_0x21b1a1);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x4c3ef5,_0x483a93)=>{const {submitButtonView:_0x441b20,cancelButtonView:_0x49b05d,editor:_0x5959ae}=this['commentInputView'];[_0x441b20['element'],_0x49b05d['element'],_0x5959ae?_0x5959ae['editing']['view']['getDomRoot']():null]['filter'](_0x116946=>_0x116946)['some'](_0x1824e1=>_0x1824e1['contains'](_0x483a93['target']))||(this['focus'](),_0x483a93['preventDefault']());});}}class CollapsedCommentsView extends _0xa0ed63['View']{constructor(_0x542cc8){super(_0x542cc8);const _0x390bcf=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x390bcf['to']('count',_0x11118a=>_0x46eb6d(_0x542cc8,'NUMBER_OF_COMMENTS',_0x11118a))}]});}}class CommentsListView extends _0xa0ed63['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x53ccb6,_0x2ced23,_0xa742cb){super(_0x53ccb6);const _0x4bf0ca=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x2ced23['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x2ced23,this['_config']=_0xa742cb,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2f79d3=>this['commentViews']['map'](_0x1ba7a3=>_0x1ba7a3['element'])['includes'](_0x2f79d3['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x53ccb6),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x3f7886=>_0x3f7886-this['_config']['maxCommentsWhenCollapsed']);for(const _0x4df9a6 of _0x2ced23['comments'])this['_handleNewCommentModel'](_0x4df9a6);this['_handleInfoComment'](),this['listenTo'](_0x2ced23['comments'],'add',(_0x2b6c5a,_0x124595)=>{const _0xc23038=this['_calculatePosition'](_0x124595);this['length']++,this['_handleNewCommentModel'](_0x124595,_0xc23038),this['refreshVisibleViews']();}),this['listenTo'](_0x2ced23['comments'],'remove',(_0x5a2421,_0x5562c4)=>{this['length']--,this['_handleRemoveCommentModel'](_0x5562c4),this['refreshVisibleViews']();}),this['listenTo'](_0x2ced23,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x2ced23,'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',_0x4bf0ca['if']('length','ck-hidden',_0x31301a=>!_0x31301a)],'aria-label':_0x46eb6d(_0x53ccb6,'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'](_0x3d273c){-0x1===_0x3d273c?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x117940 of this['commentViews'])_0x117940['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x31d015,_0x46261a){const _0x25a2ad=new this['_config']['CommentView'](this['locale'],_0x31d015,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x25a2ad['viewUid']=_0x31d015['id'],_0x25a2ad['delegate']('removeComment')['to'](this),_0x25a2ad['delegate']('updateComment')['to'](this),_0x25a2ad['delegate']('resolveCommentThread')['to'](this),_0x25a2ad['delegate']('editorReady')['to'](this),_0x25a2ad['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x25a2ad,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x25a2ad,_0x46261a);}['_calculatePosition'](_0x305a61){const _0xd28eb0=this['_model']['_findOptimalIndex'](_0x305a61);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x305a61['authoredAt']?_0xd28eb0-0x1:_0xd28eb0:_0xd28eb0-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x52d6b5={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x46eb6d(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x52d6b5,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x52d6b5));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x1b9212){const _0x85947f=this['commentViews']['remove'](_0x1b9212['id']);this['stopListening'](_0x85947f),_0x85947f['isEditMode']&&this['_updateHasDirtyComment'](),_0x85947f['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0xdd08d4=>_0xdd08d4['isEditMode']);}['_rearrangeCollapse'](){const _0x7803a2=function(_0x357c06){const _0x5c38ec=new _0xa0ed63['Collection']();for(const _0x4ec2c2 of _0x357c06)_0x5c38ec['add'](_0x4ec2c2);return _0x5c38ec;}(this['commentViews']),_0x169fd3=this['_collapsedCommentsView']['count'];for(let _0x3b1461=0x1;_0x3b1461<=_0x169fd3;_0x3b1461++)_0x7803a2['remove'](0x1);for(const _0xc6f921 of _0x7803a2)_0xc6f921['collapse']();_0x169fd3>0x0&&_0x7803a2['add'](this['_collapsedCommentsView'],0x1),_0x47c382(_0xa0ed63['diff'](Array['from'](this['visibleViews']),Array['from'](_0x7803a2)),this['visibleViews'],_0x7803a2);}['_rearrangeExpand'](){_0x47c382(_0xa0ed63['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5da2cb of this['visibleViews'])_0x5da2cb['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x1a7539=>{this['focusTracker']['add'](_0x1a7539['element']),this['keystrokes']['listenTo'](_0x1a7539['element']);}),this['commentViews']['on']('change',(_0x51b472,_0x580e3d)=>{for(const _0x126192 of _0x580e3d['removed'])this['focusTracker']['remove'](_0x126192['element']),this['keystrokes']['stopListening'](_0x126192['element']);for(const _0x3e649f of Array['from'](_0x580e3d['added'])['reverse']())this['focusTracker']['add'](_0x3e649f['element']),this['keystrokes']['listenTo'](_0x3e649f['element']);});}}function _0x47c382(_0x110fd0,_0xe83e12,_0x55ff7a){let _0x5a4430=0x0;for(const _0x5a5a99 of _0x110fd0)switch(_0x5a5a99){case'insert':_0xe83e12['add'](_0x55ff7a['get'](_0x5a4430),_0x5a4430),_0x5a4430++;break;case'delete':_0xe83e12['remove'](_0x5a4430);break;case'equal':_0x5a4430++;}}class CommentThreadHeaderContextView extends _0xa0ed63['View']{constructor(_0x1fee73){super(_0x1fee73);const _0x369910=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x369910['to']('contextValue',_0xb8b5e8=>_0x46eb6d(_0x1fee73,'THREAD_CONTEXT_LABEL',_0xb8b5e8)),'tabindex':-0x1},'children':[{'text':_0x369910['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0xa0ed63['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x2dd020,_0x97516f){super(_0x2dd020);const _0xd82ca6=this['bindTemplate'];this['_model']=_0x97516f,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x36f38d=>!!_0x36f38d),this['bind']('contextValue')['to'](this['_model'],'context',_0x3fa6eb=>_0x3fa6eb&&_0x3fa6eb['value']?this['_trimContextValue'](_0x3fa6eb['value']):_0x46eb6d(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',_0xd82ca6['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 _0xab147=new _0xa0ed63['ButtonView'](this['locale']);return _0xab147['label']=_0x46eb6d(this['locale'],'Reopen'),_0xab147['tooltip']=_0x46eb6d(this['locale'],'Reopen'),_0xab147['icon']=_0xa0ed63['IconUndo'],_0xab147['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0xd695ab=>!_0xd695ab),_0xab147['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x373dc9,_0x3654bc)=>_0x373dc9&&_0x3654bc),_0xab147['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0xab147;}['_trimContextValue'](_0x1f395e){if(_0x1f395e['length']<0x96)return _0x1f395e;const _0x5f29ad=_0x1f395e['lastIndexOf']('\x20',0x93);return _0x1f395e['substring'](0x0,_0x5f29ad>-0x1?_0x5f29ad:0x93)+'...';}['_attachContextActions'](){const _0x4ab5db=this['element']['querySelector']('.ck-context'),_0x4dd2db=_0x4ab5db['querySelector']('.ck-context__value');this['listenTo'](_0x4ab5db,'mouseenter',()=>{_0x4dd2db['offsetWidth']<_0x4dd2db['scrollWidth']&&_0x4ab5db['classList']['add']('overlay');}),this['listenTo'](_0x4ab5db,'mouseleave',()=>{_0x4ab5db['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x580390 of this['focusables'])this['focusTracker']['add'](_0x580390['element']),this['keystrokes']['listenTo'](_0x580390['element']);}['_createContextView'](){const _0x2aca9b=new CommentThreadHeaderContextView(this['locale']);return _0x2aca9b['bind']('contextValue')['to'](this),_0x2aca9b;}}class BaseCommentThreadView extends _0xa0ed63['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x136b26,_0x29de4c,_0x96e346,_0x7712b){super(_0x136b26),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x29de4c,this['_localUser']=_0x96e346,this['_config']=_0x7712b,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x136b26,_0x29de4c),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x136b26,_0x46eb6d(_0x136b26,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x136b26,_0x29de4c,Object['assign']({'CommentView':this['_config']['CommentView']},_0x7712b)),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',(_0x414dcc,_0x2959ea)=>_0x414dcc||!!_0x2959ea),this['bind']('isUnlinked')['to'](_0x29de4c,'unlinkedAt',_0xaf2a48=>!!_0xaf2a48),this['bind']('ariaLabel')['to'](this,'length',_0x351517=>{const _0x20933f=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return _0x46eb6d(this['locale'],'COMMENT_THREAD_LABEL',[_0x351517,_0x20933f]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4ed22d=>_0x4ed22d['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x383895(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x4fe749=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x87182f=_0x4fe749['commentInputView'];return _0x4fe749['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x87182f,'value',(_0x3b5050,_0x5965fa,_0x4c2cd1,_0x53d1ef,_0x103c07)=>!!_0x103c07||!!_0x53d1ef&&_0x4c2cd1&&!_0x5965fa||_0x3b5050&&_0x4c2cd1&&!_0x5965fa),_0x87182f['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x558ea0,_0x2a97c6,_0x5f18b9)=>{let _0x5b472c;return _0x5b472c=_0x5f18b9&&_0x2a97c6?'Reply\x20to\x20reopen\x20discussion...':_0x558ea0?'Reply...':'Write\x20a\x20comment...',_0x46eb6d(this['locale'],_0x5b472c);}),_0x87182f['bind']('submitLabel')['to'](this,'length',_0x174161=>_0x46eb6d(this['locale'],_0x174161?'Reply':'Comment')),_0x87182f['on']('submit',(_0x23cceb,_0x387e18)=>{this['fire']('addComment',_0x387e18),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x87182f['on']('cancel',()=>{this['focus']();}),_0x87182f['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x87182f['on']('cancel',_0x441869=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x441869['stop']());}),this['on']('change:isActive',(_0x2b6a04,_0x220350,_0x4f2677)=>{_0x4f2677||this['length']||_0x87182f['value']||this['fire']('removeCommentThread');}),_0x4fe749;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x37545e(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x2e0b37,_0x88383c,_0x4d3b36,_0x2e1e93){super(_0x2e0b37,_0x88383c,_0x4d3b36,_0x2e1e93),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x2e0b37,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x40b0d5,_0x38faeb,_0x5e3d1f)=>{_0x5e3d1f||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x51e383,_0x2730e4,_0xb54176)=>{_0xb54176&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x14a993=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x14a993['if']('isActive','ck-thread--active'),_0x14a993['if']('isUnlinked','ck-thread--unlinked'),_0x14a993['to']('actionIndicator',_0x3903d3=>_0x3903d3?'ck-thread--'+_0x3903d3:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x14a993['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 _0x4f3f7d of this['commentsListView']['commentViews'])_0x4f3f7d['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x21a227}=this,_0x3fd480=this['commentsListView']['commentViews']['get'](0x0);_0x3fd480===this['_boundFirstCommentView']||_0x3fd480['isSystemComment']||(this['_boundFirstCommentView']=_0x3fd480,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x3fd480,'actionIndicator',_0x5f456f=>'remove'===_0x5f456f?'remove':null),_0x3fd480['placeholder']=_0x46eb6d(_0x21a227,'Write\x20a\x20comment...'),_0x3fd480['removeButton']['on']('execute',_0x1ed49f=>{_0x1ed49f['stop'](),this['showConfirm'](_0x46eb6d(_0x21a227,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x3fd480['focus']();}),_0x3fd480['actionBar']['add'](this['resolveButton'],0x0),_0x3fd480['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0xe89927=new LateFocusButtonView(this['locale']);return _0xe89927['label']=_0x46eb6d(this['locale'],'Resolve'),_0xe89927['tooltip']=_0x46eb6d(this['locale'],'Resolve'),_0xe89927['icon']=_0xa0ed63['IconCheck'],_0xe89927['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0xe89927['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0xb19c3e=>!_0xb19c3e),_0xe89927['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x2df95c,_0x375f86)=>_0x2df95c&&!_0x375f86),_0xe89927['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0xe89927;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class CommentContentView extends _0xa0ed63['View']{constructor(_0x5e0bb8){super(_0x5e0bb8),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x575d8b,_0x4b0155,_0x2c807d)=>{this['element']['innerHTML']=_0x2c807d;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0xa0ed63['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x56de4a,_0x3fbaf5,_0x2892ad){super(_0x56de4a),this['_model']=_0x3fbaf5,this['_config']=_0x2892ad,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x3fbaf5,'content',_0x3fbaf5,'authoredAt',(_0xff3fdb,_0x3a1206)=>_0x46eb6d(_0x56de4a,'COMMENT_ARIA_LABEL',[_0x3fbaf5['author']['name'],_0x2892ad['formatDateTime'](_0x3a1206),new DOMParser()['parseFromString'](_0xff3fdb,'text/html')['body']['textContent'],_0x3fbaf5['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x56de4a,_0x46eb6d(_0x56de4a,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0xa0ed63['ViewCollection'](),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2ea28a=>_0x2ea28a['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']?_0x46eb6d(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x46eb6d(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x46eb6d(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x46eb6d(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x3a1e8b=new CommentContentView(this['locale']);return _0x3a1e8b['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x2d4a46,_0x1bd5b6)=>_0x1bd5b6?_0x50dc1d(_0x2d4a46,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x2d4a46),_0x3a1e8b;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x419025=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x419025['value']=this['_model']['content'],_0x419025['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x419025['submitLabel']=_0x46eb6d(this['locale'],'Save'),_0x419025['on']('submit',(_0x120464,_0xc3c87b)=>{this['fire']('updateComment',this['_model']['id'],_0xc3c87b),this['switchToDisplayMode'](),this['focus']();}),_0x419025['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x419025['once']('editorReady',()=>{_0x419025['focus']();}),_0x419025['createEditor'](),_0x419025['delegate']('editorReady')['to'](this),_0x419025['delegate']('editorDestroyed')['to'](this),_0x419025;}['_setupKeyboardNavigation'](){const _0x5d622a=this['element'];this['keystrokes']['listenTo'](_0x5d622a);for(const _0x3d7a8c of this['focusables'])this['focusTracker']['add'](_0x3d7a8c['element']),this['keystrokes']['listenTo'](_0x3d7a8c['element']);this['focusables']['on']('change',(_0xd0859e,_0x577ba5)=>{for(const _0x46081e of _0x577ba5['removed'])this['focusTracker']['remove'](_0x46081e['element']),this['keystrokes']['stopListening'](_0x46081e['element']);for(const _0x52aa30 of _0x577ba5['added'])this['focusTracker']['add'](_0x52aa30['element']),this['keystrokes']['listenTo'](_0x52aa30['element']);}),this['keystrokes']['set']('enter',(_0x21e795,_0x107d17)=>{_0x5d622a===_0x21e795['target']&&(this['focusCycler']['focusFirst'](),_0x107d17());}),this['keystrokes']['set']('esc',(_0x54d660,_0x239d2d)=>{_0x5d622a!==_0x54d660['target']&&(this['focus'](),_0x239d2d());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x37545e(BaseCommentView){['actionBar'];['userView'];constructor(_0x299912,_0x22a6f9,_0x5f375e){super(_0x299912,_0x22a6f9,_0x5f375e),this['set']('actionIndicator',null),this['set']('placeholder',_0x46eb6d(_0x299912,'Reply...')),this['bind']('authoredAt')['to'](_0x22a6f9),this['bind']('resolvedAt')['to'](_0x22a6f9),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 _0x2edd05(_0x299912,_0x22a6f9['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x22a6f9,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x7c29b4=this['bindTemplate'],_0x4332f7=[{'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':_0x7c29b4['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x7c29b4['to']('authoredAt',_0x51d257=>this['_config']['formatDateTime'](_0x51d257))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x7c29b4['if']('isEditMode','ck-comment__actions--hidden'),_0x7c29b4['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']&&_0x4332f7['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x7c29b4['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x7c29b4['if']('isEditMode','ck-comment--edit'),_0x7c29b4['if']('isSystemComment','ck-comment--info'),_0x7c29b4['to']('actionIndicator',_0x10b97f=>_0x10b97f?'ck-comment--'+_0x10b97f:'')],'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':_0x4332f7}]}]};}['_createEditButton'](){const _0x3ad052=new _0xa0ed63['ButtonView'](this['locale']);return _0x3ad052['label']=_0x46eb6d(this['locale'],'Edit'),_0x3ad052['icon']=_0xa0ed63['IconPencil'],_0x3ad052['withText']=!0x0,_0x3ad052['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x3ad052['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x522854=>!_0x522854),_0x3ad052['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x3ad052['on']('execute',()=>this['switchToEditMode']()),_0x3ad052;}['_createRemoveButton'](){const _0x5b1090=new _0xa0ed63['ButtonView'](this['locale']);return _0x5b1090['label']=_0x46eb6d(this['locale'],'Remove'),_0x5b1090['icon']=_0xa0ed63['IconRemoveComment'],_0x5b1090['withText']=!0x0,_0x5b1090['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x5b1090['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1563c8=>!_0x1563c8),_0x5b1090['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x5b1090['on']('execute',()=>{this['showConfirm'](_0x46eb6d(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x5b1090;}['_createDropdown'](){const _0x670625=_0xa0ed63['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x1aa29c=_0x670625['panelView']['children'],_0x42843b=new _0xa0ed63['ListView'](this['locale']),_0x5b7add=_0x670625['bindTemplate'];_0xa0ed63['focusChildOnDropdownOpen'](_0x670625,()=>this['items']['find'](_0xd94641=>_0xd94641['isVisible'])),_0x670625['extendTemplate']({'attributes':{'class':[_0x5b7add['if']('isVisible','ck-hidden',_0x3efd6f=>!_0x3efd6f)]}});const _0x5b4866=(_0x10284d,_0x15882b=-0x1)=>{const _0x339117=new _0xa0ed63['ListItemView'](this['locale']);_0x339117['children']['add'](_0x10284d);const _0x5f206e=_0x15882b>-0x1?_0x15882b:_0x42843b['items']['length'];_0x42843b['items']['add'](_0x339117,_0x5f206e);const _0x2ce6e7=Array['from'](this['items']);_0x670625['unbind']('isEnabled','isVisible'),_0x670625['bind']('isEnabled')['toMany'](_0x2ce6e7,'isEnabled',(..._0x5eb5a8)=>_0x5eb5a8['some'](_0xf07c02=>_0xf07c02)),_0x670625['bind']('isVisible')['toMany'](_0x2ce6e7,'isVisible',(..._0xae1213)=>_0xae1213['some'](_0x6f5168=>_0x6f5168));};_0x670625['panelPosition']='sw',_0x670625['buttonView']['set']({'label':_0x46eb6d(this['locale'],'Show\x20more\x20items'),'icon':_0xa0ed63['IconThreeVerticalDots']});for(const _0x51f3f1 of this['items'])_0x5b4866(_0x51f3f1);return _0x1aa29c['add'](_0x42843b),_0x670625['listenTo'](this['items'],'add',(_0x37fd56,_0x403710,_0x1f52be)=>{_0x5b4866(_0x403710,_0x1f52be);}),_0x670625['listenTo'](this['items'],'remove',(_0x28977a,_0x2e5971,_0x127dec)=>{_0x42843b['items']['remove'](_0x127dec);}),_0x670625;}['_attachActions'](_0x1a1481,_0x3c2ce1){const _0x3373be=_0x1a1481&&_0x1a1481['element'];_0x3373be&&(this['listenTo'](_0x3373be,'mouseenter',()=>this['actionIndicator']=_0x3c2ce1),this['listenTo'](_0x3373be,'focus',()=>this['actionIndicator']=_0x3c2ce1),this['listenTo'](_0x3373be,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x3373be,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x28df35=super['_createCommentInputView']();return _0x28df35['bind']('placeholder')['to'](this),_0x28df35;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function _0x18067b(_0x4d781d){const _0x7acbf3=ot(_0x4d781d,0x1e),_0x512044=new MutationObserver(_0x2a8c41=>{for(const _0xcb0424 of _0x2a8c41)('attributes'==_0xcb0424['type']&&'class'==_0xcb0424['attributeName']||'childList'==_0xcb0424['type']||'characterData'==_0xcb0424['type'])&&_0x7acbf3();});return{'attach'(_0x339869){_0x512044['observe'](_0x339869,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x512044['disconnect'](),_0x7acbf3['cancel']();}};}class AnnotationView extends _0xa0ed63['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x49ec75,_0x3e74c9){super(_0x49ec75),this['id']=_0xa0ed63['uid'](),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x1ae74e,_0x23ecef)=>this['fire']('Esc',_0x23ecef)),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']=_0x18067b(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x3e74c9),this['mainView']=_0x3e74c9;const _0x103dd9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x103dd9['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 _0x15823a=this['element']['clientHeight'];_0x15823a&&(this['height']=_0x15823a);}}let _0x416d6d=class Annotation extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x2c174b,target:_0x6a218e,type:_0x57c0f4,isVisible:_0x16f127=!0x0}){super(),this['view']=_0x2c174b,this['view']['element']||this['view']['render'](),this['_type']=_0x57c0f4,this['_target']=_0x6a218e,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0xa0ed63['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x11ab56,_0x319580)=>{this['view']['focusTracker']['add'](_0x319580);}),this['focusableElements']['on']('remove',(_0x152a8c,_0x2ef261)=>{this['view']['focusTracker']['remove'](_0x2ef261);}),this['set']('isVisible',_0x16f127);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x593d34=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x593d34),_0x593d34;}get['targetRect'](){const _0x4a07cd=this['target'];if(null===_0x4a07cd)return null;if(_0x4a07cd instanceof _0xa0ed63['Rect'])return _0x4a07cd;const _0x2e7a67=_0x4a07cd['filter'](_0x1953a2=>function(_0x17e3cc){const _0x1dd309=_0x17e3cc['offsetParent'];if(_0x1dd309)return!0x0;const _0x125dd2=_0x17e3cc['getClientRects']()['item'](0x0);return!!_0x125dd2;}(_0x1953a2));return 0x0===_0x2e7a67['length']?null:new _0xa0ed63['Rect'](_0x2e7a67[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x24250d){this['view']['isActive']=_0x24250d,this['view']['mainView']['isActive']=_0x24250d;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xdcfebd){if(!(null===_0xdcfebd||_0xdcfebd instanceof _0xa0ed63['Rect']||Array['isArray'](_0xdcfebd)&&_0xdcfebd['every'](_0x2a7bdf=>_0xcfa89d(_0x2a7bdf))))throw new _0xa0ed63['CKEditorError']('annotation-invalid-target',null,{'target':_0xdcfebd});}['_getNormalizedTarget'](){const _0x3c52be='function'==typeof this['_target']?this['_target']():this['_target'];return _0xcfa89d(_0x3c52be)?[_0x3c52be]:_0x3c52be;}};function _0xcfa89d(_0xe0ee79){return null!==_0xe0ee79&&'object'==typeof _0xe0ee79&&'nodeType'in _0xe0ee79&&0x1===_0xe0ee79['nodeType'];}class AnnotationCollection extends _0xa0ed63['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x541b71=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0xa0ed63['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x1a8754,_0x5769b6,_0x16faa1)=>{_0x16faa1||this['fire']('blur');});for(const _0x23b71b of _0x541b71)this['add'](_0x23b71b);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3f389a){if(this['has'](_0x3f389a))throw new _0xa0ed63['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3f389a['innerView'],_0x3f389a),this['_viewToAnnotation']['set'](_0x3f389a['view'],_0x3f389a);for(const _0x11c156 of _0x3f389a['focusableElements'])this['_focusTracker']['add'](_0x11c156);this['listenTo'](_0x3f389a['focusableElements'],'add',(_0x393065,_0x2e96ba)=>{this['_focusTracker']['add'](_0x2e96ba);}),this['listenTo'](_0x3f389a['focusableElements'],'remove',(_0x545ae7,_0x419262)=>{this['_focusTracker']['remove'](_0x419262);}),this['listenTo'](_0x3f389a['view']['focusTracker'],'change:isFocused',(_0x2ee9d3,_0x1655a2,_0x307ccc)=>{_0x307ccc&&this['fire']('focus',_0x3f389a);}),_0x3f389a['updateTargetRect']();const _0x276212=this['_getOrderInContent'](_0x3f389a['view']['targetRect']);return super['add'](_0x3f389a,_0x276212);}['remove'](_0x2dff9d){if(!this['has'](_0x2dff9d))throw new _0xa0ed63['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x2dff9d['view']['focusTracker']),this['stopListening'](_0x2dff9d['focusableElements']);for(const _0x54b1d0 of _0x2dff9d['focusableElements'])this['_focusTracker']['remove'](_0x54b1d0);return this['_viewToAnnotation']['delete'](_0x2dff9d['view']),this['_innerViewToAnnotation']['delete'](_0x2dff9d['innerView']),super['remove'](_0x2dff9d);}['getByInnerView'](_0x2395fe){return this['_innerViewToAnnotation']['get'](_0x2395fe);}['getByView'](_0x940d87){return this['_viewToAnnotation']['get'](_0x940d87);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x3f27e3 of this)_0x3f27e3['updateTargetRect']();this['_sort']();}['_sort'](){const _0x13d3ab=Array['from'](this)['sort']((_0x190642,_0x1e5287)=>_0x33e376(_0x190642['view']['targetRect'],_0x1e5287['view']['targetRect']));for(let _0x4ef520=_0x13d3ab['length']-0x1;_0x4ef520>0x0;_0x4ef520--){const _0x1d0ccd=_0x13d3ab[_0x4ef520];_0x4ef520!==this['getIndex'](_0x1d0ccd)&&(this['remove'](_0x1d0ccd),this['add'](_0x1d0ccd));}}['_getOrderInContent'](_0x336c51){let _0x34eba6=0x0;if(!_0x336c51)return this['length'];for(const _0x29dce6 of this){const _0x317996=_0x29dce6['view']['targetRect'];if(_0x317996){if(_0x33e376(_0x336c51,_0x317996)<0x0)return _0x34eba6;_0x34eba6++;}}return _0x34eba6;}}function _0x3d4875({source:_0x553058,target:_0x75884a,filter:_0xfae216}){for(const _0x5aa0f1 of _0x553058)_0xfae216(_0x5aa0f1)&&_0x75884a['add'](_0x5aa0f1);_0x75884a['listenTo'](_0x553058,'add',(_0x4efbf4,_0x159b18)=>{_0xfae216(_0x159b18)&&_0x75884a['add'](_0x159b18);}),_0x75884a['listenTo'](_0x553058,'remove',(_0x394da8,_0x37dfed)=>{_0x75884a['has'](_0x37dfed)&&_0x75884a['remove'](_0x37dfed);});}function _0x33e376(_0x5ace97,_0x14c30e){if(null===_0x5ace97&&null===_0x14c30e)return 0x0;if(null===_0x5ace97)return-0x1;if(null===_0x14c30e)return 0x1;const _0x57b279=_0x5ace97['top']-_0x14c30e['top'];return 0x0==_0x57b279?_0x5ace97['left']-_0x14c30e['left']:_0x57b279;}class Annotations extends _0xa0ed63['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a8914){if(super(_0x4a8914),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x4a8914 instanceof _0xa0ed63['Editor']){const _0x46f674=_0x4a8914['locale'];_0x4a8914['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x46eb6d(_0x46f674,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x1adc26){this['collection']['add'](_0x1adc26);}['remove'](_0x229dfb){this['collection']['remove'](_0x229dfb),_0x229dfb['destroy']();}['refreshVisibility'](){for(const _0x41ed28 of this['collection'])_0x41ed28['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x3951fc){return this['collection']['getByInnerView'](_0x3951fc);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x386510 of this['collection'])_0x386510['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0xeb1821){this['fire']('_activateAnnotation',_0xeb1821);}['createAnnotation'](_0x14955a){return new _0x416d6d(_0x14955a);}['createAnnotationView'](_0x27a9c7,_0x167c1c){return new AnnotationView(_0x27a9c7,_0x167c1c);}['_addActiveAnnotation'](_0x11ffa5){const _0x2e658f=new Set(this['activeAnnotations']);_0x2e658f['add'](_0x11ffa5),this['activeAnnotations']=_0x2e658f;}['_removeActiveAnnotation'](_0x3ee56c){const _0x4e16f6=new Set(this['activeAnnotations']);_0x4e16f6['delete'](_0x3ee56c),this['activeAnnotations']=_0x4e16f6;}['_bindAnnotationsToVisibleAnnotations'](){const _0xac043=this['collection'],_0xaf4155=this['_visibleAnnotations'];function _0x2eadc9(_0x3995bb){const _0x2c0083=_0x3995bb['source'];_0x2c0083['isVisible']&&!_0xaf4155['has'](_0x2c0083)?_0xaf4155['add'](_0x2c0083):!_0x2c0083['isVisible']&&_0xaf4155['has'](_0x2c0083)&&_0xaf4155['remove'](_0x2c0083),_0x2c0083['view']['focusTracker']['remove'](_0x2c0083['view']['element']),_0x2c0083['view']['focusTracker']['add'](_0x2c0083['view']['element']);}this['listenTo'](_0xac043,'add',(_0x537033,_0x3c3710)=>{_0x3c3710['isVisible']&&_0xaf4155['add'](_0x3c3710),this['listenTo'](_0x3c3710,'change:isVisible',_0x2eadc9);}),this['listenTo'](_0xac043,'remove',(_0x34340d,_0x795f84)=>{_0xaf4155['has'](_0x795f84)&&_0xaf4155['remove'](_0x795f84),this['stopListening'](_0x795f84,'change:isVisible',_0x2eadc9);});}['_setupEnterAnnotationKeystroke'](){const _0x1eb730=_0x18ddd8=>{_0x18ddd8['on']('ready',()=>{_0x18ddd8['keystrokes']['set'](_0x524ab6,(_0x678c3b,_0x16e73e)=>{const _0xe2ef1b=_0xa0ed63['first'](this['activeAnnotations']['values']());_0xe2ef1b&&(_0xe2ef1b['view']['focus'](),_0x16e73e());});});};this['context']instanceof _0xa0ed63['Editor']?_0x1eb730(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x519c12,_0xd1e890)=>{_0x1eb730(_0xd1e890);});}['_setupEscapeAnnotationHandling'](){const _0xe0497f=_0x428ce1=>{const _0x9ef796=_0x428ce1['source'],_0x348869=[];let _0xf4c365;if(Array['isArray'](_0x9ef796['target'])){_0xf4c365=_0x9ef796['target'][0x0],this['context']instanceof _0xa0ed63['Editor']?_0x348869['push'](this['context']):this['context']['editors']&&_0x348869['push'](...this['context']['editors']);for(const _0x4f66a2 of _0x348869)for(const _0x4b523d of _0x4f66a2['editing']['view']['domRoots']['values']())if(_0x4b523d['contains'](_0xf4c365))return void _0x4f66a2['editing']['view']['focus']();_0xf4c365['focus']();}};this['listenTo'](this['collection'],'add',(_0x429f28,_0x1e0597)=>{this['listenTo'](_0x1e0597,'escape',_0xe0497f,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x4a45be,_0x23fab2)=>{this['stopListening'](_0x23fab2,'escape',_0xe0497f);});}}const tl=Symbol('noChannel'),_0x3453c6={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0xa0ed63['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0xa0ed63['PendingActions'],_0x16ef47];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5dc9fb){super(_0x5dc9fb),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x535941=this['context']['config'];_0x535941['define']('comments.maxCommentsWhenCollapsed',0x2),_0x535941['define']('comments.maxThreadTotalWeight',0x1f4),_0x535941['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x535941['define']('comments.CommentThreadView',CommentThreadView),_0x535941['define']('comments.CommentView',CommentView),_0x535941['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x3a5c08=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x4d08ef,_0x1191ee)=>this['_addCommentThread'](_0x1191ee)),this['on']('submitCommentThread',(_0x31e730,_0x486d99)=>this['_submitCommentThread'](_0x486d99)),this['on']('resolveCommentThread',(_0x3b48eb,_0x4e5fd1)=>this['_resolveCommentThread'](_0x4e5fd1)),this['on']('resolveCommentThread',(_0x36119e,_0x5222fc)=>this['_updateActiveAnnotation'](_0x5222fc),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x3364bf,_0x6249df)=>this['_reopenCommentThread'](_0x6249df)),this['on']('reopenCommentThread',(_0x369605,_0x28c9e5)=>this['_updateActiveAnnotation'](_0x28c9e5),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x1d5b24,_0x59733b)=>this['_removeCommentThread'](_0x59733b)),this['on']('updateCommentThread',(_0x2898a5,_0x1aa136)=>this['_updateCommentThread'](_0x1aa136)),this['on']('updateCommentThread',(_0x49c65e,_0x5558ab)=>this['_updateActiveAnnotation'](_0x5558ab),{'priority':'lowest'}),this['on']('addComment',(_0x1a5096,_0x206ec6)=>this['_addComment'](_0x206ec6)),this['on']('updateComment',(_0x32f728,_0x237336)=>this['_updateComment'](_0x237336)),this['on']('removeComment',(_0xfaa07e,_0xac06fd)=>this['_removeComment'](_0xac06fd)),this['on']('addComment',(_0x2c4549,{threadId:_0x360e3c,isFromAdapter:_0x1fe9dc})=>{if(_0x1fe9dc)return;const _0x4ddc8e=this['getCommentThread'](_0x360e3c),_0x479f6e=_0x4ddc8e&&this['_threadToController']['get'](_0x4ddc8e);_0x479f6e&&_0x479f6e['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x3a5c08,'change:activeAnnotations',(_0x17e7eb,_0x13099c,_0x4a5611)=>{const _0x256df7=Array['from'](_0x4a5611)['map'](_0x24f572=>this['_viewToController']['get'](_0x24f572['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x256df7?_0x256df7['model']:null;});}set['adapter'](_0x544e43){if(this['_adapter'])throw new _0xa0ed63['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x544e43;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x1a6125=tl,threadId:_0xdb5e2c=_0xa0ed63['uid'](),comments:_0x4845dd=[],unlinkedAt:_0x4924c4=null,resolvedAt:_0x4546f3=null,resolvedBy:_0x411aad=null,target:_0x37136d=null,context:_0x1dc52e=null,attributes:_0x2f08e7={},isResolvable:_0x57be5e=!0x0,isSubmitted:_0x33a7ac=!0x1,isFromAdapter:_0x15b770=!0x1}={}){return this['fire'](_0x25c2bd('addCommentThread',_0x1a6125),{'channelId':_0x1a6125,'threadId':_0xdb5e2c,'comments':_0x4845dd,'unlinkedAt':_0x4924c4,'resolvedAt':_0x4546f3,'resolvedBy':_0x411aad,'target':_0x37136d,'context':_0x1dc52e,'attributes':_0x2f08e7,'isFromAdapter':_0x15b770,'isResolvable':_0x57be5e,'isSubmitted':_0x33a7ac}),this['getCommentThread'](_0xdb5e2c);}['openNewCommentThread']({channelId:_0x14cbc6=tl,threadId:_0x1fdf74=_0xa0ed63['uid'](),target:_0x4e2cce,context:_0x5b5c7d=null,isResolvable:_0x55dc44=!0x0}){if(this['_readOnlyChannels']['has'](_0x14cbc6)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x4e2cce)throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-target');const _0x4d5cf6=this['addCommentThread']({'channelId':_0x14cbc6,'threadId':_0x1fdf74,'target':_0x4e2cce,'context':_0x5b5c7d,'isResolvable':_0x55dc44});if(!_0x4d5cf6)return null;const _0x2bae2a=this['_threadToController']['get'](_0x4d5cf6),_0x37a6f5=_0x2bae2a['view']['commentThreadInputView']['commentInputView'],_0x5aaa72=this['context']['plugins']['get'](Annotations),_0x56253d=_0x5aaa72['getByInnerView'](_0x2bae2a['view']);return _0x5aaa72['activate'](_0x56253d),_0x37a6f5['once']('editorReady',()=>_0x37a6f5['focus']()),_0x4d5cf6;}['hasCommentThread'](_0x5cd391){if('string'!=typeof _0x5cd391)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x5cd391);}['updateCommentThread']({channelId:_0x4f041f=tl,threadId:_0x454542,context:_0x9aed47,unlinkedAt:_0x410f4b,attributes:_0x5be5b2,isFromAdapter:_0x45ce5b=!0x1}){return this['fire'](_0x25c2bd('updateCommentThread',_0x4f041f),{'channelId':_0x4f041f,'threadId':_0x454542,'context':_0x9aed47,'unlinkedAt':_0x410f4b,'attributes':_0x5be5b2,'isFromAdapter':_0x45ce5b}),this['getCommentThread'](_0x454542);}['getCommentThread'](_0x2411b5){if('string'!=typeof _0x2411b5)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x2411b5);}['fetchCommentThread']({channelId:_0x5e8b3f,threadId:_0x55b32f}={}){const _0x2d8dfd=this['getCommentThread'](_0x55b32f);if(_0x2d8dfd)return Promise['resolve'](_0x2d8dfd);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x5e8b3f,'threadId':_0x55b32f})['then'](_0x4e0aea=>this['hasCommentThread'](_0x55b32f)?this['getCommentThread'](_0x55b32f):_0x4e0aea?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x5e8b3f},_0x4e0aea)):void 0x0)['catch'](_0xa67441=>{throw console['error'](_0xa67441),new _0xa0ed63['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x334654,skipNotAttached:_0x2dec60=!0x1,skipEmpty:_0x2e4b33=!0x1,toJSON:_0x59f9ab=!0x1}={}){const _0x1b9932=[];for(const _0x43af2b of this['_threads']['values']())_0x334654&&_0x43af2b['channelId']!==_0x334654||_0x2dec60&&!_0x43af2b['isAttached']||_0x2e4b33&&0x0===_0x43af2b['length']||_0x1b9932['push'](_0x43af2b);return _0x59f9ab?_0x1b9932['map'](_0x450b3f=>_0x450b3f['toJSON']()):_0x1b9932;}['getAnnotationForCommentThread'](_0x461e64){const _0x2fe389=this['_threadToController']['get'](_0x461e64);if(!_0x2fe389)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x2fe389['view'])||null;}['getCommentThreadForAnnotation'](_0x10983d){const _0x1935ca=this['_viewToController']['get'](_0x10983d['innerView']);return _0x1935ca?_0x1935ca['model']:null;}['setActiveCommentThread'](_0x309327){const _0x1a3553=this['context']['plugins']['get'](Annotations);if(!_0x309327)return void(this['activeCommentThread']&&_0x1a3553['deactivateAll']());const _0x458a4f=this['getCommentThread'](_0x309327);if(!_0x458a4f)throw new _0xa0ed63['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x309327});if(!this['_threadToController']['has'](_0x458a4f))throw new _0xa0ed63['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x309327});const _0x13fc14=_0x1a3553['getByInnerView'](this['_threadToController']['get'](_0x458a4f)['view']);_0x1a3553['activate'](_0x13fc14);}['switchReadOnly'](_0x277612,_0xa2f262){_0x277612?this['_readOnlyChannels']['add'](_0xa2f262):this['_readOnlyChannels']['delete'](_0xa2f262),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x44edb5){return this['_readOnlyChannels']['has'](_0x44edb5)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x4352e8,_0x3f0a11){return new CommentThreadController(_0x4352e8,_0x3f0a11);}['setPermissions'](_0x189062,_0x5a089a=tl){this['_permissions']['set'](_0x5a089a,_0x189062),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x37823b=tl){return this['_permissions']['has'](_0x37823b)?this['_permissions']['get'](_0x37823b):_0x3453c6;}['_addCommentThread']({channelId:_0x12ebc6,threadId:_0x2412b7,comments:_0x18e690,unlinkedAt:_0x3d7215,resolvedAt:_0x477c4a,resolvedBy:_0x2f1af7,target:_0x17ff40,context:_0x3d8bed,attributes:_0x3e3418,isFromAdapter:_0xba285e,isResolvable:_0x18e9c3,isSubmitted:_0x3cc009}){if('string'!=typeof _0x2412b7)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x2412b7});if(this['hasCommentThread'](_0x2412b7))throw new _0xa0ed63['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x2412b7});const _0x60aab=new CommentThread(this,{'channelId':_0x12ebc6,'id':_0x2412b7,'context':_0x3d8bed,'attributes':_0x3e3418,'unlinkedAt':_0x3d7215,'resolvedAt':_0x477c4a,'resolvedBy':_0x2f1af7?this['context']['plugins']['get'](_0x16ef47)['getUser'](_0x2f1af7):null,'isResolvable':_0x18e9c3,'isSubmitted':_0x3cc009||_0xba285e});this['_threads']['set'](_0x2412b7,_0x60aab);for(const _0x853295 of _0x18e690)_0x60aab['_add'](this['_createNewComment']({'threadId':_0x2412b7,..._0x853295}));return _0x17ff40&&_0x60aab['attachTo'](_0x17ff40),_0xba285e||!_0x60aab['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x12ebc6,'threadId':_0x2412b7});}['_submitCommentThread']({channelId:_0x493f13,threadId:_0x4c1138}){if(!this['hasCommentThread'](_0x4c1138))throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0xcd723=this['getCommentThread'](_0x4c1138);if(_0xcd723['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x5a218d,comments:_0x45ef15,resolvedAt:_0x278a2a,resolvedBy:_0x5bf3d7,context:_0x14a06a,attributes:_0x57efd4}=_0xcd723,_0x2ec8ba=this['context']['plugins']['get']('PendingActions'),_0xe51658=_0x2ec8ba['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x493f13,'threadId':_0x5a218d,'comments':_0x45ef15['map'](_0x346928=>_0x346928['toJSON']()),'resolvedAt':_0x278a2a,'resolvedBy':_0x5bf3d7?_0x5bf3d7['id']:_0x5bf3d7,'context':_0x14a06a,'attributes':_0x57efd4})['then'](({comments:_0x1ec647})=>{_0x2ec8ba['remove'](_0xe51658);for(const _0x3da41c of _0x1ec647)this['_updateComment']({'channelId':_0x493f13,'threadId':_0x4c1138,'commentId':_0x3da41c['commentId'],'createdAt':_0x3da41c['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1db630=>{throw console['error'](_0x1db630),new _0xa0ed63['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2432b7,target:_0x21b263}){const _0x5a08d6=this['getCommentThread'](_0x2432b7);if(!_0x5a08d6)throw new _0xa0ed63['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x474ee6=this['context']['plugins']['get']('PendingActions'),_0x36dabf=this['context']['plugins']['get'](Annotations),_0x1a5c3e=this['_createCommentThreadView'](_0x5a08d6),_0xc060c2=new CommentThreadController(_0x5a08d6,_0x1a5c3e);let _0x3bde59=null;_0x1a5c3e['on']('change:isDirty',(_0x2f20c1,_0x12a2c6,_0x165249)=>{_0x165249?_0x3bde59=_0x474ee6['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x3bde59&&(_0x474ee6['remove'](_0x3bde59),_0x3bde59=null);}),this['_threadToController']['set'](_0x5a08d6,_0xc060c2),this['_viewToController']['set'](_0x1a5c3e,_0xc060c2);const _0x129c7c=new AnnotationView(this['context']['locale'],_0x1a5c3e);_0x129c7c['bind']('length')['to'](_0x1a5c3e),_0x129c7c['bind']('isDirty')['to'](_0x1a5c3e,'isDirty',_0x1a5c3e,'length',(_0x323a49,_0x30b7e5)=>_0x323a49||!_0x30b7e5),_0x129c7c['bind']('isActive')['to'](_0x1a5c3e),_0x129c7c['type']='comment';const _0x4210ee=new _0x416d6d({'view':_0x129c7c,'target':_0x21b263,'type':'comment','isVisible':!_0x5a08d6['archivedAt']&&!!('function'==typeof _0x21b263?_0x21b263():_0x21b263)});return _0x1a5c3e['on']('escape',()=>{_0x4210ee['fire']('escape');}),this['_bindAnnotationToEditors'](_0x1a5c3e,_0x4210ee),_0x36dabf['add'](_0x4210ee),_0x4210ee;}['_bindAnnotationToEditors'](_0xeebbd0,_0x278251){this['listenTo'](_0xeebbd0,'editorReady',(_0x501d1e,_0xec6500)=>{const _0x4cfab7=_0xec6500['ui']['view']['body']['bodyCollectionContainer'];_0x278251['focusableElements']['add'](_0x4cfab7),this['context']instanceof _0xa0ed63['Editor']&&this['context']['ui']['focusTracker']['add'](_0x4cfab7);},{'priority':'highest'}),this['listenTo'](_0xeebbd0,'editorDestroyed',(_0x31a332,_0x5c9081)=>{const _0x194e02=_0x5c9081['ui']['view']['body']['bodyCollectionContainer'];_0x278251['focusableElements']['has'](_0x194e02)&&_0x278251['focusableElements']['remove'](_0x194e02),this['context']instanceof _0xa0ed63['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x194e02);});}['_unbindEditors'](_0x457885){this['stopListening'](_0x457885,'editorReady'),this['stopListening'](_0x457885,'editorDestroyed');}['_createCommentThreadView'](_0x2b99af){const _0x1608c9=this['context']['plugins']['get'](_0x16ef47),{config:_0x34e6b6,locale:_0x99c1de}=this['context'],_0x578033=_0x17c219(_0x34e6b6['get']('locale'),_0x99c1de);return new(0x0,(_0x34e6b6['get']('comments'))['CommentThreadView'])(_0x99c1de,_0x2b99af,_0x1608c9['me'],{'editorConfig':{..._0x34e6b6['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x34e6b6['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x34e6b6['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x34e6b6['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x34e6b6['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x578033,'CommentView':_0x34e6b6['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x405f60,channelId:_0x9adb10,resolvedAt:_0xaf367,resolvedBy:_0x1441a4,isFromAdapter:_0x3dafff}){if(!this['hasCommentThread'](_0x405f60))throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x405f60});const _0x5e979d=this['getCommentThread'](_0x405f60);if(_0x5e979d['isResolved'])throw new _0xa0ed63['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x405f60});const _0x4426d0=this['context']['plugins']['get'](_0x16ef47);if(_0x5e979d['resolvedBy']=_0x4426d0['getUser'](_0x1441a4),_0x5e979d['resolvedAt']=_0xaf367,_0x3dafff||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0xcc7282=this['context']['plugins']['get']('PendingActions'),_0x130f96=_0xcc7282['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x9adb10,'threadId':_0x405f60})['then'](({resolvedAt:_0x1ddd45,resolvedBy:_0x5e3596})=>{_0xcc7282['remove'](_0x130f96),_0x5e979d['resolvedBy']['id']!==_0x5e3596&&(_0x5e979d['resolvedBy']=_0x4426d0['getUser'](_0x5e3596)),_0x5e979d['resolvedAt']=_0x1ddd45;})['catch'](_0x5158d1=>{throw console['error'](_0x5158d1),new _0xa0ed63['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0xa97cae,channelId:_0x18638a,isFromAdapter:_0x33bc77}){if(!this['hasCommentThread'](_0xa97cae))throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0xa97cae});const _0x54022d=this['getCommentThread'](_0xa97cae);if(!_0x54022d['isResolved'])throw new _0xa0ed63['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0xa97cae});if(_0x54022d['resolvedBy']=null,_0x54022d['resolvedAt']=null,_0x33bc77||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x314db6=this['context']['plugins']['get']('PendingActions'),_0x283cde=_0x314db6['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x18638a,'threadId':_0xa97cae})['then'](()=>_0x314db6['remove'](_0x283cde))['catch'](_0x8cd369=>{throw console['error'](_0x8cd369),new _0xa0ed63['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x40b5a6,isFromAdapter:_0x1f8370}){const _0x5ce4bf=this['getCommentThread'](_0x40b5a6);if(!_0x5ce4bf)throw new _0xa0ed63['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x40b5a6),this['_threads']['delete'](_0x40b5a6),!_0x5ce4bf['isSubmitted']||_0x1f8370||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x4b31f9=this['context']['plugins']['get']('PendingActions'),{channelId:_0x411b38}=_0x5ce4bf,_0x4ccf27=_0x4b31f9['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x411b38,'threadId':_0x40b5a6})['then'](()=>_0x4b31f9['remove'](_0x4ccf27))['catch'](_0x23f615=>{throw console['error'](_0x23f615),new _0xa0ed63['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x16dda0,unlinkedAt:_0x5bb8ce,context:_0x1324df,attributes:_0x44473f,isFromAdapter:_0x39fb91}){if('string'!=typeof _0x16dda0)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x16dda0});if(!this['hasCommentThread'](_0x16dda0))throw new _0xa0ed63['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x16dda0});const _0x1a0124=this['getCommentThread'](_0x16dda0);let _0x4f6f7e=!0x1;if(void 0x0!==_0x1324df&&_0x1a0124['context']!==_0x1324df&&(_0x1a0124['context']=_0x1324df,_0x4f6f7e=!0x0),void 0x0!==_0x5bb8ce&&_0x1a0124['unlinkedAt']!==_0x5bb8ce&&(_0x1a0124['unlinkedAt']=_0x5bb8ce,_0x4f6f7e=!0x0),_0x44473f&&!dt(_0x44473f,_0x1a0124['attributes'])&&(_0x1a0124['attributes']=_0x44473f,_0x4f6f7e=!0x0),!_0x4f6f7e)return Promise['resolve']();if(!_0x1a0124['isSubmitted']||_0x39fb91||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x18ea8c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1bff64}=_0x1a0124,_0x1b18a3=_0x18ea8c['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x1bff64,'threadId':_0x16dda0,'context':_0x1324df,'unlinkedAt':_0x5bb8ce,'attributes':_0x44473f})['then'](()=>_0x18ea8c['remove'](_0x1b18a3))['catch'](_0x55beea=>{throw console['error'](_0x55beea),new _0xa0ed63['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x21d2bd){const _0x1a4522=this['context']['plugins']['get'](Annotations),_0x4843ca=this['getCommentThread'](_0x21d2bd);if(_0x4843ca['_isAttached']=!0x1,this['_threadToController']['has'](_0x4843ca)){const _0x5bb317=this['_threadToController']['get'](_0x4843ca),_0x219d91=_0x5bb317['view'],_0x21b6ad=_0x1a4522['getByInnerView'](_0x219d91);this['_threadToController']['delete'](_0x4843ca),this['_viewToController']['delete'](_0x219d91),_0x21b6ad&&_0x1a4522['remove'](_0x21b6ad),_0x5bb317['destroy'](),_0x219d91['destroy']()['then'](()=>{this['_unbindEditors'](_0x219d91);});}}['_updateActiveAnnotation']({threadId:_0x1be2c0,resolvedAt:_0x4cfec9,unlinkedAt:_0x403ceb}){const _0x1fe53e=!!_0x4cfec9,_0x124cfb=this['context']['plugins']['get'](Annotations),_0x546725=this['getCommentThread'](_0x1be2c0);if(this['_threadToController']['has'](_0x546725)){const _0x5a6f0c=this['_threadToController']['get'](_0x546725)['view'],_0x13d3b7=_0x124cfb['getByInnerView'](_0x5a6f0c);_0x13d3b7&&(_0x1fe53e&&_0x124cfb['_removeActiveAnnotation'](_0x13d3b7),_0x403ceb?_0x13d3b7['isVisible']=!0x1:_0x13d3b7['refreshVisibility']());}}['_getExternalAuthor'](_0x2a27db){const _0x188860=this['context']['plugins']['get'](_0x16ef47),_0x3d7d01=_0x4854f3('external:'+_0x2a27db),_0xc0bfe8=_0x188860['getUser'](_0x3d7d01);return _0xc0bfe8||_0x188860['addUser']({'id':_0x3d7d01,'name':_0x2a27db});}['_createNewComment']({threadId:_0xadf20c,commentId:_0x15dcdd=_0xa0ed63['uid'](),content:_0x5c8588,authorId:_0x34fd10,createdAt:_0x27521f,attributes:_0x466a33}){if('string'!=typeof _0x15dcdd)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x34fd10)throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x5c8588||!_0x5c8588['trim']())throw new _0xa0ed63['CKEditorError']('commentsrepository-invalid-comment-content');const _0x596bf6=this['context']['plugins']['get'](_0x16ef47)['getUser'](_0x34fd10);if(!_0x596bf6)throw new _0xa0ed63['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x34fd10});let _0x157388=null,_0x1eb1c4=_0x27521f;return _0x466a33?.['@external']&&(_0x157388=this['_getExternalAuthor'](_0x466a33['@external']['authorName']),_0x1eb1c4=new Date(_0x466a33['@external']['createdAt'])),new Comment(this,{'threadId':_0xadf20c,'id':_0x15dcdd,'author':_0x157388||_0x596bf6,'creator':_0x596bf6,'content':_0x5c8588,'createdAt':_0x27521f,'authoredAt':_0x1eb1c4,'attributes':_0x466a33});}['_addComment'](_0x267faa){let {threadId:_0x15b4aa,content:_0x1222b1,attributes:_0x235ef5,isFromAdapter:_0x43043b}=_0x267faa;const _0x208e7f=this['getCommentThread'](_0x267faa['threadId']);if(!_0x208e7f)throw new _0xa0ed63['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x3cb217=this['_createNewComment'](_0x267faa),{id:_0x17b487}=_0x3cb217;if(_0x208e7f['_add'](_0x3cb217),_0x43043b||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x208e7f['isSubmitted'])return Promise['resolve']();const _0x7f50c1=this['context']['plugins']['get']('PendingActions'),{channelId:_0x54ed61}=_0x208e7f,_0x1024c6=_0x7f50c1['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x235ef5||(_0x235ef5={}),this['adapter']['addComment']({'channelId':_0x54ed61,'threadId':_0x15b4aa,'commentId':_0x17b487,'content':_0x1222b1,'attributes':_0x235ef5})['then'](_0x2e6c2a=>{_0x7f50c1['remove'](_0x1024c6),_0x2e6c2a&&this['_updateComment']({'channelId':_0x54ed61,'threadId':_0x15b4aa,'commentId':_0x17b487,'createdAt':_0x2e6c2a['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x531568=>{throw console['error'](_0x531568),new _0xa0ed63['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0xd85c6c,commentId:_0x5b8a03,content:_0x45f659,createdAt:_0x20a730,attributes:_0x2dd074,isFromAdapter:_0x5dbb1a}){if(void 0x0!==_0x45f659&&('string'!=typeof _0x45f659||!_0x45f659['trim']()['length']))throw new _0xa0ed63['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x186c54=this['getCommentThread'](_0xd85c6c),_0x5c2e05=_0x186c54['getComment'](_0x5b8a03);if(!_0x5c2e05)throw new _0xa0ed63['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x329721=!0x1;if(_0x45f659&&_0x45f659!==_0x5c2e05['content']&&(_0x5c2e05['isEditable']||_0x5dbb1a)&&(_0x5c2e05['content']=_0x45f659,_0x329721=!0x0),_0x20a730&&_0x20a730!==_0x5c2e05['createdAt']&&(_0x5c2e05['createdAt']=_0x20a730,_0x5c2e05['attributes']&&_0x5c2e05['attributes']['@external']||(_0x5c2e05['authoredAt']=_0x20a730),_0x329721=!0x0),_0x2dd074&&!dt(_0x2dd074,_0x5c2e05['attributes'])&&(_0x5c2e05['attributes']=_0x2dd074,_0x329721=!0x0),!_0x329721)return Promise['resolve']();if(_0x186c54['fire']('commentUpdated'),_0x5dbb1a||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x2e1df7=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4efbbd}=this['getCommentThread'](_0x5c2e05['threadId']),_0x33e147=_0x2e1df7['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x4efbbd,'threadId':_0xd85c6c,'commentId':_0x5b8a03,'content':_0x45f659,'attributes':_0x2dd074})['then'](()=>_0x2e1df7['remove'](_0x33e147))['catch'](_0x19b3ee=>{throw console['error'](_0x19b3ee),new _0xa0ed63['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x406b97,commentId:_0x5d82ad,isFromAdapter:_0x194a18}){const _0x3d7512=this['getCommentThread'](_0x406b97),_0x59cbe9=_0x3d7512['getComment'](_0x5d82ad);if(!_0x59cbe9)throw new _0xa0ed63['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x3d7512['_remove'](_0x59cbe9),_0x194a18||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x35f94c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x135aca}=_0x3d7512,_0x3f0040=_0x35f94c['add'](_0x46eb6d(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x135aca,'threadId':_0x406b97,'commentId':_0x5d82ad})['then'](()=>_0x35f94c['remove'](_0x3f0040))['catch'](_0x23eaa0=>{throw console['error'](_0x23eaa0),new _0xa0ed63['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x5e62ac,_0xbd1af8){super();const _0x8cd411=_0xbd1af8['isResolvable'];this['channelId']=_0xbd1af8['channelId'],this['id']=_0xbd1af8['id'],this['comments']=new _0xa0ed63['Collection'](),this['_repository']=_0x5e62ac,this['_isAttached']=!0x1,this['_isSubmitted']=_0xbd1af8['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x5e62ac,'_permissions',_0x5e62ac,'_readOnlyChannels',()=>_0x5e62ac['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x5e62ac,'_permissions',()=>_0x5e62ac['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x5e62ac,'_permissions',()=>{const _0x8a760b=_0x5e62ac['getPermissions'](this['channelId']);return _0x8a760b['write']||_0x8a760b['admin'];}),this['bind']('isResolvable')['to'](_0x5e62ac,'_permissions',()=>_0x8cd411&&_0x5e62ac['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0xbd1af8['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x3f54fb,_0x126652)=>_0x3f54fb?_0x126652?_0x3f54fb<_0x126652?_0x3f54fb:_0x126652:_0x3f54fb:_0x126652),this['set']('unlinkedAt',_0xbd1af8['unlinkedAt']||null),this['set']('resolvedAt',_0xbd1af8['resolvedAt']||null),this['set']('resolvedBy',_0xbd1af8['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x2ea3ce=>!!_0x2ea3ce),this['set']('attributes',_0xbd1af8['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x473ea2,_0x208713)=>_0x473ea2+_0x208713['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x4c66b4,id:_0x20173c}=this;this['_repository']['fire'](_0x25c2bd('submitCommentThread',_0x4c66b4),{'channelId':_0x4c66b4,'threadId':_0x20173c});}['setUnlinkedAt'](_0x317e02){this['_update']({'unlinkedAt':_0x317e02});}['resolve']({resolvedAt:_0xa36b9a=new Date(),resolvedBy:_0x1d5b00='',isFromAdapter:_0xe26608=!0x1}={}){const _0x6f85cc=this['_repository']['context']['plugins']['get'](_0x16ef47)['me'],{channelId:_0x78a097,id:_0x5732f5}=this;this['_repository']['fire'](_0x25c2bd('resolveCommentThread',_0x78a097),{'channelId':_0x78a097,'threadId':_0x5732f5,'resolvedAt':_0xa36b9a,'resolvedBy':_0x1d5b00||_0x6f85cc['id'],'isFromAdapter':_0xe26608});}['reopen']({isFromAdapter:_0x2c2587=!0x1}={}){const {channelId:_0x3dfdc9,id:_0x4ce127}=this;this['_repository']['fire'](_0x25c2bd('reopenCommentThread',_0x3dfdc9),{'channelId':_0x3dfdc9,'threadId':_0x4ce127,'isFromAdapter':_0x2c2587});}['setContext'](_0x463c0e){this['context']||this['_update']({'context':_0x463c0e});}['setAttribute'](_0x497ba6,_0x3181f2){const _0x30d467=_0xdd0984(this['attributes']);st(_0x30d467,_0x497ba6,_0x3181f2),this['_update']({'attributes':_0x30d467});}['removeAttribute'](_0x2c430c){const _0x479fe8=_0xdd0984(this['attributes']);tt(_0x479fe8,_0x2c430c),this['_update']({'attributes':_0x479fe8});}['remove']({isFromAdapter:_0x19a834=!0x1}={}){const {channelId:_0x3870d0,id:_0x188970}=this;this['_repository']['fire'](_0x25c2bd('removeCommentThread',_0x3870d0),{'channelId':_0x3870d0,'threadId':_0x188970,'isFromAdapter':_0x19a834});}['attachTo'](_0x25465b){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x25465b});}['addComment'](_0x2eb876){const {channelId:_0x337bce,id:_0x22f119}=this;this['_repository']['fire'](_0x25c2bd('addComment',_0x337bce,_0x22f119),Object['assign']({'channelId':_0x337bce,'threadId':_0x22f119},_0x2eb876));}['getComment'](_0x4bf283){if('string'!=typeof _0x4bf283)throw new _0xa0ed63['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x4bf283});return this['comments']['get'](_0x4bf283);}['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'](_0x342df5=>_0x342df5['toJSON']()),'attributes':this['attributes']};}['_add'](_0x45670d){return this['listenTo'](_0x45670d,'change:authoredAt',()=>{const _0x162be2=this['_findOptimalIndex'](_0x45670d),_0x1297f8=this['comments'];_0x162be2-0x1!=_0x1297f8['getIndex'](_0x45670d)&&_0x162be2+0x1!=_0x1297f8['getIndex'](_0x45670d)&&(this['_remove'](_0x45670d),this['_add'](_0x45670d));}),this['comments']['add'](_0x45670d,this['_findOptimalIndex'](_0x45670d));}['_update'](_0x3d5921){const {channelId:_0x27f6ce,id:_0x21ae9c}=this;this['_repository']['fire'](_0x25c2bd('updateCommentThread',_0x27f6ce),{..._0x3d5921,'channelId':_0x27f6ce,'threadId':_0x21ae9c});}['_remove'](_0x1e8eb7){return this['stopListening'](_0x1e8eb7),_0x1e8eb7['destroy'](),this['comments']['remove'](_0x1e8eb7);}['_findOptimalIndex'](_0x92a590){const _0x20c3f6=this['comments']['find'](_0x2566e3=>new Date(_0x2566e3['authoredAt'])['getTime']()>new Date(_0x92a590['authoredAt'])['getTime']());return _0x20c3f6?this['comments']['getIndex'](_0x20c3f6):this['length'];}}class Comment extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x144596,_0x61501b){super();const _0x1cdf71=_0x144596['context']['plugins']['get'](_0x16ef47)['me'],_0x53e200=_0x144596['getCommentThread'](_0x61501b['threadId']),_0x597956=0x0===_0x53e200['comments']['length'],_0xe8dbb9=_0x1cdf71===_0x61501b['author'];this['id']=_0x61501b['id'],this['threadId']=_0x61501b['threadId'],this['author']=_0x61501b['author'],this['creator']=_0x61501b['creator'],this['isExternal']=Boolean(_0x61501b['attributes']&&_0x61501b['attributes']['@external']),this['set']('content',_0x61501b['content']),this['createdAt']=_0x61501b['createdAt']||new Date(),this['set']('authoredAt',_0x61501b['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x53e200,'resolvedAt'),this['set']('attributes',_0x61501b['attributes']||{}),this['bind']('isEditable')['to'](_0x144596,'_permissions',()=>{const _0xd4d94f=_0x144596['getPermissions'](_0x53e200['channelId'])['write'],_0x276cf5=_0x144596['getPermissions'](_0x53e200['channelId'])['modifyAll'];return _0xe8dbb9&&_0xd4d94f||!_0xe8dbb9&&_0x276cf5;}),this['bind']('isRemovable')['to'](_0x53e200,'isRemovable',_0x144596,'_permissions',_0x89e94=>{const _0x2b000a=_0x144596['getPermissions'](_0x53e200['channelId'])['write'],_0x3f3b4a=_0x144596['getPermissions'](_0x53e200['channelId'])['modifyAll'];return _0xe8dbb9&&_0x2b000a||_0x89e94&&_0x597956||!_0xe8dbb9&&_0x3f3b4a&&!_0x597956;}),this['bind']('isReadOnly')['to'](_0x53e200,'isReadOnly'),this['_repository']=_0x144596;}get['weight'](){return Math['max'](function(_0xcee4d4){const _0x3f7ab6=document['createElement']('div');return _0x3f7ab6['innerHTML']=_0xcee4d4,_0x3f7ab6['textContent']['length'];}(this['content']),0xc8);}['update'](_0x1cbc37){const {threadId:_0x5ef98c,id:_0x17d7ef}=this;if(!this['_repository']['hasCommentThread'](_0x5ef98c))throw new _0xa0ed63['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x399233}=this['_repository']['getCommentThread'](_0x5ef98c);this['_repository']['fire'](_0x25c2bd('updateComment',_0x399233,_0x5ef98c),{'channelId':_0x399233,'threadId':_0x5ef98c,'commentId':_0x17d7ef,..._0x1cbc37});}['setAttribute'](_0x4570ea,_0x29696c){const _0xfd1b99=_0xdd0984(this['attributes']);st(_0xfd1b99,_0x4570ea,_0x29696c),this['update']({'attributes':_0xfd1b99});}['removeAttribute'](_0x690ad8){const _0x187141=_0xdd0984(this['attributes']);tt(_0x187141,_0x690ad8),this['update']({'attributes':_0x187141});}['remove'](_0x3f84f1={}){if(!_0x3f84f1['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x104978,id:_0x145e35}=this;if(!this['_repository']['hasCommentThread'](_0x104978))throw new _0xa0ed63['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x1ad060}=this['_repository']['getCommentThread'](_0x104978);this['_repository']['fire'](_0x25c2bd('removeComment',_0x1ad060,_0x104978),{'channelId':_0x1ad060,'threadId':_0x104978,'commentId':_0x145e35,..._0x3f84f1});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function _0x25c2bd(_0x1f5aac,..._0x1bb46d){for(const _0x1c8de3 of _0x1bb46d)void 0x0!==_0x1c8de3&&(_0x1f5aac+=':'+String(_0x1c8de3));return _0x1f5aac;}class AddCommentThreadCommand extends _0xa0ed63['Command']{constructor(_0x1b4942){super(_0x1b4942),this['set']('hasContent',!0x1);}['refresh'](){const _0x16e73a=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x29c6fe of _0x16e73a['getRanges']())if(this['_hasContent'](_0x29c6fe))return void(this['hasContent']=!0x0);}['execute']({threadId:_0xaf2085=_0xa0ed63['uid'](),ranges:_0x34ad89,comment:_0x55f73a}={}){const _0x3569b5=this['editor']['model'],_0x493cf9=_0x34ad89??Array['from'](_0x3569b5['document']['selection']['getRanges']()),_0x509a31=[];for(const _0xf54dcf of _0x493cf9)this['_hasContent'](_0xf54dcf)&&_0x509a31['push'](this['_trimToContent'](_0xf54dcf));if(!_0x509a31['length'])throw new _0xa0ed63['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x55f73a&&this['_createCommentThread'](_0xaf2085,_0x55f73a),this['_createMarkersFromRanges'](_0xaf2085,_0x509a31,!!_0x55f73a);}['_createMarkersFromRanges'](_0x2e9842,_0x422fca,_0x479958){this['editor']['model']['change'](_0x2be3e6=>{for(const _0x2aef30 of _0x422fca){const _0x2e82f7=_0xa0ed63['uid']()['substr'](0x1,0x5),_0x1854d1='comment:'+_0x2e9842+':'+_0x2e82f7;_0x2be3e6['addMarker'](_0x1854d1,{'range':_0x2aef30,'usingOperation':_0x479958,'affectsData':_0x479958});}});}['_createCommentThread'](_0x51d41b,_0x2a08a4){const _0x1f588d=this['editor']['plugins']['get']('CommentsRepository'),_0x2478fc=this['editor']['config']['get']('collaboration.channelId'),_0x3203cd=this['editor']['plugins']['get']('Users')['me'];if(!_0x3203cd)throw new _0xa0ed63['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x1f588d['addCommentThread']({'threadId':_0x51d41b,'channelId':_0x2478fc,'comments':[{'authorId':_0x3203cd['id'],'content':_0x2a08a4,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x1e819a){for(const _0x1726f1 of _0x1e819a['getItems']())if(this['_itemIsContent'](_0x1726f1))return!0x0;return!0x1;}['_itemIsContent'](_0x1bd8e4){return _0x1bd8e4['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x1bd8e4)&&!_0x1bd8e4['is']('element','tableCell');}['_trimToContent'](_0x12f730){const _0x1614f6=_0x22c9ed=>!this['_itemIsContent'](_0x22c9ed['item']),_0x5d200f=_0x12f730['start']['getLastMatchingPosition'](_0x1614f6),_0x2bca31=_0x12f730['end']['getLastMatchingPosition'](_0x1614f6,{'direction':'backward'});return this['editor']['model']['createRange'](_0x5d200f,_0x2bca31);}}class EditorAnnotations extends _0xa0ed63['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x71e4d4){super(_0x71e4d4),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x1e516d=this['editor'],_0x39aa27=_0x1e516d['model']['document']['selection'],_0x3ef495=rt(()=>this['refreshSelectedViews'](),0xa);_0x39aa27['on']('change:range',(_0x5f43e6,_0x3184fb)=>{_0x3184fb['directChange']&&(_0x3ef495['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x1e516d['editing']['view']['document'],'change:isFocused',(_0x30a344,_0x1dd263,_0x2e87c0)=>{_0x2e87c0&&_0x3ef495();}),this['listenTo'](_0x1e516d['ui']['focusTracker'],'change:isFocused',(_0x30714f,_0xeba530,_0x102ee2)=>{_0x102ee2||this['fire']('blur',{'isAnnotationTracked':_0x228fca=>this['_editorAnnotationsData']['has'](_0x228fca['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x28cdfa){if(this['_editorAnnotations']['has'](_0x28cdfa['view']))return;this['_editorAnnotations']['add'](_0x28cdfa['view']),this['editor']['ui']['focusTracker']['add'](_0x28cdfa['view']['element']);const _0x36c417=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x36c417['collection'],'remove',(_0xe2a174,_0x4d46f8)=>{this['editor']['ui']['focusTracker']['remove'](_0x4d46f8['view']['element']),this['_editorAnnotations']['delete'](_0x4d46f8['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x3f0068){if('function'!=typeof _0x3f0068)throw new _0xa0ed63['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x3f0068);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x55c37c,annotations:_0x337ab2}){const _0x4969ee=[],_0x1f6e79=this['editor']['model']['document']['selection'],_0x12b1a2=Array['from'](_0x1f6e79['getRanges']());for(const [_0x362faf,_0x5e43aa]of this['_editorAnnotationsData']){const _0x4516ef=_0x2fd5dc(_0x5e43aa),_0x56be91=_0x337ab2['getByInnerView'](_0x362faf);_0x4516ef&&_0x56be91&&_0x4969ee['push']({'annotation':_0x56be91,'range':_0x4516ef});}function _0x2fd5dc(_0x9858e){for(const _0x472f09 of _0x9858e)for(const _0x3f8562 of _0x12b1a2)if(_0x472f09['containsRange'](_0x3f8562,!_0x1f6e79['isCollapsed']))return _0x472f09;return null;}return _0x4969ee['sort']((_0x139cf9,_0x4c53b6)=>{const _0x2a8488=_0x139cf9['range'],_0x3910bb=_0x4c53b6['range'];if(!_0x2a8488['isEqual'](_0x3910bb)){if(_0x2a8488['containsRange'](_0x3910bb,!0x0))return 0x1;if(_0x3910bb['containsRange'](_0x2a8488,!0x0))return-0x1;}return _0x139cf9['annotation']==_0x55c37c?-0x1:_0x4c53b6['annotation']==_0x55c37c?0x1:0x0;})['map'](_0x3830bd=>_0x3830bd['annotation']);}get['_editorAnnotationsData'](){const _0x50df9c=new Map();for(const _0x1b5678 of Array['from'](this['_dataCollectors']))for(const [_0x23eabe,_0x15a3e2]of _0x1b5678())_0x50df9c['set'](_0x23eabe,_0x15a3e2);return _0x50df9c;}}class CommentsRestrictedEditingMode extends _0xa0ed63['Plugin']{['afterInit'](){const _0x28ea5f=this['editor'];if(!_0x28ea5f['plugins']['has']('RestrictedEditingModeEditing'))return;_0x28ea5f['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0xa0ed63['Plugin']{constructor(_0x15390f){super(_0x15390f),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x8c3507=this['editor'],_0x382f55=_0x8c3507['commands']['get']('importWord'),_0x591892=_0x8c3507['plugins']['get'](_0x16ef47);_0x382f55&&(_0x382f55['on']('execute',(_0x5347f2,[,_0xdb0331])=>{_0xdb0331['collaboration_features']={'comments':!0x0,'user_id':_0x591892['me']['id']};},{'priority':_0xa0ed63['priorities']['high']+0xa}),this['listenTo'](_0x382f55,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x153f13,_0x198fe1){const {comment_threads:_0x572322}=_0x198fe1;_0x572322&&_0x572322['forEach'](({thread_id:_0x47c9e3,comments:_0x35de20,is_resolved:_0xd31a60})=>{const _0x31ffe0=new Date(),_0x4074c9=_0x35de20['map'](({author:_0x140e88,content:_0xcd1953,created_at:_0x39c213})=>({'content':_0xcd1953,'authorId':this['editor']['plugins']['get'](_0x16ef47)['me']['id'],'createdAt':_0x31ffe0,'attributes':{'@external':{'authorName':_0x140e88,'createdAt':_0x39c213?new Date(_0x39c213):new Date(),'source':'importWord'}}})),_0x1148fb=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x1148fb,'threadId':_0x47c9e3,'comments':_0x4074c9,'resolvedAt':_0xd31a60?_0x31ffe0:null});});}}class CommentsClipboard extends _0xa0ed63['Plugin']{constructor(_0x3f5fe2){super(_0x3f5fe2),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0xa0ed63['ClipboardMarkersUtils'],_0xa0ed63['ClipboardPipeline']];}['afterInit'](){const _0x343b7b=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x343b7b,'contentInsertion',(_0x3fd390,_0x1c2500)=>this['_removeMarkersWithoutThreads'](_0x1c2500['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x1b7be0){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x1b7be0;const _0x1ed835=this['editor']['plugins']['get']('CommentsRepository');for(const _0x7e0f67 of _0x1b7be0['keys']()){const [_0x4a0d82,_0x5e5a58]=_0x7e0f67['split'](':');'comment'!=_0x4a0d82||_0x1ed835['hasCommentThread'](_0x5e5a58)||_0x1b7be0['delete'](_0x7e0f67);}return _0x1b7be0;}['_registerMarkerInClipboardPipeline'](){const _0x86d66d=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x511d8c=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x511d8c&&_0x86d66d['_registerMarkerToCopy']('comment',_0x511d8c);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0xbfc6a3){switch(_0xbfc6a3){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function _0x157d0f(_0x1afdb9){const _0x5e6f88=_0x1afdb9['split'](':');return{'group':_0x5e6f88[0x0],'id':_0x5e6f88[0x1],'part':_0x5e6f88[0x2]};}class ShowCommentHighlights extends _0xa0ed63['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x32ec85,_0x410302)=>{if(!_0x410302['options']['showCommentHighlights'])return null;if(_0x410302['options']['ignoreResolvedComments']){const {id:_0x552965}=_0x157d0f(_0x32ec85['markerName']),_0x6ddae7=this['editor']['plugins']['get'](CommentsRepository);if(_0x6ddae7['getCommentThread'](_0x552965)?.['isResolved']&&_0x32ec85['item'])return _0x410302['consumable']['consume'](_0x32ec85['item'],'addMarker:'+_0x32ec85['markerName']),_0x410302['consumable']['consume'](_0x32ec85['item'],'removeMarker:'+_0x32ec85['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fb27a=>{_0x2fb27a['on']('addMarker:comment',(_0x2f5789,_0x121864,_0x239d26)=>{if(!_0x239d26['options']['showCommentHighlights'])return;const _0x275177=_0x121864['item'];if(!_0x275177)return;const _0x16918b=_0x239d26['mapper']['toViewElement'](_0x275177);this['editor']['model']['schema']['isObject'](_0x275177)&&_0x16918b&&!_0x16918b['getCustomProperty']('widget')&&_0x16918b['is']('containerElement')&&_0xa0ed63['toWidget'](_0x16918b,_0x239d26['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x544a0c,{writer:_0x4bfc8d,options:_0x56bdf1})=>{if(!_0x56bdf1['showCommentHighlights'])return null;const _0x5cb4aa=_0x4bfc8d['createContainerElement']('div'),_0x21e6d4=_0x4bfc8d['createEmptyElement']('hr');return _0x4bfc8d['addClass']('ck-horizontal-line',_0x5cb4aa),_0x4bfc8d['insert'](_0x4bfc8d['createPositionAt'](_0x5cb4aa,0x0),_0x21e6d4),_0x5cb4aa;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x3469dc,{writer:_0x28f897,options:_0x559eae})=>{if(!_0x559eae['showCommentHighlights'])return null;const _0x2a4b93=_0x28f897['createContainerElement']('span'),_0x4b3775=_0x28f897['createEmptyElement']('img');return _0x28f897['addClass']('image-inline',_0x2a4b93),_0x28f897['insert'](_0x28f897['createPositionAt'](_0x2a4b93,0x0),_0x4b3775),_0x2a4b93;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x38f89e,{writer:_0x14731b,options:_0x424bdc})=>{if(_0x424bdc['showCommentHighlights'])return _0x14731b['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5ebfb3,_0x37e77e,_0x342983)=>{_0x342983['options']['showCommentHighlights']&&_0x5ebfb3['stop']();},{'priority':'high'});}}class CommentsEditing extends _0xa0ed63['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x16ef47,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x9cfc2c){super(_0x9cfc2c),this['set']('isThreadsLoadingPaused',!0x0),_0x9cfc2c['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x32dad5,_0x517bad,_0x422a1b,_0x4a710e)=>{const _0x4fa656=_0x9cfc2c['plugins']['get'](CommentsRepository),_0x383b05=_0x422a1b?_0x157d0f(_0x422a1b)['id']:null;_0x9cfc2c['model']['change'](()=>{if(_0x383b05){const _0x48926b=this['getAllMarkersForId'](_0x383b05);for(const _0x35da87 of _0x48926b)_0x9cfc2c['editing']['reconvertMarker'](_0x35da87);}if(_0x4a710e){const {id:_0x205e0b}=_0x157d0f(_0x4a710e),_0x5c12dd=_0x4fa656['getCommentThread'](_0x205e0b);if(_0x5c12dd&&_0x5c12dd['unlinkedAt'])return;if(_0x5c12dd&&!_0x5c12dd['isAttached'])return;const _0x53bc96=this['getAllMarkersForId'](_0x205e0b);for(const _0x31dd71 of _0x53bc96)_0x9cfc2c['editing']['reconvertMarker'](_0x31dd71);}}),_0x383b05&&this['scrollToThreadMarker'](_0x383b05);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0xe91283=this['editor'],_0x1a4f9b=_0xe91283['plugins']['get'](CommentsRepository),_0x208f04=_0xe91283['config']['get']('collaboration.channelId'),_0x5580ad=_0x1a4f9b['getCommentThreads']()['filter'](_0x20f818=>_0x20f818['channelId']!==_0x208f04);_0xe91283['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0xe91283)),this['listenTo'](_0xe91283,'change:isReadOnly',(_0x2c1209,_0x65870d,_0x4b7d7a)=>{_0x1a4f9b['switchReadOnly'](_0x4b7d7a,_0xe91283['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x1a4f9b,_0x54b405('addCommentThread',_0x208f04),(_0x2c6e2c,{threadId:_0x478d85})=>{const _0x1035ab=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x478d85);_0x1035ab?.['unlinkedAt']&&this['_attachArchivedThread'](_0x478d85);}),this['listenTo'](_0x1a4f9b,_0x54b405('removeCommentThread',_0x208f04),(_0x28a36,{threadId:_0x161e2a})=>{_0xe91283['model']['enqueueChange']({'isUndoable':!0x1},_0x45b6e3=>{const _0x5ee57a=this['getAllMarkersForId'](_0x161e2a);for(const _0x43e7fc of _0x5ee57a)_0x45b6e3['removeMarker'](_0x43e7fc);});}),this['listenTo'](_0x1a4f9b,_0x54b405('resolveCommentThread',_0x208f04),(_0x185836,{threadId:_0x469496})=>{(this['_reconvertMarkers'](_0x469496),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x469496)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x1a4f9b,_0x54b405('reopenCommentThread',_0x208f04),(_0x4ab541,{threadId:_0x585458})=>{this['_reconvertMarkers'](_0x585458);},{'priority':'low'}),this['listenTo'](_0x1a4f9b,_0x54b405('addComment',_0x208f04),(_0x54ed9e,{threadId:_0x4e62ed,isFromAdapter:_0x246b8c})=>{const _0x536205=this['getAllMarkersForId'](_0x4e62ed);if(_0x246b8c||0x0==_0x536205['length']||!_0x1a4f9b['hasCommentThread'](_0x4e62ed))return;0x1===_0x1a4f9b['getCommentThread'](_0x4e62ed)['length']&&_0xe91283['model']['enqueueChange']({'isUndoable':!0x1},_0x2c1b0a=>{for(const _0x2c92a5 of _0x536205)_0x2c1b0a['updateMarker'](_0x2c92a5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x5580ad);}['afterInit'](){!async function(_0x3ea7f9){const _0x33ef03=_0x28ca8([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x58aad5=0x73460ab3,_0xd7884f=0x73418573^_0x58aad5,_0x9df5f3=window[_0x28ca8([0x44,0x61,0x74,0x65])][_0x28ca8([0x6e,0x6f,0x77])](),_0x547f39=_0x3ea7f9[_0x28ca8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a4ba8=new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327d4c=>{_0x547f39[_0x28ca8([0x6f,0x6e,0x63,0x65])](_0x28ca8([0x72,0x65,0x61,0x64,0x79]),_0x327d4c);}),_0xec0aed={[_0x28ca8([0x6b,0x74,0x79])]:_0x28ca8([0x45,0x43]),[_0x28ca8([0x75,0x73,0x65])]:_0x28ca8([0x73,0x69,0x67]),[_0x28ca8([0x63,0x72,0x76])]:_0x28ca8([0x50,0x2d,0x32,0x35,0x36]),[_0x28ca8([0x78])]:_0x28ca8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x28ca8([0x79])]:_0x28ca8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x28ca8([0x61,0x6c,0x67])]:_0x28ca8([0x45,0x53,0x32,0x35,0x36])},_0x20d12b=_0x547f39[_0x28ca8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28ca8([0x67,0x65,0x74])](_0x28ca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fe9fd(){let _0x3e980f,_0x28405a=null,_0x9baed9=null;try{if(_0x20d12b==_0x28ca8([0x47,0x50,0x4c]))return _0x28ca8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e980f=_0x5cf7b5(),!_0x3e980f)return _0x28ca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e980f[_0x28ca8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9baed9=_0xcf5de(_0x3e980f[_0x28ca8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e980f[_0x28ca8([0x6a,0x74,0x69])])),await _0x12257c()?_0x334020()?_0x4bafb8()?_0x28ca8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23664d()?(_0x3e980f[_0x28ca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28ca8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28405a=_0x368f17(_0x28ca8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37d733()):_0x28ca8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28ca8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28ca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28ca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bafb8(){const _0x6b8c90=[_0x28ca8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28ca8([0x74,0x72,0x69,0x61,0x6c])][_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e980f[_0x28ca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9df5f3/0x3e8:0xe10*_0xd7884f;return _0x3e980f[_0x28ca8([0x65,0x78,0x70])]<_0x6b8c90;}function _0x334020(){const _0x7a641b=_0x3e980f[_0x28ca8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x7a641b)return!0x1;if(_0x7a641b[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ca8([0x2a])))return!0x0;if(_0x7a641b[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ca8([0x43,0x4d,0x54])))return!0x0;if(_0x7a641b[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ca8([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x4e7ed1())return!0x0;if(_0x7a641b[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ca8([0x52,0x43,0x4d,0x54]))){if(_0x687042())return!0x0;if(_0x5d1102()||_0xa8c11a())return!0x0;}return!0x1;}function _0x23664d(){const _0x40b9f0=_0x3e980f[_0x28ca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40b9f0||0x0==_0x40b9f0[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x798846}=new URL(window[_0x28ca8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x40b9f0[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x798846))return!0x0;const _0x5ac7d8=_0x798846[_0x28ca8([0x73,0x70,0x6c,0x69,0x74])](_0x28ca8([0x2e]));return _0x40b9f0[_0x28ca8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x248a2d=>_0x248a2d[_0x28ca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28ca8([0x2a])))[_0x28ca8([0x6d,0x61,0x70])](_0x422aba=>_0x422aba[_0x28ca8([0x73,0x70,0x6c,0x69,0x74])](_0x28ca8([0x2e])))[_0x28ca8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c9ff3=>_0x2c9ff3[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ac7d8[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28ca8([0x6d,0x61,0x70])](_0x22d7d2=>Array(_0x5ac7d8[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22d7d2[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28ca8([0x66,0x69,0x6c,0x6c])](_0x22d7d2[0x0]===_0x28ca8([0x2a])?_0x28ca8([0x2a]):'')[_0x28ca8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22d7d2))[_0x28ca8([0x73,0x6f,0x6d,0x65])](_0x4ea4be=>_0x5ac7d8[_0x28ca8([0x65,0x76,0x65,0x72,0x79])]((_0x57e073,_0x4c4ef2)=>_0x4ea4be[_0x4c4ef2]===_0x57e073||_0x4ea4be[_0x4c4ef2]===_0x28ca8([0x2a])));}function _0x37d733(){return _0x28405a&&_0x9baed9?new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33a38d,_0x3ea97f)=>{_0x28405a[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x33a38d,_0x3ea97f),_0x9baed9[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x9fd5bf=>{_0x9fd5bf!=_0x28ca8([0x56,0x61,0x6c,0x69,0x64])&&_0x33a38d(_0x9fd5bf);},_0x3ea97f);}):_0x28405a||_0x9baed9||_0x28ca8([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcf5de(_0x6cf98c,_0x459124){return new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x533881=>{if(_0xff5ae3())return _0x533881(_0x28ca8([0x56,0x61,0x6c,0x69,0x64]));_0x11b0cf(),_0x547f39[_0x28ca8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28ca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7742c9=!0x1;const _0x265f74=_0xa0ed63['uid']();function _0x4a1b85(_0x443f2c){return!!_0x443f2c&&(typeof _0x443f2c===_0x28ca8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x443f2c===_0x28ca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x443f2c[_0x28ca8([0x74,0x68,0x65,0x6e])]===_0x28ca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x443f2c[_0x28ca8([0x63,0x61,0x74,0x63,0x68])]===_0x28ca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x482c3f(_0x383703){_0x57921e(_0x383703)[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x39b393=>{if(!_0x39b393||_0x39b393[_0x28ca8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28ca8([0x6f,0x6b]))return _0x28ca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10be7d(_0x18217f(_0x265f74+_0x459124))!=_0x39b393[_0x28ca8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28ca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28ca8([0x56,0x61,0x6c,0x69,0x64]);})[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x43f3aa=>(_0x3a324b(),_0x43f3aa),()=>{const _0x32e3a0=_0x2edd76();return null==_0x32e3a0?(_0x3a324b(),_0x28ca8([0x56,0x61,0x6c,0x69,0x64])):_0x28ca8(_0x9df5f3-_0x32e3a0>(0x574a8eb3^_0x58aad5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x533881)[_0x28ca8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x533881(_0x28ca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37b985=0x7370e433^_0x58aad5;function _0x3a324b(){const _0x5c28ab=_0x28ca8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10be7d(_0x18217f(_0x6cf98c)),_0x43c07c=_0x2453e7(_0x10be7d(window[_0x28ca8([0x4d,0x61,0x74,0x68])][_0x28ca8([0x63,0x65,0x69,0x6c])](_0x9df5f3/_0x37b985)));window[_0x28ca8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28ca8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c28ab,_0x43c07c);}function _0x2edd76(){const _0x4ebcbc=_0x28ca8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10be7d(_0x18217f(_0x6cf98c)),_0x4cdf3d=window[_0x28ca8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28ca8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ebcbc);return _0x4cdf3d?window[_0x28ca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2453e7(_0x4cdf3d),0x10)*_0x37b985:null;}function _0x57921e(_0x1a4471){return new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x170e36,_0x3ced5b)=>{_0x1a4471[_0x28ca8([0x74,0x68,0x65,0x6e])](_0x170e36,_0x3ced5b),window[_0x28ca8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ced5b,0x7347de73^_0x58aad5);});}}_0x547f39[_0x28ca8([0x6f,0x6e])](_0x28ca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x144174,_0x3d8065)=>{if(_0x3d8065[0x0]!=_0x6cf98c)return _0x533881(_0x28ca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d8065[0x1]={..._0x3d8065[0x1],[_0x28ca8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x265f74};},{[_0x28ca8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28ca8([0x68,0x69,0x67,0x68])}),_0x547f39[_0x28ca8([0x6f,0x6e])](_0x28ca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4efa35=>{_0x4a1b85(_0x4efa35[_0x28ca8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7742c9=!0x0,_0x482c3f(_0x4efa35[_0x28ca8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28ca8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28ca8([0x6c,0x6f,0x77])}),_0x5a4ba8[_0x28ca8([0x74,0x68,0x65,0x6e])](()=>{_0x7742c9||_0x533881(_0x28ca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xff5ae3(){return _0x547f39[_0x28ca8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28ca8([0x76,0x69,0x65,0x77])][_0x28ca8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28ca8([0x61,0x75,0x74,0x6f]);}function _0x11b0cf(){_0x547f39[_0x28ca8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28ca8([0x76,0x69,0x65,0x77])][_0x28ca8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28ca8([0x61,0x75,0x74,0x6f]);}}function _0x368f17(_0x23df26){const _0x19536a=[new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3654fa=>setTimeout(_0x3654fa,0x734f347f^_0x58aad5)),_0x5a4ba8[_0x28ca8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c40d0=>{let _0xd8b63d=0x0;_0x547f39[_0x28ca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x28ca8([0x6f,0x6e])](_0x28ca8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x456f0e,_0x3a412c)=>{_0x3a412c[0x0][_0x28ca8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd8b63d++,_0xd8b63d==(0x73460f5b^_0x58aad5)&&(_0x3c40d0(),_0x456f0e[_0x28ca8([0x6f,0x66,0x66])]());});}))];return window[_0x28ca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28ca8([0x72,0x61,0x63,0x65])](_0x19536a)[_0x28ca8([0x74,0x68,0x65,0x6e])](()=>_0x23df26);}async function _0x13552c(){await _0x5a4ba8,_0x547f39[_0x28ca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x28ca8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1dcbcf,_0x547f39[_0x28ca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x28ca8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1dcbcf,_0x547f39[_0x28ca8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28ca8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e7ed1(){return window[_0x28ca8([0x67,0x6c,0x6f,0x62])]&&window[_0x28ca8([0x67,0x6c,0x6f,0x62])][_0x28ca8([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x687042(){return _0x19b165(_0x28ca8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3bded8(_0x28ca8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x28ca8([0x73,0x74,0x61,0x74,0x65])]==_0x28ca8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x5d1102(){return _0x19b165(_0x28ca8([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0xa8c11a(){return _0x19b165(_0x28ca8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x43ca47(_0x58c8d9){const _0x1bef89=_0x465d26();_0x547f39[_0x1bef89]=_0x28ca8([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58c8d9,_0x58c8d9!=_0x28ca8([0x56,0x61,0x6c,0x69,0x64])&&_0x13552c();}function _0x465d26(){const _0x23991b=window[_0x28ca8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28ca8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28ca8([0x6e,0x6f,0x77])]())[_0x28ca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28ca8([0x2e]),'');let _0x380050=_0x28ca8([0x4b]);for(let _0x1b3dc3=0x0;_0x1b3dc3<_0x23991b[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3dc3+=0x2){let _0x36a1e9=window[_0x28ca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23991b[_0x28ca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b3dc3,_0x1b3dc3+0x2));_0x36a1e9>=_0x33ef03[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36a1e9-=_0x33ef03[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x380050+=_0x33ef03[_0x36a1e9];}return _0x380050;}function _0x5cf7b5(){const _0x138c7c=_0x20d12b[_0x28ca8([0x73,0x70,0x6c,0x69,0x74])](_0x28ca8([0x2e]));if(0x3!=_0x138c7c[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b4622(_0x138c7c[0x1]);function _0x4b4622(_0x3824){const _0x5144d9=_0x4c63e2(_0x3824);return _0x5144d9&&_0x344e9e()?_0x5144d9:null;function _0x344e9e(){const _0x2f2fe4=_0x5144d9[_0x28ca8([0x6a,0x74,0x69])],_0x5812d8=window[_0x28ca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2fe4[_0x28ca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f2fe4[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ea02d={..._0x5144d9,[_0x28ca8([0x6a,0x74,0x69])]:_0x2f2fe4[_0x28ca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f2fe4[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ea02d[_0x28ca8([0x76,0x63])],_0x18217f(_0x2ea02d)==_0x5812d8;}}}async function _0x12257c(){let _0xaa9661=!0x0;try{const _0x7b7864=_0x20d12b[_0x28ca8([0x73,0x70,0x6c,0x69,0x74])](_0x28ca8([0x2e])),[_0x2e01b2,_0x1819a9,_0x3fb6b0]=_0x7b7864;return _0x11bbce(_0x2e01b2),await _0x560138(_0x2e01b2,_0x1819a9,_0x3fb6b0),_0xaa9661;}catch{return!0x1;}function _0x11bbce(_0x3109e7){const _0x34c320=_0x4c63e2(_0x3109e7);_0x34c320&&_0x34c320[_0x28ca8([0x61,0x6c,0x67])]==_0x28ca8([0x45,0x53,0x32,0x35,0x36])||(_0xaa9661=!0x1);}async function _0x560138(_0x6ad7ee,_0x4ee2a3,_0x2abb84){const _0x6248dd=window[_0x28ca8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28ca8([0x66,0x72,0x6f,0x6d])](_0x45877b(_0x2abb84),_0x3782b5=>_0x3782b5[_0x28ca8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48addf=new window[(_0x28ca8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28ca8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6ad7ee+_0x28ca8([0x2e])+_0x4ee2a3),_0x3d9eed=window[_0x28ca8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28ca8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d9eed)return;const _0x2f0bdb=await _0x3d9eed[_0x28ca8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28ca8([0x6a,0x77,0x6b]),_0xec0aed,{[_0x28ca8([0x6e,0x61,0x6d,0x65])]:_0x28ca8([0x45,0x43,0x44,0x53,0x41]),[_0x28ca8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28ca8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28ca8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d9eed[_0x28ca8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28ca8([0x6e,0x61,0x6d,0x65])]:_0x28ca8([0x45,0x43,0x44,0x53,0x41]),[_0x28ca8([0x68,0x61,0x73,0x68])]:{[_0x28ca8([0x6e,0x61,0x6d,0x65])]:_0x28ca8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f0bdb,_0x6248dd,_0x48addf)||(_0xaa9661=!0x1);}}function _0x4c63e2(_0x564244){return _0x564244[_0x28ca8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28ca8([0x65,0x79]))?JSON[_0x28ca8([0x70,0x61,0x72,0x73,0x65])](_0x45877b(_0x564244)):null;}function _0x45877b(_0x144d9b){return window[_0x28ca8([0x61,0x74,0x6f,0x62])](_0x144d9b[_0x28ca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28ca8([0x2b]))[_0x28ca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28ca8([0x2f])));}function _0x18217f(_0x2096cd){let _0x13126a=0x1505;function _0x1662b2(_0x317b3e){for(let _0x50020f=0x0;_0x50020f<_0x317b3e[_0x28ca8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50020f++){const _0x534637=_0x317b3e[_0x28ca8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50020f);_0x13126a=(_0x13126a<<0x5)+_0x13126a+_0x534637,_0x13126a&=_0x13126a;}}function _0x217d35(_0x18e2c0){Array[_0x28ca8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18e2c0)?_0x18e2c0[_0x28ca8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x217d35):_0x18e2c0&&typeof _0x18e2c0==_0x28ca8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28ca8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18e2c0)[_0x28ca8([0x73,0x6f,0x72,0x74])]()[_0x28ca8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fa985,_0x5d72c8])=>{_0x1662b2(_0x2fa985),_0x217d35(_0x5d72c8);}):_0x1662b2(window[_0x28ca8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18e2c0));}return _0x217d35(_0x2096cd),_0x13126a>>>0x0;}function _0x10be7d(_0x55355c){return _0x55355c[_0x28ca8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28ca8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28ca8([0x30]));}function _0x2453e7(_0x30e7f2){return _0x30e7f2[_0x28ca8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28ca8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28ca8([0x6a,0x6f,0x69,0x6e])]('');}function _0x19b165(_0x3936ba){return _0x547f39[_0x28ca8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x28ca8([0x68,0x61,0x73])](_0x3936ba);}function _0x3bded8(_0xdfe311){return _0x547f39[_0x28ca8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x28ca8([0x67,0x65,0x74])](_0xdfe311);}function _0x1dcbcf(){}function _0x28ca8(_0x2460ec){return _0x2460ec['map'](_0x398db0=>String['fromCharCode'](_0x398db0))['join']('');}_0x43ca47(await _0x3fe9fd());}(this);}['destroy'](){const _0x3b2b33=this['editor']['plugins']['get'](CommentsRepository),_0x55e080=this['editor']['config']['get']('collaboration.channelId');for(const _0x2ec2c1 of _0x3b2b33['getCommentThreads']({'channelId':_0x55e080}))_0x3b2b33['_detachCommentThread'](_0x2ec2c1['id']),_0x3b2b33['_threads']['delete'](_0x2ec2c1['id']);super['destroy']();}['hasMarkerForId'](_0x3da42c){return this['getAllMarkersForId'](_0x3da42c)['length']>0x0;}['getAllMarkersForId'](_0x296268){const _0x4ad215=[];for(const _0x821a1a of this['editor']['model']['markers'])_0x821a1a['name']['startsWith']('comment:'+_0x296268)&&_0x4ad215['push'](_0x821a1a);return _0x4ad215;}['scrollToThreadMarker'](_0x374a27){setTimeout(()=>{const _0xa4c5a6=this['_getTargetForId'](_0x374a27);if(!_0xa4c5a6)return;this['activeMarker']&&_0x157d0f(this['activeMarker'])['id']===_0x374a27&&_0xa0ed63['scrollViewportToShowTarget']({'target':_0xa4c5a6[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x44ea0d){this['editor']['model']['change'](()=>{for(const _0x64e4f7 of this['getAllMarkersForId'](_0x44ea0d))this['editor']['editing']['reconvertMarker'](_0x64e4f7);});}['_attachArchivedThread'](_0x25739d){const _0x3501c7=this['editor']['plugins']['get'](CommentsRepository),_0x3f914b=this['editor']['plugins']['get'](EditorAnnotations),_0x4079ca=_0x3501c7['getCommentThread'](_0x25739d);if(!_0x4079ca['isAttached']){const _0xc770d2=_0x4079ca['attachTo'](()=>this['_getTargetForId'](_0x4079ca['id']));_0x3f914b['registerAnnotation'](_0xc770d2),_0x4079ca['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x28231d=this['editor'],_0x126f5c=_0x28231d['plugins']['get'](_0x16ef47);_0x28231d['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x3d8b93,_0x4d389a)=>{const {id:_0x385970}=_0x157d0f(_0x3d8b93['markerName']),_0x357f27=_0x28231d['plugins']['get'](CommentsRepository)['getCommentThread'](_0x385970),_0x4a3ac8=this['activeMarker']&&_0x157d0f(this['activeMarker'])['id']===_0x385970;let _0x3d5db5;if(_0x357f27&&_0x357f27['isResolved']&&!_0x4a3ac8&&_0x3d8b93['item'])return _0x4d389a['consumable']['consume'](_0x3d8b93['item'],'addMarker:'+_0x3d8b93['markerName']),_0x4d389a['consumable']['consume'](_0x3d8b93['item'],'removeMarker:'+_0x3d8b93['markerName']),null;const _0xe33fa=['ck-comment-marker'];return _0x4a3ac8&&_0xe33fa['push']('ck-comment-marker--active'),_0x3d5db5=_0x357f27?.['length']?_0x357f27['comments']['first']['author']['id']:_0x126f5c['me']['id'],{'classes':_0xe33fa,'attributes':{'data-comment':_0x385970,'data-author-id':_0x3d5db5}};}}),_0x28231d['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x4f30c6,{options:_0x3761fc})=>{if(_0x3761fc['showCommentHighlights'])return null;const _0xc0dbed=_0x28231d['plugins']['get'](CommentsRepository),_0x255188=_0x28231d['model']['markers']['get'](_0x4f30c6),{id:_0x317df1,part:_0x4cf948}=_0x157d0f(_0x4f30c6);return _0x255188&&!_0x255188['affectsData']||_0x3761fc['ignoreResolvedComments']&&_0xc0dbed['getCommentThread'](_0x317df1)?.['isResolved']?null:{'group':'comment','name':_0x4cf948?_0x317df1+':'+_0x4cf948:_0x317df1};}}),_0x28231d['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x5d6b16,{writer:_0x35d3d4})=>_0x35d3d4['createElement']('$marker',{'data-name':'comment:'+_0x5d6b16['getAttribute']('id')})}),_0x28231d['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x14ecc3=this['editor'],_0x269221=_0x14ecc3['plugins']['get'](CommentsRepository),_0x33c6e7=new Set(),_0x59858e=new Set();_0x14ecc3['model']['document']['registerPostFixer'](_0x4e5199=>{let _0x2fa422=!0x1;for(const {name:_0x497f72,data:_0x119017}of _0x14ecc3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x377f7a,id:_0x55e34c}=_0x157d0f(_0x497f72);let _0x54c1e8=_0x119017['newRange'];if('comment'!==_0x377f7a||!_0x54c1e8)continue;const _0x5264bc='$graveyard'===_0x54c1e8['root']['rootName'];_0x5264bc||(_0x54c1e8=_0x3c87a7(_0x54c1e8,_0x14ecc3['model']),!_0x54c1e8||_0x54c1e8['isCollapsed']||!_0x119017['newRange']||_0x54c1e8['isEqual'](_0x119017['newRange']))?_0x14ecc3['model']['hasContent'](_0x54c1e8)&&!_0x5264bc?this['isThreadsLoadingPaused']?_0x33c6e7['add'](_0x497f72):this['_handleThreadMarker'](_0x497f72,_0x55e34c):(_0x59858e['add'](_0x497f72),_0x33c6e7['delete'](_0x497f72),_0x4e5199['removeMarker'](_0x497f72),_0x2fa422=!0x0):(_0x4e5199['updateMarker'](_0x497f72,{'range':_0x54c1e8}),_0x2fa422=!0x0);}return _0x2fa422;}),this['on']('change:isThreadsLoadingPaused',(_0x6311c9,_0x19340f,_0x45155a)=>{if(!_0x45155a&&_0x33c6e7['size'])for(const _0x178057 of _0x33c6e7){const {id:_0x532168}=_0x157d0f(_0x178057);_0x33c6e7['delete'](_0x178057),_0x14ecc3['model']['markers']['get'](_0x178057)&&this['_handleThreadMarker'](_0x178057,_0x532168);}}),this['listenTo'](_0x14ecc3['model']['document'],'change',()=>{for(const {name:_0x5b8726,data:{newRange:_0x202563}}of _0x14ecc3['model']['document']['differ']['getChangedMarkers']()){const {group:_0x1ff651,id:_0x37b415}=_0x157d0f(_0x5b8726);if('comment'!==_0x1ff651)continue;const _0xc23ead=_0x269221['getCommentThread'](_0x37b415),_0xa1b687=this['hasMarkerForId'](_0x37b415);_0xc23ead&&(!_0xc23ead['_hasTargetInContent']&&_0x202563&&_0x14ecc3['editing']['view']['once']('render',()=>{const _0x70b848=_0x14ecc3['plugins']['get'](Annotations),_0xde20d=_0x269221['_threadToController']['get'](_0xc23ead)['view'];_0x70b848['getByInnerView'](_0xde20d)['refreshVisibility']();},{'priority':'low'}),_0xc23ead['_hasTargetInContent']=_0xa1b687||!!_0x202563),_0x202563||(_0x59858e['add'](_0x5b8726),_0x33c6e7['delete'](_0x5b8726));}for(const _0x459d12 of _0x59858e){const {id:_0x300545}=_0x157d0f(_0x459d12),_0x25e6c8=_0x269221['getCommentThread'](_0x300545);if(_0x33c6e7['delete'](_0x459d12),!_0x25e6c8)continue;const _0x14fbb5=this['hasMarkerForId'](_0x300545);_0x14fbb5||_0x25e6c8['isSubmitted']?_0x14fbb5||_0x25e6c8['unlinkedAt']||_0x25e6c8['setUnlinkedAt'](new Date()):_0x25e6c8['remove']();}_0x59858e['clear']();});}['_handleInitialThreads'](_0x5ec52d){_0x5ec52d['forEach'](_0x42b3e8=>{_0x42b3e8['unlinkedAt']&&this['_attachArchivedThread'](_0x42b3e8['id']);});}['_getTargetForId'](_0x403915){const _0x46033c=this['editor'],_0x850170=this['getAllMarkersForId'](_0x403915);return _0x39c902(_0x46033c['editing'],_0x850170);}['_getTextContext'](_0xf16e83){const _0x3ef235=this['getAllMarkersForId'](_0xf16e83);let _0x10452c='',_0x43b77a=!0x1;for(const _0x5a0a33 of _0x3ef235){const _0x55ae4c=_0x5a0a33['getRange']();for(const _0x44e5ba of Array['from'](_0x55ae4c['getItems']()))_0x44e5ba['is']('$textProxy')?(_0x10452c&&_0x43b77a&&(_0x10452c+='\x20',_0x43b77a=!0x1),_0x10452c+=_0x44e5ba['data']):_0x43b77a=!0x0;_0x43b77a=!0x0;}return _0x10452c['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x53878e,_0x3758f6){const _0x47d287=this['editor'],_0x19bb22=_0x47d287['plugins']['get'](CommentsRepository);let _0x4e23d7=_0x19bb22['getCommentThread'](_0x3758f6);const _0x420591=_0x47d287['config']['get']('collaboration.channelId'),_0x30fe80=_0x47d287['plugins']['get'](EditorAnnotations);if(_0x4e23d7&&(_0x4e23d7['unlinkedAt']&&_0x4e23d7['setUnlinkedAt'](null),_0x4e23d7['isAttached']))return _0x4e23d7;return!this['getAllMarkersForId'](_0x3758f6)[0x0]['managedUsingOperations']?_0x47d287['editing']['view']['once']('render',()=>{if(_0x19bb22['getCommentThread'](_0x3758f6))return;const _0x54b1cd=_0x47d287['plugins']['get'](Annotations);_0x4e23d7=_0x19bb22['openNewCommentThread']({'channelId':_0x420591,'threadId':_0x3758f6,'target':()=>this['_getTargetForId'](_0x3758f6),'context':{'type':'text','value':this['_getTextContext'](_0x3758f6)}});const _0x3eafa4=_0x19bb22['_threadToController']['get'](_0x4e23d7)['view'],_0x1f49b9=_0x54b1cd['getByInnerView'](_0x3eafa4);_0x1f49b9&&_0x30fe80['registerAnnotation'](_0x1f49b9);},{'priority':'low'}):_0x19bb22['fetchCommentThread']({'channelId':_0x420591,'threadId':_0x3758f6})['then'](_0x4f2d20=>{if('destroyed'!==_0x47d287['state']){if(_0x4e23d7=_0x4f2d20,_0x4e23d7&&!_0x4e23d7['isAttached']){const _0x4c11aa=_0x4e23d7['attachTo'](()=>this['_getTargetForId'](_0x3758f6));_0x30fe80['registerAnnotation'](_0x4c11aa),_0x4e23d7['isResolved']&&this['_reconvertMarkers'](_0x3758f6);}else{if(!_0x4e23d7){const _0x19a55b=this['getAllMarkersForId'](_0x3758f6);_0x47d287['model']['change'](_0x11b6e1=>{for(const _0x47d3cf of _0x19a55b)_0x11b6e1['removeMarker'](_0x47d3cf);});}}}}),_0x4e23d7;}['_handleThreadMarker'](_0x200052,_0x239761){const _0x2240c4=this['_attachMarkerToThread'](_0x200052,_0x239761);_0x2240c4&&!_0x2240c4['context']&&_0x2240c4['setContext']({'type':'text','value':this['_getTextContext'](_0x239761)});}['_initAriaMarkerChangeAnnouncements'](){const _0x3f15e6=this['editor'];_0x117c09(_0x3f15e6['model'],({left:_0x42f5a1,entered:_0x5b9cf7})=>{for(const _0xf371aa of _0x42f5a1)if(_0x3b03df(_0xf371aa)){_0x3f15e6['ui']['ariaLiveAnnouncer']['announce'](_0x46eb6d(_0x3f15e6['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x2040d1 of _0x5b9cf7)if(_0x3b03df(_0x2040d1)){_0x3f15e6['ui']['ariaLiveAnnouncer']['announce'](_0x46eb6d(_0x3f15e6['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0xa0ed63['getEnvKeystrokeText'](_0x524ab6)));break;}});}}function _0x54b405(_0x5f1879,_0x4ed96f){return _0x4ed96f?_0x5f1879+':'+_0x4ed96f:_0x5f1879;}function _0x3c87a7(_0x5559f1,_0x3abefd){const _0x2d1cc4=_0x3abefd['schema'],_0x1784c0=_0x3abefd['createRange'](_0x5559f1['start']);for(const _0x305de9 of _0x5559f1['getWalker']()){const {type:_0x109cfc,item:_0x506f1a,nextPosition:_0x2957db}=_0x305de9;if('text'===_0x109cfc||_0x2d1cc4['isObject'](_0x506f1a)){const _0x38d698=_0x3abefd['createPositionBefore'](_0x506f1a);_0x1784c0['isCollapsed']&&(_0x1784c0['start']=_0x38d698),_0x1784c0['end']=_0x2957db;}}return _0x1784c0;}function _0x3b03df(_0x23f402){return'comment'===_0x157d0f(_0x23f402['name'])['group'];}class CommentsUI extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x24fba3=this['editor'],_0x53bb4e=_0x24fba3['plugins']['get'](CommentsRepository),_0x1298a6=_0x24fba3['plugins']['get'](CommentsEditing),_0x37dc35=_0x24fba3['plugins']['get'](Annotations),_0x32cfb3=_0x24fba3['plugins']['get'](EditorAnnotations);_0x24fba3['ui']['componentFactory']['add']('comment',()=>{const _0x5e8959=this['_createUIButton'](_0xa0ed63['ButtonView']);return _0x5e8959['tooltip']=!0x0,_0x5e8959;}),_0x24fba3['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0xa0ed63['MenuBarMenuListItemButtonView'])),_0x32cfb3['addSourceCollector'](()=>{const _0x400b99=[];for(const [_0x222535,_0x522530]of _0x53bb4e['_threadToController']){const _0x197c44=_0x1298a6['getAllMarkersForId'](_0x222535['id']),_0x500d7a=_0x197c44['map'](_0x3022ae=>_0x3022ae['getRange']());_0x197c44['length']>0x0&&_0x400b99['push']([_0x522530['view'],_0x500d7a]);}return _0x400b99;}),this['listenTo'](_0x37dc35,'change:activeAnnotations',(_0x4e2758,_0x47c654,_0x2ff95b)=>{const _0x3b823b=Array['from'](_0x2ff95b)['map'](_0x357829=>_0x357829['innerView'])['find'](_0x470df1=>_0x53bb4e['_viewToController']['has'](_0x470df1));if(!_0x3b823b)return void(_0x1298a6['activeMarker']=null);const _0x552ddc=_0x53bb4e['_viewToController']['get'](_0x3b823b)['model']['id'],_0x48e104='comment:'+_0x552ddc;_0x552ddc&&_0x1298a6['hasMarkerForId'](_0x552ddc)?_0x1298a6['activeMarker']=_0x48e104:_0x1298a6['activeMarker']&&(_0x1298a6['activeMarker']=null);}),this['listenTo'](_0x53bb4e,'removeCommentThread',(_0x231f9c,{threadId:_0x3b6379,isFromAdapter:_0x3d9fd8})=>{!_0x3d9fd8&&_0x24fba3['ui']['focusTracker']['isFocused']&&_0x1298a6['hasMarkerForId'](_0x3b6379)&&_0x24fba3['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x53bb4e,'addComment',(_0x1c69fe,{threadId:_0x101178,isFromAdapter:_0x28ebc0})=>{if(_0x28ebc0||!_0x1298a6['hasMarkerForId'](_0x101178)||!_0x53bb4e['hasCommentThread'](_0x101178))return;0x1===_0x53bb4e['getCommentThread'](_0x101178)['length']&&(_0x24fba3['editing']['view']['focus'](),_0x1c69fe['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x43b1c3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x21b379;for(const _0x15da11 in _0x43b1c3){const _0x4ee58a=_0x15da11,_0x3f8631=_0x43b1c3[_0x4ee58a];if('commentsLicenseKeyValid'==_0x3f8631||'commentsLicenseKeyInvalid'==_0x3f8631||'commentsLicenseKeyExpired'==_0x3f8631||'commentsLicenseKeyDomainLimit'==_0x3f8631||'commentsLicenseKeyNotAllowed'==_0x3f8631||'commentsLicenseKeyEvaluationLimit'==_0x3f8631||'commentsLicenseKeyUsageLimit'==_0x3f8631){delete _0x43b1c3[_0x4ee58a],_0x21b379=_0x3f8631,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x21b379&&_0x43b1c3['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x21b379&&_0x43b1c3['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x21b379&&_0x43b1c3['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x21b379&&_0x43b1c3['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x21b379&&_0x43b1c3['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x21b379&&_0x43b1c3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x4c8630){const _0x5cece6=this['editor'],_0x5efc66=new _0x4c8630(_0x5cece6['locale']),_0x11cda8=_0x5cece6['commands']['get']('addCommentThread');return _0x5efc66['set']({'label':_0x46eb6d(_0x5cece6['locale'],'Comment'),'icon':_0xa0ed63['IconAddComment']}),_0x5efc66['bind']('isEnabled')['to'](_0x11cda8,'isEnabled',_0x11cda8,'hasContent',(_0x17514f,_0x39cc53)=>_0x17514f&&_0x39cc53),this['listenTo'](_0x5efc66,'execute',()=>{_0x11cda8['execute']();}),_0x5efc66;}}class CommentsOnly extends _0xa0ed63['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x1344b4){super(_0x1344b4),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x386ffe,_0x54a0ff,_0x3cce19)=>{_0x3cce19?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x9b7385,_0x29a989]of this['editor']['commands'])_0x29a989['affectsData']&&'addCommentThread'!==_0x9b7385&&_0x29a989['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 _0x2124ad=this['editor']['editing']['view']['document'];this['listenTo'](_0x2124ad,'cut',_0x58ff16=>_0x58ff16['stop'](),{'priority':'highest'}),this['listenTo'](_0x2124ad,'clipboardInput',_0x3e6cd0=>_0x3e6cd0['stop'](),{'priority':'highest'}),this['listenTo'](_0x2124ad,'delete',_0x40d95d=>_0x40d95d['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x48ee14,_0x1cf679]of this['editor']['commands'])_0x1cf679['affectsData']&&'addCommentThread'!==_0x48ee14&&_0x1cf679['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']);}}class AnnotationsUIs extends _0xa0ed63['ContextPlugin']{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45b43f){super(_0x45b43f),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x52bbcb=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x52bbcb,'_activateAnnotation',(_0x53e001,_0xfaa1ce)=>{for(const _0x435176 of this['activeUIs']){const _0x5a8432=this['_uis']['get'](_0x435176);(0x0,this['uisData']['get'](_0x435176)['filter'])(_0xfaa1ce)&&_0x5a8432['setActiveAnnotation'](_0xfaa1ce);}}),this['listenTo'](_0x52bbcb,'_deactivateAllAnnotations',()=>{for(const _0x153156 of this['activeUIs']){this['_uis']['get'](_0x153156)['setActiveAnnotation'](null);}}),this['listenTo'](_0x52bbcb['_visibleAnnotations'],'add',(_0x2f4287,_0x47ccaf)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x47ccaf);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x2486e0){return this['activeUIs']['has'](_0x2486e0);}['activate'](_0x2015b2,_0x2b6eae=this['defaultFilter']){const _0x5077fa=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x2015b2))throw new _0xa0ed63['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2015b2});this['isActive'](_0x2015b2)&&this['deactivate'](_0x2015b2),this['activeUIs']['add'](_0x2015b2);const _0x43ae2f=new AnnotationCollection();_0x3d4875({'source':_0x5077fa['_visibleAnnotations'],'target':_0x43ae2f,'filter':_0x2b6eae}),this['uisData']['set'](_0x2015b2,{'collection':_0x43ae2f,'filter':_0x2b6eae});const _0x4daf81=this['_uis']['get'](_0x2015b2);_0x4daf81['attach'](_0x43ae2f),this['listenTo'](_0x4daf81,'change:activeAnnotation',(_0x20f7cb,_0x4ae0ce,_0x150375,_0x5cc0d7)=>{_0x5cc0d7&&_0x5077fa['_removeActiveAnnotation'](_0x5cc0d7),_0x150375&&_0x5077fa['_addActiveAnnotation'](_0x150375);});}['deactivate'](_0x588efe){if(this['activeUIs']['delete'](_0x588efe),!this['_uis']['has'](_0x588efe))throw new _0xa0ed63['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x588efe});const _0x21f6b5=this['_uis']['get'](_0x588efe);_0x21f6b5['detach'](),this['stopListening'](_0x21f6b5),this['uisData']['get'](_0x588efe)['collection']['destroy'](),this['uisData']['delete'](_0x588efe);}['switchTo'](_0x51c735){if(!this['_uis']['has'](_0x51c735))throw new _0xa0ed63['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x51c735});const _0xda549f=this['context']['plugins']['get'](Annotations),_0x13751b=Array['from'](_0xda549f['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x51c735);const _0x1b4b83=this['_uis']['get'](_0x51c735);_0x1b4b83['setActiveAnnotation'](_0x13751b),_0x1b4b83['_setSelectedAnnotations']&&_0x13751b&&_0x1b4b83['_setSelectedAnnotations']([_0x13751b]);}['deactivateAll'](){for(const _0x1cb1a4 of this['activeUIs'])this['deactivate'](_0x1cb1a4);}['register'](_0x4c1ad5,_0x1f1c20){if(this['_uis']['has'](_0x4c1ad5))throw new _0xa0ed63['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x1f1c20['attach']||'function'!=typeof _0x1f1c20['detach']||'function'!=typeof _0x1f1c20['setActiveAnnotation'])throw new _0xa0ed63['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x4c1ad5,_0x1f1c20);}['refilterAnnotations'](){const _0x211ae0=this['context']['plugins']['get'](Annotations)['collection'],_0x2c0ed9=new Map(),_0x47575f=Array['from'](this['activeUIs']);for(const _0x3a3022 of this['activeUIs']){const _0x16b9b9=this['uisData']['get'](_0x3a3022)['collection'];for(const _0x3216b0 of _0x16b9b9)_0x2c0ed9['set'](_0x3216b0,_0x3a3022);}for(const _0x1d28f2 of _0x211ae0){const _0x3490fd=_0x2c0ed9['get'](_0x1d28f2);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1d28f2);const _0x21355c=_0x47575f['find'](_0x4c7fbe=>this['uisData']['get'](_0x4c7fbe)['filter'](_0x1d28f2));_0x3490fd!==_0x21355c&&(_0x3490fd&&this['uisData']['get'](_0x3490fd)['collection']['remove'](_0x1d28f2),_0x21355c&&this['uisData']['get'](_0x21355c)['collection']['add'](_0x1d28f2));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x33987d){const _0x4cb3d1=[];for(const _0x44a8df of this['activeUIs']){(0x0,this['uisData']['get'](_0x44a8df)['filter'])(_0x33987d)&&_0x4cb3d1['push'](_0x44a8df);}if(_0x4cb3d1['length']>0x1)throw new _0xa0ed63['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x4cb3d1,'annotationType':_0x33987d['type']});}}const _0x47fc3c=/* #__PURE__ -- @preserve */
_0xa0ed63['toUnit']('px');class AnnotationsSidebarView extends _0xa0ed63['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x56d746){super(_0x56d746);const _0xe58374=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 _0xa0ed63['FocusTracker'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0xe58374['to']('class')],'style':{'minHeight':_0xe58374['to']('minHeight',_0x4ed3c8=>'number'==typeof _0x4ed3c8?_0x47fc3c(_0x4ed3c8+0xa):null)},'dir':_0x56d746['uiLanguageDirection'],'role':'application','aria-label':_0x46eb6d(_0x56d746,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x46eb6d(_0x56d746,'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',_0x1625b7=>{this['_updateItemPositionInFocusables'](_0x1625b7['source']);}),this['list']['forEach'](_0x466e5c=>{this['focusTracker']['add'](_0x466e5c['element']),this['_updateItemPositionInFocusables'](_0x466e5c);}),this['list']['on']('change',(_0x4a134c,_0x32b20f)=>{for(const _0x37c474 of _0x32b20f['removed'])this['focusTracker']['remove'](_0x37c474['element']),this['focusables']['remove'](_0x37c474);for(const _0x38d09f of _0x32b20f['added'])this['focusTracker']['add'](_0x38d09f['element']),this['_updateItemPositionInFocusables'](_0x38d09f);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x4a9df6){const _0x5d9bdc=this['focusables']['getIndex'](_0x4a9df6);let _0x1bcfcd,_0x1bd400;for(const _0x25e25e of this['focusables'])if(_0x4a9df6['top']<_0x25e25e['top']){_0x1bcfcd=_0x25e25e;break;}if(_0x1bd400=_0x1bcfcd?this['focusables']['getIndex'](_0x1bcfcd):this['focusables']['length'],-0x1!==_0x5d9bdc){if(_0x5d9bdc===_0x1bd400-0x1)return;this['focusables']['remove'](_0x4a9df6),_0x1bd400=_0x1bcfcd?this['focusables']['getIndex'](_0x1bcfcd):this['focusables']['length'];}this['focusables']['add'](_0x4a9df6,_0x1bd400);}}const _0x4c4f69=/* #__PURE__ -- @preserve */
_0xa0ed63['toUnit']('px');class AnnotationsSidebarItemView extends _0xa0ed63['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x11530e){super(_0x11530e),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x22071f,_0x55f13b)=>_0x22071f+_0x55f13b),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x18067b(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x3acbf9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x3acbf9['to']('isAnimationDisabled',_0x520c34=>_0x520c34?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x3acbf9['to']('top',_0x1f63d5=>_0x4c4f69(_0x1f63d5))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0xfff2ad=this['element']['clientHeight'];_0xfff2ad&&(this['height']=_0xfff2ad);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x4124e7 extends _0xa0ed63['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e872f){super(_0x5e872f),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 _0x50a3fd=this['context']['config']['get']('sidebar.container');_0x50a3fd&&this['setContainer'](_0x50a3fd);}['setContainer'](_0x26c722){if(!_0x492eef(_0x26c722))throw new _0xa0ed63['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x26c722;}['_attachToContainer']({viewClass:_0x430b7a='',spaceBetweenItems:_0x211189=0x19}={}){if(!_0x492eef(this['container']))throw new _0xa0ed63['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x430b7a,this['_spaceBetweenItems']=_0x211189;}['rearrange']({removedAnnotation:_0x42fe2b,previousAnnotation:_0x590779,nextAnnotation:_0x5b3c08}){const _0x3b7d62=this['getSidebarItemView'](_0x42fe2b);this['view']['list']['remove'](_0x3b7d62),this['_destroySidebarItemView'](_0x42fe2b),_0x590779&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x590779)),_0x5b3c08&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x5b3c08)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x4f1d8c,activatedAnnotation:_0x124aa4,disableAnimationOnActivatedAnnotation:_0x71263}){if(this['_activeAnnotation']=_0x124aa4,_0x4f1d8c){_0x4f1d8c['isActive']=!0x1;const _0x1a4d70=this['getSidebarItemView'](_0x4f1d8c);_0x1a4d70&&_0x71263&&(_0x1a4d70['isAnimationDisabled']=!0x1);}if(_0x124aa4){const _0x424586=this['getSidebarItemView'](_0x124aa4);_0x424586&&(_0x124aa4['isActive']=!0x0,_0x71263&&(_0x424586['isAnimationDisabled']=!0x0,_0x424586['top']+=0x1),this['_alignToTargetRect'](_0x424586));}}['_detachFromContainer'](_0x207f76){if(this['view']['element']['remove'](),_0x207f76){for(const _0x4d4b58 of _0x207f76)this['_destroySidebarItemView'](_0x4d4b58);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x23794b,_0x465f02){_0x465f02||(_0x465f02=_0x23794b['view']);const _0x5d5e6d=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x5d5e6d,_0x23794b),this['_annotationToSidebarItemView']['set'](_0x23794b,_0x5d5e6d),_0x5d5e6d['content']['add'](_0x465f02),this['listenTo'](_0x23794b['view'],'change:targetRect',(_0x40075f,_0x54efb9,_0x360f61)=>{const _0x44f821=this['_getTargetTop'](_0x23794b,_0x360f61);_0x5d5e6d['_targetTop']!=_0x44f821&&(_0x5d5e6d['_targetTop']=_0x44f821,this['_setItemTop'](_0x5d5e6d,_0x44f821));}),this['listenTo'](_0x5d5e6d,'change:top',()=>{this['_recalculate'](_0x5d5e6d,'top');}),this['listenTo'](_0x5d5e6d,'change:bottom',()=>{this['_recalculate'](_0x5d5e6d,'bottom');}),this['_alignToTargetRect'](_0x5d5e6d);const _0x4d130d=this['_getItemBefore'](_0x5d5e6d);if(_0x4d130d)this['_alignAfterItem'](_0x4d130d,_0x5d5e6d)||this['_alignToTargetRect'](_0x5d5e6d);else this['_alignToTargetRect'](_0x5d5e6d);return this['_updateLastItem'](),this['view']['list']['add'](_0x5d5e6d),_0x5d5e6d;}['_alignForTopChange'](_0x186f2b){if(!_0x186f2b['content']['length'])return;const _0xe313bf=this['_getItemBefore'](_0x186f2b);if(!_0xe313bf)return;const _0x2747ba=this['_sidebarItemViewToAnnotation']['get'](_0xe313bf),_0x53d148=this['_activeAnnotation'];_0x53d148&&_0x53d148===_0x2747ba?this['_alignAfterItem'](_0xe313bf,_0x186f2b):this['_alignBeforeItem'](_0x186f2b,_0xe313bf);}['_alignForBottomChange'](_0x3a8c90){if(!_0x3a8c90['content']['length'])return;const _0x2c488f=this['_getItemAfter'](_0x3a8c90);if(!_0x2c488f)return;const _0x5242fe=this['_sidebarItemViewToAnnotation']['get'](_0x2c488f),_0x4d9afd=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x39a676=this['_activeAnnotation'];_0x39a676&&_0x39a676===_0x5242fe&&_0x4d9afd?(this['_alignBeforeItem'](_0x2c488f,_0x3a8c90),this['_alignAfterItem'](_0x3a8c90,_0x2c488f)):_0x39a676&&_0x39a676===_0x5242fe?this['_alignBeforeItem'](_0x2c488f,_0x3a8c90):this['_alignAfterItem'](_0x3a8c90,_0x2c488f);}['_recalculate'](_0x523f80,_0x23718d){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x413388,changedProp:_0x237972}of this['_recalculateBuffer'])'top'===_0x237972?this['_alignForTopChange'](_0x413388):this['_alignForBottomChange'](_0x413388);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x523f80,'changedProp':_0x23718d});}['getSidebarItemView'](_0x92ac3f){return this['_annotationToSidebarItemView']['get'](_0x92ac3f);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0xb4da45){const _0x4fd315=this['getSidebarItemView'](_0xb4da45);this['stopListening'](_0x4fd315),this['stopListening'](_0xb4da45['view']),_0x4fd315['destroy'](),this['_annotationToSidebarItemView']['delete'](_0xb4da45),this['_sidebarItemViewToAnnotation']['delete'](_0x4fd315);}['_createSidebarView'](){const _0x185266=new AnnotationsSidebarView(this['context']['locale']);return _0x185266['render'](),this['on']('change:_lastItem',(_0x1613a4,_0x7741fa,_0x19499c,_0x6efc5a)=>{_0x6efc5a&&_0x185266['unbind']('minHeight'),_0x19499c?_0x185266['bind']('minHeight')['to'](_0x19499c,'bottom'):_0x185266['minHeight']=null;}),_0x185266;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x4623f5){const _0x22b141=this['_sidebarItemViewToAnnotation']['get'](_0x4623f5),_0xf48373=_0x22b141&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x22b141)-0x1);return _0xf48373&&this['getSidebarItemView'](_0xf48373)||null;}['_getItemAfter'](_0x2df3d8){const _0xf7bd0d=this['_sidebarItemViewToAnnotation']['get'](_0x2df3d8),_0x1a81fe=_0xf7bd0d&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0xf7bd0d)+0x1);return _0x1a81fe&&this['getSidebarItemView'](_0x1a81fe)||null;}['_alignBeforeItem'](_0x3e161f,_0x5a7605){_0x3e161f['updateHeight']();const _0x1d9394=_0x36285e(_0x5a7605['bottom']+this['_spaceBetweenItems'],_0x3e161f['top']);return!!_0x1d9394&&(this['_setItemTop'](_0x5a7605,_0x5a7605['top']-_0x1d9394),!0x0);}['_alignAfterItem'](_0x3a8a7d,_0x4f1122){_0x3a8a7d['updateHeight']();const _0x2bec5b=_0x36285e(_0x3a8a7d['bottom']+this['_spaceBetweenItems'],_0x4f1122['top']);return!!_0x2bec5b&&(this['_setItemTop'](_0x4f1122,_0x4f1122['top']+_0x2bec5b,!0x1),!0x0);}['_alignToTargetRect'](_0x4a38ec){const _0x5b3adb=this['_sidebarItemViewToAnnotation']['get'](_0x4a38ec);if(!_0x5b3adb||!_0x5b3adb['target']||!_0x5b3adb['targetRect'])return;const _0x2adcc8=this['_getTargetTop'](_0x5b3adb,_0x5b3adb['targetRect']);this['_setItemTop'](_0x4a38ec,_0x2adcc8);}['_getTargetTop'](_0x412004,_0x430c25){if(null===_0x430c25)return 0x0;if(_0x412004['target']instanceof _0xa0ed63['Rect'])return _0x430c25['top'];{const _0x4fd8fc=new _0xa0ed63['Rect'](this['view']['element'])['top'];return _0x430c25['top']-_0x4fd8fc;}}['_setItemTop'](_0xce2242,_0x3eec7a,_0x38b3f7=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x38b3f7&&(_0x3eec7a=Math['max'](_0x3eec7a,this['_getMaxAvailableTop'](_0xce2242))),_0xce2242['top']=_0x3eec7a;}['_getMaxAvailableTop'](_0x22aa0a){let _0x382f49=this['_getItemBefore'](_0x22aa0a),_0x37f4b5=0x0;for(;_0x382f49;)_0x382f49['updateHeight'](),_0x37f4b5+=this['_spaceBetweenItems']+_0x382f49['height'],_0x382f49=this['_getItemBefore'](_0x382f49);return _0x37f4b5;}}function _0x36285e(_0x3a2f64,_0x23693a){return Math['max'](_0x3a2f64-_0x23693a,0x0);}function _0x492eef(_0x1e73db){return null!==_0x1e73db&&'object'==typeof _0x1e73db&&0x1===_0x1e73db['nodeType'];}class _0x59801b extends _0xa0ed63['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x4124e7,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4fd203){super(_0x4fd203),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0xa0ed63['Collection'](),this['_refreshPositioningDebounced']=rt(()=>{_0x4fd203['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x2a6e50=this['context']['plugins']['get'](AnnotationsUIs),_0x266824=this['context']['plugins']['get'](_0x4124e7);_0x2a6e50['register']('wideSidebar',this),_0x266824['container']&&_0x2a6e50['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x2308cd){if(_0x2308cd===this['activeAnnotation'])return;const _0x36498c=this['context']['plugins']['get'](_0x4124e7);_0x36498c['_activeAnnotation']=_0x2308cd;const _0x5afa7a=this['activeAnnotation'];_0x36498c['refresh']({'blurredAnnotation':_0x5afa7a,'activatedAnnotation':_0x2308cd}),this['activeAnnotation']=_0x2308cd;}['attach'](_0x426f30){this['annotations']=_0x426f30;const _0x6b104c=this['context']['plugins']['get'](_0x4124e7);if(_0x6b104c['_annotations']=_0x426f30,this['isAttached'])throw new _0xa0ed63['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x6b104c,'set:container',()=>{this['detach'](),this['listenTo'](_0x6b104c,'change:container',_0x5a1b6e=>{_0x5a1b6e['off'](),this['attach'](_0x426f30);});}),_0x6b104c['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x3fd938=_0x3bab19=>{_0x3bab19['updateTargetRect'](),_0x6b104c['addAnnotation'](_0x3bab19);};for(const _0xfdd227 of _0x426f30)_0x3fd938(_0xfdd227);this['listenTo'](_0x426f30,'add',(_0x41469b,_0x2f5967)=>{_0x3fd938(_0x2f5967);}),this['listenTo'](_0x426f30,'remove',(_0xf6367c,_0x55ef7d,_0x719718)=>{_0x6b104c['rearrange']({'removedAnnotation':_0x55ef7d,'previousAnnotation':_0x426f30['get'](_0x719718-0x1),'nextAnnotation':_0x426f30['get'](_0x719718+0x1)}),_0x55ef7d===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x426f30,'focus',(_0x799a05,_0x1d3722)=>{this['setActiveAnnotation'](_0x1d3722);}),this['listenTo'](_0x426f30,'blur',()=>{this['setActiveAnnotation'](null);});const _0x5736b9=this['context']instanceof _0xa0ed63['Context']?this['context']['editors']:new _0xa0ed63['Collection']([this['context']]);for(const _0x21770b of _0x5736b9)this['_integrateWithEditorAnnotations'](_0x21770b);this['listenTo'](_0x5736b9,'add',(_0x4387b7,_0x3bb85c)=>{this['listenTo'](_0x3bb85c,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x3bb85c);});}),this['listenTo'](_0x5736b9,'remove',(_0x378303,_0x3cde77)=>{_0x3cde77['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x3cde77['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0xa0ed63['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x21de01=this['context']['plugins']['get'](_0x4124e7);_0x21de01['_detachFromContainer'](this['annotations']),this['stopListening'](_0x21de01),this['stopListening'](this['annotations']),this['context']instanceof _0xa0ed63['Context']&&this['stopListening'](this['context']['editors']);for(const _0x13a25f of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x13a25f);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x123d3c){if(!_0x123d3c['plugins']['has']('EditorAnnotations'))return;const _0x1d5e57=_0x123d3c['plugins']['get']('EditorAnnotations'),_0x4561af=()=>{const _0x2d6e96=_0x1d5e57['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x2d6e96[0x0]||null);};this['listenTo'](_0x1d5e57,'refresh',_0x4561af),this['listenTo'](_0x1d5e57,'blur',(_0x167ae9,{isAnnotationTracked:_0x5bff43})=>{this['activeAnnotation']&&_0x5bff43(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1d5e57,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x2b778b=>{_0x1d5e57['hasDomSelection']()&&(_0x4561af(),_0x2b778b['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1d5e57);}['_destroyEditorAnnotationsIntegration'](_0x418cad){this['stopListening'](_0x418cad),this['_editorAnnotations']['remove'](_0x418cad);}}class AnnotationCounterButtonView extends _0xa0ed63['ButtonView']{['counterView'];constructor(_0x2b1243){super(_0x2b1243);const _0x37a0c4=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x5541ba,_0xd4cced)=>_0x5541ba?'...':_0xd4cced['toString']()),this['set']('annotationType',''),this['icon']=_0xa0ed63['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0xa0ed63['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x37a0c4['to']('annotationType',_0x144832=>'ck-annotation-counter__badge--'+_0x144832),_0x37a0c4['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x37a0c4['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x5aa0e8 extends _0xa0ed63['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x4124e7,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x486146){super(_0x486146),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0xa0ed63['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0xa0ed63['Collection'](),this['_refreshPositioningDebounced']=rt(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new _0xa0ed63['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0xa0ed63['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x7d6e3c){this['annotations']=_0x7d6e3c;const _0xe1b7f9=this['context']['plugins']['get'](_0x4124e7),_0x864c50=this['balloonPanelView'];if(_0xe1b7f9['_annotations']=_0x7d6e3c,this['isAttached'])throw new _0xa0ed63['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0xe1b7f9,'set:container',()=>{this['detach'](),this['listenTo'](_0xe1b7f9,'change:container',_0x5868e5=>{_0x5868e5['off'](),this['attach'](_0x7d6e3c);});}),_0xe1b7f9['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x27266e=_0xd2c442=>{const _0x5c9329=new AnnotationCounterButtonView(this['context']['locale']);_0xe1b7f9['addAnnotation'](_0xd2c442,_0x5c9329),this['_annotationToNarrowView']['set'](_0xd2c442,_0x5c9329),_0x5c9329['bind']('isDirty','annotationType','number')['to'](_0xd2c442['view'],'isDirty','type','length'),_0x5c9329['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x864c50['content']['first']!==_0xd2c442['view']?(this['_showBalloon'](_0xd2c442),_0xd2c442['view']['element']['focus'](),this['setActiveAnnotation'](_0xd2c442)):this['setActiveAnnotation'](null);});};for(const _0x3f6448 of _0x7d6e3c)_0x27266e(_0x3f6448);this['listenTo'](_0x7d6e3c,'add',(_0x47a837,_0x2da750)=>{_0x27266e(_0x2da750);}),this['listenTo'](_0x7d6e3c,'remove',(_0x2590f0,_0x1cb884,_0x2800e1)=>{this['_annotationToNarrowView']['get'](_0x1cb884)['destroy'](),this['_annotationToNarrowView']['delete'](_0x1cb884),_0xe1b7f9['rearrange']({'removedAnnotation':_0x1cb884,'previousAnnotation':_0x7d6e3c['get'](_0x2800e1-0x1),'nextAnnotation':_0x7d6e3c['get'](_0x2800e1+0x1)}),_0x1cb884===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x7d6e3c,'focus',(_0x1eac83,_0x4dde90)=>{this['setActiveAnnotation'](_0x4dde90);}),this['listenTo'](_0x7d6e3c,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x3de4b2,_0x2fe1f0)=>{_0x2fe1f0['keyCode']===_0xa0ed63['keyCodes']['esc']&&_0x864c50['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x864c50['content']['first']),this['_hideBalloon'](),_0x2fe1f0['stopPropagation'](),_0x2fe1f0['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x11e3ca,_0x18fd48)=>{const _0x54bc31=_0x18fd48['target'];_0x864c50['isVisible']&&_0x864c50['element']['contains'](_0x54bc31)||_0xe1b7f9['view']['element']['contains'](_0x54bc31)||_0x11e3ca['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x2cab4b=>_0x2cab4b['contains'](_0x54bc31))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x585c16=this['context']instanceof _0xa0ed63['Context']?this['context']['editors']:new _0xa0ed63['Collection']([this['context']]);for(const _0x4b8ce0 of _0x585c16)this['_integrateWithEditorAnnotations'](_0x4b8ce0);this['listenTo'](_0x585c16,'add',(_0x2eab46,_0x6a6344)=>{this['listenTo'](_0x6a6344,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x6a6344);});}),this['listenTo'](_0x585c16,'remove',(_0x113aa5,_0x47a181)=>{_0x47a181['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x47a181['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x91f899){if(_0x91f899===this['activeAnnotation'])return;const _0x16e30d=this['context']['plugins']['get'](_0x4124e7);if(_0x16e30d['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x91f899,'disableAnimationOnActivatedAnnotation':!0x0}),_0x91f899)_0x16e30d['getSidebarItemView'](_0x91f899)?this['_showBalloon'](_0x91f899):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x91f899;}['detach'](){if(!this['isAttached'])throw new _0xa0ed63['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x4194ae=this['context']['plugins']['get'](_0x4124e7);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xb1da16=>_0xb1da16['destroy']()),this['_annotationToNarrowView']['clear'](),_0x4194ae['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0xa0ed63['Context']&&this['stopListening'](this['context']['editors']);for(const _0x21b569 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x21b569);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'](_0x95f3f5){if(!_0x95f3f5['plugins']['has']('EditorAnnotations'))return;const _0x1ca54f=_0x95f3f5['plugins']['get']('EditorAnnotations'),_0x5d7c07=this['context']['plugins']['get'](_0x4124e7),_0x38c4c9=this['annotations'],_0x1a8eac=this['balloonPanelView'],_0x246833=()=>{const _0x2b44b5=_0x1ca54f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x2b44b5),this['setActiveAnnotation'](_0x2b44b5[0x0]||null);};this['listenTo'](_0x1ca54f,'refresh',_0x246833),this['listenTo'](_0x1ca54f,'blur',(_0x3486d2,{isAnnotationTracked:_0x1cb4d4})=>{this['activeAnnotation']&&_0x1cb4d4(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1ca54f,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x38c4c9,'blur',_0x3fa6fc=>{_0x1ca54f['hasDomSelection']()&&_0x3fa6fc['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x5ed77f,_0x460d71)=>{const _0x48e7c3=_0x460d71['target'];_0x1a8eac['isVisible']&&_0x1a8eac['element']['contains'](_0x48e7c3)||_0x5d7c07['view']['element']['contains'](_0x48e7c3)||this['activeAnnotation']&&_0x1ca54f['hasDomSelection']()&&(_0x246833(),_0x5ed77f['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1ca54f);}['_destroyEditorAnnotationsIntegration'](_0x47c9fc){_0x47c9fc&&(this['stopListening'](_0x47c9fc),this['_editorAnnotations']['remove'](_0x47c9fc));}['_setSelectedAnnotations'](_0x196338){for(const _0x19d3f1 of this['_selectedAnnotations'])_0x196338['includes'](_0x19d3f1)||this['_manuallyClosedAnnotationViews']['delete'](_0x19d3f1['view']);this['_selectedAnnotations']=_0x196338;}['_refreshPositioning'](){const _0x407c65=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x407c65['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0xc40bd9){if(this['_manuallyClosedAnnotationViews']['has'](_0xc40bd9['view']))return;const _0x2eb9ca=this['balloonPanelView']['content']['first'];_0x2eb9ca!==_0xc40bd9['view']?(_0x2eb9ca&&this['_detachListeners'](_0x2eb9ca),this['_attachListeners'](_0xc40bd9['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0xc40bd9['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x557776=this['balloonPanelView']['content']['first'],_0x4d37db=_0x557776&&this['annotations']['getByView'](_0x557776);if(!_0x4d37db||!this['_annotationToNarrowView']['has'](_0x4d37db))return;const _0x27e316=this['_annotationToNarrowView']['get'](_0x4d37db)['element'],_0x558cd6=(function(){const _0x3beb5b=_0xa0ed63['BalloonPanelView']['defaultPositions'];return[_0x3beb5b['southArrowNorthEast'],_0x3beb5b['northArrowSouthEast'],_0x3beb5b['southArrowNorth'],_0x3beb5b['northArrowSouth'],_0x3beb5b['southArrowNorthWest'],_0x3beb5b['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x27e316,'positions':_0x558cd6});}['_hideBalloon'](){const _0x34d47c=this['balloonPanelView'],_0x37d10b=_0x34d47c['content']['first'];_0x37d10b&&(this['_detachListeners'](_0x37d10b),_0x34d47c['unpin'](),_0x34d47c['content']['clear']());}['_attachListeners'](_0x2fbaee){this['listenTo'](_0x2fbaee,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x2fbaee,'Esc',(_0x10ab8f,_0x2386fe)=>{this['_manuallyClosedAnnotationViews']['add'](_0x2fbaee),this['_hideBalloon'](),_0x2386fe();});}['_detachListeners'](_0x27841b){this['stopListening'](_0x27841b);}}class InlineAnnotations extends _0xa0ed63['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,_0xa0ed63['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e5ef5){super(_0x4e5ef5),_0x4e5ef5['editing']['view']['addObserver'](_0xa0ed63['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x4e5ef5['plugins']['get'](_0xa0ed63['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=rt(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x47bdca=this['editor']['plugins']['get'](AnnotationsUIs);_0x47bdca['context']===this['editor']&&(_0x47bdca['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x285d9e,_0x40b86e)=>{const _0x555b1b=this['_balloon'];if(this['isAttached']&&_0x555b1b['visibleView']){const _0x15112b=this['annotations']['getByView'](_0x555b1b['visibleView']);_0x15112b&&this['_closeAnnotation'](_0x15112b),_0x40b86e();}}));}['afterInit'](){const _0x2d0067=this['editor']['plugins']['get'](AnnotationsUIs);_0x2d0067['context']===this['editor']&&(_0x2d0067['hasActive']()||_0x2d0067['switchTo']('inline'));}['setActiveAnnotation'](_0xc2aa11){_0xc2aa11!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0xc2aa11&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0xc2aa11)&&this['_addAnnotationToBalloon'](_0xc2aa11,!0x0),_0xc2aa11['isActive']=!0x0),_0xc2aa11||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0xc2aa11);}['attach'](_0x5dd622){this['annotations']=_0x5dd622;const _0x22e421=this['editor']['plugins']['get'](AnnotationsUIs),_0x578025=this['_balloon'];if(this['isAttached'])throw new _0xa0ed63['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x22e421['context']!==this['editor'])throw new _0xa0ed63['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x91157f=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x91157f,'refresh',()=>{const _0x16db54=_0x91157f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x3d70c3,_0x1b98d2;!this['_forceRefresh']&&(_0x3d70c3=_0x16db54,_0x1b98d2=this['_selectedAnnotations'],_0x3d70c3['length']===_0x1b98d2['length']&&_0x3d70c3['every'](_0x2b6988=>_0x1b98d2['includes'](_0x2b6988)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x16db54),this['setActiveAnnotation'](_0x16db54[0x0]||null));}),this['listenTo'](_0x91157f,'blur',(_0x2d78b1,{isAnnotationTracked:_0x280b40})=>{this['activeAnnotation']&&_0x280b40(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x91157f,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x50c981,_0x5aaa84,_0x24127c)=>{_0x24127c||this['setActiveAnnotation'](null);}),this['listenTo'](_0x5dd622,'remove',(_0x5bf6aa,_0x5ddf02)=>{this['_removeAnnotationFromBalloon'](_0x5ddf02),_0x5ddf02===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x578025,'change:visibleView',(_0x392e26,_0x4a78d6,_0x559206,_0x19af19)=>{_0x19af19&&this['stopListening'](_0x19af19);const _0x26ac1e=_0x5dd622['getByView'](_0x559206);_0x559206&&_0x26ac1e&&(this['listenTo'](_0x559206,'change:height',()=>{_0x578025['updatePosition']();}),this['listenTo'](_0x559206,'Esc',()=>{this['_closeAnnotation'](_0x26ac1e),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x26ac1e&&this['setActiveAnnotation'](_0x26ac1e));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x578025['visibleView']&&(_0x5dd622['getByView'](_0x578025['visibleView'])&&_0x578025['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 _0xa0ed63['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x3187e3 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x3187e3);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x58b72c){for(const _0x5a01a3 of this['_selectedAnnotations'])_0x58b72c['includes'](_0x5a01a3)||this['_manuallyClosed']['delete'](_0x5a01a3);for(const _0x38fe51 of this['annotations'])_0x58b72c['includes'](_0x38fe51)||this['_removeAnnotationFromBalloon'](_0x38fe51);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x341df5 of _0x58b72c)this['_addAnnotationToBalloon'](_0x341df5);}this['_selectedAnnotations']=_0x58b72c;}['_addAnnotationToBalloon'](_0x2a0c2f,_0x1e13df=!0x1){this['_manuallyClosed']['has'](_0x2a0c2f)||(this['_addedAnnotations']['has'](_0x2a0c2f)||this['_balloon']['hasView'](_0x2a0c2f['view'])||(this['_addedAnnotations']['add'](_0x2a0c2f),this['_balloon']['add']({'stackId':_0x2a0c2f['view']['id'],'view':_0x2a0c2f['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x2a0c2f)}})),_0x1e13df&&this['_balloon']['showStack'](_0x2a0c2f['view']['id']));}['_getBalloonTargetForAnnotation'](_0x14903e){const _0x1814eb=_0x14903e['target'],_0x1939c7=this['editor']['editing']['view'],_0xf19e26=_0x1939c7['document']['selection']['getFirstRange'](),_0x1747d9=_0x1939c7['domConverter']['viewRangeToDom'](_0xf19e26);if(_0x1747d9['collapse'](!0x0),_0x1814eb){if(_0x1814eb instanceof _0xa0ed63['Rect'])return _0x1814eb;let _0x54bf61=[];for(const _0x30496b of _0x1814eb)_0x54bf61['push'](..._0x3e9a61(_0x30496b['getClientRects']()));_0x54bf61=function(_0x5719d0){const _0x1ce2dd=[];let _0x1bf13d=_0x5719d0[0x0];for(let _0x497ebb=0x1;_0x497ebb<_0x5719d0['length'];_0x497ebb++)_0x36cd84(_0x1bf13d,_0x5719d0[_0x497ebb])?_0x1bf13d['width']+=_0x5719d0[_0x497ebb]['width']:(_0x1ce2dd['push'](_0x1bf13d),_0x1bf13d=_0x5719d0[_0x497ebb]);return _0x1ce2dd['push'](_0x1bf13d),_0x1ce2dd;}(_0x54bf61);const _0x3c3ce8=_0x1747d9['getBoundingClientRect']();return _0x54bf61['find'](_0x69602c=>_0x69602c['top']<=_0x3c3ce8['top']&&_0x69602c['bottom']>=_0x3c3ce8['bottom']&&_0x69602c['left']<=_0x3c3ce8['left']&&_0x69602c['right']>=_0x3c3ce8['right'])||_0x54bf61[0x0];}return _0x14903e['targetRect']||_0x1747d9;}['_removeAnnotationFromBalloon'](_0x291e78){this['_addedAnnotations']['has'](_0x291e78)&&this['_balloon']['hasView'](_0x291e78['view'])&&(this['_addedAnnotations']['delete'](_0x291e78),this['_balloon']['remove'](_0x291e78['view']));}['_closeAnnotation'](_0x3305d8){this['_manuallyClosed']['add'](_0x3305d8),this['_removeAnnotationFromBalloon'](_0x3305d8);}}function _0x3e9a61(_0x46367d){return Array['from'](_0x46367d)['map'](DOMRect['fromRect']);}function _0x36cd84(_0x3050d7,_0x2ba6cd){return _0x3050d7['top']===_0x2ba6cd['top']&&_0x3050d7['bottom']===_0x2ba6cd['bottom']&&_0x3050d7['right']===_0x2ba6cd['left'];}class CommentsArchiveView extends _0xa0ed63['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x2a51c8,_0x5021dc){super(_0x2a51c8),this['set']('isEmpty',!_0x5021dc['length']),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['_annotationViews']=_0x5021dc,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':_0x5021dc,'focusTracker':this['focusTracker']}),this['listenTo'](_0x5021dc,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x5021dc,'remove',(_0x49f058,_0x2aee1a)=>{_0x2aee1a['isActive']&&this['focus'](),_0x5021dc['length']||(this['isEmpty']=!0x0);});const _0x2c4ea2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x46eb6d(_0x2a51c8,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x5021dc},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x2c4ea2['if']('isEmpty','ck-hidden',_0x3e7e82=>!_0x3e7e82)]},'children':[{'text':_0x46eb6d(_0x2a51c8,'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 _0x1bbc1f of this['_annotationViews'])this['focusTracker']['add'](_0x1bbc1f['element']);this['_annotationViews']['on']('change',(_0x217fa9,{added:_0x465cbc,removed:_0x3c7d01})=>{for(const _0x3a7333 of _0x465cbc)this['focusTracker']['add'](_0x3a7333['element']);for(const _0x186919 of _0x3c7d01)this['focusTracker']['remove'](_0x186919['element']);});}}class CommentsArchive extends _0xa0ed63['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x2ac75b){super(_0x2ac75b),this['archivedThreads']=new _0xa0ed63['Collection']();}['init'](){const _0x542b48=this['context'],_0x52cd76=_0x542b48['plugins']['get'](CommentsRepository),_0x1efcd9=_0x542b48['plugins']['get'](Annotations);this['listenTo'](_0x52cd76,'addCommentThread',(_0x5ec900,{threadId:_0x444e2d})=>{const _0x33bd13=_0x52cd76['getCommentThread'](_0x444e2d);_0x33bd13['archivedAt']&&this['archivedThreads']['add'](_0x33bd13,this['_calculatePosition'](_0x33bd13['archivedAt'])),this['listenTo'](_0x33bd13,'change:archivedAt',(_0x1bfdee,_0x360470,_0x159d8b)=>{_0x159d8b?this['archivedThreads']['has'](_0x33bd13)||this['archivedThreads']['add'](_0x33bd13,this['_calculatePosition'](_0x33bd13['archivedAt'])):this['archivedThreads']['has'](_0x33bd13)&&this['archivedThreads']['remove'](_0x33bd13);});}),this['listenTo'](_0x52cd76,'removeCommentThread',(_0x18f8ee,{threadId:_0x3a97b5})=>{const _0x3d184b=_0x52cd76['getCommentThread'](_0x3a97b5);this['stopListening'](_0x3d184b),this['archivedThreads']['has'](_0x3d184b)&&this['archivedThreads']['remove'](_0x3d184b);},{'priority':'highest'}),this['listenTo'](_0x1efcd9['collection'],'focus',(_0x4c8091,_0x7cffc6)=>{_0x7cffc6['isVisible']||(_0x7cffc6['isActive']=!0x0,_0x1efcd9['activate'](_0x7cffc6));});}['_calculatePosition'](_0x51e2f9){const _0x1c886b=[...this['archivedThreads']]['findIndex'](_0xea37e8=>_0xea37e8['archivedAt']<_0x51e2f9);return _0x1c886b>-0x1?_0x1c886b:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0xa0ed63['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,_0xa0ed63['Dialog']];}constructor(_0x550a3d){super(_0x550a3d),this['annotationViews']=new _0xa0ed63['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x43d7a8=this['editor'],_0x5ef445=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x43d7a8['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0xa0ed63['ButtonView'],!0x0)),_0x43d7a8['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x442d2e=this['_createCommentsArchiveButton'](_0xa0ed63['MenuBarMenuListItemButtonView']);return _0x442d2e['set']({'role':'menuitemcheckbox'}),_0x442d2e;});const _0xe31950=_0x43d7a8['plugins']['get'](CommentsArchive),_0x4492a6=_0x43d7a8['plugins']['get']('Annotations'),_0x45f442=_0x43d7a8['plugins']['get']('CommentsRepository');_0xe31950['archivedThreads']['forEach'](_0x49ce21=>{this['_handleNewThread'](_0x49ce21);}),this['listenTo'](_0xe31950['archivedThreads'],'add',(_0x2fa620,_0x1b836d)=>{this['_handleNewThread'](_0x1b836d);}),this['listenTo'](_0x4492a6['collection'],'add',(_0x1d8f3f,_0x304a5a)=>{const _0x5a2d40=this['_pendingThreads']['find'](_0x45b7ae=>{const _0xa3a03c=_0x45f442['_threadToController']['get'](_0x45b7ae);return _0xa3a03c&&_0x304a5a['innerView']===_0xa3a03c['view'];});if(_0x5a2d40){const _0x1d4d5b=this['_calculatePosition'](_0x5a2d40['archivedAt']);this['_addAnnotationToArchive'](_0x304a5a,_0x1d4d5b),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x5a2d40),0x1);}}),this['listenTo'](_0xe31950['archivedThreads'],'remove',(_0x5ef7dc,_0x303287)=>{const _0x284785=_0x43d7a8['config']['get']('collaboration.channelId');if(!_0x284785||_0x303287['channelId']===_0x284785){if(this['_pendingThreads']['includes'](_0x303287))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x303287),0x1);else{const _0x3c3869=_0x45f442['_threadToController']['get'](_0x303287),_0x36c3bd=_0x4492a6['getByInnerView'](_0x3c3869['view']);this['annotationViews']['remove'](_0x36c3bd['view']),this['stopListening'](_0x36c3bd),this['stopListening'](_0x36c3bd['focusableElements']);}}}),this['listenTo'](_0x4492a6['collection'],'add',(_0x3f938e,_0x3defa5)=>{this['listenTo'](_0x3defa5,'escape',_0x5ef445);}),this['listenTo'](_0x4492a6['collection'],'remove',(_0x2c5f2f,_0x2881ed)=>{this['stopListening'](_0x2881ed,'escape',_0x5ef445);});}['_addAnnotationToArchive'](_0x1c272f,_0x44b00d){this['listenTo'](_0x1c272f,'set:isVisible',_0xf53131=>{_0xf53131['return']=!0x1,_0xf53131['stop']();}),this['annotationViews']['add'](_0x1c272f['view'],_0x44b00d);}['_handleNewThread'](_0x430c19){const _0x127e35=this['editor']['plugins']['get']('CommentsRepository'),_0x3a2db4=this['editor']['plugins']['get']('Annotations'),_0x4bdc3f=this['editor']['config']['get']('collaboration.channelId');if(!_0x4bdc3f||_0x430c19['channelId']===_0x4bdc3f){const _0x32e717=_0x127e35['_threadToController']['get'](_0x430c19);if(!_0x32e717)return void this['_pendingThreads']['push'](_0x430c19);const _0x54e9a6=this['_calculatePosition'](_0x430c19['archivedAt']),_0xd4de75=_0x3a2db4['getByInnerView'](_0x32e717['view']);_0xd4de75['isVisible']&&_0x3a2db4['_visibleAnnotations']['remove'](_0xd4de75),this['_addAnnotationToArchive'](_0xd4de75,_0x54e9a6);}}['_calculatePosition'](_0x338c9c){const _0x814da0=this['editor']['config']['get']('collaboration.channelId'),_0x20738b=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x4622d2=>_0x4622d2['channelId']===_0x814da0)['findIndex'](_0x10d441=>_0x10d441['archivedAt']<_0x338c9c);return _0x20738b<0x0||_0x20738b>this['annotationViews']['length']?this['annotationViews']['length']:_0x20738b-0x1;}['_toggleDialog'](){const _0x40c377=this['editor'],_0x25af78=_0x40c377['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x40c377['locale'],this['annotationViews'])),'commentsArchive'===_0x25af78['id']?_0x25af78['hide']():_0x25af78['show']({'id':'commentsArchive','title':_0x46eb6d(_0x40c377['locale'],'COMMENTS_ARCHIVE'),'icon':_0xa0ed63['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0xa0ed63['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x14b596,_0x1d22fb=!0x1){const _0x496cf0=this['editor']['locale'],_0x82ae59=this['editor']['plugins']['get']('Dialog'),_0xb391b0=new _0x14b596(_0x496cf0);return _0xb391b0['bind']('isEnabled')['to'](this,'isEnabled'),_0xb391b0['bind']('isOn')['to'](_0x82ae59,'id',_0x32ce22=>'commentsArchive'===_0x32ce22),_0xb391b0['set']({'label':_0x46eb6d(_0x496cf0,'COMMENTS_ARCHIVE'),'icon':_0xa0ed63['IconCommentsArchive'],'isToggleable':!0x0}),_0x1d22fb&&(_0xb391b0['tooltip']=!0x0),this['listenTo'](_0xb391b0,'execute',()=>this['_toggleDialog']()),_0xb391b0;}['_hideDialogOnAnnotationEscape']=_0xea9990=>{const _0x569777=_0xea9990['source'];if(!this['annotationViews']['has'](_0x569777['view']))return;const _0x3c6f35=this['editor']['plugins']['get']('Dialog');_0x3c6f35['isOpen']&&'commentsArchive'===_0x3c6f35['id']&&(_0x3c6f35['hide'](),_0xea9990['stop']());};}class Comments extends _0xa0ed63['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x59801b,_0x5aa0e8,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0xcd080c(_0x4b28ff){let _0x474ff1='';for(const _0x3b444a of _0x4b28ff['getChildren']())_0x3b444a instanceof _0xa0ed63['ModelText']&&(_0x474ff1+=_0x3b444a['data']);return _0x474ff1;}class DocumentOutlineUtils extends _0xa0ed63['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1444ce=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x12b7bc=[];_0x1444ce['model']['document']['on']('change',rt(()=>{const _0x181034=_0x12b7bc;_0x12b7bc=this['_getOutlineDefinitions']();const _0x58f843=_0xa0ed63['diff'](_0x181034,_0x12b7bc,(_0x46f2aa,_0xf8b893)=>_0x46f2aa['level']===_0xf8b893['level']&&_0x46f2aa['text']===_0xf8b893['text']&&_0x46f2aa['modelElement']===_0xf8b893['modelElement']),_0x288d06=_0xa0ed63['diffToChanges'](_0x58f843,_0x12b7bc),_0x196936=this['_getActiveHeading'](),_0x5dff24=_0x12b7bc['findIndex'](_0x3f7efa=>_0x3f7efa['modelElement']===_0x196936);_0x288d06['length']&&this['fire']('change',{'outlineDefinitions':_0x12b7bc,'activeItemIndex':_0x5dff24,'outlineChanges':_0x288d06}),this['fire']('activeItemIndex',{'index':_0x5dff24});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x93d218=this['editor'],_0x5dbca5=[],_0x45da53=this['_headingNames'];for(const _0x5b3959 of _0x93d218['model']['document']['getRootNames']())_0x48dfc3(_0x93d218['model']['document']['getRoot'](_0x5b3959));function _0x48dfc3(_0x553b38){for(const _0x12967c of _0x553b38['getChildren']())_0x12967c['is']('element')&&(_0x45da53['includes'](_0x12967c['name'])&&_0x5dbca5['push']({'level':_0x45da53['indexOf'](_0x12967c['name'])+0x1,'text':_0xcd080c(_0x12967c),'modelElement':_0x12967c}),_0x48dfc3(_0x12967c));}return _0x5dbca5;}['_getActiveHeading'](){const _0x1a65a8=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5d7f88=new _0xa0ed63['ModelTreeWalker']({'direction':'backward','startPosition':_0x1a65a8});for(const _0x3c76e4 of _0x5d7f88)if(_0x3c76e4['item']['is']('element')&&this['_headingNames']['includes'](_0x3c76e4['item']['name']))return _0x3c76e4['item'];}['_getHeadingNames'](){const _0x5437bf=this['editor']['config']['get']('documentOutline.headings');return _0x5437bf||function(_0x3fe7a4){const _0x23b587=_0x3fe7a4['config']['get']('heading.options');return _0x23b587?_0x23b587['reduce']((_0x343f9e,_0x2e1f3c)=>('paragraph'!==_0x2e1f3c['model']&&_0x343f9e['push'](_0x2e1f3c['model']),_0x343f9e),[]):_0x3fe7a4['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5ce975=this['editor'],_0x2a955e=['h1','h2','h3','h4','h5','h6'],_0x80c84c=[];for(const _0x413962 of _0x2a955e){const _0x36a2db=_0x5ce975['editing']['view']['domConverter']['domToView'](document['createElement'](_0x413962)),_0x1e7e91=_0x5ce975['data']['toModel'](_0x36a2db)['getChild'](0x0);_0x1e7e91?.['is']('element')&&_0x80c84c['push'](_0x1e7e91['name']);}this['_headingNames']=_0x80c84c;}}function _0x174be8(_0x311797,_0x378d6c){const t=_0x311797['t'];switch(_0x378d6c){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 _0x378d6c;}}class DocumentOutlineItemView extends _0xa0ed63['View']{constructor(_0x4dda8d,_0x3b3241=!0x1){super(_0x4dda8d);const _0x2ff0ee=this['bindTemplate'],_0x57d051=_0x3b3241?'['+_0x174be8(_0x4dda8d,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1ebe2f=>!_0x1ebe2f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x2ff0ee['to']('level',_0x32c64f=>'ck-document-outline__item_level-'+_0x32c64f),_0x2ff0ee['if']('isActive','ck-document-outline__item_active'),_0x2ff0ee['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x2ff0ee['to']('text')},'children':[{'text':_0x2ff0ee['to']('text',_0x271a9b=>_0x271a9b||_0x57d051)}],'on':{'click':_0x2ff0ee['to']('click')}});}}class DocumentOutlineView extends _0xa0ed63['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x3da834,_0x7462f5=!0x1,_0x2ac4b4){super(_0x3da834),this['showEmptyHeadingText']=_0x7462f5,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x2ac4b4,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x20b5ae,_0x419340,_0x15884a,_0x1a5afe)=>{this['_setActiveItem'](_0x1a5afe,_0x15884a);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3da834['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0x174be8(_0x3da834,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x45c56d){_0x45c56d['forEach'](_0x1e1423=>{'insert'==_0x1e1423['type']?this['_insertItem'](_0x1e1423['index'],..._0x1e1423['values']):'delete'==_0x1e1423['type']&&this['_deleteItem'](_0x1e1423['index'],_0x1e1423['howMany']);});}['_setActiveItem'](_0x4d89d8,_0x5d5628){if(-0x1!==_0x4d89d8){const _0x3c7824=this['items']['get'](_0x4d89d8);_0x3c7824&&(_0x3c7824['isActive']=!0x1);}-0x1!==_0x5d5628&&(this['items']['get'](_0x5d5628)['isActive']=!0x0,this['_scrollToItem'](_0x5d5628));}['_insertItem'](_0x587a60,..._0x3fc879){const _0x5d5e63=_0x3fc879['map']((_0x377543,_0x236de4)=>{const _0x4f6300=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x4f6300['text']=_0x377543['text'],_0x4f6300['level']=_0x377543['level'],_0x587a60+_0x236de4===this['activeItemIndex']&&(_0x4f6300['isActive']=!0x0),_0x4f6300;});this['items']['addMany'](_0x5d5e63,_0x587a60);}['_deleteItem'](_0x407682,_0x2c8ccb){do{this['items']['remove'](_0x407682);}while(--_0x2c8ccb);}['_handleItemClick'](_0x212062){const _0x14c4f6=this['items']['getIndex'](_0x212062['source']);this['fire']('itemSelected',_0x14c4f6);}['_scrollToItem'](_0x267148){_0xa0ed63['scrollAncestorsToShowTarget'](this['items']['get'](_0x267148)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0xa0ed63['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ebe7d){super(_0x1ebe7d),this['view']=new DocumentOutlineView(_0x1ebe7d['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=ot(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x5e8a17=this['editor'],_0x5b36c5=_0x5e8a17['plugins']['get']('DocumentOutlineUtils');let _0x2b1919=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5e8a17['config']['get']('documentOutline.container'))throw new _0xa0ed63['CKEditorError']('document-outline-container-not-provided',{'editor':_0x5e8a17});_0x5e8a17['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x5b36c5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x5b36c5['on']('activeItemIndex',(_0x1a7456,{index:_0x5c2b52})=>this['_setActiveViewItem'](_0x5c2b52)),this['view']['on']('itemSelected',(_0x5242e6,_0x269599)=>{_0x2b1919=!0x0,this['_handleItemSelected'](_0x269599);}),this['view']['listenTo'](_0xa0ed63['global']['document'],'scroll',()=>{_0x2b1919?_0x2b1919=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0xa0ed63['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x465b57){const _0x1c91da=_0x51640b([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x5807d3=0x1cb264a3,_0xcb47c7=0x1cb5eb63^_0x5807d3,_0x3af242=window[_0x51640b([0x44,0x61,0x74,0x65])][_0x51640b([0x6e,0x6f,0x77])](),_0x272431=_0x465b57[_0x51640b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f150c=new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c4385=>{_0x272431[_0x51640b([0x6f,0x6e,0x63,0x65])](_0x51640b([0x72,0x65,0x61,0x64,0x79]),_0x2c4385);}),_0x2358a2={[_0x51640b([0x6b,0x74,0x79])]:_0x51640b([0x45,0x43]),[_0x51640b([0x75,0x73,0x65])]:_0x51640b([0x73,0x69,0x67]),[_0x51640b([0x63,0x72,0x76])]:_0x51640b([0x50,0x2d,0x32,0x35,0x36]),[_0x51640b([0x78])]:_0x51640b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x51640b([0x79])]:_0x51640b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x51640b([0x61,0x6c,0x67])]:_0x51640b([0x45,0x53,0x32,0x35,0x36])},_0x335212=_0x272431[_0x51640b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51640b([0x67,0x65,0x74])](_0x51640b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x130c97(){let _0x40cae5,_0x2f6f65=null,_0x13f7de=null;try{if(_0x335212==_0x51640b([0x47,0x50,0x4c]))return _0x51640b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40cae5=_0x12d867(),!_0x40cae5)return _0x51640b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40cae5[_0x51640b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13f7de=_0x4af468(_0x40cae5[_0x51640b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40cae5[_0x51640b([0x6a,0x74,0x69])])),await _0xac1c7b()?_0x46a77e()?_0x456273()?_0x51640b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x328ecc()?(_0x40cae5[_0x51640b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51640b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f6f65=_0x12d858(_0x51640b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4732f1()):_0x51640b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51640b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51640b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51640b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x456273(){const _0x5438d6=[_0x51640b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51640b([0x74,0x72,0x69,0x61,0x6c])][_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cae5[_0x51640b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3af242/0x3e8:0xe10*_0xcb47c7;return _0x40cae5[_0x51640b([0x65,0x78,0x70])]<_0x5438d6;}function _0x46a77e(){const _0x38ced5=_0x40cae5[_0x51640b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38ced5&&(!!_0x38ced5[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51640b([0x2a]))||(!!_0x38ced5[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51640b([0x44,0x4f]))||(!!_0x38ced5[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51640b([0x50,0x50]))||!(!_0x38ced5[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51640b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x31feef()))));}function _0x328ecc(){const _0x370a65=_0x40cae5[_0x51640b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x370a65||0x0==_0x370a65[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x168ba1}=new URL(window[_0x51640b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x370a65[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x168ba1))return!0x0;const _0xdfe4f3=_0x168ba1[_0x51640b([0x73,0x70,0x6c,0x69,0x74])](_0x51640b([0x2e]));return _0x370a65[_0x51640b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa7a3f4=>_0xa7a3f4[_0x51640b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51640b([0x2a])))[_0x51640b([0x6d,0x61,0x70])](_0x38fc0=>_0x38fc0[_0x51640b([0x73,0x70,0x6c,0x69,0x74])](_0x51640b([0x2e])))[_0x51640b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1389f5=>_0x1389f5[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdfe4f3[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51640b([0x6d,0x61,0x70])](_0x4e2e4e=>Array(_0xdfe4f3[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e2e4e[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51640b([0x66,0x69,0x6c,0x6c])](_0x4e2e4e[0x0]===_0x51640b([0x2a])?_0x51640b([0x2a]):'')[_0x51640b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e2e4e))[_0x51640b([0x73,0x6f,0x6d,0x65])](_0x4857bd=>_0xdfe4f3[_0x51640b([0x65,0x76,0x65,0x72,0x79])]((_0x4577af,_0x7f43ce)=>_0x4857bd[_0x7f43ce]===_0x4577af||_0x4857bd[_0x7f43ce]===_0x51640b([0x2a])));}function _0x4732f1(){return _0x2f6f65&&_0x13f7de?new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ffb6f,_0x58f211)=>{_0x2f6f65[_0x51640b([0x74,0x68,0x65,0x6e])](_0x4ffb6f,_0x58f211),_0x13f7de[_0x51640b([0x74,0x68,0x65,0x6e])](_0x48b867=>{_0x48b867!=_0x51640b([0x56,0x61,0x6c,0x69,0x64])&&_0x4ffb6f(_0x48b867);},_0x58f211);}):_0x2f6f65||_0x13f7de||_0x51640b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4af468(_0x4dd1b2,_0x452570){return new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3de786=>{if(_0x1249de())return _0x3de786(_0x51640b([0x56,0x61,0x6c,0x69,0x64]));_0x509a0c(),_0x272431[_0x51640b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51640b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dc88e=!0x1;const _0x214e4f=_0xa0ed63['uid']();function _0x53464d(_0x351b87){return!!_0x351b87&&(typeof _0x351b87===_0x51640b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x351b87===_0x51640b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x351b87[_0x51640b([0x74,0x68,0x65,0x6e])]===_0x51640b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x351b87[_0x51640b([0x63,0x61,0x74,0x63,0x68])]===_0x51640b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fbbf4(_0x1da77c){_0x1c29cc(_0x1da77c)[_0x51640b([0x74,0x68,0x65,0x6e])](_0x53f30c=>{if(!_0x53f30c||_0x53f30c[_0x51640b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51640b([0x6f,0x6b]))return _0x51640b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x232f74(_0xc191a1(_0x214e4f+_0x452570))!=_0x53f30c[_0x51640b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51640b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51640b([0x56,0x61,0x6c,0x69,0x64]);})[_0x51640b([0x74,0x68,0x65,0x6e])](_0x46bbcd=>(_0x3ee106(),_0x46bbcd),()=>{const _0x4ec7fc=_0x20b20e();return null==_0x4ec7fc?(_0x3ee106(),_0x51640b([0x56,0x61,0x6c,0x69,0x64])):_0x51640b(_0x3af242-_0x4ec7fc>(0x38bee0a3^_0x5807d3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51640b([0x74,0x68,0x65,0x6e])](_0x3de786)[_0x51640b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3de786(_0x51640b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44fdc0=0x1c848a23^_0x5807d3;function _0x3ee106(){const _0x5e7550=_0x51640b([0x6c,0x6c,0x63,0x74,0x2d])+_0x232f74(_0xc191a1(_0x4dd1b2)),_0x22dcb0=_0x56c04f(_0x232f74(window[_0x51640b([0x4d,0x61,0x74,0x68])][_0x51640b([0x63,0x65,0x69,0x6c])](_0x3af242/_0x44fdc0)));window[_0x51640b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51640b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e7550,_0x22dcb0);}function _0x20b20e(){const _0x1ed723=_0x51640b([0x6c,0x6c,0x63,0x74,0x2d])+_0x232f74(_0xc191a1(_0x4dd1b2)),_0x25eba8=window[_0x51640b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51640b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ed723);return _0x25eba8?window[_0x51640b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56c04f(_0x25eba8),0x10)*_0x44fdc0:null;}function _0x1c29cc(_0x35da19){return new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cc9b3,_0x257ec2)=>{_0x35da19[_0x51640b([0x74,0x68,0x65,0x6e])](_0x1cc9b3,_0x257ec2),window[_0x51640b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x257ec2,0x1cb3b063^_0x5807d3);});}}_0x272431[_0x51640b([0x6f,0x6e])](_0x51640b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15eb7a,_0x15b0bc)=>{if(_0x15b0bc[0x0]!=_0x4dd1b2)return _0x3de786(_0x51640b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15b0bc[0x1]={..._0x15b0bc[0x1],[_0x51640b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x214e4f};},{[_0x51640b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51640b([0x68,0x69,0x67,0x68])}),_0x272431[_0x51640b([0x6f,0x6e])](_0x51640b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15172f=>{_0x53464d(_0x15172f[_0x51640b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dc88e=!0x0,_0x4fbbf4(_0x15172f[_0x51640b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51640b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51640b([0x6c,0x6f,0x77])}),_0x4f150c[_0x51640b([0x74,0x68,0x65,0x6e])](()=>{_0x3dc88e||_0x3de786(_0x51640b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1249de(){return _0x272431[_0x51640b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51640b([0x76,0x69,0x65,0x77])][_0x51640b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51640b([0x61,0x75,0x74,0x6f]);}function _0x509a0c(){_0x272431[_0x51640b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51640b([0x76,0x69,0x65,0x77])][_0x51640b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51640b([0x61,0x75,0x74,0x6f]);}}function _0x12d858(_0x3052e5){const _0x47a5e4=[new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c2a8=>setTimeout(_0x38c2a8,0x1cbb5a6f^_0x5807d3)),_0x4f150c[_0x51640b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb12d61=>{let _0x19b3ab=0x0;_0x272431[_0x51640b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51640b([0x6f,0x6e])](_0x51640b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b5426,_0x1586f4)=>{_0x1586f4[0x0][_0x51640b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19b3ab++,_0x19b3ab==(0x1cb2614b^_0x5807d3)&&(_0xb12d61(),_0x5b5426[_0x51640b([0x6f,0x66,0x66])]());});}))];return window[_0x51640b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51640b([0x72,0x61,0x63,0x65])](_0x47a5e4)[_0x51640b([0x74,0x68,0x65,0x6e])](()=>_0x3052e5);}async function _0x1b0fe9(){await _0x4f150c,_0x272431[_0x51640b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51640b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x469da7,_0x272431[_0x51640b([0x6d,0x6f,0x64,0x65,0x6c])][_0x51640b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x469da7,_0x272431[_0x51640b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51640b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31feef(){return window[_0x51640b([0x67,0x6c,0x6f,0x62])]&&window[_0x51640b([0x67,0x6c,0x6f,0x62])][_0x51640b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x498bed(_0xd3f3e){const _0xbf0a08=_0x446ccc();_0x272431[_0xbf0a08]=_0x51640b([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd3f3e,_0xd3f3e!=_0x51640b([0x56,0x61,0x6c,0x69,0x64])&&_0x1b0fe9();}function _0x446ccc(){const _0x55adad=window[_0x51640b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51640b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51640b([0x6e,0x6f,0x77])]())[_0x51640b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51640b([0x2e]),'');let _0x53bb49=_0x51640b([0x61]);for(let _0x5f28c7=0x0;_0x5f28c7<_0x55adad[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f28c7+=0x2){let _0x203edb=window[_0x51640b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55adad[_0x51640b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f28c7,_0x5f28c7+0x2));_0x203edb>=_0x1c91da[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x203edb-=_0x1c91da[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53bb49+=_0x1c91da[_0x203edb];}return _0x53bb49;}function _0x12d867(){const _0x2aa229=_0x335212[_0x51640b([0x73,0x70,0x6c,0x69,0x74])](_0x51640b([0x2e]));if(0x3!=_0x2aa229[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x371bc2(_0x2aa229[0x1]);function _0x371bc2(_0x5eb147){const _0x74df30=_0x4d2a50(_0x5eb147);return _0x74df30&&_0x24a309()?_0x74df30:null;function _0x24a309(){const _0x31dd6c=_0x74df30[_0x51640b([0x6a,0x74,0x69])],_0x259015=window[_0x51640b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31dd6c[_0x51640b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31dd6c[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x213b38={..._0x74df30,[_0x51640b([0x6a,0x74,0x69])]:_0x31dd6c[_0x51640b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31dd6c[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x213b38[_0x51640b([0x76,0x63])],_0xc191a1(_0x213b38)==_0x259015;}}}async function _0xac1c7b(){let _0x5ba0a0=!0x0;try{const _0x8761ce=_0x335212[_0x51640b([0x73,0x70,0x6c,0x69,0x74])](_0x51640b([0x2e])),[_0x38e313,_0x108565,_0x51025a]=_0x8761ce;return _0x133c35(_0x38e313),await _0x17a64e(_0x38e313,_0x108565,_0x51025a),_0x5ba0a0;}catch{return!0x1;}function _0x133c35(_0x7980c6){const _0x44ac93=_0x4d2a50(_0x7980c6);_0x44ac93&&_0x44ac93[_0x51640b([0x61,0x6c,0x67])]==_0x51640b([0x45,0x53,0x32,0x35,0x36])||(_0x5ba0a0=!0x1);}async function _0x17a64e(_0x373a54,_0x3ff8cd,_0x283794){const _0x30d882=window[_0x51640b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51640b([0x66,0x72,0x6f,0x6d])](_0x169a6c(_0x283794),_0x332b82=>_0x332b82[_0x51640b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x298d89=new window[(_0x51640b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51640b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x373a54+_0x51640b([0x2e])+_0x3ff8cd),_0x3c676d=window[_0x51640b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51640b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c676d)return;const _0xeae064=await _0x3c676d[_0x51640b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51640b([0x6a,0x77,0x6b]),_0x2358a2,{[_0x51640b([0x6e,0x61,0x6d,0x65])]:_0x51640b([0x45,0x43,0x44,0x53,0x41]),[_0x51640b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51640b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51640b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c676d[_0x51640b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51640b([0x6e,0x61,0x6d,0x65])]:_0x51640b([0x45,0x43,0x44,0x53,0x41]),[_0x51640b([0x68,0x61,0x73,0x68])]:{[_0x51640b([0x6e,0x61,0x6d,0x65])]:_0x51640b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xeae064,_0x30d882,_0x298d89)||(_0x5ba0a0=!0x1);}}function _0x4d2a50(_0x2ddf68){return _0x2ddf68[_0x51640b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51640b([0x65,0x79]))?JSON[_0x51640b([0x70,0x61,0x72,0x73,0x65])](_0x169a6c(_0x2ddf68)):null;}function _0x169a6c(_0x6c2be3){return window[_0x51640b([0x61,0x74,0x6f,0x62])](_0x6c2be3[_0x51640b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51640b([0x2b]))[_0x51640b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51640b([0x2f])));}function _0xc191a1(_0x2bd0d2){let _0x47689e=0x1505;function _0x3a4a75(_0x4d94f0){for(let _0x564af7=0x0;_0x564af7<_0x4d94f0[_0x51640b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x564af7++){const _0x36432c=_0x4d94f0[_0x51640b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x564af7);_0x47689e=(_0x47689e<<0x5)+_0x47689e+_0x36432c,_0x47689e&=_0x47689e;}}function _0x3663d1(_0x59d4f9){Array[_0x51640b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59d4f9)?_0x59d4f9[_0x51640b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3663d1):_0x59d4f9&&typeof _0x59d4f9==_0x51640b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51640b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59d4f9)[_0x51640b([0x73,0x6f,0x72,0x74])]()[_0x51640b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27dcfb,_0x16b7b9])=>{_0x3a4a75(_0x27dcfb),_0x3663d1(_0x16b7b9);}):_0x3a4a75(window[_0x51640b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59d4f9));}return _0x3663d1(_0x2bd0d2),_0x47689e>>>0x0;}function _0x232f74(_0x5c024e){return _0x5c024e[_0x51640b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51640b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51640b([0x30]));}function _0x56c04f(_0x59ed11){return _0x59ed11[_0x51640b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51640b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51640b([0x6a,0x6f,0x69,0x6e])]('');}function _0x469da7(){}function _0x51640b(_0x2616c8){return _0x2616c8['map'](_0x4bf85f=>String['fromCharCode'](_0x4bf85f))['join']('');}_0x498bed(await _0x130c97());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1bb958,{outlineDefinitions:_0x22fba4,outlineChanges:_0x1030cd}){this['_currentOutlineDefinitions']=_0x22fba4,this['view']['sync'](_0x1030cd);}['_setActiveViewItem'](_0x50d260){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x50d260]&&(this['view']['activeItemIndex']=_0x50d260);}['_handleItemSelected'](_0xa24e2a){const _0x2ab8ef=this['_currentOutlineDefinitions'][_0xa24e2a]['modelElement'];this['editor']['model']['change'](_0x380773=>{_0x380773['setSelection'](_0x2ab8ef,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xa24e2a);}['_updateActiveDefinitionOnViewportChange'](){const _0x51212c=this['editor'];let _0x22ee7a;for(const _0x47d991 of _0x51212c['model']['document']['getRootNames']()){const _0x40c249=_0x51212c['editing']['view']['getDomRoot'](_0x47d991),_0x110bc8=_0x40c249&&new _0xa0ed63['Rect'](_0x40c249)['getVisible']();if(_0x110bc8){const _0x2dec34=new _0xa0ed63['Rect'](_0xa0ed63['global']['window'])['getIntersection'](_0x110bc8);_0x2dec34&&(_0x22ee7a=_0x2dec34['top']+0.25*_0x2dec34['height']);}}if(void 0x0===_0x22ee7a)return;const _0x316656=_0xaadcbc(_0x51212c['editing'],this['_currentOutlineDefinitions'],_0x22ee7a);_0x316656?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x316656)):this['_setActiveViewItem'](-0x1);}}function _0xaadcbc(_0xec130b,_0x45dd25,_0x2598c1,_0x1b1124=0x0,_0x1d786e=_0x45dd25['length']-0x1){const _0x57a2c1=Math['floor'](_0x1b1124+(_0x1d786e-_0x1b1124)/0x2);if(_0x1d786e>=_0x1b1124){const _0xae09a=_0x45dd25[_0x57a2c1],_0x47df88=_0xec130b['mapper']['toViewElement'](_0xae09a['modelElement']);if(!_0x47df88)return null;const _0x18c367=_0xec130b['view']['domConverter']['mapViewToDom'](_0x47df88);return new _0xa0ed63['Rect'](_0x18c367)['bottom']>_0x2598c1?_0xaadcbc(_0xec130b,_0x45dd25,_0x2598c1,_0x1b1124,_0x57a2c1-0x1):_0xaadcbc(_0xec130b,_0x45dd25,_0x2598c1,_0x57a2c1+0x1,_0x1d786e);}return _0x57a2c1<0x0?null:_0x45dd25[_0x57a2c1];}class DocumentOutline extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x51a822=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x33cf28;for(const _0x99ee7e in _0x51a822){const _0x26f98a=_0x99ee7e,_0x1985a8=_0x51a822[_0x26f98a];if('documentOutlineLicenseKeyValid'==_0x1985a8||'documentOutlineLicenseKeyInvalid'==_0x1985a8||'documentOutlineLicenseKeyExpired'==_0x1985a8||'documentOutlineLicenseKeyDomainLimit'==_0x1985a8||'documentOutlineLicenseKeyNotAllowed'==_0x1985a8||'documentOutlineLicenseKeyEvaluationLimit'==_0x1985a8||'documentOutlineLicenseKeyUsageLimit'==_0x1985a8){delete _0x51a822[_0x26f98a],_0x33cf28=_0x1985a8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x33cf28&&_0x51a822['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x33cf28&&_0x51a822['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x33cf28&&_0x51a822['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x33cf28&&_0x51a822['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x33cf28&&_0x51a822['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x33cf28&&_0x51a822['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0xa0ed63['Command']{['execute'](){this['editor']['model']['change'](_0x2a4b6f=>{this['editor']['model']['insertObject'](_0x2a4b6f['createElement']('tableOfContents'));});}['refresh'](){const _0x38df35=this['editor']['model'],_0x2f6570=_0x38df35['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2f6570&&_0x38df35['schema']['findAllowedParent'](_0x2f6570,'tableOfContents'));}}class _0x9cd5bc extends _0xa0ed63['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3eb6d5=this['editor'];if(_0x3eb6d5['config']['get']('headingId.modelAttributeName'))return;const _0x42f06b=function(_0x3987b5){const _0x486a8f=new Map();if(_0x3987b5)return _0x3987b5['forEach'](_0x14e99e=>{'paragraph'!==_0x14e99e['model']&&_0x486a8f['set'](_0x14e99e['view'],_0x14e99e['model']);}),_0x486a8f['get']('h1')||_0x486a8f['set']('h1','heading1'),_0x486a8f;return _0x486a8f;}(this['editor']['config']['get']('heading.options'));_0x42f06b['forEach']((_0x10f8c0,_0x5ca3b0)=>{this['_customUpcastHeadingsConversion'](_0x5ca3b0),this['_customDataDowncastHeadingsConversion'](_0x10f8c0),_0x3eb6d5['model']['schema']['isRegistered'](_0x10f8c0)&&_0x3eb6d5['model']['schema']['extend'](_0x10f8c0,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x16bb7c){this['editor']['conversion']['for']('upcast')['add'](_0x536b2b=>_0x536b2b['on']('element:'+_0x16bb7c,(_0x3786a6,_0x7bd0bd,_0x53e039)=>{const {consumable:_0xf4a6f2,writer:_0x3bb392}=_0x53e039,_0x26179f=_0x7bd0bd['viewItem']['getAttribute']('id'),_0x47b7e2=_0x7bd0bd['modelRange']['getContainedElement']();if(_0x47b7e2)return _0x26179f&&_0x26179f['length']||_0x47b7e2['hasAttribute']('headingId')?void(_0xf4a6f2['consume'](_0x7bd0bd['viewItem'],{'attributes':['id']})&&_0x3bb392['setAttribute']('headingId',_0x26179f,_0x47b7e2)):(_0xf4a6f2['consume'](_0x7bd0bd['viewItem'],{'attributes':['id']}),void _0x3bb392['setAttribute']('headingId',_0xa0ed63['uid'](),_0x47b7e2));},{'priority':_0xa0ed63['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x115e8a){this['editor']['conversion']['for']('downcast')['add'](_0x988534=>_0x988534['on']('attribute:headingId:'+_0x115e8a,(_0x18b9e4,_0x33c7bd,_0x261d14)=>{if(!_0x261d14['consumable']['consume'](_0x33c7bd['item'],_0x18b9e4['name']))return;const _0x35791e=_0x33c7bd['item']['getAttribute']('headingId'),_0x3afe87=_0x261d14['mapper']['toViewElement'](_0x33c7bd['item']);_0x261d14['writer']['setAttribute']('id',_0x35791e,_0x3afe87);}));}['_registerHeadingIdAttributePostfixer'](){const _0x7293dc=this['editor'],_0x2d98f4=new Set(),_0x102bc6=new Set();function _0x3e8ed5(_0x568b27,_0x216dd5){const _0x16036c=_0xa0ed63['uid']();return _0x102bc6['add'](_0x16036c),_0x568b27['setAttribute']('headingId',_0x16036c,_0x216dd5),_0x16036c;}function _0x3d4116(_0xe5386b,_0x27dae1){_0xe5386b['removeAttribute']('headingId',_0x27dae1);}_0x7293dc['model']['document']['registerPostFixer'](_0x585b1e=>{const _0x7cf730=_0x7293dc['model']['document']['differ']['getChanges']();let _0x50638d=!0x1;for(const _0x35e576 of _0x7cf730)if('insert'==_0x35e576['type']&&_0x35e576['name']){if(_0x288ee1(_0x35e576['name'])){const _0x52a973=_0x35e576['attributes']['get']('headingId');'string'==typeof _0x52a973?_0x2d98f4['has'](_0x52a973)?(_0x3e8ed5(_0x585b1e,_0x35e576['position']['nodeAfter']),_0x50638d=!0x0):_0x102bc6['add'](_0x52a973):(_0x3e8ed5(_0x585b1e,_0x35e576['position']['nodeAfter']),_0x50638d=!0x0);}else'string'==typeof _0x35e576['attributes']['get']('headingId')&&(_0x3d4116(_0x585b1e,_0x35e576['position']['nodeAfter']),_0x50638d=!0x0);}else{if('remove'==_0x35e576['type']){const _0xbc8999=_0x35e576['attributes']['get']('headingId');'string'==typeof _0xbc8999&&_0x2d98f4['delete'](_0xbc8999);}}return _0x50638d;}),_0x7293dc['model']['document']['on']('change',()=>{_0x102bc6['forEach'](_0x1e1103=>_0x2d98f4['add'](_0x1e1103)),_0x102bc6['clear']();});}}function _0x288ee1(_0x31310a){return!!_0x31310a['match'](/heading\d/);}class TableOfContentsEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xa0ed63['Widget'],DocumentOutlineUtils,_0x9cd5bc];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x54bdc6){super(_0x54bdc6),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x48d6cf=this['editor'],_0x3380a4=_0x48d6cf['editing']['view']['document'];_0x48d6cf['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x48d6cf['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3380a4,'click',(_0x35af81,_0xbd7efa)=>{if(!_0xbd7efa['target'])return;const _0x4c29a0=_0xbd7efa['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4c29a0)&&(_0xbd7efa['domEvent']['preventDefault'](),_0x35af81['stop'](),this['_handleScrollToHeading'](_0x4c29a0));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x48d6cf['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x48d6cf)),(_0x48d6cf['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x3c9f8a,_0x1c767f)=>{this['_currentOutlineDefinitions']=_0x1c767f['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x48d6cf['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x563ee2){const _0x4f04b0=_0x5f20e7([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x19bcc7=0x6b9b05fd,_0x13b92d=0x6b9c8a3d^_0x19bcc7,_0x483ec1=window[_0x5f20e7([0x44,0x61,0x74,0x65])][_0x5f20e7([0x6e,0x6f,0x77])](),_0x42cba5=_0x563ee2[_0x5f20e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x442219=new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41ad55=>{_0x42cba5[_0x5f20e7([0x6f,0x6e,0x63,0x65])](_0x5f20e7([0x72,0x65,0x61,0x64,0x79]),_0x41ad55);}),_0x18d7bc={[_0x5f20e7([0x6b,0x74,0x79])]:_0x5f20e7([0x45,0x43]),[_0x5f20e7([0x75,0x73,0x65])]:_0x5f20e7([0x73,0x69,0x67]),[_0x5f20e7([0x63,0x72,0x76])]:_0x5f20e7([0x50,0x2d,0x32,0x35,0x36]),[_0x5f20e7([0x78])]:_0x5f20e7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5f20e7([0x79])]:_0x5f20e7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5f20e7([0x61,0x6c,0x67])]:_0x5f20e7([0x45,0x53,0x32,0x35,0x36])},_0x54ecdf=_0x42cba5[_0x5f20e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f20e7([0x67,0x65,0x74])](_0x5f20e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45800d(){let _0x9b1cbc,_0x2e340e=null,_0x4e252d=null;try{if(_0x54ecdf==_0x5f20e7([0x47,0x50,0x4c]))return _0x5f20e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9b1cbc=_0xf43f24(),!_0x9b1cbc)return _0x5f20e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9b1cbc[_0x5f20e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e252d=_0x2e634b(_0x9b1cbc[_0x5f20e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9b1cbc[_0x5f20e7([0x6a,0x74,0x69])])),await _0x2ecba6()?_0x5d4cf0()?_0x4ca56b()?_0x5f20e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43b5e7()?(_0x9b1cbc[_0x5f20e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f20e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e340e=_0x47eb13(_0x5f20e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9a8c96()):_0x5f20e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f20e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f20e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f20e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ca56b(){const _0x8acce1=[_0x5f20e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f20e7([0x74,0x72,0x69,0x61,0x6c])][_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b1cbc[_0x5f20e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x483ec1/0x3e8:0xe10*_0x13b92d;return _0x9b1cbc[_0x5f20e7([0x65,0x78,0x70])]<_0x8acce1;}function _0x5d4cf0(){const _0x322fac=_0x9b1cbc[_0x5f20e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x322fac&&(!!_0x322fac[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f20e7([0x2a]))||(!!_0x322fac[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f20e7([0x54,0x4f,0x43]))||(!!_0x322fac[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f20e7([0x50,0x50]))||!(!_0x322fac[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f20e7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1705e9()))));}function _0x43b5e7(){const _0x5cd9e8=_0x9b1cbc[_0x5f20e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5cd9e8||0x0==_0x5cd9e8[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb0a0a1}=new URL(window[_0x5f20e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5cd9e8[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb0a0a1))return!0x0;const _0x35250e=_0xb0a0a1[_0x5f20e7([0x73,0x70,0x6c,0x69,0x74])](_0x5f20e7([0x2e]));return _0x5cd9e8[_0x5f20e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41d3c6=>_0x41d3c6[_0x5f20e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f20e7([0x2a])))[_0x5f20e7([0x6d,0x61,0x70])](_0x1d0306=>_0x1d0306[_0x5f20e7([0x73,0x70,0x6c,0x69,0x74])](_0x5f20e7([0x2e])))[_0x5f20e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c7594=>_0x5c7594[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x35250e[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f20e7([0x6d,0x61,0x70])](_0x63b6c2=>Array(_0x35250e[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x63b6c2[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f20e7([0x66,0x69,0x6c,0x6c])](_0x63b6c2[0x0]===_0x5f20e7([0x2a])?_0x5f20e7([0x2a]):'')[_0x5f20e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x63b6c2))[_0x5f20e7([0x73,0x6f,0x6d,0x65])](_0x1ba963=>_0x35250e[_0x5f20e7([0x65,0x76,0x65,0x72,0x79])]((_0x2d3d6f,_0x40892c)=>_0x1ba963[_0x40892c]===_0x2d3d6f||_0x1ba963[_0x40892c]===_0x5f20e7([0x2a])));}function _0x9a8c96(){return _0x2e340e&&_0x4e252d?new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c6521,_0x25eb39)=>{_0x2e340e[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x3c6521,_0x25eb39),_0x4e252d[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x39a723=>{_0x39a723!=_0x5f20e7([0x56,0x61,0x6c,0x69,0x64])&&_0x3c6521(_0x39a723);},_0x25eb39);}):_0x2e340e||_0x4e252d||_0x5f20e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e634b(_0x4e9442,_0x55f158){return new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x455f7f=>{if(_0x57f69a())return _0x455f7f(_0x5f20e7([0x56,0x61,0x6c,0x69,0x64]));_0x14d348(),_0x42cba5[_0x5f20e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f20e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2548ab=!0x1;const _0x40e99b=_0xa0ed63['uid']();function _0x20e8e9(_0x37a4db){return!!_0x37a4db&&(typeof _0x37a4db===_0x5f20e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37a4db===_0x5f20e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37a4db[_0x5f20e7([0x74,0x68,0x65,0x6e])]===_0x5f20e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37a4db[_0x5f20e7([0x63,0x61,0x74,0x63,0x68])]===_0x5f20e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11a186(_0x39ecf8){_0x3a2b2b(_0x39ecf8)[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x19525e=>{if(!_0x19525e||_0x19525e[_0x5f20e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f20e7([0x6f,0x6b]))return _0x5f20e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3013a0(_0x35b52c(_0x40e99b+_0x55f158))!=_0x19525e[_0x5f20e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f20e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f20e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x1baa73=>(_0x2af403(),_0x1baa73),()=>{const _0x55225d=_0x5dc617();return null==_0x55225d?(_0x2af403(),_0x5f20e7([0x56,0x61,0x6c,0x69,0x64])):_0x5f20e7(_0x483ec1-_0x55225d>(0x4f9781fd^_0x19bcc7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x455f7f)[_0x5f20e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x455f7f(_0x5f20e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ee6f8=0x6badeb7d^_0x19bcc7;function _0x2af403(){const _0x1f49f0=_0x5f20e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3013a0(_0x35b52c(_0x4e9442)),_0x279cd0=_0x185d6f(_0x3013a0(window[_0x5f20e7([0x4d,0x61,0x74,0x68])][_0x5f20e7([0x63,0x65,0x69,0x6c])](_0x483ec1/_0x2ee6f8)));window[_0x5f20e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f20e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f49f0,_0x279cd0);}function _0x5dc617(){const _0x39a6ad=_0x5f20e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3013a0(_0x35b52c(_0x4e9442)),_0xedafd5=window[_0x5f20e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f20e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39a6ad);return _0xedafd5?window[_0x5f20e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x185d6f(_0xedafd5),0x10)*_0x2ee6f8:null;}function _0x3a2b2b(_0x3bf821){return new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d1a37,_0x463e20)=>{_0x3bf821[_0x5f20e7([0x74,0x68,0x65,0x6e])](_0x4d1a37,_0x463e20),window[_0x5f20e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x463e20,0x6b9ad13d^_0x19bcc7);});}}_0x42cba5[_0x5f20e7([0x6f,0x6e])](_0x5f20e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1989fa,_0x4dd933)=>{if(_0x4dd933[0x0]!=_0x4e9442)return _0x455f7f(_0x5f20e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4dd933[0x1]={..._0x4dd933[0x1],[_0x5f20e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40e99b};},{[_0x5f20e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f20e7([0x68,0x69,0x67,0x68])}),_0x42cba5[_0x5f20e7([0x6f,0x6e])](_0x5f20e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x299221=>{_0x20e8e9(_0x299221[_0x5f20e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2548ab=!0x0,_0x11a186(_0x299221[_0x5f20e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f20e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f20e7([0x6c,0x6f,0x77])}),_0x442219[_0x5f20e7([0x74,0x68,0x65,0x6e])](()=>{_0x2548ab||_0x455f7f(_0x5f20e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57f69a(){return _0x42cba5[_0x5f20e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f20e7([0x76,0x69,0x65,0x77])][_0x5f20e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f20e7([0x61,0x75,0x74,0x6f]);}function _0x14d348(){_0x42cba5[_0x5f20e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f20e7([0x76,0x69,0x65,0x77])][_0x5f20e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f20e7([0x61,0x75,0x74,0x6f]);}}function _0x47eb13(_0x3e8d3f){const _0x2eff02=[new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2b61=>setTimeout(_0x1d2b61,0x6b923b31^_0x19bcc7)),_0x442219[_0x5f20e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ef9ae=>{let _0x1a37c6=0x0;_0x42cba5[_0x5f20e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f20e7([0x6f,0x6e])](_0x5f20e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b28b8,_0x4b0fcf)=>{_0x4b0fcf[0x0][_0x5f20e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a37c6++,_0x1a37c6==(0x6b9b0015^_0x19bcc7)&&(_0x2ef9ae(),_0x5b28b8[_0x5f20e7([0x6f,0x66,0x66])]());});}))];return window[_0x5f20e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f20e7([0x72,0x61,0x63,0x65])](_0x2eff02)[_0x5f20e7([0x74,0x68,0x65,0x6e])](()=>_0x3e8d3f);}async function _0x4a3fda(){await _0x442219,_0x42cba5[_0x5f20e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f20e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8a1f,_0x42cba5[_0x5f20e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f20e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8a1f,_0x42cba5[_0x5f20e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f20e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1705e9(){return window[_0x5f20e7([0x67,0x6c,0x6f,0x62])]&&window[_0x5f20e7([0x67,0x6c,0x6f,0x62])][_0x5f20e7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xb09b59(_0x529685){const _0x3cc606=_0x4a48ec();_0x42cba5[_0x3cc606]=_0x5f20e7([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x529685,_0x529685!=_0x5f20e7([0x56,0x61,0x6c,0x69,0x64])&&_0x4a3fda();}function _0x4a48ec(){const _0x216221=window[_0x5f20e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f20e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f20e7([0x6e,0x6f,0x77])]())[_0x5f20e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f20e7([0x2e]),'');let _0x296c99=_0x5f20e7([0x6d]);for(let _0x4e3fc3=0x0;_0x4e3fc3<_0x216221[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e3fc3+=0x2){let _0x14bc21=window[_0x5f20e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x216221[_0x5f20e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e3fc3,_0x4e3fc3+0x2));_0x14bc21>=_0x4f04b0[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14bc21-=_0x4f04b0[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x296c99+=_0x4f04b0[_0x14bc21];}return _0x296c99;}function _0xf43f24(){const _0x50fffb=_0x54ecdf[_0x5f20e7([0x73,0x70,0x6c,0x69,0x74])](_0x5f20e7([0x2e]));if(0x3!=_0x50fffb[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41f2fd(_0x50fffb[0x1]);function _0x41f2fd(_0x532b6c){const _0x259e5b=_0x597605(_0x532b6c);return _0x259e5b&&_0x53602e()?_0x259e5b:null;function _0x53602e(){const _0x4050f0=_0x259e5b[_0x5f20e7([0x6a,0x74,0x69])],_0x5912d6=window[_0x5f20e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4050f0[_0x5f20e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4050f0[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x582541={..._0x259e5b,[_0x5f20e7([0x6a,0x74,0x69])]:_0x4050f0[_0x5f20e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4050f0[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x582541[_0x5f20e7([0x76,0x63])],_0x35b52c(_0x582541)==_0x5912d6;}}}async function _0x2ecba6(){let _0x4cffb9=!0x0;try{const _0x5488eb=_0x54ecdf[_0x5f20e7([0x73,0x70,0x6c,0x69,0x74])](_0x5f20e7([0x2e])),[_0x551402,_0x242ed7,_0x1b8aa4]=_0x5488eb;return _0x5633ea(_0x551402),await _0x386a96(_0x551402,_0x242ed7,_0x1b8aa4),_0x4cffb9;}catch{return!0x1;}function _0x5633ea(_0x4e89a7){const _0x27a3e6=_0x597605(_0x4e89a7);_0x27a3e6&&_0x27a3e6[_0x5f20e7([0x61,0x6c,0x67])]==_0x5f20e7([0x45,0x53,0x32,0x35,0x36])||(_0x4cffb9=!0x1);}async function _0x386a96(_0x10447b,_0x5b2b2,_0x4196dd){const _0xd3dcf4=window[_0x5f20e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f20e7([0x66,0x72,0x6f,0x6d])](_0x3830f5(_0x4196dd),_0x167a76=>_0x167a76[_0x5f20e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42a601=new window[(_0x5f20e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f20e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10447b+_0x5f20e7([0x2e])+_0x5b2b2),_0x8e0732=window[_0x5f20e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f20e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8e0732)return;const _0x16ea42=await _0x8e0732[_0x5f20e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f20e7([0x6a,0x77,0x6b]),_0x18d7bc,{[_0x5f20e7([0x6e,0x61,0x6d,0x65])]:_0x5f20e7([0x45,0x43,0x44,0x53,0x41]),[_0x5f20e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f20e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f20e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8e0732[_0x5f20e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f20e7([0x6e,0x61,0x6d,0x65])]:_0x5f20e7([0x45,0x43,0x44,0x53,0x41]),[_0x5f20e7([0x68,0x61,0x73,0x68])]:{[_0x5f20e7([0x6e,0x61,0x6d,0x65])]:_0x5f20e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16ea42,_0xd3dcf4,_0x42a601)||(_0x4cffb9=!0x1);}}function _0x597605(_0x361dd3){return _0x361dd3[_0x5f20e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f20e7([0x65,0x79]))?JSON[_0x5f20e7([0x70,0x61,0x72,0x73,0x65])](_0x3830f5(_0x361dd3)):null;}function _0x3830f5(_0x457012){return window[_0x5f20e7([0x61,0x74,0x6f,0x62])](_0x457012[_0x5f20e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f20e7([0x2b]))[_0x5f20e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f20e7([0x2f])));}function _0x35b52c(_0x48a833){let _0x2019dd=0x1505;function _0x37c38b(_0x34bf63){for(let _0x36ffe9=0x0;_0x36ffe9<_0x34bf63[_0x5f20e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36ffe9++){const _0x419b82=_0x34bf63[_0x5f20e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36ffe9);_0x2019dd=(_0x2019dd<<0x5)+_0x2019dd+_0x419b82,_0x2019dd&=_0x2019dd;}}function _0x378802(_0x12d25b){Array[_0x5f20e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12d25b)?_0x12d25b[_0x5f20e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x378802):_0x12d25b&&typeof _0x12d25b==_0x5f20e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f20e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12d25b)[_0x5f20e7([0x73,0x6f,0x72,0x74])]()[_0x5f20e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5169d8,_0x20e58d])=>{_0x37c38b(_0x5169d8),_0x378802(_0x20e58d);}):_0x37c38b(window[_0x5f20e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12d25b));}return _0x378802(_0x48a833),_0x2019dd>>>0x0;}function _0x3013a0(_0x52295e){return _0x52295e[_0x5f20e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f20e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f20e7([0x30]));}function _0x185d6f(_0x30bddd){return _0x30bddd[_0x5f20e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f20e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f20e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f8a1f(){}function _0x5f20e7(_0x2def75){return _0x2def75['map'](_0x5e3764=>String['fromCharCode'](_0x5e3764))['join']('');}_0xb09b59(await _0x45800d());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1481b3=>{'$graveyard'!==_0x1481b3['rootName']&&this['editor']['editing']['reconvertItem'](_0x1481b3);});}['_trackNewToCElements'](){for(const _0xc304e5 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xc304e5['type']||'tableOfContents'!==_0xc304e5['name'])return;this['_tableOfContentsElements']['add'](_0xc304e5['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x10391a=this['editor']['conversion'];_0x10391a['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x10391a['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xe78366,{writer:_0x514e2c})=>this['_createTableOfContents'](_0x514e2c,!0x0)}),_0x10391a['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2ff5f0,{writer:_0xb1bb98})=>{this['_tableOfContentsElements']['add'](_0x2ff5f0);const _0x903073=this['_createTableOfContents'](_0xb1bb98);return _0xa0ed63['toWidget'](_0x903073,_0xb1bb98,{'label':_0x174be8(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'](_0x2c58e0,_0x46f52e=!0x1){const {locale:_0x5c379c}=this['editor'],_0x38b744=_0x2c58e0['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x46f52e&&{'data-table-of-contents-label':_0x174be8(_0x5c379c,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x46f52e&&_0x2c58e0['insert'](_0x2c58e0['createPositionAt'](_0x38b744,'end'),_0x2c58e0['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2c58e0['createText'](_0x174be8(_0x5c379c,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3bf941=_0x46f52e?'':'['+_0x174be8(_0x5c379c,'Empty\x20heading')+']';let _0x2fce2d=_0x38b744;return this['_currentOutlineDefinitions']['forEach']((_0x24f576,_0x24e805,_0x2aef1b)=>{const _0x130112=this['editor']['model']['hasContent'](_0x24f576['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4fc4a4=_0x130112?_0x24f576['text']:_0x3bf941,_0xeee7b1=_0x24f576['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1a3441=_0x2c58e0['createContainerElement']('a',{'href':'#'+_0xeee7b1,...!_0x46f52e&&{'tabindex':'-1'}},[_0x2c58e0['createText'](_0x4fc4a4)]),_0x44a161=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2c58e0['setCustomProperty']('tableOfContentsHeadingIndex',_0x24e805,_0x1a3441);const _0x21466c=_0x2c58e0['createContainerElement']('li',null,[_0x130112||!_0x46f52e&&_0x44a161?_0x1a3441:_0x2c58e0['createText']('')]),_0x5075a3=_0x24e805?_0x2aef1b[_0x24e805-0x1]['level']:0x0,_0x28cfdc=Math['abs'](_0x24f576['level']-_0x5075a3);if(_0x24f576['level']>_0x5075a3){const _0x39b7cd=_0x2833e5(_0x21466c,_0x28cfdc,_0x2c58e0);_0x2c58e0['insert'](_0x2c58e0['createPositionAt'](_0x2fce2d,'end'),_0x39b7cd);}else{const _0x4c6ddd=function(_0x52bc04,_0x55952d){return _0x52bc04['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4d5727=>_0x4d5727['is']('element','ol'))[_0x55952d];}(_0x2fce2d,_0x28cfdc);_0x2c58e0['insert'](_0x2c58e0['createPositionAt'](_0x4c6ddd,'end'),_0x21466c);}_0x2fce2d=_0x21466c;}),_0x38b744;}['_handleScrollToHeading'](_0x46501c){const _0x3d763c=this['_currentOutlineDefinitions'][_0x46501c]['modelElement'];this['editor']['model']['change'](_0x1e3cd8=>{_0x1e3cd8['setSelection'](_0x3d763c,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3fb0bc,_0x755bac)=>{const _0x487ac5=_0x755bac['mapper'],_0x2f6b25=_0x487ac5['findMappedViewAncestor'](_0x755bac['viewPosition']),_0x3e635b=_0x487ac5['toModelElement'](_0x2f6b25);_0x3e635b['is']('element','tableOfContents')&&(_0x755bac['modelPosition']=this['editor']['model']['createPositionAt'](_0x3e635b,0x0),_0x3fb0bc['stop']());};}}function _0x2833e5(_0x20f4ce,_0x3434f5,_0x3f7b53){return 0x1===_0x3434f5?_0x3f7b53['createContainerElement']('ol',null,[_0x20f4ce]):_0x3f7b53['createContainerElement']('ol',null,[_0x3f7b53['createContainerElement']('li',null,[_0x2833e5(_0x20f4ce,_0x3434f5-0x1,_0x3f7b53)])]);}class TableOfContentsUI extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x382cbc=this['editor'];_0x382cbc['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x10367f=this['_createButton'](_0xa0ed63['ButtonView']);return _0x10367f['tooltip']=!0x0,_0x10367f;}),_0x382cbc['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xa0ed63['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x371a82=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x391792;for(const _0x4e1af7 in _0x371a82){const _0x8544e7=_0x4e1af7,_0x5e4301=_0x371a82[_0x8544e7];if('tableOfContentsLicenseKeyValid'==_0x5e4301||'tableOfContentsLicenseKeyInvalid'==_0x5e4301||'tableOfContentsLicenseKeyExpired'==_0x5e4301||'tableOfContentsLicenseKeyDomainLimit'==_0x5e4301||'tableOfContentsLicenseKeyNotAllowed'==_0x5e4301||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5e4301||'tableOfContentsLicenseKeyUsageLimit'==_0x5e4301){delete _0x371a82[_0x8544e7],_0x391792=_0x5e4301,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x391792&&_0x371a82['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x391792&&_0x371a82['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x391792&&_0x371a82['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x391792&&_0x371a82['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x391792&&_0x371a82['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x391792&&_0x371a82['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4bfbe5){const _0x569bfb=this['editor'],_0x3f7730=_0x569bfb['locale'],_0x38737f=_0x569bfb['commands']['get']('insertTableOfContents'),_0x59ebb9=new _0x4bfbe5(_0x3f7730);return _0x59ebb9['set']({'label':_0x174be8(_0x3f7730,'Table\x20of\x20contents'),'icon':_0xa0ed63['IconTableOfContents']}),_0x59ebb9['bind']('isEnabled')['to'](_0x38737f,'isEnabled'),this['listenTo'](_0x59ebb9,'execute',()=>{_0x569bfb['execute']('insertTableOfContents'),_0x569bfb['editing']['view']['focus']();}),_0x59ebb9;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0xa0ed63['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x310a8e='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0xa0ed63['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45dc89){super(_0x45dc89),_0x45dc89['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x22952b){const _0x4cb7ca=_0x1fa9bc([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x5e4499=0x7780c648,_0x134dc2=0x77874988^_0x5e4499,_0x3906be=window[_0x1fa9bc([0x44,0x61,0x74,0x65])][_0x1fa9bc([0x6e,0x6f,0x77])](),_0x2b2e54=_0x22952b[_0x1fa9bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x280021=new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a75f=>{_0x2b2e54[_0x1fa9bc([0x6f,0x6e,0x63,0x65])](_0x1fa9bc([0x72,0x65,0x61,0x64,0x79]),_0x38a75f);}),_0x3d698a={[_0x1fa9bc([0x6b,0x74,0x79])]:_0x1fa9bc([0x45,0x43]),[_0x1fa9bc([0x75,0x73,0x65])]:_0x1fa9bc([0x73,0x69,0x67]),[_0x1fa9bc([0x63,0x72,0x76])]:_0x1fa9bc([0x50,0x2d,0x32,0x35,0x36]),[_0x1fa9bc([0x78])]:_0x1fa9bc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1fa9bc([0x79])]:_0x1fa9bc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1fa9bc([0x61,0x6c,0x67])]:_0x1fa9bc([0x45,0x53,0x32,0x35,0x36])},_0x5aebf3=_0x2b2e54[_0x1fa9bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fa9bc([0x67,0x65,0x74])](_0x1fa9bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bd251(){let _0x3eb9c2,_0x3b90f8=null,_0x32f5ad=null;try{if(_0x5aebf3==_0x1fa9bc([0x47,0x50,0x4c]))return _0x1fa9bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3eb9c2=_0x3436d2(),!_0x3eb9c2)return _0x1fa9bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3eb9c2[_0x1fa9bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32f5ad=_0x3386bd(_0x3eb9c2[_0x1fa9bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3eb9c2[_0x1fa9bc([0x6a,0x74,0x69])])),await _0x2ea489()?_0x489e03()?_0x189270()?_0x1fa9bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15c199()?(_0x3eb9c2[_0x1fa9bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fa9bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b90f8=_0x29e34c(_0x1fa9bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x420adf()):_0x1fa9bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fa9bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fa9bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fa9bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x189270(){const _0x14544a=[_0x1fa9bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fa9bc([0x74,0x72,0x69,0x61,0x6c])][_0x1fa9bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eb9c2[_0x1fa9bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3906be/0x3e8:0xe10*_0x134dc2;return _0x3eb9c2[_0x1fa9bc([0x65,0x78,0x70])]<_0x14544a;}function _0x489e03(){const _0x4d2ea1=_0x3eb9c2[_0x1fa9bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d2ea1&&(!!_0x4d2ea1[_0x1fa9bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa9bc([0x2a]))||!!_0x4d2ea1[_0x1fa9bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa9bc([0x45,0x43,0x48])));}function _0x15c199(){const _0x44d984=_0x3eb9c2[_0x1fa9bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44d984||0x0==_0x44d984[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ccb90}=new URL(window[_0x1fa9bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44d984[_0x1fa9bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ccb90))return!0x0;const _0x42df64=_0x4ccb90[_0x1fa9bc([0x73,0x70,0x6c,0x69,0x74])](_0x1fa9bc([0x2e]));return _0x44d984[_0x1fa9bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39da6c=>_0x39da6c[_0x1fa9bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa9bc([0x2a])))[_0x1fa9bc([0x6d,0x61,0x70])](_0xc585dd=>_0xc585dd[_0x1fa9bc([0x73,0x70,0x6c,0x69,0x74])](_0x1fa9bc([0x2e])))[_0x1fa9bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x427cd4=>_0x427cd4[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42df64[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fa9bc([0x6d,0x61,0x70])](_0x50dd7e=>Array(_0x42df64[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50dd7e[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fa9bc([0x66,0x69,0x6c,0x6c])](_0x50dd7e[0x0]===_0x1fa9bc([0x2a])?_0x1fa9bc([0x2a]):'')[_0x1fa9bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50dd7e))[_0x1fa9bc([0x73,0x6f,0x6d,0x65])](_0x54f1cb=>_0x42df64[_0x1fa9bc([0x65,0x76,0x65,0x72,0x79])]((_0x578bf8,_0x2ff189)=>_0x54f1cb[_0x2ff189]===_0x578bf8||_0x54f1cb[_0x2ff189]===_0x1fa9bc([0x2a])));}function _0x420adf(){return _0x3b90f8&&_0x32f5ad?new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d92d6,_0x20b673)=>{_0x3b90f8[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x4d92d6,_0x20b673),_0x32f5ad[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x4ea4fa=>{_0x4ea4fa!=_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64])&&_0x4d92d6(_0x4ea4fa);},_0x20b673);}):_0x3b90f8||_0x32f5ad||_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3386bd(_0x269bf2,_0xec3fee){return new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42af54=>{if(_0x1cc08a())return _0x42af54(_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64]));_0x430aef(),_0x2b2e54[_0x1fa9bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fa9bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfa18a8=!0x1;const _0x1e95e6=_0xa0ed63['uid']();function _0x1bf17d(_0x2442e5){return!!_0x2442e5&&(typeof _0x2442e5===_0x1fa9bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2442e5===_0x1fa9bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2442e5[_0x1fa9bc([0x74,0x68,0x65,0x6e])]===_0x1fa9bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2442e5[_0x1fa9bc([0x63,0x61,0x74,0x63,0x68])]===_0x1fa9bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2509a5(_0x461edf){_0x4c0784(_0x461edf)[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x52e83f=>{if(!_0x52e83f||_0x52e83f[_0x1fa9bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fa9bc([0x6f,0x6b]))return _0x1fa9bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2104c8(_0x24828b(_0x1e95e6+_0xec3fee))!=_0x52e83f[_0x1fa9bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fa9bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x288921=>(_0x169941(),_0x288921),()=>{const _0x26016f=_0x480302();return null==_0x26016f?(_0x169941(),_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64])):_0x1fa9bc(_0x3906be-_0x26016f>(0x538c4248^_0x5e4499)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x42af54)[_0x1fa9bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42af54(_0x1fa9bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c58be=0x77b628c8^_0x5e4499;function _0x169941(){const _0x208935=_0x1fa9bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2104c8(_0x24828b(_0x269bf2)),_0x1c9f84=_0x17c3c5(_0x2104c8(window[_0x1fa9bc([0x4d,0x61,0x74,0x68])][_0x1fa9bc([0x63,0x65,0x69,0x6c])](_0x3906be/_0x5c58be)));window[_0x1fa9bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fa9bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208935,_0x1c9f84);}function _0x480302(){const _0x628f60=_0x1fa9bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2104c8(_0x24828b(_0x269bf2)),_0x88bffe=window[_0x1fa9bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fa9bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x628f60);return _0x88bffe?window[_0x1fa9bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17c3c5(_0x88bffe),0x10)*_0x5c58be:null;}function _0x4c0784(_0x1cca59){return new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9b2baa,_0x3b9139)=>{_0x1cca59[_0x1fa9bc([0x74,0x68,0x65,0x6e])](_0x9b2baa,_0x3b9139),window[_0x1fa9bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b9139,0x77811288^_0x5e4499);});}}_0x2b2e54[_0x1fa9bc([0x6f,0x6e])](_0x1fa9bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10ad89,_0x4ed21b)=>{if(_0x4ed21b[0x0]!=_0x269bf2)return _0x42af54(_0x1fa9bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ed21b[0x1]={..._0x4ed21b[0x1],[_0x1fa9bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e95e6};},{[_0x1fa9bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fa9bc([0x68,0x69,0x67,0x68])}),_0x2b2e54[_0x1fa9bc([0x6f,0x6e])](_0x1fa9bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x262d8b=>{_0x1bf17d(_0x262d8b[_0x1fa9bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfa18a8=!0x0,_0x2509a5(_0x262d8b[_0x1fa9bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fa9bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fa9bc([0x6c,0x6f,0x77])}),_0x280021[_0x1fa9bc([0x74,0x68,0x65,0x6e])](()=>{_0xfa18a8||_0x42af54(_0x1fa9bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cc08a(){return _0x2b2e54[_0x1fa9bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fa9bc([0x76,0x69,0x65,0x77])][_0x1fa9bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fa9bc([0x61,0x75,0x74,0x6f]);}function _0x430aef(){_0x2b2e54[_0x1fa9bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fa9bc([0x76,0x69,0x65,0x77])][_0x1fa9bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fa9bc([0x61,0x75,0x74,0x6f]);}}function _0x29e34c(_0x426d37){const _0x1901f9=[new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f238d=>setTimeout(_0x1f238d,0x7789f884^_0x5e4499)),_0x280021[_0x1fa9bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238958=>{let _0x178f9f=0x0;_0x2b2e54[_0x1fa9bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa9bc([0x6f,0x6e])](_0x1fa9bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174741,_0x11816c)=>{_0x11816c[0x0][_0x1fa9bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x178f9f++,_0x178f9f==(0x7780c3a0^_0x5e4499)&&(_0x238958(),_0x174741[_0x1fa9bc([0x6f,0x66,0x66])]());});}))];return window[_0x1fa9bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fa9bc([0x72,0x61,0x63,0x65])](_0x1901f9)[_0x1fa9bc([0x74,0x68,0x65,0x6e])](()=>_0x426d37);}async function _0x38e480(){await _0x280021,_0x2b2e54[_0x1fa9bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa9bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x328aee,_0x2b2e54[_0x1fa9bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fa9bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x328aee,_0x2b2e54[_0x1fa9bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fa9bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b6297(_0x2ce00d){const _0x75c288=_0x2db1e6();_0x2b2e54[_0x75c288]=_0x1fa9bc([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ce00d,_0x2ce00d!=_0x1fa9bc([0x56,0x61,0x6c,0x69,0x64])&&_0x38e480();}function _0x2db1e6(){const _0x42b745=window[_0x1fa9bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fa9bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fa9bc([0x6e,0x6f,0x77])]())[_0x1fa9bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fa9bc([0x2e]),'');let _0x2761b2=_0x1fa9bc([0x75]);for(let _0x4108f1=0x0;_0x4108f1<_0x42b745[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4108f1+=0x2){let _0x32e47d=window[_0x1fa9bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42b745[_0x1fa9bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4108f1,_0x4108f1+0x2));_0x32e47d>=_0x4cb7ca[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32e47d-=_0x4cb7ca[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2761b2+=_0x4cb7ca[_0x32e47d];}return _0x2761b2;}function _0x3436d2(){const _0x137409=_0x5aebf3[_0x1fa9bc([0x73,0x70,0x6c,0x69,0x74])](_0x1fa9bc([0x2e]));if(0x3!=_0x137409[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13e2b0(_0x137409[0x1]);function _0x13e2b0(_0x44dda6){const _0x1d904b=_0x2d2063(_0x44dda6);return _0x1d904b&&_0x3944e6()?_0x1d904b:null;function _0x3944e6(){const _0x493798=_0x1d904b[_0x1fa9bc([0x6a,0x74,0x69])],_0x4e12c1=window[_0x1fa9bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x493798[_0x1fa9bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x493798[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44f922={..._0x1d904b,[_0x1fa9bc([0x6a,0x74,0x69])]:_0x493798[_0x1fa9bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x493798[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44f922[_0x1fa9bc([0x76,0x63])],_0x24828b(_0x44f922)==_0x4e12c1;}}}async function _0x2ea489(){let _0x4dd8d1=!0x0;try{const _0x59a0f1=_0x5aebf3[_0x1fa9bc([0x73,0x70,0x6c,0x69,0x74])](_0x1fa9bc([0x2e])),[_0x449c26,_0x23ebe0,_0x594b00]=_0x59a0f1;return _0x4201a6(_0x449c26),await _0xbd2cd9(_0x449c26,_0x23ebe0,_0x594b00),_0x4dd8d1;}catch{return!0x1;}function _0x4201a6(_0x2625b4){const _0x1b4407=_0x2d2063(_0x2625b4);_0x1b4407&&_0x1b4407[_0x1fa9bc([0x61,0x6c,0x67])]==_0x1fa9bc([0x45,0x53,0x32,0x35,0x36])||(_0x4dd8d1=!0x1);}async function _0xbd2cd9(_0x2eaf2f,_0xce8511,_0xe53f24){const _0x18199e=window[_0x1fa9bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fa9bc([0x66,0x72,0x6f,0x6d])](_0xa73440(_0xe53f24),_0x30bc08=>_0x30bc08[_0x1fa9bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22dc03=new window[(_0x1fa9bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fa9bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2eaf2f+_0x1fa9bc([0x2e])+_0xce8511),_0x5b61e0=window[_0x1fa9bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fa9bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b61e0)return;const _0x346a5c=await _0x5b61e0[_0x1fa9bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fa9bc([0x6a,0x77,0x6b]),_0x3d698a,{[_0x1fa9bc([0x6e,0x61,0x6d,0x65])]:_0x1fa9bc([0x45,0x43,0x44,0x53,0x41]),[_0x1fa9bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fa9bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fa9bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b61e0[_0x1fa9bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fa9bc([0x6e,0x61,0x6d,0x65])]:_0x1fa9bc([0x45,0x43,0x44,0x53,0x41]),[_0x1fa9bc([0x68,0x61,0x73,0x68])]:{[_0x1fa9bc([0x6e,0x61,0x6d,0x65])]:_0x1fa9bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x346a5c,_0x18199e,_0x22dc03)||(_0x4dd8d1=!0x1);}}function _0x2d2063(_0x4fef11){return _0x4fef11[_0x1fa9bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fa9bc([0x65,0x79]))?JSON[_0x1fa9bc([0x70,0x61,0x72,0x73,0x65])](_0xa73440(_0x4fef11)):null;}function _0xa73440(_0x28400a){return window[_0x1fa9bc([0x61,0x74,0x6f,0x62])](_0x28400a[_0x1fa9bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fa9bc([0x2b]))[_0x1fa9bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fa9bc([0x2f])));}function _0x24828b(_0x45d880){let _0x6ccc29=0x1505;function _0x5dd36d(_0x5e2a3b){for(let _0x2ec00b=0x0;_0x2ec00b<_0x5e2a3b[_0x1fa9bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ec00b++){const _0x14d748=_0x5e2a3b[_0x1fa9bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ec00b);_0x6ccc29=(_0x6ccc29<<0x5)+_0x6ccc29+_0x14d748,_0x6ccc29&=_0x6ccc29;}}function _0x15d6e4(_0x8a3f0a){Array[_0x1fa9bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8a3f0a)?_0x8a3f0a[_0x1fa9bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15d6e4):_0x8a3f0a&&typeof _0x8a3f0a==_0x1fa9bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fa9bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8a3f0a)[_0x1fa9bc([0x73,0x6f,0x72,0x74])]()[_0x1fa9bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x595f64,_0x1e6aad])=>{_0x5dd36d(_0x595f64),_0x15d6e4(_0x1e6aad);}):_0x5dd36d(window[_0x1fa9bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8a3f0a));}return _0x15d6e4(_0x45d880),_0x6ccc29>>>0x0;}function _0x2104c8(_0x2c1d85){return _0x2c1d85[_0x1fa9bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fa9bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fa9bc([0x30]));}function _0x17c3c5(_0x204271){return _0x204271[_0x1fa9bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fa9bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fa9bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x328aee(){}function _0x1fa9bc(_0x32daea){return _0x32daea['map'](_0x4229fa=>String['fromCharCode'](_0x4229fa))['join']('');}_0x5b6297(await _0x4bd251());}(this);}['_logSuppressibleWarning'](_0x412dbc,_0x2ea6e6){if(this['_isSuppressedLog'](_0x412dbc,_0x2ea6e6))return;const _0x54d374=_0x310a8e+'/support/error-codes.html#error-'+_0x412dbc;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x412dbc,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x2ea6e6?[_0x2ea6e6]:[],'\x0aRead\x20more:\x20'+_0x54d374);}['_logSuppressibleInfo'](_0x2ddd40,_0x25b3bc,_0x51fd24){if(this['_isSuppressedLog'](_0x2ddd40))return;let _0x263960=_0x25b3bc;_0x51fd24&&(_0x263960+='\x0aRead\x20more:\x20'+(_0x310a8e+'/'+_0x51fd24)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x2ddd40,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x263960);}['_checkUnsupportedPlugin'](_0x2ddf7c,_0x521522){this['editor']['plugins']['has'](_0x2ddf7c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x2ddf7c,..._0x521522});}['_validateConfigColorValue'](_0x487341){const _0x1b3344=this['editor']['config']['get'](_0x487341);if(!_0x1b3344)return;const _0x3ba8ce=Array['isArray'](_0x1b3344),_0x2cae6f=_0x3ba8ce?_0x1b3344:[_0x1b3344];for(const [_0x452fd2,_0x4bc8f7]of _0x2cae6f['entries']()){const _0xf2edf7='string'==typeof _0x4bc8f7?_0x4bc8f7:_0x4bc8f7['color'];_0x55e594(_0xf2edf7)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x3ba8ce?_0x487341+'['+_0x452fd2+']':_0x487341,'color':_0xf2edf7});}}['_validateConfigColorFormat'](_0x557885){const _0x54fdd0=this['editor']['config']['get'](_0x557885);_0x54fdd0&&_0x13e12e(_0x54fdd0)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x557885,'format':_0x54fdd0});}['_isSuppressedLog'](_0x4abd94,_0x192ab5){const _0x713c27=this['editor']['config']['get']('email.logs');return!!_0x713c27['suppressAll']||(!('function'!=typeof _0x713c27['suppress']||!_0x713c27['suppress'](_0x4abd94,_0x192ab5))||!(!Array['isArray'](_0x713c27['suppress'])||!_0x713c27['suppress']['includes'](_0x4abd94)));}}const _0x3dab3f=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function _0x55e594(_0x490f39){return!!_0x490f39&&_0x3dab3f['some'](_0x12efeb=>_0x490f39['includes'](_0x12efeb+'('));}function _0x13e12e(_0x20f903){return!!_0x20f903&&_0x3dab3f['includes'](_0x20f903);}class HighlightEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var _0xc8ba50=function(_0xc5bc13){var _0x2366ab,_0x5f2693,_0x400917=_0xc5bc13,_0x2b5b19={'a':0x0,'b':0x0,'c':0x0},_0x3e7b33=[];return _0x2366ab=function(_0x4c0a80,_0x1cd51a){var _0x2e6b29,_0xa7d647,_0x50a3f2,_0x5a7d0e,_0x3825da,_0x34c040;if(_0x4c0a80['test'](_0x400917)){for(_0xa7d647=0x0,_0x50a3f2=(_0x2e6b29=_0x400917['match'](_0x4c0a80))['length'];_0xa7d647<_0x50a3f2;_0xa7d647+=0x1)_0x2b5b19[_0x1cd51a]+=0x1,_0x5a7d0e=_0x2e6b29[_0xa7d647],_0x3825da=_0x400917['indexOf'](_0x5a7d0e),_0x34c040=_0x5a7d0e['length'],_0x3e7b33['push']({'selector':_0xc5bc13['substr'](_0x3825da,_0x34c040),'type':_0x1cd51a,'index':_0x3825da,'length':_0x34c040}),_0x400917=_0x400917['replace'](_0x5a7d0e,Array(_0x34c040+0x1)['join']('\x20'));}},_0x5f2693=function(_0x50e3f8){var _0x3d7836,_0x43d185,_0x1bcda3,_0x240909;if(_0x50e3f8['test'](_0x400917)){for(_0x43d185=0x0,_0x1bcda3=(_0x3d7836=_0x400917['match'](_0x50e3f8))['length'];_0x43d185<_0x1bcda3;_0x43d185+=0x1)_0x240909=_0x3d7836[_0x43d185],_0x400917=_0x400917['replace'](_0x240909,Array(_0x240909['length']+0x1)['join']('A'));}},_0x5f2693(/\\[0-9A-Fa-f]{6}\s?/g),_0x5f2693(/\\[0-9A-Fa-f]{1,5}\s/g),_0x5f2693(/\\./g),(function(){var _0x757e24,_0x1a3397,_0x2b7c20,_0x546f34,_0x5f546=/{[^]*/gm;if(_0x5f546['test'](_0x400917)){for(_0x1a3397=0x0,_0x2b7c20=(_0x757e24=_0x400917['match'](_0x5f546))['length'];_0x1a3397<_0x2b7c20;_0x1a3397+=0x1)_0x546f34=_0x757e24[_0x1a3397],_0x400917=_0x400917['replace'](_0x546f34,Array(_0x546f34['length']+0x1)['join']('\x20'));}}()),_0x2366ab(/(\[[^\]]+\])/g,'b'),_0x2366ab(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x2366ab(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x2366ab(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x2366ab(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x2366ab(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x400917=(_0x400917=(_0x400917=(_0x400917=(_0x400917=(_0x400917=_0x400917['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'),_0x2366ab(/([^\s\+>~\.\[:]+)/g,'c'),_0x3e7b33['sort'](function(_0x518abb,_0x166ba1){return _0x518abb['index']-_0x166ba1['index'];}),{'selector':_0xc5bc13,'specificity':'0,'+_0x2b5b19['a']['toString']()+','+_0x2b5b19['b']['toString']()+','+_0x2b5b19['c']['toString'](),'specificityArray':[0x0,_0x2b5b19['a'],_0x2b5b19['b'],_0x2b5b19['c']],'parts':_0x3e7b33};};function _0x4a356c(_0x2aa2df){const _0x45933b=[];let _0x2ac833='',_0x167e32=0x0;for(;_0x167e32<_0x2aa2df['length'];){const _0x1dbee7=_0x2aa2df[_0x167e32];if('('===_0x1dbee7){const _0x1dc7b9=_0x12a07d(_0x2aa2df,_0x167e32+0x1);if(-0x1===_0x1dc7b9)return[];_0x2ac833+=_0x2aa2df['slice'](_0x167e32,_0x1dc7b9+0x1),_0x167e32=_0x1dc7b9+0x1;}else','!==_0x1dbee7||_0x2ac833['endsWith']('\x5c')?(_0x2ac833+=_0x1dbee7,_0x167e32++):(_0x45933b['push'](_0x2ac833['trim']()),_0x2ac833='',_0x167e32++);}return _0x2ac833['trim']()&&_0x45933b['push'](_0x2ac833['trim']()),_0x45933b['filter'](Boolean);}function _0x12a07d(_0x2abed1,_0x23c938){let _0x4cf7cc=0x1;for(let _0xfa33dc=_0x23c938;_0xfa33dc<_0x2abed1['length'];_0xfa33dc++){const _0x2f178b=_0x2abed1[_0xfa33dc];if('('===_0x2f178b)_0x4cf7cc++;else{if(')'===_0x2f178b&&(_0x4cf7cc--,0x0===_0x4cf7cc))return _0xfa33dc;}}return-0x1;}function _0x5df341(_0x54be04){return _0x54be04['replace'](/!\s*important/i,'')['trim']();}function _0x2d9ea7(_0x4df8f8,_0x6ac816){const _0x259d12=new Map(),_0x349fe9=_0x5e1b03=>_0x259d12['has'](_0x5e1b03)?_0x259d12['get'](_0x5e1b03):_0x4df8f8(_0x5e1b03);for(const [_0x17327e,_0x39a163]of _0x6ac816['getStylesEntries']())if(_0x39a163&&_0x17327e['startsWith']('--')){const _0x4b354a=_0x2f5be8(_0x349fe9,_0x39a163);_0x259d12['set'](_0x17327e,_0x4b354a),_0x6ac816['remove'](_0x17327e);}for(const [_0x4c51b8,_0x46a121]of _0x6ac816['getStylesEntries']())if(_0x46a121){const _0x13a45f=_0x2f5be8(_0x349fe9,_0x46a121);_0x6ac816['set'](_0x4c51b8,_0x13a45f);}return _0x259d12;}function _0x2f5be8(_0xb92d7b,_0x58cc0d){return function(_0x1693fb,_0x245ba1){let _0x3cbdc6='',_0x24f3f8=0x0;for(;_0x24f3f8<_0x1693fb['length'];){const _0x52d144=_0x1693fb['indexOf']('var(',_0x24f3f8);if(-0x1===_0x52d144){_0x3cbdc6+=_0x1693fb['slice'](_0x24f3f8);break;}_0x3cbdc6+=_0x1693fb['slice'](_0x24f3f8,_0x52d144);const _0x4cafda=_0x52d144+0x4,_0x3e9c9f=_0x12a07d(_0x1693fb,_0x4cafda);_0x3cbdc6+=_0x245ba1(_0x1693fb['substring'](_0x4cafda,_0x3e9c9f)),_0x24f3f8=_0x3e9c9f+0x1;}return _0x3cbdc6;}(_0x58cc0d,_0x4cc4f8=>{const [_0x1ddd5e,_0x570280]=_0x4a356c(_0x4cc4f8),_0x4e9f2e=_0xb92d7b(_0x1ddd5e);return void 0x0!==_0x4e9f2e?_0x4e9f2e:_0x570280?_0x2f5be8(_0xb92d7b,_0x570280):'var('+_0x1ddd5e+')';});}async function _0x3c75ae(_0x47a4fb){const _0x2877a6=[await _0xa0ed63['collectStylesheets'](_0x47a4fb['stylesheets']),_0x47a4fb['inlineCss']]['filter'](_0xd1b6c=>_0xd1b6c&&_0xd1b6c['length'])['join']('\x0a'),_0x4f862f=await async function(_0x1611ff,_0x1d0689){const _0x33fb3d=new CSSStyleSheet();return await _0x33fb3d['replace'](_0x1d0689),_0x4d5584(Array['from'](_0x33fb3d['cssRules'])['filter'](_0x2f6c74=>_0x2f6c74 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x131610,contentCssText:_0x53573a})=>{const _0x530ff1=_0x4a356c(_0x131610),_0x2338a8=new _0xa0ed63['StylesMap'](_0x1611ff)['setTo'](_0x53573a);return _0x530ff1['map'](_0x9107e9=>{const _0x267101=function(_0x3b4674){const _0xa7663e=':where(';let _0x2558c0=_0x3b4674,_0x39add1=0x0;for(let _0x28f736=0x0;_0x28f736<0x64;_0x28f736++){const _0x38513d=_0x2558c0['indexOf'](_0xa7663e,_0x39add1);if(-0x1===_0x38513d)break;let _0x2c0902=0x0;for(let _0x484e38=0x0;_0x484e38<_0x38513d;_0x484e38++)'('===_0x2558c0[_0x484e38]?_0x2c0902++:')'===_0x2558c0[_0x484e38]&&_0x2c0902--;if(_0x2c0902>0x0){_0x39add1=_0x38513d+_0xa7663e['length'];continue;}let _0x360d57=-0x1;for(let _0x1a489d=_0x38513d+_0xa7663e['length'],_0x4b6475=0x1;_0x1a489d<_0x2558c0['length'];_0x1a489d++)if('('===_0x2558c0[_0x1a489d]?_0x4b6475++:')'===_0x2558c0[_0x1a489d]&&_0x4b6475--,!_0x4b6475){_0x360d57=_0x1a489d;break;}-0x1!==_0x360d57?(_0x2558c0=_0x2558c0['slice'](0x0,_0x38513d)+_0x2558c0['slice'](_0x360d57+0x1),_0x39add1=_0x38513d):_0x39add1=_0x38513d+_0xa7663e['length'];}return _0x2558c0['replace'](/\s+/g,'\x20')['trim']();}(_0x9107e9),_0xb2dfa2=_0x267101?function(_0x41d54d){var _0x4d10e3,_0x2d10c9,_0x36d57f,_0x318e7f,_0x53d3ef=[];for(_0x36d57f=0x0,_0x318e7f=(_0x4d10e3=_0x41d54d['split'](','))['length'];_0x36d57f<_0x318e7f;_0x36d57f+=0x1)(_0x2d10c9=_0x4d10e3[_0x36d57f])['length']>0x0&&_0x53d3ef['push'](_0xc8ba50(_0x2d10c9));return _0x53d3ef;}(_0x267101)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2338a8,'flatSelector':_0x9107e9,'specificity':_0xb2dfa2};});})['sort']((_0x593b3b,_0x505ca6)=>function(_0x2f8e5f,_0x114f11){var _0x3b58fe,_0x29e523,_0x5d2b73;if('string'==typeof _0x2f8e5f){if(-0x1!==_0x2f8e5f['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x3b58fe=_0xc8ba50(_0x2f8e5f)['specificityArray'];}else{if(!Array['isArray'](_0x2f8e5f))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x2f8e5f['filter'](function(_0x3254e2){return'number'==typeof _0x3254e2;})['length'])throw'Invalid\x20specificity\x20array';_0x3b58fe=_0x2f8e5f;}if('string'==typeof _0x114f11){if(-0x1!==_0x114f11['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x29e523=_0xc8ba50(_0x114f11)['specificityArray'];}else{if(!Array['isArray'](_0x114f11))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x114f11['filter'](function(_0x3ed716){return'number'==typeof _0x3ed716;})['length'])throw'Invalid\x20specificity\x20array';_0x29e523=_0x114f11;}for(_0x5d2b73=0x0;_0x5d2b73<0x4;_0x5d2b73+=0x1){if(_0x3b58fe[_0x5d2b73]<_0x29e523[_0x5d2b73])return-0x1;if(_0x3b58fe[_0x5d2b73]>_0x29e523[_0x5d2b73])return 0x1;}return 0x0;}(_0x593b3b['specificity'],_0x505ca6['specificity']));}(_0x47a4fb['stylesProcessor'],_0x2877a6),_0x3066f3=function(_0x102703){const _0x5f1d2c=new Map();for(const {stylesMap:_0x2e6bf0,flatSelector:_0x152985}of _0x102703){if(':root'!==_0x152985)continue;const _0x3c2fa6=_0x2d9ea7(_0x5f1d2c['get']['bind'](_0x5f1d2c),_0x2e6bf0);for(const [_0x2aa61e,_0x5dfe21]of _0x3c2fa6)_0x5f1d2c['set'](_0x2aa61e,_0x5dfe21);}return _0x5f1d2c;}(_0x4f862f);return{'parsedCssRules':_0x4f862f,'rootCssVariables':_0x3066f3};}function _0x4d5584(_0x59ccdb,_0x4b98d8=''){return _0x59ccdb['flatMap'](_0x31727e=>{const {selectorText:_0x2ebf83,cssText:_0x287b3b,cssRules:_0x2bb94d}=_0x31727e;if(!_0x2ebf83)return[];const _0x36963e=_0x2ebf83['replace'](/&/g,_0x4b98d8);let _0x45d310=_0x287b3b['replace'](_0x2ebf83,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x2bb94d||!_0x2bb94d['length'])return[{'selectorText':_0x36963e,'contentCssText':_0x45d310}];for(const _0x1589e3 of _0x2bb94d)_0x45d310=_0x45d310['replace'](_0x1589e3['cssText'],'')['trim']();return[{'selectorText':_0x36963e,'contentCssText':_0x45d310},..._0x4d5584(Array['from'](_0x2bb94d),_0x36963e)];});}function _0x252c4d(_0xcb31c5,_0x95fd0a){const _0x27f179=new _0xa0ed63['StylesMap'](_0xcb31c5);for(const _0x5949d2 of _0x95fd0a){let _0x292d1f=null;if(_0x292d1f='string'==typeof _0x5949d2?new _0xa0ed63['StylesMap'](_0xcb31c5)['setTo'](_0x5949d2):_0x5949d2,_0x292d1f){for(const [_0x1ce264,_0x52447c]of _0x292d1f['getStylesEntries']())_0x27f179['set'](_0x1ce264,_0x52447c);}}return _0x27f179;}class ExportInlineStylesCommand extends _0xa0ed63['Command']{['_stylesProcessor'];constructor(_0x3dc3fa){super(_0x3dc3fa),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0xa0ed63['addMarginStylesRules'](this['_stylesProcessor']),_0xa0ed63['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x9999d3){const _0xe288ac=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x130c5f}=this['editor']['locale'],{rootName:_0x339e5a='main',dataControllerDowncastOptions:_0x461205={},transformations:_0x5d0c0b=_0xe288ac['transformations']||[]}=_0x9999d3||{};this['isBusy']=!0x0,this['refresh']();const _0x586ad0=this['_getRootDataHTMLFragment'](_0x339e5a,_0x461205),_0x363e96=_0xa0ed63['createElement'](_0x586ad0['ownerDocument'],'div',{'dir':_0x130c5f,'class':'ck-content'},[_0x586ad0]);return this['_collectAndApplyStyles'](_0x5d0c0b,_0x363e96)['then'](()=>{const _0x3f83ec=function(_0x42688b){const _0x5b5639=_0x42688b['ownerDocument']['createDocumentFragment']();for(;_0x42688b['firstChild'];)_0x5b5639['appendChild'](_0x42688b['firstChild']);return _0x5b5639;}(_0x363e96),_0x28d552=_0x363e96['getAttribute']('style');if(_0x28d552)for(const _0x350185 of _0x3f83ec['children']){const _0x2eaeba=_0x350185['getAttribute']('style'),_0x2dcea8=_0x252c4d(this['_stylesProcessor'],[_0x28d552,_0x2eaeba]);_0x350185['setAttribute']('style',_0x2cda3f(_0x2dcea8));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3f83ec);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x206366,_0x46d5c0){const {data:_0x492159,model:_0x185677}=this['editor'],_0x54fbb9=_0x185677['document']['getRoot'](_0x206366),_0xe3a50e=_0x492159['toView'](_0x54fbb9,_0x46d5c0);return _0x492159['htmlProcessor']['domConverter']['viewToDom'](_0xe3a50e);}async['_collectAndApplyStyles'](_0x3fcd9b,_0x687f53){const {stylesheets:_0x368c98,inlineCss:_0x42cb6a,stripCssClasses:_0x58e0e0}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x5caa9f,rootCssVariables:_0x35e24c}=await _0x3c75ae({'stylesheets':_0x368c98||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x42cb6a});this['_processElementTree']({'transformations':_0x3fcd9b,'parsedCssRules':_0x5caa9f,'element':_0x687f53,'stripCssClasses':_0x58e0e0,'parentCSSVariablesLookup':_0x35e24c['get']['bind'](_0x35e24c)});}['_processElementTree']({element:_0x31df5a,parsedCssRules:_0x1ca10e,parentCSSVariablesLookup:_0x44dbbb,stripCssClasses:_0x2259da,transformations:_0x3e4641}){const {stylesMap:_0x3649b5,localCSSVariables:_0x4be5f0}=function(_0x5b45a3){const _0x518ab9=_0x5b45a3['element']['getAttribute']('style')||'',_0x425254=_0x5b45a3['parsedCssRules']['filter'](_0x3c393b=>_0x5b45a3['element']['matches'](_0x3c393b['flatSelector']))['map'](_0xc376db=>_0xc376db['stylesMap']),_0x93066d=_0x252c4d(_0x5b45a3['stylesProcessor'],[..._0x425254,_0x518ab9]);return{'localCSSVariables':_0x2d9ea7(_0x5b45a3['fallbackCSSVariablesLookup'],_0x93066d),'stylesMap':_0x93066d};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x44dbbb,'parsedCssRules':_0x1ca10e,'element':_0x31df5a});for(const _0x66b784 of _0x3e4641){const _0x16c50f=_0x66b784(_0x31df5a,_0x3649b5);_0x16c50f&&_0x16c50f instanceof HTMLElement&&(_0x31df5a=_0x16c50f);}_0x3649b5['size']?_0x31df5a['setAttribute']('style',_0x2cda3f(_0x3649b5)):_0x31df5a['removeAttribute']('style');const _0x467ad4=_0x36e6a6=>_0x4be5f0['has'](_0x36e6a6)?_0x4be5f0['get'](_0x36e6a6):_0x44dbbb(_0x36e6a6);for(const _0xb26888 of _0x31df5a['children'])_0xb26888 instanceof HTMLElement&&this['_processElementTree']({'element':_0xb26888,'parentCSSVariablesLookup':_0x467ad4,'parsedCssRules':_0x1ca10e,'stripCssClasses':_0x2259da,'transformations':_0x3e4641});_0x2259da&&_0x31df5a['removeAttribute']('class');}}function _0x2cda3f(_0x5efc42){return _0x5efc42['getStylesEntries']()['map'](_0x3ea40d=>_0x3ea40d['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0xa0ed63['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 ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x3d1756){const _0x5d356d=_0x2ec8f7([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0xb594ef=0x6f40c3fb,_0x565401=0x6f474c3b^_0xb594ef,_0xc360de=window[_0x2ec8f7([0x44,0x61,0x74,0x65])][_0x2ec8f7([0x6e,0x6f,0x77])](),_0x1d79e5=_0x3d1756[_0x2ec8f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27e953=new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x409418=>{_0x1d79e5[_0x2ec8f7([0x6f,0x6e,0x63,0x65])](_0x2ec8f7([0x72,0x65,0x61,0x64,0x79]),_0x409418);}),_0x2f5e80={[_0x2ec8f7([0x6b,0x74,0x79])]:_0x2ec8f7([0x45,0x43]),[_0x2ec8f7([0x75,0x73,0x65])]:_0x2ec8f7([0x73,0x69,0x67]),[_0x2ec8f7([0x63,0x72,0x76])]:_0x2ec8f7([0x50,0x2d,0x32,0x35,0x36]),[_0x2ec8f7([0x78])]:_0x2ec8f7([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2ec8f7([0x79])]:_0x2ec8f7([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2ec8f7([0x61,0x6c,0x67])]:_0x2ec8f7([0x45,0x53,0x32,0x35,0x36])},_0x3185a1=_0x1d79e5[_0x2ec8f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ec8f7([0x67,0x65,0x74])](_0x2ec8f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x386edc(){let _0x40539d,_0x46497f=null,_0x416072=null;try{if(_0x3185a1==_0x2ec8f7([0x47,0x50,0x4c]))return _0x2ec8f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40539d=_0x2b352d(),!_0x40539d)return _0x2ec8f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40539d[_0x2ec8f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x416072=_0x4370e4(_0x40539d[_0x2ec8f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40539d[_0x2ec8f7([0x6a,0x74,0x69])])),await _0x2ce070()?_0x34e48f()?_0x3cce31()?_0x2ec8f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6c827()?(_0x40539d[_0x2ec8f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec8f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46497f=_0x43ba08(_0x2ec8f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52310()):_0x2ec8f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec8f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ec8f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ec8f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cce31(){const _0x3ab865=[_0x2ec8f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ec8f7([0x74,0x72,0x69,0x61,0x6c])][_0x2ec8f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40539d[_0x2ec8f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc360de/0x3e8:0xe10*_0x565401;return _0x40539d[_0x2ec8f7([0x65,0x78,0x70])]<_0x3ab865;}function _0x34e48f(){const _0x291308=_0x40539d[_0x2ec8f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x291308&&(!!_0x291308[_0x2ec8f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec8f7([0x2a]))||!!_0x291308[_0x2ec8f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec8f7([0x45,0x49,0x53])));}function _0x6c827(){const _0x5e09bc=_0x40539d[_0x2ec8f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e09bc||0x0==_0x5e09bc[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ad7e}=new URL(window[_0x2ec8f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e09bc[_0x2ec8f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ad7e))return!0x0;const _0x2a780=_0x34ad7e[_0x2ec8f7([0x73,0x70,0x6c,0x69,0x74])](_0x2ec8f7([0x2e]));return _0x5e09bc[_0x2ec8f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b7320=>_0x3b7320[_0x2ec8f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec8f7([0x2a])))[_0x2ec8f7([0x6d,0x61,0x70])](_0x586f1b=>_0x586f1b[_0x2ec8f7([0x73,0x70,0x6c,0x69,0x74])](_0x2ec8f7([0x2e])))[_0x2ec8f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2162fd=>_0x2162fd[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a780[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec8f7([0x6d,0x61,0x70])](_0x5a57d1=>Array(_0x2a780[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a57d1[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec8f7([0x66,0x69,0x6c,0x6c])](_0x5a57d1[0x0]===_0x2ec8f7([0x2a])?_0x2ec8f7([0x2a]):'')[_0x2ec8f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a57d1))[_0x2ec8f7([0x73,0x6f,0x6d,0x65])](_0x101655=>_0x2a780[_0x2ec8f7([0x65,0x76,0x65,0x72,0x79])]((_0x34e6f9,_0x86462e)=>_0x101655[_0x86462e]===_0x34e6f9||_0x101655[_0x86462e]===_0x2ec8f7([0x2a])));}function _0x52310(){return _0x46497f&&_0x416072?new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5c27,_0x1bdca6)=>{_0x46497f[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x4a5c27,_0x1bdca6),_0x416072[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x239dc8=>{_0x239dc8!=_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5c27(_0x239dc8);},_0x1bdca6);}):_0x46497f||_0x416072||_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4370e4(_0x3828f0,_0x582e2b){return new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e0ec=>{if(_0x5bf2da())return _0x57e0ec(_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64]));_0x1ac890(),_0x1d79e5[_0x2ec8f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ec8f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21b01a=!0x1;const _0x3b8de0=_0xa0ed63['uid']();function _0x46f07a(_0x48039e){return!!_0x48039e&&(typeof _0x48039e===_0x2ec8f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48039e===_0x2ec8f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48039e[_0x2ec8f7([0x74,0x68,0x65,0x6e])]===_0x2ec8f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48039e[_0x2ec8f7([0x63,0x61,0x74,0x63,0x68])]===_0x2ec8f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e169e(_0x79a5eb){_0x3e991c(_0x79a5eb)[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x3d49a3=>{if(!_0x3d49a3||_0x3d49a3[_0x2ec8f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ec8f7([0x6f,0x6b]))return _0x2ec8f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b1986(_0x379bed(_0x3b8de0+_0x582e2b))!=_0x3d49a3[_0x2ec8f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ec8f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x3db4ee=>(_0x710fe8(),_0x3db4ee),()=>{const _0x51cde0=_0x4a2e07();return null==_0x51cde0?(_0x710fe8(),_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64])):_0x2ec8f7(_0xc360de-_0x51cde0>(0x4b4c47fb^_0xb594ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x57e0ec)[_0x2ec8f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57e0ec(_0x2ec8f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35b900=0x6f762d7b^_0xb594ef;function _0x710fe8(){const _0x345d59=_0x2ec8f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b1986(_0x379bed(_0x3828f0)),_0x43c906=_0xc09c1a(_0x1b1986(window[_0x2ec8f7([0x4d,0x61,0x74,0x68])][_0x2ec8f7([0x63,0x65,0x69,0x6c])](_0xc360de/_0x35b900)));window[_0x2ec8f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec8f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x345d59,_0x43c906);}function _0x4a2e07(){const _0x4c57f7=_0x2ec8f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b1986(_0x379bed(_0x3828f0)),_0x25ff66=window[_0x2ec8f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec8f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c57f7);return _0x25ff66?window[_0x2ec8f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc09c1a(_0x25ff66),0x10)*_0x35b900:null;}function _0x3e991c(_0x7217b){return new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fd1f6,_0x370b5a)=>{_0x7217b[_0x2ec8f7([0x74,0x68,0x65,0x6e])](_0x4fd1f6,_0x370b5a),window[_0x2ec8f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x370b5a,0x6f41173b^_0xb594ef);});}}_0x1d79e5[_0x2ec8f7([0x6f,0x6e])](_0x2ec8f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f17a7,_0x489791)=>{if(_0x489791[0x0]!=_0x3828f0)return _0x57e0ec(_0x2ec8f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x489791[0x1]={..._0x489791[0x1],[_0x2ec8f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b8de0};},{[_0x2ec8f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec8f7([0x68,0x69,0x67,0x68])}),_0x1d79e5[_0x2ec8f7([0x6f,0x6e])](_0x2ec8f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ce686=>{_0x46f07a(_0x4ce686[_0x2ec8f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21b01a=!0x0,_0x2e169e(_0x4ce686[_0x2ec8f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ec8f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec8f7([0x6c,0x6f,0x77])}),_0x27e953[_0x2ec8f7([0x74,0x68,0x65,0x6e])](()=>{_0x21b01a||_0x57e0ec(_0x2ec8f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bf2da(){return _0x1d79e5[_0x2ec8f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec8f7([0x76,0x69,0x65,0x77])][_0x2ec8f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ec8f7([0x61,0x75,0x74,0x6f]);}function _0x1ac890(){_0x1d79e5[_0x2ec8f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec8f7([0x76,0x69,0x65,0x77])][_0x2ec8f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ec8f7([0x61,0x75,0x74,0x6f]);}}function _0x43ba08(_0x4158bf){const _0x45a1e9=[new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f6468=>setTimeout(_0x1f6468,0x6f49fd37^_0xb594ef)),_0x27e953[_0x2ec8f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4752bc=>{let _0x5693fc=0x0;_0x1d79e5[_0x2ec8f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec8f7([0x6f,0x6e])](_0x2ec8f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dced9,_0x1e5c1a)=>{_0x1e5c1a[0x0][_0x2ec8f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5693fc++,_0x5693fc==(0x6f40c613^_0xb594ef)&&(_0x4752bc(),_0x4dced9[_0x2ec8f7([0x6f,0x66,0x66])]());});}))];return window[_0x2ec8f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ec8f7([0x72,0x61,0x63,0x65])](_0x45a1e9)[_0x2ec8f7([0x74,0x68,0x65,0x6e])](()=>_0x4158bf);}async function _0x3d81a2(){await _0x27e953;const _0x2645ac=_0x1d79e5['commands'][_0x2ec8f7([0x67,0x65,0x74])](_0x2ec8f7([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x2645ac&&_0x2645ac[_0x2ec8f7([0x6f,0x6e])](_0x2ec8f7([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x45a18f=>{_0x45a18f['stop']();},{'priority':_0x2ec8f7([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1d79e5[_0x2ec8f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec8f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cb980,_0x1d79e5[_0x2ec8f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec8f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cb980,_0x1d79e5[_0x2ec8f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ec8f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x212c40(_0x492d99){const _0x2f6374=_0x4fcb37();_0x1d79e5[_0x2f6374]=_0x2ec8f7([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x492d99,_0x492d99!=_0x2ec8f7([0x56,0x61,0x6c,0x69,0x64])&&_0x3d81a2();}function _0x4fcb37(){const _0x2cb423=window[_0x2ec8f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ec8f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ec8f7([0x6e,0x6f,0x77])]())[_0x2ec8f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ec8f7([0x2e]),'');let _0x21c6c5=_0x2ec8f7([0x44]);for(let _0x2ae8c4=0x0;_0x2ae8c4<_0x2cb423[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ae8c4+=0x2){let _0x5c6c3d=window[_0x2ec8f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb423[_0x2ec8f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ae8c4,_0x2ae8c4+0x2));_0x5c6c3d>=_0x5d356d[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c6c3d-=_0x5d356d[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21c6c5+=_0x5d356d[_0x5c6c3d];}return _0x21c6c5;}function _0x2b352d(){const _0x36b416=_0x3185a1[_0x2ec8f7([0x73,0x70,0x6c,0x69,0x74])](_0x2ec8f7([0x2e]));if(0x3!=_0x36b416[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5416be(_0x36b416[0x1]);function _0x5416be(_0xde0cf5){const _0x3b7518=_0x2c65cc(_0xde0cf5);return _0x3b7518&&_0x37f078()?_0x3b7518:null;function _0x37f078(){const _0x4ab1b9=_0x3b7518[_0x2ec8f7([0x6a,0x74,0x69])],_0x2c9510=window[_0x2ec8f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ab1b9[_0x2ec8f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ab1b9[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c69fb={..._0x3b7518,[_0x2ec8f7([0x6a,0x74,0x69])]:_0x4ab1b9[_0x2ec8f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ab1b9[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c69fb[_0x2ec8f7([0x76,0x63])],_0x379bed(_0x1c69fb)==_0x2c9510;}}}async function _0x2ce070(){let _0x3891a6=!0x0;try{const _0x630cdb=_0x3185a1[_0x2ec8f7([0x73,0x70,0x6c,0x69,0x74])](_0x2ec8f7([0x2e])),[_0x5da082,_0x1a8d98,_0x2afb5e]=_0x630cdb;return _0xcde80a(_0x5da082),await _0x3acfe6(_0x5da082,_0x1a8d98,_0x2afb5e),_0x3891a6;}catch{return!0x1;}function _0xcde80a(_0x266380){const _0x47aba2=_0x2c65cc(_0x266380);_0x47aba2&&_0x47aba2[_0x2ec8f7([0x61,0x6c,0x67])]==_0x2ec8f7([0x45,0x53,0x32,0x35,0x36])||(_0x3891a6=!0x1);}async function _0x3acfe6(_0x189f0d,_0x36c5de,_0x1946b9){const _0x55d0df=window[_0x2ec8f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ec8f7([0x66,0x72,0x6f,0x6d])](_0x41953b(_0x1946b9),_0x4b7d86=>_0x4b7d86[_0x2ec8f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5808b8=new window[(_0x2ec8f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ec8f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x189f0d+_0x2ec8f7([0x2e])+_0x36c5de),_0x5552dc=window[_0x2ec8f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ec8f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5552dc)return;const _0x207765=await _0x5552dc[_0x2ec8f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ec8f7([0x6a,0x77,0x6b]),_0x2f5e80,{[_0x2ec8f7([0x6e,0x61,0x6d,0x65])]:_0x2ec8f7([0x45,0x43,0x44,0x53,0x41]),[_0x2ec8f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ec8f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ec8f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5552dc[_0x2ec8f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ec8f7([0x6e,0x61,0x6d,0x65])]:_0x2ec8f7([0x45,0x43,0x44,0x53,0x41]),[_0x2ec8f7([0x68,0x61,0x73,0x68])]:{[_0x2ec8f7([0x6e,0x61,0x6d,0x65])]:_0x2ec8f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x207765,_0x55d0df,_0x5808b8)||(_0x3891a6=!0x1);}}function _0x2c65cc(_0x325285){return _0x325285[_0x2ec8f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ec8f7([0x65,0x79]))?JSON[_0x2ec8f7([0x70,0x61,0x72,0x73,0x65])](_0x41953b(_0x325285)):null;}function _0x41953b(_0x5606bb){return window[_0x2ec8f7([0x61,0x74,0x6f,0x62])](_0x5606bb[_0x2ec8f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ec8f7([0x2b]))[_0x2ec8f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ec8f7([0x2f])));}function _0x379bed(_0x38e890){let _0xa66cc5=0x1505;function _0x1e8bca(_0x55d3f6){for(let _0x27cb4f=0x0;_0x27cb4f<_0x55d3f6[_0x2ec8f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27cb4f++){const _0xcb3c7=_0x55d3f6[_0x2ec8f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27cb4f);_0xa66cc5=(_0xa66cc5<<0x5)+_0xa66cc5+_0xcb3c7,_0xa66cc5&=_0xa66cc5;}}function _0x2fac83(_0xce4b3){Array[_0x2ec8f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xce4b3)?_0xce4b3[_0x2ec8f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fac83):_0xce4b3&&typeof _0xce4b3==_0x2ec8f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ec8f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xce4b3)[_0x2ec8f7([0x73,0x6f,0x72,0x74])]()[_0x2ec8f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10ce86,_0x1fa71e])=>{_0x1e8bca(_0x10ce86),_0x2fac83(_0x1fa71e);}):_0x1e8bca(window[_0x2ec8f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xce4b3));}return _0x2fac83(_0x38e890),_0xa66cc5>>>0x0;}function _0x1b1986(_0x2572df){return _0x2572df[_0x2ec8f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ec8f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ec8f7([0x30]));}function _0xc09c1a(_0x356a90){return _0x356a90[_0x2ec8f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ec8f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ec8f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cb980(){}function _0x2ec8f7(_0x59adce){return _0x59adce['map'](_0x303384=>String['fromCharCode'](_0x303384))['join']('');}_0x212c40(await _0x386edc());}(this);}}class ExportInlineStyles extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3b5594=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x829e15;for(const _0x43d54a in _0x3b5594){const _0x20fac4=_0x43d54a,_0x49b5d4=_0x3b5594[_0x20fac4];if('exportInlineStylesLicenseKeyValid'==_0x49b5d4||'exportInlineStylesLicenseKeyInvalid'==_0x49b5d4||'exportInlineStylesLicenseKeyExpired'==_0x49b5d4||'exportInlineStylesLicenseKeyDomainLimit'==_0x49b5d4||'exportInlineStylesLicenseKeyNotAllowed'==_0x49b5d4||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x49b5d4||'exportInlineStylesLicenseKeyUsageLimit'==_0x49b5d4){delete _0x3b5594[_0x20fac4],_0x829e15=_0x49b5d4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x829e15&&_0x3b5594['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x829e15&&_0x3b5594['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x829e15&&_0x3b5594['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x829e15&&_0x3b5594['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x829e15&&_0x3b5594['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x829e15&&_0x3b5594['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x393fe3(_0x429564,_0x23c32b){if(!['TABLE','IMG']['includes'](_0x429564['tagName']))return;const _0x16f39a=_0x23c32b['getAsString']('float');if(_0x16f39a){const _0x2fc9ec=_0x5df341(_0x16f39a);'left'!==_0x2fc9ec&&'right'!==_0x2fc9ec||_0x429564['setAttribute']('align',_0x2fc9ec);}}function _0x41786a(_0x43957b,_0x29c380){if('TABLE'!==_0x43957b['tagName']||_0x29c380['has']('float'))return;const _0x39be7d=_0x32fbef(_0x29c380),_0x3d046e=_0x29c380['getAsString']('width');(_0x39be7d||_0x3d046e)&&(_0x462f17(_0x43957b,_0x43957b,{'align':_0x39be7d,'width':_0x3d046e}),_0x29c380['remove']('width'),_0x29c380['remove']('margin-left'),_0x29c380['remove']('margin-right'),_0x29c380['remove']('min-width'),_0x29c380['remove']('max-width'));}function _0x3da912(_0x3a16b1,_0x3a7219){if('IMG'!==_0x3a16b1['tagName'])return;const _0x48db7b=_0x3a7219['getAsString']('width');_0x48db7b&&(_0x3a16b1['setAttribute']('width',_0x48db7b),_0x3a16b1['setAttribute']('height','auto'));}function _0x5d813a(_0x368605,_0x543679){if('FIGURE'!==_0x368605['tagName'])return;const _0x36e2a9=_0x32fbef(_0x543679),_0x4870e1=_0x543679['getAsString']('width');if(!_0x36e2a9&&!_0x4870e1)return;const _0x5945e0=_0xcbc872(_0x368605,'div');return _0x462f17(_0x368605,_0x5945e0,{'align':_0x36e2a9,'width':_0x4870e1}),_0x543679['set']('width','100%'),_0x543679['remove']('margin-left'),_0x543679['remove']('margin-right'),_0x543679['remove']('min-width'),_0x543679['remove']('max-width'),_0x5945e0;}function _0x13ef0c(_0x4e6894){if('FIGCAPTION'!==_0x4e6894['tagName'])return;const _0x9fa16d=_0xcbc872(_0x4e6894,'div');return _0x4e6894['replaceWith'](_0x9fa16d),_0x9fa16d;}function _0x462f17(_0x1c67cb,_0x42fc64,_0x1e075b){const _0x1a3d14=_0x1c67cb['ownerDocument'],{table:_0x2eb8ac,cell:_0x23d24a}=_0x12db7e(_0x1a3d14,'100%');_0x1e075b['align']&&_0x23d24a['setAttribute']('align',_0x5df341(_0x1e075b['align']));let _0xff662e=_0x23d24a;if(_0x1e075b['width']){const {table:_0x1905d1,cell:_0x576f4c}=_0x12db7e(_0x1a3d14,_0x5df341(_0x1e075b['width']));_0x23d24a['appendChild'](_0x1905d1),_0xff662e=_0x576f4c;}_0x1c67cb['replaceWith'](_0x2eb8ac),_0x1c67cb['removeAttribute']('align'),_0x1c67cb['removeAttribute']('width'),_0xff662e['appendChild'](_0x42fc64);}function _0x12db7e(_0x1392b6,_0x4042ec){const _0x440845=_0x1392b6['createElement']('table');_0x440845['setAttribute']('width',_0x4042ec),_0x440845['setAttribute']('cellpadding','0'),_0x440845['setAttribute']('cellspacing','0'),_0x440845['setAttribute']('border','0'),_0x440845['setAttribute']('role','presentation');const _0x4cb3c4=_0x1392b6['createElement']('tbody'),_0x5e40c6=_0x1392b6['createElement']('tr'),_0x3e78ea=_0x1392b6['createElement']('td');return _0x440845['appendChild'](_0x4cb3c4),_0x4cb3c4['appendChild'](_0x5e40c6),_0x5e40c6['appendChild'](_0x3e78ea),{'table':_0x440845,'cell':_0x3e78ea};}function _0x32fbef(_0x3161fc){const _0x3fa996=_0x3161fc['getAsString']('margin-left'),_0x423c68=_0x3161fc['getAsString']('margin-right'),_0x182772=_0x3fa996&&_0x5df341(_0x3fa996),_0x425aa0=_0x423c68&&_0x5df341(_0x423c68);return'auto'===_0x182772&&'auto'===_0x425aa0?'center':'auto'===_0x182772?'right':'auto'===_0x425aa0?'left':void 0x0;}function _0xcbc872(_0xa16ade,_0x6c99e6){const _0x37faab=_0xa16ade['ownerDocument']['createElement'](_0x6c99e6);for(const _0x2a33a9 of Array['from'](_0xa16ade['attributes']))_0x37faab['setAttribute'](_0x2a33a9['name'],_0x2a33a9['value']);for(;_0xa16ade['firstChild'];)_0x37faab['appendChild'](_0xa16ade['firstChild']);return _0x37faab;}class ImageEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0xc8e5a7,plugins:_0x375f39}=this['editor'],_0x4ad8d5=_0xc8e5a7['get']('exportInlineStyles');if(_0x4ad8d5?.['transformations']?.['includes'](_0x5d813a))return;_0x375f39['get'](EmailConfigurationLogger)['_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.'});}}class MathTypeEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x38ebf6=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x38ebf6['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x244805=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x2e9db6=this['editor']['config']['get']('list');_0x2e9db6&&_0x2e9db6['properties']&&_0x2e9db6['properties']['reversed']&&_0x244805['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x2e9db6&&_0x2e9db6['enableListItemMarkerFormatting']&&_0x244805['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x1ae67b}=this['editor'],_0x177a6c=_0x1ae67b['get'](EmailConfigurationLogger);_0x1ae67b['has']('Table')&&(_0x1ae67b['has']('PlainTableOutput')||_0x177a6c['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x1ae67b['has']('TableLayout')||_0x177a6c['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x275afb,plugins:_0x4d7aef}=this['editor'];_0x275afb['get']('table')&&_0x4d7aef['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x8852aa){const _0x207d88=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x207d88['_validateConfigColorValue']('table.'+_0x8852aa+'.borderColors'),_0x207d88['_validateConfigColorValue']('table.'+_0x8852aa+'.backgroundColors'),_0x207d88['_validateConfigColorValue']('table.'+_0x8852aa+'.defaultProperties.borderColor'),_0x207d88['_validateConfigColorValue']('table.'+_0x8852aa+'.defaultProperties'),_0x207d88['_validateConfigColorFormat']('table.'+_0x8852aa+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5e27aa=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x5e27aa['_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');}}class FontEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x4d53d6}=this['editor'];_0x4d53d6['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x4d53d6['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x4ad9f1){const _0x1dd683=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x4ad9f1)&&(_0x1dd683['_validateConfigColorValue'](_0x4ad9f1+'.colors'),_0x1dd683['_validateConfigColorValue'](_0x4ad9f1+'.documentColors'),_0x1dd683['_validateConfigColorFormat'](_0x4ad9f1+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x3cd206}=this['editor'],_0x2a1b2d=_0x3cd206['get'](EmailConfigurationLogger);_0x3cd206['has']('SourceEditing')||_0x3cd206['has']('SourceEditingEnhanced')||_0x2a1b2d['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends _0xa0ed63['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[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3c6f32}=this['editor'];if(!_0x3c6f32['has']('DataFilter'))return;const _0x4e7c90=_0x3c6f32['get']('DataFilter'),_0x384ac4=_0x3c6f32['get'](EmailConfigurationLogger);for(const _0x3e9b95 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x4e7c90['once']('register:'+_0x3e9b95,(_0x145c1b,_0x33b569)=>{_0x384ac4['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x33b569['view']});});}}class MergeFieldsEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5ad526=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x5ad526['_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');}}class TemplateEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x104154=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x104154['_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');}}class UploadEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends _0xa0ed63['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x10d9cd,plugins:_0x2d1ed3}=this['editor'],_0x2f2dc4=_0x2d1ed3['get'](EmailConfigurationLogger),_0x2195ae=_0x10d9cd['get']('exportInlineStyles');_0x2195ae?.['transformations']?.['includes'](_0x5d813a)||_0x2f2dc4['_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.'});}}class EmailConfigurationHelper extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x180f07=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22ca67;for(const _0x3ecab3 in _0x180f07){const _0x20d93=_0x3ecab3,_0x357000=_0x180f07[_0x20d93];if('emailConfigurationHelperLicenseKeyValid'==_0x357000||'emailConfigurationHelperLicenseKeyInvalid'==_0x357000||'emailConfigurationHelperLicenseKeyExpired'==_0x357000||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x357000||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x357000||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x357000||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x357000){delete _0x180f07[_0x20d93],_0x22ca67=_0x357000,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x22ca67&&_0x180f07['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x22ca67&&_0x180f07['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x22ca67&&_0x180f07['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x22ca67&&_0x180f07['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x22ca67&&_0x180f07['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x22ca67&&_0x180f07['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x509917(_0x1d2137,_0x2af628){const t=_0x1d2137['t'];switch(_0x2af628){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 _0x2af628;}}class ExportPdfCommand extends _0xa0ed63['Command']{constructor(_0x40762a){super(_0x40762a),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x133567={}){const _0x3d9ac8=this['editor'],_0x28437d=_0x133567['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x46deca=_0x133567['dataCallback']||(_0xd440de=>_0xd440de['data']['get']()),_0x5bdb5a=_0x3d9ac8['plugins']['get']('ExportPdf'),_0x5d0dba=_0x133567['token']||_0x5bdb5a['_token'];return this['isBusy']=!0x0,this['refresh'](),_0xa0ed63['collectStylesheets'](_0x133567['stylesheets']||['EDITOR_STYLES'])['then'](async _0x3e0ca8=>{if(_0x3d9ac8['ui']['ariaLiveAnnouncer']['announce'](_0x509917(_0x3d9ac8['locale'],'PDF\x20export\x20started')),_0x3d9ac8['plugins']['has']('MergeFields')){_0x133567['converterOptions']||(_0x133567['converterOptions']={});const _0x5a0278=_0x3d9ac8['plugins']['get']('MergeFieldsEditing'),_0x45ea39=_0x5a0278['previewMode'],{prefix:_0x41d3e5,suffix:_0x58eda7}=_0x3d9ac8['config']['get']('mergeFields'),_0x47f334='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5cfb12={'prefix':_0x41d3e5,'suffix':_0x58eda7,'data':{}};if('$labels'===_0x45ea39){for(const _0x3a27c2 of _0x5a0278['getMergeFieldsIds']())'image'===_0x5a0278['getMergeFieldType'](_0x3a27c2)?_0x5cfb12['data'][_0x3a27c2]=_0x47f334:_0x5cfb12['data'][_0x3a27c2]=_0x5a0278['wrapInAffixes'](_0x5a0278['getLabel'](_0x3a27c2)||_0x3a27c2);}else{const _0x1cb2b1='$defaultValues'===_0x45ea39?_0x5a0278['getDefaultValues']():_0x5a0278['getDataSetValues'](_0x45ea39,!0x0);for(const _0x369c65 of Object['entries'](_0x1cb2b1)){const [_0x2af9b8,_0x588322]=_0x369c65;'image'===_0x5a0278['getMergeFieldType'](_0x2af9b8)?_0x5cfb12['data'][_0x2af9b8]=null!==_0x588322?_0x588322:_0x47f334:_0x5cfb12['data'][_0x2af9b8]=null!==_0x588322?_0x588322:_0x5a0278['getLabel'](_0x2af9b8)||_0x2af9b8;}}_0x133567['converterOptions']['merge_fields']=_0x5cfb12;}const _0x48e499=0x2===_0x133567['version']?function(_0xee88b2){const _0x1544fe=_0xee88b2?.['document']?.['margins'];return _0x319d14({'pageWidth':_0x25a2a0(_0xee88b2?.['document']?.['size']||'A4'),'marginLeft':_0x1544fe?.['left'],'marginRight':_0x1544fe?.['right']});}(_0x133567['converterOptions']):(_0x5e5872=_0x133567['converterOptions'],_0x319d14({'pageWidth':_0x25a2a0(_0x5e5872?.['format']||'A4'),'marginLeft':_0x5e5872?.['margin_left'],'marginRight':_0x5e5872?.['margin_right']}));var _0x5e5872;const _0x3b8f76={'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'+_0x3d9ac8['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x48e499+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x46deca(_0x3d9ac8)+'\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':_0x3e0ca8,[0x2===_0x133567['version']?'config':'options']:_0x133567['converterOptions']},_0x27f184={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x5d0dba?{'Authorization':_0x5d0dba['value']}:null,'x-cs-app-id':_0x133567['appID']||'cke5'},'body':JSON['stringify'](_0x3b8f76)};return window['fetch'](_0x28437d,_0x27f184)['then'](_0x1559f8=>{if(0xc8!==_0x1559f8['status'])throw _0x1559f8;return _0x1559f8['blob']();})['then'](_0x53c063=>{_0x3d9ac8['ui']['ariaLiveAnnouncer']['announce'](_0x509917(_0x3d9ac8['locale'],'PDF\x20export\x20successful'));const _0x426f9d='function'==typeof _0x133567['fileName']?_0x133567['fileName']():_0x133567['fileName'];this['_downloadFile'](_0x53c063,_0x426f9d||'document.pdf');});})['catch'](_0x560984=>{const _0x47b78a=_0x3d9ac8['plugins']['get']('Notification');throw _0x3d9ac8['ui']['ariaLiveAnnouncer']['announce'](_0x509917(_0x3d9ac8['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x47b78a['showWarning'](_0x509917(_0x3d9ac8['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x560984;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x6bf988,_0x2f89d5){const _0x7d3205=document['createElement']('a');_0x7d3205['href']=window['URL']['createObjectURL'](_0x6bf988),_0x7d3205['download']=_0x2f89d5,_0x7d3205['click'](),_0x7d3205['remove']();}}function _0x319d14({pageWidth:_0x32421e,marginLeft:_0x5c941c,marginRight:_0x4d6079}){return'width:calc('+[_0x32421e,_0x5c941c,_0x4d6079]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x25a2a0(_0x1069cd){if('object'==typeof _0x1069cd&&'width'in _0x1069cd)return _0x1069cd['width'];return{'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']}[_0x1069cd['toLowerCase']()][0x0];}class ExportPdfUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x290ab9=this['editor'];_0x290ab9['ui']['componentFactory']['add']('exportPdf',()=>{const _0x8b326a=this['_createButton'](_0xa0ed63['ButtonView']),_0x42e555=_0x290ab9['commands']['get']('exportPdf');return _0x8b326a['set']({'tooltip':!0x0}),_0x8b326a['bind']('isOn')['to'](_0x42e555,'isBusy'),_0x8b326a;}),_0x290ab9['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0xa0ed63['MenuBarMenuListItemButtonView']));}['_createButton'](_0x264eae){const _0x25b31c=this['editor'],_0x1192cc=_0x25b31c['config']['get']('exportPdf')||{},_0x51ed62=_0x25b31c['commands']['get']('exportPdf'),_0x4be4f7=new _0x264eae(_0x25b31c['locale']),_0x563941=new _0xa0ed63['SpinnerView']();return _0x4be4f7['children']['add'](_0x563941),_0x563941['bind']('isVisible')['to'](_0x51ed62,'isBusy'),_0x4be4f7['iconView']['bind']('isVisible')['to'](_0x51ed62,'isBusy',_0x3c06b8=>!_0x3c06b8),_0x4be4f7['set']({'icon':_0xa0ed63['IconExportPdf']}),_0x4be4f7['bind']('isEnabled')['to'](_0x51ed62,'isEnabled'),_0x4be4f7['bind']('label')['to'](_0x51ed62,'isBusy',_0x2e049f=>_0x509917(_0x25b31c['locale'],_0x2e049f?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x4be4f7,'execute',()=>{_0x25b31c['execute']('exportPdf',_0x1192cc),_0x25b31c['editing']['view']['focus']();}),_0x4be4f7;}}class ExportPdf extends _0xa0ed63['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',_0xa0ed63['Notification'],ExportPdfUI];}['init'](){const _0x51567c=this['editor'],_0x3065b6=_0x51567c['config']['get']('exportPdf')||{};_0x51567c['commands']['add']('exportPdf',new ExportPdfCommand(_0x51567c));const _0x5a74a6=_0x51567c['plugins']['get']('CloudServices');!0x1===_0x3065b6['tokenUrl']?this['_token']=null:_0x3065b6['tokenUrl']?_0x5a74a6['registerTokenUrl'](_0x3065b6['tokenUrl'])['then'](_0x30e578=>{this['_token']=_0x30e578;}):this['_token']=_0x5a74a6['token'];}}function _0x21b438(_0x13de8b,_0x119a7c={}){const _0x536572=_0x13de8b['plugins']['has']('Users'),_0x2c2ec7=_0x13de8b['plugins']['has']('CommentsRepository'),_0x25dfa2=_0x13de8b['plugins']['has']('TrackChanges'),_0x44c752=_0x119a7c;if(_0x536572&&_0x2c2ec7){const _0x6d78d7=function(_0x4f3497){const _0x511064={};if(!_0x4f3497['length'])return _0x511064;for(const _0x1fad9d of _0x4f3497)_0x1fad9d['comments']['map'](_0x4994b2=>{void 0x0===_0x511064[_0x1fad9d['id']]&&(_0x511064[_0x1fad9d['id']]=[]),_0x511064[_0x1fad9d['id']]['push']({'author':_0x4994b2['author']['name'],'content':_0x4994b2['content'],'created':_0x4994b2['createdAt'],'is_resolved':_0x1fad9d['isResolved']});});return _0x511064;}(_0x13de8b['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x6d78d7)['length']&&(_0x44c752['comments']=_0x6d78d7);}if(_0x536572&&_0x25dfa2){const _0x22be50=_0x13de8b['plugins']['get']('TrackChanges'),_0x2a978d=_0x13de8b['plugins']['get']('Users'),_0xb40502=function(_0x498fdd,_0x2b25cb){const _0x287f69={};if(!_0x498fdd['length']||!_0x2b25cb['length'])return _0x287f69;for(const {id:_0x1d3c29,createdAt:_0x1bdd23,authorId:_0x46d07e,attributes:_0x53cc0e}of _0x498fdd){const _0x3aa4b3=_0x53cc0e&&_0x53cc0e['@external'],_0x33c1e=_0x3aa4b3?_0x3aa4b3['authorName']:_0x2b25cb['get'](_0x46d07e)['name'];_0x287f69[_0x1d3c29]={'author':_0x33c1e,'created':_0x1bdd23};}return _0x287f69;}(_0x22be50['getSuggestions']({'toJSON':!0x0}),_0x2a978d['users']);Object['keys'](_0xb40502)['length']&&(_0x44c752['suggestions']=_0xb40502);}return(_0x44c752['suggestions']||_0x44c752['comments'])&&(_0x44c752['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x44c752;}function _0x4e2ca4(_0x3dce2d,_0x4124db={}){const _0x207f75=_0x3dce2d['plugins']['has']('Users'),_0x30e869=_0x3dce2d['plugins']['has']('CommentsRepository'),_0x1d64e2=_0x3dce2d['plugins']['has']('TrackChanges'),_0x548e78=_0x3dce2d['plugins']['has']('MergeFields'),_0x4a3707=_0x3dce2d['locale']['contentLanguage'],_0x1c2109=_0x4124db,_0x45dabe={};if(_0x1c2109['document']=_0x1c2109['document']||{},_0x1c2109['document']['language']=_0x1c2109['document']['language']||_0x4a3707,_0x207f75&&_0x30e869){const _0x5577c5=function(_0x20c162){const _0x489606=[];if(!_0x20c162['length'])return _0x489606;for(const _0x44d798 of _0x20c162){const _0x57e84c=_0x44d798['comments']['map'](_0x2ebc20=>({'author':_0x2ebc20['author']['name'],'content':_0x2ebc20['content'],'created_at':_0x2ebc20['createdAt']}));_0x489606['push']({'thread_id':_0x44d798['id'],'is_resolved':_0x44d798['isResolved'],'comments':_0x57e84c});}return _0x489606;}(_0x3dce2d['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x5577c5['length']&&(_0x45dabe['comment_threads']=_0x5577c5);}if(_0x207f75&&_0x1d64e2){const _0x55bc32=_0x3dce2d['plugins']['get']('TrackChanges'),_0x125c0e=_0x3dce2d['plugins']['get']('Users'),_0x4df102=function(_0x538b13,_0x506dd7){if(!_0x538b13['length']||!_0x506dd7['length'])return[];return _0x538b13['map'](({id:_0x285d9c,createdAt:_0x3b092e,authorId:_0x2f0e7c,attributes:_0x48effe})=>{const _0x4fb786=_0x48effe&&_0x48effe['@external'];return{'id':_0x285d9c,'author':_0x4fb786?_0x4fb786['authorName']:_0x506dd7['get'](_0x2f0e7c)['name'],'created_at':_0x3b092e};});}(_0x55bc32['getSuggestions']({'toJSON':!0x0}),_0x125c0e['users']);_0x4df102['length']&&(_0x45dabe['suggestions']=_0x4df102);}if(_0x548e78){const _0x3d37b7=_0x3dce2d['plugins']['get']('MergeFieldsEditing'),_0x3e0597=_0x3d37b7['previewMode'],{prefix:_0x433ca4,suffix:_0x3f5733}=_0x3dce2d['config']['get']('mergeFields');if(_0x1c2109['merge_fields']={'prefix':_0x433ca4,'suffix':_0x3f5733},'$labels'!==_0x3e0597){_0x1c2109['merge_fields']['data']={};const _0x392c6f='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x5daff7='$defaultValues'===_0x3e0597?_0x3d37b7['getDefaultValues']():_0x3d37b7['getDataSetValues'](_0x3e0597,!0x0);for(const _0x334de9 of Object['entries'](_0x5daff7)){const [_0x34bc68,_0x4baf24]=_0x334de9;'image'===_0x3d37b7['getMergeFieldType'](_0x34bc68)?_0x1c2109['merge_fields']['data'][_0x34bc68]=null!==_0x4baf24?_0x4baf24:_0x392c6f:_0x1c2109['merge_fields']['data'][_0x34bc68]=null!==_0x4baf24?_0x4baf24:_0x3d37b7['getLabel'](_0x34bc68)||_0x34bc68;}}}return(_0x45dabe['comment_threads']||_0x45dabe['suggestions'])&&(_0x1c2109['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x1c2109['collaboration_features']=_0x45dabe),_0x1c2109;}function _0x1ed4b2(_0x264994,_0x5a3d84){const t=_0x264994['t'];switch(_0x5a3d84){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 _0x5a3d84;}}const _0x1c3e4b=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0xa0ed63['Command']{constructor(_0x1148ac){super(_0x1148ac),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x1e8d15={}){const _0x475e68=this['editor'],_0x461cc5=_0x1e8d15['version']||0x2,_0x3f4705=0x1===_0x461cc5,_0x41b64d=_0x1e8d15['converterUrl']||(_0x3f4705?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x2d5dde=_0x1e8d15['converterOptions']||{},_0xfe7edf=_0x475e68['plugins']['get']('ExportWord'),_0x5120dd=_0x1e8d15['token']||_0xfe7edf['_token'],_0x45a92d=!0x0===_0x2d5dde['auto_pagination'],_0x487e14=_0x1e8d15['dataCallback']||(_0x5ac440=>_0x5ac440['data']['get']({'pagination':_0x45a92d}));return 0x2===_0x461cc5&&function(_0x1a59ec){for(const _0x315594 of _0x1c3e4b)if(void 0x0!==_0x1a59ec[_0x315594])return!0x0;return!0x1;}(_0x2d5dde)&&_0xa0ed63['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0xa0ed63['collectStylesheets'](_0x1e8d15['stylesheets']||['EDITOR_STYLES'])['then'](async _0x5959fd=>{_0x475e68['ui']['ariaLiveAnnouncer']['announce'](_0x1ed4b2(_0x475e68['locale'],'Word\x20document\x20export\x20started'));const _0x32477d=await _0x487e14(_0x475e68),_0x5b3edf={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x475e68['locale']['contentLanguageDirection']+'\x22>'+_0x32477d+'</div>','css':_0x5959fd,[_0x3f4705?'options':'config']:{..._0x2d5dde,..._0x3f4705?_0x21b438(_0x475e68,_0x2d5dde):_0x4e2ca4(_0x475e68,_0x2d5dde)}},_0x1e8595={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x5120dd?{'Authorization':_0x5120dd['value']}:null},'body':JSON['stringify'](_0x5b3edf)};return window['fetch'](_0x41b64d,_0x1e8595)['then'](_0x4d6c55=>{if(0xc8!==_0x4d6c55['status'])throw _0x4d6c55;return _0x4d6c55['blob']();})['then'](_0x31b8e0=>{_0x475e68['ui']['ariaLiveAnnouncer']['announce'](_0x1ed4b2(_0x475e68['locale'],'Word\x20document\x20export\x20successful'));const _0x25f404='function'==typeof _0x1e8d15['fileName']?_0x1e8d15['fileName']():_0x1e8d15['fileName'];this['_downloadFile'](_0x31b8e0,_0x25f404||'document.docx');});})['catch'](_0x57978a=>{const _0x194b8b=_0x475e68['plugins']['get']('Notification');throw _0x475e68['ui']['ariaLiveAnnouncer']['announce'](_0x1ed4b2(_0x475e68['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x194b8b['showWarning'](_0x1ed4b2(_0x475e68['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x57978a;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x15a090,_0x2740c6){const _0x48aae2=document['createElement']('a');_0x48aae2['href']=window['URL']['createObjectURL'](_0x15a090),_0x48aae2['download']=_0x2740c6,_0x48aae2['click'](),_0x48aae2['remove']();}}class ExportWordUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4b6a1c=this['editor'];_0x4b6a1c['ui']['componentFactory']['add']('exportWord',()=>{const _0x42bf56=_0x4b6a1c['commands']['get']('exportWord'),_0x266654=this['_createButton'](_0xa0ed63['ButtonView']);return _0x266654['set']({'tooltip':!0x0}),_0x266654['bind']('isOn')['to'](_0x42bf56,'isBusy'),_0x266654;}),_0x4b6a1c['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0xa0ed63['MenuBarMenuListItemButtonView']));}['_createButton'](_0x4dce45){const _0x5f52a0=this['editor'],_0x1fac87=_0x5f52a0['config']['get']('exportWord')||{},_0x45521c=_0x5f52a0['commands']['get']('exportWord'),_0x3c1d71=new _0x4dce45(_0x5f52a0['locale']),_0x55ce06=new _0xa0ed63['SpinnerView']();return _0x3c1d71['children']['add'](_0x55ce06),_0x55ce06['bind']('isVisible')['to'](_0x45521c,'isBusy'),_0x3c1d71['iconView']['bind']('isVisible')['to'](_0x45521c,'isBusy',_0x3a56fa=>!_0x3a56fa),_0x3c1d71['set']({'icon':_0xa0ed63['IconExportWord']}),_0x3c1d71['bind']('isEnabled')['to'](_0x45521c,'isEnabled'),_0x3c1d71['bind']('label')['to'](_0x45521c,'isBusy',_0x2b49b4=>_0x1ed4b2(_0x5f52a0['locale'],_0x2b49b4?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x3c1d71,'execute',()=>{_0x5f52a0['execute']('exportWord',_0x1fac87),_0x5f52a0['editing']['view']['focus']();}),_0x3c1d71;}}class ExportWord extends _0xa0ed63['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',_0xa0ed63['Notification'],ExportWordUI];}['init'](){const _0x374426=this['editor'],_0x55b603=_0x374426['config']['get']('exportWord')||{};_0x374426['commands']['add']('exportWord',new ExportWordCommand(_0x374426));const _0x41f986=_0x374426['plugins']['get']('CloudServices');!0x1===_0x55b603['tokenUrl']?this['_token']=null:_0x55b603['tokenUrl']?_0x41f986['registerTokenUrl'](_0x55b603['tokenUrl'])['then'](_0x11b6ea=>{this['_token']=_0x11b6ea;}):this['_token']=_0x41f986['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x125e02,_0x27ed4e){this['_model']=_0x125e02,this['_elementName']=_0x27ed4e['elementName'],this['_getElementKey']=_0x27ed4e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4e5a19){const _0x1e4011=new Set(),_0x402e01=new Map();for(const _0x40299d of _0x4e5a19){if('insert'===_0x40299d['type']&&'$text'!==_0x40299d['name']&&_0x40299d['position']['nodeAfter']){const _0x264d96=this['_model']['createRangeOn'](_0x40299d['position']['nodeAfter']);for(const _0x5288d2 of _0x264d96['getItems']()){if(!_0x5288d2['is']('element',this['_elementName']))continue;const _0x1a49bc=this['_getElementKey'](_0x5288d2);_0x402e01['has'](_0x1a49bc)||_0x402e01['set'](_0x1a49bc,[]),_0x402e01['get'](_0x1a49bc)['push'](_0x5288d2);}}if('remove'===_0x40299d['type']&&_0x40299d['name']===this['_elementName']){const _0x513aba=this['_getElementKey']({'getAttribute':_0x45b72e=>_0x40299d['attributes']['get'](_0x45b72e)});_0x1e4011['add'](_0x513aba);}}for(const [_0x19e2df,_0x259211]of this['_trackedElements'])'$graveyard'===_0x259211['root']['rootName']&&_0x1e4011['add'](_0x19e2df);for(const _0x472680 of _0x1e4011)this['_trackedElements']['delete'](_0x472680);for(const [_0x5861e4,_0x51dffa]of _0x402e01)this['_trackedElements']['set'](_0x5861e4,_0x51dffa[_0x51dffa['length']-0x1]);const _0x96ff23=new Set();for(const [_0x4f67b7,_0x304417]of _0x402e01)_0x1e4011['has'](_0x4f67b7)&&(_0x96ff23['add'](_0x304417[0x0]),_0x304417['length']>0x1?_0x402e01['set'](_0x4f67b7,_0x304417['slice'](0x1)):_0x402e01['delete'](_0x4f67b7),_0x1e4011['delete'](_0x4f67b7));return{'removed':Array['from'](_0x1e4011),'inserted':Array['from'](_0x402e01['values']())['flat'](),'moved':Array['from'](_0x96ff23)};}}class FootnotesTracker extends _0xa0ed63['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(_0x4dcc8f){super(_0x4dcc8f),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5ba618=>_0x5ba618['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4d0cc0=>_0x4d0cc0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5482a5}=this,{model:_0x53627c,data:_0x1fe40b}=_0x5482a5;_0x53627c['document']['registerPostFixer'](_0x569db7=>{const _0x59dd50=_0x53627c['document']['differ']['getChanges']();let _0x28abc9=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x569db7,_0x59dd50)&&(_0x28abc9=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x569db7,_0x59dd50)&&(_0x28abc9=!0x0),this['_handleFootnoteReferencesChanges'](_0x569db7,_0x59dd50)&&(_0x28abc9=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x569db7)&&(_0x28abc9=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x569db7)&&(_0x28abc9=!0x0),this['_sortFootnoteDefinitions'](_0x569db7)&&(_0x28abc9=!0x0),_0x28abc9;}),this['listenTo'](_0x53627c['document'],'change:data',()=>{_0x53627c['enqueueChange']({'isUndoable':!0x1},_0x59d3a4=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x59d3a4);});},{'priority':'low'}),this['listenTo'](_0x1fe40b,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x570880){return this['_footnotes']['find'](_0x592947=>_0x592947['id']===_0x570880)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3ce4be){this['_footnoteFormatter']=_0x3ce4be;}['_updateFootnotesCounters'](_0x536c30,_0x724ae7=0x0){let _0x158ae3=!0x1;for(let _0x3db7fc=_0x724ae7;_0x3db7fc<this['_footnotes']['length'];_0x3db7fc++)this['_updateFootnoteRefCounter'](_0x536c30,_0x3db7fc)&&(_0x158ae3=!0x0);return _0x158ae3;}['_insertEmptyFootnotesDefinitionsContainer'](_0x319134,_0x25b0b8){const _0x22609f=_0x319134['createElement']('footnotesDefinitions',{});return _0x319134['append'](_0x22609f,_0x25b0b8),this['_footnotesDefinitions']=_0x22609f,_0x22609f;}['_ensureFootnotesDefinitionsContainerExists'](_0x27277f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x532a11=this['_footnotes'][0x0]['reference']['root'],_0x59d487=this['_insertEmptyFootnotesDefinitionsContainer'](_0x27277f,_0x532a11);for(const _0x457f83 of this['_footnotes'])_0x457f83['definition']['parent']||_0x27277f['insert'](_0x457f83['definition'],_0x59d487,'end');this['_updateFootnotesCounters'](_0x27277f);}['_handleFootnotesDefinitionsObjectChanges'](_0x2a449c,_0x343941){let _0x4f9c1d=!0x1;const {inserted:_0x41b2f4,removed:_0x4040c0,moved:_0x111279}=this['_footnoteDefsContainerTracker']['getChanges'](_0x343941);if(_0x111279['length']&&(this['_footnotesDefinitions']=_0x111279[0x0]),_0x41b2f4['length']){if(_0x41b2f4['length']>0x1||this['_footnotesDefinitions']&&_0x41b2f4['some'](_0x167d26=>_0x167d26!==this['_footnotesDefinitions'])){const _0x1dd150=_0x2a449c['createElement']('footnotesDefinitions',{}),_0x207d89=[];this['_footnotesDefinitions']&&_0x207d89['push'](this['_footnotesDefinitions']),_0x207d89['push'](..._0x41b2f4),_0x2a449c['insert'](_0x1dd150,_0x207d89[0x0],'before');for(const _0x133469 of _0x207d89)_0x2a449c['move'](_0x2a449c['createRangeIn'](_0x133469),_0x2a449c['createPositionAt'](_0x1dd150,'end')),_0x2a449c['remove'](_0x133469);this['_footnotesDefinitions']=_0x1dd150,this['_updateFootnotesCounters'](_0x2a449c),_0x4f9c1d=!0x0;}else this['_footnotesDefinitions']=_0x41b2f4[0x0];}if(_0x4040c0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a7107 of this['_footnotes'])_0x2a449c['remove'](_0x2a7107['reference']),_0x4f9c1d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4f9c1d;}['_handleFootnoteDefinitionsChanges'](_0x2b1d13,_0x7dc0f4){let _0x3b5cc1=!0x1;const _0x3e5b48=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x53a23d,moved:_0x2e8289}=this['_footnoteDefsTracker']['getChanges'](_0x7dc0f4);for(const _0x246722 of[..._0x2e8289,..._0x53a23d]){const _0x58b718=_0x246722['getAttribute']('footnoteId'),_0x229ca1=this['getFootnote'](_0x58b718);_0x229ca1&&(_0x229ca1['definition']=_0x246722),_0x2de549(_0x2b1d13,_0x3e5b48,_0x246722)&&(_0x3b5cc1=!0x0);}return _0x3b5cc1;}['_handleFootnoteReferencesChanges'](_0x37e7ec,_0x231a94){let _0x51e3a6=!0x1;const {removed:_0x10d6ac,inserted:_0x3c57bf,moved:_0x149155}=this['_footnoteRefsTracker']['getChanges'](_0x231a94);for(const _0x2b2b39 of _0x10d6ac)this['_handleRemoveFootnoteReferenceById'](_0x37e7ec,_0x2b2b39)&&(_0x51e3a6=!0x0);for(const _0x12d8c9 of _0x3c57bf)this['_handleInsertedFootnoteReference'](_0x37e7ec,_0x12d8c9)&&(_0x51e3a6=!0x0);for(const _0x3c98ec of _0x149155)this['_handleMovedFootnoteReference'](_0x37e7ec,_0x3c98ec)&&(_0x51e3a6=!0x0);return _0x51e3a6;}['_handleFootnotesDefinitionsObjectSync'](_0x43bd06){if(!this['_footnotesDefinitions'])return!0x1;let _0x43653e=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x33ab81=[];for(const _0x1ae449 of this['_footnotesDefinitions']['getChildren']()){const _0x404d46=_0x1ae449['getAttribute']('footnoteId');this['getFootnote'](_0x404d46)||(_0x33ab81['unshift'](_0x1ae449),_0x43653e=!0x0);}for(const _0x4b5358 of _0x33ab81)_0x43bd06['remove'](_0x4b5358);}const _0x5211b=new Set(),_0x24778f=[];for(const _0x505603 of this['_footnotesDefinitions']['getChildren']()){const _0x206353=_0x505603['getAttribute']('footnoteId');_0x5211b['has'](_0x206353)?(_0x24778f['unshift'](_0x505603),_0x43653e=!0x0):_0x5211b['add'](_0x206353);}for(const _0x564b44 of _0x24778f)_0x43bd06['remove'](_0x564b44);return this['_footnotesDefinitions']['childCount']||(_0x43bd06['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x43653e=!0x0),_0x43653e;}['_handleInsertedFootnoteReference'](_0x1f228a,_0x2e0b87){if(this['_footnotes']['find'](_0x23103d=>_0x23103d['reference']===_0x2e0b87))return!0x1;let _0x4af34c=!0x1;const _0x2f86d5=_0x2e0b87['getAttribute']('footnoteId'),_0x521b17=this['_footnotes']['findIndex'](_0x56b584=>_0x56b584['id']===_0x2f86d5);-0x1!==_0x521b17&&(_0x1f228a['remove'](this['_footnotes'][_0x521b17]['reference']),this['_footnotes']['splice'](_0x521b17,0x1),_0x4af34c=!0x0);let _0x3595a4=this['_footnotesDefinitions']?function(_0x5a0bb1,_0x3f2aa1){for(const _0x2c548b of _0x5a0bb1['getChildren']())if(_0x2c548b['getAttribute']('footnoteId')===_0x3f2aa1)return _0x2c548b;return null;}(this['_footnotesDefinitions'],_0x2f86d5):null;_0x3595a4||(_0x3595a4=_0x1f228a['createElement']('footnoteDefinition',{'footnoteId':_0x2f86d5}),this['_footnotesDefinitions']&&(_0x1f228a['insert'](_0x3595a4,this['_footnotesDefinitions'],'end'),_0x4af34c=!0x0));const _0x4a3849={'id':_0x2f86d5,'reference':_0x2e0b87,'definition':_0x3595a4},_0x49f647=_0x166b4a(this['editor']['model'],this['_footnotes'],_0x2e0b87);this['_footnotes']['splice'](_0x49f647,0x0,_0x4a3849);let _0x235757=_0x49f647;return-0x1!==_0x521b17&&(_0x235757=Math['min'](_0x49f647,_0x521b17)),this['_updateFootnotesCounters'](_0x1f228a,_0x235757)&&(_0x4af34c=!0x0),_0x4af34c;}['_handleRemoveFootnoteReferenceById'](_0x32b514,_0x5af09d){const _0x21a803=this['_footnotes']['findIndex'](_0x3f72e7=>_0x3f72e7['id']===_0x5af09d);if(-0x1===_0x21a803)return!0x1;let _0x5e6da0=!0x1;const _0x435f1d=this['_footnotes'][_0x21a803];return'$graveyard'!==_0x435f1d['definition']['root']['rootName']&&(_0x32b514['remove'](_0x435f1d['definition']),_0x5e6da0=!0x0),this['_footnotes']['splice'](_0x21a803,0x1),this['_updateFootnotesCounters'](_0x32b514,_0x21a803)&&(_0x5e6da0=!0x0),_0x5e6da0;}['_handleMovedFootnoteReference'](_0x1637d1,_0x18224a){const _0x237311=_0x18224a['getAttribute']('footnoteId'),_0x78bf39=this['_footnotes']['findIndex'](_0x13b31a=>_0x13b31a['id']===_0x237311),_0x29e3d2=this['_footnotes'][_0x78bf39];let _0x4df2a6=!0x1;_0x29e3d2['reference']=_0x18224a,this['_footnotes']['splice'](_0x78bf39,0x1);const _0x37f774=_0x166b4a(this['editor']['model'],this['_footnotes'],_0x18224a);return this['_footnotes']['splice'](_0x37f774,0x0,_0x29e3d2),this['_updateFootnotesCounters'](_0x1637d1,Math['min'](_0x78bf39,_0x37f774))&&(_0x4df2a6=!0x0),_0x4df2a6;}['_updateFootnoteRefCounter'](_0x258551,_0x1dd327){if(!this['_footnotesDefinitions'])return!0x1;const _0x416e4f=this['_footnotes'][_0x1dd327];let _0x40b344;return _0x40b344=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x416e4f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1dd327+0x1}):String(_0x1dd327+0x1),_0x416e4f['reference']['getAttribute']('footnoteCounter')!=_0x40b344&&(_0x258551['setAttribute']('footnoteCounter',_0x40b344,_0x416e4f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x45d3b9){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x15aa17,_0x59bffb){if(_0x15aa17['length']!==_0x59bffb['length'])return!0x1;for(let _0x32a663=0x0;_0x32a663<_0x15aa17['length'];_0x32a663++)if(_0x15aa17[_0x32a663]!==_0x59bffb[_0x32a663])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x595c36=>_0x595c36['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x184c22=>_0x184c22['getAttribute']('footnoteId'))))return!0x1;let _0x36b43b=!0x1;for(let _0x2a6d89=0x0;_0x2a6d89<this['_footnotes']['length'];_0x2a6d89++){const _0x30de33=this['_footnotes'][_0x2a6d89],_0xa9be51=_0x45d3b9['createPositionBefore'](_0x30de33['definition']),_0x324754=_0x45d3b9['createPositionAt'](this['_footnotesDefinitions'],_0x2a6d89);_0xa9be51['isEqual'](_0x324754)||(_0x45d3b9['move'](_0x45d3b9['createRangeOn'](_0x30de33['definition']),_0x324754),_0x36b43b=!0x0);}return _0x36b43b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5be166){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4a5e8e}=this['editor'];let _0x159ced=!0x1;for(let _0x20152b=0x0;_0x20152b<this['_footnotes']['length']-0x1;_0x20152b++){const _0x5747a7=this['_footnotes'][_0x20152b],_0x347cfc=this['_footnotes'][_0x20152b+0x1],_0x1444f1=_0x4a5e8e['createPositionBefore'](_0x5747a7['reference']),_0x374f6c=_0x4a5e8e['createPositionBefore'](_0x347cfc['reference']);'after'===_0x1444f1['compareWith'](_0x374f6c)&&(this['_handleMovedFootnoteReference'](_0x5be166,_0x5747a7['reference']),_0x20152b=-0x1,_0x159ced=!0x0);}return _0x159ced;}}function _0x2de549(_0x4e2929,_0x554dc1,_0xea0ecf){if(_0xea0ecf['childCount'])return!0x1;const _0x44a658=_0x554dc1?'paragraph':'footnoteInlineContent';return _0x4e2929['insert'](_0x4e2929['createElement'](_0x44a658),_0xea0ecf),!0x0;}function _0x166b4a(_0x7e64fd,_0x120795,_0x1645c4){if(0x0===_0x120795['length'])return 0x0;const _0x122e0c=_0x7e64fd['createPositionBefore'](_0x1645c4);for(let _0x31df28=0x0;_0x31df28<_0x120795['length'];_0x31df28++){const _0x2c11bc=_0x120795[_0x31df28],_0x5f1af4=_0x7e64fd['createPositionBefore'](_0x2c11bc['reference']);if('before'===_0x122e0c['compareWith'](_0x5f1af4))return _0x31df28;}const _0xfcd3ed=_0x1645c4['root'];let _0x1d3e18=-0x1;for(let _0x1904d=_0x120795['length']-0x1;_0x1904d>=0x0;_0x1904d--)if(_0x120795[_0x1904d]['reference']['root']===_0xfcd3ed){_0x1d3e18=_0x1904d;break;}if(-0x1!==_0x1d3e18)return _0x1d3e18+0x1;const _0x3e1e6c=_0x7e64fd['document']['getRootNames'](),_0x582ce3=_0x3e1e6c['indexOf'](_0xfcd3ed['rootName']),_0x4c2cd3=_0x3e1e6c[_0x582ce3+0x1];if(_0x4c2cd3){for(let _0x42197e=0x0;_0x42197e<_0x120795['length'];_0x42197e++)if(_0x120795[_0x42197e]['reference']['root']['rootName']===_0x4c2cd3)return _0x42197e;}return _0x120795['length'];}class InsertFootnoteCommand extends _0xa0ed63['Command']{['refresh'](){const _0x319d7c=this['editor']['model']['document']['selection'],_0x4d2cdf=this['_getPositionToInsertFootnote'](_0x319d7c);this['isEnabled']=!!_0x4d2cdf;}['execute'](_0xa3786){const {editor:_0x17f932}=this,{model:_0x36cc4d}=_0x17f932,{selection:_0x4a21b3}=_0x36cc4d['document'],_0x25064e=this['_getPositionToInsertFootnote'](_0x4a21b3);if(!_0x25064e)return;const _0x334865=_0x17f932['plugins']['get']('FootnotesEditing'),_0x465016=_0xa3786?.['footnoteId']??_0xa0ed63['uid']();!function(_0x248978){return'string'==typeof _0x248978&&_0x248978['length']>0x0&&!/\s/['test'](_0x248978)&&!/^\d/['test'](_0x248978);}(_0x465016)?_0xa0ed63['logWarning']('insert-footnote-command-executed-with-invalid-id'):(_0x36cc4d['change'](_0x4af63d=>{const _0x31e7ba=_0x4af63d['createElement']('footnoteRef',{'footnoteId':_0x465016});_0x36cc4d['insertObject'](_0x31e7ba,_0x25064e,null);}),_0x334865['_moveSelectionToFootnoteDefinition'](_0x465016));}['_getPositionToInsertFootnote'](_0x3ca0d0){const {model:_0x4f1d9a}=this['editor'],{schema:_0x157129}=_0x4f1d9a,_0xb80b04=_0x3ca0d0['getFirstRange']();for(const _0x31e15b of _0xb80b04['getItems']())if(_0x157129['isBlock'](_0x31e15b)||_0x157129['isObject'](_0x31e15b))return null;const _0x512943=_0xb80b04['end'];return _0x157129['checkChild'](_0x512943,'footnoteRef')?_0x512943:null;}}class FootnotesEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2905d0}=this;_0x2905d0['config']['define']('footnotes.multiBlock',!0x0),_0x2905d0['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x2905d0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2419ef){const _0x263cb1=_0x49080c([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x1bb238=0x47a28506,_0x43467f=0x47a50ac6^_0x1bb238,_0x209219=window[_0x49080c([0x44,0x61,0x74,0x65])][_0x49080c([0x6e,0x6f,0x77])](),_0x10a74e=_0x2419ef[_0x49080c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22ad98=new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ec311=>{_0x10a74e[_0x49080c([0x6f,0x6e,0x63,0x65])](_0x49080c([0x72,0x65,0x61,0x64,0x79]),_0x4ec311);}),_0x5dc28f={[_0x49080c([0x6b,0x74,0x79])]:_0x49080c([0x45,0x43]),[_0x49080c([0x75,0x73,0x65])]:_0x49080c([0x73,0x69,0x67]),[_0x49080c([0x63,0x72,0x76])]:_0x49080c([0x50,0x2d,0x32,0x35,0x36]),[_0x49080c([0x78])]:_0x49080c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x49080c([0x79])]:_0x49080c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x49080c([0x61,0x6c,0x67])]:_0x49080c([0x45,0x53,0x32,0x35,0x36])},_0x5ab265=_0x10a74e[_0x49080c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49080c([0x67,0x65,0x74])](_0x49080c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16e64c(){let _0x1ee06a,_0x17eb05=null,_0x3d747f=null;try{if(_0x5ab265==_0x49080c([0x47,0x50,0x4c]))return _0x49080c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ee06a=_0x515033(),!_0x1ee06a)return _0x49080c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ee06a[_0x49080c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d747f=_0x345e6c(_0x1ee06a[_0x49080c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ee06a[_0x49080c([0x6a,0x74,0x69])])),await _0x2dd3ba()?_0x38058d()?_0x4d8906()?_0x49080c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7d62bb()?(_0x1ee06a[_0x49080c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49080c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17eb05=_0x2d545f(_0x49080c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b32be()):_0x49080c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49080c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49080c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49080c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d8906(){const _0x186fa0=[_0x49080c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49080c([0x74,0x72,0x69,0x61,0x6c])][_0x49080c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee06a[_0x49080c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x209219/0x3e8:0xe10*_0x43467f;return _0x1ee06a[_0x49080c([0x65,0x78,0x70])]<_0x186fa0;}function _0x38058d(){const _0x47d429=_0x1ee06a[_0x49080c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47d429&&(!!_0x47d429[_0x49080c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49080c([0x2a]))||!!_0x47d429[_0x49080c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49080c([0x46,0x4f,0x4f])));}function _0x7d62bb(){const _0x2024aa=_0x1ee06a[_0x49080c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2024aa||0x0==_0x2024aa[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2aec70}=new URL(window[_0x49080c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2024aa[_0x49080c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aec70))return!0x0;const _0x279cdd=_0x2aec70[_0x49080c([0x73,0x70,0x6c,0x69,0x74])](_0x49080c([0x2e]));return _0x2024aa[_0x49080c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29f6a7=>_0x29f6a7[_0x49080c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49080c([0x2a])))[_0x49080c([0x6d,0x61,0x70])](_0x391980=>_0x391980[_0x49080c([0x73,0x70,0x6c,0x69,0x74])](_0x49080c([0x2e])))[_0x49080c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x225077=>_0x225077[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x279cdd[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49080c([0x6d,0x61,0x70])](_0xa1264b=>Array(_0x279cdd[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa1264b[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49080c([0x66,0x69,0x6c,0x6c])](_0xa1264b[0x0]===_0x49080c([0x2a])?_0x49080c([0x2a]):'')[_0x49080c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa1264b))[_0x49080c([0x73,0x6f,0x6d,0x65])](_0x3461a5=>_0x279cdd[_0x49080c([0x65,0x76,0x65,0x72,0x79])]((_0x25f768,_0x2ee95d)=>_0x3461a5[_0x2ee95d]===_0x25f768||_0x3461a5[_0x2ee95d]===_0x49080c([0x2a])));}function _0x3b32be(){return _0x17eb05&&_0x3d747f?new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32fc41,_0x5e43e2)=>{_0x17eb05[_0x49080c([0x74,0x68,0x65,0x6e])](_0x32fc41,_0x5e43e2),_0x3d747f[_0x49080c([0x74,0x68,0x65,0x6e])](_0x445027=>{_0x445027!=_0x49080c([0x56,0x61,0x6c,0x69,0x64])&&_0x32fc41(_0x445027);},_0x5e43e2);}):_0x17eb05||_0x3d747f||_0x49080c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x345e6c(_0x46e41c,_0x41ef6c){return new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c7973=>{if(_0x181bca())return _0x4c7973(_0x49080c([0x56,0x61,0x6c,0x69,0x64]));_0x30a1b5(),_0x10a74e[_0x49080c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49080c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc7e582=!0x1;const _0x2451e5=_0xa0ed63['uid']();function _0x4a846d(_0x2c1e2d){return!!_0x2c1e2d&&(typeof _0x2c1e2d===_0x49080c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c1e2d===_0x49080c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c1e2d[_0x49080c([0x74,0x68,0x65,0x6e])]===_0x49080c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c1e2d[_0x49080c([0x63,0x61,0x74,0x63,0x68])]===_0x49080c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa95d43(_0x36059b){_0x31d074(_0x36059b)[_0x49080c([0x74,0x68,0x65,0x6e])](_0x241088=>{if(!_0x241088||_0x241088[_0x49080c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49080c([0x6f,0x6b]))return _0x49080c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3be886(_0x417267(_0x2451e5+_0x41ef6c))!=_0x241088[_0x49080c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49080c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49080c([0x56,0x61,0x6c,0x69,0x64]);})[_0x49080c([0x74,0x68,0x65,0x6e])](_0x3c1a90=>(_0x2c4b69(),_0x3c1a90),()=>{const _0x5a7a14=_0x341542();return null==_0x5a7a14?(_0x2c4b69(),_0x49080c([0x56,0x61,0x6c,0x69,0x64])):_0x49080c(_0x209219-_0x5a7a14>(0x63ae0106^_0x1bb238)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49080c([0x74,0x68,0x65,0x6e])](_0x4c7973)[_0x49080c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c7973(_0x49080c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fbb7f=0x47946b86^_0x1bb238;function _0x2c4b69(){const _0x2934b8=_0x49080c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be886(_0x417267(_0x46e41c)),_0xbbcad0=_0x713583(_0x3be886(window[_0x49080c([0x4d,0x61,0x74,0x68])][_0x49080c([0x63,0x65,0x69,0x6c])](_0x209219/_0x1fbb7f)));window[_0x49080c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49080c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2934b8,_0xbbcad0);}function _0x341542(){const _0x5c6d32=_0x49080c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3be886(_0x417267(_0x46e41c)),_0xf45e3d=window[_0x49080c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49080c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c6d32);return _0xf45e3d?window[_0x49080c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x713583(_0xf45e3d),0x10)*_0x1fbb7f:null;}function _0x31d074(_0x2a037a){return new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58ac6f,_0x578ef6)=>{_0x2a037a[_0x49080c([0x74,0x68,0x65,0x6e])](_0x58ac6f,_0x578ef6),window[_0x49080c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x578ef6,0x47a351c6^_0x1bb238);});}}_0x10a74e[_0x49080c([0x6f,0x6e])](_0x49080c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48ee8b,_0x2b580f)=>{if(_0x2b580f[0x0]!=_0x46e41c)return _0x4c7973(_0x49080c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b580f[0x1]={..._0x2b580f[0x1],[_0x49080c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2451e5};},{[_0x49080c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49080c([0x68,0x69,0x67,0x68])}),_0x10a74e[_0x49080c([0x6f,0x6e])](_0x49080c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5313b3=>{_0x4a846d(_0x5313b3[_0x49080c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc7e582=!0x0,_0xa95d43(_0x5313b3[_0x49080c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49080c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49080c([0x6c,0x6f,0x77])}),_0x22ad98[_0x49080c([0x74,0x68,0x65,0x6e])](()=>{_0xc7e582||_0x4c7973(_0x49080c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x181bca(){return _0x10a74e[_0x49080c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49080c([0x76,0x69,0x65,0x77])][_0x49080c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49080c([0x61,0x75,0x74,0x6f]);}function _0x30a1b5(){_0x10a74e[_0x49080c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49080c([0x76,0x69,0x65,0x77])][_0x49080c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49080c([0x61,0x75,0x74,0x6f]);}}function _0x2d545f(_0x543f95){const _0x231f47=[new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x576408=>setTimeout(_0x576408,0x47abbbca^_0x1bb238)),_0x22ad98[_0x49080c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13a7a0=>{let _0x244f38=0x0;_0x10a74e[_0x49080c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49080c([0x6f,0x6e])](_0x49080c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x234a47,_0x56a16e)=>{_0x56a16e[0x0][_0x49080c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x244f38++,_0x244f38==(0x47a280ee^_0x1bb238)&&(_0x13a7a0(),_0x234a47[_0x49080c([0x6f,0x66,0x66])]());});}))];return window[_0x49080c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49080c([0x72,0x61,0x63,0x65])](_0x231f47)[_0x49080c([0x74,0x68,0x65,0x6e])](()=>_0x543f95);}async function _0x5c80a8(){await _0x22ad98,_0x10a74e[_0x49080c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49080c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xea9178,_0x10a74e[_0x49080c([0x6d,0x6f,0x64,0x65,0x6c])][_0x49080c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xea9178,_0x10a74e[_0x49080c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49080c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c1324(_0x11ebd6){const _0x23fda3=_0xa45b42();_0x10a74e[_0x23fda3]=_0x49080c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11ebd6,_0x11ebd6!=_0x49080c([0x56,0x61,0x6c,0x69,0x64])&&_0x5c80a8();}function _0xa45b42(){const _0x419105=window[_0x49080c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49080c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49080c([0x6e,0x6f,0x77])]())[_0x49080c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49080c([0x2e]),'');let _0x4ebeef=_0x49080c([0x75]);for(let _0x2acc21=0x0;_0x2acc21<_0x419105[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2acc21+=0x2){let _0x1c6315=window[_0x49080c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x419105[_0x49080c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2acc21,_0x2acc21+0x2));_0x1c6315>=_0x263cb1[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c6315-=_0x263cb1[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ebeef+=_0x263cb1[_0x1c6315];}return _0x4ebeef;}function _0x515033(){const _0x4b4862=_0x5ab265[_0x49080c([0x73,0x70,0x6c,0x69,0x74])](_0x49080c([0x2e]));if(0x3!=_0x4b4862[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30421a(_0x4b4862[0x1]);function _0x30421a(_0x465ecc){const _0x1976b1=_0x4df3bb(_0x465ecc);return _0x1976b1&&_0x499c8a()?_0x1976b1:null;function _0x499c8a(){const _0x4a84ca=_0x1976b1[_0x49080c([0x6a,0x74,0x69])],_0x149a71=window[_0x49080c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a84ca[_0x49080c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a84ca[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e5526={..._0x1976b1,[_0x49080c([0x6a,0x74,0x69])]:_0x4a84ca[_0x49080c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a84ca[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e5526[_0x49080c([0x76,0x63])],_0x417267(_0x5e5526)==_0x149a71;}}}async function _0x2dd3ba(){let _0x5db591=!0x0;try{const _0x481ac2=_0x5ab265[_0x49080c([0x73,0x70,0x6c,0x69,0x74])](_0x49080c([0x2e])),[_0x3284d2,_0x4503eb,_0x1a11bf]=_0x481ac2;return _0x2cfd99(_0x3284d2),await _0x2921ca(_0x3284d2,_0x4503eb,_0x1a11bf),_0x5db591;}catch{return!0x1;}function _0x2cfd99(_0x2893a2){const _0xbfcb9a=_0x4df3bb(_0x2893a2);_0xbfcb9a&&_0xbfcb9a[_0x49080c([0x61,0x6c,0x67])]==_0x49080c([0x45,0x53,0x32,0x35,0x36])||(_0x5db591=!0x1);}async function _0x2921ca(_0x5a3e8f,_0x5863c9,_0x4795be){const _0x1e1c13=window[_0x49080c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49080c([0x66,0x72,0x6f,0x6d])](_0x11c081(_0x4795be),_0x134234=>_0x134234[_0x49080c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58706b=new window[(_0x49080c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49080c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a3e8f+_0x49080c([0x2e])+_0x5863c9),_0x538ad0=window[_0x49080c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49080c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x538ad0)return;const _0x2b6693=await _0x538ad0[_0x49080c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49080c([0x6a,0x77,0x6b]),_0x5dc28f,{[_0x49080c([0x6e,0x61,0x6d,0x65])]:_0x49080c([0x45,0x43,0x44,0x53,0x41]),[_0x49080c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49080c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49080c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x538ad0[_0x49080c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49080c([0x6e,0x61,0x6d,0x65])]:_0x49080c([0x45,0x43,0x44,0x53,0x41]),[_0x49080c([0x68,0x61,0x73,0x68])]:{[_0x49080c([0x6e,0x61,0x6d,0x65])]:_0x49080c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b6693,_0x1e1c13,_0x58706b)||(_0x5db591=!0x1);}}function _0x4df3bb(_0x227320){return _0x227320[_0x49080c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49080c([0x65,0x79]))?JSON[_0x49080c([0x70,0x61,0x72,0x73,0x65])](_0x11c081(_0x227320)):null;}function _0x11c081(_0x25ac25){return window[_0x49080c([0x61,0x74,0x6f,0x62])](_0x25ac25[_0x49080c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49080c([0x2b]))[_0x49080c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49080c([0x2f])));}function _0x417267(_0x368019){let _0xad61fe=0x1505;function _0x387547(_0xcea914){for(let _0x4efb28=0x0;_0x4efb28<_0xcea914[_0x49080c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4efb28++){const _0x2e3977=_0xcea914[_0x49080c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4efb28);_0xad61fe=(_0xad61fe<<0x5)+_0xad61fe+_0x2e3977,_0xad61fe&=_0xad61fe;}}function _0x4aad7f(_0x26a02c){Array[_0x49080c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26a02c)?_0x26a02c[_0x49080c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4aad7f):_0x26a02c&&typeof _0x26a02c==_0x49080c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49080c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26a02c)[_0x49080c([0x73,0x6f,0x72,0x74])]()[_0x49080c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xcb5187,_0x7e536c])=>{_0x387547(_0xcb5187),_0x4aad7f(_0x7e536c);}):_0x387547(window[_0x49080c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26a02c));}return _0x4aad7f(_0x368019),_0xad61fe>>>0x0;}function _0x3be886(_0x25ab59){return _0x25ab59[_0x49080c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49080c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49080c([0x30]));}function _0x713583(_0x47d079){return _0x47d079[_0x49080c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49080c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49080c([0x6a,0x6f,0x69,0x6e])]('');}function _0xea9178(){}function _0x49080c(_0x58ad2b){return _0x58ad2b['map'](_0x58519b=>String['fromCharCode'](_0x58519b))['join']('');}_0x4c1324(await _0x16e64c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x473d3a){const {plugins:_0x5c847c,editing:_0x46c1a6,model:_0x16b5dc}=this['editor'],_0x3d2515=_0x5c847c['get'](FootnotesTracker)['getFootnote'](_0x473d3a);return!!_0x3d2515&&(_0x16b5dc['change'](_0x432d42=>{_0x432d42['setSelection'](_0x432d42['createPositionAt'](_0x3d2515['definition'],'end'));}),_0x46c1a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x32393e){const {plugins:_0x3773b4,editing:_0xd9bad1,model:_0x31293a}=this['editor'],_0x6ef8a9=_0x3773b4['get'](FootnotesTracker)['getFootnote'](_0x32393e);return!!_0x6ef8a9&&(_0x31293a['change'](_0x2858c2=>{_0x2858c2['setSelection'](_0x6ef8a9['reference'],'on');}),_0xd9bad1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1ec5d2}=this['editor']['model'],_0x31b532=this['editor']['config']['get']('footnotes.multiBlock');_0x1ec5d2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1ec5d2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1ec5d2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x31b532?_0x1ec5d2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1ec5d2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1ec5d2['addChildCheck'](_0x1e8ac8=>{for(const _0xf7ade0 of _0x1e8ac8)if('footnoteDefinition'===_0xf7ade0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1de149}=this,{conversion:_0x309d8a,editing:_0x2e281f}=_0x1de149,{t:t}=_0x1de149['locale'];_0x309d8a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3f4c2b,{writer:_0xe707c5,consumable:_0x4e089c})=>{const _0x427a0c=_0x3f4c2b['getChild'](0x0);if(!_0x427a0c||!_0x427a0c['is']('element','a'))return null;const _0x2d69e1=_0x427a0c['getAttribute']('href')||'';if(!_0x2d69e1['startsWith']('#'))return null;const _0x37a8b3=_0x2d69e1['replace'](/^#/,'');if(!_0x37a8b3)return null;_0x4e089c['consume'](_0x427a0c,{'name':!0x0,'attributes':['href']});for(const {item:_0x34ac0c}of _0x2e281f['view']['createRangeIn'](_0x427a0c))_0x34ac0c['is']('$textProxy')?_0x4e089c['consume'](_0x34ac0c['textNode'],{'name':!0x0}):_0x34ac0c['is']('element')&&_0x4e089c['consume'](_0x34ac0c,{'name':!0x0});return _0xe707c5['createElement']('footnoteRef',{'footnoteId':_0x37a8b3});}}),_0x309d8a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x58265b,{writer:_0x2ae09d})=>_0x46d5b2(_0x58265b,_0x2ae09d)}),_0x309d8a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x472baa,{writer:_0x3f6eff})=>{const _0x12bcf4=_0x472baa['getAttribute']('footnoteCounter');return _0xa0ed63['toWidget'](_0x46d5b2(_0x472baa,_0x3f6eff),_0x3f6eff,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x12bcf4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5d8e0c}=this,{t:t}=_0x5d8e0c['locale'],{conversion:_0xf7818}=_0x5d8e0c;_0xf7818['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf7818['for']('upcast')['add'](_0xa44478=>{_0xa44478['on']('element:ol',(_0x37d961,_0x424173,_0x4c64a1)=>{const _0x540611=_0x424173['viewItem'];if(!_0x540611['hasClass']('footnotes-list')||!_0x424173['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4c64a1['consumable']['consume'](_0x540611,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x172362,modelCursor:_0x1d9a1e}=_0x4c64a1['convertChildren'](_0x424173['viewItem'],_0x424173['modelCursor']);_0x424173['modelRange']=_0x172362,_0x424173['modelCursor']=_0x1d9a1e;}),_0xa44478['on']('element:hr',(_0x428acd,_0x24ee06,_0x2462c4)=>{const _0x5364cf=_0x24ee06['viewItem'];_0x5364cf['hasClass']('footnotes-divider')&&_0x24ee06['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2462c4['consumable']['consume'](_0x5364cf,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf7818['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a04af,{writer:_0x4dcd2c})=>th(_0x4dcd2c)}),_0xf7818['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc9bd27,{writer:_0x4fdbe8})=>{const _0x4c0c81=th(_0x4fdbe8,{'data-footnotes-list-label':t('Footnotes')}),_0x5c4569=_0xa0ed63['toWidget'](_0x4c0c81,_0x4fdbe8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4fdbe8['setCustomProperty']('footnotesDefinitions',!0x0,_0x5c4569),_0x5c4569;}});}['_defineDefinitionConverters'](){const {editor:_0x2c7dc3}=this,{conversion:_0x16514d,locale:_0x366d2d}=_0x2c7dc3,_0x3fa041=_0x2c7dc3['config']['get']('footnotes.multiBlock');_0x16514d['for']('upcast')['add'](_0x338704=>{_0x338704['on']('element:li',(_0x557677,_0x3a749f,_0x130081)=>{const _0x42af28=_0x3a749f['viewItem'];if(!_0x42af28['hasClass']('footnote-definition')||!_0x42af28['getAttribute']('id'))return;const _0x3d2cc9=_0x42af28['parent'];if(!_0x3d2cc9['is']('element','ol')||!_0x3d2cc9['hasClass']('footnotes-list'))return;if(!_0x130081['consumable']['test'](_0x42af28,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xf4d5d2=_0x130081['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x42af28['getAttribute']('id')});if(!_0x130081['safeInsert'](_0xf4d5d2,_0x3a749f['modelCursor']))return;_0x130081['consumable']['consume'](_0x42af28,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3f6533=Array['from'](_0x42af28['getChildren']())['find'](_0xe09c59=>_0xe09c59['is']('element')&&_0xe09c59['hasClass']('footnote-content'));for(const _0x44d9be of _0x42af28['getChildren']())_0x44d9be['is']('element')&&(_0x130081['consumable']['consume'](_0x44d9be,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x130081['consumable']['consume'](_0x44d9be,{'name':!0x0,'classes':'footnote-content'}));if(_0x3f6533){if(_0x3fa041)_0x130081['convertChildren'](_0x3f6533,_0xf4d5d2);else{const _0x2507b5=_0x130081['writer']['createElement']('footnoteInlineContent');_0x130081['writer']['insert'](_0x2507b5,_0xf4d5d2),_0x130081['convertChildren'](_0x3f6533,_0x2507b5);}}_0x130081['updateConversionResult'](_0xf4d5d2,_0x3a749f);});}),_0x16514d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2cb04f,{writer:_0x274be4})=>_0x37f325(_0x2cb04f,_0x274be4,_0x366d2d,{'dataPipeline':!0x0})}),_0x16514d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x59e7c6,{writer:_0x4c26a3})=>_0x37f325(_0x59e7c6,_0x4c26a3,_0x366d2d)});}['_defineBogusParagraphConverters'](){const {editor:_0x5d8179}=this,{conversion:_0x40c4f4}=_0x5d8179;_0x5d8179['config']['get']('footnotes.multiBlock')?(_0x40c4f4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x26f1c7(),'converterPriority':'high'}),_0x40c4f4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x26f1c7({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5d8179['model']['document'],'change:data',()=>{!function(_0x150117,_0x4bc8a6){const _0x2ce307=_0x150117['document']['differ'],_0x1533cf=new Set();for(const _0x3020f9 of _0x2ce307['getChanges']()){const _0x1e6701='attribute'==_0x3020f9['type']?_0x3020f9['range']['start']['parent']:_0x3020f9['position']['parent'];_0x1e6701['is']('element','footnoteDefinition')&&_0x1533cf['add'](_0x1e6701);}for(const _0x16c2e5 of _0x1533cf['values']()){const _0x1cfd99=Array['from'](_0x16c2e5['getChildren']())['filter'](_0x1b056b=>_0x2548c7(_0x1b056b,_0x4bc8a6['mapper']));for(const _0x370dd6 of _0x1cfd99)_0x4bc8a6['reconvertItem'](_0x370dd6);}}(_0x5d8179['model'],_0x5d8179['editing']);})):(_0x40c4f4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x26f1c7()}),_0x40c4f4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1a83c4,{writer:_0x3600dd})=>{const _0x236e6f=_0x3600dd['createContainerElement']('span');return _0x3600dd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x236e6f),_0x236e6f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x40cc76}=this,{editing:_0x4eb401,t:t}=_0x40cc76,_0x4c6c84=_0x40cc76['model']['document']['selection'];_0x40cc76['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x40cc76['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4eb401['view']['document'],'enter',(_0x5ddddd,_0x13e8b7)=>{const _0x2ce289=function(_0x299013){const _0x55c720=_0x299013['getSelectedElement']();if(_0x55c720?.['is']('element','footnoteRef'))return _0x55c720;return null;}(_0x4c6c84);if(_0x2ce289){const _0x5a8b91=_0x2ce289['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5a8b91),_0x13e8b7['preventDefault'](),_0x5ddddd['stop']();}},{'context':_0xa0ed63['isWidget']});}['_defineClickHandlers'](){const {editor:_0xe8e583}=this,{editing:_0x3d3717}=_0xe8e583;_0xe8e583['editing']['view']['addObserver'](_0xa0ed63['PointerObserver']),_0xe8e583['editing']['view']['addObserver'](_0xa0ed63['ClickObserver']);let _0x16df05=!0x1;this['listenTo'](_0x3d3717['view']['document'],'pointerdown',(_0x2af7eb,_0x37c0ba)=>{const {target:_0x1531bc}=_0x37c0ba,_0xd84970=_0x3d3717['view']['document']['selection'];_0x16df05=!!(_0x1531bc?.['is']('element','a')&&_0x1531bc['parent']?.['is']('element','sup')&&_0x1531bc['parent']['hasClass']('footnote'))&&_0xd84970['getSelectedElement']()===_0x1531bc['parent'];},{'priority':'high'}),this['listenTo'](_0x3d3717['view']['document'],'click',(_0x42dc87,_0x2d35e4)=>{const {target:_0x1017f4}=_0x2d35e4;if(!_0x1017f4?.['is']('element','a'))return;if(_0x1017f4['parent']?.['is']('element','sup')&&_0x1017f4['parent']['hasClass']('footnote')&&!_0x16df05)return void _0x2d35e4['preventDefault']();let _0x5d1fee=_0x1017f4['getAttribute']('href');if(!_0x5d1fee?.['startsWith']('#'))return;_0x5d1fee=_0x5d1fee['slice'](0x1);let _0x4f1c87=!0x1;(_0x5d1fee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5d1fee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5d1fee))&&(_0x4f1c87=!0x0),_0x4f1c87&&(_0x2d35e4['preventDefault'](),_0x42dc87['stop']());},{'priority':'high','context':'$capture'});}}function _0x26f1c7({dataPipeline:_0x5eefe5}={}){return(_0x10a6b7,{writer:_0x2f238f})=>{if(!_0x10fe36(_0x10a6b7))return null;if(!_0x5eefe5)return _0x2f238f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1a28f6=_0x2f238f['createContainerElement']('p');return _0x2f238f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1a28f6),_0x1a28f6;};}function _0x10fe36(_0x4de136){const {parent:_0x53eb3e}=_0x4de136;if(!_0x53eb3e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x53eb3e['childCount'])return!0x1;for(const _0x556d39 of _0x4de136['getAttributeKeys']())if(!_0x556d39['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x556d39)return!0x1;return!0x0;}function _0x2548c7(_0x23f816,_0x5a4ca5){if(!_0x23f816['is']('element','paragraph'))return!0x1;const _0x3d97db=_0x5a4ca5['toViewElement'](_0x23f816);return!!_0x3d97db&&_0x10fe36(_0x23f816)!==_0x3d97db['is']('element','span');}function _0x327517(_0x524c4f){return _0xa0ed63['isWidget'](_0x524c4f)&&_0x524c4f['is']('containerElement')&&!!_0x524c4f['getCustomProperty']('footnotesDefinitions');}function th(_0x5c00d8,_0x17bb07={}){const _0x1aedaa=_0x5c00d8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x372f86=_0x5c00d8['createContainerElement']('ol',{'class':'footnotes-list'},_0x5c00d8['createSlot']());return _0x5c00d8['createContainerElement']('div',{'class':'footnotes',..._0x17bb07},[_0x1aedaa,_0x372f86]);}function _0x46d5b2(_0xc1feec,_0x227462){const _0x1f8a22=_0xc1feec['getAttribute']('footnoteId'),_0x5e2b5f=_0xc1feec['getAttribute']('footnoteCounter'),_0x4bb2c8=_0x227462['createUIElement']('a',{'href':'#'+_0x1f8a22},function(_0x2dac19){const _0x3c19a6=this['toDomElement'](_0x2dac19);return _0x3c19a6['textContent']=_0x5e2b5f,_0x3c19a6;}),_0x49f399=_0x227462['createContainerElement']('sup',{'id':'ref-'+_0x1f8a22,'class':'footnote'},[_0x4bb2c8]);return _0x49f399['getFillerOffset']=()=>null,_0x49f399;}function _0x37f325(_0x3279ee,_0x41f24f,_0x1fe22e,{dataPipeline:_0x4020c6}={}){const {t:t}=_0x1fe22e,_0x1c4cb5=_0x3279ee['getAttribute']('footnoteId'),_0x2b57c=_0x41f24f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c4cb5},function(_0x5e0f0b){const _0x10d0d8=this['toDomElement'](_0x5e0f0b);return _0x10d0d8['innerText']='^',_0x10d0d8;}),_0x355d7c=_0x4020c6?_0x41f24f['createContainerElement']('div',{'class':'footnote-content'}):_0xa0ed63['toWidgetEditable'](_0x41f24f['createEditableElement']('div',{'class':'footnote-content'}),_0x41f24f,{'label':t('Footnote\x20content.')});return _0x41f24f['insert'](_0x41f24f['createPositionAt'](_0x355d7c,0x0),_0x41f24f['createSlot']()),_0x41f24f['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c4cb5},[_0x2b57c,_0x355d7c]);}class FootnotesClipboard extends _0xa0ed63['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0xa0ed63['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3f50a6}=this,{plugins:_0x4d9ab3,model:_0x330379}=_0x3f50a6,_0x2c29fb=_0x4d9ab3['get'](_0xa0ed63['ClipboardPipeline']),_0x27076a=_0x4d9ab3['get'](FootnotesTracker);this['listenTo'](_0x2c29fb,'outputTransformation',(_0x78f21b,_0x462bdc)=>{const _0x277eb6=_0x111ad5(_0x330379['createRangeIn'](_0x462bdc['content']));if(!_0x277eb6['length'])return;const _0x8e18e2=_0x27076a['getFootnotes'](),_0x4c1ae7=_0x277eb6['reduce']((_0x239829,_0x369316)=>{const _0x5109f4=_0x8e18e2['find'](_0x4bdd58=>_0x4bdd58['id']===_0x369316);if(_0x5109f4){const _0x1a512c=_0x3f50a6['data']['toView'](_0x5109f4['definition'],{'isClipboardPipeline':!0x0}),_0x169a37=_0x3f50a6['data']['htmlProcessor']['toData'](_0x1a512c);_0x239829[_0x5109f4['id']]=_0x169a37;}return _0x239829;},Object['create'](null));_0x462bdc['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4c1ae7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1160ef}=this,{model:_0x2cc2da,plugins:_0x19c4b1}=_0x1160ef,{view:_0x5f086c}=_0x1160ef['editing'],_0x26279f=_0x19c4b1['get'](_0xa0ed63['ClipboardPipeline']),_0x3dcdb3=_0x19c4b1['get'](FootnotesTracker),_0x174ba1=_0x1160ef['config']['get']('footnotes.multiBlock');let _0x1e3f3f=null;this['listenTo'](_0x5f086c['document'],'clipboardInput',(_0x3e6c34,_0x1fc8aa)=>{const _0x38782b=_0x1fc8aa['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1e3f3f=_0x38782b?JSON['parse'](_0x38782b):null;}),this['listenTo'](_0x26279f,'contentInsertion',(_0x32fc0d,_0x186ada)=>{const _0x41a6f1=_0x186ada['sourceEditorId']===this['editor']['id'];_0x41a6f1&&'drop'===_0x186ada['method']||_0x2cc2da['change'](_0x4d45d0=>{let _0x2da3f8=_0x3dcdb3['getFootnotesDefinitionsObjectElement']();const _0xc16c9e=!!_0x2da3f8&&Array['from'](_0x2cc2da['document']['selection']['getSelectedBlocks']())['includes'](_0x2da3f8);if(!_0x1e3f3f&&function(_0x1f1e39){for(const {item:_0x2f1483}of _0x1f1e39)if(_0x2f1483['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2cc2da['createRangeIn'](_0x186ada['content']))&&(_0x1e3f3f=function(_0x50ce95,_0x2fb658){const _0x24cc96=_0x6f4f84(_0x50ce95,_0x2fb658);if(!_0x24cc96)return null;const _0x15a988=Object['create'](null);for(const _0x3fb0ef of _0x24cc96['getChildren']())_0x3fb0ef['is']('element','footnoteDefinition')&&_0x3fb0ef['hasAttribute']('footnoteId')&&(_0x15a988[_0x3fb0ef['getAttribute']('footnoteId')]=_0x50ce95['cloneElement'](_0x3fb0ef,!0x0));return Object['keys'](_0x15a988)['length']?_0x15a988:null;}(_0x4d45d0,_0x186ada['content'])),(_0x2da3f8&&!_0xc16c9e||!_0x2da3f8&&!_0x1e3f3f)&&function(_0x384df1,_0xb2c549){const _0x583030=[];for(const {item:_0x1cc8f1}of _0x384df1['createRangeIn'](_0xb2c549))_0x1cc8f1['is']('element','footnotesDefinitions')&&_0x583030['push'](_0x1cc8f1);for(const _0x2733a8 of _0x583030)_0x384df1['remove'](_0x2733a8);}(_0x4d45d0,_0x186ada['content']),!_0x1e3f3f)return;const {selection:_0x536692}=_0x2cc2da['document'],_0x509372=_0x536692['getFirstRange']()['root'];_0x2da3f8&&!_0xc16c9e||(_0x2da3f8=_0x6f4f84(_0x4d45d0,_0x186ada['content']),_0x2da3f8||=_0x3dcdb3['_insertEmptyFootnotesDefinitionsContainer'](_0x4d45d0,_0x509372));const _0x4a3d05=Array['from'](_0x536692['getRanges']())['flatMap'](_0x111ad5),_0x174445=function(_0x13bceb,_0x1d1f52,_0x1fc598){const _0x4e8ca=Object['create'](null);for(const {item:_0x2ddef7}of _0x13bceb['createRangeIn'](_0x1d1f52))if(_0x2ddef7['is']('element','footnoteRef')){const _0xed163b=_0x2ddef7['getAttribute']('footnoteId');if(!_0x1fc598(_0xed163b))continue;_0x4e8ca[_0xed163b]||(_0x4e8ca[_0xed163b]=_0xa0ed63['uid']()),_0x13bceb['setAttribute']('footnoteId',_0x4e8ca[_0xed163b],_0x2ddef7);}return _0x4e8ca;}(_0x4d45d0,_0x186ada['content'],_0x43c9c8=>{if(!_0x41a6f1)return!0x0;return!!_0x3dcdb3['getFootnote'](_0x43c9c8)&&!_0x4a3d05['includes'](_0x43c9c8);});for(const [_0xdf63a,_0x268bd4]of Object['entries'](_0x1e3f3f)){const _0x518eb6=_0x174445[_0xdf63a]||_0xdf63a;let _0x5af48b;if('string'!=typeof _0x268bd4)_0x5af48b=_0x268bd4,_0x518eb6!==_0xdf63a&&_0x4d45d0['setAttribute']('footnoteId',_0x518eb6,_0x5af48b);else{_0x5af48b=_0x4d45d0['createElement']('footnoteDefinition',{'footnoteId':_0x518eb6});const _0x18e9d5=_0x1160ef['data']['htmlProcessor']['toView'](_0x268bd4);let _0x58fec7;if(_0x174ba1)_0x58fec7=_0x1160ef['data']['toModel'](_0x18e9d5,_0x5af48b);else{_0x58fec7=_0x4d45d0['createElement']('footnoteInlineContent');const _0x112ac0=_0x1160ef['data']['toModel'](_0x18e9d5,_0x58fec7);_0x4d45d0['insert'](_0x112ac0,_0x58fec7);}_0x4d45d0['append'](_0x58fec7,_0x5af48b);}_0x4d45d0['insert'](_0x5af48b,_0x2da3f8,'end');}_0x1e3f3f=null;});});}}function _0x6f4f84(_0x9c79cb,_0x346281){for(const {item:_0x18658e}of _0x9c79cb['createRangeIn'](_0x346281))if(_0x18658e['is']('element','footnotesDefinitions'))return _0x18658e;return null;}function _0x111ad5(_0x48ac50){const _0x193d12=new Set();for(const {item:_0x403bcb}of _0x48ac50)_0x403bcb['is']('element','footnoteRef')&&_0x193d12['add'](_0x403bcb['getAttribute']('footnoteId'));return Array['from'](_0x193d12);}class FootnotesUI extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33f4b0}=this,{componentFactory:_0x2b7bd7}=_0x33f4b0['ui'];_0x2b7bd7['add']('insertFootnote',_0x458012(_0x33f4b0,_0xa0ed63['ButtonView'])),_0x2b7bd7['add']('menuBar:insertFootnote',_0x458012(_0x33f4b0,_0xa0ed63['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e6113=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40e187;for(const _0x3361ee in _0x4e6113){const _0x1d3822=_0x3361ee,_0x1021bf=_0x4e6113[_0x1d3822];if('footnotesLicenseKeyValid'==_0x1021bf||'footnotesLicenseKeyInvalid'==_0x1021bf||'footnotesLicenseKeyExpired'==_0x1021bf||'footnotesLicenseKeyDomainLimit'==_0x1021bf||'footnotesLicenseKeyNotAllowed'==_0x1021bf||'footnotesLicenseKeyEvaluationLimit'==_0x1021bf||'footnotesLicenseKeyUsageLimit'==_0x1021bf){delete _0x4e6113[_0x1d3822],_0x40e187=_0x1021bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x40e187&&_0x4e6113['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x40e187&&_0x4e6113['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x40e187&&_0x4e6113['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x40e187&&_0x4e6113['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x40e187&&_0x4e6113['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x40e187&&_0x4e6113['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x458012(_0x230fd8,_0x575542){const _0x191bfb=_0x230fd8['commands']['get']('insertFootnote');return _0x56e0bb=>{const {t:t}=_0x56e0bb,_0x3843a2=new _0x575542(_0x56e0bb),_0x20137a=_0x3843a2 instanceof _0xa0ed63['MenuBarMenuListItemButtonView'];return _0x3843a2['bind']('isEnabled')['to'](_0x191bfb,'isEnabled'),_0x3843a2['set']({'label':t(_0x20137a?'Footnote':'Insert\x20footnote'),'icon':_0xa0ed63['IconFootnote'],'tooltip':!0x0}),_0x3843a2['on']('execute',()=>{_0x191bfb['execute'](),_0x230fd8['editing']['view']['focus']();}),_0x3843a2;};}class Footnotes extends _0xa0ed63['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x1b58aa=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends _0xa0ed63['Command']{['refresh'](){const {editor:_0x3cb3e8}=this,_0x5840af=_0x3cb3e8['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5840af,this['value']=_0x5840af?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x6e4dcf}){const {editor:_0x21bfd1}=this,_0x39fce6=_0x21bfd1['plugins']['get'](FootnotesTracker),_0xd5e228=_0x39fce6['getFootnotesDefinitionsObjectElement']();_0xd5e228&&_0x1b58aa['includes'](_0x6e4dcf)&&_0x21bfd1['model']['change'](_0x22223d=>{_0x22223d['setAttribute']('footnotesListStyle',_0x6e4dcf,_0xd5e228),_0x39fce6['_updateFootnotesCounters'](_0x22223d);});}}class FootnotesStartCommand extends _0xa0ed63['Command']{['refresh'](){const {editor:_0x3f2b13}=this,_0x343912=_0x3f2b13['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x343912,this['value']=_0x343912?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x6226b3}){const {editor:_0x276116}=this,_0x2a10a5=_0x276116['plugins']['get'](FootnotesTracker),_0x50545b=_0x2a10a5['getFootnotesDefinitionsObjectElement']();_0x50545b&&Number['isInteger'](_0x6226b3)&&_0x276116['model']['change'](_0x308879=>{_0x308879['setAttribute']('footnotesListStart',_0x6226b3,_0x50545b),_0x2a10a5['_updateFootnotesCounters'](_0x308879);});}}class FootnotesPropertiesEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f941f}=this;_0x1f941f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1f941f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1f941f['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x1f941f)),_0x1f941f['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x1f941f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x9210d5}=this,{schema:_0x11336c}=_0x9210d5['model'];_0x11336c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1fed6a}=this,{conversion:_0x1adc00,model:_0x5b81ac}=_0x1fed6a,{schema:_0x2dbf81}=_0x5b81ac;_0x1adc00['for']('upcast')['add'](_0x39de16=>{_0x39de16['on']('element:ol',(_0x2daa86,_0x2dd8a8,_0x324304)=>{const _0x5224e0=_0x2dd8a8['viewItem'],_0x54ea00=_0x2dd8a8['modelCursor']?.['parent'];_0x5224e0['hasClass']('footnotes-list')&&_0x54ea00?.['is']('element','footnotesDefinitions')&&(function(_0x5ae205,_0x1de69f,_0x226743,_0x8aabb3){if(!_0x8aabb3['checkAttribute'](_0x1de69f,'footnotesListStart'))return;let _0x4a902b=0x1;const _0x460219=_0x226743['consumable']['consume'](_0x5ae205,{'attributes':'start'});if(_0x460219){const _0x20cb11=Number['parseInt'](_0x5ae205['getAttribute']('start'),0xa);Number['isNaN'](_0x20cb11)||(_0x4a902b=_0x20cb11);}!_0x460219&&_0x1de69f['hasAttribute']('footnotesListStart')||_0x226743['writer']['setAttribute']('footnotesListStart',_0x4a902b,_0x1de69f);}(_0x5224e0,_0x54ea00,_0x324304,_0x2dbf81),function(_0x33688a,_0x5e2e58,_0x4421b2,_0x30589f){if(!_0x30589f['checkAttribute'](_0x5e2e58,'footnotesListStyle'))return;let _0x2e46f2='decimal',_0x54ef50=!0x1;if(_0x4421b2['consumable']['consume'](_0x33688a,{'attributes':'type'})){const _0x11592b={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x33688a['getAttribute']('type')];_0x11592b&&(_0x2e46f2=_0x11592b),_0x54ef50=!0x0;}_0x4421b2['consumable']['consume'](_0x33688a,{'styles':'list-style-type'})&&(_0x2e46f2=function(_0x4d4c4c){switch(_0x4d4c4c){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4d4c4c;}}(_0x33688a['getStyle']('list-style-type')),_0x54ef50=!0x0),!_0x54ef50&&_0x5e2e58['hasAttribute']('footnotesListStyle')||_0x4421b2['writer']['setAttribute']('footnotesListStyle',_0x2e46f2,_0x5e2e58);}(_0x5224e0,_0x54ea00,_0x324304,_0x2dbf81));});}),_0x1adc00['for']('downcast')['add'](_0x17f8f9=>{_0x17f8f9['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x11a346,_0x452e30,_0x552086)=>{if(!_0x552086['consumable']['consume'](_0x452e30['item'],_0x11a346['name']))return;const _0x364956=_0x5cc08d(_0x452e30['item'],_0x552086['mapper']),{attributeNewValue:_0x1e6396}=_0x452e30;null==_0x1e6396||0x1===_0x1e6396?_0x552086['writer']['removeAttribute']('start',_0x364956):_0x552086['writer']['setAttribute']('start',String(_0x1e6396),_0x364956);}),_0x17f8f9['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4fdd91,_0x226b69,_0x30f151)=>{if(!_0x30f151['consumable']['consume'](_0x226b69['item'],_0x4fdd91['name']))return;const _0x211c62=_0x5cc08d(_0x226b69['item'],_0x30f151['mapper']),{attributeNewValue:_0x49432c}=_0x226b69;_0x49432c&&'decimal'!==_0x49432c?_0x30f151['writer']['setStyle']('list-style-type',_0x49432c,_0x211c62):_0x30f151['writer']['removeStyle']('list-style-type',_0x211c62);});});}['_definePostfixer'](){const {editor:_0x312767}=this,{model:_0x5cd80e}=_0x312767,_0xabfc34=_0x312767['plugins']['get'](FootnotesTracker),_0xa2344f=this['_getDefaultListStyle'](),_0x5828b0=this['_getDefaultStartIndex']();_0x5cd80e['document']['registerPostFixer'](_0x2627a9=>{const _0x49b3f6=_0x5cd80e['document']['differ']['getChanges']();let _0x140199=!0x1;for(const _0x1a0804 of _0x49b3f6){if('insert'!==_0x1a0804['type']||'$text'===_0x1a0804['name'])continue;const _0x1f5329=_0x5cd80e['createRangeOn'](_0x1a0804['position']['nodeAfter']);for(const _0x41e7c8 of _0x1f5329['getItems']())_0x41e7c8['is']('element','footnotesDefinitions')&&(!_0x41e7c8['hasAttribute']('footnotesListStart')&&_0x5cd80e['schema']['checkAttribute'](_0x41e7c8,'footnotesListStart')&&(_0x2627a9['setAttribute']('footnotesListStart',_0x5828b0,_0x41e7c8),_0x140199=!0x0),!_0x41e7c8['hasAttribute']('footnotesListStyle')&&_0x5cd80e['schema']['checkAttribute'](_0x41e7c8,'footnotesListStyle')&&(_0x2627a9['setAttribute']('footnotesListStyle',_0xa2344f,_0x41e7c8),_0x140199=!0x0));}return _0x140199&&_0xabfc34['_updateFootnotesCounters'](_0x2627a9),_0x140199;});}['_defineFormatter'](){const {editor:_0x3ebafe}=this;_0x3ebafe['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x23cff2=>this['_formatFootnoteListValue'](_0x23cff2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3274e5,value:_0x887cba,digits:_0x16724d}){const _0x5727da=_0x3274e5['getAttribute']('footnotesListStyle'),_0x256ea6=_0x3274e5['getAttribute']('footnotesListStart'),_0x22140a=Math['floor'](_0x887cba)+(_0x256ea6??0x1)-0x1;switch(_0x5727da){case'decimal-leading-zero':return function(_0x5f3520,_0x1b691b){return String(_0x5f3520)['padStart'](_0x1b691b,'0');}(_0x22140a,Math['max'](0x2,_0x16724d));case'lower-alpha':case'lower-latin':return _0x33d6bb(_0x22140a,!0x1);case'upper-alpha':case'upper-latin':return _0x33d6bb(_0x22140a,!0x0);case'lower-roman':return _0x1eed05(_0x22140a,!0x1);case'upper-roman':return _0x1eed05(_0x22140a,!0x0);default:return String(_0x22140a);}}}function _0x5cc08d(_0x246067,_0x54aca2){const _0xae550a=_0x54aca2['toViewElement'](_0x246067);return Array['from'](_0xae550a['getChildren']())['find'](_0x145b78=>_0x145b78['is']('element','ol')&&_0x145b78['hasClass']('footnotes-list'));}function _0x33d6bb(_0x4ec663,_0x448039){let _0x34e77d='',_0x1329d7=_0x4ec663;for(;_0x1329d7>0x0;){const _0x321109=(_0x1329d7-0x1)%0x1a;_0x34e77d=String['fromCharCode'](0x61+_0x321109)+_0x34e77d,_0x1329d7=Math['floor']((_0x1329d7-0x1)/0x1a);}return _0x448039?_0x34e77d['toUpperCase']():_0x34e77d;}const _0x5b5e4e=[{'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 _0x1eed05(_0x1b6a52,_0x365403){let _0x3deaf6='',_0x46c488=_0x1b6a52;for(const {value:_0x532bd4,numeral:_0xba74e7}of _0x5b5e4e)for(;_0x46c488>=_0x532bd4;)_0x3deaf6+=_0xba74e7,_0x46c488-=_0x532bd4;return _0x365403?_0x3deaf6:_0x3deaf6['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends _0xa0ed63['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xa0ed63['FocusTracker']();['keystrokes']=new _0xa0ed63['KeystrokeHandler']();['focusables']=new _0xa0ed63['ViewCollection']();['focusCycler'];constructor(_0x19cd0a,{styleButtonViews:_0x53bfc8,styleGridAriaLabel:_0xfbf3ae}){super(_0x19cd0a),(this['focusCycler']=new _0xa0ed63['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'](_0x53bfc8,_0xfbf3ae),[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 _0x1d2de2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1d2de2['element']);_0xa0ed63['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0xa0ed63['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 _0x36bec4=_0x21cddf=>_0x21cddf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x36bec4),this['keystrokes']['set']('arrowleft',_0x36bec4),this['keystrokes']['set']('arrowup',_0x36bec4),this['keystrokes']['set']('arrowdown',_0x36bec4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4e38fa,_0x32c55e){const _0x10dd8d=new _0xa0ed63['View'](this['locale']);return _0x10dd8d['children']=_0x10dd8d['createCollection'](),_0x10dd8d['children']['addMany'](_0x4e38fa),_0x10dd8d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x32c55e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x10dd8d['children']}),_0x10dd8d['children']['delegate']('execute')['to'](this),_0x10dd8d['focus']=function(){for(const _0x8f4b47 of this['children'])if(_0x8f4b47 instanceof _0xa0ed63['ButtonView']&&_0x8f4b47['isOn'])return void _0x8f4b47['focus']();this['children']['first']['focus']();},_0x10dd8d['focusTracker']=new _0xa0ed63['FocusTracker'](),_0x10dd8d['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),_0x10dd8d['render'](),_0x10dd8d['keystrokes']['listenTo'](_0x10dd8d['element']),this['children']['add'](_0x10dd8d),_0x10dd8d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x54f877=this['_createStartIndexPropertyView'](),_0x5bc895=[_0x54f877],_0xf78319=new _0xa0ed63['CollapsibleView'](this['locale'],_0x5bc895);return _0xf78319['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xf78319['buttonView']['bind']('isEnabled')['toMany'](_0x5bc895,'isEnabled',(..._0x18f34b)=>_0x18f34b['some'](_0x2cbd98=>_0x2cbd98)),_0xf78319['buttonView']['on']('change:isEnabled',(_0x143979,_0x4fd10f,_0x69e408)=>{_0x69e408||(_0xf78319['isCollapsed']=!0x0);}),this['children']['add'](_0xf78319),[_0x54f877,_0xf78319];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x196437=new _0xa0ed63['LabeledFieldView'](this['locale'],_0xa0ed63['createLabeledInputNumber']);return _0x196437['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x196437['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x196437['fieldView']['on']('input',()=>{const _0x75921d=_0x196437['fieldView']['element'],_0x151537=_0x75921d['valueAsNumber'];Number['isNaN'](_0x151537)?_0x196437['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x75921d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x151537}):_0x196437['errorText']=t(_0x151537<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x196437;}}class FootnotesPropertiesUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xa0ed63['ContextualBalloon'],_0xa0ed63['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x975f6b}=this,{componentFactory:_0x30db0d}=_0x975f6b['ui'];_0x975f6b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x30db0d['add']('footnotesStyle',function(_0xec7531){return _0x70840e=>{const {t:t}=_0x70840e,_0x1d8333=_0xec7531['commands']['get']('footnotesStyle'),_0x42f728=_0xa0ed63['createDropdown'](_0x70840e),{buttonView:_0x1860a3}=_0x42f728;return _0x42f728['class']='ck-footnotes-styles-dropdown',_0x42f728['bind']('isEnabled')['to'](_0x1d8333,'isEnabled'),_0x1860a3['set']({'label':t('Footnotes\x20style'),'icon':_0xa0ed63['IconFootnote'],'tooltip':!0x0}),_0x42f728['once']('change:isOpen',()=>{const _0x2aefc5=function({editor:_0x3934b9,dropdownView:_0x2e54cf}){const {t:t}=_0x3934b9['locale'],_0x47fbe4=t('Footnotes\x20definitions\x20styles'),_0x146f2d=function(_0x48a48f){const t=_0x48a48f['locale']['t'],_0x5b965e=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xa0ed63['IconListStyleDecimal']},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xa0ed63['IconListStyleDecimalLeadingZero']},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xa0ed63['IconListStyleLowerRoman']},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xa0ed63['IconListStyleUpperRoman']},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xa0ed63['IconListStyleLowerLatin']},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xa0ed63['IconListStyleUpperLatin']}];return _0x5b965e['map'](function(_0x51ce78){const _0x315cb4=_0x51ce78['locale'];return({label:_0xfd9eec,icon:_0x929295,tooltip:_0x3ed728,style:_0x802ee5})=>{const _0x56249e=_0x51ce78['commands']['get']('footnotesStyle'),_0x320443=new _0xa0ed63['ButtonView'](_0x315cb4);return _0x320443['set']({'label':_0xfd9eec,'icon':_0x929295,'tooltip':_0x3ed728}),_0x320443['bind']('isOn')['to'](_0x56249e,'value',_0xf27313=>_0xf27313===_0x802ee5),_0x320443['bind']('isEnabled')['to'](_0x56249e,'isEnabled'),_0x320443['on']('execute',()=>{_0x51ce78['execute']('footnotesStyle',{'value':_0x802ee5}),_0x51ce78['editing']['view']['focus']();}),_0x320443;};}(_0x48a48f));}(_0x3934b9),_0x208636=new FootnotesDefinitionsPropertiesView(_0x3934b9['locale'],{'styleGridAriaLabel':_0x47fbe4,'styleButtonViews':_0x146f2d}),_0x26c4d7=_0x3934b9['commands']['get']('footnotesStart');return _0x208636['startIndexFieldView']['bind']('isEnabled')['to'](_0x26c4d7),_0x208636['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x26c4d7),_0x208636['on']('footnotesListStart',(_0x20993e,_0x170496)=>{_0x3934b9['execute']('footnotesStart',{'value':_0x170496['startIndex']});}),_0x208636['delegate']('execute')['to'](_0x2e54cf),_0x208636;}({'editor':_0xec7531,'dropdownView':_0x42f728});_0x42f728['panelView']['children']['add'](_0x2aefc5);}),_0x42f728;};}(_0x975f6b));}['afterInit'](){const {editor:_0x11da85}=this,{t:t}=_0x11da85['locale'],_0x294d32=_0x11da85['plugins']['get'](_0xa0ed63['WidgetToolbarRepository']),{defaultPositions:_0x2a1fb0}=_0xa0ed63['BalloonPanelView'];_0x294d32['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x11da85['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5f10da=>{let _0x3d3bdb=_0x5f10da['getFirstPosition']()?.['parent'];return _0x3d3bdb?.['is']('$text')&&(_0x3d3bdb=_0x3d3bdb['parent']),_0x3d3bdb?.['is']('element')?_0x3d3bdb['findAncestor'](_0x327517):null;},'positions':[_0x2a1fb0['southArrowNorth'],_0x2a1fb0['southArrowNorthMiddleWest'],_0x2a1fb0['southArrowNorthMiddleEast'],_0x2a1fb0['southArrowNorthWest'],_0x2a1fb0['southArrowNorthEast'],_0x2a1fb0['northArrowSouth'],_0x2a1fb0['northArrowSouthMiddleWest'],_0x2a1fb0['northArrowSouthMiddleEast'],_0x2a1fb0['northArrowSouthWest'],_0x2a1fb0['northArrowSouthEast'],_0x2a1fb0['viewportStickyNorth']]});}}class FootnotesProperties extends _0xa0ed63['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x4546cc='copyFormat',_0x14af89='pasteFormat',_0x5ce2eb='ck-format-painter-active';class CopyFormatCommand extends _0xa0ed63['Command']{constructor(_0x1152b3){super(_0x1152b3),this['value']=void 0x0,this['on']('change:isEnabled',(_0x138950,_0x232740,_0x1f88b4)=>{_0x1f88b4||this['reset']();}),this['on']('change:value',()=>_0x1152b3['commands']['get'](_0x14af89)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x54139c=this['editor']['model'],_0x39f76b=_0x54139c['document']['selection'];return Object['fromEntries'](Array['from'](_0x39f76b['getAttributes']())['filter'](([_0x113f42])=>_0x54139c['schema']['getAttributeProperties'](_0x113f42)['isFormatting']));}}class PasteFormatCommand extends _0xa0ed63['Command']{constructor(_0x5abe08){super(_0x5abe08),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x5abe08);}['execute'](_0x5cce16={}){const _0x19e339=this['editor']['model'],_0x5881f8=_0x19e339['document']['selection'],_0x508853=Array['from'](_0x5881f8['getRanges']()),_0x122dad=_0x5881f8['isCollapsed']?[this['_createRangeOnEntireWord'](_0x19e339,_0x5881f8)]:_0x508853;_0x19e339['change'](_0x2280c7=>{_0x2280c7['setSelection'](_0x122dad),this['_removeFormatCommand']['execute']();for(const _0x5d91bb in _0x5cce16)for(const _0x433541 of _0x19e339['schema']['getValidRanges'](_0x122dad,_0x5d91bb))_0x2280c7['setAttribute'](_0x5d91bb,_0x5cce16[_0x5d91bb],_0x433541);_0x2280c7['setSelection'](_0x508853);});}['_createRangeOnEntireWord'](_0x352ea5,_0x42ef18){const _0xe9061c=_0x352ea5['createSelection'](_0x42ef18);_0x352ea5['modifySelection'](_0xe9061c,{'unit':'word','direction':'backward'});const _0x267e04=_0xe9061c['getFirstPosition']();_0x352ea5['modifySelection'](_0xe9061c,{'unit':'word','direction':'forward'});const _0x5e08c6=_0xe9061c['getLastPosition']();return _0x352ea5['createRange'](_0x267e04,_0x5e08c6);}}class RemoveFormatCommandAlias extends _0xa0ed63['Command']{['execute'](){const _0x3fce14=this['editor']['model'],_0x435448=_0x3fce14['schema'];_0x3fce14['change'](_0x16a726=>{for(const _0x5e0071 of this['_getFormattingItems'](_0x3fce14['document']['selection'],_0x435448))if(_0x5e0071['is']('selection')){for(const _0x13fe07 of this['_getFormattingAttributes'](_0x5e0071,_0x435448))_0x16a726['removeSelectionAttribute'](_0x13fe07);}else{const _0x379de9=_0x16a726['createRangeOn'](_0x5e0071);for(const _0xfd0615 of this['_getFormattingAttributes'](_0x5e0071,_0x435448))_0x16a726['removeAttribute'](_0xfd0615,_0x379de9);}});}*['_getFormattingItems'](_0x525078,_0x23458e){const _0x471c0f=_0xde9186=>!!_0xa0ed63['first'](this['_getFormattingAttributes'](_0xde9186,_0x23458e));for(const _0x19909e of _0x525078['getRanges']())for(const _0x4d15d1 of _0x19909e['getItems']())!_0x23458e['isBlock'](_0x4d15d1)&&_0x471c0f(_0x4d15d1)&&(yield _0x4d15d1);for(const _0x5b3cc5 of _0x525078['getSelectedBlocks']())_0x471c0f(_0x5b3cc5)&&(yield _0x5b3cc5);_0x471c0f(_0x525078)&&(yield _0x525078);}*['_getFormattingAttributes'](_0x4235d8,_0x46fd26){for(const [_0xed5e4f]of _0x4235d8['getAttributes']()){const _0x5c1bbe=_0x46fd26['getAttributeProperties'](_0xed5e4f);_0x5c1bbe&&_0x5c1bbe['isFormatting']&&(yield _0xed5e4f);}}}class FormatPainterEditing extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe6b8b0=this['editor'];_0xe6b8b0['commands']['add'](_0x4546cc,new CopyFormatCommand(_0xe6b8b0)),_0xe6b8b0['commands']['add'](_0x14af89,new PasteFormatCommand(_0xe6b8b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2e5a42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d9791;for(const _0x3eb099 in _0x2e5a42){const _0x18d6ea=_0x3eb099,_0x2bbeb0=_0x2e5a42[_0x18d6ea];if('formatPainterLicenseKeyValid'==_0x2bbeb0||'formatPainterLicenseKeyInvalid'==_0x2bbeb0||'formatPainterLicenseKeyExpired'==_0x2bbeb0||'formatPainterLicenseKeyDomainLimit'==_0x2bbeb0||'formatPainterLicenseKeyNotAllowed'==_0x2bbeb0||'formatPainterLicenseKeyEvaluationLimit'==_0x2bbeb0||'formatPainterLicenseKeyUsageLimit'==_0x2bbeb0){delete _0x2e5a42[_0x18d6ea],_0x5d9791=_0x2bbeb0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x5d9791&&_0x2e5a42['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x5d9791&&_0x2e5a42['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x5d9791&&_0x2e5a42['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x5d9791&&_0x2e5a42['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x5d9791&&_0x2e5a42['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x5d9791&&_0x2e5a42['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x262125(_0x1ba4d9,_0x1eb13b){const t=_0x1ba4d9['t'];switch(_0x1eb13b){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x1eb13b;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0xa0ed63['DomEmitterMixin'](_0xa0ed63['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1dd7bf=this['editor'];_0x1dd7bf['editing']['view']['addObserver'](_0xa0ed63['ClickObserver']),_0x1dd7bf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x262125(_0x1dd7bf['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0x262125(_0x1dd7bf['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1dd7bf['ui']['componentFactory']['add']('formatPainter',_0xf0fe89=>{const _0x484b7d=_0xa0ed63['createDropdown'](_0xf0fe89,_0xa0ed63['SplitButtonView']),_0x25ecd1=_0x1dd7bf['commands']['get'](_0x4546cc);_0x484b7d['buttonView']['set']({'label':_0x262125(_0x1dd7bf['locale'],'Paint\x20formatting'),'icon':_0xa0ed63['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x484b7d['class']='ck-format-painter-dropdown',_0x25ecd1&&(_0x484b7d['bind']('isEnabled')['to'](_0x25ecd1,'isEnabled'),this['listenTo'](_0x25ecd1,'change:isEnabled',(_0x1617f8,_0xf5ebc1,_0x413323)=>{_0x413323||this['_finishPainting']();}),_0x484b7d['buttonView']['bind']('isOn')['to'](_0x25ecd1,'value',_0x300b4e=>!!_0x300b4e),this['listenTo'](_0x1dd7bf,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x25ecd1,'change:value',(_0x3c4f9f,_0x42b969,_0x3e0af6)=>{this['_toggleSpecialCursor'](!!_0x3e0af6);}));const _0x4419b1=new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x262125(_0x1dd7bf['locale'],'Continuous\x20painting'),'tooltip':_0x262125(_0x1dd7bf['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0xa0ed63['addListToDropdown'](_0x484b7d,new _0xa0ed63['Collection']([{'type':'switchbutton','model':_0x4419b1}]),{'role':'menu'});const _0x190bb2=()=>{this['_copyFormatting'](),this['listenTo'](_0xa0ed63['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4419b1['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x484b7d,'execute',()=>{_0x4419b1['isOn']=!_0x4419b1['isOn'];}),this['listenTo'](_0x484b7d['buttonView'],'execute',()=>{_0x1dd7bf['editing']['view']['focus'](),_0x484b7d['buttonView']['isOn']?this['_finishPainting']():_0x190bb2();}),_0x1dd7bf['keystrokes']['set']('Ctrl+Alt+C',(_0x5095ed,_0x4cad81)=>{_0x190bb2(),_0x4419b1['isOn']=!0x0,_0x4cad81();},{'priority':'high'}),_0x1dd7bf['keystrokes']['set']('Ctrl+Alt+V',(_0x1a7118,_0x5b0257)=>{_0x484b7d['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4419b1['isOn']||this['_finishPainting'](),_0x5b0257());},{'priority':'high'}),_0x1dd7bf['keystrokes']['set']('Esc',(_0xd8fa6e,_0x49ff1c)=>{_0x484b7d['buttonView']['isOn']&&(_0x4419b1['isOn']=!0x1,this['_finishPainting'](),_0x49ff1c());}),_0x484b7d;});}['afterInit'](){!async function(_0xa4ece8){const _0x541d9d=_0x36c526([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x54c726=0x4597e011,_0x1be5c0=0x45906fd1^_0x54c726,_0x479a05=window[_0x36c526([0x44,0x61,0x74,0x65])][_0x36c526([0x6e,0x6f,0x77])](),_0x59d91e=_0xa4ece8[_0x36c526([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47dae3=new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x132d11=>{_0x59d91e[_0x36c526([0x6f,0x6e,0x63,0x65])](_0x36c526([0x72,0x65,0x61,0x64,0x79]),_0x132d11);}),_0x430838={[_0x36c526([0x6b,0x74,0x79])]:_0x36c526([0x45,0x43]),[_0x36c526([0x75,0x73,0x65])]:_0x36c526([0x73,0x69,0x67]),[_0x36c526([0x63,0x72,0x76])]:_0x36c526([0x50,0x2d,0x32,0x35,0x36]),[_0x36c526([0x78])]:_0x36c526([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x36c526([0x79])]:_0x36c526([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x36c526([0x61,0x6c,0x67])]:_0x36c526([0x45,0x53,0x32,0x35,0x36])},_0x37b9a9=_0x59d91e[_0x36c526([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36c526([0x67,0x65,0x74])](_0x36c526([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x321b4e(){let _0x190a0d,_0x1f157f=null,_0x39c077=null;try{if(_0x37b9a9==_0x36c526([0x47,0x50,0x4c]))return _0x36c526([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x190a0d=_0x55cbb8(),!_0x190a0d)return _0x36c526([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x190a0d[_0x36c526([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c077=_0x509fac(_0x190a0d[_0x36c526([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x190a0d[_0x36c526([0x6a,0x74,0x69])])),await _0x558e7c()?_0x1b8d4e()?_0x1c9c3b()?_0x36c526([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c011d()?(_0x190a0d[_0x36c526([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c526([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f157f=_0x409e0c(_0x36c526([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45a4b7()):_0x36c526([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36c526([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36c526([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36c526([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c9c3b(){const _0x99cf75=[_0x36c526([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36c526([0x74,0x72,0x69,0x61,0x6c])][_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x190a0d[_0x36c526([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x479a05/0x3e8:0xe10*_0x1be5c0;return _0x190a0d[_0x36c526([0x65,0x78,0x70])]<_0x99cf75;}function _0x1b8d4e(){const _0x3dc32d=_0x190a0d[_0x36c526([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3dc32d&&(!!_0x3dc32d[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c526([0x2a]))||(!!_0x3dc32d[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c526([0x46,0x50]))||(!!_0x3dc32d[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c526([0x50,0x50]))||!(!_0x3dc32d[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c526([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x17f756()))));}function _0x3c011d(){const _0x10f45a=_0x190a0d[_0x36c526([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f45a||0x0==_0x10f45a[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x571824}=new URL(window[_0x36c526([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10f45a[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x571824))return!0x0;const _0x4a5c61=_0x571824[_0x36c526([0x73,0x70,0x6c,0x69,0x74])](_0x36c526([0x2e]));return _0x10f45a[_0x36c526([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3707fa=>_0x3707fa[_0x36c526([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c526([0x2a])))[_0x36c526([0x6d,0x61,0x70])](_0x22e5f6=>_0x22e5f6[_0x36c526([0x73,0x70,0x6c,0x69,0x74])](_0x36c526([0x2e])))[_0x36c526([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42f222=>_0x42f222[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a5c61[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c526([0x6d,0x61,0x70])](_0x18b774=>Array(_0x4a5c61[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18b774[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c526([0x66,0x69,0x6c,0x6c])](_0x18b774[0x0]===_0x36c526([0x2a])?_0x36c526([0x2a]):'')[_0x36c526([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18b774))[_0x36c526([0x73,0x6f,0x6d,0x65])](_0x204f76=>_0x4a5c61[_0x36c526([0x65,0x76,0x65,0x72,0x79])]((_0x59e21e,_0x3ebd15)=>_0x204f76[_0x3ebd15]===_0x59e21e||_0x204f76[_0x3ebd15]===_0x36c526([0x2a])));}function _0x45a4b7(){return _0x1f157f&&_0x39c077?new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bc2dc,_0x927a3b)=>{_0x1f157f[_0x36c526([0x74,0x68,0x65,0x6e])](_0x1bc2dc,_0x927a3b),_0x39c077[_0x36c526([0x74,0x68,0x65,0x6e])](_0x4bd3c9=>{_0x4bd3c9!=_0x36c526([0x56,0x61,0x6c,0x69,0x64])&&_0x1bc2dc(_0x4bd3c9);},_0x927a3b);}):_0x1f157f||_0x39c077||_0x36c526([0x56,0x61,0x6c,0x69,0x64]);}}function _0x509fac(_0x4fb96d,_0x32f352){return new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ead26=>{if(_0xd408ed())return _0x4ead26(_0x36c526([0x56,0x61,0x6c,0x69,0x64]));_0x289642(),_0x59d91e[_0x36c526([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36c526([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8cdfeb=!0x1;const _0x58a692=_0xa0ed63['uid']();function _0x2b7cd6(_0x159631){return!!_0x159631&&(typeof _0x159631===_0x36c526([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x159631===_0x36c526([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x159631[_0x36c526([0x74,0x68,0x65,0x6e])]===_0x36c526([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x159631[_0x36c526([0x63,0x61,0x74,0x63,0x68])]===_0x36c526([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b6ee0(_0x497a1d){_0x146523(_0x497a1d)[_0x36c526([0x74,0x68,0x65,0x6e])](_0x5170df=>{if(!_0x5170df||_0x5170df[_0x36c526([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36c526([0x6f,0x6b]))return _0x36c526([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a47e0(_0x173cdb(_0x58a692+_0x32f352))!=_0x5170df[_0x36c526([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36c526([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36c526([0x56,0x61,0x6c,0x69,0x64]);})[_0x36c526([0x74,0x68,0x65,0x6e])](_0xfbc025=>(_0x3455f9(),_0xfbc025),()=>{const _0x4c16ef=_0x936569();return null==_0x4c16ef?(_0x3455f9(),_0x36c526([0x56,0x61,0x6c,0x69,0x64])):_0x36c526(_0x479a05-_0x4c16ef>(0x619b6411^_0x54c726)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36c526([0x74,0x68,0x65,0x6e])](_0x4ead26)[_0x36c526([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ead26(_0x36c526([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5700e3=0x45a10e91^_0x54c726;function _0x3455f9(){const _0x1cb94f=_0x36c526([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a47e0(_0x173cdb(_0x4fb96d)),_0x3567ef=_0xe25eaf(_0x4a47e0(window[_0x36c526([0x4d,0x61,0x74,0x68])][_0x36c526([0x63,0x65,0x69,0x6c])](_0x479a05/_0x5700e3)));window[_0x36c526([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c526([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cb94f,_0x3567ef);}function _0x936569(){const _0x146dd8=_0x36c526([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a47e0(_0x173cdb(_0x4fb96d)),_0x4a8363=window[_0x36c526([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c526([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x146dd8);return _0x4a8363?window[_0x36c526([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe25eaf(_0x4a8363),0x10)*_0x5700e3:null;}function _0x146523(_0xb64b04){return new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x303db9,_0x392b84)=>{_0xb64b04[_0x36c526([0x74,0x68,0x65,0x6e])](_0x303db9,_0x392b84),window[_0x36c526([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x392b84,0x459634d1^_0x54c726);});}}_0x59d91e[_0x36c526([0x6f,0x6e])](_0x36c526([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3368ba,_0x3aa327)=>{if(_0x3aa327[0x0]!=_0x4fb96d)return _0x4ead26(_0x36c526([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3aa327[0x1]={..._0x3aa327[0x1],[_0x36c526([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58a692};},{[_0x36c526([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c526([0x68,0x69,0x67,0x68])}),_0x59d91e[_0x36c526([0x6f,0x6e])](_0x36c526([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17d5c6=>{_0x2b7cd6(_0x17d5c6[_0x36c526([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8cdfeb=!0x0,_0x5b6ee0(_0x17d5c6[_0x36c526([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36c526([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c526([0x6c,0x6f,0x77])}),_0x47dae3[_0x36c526([0x74,0x68,0x65,0x6e])](()=>{_0x8cdfeb||_0x4ead26(_0x36c526([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd408ed(){return _0x59d91e[_0x36c526([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c526([0x76,0x69,0x65,0x77])][_0x36c526([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36c526([0x61,0x75,0x74,0x6f]);}function _0x289642(){_0x59d91e[_0x36c526([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c526([0x76,0x69,0x65,0x77])][_0x36c526([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36c526([0x61,0x75,0x74,0x6f]);}}function _0x409e0c(_0x48e050){const _0x54d8f9=[new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54c4ac=>setTimeout(_0x54c4ac,0x459ededd^_0x54c726)),_0x47dae3[_0x36c526([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x251f45=>{let _0x1c1623=0x0;_0x59d91e[_0x36c526([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c526([0x6f,0x6e])](_0x36c526([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x450fd4,_0x1e31c4)=>{_0x1e31c4[0x0][_0x36c526([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c1623++,_0x1c1623==(0x4597e5f9^_0x54c726)&&(_0x251f45(),_0x450fd4[_0x36c526([0x6f,0x66,0x66])]());});}))];return window[_0x36c526([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36c526([0x72,0x61,0x63,0x65])](_0x54d8f9)[_0x36c526([0x74,0x68,0x65,0x6e])](()=>_0x48e050);}async function _0x2f22eb(){await _0x47dae3,_0x59d91e[_0x36c526([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c526([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31c05d,_0x59d91e[_0x36c526([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c526([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31c05d,_0x59d91e[_0x36c526([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36c526([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17f756(){return window[_0x36c526([0x67,0x6c,0x6f,0x62])]&&window[_0x36c526([0x67,0x6c,0x6f,0x62])][_0x36c526([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x35ad61(_0x427f56){const _0x2b79b9=_0x5db51f();_0x59d91e[_0x2b79b9]=_0x36c526([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427f56,_0x427f56!=_0x36c526([0x56,0x61,0x6c,0x69,0x64])&&_0x2f22eb();}function _0x5db51f(){const _0x384d62=window[_0x36c526([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36c526([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36c526([0x6e,0x6f,0x77])]())[_0x36c526([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36c526([0x2e]),'');let _0x33971f=_0x36c526([0x51]);for(let _0xa285f4=0x0;_0xa285f4<_0x384d62[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa285f4+=0x2){let _0x3bb0a6=window[_0x36c526([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384d62[_0x36c526([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa285f4,_0xa285f4+0x2));_0x3bb0a6>=_0x541d9d[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3bb0a6-=_0x541d9d[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33971f+=_0x541d9d[_0x3bb0a6];}return _0x33971f;}function _0x55cbb8(){const _0x1cd4f3=_0x37b9a9[_0x36c526([0x73,0x70,0x6c,0x69,0x74])](_0x36c526([0x2e]));if(0x3!=_0x1cd4f3[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x308d56(_0x1cd4f3[0x1]);function _0x308d56(_0x20f73d){const _0x385220=_0x197461(_0x20f73d);return _0x385220&&_0x2145c8()?_0x385220:null;function _0x2145c8(){const _0x4eda9a=_0x385220[_0x36c526([0x6a,0x74,0x69])],_0x415957=window[_0x36c526([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eda9a[_0x36c526([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eda9a[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe6cb29={..._0x385220,[_0x36c526([0x6a,0x74,0x69])]:_0x4eda9a[_0x36c526([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4eda9a[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe6cb29[_0x36c526([0x76,0x63])],_0x173cdb(_0xe6cb29)==_0x415957;}}}async function _0x558e7c(){let _0x4f5cd5=!0x0;try{const _0xa11b31=_0x37b9a9[_0x36c526([0x73,0x70,0x6c,0x69,0x74])](_0x36c526([0x2e])),[_0x3409c6,_0xacc7fa,_0x3bdadd]=_0xa11b31;return _0x54d2a9(_0x3409c6),await _0x49d33c(_0x3409c6,_0xacc7fa,_0x3bdadd),_0x4f5cd5;}catch{return!0x1;}function _0x54d2a9(_0x15cb74){const _0x2f4d81=_0x197461(_0x15cb74);_0x2f4d81&&_0x2f4d81[_0x36c526([0x61,0x6c,0x67])]==_0x36c526([0x45,0x53,0x32,0x35,0x36])||(_0x4f5cd5=!0x1);}async function _0x49d33c(_0x1570bd,_0x2b2e42,_0xc68fac){const _0x298c49=window[_0x36c526([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36c526([0x66,0x72,0x6f,0x6d])](_0x50fbeb(_0xc68fac),_0x37a474=>_0x37a474[_0x36c526([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16c1d5=new window[(_0x36c526([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36c526([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1570bd+_0x36c526([0x2e])+_0x2b2e42),_0x24df6e=window[_0x36c526([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36c526([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24df6e)return;const _0x3d3a80=await _0x24df6e[_0x36c526([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36c526([0x6a,0x77,0x6b]),_0x430838,{[_0x36c526([0x6e,0x61,0x6d,0x65])]:_0x36c526([0x45,0x43,0x44,0x53,0x41]),[_0x36c526([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36c526([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36c526([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24df6e[_0x36c526([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36c526([0x6e,0x61,0x6d,0x65])]:_0x36c526([0x45,0x43,0x44,0x53,0x41]),[_0x36c526([0x68,0x61,0x73,0x68])]:{[_0x36c526([0x6e,0x61,0x6d,0x65])]:_0x36c526([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d3a80,_0x298c49,_0x16c1d5)||(_0x4f5cd5=!0x1);}}function _0x197461(_0x2a2d36){return _0x2a2d36[_0x36c526([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36c526([0x65,0x79]))?JSON[_0x36c526([0x70,0x61,0x72,0x73,0x65])](_0x50fbeb(_0x2a2d36)):null;}function _0x50fbeb(_0x412efe){return window[_0x36c526([0x61,0x74,0x6f,0x62])](_0x412efe[_0x36c526([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36c526([0x2b]))[_0x36c526([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36c526([0x2f])));}function _0x173cdb(_0x2f4b74){let _0x2ec0a8=0x1505;function _0xa0bbf7(_0x106de0){for(let _0x49aac1=0x0;_0x49aac1<_0x106de0[_0x36c526([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49aac1++){const _0x3b56ad=_0x106de0[_0x36c526([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49aac1);_0x2ec0a8=(_0x2ec0a8<<0x5)+_0x2ec0a8+_0x3b56ad,_0x2ec0a8&=_0x2ec0a8;}}function _0x8c1ff2(_0x3431f5){Array[_0x36c526([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3431f5)?_0x3431f5[_0x36c526([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8c1ff2):_0x3431f5&&typeof _0x3431f5==_0x36c526([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36c526([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3431f5)[_0x36c526([0x73,0x6f,0x72,0x74])]()[_0x36c526([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc475c2,_0x2d26d9])=>{_0xa0bbf7(_0xc475c2),_0x8c1ff2(_0x2d26d9);}):_0xa0bbf7(window[_0x36c526([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3431f5));}return _0x8c1ff2(_0x2f4b74),_0x2ec0a8>>>0x0;}function _0x4a47e0(_0x2f28af){return _0x2f28af[_0x36c526([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36c526([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36c526([0x30]));}function _0xe25eaf(_0x5ab891){return _0x5ab891[_0x36c526([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36c526([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36c526([0x6a,0x6f,0x69,0x6e])]('');}function _0x31c05d(){}function _0x36c526(_0xe01d5d){return _0xe01d5d['map'](_0xe9682=>String['fromCharCode'](_0xe9682))['join']('');}_0x35ad61(await _0x321b4e());}(this);}['_toggleSpecialCursor'](_0x457a70){this['editor']['editing']['view']['change'](_0x4fa5ec=>{for(const _0xa9a5b8 of this['editor']['editing']['view']['document']['roots'])_0x457a70?_0x4fa5ec['addClass'](_0x5ce2eb,_0xa9a5b8):_0x4fa5ec['removeClass'](_0x5ce2eb,_0xa9a5b8);});}['_copyFormatting'](){const {editor:_0x29202f}=this;_0x29202f['execute'](_0x4546cc),_0x29202f['ui']['ariaLiveAnnouncer']['announce'](_0x262125(_0x29202f['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x58abc4}=this,_0x1d2952=_0x58abc4['commands']['get'](_0x4546cc)['value'];_0x58abc4['execute'](_0x14af89,_0x1d2952),_0x58abc4['ui']['ariaLiveAnnouncer']['announce'](_0x262125(_0x58abc4['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x4546cc)['reset'](),this['stopListening'](_0xa0ed63['global']['window']['document'],'mouseup');}}class FormatPainter extends _0xa0ed63['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x57f207(_0x8100c6,_0x9550bd){const t=_0x8100c6['t'];switch(_0x9550bd){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 _0x9550bd;}}class ImportWordUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x288697=this['editor'];_0x288697['ui']['componentFactory']['add']('importWord',()=>{const _0x4e43bf=this['_createButton'](_0xa0ed63['FileDialogButtonView']),_0x5c1d4c=_0x288697['commands']['get']('importWord');return _0x4e43bf['bind']('isOn')['to'](_0x5c1d4c,'isBusy'),_0x4e43bf['tooltip']=!0x0,_0x4e43bf;}),_0x288697['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0xa0ed63['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x33ffd4){const _0x5076d7=this['editor'],_0xb41d05=_0x5076d7['commands']['get']('importWord'),_0x4da6ba=new _0x33ffd4(_0x5076d7['locale']),_0x24b633=new _0xa0ed63['SpinnerView']();return _0x4da6ba['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4da6ba['set']({'icon':_0xa0ed63['IconImportWord']}),_0x4da6ba['bind']('isEnabled')['to'](_0xb41d05),_0x4da6ba['bind']('label')['to'](_0xb41d05,'isBusy',_0x5085b4=>_0x57f207(_0x5076d7['locale'],_0x5085b4?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x24b633['bind']('isVisible')['to'](_0xb41d05,'isBusy'),_0x4da6ba['iconView']['bind']('isVisible')['to'](_0xb41d05,'isBusy',_0xc77d7b=>!_0xc77d7b),_0x4da6ba['children']['add'](_0x24b633),_0x4da6ba['on']('done',(_0x172ba9,_0x207084)=>{_0x5076d7['execute']('importWord',_0x207084[0x0],{}),_0x5076d7['editing']['view']['focus']();}),_0x4da6ba;}}class ImportWordCommand extends _0xa0ed63['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x28a2b5){super(_0x28a2b5),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x120fe9,_0x57b476)=>{const _0x1aad17=new DataTransfer();_0x1aad17['setData']('text/html',_0x57b476['html']);const _0x4275d0=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5d46f8=>{this['_importMarker']['stopListening'](),_0x5d46f8['setSelection'](_0x4275d0),_0x28a2b5['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1aad17});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58339a,_0x1f0b57={}){if(this['isBusy'])return Promise['resolve']();const _0x53fccd=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1d79b0,suffix:_0x1bb2b6}=this['editor']['config']['get']('mergeFields');_0x1f0b57['merge_fields']={'prefix':_0x1d79b0,'suffix':_0x1bb2b6};}const _0x4cf387={'url':_0x53fccd['converterUrl'],'file':_0x58339a,'serviceConfig':{..._0x1f0b57,'formatting':_0x53fccd['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4cf387)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2b90b0=this['editor']['model'],_0x30c929=_0x2b90b0['schema'],_0x5e9c6a=_0x2b90b0['document']['selection'],_0x22c4d2=_0xa0ed63['first'](_0x5e9c6a['getSelectedBlocks']());return!!_0x22c4d2&&_0x30c929['checkChild'](_0x22c4d2['parent'],'paragraph');}['_prepareForImport'](){const _0x86f6f9=this['editor'],_0x3e0e09=_0x86f6f9['model'],_0x17c89e=_0x3e0e09['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x86f6f9['model']['createBatch']({'isUndoable':!0x0}),_0x3e0e09['enqueueChange'](this['_undoStepBatch'],_0xa14cd8=>{_0x17c89e['isCollapsed']||_0x3e0e09['deleteContent'](_0x17c89e,{'leaveUnmerged':!0x0});const _0x3669a6=_0x17c89e['getFirstPosition'](),_0x40d6b4=_0xa0ed63['first'](_0x17c89e['getSelectedBlocks']());let _0xe4f2b8;_0xe4f2b8=_0x40d6b4['is']('element','paragraph')&&_0x40d6b4['isEmpty']?_0x3669a6:_0x3669a6['isAtStart']?_0x3e0e09['createPositionBefore'](_0x40d6b4):_0x3669a6['isAtEnd']?_0x3e0e09['createPositionAfter'](_0x40d6b4):_0xa14cd8['split'](_0x3669a6)['position'],this['_importMarker']=_0xa14cd8['addMarker']('importWord:'+_0xa0ed63['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xa0ed63['ModelRange'](_0xe4f2b8)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x23fe89=this['editor']['model'];_0x23fe89['markers']['has'](this['_importMarker'])&&_0x23fe89['enqueueChange'](this['_undoStepBatch'],_0xf8ef05=>{_0xf8ef05['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x581e84,file:_0x456d3a,serviceConfig:_0x3ef3af}){const _0x923885=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x2321bc=new FormData();_0x2321bc['set']('config',JSON['stringify'](_0x3ef3af)),_0x2321bc['set']('file',_0x456d3a);const _0x499e68={'method':'POST','headers':{},'body':_0x2321bc,'signal':this['_abortController']['signal']};return _0x923885&&(_0x499e68['headers']['Authorization']=_0x923885['value']),fetch(_0x581e84,_0x499e68);}['_handleImportResponse'](_0x57b4fa){return _0x57b4fa['ok']?_0x57b4fa['json']()['then'](_0x19533b=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x19533b,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0xa0ed63['logWarning']('import-word-plugin-import-cancelled');const _0x315709=this['editor'],_0xa7792f=_0x57f207(_0x315709['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x315709['plugins']['get']('Notification')['showWarning'](_0xa7792f),_0xa0ed63['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0xa0ed63['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xa0ed63['Notification'],_0xa0ed63['ClipboardPipeline'],'CloudServices'];}constructor(_0x3409b4){super(_0x3409b4),this['_token']=null;}async['init'](){const _0x43eecd=this['editor'];_0x43eecd['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x43eecd['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x43eecd['commands']['add']('importWord',new ImportWordCommand(_0x43eecd));const {tokenUrl:_0x191078}=_0x43eecd['config']['get']('importWord');if(_0x191078){const {tokenUrl:_0x2f53ee}=_0x43eecd['config']['get']('cloudServices')||{};this['_token']=_0x191078===_0x2f53ee?_0x43eecd['plugins']['get']('CloudServices')['token']:await _0x43eecd['plugins']['get']('CloudServices')['registerTokenUrl'](_0x191078);}}['getToken'](){return this['_token'];}}class ImportWord extends _0xa0ed63['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0xa0ed63['Command']{['refresh'](){const _0x4ad0fa=this['editor']['model']['document'],_0x3ffc15=_0xa0ed63['first'](_0x4ad0fa['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3ffc15)&&this['_canHaveLineHeight'](_0x3ffc15),this['value']=this['isEnabled']&&_0x3ffc15['getAttribute']('lineHeight');}['execute'](_0x5678af={}){const _0x254b11=this['editor']['model'],_0x417e40=_0x254b11['document']['selection'],_0x6e6588=_0x5678af['value'];_0x254b11['change'](_0x4219ef=>{const _0x7f3ad2=Array['from'](_0x417e40['getSelectedBlocks']())['filter'](_0x48844c=>this['_canHaveLineHeight'](_0x48844c));for(const _0x470c36 of _0x7f3ad2)_0x6e6588?_0x4219ef['setAttribute']('lineHeight',_0x6e6588,_0x470c36):_0x4219ef['removeAttribute']('lineHeight',_0x470c36);});}['_canHaveLineHeight'](_0x4299cd){return this['editor']['model']['schema']['checkAttribute'](_0x4299cd,'lineHeight');}}const _0x499249={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 _0x5f1e7e(_0x336993){return'string'==typeof _0x336993&&'default'===_0x336993['toLowerCase']();}function _0x1baf2c(_0x94dbc2){return _0x94dbc2['options']['map'](_0x5735bd=>{return _0x5f1e7e(_0x5735bd)?{'title':String(_0x94dbc2['defaultValue']),'model':'default'}:('number'==typeof _0x5735bd&&(_0x5735bd=String(_0x5735bd)),'string'!=typeof _0x5735bd?_0x5735bd:parseFloat(_0x5735bd)?{'title':_0x5735bd,'model':_0x5735bd,'view':{'name':'span','styles':{'line-height':_0x5735bd}}}:'string'==typeof(_0x5f04b3=_0x5735bd)?_0x499249[_0x5f04b3]:_0x499249[_0x5f04b3['model']]);var _0x5f04b3;})['filter'](_0x593778=>void 0x0!==_0x593778);}class LineHeightTodoListIntegration extends _0xa0ed63['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2e6739,conversion:_0x495a5b}=this['editor'];if(!_0x2e6739['has']('ListEditing')||!_0x2e6739['has']('TodoListEditing'))return;_0x2e6739['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4a89e2,_0x5debc0,_0x5e395d,_0x5bc0c6,_0x2146e1){'todo'==_0x2146e1['getAttribute']('listType')&&_0x5debc0&&(_0x4a89e2['addClass']('ck-list-marker-line-height',_0x5e395d),_0x4a89e2['setStyle']('--ck-content-list-marker-line-height',_0x5debc0,_0x5e395d));}}),_0x495a5b['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x495a5b['for']('upcast')['add'](_0x22700b=>{_0x22700b['on']('element:li',function(_0x1e95d7){const _0x45acba=new _0xa0ed63['Matcher'](_0x1e95d7);return(_0x136dc7,_0x2a696c,_0x3612aa)=>{const _0x102d94=_0x45acba['match'](_0x2a696c['viewItem']);if(!_0x102d94)return;const _0x110627=_0x102d94['match'];_0x110627['name']=!0x1,_0x3612aa['consumable']['consume'](_0x2a696c['viewItem'],_0x110627);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x227158){super(_0x227158),_0x227158['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x203678=this['editor'];this['_validateConfig'](),_0x203678['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x203678['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x203678['commands']['add']('lineHeight',new LineHeightCommand(_0x203678)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3dda5b){const _0x41300d=_0x365028([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x162b94=0x45ddd215,_0x4344e7=0x45da5dd5^_0x162b94,_0x91c308=window[_0x365028([0x44,0x61,0x74,0x65])][_0x365028([0x6e,0x6f,0x77])](),_0x3625b1=_0x3dda5b[_0x365028([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x499d0b=new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x139b15=>{_0x3625b1[_0x365028([0x6f,0x6e,0x63,0x65])](_0x365028([0x72,0x65,0x61,0x64,0x79]),_0x139b15);}),_0x20c48b={[_0x365028([0x6b,0x74,0x79])]:_0x365028([0x45,0x43]),[_0x365028([0x75,0x73,0x65])]:_0x365028([0x73,0x69,0x67]),[_0x365028([0x63,0x72,0x76])]:_0x365028([0x50,0x2d,0x32,0x35,0x36]),[_0x365028([0x78])]:_0x365028([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x365028([0x79])]:_0x365028([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x365028([0x61,0x6c,0x67])]:_0x365028([0x45,0x53,0x32,0x35,0x36])},_0x370ec8=_0x3625b1[_0x365028([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x365028([0x67,0x65,0x74])](_0x365028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42c123(){let _0x4c1a01,_0x33a0ec=null,_0x5b17d0=null;try{if(_0x370ec8==_0x365028([0x47,0x50,0x4c]))return _0x365028([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c1a01=_0x4432b0(),!_0x4c1a01)return _0x365028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c1a01[_0x365028([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b17d0=_0x5822b8(_0x4c1a01[_0x365028([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c1a01[_0x365028([0x6a,0x74,0x69])])),await _0x4e37a6()?_0x15b328()?_0x1ba15e()?_0x365028([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc6a586()?(_0x4c1a01[_0x365028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x365028([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33a0ec=_0x15a3a6(_0x365028([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32991b()):_0x365028([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x365028([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x365028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x365028([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ba15e(){const _0x43043c=[_0x365028([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x365028([0x74,0x72,0x69,0x61,0x6c])][_0x365028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c1a01[_0x365028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x91c308/0x3e8:0xe10*_0x4344e7;return _0x4c1a01[_0x365028([0x65,0x78,0x70])]<_0x43043c;}function _0x15b328(){const _0x36b38e=_0x4c1a01[_0x365028([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36b38e&&(!!_0x36b38e[_0x365028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365028([0x2a]))||!!_0x36b38e[_0x365028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365028([0x4c,0x48])));}function _0xc6a586(){const _0x332d37=_0x4c1a01[_0x365028([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x332d37||0x0==_0x332d37[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x585dad}=new URL(window[_0x365028([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x332d37[_0x365028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x585dad))return!0x0;const _0x2ea5f7=_0x585dad[_0x365028([0x73,0x70,0x6c,0x69,0x74])](_0x365028([0x2e]));return _0x332d37[_0x365028([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x439987=>_0x439987[_0x365028([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365028([0x2a])))[_0x365028([0x6d,0x61,0x70])](_0x1f1b3f=>_0x1f1b3f[_0x365028([0x73,0x70,0x6c,0x69,0x74])](_0x365028([0x2e])))[_0x365028([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50e5dd=>_0x50e5dd[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ea5f7[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365028([0x6d,0x61,0x70])](_0x239a03=>Array(_0x2ea5f7[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x239a03[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365028([0x66,0x69,0x6c,0x6c])](_0x239a03[0x0]===_0x365028([0x2a])?_0x365028([0x2a]):'')[_0x365028([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x239a03))[_0x365028([0x73,0x6f,0x6d,0x65])](_0x42f0f9=>_0x2ea5f7[_0x365028([0x65,0x76,0x65,0x72,0x79])]((_0x53405f,_0x455bca)=>_0x42f0f9[_0x455bca]===_0x53405f||_0x42f0f9[_0x455bca]===_0x365028([0x2a])));}function _0x32991b(){return _0x33a0ec&&_0x5b17d0?new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x334a67,_0x3571b0)=>{_0x33a0ec[_0x365028([0x74,0x68,0x65,0x6e])](_0x334a67,_0x3571b0),_0x5b17d0[_0x365028([0x74,0x68,0x65,0x6e])](_0x32154a=>{_0x32154a!=_0x365028([0x56,0x61,0x6c,0x69,0x64])&&_0x334a67(_0x32154a);},_0x3571b0);}):_0x33a0ec||_0x5b17d0||_0x365028([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5822b8(_0x2c6687,_0x2335e2){return new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c0277=>{if(_0xeb502c())return _0x3c0277(_0x365028([0x56,0x61,0x6c,0x69,0x64]));_0x2605bf(),_0x3625b1[_0x365028([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x365028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d3444=!0x1;const _0x109422=_0xa0ed63['uid']();function _0x2bbc20(_0x42eba9){return!!_0x42eba9&&(typeof _0x42eba9===_0x365028([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42eba9===_0x365028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42eba9[_0x365028([0x74,0x68,0x65,0x6e])]===_0x365028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42eba9[_0x365028([0x63,0x61,0x74,0x63,0x68])]===_0x365028([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d6a72(_0x11705c){_0x2ac42b(_0x11705c)[_0x365028([0x74,0x68,0x65,0x6e])](_0x1b31f7=>{if(!_0x1b31f7||_0x1b31f7[_0x365028([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x365028([0x6f,0x6b]))return _0x365028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f4e2a(_0x129277(_0x109422+_0x2335e2))!=_0x1b31f7[_0x365028([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x365028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x365028([0x56,0x61,0x6c,0x69,0x64]);})[_0x365028([0x74,0x68,0x65,0x6e])](_0x3ef53d=>(_0x4445ce(),_0x3ef53d),()=>{const _0x50aae5=_0x3685ec();return null==_0x50aae5?(_0x4445ce(),_0x365028([0x56,0x61,0x6c,0x69,0x64])):_0x365028(_0x91c308-_0x50aae5>(0x61d15615^_0x162b94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x365028([0x74,0x68,0x65,0x6e])](_0x3c0277)[_0x365028([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c0277(_0x365028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29ad23=0x45eb3c95^_0x162b94;function _0x4445ce(){const _0x452b5e=_0x365028([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f4e2a(_0x129277(_0x2c6687)),_0x3115b6=_0x22a980(_0x2f4e2a(window[_0x365028([0x4d,0x61,0x74,0x68])][_0x365028([0x63,0x65,0x69,0x6c])](_0x91c308/_0x29ad23)));window[_0x365028([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365028([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x452b5e,_0x3115b6);}function _0x3685ec(){const _0x143dc8=_0x365028([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f4e2a(_0x129277(_0x2c6687)),_0x8d320=window[_0x365028([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365028([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x143dc8);return _0x8d320?window[_0x365028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22a980(_0x8d320),0x10)*_0x29ad23:null;}function _0x2ac42b(_0x38e508){return new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c5ea6,_0x3a0473)=>{_0x38e508[_0x365028([0x74,0x68,0x65,0x6e])](_0x4c5ea6,_0x3a0473),window[_0x365028([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a0473,0x45dc06d5^_0x162b94);});}}_0x3625b1[_0x365028([0x6f,0x6e])](_0x365028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e0143,_0xbd6e08)=>{if(_0xbd6e08[0x0]!=_0x2c6687)return _0x3c0277(_0x365028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbd6e08[0x1]={..._0xbd6e08[0x1],[_0x365028([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x109422};},{[_0x365028([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365028([0x68,0x69,0x67,0x68])}),_0x3625b1[_0x365028([0x6f,0x6e])](_0x365028([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a6b3e=>{_0x2bbc20(_0x3a6b3e[_0x365028([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d3444=!0x0,_0x2d6a72(_0x3a6b3e[_0x365028([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x365028([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365028([0x6c,0x6f,0x77])}),_0x499d0b[_0x365028([0x74,0x68,0x65,0x6e])](()=>{_0x4d3444||_0x3c0277(_0x365028([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xeb502c(){return _0x3625b1[_0x365028([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365028([0x76,0x69,0x65,0x77])][_0x365028([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x365028([0x61,0x75,0x74,0x6f]);}function _0x2605bf(){_0x3625b1[_0x365028([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365028([0x76,0x69,0x65,0x77])][_0x365028([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x365028([0x61,0x75,0x74,0x6f]);}}function _0x15a3a6(_0xb038fa){const _0x1173ed=[new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10caed=>setTimeout(_0x10caed,0x45d4ecd9^_0x162b94)),_0x499d0b[_0x365028([0x74,0x68,0x65,0x6e])](()=>new window[(_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aac40=>{let _0x109245=0x0;_0x3625b1[_0x365028([0x6d,0x6f,0x64,0x65,0x6c])][_0x365028([0x6f,0x6e])](_0x365028([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x425f7b,_0x48ac70)=>{_0x48ac70[0x0][_0x365028([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x109245++,_0x109245==(0x45ddd7fd^_0x162b94)&&(_0x5aac40(),_0x425f7b[_0x365028([0x6f,0x66,0x66])]());});}))];return window[_0x365028([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x365028([0x72,0x61,0x63,0x65])](_0x1173ed)[_0x365028([0x74,0x68,0x65,0x6e])](()=>_0xb038fa);}async function _0xd7418b(){await _0x499d0b,_0x3625b1[_0x365028([0x6d,0x6f,0x64,0x65,0x6c])][_0x365028([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22f543,_0x3625b1[_0x365028([0x6d,0x6f,0x64,0x65,0x6c])][_0x365028([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22f543,_0x3625b1[_0x365028([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x365028([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb79fbb(_0x4baed7){const _0x39901e=_0x2854d0();_0x3625b1[_0x39901e]=_0x365028([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4baed7,_0x4baed7!=_0x365028([0x56,0x61,0x6c,0x69,0x64])&&_0xd7418b();}function _0x2854d0(){const _0xc455d3=window[_0x365028([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x365028([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x365028([0x6e,0x6f,0x77])]())[_0x365028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x365028([0x2e]),'');let _0xa6aa0a=_0x365028([0x50]);for(let _0x5aee94=0x0;_0x5aee94<_0xc455d3[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aee94+=0x2){let _0x507a80=window[_0x365028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc455d3[_0x365028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aee94,_0x5aee94+0x2));_0x507a80>=_0x41300d[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x507a80-=_0x41300d[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa6aa0a+=_0x41300d[_0x507a80];}return _0xa6aa0a;}function _0x4432b0(){const _0x53b70b=_0x370ec8[_0x365028([0x73,0x70,0x6c,0x69,0x74])](_0x365028([0x2e]));if(0x3!=_0x53b70b[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x912dd3(_0x53b70b[0x1]);function _0x912dd3(_0x581379){const _0x480858=_0x1cb953(_0x581379);return _0x480858&&_0x5e5911()?_0x480858:null;function _0x5e5911(){const _0x11a607=_0x480858[_0x365028([0x6a,0x74,0x69])],_0x124474=window[_0x365028([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11a607[_0x365028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11a607[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e128c={..._0x480858,[_0x365028([0x6a,0x74,0x69])]:_0x11a607[_0x365028([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11a607[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e128c[_0x365028([0x76,0x63])],_0x129277(_0x3e128c)==_0x124474;}}}async function _0x4e37a6(){let _0x48614b=!0x0;try{const _0x14b0ce=_0x370ec8[_0x365028([0x73,0x70,0x6c,0x69,0x74])](_0x365028([0x2e])),[_0x320a39,_0xfdac0,_0x180f84]=_0x14b0ce;return _0x547c37(_0x320a39),await _0x52c07e(_0x320a39,_0xfdac0,_0x180f84),_0x48614b;}catch{return!0x1;}function _0x547c37(_0x2e2b04){const _0x2ef381=_0x1cb953(_0x2e2b04);_0x2ef381&&_0x2ef381[_0x365028([0x61,0x6c,0x67])]==_0x365028([0x45,0x53,0x32,0x35,0x36])||(_0x48614b=!0x1);}async function _0x52c07e(_0x5a4d35,_0x2f5a2a,_0x39aca1){const _0x246707=window[_0x365028([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x365028([0x66,0x72,0x6f,0x6d])](_0x34b141(_0x39aca1),_0x1b843c=>_0x1b843c[_0x365028([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b4c73=new window[(_0x365028([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x365028([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a4d35+_0x365028([0x2e])+_0x2f5a2a),_0x4ba026=window[_0x365028([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x365028([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ba026)return;const _0x41ace8=await _0x4ba026[_0x365028([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x365028([0x6a,0x77,0x6b]),_0x20c48b,{[_0x365028([0x6e,0x61,0x6d,0x65])]:_0x365028([0x45,0x43,0x44,0x53,0x41]),[_0x365028([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x365028([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x365028([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ba026[_0x365028([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x365028([0x6e,0x61,0x6d,0x65])]:_0x365028([0x45,0x43,0x44,0x53,0x41]),[_0x365028([0x68,0x61,0x73,0x68])]:{[_0x365028([0x6e,0x61,0x6d,0x65])]:_0x365028([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41ace8,_0x246707,_0x3b4c73)||(_0x48614b=!0x1);}}function _0x1cb953(_0x18be7e){return _0x18be7e[_0x365028([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x365028([0x65,0x79]))?JSON[_0x365028([0x70,0x61,0x72,0x73,0x65])](_0x34b141(_0x18be7e)):null;}function _0x34b141(_0x407d00){return window[_0x365028([0x61,0x74,0x6f,0x62])](_0x407d00[_0x365028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x365028([0x2b]))[_0x365028([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x365028([0x2f])));}function _0x129277(_0x7d1f37){let _0x5cc185=0x1505;function _0x316ab4(_0x38bc3d){for(let _0x48fbc1=0x0;_0x48fbc1<_0x38bc3d[_0x365028([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48fbc1++){const _0xd7c0dd=_0x38bc3d[_0x365028([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48fbc1);_0x5cc185=(_0x5cc185<<0x5)+_0x5cc185+_0xd7c0dd,_0x5cc185&=_0x5cc185;}}function _0x3e22a8(_0x19df0e){Array[_0x365028([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x19df0e)?_0x19df0e[_0x365028([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e22a8):_0x19df0e&&typeof _0x19df0e==_0x365028([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x365028([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x19df0e)[_0x365028([0x73,0x6f,0x72,0x74])]()[_0x365028([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x79c5de,_0x1579e3])=>{_0x316ab4(_0x79c5de),_0x3e22a8(_0x1579e3);}):_0x316ab4(window[_0x365028([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x19df0e));}return _0x3e22a8(_0x7d1f37),_0x5cc185>>>0x0;}function _0x2f4e2a(_0x269118){return _0x269118[_0x365028([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x365028([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x365028([0x30]));}function _0x22a980(_0x2d82de){return _0x2d82de[_0x365028([0x73,0x70,0x6c,0x69,0x74])]('')[_0x365028([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x365028([0x6a,0x6f,0x69,0x6e])]('');}function _0x22f543(){}function _0x365028(_0x5a4bd9){return _0x5a4bd9['map'](_0x5b429d=>String['fromCharCode'](_0x5b429d))['join']('');}_0xb79fbb(await _0x42c123());}(this);}['_validateConfig'](){const _0x1b9b71=this['editor'];if(!_0x1b9b71['config']['get']('lineHeight.supportAllValues'))return;const _0xedc00b=_0x1b9b71['config']['get']('lineHeight.options')['filter'](_0x53974b=>'string'==typeof _0x53974b&&(!_0x5f1e7e(_0x53974b)&&isNaN(Number(_0x53974b))));if(_0xedc00b['length'])throw new _0xa0ed63['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xedc00b});}['_prepareAnyValueConverters'](){const _0x72619b=this['editor'],_0x76c262=this['editor']['config']['get']('lineHeight.defaultValue');_0x72619b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4b644a=>String(_0x4b644a)===String(_0x76c262)?null:{'key':'style','value':{'line-height':_0x4b644a}}}),_0x72619b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x50ee61=>{let _0x1edab9=_0x50ee61['getStyle']('line-height');return _0xa0ed63['isPercentageStyleValue'](_0x1edab9)&&(_0x1edab9=String(Number(_0x1edab9['slice'](0x0,-0x1))/0x64)),String(_0x1edab9)===String(_0x76c262)?null:_0x1edab9;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x37ef14=this['editor'],_0x349f1a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5f09b6=function(_0x5978bd,_0x522d39){const _0x22eff5={'model':{'key':_0x5978bd,'values':[]},'view':{}};for(const _0x4cd890 of _0x522d39)'class'===_0x4cd890['view']?.['key']?(_0x22eff5['model']['values']['push'](_0x4cd890['model']),_0x22eff5['view'][_0x4cd890['model']]={'key':'class','value':_0x4cd890['view']['value']}):(_0x22eff5['model']['values']['push'](_0x4cd890['model']),_0x22eff5['view'][_0x4cd890['model']]={'key':'style','value':'line-height:'+_0x4cd890['model']+';'});return _0x22eff5;}('lineHeight',_0x1baf2c(this['editor']['config']['get']('lineHeight'))['filter'](_0x563737=>_0x563737['model']));_0x37ef14['conversion']['attributeToAttribute'](_0x5f09b6),_0x37ef14['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x44e0ae=>{let _0x2a7d4d=_0x44e0ae['getStyle']('line-height');return _0xa0ed63['isPercentageStyleValue'](_0x2a7d4d)&&(_0x2a7d4d=String(Number(_0x2a7d4d['slice'](0x0,-0x1))/0x64)),_0x2a7d4d===String(_0x349f1a)?null:_0x5f09b6['model']['values']['includes'](_0x2a7d4d)?_0x2a7d4d:null;}}});}}class LineHeightUI extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1eee8a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1eee8a),this['_registerMenuBarComponent'](_0x1eee8a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3674a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16a496;for(const _0x13be1f in _0x3674a9){const _0x54f2a4=_0x13be1f,_0xa1cba=_0x3674a9[_0x54f2a4];if('lineHeightLicenseKeyValid'==_0xa1cba||'lineHeightLicenseKeyInvalid'==_0xa1cba||'lineHeightLicenseKeyExpired'==_0xa1cba||'lineHeightLicenseKeyDomainLimit'==_0xa1cba||'lineHeightLicenseKeyNotAllowed'==_0xa1cba||'lineHeightLicenseKeyEvaluationLimit'==_0xa1cba||'lineHeightLicenseKeyUsageLimit'==_0xa1cba){delete _0x3674a9[_0x54f2a4],_0x16a496=_0xa1cba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x16a496&&_0x3674a9['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x16a496&&_0x3674a9['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x16a496&&_0x3674a9['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x16a496&&_0x3674a9['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x16a496&&_0x3674a9['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x16a496&&_0x3674a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x378794=this['editor'],t=_0x378794['t'],_0x3f1859=_0x378794['config']['get']('lineHeight'),_0x11dde3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1baf2c(_0x3f1859)['map'](_0x8ead0=>{const _0x31d551=_0x11dde3[_0x8ead0['title']];return _0x31d551&&_0x31d551!=_0x8ead0['title']&&(_0x8ead0=Object['assign']({},_0x8ead0,{'title':_0x31d551})),_0x8ead0;});}['_prepareListOptions'](){const _0x250f8a=this['editor']['commands']['get']('lineHeight'),_0x26027f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3656ff=this['_getLocalizedLineHeightOptions'](),_0x2215dc=new _0xa0ed63['Collection'](),_0x29b69b=_0x706bfc=>'default'===_0x706bfc||String(_0x26027f)===_0x706bfc;for(const _0x556d1b of _0x3656ff){const _0x4e2bb1={'type':'button','model':new _0xa0ed63['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x556d1b['title'],'withText':!0x0})};_0x29b69b(_0x556d1b['model'])?(_0x4e2bb1['model']['bind']('isOn')['to'](_0x250f8a,'value',_0x3c4987=>!_0x3c4987),_0x4e2bb1['model']['commandParam']=void 0x0):(_0x4e2bb1['model']['bind']('isOn')['to'](_0x250f8a,'value',_0x764e9d=>_0x764e9d===_0x556d1b['model']),_0x4e2bb1['model']['commandParam']=_0x556d1b['model']),_0x2215dc['add'](_0x4e2bb1);}if(this['_shouldRenderCustomValueOption']()){const _0x235121=this['_getCustomValueOptionDefinition'](_0x3656ff);_0x2215dc['add'](_0x235121);}return _0x2215dc;}['_getCustomValueOptionDefinition'](_0x52d1a8){const _0x59f71d=this['editor'],t=_0x59f71d['t'],_0x40eac2=_0x59f71d['commands']['get']('lineHeight'),_0x2e085a=_0x52d1a8['map'](_0x286f1d=>_0x286f1d['model']),_0x198419={'type':'button','model':new _0xa0ed63['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x198419['model']['bind']('commandParam')['to'](_0x40eac2,'value'),_0x198419['model']['bind']('isOn')['to'](_0x40eac2,'value',_0x17434f=>!!_0x17434f&&!_0x2e085a['includes'](String(_0x17434f))),_0x198419['model']['bind']('label')['to'](_0x40eac2,'value',_0x5e60f4=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5e60f4))),_0x198419;}['_registerToolbarComponent']({accessibleLabel:_0x121803,options:_0x180f97}){const _0x56a407=this['editor'],_0x5a13d8=_0x56a407['commands']['get']('lineHeight');_0x56a407['ui']['componentFactory']['add']('lineHeight',_0x265861=>{const _0x2f7722=_0xa0ed63['createDropdown'](_0x265861);return _0xa0ed63['addListToDropdown'](_0x2f7722,_0x180f97,{'role':'menu','ariaLabel':_0x121803}),_0x2f7722['buttonView']['set']({'label':_0x121803,'tooltip':!0x0,'icon':_0xa0ed63['IconLineHeight']}),_0x2f7722['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2f7722['bind']('isEnabled')['to'](_0x5a13d8),this['listenTo'](_0x2f7722,'execute',_0x2a9e77=>{_0x56a407['execute'](_0x2a9e77['source']['commandName'],{'value':_0x2a9e77['source']['commandParam']}),_0x56a407['editing']['view']['focus']();}),_0x2f7722['once']('change:isOpen',()=>{const _0x4651b0=_0x2f7722['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2f7722,_0x180f97,_0x4651b0);}),_0x2f7722;});}['_registerMenuBarComponent']({accessibleLabel:_0x2fd7ca,options:_0x389ca0}){const _0x4340d6=this['editor'],_0x2047ed=_0x4340d6['commands']['get']('lineHeight');_0x4340d6['ui']['componentFactory']['add']('menuBar:lineHeight',_0x350c15=>{const _0x4e6269=new _0xa0ed63['MenuBarMenuView'](_0x350c15);_0x4e6269['buttonView']['set']({'label':_0x2fd7ca,'icon':_0xa0ed63['IconLineHeight']}),_0x4e6269['bind']('isEnabled')['to'](_0x2047ed);const _0x3e7cfc=new _0xa0ed63['MenuBarMenuListView'](_0x350c15);for(const _0x4a6260 of _0x389ca0){const _0x4a783a=new _0xa0ed63['MenuBarMenuListItemView'](_0x350c15,_0x4e6269),_0x246c1b=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x350c15);_0x246c1b['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x246c1b['bind'](...Object['keys'](_0x4a6260['model']))['to'](_0x4a6260['model']),_0x246c1b['delegate']('execute')['to'](_0x4e6269),_0x246c1b['on']('execute',()=>{_0x4340d6['execute'](_0x4a6260['model']['commandName'],{'value':_0x4a6260['model']['commandParam']}),_0x4340d6['editing']['view']['focus']();}),_0x4a783a['children']['add'](_0x246c1b),_0x3e7cfc['items']['add'](_0x4a783a);}return _0x4e6269['panelView']['children']['add'](_0x3e7cfc),this['_attachCustomOptionVisibilityHandler'](_0x4e6269,_0x389ca0,_0x3e7cfc),_0x4e6269;});}['_attachCustomOptionVisibilityHandler'](_0x1fb694,_0x249d8c,_0x1e1876){if(!this['_shouldRenderCustomValueOption']())return;const _0x195f80=()=>{if(!_0x1fb694['isOpen'])return;_0x1e1876['items']['last']['isVisible']=Boolean(_0x249d8c['last']['model']['isOn']);};_0x195f80(),_0x1fb694['on']('change:isOpen',()=>{_0x195f80();});}}class LineHeight extends _0xa0ed63['Plugin']{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0xa0ed63['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x4632b5,_0x4c6c10,_0x2d866c){super(_0x4632b5),this['defaultListMarkerStyle']=_0x4c6c10,this['_listDefinitions']=_0x2d866c,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x283b2f={}){const _0x4c8237=this['editor']['model'],_0x4f8f24=_0x283b2f['listMarkerStyle']||this['defaultListMarkerStyle'];_0x4c8237['change'](()=>{const _0x1240e9=this['_getListTypeFromListMarkerStyle'](_0x4f8f24);if(!_0x1240e9)return;const _0x1afb56=_0x1240e9+'List';this['editor']['execute'](_0x1afb56,{'additionalAttributes':{'listMarkerStyle':_0x4f8f24}});});}['_getValue'](){const _0x571baa=_0xa0ed63['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x571baa)?_0x571baa['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3b813b=this['editor'],_0x342d59=_0x3b813b['commands']['get']('customNumberedList'),_0xb9f042=_0x3b813b['commands']['get']('customBulletedList');return _0x342d59['isEnabled']||_0xb9f042['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x5392ba){const _0x5ef256=this['_listDefinitions']['find'](_0x165ef5=>_0x165ef5['listMarkerStyle']==_0x5392ba);return _0x5ef256?_0x5ef256['listType']:null;}}class MultiLevelListEditing extends _0xa0ed63['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x3cdd9d){super(_0x3cdd9d);const _0x10dcb2=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x18a6ec=>_0x18a6ec+'.'}]},..._0x10dcb2];}['init'](){const _0x17a887=this['editor'],_0x243d89=_0x17a887['model'],_0x42120a=_0x17a887['editing']['view'],_0x449068=_0x17a887['plugins']['get']('ListEditing');_0x17a887['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x17a887,'legal',this['_listDefinitions'])),_0x243d89['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x243d89['schema']['addAttributeCheck']((_0x36940d,_0x43f397)=>{const _0x35572b=_0x36940d['last'];if('listMarker'==_0x43f397||'listMarkerStyle'==_0x43f397)return!(!_0x35572b['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x48c780=>_0x48c780['listType']==_0x35572b['getAttribute']('listType')))&&void 0x0;});for(const _0x4e765f of this['_listDefinitions'])_0x17a887['conversion']['for']('upcast')['add'](_0x1d9e80=>{_0x1d9e80['on']('element:'+('customNumbered'==_0x4e765f['listType']?'ol':'ul'),_0x1983bd(_0x4e765f,_0x243d89['schema']),{'priority':'low'});}),_0x449068['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x27ebec,_0x435f71,_0x22ba51){_0x435f71==_0x4e765f['listMarkerStyle']?(_0x27ebec['addClass'](['multi-level-list',_0x4e765f['className']],_0x22ba51),_0x27ebec['setStyle']('list-style-type','none',_0x22ba51)):(_0x27ebec['removeClass'](['multi-level-list',_0x4e765f['className']],_0x22ba51),_0x27ebec['removeStyle']('list-style-type',_0x22ba51));}}),_0x449068['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x5cc622,_0x470c31,{dataPipeline:_0x282479}){if(!_0x470c31['hasAttribute']('listMarker'))return null;if(_0x470c31['getAttribute']('listType')!=_0x4e765f['listType']||_0x470c31['getAttribute']('listMarkerStyle')!=_0x4e765f['listMarkerStyle'])return null;const _0x2e0edd=String(_0x470c31['getAttribute']('listMarker')),_0x3a2459=this['canInjectMarkerIntoElement'](_0x470c31);return _0x5cc622['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x282479&&{'contenteditable':'false','data-multi-level-list-marker':_0x2e0edd}},function(_0x3f08c4){const _0x1d82fa=this['toDomElement'](_0x3f08c4);return _0x3a2459?(_0x1d82fa['appendChild'](_0xa0ed63['createElement'](_0x3f08c4,'span',{},_0x282479?_0x3f08c4['createTextNode'](_0x2e0edd):[])),_0x1d82fa['appendChild'](_0x3f08c4['createTextNode']('\u00a0'))):_0x282479&&_0x1d82fa['appendChild'](_0x3f08c4['createTextNode'](_0x2e0edd)),_0x1d82fa;});},'canInjectMarkerIntoElement':_0x5c58a6=>_0x243d89['schema']['checkChild'](_0x5c58a6,'$text')&&_0x243d89['schema']['checkChild'](_0x5c58a6,'$inlineObject')&&!_0x243d89['schema']['isLimit'](_0x5c58a6)&&_0x5c58a6['getAttribute']('listType')==_0x4e765f['listType']&&_0x5c58a6['getAttribute']('listMarkerStyle')==_0x4e765f['listMarkerStyle']});_0x17a887['conversion']['for']('upcast')['add'](_0x26235f=>{_0x26235f['on']('element:span',function(_0x558855){return(_0x54d3d4,_0x352108,{writer:_0x21f0bd,consumable:_0x170a31})=>{const _0x110ed1=_0x352108['modelCursor'],_0x3a3be8=_0x110ed1['parent'],_0x3b5c9c=_0x352108['viewItem'];if(_0x170a31['consume'](_0x3b5c9c,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x110ed1['isAtStart']&&_0x3a3be8['hasAttribute']('listType')&&_0x3b5c9c['childCount']>0x0){const _0x5c4516=_0x558855['createRangeIn'](_0x3b5c9c);let _0x51c96a='';for(const _0x45f641 of _0x5c4516['getItems']())_0x45f641['is']('$textProxy')?(_0x51c96a+=_0x45f641['data']['trim'](),_0x170a31['consume'](_0x45f641['textNode'])):_0x170a31['consume'](_0x45f641,{'name':!0x0});_0x21f0bd['setAttribute']('listMarker',_0x51c96a['trim'](),_0x3a3be8);}};}(_0x42120a));}),_0x449068['on']('postFixer',(_0x25c475,{listNodes:_0x3050a0,writer:_0x59a838})=>{const _0xccb0ab=[];for(const {node:_0x177729,previousNodeInList:_0x412f39}of _0x3050a0){const _0x99c0be=_0x177729['getAttribute']('listType'),_0x3e2e9b=_0x177729['getAttribute']('listMarkerStyle')||('customNumbered'==_0x99c0be?'legal':void 0x0),_0x20245a=this['_listDefinitions']['find'](_0x3fd817=>_0x3fd817['listType']==_0x99c0be&&_0x3fd817['listMarkerStyle']==_0x3e2e9b);if('customNumbered'!=_0x99c0be&&'customBulleted'!=_0x99c0be&&(_0x177729['hasAttribute']('listMarker')&&(_0x59a838['removeAttribute']('listMarker',_0x177729),_0x25c475['return']=!0x0),_0x177729['hasAttribute']('listMarkerStyle')&&(_0x59a838['removeAttribute']('listMarkerStyle',_0x177729),_0x25c475['return']=!0x0)),!_0x20245a){'customBulleted'!=_0x99c0be||_0x3e2e9b||(_0x59a838['setAttribute']('listType','bulleted',_0x177729),_0x25c475['return']=!0x0);continue;}_0x177729['hasAttribute']('listMarkerStyle')||(_0x59a838['setAttribute']('listMarkerStyle',_0x3e2e9b,_0x177729),_0x25c475['return']=!0x0);const _0x48bf24=_0x177729['getAttribute']('listIndent');if(_0x412f39&&_0x412f39['getAttribute']('listItemId')==_0x177729['getAttribute']('listItemId'))continue;_0xccb0ab['length']=_0x48bf24+0x1,_0x412f39||_0xccb0ab[_0x48bf24]?_0x412f39&&_0x412f39['getAttribute']('listType')!=_0x20245a['listType']?_0xccb0ab[_0x48bf24]=0x1:_0xccb0ab[_0x48bf24]++:_0xccb0ab[_0x48bf24]=_0x177729['getAttribute']('listStart')||0x1;const _0x14f4ee=_0x44b061(_0x48bf24,_0x20245a,_0xccb0ab);_0x177729['getAttribute']('listMarker')!=_0x14f4ee&&(_0x59a838['setAttribute']('listMarker',_0x14f4ee,_0x177729),_0x25c475['return']=!0x0);}});const _0xd4904f=_0x17a887['editing']['view']['document'];this['listenTo'](_0xd4904f,'clipboardOutput',(_0x1ceb8b,_0x10fcff)=>{const _0x172271=new _0xa0ed63['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x216322=new _0xa0ed63['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3f7067=new _0xa0ed63['ViewUpcastWriter'](_0x10fcff['content']['document']),_0x2ca18b=[];for(const _0x1a736f of _0x3f7067['createRangeIn'](_0x10fcff['content'])['getItems']())_0x1a736f['is']('element')&&_0x172271['match'](_0x1a736f)&&_0x2ca18b['push'](_0x1a736f),_0x1a736f['is']('element')&&_0x216322['match'](_0x1a736f)&&_0x3f7067['removeStyle']('list-style-type',_0x1a736f);for(const _0x287d0c of _0x2ca18b)_0x3f7067['remove'](_0x287d0c);});}['afterInit'](){!async function(_0x37b8cb){const _0xf99691=_0x2cb3bb([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x4b800c=0xf46a94a,_0x14c270=0xf41268a^_0x4b800c,_0x471a57=window[_0x2cb3bb([0x44,0x61,0x74,0x65])][_0x2cb3bb([0x6e,0x6f,0x77])](),_0x15bcce=_0x37b8cb[_0x2cb3bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3399c3=new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52d36b=>{_0x15bcce[_0x2cb3bb([0x6f,0x6e,0x63,0x65])](_0x2cb3bb([0x72,0x65,0x61,0x64,0x79]),_0x52d36b);}),_0x122ffa={[_0x2cb3bb([0x6b,0x74,0x79])]:_0x2cb3bb([0x45,0x43]),[_0x2cb3bb([0x75,0x73,0x65])]:_0x2cb3bb([0x73,0x69,0x67]),[_0x2cb3bb([0x63,0x72,0x76])]:_0x2cb3bb([0x50,0x2d,0x32,0x35,0x36]),[_0x2cb3bb([0x78])]:_0x2cb3bb([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2cb3bb([0x79])]:_0x2cb3bb([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2cb3bb([0x61,0x6c,0x67])]:_0x2cb3bb([0x45,0x53,0x32,0x35,0x36])},_0x1dc2cf=_0x15bcce[_0x2cb3bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cb3bb([0x67,0x65,0x74])](_0x2cb3bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36aac3(){let _0x47c6b4,_0x4212b9=null,_0x490e9f=null;try{if(_0x1dc2cf==_0x2cb3bb([0x47,0x50,0x4c]))return _0x2cb3bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47c6b4=_0x13f4f8(),!_0x47c6b4)return _0x2cb3bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47c6b4[_0x2cb3bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x490e9f=_0x2b4226(_0x47c6b4[_0x2cb3bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47c6b4[_0x2cb3bb([0x6a,0x74,0x69])])),await _0x293794()?_0x566573()?_0x16baef()?_0x2cb3bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x113d4d()?(_0x47c6b4[_0x2cb3bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cb3bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4212b9=_0x2711f1(_0x2cb3bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe3a148()):_0x2cb3bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb3bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cb3bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cb3bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x16baef(){const _0x34b30d=[_0x2cb3bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cb3bb([0x74,0x72,0x69,0x61,0x6c])][_0x2cb3bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47c6b4[_0x2cb3bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x471a57/0x3e8:0xe10*_0x14c270;return _0x47c6b4[_0x2cb3bb([0x65,0x78,0x70])]<_0x34b30d;}function _0x566573(){const _0x4122f3=_0x47c6b4[_0x2cb3bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4122f3&&(!!_0x4122f3[_0x2cb3bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb3bb([0x2a]))||!!_0x4122f3[_0x2cb3bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb3bb([0x4d,0x4c,0x4c])));}function _0x113d4d(){const _0x21ff58=_0x47c6b4[_0x2cb3bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21ff58||0x0==_0x21ff58[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x476d17}=new URL(window[_0x2cb3bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21ff58[_0x2cb3bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476d17))return!0x0;const _0x5b4a65=_0x476d17[_0x2cb3bb([0x73,0x70,0x6c,0x69,0x74])](_0x2cb3bb([0x2e]));return _0x21ff58[_0x2cb3bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14e348=>_0x14e348[_0x2cb3bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cb3bb([0x2a])))[_0x2cb3bb([0x6d,0x61,0x70])](_0x35e285=>_0x35e285[_0x2cb3bb([0x73,0x70,0x6c,0x69,0x74])](_0x2cb3bb([0x2e])))[_0x2cb3bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57f784=>_0x57f784[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b4a65[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb3bb([0x6d,0x61,0x70])](_0x1e8ab2=>Array(_0x5b4a65[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e8ab2[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cb3bb([0x66,0x69,0x6c,0x6c])](_0x1e8ab2[0x0]===_0x2cb3bb([0x2a])?_0x2cb3bb([0x2a]):'')[_0x2cb3bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e8ab2))[_0x2cb3bb([0x73,0x6f,0x6d,0x65])](_0x4bfa6b=>_0x5b4a65[_0x2cb3bb([0x65,0x76,0x65,0x72,0x79])]((_0x510d04,_0x4207b7)=>_0x4bfa6b[_0x4207b7]===_0x510d04||_0x4bfa6b[_0x4207b7]===_0x2cb3bb([0x2a])));}function _0xe3a148(){return _0x4212b9&&_0x490e9f?new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb3d8,_0x1e909a)=>{_0x4212b9[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x5bb3d8,_0x1e909a),_0x490e9f[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x2aa20d=>{_0x2aa20d!=_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64])&&_0x5bb3d8(_0x2aa20d);},_0x1e909a);}):_0x4212b9||_0x490e9f||_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b4226(_0x139f29,_0x4393d6){return new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7dcd=>{if(_0x5da8f6())return _0x4b7dcd(_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64]));_0x20b965(),_0x15bcce[_0x2cb3bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cb3bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25ea86=!0x1;const _0x4a218f=_0xa0ed63['uid']();function _0x153762(_0x16b372){return!!_0x16b372&&(typeof _0x16b372===_0x2cb3bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16b372===_0x2cb3bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16b372[_0x2cb3bb([0x74,0x68,0x65,0x6e])]===_0x2cb3bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16b372[_0x2cb3bb([0x63,0x61,0x74,0x63,0x68])]===_0x2cb3bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bf782(_0x2d114f){_0x597ed0(_0x2d114f)[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x37a89c=>{if(!_0x37a89c||_0x37a89c[_0x2cb3bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cb3bb([0x6f,0x6b]))return _0x2cb3bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45add4(_0x28d961(_0x4a218f+_0x4393d6))!=_0x37a89c[_0x2cb3bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cb3bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x218da4=>(_0x37e289(),_0x218da4),()=>{const _0x3561b7=_0x1fcd48();return null==_0x3561b7?(_0x37e289(),_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64])):_0x2cb3bb(_0x471a57-_0x3561b7>(0x2b4a2d4a^_0x4b800c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x4b7dcd)[_0x2cb3bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b7dcd(_0x2cb3bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc388e3=0xf7047ca^_0x4b800c;function _0x37e289(){const _0x14be33=_0x2cb3bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x45add4(_0x28d961(_0x139f29)),_0x20d23a=_0x47f61e(_0x45add4(window[_0x2cb3bb([0x4d,0x61,0x74,0x68])][_0x2cb3bb([0x63,0x65,0x69,0x6c])](_0x471a57/_0xc388e3)));window[_0x2cb3bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb3bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14be33,_0x20d23a);}function _0x1fcd48(){const _0x4bbe90=_0x2cb3bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x45add4(_0x28d961(_0x139f29)),_0x10dc21=window[_0x2cb3bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cb3bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bbe90);return _0x10dc21?window[_0x2cb3bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f61e(_0x10dc21),0x10)*_0xc388e3:null;}function _0x597ed0(_0x424a9d){return new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a106a,_0x1f7f38)=>{_0x424a9d[_0x2cb3bb([0x74,0x68,0x65,0x6e])](_0x3a106a,_0x1f7f38),window[_0x2cb3bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f7f38,0xf477d8a^_0x4b800c);});}}_0x15bcce[_0x2cb3bb([0x6f,0x6e])](_0x2cb3bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d09c3,_0x2667e4)=>{if(_0x2667e4[0x0]!=_0x139f29)return _0x4b7dcd(_0x2cb3bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2667e4[0x1]={..._0x2667e4[0x1],[_0x2cb3bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a218f};},{[_0x2cb3bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb3bb([0x68,0x69,0x67,0x68])}),_0x15bcce[_0x2cb3bb([0x6f,0x6e])](_0x2cb3bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x382403=>{_0x153762(_0x382403[_0x2cb3bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25ea86=!0x0,_0x3bf782(_0x382403[_0x2cb3bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cb3bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cb3bb([0x6c,0x6f,0x77])}),_0x3399c3[_0x2cb3bb([0x74,0x68,0x65,0x6e])](()=>{_0x25ea86||_0x4b7dcd(_0x2cb3bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5da8f6(){return _0x15bcce[_0x2cb3bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb3bb([0x76,0x69,0x65,0x77])][_0x2cb3bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cb3bb([0x61,0x75,0x74,0x6f]);}function _0x20b965(){_0x15bcce[_0x2cb3bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cb3bb([0x76,0x69,0x65,0x77])][_0x2cb3bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cb3bb([0x61,0x75,0x74,0x6f]);}}function _0x2711f1(_0x12a986){const _0x5a698f=[new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4549f4=>setTimeout(_0x4549f4,0xf4f9786^_0x4b800c)),_0x3399c3[_0x2cb3bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x765260=>{let _0x37ed92=0x0;_0x15bcce[_0x2cb3bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb3bb([0x6f,0x6e])](_0x2cb3bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc14a79,_0x5d2a2b)=>{_0x5d2a2b[0x0][_0x2cb3bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37ed92++,_0x37ed92==(0xf46aca2^_0x4b800c)&&(_0x765260(),_0xc14a79[_0x2cb3bb([0x6f,0x66,0x66])]());});}))];return window[_0x2cb3bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cb3bb([0x72,0x61,0x63,0x65])](_0x5a698f)[_0x2cb3bb([0x74,0x68,0x65,0x6e])](()=>_0x12a986);}async function _0x55a05b(){await _0x3399c3,_0x15bcce[_0x2cb3bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb3bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4eddb6,_0x15bcce[_0x2cb3bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cb3bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4eddb6,_0x15bcce[_0x2cb3bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cb3bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4484b1(_0x51e1dd){const _0xfc986e=_0x415c1d();_0x15bcce[_0xfc986e]=_0x2cb3bb([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51e1dd,_0x51e1dd!=_0x2cb3bb([0x56,0x61,0x6c,0x69,0x64])&&_0x55a05b();}function _0x415c1d(){const _0x23042d=window[_0x2cb3bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cb3bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cb3bb([0x6e,0x6f,0x77])]())[_0x2cb3bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cb3bb([0x2e]),'');let _0x5db0ce=_0x2cb3bb([0x75]);for(let _0x4c94a0=0x0;_0x4c94a0<_0x23042d[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c94a0+=0x2){let _0x453f97=window[_0x2cb3bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23042d[_0x2cb3bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c94a0,_0x4c94a0+0x2));_0x453f97>=_0xf99691[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x453f97-=_0xf99691[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5db0ce+=_0xf99691[_0x453f97];}return _0x5db0ce;}function _0x13f4f8(){const _0x2de0c4=_0x1dc2cf[_0x2cb3bb([0x73,0x70,0x6c,0x69,0x74])](_0x2cb3bb([0x2e]));if(0x3!=_0x2de0c4[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1403f3(_0x2de0c4[0x1]);function _0x1403f3(_0x3fd5bd){const _0x2d3012=_0x5ef54a(_0x3fd5bd);return _0x2d3012&&_0x392dee()?_0x2d3012:null;function _0x392dee(){const _0x4a8aac=_0x2d3012[_0x2cb3bb([0x6a,0x74,0x69])],_0x29d850=window[_0x2cb3bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a8aac[_0x2cb3bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a8aac[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x489d48={..._0x2d3012,[_0x2cb3bb([0x6a,0x74,0x69])]:_0x4a8aac[_0x2cb3bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a8aac[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x489d48[_0x2cb3bb([0x76,0x63])],_0x28d961(_0x489d48)==_0x29d850;}}}async function _0x293794(){let _0x38d5bb=!0x0;try{const _0x4941e6=_0x1dc2cf[_0x2cb3bb([0x73,0x70,0x6c,0x69,0x74])](_0x2cb3bb([0x2e])),[_0x4a12ae,_0xac75c3,_0x2db8ef]=_0x4941e6;return _0x1b0e92(_0x4a12ae),await _0x2d050f(_0x4a12ae,_0xac75c3,_0x2db8ef),_0x38d5bb;}catch{return!0x1;}function _0x1b0e92(_0xcfe181){const _0x17ad1=_0x5ef54a(_0xcfe181);_0x17ad1&&_0x17ad1[_0x2cb3bb([0x61,0x6c,0x67])]==_0x2cb3bb([0x45,0x53,0x32,0x35,0x36])||(_0x38d5bb=!0x1);}async function _0x2d050f(_0x41bfc9,_0xd24536,_0x105b01){const _0x157f04=window[_0x2cb3bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cb3bb([0x66,0x72,0x6f,0x6d])](_0x56e84c(_0x105b01),_0x2a7f83=>_0x2a7f83[_0x2cb3bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c10f8=new window[(_0x2cb3bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cb3bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41bfc9+_0x2cb3bb([0x2e])+_0xd24536),_0x31ddfa=window[_0x2cb3bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cb3bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31ddfa)return;const _0x1eddc1=await _0x31ddfa[_0x2cb3bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cb3bb([0x6a,0x77,0x6b]),_0x122ffa,{[_0x2cb3bb([0x6e,0x61,0x6d,0x65])]:_0x2cb3bb([0x45,0x43,0x44,0x53,0x41]),[_0x2cb3bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cb3bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cb3bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31ddfa[_0x2cb3bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cb3bb([0x6e,0x61,0x6d,0x65])]:_0x2cb3bb([0x45,0x43,0x44,0x53,0x41]),[_0x2cb3bb([0x68,0x61,0x73,0x68])]:{[_0x2cb3bb([0x6e,0x61,0x6d,0x65])]:_0x2cb3bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1eddc1,_0x157f04,_0x1c10f8)||(_0x38d5bb=!0x1);}}function _0x5ef54a(_0x2a21f){return _0x2a21f[_0x2cb3bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cb3bb([0x65,0x79]))?JSON[_0x2cb3bb([0x70,0x61,0x72,0x73,0x65])](_0x56e84c(_0x2a21f)):null;}function _0x56e84c(_0x5ba470){return window[_0x2cb3bb([0x61,0x74,0x6f,0x62])](_0x5ba470[_0x2cb3bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cb3bb([0x2b]))[_0x2cb3bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cb3bb([0x2f])));}function _0x28d961(_0x3d04b8){let _0x325bb8=0x1505;function _0x5a0652(_0x16c45f){for(let _0x1f63d3=0x0;_0x1f63d3<_0x16c45f[_0x2cb3bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f63d3++){const _0x5ab917=_0x16c45f[_0x2cb3bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f63d3);_0x325bb8=(_0x325bb8<<0x5)+_0x325bb8+_0x5ab917,_0x325bb8&=_0x325bb8;}}function _0x76cce8(_0x50a013){Array[_0x2cb3bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50a013)?_0x50a013[_0x2cb3bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x76cce8):_0x50a013&&typeof _0x50a013==_0x2cb3bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cb3bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50a013)[_0x2cb3bb([0x73,0x6f,0x72,0x74])]()[_0x2cb3bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22057a,_0x10ebfb])=>{_0x5a0652(_0x22057a),_0x76cce8(_0x10ebfb);}):_0x5a0652(window[_0x2cb3bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50a013));}return _0x76cce8(_0x3d04b8),_0x325bb8>>>0x0;}function _0x45add4(_0x3f1673){return _0x3f1673[_0x2cb3bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cb3bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cb3bb([0x30]));}function _0x47f61e(_0x2aefd8){return _0x2aefd8[_0x2cb3bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cb3bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cb3bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4eddb6(){}function _0x2cb3bb(_0x54fc0e){return _0x54fc0e['map'](_0x575e7b=>String['fromCharCode'](_0x575e7b))['join']('');}_0x4484b1(await _0x36aac3());}(this);}}function _0x44b061(_0x2f9a78,_0x50d97f,_0x5aa396){let _0x5bdc6e=_0x50d97f['listMarkers'][_0x2f9a78%_0x50d97f['listMarkers']['length']];if(void 0x0===_0x5bdc6e['showMarkerPath']||_0x5bdc6e['showMarkerPath'])return _0x5aa396['slice'](0x0,_0x2f9a78+0x1)['map']((_0x227928,_0x2b43cb)=>(_0x5bdc6e=_0x50d97f['listMarkers'][_0x2b43cb%_0x50d97f['listMarkers']['length']],_0x4ac185(_0x5bdc6e['marker'],_0x227928)))['join']('');{const _0x1cc1f5=_0x5aa396[_0x5aa396['length']-0x1];return _0x4ac185(_0x5bdc6e['marker'],_0x1cc1f5);}}function _0x4ac185(_0x5c5aa2,_0x32288e){return'function'==typeof _0x5c5aa2?_0x5c5aa2(_0x32288e):_0x5c5aa2;}function _0x1983bd(_0x56a00e,_0x439fdd){return(_0x3b0bb1,_0x293944,_0x25d0de)=>{const _0x16961f=_0x293944['viewItem'];if(_0x293944['modelRange']||Object['assign'](_0x293944,_0x25d0de['convertChildren'](_0x293944['viewItem'],_0x293944['modelCursor'])),!_0x25d0de['consumable']['test'](_0x16961f,{'classes':_0x56a00e['className']}))return;const _0x2778a7=Array['from'](_0x293944['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x3d4a52=>_0x439fdd['checkAttribute'](_0x3d4a52,'listItemId'));if(!_0x2778a7['length'])return;_0x25d0de['consumable']['consume'](_0x16961f,{'classes':_0x56a00e['className']}),_0x25d0de['consumable']['consume'](_0x16961f,{'classes':'multi-level-list'}),_0x25d0de['consumable']['consume'](_0x16961f,{'styles':'list-style-type'});const _0x151ed0=_0x2778a7[0x0]['getAttribute']('listIndent');for(const _0x14566a of _0x2778a7)_0x14566a['getAttribute']('listIndent')==_0x151ed0&&(_0x25d0de['writer']['setAttribute']('listType',_0x56a00e['listType'],_0x14566a),_0x25d0de['writer']['setAttribute']('listMarkerStyle',_0x56a00e['listMarkerStyle'],_0x14566a));};}function _0x2e7418(_0x199abe,_0x43f1ae){const _0x360f70=_0x199abe['t'],t=_0x199abe['t'];switch(_0x43f1ae){case'Start\x20at':return _0x360f70('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x360f70('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x360f70('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x360f70('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 _0x43f1ae;}}class MultiLevelListView extends _0xa0ed63['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0xa0ed63['FocusTracker']();['keystrokes']=new _0xa0ed63['KeystrokeHandler']();['focusables']=new _0xa0ed63['ViewCollection']();['focusCycler'];constructor(_0x3e9364,{enabledProperties:_0x5cee04,styleButtonViews:_0x3a17d6,styleGridAriaLabel:_0x16e1c9}){super(_0x3e9364);const _0x16222b=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x5cee04['styles']?(this['stylesView']=this['_createStylesView'](_0x3a17d6,_0x16e1c9),this['children']['add'](this['stylesView'])):_0x16222b['push']('ck-multi-level-list-properties_without-styles'),_0x5cee04['startIndex']&&(this['_addListPropertyViews'](_0x5cee04),_0x16222b['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x16222b},'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 _0x2d8a9b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2d8a9b['element']);_0xa0ed63['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0xa0ed63['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 _0x4dac3a=_0x20889a=>_0x20889a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4dac3a),this['keystrokes']['set']('arrowleft',_0x4dac3a),this['keystrokes']['set']('arrowup',_0x4dac3a),this['keystrokes']['set']('arrowdown',_0x4dac3a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x5625f2,_0x2adcc5){const _0x9e62c1=new _0xa0ed63['View'](this['locale']);return _0x9e62c1['children']=_0x9e62c1['createCollection'](),_0x9e62c1['children']['addMany'](_0x5625f2),_0x9e62c1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2adcc5,'class':['ck','ck-multi-level-list-styles']},'children':_0x9e62c1['children']}),_0x9e62c1['children']['delegate']('execute')['to'](this),_0x9e62c1['focus']=function(){this['children']['first']['focus']();},_0x9e62c1['focusTracker']=new _0xa0ed63['FocusTracker'](),_0x9e62c1['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),_0x9e62c1['render'](),_0x9e62c1['keystrokes']['listenTo'](_0x9e62c1['element']),_0x9e62c1;}['_addListPropertyViews'](_0x2f8333){const _0x45ba2e=[];_0x2f8333['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x45ba2e['push'](this['startIndexFieldView'])),_0x2f8333['styles']?(this['additionalPropertiesCollapsibleView']=new _0xa0ed63['CollapsibleView'](this['locale'],_0x45ba2e),this['additionalPropertiesCollapsibleView']['set']({'label':_0x2e7418(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x45ba2e,'isEnabled',(..._0x126062)=>_0x126062['some'](_0x5e9147=>_0x5e9147)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x190dd6,_0x48f59b,_0x32f315)=>{_0x32f315||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x45ba2e);}['_createStartIndexField'](){const _0x363725=new _0xa0ed63['LabeledFieldView'](this['locale'],_0xa0ed63['createLabeledInputNumber']);return _0x363725['set']({'label':_0x2e7418(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x363725['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x363725['fieldView']['on']('input',()=>{const _0x477b39=_0x363725['fieldView']['element'],_0x528ba0=_0x477b39['valueAsNumber'];Number['isNaN'](_0x528ba0)?_0x363725['errorText']=_0x2e7418(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x477b39['checkValidity']()?this['fire']('listStart',{'startIndex':_0x528ba0}):_0x363725['errorText']=_0x2e7418(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x363725;}}class MultiLevelListUI extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f22f2=this['editor'];_0x1f22f2['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x2119ce,parentCommandName:_0x5eb7b5,buttonLabel:_0x28904f,buttonIcon:_0x589ff1,styleGridAriaLabel:_0x1a94f4,styleDefinitions:_0x4691dc}){const _0x13e51c=_0x2119ce['commands']['get'](_0x5eb7b5),_0x3a4cd0=_0x2119ce['config']['get']('list.properties')||{},_0x3272dc=_0x2119ce['plugins']['has']('ListProperties'),_0x5532e6=_0x3a4cd0['startIndex'];if(!_0x3272dc||!_0x5532e6)return _0x6d7286=>{const _0x2df790=new _0xa0ed63['ButtonView'](_0x6d7286);return _0x2df790['set']({'label':_0x28904f,'icon':_0x589ff1,'tooltip':!0x0,'isToggleable':!0x0}),_0x2df790['bind']('isOn')['to'](_0x13e51c,'value',_0x893b26=>!!_0x893b26),_0x2df790['on']('execute',()=>{_0x2119ce['execute'](_0x5eb7b5),_0x2119ce['editing']['view']['focus']();}),_0x2df790;};return _0x58ff31=>{const _0xddafa2=_0xa0ed63['createDropdown'](_0x58ff31,_0xa0ed63['SplitButtonView']),_0x4eefcd=_0xddafa2['buttonView'];return _0xddafa2['bind']('isEnabled')['to'](_0x13e51c),_0xddafa2['class']='ck-list-styles-dropdown',_0x4eefcd['on']('execute',()=>{_0x2119ce['execute'](_0x5eb7b5),_0x2119ce['editing']['view']['focus']();}),_0x4eefcd['set']({'label':_0x28904f,'icon':_0x589ff1,'tooltip':!0x0,'isToggleable':!0x0}),_0x4eefcd['bind']('isOn')['to'](_0x13e51c,'value',_0x4a0404=>!!_0x4a0404),_0xddafa2['once']('change:isOpen',()=>{const _0x317581=function({editor:_0x250e59,dropdownView:_0x3f7642,styleDefinitions:_0x50655d,styleGridAriaLabel:_0x3b2aa8}){const _0x15f57c=_0x250e59['locale'],_0x1d1151=_0x250e59['config']['get']('list.properties'),_0x302644=null;_0x1d1151['reversed']=!0x1,_0x50655d['length']||(_0x1d1151['styles']=!0x1);const _0x2650d1=new MultiLevelListView(_0x15f57c,{'styleGridAriaLabel':_0x3b2aa8,'enabledProperties':_0x1d1151,'styleButtonViews':_0x302644});if(_0x1d1151['startIndex']){const _0x3b0806=_0x250e59['commands']['get']('listStart');_0x2650d1['startIndexFieldView']['bind']('isEnabled')['to'](_0x3b0806),_0x2650d1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3b0806),_0x2650d1['on']('listStart',(_0x2609f6,_0x204e3b)=>_0x250e59['execute']('listStart',_0x204e3b));}return _0x2650d1['delegate']('execute')['to'](_0x3f7642),_0x2650d1;}({'editor':_0x2119ce,'dropdownView':_0xddafa2,'styleGridAriaLabel':_0x1a94f4,'styleDefinitions':_0x4691dc});_0xddafa2['panelView']['children']['add'](_0x317581);}),_0xddafa2['on']('execute',()=>{_0x2119ce['editing']['view']['focus']();}),_0xddafa2;};}({'editor':_0x1f22f2,'parentCommandName':'multiLevelList','buttonLabel':_0x2e7418(_0x1f22f2['locale'],'Multi-level\x20List'),'buttonIcon':_0xa0ed63['IconMultiLevelList'],'styleGridAriaLabel':_0x2e7418(_0x1f22f2['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x1f22f2['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x672f9a=_0x1f22f2['commands']['get']('multiLevelList'),_0x1f7afd=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x1f22f2['locale']);return _0x1f7afd['set']({'label':_0x2e7418(_0x1f22f2['locale'],'Multi-level\x20List'),'icon':_0xa0ed63['IconMultiLevelList']}),_0x1f7afd['bind']('isEnabled')['to'](_0x672f9a),_0x1f7afd['bind']('isOn')['to'](_0x672f9a,'value',_0x202867=>!!_0x202867),_0x1f7afd['on']('execute',()=>{_0x1f22f2['execute']('multiLevelList'),_0x1f22f2['editing']['view']['focus']();}),_0x1f7afd;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x31c017=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe44f;for(const _0x26f5c6 in _0x31c017){const _0x520b6f=_0x26f5c6,_0x5758e6=_0x31c017[_0x520b6f];if('multiLevelListLicenseKeyValid'==_0x5758e6||'multiLevelListLicenseKeyInvalid'==_0x5758e6||'multiLevelListLicenseKeyExpired'==_0x5758e6||'multiLevelListLicenseKeyDomainLimit'==_0x5758e6||'multiLevelListLicenseKeyNotAllowed'==_0x5758e6||'multiLevelListLicenseKeyEvaluationLimit'==_0x5758e6||'multiLevelListLicenseKeyUsageLimit'==_0x5758e6){delete _0x31c017[_0x520b6f],_0xe44f=_0x5758e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0xe44f&&_0x31c017['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0xe44f&&_0x31c017['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0xe44f&&_0x31c017['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0xe44f&&_0x31c017['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0xe44f&&_0x31c017['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0xe44f&&_0x31c017['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0xa0ed63['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0xa0ed63['Command']{['refresh'](){const _0x431416=this['editor']['model'],_0x5866f5=_0x431416['schema']['checkChild'](_0x431416['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x5866f5;}['execute'](_0x3eee93){if(!_0x3eee93||'string'!=typeof _0x3eee93)return;const _0x436025=this['editor']['model'];_0x436025['change'](_0x43b0f5=>{_0x436025['deleteContent'](_0x436025['document']['selection']);const _0x44bec5=_0x43b0f5['createElement']('mergeField',{'id':_0x3eee93});for(const [_0xab7466,_0xbc5bb2]of _0x436025['document']['selection']['getAttributes']())_0x436025['schema']['checkAttribute'](_0x44bec5,_0xab7466)&&_0x43b0f5['setAttribute'](_0xab7466,_0xbc5bb2,_0x44bec5);_0x436025['insertContent'](_0x44bec5,_0x436025['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0xa0ed63['Command']{['refresh'](){const _0x384ab2=this['editor']['model'],_0x40d2db=_0x384ab2['document']['selection'];this['isEnabled']=function(_0x4724e7,_0x577874){const _0x4ec01e=_0xa0ed63['findOptimalInsertionRange'](_0x4724e7,_0x577874);let _0x38e2cf=_0x4ec01e['start']['parent'];return _0x38e2cf['isEmpty']&&!_0x577874['schema']['isLimit'](_0x38e2cf)&&(_0x38e2cf=_0x38e2cf['parent']),_0x577874['schema']['checkChild'](_0x38e2cf,'mergeFieldBlock');}(_0x40d2db,_0x384ab2);}['execute'](_0x48ab6a,_0x5a76a2){if(!_0x48ab6a||'string'!=typeof _0x48ab6a)return;const _0x4a198c=this['editor']['model'];_0x4a198c['change'](_0x29ab39=>{const _0x3d9cfd=_0x29ab39['createElement']('mergeFieldBlock',{'id':_0x48ab6a});_0x4a198c['insertObject'](_0x3d9cfd,_0x4a198c['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x5a76a2?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0xa0ed63['Command']{constructor(_0x3d9593){super(_0x3d9593),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x57f20c,_0x23e036){if(!_0x57f20c||'string'!=typeof _0x57f20c)return;const _0x183320=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x3cb171=_0x183320['getMergeFieldWidth'](_0x57f20c),_0x2cc0c4=_0x183320['getMergeFieldHeight'](_0x57f20c);this['editor']['execute']('insertImage',{'source':{'src':_0x183320['wrapInAffixes'](_0x57f20c),'width':_0x3cb171,'height':_0x2cc0c4},'breakBlock':_0x23e036&&_0x23e036['breakBlock']});}}class _0x3c444f extends _0xa0ed63['Command']{constructor(_0x49b35f){super(_0x49b35f);const _0x1c88bf=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x1c88bf,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x187632){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x187632;}}const _0x30c902=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0xa0ed63['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return['ImageUtils','ImageEditing'];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3f3bd0){super(_0x3f3bd0),_0x3f3bd0['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x3f3bd0['config']['define']('mergeFields.dataSets',[]),_0x3f3bd0['config']['define']('mergeFields.definitions',[]),_0x3f3bd0['config']['define']('mergeFields.prefix','{{'),_0x3f3bd0['config']['define']('mergeFields.suffix','}}'),_0x3f3bd0['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x3f3bd0['config']['define']('mergeFields.sanitizeHtml',_0x3ec34b=>(_0xa0ed63['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x3ec34b,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x3f3bd0['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x3f3bd0['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x3f3bd0['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x43cd20='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x3b92c6='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x43cd20+'[^'+(_0x43cd20+_0x3b92c6)+'\x20]+'+_0x3b92c6+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x2a2736=_0x3f3bd0['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x2a2736),this['set']('previewMode',_0x2a2736),this['_mergeFieldElements']=new Set();}['init'](){const _0x5b8119=this['editor'];_0x5b8119['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x5b8119)),_0x5b8119['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x5b8119)),_0x5b8119['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x5b8119)),_0x5b8119['commands']['add']('previewMergeFields',new _0x3c444f(_0x5b8119)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x4faf02,_0x59f121,_0x141ce2)=>{this['_validatePreviewMode'](_0x141ce2),this['refreshMergeFields']();}),this['listenTo'](_0x5b8119['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x5b8119['editing']['mapper']['on']('viewToModelPosition',_0xa0ed63['viewToModelPositionOutsideModelElement'](_0x5b8119['model'],_0x399b3e=>_0x399b3e['hasClass']('ck-merge-field'))),_0x5b8119['editing']['mapper']['on']('viewToModelPosition',_0xa0ed63['viewToModelPositionOutsideModelElement'](_0x5b8119['model'],_0x3d5132=>_0x3d5132['hasClass']('ck-merge-field-block'))),_0x5b8119['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x50f71a){const _0x176c24=_0x3b53d0([0x63,0x76,0x71,0x43,0x59,0x4d,0x38,0x69,0x61,0x39,0x54,0x44,0x50,0x36,0x6e,0x35,0x64,0x6d,0x72,0x7a,0x62,0x4a,0x74,0x6c,0x6a,0x30,0x33,0x46,0x77,0x4c,0x78,0x49,0x70,0x45,0x57,0x53,0x55,0x47,0x37,0x41,0x52,0x75,0x32,0x31,0x4b,0x66,0x51,0x6f,0x58,0x4e,0x79,0x67,0x34,0x5a,0x42,0x65,0x4f,0x68,0x73,0x6b,0x48,0x56]),_0x12782c=0x6bd72268,_0x52f3d4=0x6bd0ada8^_0x12782c,_0x12d32e=window[_0x3b53d0([0x44,0x61,0x74,0x65])][_0x3b53d0([0x6e,0x6f,0x77])](),_0x4e4527=_0x50f71a[_0x3b53d0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6bbada=new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e5abb=>{_0x4e4527[_0x3b53d0([0x6f,0x6e,0x63,0x65])](_0x3b53d0([0x72,0x65,0x61,0x64,0x79]),_0x4e5abb);}),_0x3bb58e={[_0x3b53d0([0x6b,0x74,0x79])]:_0x3b53d0([0x45,0x43]),[_0x3b53d0([0x75,0x73,0x65])]:_0x3b53d0([0x73,0x69,0x67]),[_0x3b53d0([0x63,0x72,0x76])]:_0x3b53d0([0x50,0x2d,0x32,0x35,0x36]),[_0x3b53d0([0x78])]:_0x3b53d0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3b53d0([0x79])]:_0x3b53d0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3b53d0([0x61,0x6c,0x67])]:_0x3b53d0([0x45,0x53,0x32,0x35,0x36])},_0x81060d=_0x4e4527[_0x3b53d0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b53d0([0x67,0x65,0x74])](_0x3b53d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x570b42(){let _0x46aa4,_0x4c1b9c=null,_0x9e6215=null;try{if(_0x81060d==_0x3b53d0([0x47,0x50,0x4c]))return _0x3b53d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46aa4=_0x42d8ac(),!_0x46aa4)return _0x3b53d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46aa4[_0x3b53d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9e6215=_0x5c4425(_0x46aa4[_0x3b53d0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46aa4[_0x3b53d0([0x6a,0x74,0x69])])),await _0x1ecc6b()?_0x3b2f1e()?_0x30ed04()?_0x3b53d0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8cfc2b()?(_0x46aa4[_0x3b53d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b53d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c1b9c=_0x37d1c2(_0x3b53d0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc07348()):_0x3b53d0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b53d0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b53d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b53d0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30ed04(){const _0x20ceea=[_0x3b53d0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b53d0([0x74,0x72,0x69,0x61,0x6c])][_0x3b53d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46aa4[_0x3b53d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12d32e/0x3e8:0xe10*_0x52f3d4;return _0x46aa4[_0x3b53d0([0x65,0x78,0x70])]<_0x20ceea;}function _0x3b2f1e(){const _0x541c12=_0x46aa4[_0x3b53d0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x541c12&&(!!_0x541c12[_0x3b53d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b53d0([0x2a]))||!!_0x541c12[_0x3b53d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b53d0([0x4d,0x46])));}function _0x8cfc2b(){const _0x20f78d=_0x46aa4[_0x3b53d0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20f78d||0x0==_0x20f78d[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf6cb22}=new URL(window[_0x3b53d0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20f78d[_0x3b53d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf6cb22))return!0x0;const _0xc462fb=_0xf6cb22[_0x3b53d0([0x73,0x70,0x6c,0x69,0x74])](_0x3b53d0([0x2e]));return _0x20f78d[_0x3b53d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49cac1=>_0x49cac1[_0x3b53d0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b53d0([0x2a])))[_0x3b53d0([0x6d,0x61,0x70])](_0x3ad556=>_0x3ad556[_0x3b53d0([0x73,0x70,0x6c,0x69,0x74])](_0x3b53d0([0x2e])))[_0x3b53d0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40d2e2=>_0x40d2e2[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc462fb[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b53d0([0x6d,0x61,0x70])](_0x500ea9=>Array(_0xc462fb[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x500ea9[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b53d0([0x66,0x69,0x6c,0x6c])](_0x500ea9[0x0]===_0x3b53d0([0x2a])?_0x3b53d0([0x2a]):'')[_0x3b53d0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x500ea9))[_0x3b53d0([0x73,0x6f,0x6d,0x65])](_0x1ceb8d=>_0xc462fb[_0x3b53d0([0x65,0x76,0x65,0x72,0x79])]((_0x7ccc1d,_0x3d30ab)=>_0x1ceb8d[_0x3d30ab]===_0x7ccc1d||_0x1ceb8d[_0x3d30ab]===_0x3b53d0([0x2a])));}function _0xc07348(){return _0x4c1b9c&&_0x9e6215?new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc2b6e4,_0x445b4b)=>{_0x4c1b9c[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0xc2b6e4,_0x445b4b),_0x9e6215[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0x56bd16=>{_0x56bd16!=_0x3b53d0([0x56,0x61,0x6c,0x69,0x64])&&_0xc2b6e4(_0x56bd16);},_0x445b4b);}):_0x4c1b9c||_0x9e6215||_0x3b53d0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c4425(_0x1456bc,_0x3a0654){return new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158129=>{if(_0x40fbdf())return _0x158129(_0x3b53d0([0x56,0x61,0x6c,0x69,0x64]));_0x4b03e0(),_0x4e4527[_0x3b53d0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b53d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2db17c=!0x1;const _0x2a2d0d=_0xa0ed63['uid']();function _0x5abf73(_0x4aca7c){return!!_0x4aca7c&&(typeof _0x4aca7c===_0x3b53d0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4aca7c===_0x3b53d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4aca7c[_0x3b53d0([0x74,0x68,0x65,0x6e])]===_0x3b53d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4aca7c[_0x3b53d0([0x63,0x61,0x74,0x63,0x68])]===_0x3b53d0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcd9fa7(_0x490c12){_0x210d58(_0x490c12)[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0x5329c1=>{if(!_0x5329c1||_0x5329c1[_0x3b53d0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b53d0([0x6f,0x6b]))return _0x3b53d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d8d06(_0x35128e(_0x2a2d0d+_0x3a0654))!=_0x5329c1[_0x3b53d0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b53d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b53d0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0x3dcb94=>(_0x39280b(),_0x3dcb94),()=>{const _0x21add5=_0x5381f7();return null==_0x21add5?(_0x39280b(),_0x3b53d0([0x56,0x61,0x6c,0x69,0x64])):_0x3b53d0(_0x12d32e-_0x21add5>(0x4fdba668^_0x12782c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0x158129)[_0x3b53d0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x158129(_0x3b53d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c76e0=0x6be1cce8^_0x12782c;function _0x39280b(){const _0x25a4ab=_0x3b53d0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8d06(_0x35128e(_0x1456bc)),_0x44ca19=_0x648033(_0x3d8d06(window[_0x3b53d0([0x4d,0x61,0x74,0x68])][_0x3b53d0([0x63,0x65,0x69,0x6c])](_0x12d32e/_0x4c76e0)));window[_0x3b53d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b53d0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25a4ab,_0x44ca19);}function _0x5381f7(){const _0x477d5b=_0x3b53d0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8d06(_0x35128e(_0x1456bc)),_0x107751=window[_0x3b53d0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b53d0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x477d5b);return _0x107751?window[_0x3b53d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x648033(_0x107751),0x10)*_0x4c76e0:null;}function _0x210d58(_0x20183a){return new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d8f6,_0x2f37df)=>{_0x20183a[_0x3b53d0([0x74,0x68,0x65,0x6e])](_0x24d8f6,_0x2f37df),window[_0x3b53d0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f37df,0x6bd6f6a8^_0x12782c);});}}_0x4e4527[_0x3b53d0([0x6f,0x6e])](_0x3b53d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44b4f8,_0x353df2)=>{if(_0x353df2[0x0]!=_0x1456bc)return _0x158129(_0x3b53d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x353df2[0x1]={..._0x353df2[0x1],[_0x3b53d0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a2d0d};},{[_0x3b53d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b53d0([0x68,0x69,0x67,0x68])}),_0x4e4527[_0x3b53d0([0x6f,0x6e])](_0x3b53d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b7104=>{_0x5abf73(_0x1b7104[_0x3b53d0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2db17c=!0x0,_0xcd9fa7(_0x1b7104[_0x3b53d0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b53d0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b53d0([0x6c,0x6f,0x77])}),_0x6bbada[_0x3b53d0([0x74,0x68,0x65,0x6e])](()=>{_0x2db17c||_0x158129(_0x3b53d0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40fbdf(){return _0x4e4527[_0x3b53d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b53d0([0x76,0x69,0x65,0x77])][_0x3b53d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b53d0([0x61,0x75,0x74,0x6f]);}function _0x4b03e0(){_0x4e4527[_0x3b53d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b53d0([0x76,0x69,0x65,0x77])][_0x3b53d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b53d0([0x61,0x75,0x74,0x6f]);}}function _0x37d1c2(_0x546f7d){const _0x401c8=[new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x713ce6=>setTimeout(_0x713ce6,0x6bde1ca4^_0x12782c)),_0x6bbada[_0x3b53d0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x550071=>{let _0x80d82e=0x0;_0x4e4527[_0x3b53d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b53d0([0x6f,0x6e])](_0x3b53d0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57de7f,_0xc1f951)=>{_0xc1f951[0x0][_0x3b53d0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x80d82e++,_0x80d82e==(0x6bd72780^_0x12782c)&&(_0x550071(),_0x57de7f[_0x3b53d0([0x6f,0x66,0x66])]());});}))];return window[_0x3b53d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b53d0([0x72,0x61,0x63,0x65])](_0x401c8)[_0x3b53d0([0x74,0x68,0x65,0x6e])](()=>_0x546f7d);}async function _0x374df0(){await _0x6bbada,_0x4e4527[_0x3b53d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b53d0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9c74,_0x4e4527[_0x3b53d0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b53d0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e9c74,_0x4e4527[_0x3b53d0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b53d0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa9da4d(_0x4497ab){const _0x4c9b3f=_0x15af8f();_0x4e4527[_0x4c9b3f]=_0x3b53d0([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4497ab,_0x4497ab!=_0x3b53d0([0x56,0x61,0x6c,0x69,0x64])&&_0x374df0();}function _0x15af8f(){const _0x2aab0f=window[_0x3b53d0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b53d0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b53d0([0x6e,0x6f,0x77])]())[_0x3b53d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b53d0([0x2e]),'');let _0x35dd42=_0x3b53d0([0x63]);for(let _0x275864=0x0;_0x275864<_0x2aab0f[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x275864+=0x2){let _0x481b83=window[_0x3b53d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aab0f[_0x3b53d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x275864,_0x275864+0x2));_0x481b83>=_0x176c24[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x481b83-=_0x176c24[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35dd42+=_0x176c24[_0x481b83];}return _0x35dd42;}function _0x42d8ac(){const _0x5b0113=_0x81060d[_0x3b53d0([0x73,0x70,0x6c,0x69,0x74])](_0x3b53d0([0x2e]));if(0x3!=_0x5b0113[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x304c25(_0x5b0113[0x1]);function _0x304c25(_0x122d96){const _0x1ae0ab=_0x29a4c2(_0x122d96);return _0x1ae0ab&&_0x3fa4d0()?_0x1ae0ab:null;function _0x3fa4d0(){const _0x2c0fe2=_0x1ae0ab[_0x3b53d0([0x6a,0x74,0x69])],_0x180392=window[_0x3b53d0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c0fe2[_0x3b53d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c0fe2[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa9fc16={..._0x1ae0ab,[_0x3b53d0([0x6a,0x74,0x69])]:_0x2c0fe2[_0x3b53d0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c0fe2[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa9fc16[_0x3b53d0([0x76,0x63])],_0x35128e(_0xa9fc16)==_0x180392;}}}async function _0x1ecc6b(){let _0x395245=!0x0;try{const _0x3ea54b=_0x81060d[_0x3b53d0([0x73,0x70,0x6c,0x69,0x74])](_0x3b53d0([0x2e])),[_0x1d545d,_0xd5f706,_0x2f807d]=_0x3ea54b;return _0x26b13c(_0x1d545d),await _0x23bc9c(_0x1d545d,_0xd5f706,_0x2f807d),_0x395245;}catch{return!0x1;}function _0x26b13c(_0x335d5f){const _0x1e2357=_0x29a4c2(_0x335d5f);_0x1e2357&&_0x1e2357[_0x3b53d0([0x61,0x6c,0x67])]==_0x3b53d0([0x45,0x53,0x32,0x35,0x36])||(_0x395245=!0x1);}async function _0x23bc9c(_0x17fff9,_0x4ffd44,_0x45d387){const _0x5130df=window[_0x3b53d0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b53d0([0x66,0x72,0x6f,0x6d])](_0x65076e(_0x45d387),_0x247617=>_0x247617[_0x3b53d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1feea7=new window[(_0x3b53d0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b53d0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17fff9+_0x3b53d0([0x2e])+_0x4ffd44),_0x25de1f=window[_0x3b53d0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b53d0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25de1f)return;const _0x19044e=await _0x25de1f[_0x3b53d0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b53d0([0x6a,0x77,0x6b]),_0x3bb58e,{[_0x3b53d0([0x6e,0x61,0x6d,0x65])]:_0x3b53d0([0x45,0x43,0x44,0x53,0x41]),[_0x3b53d0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b53d0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b53d0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25de1f[_0x3b53d0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b53d0([0x6e,0x61,0x6d,0x65])]:_0x3b53d0([0x45,0x43,0x44,0x53,0x41]),[_0x3b53d0([0x68,0x61,0x73,0x68])]:{[_0x3b53d0([0x6e,0x61,0x6d,0x65])]:_0x3b53d0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19044e,_0x5130df,_0x1feea7)||(_0x395245=!0x1);}}function _0x29a4c2(_0x1a9c2){return _0x1a9c2[_0x3b53d0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b53d0([0x65,0x79]))?JSON[_0x3b53d0([0x70,0x61,0x72,0x73,0x65])](_0x65076e(_0x1a9c2)):null;}function _0x65076e(_0x992874){return window[_0x3b53d0([0x61,0x74,0x6f,0x62])](_0x992874[_0x3b53d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b53d0([0x2b]))[_0x3b53d0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b53d0([0x2f])));}function _0x35128e(_0x4ab7e6){let _0x2a959e=0x1505;function _0x59f2bb(_0x5e8a4b){for(let _0x4c78b2=0x0;_0x4c78b2<_0x5e8a4b[_0x3b53d0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c78b2++){const _0x15cccf=_0x5e8a4b[_0x3b53d0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c78b2);_0x2a959e=(_0x2a959e<<0x5)+_0x2a959e+_0x15cccf,_0x2a959e&=_0x2a959e;}}function _0x29c216(_0x279061){Array[_0x3b53d0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x279061)?_0x279061[_0x3b53d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29c216):_0x279061&&typeof _0x279061==_0x3b53d0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b53d0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x279061)[_0x3b53d0([0x73,0x6f,0x72,0x74])]()[_0x3b53d0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c4b0c,_0x1e7e03])=>{_0x59f2bb(_0x3c4b0c),_0x29c216(_0x1e7e03);}):_0x59f2bb(window[_0x3b53d0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x279061));}return _0x29c216(_0x4ab7e6),_0x2a959e>>>0x0;}function _0x3d8d06(_0x516ad1){return _0x516ad1[_0x3b53d0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b53d0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b53d0([0x30]));}function _0x648033(_0x1a1677){return _0x1a1677[_0x3b53d0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b53d0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b53d0([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e9c74(){}function _0x3b53d0(_0x5d7984){return _0x5d7984['map'](_0x255e6f=>String['fromCharCode'](_0x255e6f))['join']('');}_0xa9da4d(await _0x570b42());}(this);}['isMergeField'](_0x5682d7){return'mergeField'===_0x5682d7['name']||'mergeFieldBlock'===_0x5682d7['name']||!!('imageBlock'===_0x5682d7['name']||'imageInline'===_0x5682d7['name']&&_0x5682d7['getAttribute']('src'))&&!!_0x5682d7['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x247bfb={},_0x4d5f47=this['getMergeFieldsIds']();for(const _0x2a9212 of _0x4d5f47)_0x247bfb[_0x2a9212]=this['getMergeFieldDefaultValue'](_0x2a9212);return _0x247bfb;}['getDataSetValues'](_0x2b8cd4,_0x8a0e44=!0x1){const _0x3690b3={},_0x18cf90=this['getMergeFieldsIds']();for(const _0x587edd of _0x18cf90){let _0x1bec16=this['getMergeFieldValue'](_0x587edd,_0x2b8cd4);null===_0x1bec16&&_0x8a0e44&&(_0x1bec16=this['getMergeFieldDefaultValue'](_0x587edd)),_0x3690b3[_0x587edd]=_0x1bec16;}return _0x3690b3;}['getLabel'](_0x28fae0){const _0x50d4d9=this['getDefinition'](_0x28fae0);return _0x50d4d9&&_0x50d4d9['label']?_0x50d4d9['label']:null;}['getMergeFieldDefaultValue'](_0x4bd1a0){const _0x20de34=this['getDefinition'](_0x4bd1a0);if(!_0x20de34||void 0x0===_0x20de34['defaultValue'])return null;const _0x44a336='function'==typeof _0x20de34['defaultValue']?_0x20de34['defaultValue'](this['editor']):_0x20de34['defaultValue'];return String(_0x44a336);}['getMergeFieldValue'](_0x324e31,_0x140d50){const _0x3057ab=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x2bb23d=>_0x2bb23d['id']===_0x140d50);if(!_0x3057ab)throw new _0xa0ed63['CKEditorError']('merge-fields-data-set-not-found',null);const _0x283c60=_0x3057ab['values'][_0x324e31];if(void 0x0===_0x283c60)return null;const _0x56466d='function'==typeof _0x283c60?_0x283c60(this['editor']):_0x283c60;return String(_0x56466d);}['getMergeFieldType'](_0x49a545){if('string'!=typeof _0x49a545){const _0x52bc82=_0x49a545;return'mergeField'===_0x52bc82['name']?'text':'mergeFieldBlock'===_0x52bc82['name']?'block':'imageBlock'!==_0x52bc82['name']&&'imageInline'!==_0x52bc82['name']||!_0x52bc82['getAttribute']('src')?null:_0x52bc82['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x3aadb4=this['getDefinition'](_0x49a545);return _0x3aadb4&&_0x3aadb4['type']?_0x3aadb4['type']:'text';}['getMergeFieldHeight'](_0x2da881){const _0xfc0c7f=this['getDefinition'](_0x2da881);return _0xfc0c7f&&'block'===_0xfc0c7f['type']?_0xfc0c7f['height']||0x78:_0xfc0c7f&&'image'===_0xfc0c7f['type']?_0xfc0c7f['height']||0x190:null;}['getMergeFieldWidth'](_0xd7b3c1){const _0x1b0612=this['getDefinition'](_0xd7b3c1);return _0x1b0612&&'image'===_0x1b0612['type']?_0x1b0612['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x2160c7=new Set();for(const _0xed60fb of this['_mergeFieldElements'])'$graveyard'!==_0xed60fb['root']['rootName']&&('image'===this['getMergeFieldType'](_0xed60fb)?_0x2160c7['add'](this['unwrapAffixes'](_0xed60fb['getAttribute']('src'))):_0x2160c7['add'](_0xed60fb['getAttribute']('id')));return Array['from'](_0x2160c7);}['getMergeFieldsIds'](){const _0x570af2=this['flattenedMergeFieldDefinitions']['map'](_0x3cd34a=>_0x3cd34a['id']),_0xdaeda5=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x570af2,..._0xdaeda5]));}['getDefinition'](_0x462cef){return this['flattenedMergeFieldDefinitions']['find'](_0x1eb28e=>_0x1eb28e['id']===_0x462cef)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x2cb732=>{'$graveyard'!==_0x2cb732['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x2cb732);});}['wrapInAffixes'](_0x39b99c){return this['_mergeFieldPrefix']+_0x39b99c+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x53f08d){return _0x53f08d['slice'](this['_mergeFieldPrefix']['length'],_0x53f08d['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x133a7d=new Set(),_0x342a26=this['editor'];return _0x342a26['config']['get']('mergeFields.definitions')['reduce']((_0x562fe7,_0x34df2d)=>{if('groupId'in _0x34df2d){if(_0x133a7d['has'](_0x34df2d['groupId']))throw new _0xa0ed63['CKEditorError']('merge-fields-duplicate-group-id',_0x342a26,{'duplicateId':_0x34df2d['groupId']});_0x133a7d['add'](_0x34df2d['groupId']);}return'groupId'in _0x34df2d?function(_0x4cdf41,_0x3b94ef){for(const _0x142f56 of _0x3b94ef['definitions'])_0x4cdf41=_0x4cdf41['concat'](_0x142f56);return _0x4cdf41;}['bind'](_0x342a26)(_0x562fe7,_0x34df2d):_0x562fe7['concat'](_0x34df2d);},new Array());}['_validateConfig'](){const _0x1ae71d=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x1ae71d['test'](this['_mergeFieldPrefix'])||!_0x1ae71d['test'](this['_mergeFieldSuffix']))throw new _0xa0ed63['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 _0xa0ed63['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x366d71=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x5bcce8=>{if(!_0x30c902['test'](_0x5bcce8['id']))throw new _0xa0ed63['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x5bcce8['id']});if(_0x366d71['has'](_0x5bcce8['id']))throw new _0xa0ed63['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x5bcce8['id']});_0x366d71['add'](_0x5bcce8['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0xa0ed63['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x4a8fae=this['editor']['config']['get']('mergeFields.previewModes'),_0x5a9a7c=['$labels','$defaultValues','$dataSets'];if(!_0x4a8fae['length']||!_0x4a8fae['every'](_0x18403e=>_0x5a9a7c['includes'](_0x18403e)))throw new _0xa0ed63['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x4a8fae});const _0x4b9240=new Set(),_0x43c35b=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x26a42d of _0x43c35b){if(_0x4b9240['has'](_0x26a42d['id']))throw new _0xa0ed63['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x26a42d['id']});_0x4b9240['add'](_0x26a42d['id']);}}['_getAvailablePreviewModes'](){const _0x23948e=this['editor']['config']['get']('mergeFields.previewModes'),_0x21cdd7=[];if(_0x23948e['includes']('$labels')&&_0x21cdd7['push']('$labels'),_0x23948e['includes']('$defaultValues')&&_0x21cdd7['push']('$defaultValues'),_0x23948e['includes']('$dataSets')){const _0x34e76b=this['editor']['config']['get']('mergeFields.dataSets');_0x21cdd7['push'](..._0x34e76b['map'](_0x41a805=>_0x41a805['id']));}return _0x21cdd7;}['_defineSchema'](){const _0x2cd47b=this['editor']['model']['schema'];_0x2cd47b['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x2cd47b['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0xd9e8c6=this['editor']['conversion'];_0xd9e8c6['for']('upcast')['add'](_0x573cbc=>{_0x573cbc['on']('text',(_0x1abfd6,_0x58262f,_0x4ac818)=>{const {writer:_0x54bd3b,safeInsert:_0x950856}=_0x4ac818,{viewItem:_0x1a008d}=_0x58262f,_0x50d99c=_0x1a008d['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x4e99a4=>_0x4e99a4);if(0x1===_0x50d99c['length']&&!_0x50d99c[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x58262f['modelRange'])return;const _0x254672=_0x54bd3b['createElement']('$cursor');_0x54bd3b['insert'](_0x254672,_0x58262f['modelCursor']);const _0x492e4a=[];for(const _0x49e983 of _0x58262f['modelRange']['getItems']()){if(!_0x49e983['is']('$textProxy'))continue;const _0x2ec87d=_0x49e983['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x568438=_0x49e983['parent'],_0x1112b2=_0x49e983['textNode']['startOffset'];for(const _0x6ebca of[..._0x2ec87d]['reverse']()){const _0x13dc48=_0x6ebca[0x0],_0x5c6238=_0x54bd3b['createPositionAt'](_0x568438,_0x6ebca['index']+_0x1112b2),_0x1f5fd7=_0x5c6238['getShiftedBy'](_0x13dc48['length']),_0x20732a=_0x54bd3b['createRange'](_0x5c6238,_0x1f5fd7),_0x2500c4=this['unwrapAffixes'](_0x13dc48),_0x294bb3=this['getMergeFieldType'](_0x2500c4),_0x31cab1='block'==_0x294bb3?'mergeFieldBlock':'mergeField',_0x302c78=_0x54bd3b['createElement'](_0x31cab1,{'id':_0x2500c4});_0x54bd3b['remove'](_0x20732a),_0x54bd3b['insert'](_0x302c78,_0x5c6238),'block'==_0x294bb3&&_0x492e4a['push'](_0x302c78);}}_0x492e4a['reverse']();for(const _0x5aa987 of _0x492e4a){const _0xbd1603=_0x54bd3b['createPositionBefore'](_0x5aa987),_0x297975=_0x5aa987['nextSibling']==_0x254672;_0x54bd3b['remove'](_0x5aa987),_0x950856(_0x5aa987,_0xbd1603)&&_0x297975&&_0x54bd3b['move'](_0x54bd3b['createRangeOn'](_0x254672),_0x54bd3b['createPositionAfter'](_0x5aa987));}_0x58262f['modelCursor']=_0x54bd3b['createPositionBefore'](_0x254672),_0x58262f['modelRange']=_0x54bd3b['createRange'](_0x58262f['modelRange']['start'],_0x58262f['modelCursor']),_0x54bd3b['remove'](_0x254672);},{'priority':_0xa0ed63['priorities']['get']('lowest')-0x1});}),_0xd9e8c6['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x2966c0,{writer:_0x523e27})=>_0x523e27['createElement']('mergeField',{'id':_0x2966c0['getAttribute']('data-ck-merge-field')})}),_0xd9e8c6['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x377c2f,{writer:_0x2ca140})=>_0x2ca140['createElement']('mergeFieldBlock',{'id':_0x377c2f['getAttribute']('data-ck-merge-field')})}),_0xd9e8c6['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0xd9e8c6['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x2f9c7b,{writer:_0x1c2724})=>this['_createMergeFieldWidget'](_0x2f9c7b,_0x1c2724,'text')}),_0xd9e8c6['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x2e73ea,{writer:_0xc4c9a9,options:_0x35782d})=>this['_createTextualMergeField'](_0x2e73ea,_0xc4c9a9,_0x35782d)}),_0xd9e8c6['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x14d960,{writer:_0x1fdf67})=>this['_createMergeFieldWidget'](_0x14d960,_0x1fdf67,'block')}),_0xd9e8c6['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x5dc38f,{writer:_0x5106ad,options:_0x32de3d})=>this['_createTextualMergeField'](_0x5dc38f,_0x5106ad,_0x32de3d)}),_0xd9e8c6['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0xd9e8c6['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x2caa0f=>{_0x2caa0f['on']('element:img',(_0x5a07c3,_0x20361a,_0x236b86)=>{_0x236b86['consumable']['test'](_0x20361a['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x236b86['writer']['setAttribute']('src',this['wrapInAffixes'](_0x20361a['viewItem']['getAttribute']('data-ck-merge-field')),_0x20361a['modelCursor']['nodeBefore']),_0x236b86['consumable']['consume'](_0x20361a['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x2e7685){const _0x41da6c=this['editor']['plugins']['get']('ImageUtils'),_0x5d5b41=(_0x53053d,_0x50e246,_0x5b3fca)=>{if(!0x1!==_0x5b3fca['consumable']['test'](_0x50e246['item'],_0x53053d['name']))return;if(!String(_0x50e246['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0xf374c4=_0x5b3fca['writer'],_0x4cd224=_0x5b3fca['mapper']['toViewElement'](_0x50e246['item']),_0x7f3995=_0x41da6c['findViewImgElement'](_0x4cd224),_0x3ccb7e=String(_0x50e246['attributeNewValue']),_0x126e71=this['unwrapAffixes'](_0x3ccb7e),_0x15a817=_0x5b3fca['options']['mergeFieldsData'];if(_0x5b3fca['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x41a4d9;return _0x41a4d9='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x126e71)||this['getLabel'](_0x126e71)||this['wrapInAffixes'](_0x126e71):this['getMergeFieldValue'](_0x126e71,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x126e71)||this['getLabel'](_0x126e71)||this['wrapInAffixes'](_0x126e71),_0xf374c4['setAttribute']('data-ck-merge-field',_0x126e71,_0x7f3995),void _0xf374c4['setAttribute'](_0x50e246['attributeKey'],_0x41a4d9,_0x7f3995);}const _0x2669fb=_0x15a817&&_0x15a817[_0x126e71]?_0x15a817[_0x126e71]:_0x3ccb7e;_0xf374c4['setAttribute'](_0x50e246['attributeKey'],_0x2669fb,_0x7f3995);};return _0x5780f0=>{_0x5780f0['on']('attribute:src:'+_0x2e7685,_0x5d5b41,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x12b332){const _0x13a0e2=this['editor']['plugins']['get']('ImageUtils'),_0x3f268d=(_0x2c45f0,_0x359789,_0x1405d3)=>{if(!0x1!==_0x1405d3['consumable']['test'](_0x359789['item'],_0x2c45f0['name']))return;if(!String(_0x359789['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x1fcc64=_0x1405d3['writer'],_0x465259=_0x1405d3['mapper']['toViewElement'](_0x359789['item']),_0x21b095=_0x13a0e2['findViewImgElement'](_0x465259),_0x5a0677=String(_0x359789['attributeNewValue']),_0x586dee=this['unwrapAffixes'](_0x5a0677),_0x89e8ea=this['getMergeFieldDefaultValue'](_0x586dee),_0x30ff4b='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x527e4a,_0xef4af9='',_0x5096c7='';if('$labels'===this['previewMode'])_0x527e4a=_0x30ff4b;else{if('$defaultValues'===this['previewMode'])_0x89e8ea?(_0x527e4a=_0x89e8ea,_0x5096c7='\x20ck-merge-field-image_with-value'):(_0x527e4a=_0x30ff4b,_0xef4af9='WARNING_MISSING_DEFAULT_VALUE',_0x5096c7='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x32e60a=this['getMergeFieldValue'](_0x586dee,this['previewMode']);_0x32e60a?(_0x527e4a=_0x32e60a,_0x5096c7='\x20ck-merge-field-image_with-value'):_0x89e8ea?(_0x527e4a=_0x89e8ea,_0x5096c7='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0xef4af9='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x527e4a=_0x30ff4b,_0x5096c7='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0xef4af9='WARNING_MISSING_DATA');}}if(_0x1fcc64['addClass']('ck-merge-field-image'+_0x5096c7,_0x465259),_0x1fcc64['setAttribute'](_0x359789['attributeKey'],_0x527e4a,_0x21b095),'$labels'===this['previewMode']){const _0x450e6a='imageInline'===_0x12b332?'span':'div',_0x4b6faa=this['_mergeFieldPrefix'],_0x4fa03d=this['_mergeFieldSuffix'],_0x574637=_0x1fcc64['createContainerElement'](_0x450e6a,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x1fcc64['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x38fe18){const _0x17295f=this['toDomElement'](_0x38fe18);return _0x17295f['innerHTML']=_0x4b6faa,_0x17295f;}),_0x1fcc64['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1fcc64['createText'](this['getLabel'](_0x586dee)||_0x586dee)),_0x1fcc64['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x474267){const _0x451448=this['toDomElement'](_0x474267);return _0x451448['innerHTML']=_0x4fa03d,_0x451448;})]);_0x1fcc64['insert'](_0x1fcc64['createPositionAt'](_0x465259,'end'),_0x574637),_0x1fcc64['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x586dee)||_0x586dee,_0x574637);}else{if(_0xef4af9&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xef4af9)){const _0x43b640='imageInline'===_0x12b332?'span':'div',_0x1576e9=_0x5096c7['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x46d8e6=_0x1fcc64['createContainerElement'](_0x43b640,{'class':'ck-merge-field'+_0x1576e9,'data-cke-tooltip-instant':'true'},[_0x1fcc64['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1fcc64['createText'](this['getLabel'](_0x586dee)||_0x586dee))]),_0x490d15=_0x1fcc64['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x4df8a9){const _0x4a387a=this['toDomElement'](_0x4df8a9),_0x16fd8d=new _0xa0ed63['IconView']();return _0x16fd8d['set']({'content':_0xa0ed63['IconWarning']}),_0x16fd8d['render'](),_0x4a387a['appendChild'](_0x16fd8d['element']),_0x4a387a;});_0x1fcc64['insert'](_0x1fcc64['createPositionAt'](_0x46d8e6,'end'),_0x490d15),_0x1fcc64['insert'](_0x1fcc64['createPositionAt'](_0x465259,'end'),_0x46d8e6),_0x1fcc64['setCustomProperty']('mergeFieldStatus',_0xef4af9,_0x46d8e6),_0x1fcc64['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x586dee)||_0x586dee,_0x46d8e6);}}_0x1fcc64['setAttribute']('data-merge-field-name',_0x586dee,_0x465259),_0xef4af9&&_0x1fcc64['setCustomProperty']('mergeFieldStatus',_0xef4af9,_0x465259);};return _0x1b9c68=>{_0x1b9c68['on']('attribute:src:'+_0x12b332,_0x3f268d,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x11f0d6,_0x4f4c76){if(!_0x4f4c76['target'])return null;const _0x4ac6f3=_0x4f4c76['target']['parentElement'];return _0x4ac6f3&&_0x4ac6f3['classList']['contains']('ck-merge-field-image')?new _0xa0ed63['ResizeObserver'](_0x4ac6f3,_0x3cb077=>{const _0x28f4f7=_0x3cb077['target'],_0x39bdd3=_0x28f4f7['querySelector']('.ck-merge-field'),_0x11fa3a=_0x28f4f7['querySelector']('.ck-merge-field__content');_0x39bdd3&&_0x11fa3a&&(_0x11fa3a['scrollWidth']>_0x11fa3a['getBoundingClientRect']()['width']?_0x39bdd3['removeAttribute']('data-cke-tooltip-disabled'):_0x39bdd3['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x326594,_0x171b7a,_0x4ad865){const {label:_0x2e0752,classes:_0x22f43d,status:_0x10adfc,height:_0x471360}=this['_prepareViewElementData'](_0x326594),_0x477783=this['_mergeFieldPrefix'],_0x139251=this['_mergeFieldSuffix'],_0x775537=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x2f6658='text'===_0x4ad865?'span':'div';let _0x18fbf5;if('$labels'===this['previewMode'])_0x18fbf5=_0x171b7a['createContainerElement'](_0x2f6658,{'class':_0x22f43d},[_0x171b7a['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x334c10){const _0x57bb24=this['toDomElement'](_0x334c10);return _0x57bb24['innerHTML']=_0x477783,_0x57bb24;}),_0x171b7a['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x171b7a['createText'](String(_0x2e0752))),_0x171b7a['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x99a2ea){const _0x3e77dc=this['toDomElement'](_0x99a2ea);return _0x3e77dc['innerHTML']=_0x139251,_0x3e77dc;})]);else{if(_0x10adfc){const _0x3cc364=this['_shouldPreviewHtmlValues']?_0x171b7a['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x148cbd,_0x2960e4){_0x2960e4['setContentOf'](_0x148cbd,_0x775537(_0x2e0752)['html']);}):_0x171b7a['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x171b7a['createText'](_0x2e0752));if(_0x18fbf5=_0x171b7a['createContainerElement'](_0x2f6658,{'class':_0x22f43d},[_0x3cc364]),'text'===_0x4ad865||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x10adfc)){const _0x1d9809=_0x171b7a['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x5af702){const _0x5ad1fd=this['toDomElement'](_0x5af702),_0x5b0de0=new _0xa0ed63['IconView']();return _0x5b0de0['set']({'content':_0xa0ed63['IconWarning']}),_0x5b0de0['render'](),_0x5ad1fd['appendChild'](_0x5b0de0['element']),_0x5ad1fd;});_0x171b7a['insert'](_0x171b7a['createPositionAt'](_0x18fbf5,'end'),_0x1d9809);}_0x171b7a['setCustomProperty']('mergeFieldStatus',_0x10adfc,_0x18fbf5);}else{const _0x5770fe=this['_shouldPreviewHtmlValues']?_0x171b7a['createRawElement'](_0x2f6658,{},function(_0x3bd269,_0x1014ea){_0x1014ea['setContentOf'](_0x3bd269,_0x775537(_0x2e0752)['html']);}):_0x171b7a['createText'](_0x2e0752);_0x18fbf5=_0x171b7a['createContainerElement'](_0x2f6658,{'class':_0x22f43d},_0x5770fe);}}if('block'===_0x4ad865){const _0x23f76e=_0x171b7a['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x18fbf5]);if(('$labels'===this['previewMode']||_0x10adfc&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x10adfc))&&_0x171b7a['setAttribute']('style','height:\x20'+_0x471360+'px',_0x23f76e),_0x18fbf5['hasClass']('ck-merge-field_with-value'))_0x171b7a['addClass']('ck-merge-field-block_with-value',_0x23f76e);else{if(_0x18fbf5['hasClass']('ck-merge-field_with-warning')){for(const _0x1c9897 of _0x18fbf5['getClassNames']())if('ck-merge-field'!==_0x1c9897){const _0x55eea8=_0x1c9897['replace']('ck-merge-field','ck-merge-field-block');_0x171b7a['addClass'](_0x55eea8,_0x23f76e);}_0x171b7a['setCustomProperty']('mergeFieldStatus',_0x10adfc,_0x23f76e);}}return _0x171b7a['setCustomProperty']('mergeFieldBlock',!0x0,_0x23f76e),_0x171b7a['setAttribute']('data-merge-field-name',_0x326594['getAttribute']('id'),_0x23f76e),_0xa0ed63['toWidget'](_0x23f76e,_0x171b7a,{'hasSelectionHandle':!0x0});}return _0x171b7a['setCustomProperty']('mergeField',!0x0,_0x18fbf5),_0x171b7a['setAttribute']('data-merge-field-name',_0x326594['getAttribute']('id'),_0x18fbf5),_0xa0ed63['toWidget'](_0x18fbf5,_0x171b7a);}['_prepareViewElementData'](_0x2924b4){const _0x34f338=_0x2924b4['getAttribute']('id'),_0x4a10dc=this['getDefinition'](_0x34f338);if(!_0x4a10dc)return'$labels'===this['previewMode']?{'label':_0x34f338,'classes':'ck-merge-field'}:{'label':_0x34f338,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x14bdbd=this['getLabel'](_0x34f338)||_0x34f338,_0x56bfc4=this['getMergeFieldDefaultValue'](_0x34f338),_0x269d36=this['getMergeFieldHeight'](_0x34f338);if('$labels'===this['previewMode'])return{'label':_0x14bdbd,'height':_0x269d36,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x56bfc4?{'label':_0x56bfc4,'height':_0x269d36,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x14bdbd,'height':_0x269d36,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x28fc2e=this['getMergeFieldValue'](_0x4a10dc['id'],this['previewMode']);return _0x28fc2e?{'label':_0x28fc2e,'height':_0x269d36,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x56bfc4?{'label':_0x56bfc4,'height':_0x269d36,'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':_0x14bdbd,'height':_0x269d36,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x51ee0f,_0x1d6859,_0x12ac91){const _0x4bab59=_0x51ee0f['getAttribute']('id');let _0x5ca3a0;if(_0x12ac91['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x4bab59,_0x1d6859);const _0x34ec6d=_0x12ac91['mergeFieldsData'],_0x2a0171=_0x34ec6d&&_0x34ec6d[_0x4bab59]?_0x34ec6d[_0x4bab59]:this['wrapInAffixes'](_0x4bab59);if(_0x34ec6d)_0x5ca3a0=_0x1d6859['createRawElement']('span',{},function(_0x527611,_0x559860){_0x559860['setContentOf'](_0x527611,String(_0x2a0171));});else{_0x5ca3a0=_0x1d6859['createContainerElement']('span');const _0x5ec421=_0x1d6859['createText'](_0x2a0171);_0x1d6859['insert'](_0x1d6859['createPositionAt'](_0x5ca3a0,'end'),_0x5ec421);}return _0x1d6859['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5ca3a0),_0x5ca3a0;}['_downcastForClipboard'](_0x596ad0,_0x451859){const _0x528a3f='block'===this['getMergeFieldType'](_0x596ad0)?'div':'span';let _0x5e81a0,_0x4931ca;_0x5e81a0='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x596ad0)||this['getLabel'](_0x596ad0)||this['wrapInAffixes'](_0x596ad0):this['getMergeFieldValue'](_0x596ad0,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x596ad0)||this['getLabel'](_0x596ad0)||this['wrapInAffixes'](_0x596ad0);const _0x3e2435=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x4931ca=this['_shouldPreviewHtmlValues']?_0x451859['createRawElement'](_0x528a3f,{'data-ck-merge-field':_0x596ad0},function(_0x2f721d,_0x3158d6){_0x3158d6['setContentOf'](_0x2f721d,_0x3e2435(_0x5e81a0)['html']);}):_0x451859['createContainerElement'](_0x528a3f,{'data-ck-merge-field':_0x596ad0},_0x451859['createText'](_0x5e81a0)),_0x4931ca;}['_validatePreviewMode'](_0x2b3b0c){if(!this['availablePreviewModes']['includes'](_0x2b3b0c))throw new _0xa0ed63['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x2b3b0c});}['_trackAddedMergeFields'](){for(const _0x53743d of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x53743d['type']||'$text'===_0x53743d['name'])continue;if('mergeField'===_0x53743d['name']||'mergeFieldBlock'===_0x53743d['name']){this['_mergeFieldElements']['add'](_0x53743d['position']['nodeAfter']);continue;}if('imageInline'===_0x53743d['name']||'imageBlock'===_0x53743d['name']&&_0x53743d['attributes']['get']('src')&&String(_0x53743d['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x53743d['position']['nodeAfter']);continue;}const _0x877b57=this['editor']['model']['createRangeIn'](_0x53743d['position']['nodeAfter']);for(const _0x10144c of _0x877b57['getItems']())_0x10144c['is']('element')&&this['isMergeField'](_0x10144c)&&this['_mergeFieldElements']['add'](_0x10144c);}}['_registerConversionPostFixer'](){const _0x589d30=this['editor'];_0x589d30['model']['document']['registerPostFixer'](_0x5b48ff=>{if(!_0x5b48ff['batch']['isLocal'])return!0x1;const _0x54314f=[],_0x5d3cfa=new Set(),_0x250c52=this['_mergeFieldRegExp'];let _0x59b96c=!0x1;for(const _0x2a457e of _0x589d30['model']['document']['differ']['getChanges']())if('insert'===_0x2a457e['type']||'remove'===_0x2a457e['type']){let _0xa1e1a0='$text'==_0x2a457e['name']?_0x2a457e['position']['parent']:_0x2a457e['position']['nodeAfter'];if(!_0xa1e1a0)continue;_0xa1e1a0['is']('$text')&&(_0xa1e1a0=_0xa1e1a0['parent']),_0x127b3b(_0xa1e1a0);}for(const _0x4dc912 of _0x54314f['reverse']()){const {match:_0x1b6cae,item:_0x5176d5}=_0x4dc912,_0x1f44ec=_0x5b48ff['createPositionAt'](_0x5176d5,_0x1b6cae['index']),_0xd61893=_0x1f44ec['getShiftedBy'](_0x1b6cae[0x0]['length']),_0x149f9d=_0x5b48ff['createRange'](_0x1f44ec,_0xd61893),_0x5e3eef=_0x1b6cae[0x0],_0x23aa54=this['unwrapAffixes'](_0x5e3eef),_0x4951ce=_0x155898(_0x149f9d),_0x51fa9c=this['getMergeFieldType'](_0x23aa54);if(_0x30c902['test'](_0x23aa54)){if(_0x4951ce['set']('id',_0x23aa54),'block'===_0x51fa9c){const _0x462c80=_0x5b48ff['createElement']('mergeFieldBlock',{'id':_0x23aa54});_0x5b48ff['remove'](_0x149f9d),_0x589d30['model']['insertObject'](_0x462c80,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x51fa9c){const _0xde0475=_0x5b48ff['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x23aa54)});_0x5b48ff['remove'](_0x149f9d),_0x589d30['model']['insertObject'](_0xde0475,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x48ee42=_0x5b48ff['createElement']('mergeField',_0x4951ce);_0x589d30['model']['schema']['checkChild'](_0x149f9d['start'],'mergeField')?_0x589d30['model']['insertObject'](_0x48ee42,_0x149f9d):_0x5b48ff['remove'](_0x149f9d);}}_0x59b96c=!0x0;}}return _0x59b96c;function _0x127b3b(_0x5d102c){let _0x4c548c='',_0x3bf413=0x0;if(!_0x5d3cfa['has'](_0x5d102c))for(const _0x442d21 of _0x5d102c['getChildren']()){const _0x3349e6=_0x442d21['nextSibling'];if(_0x442d21['is']('$text')&&(''===_0x4c548c&&_0x442d21['startOffset']&&(_0x3bf413=_0x442d21['startOffset']),_0x4c548c+=_0x442d21['data']),!_0x3349e6||_0x3349e6['is']('element')){for(const _0x4569e6 of _0x4c548c['matchAll'](_0x250c52))_0x4569e6['index']=_0x4569e6['index']+_0x3bf413,_0x54314f['push']({'match':_0x4569e6,'item':_0x5d102c});_0x5d3cfa['add'](_0x5d102c),_0x4c548c='';}_0x442d21['is']('element')&&_0x127b3b(_0x442d21);}}function _0x155898(_0x1c2584){const _0x31ecb4=_0x1c2584['getItems'](),_0x4888d7=_0x31ecb4['next']()['value'],_0x254531=new Map(_0x4888d7['getAttributes']());for(const _0x19a27f of _0x31ecb4)for(const [_0xed7f9f,_0x2e112c]of _0x254531)_0x19a27f['getAttribute'](_0xed7f9f)!==_0x2e112c&&_0x254531['delete'](_0xed7f9f);return _0x254531;}});}['_disableCommandOnMergeFields'](_0x5ef8a9){const _0x141136=this['editor'],_0x101a39=_0x141136['commands']['get'](_0x5ef8a9);_0x101a39&&_0x101a39['on']('set:isEnabled',(_0x668189,_0x2bc3e4,_0xecbf39)=>{if(0x1==_0xecbf39){const _0xd15266=_0x141136['model']['document']['selection']['getSelectedElement']();_0xd15266&&this['isMergeField'](_0xd15266)&&(_0x668189['return']=!0x1,_0x668189['stop']());}});}}class MergeFieldsListView extends _0xa0ed63['ListView']{['filter'](_0x58063f){return _0xa0ed63['filterGroupAndItemNames'](_0x58063f,this['items']);}}class _0x1cdbf3 extends _0xa0ed63['View']{constructor(_0x567208){super(_0x567208),this['set']('text','');const _0x49c99f=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':_0x49c99f['to']('text')}]}]});}}function _0x458970(_0x102cc3,_0x115646){const t=_0x102cc3['t'];switch(_0x115646){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 _0x115646;}}class _0x5606ca extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,_0xa0ed63['ContextualBalloon'],_0xa0ed63['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb96da4){super(_0xb96da4),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x5b0cea=this['editor'];_0x5b0cea['ui']['componentFactory']['add']('insertMergeField',_0x33e192=>{const _0x103139=function(_0x505723){const _0x1211ee=_0xa0ed63['createDropdown'](_0x505723);return _0x1211ee['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x1211ee['buttonView']['set']({'label':_0x458970(_0x505723,'Insert\x20merge\x20field'),'icon':_0xa0ed63['IconInsertMergeField'],'tooltip':!0x0}),_0x1211ee;}(_0x33e192);return _0x103139['bind']('isEnabled')['toMany']([_0x5b0cea['commands']['get']('insertMergeField'),_0x5b0cea['commands']['get']('insertMergeFieldBlock'),_0x5b0cea['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x12bb60)=>_0x12bb60['some'](_0x353818=>_0x353818)),_0x103139['once']('change:isOpen',()=>{const _0x1f0de2={'insertInline':_0x5b0cea['commands']['get']('insertMergeField'),'insertBlock':_0x5b0cea['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5b0cea['commands']['get']('insertMergeFieldImage')},_0x4df655=function(_0x5b99d7,_0xff5a41,_0x17d7f4){const _0x3af6fe=new MergeFieldsListView(_0x5b99d7),_0x26d260=[],_0x2c487d=[];for(const _0x1dee55 of _0xff5a41)if('groupId'in _0x1dee55){const _0x5128a8=_0x5ff46e(_0x5b99d7,_0x1dee55['groupLabel']||_0x1dee55['groupId'],_0x1dee55['definitions'],_0x17d7f4);_0x5128a8['delegate']('execute')['to'](_0x3af6fe),_0x2c487d['push'](_0x5128a8);}else _0x26d260['push'](_0x1dee55);if(_0x26d260['length']){const _0x204113=_0x5ff46e(_0x5b99d7,'Other',_0x26d260,_0x17d7f4);_0x204113['delegate']('execute')['to'](_0x3af6fe),_0x2c487d['push'](_0x204113);}return _0x3af6fe['items']['addMany'](_0x2c487d),_0x3af6fe;}(_0x33e192,_0x5b0cea['config']['get']('mergeFields.definitions'),_0x1f0de2);_0x4df655['delegate']('execute')['to'](_0x103139),_0x103139['on']('execute',(_0x1f8d0f,_0x29166c)=>{const _0x4eab0a=_0x5b0cea['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x29166c);'image'===_0x4eab0a?_0x5b0cea['execute']('insertMergeFieldImage',_0x29166c):'block'===_0x4eab0a?_0x5b0cea['execute']('insertMergeFieldBlock',_0x29166c):_0x5b0cea['execute']('insertMergeField',_0x29166c),_0x5b0cea['editing']['view']['focus']();});const _0x117f5e=function(_0x20e388,_0x173281){return new _0xa0ed63['SearchTextView'](_0x20e388,{'filteredView':_0x173281,'queryView':{'label':_0x458970(_0x20e388,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x458970(_0x20e388,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x458970(_0x20e388,'No\x20merge\x20fields\x20available')}}}});}(_0x33e192,_0x4df655);_0x103139['panelView']['children']['add'](_0x117f5e),_0x103139['on']('change:isOpen',(_0x53d3a2,_0x176158,_0xe2cabd)=>{_0xe2cabd&&_0x117f5e['reset']();});}),_0x103139;}),_0x5b0cea['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x610d05=>{const _0x2ec68a=new _0xa0ed63['MenuBarMenuView'](_0x610d05),_0x171bd2={'insertInline':_0x5b0cea['commands']['get']('insertMergeField'),'insertBlock':_0x5b0cea['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5b0cea['commands']['get']('insertMergeFieldImage')};_0x2ec68a['buttonView']['set']({'label':_0x458970(_0x610d05,'Merge\x20field'),'icon':_0xa0ed63['IconInsertMergeField']}),_0x2ec68a['bind']('isEnabled')['toMany']([...Object['values'](_0x171bd2)],'isEnabled',(..._0x3d67da)=>_0x3d67da['some'](_0x47b2c6=>_0x47b2c6));const _0x2eaa31=[],_0x3b3244=new _0xa0ed63['MenuBarMenuListView'](_0x610d05);for(const _0x48f5be of _0x5b0cea['config']['get']('mergeFields.definitions'))if('groupId'in _0x48f5be){const _0x4f70a6=new _0xa0ed63['MenuBarMenuListItemView'](_0x610d05,_0x2ec68a),_0x460a24=_0x1e7710(_0x610d05,_0x48f5be,_0x171bd2);_0x4f70a6['children']['add'](_0x460a24),_0x460a24['delegate']('execute')['to'](_0x2ec68a),_0x3b3244['items']['add'](_0x4f70a6);}else _0x2eaa31['push'](_0x48f5be);if(_0x2eaa31['length']){if(0x0===_0x3b3244['items']['length'])for(const _0x25edf9 of _0x2eaa31){let _0x588ea0;_0x588ea0='block'===_0x25edf9['type']?_0x171bd2['insertBlock']:'image'===_0x25edf9['type']?_0x171bd2['insertImage']:_0x171bd2['insertInline'];const _0x3e82c3=_0x59011f(_0x610d05,_0x25edf9,_0x2ec68a,_0x588ea0);_0x3b3244['items']['add'](_0x3e82c3);}else{const _0x5161ea=new _0xa0ed63['MenuBarMenuListItemView'](_0x610d05,_0x2ec68a),_0x18b3ad=_0x1e7710(_0x610d05,{'groupId':'Other','definitions':_0x2eaa31},_0x171bd2);_0x5161ea['children']['add'](_0x18b3ad),_0x18b3ad['delegate']('execute')['to'](_0x2ec68a),_0x3b3244['items']['add'](_0x5161ea);}}return _0x2ec68a['panelView']['children']['add'](_0x3b3244),_0x2ec68a['on']('execute',(_0x5009b7,_0x535d3f)=>{const _0x447a03=_0x5b0cea['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x535d3f);'image'===_0x447a03?_0x5b0cea['execute']('insertMergeFieldImage',_0x535d3f):'block'===_0x447a03?_0x5b0cea['execute']('insertMergeFieldBlock',_0x535d3f):_0x5b0cea['execute']('insertMergeField',_0x535d3f),_0x5b0cea['editing']['view']['focus']();}),_0x2ec68a;});const _0x39fc1e=_0x5b0cea['config']['get']('mergeFields.previewModes'),_0x5b3b1a=[];if(_0x39fc1e['includes']('$labels')&&_0x5b3b1a['push']({'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x458970(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x39fc1e['includes']('$defaultValues')&&_0x5b3b1a['push']({'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x458970(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x39fc1e['includes']('$dataSets')){const _0xfbf742=_0x5b0cea['config']['get']('mergeFields.dataSets');if(_0xfbf742['length']){for(const _0x1ad819 of _0xfbf742)_0x5b3b1a['push']({'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1ad819['label']||_0x1ad819['id'],'commandValue':_0x1ad819['id']})});}}_0x5b0cea['ui']['componentFactory']['add']('previewMergeFields',_0x150097=>{const _0x5e8d5b=_0x5b0cea['commands']['get']('previewMergeFields'),_0x1575f7=new _0xa0ed63['Collection']();for(const _0x518eab of _0xdd0984(_0x5b3b1a))_0x518eab['model']['bind']('isOn')['to'](_0x5e8d5b,'value',_0x838385=>_0x838385===_0x518eab['model']['commandValue']),_0x1575f7['add'](_0x518eab);const _0xc54a63=_0xa0ed63['createDropdown'](_0x150097),_0x3482bd=_0x458970(_0x150097,'Merge\x20fields\x20preview');return _0xc54a63['bind']('isEnabled')['to'](_0x5e8d5b),_0xa0ed63['addListToDropdown'](_0xc54a63,_0x1575f7,{'ariaLabel':_0x3482bd,'role':'menu'}),_0xc54a63['set']({'class':'ck-merge-fields-preview-dropdown'}),_0xc54a63['buttonView']['set']({'label':_0x3482bd,'ariaLabel':_0x3482bd,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0xa0ed63['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0xc54a63,'execute',_0x1c8593=>{const {commandValue:_0x3ca846}=_0x1c8593['source'];_0x5b0cea['execute']('previewMergeFields',_0x3ca846),_0x5b0cea['editing']['view']['focus']();}),_0xc54a63;}),_0x5b0cea['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x15daeb=>{const _0x296438=new _0xa0ed63['MenuBarMenuView'](_0x15daeb),_0x790ed=_0x5b0cea['commands']['get']('previewMergeFields');_0x296438['buttonView']['set']({'label':_0x458970(_0x15daeb,'Merge\x20fields\x20preview'),'icon':_0xa0ed63['IconPreviewMergeFields']}),_0x296438['bind']('isEnabled')['to'](_0x790ed);const _0x8394e5=new _0xa0ed63['MenuBarMenuListView'](_0x15daeb);_0x8394e5['set']({'ariaLabel':_0x458970(_0x15daeb,'Merge\x20fields\x20preview')});for(const _0x4eaf66 of _0xdd0984(_0x5b3b1a)){const _0x52e38d=new _0xa0ed63['MenuBarMenuListItemView'](_0x15daeb,_0x296438),_0x210a85=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x15daeb);_0x4eaf66['model']['bind']('isOn')['to'](_0x790ed,'value',_0x107dc6=>_0x107dc6===_0x4eaf66['model']['commandValue']),_0x210a85['isToggleable']=!0x0,_0x210a85['bind'](...Object['keys'](_0x4eaf66['model']))['to'](_0x4eaf66['model']),_0x210a85['delegate']('execute')['to'](_0x296438),_0x210a85['on']('execute',_0x39d420=>{const {commandValue:_0x63d2b4}=_0x39d420['source'];_0x5b0cea['execute']('previewMergeFields',_0x63d2b4),_0x5b0cea['editing']['view']['focus']();}),_0x52e38d['children']['add'](_0x210a85),_0x8394e5['items']['add'](_0x52e38d);}return _0x296438['panelView']['children']['add'](_0x8394e5),_0x296438;}),this['_balloon']=_0x5b0cea['plugins']['get'](_0xa0ed63['ContextualBalloon']),this['listenTo'](_0x5b0cea['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x5b0cea['ui']['focusTracker'],'change:isFocused',(_0x420ad2,_0x10e1ff,_0x2e3dbf)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x2e3dbf?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb8c7d4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e2855;for(const _0x12c130 in _0xb8c7d4){const _0x3b1802=_0x12c130,_0x26f03f=_0xb8c7d4[_0x3b1802];if('mergeFieldsLicenseKeyValid'==_0x26f03f||'mergeFieldsLicenseKeyInvalid'==_0x26f03f||'mergeFieldsLicenseKeyExpired'==_0x26f03f||'mergeFieldsLicenseKeyDomainLimit'==_0x26f03f||'mergeFieldsLicenseKeyNotAllowed'==_0x26f03f||'mergeFieldsLicenseKeyEvaluationLimit'==_0x26f03f||'mergeFieldsLicenseKeyUsageLimit'==_0x26f03f){delete _0xb8c7d4[_0x3b1802],_0x1e2855=_0x26f03f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x1e2855&&_0xb8c7d4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x48507b=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0xba0980=!(!_0x48507b||!_0x48507b['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0xba0980){const _0x40272f=_0x48507b['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x458970(this['editor']['locale'],_0x40272f),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0xba0980){const _0x65122c=_0x48507b['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x458970(this['editor']['locale'],_0x65122c));}}}['_showBalloon'](_0x1e7cd4){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x1cdbf3(this['editor']['locale']),this['_balloonPanelView']['text']=_0x1e7cd4),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x347b7c=this['editor']['editing']['view'];return{'target':()=>{const _0x44e11e=_0x347b7c['document']['selection']['getFirstRange'](),_0x2f0a4a=_0x347b7c['domConverter']['mapViewToDom'](_0x44e11e['getContainedElement']());return _0x2f0a4a?Array['from'](_0x2f0a4a['getClientRects']())[0x0]:_0x347b7c['domConverter']['viewRangeToDom'](_0x44e11e);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x127a86=>_0x127a86))return;const _0x4cc3f9=this['editor']['config']['get']('mergeFields.previewModes');_0x4cc3f9['indexOf']('$defaultValues')>-0x1&&_0x4cc3f9['length']>0x1&&(_0x4cc3f9['splice'](_0x4cc3f9['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x4cc3f9));}['_removeMenuBarButtonIfUnnecessary'](){const _0x5e6c78=this['editor']['config'];if(_0x5e6c78['get']('mergeFields.previewModes')){const _0x1ed620=_0x5e6c78['get']('mergeFields.previewModes');if(0x1===_0x1ed620['length']){if(_0x1ed620['includes']('$dataSets'))0x1===_0x5e6c78['get']('mergeFields.dataSets')['length']&&_0xc4a2f6();else _0xc4a2f6();}}function _0xc4a2f6(){const _0x429bf5=_0x5e6c78['get']('menuBar.removeItems');_0x429bf5?(_0x429bf5['push']('menuBar:previewMergeFields'),_0x5e6c78['set']('menuBar.removeItems',_0x429bf5)):_0x5e6c78['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x32ac07=this['editor'],_0x211836=_0x32ac07['config']['get']('mention.feeds'),_0x21cd50=_0x32ac07['config']['get']('mergeFields.prefix');_0x211836['push']({'marker':_0x21cd50,'dropdownLimit':0xa,'feed':_0x5f2818=>_0x32ac07['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x2b3b9e=>{const _0x20e26e=_0x32ac07['commands']['get']('insertMergeField')['isEnabled'],_0x5abae6=_0x32ac07['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x250e0d=_0x32ac07['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x593a11=_0x32ac07['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x2b3b9e['id']);if('text'===_0x593a11&&!_0x20e26e)return!0x1;if('block'===_0x593a11&&!_0x5abae6)return!0x1;if('image'===_0x593a11&&!_0x250e0d)return!0x1;return(_0x32ac07['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x2b3b9e['id'])||_0x2b3b9e['id'])['toLowerCase']()['includes'](_0x5f2818['toLowerCase']());}),'itemRenderer':_0x42c035=>{const _0x459508=document['createElement']('button');return _0x459508['innerHTML']=''+(_0x42c035['label']||_0x42c035['id']),_0x459508;}}),_0x32ac07['config']['set']('mention.feeds',_0x211836);}['_overrideMentionExecuteListener'](){const _0x1efb0b=this['editor'];_0x1efb0b['commands']['get']('mention')['on']('execute',(_0x3fd7ae,_0x40fb5a)=>{const _0x18bb28=_0x40fb5a[0x0];_0x18bb28['marker']===_0x1efb0b['config']['get']('mergeFields.prefix')&&_0x1efb0b['model']['change'](_0x285e1b=>{_0x285e1b['remove'](_0x18bb28['range']);const _0x52ce50=_0x18bb28['mention']['id'],_0x4b75d3=_0x1efb0b['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x52ce50);'text'===_0x4b75d3?_0x1efb0b['execute']('insertMergeField',_0x52ce50):'block'===_0x4b75d3?_0x1efb0b['execute']('insertMergeFieldBlock',_0x52ce50,!0x1):_0x1efb0b['execute']('insertMergeFieldImage',_0x52ce50,{'breakBlock':!0x0}),_0x3fd7ae['stop']();});},{'priority':'high'});}}function _0x5ff46e(_0x310d4b,_0x136876,_0x3d91a2,_0x582bb0){const _0x36eb57=new _0xa0ed63['ListItemGroupView'](_0x310d4b,new _0xa0ed63['LabelWithHighlightView']());_0x36eb57['label']=_0x136876;for(const _0x496dcf of _0x3d91a2){let _0x3b5a1d;_0x3b5a1d='block'===_0x496dcf['type']?_0x582bb0['insertBlock']:'image'===_0x496dcf['type']?_0x582bb0['insertImage']:_0x582bb0['insertInline'];const _0x3ed514=_0x44a37f(_0x310d4b,_0x496dcf,_0x3b5a1d);_0x3ed514['delegate']('execute')['to'](_0x36eb57),_0x36eb57['items']['add'](_0x3ed514);}return _0x36eb57;}function _0x44a37f(_0x1ef9fa,_0x2a1991,_0x4be8ef){const _0x44325e=new _0xa0ed63['ListItemView'](_0x1ef9fa),_0xd0f042=new _0xa0ed63['ButtonLabelWithHighlightView'](),_0x1d30a6=new _0xa0ed63['ButtonView'](_0x1ef9fa,_0xd0f042);return _0x44325e['children']['add'](_0x1d30a6),_0x1d30a6['set']({'label':_0x2a1991['label']||_0x2a1991['id'],'withText':!0x0}),_0x1d30a6['bind']('isEnabled')['to'](_0x4be8ef),_0x1d30a6['on']('execute',()=>{_0x44325e['fire']('execute',_0x2a1991['id']);}),_0x44325e;}function _0x1e7710(_0x3444e9,_0x39787a,_0x5271b2){const _0x2083bf=new _0xa0ed63['MenuBarMenuView'](_0x3444e9),_0x5763d8=new _0xa0ed63['MenuBarMenuListView'](_0x3444e9);for(const _0x4d5973 of _0x39787a['definitions']){let _0x3f5e5a;_0x3f5e5a='block'===_0x4d5973['type']?_0x5271b2['insertBlock']:'image'===_0x4d5973['type']?_0x5271b2['insertImage']:_0x5271b2['insertInline'];const _0x427cde=_0x59011f(_0x3444e9,_0x4d5973,_0x2083bf,_0x3f5e5a);_0x5763d8['items']['add'](_0x427cde);}return _0x2083bf['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x2083bf['buttonView']['set']({'label':_0x39787a['groupLabel']||_0x39787a['groupId']}),_0x2083bf['panelView']['children']['add'](_0x5763d8),_0x2083bf;}function _0x59011f(_0x3c7e81,_0x4b376f,_0x32da82,_0x39085a){const _0x1e4cc2=new _0xa0ed63['MenuBarMenuListItemView'](_0x3c7e81,_0x32da82),_0x2a038f=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x3c7e81);return _0x2a038f['set']({'label':_0x4b376f['label']||_0x4b376f['id']}),_0x1e4cc2['delegate']('execute')['to'](_0x32da82),_0x1e4cc2['children']['add'](_0x2a038f),_0x2a038f['bind']('isEnabled')['to'](_0x39085a),_0x2a038f['on']('execute',()=>{_0x1e4cc2['fire']('execute',_0x4b376f['id']);}),_0x1e4cc2;}class _0x2a9ff9 extends _0xa0ed63['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x5606ca];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0xa0ed63['Plugin']{['_recalculatePageBreaksDebounced']=rt(()=>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 _0xa0ed63['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x28c8e9=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x28c8e9),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x598bd3,_0x2f131e,_0x3b840c)=>{_0x3b840c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x591266){const _0xc60a35=_0x24834d([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x3c27fc=0xc82cb1e,_0xbed87a=0xc8544de^_0x3c27fc,_0x178158=window[_0x24834d([0x44,0x61,0x74,0x65])][_0x24834d([0x6e,0x6f,0x77])](),_0x5dfa65=_0x591266[_0x24834d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16b591=new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c139=>{_0x5dfa65[_0x24834d([0x6f,0x6e,0x63,0x65])](_0x24834d([0x72,0x65,0x61,0x64,0x79]),_0x31c139);}),_0x4dbafa={[_0x24834d([0x6b,0x74,0x79])]:_0x24834d([0x45,0x43]),[_0x24834d([0x75,0x73,0x65])]:_0x24834d([0x73,0x69,0x67]),[_0x24834d([0x63,0x72,0x76])]:_0x24834d([0x50,0x2d,0x32,0x35,0x36]),[_0x24834d([0x78])]:_0x24834d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x24834d([0x79])]:_0x24834d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x24834d([0x61,0x6c,0x67])]:_0x24834d([0x45,0x53,0x32,0x35,0x36])},_0x57ce45=_0x5dfa65[_0x24834d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24834d([0x67,0x65,0x74])](_0x24834d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d9c7e(){let _0x4b5fc0,_0x204d22=null,_0x20afb6=null;try{if(_0x57ce45==_0x24834d([0x47,0x50,0x4c]))return _0x24834d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b5fc0=_0x15ccb6(),!_0x4b5fc0)return _0x24834d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b5fc0[_0x24834d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20afb6=_0x104c6e(_0x4b5fc0[_0x24834d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b5fc0[_0x24834d([0x6a,0x74,0x69])])),await _0x1d8351()?_0x2659ac()?_0x46de3f()?_0x24834d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xefd0df()?(_0x4b5fc0[_0x24834d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24834d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x204d22=_0x4b2cfc(_0x24834d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22342e()):_0x24834d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24834d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24834d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24834d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46de3f(){const _0x3e50b9=[_0x24834d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24834d([0x74,0x72,0x69,0x61,0x6c])][_0x24834d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5fc0[_0x24834d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x178158/0x3e8:0xe10*_0xbed87a;return _0x4b5fc0[_0x24834d([0x65,0x78,0x70])]<_0x3e50b9;}function _0x2659ac(){const _0xaa4eb2=_0x4b5fc0[_0x24834d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xaa4eb2&&(!!_0xaa4eb2[_0x24834d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24834d([0x2a]))||!!_0xaa4eb2[_0x24834d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24834d([0x50,0x41,0x47])));}function _0xefd0df(){const _0x3471fa=_0x4b5fc0[_0x24834d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3471fa||0x0==_0x3471fa[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cfb4f}=new URL(window[_0x24834d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3471fa[_0x24834d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfb4f))return!0x0;const _0x30928b=_0x1cfb4f[_0x24834d([0x73,0x70,0x6c,0x69,0x74])](_0x24834d([0x2e]));return _0x3471fa[_0x24834d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x69a14d=>_0x69a14d[_0x24834d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24834d([0x2a])))[_0x24834d([0x6d,0x61,0x70])](_0x29c930=>_0x29c930[_0x24834d([0x73,0x70,0x6c,0x69,0x74])](_0x24834d([0x2e])))[_0x24834d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41df3f=>_0x41df3f[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30928b[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24834d([0x6d,0x61,0x70])](_0x3e8de4=>Array(_0x30928b[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e8de4[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24834d([0x66,0x69,0x6c,0x6c])](_0x3e8de4[0x0]===_0x24834d([0x2a])?_0x24834d([0x2a]):'')[_0x24834d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e8de4))[_0x24834d([0x73,0x6f,0x6d,0x65])](_0x176ed5=>_0x30928b[_0x24834d([0x65,0x76,0x65,0x72,0x79])]((_0x5899fc,_0x2cd29d)=>_0x176ed5[_0x2cd29d]===_0x5899fc||_0x176ed5[_0x2cd29d]===_0x24834d([0x2a])));}function _0x22342e(){return _0x204d22&&_0x20afb6?new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ca3f4,_0x48fcc6)=>{_0x204d22[_0x24834d([0x74,0x68,0x65,0x6e])](_0x4ca3f4,_0x48fcc6),_0x20afb6[_0x24834d([0x74,0x68,0x65,0x6e])](_0x3e104d=>{_0x3e104d!=_0x24834d([0x56,0x61,0x6c,0x69,0x64])&&_0x4ca3f4(_0x3e104d);},_0x48fcc6);}):_0x204d22||_0x20afb6||_0x24834d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x104c6e(_0x37f1cf,_0x5b7125){return new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b639e=>{if(_0x1f6e51())return _0x4b639e(_0x24834d([0x56,0x61,0x6c,0x69,0x64]));_0x55759f(),_0x5dfa65[_0x24834d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24834d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6bfd33=!0x1;const _0x2bdfa5=_0xa0ed63['uid']();function _0x3f719c(_0x12444f){return!!_0x12444f&&(typeof _0x12444f===_0x24834d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12444f===_0x24834d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12444f[_0x24834d([0x74,0x68,0x65,0x6e])]===_0x24834d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12444f[_0x24834d([0x63,0x61,0x74,0x63,0x68])]===_0x24834d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x222881(_0x494331){_0x290128(_0x494331)[_0x24834d([0x74,0x68,0x65,0x6e])](_0xea5080=>{if(!_0xea5080||_0xea5080[_0x24834d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24834d([0x6f,0x6b]))return _0x24834d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29532f(_0x4a739b(_0x2bdfa5+_0x5b7125))!=_0xea5080[_0x24834d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24834d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24834d([0x56,0x61,0x6c,0x69,0x64]);})[_0x24834d([0x74,0x68,0x65,0x6e])](_0x3ba36a=>(_0x8eb6ac(),_0x3ba36a),()=>{const _0x4e4d0d=_0x5486e6();return null==_0x4e4d0d?(_0x8eb6ac(),_0x24834d([0x56,0x61,0x6c,0x69,0x64])):_0x24834d(_0x178158-_0x4e4d0d>(0x288e4f1e^_0x3c27fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24834d([0x74,0x68,0x65,0x6e])](_0x4b639e)[_0x24834d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b639e(_0x24834d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x406ac8=0xcb4259e^_0x3c27fc;function _0x8eb6ac(){const _0x5b5c84=_0x24834d([0x6c,0x6c,0x63,0x74,0x2d])+_0x29532f(_0x4a739b(_0x37f1cf)),_0x475298=_0x3854e4(_0x29532f(window[_0x24834d([0x4d,0x61,0x74,0x68])][_0x24834d([0x63,0x65,0x69,0x6c])](_0x178158/_0x406ac8)));window[_0x24834d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24834d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b5c84,_0x475298);}function _0x5486e6(){const _0x563255=_0x24834d([0x6c,0x6c,0x63,0x74,0x2d])+_0x29532f(_0x4a739b(_0x37f1cf)),_0x5bd7c3=window[_0x24834d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24834d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x563255);return _0x5bd7c3?window[_0x24834d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3854e4(_0x5bd7c3),0x10)*_0x406ac8:null;}function _0x290128(_0x3d7375){return new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x412959,_0x36d496)=>{_0x3d7375[_0x24834d([0x74,0x68,0x65,0x6e])](_0x412959,_0x36d496),window[_0x24834d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36d496,0xc831fde^_0x3c27fc);});}}_0x5dfa65[_0x24834d([0x6f,0x6e])](_0x24834d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7c3655,_0x44007b)=>{if(_0x44007b[0x0]!=_0x37f1cf)return _0x4b639e(_0x24834d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44007b[0x1]={..._0x44007b[0x1],[_0x24834d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2bdfa5};},{[_0x24834d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24834d([0x68,0x69,0x67,0x68])}),_0x5dfa65[_0x24834d([0x6f,0x6e])](_0x24834d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b2769=>{_0x3f719c(_0x2b2769[_0x24834d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6bfd33=!0x0,_0x222881(_0x2b2769[_0x24834d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24834d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24834d([0x6c,0x6f,0x77])}),_0x16b591[_0x24834d([0x74,0x68,0x65,0x6e])](()=>{_0x6bfd33||_0x4b639e(_0x24834d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f6e51(){return _0x5dfa65[_0x24834d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24834d([0x76,0x69,0x65,0x77])][_0x24834d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24834d([0x61,0x75,0x74,0x6f]);}function _0x55759f(){_0x5dfa65[_0x24834d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24834d([0x76,0x69,0x65,0x77])][_0x24834d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24834d([0x61,0x75,0x74,0x6f]);}}function _0x4b2cfc(_0x1e5a00){const _0x5bcaa1=[new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268475=>setTimeout(_0x268475,0xc8bf5d2^_0x3c27fc)),_0x16b591[_0x24834d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39de01=>{let _0x470445=0x0;_0x5dfa65[_0x24834d([0x6d,0x6f,0x64,0x65,0x6c])][_0x24834d([0x6f,0x6e])](_0x24834d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26a492,_0x2baf2a)=>{_0x2baf2a[0x0][_0x24834d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x470445++,_0x470445==(0xc82cef6^_0x3c27fc)&&(_0x39de01(),_0x26a492[_0x24834d([0x6f,0x66,0x66])]());});}))];return window[_0x24834d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24834d([0x72,0x61,0x63,0x65])](_0x5bcaa1)[_0x24834d([0x74,0x68,0x65,0x6e])](()=>_0x1e5a00);}async function _0x2c91ef(){await _0x16b591,_0x5dfa65[_0x24834d([0x6d,0x6f,0x64,0x65,0x6c])][_0x24834d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aefed,_0x5dfa65[_0x24834d([0x6d,0x6f,0x64,0x65,0x6c])][_0x24834d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aefed,_0x5dfa65[_0x24834d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24834d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x988bfe(_0x275227){const _0x89b3f6=_0x12a879();_0x5dfa65[_0x89b3f6]=_0x24834d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x275227,_0x275227!=_0x24834d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c91ef();}function _0x12a879(){const _0x1cbf69=window[_0x24834d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24834d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24834d([0x6e,0x6f,0x77])]())[_0x24834d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24834d([0x2e]),'');let _0x594d16=_0x24834d([0x49]);for(let _0xa21f77=0x0;_0xa21f77<_0x1cbf69[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa21f77+=0x2){let _0x47e1bd=window[_0x24834d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cbf69[_0x24834d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa21f77,_0xa21f77+0x2));_0x47e1bd>=_0xc60a35[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47e1bd-=_0xc60a35[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x594d16+=_0xc60a35[_0x47e1bd];}return _0x594d16;}function _0x15ccb6(){const _0x4b6337=_0x57ce45[_0x24834d([0x73,0x70,0x6c,0x69,0x74])](_0x24834d([0x2e]));if(0x3!=_0x4b6337[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d8be9(_0x4b6337[0x1]);function _0x5d8be9(_0x5dfa71){const _0x4bc435=_0x34284c(_0x5dfa71);return _0x4bc435&&_0x25e6db()?_0x4bc435:null;function _0x25e6db(){const _0x2fe3fe=_0x4bc435[_0x24834d([0x6a,0x74,0x69])],_0x1ef723=window[_0x24834d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fe3fe[_0x24834d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fe3fe[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e04c7={..._0x4bc435,[_0x24834d([0x6a,0x74,0x69])]:_0x2fe3fe[_0x24834d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fe3fe[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e04c7[_0x24834d([0x76,0x63])],_0x4a739b(_0x3e04c7)==_0x1ef723;}}}async function _0x1d8351(){let _0x1af385=!0x0;try{const _0x5a68b4=_0x57ce45[_0x24834d([0x73,0x70,0x6c,0x69,0x74])](_0x24834d([0x2e])),[_0x5d1a64,_0x26902f,_0xe76088]=_0x5a68b4;return _0x510f43(_0x5d1a64),await _0x3f01d7(_0x5d1a64,_0x26902f,_0xe76088),_0x1af385;}catch{return!0x1;}function _0x510f43(_0x2a87f7){const _0x411bcf=_0x34284c(_0x2a87f7);_0x411bcf&&_0x411bcf[_0x24834d([0x61,0x6c,0x67])]==_0x24834d([0x45,0x53,0x32,0x35,0x36])||(_0x1af385=!0x1);}async function _0x3f01d7(_0x1162fa,_0x5552c5,_0x2258d8){const _0x2e6ab9=window[_0x24834d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24834d([0x66,0x72,0x6f,0x6d])](_0x59cc93(_0x2258d8),_0x4bea43=>_0x4bea43[_0x24834d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50d30f=new window[(_0x24834d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24834d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1162fa+_0x24834d([0x2e])+_0x5552c5),_0x86dddf=window[_0x24834d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24834d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x86dddf)return;const _0x7e0966=await _0x86dddf[_0x24834d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24834d([0x6a,0x77,0x6b]),_0x4dbafa,{[_0x24834d([0x6e,0x61,0x6d,0x65])]:_0x24834d([0x45,0x43,0x44,0x53,0x41]),[_0x24834d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24834d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24834d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x86dddf[_0x24834d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24834d([0x6e,0x61,0x6d,0x65])]:_0x24834d([0x45,0x43,0x44,0x53,0x41]),[_0x24834d([0x68,0x61,0x73,0x68])]:{[_0x24834d([0x6e,0x61,0x6d,0x65])]:_0x24834d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x7e0966,_0x2e6ab9,_0x50d30f)||(_0x1af385=!0x1);}}function _0x34284c(_0x2f3c67){return _0x2f3c67[_0x24834d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24834d([0x65,0x79]))?JSON[_0x24834d([0x70,0x61,0x72,0x73,0x65])](_0x59cc93(_0x2f3c67)):null;}function _0x59cc93(_0x3fe564){return window[_0x24834d([0x61,0x74,0x6f,0x62])](_0x3fe564[_0x24834d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24834d([0x2b]))[_0x24834d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24834d([0x2f])));}function _0x4a739b(_0x1b1013){let _0x492812=0x1505;function _0x38ab08(_0x3a8a2f){for(let _0x35c57e=0x0;_0x35c57e<_0x3a8a2f[_0x24834d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35c57e++){const _0x4b40b8=_0x3a8a2f[_0x24834d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35c57e);_0x492812=(_0x492812<<0x5)+_0x492812+_0x4b40b8,_0x492812&=_0x492812;}}function _0xa9519(_0x2318c7){Array[_0x24834d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2318c7)?_0x2318c7[_0x24834d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa9519):_0x2318c7&&typeof _0x2318c7==_0x24834d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24834d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2318c7)[_0x24834d([0x73,0x6f,0x72,0x74])]()[_0x24834d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c895c,_0x4afe74])=>{_0x38ab08(_0x3c895c),_0xa9519(_0x4afe74);}):_0x38ab08(window[_0x24834d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2318c7));}return _0xa9519(_0x1b1013),_0x492812>>>0x0;}function _0x29532f(_0x19d665){return _0x19d665[_0x24834d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24834d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24834d([0x30]));}function _0x3854e4(_0x2695f4){return _0x2695f4[_0x24834d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24834d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24834d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aefed(){}function _0x24834d(_0x4800da){return _0x4800da['map'](_0xa4b3ae=>String['fromCharCode'](_0xa4b3ae))['join']('');}_0x988bfe(await _0x5d9c7e());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x59cfa0=this['editor'],_0x456bea=_0x59cfa0['editing']['view'],_0x1d4425=this['_getAttachedDomRoot']();if(!_0x1d4425||0x0===_0x1d4425['childElementCount'])return void _0x59cfa0['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x150712,pageHeight:_0x53ac36}=_0x59cfa0['config']['get']('pagination'),{top:_0x408989,left:_0x35c766,bottom:_0x16df9c,right:_0x27d224}=this['_configuredPaddings'];this['_pagesContainer']=new _0xa0ed63['View'](_0x59cfa0['locale']);const _0x450928=this['_pagesContainer'];_0x450928['set']('class',''),_0x450928['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x150712,'width':_0x150712,'height':'calc(\x20'+_0x53ac36+'\x20-\x20'+_0x408989+'\x20-\x20'+_0x16df9c+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x27d224+'\x200\x20'+_0x35c766,'columnGap':'calc('+_0x35c766+'\x20+\x20'+_0x27d224+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x450928['bindTemplate']['to']('class')}}),_0x450928['render'](),_0x1d4425['parentNode']['insertBefore'](_0x450928['element'],_0x1d4425['nextSibling']),this['listenTo'](_0x456bea,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x554876 of this['editor']['editing']['view']['domRoots']['values']())if(_0x554876['ownerDocument']['body']['contains'](_0x554876))return _0x554876;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x3cb0d7=this['editor']['editing']['view'],_0x5afd9f=this['_pagesContainer'],_0x128f58=this['_getAttachedDomRoot']();if(!_0x128f58)return Promise['resolve']();for(_0x5afd9f['class']=['ck-reset','ck-pagination-view',..._0x128f58['classList']]['join']('\x20');_0x5afd9f['element']['firstChild'];)_0x5afd9f['element']['firstChild']['remove']();const _0x57d42e=Array['from'](_0x3cb0d7['domRoots']);_0x57d42e['sort'](([,_0x83e70],[,_0x4c9d7c])=>_0x83e70['compareDocumentPosition'](_0x4c9d7c)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x37fc12,_0x2e6b7e]of _0x57d42e){const _0x5018e6=_0x2e6b7e['cloneNode'](!0x0);'attributeStyleMap'in _0x5018e6&&_0x5018e6['attributeStyleMap']['clear'](),_0x5018e6['dataset']['rootName']=_0x37fc12,_0x5018e6['className']='ck-content\x20ck-pagination_enabled',_0x5018e6['removeAttribute']('id'),_0x5018e6['tabIndex']=-0x1,_0x5afd9f['element']['append'](_0x5018e6);}const _0x167d69=Array['from'](_0x5afd9f['element']['querySelectorAll']('img'));return function(_0xf6e6b1){return Promise['all'](_0xf6e6b1['map'](_0x293d37=>Promise['race']([_0x49cbb6(_0x293d37),_0x63ea08(0x3e8)])));}(_0x167d69)['then'](()=>{for(const _0x1d9a9d of _0x167d69['filter'](_0x15675c=>!_0x15675c['closest']('table')))if(_0x1d9a9d['offsetParent']){const _0x373bb7=_0xa0ed63['global']['window']['getComputedStyle'](_0x1d9a9d),_0x16048c=_0xa0ed63['global']['document']['createElement']('span');for(const _0x56aa4d of _0x373bb7)_0x16048c['style']['setProperty'](_0x56aa4d,_0x373bb7[_0x56aa4d]);_0x16048c['style']['backgroundImage']='url(\x20'+_0x1d9a9d['src']+'\x20)',_0x16048c['style']['breakInside']='avoid','PICTURE'==_0x1d9a9d['parentElement']?.['tagName']?_0x1d9a9d['parentElement']['replaceWith'](_0x16048c):_0x1d9a9d['replaceWith'](_0x16048c);}return new Promise(_0x452357=>_0xa0ed63['global']['window']['requestAnimationFrame'](()=>_0x452357()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x376c4f=this['_pagesContainer']['element'];if(!_0x376c4f['ownerDocument']['body']['contains'](_0x376c4f))return;const _0x4d399f=new _0xa0ed63['Rect'](_0x376c4f)['excludeScrollbarsAndBorders'](),_0x510c5b=Math['floor'](_0x4d399f['width']+0x64),_0x9ccd9e=_0x4c72e1(_0x376c4f,Math['floor'](_0x4d399f['left']-_0x376c4f['scrollLeft']),_0x510c5b,_0x4d399f['height'])['map'](_0x200282=>this['_mapPageStarterInfoToPageBreakInfo'](_0x200282))['filter'](_0x26e3e6=>!0x1!==_0x26e3e6);_0x9ccd9e['every'](_0x2faa25=>!!_0x2faa25)&&(this['pageBreaks']=_0x9ccd9e);}['_mapPageStarterInfoToPageBreakInfo'](_0x324855){const _0x5afb46=this['editor']['editing']['view'],_0x143a4f=this['editor']['editing']['mapper'],_0x19cefb=_0x5afb46['domConverter'],_0x11e690=_0x324855['path']['shift'](),_0x228537=this['_pagesContainer']['element']['childNodes'][_0x11e690]['dataset']['rootName'],_0x3fa35b=_0x5afb46['getDomRoot'](_0x228537);if(!_0x3fa35b)return null;const _0x33056b=function(_0x2c4975,_0x3786af){let _0x9939ca=_0x2c4975;for(const _0x453401 of _0x3786af['path']){if(!_0x9939ca)return null;_0x9939ca=_0x9939ca['childNodes'][_0x453401];}return _0x9939ca;}(_0x3fa35b,_0x324855);if(!_0x33056b)return null;const _0xf7567d=_0x19cefb['domPositionToView'](_0x33056b,_0x324855['textOffset']||0x0);return _0xf7567d?'manual'==_0x324855['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0xf7567d,_0x33056b):'text'==_0x324855['type']&&_0x143a4f['toModelPosition'](_0xf7567d)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0xf7567d,_0x33056b,_0x324855['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0xf7567d,_0x33056b,_0x324855['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3b19b9,_0x2e009c){const _0x503ff6=this['editor']['model'],_0x251915=this['editor']['editing']['mapper']['toModelElement'](_0x3b19b9['parent']),_0xe613c1=_0x503ff6['createRangeOn'](_0x251915);return new _0x1be097({'type':'manual','modelRange':_0xe613c1,'domNode':_0x2e009c,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x3f5d22,_0x31f5cd,_0x14f3f0){const _0x10ae74=this['editor']['model'],_0x28d260=this['editor']['editing']['mapper'],_0x3b6ac5=this['editor']['editing']['view']['domConverter'];if(_0x14f3f0>=_0x31f5cd['length'])return null;const _0x1842da=_0x28d260['toModelPosition'](_0x3f5d22),_0x408942=_0x10ae74['createRange'](_0x1842da),_0x1a86b7=_0x28d260['findMappedViewAncestor'](_0x3f5d22),_0x152746=_0x3b6ac5['mapViewToDom'](_0x1a86b7);return new _0x1be097({'type':'text','modelRange':_0x408942,'domNode':_0x31f5cd,'offset':_0x535807(_0x31f5cd,_0x14f3f0,_0x152746)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4197d6,_0x4e1e92,_0x161faf){const _0x490dc1=this['editor']['model'],_0x9d584e=this['editor']['editing'],_0x4fb219=_0x9d584e['mapper'],_0x49c5e3=_0x9d584e['view']['domConverter'],_0x8ccd2=_0x4fb219['findMappedViewAncestor'](_0x4197d6),_0x5b687a=_0x4fb219['toModelElement'](_0x8ccd2);if(!_0x5b687a||_0x5b687a['is']('element','$root'))return!0x1;const _0x4b69eb=function(_0x5baf1d){const _0x32163b=_0x5baf1d['parent'],_0x282194=_0x32163b['root']['document']['model'],_0x46ac83=_0x32163b['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x20c90b=null;for(const _0x5200d0 of _0x46ac83){if(_0x5200d0['is']('rootElement'))return _0x20c90b;if(!_0x282194['createPositionBefore'](_0x5200d0)['isTouching'](_0x5baf1d))return _0x20c90b;_0x20c90b=_0x5200d0;}}(_0x490dc1['createPositionBefore'](_0x5b687a)),_0x3f7436=_0x4b69eb||_0x5b687a;let _0x3a29bf=_0x4fb219['toViewElement'](_0x3f7436),_0x39ef34=_0x490dc1['createRangeOn'](_0x3f7436);const _0x408e69=_0x490dc1['createPositionBefore'](_0x3f7436)['nodeBefore'];if(_0x408e69&&_0x408e69['is']('element','imageBlock')){const _0x43d22a=_0x4fb219['toViewElement'](_0x408e69),_0x537371=_0x49c5e3['mapViewToDom'](_0x43d22a),_0x2039c5=_0xa0ed63['global']['window']['getComputedStyle'](_0x537371)['float'];'left'!=_0x2039c5&&'right'!=_0x2039c5||(_0x39ef34=_0x490dc1['createRangeOn'](_0x408e69));}for(;_0x3a29bf['parent']!==_0x3a29bf['root']&&0x0===_0x3a29bf['index'];)_0x3a29bf=_0x3a29bf['parent'];const _0x1314c7=new _0xa0ed63['Rect'](_0x11f442(_0x4e1e92)?_0x4e1e92:_0x29271f(_0x4e1e92)),_0x6c2b83=_0x161faf?_0x1314c7['height']-_0x161faf:0x0,_0x18360d=_0x49c5e3['mapViewToDom'](_0x3a29bf),_0x4a13fc=new _0xa0ed63['Rect'](_0x18360d);return new _0x1be097({'type':'element','modelRange':_0x39ef34,'domNode':_0x18360d,'offset':Math['round'](_0x6c2b83)||_0x8ccd2!=_0x36b241(_0x4197d6)?_0x6c2b83+_0x1314c7['top']-_0x4a13fc['top']:0x0});}get['_configuredPaddings'](){const _0x1c0e32=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x1c0e32);}static['_findPageStarterInfos'](_0x5097e9,_0x3dcbd0,_0x33b061,_0x14559f,_0x23c3c0){return _0x4c72e1(_0x5097e9,_0x3dcbd0,_0x33b061,_0x14559f,_0x23c3c0);}}class _0x1be097{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x4b4f1f,modelRange:_0x5264e4,domNode:_0x4ae398,offset:_0x5dc001}){this['type']=_0x4b4f1f,this['modelRange']=_0x5264e4,this['_domNode']=_0x4ae398,this['_offset']=_0x5dc001;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x9f2222=new _0xa0ed63['Rect'](_0x11f442(this['_domNode'])?this['_domNode']:_0x29271f(this['_domNode']));return'manual'==this['type']?_0x9f2222['top']+_0x9f2222['height']/0x2:_0x9f2222['top']+this['_offset'];}}function _0x535807(_0x314950,_0x113f9e,_0x4f71e8){const _0xe47674=_0x29271f(_0x314950),_0x2311a8=function(_0x191a64){const _0x3995de=_0xa0ed63['global']['document']['createRange']();return _0x3995de['selectNodeContents'](_0x191a64),_0x3995de;}(_0x4f71e8);let _0x1d62be;_0x1d62be=0x0==_0x113f9e?_0x1e9459(_0x2311a8['startContainer'],_0x2311a8['startOffset'],_0x314950['parentNode'],Array['from'](_0x314950['parentNode']['childNodes'])['indexOf'](_0x314950)):_0x1e9459(_0x2311a8['startContainer'],_0x2311a8['startOffset'],_0x314950,_0x113f9e);const _0x8743dd=_0x1e9459(_0x314950,_0x113f9e,_0x2311a8['endContainer'],_0x2311a8['endOffset']),_0x474e57=new _0xa0ed63['Rect'](_0x1d62be)['bottom'];return(new _0xa0ed63['Rect'](_0x8743dd)['top']+_0x474e57)/0x2-new _0xa0ed63['Rect'](_0xe47674)['top'];}function _0x36b241(_0x4d8c29){let _0x17b1fd=_0x4d8c29['parent'];for(;_0x17b1fd['is']('$text')||_0x17b1fd['is']('attributeElement');)_0x17b1fd=_0x17b1fd['parent'];return _0x17b1fd;}function _0x49cbb6(_0x398e40){return _0x398e40['hasAttribute']('width')&&_0x398e40['hasAttribute']('height')?Promise['resolve']():new Promise(_0x19cb28=>{function _0xa8a158(){_0x398e40['removeEventListener']('load',_0xa8a158),_0x398e40['removeEventListener']('error',_0xa8a158),_0x19cb28();}_0x398e40['complete']?_0x19cb28():(_0x398e40['addEventListener']('load',_0xa8a158),_0x398e40['addEventListener']('error',_0xa8a158));});}function _0x63ea08(_0x4766b2){return new Promise(_0x394113=>setTimeout(_0x394113,_0x4766b2));}function _0x29271f(_0x5330e1){const _0x5ccc4c=_0xa0ed63['global']['document']['createRange']();return _0x5ccc4c['selectNode'](_0x5330e1),_0x5ccc4c;}function _0x23f868(_0x5add85,_0x310e26,_0x5bb917){const _0x5734b4=_0xa0ed63['global']['document']['createRange']();return _0x5734b4['setStart'](_0x5add85,_0x310e26),_0x5734b4['setEnd'](_0x5add85,_0x5bb917),_0x5734b4;}function _0x1e9459(_0x4dd3d7,_0x1479d2,_0xeb2178,_0x2a593c){const _0xf0cc71=_0xa0ed63['global']['document']['createRange']();return _0xf0cc71['setStart'](_0x4dd3d7,_0x1479d2),_0xf0cc71['setEnd'](_0xeb2178,_0x2a593c),_0xf0cc71;}function _0x4c72e1(_0x1d6b83,_0x1df624,_0x1f35d9,_0x11406a,_0x2b3e2c){const _0x52dbdc=[];for(const [_0x10fd85,_0x33fc4c]of _0x1d6b83['childNodes']['entries']()){let _0x100f01=[];_0x11f442(_0x33fc4c)&&_0x33fc4c['offsetParent']&&['static','relative']['includes'](_0xa0ed63['global']['window']['getComputedStyle'](_0x33fc4c)['position'])?_0x100f01=_0x33da82(_0x33fc4c,_0x10fd85,_0x1df624,_0x1f35d9,_0x11406a,_0x2b3e2c):_0x2ef592(_0x33fc4c)&&(_0x100f01=_0x119123(_0x33fc4c,_0x10fd85,_0x1df624,_0x1f35d9,_0x2b3e2c)),_0x100f01['length']&&(_0x52dbdc['push'](..._0x100f01),_0x1df624+=_0x100f01['length']*_0x1f35d9,_0x2b3e2c=!0x1);}return _0x52dbdc;}function _0x33da82(_0x2312d8,_0x2e68a3,_0x29817c,_0x24ad60,_0x36be51,_0x4b3a1d){const _0x216e9a=[];var _0x2e8faf;if((_0x2e8faf=_0x2312d8['previousSibling'])&&_0x11f442(_0x2e8faf)&&Boolean(_0x2e8faf['classList']['contains']('page-break')||_0x2e8faf['closest']('.page-break'))&&(_0x216e9a['push']({'type':'manual','offset':0x0,'path':[_0x2e68a3-0x1]}),_0x4b3a1d=!0x0),'table-row'==_0xa0ed63['global']['window']['getComputedStyle'](_0x2312d8)['display']){let _0x2ca778=0x0,_0x236610=!0x1;for(const _0x325901 of _0x2312d8['getClientRects']())_0x2ca778+=_0x325901['height'],_0x325901['left']>=_0x29817c&&(_0x236610=!0x0);if(_0x2ca778<_0x36be51&&_0x236610)return _0x4b3a1d||_0x216e9a['push']({'type':'element','offset':0x0,'path':[_0x2e68a3]}),_0x216e9a;}const _0x496809=_0x2312d8['closest']('figure.image');if(_0x496809&&function(_0x3483fa){let _0x26886d=!0x1;const _0x3a41bc=_0x3483fa['parentElement'],_0x467c17=_0x3a41bc['dataset']['rootName'],_0x436fff=_0x3483fa['nextElementSibling'],_0x5cf999=_0x3483fa['previousElementSibling'],_0x5a827e=_0x436fff&&_0xa0ed63['global']['window']['getComputedStyle'](_0x436fff)['float'],_0x16fb8b=_0x436fff&&'ck-fake-selection-container'===_0x436fff['className'];!_0x467c17||_0x436fff||_0x5cf999||(_0x26886d=!0x0),_0x467c17&&!_0x5cf999&&_0x16fb8b&&(_0x26886d=!0x0),_0x467c17&&!_0x5cf999&&'none'!==_0x5a827e&&(_0x26886d=!0x0);if(_0x26886d)return!0x1;return!0x0;}(_0x496809)){const _0x212303=_0xa0ed63['global']['window']['getComputedStyle'](_0x496809)['float'];if('left'==_0x212303||'right'==_0x212303)return _0x216e9a;}const _0x116cb2=_0x4c72e1(_0x2312d8,_0x29817c,_0x24ad60,_0x36be51,_0x4b3a1d);if(_0x116cb2['length']){for(const _0x333f7f of _0x116cb2)_0x216e9a['push']({'type':_0x333f7f['type'],'offset':_0x333f7f['offset'],'textOffset':_0x333f7f['textOffset'],'path':[_0x2e68a3,..._0x333f7f['path']]}),_0x29817c+=_0x24ad60,_0x4b3a1d=!0x1;return _0x216e9a;}return _0x216e9a['push'](...function(_0x5ede5b,_0x34aa48,_0x2848ec,_0x6f507f,_0x4b0067){const _0x38db50=[];if('table-cell'==_0xa0ed63['global']['window']['getComputedStyle'](_0x5ede5b)['display'])return[];const _0x489f3d=[];for(const _0x1a7e8a of _0x5ede5b['getClientRects']())if(_0x1a7e8a['left']>=_0x2848ec){for(const _0x37de85 of _0x489f3d)_0x37de85['height']+=_0x1a7e8a['height'];_0x489f3d['push']({'height':_0x1a7e8a['height']}),_0x2848ec+=_0x6f507f;}for(const _0x8d063e of _0x489f3d)_0x4b0067||_0x38db50['push']({'type':'element','offset':_0x8d063e['height'],'textOffset':0x0,'path':[_0x34aa48]}),_0x4b0067=!0x1;return _0x38db50;}(_0x2312d8,_0x2e68a3,_0x29817c,_0x24ad60,_0x4b3a1d)),_0x216e9a;}function _0x119123(_0x442526,_0x5510a3,_0xf7c44d,_0x2df3e8,_0x377d9a){const _0x3b6c5b=_0x29271f(_0x442526),_0x1b25ad=[];let _0x4fa920=0x0;for(const _0x3c9ce3 of _0x3b6c5b['getClientRects']())if(_0x3c9ce3['left']>=_0xf7c44d){const _0x1f39a1=_0xfe90a6(_0x442526,_0x4fa920,_0xf7c44d,_0x2df3e8);_0x377d9a||_0x1b25ad['push']({'type':'text','path':[_0x5510a3],'textOffset':_0x1f39a1}),_0x4fa920=_0x1f39a1,_0xf7c44d+=_0x2df3e8,_0x377d9a=!0x1;}return _0x1b25ad;}function _0xfe90a6(_0x35797f,_0x51459a,_0x4b0d66,_0x44d93b){let _0xb81009=_0x51459a,_0x377be1=_0x35797f['length'];for(;_0x377be1-_0xb81009>0x1;){const _0x34dae4=Math['ceil']((_0xb81009+_0x377be1)/0x2);_0x31620c(_0x23f868(_0x35797f,_0xb81009,_0x34dae4),_0x4b0d66,_0x44d93b)?_0x377be1=_0x34dae4:_0xb81009=_0x34dae4;}return _0xb81009;}function _0x31620c(_0x2370e0,_0x52f268,_0x2b5086){for(const _0x3214d6 of _0x2370e0['getClientRects']())if(_0x3214d6['left']>=_0x52f268&&_0x3214d6['left']<_0x52f268+_0x2b5086)return!0x0;return!0x1;}function _0x11f442(_0x80dfa8){return _0x80dfa8['nodeType']==Node['ELEMENT_NODE'];}function _0x2ef592(_0x299624){return _0x299624['nodeType']==Node['TEXT_NODE'];}const _0x3ef739=/* #__PURE__ -- @preserve */
_0xa0ed63['toUnit']('px');let _0x541ced=class _0x29321f extends _0xa0ed63['View']{constructor(){super();const _0x27483d=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x27483d['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x27483d['if']('isVisible','ck-hidden',_0x40792e=>!_0x40792e)],'style':{'left':_0x27483d['to']('left',_0xd036e4=>_0x3ef739(_0xd036e4)),'top':_0x27483d['to']('top',_0x4b3722=>_0x3ef739(_0x4b3722)),'width':_0x27483d['to']('width',_0x499b=>_0x3ef739(_0x499b))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x30b694){this['_viewCollection']=_0x30b694['ui']['view']['body'];}['destroy'](){for(const _0x4bfe55 of this['_hiddenLines'])_0x4bfe55['destroy']();}['cleanLines'](){for(const _0x5773bd of this['_visibleLines'])_0x5773bd['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5773bd);this['_visibleLines']['clear']();}['showLine'](_0x56a081,_0x5a8a3e,_0x40a2c4,_0x4e5aa1){let _0x49c4b1;this['_hiddenLines']['size']?(_0x49c4b1=_0xa0ed63['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x49c4b1)):_0x49c4b1=new _0x541ced(),_0x49c4b1['set']({'pageNumber':_0x4e5aa1,'left':_0x56a081,'top':_0x5a8a3e,'width':_0x40a2c4}),_0x49c4b1['isVisible']=!0x0,this['_viewCollection']['has'](_0x49c4b1)||this['_viewCollection']['add'](_0x49c4b1),this['_visibleLines']['add'](_0x49c4b1);}['setViewCollection'](_0x535eb4){for(const _0x19d9f2 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x19d9f2)&&this['_viewCollection']['remove'](_0x19d9f2);this['_viewCollection']=_0x535eb4;}}const _0x51c1c6='ck-pagination_enabled';class PaginationRenderer extends _0xa0ed63['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 LinesRepository(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](_0x51c1c6),this['on']('change:isEnabled',(_0x36c415,_0x295f38,_0x21fbd7)=>{_0x21fbd7||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x51c1c6,_0x21fbd7);});}['destroy'](){this['_toggleEditingRootsClass'](_0x51c1c6,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x39ef38){if(!this['isEnabled'])return;const _0x5335e7=_0x39ef38>0x1?this['_getPageBreakLineOffset'](_0x39ef38-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x5335e7-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0xa0ed63['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x50e3fa=this['editor'],_0x179209=this['_getAttachedDomRoot']();_0x179209?(this['_scrollableEditingRootDomAncestor']&&_0x50e3fa['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x21de18){let _0x1d547f=_0x21de18;do{_0x1d547f=_0x1d547f['parentElement'];const _0xaf52cb=_0xa0ed63['global']['window']['getComputedStyle'](_0x1d547f)['overflowY'];if('auto'==_0xaf52cb||'scroll'==_0xaf52cb)break;}while('BODY'!=_0x1d547f['tagName']);return _0x1d547f;}(_0x179209),_0x50e3fa['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0xa0ed63['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x50e3fa['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3b0066=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3b0066['ui']['view']['listenTo'](_0xa0ed63['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3b0066['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x402f67 of this['editor']['editing']['view']['domRoots']['values']())if(_0x402f67['ownerDocument']['body']['contains'](_0x402f67))return _0x402f67;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x2f6111=this['_getAttachedDomRoot'](),_0x15ccc7=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2f6111||0x1==_0x15ccc7['length'])return void(this['pageNumber']=0x1);const _0x4698af=new _0xa0ed63['Rect'](_0x2f6111)['excludeScrollbarsAndBorders'](),_0x519c61=new _0xa0ed63['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1ccd4e=_0x519c61['top']+_0x519c61['height']/0x3;let _0x4e275c=!0x1;const _0x1281cc=[];for(let _0x35cac7=0x1;_0x35cac7<_0x15ccc7['length'];_0x35cac7++){const _0xe5c18f=this['_getPageBreakLineOffset'](_0x35cac7,_0x519c61);if(!_0xe5c18f)continue;const _0x12c115=_0x519c61['top']+_0xe5c18f-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x1281cc['push']({'pageOffsetTop':_0x12c115,'domRootRect':_0x4698af,'domScrollableRect':_0x519c61,'pageNumber':_0x35cac7}),_0x12c115>_0x1ccd4e&&!_0x4e275c&&(this['pageNumber']=_0x35cac7,_0x4e275c=!0x0);}this['_renderPageBreakLines'](_0x1281cc),_0x4e275c||(this['pageNumber']=_0x15ccc7['length']);}['_renderPageBreakLines'](_0x3ee5c0){const {scrollX:_0x40d4a9,scrollY:_0x2eb5d9}=_0xa0ed63['global']['window'];if(_0x3ee5c0['length']){for(const {domScrollableRect:_0x3bfb69,pageOffsetTop:_0xd1536e,domRootRect:_0x192cc8,pageNumber:_0x57e06f}of _0x3ee5c0)_0x3bfb69['top']<_0xd1536e&&_0xd1536e<_0x3bfb69['bottom']&&this['linesRepository']['showLine'](_0x192cc8['left']+_0x40d4a9,_0xd1536e+_0x2eb5d9,_0x192cc8['width'],_0x57e06f+0x1);}}['_getPageBreakLineOffset'](_0x29d6c9,_0x54a9ec=null){const _0x4e8264=this['_paginationLookupPlugin']['pageBreaks'][_0x29d6c9]['offset'];return _0x4e8264?(_0x54a9ec||(_0x54a9ec=new _0xa0ed63['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x4e8264-_0x54a9ec['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x24ff3f,_0xe36990=!0x0){const _0x57d022=this['editor']['editing']['view'];_0x57d022['change'](_0x518262=>{for(const _0x31cea5 of _0x57d022['document']['roots'])_0xe36990?_0x518262['addClass'](_0x24ff3f,_0x31cea5):_0x518262['removeClass'](_0x24ff3f,_0x31cea5);});}}function _0x284a27(_0x50f7c9,_0x5091b3,..._0x2bf776){const t=_0x50f7c9['t'];switch(_0x5091b3){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)',..._0x2bf776);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 _0x5091b3;}}class PaginationEditing extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3d8e73=this['editor']['plugins']['get']('Pagination'),_0x471597=this['editor']['plugins']['get'](PaginationLookup),_0x12859a=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x3d8e73),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x12859a),this['listenTo'](_0x471597,'change:pageBreaks',(_0x470bb4,_0x329e3f,_0x43b095,_0x28c0cc)=>{this['totalPages']=_0x43b095['length'],this['_updatePageBreakMarkers'](_0x43b095,_0x28c0cc);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2abb81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x264c81;for(const _0x1bd2ea in _0x2abb81){const _0x36df5b=_0x1bd2ea,_0x9e9b48=_0x2abb81[_0x36df5b];if('paginationLicenseKeyValid'==_0x9e9b48||'paginationLicenseKeyInvalid'==_0x9e9b48||'paginationLicenseKeyExpired'==_0x9e9b48||'paginationLicenseKeyDomainLimit'==_0x9e9b48||'paginationLicenseKeyNotAllowed'==_0x9e9b48||'paginationLicenseKeyEvaluationLimit'==_0x9e9b48||'paginationLicenseKeyUsageLimit'==_0x9e9b48){delete _0x2abb81[_0x36df5b],_0x264c81=_0x9e9b48,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x264c81&&_0x2abb81['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x264c81&&_0x2abb81['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x264c81&&_0x2abb81['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x264c81&&_0x2abb81['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x264c81&&_0x2abb81['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x264c81&&_0x2abb81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x598d27){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x598d27));}['moveSelectionToPage'](_0x389708){if(!this['isEnabled'])return;const _0x269bf4=this['editor'],_0x2f69d4=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x389708-0x1];_0x2f69d4&&_0x269bf4['model']['change'](_0xc8433d=>{switch(_0x2f69d4['type']){case'manual':{const _0x29a2d4=_0x269bf4['model']['schema']['getNearestSelectionRange'](_0x2f69d4['modelRange']['end'],'forward');_0xc8433d['setSelection'](_0x29a2d4);break;}case'element':{const _0x4c2670=_0x269bf4['model']['schema']['getNearestSelectionRange'](_0x2f69d4['modelRange']['start'],'forward');_0xc8433d['setSelection'](_0x4c2670);break;}case'text':{const _0x3d122e=_0x2f69d4['modelRange']['start'];if(_0x3d122e['textNode']&&'\x20'===_0x3d122e['textNode']['data'][_0x3d122e['offset']]){const _0xa52193=_0xc8433d['createPositionAt'](_0x3d122e['parent'],_0x3d122e['offset']+0x1);_0xc8433d['setSelection'](_0xa52193);}else _0xc8433d['setSelection'](_0x2f69d4['modelRange']);}}_0x269bf4['editing']['view']['focus']();});}['goToNextPage'](){const _0x6f9ee7=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x6f9ee7),this['scrollToPage'](_0x6f9ee7);}['goToPreviousPage'](){const _0xb591d5=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0xb591d5),this['scrollToPage'](_0xb591d5);}['_updatePageBreakMarkers'](_0x1d6b71,_0x5226d2){const _0x5f1e94=this['editor']['model'];this['isEnabled']&&_0x5f1e94['change'](_0x58c570=>{for(let _0x36c5f8=0x1;_0x36c5f8<_0x1d6b71['length'];_0x36c5f8++){const _0x1a08fb=_0x1d6b71[_0x36c5f8]['modelRange'],_0x5e0a2d='pagination:'+(_0x36c5f8+0x1);_0x5f1e94['markers']['has'](_0x5e0a2d)?_0x58c570['updateMarker'](_0x5e0a2d,{'range':_0x1a08fb}):_0x58c570['addMarker'](_0x5e0a2d,{'range':_0x1a08fb,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x1478df=_0x1d6b71['length'];_0x1478df<_0x5226d2['length'];_0x1478df++){const _0x306597='pagination:'+(_0x1478df+0x1);_0x5f1e94['markers']['has'](_0x306597)&&_0x58c570['removeMarker'](_0x306597);}});}['_setUpDataDowncastConversion'](){const _0x6b6470='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x23622c=>{_0x23622c['on']('addMarker:'+_0x6b6470,(_0x160eec,{markerRange:_0x9a44f4,markerName:_0xcde988},_0x3c83a2)=>{if(!_0x3c83a2['options']['pagination'])return;if(!_0x3c83a2['consumable']['consume'](_0x9a44f4,_0x160eec['name']))return;const _0xf65a17=_0x9a44f4['getContainedElement']();let _0x41fcdb=_0xf65a17?_0x3c83a2['mapper']['toViewElement'](_0xf65a17):null;if(!_0x41fcdb){const _0x30aae4=_0x9a44f4['start'];if(_0x3c83a2['schema']['checkChild'](_0x30aae4,'$text')){const _0x50ca95=_0x3c83a2['mapper']['toViewPosition'](_0x30aae4);_0x41fcdb=_0x3c83a2['writer']['createContainerElement']('span'),_0x41fcdb['getFillerOffset']=()=>null,_0x3c83a2['writer']['insert'](_0x50ca95,_0x41fcdb);}else{const _0x2a6ded=_0x30aae4['nodeAfter'];_0x41fcdb=_0x3c83a2['mapper']['toViewElement'](_0x2a6ded);}}for(;_0x41fcdb['parent']!==_0x41fcdb['root']&&0x0===_0x41fcdb['index'];)_0x41fcdb=_0x41fcdb['parent'];const _0x49aae2=_0xcde988['substring'](0xb);_0x41fcdb['hasClass']('page-break')||(_0x3c83a2['writer']['setStyle']('page-break-before','always',_0x41fcdb),_0x3c83a2['writer']['setAttribute']('data-pagination-page',_0x49aae2,_0x41fcdb),_0x3c83a2['mapper']['bindElementToMarker'](_0x41fcdb,_0xcde988)),_0x160eec['stop']();});});}['_setupKeystrokes'](){const _0x3204d6=this['editor'];_0x3204d6['keystrokes']['set']('Shift+Pageup',(_0x355035,_0x2ecb79)=>{this['goToPreviousPage'](),_0x2ecb79();}),_0x3204d6['keystrokes']['set']('Shift+Pagedown',(_0x2a2d40,_0x4ce2f5)=>{this['goToNextPage'](),_0x4ce2f5();}),_0x3204d6['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x284a27(_0x3204d6['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x284a27(_0x3204d6['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x284a27(_0x3204d6['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x35d8e3){return _0x35d8e3<0x1&&(_0x35d8e3=0x1),_0x35d8e3>this['totalPages']&&(_0x35d8e3=this['totalPages']),_0x35d8e3;}}class PageNavigatorView extends _0xa0ed63['View']{['pageNumberView'];constructor(_0x1ba2b4){super(_0x1ba2b4);const _0x582bb3=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0xa0ed63['InputNumberView'](_0x1ba2b4,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x25bc59=>_0x284a27(_0x1ba2b4,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x25bc59)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0xd5dfef=>!_0xd5dfef),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x582bb3['if']('isEnabled','ck-disabled',_0x155ed2=>!_0x155ed2)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x582bb3['to']('totalPages')}]}]});}['render'](){super['render']();const _0xdc6568=this['pageNumberView']['element'],_0x3f7d0e=_0x5dccb4=>{this['pageNumberView']['element']['value']=String(_0x5dccb4);};_0x3f7d0e(this['pageNumber']),this['on']('change:pageNumber',(_0x217322,_0x52553d,_0x2f338f)=>{_0x3f7d0e(_0x2f338f);}),this['listenTo'](_0xdc6568,'keydown',(_0x20b840,_0x816221)=>{if('ArrowUp'===_0x816221['key']||'ArrowDown'===_0x816221['key'])return void _0x816221['stopPropagation']();if(_0x816221['keyCode']!==_0xa0ed63['keyCodes']['enter'])return;_0x816221['preventDefault']();const _0x3e8080=_0xdc6568['valueAsNumber'];Number['isNaN'](_0x3e8080)?_0xdc6568['value']=String(this['pageNumber']):(_0xdc6568['checkValidity']()?this['pageNumber']=_0x3e8080:_0x3e8080>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xdc6568['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xdc6568['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xdc6568,'blur',()=>{_0xdc6568['value']=String(this['pageNumber']);}),this['listenTo'](_0xdc6568,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c6da7=this['editor'],_0x15dbf4=_0x4c6da7['plugins']['get']('PaginationEditing');_0x4c6da7['ui']['componentFactory']['add']('pageNavigation',_0xdb3195=>{const _0x144d21=new PageNavigatorView(_0xdb3195);return _0x144d21['bind']('pageNumber')['to'](_0x15dbf4),_0x144d21['bind']('totalPages')['to'](_0x15dbf4),_0x144d21['bind']('isEnabled')['to'](_0x15dbf4),_0x144d21['on']('navigation',(_0x44ba53,_0x46452b)=>{_0x15dbf4['moveSelectionToPage'](_0x46452b),_0x15dbf4['scrollToPage'](_0x46452b);}),_0x144d21;}),_0x4c6da7['ui']['componentFactory']['add']('nextPage',_0x58a703=>{const _0x5688b6=new _0xa0ed63['ButtonView'](_0x58a703);return _0x5688b6['isEnabled']=!0x0,_0x5688b6['label']=_0x284a27(_0x4c6da7['locale'],'Go\x20to\x20next\x20page'),_0x5688b6['icon']=_0xa0ed63['IconArrowDown'],_0x5688b6['tooltip']=!0x0,_0x5688b6['keystroke']='Shift+PageDown',_0x5688b6['bind']('isEnabled')['to'](_0x15dbf4),this['listenTo'](_0x5688b6,'execute',()=>{_0x15dbf4['goToNextPage']();}),_0x5688b6;}),_0x4c6da7['ui']['componentFactory']['add']('previousPage',_0xbf1131=>{const _0x5d2324=new _0xa0ed63['ButtonView'](_0xbf1131);return _0x5d2324['isEnabled']=!0x0,_0x5d2324['label']=_0x284a27(_0x4c6da7['locale'],'Go\x20to\x20previous\x20page'),_0x5d2324['icon']=_0xa0ed63['IconArrowUp'],_0x5d2324['tooltip']=!0x0,_0x5d2324['keystroke']='Shift+PageUp',_0x5d2324['bind']('isEnabled')['to'](_0x15dbf4),this['listenTo'](_0x5d2324,'execute',()=>{_0x15dbf4['goToPreviousPage']();}),_0x5d2324;});}}class Pagination extends _0xa0ed63['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x104aa9){super(_0x104aa9),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1f38ed=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x1f38ed),this['bind']('totalPages')['to'](_0x1f38ed),_0xa0ed63['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x464ea7){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x464ea7);}}const _0x32726a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x5b3466(_0x4b4e1d){return _0x32726a['test'](_0x4b4e1d);}const _0x10ac1c=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0x3ac7b5(_0x23f7e7,_0x473c3f){const _0x11aa50=new Map();for(const [_0x39823b,_0x371936]of _0x473c3f){if(!_0x39823b['tagName']&&!_0x39823b['className'])continue;const _0x522a68=!_0x39823b['tagName']||_0x23f7e7['name']===_0x39823b['tagName'],_0x5ef7be=!_0x39823b['className']||_0x23f7e7['hasClass'](_0x39823b['className']);_0x522a68&&_0x5ef7be&&_0x11aa50['set'](_0x39823b,_0x371936);}return _0x11aa50;}function _0x3ded2e(_0x4fb250){const _0x5068b2={};for(let _0x2bab6e=0x0;_0x2bab6e<_0x4fb250['length'];_0x2bab6e++){const _0x363312=_0x4fb250[_0x2bab6e],_0xeaf956=_0x4fb250['getPropertyValue'](_0x363312);'initial'!==_0xeaf956&&(_0x5068b2[_0x363312]=_0xeaf956);}return _0x5068b2;}function _0x12408d(_0x56371e){const _0x599b1a=_0x56371e['split'](',')['map'](_0x387dcb=>_0x387dcb['trim']()),_0x3c3fd7=[];for(const _0x4f6d7e of _0x599b1a){const _0x3e7209=_0x10ac1c['exec'](_0x4f6d7e);_0x3e7209&&_0x3c3fd7['push'](_0x3e7209['groups']);}return _0x3c3fd7;}function _0x3ebe2a(_0x375380){const _0x3bbb01={};for(const _0x47b919 of _0x375380)Object['assign'](_0x3bbb01,_0x47b919);return _0x3bbb01;}class MSOfficeStylesInliner extends _0xa0ed63['PasteFromOfficeMSWordNormalizer']{['execute'](_0x5ec408){const {body:_0x1b0ebb,styles:_0x12d933}=_0x5ec408['_parsedData'],_0x32f638=new _0xa0ed63['ViewUpcastWriter'](_0x1b0ebb['document']),_0x15f232=_0x32f638['createRangeIn'](_0x1b0ebb),_0x169340=function(_0x5c1013){const _0x1b9066={};for(const _0x434e66 of _0x5c1013)for(const _0x540edb of _0x434e66['cssRules'])if(_0x540edb instanceof CSSStyleRule){const _0x5d2cec=_0x3ded2e(_0x540edb['style']);_0x1b9066[_0x540edb['selectorText']]=Object['assign']({},_0x1b9066[_0x540edb['selectorText']]||{},_0x5d2cec);}return _0x1b9066;}(_0x12d933),_0x4909d6=function(_0x34fe26){const _0x15c45b=new Map();for(const _0x3c6be2 in _0x34fe26){const _0xb8c8f3=_0x12408d(_0x3c6be2),_0x1e73a8=_0x34fe26[_0x3c6be2];for(const _0x503bd6 of _0xb8c8f3)_0x15c45b['set'](_0x503bd6,_0x1e73a8);}return _0x15c45b;}(_0x169340);for(const _0xf507ec of _0x15f232){if('elementStart'!==_0xf507ec['type'])continue;const _0x4ea5f9=_0x3ac7b5(_0xf507ec['item'],_0x4909d6);if(_0x4ea5f9['size']){const _0x230caa=_0x3ebe2a(Array['from'](_0x4ea5f9['values']()));for(const _0x502e8e in _0x230caa){const _0x2f4ea4=_0xf507ec['item'];_0x2f4ea4['hasStyle'](_0x502e8e)||_0x32f638['setStyle'](_0x502e8e,_0x230caa[_0x502e8e],_0x2f4ea4);}}}_0x5ec408['content']=_0x1b0ebb;}['isActive'](_0x401214){return super['isActive'](_0x401214)||_0x5b3466(_0x401214);}}class PasteFromOfficeEnhancedInliner extends _0xa0ed63['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x6a561a=this['editor'],_0x1ec2b0=_0x6a561a['plugins']['get']('ClipboardPipeline'),_0x39f28c=_0x6a561a['editing']['view']['document'],_0x432ae6=new MSOfficeStylesInliner(_0x39f28c);_0x1ec2b0['on']('inputTransformation',(_0x1573c7,_0x57a31f)=>{const _0x913c1f=_0x57a31f['dataTransfer']['getData']('text/html');_0x432ae6['isActive'](_0x913c1f)&&(_0x57a31f['_parsedData']||(_0x57a31f['_parsedData']=_0xa0ed63['parsePasteOfficeHtml'](_0x913c1f,_0x39f28c['stylesProcessor'])),_0x432ae6['execute'](_0x57a31f));},{'priority':_0xa0ed63['priorities']['get']('high')+0xb});}['afterInit'](){!async function(_0x5df097){const _0x1bb2f8=_0x42065d([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x3870c1=0x7374585f,_0x12faf5=0x7373d79f^_0x3870c1,_0x54eaf2=window[_0x42065d([0x44,0x61,0x74,0x65])][_0x42065d([0x6e,0x6f,0x77])](),_0x14d9f9=_0x5df097[_0x42065d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c1da3=new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bedaf=>{_0x14d9f9[_0x42065d([0x6f,0x6e,0x63,0x65])](_0x42065d([0x72,0x65,0x61,0x64,0x79]),_0x5bedaf);}),_0xf5ffae={[_0x42065d([0x6b,0x74,0x79])]:_0x42065d([0x45,0x43]),[_0x42065d([0x75,0x73,0x65])]:_0x42065d([0x73,0x69,0x67]),[_0x42065d([0x63,0x72,0x76])]:_0x42065d([0x50,0x2d,0x32,0x35,0x36]),[_0x42065d([0x78])]:_0x42065d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x42065d([0x79])]:_0x42065d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x42065d([0x61,0x6c,0x67])]:_0x42065d([0x45,0x53,0x32,0x35,0x36])},_0x1d5e79=_0x14d9f9[_0x42065d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42065d([0x67,0x65,0x74])](_0x42065d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c1107(){let _0x1ee306,_0x2b522b=null,_0x3f08c2=null;try{if(_0x1d5e79==_0x42065d([0x47,0x50,0x4c]))return _0x42065d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ee306=_0x2a61f5(),!_0x1ee306)return _0x42065d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ee306[_0x42065d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f08c2=_0x17d6d0(_0x1ee306[_0x42065d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ee306[_0x42065d([0x6a,0x74,0x69])])),await _0x42809a()?_0x4e35e1()?_0x4cfdd1()?_0x42065d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32c91b()?(_0x1ee306[_0x42065d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42065d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b522b=_0x515156(_0x42065d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x184bdf()):_0x42065d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42065d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42065d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42065d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cfdd1(){const _0x14586c=[_0x42065d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42065d([0x74,0x72,0x69,0x61,0x6c])][_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee306[_0x42065d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54eaf2/0x3e8:0xe10*_0x12faf5;return _0x1ee306[_0x42065d([0x65,0x78,0x70])]<_0x14586c;}function _0x4e35e1(){const _0x4e02d5=_0x1ee306[_0x42065d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e02d5&&(!!_0x4e02d5[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42065d([0x2a]))||(!!_0x4e02d5[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42065d([0x50,0x4f,0x45]))||(!!_0x4e02d5[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42065d([0x50,0x50]))||!(!_0x4e02d5[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42065d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x365b20()))));}function _0x32c91b(){const _0x293f64=_0x1ee306[_0x42065d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x293f64||0x0==_0x293f64[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2df9e3}=new URL(window[_0x42065d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x293f64[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df9e3))return!0x0;const _0x4db4fa=_0x2df9e3[_0x42065d([0x73,0x70,0x6c,0x69,0x74])](_0x42065d([0x2e]));return _0x293f64[_0x42065d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x256a59=>_0x256a59[_0x42065d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42065d([0x2a])))[_0x42065d([0x6d,0x61,0x70])](_0x16210a=>_0x16210a[_0x42065d([0x73,0x70,0x6c,0x69,0x74])](_0x42065d([0x2e])))[_0x42065d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c9661=>_0x2c9661[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4db4fa[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42065d([0x6d,0x61,0x70])](_0x41c41c=>Array(_0x4db4fa[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41c41c[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42065d([0x66,0x69,0x6c,0x6c])](_0x41c41c[0x0]===_0x42065d([0x2a])?_0x42065d([0x2a]):'')[_0x42065d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41c41c))[_0x42065d([0x73,0x6f,0x6d,0x65])](_0x981c71=>_0x4db4fa[_0x42065d([0x65,0x76,0x65,0x72,0x79])]((_0x966343,_0x1f4fef)=>_0x981c71[_0x1f4fef]===_0x966343||_0x981c71[_0x1f4fef]===_0x42065d([0x2a])));}function _0x184bdf(){return _0x2b522b&&_0x3f08c2?new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b4e35,_0x1f990c)=>{_0x2b522b[_0x42065d([0x74,0x68,0x65,0x6e])](_0x1b4e35,_0x1f990c),_0x3f08c2[_0x42065d([0x74,0x68,0x65,0x6e])](_0x341e22=>{_0x341e22!=_0x42065d([0x56,0x61,0x6c,0x69,0x64])&&_0x1b4e35(_0x341e22);},_0x1f990c);}):_0x2b522b||_0x3f08c2||_0x42065d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17d6d0(_0xf4164c,_0x3c9d4c){return new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44cfeb=>{if(_0x368339())return _0x44cfeb(_0x42065d([0x56,0x61,0x6c,0x69,0x64]));_0x108605(),_0x14d9f9[_0x42065d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42065d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e018f=!0x1;const _0xbd3ac6=_0xa0ed63['uid']();function _0x4f55c8(_0x240e37){return!!_0x240e37&&(typeof _0x240e37===_0x42065d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x240e37===_0x42065d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x240e37[_0x42065d([0x74,0x68,0x65,0x6e])]===_0x42065d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x240e37[_0x42065d([0x63,0x61,0x74,0x63,0x68])]===_0x42065d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33e5cd(_0x3021f6){_0x5c3675(_0x3021f6)[_0x42065d([0x74,0x68,0x65,0x6e])](_0x454511=>{if(!_0x454511||_0x454511[_0x42065d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42065d([0x6f,0x6b]))return _0x42065d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39ef9a(_0x208d49(_0xbd3ac6+_0x3c9d4c))!=_0x454511[_0x42065d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42065d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42065d([0x56,0x61,0x6c,0x69,0x64]);})[_0x42065d([0x74,0x68,0x65,0x6e])](_0x4bbbb9=>(_0x230309(),_0x4bbbb9),()=>{const _0x505766=_0x583f3c();return null==_0x505766?(_0x230309(),_0x42065d([0x56,0x61,0x6c,0x69,0x64])):_0x42065d(_0x54eaf2-_0x505766>(0x5778dc5f^_0x3870c1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42065d([0x74,0x68,0x65,0x6e])](_0x44cfeb)[_0x42065d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44cfeb(_0x42065d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45c7ba=0x7342b6df^_0x3870c1;function _0x230309(){const _0x31400b=_0x42065d([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ef9a(_0x208d49(_0xf4164c)),_0x1f6883=_0x49e044(_0x39ef9a(window[_0x42065d([0x4d,0x61,0x74,0x68])][_0x42065d([0x63,0x65,0x69,0x6c])](_0x54eaf2/_0x45c7ba)));window[_0x42065d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42065d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31400b,_0x1f6883);}function _0x583f3c(){const _0xe4201e=_0x42065d([0x6c,0x6c,0x63,0x74,0x2d])+_0x39ef9a(_0x208d49(_0xf4164c)),_0xa745eb=window[_0x42065d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42065d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe4201e);return _0xa745eb?window[_0x42065d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49e044(_0xa745eb),0x10)*_0x45c7ba:null;}function _0x5c3675(_0xc1c52c){return new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41cefa,_0x25d28a)=>{_0xc1c52c[_0x42065d([0x74,0x68,0x65,0x6e])](_0x41cefa,_0x25d28a),window[_0x42065d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25d28a,0x73758c9f^_0x3870c1);});}}_0x14d9f9[_0x42065d([0x6f,0x6e])](_0x42065d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x140aa4,_0x34a487)=>{if(_0x34a487[0x0]!=_0xf4164c)return _0x44cfeb(_0x42065d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34a487[0x1]={..._0x34a487[0x1],[_0x42065d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xbd3ac6};},{[_0x42065d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42065d([0x68,0x69,0x67,0x68])}),_0x14d9f9[_0x42065d([0x6f,0x6e])](_0x42065d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31e594=>{_0x4f55c8(_0x31e594[_0x42065d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e018f=!0x0,_0x33e5cd(_0x31e594[_0x42065d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42065d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42065d([0x6c,0x6f,0x77])}),_0x4c1da3[_0x42065d([0x74,0x68,0x65,0x6e])](()=>{_0x1e018f||_0x44cfeb(_0x42065d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x368339(){return _0x14d9f9[_0x42065d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42065d([0x76,0x69,0x65,0x77])][_0x42065d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42065d([0x61,0x75,0x74,0x6f]);}function _0x108605(){_0x14d9f9[_0x42065d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42065d([0x76,0x69,0x65,0x77])][_0x42065d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42065d([0x61,0x75,0x74,0x6f]);}}function _0x515156(_0x20b0ec){const _0xc0907e=[new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5298d8=>setTimeout(_0x5298d8,0x737d6693^_0x3870c1)),_0x4c1da3[_0x42065d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ecc3c=>{let _0x2e9562=0x0;_0x14d9f9[_0x42065d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42065d([0x6f,0x6e])](_0x42065d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57f310,_0x22346a)=>{_0x22346a[0x0][_0x42065d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e9562++,_0x2e9562==(0x73745db7^_0x3870c1)&&(_0x4ecc3c(),_0x57f310[_0x42065d([0x6f,0x66,0x66])]());});}))];return window[_0x42065d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42065d([0x72,0x61,0x63,0x65])](_0xc0907e)[_0x42065d([0x74,0x68,0x65,0x6e])](()=>_0x20b0ec);}async function _0x567baf(){await _0x4c1da3,_0x14d9f9[_0x42065d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42065d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33f7e7,_0x14d9f9[_0x42065d([0x6d,0x6f,0x64,0x65,0x6c])][_0x42065d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33f7e7,_0x14d9f9[_0x42065d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42065d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x365b20(){return window[_0x42065d([0x67,0x6c,0x6f,0x62])]&&window[_0x42065d([0x67,0x6c,0x6f,0x62])][_0x42065d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2e215e(_0x5a5dd2){const _0x28d634=_0x2dc1c0();_0x14d9f9[_0x28d634]=_0x42065d([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a5dd2,_0x5a5dd2!=_0x42065d([0x56,0x61,0x6c,0x69,0x64])&&_0x567baf();}function _0x2dc1c0(){const _0x5ca269=window[_0x42065d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42065d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42065d([0x6e,0x6f,0x77])]())[_0x42065d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42065d([0x2e]),'');let _0x17d128=_0x42065d([0x73]);for(let _0x3395c1=0x0;_0x3395c1<_0x5ca269[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3395c1+=0x2){let _0x5bebc0=window[_0x42065d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ca269[_0x42065d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3395c1,_0x3395c1+0x2));_0x5bebc0>=_0x1bb2f8[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bebc0-=_0x1bb2f8[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17d128+=_0x1bb2f8[_0x5bebc0];}return _0x17d128;}function _0x2a61f5(){const _0x4243ad=_0x1d5e79[_0x42065d([0x73,0x70,0x6c,0x69,0x74])](_0x42065d([0x2e]));if(0x3!=_0x4243ad[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9cc7(_0x4243ad[0x1]);function _0x3e9cc7(_0x43fff7){const _0x35b7e5=_0x22683a(_0x43fff7);return _0x35b7e5&&_0x3e9e38()?_0x35b7e5:null;function _0x3e9e38(){const _0xef2b09=_0x35b7e5[_0x42065d([0x6a,0x74,0x69])],_0x4ef158=window[_0x42065d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xef2b09[_0x42065d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xef2b09[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d7f6a={..._0x35b7e5,[_0x42065d([0x6a,0x74,0x69])]:_0xef2b09[_0x42065d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xef2b09[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d7f6a[_0x42065d([0x76,0x63])],_0x208d49(_0x4d7f6a)==_0x4ef158;}}}async function _0x42809a(){let _0x595607=!0x0;try{const _0x4542c8=_0x1d5e79[_0x42065d([0x73,0x70,0x6c,0x69,0x74])](_0x42065d([0x2e])),[_0x521d5d,_0x26c647,_0x3e6fb6]=_0x4542c8;return _0x148d04(_0x521d5d),await _0x342d16(_0x521d5d,_0x26c647,_0x3e6fb6),_0x595607;}catch{return!0x1;}function _0x148d04(_0x426cf7){const _0x56e19e=_0x22683a(_0x426cf7);_0x56e19e&&_0x56e19e[_0x42065d([0x61,0x6c,0x67])]==_0x42065d([0x45,0x53,0x32,0x35,0x36])||(_0x595607=!0x1);}async function _0x342d16(_0x18011f,_0x283f5e,_0x406616){const _0x793ffe=window[_0x42065d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42065d([0x66,0x72,0x6f,0x6d])](_0x4bc082(_0x406616),_0x35cda1=>_0x35cda1[_0x42065d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x130a06=new window[(_0x42065d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42065d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18011f+_0x42065d([0x2e])+_0x283f5e),_0x1dfd2a=window[_0x42065d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42065d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dfd2a)return;const _0x15deac=await _0x1dfd2a[_0x42065d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42065d([0x6a,0x77,0x6b]),_0xf5ffae,{[_0x42065d([0x6e,0x61,0x6d,0x65])]:_0x42065d([0x45,0x43,0x44,0x53,0x41]),[_0x42065d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42065d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42065d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dfd2a[_0x42065d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42065d([0x6e,0x61,0x6d,0x65])]:_0x42065d([0x45,0x43,0x44,0x53,0x41]),[_0x42065d([0x68,0x61,0x73,0x68])]:{[_0x42065d([0x6e,0x61,0x6d,0x65])]:_0x42065d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15deac,_0x793ffe,_0x130a06)||(_0x595607=!0x1);}}function _0x22683a(_0x27ad01){return _0x27ad01[_0x42065d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42065d([0x65,0x79]))?JSON[_0x42065d([0x70,0x61,0x72,0x73,0x65])](_0x4bc082(_0x27ad01)):null;}function _0x4bc082(_0x5e3d25){return window[_0x42065d([0x61,0x74,0x6f,0x62])](_0x5e3d25[_0x42065d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42065d([0x2b]))[_0x42065d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42065d([0x2f])));}function _0x208d49(_0x993b44){let _0x153cf4=0x1505;function _0x427f29(_0x3b1a8f){for(let _0x41bd69=0x0;_0x41bd69<_0x3b1a8f[_0x42065d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41bd69++){const _0x2b4f6f=_0x3b1a8f[_0x42065d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41bd69);_0x153cf4=(_0x153cf4<<0x5)+_0x153cf4+_0x2b4f6f,_0x153cf4&=_0x153cf4;}}function _0x2d53cd(_0x53a37f){Array[_0x42065d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53a37f)?_0x53a37f[_0x42065d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d53cd):_0x53a37f&&typeof _0x53a37f==_0x42065d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42065d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53a37f)[_0x42065d([0x73,0x6f,0x72,0x74])]()[_0x42065d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48b011,_0x50d29c])=>{_0x427f29(_0x48b011),_0x2d53cd(_0x50d29c);}):_0x427f29(window[_0x42065d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53a37f));}return _0x2d53cd(_0x993b44),_0x153cf4>>>0x0;}function _0x39ef9a(_0x10fb9c){return _0x10fb9c[_0x42065d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42065d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42065d([0x30]));}function _0x49e044(_0x51d9fc){return _0x51d9fc[_0x42065d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42065d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42065d([0x6a,0x6f,0x69,0x6e])]('');}function _0x33f7e7(){}function _0x42065d(_0x341489){return _0x341489['map'](_0x157d47=>String['fromCharCode'](_0x157d47))['join']('');}_0x2e215e(await _0x4c1107());}(this);}}const tu=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x2479d2=['color','font-family','font-size'],_0xfb2e7e={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x9947c6=>Number(_0x9947c6)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x1fa338(_0x269460){return tu['includes'](_0x269460);}function _0x20d71b(_0x11bdff){return Array['from'](_0x11bdff['getStyleNames']())['filter'](_0x1fa338);}function _0x185127(_0x57b229,_0x4f458e,_0x4243e2){const {spanStyles:_0x3a2b1d,stylesToBeHtmlElements:_0xdb3943}=function(_0x3affe6,_0x54f544){const _0x1783ec={},_0x351163={};return _0x54f544['forEach'](_0x564e06=>{const _0x5f3146=_0x3affe6['getStyle'](_0x564e06);if(_0x5f3146){if(function(_0x31ac02){return _0x2479d2['includes'](_0x31ac02);}(_0x564e06))_0x1783ec[_0x564e06]=_0x5f3146;else{if(function(_0x30d581){return _0x30d581 in _0xfb2e7e;}(_0x564e06)){const _0x375472=_0x5f3146['split']('\x20');_0xfb2e7e[_0x564e06]['forEach'](([_0x3719af,_0x3a752a])=>{for(const _0x2e04f3 of _0x375472){('function'==typeof _0x3719af&&_0x3719af(_0x2e04f3)||_0x3719af===_0x2e04f3)&&(_0x351163[_0x564e06]=[..._0x351163[_0x564e06]||[],[_0x3719af,_0x3a752a]]);}});}}}}),{'spanStyles':_0x1783ec,'stylesToBeHtmlElements':_0x351163};}(_0x57b229,_0x4243e2);!function(_0x4dc1bd,_0x43d482,_0x24c963){for(const _0x368617 in _0x24c963){_0x24c963[_0x368617]['forEach'](([,_0x512312])=>{const _0x154d19=_0x43d482['createElement'](_0x512312,[],_0x4dc1bd['getChildren']());_0x43d482['insertChild'](0x0,_0x154d19,_0x4dc1bd);}),_0x43d482['removeStyle'](_0x368617,_0x4dc1bd);}}(_0x57b229,_0x4f458e,_0xdb3943),function(_0x26d032,_0x5d8928,_0x28efe6){if(!Object['keys'](_0x28efe6)['length'])return;const _0x5de299=_0x5d8928['createElement']('span',[],_0x26d032['getChildren']());_0x5d8928['setStyle'](_0x28efe6,_0x5de299),_0x5d8928['insertChild'](0x0,_0x5de299,_0x26d032),_0x5d8928['removeStyle'](Object['keys'](_0x28efe6),_0x26d032);}(_0x57b229,_0x4f458e,_0x3a2b1d);}class MSOfficeInlineStylePropagator extends _0xa0ed63['PasteFromOfficeMSWordNormalizer']{['execute'](_0x2621ba){const {body:_0x148031}=_0x2621ba['_parsedData'],_0xe32674=new _0xa0ed63['ViewUpcastWriter'](_0x148031['document']),_0xc73f7a=_0xe32674['createRangeIn'](_0x148031),_0x1bdddf=new _0xa0ed63['ViewDocument'](_0xe32674['document']['stylesProcessor']),_0x49c73b=[...new _0xa0ed63['ViewDomConverter'](_0x1bdddf)['blockElements'],'font'],_0x2c6482=_0xc73f7a['getItems']();for(const _0x899a4f of _0x2c6482)_0x899a4f['is']('element')&&_0x49c73b['includes'](_0x899a4f['name'])&&_0x185127(_0x899a4f,_0xe32674,_0x20d71b(_0x899a4f));_0x2621ba['content']=_0x148031;}['isActive'](_0x1edff7){return super['isActive'](_0x1edff7)||_0x5b3466(_0x1edff7);}}class PasteFromOfficeEnhancedPropagator extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x17fa73=this['editor'],_0x12d063=_0x17fa73['plugins']['get']('ClipboardPipeline'),_0x4f3a25=_0x17fa73['editing']['view']['document'],_0x5571fe=new MSOfficeInlineStylePropagator(_0x4f3a25);_0x12d063['on']('inputTransformation',(_0x1e0411,_0x41343a)=>{const _0x14ac09=_0x41343a['dataTransfer']['getData']('text/html');_0x5571fe['isActive'](_0x14ac09)&&(_0x41343a['_parsedData']||(_0x41343a['_parsedData']=_0xa0ed63['parsePasteOfficeHtml'](_0x14ac09,_0x4f3a25['stylesProcessor'])),_0x5571fe['execute'](_0x41343a));},{'priority':_0xa0ed63['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x14ed79=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4159c6;for(const _0x3c97fa in _0x14ed79){const _0x7d19ab=_0x3c97fa,_0x3e3a6a=_0x14ed79[_0x7d19ab];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x3e3a6a||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x3e3a6a){delete _0x14ed79[_0x7d19ab],_0x4159c6=_0x3e3a6a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x4159c6&&_0x14ed79['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x4159c6&&_0x14ed79['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x4159c6&&_0x14ed79['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x4159c6&&_0x14ed79['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x4159c6&&_0x14ed79['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x4159c6&&_0x14ed79['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0xa0ed63['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x32f533,_0x1a5d17,_0x2bcde3='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x1838a6={},_0x3a6732={},_0x11fb3d,_0x426b60,_0x5e17ff,_0x2e1516,_0x2476d3,_0x65cfd8={},_0x5bd876,_0x26cefb,_0x2798ed,_0x49750d,_0x5bb26e,_0x116b71={},_0x3b78bf,_0x41a6ae,_0xab3e47,_0x27e836,_0x37ef29,_0x553447,_0x340390,_0x56a3d9,_0x3b6446,_0x39a929,_0x4363eb={'exports':{}};_0x4363eb['exports'];function _0x2735a4(){return _0x3b78bf||(_0x3b78bf=0x1,function(_0x29c597,_0x37fe16){'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof self&&self,function(_0xb20b70){Object['defineProperty'](_0xb20b70,'__esModule',{'value':!0x0}),_0xb20b70['default']=void 0x0;var _0x1f4953=null;try{_0x1f4953=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 _0x5de488(_0x1636a4,_0x49407d,_0x1f780a){this['low']=0x0|_0x1636a4,this['high']=0x0|_0x49407d,this['unsigned']=!!_0x1f780a;}function _0x215b46(_0x479ad7){return!0x0===(_0x479ad7&&_0x479ad7['__isLong__']);}function _0x1fb8df(_0x3eaaf4){var _0x49c773=Math['clz32'](_0x3eaaf4&-_0x3eaaf4);return _0x3eaaf4?0x1f-_0x49c773:_0x49c773;}_0x5de488['prototype']['__isLong__'],Object['defineProperty'](_0x5de488['prototype'],'__isLong__',{'value':!0x0}),_0x5de488['isLong']=_0x215b46;var _0x3e349f={},_0x14b00d={};function _0x3b324e(_0x4758db,_0x16de2c){var _0x19f82c,_0x50bfdc,_0x3a0c58;return _0x16de2c?(_0x3a0c58=0x0<=(_0x4758db>>>=0x0)&&_0x4758db<0x100)&&(_0x50bfdc=_0x14b00d[_0x4758db])?_0x50bfdc:(_0x19f82c=_0x14e2ea(_0x4758db,0x0,!0x0),_0x3a0c58&&(_0x14b00d[_0x4758db]=_0x19f82c),_0x19f82c):(_0x3a0c58=-0x80<=(_0x4758db|=0x0)&&_0x4758db<0x80)&&(_0x50bfdc=_0x3e349f[_0x4758db])?_0x50bfdc:(_0x19f82c=_0x14e2ea(_0x4758db,_0x4758db<0x0?-0x1:0x0,!0x1),_0x3a0c58&&(_0x3e349f[_0x4758db]=_0x19f82c),_0x19f82c);}function _0x4821b8(_0x36e4d7,_0x51ad71){if(isNaN(_0x36e4d7))return _0x51ad71?_0x3531e1:_0x3cba9a;if(_0x51ad71){if(_0x36e4d7<0x0)return _0x3531e1;if(_0x36e4d7>=_0x213f68)return _0x579d3c;}else{if(_0x36e4d7<=-_0x58f4ec)return _0x3e4c42;if(_0x36e4d7+0x1>=_0x58f4ec)return _0x3bbc7a;}return _0x36e4d7<0x0?_0x4821b8(-_0x36e4d7,_0x51ad71)['neg']():_0x14e2ea(_0x36e4d7%_0x2bc7e5|0x0,_0x36e4d7/_0x2bc7e5|0x0,_0x51ad71);}function _0x14e2ea(_0x49d178,_0x331da6,_0x253536){return new _0x5de488(_0x49d178,_0x331da6,_0x253536);}_0x5de488['fromInt']=_0x3b324e,_0x5de488['fromNumber']=_0x4821b8,_0x5de488['fromBits']=_0x14e2ea;var _0x537243=Math['pow'];function _0x5ddbcd(_0x1a857d,_0x5345e5,_0x2c5e84){if(0x0===_0x1a857d['length'])throw Error('empty\x20string');if('number'==typeof _0x5345e5?(_0x2c5e84=_0x5345e5,_0x5345e5=!0x1):_0x5345e5=!!_0x5345e5,'NaN'===_0x1a857d||'Infinity'===_0x1a857d||'+Infinity'===_0x1a857d||'-Infinity'===_0x1a857d)return _0x5345e5?_0x3531e1:_0x3cba9a;if((_0x2c5e84=_0x2c5e84||0xa)<0x2||0x24<_0x2c5e84)throw RangeError('radix');var _0x4edb0e;if((_0x4edb0e=_0x1a857d['indexOf']('-'))>0x0)throw Error('interior\x20hyphen');if(0x0===_0x4edb0e)return _0x5ddbcd(_0x1a857d['substring'](0x1),_0x5345e5,_0x2c5e84)['neg']();for(var _0x2c58af=_0x4821b8(_0x537243(_0x2c5e84,0x8)),_0x397a38=_0x3cba9a,_0xee59a2=0x0;_0xee59a2<_0x1a857d['length'];_0xee59a2+=0x8){var _0x339af2=Math['min'](0x8,_0x1a857d['length']-_0xee59a2),_0x5934c8=parseInt(_0x1a857d['substring'](_0xee59a2,_0xee59a2+_0x339af2),_0x2c5e84);if(_0x339af2<0x8){var _0x28830f=_0x4821b8(_0x537243(_0x2c5e84,_0x339af2));_0x397a38=_0x397a38['mul'](_0x28830f)['add'](_0x4821b8(_0x5934c8));}else _0x397a38=(_0x397a38=_0x397a38['mul'](_0x2c58af))['add'](_0x4821b8(_0x5934c8));}return _0x397a38['unsigned']=_0x5345e5,_0x397a38;}function _0x778cd1(_0x561e90,_0x1f1877){return'number'==typeof _0x561e90?_0x4821b8(_0x561e90,_0x1f1877):'string'==typeof _0x561e90?_0x5ddbcd(_0x561e90,_0x1f1877):_0x14e2ea(_0x561e90['low'],_0x561e90['high'],'boolean'==typeof _0x1f1877?_0x1f1877:_0x561e90['unsigned']);}_0x5de488['fromString']=_0x5ddbcd,_0x5de488['fromValue']=_0x778cd1;var _0xc19ef3=0x10000,_0x2bc7e5=_0xc19ef3*_0xc19ef3,_0x213f68=_0x2bc7e5*_0x2bc7e5,_0x58f4ec=_0x213f68/0x2,_0x305241=_0x3b324e(0x1<<0x18),_0x3cba9a=_0x3b324e(0x0);_0x5de488['ZERO']=_0x3cba9a;var _0x3531e1=_0x3b324e(0x0,!0x0);_0x5de488['UZERO']=_0x3531e1;var _0x39720d=_0x3b324e(0x1);_0x5de488['ONE']=_0x39720d;var _0x46f318=_0x3b324e(0x1,!0x0);_0x5de488['UONE']=_0x46f318;var _0x360a3f=_0x3b324e(-0x1);_0x5de488['NEG_ONE']=_0x360a3f;var _0x3bbc7a=_0x14e2ea(-0x1,0x7fffffff,!0x1);_0x5de488['MAX_VALUE']=_0x3bbc7a;var _0x579d3c=_0x14e2ea(-0x1,-0x1,!0x0);_0x5de488['MAX_UNSIGNED_VALUE']=_0x579d3c;var _0x3e4c42=_0x14e2ea(0x0,-0x80000000,!0x1);_0x5de488['MIN_VALUE']=_0x3e4c42;var _0x59d894=_0x5de488['prototype'];_0x59d894['toInt']=function(){return this['unsigned']?this['low']>>>0x0:this['low'];},_0x59d894['toNumber']=function(){return this['unsigned']?(this['high']>>>0x0)*_0x2bc7e5+(this['low']>>>0x0):this['high']*_0x2bc7e5+(this['low']>>>0x0);},_0x59d894['toString']=function(_0x4a7197){if((_0x4a7197=_0x4a7197||0xa)<0x2||0x24<_0x4a7197)throw RangeError('radix');if(this['isZero']())return'0';if(this['isNegative']()){if(this['eq'](_0x3e4c42)){var _0x3efc99=_0x4821b8(_0x4a7197),_0xacbbd2=this['div'](_0x3efc99),_0x33fc6d=_0xacbbd2['mul'](_0x3efc99)['sub'](this);return _0xacbbd2['toString'](_0x4a7197)+_0x33fc6d['toInt']()['toString'](_0x4a7197);}return'-'+this['neg']()['toString'](_0x4a7197);}for(var _0x50a558=_0x4821b8(_0x537243(_0x4a7197,0x6),this['unsigned']),_0x139cfe=this,_0x55b75b='';;){var _0x382beb=_0x139cfe['div'](_0x50a558),_0x2e6037=(_0x139cfe['sub'](_0x382beb['mul'](_0x50a558))['toInt']()>>>0x0)['toString'](_0x4a7197);if((_0x139cfe=_0x382beb)['isZero']())return _0x2e6037+_0x55b75b;for(;_0x2e6037['length']<0x6;)_0x2e6037='0'+_0x2e6037;_0x55b75b=''+_0x2e6037+_0x55b75b;}},_0x59d894['getHighBits']=function(){return this['high'];},_0x59d894['getHighBitsUnsigned']=function(){return this['high']>>>0x0;},_0x59d894['getLowBits']=function(){return this['low'];},_0x59d894['getLowBitsUnsigned']=function(){return this['low']>>>0x0;},_0x59d894['getNumBitsAbs']=function(){if(this['isNegative']())return this['eq'](_0x3e4c42)?0x40:this['neg']()['getNumBitsAbs']();for(var _0x45233b=0x0!=this['high']?this['high']:this['low'],_0x245239=0x1f;_0x245239>0x0&&!(_0x45233b&0x1<<_0x245239);_0x245239--);return 0x0!=this['high']?_0x245239+0x21:_0x245239+0x1;},_0x59d894['isSafeInteger']=function(){var _0x35f175=this['high']>>0x15;return!_0x35f175||!this['unsigned']&&-0x1===_0x35f175&&!(0x0===this['low']&&-0x200000===this['high']);},_0x59d894['isZero']=function(){return 0x0===this['high']&&0x0===this['low'];},_0x59d894['eqz']=_0x59d894['isZero'],_0x59d894['isNegative']=function(){return!this['unsigned']&&this['high']<0x0;},_0x59d894['isPositive']=function(){return this['unsigned']||this['high']>=0x0;},_0x59d894['isOdd']=function(){return!(0x1&~this['low']);},_0x59d894['isEven']=function(){return!(0x1&this['low']);},_0x59d894['equals']=function(_0x54ef14){return _0x215b46(_0x54ef14)||(_0x54ef14=_0x778cd1(_0x54ef14)),(this['unsigned']===_0x54ef14['unsigned']||this['high']>>>0x1f!=0x1||_0x54ef14['high']>>>0x1f!=0x1)&&this['high']===_0x54ef14['high']&&this['low']===_0x54ef14['low'];},_0x59d894['eq']=_0x59d894['equals'],_0x59d894['notEquals']=function(_0x612bd5){return!this['eq'](_0x612bd5);},_0x59d894['neq']=_0x59d894['notEquals'],_0x59d894['ne']=_0x59d894['notEquals'],_0x59d894['lessThan']=function(_0x2e0fa3){return this['comp'](_0x2e0fa3)<0x0;},_0x59d894['lt']=_0x59d894['lessThan'],_0x59d894['lessThanOrEqual']=function(_0x29b1a8){return this['comp'](_0x29b1a8)<=0x0;},_0x59d894['lte']=_0x59d894['lessThanOrEqual'],_0x59d894['le']=_0x59d894['lessThanOrEqual'],_0x59d894['greaterThan']=function(_0x5ad6d8){return this['comp'](_0x5ad6d8)>0x0;},_0x59d894['gt']=_0x59d894['greaterThan'],_0x59d894['greaterThanOrEqual']=function(_0x1b985e){return this['comp'](_0x1b985e)>=0x0;},_0x59d894['gte']=_0x59d894['greaterThanOrEqual'],_0x59d894['ge']=_0x59d894['greaterThanOrEqual'],_0x59d894['compare']=function(_0x18ec68){if(_0x215b46(_0x18ec68)||(_0x18ec68=_0x778cd1(_0x18ec68)),this['eq'](_0x18ec68))return 0x0;var _0x4179a2=this['isNegative'](),_0x31ef6d=_0x18ec68['isNegative']();return _0x4179a2&&!_0x31ef6d?-0x1:!_0x4179a2&&_0x31ef6d?0x1:this['unsigned']?_0x18ec68['high']>>>0x0>this['high']>>>0x0||_0x18ec68['high']===this['high']&&_0x18ec68['low']>>>0x0>this['low']>>>0x0?-0x1:0x1:this['sub'](_0x18ec68)['isNegative']()?-0x1:0x1;},_0x59d894['comp']=_0x59d894['compare'],_0x59d894['negate']=function(){return!this['unsigned']&&this['eq'](_0x3e4c42)?_0x3e4c42:this['not']()['add'](_0x39720d);},_0x59d894['neg']=_0x59d894['negate'],_0x59d894['add']=function(_0x546713){_0x215b46(_0x546713)||(_0x546713=_0x778cd1(_0x546713));var _0x26d51d=this['high']>>>0x10,_0x4434b7=0xffff&this['high'],_0x1e057e=this['low']>>>0x10,_0x5496ec=0xffff&this['low'],_0x463a05=_0x546713['high']>>>0x10,_0xff39f8=0xffff&_0x546713['high'],_0x302910=_0x546713['low']>>>0x10,_0x21a2aa=0x0,_0x3086ed=0x0,_0x2c35b3=0x0,_0x4531f7=0x0;return _0x2c35b3+=(_0x4531f7+=_0x5496ec+(0xffff&_0x546713['low']))>>>0x10,_0x3086ed+=(_0x2c35b3+=_0x1e057e+_0x302910)>>>0x10,_0x21a2aa+=(_0x3086ed+=_0x4434b7+_0xff39f8)>>>0x10,_0x21a2aa+=_0x26d51d+_0x463a05,_0x14e2ea((_0x2c35b3&=0xffff)<<0x10|(_0x4531f7&=0xffff),(_0x21a2aa&=0xffff)<<0x10|(_0x3086ed&=0xffff),this['unsigned']);},_0x59d894['subtract']=function(_0x643374){return _0x215b46(_0x643374)||(_0x643374=_0x778cd1(_0x643374)),this['add'](_0x643374['neg']());},_0x59d894['sub']=_0x59d894['subtract'],_0x59d894['multiply']=function(_0x2ca591){if(this['isZero']())return this;if(_0x215b46(_0x2ca591)||(_0x2ca591=_0x778cd1(_0x2ca591)),_0x1f4953)return _0x14e2ea(_0x1f4953['mul'](this['low'],this['high'],_0x2ca591['low'],_0x2ca591['high']),_0x1f4953['get_high'](),this['unsigned']);if(_0x2ca591['isZero']())return this['unsigned']?_0x3531e1:_0x3cba9a;if(this['eq'](_0x3e4c42))return _0x2ca591['isOdd']()?_0x3e4c42:_0x3cba9a;if(_0x2ca591['eq'](_0x3e4c42))return this['isOdd']()?_0x3e4c42:_0x3cba9a;if(this['isNegative']())return _0x2ca591['isNegative']()?this['neg']()['mul'](_0x2ca591['neg']()):this['neg']()['mul'](_0x2ca591)['neg']();if(_0x2ca591['isNegative']())return this['mul'](_0x2ca591['neg']())['neg']();if(this['lt'](_0x305241)&&_0x2ca591['lt'](_0x305241))return _0x4821b8(this['toNumber']()*_0x2ca591['toNumber'](),this['unsigned']);var _0x301979=this['high']>>>0x10,_0xc8a177=0xffff&this['high'],_0x49fc57=this['low']>>>0x10,_0xa15b32=0xffff&this['low'],_0x5c688c=_0x2ca591['high']>>>0x10,_0x26c4f2=0xffff&_0x2ca591['high'],_0x5d0d41=_0x2ca591['low']>>>0x10,_0x3d3907=0xffff&_0x2ca591['low'],_0x5dd7c3=0x0,_0x2a9e93=0x0,_0x473f9f=0x0,_0x189ccf=0x0;return _0x473f9f+=(_0x189ccf+=_0xa15b32*_0x3d3907)>>>0x10,_0x2a9e93+=(_0x473f9f+=_0x49fc57*_0x3d3907)>>>0x10,_0x473f9f&=0xffff,_0x2a9e93+=(_0x473f9f+=_0xa15b32*_0x5d0d41)>>>0x10,_0x5dd7c3+=(_0x2a9e93+=_0xc8a177*_0x3d3907)>>>0x10,_0x2a9e93&=0xffff,_0x5dd7c3+=(_0x2a9e93+=_0x49fc57*_0x5d0d41)>>>0x10,_0x2a9e93&=0xffff,_0x5dd7c3+=(_0x2a9e93+=_0xa15b32*_0x26c4f2)>>>0x10,_0x5dd7c3+=_0x301979*_0x3d3907+_0xc8a177*_0x5d0d41+_0x49fc57*_0x26c4f2+_0xa15b32*_0x5c688c,_0x14e2ea((_0x473f9f&=0xffff)<<0x10|(_0x189ccf&=0xffff),(_0x5dd7c3&=0xffff)<<0x10|(_0x2a9e93&=0xffff),this['unsigned']);},_0x59d894['mul']=_0x59d894['multiply'],_0x59d894['divide']=function(_0x3e51e1){if(_0x215b46(_0x3e51e1)||(_0x3e51e1=_0x778cd1(_0x3e51e1)),_0x3e51e1['isZero']())throw Error('division\x20by\x20zero');var _0x442c91,_0x466874,_0xae99ba;if(_0x1f4953)return this['unsigned']||-0x80000000!==this['high']||-0x1!==_0x3e51e1['low']||-0x1!==_0x3e51e1['high']?_0x14e2ea((this['unsigned']?_0x1f4953['div_u']:_0x1f4953['div_s'])(this['low'],this['high'],_0x3e51e1['low'],_0x3e51e1['high']),_0x1f4953['get_high'](),this['unsigned']):this;if(this['isZero']())return this['unsigned']?_0x3531e1:_0x3cba9a;if(this['unsigned']){if(_0x3e51e1['unsigned']||(_0x3e51e1=_0x3e51e1['toUnsigned']()),_0x3e51e1['gt'](this))return _0x3531e1;if(_0x3e51e1['gt'](this['shru'](0x1)))return _0x46f318;_0xae99ba=_0x3531e1;}else{if(this['eq'](_0x3e4c42))return _0x3e51e1['eq'](_0x39720d)||_0x3e51e1['eq'](_0x360a3f)?_0x3e4c42:_0x3e51e1['eq'](_0x3e4c42)?_0x39720d:(_0x442c91=this['shr'](0x1)['div'](_0x3e51e1)['shl'](0x1))['eq'](_0x3cba9a)?_0x3e51e1['isNegative']()?_0x39720d:_0x360a3f:(_0x466874=this['sub'](_0x3e51e1['mul'](_0x442c91)),_0xae99ba=_0x442c91['add'](_0x466874['div'](_0x3e51e1)));if(_0x3e51e1['eq'](_0x3e4c42))return this['unsigned']?_0x3531e1:_0x3cba9a;if(this['isNegative']())return _0x3e51e1['isNegative']()?this['neg']()['div'](_0x3e51e1['neg']()):this['neg']()['div'](_0x3e51e1)['neg']();if(_0x3e51e1['isNegative']())return this['div'](_0x3e51e1['neg']())['neg']();_0xae99ba=_0x3cba9a;}for(_0x466874=this;_0x466874['gte'](_0x3e51e1);){_0x442c91=Math['max'](0x1,Math['floor'](_0x466874['toNumber']()/_0x3e51e1['toNumber']()));for(var _0x4f37dc=Math['ceil'](Math['log'](_0x442c91)/Math['LN2']),_0x49019c=_0x4f37dc<=0x30?0x1:_0x537243(0x2,_0x4f37dc-0x30),_0x34205f=_0x4821b8(_0x442c91),_0xeac7ad=_0x34205f['mul'](_0x3e51e1);_0xeac7ad['isNegative']()||_0xeac7ad['gt'](_0x466874);)_0xeac7ad=(_0x34205f=_0x4821b8(_0x442c91-=_0x49019c,this['unsigned']))['mul'](_0x3e51e1);_0x34205f['isZero']()&&(_0x34205f=_0x39720d),_0xae99ba=_0xae99ba['add'](_0x34205f),_0x466874=_0x466874['sub'](_0xeac7ad);}return _0xae99ba;},_0x59d894['div']=_0x59d894['divide'],_0x59d894['modulo']=function(_0x5a5a6f){return _0x215b46(_0x5a5a6f)||(_0x5a5a6f=_0x778cd1(_0x5a5a6f)),_0x1f4953?_0x14e2ea((this['unsigned']?_0x1f4953['rem_u']:_0x1f4953['rem_s'])(this['low'],this['high'],_0x5a5a6f['low'],_0x5a5a6f['high']),_0x1f4953['get_high'](),this['unsigned']):this['sub'](this['div'](_0x5a5a6f)['mul'](_0x5a5a6f));},_0x59d894['mod']=_0x59d894['modulo'],_0x59d894['rem']=_0x59d894['modulo'],_0x59d894['not']=function(){return _0x14e2ea(~this['low'],~this['high'],this['unsigned']);},_0x59d894['countLeadingZeros']=function(){return this['high']?Math['clz32'](this['high']):Math['clz32'](this['low'])+0x20;},_0x59d894['clz']=_0x59d894['countLeadingZeros'],_0x59d894['countTrailingZeros']=function(){return this['low']?_0x1fb8df(this['low']):_0x1fb8df(this['high'])+0x20;},_0x59d894['ctz']=_0x59d894['countTrailingZeros'],_0x59d894['and']=function(_0x2dab5c){return _0x215b46(_0x2dab5c)||(_0x2dab5c=_0x778cd1(_0x2dab5c)),_0x14e2ea(this['low']&_0x2dab5c['low'],this['high']&_0x2dab5c['high'],this['unsigned']);},_0x59d894['or']=function(_0x202d5a){return _0x215b46(_0x202d5a)||(_0x202d5a=_0x778cd1(_0x202d5a)),_0x14e2ea(this['low']|_0x202d5a['low'],this['high']|_0x202d5a['high'],this['unsigned']);},_0x59d894['xor']=function(_0xe3eeb8){return _0x215b46(_0xe3eeb8)||(_0xe3eeb8=_0x778cd1(_0xe3eeb8)),_0x14e2ea(this['low']^_0xe3eeb8['low'],this['high']^_0xe3eeb8['high'],this['unsigned']);},_0x59d894['shiftLeft']=function(_0x27eacc){return _0x215b46(_0x27eacc)&&(_0x27eacc=_0x27eacc['toInt']()),0x0==(_0x27eacc&=0x3f)?this:_0x27eacc<0x20?_0x14e2ea(this['low']<<_0x27eacc,this['high']<<_0x27eacc|this['low']>>>0x20-_0x27eacc,this['unsigned']):_0x14e2ea(0x0,this['low']<<_0x27eacc-0x20,this['unsigned']);},_0x59d894['shl']=_0x59d894['shiftLeft'],_0x59d894['shiftRight']=function(_0x19c58b){return _0x215b46(_0x19c58b)&&(_0x19c58b=_0x19c58b['toInt']()),0x0==(_0x19c58b&=0x3f)?this:_0x19c58b<0x20?_0x14e2ea(this['low']>>>_0x19c58b|this['high']<<0x20-_0x19c58b,this['high']>>_0x19c58b,this['unsigned']):_0x14e2ea(this['high']>>_0x19c58b-0x20,this['high']>=0x0?0x0:-0x1,this['unsigned']);},_0x59d894['shr']=_0x59d894['shiftRight'],_0x59d894['shiftRightUnsigned']=function(_0x150bf5){return _0x215b46(_0x150bf5)&&(_0x150bf5=_0x150bf5['toInt']()),0x0==(_0x150bf5&=0x3f)?this:_0x150bf5<0x20?_0x14e2ea(this['low']>>>_0x150bf5|this['high']<<0x20-_0x150bf5,this['high']>>>_0x150bf5,this['unsigned']):_0x14e2ea(0x20===_0x150bf5?this['high']:this['high']>>>_0x150bf5-0x20,0x0,this['unsigned']);},_0x59d894['shru']=_0x59d894['shiftRightUnsigned'],_0x59d894['shr_u']=_0x59d894['shiftRightUnsigned'],_0x59d894['rotateLeft']=function(_0x22909c){var _0x80c530;return _0x215b46(_0x22909c)&&(_0x22909c=_0x22909c['toInt']()),0x0==(_0x22909c&=0x3f)?this:0x20===_0x22909c?_0x14e2ea(this['high'],this['low'],this['unsigned']):_0x22909c<0x20?(_0x80c530=0x20-_0x22909c,_0x14e2ea(this['low']<<_0x22909c|this['high']>>>_0x80c530,this['high']<<_0x22909c|this['low']>>>_0x80c530,this['unsigned'])):(_0x80c530=0x20-(_0x22909c-=0x20),_0x14e2ea(this['high']<<_0x22909c|this['low']>>>_0x80c530,this['low']<<_0x22909c|this['high']>>>_0x80c530,this['unsigned']));},_0x59d894['rotl']=_0x59d894['rotateLeft'],_0x59d894['rotateRight']=function(_0x49be62){var _0x1e4eec;return _0x215b46(_0x49be62)&&(_0x49be62=_0x49be62['toInt']()),0x0==(_0x49be62&=0x3f)?this:0x20===_0x49be62?_0x14e2ea(this['high'],this['low'],this['unsigned']):_0x49be62<0x20?(_0x1e4eec=0x20-_0x49be62,_0x14e2ea(this['high']<<_0x1e4eec|this['low']>>>_0x49be62,this['low']<<_0x1e4eec|this['high']>>>_0x49be62,this['unsigned'])):(_0x1e4eec=0x20-(_0x49be62-=0x20),_0x14e2ea(this['low']<<_0x1e4eec|this['high']>>>_0x49be62,this['high']<<_0x1e4eec|this['low']>>>_0x49be62,this['unsigned']));},_0x59d894['rotr']=_0x59d894['rotateRight'],_0x59d894['toSigned']=function(){return this['unsigned']?_0x14e2ea(this['low'],this['high'],!0x1):this;},_0x59d894['toUnsigned']=function(){return this['unsigned']?this:_0x14e2ea(this['low'],this['high'],!0x0);},_0x59d894['toBytes']=function(_0x2d6de6){return _0x2d6de6?this['toBytesLE']():this['toBytesBE']();},_0x59d894['toBytesLE']=function(){var _0x1779f2=this['high'],_0x8c05ec=this['low'];return[0xff&_0x8c05ec,_0x8c05ec>>>0x8&0xff,_0x8c05ec>>>0x10&0xff,_0x8c05ec>>>0x18,0xff&_0x1779f2,_0x1779f2>>>0x8&0xff,_0x1779f2>>>0x10&0xff,_0x1779f2>>>0x18];},_0x59d894['toBytesBE']=function(){var _0x45f3dc=this['high'],_0x967320=this['low'];return[_0x45f3dc>>>0x18,_0x45f3dc>>>0x10&0xff,_0x45f3dc>>>0x8&0xff,0xff&_0x45f3dc,_0x967320>>>0x18,_0x967320>>>0x10&0xff,_0x967320>>>0x8&0xff,0xff&_0x967320];},_0x5de488['fromBytes']=function(_0x133515,_0x50c351,_0x30bcae){return _0x30bcae?_0x5de488['fromBytesLE'](_0x133515,_0x50c351):_0x5de488['fromBytesBE'](_0x133515,_0x50c351);},_0x5de488['fromBytesLE']=function(_0x3ad7b0,_0x4dfab4){return new _0x5de488(_0x3ad7b0[0x0]|_0x3ad7b0[0x1]<<0x8|_0x3ad7b0[0x2]<<0x10|_0x3ad7b0[0x3]<<0x18,_0x3ad7b0[0x4]|_0x3ad7b0[0x5]<<0x8|_0x3ad7b0[0x6]<<0x10|_0x3ad7b0[0x7]<<0x18,_0x4dfab4);},_0x5de488['fromBytesBE']=function(_0x52a73a,_0x433deb){return new _0x5de488(_0x52a73a[0x4]<<0x18|_0x52a73a[0x5]<<0x10|_0x52a73a[0x6]<<0x8|_0x52a73a[0x7],_0x52a73a[0x0]<<0x18|_0x52a73a[0x1]<<0x10|_0x52a73a[0x2]<<0x8|_0x52a73a[0x3],_0x433deb);},'function'==typeof BigInt&&(_0x5de488['fromBigInt']=function(_0x25f374,_0x2f3493){return _0x14e2ea(Number(BigInt['asIntN'](0x20,_0x25f374)),Number(BigInt['asIntN'](0x20,_0x25f374>>BigInt(0x20))),_0x2f3493);},_0x5de488['fromValue']=function(_0x3ea75f,_0x3503df){return'bigint'==typeof _0x3ea75f?_0x5de488['fromBigInt'](_0x3ea75f,_0x3503df):_0x778cd1(_0x3ea75f,_0x3503df);},_0x59d894['toBigInt']=function(){var _0x57b878=BigInt(this['low']>>>0x0);return BigInt(this['unsigned']?this['high']>>>0x0:this['high'])<<BigInt(0x20)|_0x57b878;}),_0xb20b70['default']=_0x5de488;}(_0x37fe16),_0x29c597['exports']=function(_0xdb4853){return _0xdb4853['default']||_0xdb4853;}(_0x37fe16);}(_0x4363eb,_0x4363eb['exports'])),_0x4363eb['exports'];}function _0x164b01(){return _0x41a6ae||(_0x41a6ae=0x1,function(_0x5427a7){var _0xe0a3b1=_0x5427a7;function _0x1a169f(_0xe82060){return'__proto__'===_0xe82060||'prototype'===_0xe82060||'constructor'===_0xe82060;}function _0x240d9d(_0x3e90dc){var _0x44f38d='boolean'==typeof arguments[arguments['length']-0x1],_0xc84bb7=_0x44f38d?arguments['length']-0x1:arguments['length'];_0x44f38d=_0x44f38d&&arguments[arguments['length']-0x1];for(var _0x5d9927=0x1;_0x5d9927<_0xc84bb7;++_0x5d9927){var _0x370040=arguments[_0x5d9927];if(_0x370040){for(var _0x141db2=Object['keys'](_0x370040),_0x2b8f92=0x0;_0x2b8f92<_0x141db2['length'];++_0x2b8f92)_0x1a169f(_0x141db2[_0x2b8f92])||void 0x0!==_0x3e90dc[_0x141db2[_0x2b8f92]]&&_0x44f38d||(_0x3e90dc[_0x141db2[_0x2b8f92]]=_0x370040[_0x141db2[_0x2b8f92]]);}}return _0x3e90dc;}function _0x475664(_0x5b2f38){function _0x3c4e40(_0x528cb4,_0x59a266){if(!(this instanceof _0x3c4e40))return new _0x3c4e40(_0x528cb4,_0x59a266);Object['defineProperty'](this,'message',{'get':function(){return _0x528cb4;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x3c4e40):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x59a266&&_0x240d9d(this,_0x59a266);}return _0x3c4e40['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x3c4e40,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x5b2f38;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x3c4e40;}_0xe0a3b1['asPromise']=(_0x1a5d17||(_0x1a5d17=0x1,_0x32f533=function(_0x43e5c0,_0x59e11e){for(var _0x3da9d0=new Array(arguments['length']-0x1),_0x2de8aa=0x0,_0x60e2d3=0x2,_0x185536=!0x0;_0x60e2d3<arguments['length'];)_0x3da9d0[_0x2de8aa++]=arguments[_0x60e2d3++];return new Promise(function(_0x1b11d8,_0x22ad50){_0x3da9d0[_0x2de8aa]=function(_0x2d2785){if(_0x185536){if(_0x185536=!0x1,_0x2d2785)_0x22ad50(_0x2d2785);else{for(var _0x3a4ed4=new Array(arguments['length']-0x1),_0x419f13=0x0;_0x419f13<_0x3a4ed4['length'];)_0x3a4ed4[_0x419f13++]=arguments[_0x419f13];_0x1b11d8['apply'](null,_0x3a4ed4);}}};try{_0x43e5c0['apply'](_0x59e11e||null,_0x3da9d0);}catch(_0xa67182){_0x185536&&(_0x185536=!0x1,_0x22ad50(_0xa67182));}});}),_0x32f533),_0xe0a3b1['base64']=(_0x11fb3d||(_0x11fb3d=0x1,function(_0x4faf6d){var _0x5aa890=_0x4faf6d;_0x5aa890['length']=function(_0x23ea2f){var _0x18f6ba=_0x23ea2f['length'];if(!_0x18f6ba)return 0x0;for(var _0x496223=0x0;--_0x18f6ba%0x4>0x1&&'='===_0x23ea2f['charAt'](_0x18f6ba);)++_0x496223;return Math['ceil'](0x3*_0x23ea2f['length'])/0x4-_0x496223;};for(var _0x4baaed=new Array(0x40),_0x48ba76=new Array(0x7b),_0x120678=0x0;_0x120678<0x40;)_0x48ba76[_0x4baaed[_0x120678]=_0x120678<0x1a?_0x120678+0x41:_0x120678<0x34?_0x120678+0x47:_0x120678<0x3e?_0x120678-0x4:_0x120678-0x3b|0x2b]=_0x120678++;_0x5aa890['encode']=function(_0x5ab4a7,_0x4b7956,_0xb388ea){for(var t,_0x3b98be=null,_0x2a9ede=[],_0x2b9802=0x0,_0x94c86a=0x0;_0x4b7956<_0xb388ea;){var _0xceed16=_0x5ab4a7[_0x4b7956++];switch(_0x94c86a){case 0x0:_0x2a9ede[_0x2b9802++]=_0x4baaed[_0xceed16>>0x2],t=(0x3&_0xceed16)<<0x4,_0x94c86a=0x1;break;case 0x1:_0x2a9ede[_0x2b9802++]=_0x4baaed[t|_0xceed16>>0x4],t=(0xf&_0xceed16)<<0x2,_0x94c86a=0x2;break;case 0x2:_0x2a9ede[_0x2b9802++]=_0x4baaed[t|_0xceed16>>0x6],_0x2a9ede[_0x2b9802++]=_0x4baaed[0x3f&_0xceed16],_0x94c86a=0x0;}_0x2b9802>0x1fff&&((_0x3b98be||(_0x3b98be=[]))['push'](String['fromCharCode']['apply'](String,_0x2a9ede)),_0x2b9802=0x0);}return _0x94c86a&&(_0x2a9ede[_0x2b9802++]=_0x4baaed[t],_0x2a9ede[_0x2b9802++]=0x3d,0x1===_0x94c86a&&(_0x2a9ede[_0x2b9802++]=0x3d)),_0x3b98be?(_0x2b9802&&_0x3b98be['push'](String['fromCharCode']['apply'](String,_0x2a9ede['slice'](0x0,_0x2b9802))),_0x3b98be['join']('')):String['fromCharCode']['apply'](String,_0x2a9ede['slice'](0x0,_0x2b9802));};var _0x230da1='invalid\x20encoding';_0x5aa890['decode']=function(_0x38db8d,_0x55e6f2,_0x348d2e){for(var t,_0x48c7b4=_0x348d2e,_0x4742d7=0x0,_0x77684f=0x0;_0x77684f<_0x38db8d['length'];){var _0x5036f0=_0x38db8d['charCodeAt'](_0x77684f++);if(0x3d===_0x5036f0&&_0x4742d7>0x1)break;if(void 0x0===(_0x5036f0=_0x48ba76[_0x5036f0]))throw Error(_0x230da1);switch(_0x4742d7){case 0x0:t=_0x5036f0,_0x4742d7=0x1;break;case 0x1:_0x55e6f2[_0x348d2e++]=t<<0x2|(0x30&_0x5036f0)>>0x4,t=_0x5036f0,_0x4742d7=0x2;break;case 0x2:_0x55e6f2[_0x348d2e++]=(0xf&t)<<0x4|(0x3c&_0x5036f0)>>0x2,t=_0x5036f0,_0x4742d7=0x3;break;case 0x3:_0x55e6f2[_0x348d2e++]=(0x3&t)<<0x6|_0x5036f0,_0x4742d7=0x0;}}if(0x1===_0x4742d7)throw Error(_0x230da1);return _0x348d2e-_0x48c7b4;},_0x5aa890['test']=function(_0x166c12){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x166c12);};}(_0x65cfd8)),_0x65cfd8),_0xe0a3b1['EventEmitter']=(function(){if(_0x5e17ff)return _0x426b60;function _0x2f9fb2(){this['_listeners']=Object['create'](null);}return _0x5e17ff=0x1,_0x426b60=_0x2f9fb2,_0x2f9fb2['prototype']['on']=function(_0x280c3c,_0x2080cb,_0x1125bf){return(this['_listeners'][_0x280c3c]||(this['_listeners'][_0x280c3c]=[]))['push']({'fn':_0x2080cb,'ctx':_0x1125bf||this}),this;},_0x2f9fb2['prototype']['off']=function(_0x5563e6,_0x506188){if(void 0x0===_0x5563e6)this['_listeners']=Object['create'](null);else{if(void 0x0===_0x506188)this['_listeners'][_0x5563e6]=[];else{var _0x19fb53=this['_listeners'][_0x5563e6];if(!_0x19fb53)return this;for(var _0x5c58b4=0x0;_0x5c58b4<_0x19fb53['length'];)_0x19fb53[_0x5c58b4]['fn']===_0x506188?_0x19fb53['splice'](_0x5c58b4,0x1):++_0x5c58b4;}}return this;},_0x2f9fb2['prototype']['emit']=function(_0x248de9){var _0x4c2cd7=this['_listeners'][_0x248de9];if(_0x4c2cd7){for(var _0x21d67d=[],_0x41fc2c=0x1;_0x41fc2c<arguments['length'];)_0x21d67d['push'](arguments[_0x41fc2c++]);for(_0x41fc2c=0x0;_0x41fc2c<_0x4c2cd7['length'];)_0x4c2cd7[_0x41fc2c]['fn']['apply'](_0x4c2cd7[_0x41fc2c++]['ctx'],_0x21d67d);}return this;},_0x426b60;}()),_0xe0a3b1['float']=(function(){if(_0x2476d3)return _0x2e1516;function _0x5bdb97(_0x3f32ec){return'undefined'!=typeof Float32Array?(function(){var _0x40484a=new Float32Array([-0x0]),_0x544add=new Uint8Array(_0x40484a['buffer']),_0x21cfbb=0x80===_0x544add[0x3];function _0x1d6171(_0xc044ec,_0x76299d,_0x529574){_0x40484a[0x0]=_0xc044ec,_0x76299d[_0x529574]=_0x544add[0x0],_0x76299d[_0x529574+0x1]=_0x544add[0x1],_0x76299d[_0x529574+0x2]=_0x544add[0x2],_0x76299d[_0x529574+0x3]=_0x544add[0x3];}function _0x1c2313(_0x3fe600,_0x537581,_0x46fc67){_0x40484a[0x0]=_0x3fe600,_0x537581[_0x46fc67]=_0x544add[0x3],_0x537581[_0x46fc67+0x1]=_0x544add[0x2],_0x537581[_0x46fc67+0x2]=_0x544add[0x1],_0x537581[_0x46fc67+0x3]=_0x544add[0x0];}function _0x7b5221(_0x18b872,_0x15d8fe){return _0x544add[0x0]=_0x18b872[_0x15d8fe],_0x544add[0x1]=_0x18b872[_0x15d8fe+0x1],_0x544add[0x2]=_0x18b872[_0x15d8fe+0x2],_0x544add[0x3]=_0x18b872[_0x15d8fe+0x3],_0x40484a[0x0];}function _0x6d20df(_0x223dbc,_0x48b2ca){return _0x544add[0x3]=_0x223dbc[_0x48b2ca],_0x544add[0x2]=_0x223dbc[_0x48b2ca+0x1],_0x544add[0x1]=_0x223dbc[_0x48b2ca+0x2],_0x544add[0x0]=_0x223dbc[_0x48b2ca+0x3],_0x40484a[0x0];}_0x3f32ec['writeFloatLE']=_0x21cfbb?_0x1d6171:_0x1c2313,_0x3f32ec['writeFloatBE']=_0x21cfbb?_0x1c2313:_0x1d6171,_0x3f32ec['readFloatLE']=_0x21cfbb?_0x7b5221:_0x6d20df,_0x3f32ec['readFloatBE']=_0x21cfbb?_0x6d20df:_0x7b5221;}()):(function(){function _0x1477a5(_0x3a3517,_0x157d72,_0x5d0059,_0x330590){var _0x42cd1f=_0x157d72<0x0?0x1:0x0;if(_0x42cd1f&&(_0x157d72=-_0x157d72),0x0===_0x157d72)_0x3a3517(0x1/_0x157d72>0x0?0x0:0x80000000,_0x5d0059,_0x330590);else{if(isNaN(_0x157d72))_0x3a3517(0x7fc00000,_0x5d0059,_0x330590);else{if(_0x157d72>0xffffff00000000000000000000000000)_0x3a3517((_0x42cd1f<<0x1f|0x7f800000)>>>0x0,_0x5d0059,_0x330590);else{if(_0x157d72<1.1754943508222875e-38)_0x3a3517((_0x42cd1f<<0x1f|Math['round'](_0x157d72/1.401298464324817e-45))>>>0x0,_0x5d0059,_0x330590);else{var _0x153c04=Math['floor'](Math['log'](_0x157d72)/Math['LN2']);_0x3a3517((_0x42cd1f<<0x1f|_0x153c04+0x7f<<0x17|0x7fffff&Math['round'](_0x157d72*Math['pow'](0x2,-_0x153c04)*0x800000))>>>0x0,_0x5d0059,_0x330590);}}}}}function _0x492e26(_0x12c823,_0x1b4912,_0x2ad966){var _0x2fca6d=_0x12c823(_0x1b4912,_0x2ad966),_0x5e8fbb=0x2*(_0x2fca6d>>0x1f)+0x1,_0x13f7ec=_0x2fca6d>>>0x17&0xff,_0xe5f7d1=0x7fffff&_0x2fca6d;return 0xff===_0x13f7ec?_0xe5f7d1?NaN:_0x5e8fbb*(0x1/0x0):0x0===_0x13f7ec?1.401298464324817e-45*_0x5e8fbb*_0xe5f7d1:_0x5e8fbb*Math['pow'](0x2,_0x13f7ec-0x96)*(_0xe5f7d1+0x800000);}_0x3f32ec['writeFloatLE']=_0x1477a5['bind'](null,_0x15554),_0x3f32ec['writeFloatBE']=_0x1477a5['bind'](null,_0xe14f25),_0x3f32ec['readFloatLE']=_0x492e26['bind'](null,_0x4d6c61),_0x3f32ec['readFloatBE']=_0x492e26['bind'](null,_0x11870a);}()),'undefined'!=typeof Float64Array?(function(){var _0xacce48=new Float64Array([-0x0]),_0xf474a6=new Uint8Array(_0xacce48['buffer']),_0x3181fd=0x80===_0xf474a6[0x7];function _0x59e932(_0x18f8a8,_0x2143cd,_0x29577e){_0xacce48[0x0]=_0x18f8a8,_0x2143cd[_0x29577e]=_0xf474a6[0x0],_0x2143cd[_0x29577e+0x1]=_0xf474a6[0x1],_0x2143cd[_0x29577e+0x2]=_0xf474a6[0x2],_0x2143cd[_0x29577e+0x3]=_0xf474a6[0x3],_0x2143cd[_0x29577e+0x4]=_0xf474a6[0x4],_0x2143cd[_0x29577e+0x5]=_0xf474a6[0x5],_0x2143cd[_0x29577e+0x6]=_0xf474a6[0x6],_0x2143cd[_0x29577e+0x7]=_0xf474a6[0x7];}function _0x5a5390(_0x436268,_0x2b87a3,_0x4842c2){_0xacce48[0x0]=_0x436268,_0x2b87a3[_0x4842c2]=_0xf474a6[0x7],_0x2b87a3[_0x4842c2+0x1]=_0xf474a6[0x6],_0x2b87a3[_0x4842c2+0x2]=_0xf474a6[0x5],_0x2b87a3[_0x4842c2+0x3]=_0xf474a6[0x4],_0x2b87a3[_0x4842c2+0x4]=_0xf474a6[0x3],_0x2b87a3[_0x4842c2+0x5]=_0xf474a6[0x2],_0x2b87a3[_0x4842c2+0x6]=_0xf474a6[0x1],_0x2b87a3[_0x4842c2+0x7]=_0xf474a6[0x0];}function _0x22d897(_0x1a7b2e,_0x461ea8){return _0xf474a6[0x0]=_0x1a7b2e[_0x461ea8],_0xf474a6[0x1]=_0x1a7b2e[_0x461ea8+0x1],_0xf474a6[0x2]=_0x1a7b2e[_0x461ea8+0x2],_0xf474a6[0x3]=_0x1a7b2e[_0x461ea8+0x3],_0xf474a6[0x4]=_0x1a7b2e[_0x461ea8+0x4],_0xf474a6[0x5]=_0x1a7b2e[_0x461ea8+0x5],_0xf474a6[0x6]=_0x1a7b2e[_0x461ea8+0x6],_0xf474a6[0x7]=_0x1a7b2e[_0x461ea8+0x7],_0xacce48[0x0];}function _0x21e449(_0x2d55d5,_0x137203){return _0xf474a6[0x7]=_0x2d55d5[_0x137203],_0xf474a6[0x6]=_0x2d55d5[_0x137203+0x1],_0xf474a6[0x5]=_0x2d55d5[_0x137203+0x2],_0xf474a6[0x4]=_0x2d55d5[_0x137203+0x3],_0xf474a6[0x3]=_0x2d55d5[_0x137203+0x4],_0xf474a6[0x2]=_0x2d55d5[_0x137203+0x5],_0xf474a6[0x1]=_0x2d55d5[_0x137203+0x6],_0xf474a6[0x0]=_0x2d55d5[_0x137203+0x7],_0xacce48[0x0];}_0x3f32ec['writeDoubleLE']=_0x3181fd?_0x59e932:_0x5a5390,_0x3f32ec['writeDoubleBE']=_0x3181fd?_0x5a5390:_0x59e932,_0x3f32ec['readDoubleLE']=_0x3181fd?_0x22d897:_0x21e449,_0x3f32ec['readDoubleBE']=_0x3181fd?_0x21e449:_0x22d897;}()):(function(){function _0x52f4bd(_0x1b167b,_0x254b99,_0x29fd57,_0x1a506d,_0xfb129c,_0x386b5c){var _0x38f104=_0x1a506d<0x0?0x1:0x0;if(_0x38f104&&(_0x1a506d=-_0x1a506d),0x0===_0x1a506d)_0x1b167b(0x0,_0xfb129c,_0x386b5c+_0x254b99),_0x1b167b(0x1/_0x1a506d>0x0?0x0:0x80000000,_0xfb129c,_0x386b5c+_0x29fd57);else{if(isNaN(_0x1a506d))_0x1b167b(0x0,_0xfb129c,_0x386b5c+_0x254b99),_0x1b167b(0x7ff80000,_0xfb129c,_0x386b5c+_0x29fd57);else{if(_0x1a506d>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x1b167b(0x0,_0xfb129c,_0x386b5c+_0x254b99),_0x1b167b((_0x38f104<<0x1f|0x7ff00000)>>>0x0,_0xfb129c,_0x386b5c+_0x29fd57);else{var _0x4919c4;if(_0x1a506d<2.2250738585072014e-308)_0x1b167b((_0x4919c4=_0x1a506d/5e-324)>>>0x0,_0xfb129c,_0x386b5c+_0x254b99),_0x1b167b((_0x38f104<<0x1f|_0x4919c4/0x100000000)>>>0x0,_0xfb129c,_0x386b5c+_0x29fd57);else{var _0x587f14=Math['floor'](Math['log'](_0x1a506d)/Math['LN2']);0x400===_0x587f14&&(_0x587f14=0x3ff),_0x1b167b(0x10000000000000*(_0x4919c4=_0x1a506d*Math['pow'](0x2,-_0x587f14))>>>0x0,_0xfb129c,_0x386b5c+_0x254b99),_0x1b167b((_0x38f104<<0x1f|_0x587f14+0x3ff<<0x14|0x100000*_0x4919c4&0xfffff)>>>0x0,_0xfb129c,_0x386b5c+_0x29fd57);}}}}}function _0x2b724c(_0x1ec8ae,_0x4e240f,_0x562c3b,_0xb22c69,_0x4ce063){var _0x4e50fa=_0x1ec8ae(_0xb22c69,_0x4ce063+_0x4e240f),_0x2511f2=_0x1ec8ae(_0xb22c69,_0x4ce063+_0x562c3b),_0x4e8bcd=0x2*(_0x2511f2>>0x1f)+0x1,_0x28f275=_0x2511f2>>>0x14&0x7ff,_0x258ec1=0x100000000*(0xfffff&_0x2511f2)+_0x4e50fa;return 0x7ff===_0x28f275?_0x258ec1?NaN:_0x4e8bcd*(0x1/0x0):0x0===_0x28f275?5e-324*_0x4e8bcd*_0x258ec1:_0x4e8bcd*Math['pow'](0x2,_0x28f275-0x433)*(_0x258ec1+0x10000000000000);}_0x3f32ec['writeDoubleLE']=_0x52f4bd['bind'](null,_0x15554,0x0,0x4),_0x3f32ec['writeDoubleBE']=_0x52f4bd['bind'](null,_0xe14f25,0x4,0x0),_0x3f32ec['readDoubleLE']=_0x2b724c['bind'](null,_0x4d6c61,0x0,0x4),_0x3f32ec['readDoubleBE']=_0x2b724c['bind'](null,_0x11870a,0x4,0x0);}()),_0x3f32ec;}function _0x15554(_0x395934,_0xaba07d,_0x54e029){_0xaba07d[_0x54e029]=0xff&_0x395934,_0xaba07d[_0x54e029+0x1]=_0x395934>>>0x8&0xff,_0xaba07d[_0x54e029+0x2]=_0x395934>>>0x10&0xff,_0xaba07d[_0x54e029+0x3]=_0x395934>>>0x18;}function _0xe14f25(_0x5175c6,_0x147dcd,_0x46d7a9){_0x147dcd[_0x46d7a9]=_0x5175c6>>>0x18,_0x147dcd[_0x46d7a9+0x1]=_0x5175c6>>>0x10&0xff,_0x147dcd[_0x46d7a9+0x2]=_0x5175c6>>>0x8&0xff,_0x147dcd[_0x46d7a9+0x3]=0xff&_0x5175c6;}function _0x4d6c61(_0x549379,_0x54df3a){return(_0x549379[_0x54df3a]|_0x549379[_0x54df3a+0x1]<<0x8|_0x549379[_0x54df3a+0x2]<<0x10|_0x549379[_0x54df3a+0x3]<<0x18)>>>0x0;}function _0x11870a(_0x46c192,_0x2ba2f4){return(_0x46c192[_0x2ba2f4]<<0x18|_0x46c192[_0x2ba2f4+0x1]<<0x10|_0x46c192[_0x2ba2f4+0x2]<<0x8|_0x46c192[_0x2ba2f4+0x3])>>>0x0;}return _0x2476d3=0x1,_0x2e1516=_0x5bdb97(_0x5bdb97);}()),_0xe0a3b1['utf8']=(_0x5bd876||(_0x5bd876=0x1,function(_0x1df61e){var _0x1a82ba=_0x1df61e;_0x1a82ba['length']=function(_0x4db1eb){for(var _0x31fb78=0x0,_0x28eb47=0x0,_0x383350=0x0;_0x383350<_0x4db1eb['length'];++_0x383350)(_0x28eb47=_0x4db1eb['charCodeAt'](_0x383350))<0x80?_0x31fb78+=0x1:_0x28eb47<0x800?_0x31fb78+=0x2:0xd800==(0xfc00&_0x28eb47)&&0xdc00==(0xfc00&_0x4db1eb['charCodeAt'](_0x383350+0x1))?(++_0x383350,_0x31fb78+=0x4):_0x31fb78+=0x3;return _0x31fb78;},_0x1a82ba['read']=function(_0x12dcb5,_0x53ec89,_0x43abfb){if(_0x43abfb-_0x53ec89<0x1)return'';for(var _0xcbcced='',_0x407376=_0x53ec89;_0x407376<_0x43abfb;){var t=_0x12dcb5[_0x407376++];if(t<=0x7f)_0xcbcced+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x47d20d=(0x1f&t)<<0x6|0x3f&_0x12dcb5[_0x407376++];_0xcbcced+=_0x47d20d>=0x80?String['fromCharCode'](_0x47d20d):'�';}else{if(t>=0xe0&&t<0xf0){var _0x5d1592=(0xf&t)<<0xc|(0x3f&_0x12dcb5[_0x407376++])<<0x6|0x3f&_0x12dcb5[_0x407376++];_0xcbcced+=_0x5d1592>=0x800?String['fromCharCode'](_0x5d1592):'�';}else{if(t>=0xf0){var _0x2d8720=(0x7&t)<<0x12|(0x3f&_0x12dcb5[_0x407376++])<<0xc|(0x3f&_0x12dcb5[_0x407376++])<<0x6|0x3f&_0x12dcb5[_0x407376++];_0x2d8720<0x10000||_0x2d8720>0x10ffff?_0xcbcced+='�':(_0x2d8720-=0x10000,_0xcbcced+=String['fromCharCode'](0xd800+(_0x2d8720>>0xa)),_0xcbcced+=String['fromCharCode'](0xdc00+(0x3ff&_0x2d8720)));}}}}}return _0xcbcced;},_0x1a82ba['write']=function(_0x4df51f,_0x5d6d19,_0x496859){for(var _0x2dd1fb,_0xf9257,_0x8c4d4e=_0x496859,_0x1db2f2=0x0;_0x1db2f2<_0x4df51f['length'];++_0x1db2f2)(_0x2dd1fb=_0x4df51f['charCodeAt'](_0x1db2f2))<0x80?_0x5d6d19[_0x496859++]=_0x2dd1fb:_0x2dd1fb<0x800?(_0x5d6d19[_0x496859++]=_0x2dd1fb>>0x6|0xc0,_0x5d6d19[_0x496859++]=0x3f&_0x2dd1fb|0x80):0xd800==(0xfc00&_0x2dd1fb)&&0xdc00==(0xfc00&(_0xf9257=_0x4df51f['charCodeAt'](_0x1db2f2+0x1)))?(_0x2dd1fb=0x10000+((0x3ff&_0x2dd1fb)<<0xa)+(0x3ff&_0xf9257),++_0x1db2f2,_0x5d6d19[_0x496859++]=_0x2dd1fb>>0x12|0xf0,_0x5d6d19[_0x496859++]=_0x2dd1fb>>0xc&0x3f|0x80,_0x5d6d19[_0x496859++]=_0x2dd1fb>>0x6&0x3f|0x80,_0x5d6d19[_0x496859++]=0x3f&_0x2dd1fb|0x80):(_0x5d6d19[_0x496859++]=_0x2dd1fb>>0xc|0xe0,_0x5d6d19[_0x496859++]=_0x2dd1fb>>0x6&0x3f|0x80,_0x5d6d19[_0x496859++]=0x3f&_0x2dd1fb|0x80);return _0x496859-_0x8c4d4e;};}(_0x116b71)),_0x116b71),_0xe0a3b1['pool']=(_0x2798ed||(_0x2798ed=0x1,_0x26cefb=function(_0x32e8d1,_0x272392,_0x52ce86){var _0x59786f=_0x52ce86||0x2000,_0x1dc0bc=_0x59786f>>>0x1,_0x36dee8=null,_0x54084f=_0x59786f;return function(_0x4c6ec3){if(_0x4c6ec3<0x1||_0x4c6ec3>_0x1dc0bc)return _0x32e8d1(_0x4c6ec3);_0x54084f+_0x4c6ec3>_0x59786f&&(_0x36dee8=_0x32e8d1(_0x59786f),_0x54084f=0x0);var _0x5aa4ab=_0x272392['call'](_0x36dee8,_0x54084f,_0x54084f+=_0x4c6ec3);return 0x7&_0x54084f&&(_0x54084f=0x1+(0x7|_0x54084f)),_0x5aa4ab;};}),_0x26cefb),_0xe0a3b1['LongBits']=(function(){if(_0x5bb26e)return _0x49750d;_0x5bb26e=0x1,_0x49750d=_0x5cc42b;var _0x574aa4=_0x164b01();function _0x5cc42b(_0x43542b,_0xeb00cd){this['lo']=_0x43542b>>>0x0,this['hi']=_0xeb00cd>>>0x0;}var _0xfea2bc=_0x5cc42b['zero']=new _0x5cc42b(0x0,0x0);_0xfea2bc['toNumber']=function(){return 0x0;},_0xfea2bc['zzEncode']=_0xfea2bc['zzDecode']=function(){return this;},_0xfea2bc['length']=function(){return 0x1;};var _0xe71bf0=_0x5cc42b['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x5cc42b['fromNumber']=function(_0x281c00){if(0x0===_0x281c00)return _0xfea2bc;var _0x457f70=_0x281c00<0x0;_0x457f70&&(_0x281c00=-_0x281c00);var _0x7234eb=_0x281c00>>>0x0,_0x267fc2=(_0x281c00-_0x7234eb)/0x100000000>>>0x0;return _0x457f70&&(_0x267fc2=~_0x267fc2>>>0x0,_0x7234eb=~_0x7234eb>>>0x0,++_0x7234eb>0xffffffff&&(_0x7234eb=0x0,++_0x267fc2>0xffffffff&&(_0x267fc2=0x0))),new _0x5cc42b(_0x7234eb,_0x267fc2);},_0x5cc42b['from']=function(_0x530f36){if('number'==typeof _0x530f36)return _0x5cc42b['fromNumber'](_0x530f36);if(_0x574aa4['isString'](_0x530f36)){if(!_0x574aa4['Long'])return _0x5cc42b['fromNumber'](parseInt(_0x530f36,0xa));_0x530f36=_0x574aa4['Long']['fromString'](_0x530f36);}return _0x530f36['low']||_0x530f36['high']?new _0x5cc42b(_0x530f36['low']>>>0x0,_0x530f36['high']>>>0x0):_0xfea2bc;},_0x5cc42b['prototype']['toNumber']=function(_0x3e4aca){if(!_0x3e4aca&&this['hi']>>>0x1f){var _0x1c41f0=0x1+~this['lo']>>>0x0,_0x266042=~this['hi']>>>0x0;return _0x1c41f0||(_0x266042=_0x266042+0x1>>>0x0),-(_0x1c41f0+0x100000000*_0x266042);}return this['lo']+0x100000000*this['hi'];},_0x5cc42b['prototype']['toLong']=function(_0x8c8b38){return _0x574aa4['Long']?new _0x574aa4['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x8c8b38)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x8c8b38)};};var _0x357ac8=String['prototype']['charCodeAt'];return _0x5cc42b['fromHash']=function(_0x2296c3){return _0x2296c3===_0xe71bf0?_0xfea2bc:new _0x5cc42b((_0x357ac8['call'](_0x2296c3,0x0)|_0x357ac8['call'](_0x2296c3,0x1)<<0x8|_0x357ac8['call'](_0x2296c3,0x2)<<0x10|_0x357ac8['call'](_0x2296c3,0x3)<<0x18)>>>0x0,(_0x357ac8['call'](_0x2296c3,0x4)|_0x357ac8['call'](_0x2296c3,0x5)<<0x8|_0x357ac8['call'](_0x2296c3,0x6)<<0x10|_0x357ac8['call'](_0x2296c3,0x7)<<0x18)>>>0x0);},_0x5cc42b['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);},_0x5cc42b['prototype']['zzEncode']=function(){var _0x5c8ca9=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x5c8ca9)>>>0x0,this['lo']=(this['lo']<<0x1^_0x5c8ca9)>>>0x0,this;},_0x5cc42b['prototype']['zzDecode']=function(){var _0x1dc737=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x1dc737)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x1dc737)>>>0x0,this;},_0x5cc42b['prototype']['length']=function(){var _0x38fec4=this['lo'],_0x45b80a=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x1ea390=this['hi']>>>0x18;return 0x0===_0x1ea390?0x0===_0x45b80a?_0x38fec4<0x4000?_0x38fec4<0x80?0x1:0x2:_0x38fec4<0x200000?0x3:0x4:_0x45b80a<0x4000?_0x45b80a<0x80?0x5:0x6:_0x45b80a<0x200000?0x7:0x8:_0x1ea390<0x80?0x9:0xa;},_0x49750d;}()),_0xe0a3b1['isUnsafeProperty']=_0x1a169f,_0xe0a3b1['isNode']=Boolean(void 0x0!==_0x2bcde3&&_0x2bcde3&&_0x2bcde3['process']&&_0x2bcde3['process']['versions']&&_0x2bcde3['process']['versions']['node']),_0xe0a3b1['global']=_0xe0a3b1['isNode']&&_0x2bcde3||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x3a6732,_0xe0a3b1['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0xe0a3b1['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0xe0a3b1['isInteger']=Number['isInteger']||function(_0x1da380){return'number'==typeof _0x1da380&&isFinite(_0x1da380)&&Math['floor'](_0x1da380)===_0x1da380;},_0xe0a3b1['isString']=function(_0x1ea65a){return'string'==typeof _0x1ea65a||_0x1ea65a instanceof String;},_0xe0a3b1['isObject']=function(_0x42e912){return _0x42e912&&'object'==typeof _0x42e912;},_0xe0a3b1['isset']=_0xe0a3b1['isSet']=function(_0x14a14a,_0xf3762c){var _0x2a82d3=_0x14a14a[_0xf3762c];return!(null==_0x2a82d3||!Object['hasOwnProperty']['call'](_0x14a14a,_0xf3762c))&&('object'!=typeof _0x2a82d3||(Array['isArray'](_0x2a82d3)?_0x2a82d3['length']:Object['keys'](_0x2a82d3)['length'])>0x0);},_0xe0a3b1['Buffer']=(function(){try{var _0xd7bd88=_0xe0a3b1['global']['Buffer'];return _0xd7bd88['prototype']['utf8Write']?_0xd7bd88:null;}catch(_0x466909){return null;}}()),_0xe0a3b1['_Buffer_from']=null,_0xe0a3b1['_Buffer_allocUnsafe']=null,_0xe0a3b1['newBuffer']=function(_0x360af2){return'number'==typeof _0x360af2?_0xe0a3b1['Buffer']?_0xe0a3b1['_Buffer_allocUnsafe'](_0x360af2):new _0xe0a3b1['Array'](_0x360af2):_0xe0a3b1['Buffer']?_0xe0a3b1['_Buffer_from'](_0x360af2):'undefined'==typeof Uint8Array?_0x360af2:new Uint8Array(_0x360af2);},_0xe0a3b1['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0xe0a3b1['Long']=_0xe0a3b1['global']['dcodeIO']&&_0xe0a3b1['global']['dcodeIO']['Long']||_0xe0a3b1['global']['Long']||(function(){try{var _0x29ee2a=_0x2735a4();return _0x29ee2a&&_0x29ee2a['isLong']?_0x29ee2a:null;}catch(_0x4580c3){return null;}}()),_0xe0a3b1['key2Re']=/^true|false|0|1$/,_0xe0a3b1['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0xe0a3b1['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0xe0a3b1['longToHash']=function(_0x146c87){return _0x146c87?_0xe0a3b1['LongBits']['from'](_0x146c87)['toHash']():_0xe0a3b1['LongBits']['zeroHash'];},_0xe0a3b1['longFromHash']=function(_0x54110b,_0x3dd0e5){var _0x428d68=_0xe0a3b1['LongBits']['fromHash'](_0x54110b);return _0xe0a3b1['Long']?_0xe0a3b1['Long']['fromBits'](_0x428d68['lo'],_0x428d68['hi'],_0x3dd0e5):_0x428d68['toNumber'](Boolean(_0x3dd0e5));},_0xe0a3b1['merge']=_0x240d9d,_0xe0a3b1['nestingLimit']=0x20,_0xe0a3b1['recursionLimit']=0x64,_0xe0a3b1['makeProp']=function(_0x39ccee,_0x12e760){Object['defineProperty'](_0x39ccee,_0x12e760,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0xe0a3b1['lcFirst']=function(_0x1cae70){return _0x1cae70['charAt'](0x0)['toLowerCase']()+_0x1cae70['substring'](0x1);},_0xe0a3b1['newError']=_0x475664,_0xe0a3b1['ProtocolError']=_0x475664('ProtocolError'),_0xe0a3b1['oneOfGetter']=function(_0x29548b){for(var _0xec4f06={},_0x44cc3c=0x0;_0x44cc3c<_0x29548b['length'];++_0x44cc3c)_0xec4f06[_0x29548b[_0x44cc3c]]=0x1;return function(){for(var _0xa380fc=Object['keys'](this),_0x4f78b9=_0xa380fc['length']-0x1;_0x4f78b9>-0x1;--_0x4f78b9)if(0x1===_0xec4f06[_0xa380fc[_0x4f78b9]]&&void 0x0!==this[_0xa380fc[_0x4f78b9]]&&null!==this[_0xa380fc[_0x4f78b9]])return _0xa380fc[_0x4f78b9];};},_0xe0a3b1['oneOfSetter']=function(_0x56cc31){return function(_0xb7c7a8){for(var _0x566a0c=0x0;_0x566a0c<_0x56cc31['length'];++_0x566a0c)_0x56cc31[_0x566a0c]!==_0xb7c7a8&&delete this[_0x56cc31[_0x566a0c]];};},_0xe0a3b1['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0xe0a3b1['_configure']=function(){var _0x3c5cdd=_0xe0a3b1['Buffer'];_0x3c5cdd?(_0xe0a3b1['_Buffer_from']=_0x3c5cdd['from']!==Uint8Array['from']&&_0x3c5cdd['from']||function(_0x4c2ca5,_0x36c66c){return new _0x3c5cdd(_0x4c2ca5,_0x36c66c);},_0xe0a3b1['_Buffer_allocUnsafe']=_0x3c5cdd['allocUnsafe']||function(_0x43f915){return new _0x3c5cdd(_0x43f915);}):_0xe0a3b1['_Buffer_from']=_0xe0a3b1['_Buffer_allocUnsafe']=null;};}(_0x3a6732)),_0x3a6732;}function _0x3189ed(){if(_0x27e836)return _0xab3e47;_0x27e836=0x1,_0xab3e47=_0x396d46;var _0x3b50f4,_0x53bfe9=_0x164b01(),_0x3f6778=_0x53bfe9['LongBits'],_0x3f61b2=_0x53bfe9['base64'],_0x475293=_0x53bfe9['utf8'];function _0x2bd16a(_0x4f0693,_0x268cf3,_0x5920f3){this['fn']=_0x4f0693,this['len']=_0x268cf3,this['next']=void 0x0,this['val']=_0x5920f3;}function _0xd5884e(){}function _0x44ba7b(_0x5ad126){this['head']=_0x5ad126['head'],this['tail']=_0x5ad126['tail'],this['len']=_0x5ad126['len'],this['next']=_0x5ad126['states'];}function _0x396d46(){this['len']=0x0,this['head']=new _0x2bd16a(_0xd5884e,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x282855=function(){return _0x53bfe9['Buffer']?function(){return(_0x396d46['create']=function(){return new _0x3b50f4();})();}:function(){return new _0x396d46();};};function _0x56f26b(_0x56e4cb,_0x2f7beb,_0x30b3cd){_0x2f7beb[_0x30b3cd]=0xff&_0x56e4cb;}function _0x16775b(_0x296a85,_0x2056eb){this['len']=_0x296a85,this['next']=void 0x0,this['val']=_0x2056eb;}function _0xc888c3(_0x513008,_0x1a20f2,_0x460d4c){for(var _0x12fb37=_0x513008['lo'],_0x4a1aaa=_0x513008['hi'];_0x4a1aaa;)_0x1a20f2[_0x460d4c++]=0x7f&_0x12fb37|0x80,_0x12fb37=(_0x12fb37>>>0x7|_0x4a1aaa<<0x19)>>>0x0,_0x4a1aaa>>>=0x7;for(;_0x12fb37>0x7f;)_0x1a20f2[_0x460d4c++]=0x7f&_0x12fb37|0x80,_0x12fb37>>>=0x7;_0x1a20f2[_0x460d4c++]=_0x12fb37;}function _0x3e255e(_0x4972d4,_0x28bee3,_0x2f6399){_0x28bee3[_0x2f6399]=0xff&_0x4972d4,_0x28bee3[_0x2f6399+0x1]=_0x4972d4>>>0x8&0xff,_0x28bee3[_0x2f6399+0x2]=_0x4972d4>>>0x10&0xff,_0x28bee3[_0x2f6399+0x3]=_0x4972d4>>>0x18;}_0x396d46['create']=_0x282855(),_0x396d46['alloc']=function(_0x12e6f7){return new _0x53bfe9['Array'](_0x12e6f7);},_0x53bfe9['Array']!==Array&&(_0x396d46['alloc']=_0x53bfe9['pool'](_0x396d46['alloc'],_0x53bfe9['Array']['prototype']['subarray'])),_0x396d46['prototype']['_push']=function(_0x45ccac,_0x21f8bb,_0x29f699){return this['tail']=this['tail']['next']=new _0x2bd16a(_0x45ccac,_0x21f8bb,_0x29f699),this['len']+=_0x21f8bb,this;},_0x16775b['prototype']=Object['create'](_0x2bd16a['prototype']),_0x16775b['prototype']['fn']=function(_0xc37427,_0x89dd96,_0x32de4c){for(;_0xc37427>0x7f;)_0x89dd96[_0x32de4c++]=0x7f&_0xc37427|0x80,_0xc37427>>>=0x7;_0x89dd96[_0x32de4c]=_0xc37427;},_0x396d46['prototype']['uint32']=function(_0xc43e53){return this['len']+=(this['tail']=this['tail']['next']=new _0x16775b((_0xc43e53>>>=0x0)<0x80?0x1:_0xc43e53<0x4000?0x2:_0xc43e53<0x200000?0x3:_0xc43e53<0x10000000?0x4:0x5,_0xc43e53))['len'],this;},_0x396d46['prototype']['int32']=function(_0x17e2e3){return(_0x17e2e3|=0x0)<0x0?this['_push'](_0xc888c3,0xa,_0x3f6778['fromNumber'](_0x17e2e3)):this['uint32'](_0x17e2e3);},_0x396d46['prototype']['sint32']=function(_0x542597){return this['uint32']((_0x542597<<0x1^_0x542597>>0x1f)>>>0x0);},_0x396d46['prototype']['uint64']=function(_0x58339d){var _0x457bee=_0x3f6778['from'](_0x58339d);return this['_push'](_0xc888c3,_0x457bee['length'](),_0x457bee);},_0x396d46['prototype']['int64']=_0x396d46['prototype']['uint64'],_0x396d46['prototype']['sint64']=function(_0xa7bf63){var _0x3cb180=_0x3f6778['from'](_0xa7bf63)['zzEncode']();return this['_push'](_0xc888c3,_0x3cb180['length'](),_0x3cb180);},_0x396d46['prototype']['bool']=function(_0x2b0dbc){return this['_push'](_0x56f26b,0x1,_0x2b0dbc?0x1:0x0);},_0x396d46['prototype']['fixed32']=function(_0x46b1be){return this['_push'](_0x3e255e,0x4,_0x46b1be>>>0x0);},_0x396d46['prototype']['sfixed32']=_0x396d46['prototype']['fixed32'],_0x396d46['prototype']['fixed64']=function(_0x3931ad){var _0x120cbe=_0x3f6778['from'](_0x3931ad);return this['_push'](_0x3e255e,0x4,_0x120cbe['lo'])['_push'](_0x3e255e,0x4,_0x120cbe['hi']);},_0x396d46['prototype']['sfixed64']=_0x396d46['prototype']['fixed64'],_0x396d46['prototype']['float']=function(_0x8a133c){return this['_push'](_0x53bfe9['float']['writeFloatLE'],0x4,_0x8a133c);},_0x396d46['prototype']['double']=function(_0x2c6e03){return this['_push'](_0x53bfe9['float']['writeDoubleLE'],0x8,_0x2c6e03);};var _0x14e257=_0x53bfe9['Array']['prototype']['set']?function(_0x947788,_0x275eed,_0x3c45e){_0x275eed['set'](_0x947788,_0x3c45e);}:function(_0x196047,_0x4aef91,_0x2786f6){for(var _0x4cde27=0x0;_0x4cde27<_0x196047['length'];++_0x4cde27)_0x4aef91[_0x2786f6+_0x4cde27]=_0x196047[_0x4cde27];};return _0x396d46['prototype']['bytes']=function(_0x4c7888){var _0x1fd948=_0x4c7888['length']>>>0x0;if(!_0x1fd948)return this['_push'](_0x56f26b,0x1,0x0);if(_0x53bfe9['isString'](_0x4c7888)){var _0x2aac49=_0x396d46['alloc'](_0x1fd948=_0x3f61b2['length'](_0x4c7888));_0x3f61b2['decode'](_0x4c7888,_0x2aac49,0x0),_0x4c7888=_0x2aac49;}return this['uint32'](_0x1fd948)['_push'](_0x14e257,_0x1fd948,_0x4c7888);},_0x396d46['prototype']['string']=function(_0x542e0d){var _0x397337=_0x475293['length'](_0x542e0d);return _0x397337?this['uint32'](_0x397337)['_push'](_0x475293['write'],_0x397337,_0x542e0d):this['_push'](_0x56f26b,0x1,0x0);},_0x396d46['prototype']['fork']=function(){return this['states']=new _0x44ba7b(this),this['head']=this['tail']=new _0x2bd16a(_0xd5884e,0x0,0x0),this['len']=0x0,this;},_0x396d46['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 _0x2bd16a(_0xd5884e,0x0,0x0),this['len']=0x0),this;},_0x396d46['prototype']['ldelim']=function(){var _0x47e38b=this['head'],_0x28734f=this['tail'],_0x2b4b46=this['len'];return this['reset']()['uint32'](_0x2b4b46),_0x2b4b46&&(this['tail']['next']=_0x47e38b['next'],this['tail']=_0x28734f,this['len']+=_0x2b4b46),this;},_0x396d46['prototype']['finish']=function(){for(var _0x4a0f94=this['head']['next'],_0x13e9d9=this['constructor']['alloc'](this['len']),_0xd96227=0x0;_0x4a0f94;)_0x4a0f94['fn'](_0x4a0f94['val'],_0x13e9d9,_0xd96227),_0xd96227+=_0x4a0f94['len'],_0x4a0f94=_0x4a0f94['next'];return _0x13e9d9;},_0x396d46['_configure']=function(_0x3e9961){_0x3b50f4=_0x3e9961,_0x396d46['create']=_0x282855(),_0x3b50f4['_configure']();},_0xab3e47;}function _0xa6d15a(){if(_0x56a3d9)return _0x340390;_0x56a3d9=0x1,_0x340390=_0x5ec912;var _0x47518b,_0x479259=_0x164b01(),_0x2c88ca=_0x479259['LongBits'],_0x5bce72=_0x479259['utf8'];function _0x4a9e03(_0x4c8cfe,_0x10a61f){return RangeError('index\x20out\x20of\x20range:\x20'+_0x4c8cfe['pos']+'\x20+\x20'+(_0x10a61f||0x1)+'\x20>\x20'+_0x4c8cfe['len']);}function _0x5ec912(_0x514156){this['buf']=_0x514156,this['pos']=0x0,this['len']=_0x514156['length'];}var _0x637fd5='undefined'!=typeof Uint8Array?function(_0xcbbf08){if(_0xcbbf08 instanceof Uint8Array||Array['isArray'](_0xcbbf08))return new _0x5ec912(_0xcbbf08);throw Error('illegal\x20buffer');}:function(_0x556714){if(Array['isArray'](_0x556714))return new _0x5ec912(_0x556714);throw Error('illegal\x20buffer');},_0xdbaf75=function(){return _0x479259['Buffer']?function(_0x3d54fb){return(_0x5ec912['create']=function(_0x23701c){return _0x479259['Buffer']['isBuffer'](_0x23701c)?new _0x47518b(_0x23701c):_0x637fd5(_0x23701c);})(_0x3d54fb);}:_0x637fd5;};function _0x599153(){var _0x5f413f=new _0x2c88ca(0x0,0x0),_0x252de3=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x252de3<0x3;++_0x252de3){if(this['pos']>=this['len'])throw _0x4a9e03(this);if(_0x5f413f['lo']=(_0x5f413f['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x252de3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5f413f;}return _0x5f413f['lo']=(_0x5f413f['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x252de3)>>>0x0,_0x5f413f;}for(;_0x252de3<0x4;++_0x252de3)if(_0x5f413f['lo']=(_0x5f413f['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x252de3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5f413f;if(_0x5f413f['lo']=(_0x5f413f['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x5f413f['hi']=(_0x5f413f['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5f413f;if(_0x252de3=0x0,this['len']-this['pos']>0x4){for(;_0x252de3<0x5;++_0x252de3)if(_0x5f413f['hi']=(_0x5f413f['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x252de3+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5f413f;}else for(;_0x252de3<0x5;++_0x252de3){if(this['pos']>=this['len'])throw _0x4a9e03(this);if(_0x5f413f['hi']=(_0x5f413f['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x252de3+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5f413f;}throw Error('invalid\x20varint\x20encoding');}function _0x20e8f0(_0x14ef29,_0x4852b7){return(_0x14ef29[_0x4852b7-0x4]|_0x14ef29[_0x4852b7-0x3]<<0x8|_0x14ef29[_0x4852b7-0x2]<<0x10|_0x14ef29[_0x4852b7-0x1]<<0x18)>>>0x0;}function _0x328d21(){if(this['pos']+0x8>this['len'])throw _0x4a9e03(this,0x8);return new _0x2c88ca(_0x20e8f0(this['buf'],this['pos']+=0x4),_0x20e8f0(this['buf'],this['pos']+=0x4));}return _0x5ec912['create']=_0xdbaf75(),_0x5ec912['prototype']['_slice']=_0x479259['Array']['prototype']['subarray']||_0x479259['Array']['prototype']['slice'],_0x5ec912['prototype']['uint32']=(function(){var _0x45c61a=0xffffffff;return function(){if(_0x45c61a=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x45c61a;if(_0x45c61a=(_0x45c61a|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x45c61a;if(_0x45c61a=(_0x45c61a|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x45c61a;if(_0x45c61a=(_0x45c61a|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x45c61a;if(_0x45c61a=(_0x45c61a|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x45c61a;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x4a9e03(this,0xa);return _0x45c61a;};}()),_0x5ec912['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x5ec912['prototype']['sint32']=function(){var _0x50c0f0=this['uint32']();return _0x50c0f0>>>0x1^-(0x1&_0x50c0f0);},_0x5ec912['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x5ec912['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x4a9e03(this,0x4);return _0x20e8f0(this['buf'],this['pos']+=0x4);},_0x5ec912['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x4a9e03(this,0x4);return 0x0|_0x20e8f0(this['buf'],this['pos']+=0x4);},_0x5ec912['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x4a9e03(this,0x4);var _0x5ee151=_0x479259['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x5ee151;},_0x5ec912['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x4a9e03(this,0x4);var _0x34f683=_0x479259['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x34f683;},_0x5ec912['prototype']['bytes']=function(){var _0x1a7957=this['uint32'](),_0x5d9a24=this['pos'],_0x12df32=this['pos']+_0x1a7957;if(_0x12df32>this['len'])throw _0x4a9e03(this,_0x1a7957);if(this['pos']+=_0x1a7957,Array['isArray'](this['buf']))return this['buf']['slice'](_0x5d9a24,_0x12df32);if(_0x5d9a24===_0x12df32){var _0x26f182=_0x479259['Buffer'];return _0x26f182?_0x26f182['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x5d9a24,_0x12df32);},_0x5ec912['prototype']['string']=function(){var _0x14a233=this['bytes']();return _0x5bce72['read'](_0x14a233,0x0,_0x14a233['length']);},_0x5ec912['prototype']['skip']=function(_0x28f8d6){if('number'==typeof _0x28f8d6){if(this['pos']+_0x28f8d6>this['len'])throw _0x4a9e03(this,_0x28f8d6);this['pos']+=_0x28f8d6;}else do{if(this['pos']>=this['len'])throw _0x4a9e03(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x5ec912['recursionLimit']=_0x479259['recursionLimit'],_0x5ec912['prototype']['skipType']=function(_0x3a041d,_0x2eb4ac){if(void 0x0===_0x2eb4ac&&(_0x2eb4ac=0x0),_0x2eb4ac>_0x5ec912['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x3a041d){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x3a041d=0x7&this['uint32']());)this['skipType'](_0x3a041d,_0x2eb4ac+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x3a041d+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x5ec912['_configure']=function(_0x18adb0){_0x47518b=_0x18adb0,_0x5ec912['create']=_0xdbaf75(),_0x47518b['_configure']();var _0x41aa7d=_0x479259['Long']?'toLong':'toNumber';_0x479259['merge'](_0x5ec912['prototype'],{'int64':function(){return _0x599153['call'](this)[_0x41aa7d](!0x1);},'uint64':function(){return _0x599153['call'](this)[_0x41aa7d](!0x0);},'sint64':function(){return _0x599153['call'](this)['zzDecode']()[_0x41aa7d](!0x1);},'fixed64':function(){return _0x328d21['call'](this)[_0x41aa7d](!0x0);},'sfixed64':function(){return _0x328d21['call'](this)[_0x41aa7d](!0x1);}});},_0x340390;}var _0x32046e,_0x22557c,_0x3c4991,_0x2a6b53,_0x2e4427,_0xf9a61f,_0x44b4f2,_0x4e3104,_0x1df7b2={};function _0x2e0096(){return _0x3c4991||(_0x3c4991=0x1,_0x1df7b2['Service']=(function(){if(_0x22557c)return _0x32046e;_0x22557c=0x1,_0x32046e=_0x3ee14b;var _0x5dad0d=_0x164b01();function _0x3ee14b(_0x811b39,_0x23d03a,_0x179202){if('function'!=typeof _0x811b39)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x5dad0d['EventEmitter']['call'](this),this['rpcImpl']=_0x811b39,this['requestDelimited']=Boolean(_0x23d03a),this['responseDelimited']=Boolean(_0x179202);}return(_0x3ee14b['prototype']=Object['create'](_0x5dad0d['EventEmitter']['prototype']))['constructor']=_0x3ee14b,_0x3ee14b['prototype']['rpcCall']=function _0x28bcbf(_0x47662,_0x55a34d,_0x134b2d,_0xcb7e69,_0x497805){if(!_0xcb7e69)throw TypeError('request\x20must\x20be\x20specified');var _0x2dcc12=this;if(!_0x497805)return _0x5dad0d['asPromise'](_0x28bcbf,_0x2dcc12,_0x47662,_0x55a34d,_0x134b2d,_0xcb7e69);if(_0x2dcc12['rpcImpl'])try{return _0x2dcc12['rpcImpl'](_0x47662,_0x55a34d[_0x2dcc12['requestDelimited']?'encodeDelimited':'encode'](_0xcb7e69)['finish'](),function(_0x41980e,_0x415707){if(_0x41980e)return _0x2dcc12['emit']('error',_0x41980e,_0x47662),_0x497805(_0x41980e);if(null!==_0x415707){if(!(_0x415707 instanceof _0x134b2d))try{_0x415707=_0x134b2d[_0x2dcc12['responseDelimited']?'decodeDelimited':'decode'](_0x415707);}catch(_0x63e4a5){return _0x2dcc12['emit']('error',_0x63e4a5,_0x47662),_0x497805(_0x63e4a5);}return _0x2dcc12['emit']('data',_0x415707,_0x47662),_0x497805(null,_0x415707);}_0x2dcc12['end'](!0x0);});}catch(_0x54ec2e){return _0x2dcc12['emit']('error',_0x54ec2e,_0x47662),void setTimeout(function(){_0x497805(_0x54ec2e);},0x0);}else setTimeout(function(){_0x497805(Error('already\x20ended'));},0x0);},_0x3ee14b['prototype']['end']=function(_0x16a716){return this['rpcImpl']&&(_0x16a716||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x32046e;}())),_0x1df7b2;}function _0x2a8f8b(){return _0xf9a61f||(_0xf9a61f=0x1,function(_0x3bac17){var _0x3c254b=_0x3bac17;function _0xbb9303(){_0x3c254b['util']['_configure'](),_0x3c254b['Writer']['_configure'](_0x3c254b['BufferWriter']),_0x3c254b['Reader']['_configure'](_0x3c254b['BufferReader']);}_0x3c254b['build']='minimal',_0x3c254b['Writer']=_0x3189ed(),_0x3c254b['BufferWriter']=(function(){if(_0x553447)return _0x37ef29;_0x553447=0x1,_0x37ef29=_0x475bb9;var _0x3b3093=_0x3189ed();(_0x475bb9['prototype']=Object['create'](_0x3b3093['prototype']))['constructor']=_0x475bb9;var _0x167e4d=_0x164b01();function _0x475bb9(){_0x3b3093['call'](this);}function _0x196dc4(_0x4df0c3,_0x3de7a1,_0x41ec47){_0x4df0c3['length']<0x28?_0x167e4d['utf8']['write'](_0x4df0c3,_0x3de7a1,_0x41ec47):_0x3de7a1['utf8Write']?_0x3de7a1['utf8Write'](_0x4df0c3,_0x41ec47):_0x3de7a1['write'](_0x4df0c3,_0x41ec47);}return _0x475bb9['_configure']=function(){_0x475bb9['alloc']=_0x167e4d['_Buffer_allocUnsafe'],_0x475bb9['writeBytesBuffer']=_0x167e4d['Buffer']&&_0x167e4d['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x167e4d['Buffer']['prototype']['set']['name']?function(_0x8f12db,_0x38f67e,_0x400d7b){_0x38f67e['set'](_0x8f12db,_0x400d7b);}:function(_0x23af8b,_0x2243cb,_0x4324ff){if(_0x23af8b['copy'])_0x23af8b['copy'](_0x2243cb,_0x4324ff,0x0,_0x23af8b['length']);else{for(var _0x4ca9f8=0x0;_0x4ca9f8<_0x23af8b['length'];)_0x2243cb[_0x4324ff++]=_0x23af8b[_0x4ca9f8++];}};},_0x475bb9['prototype']['bytes']=function(_0x4406a4){_0x167e4d['isString'](_0x4406a4)&&(_0x4406a4=_0x167e4d['_Buffer_from'](_0x4406a4,'base64'));var _0x10fb01=_0x4406a4['length']>>>0x0;return this['uint32'](_0x10fb01),_0x10fb01&&this['_push'](_0x475bb9['writeBytesBuffer'],_0x10fb01,_0x4406a4),this;},_0x475bb9['prototype']['string']=function(_0x35f79d){var _0x256663=_0x167e4d['Buffer']['byteLength'](_0x35f79d);return this['uint32'](_0x256663),_0x256663&&this['_push'](_0x196dc4,_0x256663,_0x35f79d),this;},_0x475bb9['_configure'](),_0x37ef29;}()),_0x3c254b['Reader']=_0xa6d15a(),_0x3c254b['BufferReader']=(function(){if(_0x39a929)return _0x3b6446;_0x39a929=0x1,_0x3b6446=_0x3cf997;var _0x22195f=_0xa6d15a();(_0x3cf997['prototype']=Object['create'](_0x22195f['prototype']))['constructor']=_0x3cf997;var _0xe662a7=_0x164b01();function _0x3cf997(_0x350cce){_0x22195f['call'](this,_0x350cce);}return _0x3cf997['_configure']=function(){_0xe662a7['Buffer']&&(_0x3cf997['prototype']['_slice']=_0xe662a7['Buffer']['prototype']['slice']);},_0x3cf997['prototype']['string']=function(){var _0x30ff17=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x30ff17,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x30ff17,this['len']));},_0x3cf997['_configure'](),_0x3b6446;}()),_0x3c254b['util']=_0x164b01(),_0x3c254b['rpc']=_0x2e0096(),_0x3c254b['roots']=_0x2e4427?_0x2a6b53:(_0x2e4427=0x1,_0x2a6b53=Object['create'](null)),_0x3c254b['configure']=_0xbb9303,_0xbb9303();}(_0x1838a6)),_0x1838a6;}var _0x56b58e=_0x4e3104?_0x44b4f2:(_0x4e3104=0x1,_0x44b4f2=_0x2a8f8b());const _0x2aa7f7=Object['create'](null);_0x2aa7f7['open']='0',_0x2aa7f7['close']='1',_0x2aa7f7['ping']='2',_0x2aa7f7['pong']='3',_0x2aa7f7['message']='4',_0x2aa7f7['upgrade']='5',_0x2aa7f7['noop']='6';const _0x1f3530=Object['create'](null);Object['keys'](_0x2aa7f7)['forEach'](_0x134f4f=>{_0x1f3530[_0x2aa7f7[_0x134f4f]]=_0x134f4f;});const _0x491f51={'type':'error','data':'parser\x20error'},_0x3f4fcd='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),td='function'==typeof ArrayBuffer,_0x10b877=_0x3e4c29=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x3e4c29):_0x3e4c29&&_0x3e4c29['buffer']instanceof ArrayBuffer,_0x4a96b6=({type:_0x304470,data:_0x2a3284},_0x3955b7,_0x542ad4)=>_0x3f4fcd&&_0x2a3284 instanceof Blob?_0x3955b7?_0x542ad4(_0x2a3284):_0x5cc398(_0x2a3284,_0x542ad4):td&&(_0x2a3284 instanceof ArrayBuffer||_0x10b877(_0x2a3284))?_0x3955b7?_0x542ad4(_0x2a3284):_0x5cc398(new Blob([_0x2a3284]),_0x542ad4):_0x542ad4(_0x2aa7f7[_0x304470]+(_0x2a3284||'')),_0x5cc398=(_0x5557a7,_0x36e215)=>{const _0x258be1=new FileReader();return _0x258be1['onload']=function(){const _0x2ded82=_0x258be1['result']['split'](',')[0x1];_0x36e215('b'+(_0x2ded82||''));},_0x258be1['readAsDataURL'](_0x5557a7);};function _0x46a9c6(_0x4d9804){return _0x4d9804 instanceof Uint8Array?_0x4d9804:_0x4d9804 instanceof ArrayBuffer?new Uint8Array(_0x4d9804):new Uint8Array(_0x4d9804['buffer'],_0x4d9804['byteOffset'],_0x4d9804['byteLength']);}let _0xad5418;const _0x249bcf='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x5ea252='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x19d7fe=0x0;_0x19d7fe<0x40;_0x19d7fe++)_0x5ea252[_0x249bcf['charCodeAt'](_0x19d7fe)]=_0x19d7fe;const _0x2a7722='function'==typeof ArrayBuffer,_0x38cbe0=(_0x470f91,_0x4e55b4)=>{if('string'!=typeof _0x470f91)return{'type':'message','data':_0x4bdf3c(_0x470f91,_0x4e55b4)};const _0x3e5b2a=_0x470f91['charAt'](0x0);if('b'===_0x3e5b2a)return{'type':'message','data':_0x590a99(_0x470f91['substring'](0x1),_0x4e55b4)};return _0x1f3530[_0x3e5b2a]?_0x470f91['length']>0x1?{'type':_0x1f3530[_0x3e5b2a],'data':_0x470f91['substring'](0x1)}:{'type':_0x1f3530[_0x3e5b2a]}:_0x491f51;},_0x590a99=(_0x252e9a,_0x5d10e6)=>{if(_0x2a7722){const _0x3dfed7=(_0x4fb104=>{let _0x162737,_0x2c9745,_0x2306df,_0x842296,_0x2af19f,_0x2f039b=0.75*_0x4fb104['length'],_0x121685=_0x4fb104['length'],_0x1d06bb=0x0;'='===_0x4fb104[_0x4fb104['length']-0x1]&&(_0x2f039b--,'='===_0x4fb104[_0x4fb104['length']-0x2]&&_0x2f039b--);const _0x81a044=new ArrayBuffer(_0x2f039b),_0x30119d=new Uint8Array(_0x81a044);for(_0x162737=0x0;_0x162737<_0x121685;_0x162737+=0x4)_0x2c9745=_0x5ea252[_0x4fb104['charCodeAt'](_0x162737)],_0x2306df=_0x5ea252[_0x4fb104['charCodeAt'](_0x162737+0x1)],_0x842296=_0x5ea252[_0x4fb104['charCodeAt'](_0x162737+0x2)],_0x2af19f=_0x5ea252[_0x4fb104['charCodeAt'](_0x162737+0x3)],_0x30119d[_0x1d06bb++]=_0x2c9745<<0x2|_0x2306df>>0x4,_0x30119d[_0x1d06bb++]=(0xf&_0x2306df)<<0x4|_0x842296>>0x2,_0x30119d[_0x1d06bb++]=(0x3&_0x842296)<<0x6|0x3f&_0x2af19f;return _0x81a044;})(_0x252e9a);return _0x4bdf3c(_0x3dfed7,_0x5d10e6);}return{'base64':!0x0,'data':_0x252e9a};},_0x4bdf3c=(_0x9cb9a1,_0x2725d0)=>'blob'===_0x2725d0?_0x9cb9a1 instanceof Blob?_0x9cb9a1:new Blob([_0x9cb9a1]):_0x9cb9a1 instanceof ArrayBuffer?_0x9cb9a1:_0x9cb9a1['buffer'],_0x47d971=String['fromCharCode'](0x1e);function _0x11e420(){return new TransformStream({'transform'(_0x3d2bf0,_0x479a0a){!function(_0x4d016e,_0x2d5f29){_0x3f4fcd&&_0x4d016e['data']instanceof Blob?_0x4d016e['data']['arrayBuffer']()['then'](_0x46a9c6)['then'](_0x2d5f29):td&&(_0x4d016e['data']instanceof ArrayBuffer||_0x10b877(_0x4d016e['data']))?_0x2d5f29(_0x46a9c6(_0x4d016e['data'])):_0x4a96b6(_0x4d016e,!0x1,_0x4b76c6=>{_0xad5418||(_0xad5418=new TextEncoder()),_0x2d5f29(_0xad5418['encode'](_0x4b76c6));});}(_0x3d2bf0,_0x4cae6c=>{const _0x1f6827=_0x4cae6c['length'];let _0x10a881;if(_0x1f6827<0x7e)_0x10a881=new Uint8Array(0x1),new DataView(_0x10a881['buffer'])['setUint8'](0x0,_0x1f6827);else{if(_0x1f6827<0x10000){_0x10a881=new Uint8Array(0x3);const _0x2a673e=new DataView(_0x10a881['buffer']);_0x2a673e['setUint8'](0x0,0x7e),_0x2a673e['setUint16'](0x1,_0x1f6827);}else{_0x10a881=new Uint8Array(0x9);const _0x5a8e04=new DataView(_0x10a881['buffer']);_0x5a8e04['setUint8'](0x0,0x7f),_0x5a8e04['setBigUint64'](0x1,BigInt(_0x1f6827));}}_0x3d2bf0['data']&&'string'!=typeof _0x3d2bf0['data']&&(_0x10a881[0x0]|=0x80),_0x479a0a['enqueue'](_0x10a881),_0x479a0a['enqueue'](_0x4cae6c);});}});}let _0x481c75;function _0x404993(_0x36e850){return _0x36e850['reduce']((_0x5efb80,_0x3a1e40)=>_0x5efb80+_0x3a1e40['length'],0x0);}function _0xe9174c(_0x5e7f3c,_0x52ad03){if(_0x5e7f3c[0x0]['length']===_0x52ad03)return _0x5e7f3c['shift']();const _0x15b594=new Uint8Array(_0x52ad03);let _0x30842d=0x0;for(let _0x333ad4=0x0;_0x333ad4<_0x52ad03;_0x333ad4++)_0x15b594[_0x333ad4]=_0x5e7f3c[0x0][_0x30842d++],_0x30842d===_0x5e7f3c[0x0]['length']&&(_0x5e7f3c['shift'](),_0x30842d=0x0);return _0x5e7f3c['length']&&_0x30842d<_0x5e7f3c[0x0]['length']&&(_0x5e7f3c[0x0]=_0x5e7f3c[0x0]['slice'](_0x30842d)),_0x15b594;}function _0x3a5c71(_0x4228ff){if(_0x4228ff)return function(_0x32c8ec){for(var _0x4d985c in _0x3a5c71['prototype'])_0x32c8ec[_0x4d985c]=_0x3a5c71['prototype'][_0x4d985c];return _0x32c8ec;}(_0x4228ff);}_0x3a5c71['prototype']['on']=_0x3a5c71['prototype']['addEventListener']=function(_0x228a67,_0x42a594){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x228a67]=this['_callbacks']['$'+_0x228a67]||[])['push'](_0x42a594),this;},_0x3a5c71['prototype']['once']=function(_0x3985d7,_0x4fd7a9){function _0x50cb20(){this['off'](_0x3985d7,_0x50cb20),_0x4fd7a9['apply'](this,arguments);}return _0x50cb20['fn']=_0x4fd7a9,this['on'](_0x3985d7,_0x50cb20),this;},_0x3a5c71['prototype']['off']=_0x3a5c71['prototype']['removeListener']=_0x3a5c71['prototype']['removeAllListeners']=_0x3a5c71['prototype']['removeEventListener']=function(_0x1e1257,_0x4e00b0){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x2e84d6,_0x4059fe=this['_callbacks']['$'+_0x1e1257];if(!_0x4059fe)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x1e1257],this;for(var _0x13d125=0x0;_0x13d125<_0x4059fe['length'];_0x13d125++)if((_0x2e84d6=_0x4059fe[_0x13d125])===_0x4e00b0||_0x2e84d6['fn']===_0x4e00b0){_0x4059fe['splice'](_0x13d125,0x1);break;}return 0x0===_0x4059fe['length']&&delete this['_callbacks']['$'+_0x1e1257],this;},_0x3a5c71['prototype']['emit']=function(_0x1f5050){this['_callbacks']=this['_callbacks']||{};for(var _0x54f618=new Array(arguments['length']-0x1),_0x52a69d=this['_callbacks']['$'+_0x1f5050],_0x820d7c=0x1;_0x820d7c<arguments['length'];_0x820d7c++)_0x54f618[_0x820d7c-0x1]=arguments[_0x820d7c];if(_0x52a69d){_0x820d7c=0x0;for(var _0x1bdd7f=(_0x52a69d=_0x52a69d['slice'](0x0))['length'];_0x820d7c<_0x1bdd7f;++_0x820d7c)_0x52a69d[_0x820d7c]['apply'](this,_0x54f618);}return this;},_0x3a5c71['prototype']['emitReserved']=_0x3a5c71['prototype']['emit'],_0x3a5c71['prototype']['listeners']=function(_0x1a1911){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x1a1911]||[];},_0x3a5c71['prototype']['hasListeners']=function(_0x440882){return!!this['listeners'](_0x440882)['length'];};const _0x4995b2='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x252be8(_0x45755a,..._0x3e59b7){return _0x3e59b7['reduce']((_0x5e451f,_0x3dd801)=>(_0x45755a['hasOwnProperty'](_0x3dd801)&&(_0x5e451f[_0x3dd801]=_0x45755a[_0x3dd801]),_0x5e451f),{});}const _0x4dd901=_0x4995b2['setTimeout'],_0x8751b9=_0x4995b2['clearTimeout'];function _0x4b2a37(_0x134d04,_0x674bbf){_0x674bbf['useNativeTimers']?(_0x134d04['setTimeoutFn']=_0x4dd901['bind'](_0x4995b2),_0x134d04['clearTimeoutFn']=_0x8751b9['bind'](_0x4995b2)):(_0x134d04['setTimeoutFn']=_0x4995b2['setTimeout']['bind'](_0x4995b2),_0x134d04['clearTimeoutFn']=_0x4995b2['clearTimeout']['bind'](_0x4995b2));}function _0x4aa015(_0x56072b){return'string'==typeof _0x56072b?function(_0x3b0a99){let _0x3ffb25=0x0,_0x248b4b=0x0;for(let _0x31c4a2=0x0,_0x7e4a77=_0x3b0a99['length'];_0x31c4a2<_0x7e4a77;_0x31c4a2++)_0x3ffb25=_0x3b0a99['charCodeAt'](_0x31c4a2),_0x3ffb25<0x80?_0x248b4b+=0x1:_0x3ffb25<0x800?_0x248b4b+=0x2:_0x3ffb25<0xd800||_0x3ffb25>=0xe000?_0x248b4b+=0x3:(_0x31c4a2++,_0x248b4b+=0x4);return _0x248b4b;}(_0x56072b):Math['ceil'](1.33*(_0x56072b['byteLength']||_0x56072b['size']));}class TransportError extends Error{constructor(_0x3a356c,_0x11dab2,_0x2254e0){super(_0x3a356c),this['description']=_0x11dab2,this['context']=_0x2254e0,this['type']='TransportError';}}class Transport extends _0x3a5c71{constructor(_0x1b76a8){super(),this['writable']=!0x1,_0x4b2a37(this,_0x1b76a8),this['opts']=_0x1b76a8,this['query']=_0x1b76a8['query'],this['socket']=_0x1b76a8['socket'];}['onError'](_0x11eb7b,_0x351607,_0x469cd5){return super['emitReserved']('error',new TransportError(_0x11eb7b,_0x351607,_0x469cd5)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x2c59ac){'open'===this['readyState']&&this['write'](_0x2c59ac);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x3bd46f){const _0x5f0412=_0x38cbe0(_0x3bd46f,this['socket']['binaryType']);this['onPacket'](_0x5f0412);}['onPacket'](_0x5bd413){super['emitReserved']('packet',_0x5bd413);}['onClose'](_0x5cfa8a){this['readyState']='closed',super['emitReserved']('close',_0x5cfa8a);}['pause'](_0x3a40aa){}['createUri'](_0x26f4e3,_0x391a04={}){return _0x26f4e3+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x391a04);}['_hostname'](){const _0x1d425b=this['opts']['hostname'];return-0x1===_0x1d425b['indexOf'](':')?_0x1d425b:'['+_0x1d425b+']';}['_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'](_0x30e33e){const _0x31987a=function(_0x57e453){let _0x514691='';for(let _0x15a335 in _0x57e453)_0x57e453['hasOwnProperty'](_0x15a335)&&(_0x514691['length']&&(_0x514691+='&'),_0x514691+=encodeURIComponent(_0x15a335)+'='+encodeURIComponent(_0x57e453[_0x15a335]));return _0x514691;}(_0x30e33e);return _0x31987a['length']?'?'+_0x31987a:'';}}const _0x167370='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),_0x3a2be2={};let _0x687913,_0x5aa0b1=0x0,_0x335da8=0x0;function _0xb59951(_0x11148f){let _0x45b64c='';do{_0x45b64c=_0x167370[_0x11148f%0x40]+_0x45b64c,_0x11148f=Math['floor'](_0x11148f/0x40);}while(_0x11148f>0x0);return _0x45b64c;}function _0x1b4ab4(){const _0x32f9d5=_0xb59951(+new Date());return _0x32f9d5!==_0x687913?(_0x5aa0b1=0x0,_0x687913=_0x32f9d5):_0x32f9d5+'.'+_0xb59951(_0x5aa0b1++);}for(;_0x335da8<0x40;_0x335da8++)_0x3a2be2[_0x167370[_0x335da8]]=_0x335da8;let _0xc92640=!0x1;try{_0xc92640='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x3ceef6){}const _0x8965d5=_0xc92640;function _0x28af72(_0x4184c1){const _0x311b4a=_0x4184c1['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x311b4a||_0x8965d5))return new XMLHttpRequest();}catch(_0x3ed4e9){}if(!_0x311b4a)try{return new _0x4995b2[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x468bbb){}}function _0x219567(){}const _0x3a552c=null!=new _0x28af72({'xdomain':!0x1})['responseType'];class Request extends _0x3a5c71{constructor(_0x5e5e3f,_0x2341af){super(),_0x4b2a37(this,_0x2341af),this['opts']=_0x2341af,this['method']=_0x2341af['method']||'GET',this['uri']=_0x5e5e3f,this['data']=void 0x0!==_0x2341af['data']?_0x2341af['data']:null,this['create']();}['create'](){var _0x2de3bc;const _0x10b22f=_0x252be8(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x10b22f['xdomain']=!!this['opts']['xd'];const _0x387fab=this['xhr']=new _0x28af72(_0x10b22f);try{_0x387fab['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x387fab['setDisableHeaderCheck']&&_0x387fab['setDisableHeaderCheck'](!0x0);for(let _0x4a6f07 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x4a6f07)&&_0x387fab['setRequestHeader'](_0x4a6f07,this['opts']['extraHeaders'][_0x4a6f07]);}}catch(_0x51fa47){}if('POST'===this['method'])try{_0x387fab['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x41cf40){}try{_0x387fab['setRequestHeader']('Accept','*/*');}catch(_0x4fb8ee){}null===(_0x2de3bc=this['opts']['cookieJar'])||void 0x0===_0x2de3bc||_0x2de3bc['addCookies'](_0x387fab),'withCredentials'in _0x387fab&&(_0x387fab['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x387fab['timeout']=this['opts']['requestTimeout']),_0x387fab['onreadystatechange']=()=>{var _0xf30bc1;0x3===_0x387fab['readyState']&&(null===(_0xf30bc1=this['opts']['cookieJar'])||void 0x0===_0xf30bc1||_0xf30bc1['parseCookies'](_0x387fab)),0x4===_0x387fab['readyState']&&(0xc8===_0x387fab['status']||0x4c7===_0x387fab['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x387fab['status']?_0x387fab['status']:0x0);},0x0));},_0x387fab['send'](this['data']);}catch(_0x50bce7){return void this['setTimeoutFn'](()=>{this['onError'](_0x50bce7);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x4f164f){this['emitReserved']('error',_0x4f164f,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x53407c){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=_0x219567,_0x53407c)try{this['xhr']['abort']();}catch(_0x1436a8){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x1bd711=this['xhr']['responseText'];null!==_0x1bd711&&(this['emitReserved']('data',_0x1bd711),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x3f74ef);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0x4995b2?'pagehide':'unload',_0x3f74ef,!0x1);}function _0x3f74ef(){for(let _0x5c556b in Request['requests'])Request['requests']['hasOwnProperty'](_0x5c556b)&&Request['requests'][_0x5c556b]['abort']();}const _0x3b8f72='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x3468f8=>Promise['resolve']()['then'](_0x3468f8):(_0x4ee9f1,_0x3f52c5)=>_0x3f52c5(_0x4ee9f1,0x0),_0x575551=_0x4995b2['WebSocket']||_0x4995b2['MozWebSocket'],_0x587ccb='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_0x8ba4e={'websocket':class _0x3a0752 extends Transport{constructor(_0x4d173f){super(_0x4d173f),this['supportsBinary']=!_0x4d173f['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x4fef6d=this['uri'](),_0x179308=this['opts']['protocols'],_0x372e88=_0x587ccb?{}:_0x252be8(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x372e88['headers']=this['opts']['extraHeaders']);try{this['ws']=_0x587ccb?new _0x575551(_0x4fef6d,_0x179308,_0x372e88):_0x179308?new _0x575551(_0x4fef6d,_0x179308):new _0x575551(_0x4fef6d);}catch(_0x30e169){return this['emitReserved']('error',_0x30e169);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x136a71=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x136a71}),this['ws']['onmessage']=_0x5107f3=>this['onData'](_0x5107f3['data']),this['ws']['onerror']=_0x17499f=>this['onError']('websocket\x20error',_0x17499f);}['write'](_0x318ee8){this['writable']=!0x1;for(let _0x4c5c92=0x0;_0x4c5c92<_0x318ee8['length'];_0x4c5c92++){const _0xcb5925=_0x318ee8[_0x4c5c92],_0x152f6e=_0x4c5c92===_0x318ee8['length']-0x1;_0x4a96b6(_0xcb5925,this['supportsBinary'],_0x3188e5=>{try{this['ws']['send'](_0x3188e5);}catch(_0x114c78){}_0x152f6e&&_0x3b8f72(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x4e54ca=this['opts']['secure']?'wss':'ws',_0xa2f112=this['query']||{};return this['opts']['timestampRequests']&&(_0xa2f112[this['opts']['timestampParam']]=_0x1b4ab4()),this['supportsBinary']||(_0xa2f112['b64']=0x1),this['createUri'](_0x4e54ca,_0xa2f112);}['check'](){return!!_0x575551;}},'webtransport':class _0x28574d extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0xb6a017=>{this['onError']('webtransport\x20error',_0xb6a017);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x4fd82d=>{const _0x55edd8=function(_0x56eb71,_0x4321ea){_0x481c75||(_0x481c75=new TextDecoder());const _0x14d77a=[];let _0x424624=0x0,_0x45e9a0=-0x1,_0x1b7bf9=!0x1;return new TransformStream({'transform'(_0x26f3c2,_0x4353b2){for(_0x14d77a['push'](_0x26f3c2);;){if(0x0===_0x424624){if(_0x404993(_0x14d77a)<0x1)break;const _0x1fb4fe=_0xe9174c(_0x14d77a,0x1);_0x1b7bf9=!(0x80&~_0x1fb4fe[0x0]),_0x45e9a0=0x7f&_0x1fb4fe[0x0],_0x424624=_0x45e9a0<0x7e?0x3:0x7e===_0x45e9a0?0x1:0x2;}else{if(0x1===_0x424624){if(_0x404993(_0x14d77a)<0x2)break;const _0x668cb3=_0xe9174c(_0x14d77a,0x2);_0x45e9a0=new DataView(_0x668cb3['buffer'],_0x668cb3['byteOffset'],_0x668cb3['length'])['getUint16'](0x0),_0x424624=0x3;}else{if(0x2===_0x424624){if(_0x404993(_0x14d77a)<0x8)break;const _0x50727f=_0xe9174c(_0x14d77a,0x8),_0x3da023=new DataView(_0x50727f['buffer'],_0x50727f['byteOffset'],_0x50727f['length']),_0x41b0f4=_0x3da023['getUint32'](0x0);if(_0x41b0f4>Math['pow'](0x2,0x15)-0x1){_0x4353b2['enqueue'](_0x491f51);break;}_0x45e9a0=_0x41b0f4*Math['pow'](0x2,0x20)+_0x3da023['getUint32'](0x4),_0x424624=0x3;}else{if(_0x404993(_0x14d77a)<_0x45e9a0)break;const _0x3a063a=_0xe9174c(_0x14d77a,_0x45e9a0);_0x4353b2['enqueue'](_0x38cbe0(_0x1b7bf9?_0x3a063a:_0x481c75['decode'](_0x3a063a),_0x4321ea)),_0x424624=0x0;}}}if(0x0===_0x45e9a0||_0x45e9a0>_0x56eb71){_0x4353b2['enqueue'](_0x491f51);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x57e24a=_0x4fd82d['readable']['pipeThrough'](_0x55edd8)['getReader'](),_0x5ebd23=_0x11e420();_0x5ebd23['readable']['pipeTo'](_0x4fd82d['writable']),this['writer']=_0x5ebd23['writable']['getWriter']();const _0x2f0a8f=()=>{_0x57e24a['read']()['then'](({done:_0x315012,value:_0x40e7da})=>{_0x315012||(this['onPacket'](_0x40e7da),_0x2f0a8f());})['catch'](_0x2abbae=>{});};_0x2f0a8f();const _0x4129ae={'type':'open'};this['query']['sid']&&(_0x4129ae['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x4129ae)['then'](()=>this['onOpen']());});}));}['write'](_0x116277){this['writable']=!0x1;for(let _0xc97a54=0x0;_0xc97a54<_0x116277['length'];_0xc97a54++){const _0x66e016=_0x116277[_0xc97a54],_0x4b4f87=_0xc97a54===_0x116277['length']-0x1;this['writer']['write'](_0x66e016)['then'](()=>{_0x4b4f87&&_0x3b8f72(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x470d23;null===(_0x470d23=this['transport'])||void 0x0===_0x470d23||_0x470d23['close']();}},'polling':class _0x15cba5 extends Transport{constructor(_0x310421){if(super(_0x310421),this['polling']=!0x1,'undefined'!=typeof location){const _0x2d8a33='https:'===location['protocol'];let _0x1cf25f=location['port'];_0x1cf25f||(_0x1cf25f=_0x2d8a33?'443':'80'),this['xd']='undefined'!=typeof location&&_0x310421['hostname']!==location['hostname']||_0x1cf25f!==_0x310421['port'];}const _0x298b9e=_0x310421&&_0x310421['forceBase64'];this['supportsBinary']=_0x3a552c&&!_0x298b9e,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0xb1c0e2){this['readyState']='pausing';const _0x1f2819=()=>{this['readyState']='paused',_0xb1c0e2();};if(this['polling']||!this['writable']){let _0x2b8420=0x0;this['polling']&&(_0x2b8420++,this['once']('pollComplete',function(){--_0x2b8420||_0x1f2819();})),this['writable']||(_0x2b8420++,this['once']('drain',function(){--_0x2b8420||_0x1f2819();}));}else _0x1f2819();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x34fe49){((_0x208cbb,_0x2d224a)=>{const _0x4a3eaa=_0x208cbb['split'](_0x47d971),_0x37a1b8=[];for(let _0x5591f7=0x0;_0x5591f7<_0x4a3eaa['length'];_0x5591f7++){const _0x4c4aba=_0x38cbe0(_0x4a3eaa[_0x5591f7],_0x2d224a);if(_0x37a1b8['push'](_0x4c4aba),'error'===_0x4c4aba['type'])break;}return _0x37a1b8;})(_0x34fe49,this['socket']['binaryType'])['forEach'](_0x48acce=>{if('opening'===this['readyState']&&'open'===_0x48acce['type']&&this['onOpen'](),'close'===_0x48acce['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x48acce);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x303ef1=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x303ef1():this['once']('open',_0x303ef1);}['write'](_0x59f5c2){this['writable']=!0x1,((_0x55910e,_0x58aafb)=>{const _0x578ee2=_0x55910e['length'],_0x2bc188=new Array(_0x578ee2);let _0x41a487=0x0;_0x55910e['forEach']((_0x19b3cc,_0x2bc23d)=>{_0x4a96b6(_0x19b3cc,!0x1,_0x1e6d14=>{_0x2bc188[_0x2bc23d]=_0x1e6d14,++_0x41a487===_0x578ee2&&_0x58aafb(_0x2bc188['join'](_0x47d971));});});})(_0x59f5c2,_0x2fe4fa=>{this['doWrite'](_0x2fe4fa,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x4769d5=this['opts']['secure']?'https':'http',_0x1b3c37=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x1b3c37[this['opts']['timestampParam']]=_0x1b4ab4()),this['supportsBinary']||_0x1b3c37['sid']||(_0x1b3c37['b64']=0x1),this['createUri'](_0x4769d5,_0x1b3c37);}['request'](_0x197a50={}){return Object['assign'](_0x197a50,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x197a50);}['doWrite'](_0x1ff33c,_0x42fb73){const _0x210460=this['request']({'method':'POST','data':_0x1ff33c});_0x210460['on']('success',_0x42fb73),_0x210460['on']('error',(_0x562564,_0x5a99ff)=>{this['onError']('xhr\x20post\x20error',_0x562564,_0x5a99ff);});}['doPoll'](){const _0x32efff=this['request']();_0x32efff['on']('data',this['onData']['bind'](this)),_0x32efff['on']('error',(_0x2cb54f,_0x100ff4)=>{this['onError']('xhr\x20poll\x20error',_0x2cb54f,_0x100ff4);}),this['pollXhr']=_0x32efff;}}},_0x17c691=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x52445d=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x37bdd7(_0x20e5b8){if(_0x20e5b8['length']>0x7d0)throw'URI\x20too\x20long';const _0xb9de66=_0x20e5b8,_0x59e361=_0x20e5b8['indexOf']('['),_0x2c4701=_0x20e5b8['indexOf'](']');-0x1!=_0x59e361&&-0x1!=_0x2c4701&&(_0x20e5b8=_0x20e5b8['substring'](0x0,_0x59e361)+_0x20e5b8['substring'](_0x59e361,_0x2c4701)['replace'](/:/g,';')+_0x20e5b8['substring'](_0x2c4701,_0x20e5b8['length']));let _0x4a19b1=_0x17c691['exec'](_0x20e5b8||''),_0x17c958={},_0x595aab=0xe;for(;_0x595aab--;)_0x17c958[_0x52445d[_0x595aab]]=_0x4a19b1[_0x595aab]||'';return-0x1!=_0x59e361&&-0x1!=_0x2c4701&&(_0x17c958['source']=_0xb9de66,_0x17c958['host']=_0x17c958['host']['substring'](0x1,_0x17c958['host']['length']-0x1)['replace'](/;/g,':'),_0x17c958['authority']=_0x17c958['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x17c958['ipv6uri']=!0x0),_0x17c958['pathNames']=function(_0x1e0cc3,_0x341264){const _0x4462e6=/\/{2,9}/g,_0x24f1bf=_0x341264['replace'](_0x4462e6,'/')['split']('/');return'/'!=_0x341264['slice'](0x0,0x1)&&0x0!==_0x341264['length']||_0x24f1bf['splice'](0x0,0x1),'/'==_0x341264['slice'](-0x1)&&_0x24f1bf['splice'](_0x24f1bf['length']-0x1,0x1),_0x24f1bf;}(0x0,_0x17c958['path']),_0x17c958['queryKey']=function(_0x13e9c4,_0x5c2cb8){const _0x4d9211={};return _0x5c2cb8['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x1e27fa,_0x2a9980,_0x30c5a9){_0x2a9980&&(_0x4d9211[_0x2a9980]=_0x30c5a9);}),_0x4d9211;}(0x0,_0x17c958['query']),_0x17c958;}let _0x1262ac=class Socket extends _0x3a5c71{constructor(_0x520833,_0x45acc7={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x520833&&'object'==typeof _0x520833&&(_0x45acc7=_0x520833,_0x520833=null),_0x520833?(_0x520833=_0x37bdd7(_0x520833),_0x45acc7['hostname']=_0x520833['host'],_0x45acc7['secure']='https'===_0x520833['protocol']||'wss'===_0x520833['protocol'],_0x45acc7['port']=_0x520833['port'],_0x520833['query']&&(_0x45acc7['query']=_0x520833['query'])):_0x45acc7['host']&&(_0x45acc7['hostname']=_0x37bdd7(_0x45acc7['host'])['host']),_0x4b2a37(this,_0x45acc7),this['secure']=null!=_0x45acc7['secure']?_0x45acc7['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x45acc7['hostname']&&!_0x45acc7['port']&&(_0x45acc7['port']=this['secure']?'443':'80'),this['hostname']=_0x45acc7['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x45acc7['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x45acc7['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},_0x45acc7),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x105ab7){let _0x3745e1={},_0x372a03=_0x105ab7['split']('&');for(let _0x542e18=0x0,_0x12d4f9=_0x372a03['length'];_0x542e18<_0x12d4f9;_0x542e18++){let _0x25e38a=_0x372a03[_0x542e18]['split']('=');_0x3745e1[decodeURIComponent(_0x25e38a[0x0])]=decodeURIComponent(_0x25e38a[0x1]);}return _0x3745e1;}(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'](_0x2ac5ce){const _0xadd16d=Object['assign']({},this['opts']['query']);_0xadd16d['EIO']=0x4,_0xadd16d['transport']=_0x2ac5ce,this['id']&&(_0xadd16d['sid']=this['id']);const _0x103057=Object['assign']({},this['opts'],{'query':_0xadd16d,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x2ac5ce]);return new _0x8ba4e[_0x2ac5ce](_0x103057);}['open'](){let _0x589817;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x589817='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x589817=this['transports'][0x0];}this['readyState']='opening';try{_0x589817=this['createTransport'](_0x589817);}catch(_0x2be58b){return this['transports']['shift'](),void this['open']();}_0x589817['open'](),this['setTransport'](_0x589817);}['setTransport'](_0x182577){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x182577,_0x182577['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1c2160=>this['onClose']('transport\x20close',_0x1c2160));}['probe'](_0x5810be){let _0x4ee177=this['createTransport'](_0x5810be),_0x20906d=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x317b84=()=>{_0x20906d||(_0x4ee177['send']([{'type':'ping','data':'probe'}]),_0x4ee177['once']('packet',_0x21f55f=>{if(!_0x20906d){if('pong'===_0x21f55f['type']&&'probe'===_0x21f55f['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x4ee177),!_0x4ee177)return;Socket['priorWebsocketSuccess']='websocket'===_0x4ee177['name'],this['transport']['pause'](()=>{_0x20906d||'closed'!==this['readyState']&&(_0x407b6a(),this['setTransport'](_0x4ee177),_0x4ee177['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x4ee177),_0x4ee177=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x4085e3=new Error('probe\x20error');_0x4085e3['transport']=_0x4ee177['name'],this['emitReserved']('upgradeError',_0x4085e3);}}}));};function _0x3e85ca(){_0x20906d||(_0x20906d=!0x0,_0x407b6a(),_0x4ee177['close'](),_0x4ee177=null);}const _0x2e15a8=_0x3d3ba7=>{const _0x3c8434=new Error('probe\x20error:\x20'+_0x3d3ba7);_0x3c8434['transport']=_0x4ee177['name'],_0x3e85ca(),this['emitReserved']('upgradeError',_0x3c8434);};function _0x4b22dd(){_0x2e15a8('transport\x20closed');}function _0x2aa14e(){_0x2e15a8('socket\x20closed');}function _0x56d515(_0x81b73d){_0x4ee177&&_0x81b73d['name']!==_0x4ee177['name']&&_0x3e85ca();}const _0x407b6a=()=>{_0x4ee177['removeListener']('open',_0x317b84),_0x4ee177['removeListener']('error',_0x2e15a8),_0x4ee177['removeListener']('close',_0x4b22dd),this['off']('close',_0x2aa14e),this['off']('upgrading',_0x56d515);};_0x4ee177['once']('open',_0x317b84),_0x4ee177['once']('error',_0x2e15a8),_0x4ee177['once']('close',_0x4b22dd),this['once']('close',_0x2aa14e),this['once']('upgrading',_0x56d515),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x5810be?this['setTimeoutFn'](()=>{_0x20906d||_0x4ee177['open']();},0xc8):_0x4ee177['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x582299=0x0;const _0x544870=this['upgrades']['length'];for(;_0x582299<_0x544870;_0x582299++)this['probe'](this['upgrades'][_0x582299]);}}['onPacket'](_0x554d10){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x554d10),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x554d10['type']){case'open':this['onHandshake'](JSON['parse'](_0x554d10['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x877f7=new Error('server\x20error');_0x877f7['code']=_0x554d10['data'],this['onError'](_0x877f7);break;case'message':this['emitReserved']('data',_0x554d10['data']),this['emitReserved']('message',_0x554d10['data']);}}['onHandshake'](_0x1081d1){this['emitReserved']('handshake',_0x1081d1),this['id']=_0x1081d1['sid'],this['transport']['query']['sid']=_0x1081d1['sid'],this['upgrades']=this['filterUpgrades'](_0x1081d1['upgrades']),this['pingInterval']=_0x1081d1['pingInterval'],this['pingTimeout']=_0x1081d1['pingTimeout'],this['maxPayload']=_0x1081d1['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 _0x5c1bac=this['getWritablePackets']();this['transport']['send'](_0x5c1bac),this['prevBufferLen']=_0x5c1bac['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0xc6a846=0x1;for(let _0x4501e5=0x0;_0x4501e5<this['writeBuffer']['length'];_0x4501e5++){const _0x27f6e2=this['writeBuffer'][_0x4501e5]['data'];if(_0x27f6e2&&(_0xc6a846+=_0x4aa015(_0x27f6e2)),_0x4501e5>0x0&&_0xc6a846>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x4501e5);_0xc6a846+=0x2;}return this['writeBuffer'];}['write'](_0x24fe17,_0x58f266,_0x27144a){return this['sendPacket']('message',_0x24fe17,_0x58f266,_0x27144a),this;}['send'](_0x45512c,_0x58df01,_0x45af6f){return this['sendPacket']('message',_0x45512c,_0x58df01,_0x45af6f),this;}['sendPacket'](_0x24ae3f,_0x32e9a4,_0x5a8104,_0x55652f){if('function'==typeof _0x32e9a4&&(_0x55652f=_0x32e9a4,_0x32e9a4=void 0x0),'function'==typeof _0x5a8104&&(_0x55652f=_0x5a8104,_0x5a8104=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x5a8104=_0x5a8104||{})['compress']=!0x1!==_0x5a8104['compress'];const _0x2c7365={'type':_0x24ae3f,'data':_0x32e9a4,'options':_0x5a8104};this['emitReserved']('packetCreate',_0x2c7365),this['writeBuffer']['push'](_0x2c7365),_0x55652f&&this['once']('flush',_0x55652f),this['flush']();}['close'](){const _0x35b3e1=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x4cf7ea=()=>{this['off']('upgrade',_0x4cf7ea),this['off']('upgradeError',_0x4cf7ea),_0x35b3e1();},_0x20b0cb=()=>{this['once']('upgrade',_0x4cf7ea),this['once']('upgradeError',_0x4cf7ea);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x20b0cb():_0x35b3e1();}):this['upgrading']?_0x20b0cb():_0x35b3e1()),this;}['onError'](_0x18ba1d){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x18ba1d),this['onClose']('transport\x20error',_0x18ba1d);}['onClose'](_0xa709a6,_0x485eda){'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',_0xa709a6,_0x485eda),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x4f845f){const _0x3e682b=[];let _0x3f88db=0x0;const _0x412545=_0x4f845f['length'];for(;_0x3f88db<_0x412545;_0x3f88db++)~this['transports']['indexOf'](_0x4f845f[_0x3f88db])&&_0x3e682b['push'](_0x4f845f[_0x3f88db]);return _0x3e682b;}};_0x1262ac['protocol']=0x4;const _0x560bc9='function'==typeof ArrayBuffer,_0x280c4b=Object['prototype']['toString'],_0x1a9f85='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0x280c4b['call'](Blob),_0xd844b9='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0x280c4b['call'](File);function _0x20e756(_0x23a78c){return _0x560bc9&&(_0x23a78c instanceof ArrayBuffer||(_0x4ad207=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4ad207):_0x4ad207['buffer']instanceof ArrayBuffer)(_0x23a78c))||_0x1a9f85&&_0x23a78c instanceof Blob||_0xd844b9&&_0x23a78c instanceof File;}function _0x34a14f(_0x3ccb3d,_0x2cfba7){if(!_0x3ccb3d||'object'!=typeof _0x3ccb3d)return!0x1;if(Array['isArray'](_0x3ccb3d)){for(let _0x56e8a9=0x0,_0x20f4e9=_0x3ccb3d['length'];_0x56e8a9<_0x20f4e9;_0x56e8a9++)if(_0x34a14f(_0x3ccb3d[_0x56e8a9]))return!0x0;return!0x1;}if(_0x20e756(_0x3ccb3d))return!0x0;if(_0x3ccb3d['toJSON']&&'function'==typeof _0x3ccb3d['toJSON']&&0x1===arguments['length'])return _0x34a14f(_0x3ccb3d['toJSON'](),!0x0);for(const _0x494cea in _0x3ccb3d)if(Object['prototype']['hasOwnProperty']['call'](_0x3ccb3d,_0x494cea)&&_0x34a14f(_0x3ccb3d[_0x494cea]))return!0x0;return!0x1;}function _0x51e199(_0x59b72c){const _0x46facf=[],_0x4fdb8f=_0x59b72c['data'],_0x8c4b41=_0x59b72c;return _0x8c4b41['data']=_0x2523d1(_0x4fdb8f,_0x46facf),_0x8c4b41['attachments']=_0x46facf['length'],{'packet':_0x8c4b41,'buffers':_0x46facf};}function _0x2523d1(_0x29a5ac,_0x367942){if(!_0x29a5ac)return _0x29a5ac;if(_0x20e756(_0x29a5ac)){const _0xf0d4f1={'_placeholder':!0x0,'num':_0x367942['length']};return _0x367942['push'](_0x29a5ac),_0xf0d4f1;}if(Array['isArray'](_0x29a5ac)){const _0x25473e=new Array(_0x29a5ac['length']);for(let _0x1fc921=0x0;_0x1fc921<_0x29a5ac['length'];_0x1fc921++)_0x25473e[_0x1fc921]=_0x2523d1(_0x29a5ac[_0x1fc921],_0x367942);return _0x25473e;}if('object'==typeof _0x29a5ac&&!(_0x29a5ac instanceof Date)){const _0x323b63={};for(const _0x7979d1 in _0x29a5ac)Object['prototype']['hasOwnProperty']['call'](_0x29a5ac,_0x7979d1)&&(_0x323b63[_0x7979d1]=_0x2523d1(_0x29a5ac[_0x7979d1],_0x367942));return _0x323b63;}return _0x29a5ac;}function _0x4d09e2(_0x5aae59,_0x5686dd){return _0x5aae59['data']=tf(_0x5aae59['data'],_0x5686dd),delete _0x5aae59['attachments'],_0x5aae59;}function tf(_0x360cd7,_0x4d8e36){if(!_0x360cd7)return _0x360cd7;if(_0x360cd7&&!0x0===_0x360cd7['_placeholder']){if('number'==typeof _0x360cd7['num']&&_0x360cd7['num']>=0x0&&_0x360cd7['num']<_0x4d8e36['length'])return _0x4d8e36[_0x360cd7['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x360cd7)){for(let _0x18c5de=0x0;_0x18c5de<_0x360cd7['length'];_0x18c5de++)_0x360cd7[_0x18c5de]=tf(_0x360cd7[_0x18c5de],_0x4d8e36);}else{if('object'==typeof _0x360cd7){for(const _0x3e8ab7 in _0x360cd7)Object['prototype']['hasOwnProperty']['call'](_0x360cd7,_0x3e8ab7)&&(_0x360cd7[_0x3e8ab7]=tf(_0x360cd7[_0x3e8ab7],_0x4d8e36));}}return _0x360cd7;}const _0x13ea3e=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x39ae5b;!function(_0x4c55cb){_0x4c55cb[_0x4c55cb['CONNECT']=0x0]='CONNECT',_0x4c55cb[_0x4c55cb['DISCONNECT']=0x1]='DISCONNECT',_0x4c55cb[_0x4c55cb['EVENT']=0x2]='EVENT',_0x4c55cb[_0x4c55cb['ACK']=0x3]='ACK',_0x4c55cb[_0x4c55cb['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x4c55cb[_0x4c55cb['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x4c55cb[_0x4c55cb['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x39ae5b||(_0x39ae5b={}));let _0x5edc15=class _0xf4c3e{constructor(_0xb93a38){this['replacer']=_0xb93a38;}['encode'](_0x18d029){return _0x18d029['type']!==_0x39ae5b['EVENT']&&_0x18d029['type']!==_0x39ae5b['ACK']||!_0x34a14f(_0x18d029)?[this['encodeAsString'](_0x18d029)]:this['encodeAsBinary']({'type':_0x18d029['type']===_0x39ae5b['EVENT']?_0x39ae5b['BINARY_EVENT']:_0x39ae5b['BINARY_ACK'],'nsp':_0x18d029['nsp'],'data':_0x18d029['data'],'id':_0x18d029['id']});}['encodeAsString'](_0x2eb257){let _0x381b05=''+_0x2eb257['type'];return _0x2eb257['type']!==_0x39ae5b['BINARY_EVENT']&&_0x2eb257['type']!==_0x39ae5b['BINARY_ACK']||(_0x381b05+=_0x2eb257['attachments']+'-'),_0x2eb257['nsp']&&'/'!==_0x2eb257['nsp']&&(_0x381b05+=_0x2eb257['nsp']+','),null!=_0x2eb257['id']&&(_0x381b05+=_0x2eb257['id']),null!=_0x2eb257['data']&&(_0x381b05+=JSON['stringify'](_0x2eb257['data'],this['replacer'])),_0x381b05;}['encodeAsBinary'](_0x18c798){const _0x4aafbf=_0x51e199(_0x18c798),_0x58d6da=this['encodeAsString'](_0x4aafbf['packet']),_0x24b1e1=_0x4aafbf['buffers'];return _0x24b1e1['unshift'](_0x58d6da),_0x24b1e1;}},_0x44eeb3=class _0x357350 extends _0x3a5c71{constructor(_0x847bd5){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x847bd5?{'reviver':_0x847bd5}:_0x847bd5);}['add'](_0x20d6cf){let _0x15bd60;if('string'==typeof _0x20d6cf){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x15bd60=this['decodeString'](_0x20d6cf);const _0x3cbf67=_0x15bd60['type']===_0x39ae5b['BINARY_EVENT'];_0x3cbf67||_0x15bd60['type']===_0x39ae5b['BINARY_ACK']?(_0x15bd60['type']=_0x3cbf67?_0x39ae5b['EVENT']:_0x39ae5b['ACK'],this['reconstructor']=new BinaryReconstructor(_0x15bd60),0x0===_0x15bd60['attachments']&&super['emitReserved']('decoded',_0x15bd60)):super['emitReserved']('decoded',_0x15bd60);}else{if(!_0x20e756(_0x20d6cf)&&!_0x20d6cf['base64'])throw new Error('Unknown\x20type:\x20'+_0x20d6cf);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x15bd60=this['reconstructor']['takeBinaryData'](_0x20d6cf),_0x15bd60&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x15bd60));}}['decodeString'](_0x42357c){let _0x56a8b3=0x0;const _0x5f3fda={'type':Number(_0x42357c['charAt'](0x0))};if(void 0x0===_0x39ae5b[_0x5f3fda['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x5f3fda['type']);if(_0x5f3fda['type']===_0x39ae5b['BINARY_EVENT']||_0x5f3fda['type']===_0x39ae5b['BINARY_ACK']){const _0x1993da=_0x56a8b3+0x1;for(;'-'!==_0x42357c['charAt'](++_0x56a8b3)&&_0x56a8b3!=_0x42357c['length'];);const _0x3e18d9=_0x42357c['substring'](_0x1993da,_0x56a8b3);if(_0x3e18d9!=Number(_0x3e18d9)||'-'!==_0x42357c['charAt'](_0x56a8b3))throw new Error('Illegal\x20attachments');const _0x1329fe=Number(_0x3e18d9);if(!_0x240f9a(_0x1329fe)||_0x1329fe<0x0)throw new Error('Illegal\x20attachments');if(_0x1329fe>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x5f3fda['attachments']=_0x1329fe;}if('/'===_0x42357c['charAt'](_0x56a8b3+0x1)){const _0x1ca203=_0x56a8b3+0x1;for(;++_0x56a8b3;){if(','===_0x42357c['charAt'](_0x56a8b3))break;if(_0x56a8b3===_0x42357c['length'])break;}_0x5f3fda['nsp']=_0x42357c['substring'](_0x1ca203,_0x56a8b3);}else _0x5f3fda['nsp']='/';const _0x1e74ec=_0x42357c['charAt'](_0x56a8b3+0x1);if(''!==_0x1e74ec&&Number(_0x1e74ec)==_0x1e74ec){const _0x18ae48=_0x56a8b3+0x1;for(;++_0x56a8b3;){const _0x30c9ca=_0x42357c['charAt'](_0x56a8b3);if(null==_0x30c9ca||Number(_0x30c9ca)!=_0x30c9ca){--_0x56a8b3;break;}if(_0x56a8b3===_0x42357c['length'])break;}_0x5f3fda['id']=Number(_0x42357c['substring'](_0x18ae48,_0x56a8b3+0x1));}if(_0x42357c['charAt'](++_0x56a8b3)){const _0x52b28f=this['tryParse'](_0x42357c['substr'](_0x56a8b3));if(!_0x357350['isPayloadValid'](_0x5f3fda['type'],_0x52b28f))throw new Error('invalid\x20payload');_0x5f3fda['data']=_0x52b28f;}return _0x5f3fda;}['tryParse'](_0x25c7a6){try{return JSON['parse'](_0x25c7a6,this['opts']['reviver']);}catch(_0x42d6e8){return!0x1;}}static['isPayloadValid'](_0x919e7a,_0x51aa4a){switch(_0x919e7a){case _0x39ae5b['CONNECT']:return _0x72a175(_0x51aa4a);case _0x39ae5b['DISCONNECT']:return void 0x0===_0x51aa4a;case _0x39ae5b['CONNECT_ERROR']:return'string'==typeof _0x51aa4a||_0x72a175(_0x51aa4a);case _0x39ae5b['EVENT']:case _0x39ae5b['BINARY_EVENT']:return Array['isArray'](_0x51aa4a)&&('number'==typeof _0x51aa4a[0x0]||'string'==typeof _0x51aa4a[0x0]&&-0x1===_0x13ea3e['indexOf'](_0x51aa4a[0x0]));case _0x39ae5b['ACK']:case _0x39ae5b['BINARY_ACK']:return Array['isArray'](_0x51aa4a);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x5db409){this['packet']=_0x5db409,this['buffers']=[],this['reconPack']=_0x5db409;}['takeBinaryData'](_0xa7eeb8){if(this['buffers']['push'](_0xa7eeb8),this['buffers']['length']===this['reconPack']['attachments']){const _0x429782=_0x4d09e2(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x429782;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const _0x240f9a=Number['isInteger']||function(_0x335134){return'number'==typeof _0x335134&&isFinite(_0x335134)&&Math['floor'](_0x335134)===_0x335134;};function _0x72a175(_0x5a6b9c){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x5a6b9c);}var _0x1353da=Object['freeze']({'__proto__':null,'Decoder':_0x44eeb3,'Encoder':_0x5edc15,get 'PacketType'(){return _0x39ae5b;}});function _0x132567(_0x5c6ebf,_0x1d4b59,_0x5941aa){return _0x5c6ebf['on'](_0x1d4b59,_0x5941aa),function(){_0x5c6ebf['off'](_0x1d4b59,_0x5941aa);};}const _0x5de1bd=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends _0x3a5c71{constructor(_0x424d63,_0x289df2,_0x481988){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']=_0x424d63,this['nsp']=_0x289df2,_0x481988&&_0x481988['auth']&&(this['auth']=_0x481988['auth']),this['_opts']=Object['assign']({},_0x481988),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x3fbe38=this['io'];this['subs']=[_0x132567(_0x3fbe38,'open',this['onopen']['bind'](this)),_0x132567(_0x3fbe38,'packet',this['onpacket']['bind'](this)),_0x132567(_0x3fbe38,'error',this['onerror']['bind'](this)),_0x132567(_0x3fbe38,'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'](..._0x1effda){return _0x1effda['unshift']('message'),this['emit']['apply'](this,_0x1effda),this;}['emit'](_0x3de7ea,..._0xde3491){if(_0x5de1bd['hasOwnProperty'](_0x3de7ea))throw new Error('\x22'+_0x3de7ea['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0xde3491['unshift'](_0x3de7ea),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0xde3491),this;const _0x614fe={'type':_0x39ae5b['EVENT'],'data':_0xde3491,'options':{}};if(_0x614fe['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0xde3491[_0xde3491['length']-0x1]){const _0x17ed14=this['ids']++,_0x3b40b2=_0xde3491['pop']();this['_registerAckCallback'](_0x17ed14,_0x3b40b2),_0x614fe['id']=_0x17ed14;}const _0x1a886a=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x1a886a||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x614fe),this['packet'](_0x614fe)):this['sendBuffer']['push'](_0x614fe)),this['flags']={},this;}['_registerAckCallback'](_0x483fe0,_0xd71701){var _0x367d18;const _0x59c160=null!==(_0x367d18=this['flags']['timeout'])&&void 0x0!==_0x367d18?_0x367d18:this['_opts']['ackTimeout'];if(void 0x0===_0x59c160)return void(this['acks'][_0x483fe0]=_0xd71701);const _0x1c34d6=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x483fe0];for(let _0x31f854=0x0;_0x31f854<this['sendBuffer']['length'];_0x31f854++)this['sendBuffer'][_0x31f854]['id']===_0x483fe0&&this['sendBuffer']['splice'](_0x31f854,0x1);_0xd71701['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x59c160);this['acks'][_0x483fe0]=(..._0x1960a0)=>{this['io']['clearTimeoutFn'](_0x1c34d6),_0xd71701['apply'](this,[null,..._0x1960a0]);};}['emitWithAck'](_0x2f001d,..._0x148591){const _0x4ebff5=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x55c344,_0x1df74a)=>{_0x148591['push']((_0x371266,_0x5d8c55)=>_0x4ebff5?_0x371266?_0x1df74a(_0x371266):_0x55c344(_0x5d8c55):_0x55c344(_0x371266)),this['emit'](_0x2f001d,..._0x148591);});}['_addToQueue'](_0x11e03f){let _0x38fb1a;'function'==typeof _0x11e03f[_0x11e03f['length']-0x1]&&(_0x38fb1a=_0x11e03f['pop']());const _0x54acf2={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x11e03f,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x11e03f['push']((_0x557b78,..._0x4720ad)=>{if(_0x54acf2!==this['_queue'][0x0])return;return null!==_0x557b78?_0x54acf2['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x38fb1a&&_0x38fb1a(_0x557b78)):(this['_queue']['shift'](),_0x38fb1a&&_0x38fb1a(null,..._0x4720ad)),_0x54acf2['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x54acf2),this['_drainQueue']();}['_drainQueue'](_0x3f2ca2=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x1c0caf=this['_queue'][0x0];_0x1c0caf['pending']&&!_0x3f2ca2||(_0x1c0caf['pending']=!0x0,_0x1c0caf['tryCount']++,this['flags']=_0x1c0caf['flags'],this['emit']['apply'](this,_0x1c0caf['args']));}['packet'](_0x152ab8){_0x152ab8['nsp']=this['nsp'],this['io']['_packet'](_0x152ab8);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x3fdb88=>{this['_sendConnectPacket'](_0x3fdb88);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x15f7a5){this['packet']({'type':_0x39ae5b['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x15f7a5):_0x15f7a5});}['onerror'](_0x57b7ec){this['connected']||this['emitReserved']('connect_error',_0x57b7ec);}['onclose'](_0x4af1ed,_0x5ebcce){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x4af1ed,_0x5ebcce);}['onpacket'](_0x3b59ba){if(_0x3b59ba['nsp']===this['nsp'])switch(_0x3b59ba['type']){case _0x39ae5b['CONNECT']:_0x3b59ba['data']&&_0x3b59ba['data']['sid']?this['onconnect'](_0x3b59ba['data']['sid'],_0x3b59ba['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 _0x39ae5b['EVENT']:case _0x39ae5b['BINARY_EVENT']:this['onevent'](_0x3b59ba);break;case _0x39ae5b['ACK']:case _0x39ae5b['BINARY_ACK']:this['onack'](_0x3b59ba);break;case _0x39ae5b['DISCONNECT']:this['ondisconnect']();break;case _0x39ae5b['CONNECT_ERROR']:this['destroy']();const _0x5cb70a=new Error(_0x3b59ba['data']['message']);_0x5cb70a['data']=_0x3b59ba['data']['data'],this['emitReserved']('connect_error',_0x5cb70a);}}['onevent'](_0x3a17fd){const _0x4a53b0=_0x3a17fd['data']||[];null!=_0x3a17fd['id']&&_0x4a53b0['push'](this['ack'](_0x3a17fd['id'])),this['connected']?this['emitEvent'](_0x4a53b0):this['receiveBuffer']['push'](Object['freeze'](_0x4a53b0));}['emitEvent'](_0x5e2f32){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x2156ab=this['_anyListeners']['slice']();for(const _0x5d0dc5 of _0x2156ab)_0x5d0dc5['apply'](this,_0x5e2f32);}super['emit']['apply'](this,_0x5e2f32),this['_pid']&&_0x5e2f32['length']&&'string'==typeof _0x5e2f32[_0x5e2f32['length']-0x1]&&(this['_lastOffset']=_0x5e2f32[_0x5e2f32['length']-0x1]);}['ack'](_0x4e4aee){const _0x33e1f1=this;let _0x17de4a=!0x1;return function(..._0x57598c){_0x17de4a||(_0x17de4a=!0x0,_0x33e1f1['packet']({'type':_0x39ae5b['ACK'],'id':_0x4e4aee,'data':_0x57598c}));};}['onack'](_0x3a8b7b){const _0x4120b1=this['acks'][_0x3a8b7b['id']];'function'==typeof _0x4120b1&&(_0x4120b1['apply'](this,_0x3a8b7b['data']),delete this['acks'][_0x3a8b7b['id']]);}['onconnect'](_0x340836,_0x1536a2){this['id']=_0x340836,this['recovered']=_0x1536a2&&this['_pid']===_0x1536a2,this['_pid']=_0x1536a2,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x41a687=>this['emitEvent'](_0x41a687)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0xc0ff69=>{this['notifyOutgoingListeners'](_0xc0ff69),this['packet'](_0xc0ff69);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x4fda27=>_0x4fda27()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':_0x39ae5b['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x2520a1){return this['flags']['compress']=_0x2520a1,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x116c1c){return this['flags']['timeout']=_0x116c1c,this;}['onAny'](_0x2c5f56){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x2c5f56),this;}['prependAny'](_0x3a990a){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x3a990a),this;}['offAny'](_0x51155d){if(!this['_anyListeners'])return this;if(_0x51155d){const _0x2e62d3=this['_anyListeners'];for(let _0x2a252c=0x0;_0x2a252c<_0x2e62d3['length'];_0x2a252c++)if(_0x51155d===_0x2e62d3[_0x2a252c])return _0x2e62d3['splice'](_0x2a252c,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x220f91){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x220f91),this;}['prependAnyOutgoing'](_0x34f155){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x34f155),this;}['offAnyOutgoing'](_0x11f318){if(!this['_anyOutgoingListeners'])return this;if(_0x11f318){const _0x9b63ce=this['_anyOutgoingListeners'];for(let _0x2dc755=0x0;_0x2dc755<_0x9b63ce['length'];_0x2dc755++)if(_0x11f318===_0x9b63ce[_0x2dc755])return _0x9b63ce['splice'](_0x2dc755,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0xfce506){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x3934a4=this['_anyOutgoingListeners']['slice']();for(const _0x3ebdae of _0x3934a4)_0x3ebdae['apply'](this,_0xfce506['data']);}}}function _0x38e09b(_0x1c39f1){_0x1c39f1=_0x1c39f1||{},this['ms']=_0x1c39f1['min']||0x64,this['max']=_0x1c39f1['max']||0x2710,this['factor']=_0x1c39f1['factor']||0x2,this['jitter']=_0x1c39f1['jitter']>0x0&&_0x1c39f1['jitter']<=0x1?_0x1c39f1['jitter']:0x0,this['attempts']=0x0;}_0x38e09b['prototype']['duration']=function(){var _0x1637fa=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x50254c=Math['random'](),_0x59188d=Math['floor'](_0x50254c*this['jitter']*_0x1637fa);_0x1637fa=0x1&Math['floor'](0xa*_0x50254c)?_0x1637fa+_0x59188d:_0x1637fa-_0x59188d;}return 0x0|Math['min'](_0x1637fa,this['max']);},_0x38e09b['prototype']['reset']=function(){this['attempts']=0x0;},_0x38e09b['prototype']['setMin']=function(_0x30bd1e){this['ms']=_0x30bd1e;},_0x38e09b['prototype']['setMax']=function(_0x41fcf1){this['max']=_0x41fcf1;},_0x38e09b['prototype']['setJitter']=function(_0x4a79d4){this['jitter']=_0x4a79d4;};class _0x34e785 extends _0x3a5c71{constructor(_0x161015,_0x507287){var _0xc35dbe;super(),this['nsps']={},this['subs']=[],_0x161015&&'object'==typeof _0x161015&&(_0x507287=_0x161015,_0x161015=void 0x0),(_0x507287=_0x507287||{})['path']=_0x507287['path']||'/socket.io',this['opts']=_0x507287,_0x4b2a37(this,_0x507287),this['reconnection'](!0x1!==_0x507287['reconnection']),this['reconnectionAttempts'](_0x507287['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x507287['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x507287['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0xc35dbe=_0x507287['randomizationFactor'])&&void 0x0!==_0xc35dbe?_0xc35dbe:0.5),this['backoff']=new _0x38e09b({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x507287['timeout']?0x4e20:_0x507287['timeout']),this['_readyState']='closed',this['uri']=_0x161015;const _0x575c22=_0x507287['parser']||_0x1353da;this['encoder']=new _0x575c22['Encoder'](),this['decoder']=new _0x575c22['Decoder'](),this['_autoConnect']=!0x1!==_0x507287['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x4190f4){return arguments['length']?(this['_reconnection']=!!_0x4190f4,this):this['_reconnection'];}['reconnectionAttempts'](_0x18037e){return void 0x0===_0x18037e?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x18037e,this);}['reconnectionDelay'](_0x167a9b){var _0x52a4ad;return void 0x0===_0x167a9b?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x167a9b,null===(_0x52a4ad=this['backoff'])||void 0x0===_0x52a4ad||_0x52a4ad['setMin'](_0x167a9b),this);}['randomizationFactor'](_0x37a25e){var _0x3529fd;return void 0x0===_0x37a25e?this['_randomizationFactor']:(this['_randomizationFactor']=_0x37a25e,null===(_0x3529fd=this['backoff'])||void 0x0===_0x3529fd||_0x3529fd['setJitter'](_0x37a25e),this);}['reconnectionDelayMax'](_0x471be7){var _0x26a780;return void 0x0===_0x471be7?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x471be7,null===(_0x26a780=this['backoff'])||void 0x0===_0x26a780||_0x26a780['setMax'](_0x471be7),this);}['timeout'](_0x39c01a){return arguments['length']?(this['_timeout']=_0x39c01a,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x21632c){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x1262ac(this['uri'],this['opts']);const _0x5284e4=this['engine'],_0x38d20a=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x525e4f=_0x132567(_0x5284e4,'open',function(){_0x38d20a['onopen'](),_0x21632c&&_0x21632c();}),_0x253ddd=_0x3fd5ba=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3fd5ba),_0x21632c?_0x21632c(_0x3fd5ba):this['maybeReconnectOnOpen']();},_0x1450ab=_0x132567(_0x5284e4,'error',_0x253ddd);if(!0x1!==this['_timeout']){const _0x5a7967=this['_timeout'],_0x4a9113=this['setTimeoutFn'](()=>{_0x525e4f(),_0x253ddd(new Error('timeout')),_0x5284e4['close']();},_0x5a7967);this['opts']['autoUnref']&&_0x4a9113['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x4a9113);});}return this['subs']['push'](_0x525e4f),this['subs']['push'](_0x1450ab),this;}['connect'](_0x502d98){return this['open'](_0x502d98);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x519d1c=this['engine'];this['subs']['push'](_0x132567(_0x519d1c,'ping',this['onping']['bind'](this)),_0x132567(_0x519d1c,'data',this['ondata']['bind'](this)),_0x132567(_0x519d1c,'error',this['onerror']['bind'](this)),_0x132567(_0x519d1c,'close',this['onclose']['bind'](this)),_0x132567(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x4e40a7){try{this['decoder']['add'](_0x4e40a7);}catch(_0x236752){this['onclose']('parse\x20error',_0x236752);}}['ondecoded'](_0x4fedb4){_0x3b8f72(()=>{this['emitReserved']('packet',_0x4fedb4);},this['setTimeoutFn']);}['onerror'](_0x3f2d7d){this['emitReserved']('error',_0x3f2d7d);}['socket'](_0x59b8a9,_0x26fc5e){let _0x5aac75=this['nsps'][_0x59b8a9];return _0x5aac75?this['_autoConnect']&&!_0x5aac75['active']&&_0x5aac75['connect']():(_0x5aac75=new Socket(this,_0x59b8a9,_0x26fc5e),this['nsps'][_0x59b8a9]=_0x5aac75),_0x5aac75;}['_destroy'](_0x17d3e7){const _0x131994=Object['keys'](this['nsps']);for(const _0x10e4dc of _0x131994){if(this['nsps'][_0x10e4dc]['active'])return;}this['_close']();}['_packet'](_0x33195a){const _0xc80780=this['encoder']['encode'](_0x33195a);for(let _0x1886e9=0x0;_0x1886e9<_0xc80780['length'];_0x1886e9++)this['engine']['write'](_0xc80780[_0x1886e9],_0x33195a['options']);}['cleanup'](){this['subs']['forEach'](_0x2ebb54=>_0x2ebb54()),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'](_0x40ed8f,_0x28d78a){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x40ed8f,_0x28d78a),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x121e67=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x3c9a17=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x3d2bce=this['setTimeoutFn'](()=>{_0x121e67['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x121e67['backoff']['attempts']),_0x121e67['skipReconnect']||_0x121e67['open'](_0x2ce14d=>{_0x2ce14d?(_0x121e67['_reconnecting']=!0x1,_0x121e67['reconnect'](),this['emitReserved']('reconnect_error',_0x2ce14d)):_0x121e67['onreconnect']();}));},_0x3c9a17);this['opts']['autoUnref']&&_0x3d2bce['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x3d2bce);});}}['onreconnect'](){const _0x43ebe0=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x43ebe0);}}const _0x4a0090={};function _0x302fae(_0x465b98,_0x517557){'object'==typeof _0x465b98&&(_0x517557=_0x465b98,_0x465b98=void 0x0);const _0x255449=function(_0x595e9b,_0x514852='',_0x20114f){let _0xecf02d=_0x595e9b;_0x20114f=_0x20114f||'undefined'!=typeof location&&location,null==_0x595e9b&&(_0x595e9b=_0x20114f['protocol']+'//'+_0x20114f['host']),'string'==typeof _0x595e9b&&('/'===_0x595e9b['charAt'](0x0)&&(_0x595e9b='/'===_0x595e9b['charAt'](0x1)?_0x20114f['protocol']+_0x595e9b:_0x20114f['host']+_0x595e9b),/^(https?|wss?):\/\//['test'](_0x595e9b)||(_0x595e9b=void 0x0!==_0x20114f?_0x20114f['protocol']+'//'+_0x595e9b:'https://'+_0x595e9b),_0xecf02d=_0x37bdd7(_0x595e9b)),_0xecf02d['port']||(/^(http|ws)$/['test'](_0xecf02d['protocol'])?_0xecf02d['port']='80':/^(http|ws)s$/['test'](_0xecf02d['protocol'])&&(_0xecf02d['port']='443')),_0xecf02d['path']=_0xecf02d['path']||'/';const _0x567761=-0x1!==_0xecf02d['host']['indexOf'](':')?'['+_0xecf02d['host']+']':_0xecf02d['host'];return _0xecf02d['id']=_0xecf02d['protocol']+'://'+_0x567761+':'+_0xecf02d['port']+_0x514852,_0xecf02d['href']=_0xecf02d['protocol']+'://'+_0x567761+(_0x20114f&&_0x20114f['port']===_0xecf02d['port']?'':':'+_0xecf02d['port']),_0xecf02d;}(_0x465b98,(_0x517557=_0x517557||{})['path']||'/socket.io'),_0x34beb0=_0x255449['source'],_0x290474=_0x255449['id'],_0x31a8d1=_0x255449['path'],_0x18ae25=_0x4a0090[_0x290474]&&_0x31a8d1 in _0x4a0090[_0x290474]['nsps'];let _0x26f553;return _0x517557['forceNew']||_0x517557['force\x20new\x20connection']||!0x1===_0x517557['multiplex']||_0x18ae25?_0x26f553=new _0x34e785(_0x34beb0,_0x517557):(_0x4a0090[_0x290474]||(_0x4a0090[_0x290474]=new _0x34e785(_0x34beb0,_0x517557)),_0x26f553=_0x4a0090[_0x290474]),_0x255449['query']&&!_0x517557['query']&&(_0x517557['query']=_0x255449['queryKey']),_0x26f553['socket'](_0x255449['path'],_0x517557);}var _0x1b9d66,_0x38d34a;Object['assign'](_0x302fae,{'Manager':_0x34e785,'Socket':Socket,'io':_0x302fae,'connect':_0x302fae});var _0x3514ad,_0x4bcaec,_0x5ca7e9,_0x6d2a75={},_0x234679=(function(){if(_0x5ca7e9)return _0x4bcaec;_0x5ca7e9=0x1;var _0x12d222=(_0x38d34a||(_0x38d34a=0x1,_0x1b9d66=function(_0x3aba12,_0x2685de){if(_0x2685de=_0x2685de['split'](':')[0x0],!(_0x3aba12=+_0x3aba12))return!0x1;switch(_0x2685de){case'http':case'ws':return 0x50!==_0x3aba12;case'https':case'wss':return 0x1bb!==_0x3aba12;case'ftp':return 0x15!==_0x3aba12;case'gopher':return 0x46!==_0x3aba12;case'file':return!0x1;}return 0x0!==_0x3aba12;}),_0x1b9d66),_0x365fd4=(function(){if(_0x3514ad)return _0x6d2a75;_0x3514ad=0x1;var _0x4d8e86=Object['prototype']['hasOwnProperty'];function _0x57f21d(_0x218604){try{return decodeURIComponent(_0x218604['replace'](/\+/g,'\x20'));}catch(_0xdc4869){return null;}}function _0x325919(_0x2f0caa){try{return encodeURIComponent(_0x2f0caa);}catch(_0x348cae){return null;}}return _0x6d2a75['stringify']=function(_0x2464ec,_0x58d8be){_0x58d8be=_0x58d8be||'';var _0x375039,_0x569967,_0x1c368c=[];for(_0x569967 in('string'!=typeof _0x58d8be&&(_0x58d8be='?'),_0x2464ec))if(_0x4d8e86['call'](_0x2464ec,_0x569967)){if((_0x375039=_0x2464ec[_0x569967])||null!=_0x375039&&!isNaN(_0x375039)||(_0x375039=''),_0x569967=_0x325919(_0x569967),_0x375039=_0x325919(_0x375039),null===_0x569967||null===_0x375039)continue;_0x1c368c['push'](_0x569967+'='+_0x375039);}return _0x1c368c['length']?_0x58d8be+_0x1c368c['join']('&'):'';},_0x6d2a75['parse']=function(_0x18b10f){for(var _0x245fd3,_0x5eff9d=/([^=?#&]+)=?([^&]*)/g,_0x239530={};_0x245fd3=_0x5eff9d['exec'](_0x18b10f);){var _0x13f2ab=_0x57f21d(_0x245fd3[0x1]),_0x50e8e8=_0x57f21d(_0x245fd3[0x2]);null===_0x13f2ab||null===_0x50e8e8||_0x13f2ab in _0x239530||(_0x239530[_0x13f2ab]=_0x50e8e8);}return _0x239530;},_0x6d2a75;}()),_0xf9a452=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x43f295=/[\n\r\t]/g,_0x23daa3=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x25d0bb=/:\d+$/,_0xb2a60d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x20a187=/^[a-zA-Z]:/;function _0x45a013(_0x513390){return(_0x513390||'')['toString']()['replace'](_0xf9a452,'');}var _0x4ceaeb=[['#','hash'],['?','query'],function(_0x1e9711,_0x119e05){return _0x1c2fd8(_0x119e05['protocol'])?_0x1e9711['replace'](/\\/g,'/'):_0x1e9711;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x340997={'hash':0x1,'query':0x1};function _0x4277c1(_0x585f52){var _0x401b68,_0x4f2875=('undefined'!=typeof window?window:void 0x0!==_0x2bcde3?_0x2bcde3:'undefined'!=typeof self?self:{})['location']||{},_0x26c0ad={},_0xd24e56=typeof(_0x585f52=_0x585f52||_0x4f2875);if('blob:'===_0x585f52['protocol'])_0x26c0ad=new _0x2fc1e1(unescape(_0x585f52['pathname']),{});else{if('string'===_0xd24e56){for(_0x401b68 in(_0x26c0ad=new _0x2fc1e1(_0x585f52,{}),_0x340997))delete _0x26c0ad[_0x401b68];}else{if('object'===_0xd24e56){for(_0x401b68 in _0x585f52)_0x401b68 in _0x340997||(_0x26c0ad[_0x401b68]=_0x585f52[_0x401b68]);void 0x0===_0x26c0ad['slashes']&&(_0x26c0ad['slashes']=_0x23daa3['test'](_0x585f52['href']));}}}return _0x26c0ad;}function _0x1c2fd8(_0x3b60f2){return'file:'===_0x3b60f2||'ftp:'===_0x3b60f2||'http:'===_0x3b60f2||'https:'===_0x3b60f2||'ws:'===_0x3b60f2||'wss:'===_0x3b60f2;}function _0x55c66e(_0x3b6014,_0x1b6951){_0x3b6014=(_0x3b6014=_0x45a013(_0x3b6014))['replace'](_0x43f295,''),_0x1b6951=_0x1b6951||{};var _0x19f0c2,_0x43ba0f=_0xb2a60d['exec'](_0x3b6014),_0x15c399=_0x43ba0f[0x1]?_0x43ba0f[0x1]['toLowerCase']():'',_0x5741bb=!!_0x43ba0f[0x2],_0x33c919=!!_0x43ba0f[0x3],_0x391611=0x0;return _0x5741bb?_0x33c919?(_0x19f0c2=_0x43ba0f[0x2]+_0x43ba0f[0x3]+_0x43ba0f[0x4],_0x391611=_0x43ba0f[0x2]['length']+_0x43ba0f[0x3]['length']):(_0x19f0c2=_0x43ba0f[0x2]+_0x43ba0f[0x4],_0x391611=_0x43ba0f[0x2]['length']):_0x33c919?(_0x19f0c2=_0x43ba0f[0x3]+_0x43ba0f[0x4],_0x391611=_0x43ba0f[0x3]['length']):_0x19f0c2=_0x43ba0f[0x4],'file:'===_0x15c399?_0x391611>=0x2&&(_0x19f0c2=_0x19f0c2['slice'](0x2)):_0x1c2fd8(_0x15c399)?_0x19f0c2=_0x43ba0f[0x4]:_0x15c399?_0x5741bb&&(_0x19f0c2=_0x19f0c2['slice'](0x2)):_0x391611>=0x2&&_0x1c2fd8(_0x1b6951['protocol'])&&(_0x19f0c2=_0x43ba0f[0x4]),{'protocol':_0x15c399,'slashes':_0x5741bb||_0x1c2fd8(_0x15c399),'slashesCount':_0x391611,'rest':_0x19f0c2};}function _0x2fc1e1(_0x22215f,_0x2051b1,_0x3ef62a){if(_0x22215f=(_0x22215f=_0x45a013(_0x22215f))['replace'](_0x43f295,''),!(this instanceof _0x2fc1e1))return new _0x2fc1e1(_0x22215f,_0x2051b1,_0x3ef62a);var _0xf7d8a7,_0x44b0d2,_0x3e18de,_0x25af73,_0x51fbcf,_0x408971,_0x2e6cc6=_0x4ceaeb['slice'](),_0x11c045=typeof _0x2051b1,_0x13e01e=this,_0x2b34d3=0x0;for('object'!==_0x11c045&&'string'!==_0x11c045&&(_0x3ef62a=_0x2051b1,_0x2051b1=null),_0x3ef62a&&'function'!=typeof _0x3ef62a&&(_0x3ef62a=_0x365fd4['parse']),_0xf7d8a7=!(_0x44b0d2=_0x55c66e(_0x22215f||'',_0x2051b1=_0x4277c1(_0x2051b1)))['protocol']&&!_0x44b0d2['slashes'],_0x13e01e['slashes']=_0x44b0d2['slashes']||_0xf7d8a7&&_0x2051b1['slashes'],_0x13e01e['protocol']=_0x44b0d2['protocol']||_0x2051b1['protocol']||'',_0x22215f=_0x44b0d2['rest'],('file:'===_0x44b0d2['protocol']&&(0x2!==_0x44b0d2['slashesCount']||_0x20a187['test'](_0x22215f))||!_0x44b0d2['slashes']&&(_0x44b0d2['protocol']||_0x44b0d2['slashesCount']<0x2||!_0x1c2fd8(_0x13e01e['protocol'])))&&(_0x2e6cc6[0x3]=[/(.*)/,'pathname']);_0x2b34d3<_0x2e6cc6['length'];_0x2b34d3++)'function'!=typeof(_0x25af73=_0x2e6cc6[_0x2b34d3])?(_0x3e18de=_0x25af73[0x0],_0x408971=_0x25af73[0x1],_0x3e18de!=_0x3e18de?_0x13e01e[_0x408971]=_0x22215f:'string'==typeof _0x3e18de?~(_0x51fbcf='@'===_0x3e18de?_0x22215f['lastIndexOf'](_0x3e18de):_0x22215f['indexOf'](_0x3e18de))&&('number'==typeof _0x25af73[0x2]?(_0x13e01e[_0x408971]=_0x22215f['slice'](0x0,_0x51fbcf),_0x22215f=_0x22215f['slice'](_0x51fbcf+_0x25af73[0x2])):(_0x13e01e[_0x408971]=_0x22215f['slice'](_0x51fbcf),_0x22215f=_0x22215f['slice'](0x0,_0x51fbcf))):(_0x51fbcf=_0x3e18de['exec'](_0x22215f))&&(_0x13e01e[_0x408971]=_0x51fbcf[0x1],_0x22215f=_0x22215f['slice'](0x0,_0x51fbcf['index'])),_0x13e01e[_0x408971]=_0x13e01e[_0x408971]||_0xf7d8a7&&_0x25af73[0x3]&&_0x2051b1[_0x408971]||'',_0x25af73[0x4]&&(_0x13e01e[_0x408971]=_0x13e01e[_0x408971]['toLowerCase']())):_0x22215f=_0x25af73(_0x22215f,_0x13e01e);_0x3ef62a&&(_0x13e01e['query']=_0x3ef62a(_0x13e01e['query'])),_0xf7d8a7&&_0x2051b1['slashes']&&'/'!==_0x13e01e['pathname']['charAt'](0x0)&&(''!==_0x13e01e['pathname']||''!==_0x2051b1['pathname'])&&(_0x13e01e['pathname']=function(_0x502950,_0x2e8432){if(''===_0x502950)return _0x2e8432;for(var _0x3fcf52=(_0x2e8432||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x502950['split']('/')),_0x3f9e5e=_0x3fcf52['length'],_0x47bde2=_0x3fcf52[_0x3f9e5e-0x1],_0x1b39fe=!0x1,_0x4ae2d3=0x0;_0x3f9e5e--;)'.'===_0x3fcf52[_0x3f9e5e]?_0x3fcf52['splice'](_0x3f9e5e,0x1):'..'===_0x3fcf52[_0x3f9e5e]?(_0x3fcf52['splice'](_0x3f9e5e,0x1),_0x4ae2d3++):_0x4ae2d3&&(0x0===_0x3f9e5e&&(_0x1b39fe=!0x0),_0x3fcf52['splice'](_0x3f9e5e,0x1),_0x4ae2d3--);return _0x1b39fe&&_0x3fcf52['unshift'](''),'.'!==_0x47bde2&&'..'!==_0x47bde2||_0x3fcf52['push'](''),_0x3fcf52['join']('/');}(_0x13e01e['pathname'],_0x2051b1['pathname'])),'/'!==_0x13e01e['pathname']['charAt'](0x0)&&_0x1c2fd8(_0x13e01e['protocol'])&&(_0x13e01e['pathname']='/'+_0x13e01e['pathname']),_0x12d222(_0x13e01e['port'],_0x13e01e['protocol'])||(_0x13e01e['host']=_0x13e01e['hostname'],_0x13e01e['port']=''),_0x13e01e['username']=_0x13e01e['password']='',_0x13e01e['auth']&&(~(_0x51fbcf=_0x13e01e['auth']['indexOf'](':'))?(_0x13e01e['username']=_0x13e01e['auth']['slice'](0x0,_0x51fbcf),_0x13e01e['username']=encodeURIComponent(decodeURIComponent(_0x13e01e['username'])),_0x13e01e['password']=_0x13e01e['auth']['slice'](_0x51fbcf+0x1),_0x13e01e['password']=encodeURIComponent(decodeURIComponent(_0x13e01e['password']))):_0x13e01e['username']=encodeURIComponent(decodeURIComponent(_0x13e01e['auth'])),_0x13e01e['auth']=_0x13e01e['password']?_0x13e01e['username']+':'+_0x13e01e['password']:_0x13e01e['username']),_0x13e01e['origin']='file:'!==_0x13e01e['protocol']&&_0x1c2fd8(_0x13e01e['protocol'])&&_0x13e01e['host']?_0x13e01e['protocol']+'//'+_0x13e01e['host']:'null',_0x13e01e['href']=_0x13e01e['toString']();}return _0x2fc1e1['prototype']={'set':function(_0x2a21ce,_0x25c0e1,_0x108522){var _0x382c1c=this;switch(_0x2a21ce){case'query':'string'==typeof _0x25c0e1&&_0x25c0e1['length']&&(_0x25c0e1=(_0x108522||_0x365fd4['parse'])(_0x25c0e1)),_0x382c1c[_0x2a21ce]=_0x25c0e1;break;case'port':_0x382c1c[_0x2a21ce]=_0x25c0e1,_0x12d222(_0x25c0e1,_0x382c1c['protocol'])?_0x25c0e1&&(_0x382c1c['host']=_0x382c1c['hostname']+':'+_0x25c0e1):(_0x382c1c['host']=_0x382c1c['hostname'],_0x382c1c[_0x2a21ce]='');break;case'hostname':_0x382c1c[_0x2a21ce]=_0x25c0e1,_0x382c1c['port']&&(_0x25c0e1+=':'+_0x382c1c['port']),_0x382c1c['host']=_0x25c0e1;break;case'host':_0x382c1c[_0x2a21ce]=_0x25c0e1,_0x25d0bb['test'](_0x25c0e1)?(_0x25c0e1=_0x25c0e1['split'](':'),_0x382c1c['port']=_0x25c0e1['pop'](),_0x382c1c['hostname']=_0x25c0e1['join'](':')):(_0x382c1c['hostname']=_0x25c0e1,_0x382c1c['port']='');break;case'protocol':_0x382c1c['protocol']=_0x25c0e1['toLowerCase'](),_0x382c1c['slashes']=!_0x108522;break;case'pathname':case'hash':if(_0x25c0e1){var _0xced401='pathname'===_0x2a21ce?'/':'#';_0x382c1c[_0x2a21ce]=_0x25c0e1['charAt'](0x0)!==_0xced401?_0xced401+_0x25c0e1:_0x25c0e1;}else _0x382c1c[_0x2a21ce]=_0x25c0e1;break;case'username':case'password':_0x382c1c[_0x2a21ce]=encodeURIComponent(_0x25c0e1);break;case'auth':var _0x33d3a0=_0x25c0e1['indexOf'](':');~_0x33d3a0?(_0x382c1c['username']=_0x25c0e1['slice'](0x0,_0x33d3a0),_0x382c1c['username']=encodeURIComponent(decodeURIComponent(_0x382c1c['username'])),_0x382c1c['password']=_0x25c0e1['slice'](_0x33d3a0+0x1),_0x382c1c['password']=encodeURIComponent(decodeURIComponent(_0x382c1c['password']))):_0x382c1c['username']=encodeURIComponent(decodeURIComponent(_0x25c0e1));}for(var _0x238c9b=0x0;_0x238c9b<_0x4ceaeb['length'];_0x238c9b++){var _0x1ebc7c=_0x4ceaeb[_0x238c9b];_0x1ebc7c[0x4]&&(_0x382c1c[_0x1ebc7c[0x1]]=_0x382c1c[_0x1ebc7c[0x1]]['toLowerCase']());}return _0x382c1c['auth']=_0x382c1c['password']?_0x382c1c['username']+':'+_0x382c1c['password']:_0x382c1c['username'],_0x382c1c['origin']='file:'!==_0x382c1c['protocol']&&_0x1c2fd8(_0x382c1c['protocol'])&&_0x382c1c['host']?_0x382c1c['protocol']+'//'+_0x382c1c['host']:'null',_0x382c1c['href']=_0x382c1c['toString'](),_0x382c1c;},'toString':function(_0x5b288c){_0x5b288c&&'function'==typeof _0x5b288c||(_0x5b288c=_0x365fd4['stringify']);var _0xb8681c,_0x2f6ad5=this,_0x2da19d=_0x2f6ad5['host'],_0x1fc741=_0x2f6ad5['protocol'];_0x1fc741&&':'!==_0x1fc741['charAt'](_0x1fc741['length']-0x1)&&(_0x1fc741+=':');var _0x18fefa=_0x1fc741+(_0x2f6ad5['protocol']&&_0x2f6ad5['slashes']||_0x1c2fd8(_0x2f6ad5['protocol'])?'//':'');return _0x2f6ad5['username']?(_0x18fefa+=_0x2f6ad5['username'],_0x2f6ad5['password']&&(_0x18fefa+=':'+_0x2f6ad5['password']),_0x18fefa+='@'):_0x2f6ad5['password']?(_0x18fefa+=':'+_0x2f6ad5['password'],_0x18fefa+='@'):'file:'!==_0x2f6ad5['protocol']&&_0x1c2fd8(_0x2f6ad5['protocol'])&&!_0x2da19d&&'/'!==_0x2f6ad5['pathname']&&(_0x18fefa+='@'),(':'===_0x2da19d[_0x2da19d['length']-0x1]||_0x25d0bb['test'](_0x2f6ad5['hostname'])&&!_0x2f6ad5['port'])&&(_0x2da19d+=':'),_0x18fefa+=_0x2da19d+_0x2f6ad5['pathname'],(_0xb8681c='object'==typeof _0x2f6ad5['query']?_0x5b288c(_0x2f6ad5['query']):_0x2f6ad5['query'])&&(_0x18fefa+='?'!==_0xb8681c['charAt'](0x0)?'?'+_0xb8681c:_0xb8681c),_0x2f6ad5['hash']&&(_0x18fefa+=_0x2f6ad5['hash']),_0x18fefa;}},_0x2fc1e1['extractProtocol']=_0x55c66e,_0x2fc1e1['location']=_0x4277c1,_0x2fc1e1['trimLeft']=_0x45a013,_0x2fc1e1['qs']=_0x365fd4,_0x4bcaec=_0x2fc1e1;}());const _0x158b02=[];for(let _0x1d7a12=0x0;_0x1d7a12<0x100;++_0x1d7a12)_0x158b02['push']((_0x1d7a12+0x100)['toString'](0x10)['slice'](0x1));const _0x14edba=new Uint8Array(0x10);function _0x315faa(_0x490a28,_0x381c41,_0x432a09){return crypto['randomUUID']?crypto['randomUUID']():function(_0xad2368){_0xad2368=_0xad2368||{};const _0x2c1921=_0xad2368['random']??_0xad2368['rng']?.()??crypto['getRandomValues'](_0x14edba);if(_0x2c1921['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x2c1921[0x6]=0xf&_0x2c1921[0x6]|0x40,_0x2c1921[0x8]=0x3f&_0x2c1921[0x8]|0x80,function(_0x54c368,_0x571617=0x0){return(_0x158b02[_0x54c368[_0x571617+0x0]]+_0x158b02[_0x54c368[_0x571617+0x1]]+_0x158b02[_0x54c368[_0x571617+0x2]]+_0x158b02[_0x54c368[_0x571617+0x3]]+'-'+_0x158b02[_0x54c368[_0x571617+0x4]]+_0x158b02[_0x54c368[_0x571617+0x5]]+'-'+_0x158b02[_0x54c368[_0x571617+0x6]]+_0x158b02[_0x54c368[_0x571617+0x7]]+'-'+_0x158b02[_0x54c368[_0x571617+0x8]]+_0x158b02[_0x54c368[_0x571617+0x9]]+'-'+_0x158b02[_0x54c368[_0x571617+0xa]]+_0x158b02[_0x54c368[_0x571617+0xb]]+_0x158b02[_0x54c368[_0x571617+0xc]]+_0x158b02[_0x54c368[_0x571617+0xd]]+_0x158b02[_0x54c368[_0x571617+0xe]]+_0x158b02[_0x54c368[_0x571617+0xf]])['toLowerCase']();}(_0x2c1921);}(_0x490a28);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x522643){}}class _0x12f277 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x112342){super();}static['fromJSON'](_0x1577cb){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x12f277{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x44373c){super(),this['id']=_0x44373c;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x136bfb){return new GetUserMessage(_0x136bfb['id']);}}class GetUserResponse extends _0x12f277{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x457b77){super(),this['attributes']=_0x457b77;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x2d22a6=>({'key':_0x2d22a6,'value':JSON['stringify'](this['attributes'][_0x2d22a6])}))};}static['fromJSON'](_0x3431ed){const _0x155605=_0x3431ed['attributes']['reduce']((_0x46e131,_0x41b714)=>(_0x46e131[_0x41b714['key']]=_0x41b714['value']?JSON['parse'](_0x41b714['value']):null,_0x46e131),{});return new GetUserResponse(_0x155605);}}const _0x2afe44=/* #__PURE__ -- @preserve */
((()=>{var _0x185f42=_0x56b58e['Reader'],_0x102edc=_0x56b58e['Writer'],_0x43a1d8=_0x56b58e['util'],_0x297356=_0x56b58e['roots']['default']||(_0x56b58e['roots']['default']={});return _0x297356['StringStringPacketDataMessage']=(function(){function _0x3568ab(_0x23a891){if(_0x23a891){for(var _0x4f0216=Object['keys'](_0x23a891),_0x28c08c=0x0;_0x28c08c<_0x4f0216['length'];++_0x28c08c)null!=_0x23a891[_0x4f0216[_0x28c08c]]&&(this[_0x4f0216[_0x28c08c]]=_0x23a891[_0x4f0216[_0x28c08c]]);}}return _0x3568ab['prototype']['data']='',_0x3568ab['prototype']['data1']='',_0x3568ab['create']=function(_0xf3bc4){return new _0x3568ab(_0xf3bc4);},_0x3568ab['encode']=function(_0x2fce4d,_0x2f4c3e){return _0x2f4c3e||(_0x2f4c3e=_0x102edc['create']()),null!=_0x2fce4d['data']&&Object['hasOwnProperty']['call'](_0x2fce4d,'data')&&_0x2f4c3e['uint32'](0xa)['string'](_0x2fce4d['data']),null!=_0x2fce4d['data1']&&Object['hasOwnProperty']['call'](_0x2fce4d,'data1')&&_0x2f4c3e['uint32'](0x12)['string'](_0x2fce4d['data1']),_0x2f4c3e;},_0x3568ab['encodeDelimited']=function(_0xfabc70,_0x4ed931){return this['encode'](_0xfabc70,_0x4ed931)['ldelim']();},_0x3568ab['decode']=function(_0x44c1b0,_0x29b82c,_0x5c6f39){_0x44c1b0 instanceof _0x185f42||(_0x44c1b0=_0x185f42['create'](_0x44c1b0));for(var _0x191774=void 0x0===_0x29b82c?_0x44c1b0['len']:_0x44c1b0['pos']+_0x29b82c,_0x5ebf16=new _0x297356['StringStringPacketDataMessage']();_0x44c1b0['pos']<_0x191774;){var _0x6e1ffc=_0x44c1b0['uint32']();if(_0x6e1ffc===_0x5c6f39)break;switch(_0x6e1ffc>>>0x3){case 0x1:_0x5ebf16['data']=_0x44c1b0['string']();break;case 0x2:_0x5ebf16['data1']=_0x44c1b0['string']();break;default:_0x44c1b0['skipType'](0x7&_0x6e1ffc);}}return _0x5ebf16;},_0x3568ab['decodeDelimited']=function(_0x62a449){return _0x62a449 instanceof _0x185f42||(_0x62a449=new _0x185f42(_0x62a449)),this['decode'](_0x62a449,_0x62a449['uint32']());},_0x3568ab['verify']=function(_0x2c7dca){return'object'!=typeof _0x2c7dca||null===_0x2c7dca?'object\x20expected':null!=_0x2c7dca['data']&&_0x2c7dca['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x2c7dca['data'])?'data:\x20string\x20expected':null!=_0x2c7dca['data1']&&_0x2c7dca['hasOwnProperty']('data1')&&!_0x43a1d8['isString'](_0x2c7dca['data1'])?'data1:\x20string\x20expected':null;},_0x3568ab['fromObject']=function(_0x4379a0){if(_0x4379a0 instanceof _0x297356['StringStringPacketDataMessage'])return _0x4379a0;var _0xe754c6=new _0x297356['StringStringPacketDataMessage']();return null!=_0x4379a0['data']&&(_0xe754c6['data']=String(_0x4379a0['data'])),null!=_0x4379a0['data1']&&(_0xe754c6['data1']=String(_0x4379a0['data1'])),_0xe754c6;},_0x3568ab['toObject']=function(_0x1f2fea,_0x52ab69){_0x52ab69||(_0x52ab69={});var _0x51adeb={};return _0x52ab69['defaults']&&(_0x51adeb['data']='',_0x51adeb['data1']=''),null!=_0x1f2fea['data']&&_0x1f2fea['hasOwnProperty']('data')&&(_0x51adeb['data']=_0x1f2fea['data']),null!=_0x1f2fea['data1']&&_0x1f2fea['hasOwnProperty']('data1')&&(_0x51adeb['data1']=_0x1f2fea['data1']),_0x51adeb;},_0x3568ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x3568ab['getTypeUrl']=function(_0x33629c){return void 0x0===_0x33629c&&(_0x33629c='type.googleapis.com'),_0x33629c+'/StringStringPacketDataMessage';},_0x3568ab;}()),_0x297356['StringObjectPacketDataMessage']=(function(){function _0x28c126(_0xdfd29a){if(_0xdfd29a){for(var _0x2a84bb=Object['keys'](_0xdfd29a),_0x36acf4=0x0;_0x36acf4<_0x2a84bb['length'];++_0x36acf4)null!=_0xdfd29a[_0x2a84bb[_0x36acf4]]&&(this[_0x2a84bb[_0x36acf4]]=_0xdfd29a[_0x2a84bb[_0x36acf4]]);}}return _0x28c126['prototype']['data']='',_0x28c126['prototype']['data1']='',_0x28c126['create']=function(_0x3d241a){return new _0x28c126(_0x3d241a);},_0x28c126['encode']=function(_0xbab3f0,_0x3eb60c){return _0x3eb60c||(_0x3eb60c=_0x102edc['create']()),null!=_0xbab3f0['data']&&Object['hasOwnProperty']['call'](_0xbab3f0,'data')&&_0x3eb60c['uint32'](0xa)['string'](_0xbab3f0['data']),null!=_0xbab3f0['data1']&&Object['hasOwnProperty']['call'](_0xbab3f0,'data1')&&_0x3eb60c['uint32'](0x12)['string'](_0xbab3f0['data1']),_0x3eb60c;},_0x28c126['encodeDelimited']=function(_0x3ab9d4,_0x24e4e2){return this['encode'](_0x3ab9d4,_0x24e4e2)['ldelim']();},_0x28c126['decode']=function(_0x11fb3f,_0x447916,_0x11ee64){_0x11fb3f instanceof _0x185f42||(_0x11fb3f=_0x185f42['create'](_0x11fb3f));for(var _0x5088cd=void 0x0===_0x447916?_0x11fb3f['len']:_0x11fb3f['pos']+_0x447916,_0x460c32=new _0x297356['StringObjectPacketDataMessage']();_0x11fb3f['pos']<_0x5088cd;){var _0x57590e=_0x11fb3f['uint32']();if(_0x57590e===_0x11ee64)break;switch(_0x57590e>>>0x3){case 0x1:_0x460c32['data']=_0x11fb3f['string']();break;case 0x2:_0x460c32['data1']=_0x11fb3f['string']();break;default:_0x11fb3f['skipType'](0x7&_0x57590e);}}return _0x460c32;},_0x28c126['decodeDelimited']=function(_0x3b8e3f){return _0x3b8e3f instanceof _0x185f42||(_0x3b8e3f=new _0x185f42(_0x3b8e3f)),this['decode'](_0x3b8e3f,_0x3b8e3f['uint32']());},_0x28c126['verify']=function(_0x478db0){return'object'!=typeof _0x478db0||null===_0x478db0?'object\x20expected':null!=_0x478db0['data']&&_0x478db0['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x478db0['data'])?'data:\x20string\x20expected':null!=_0x478db0['data1']&&_0x478db0['hasOwnProperty']('data1')&&!_0x43a1d8['isString'](_0x478db0['data1'])?'data1:\x20string\x20expected':null;},_0x28c126['fromObject']=function(_0x18863d){if(_0x18863d instanceof _0x297356['StringObjectPacketDataMessage'])return _0x18863d;var _0x369264=new _0x297356['StringObjectPacketDataMessage']();return null!=_0x18863d['data']&&(_0x369264['data']=String(_0x18863d['data'])),null!=_0x18863d['data1']&&(_0x369264['data1']=String(_0x18863d['data1'])),_0x369264;},_0x28c126['toObject']=function(_0x126a20,_0x540c28){_0x540c28||(_0x540c28={});var _0x2a5eef={};return _0x540c28['defaults']&&(_0x2a5eef['data']='',_0x2a5eef['data1']=''),null!=_0x126a20['data']&&_0x126a20['hasOwnProperty']('data')&&(_0x2a5eef['data']=_0x126a20['data']),null!=_0x126a20['data1']&&_0x126a20['hasOwnProperty']('data1')&&(_0x2a5eef['data1']=_0x126a20['data1']),_0x2a5eef;},_0x28c126['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x28c126['getTypeUrl']=function(_0x1c1ee7){return void 0x0===_0x1c1ee7&&(_0x1c1ee7='type.googleapis.com'),_0x1c1ee7+'/StringObjectPacketDataMessage';},_0x28c126;}()),_0x297356['StringNumberPacketDataMessage']=(function(){function _0x3c2507(_0x3c30ad){if(_0x3c30ad){for(var _0x30838f=Object['keys'](_0x3c30ad),_0xc6a259=0x0;_0xc6a259<_0x30838f['length'];++_0xc6a259)null!=_0x3c30ad[_0x30838f[_0xc6a259]]&&(this[_0x30838f[_0xc6a259]]=_0x3c30ad[_0x30838f[_0xc6a259]]);}}return _0x3c2507['prototype']['data']='',_0x3c2507['prototype']['data1']=0x0,_0x3c2507['create']=function(_0x7cdbdb){return new _0x3c2507(_0x7cdbdb);},_0x3c2507['encode']=function(_0x60fc3c,_0x28826f){return _0x28826f||(_0x28826f=_0x102edc['create']()),null!=_0x60fc3c['data']&&Object['hasOwnProperty']['call'](_0x60fc3c,'data')&&_0x28826f['uint32'](0xa)['string'](_0x60fc3c['data']),null!=_0x60fc3c['data1']&&Object['hasOwnProperty']['call'](_0x60fc3c,'data1')&&_0x28826f['uint32'](0x10)['uint32'](_0x60fc3c['data1']),_0x28826f;},_0x3c2507['encodeDelimited']=function(_0x36d56e,_0x20ed51){return this['encode'](_0x36d56e,_0x20ed51)['ldelim']();},_0x3c2507['decode']=function(_0x8a6018,_0x3e6a28,_0x5ce832){_0x8a6018 instanceof _0x185f42||(_0x8a6018=_0x185f42['create'](_0x8a6018));for(var _0x2e1deb=void 0x0===_0x3e6a28?_0x8a6018['len']:_0x8a6018['pos']+_0x3e6a28,_0x4223a0=new _0x297356['StringNumberPacketDataMessage']();_0x8a6018['pos']<_0x2e1deb;){var _0x2cd53f=_0x8a6018['uint32']();if(_0x2cd53f===_0x5ce832)break;switch(_0x2cd53f>>>0x3){case 0x1:_0x4223a0['data']=_0x8a6018['string']();break;case 0x2:_0x4223a0['data1']=_0x8a6018['uint32']();break;default:_0x8a6018['skipType'](0x7&_0x2cd53f);}}return _0x4223a0;},_0x3c2507['decodeDelimited']=function(_0x4dbe30){return _0x4dbe30 instanceof _0x185f42||(_0x4dbe30=new _0x185f42(_0x4dbe30)),this['decode'](_0x4dbe30,_0x4dbe30['uint32']());},_0x3c2507['verify']=function(_0x6b6ccb){return'object'!=typeof _0x6b6ccb||null===_0x6b6ccb?'object\x20expected':null!=_0x6b6ccb['data']&&_0x6b6ccb['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x6b6ccb['data'])?'data:\x20string\x20expected':null!=_0x6b6ccb['data1']&&_0x6b6ccb['hasOwnProperty']('data1')&&!_0x43a1d8['isInteger'](_0x6b6ccb['data1'])?'data1:\x20integer\x20expected':null;},_0x3c2507['fromObject']=function(_0x1cae66){if(_0x1cae66 instanceof _0x297356['StringNumberPacketDataMessage'])return _0x1cae66;var _0x149174=new _0x297356['StringNumberPacketDataMessage']();return null!=_0x1cae66['data']&&(_0x149174['data']=String(_0x1cae66['data'])),null!=_0x1cae66['data1']&&(_0x149174['data1']=_0x1cae66['data1']>>>0x0),_0x149174;},_0x3c2507['toObject']=function(_0x5abfad,_0x20aa04){_0x20aa04||(_0x20aa04={});var _0x5bb765={};return _0x20aa04['defaults']&&(_0x5bb765['data']='',_0x5bb765['data1']=0x0),null!=_0x5abfad['data']&&_0x5abfad['hasOwnProperty']('data')&&(_0x5bb765['data']=_0x5abfad['data']),null!=_0x5abfad['data1']&&_0x5abfad['hasOwnProperty']('data1')&&(_0x5bb765['data1']=_0x5abfad['data1']),_0x5bb765;},_0x3c2507['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x3c2507['getTypeUrl']=function(_0x32c047){return void 0x0===_0x32c047&&(_0x32c047='type.googleapis.com'),_0x32c047+'/StringNumberPacketDataMessage';},_0x3c2507;}()),_0x297356['StringBytesPacketDataMessage']=(function(){function _0x440e77(_0x4e184a){if(_0x4e184a){for(var _0x28704b=Object['keys'](_0x4e184a),_0x27e17f=0x0;_0x27e17f<_0x28704b['length'];++_0x27e17f)null!=_0x4e184a[_0x28704b[_0x27e17f]]&&(this[_0x28704b[_0x27e17f]]=_0x4e184a[_0x28704b[_0x27e17f]]);}}return _0x440e77['prototype']['data']='',_0x440e77['prototype']['data1']=_0x43a1d8['newBuffer']([]),_0x440e77['create']=function(_0x9e3c91){return new _0x440e77(_0x9e3c91);},_0x440e77['encode']=function(_0x526367,_0x5175d2){return _0x5175d2||(_0x5175d2=_0x102edc['create']()),null!=_0x526367['data']&&Object['hasOwnProperty']['call'](_0x526367,'data')&&_0x5175d2['uint32'](0xa)['string'](_0x526367['data']),null!=_0x526367['data1']&&Object['hasOwnProperty']['call'](_0x526367,'data1')&&_0x5175d2['uint32'](0x12)['bytes'](_0x526367['data1']),_0x5175d2;},_0x440e77['encodeDelimited']=function(_0x5479b8,_0x159368){return this['encode'](_0x5479b8,_0x159368)['ldelim']();},_0x440e77['decode']=function(_0x4d45ec,_0x52b9b1,_0x434d1d){_0x4d45ec instanceof _0x185f42||(_0x4d45ec=_0x185f42['create'](_0x4d45ec));for(var _0x2ca2ff=void 0x0===_0x52b9b1?_0x4d45ec['len']:_0x4d45ec['pos']+_0x52b9b1,_0x190638=new _0x297356['StringBytesPacketDataMessage']();_0x4d45ec['pos']<_0x2ca2ff;){var _0x246a98=_0x4d45ec['uint32']();if(_0x246a98===_0x434d1d)break;switch(_0x246a98>>>0x3){case 0x1:_0x190638['data']=_0x4d45ec['string']();break;case 0x2:_0x190638['data1']=_0x4d45ec['bytes']();break;default:_0x4d45ec['skipType'](0x7&_0x246a98);}}return _0x190638;},_0x440e77['decodeDelimited']=function(_0x39f12f){return _0x39f12f instanceof _0x185f42||(_0x39f12f=new _0x185f42(_0x39f12f)),this['decode'](_0x39f12f,_0x39f12f['uint32']());},_0x440e77['verify']=function(_0x5231a4){return'object'!=typeof _0x5231a4||null===_0x5231a4?'object\x20expected':null!=_0x5231a4['data']&&_0x5231a4['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x5231a4['data'])?'data:\x20string\x20expected':null!=_0x5231a4['data1']&&_0x5231a4['hasOwnProperty']('data1')&&!(_0x5231a4['data1']&&'number'==typeof _0x5231a4['data1']['length']||_0x43a1d8['isString'](_0x5231a4['data1']))?'data1:\x20buffer\x20expected':null;},_0x440e77['fromObject']=function(_0x42704a){if(_0x42704a instanceof _0x297356['StringBytesPacketDataMessage'])return _0x42704a;var _0x182a8d=new _0x297356['StringBytesPacketDataMessage']();return null!=_0x42704a['data']&&(_0x182a8d['data']=String(_0x42704a['data'])),null!=_0x42704a['data1']&&('string'==typeof _0x42704a['data1']?_0x43a1d8['base64']['decode'](_0x42704a['data1'],_0x182a8d['data1']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x42704a['data1'])),0x0):_0x42704a['data1']['length']>=0x0&&(_0x182a8d['data1']=_0x42704a['data1'])),_0x182a8d;},_0x440e77['toObject']=function(_0x392ff5,_0x520f94){_0x520f94||(_0x520f94={});var _0x22f8e3={};return _0x520f94['defaults']&&(_0x22f8e3['data']='',_0x520f94['bytes']===String?_0x22f8e3['data1']='':(_0x22f8e3['data1']=[],_0x520f94['bytes']!==Array&&(_0x22f8e3['data1']=_0x43a1d8['newBuffer'](_0x22f8e3['data1'])))),null!=_0x392ff5['data']&&_0x392ff5['hasOwnProperty']('data')&&(_0x22f8e3['data']=_0x392ff5['data']),null!=_0x392ff5['data1']&&_0x392ff5['hasOwnProperty']('data1')&&(_0x22f8e3['data1']=_0x520f94['bytes']===String?_0x43a1d8['base64']['encode'](_0x392ff5['data1'],0x0,_0x392ff5['data1']['length']):_0x520f94['bytes']===Array?Array['prototype']['slice']['call'](_0x392ff5['data1']):_0x392ff5['data1']),_0x22f8e3;},_0x440e77['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x440e77['getTypeUrl']=function(_0xcedba5){return void 0x0===_0xcedba5&&(_0xcedba5='type.googleapis.com'),_0xcedba5+'/StringBytesPacketDataMessage';},_0x440e77;}()),_0x297356['PacketOptionsMessage']=(function(){function _0x591ed0(_0x2b63e0){if(this['rooms']=[],this['except']=[],_0x2b63e0){for(var _0x14095f=Object['keys'](_0x2b63e0),_0xd3f86=0x0;_0xd3f86<_0x14095f['length'];++_0xd3f86)null!=_0x2b63e0[_0x14095f[_0xd3f86]]&&(this[_0x14095f[_0xd3f86]]=_0x2b63e0[_0x14095f[_0xd3f86]]);}}return _0x591ed0['prototype']['flags']='',_0x591ed0['prototype']['rooms']=_0x43a1d8['emptyArray'],_0x591ed0['prototype']['except']=_0x43a1d8['emptyArray'],_0x591ed0['create']=function(_0x29bb57){return new _0x591ed0(_0x29bb57);},_0x591ed0['encode']=function(_0x438aa3,_0x540be8){if(_0x540be8||(_0x540be8=_0x102edc['create']()),null!=_0x438aa3['flags']&&Object['hasOwnProperty']['call'](_0x438aa3,'flags')&&_0x540be8['uint32'](0xa)['string'](_0x438aa3['flags']),null!=_0x438aa3['rooms']&&_0x438aa3['rooms']['length']){for(var _0x58f2bb=0x0;_0x58f2bb<_0x438aa3['rooms']['length'];++_0x58f2bb)_0x540be8['uint32'](0x12)['string'](_0x438aa3['rooms'][_0x58f2bb]);}if(null!=_0x438aa3['except']&&_0x438aa3['except']['length']){for(_0x58f2bb=0x0;_0x58f2bb<_0x438aa3['except']['length'];++_0x58f2bb)_0x540be8['uint32'](0x1a)['string'](_0x438aa3['except'][_0x58f2bb]);}return _0x540be8;},_0x591ed0['encodeDelimited']=function(_0x306553,_0x37a5d5){return this['encode'](_0x306553,_0x37a5d5)['ldelim']();},_0x591ed0['decode']=function(_0x5bd3ce,_0x5e05af,_0x538320){_0x5bd3ce instanceof _0x185f42||(_0x5bd3ce=_0x185f42['create'](_0x5bd3ce));for(var _0x4f5a46=void 0x0===_0x5e05af?_0x5bd3ce['len']:_0x5bd3ce['pos']+_0x5e05af,_0xf58ba3=new _0x297356['PacketOptionsMessage']();_0x5bd3ce['pos']<_0x4f5a46;){var _0x1410f1=_0x5bd3ce['uint32']();if(_0x1410f1===_0x538320)break;switch(_0x1410f1>>>0x3){case 0x1:_0xf58ba3['flags']=_0x5bd3ce['string']();break;case 0x2:_0xf58ba3['rooms']&&_0xf58ba3['rooms']['length']||(_0xf58ba3['rooms']=[]),_0xf58ba3['rooms']['push'](_0x5bd3ce['string']());break;case 0x3:_0xf58ba3['except']&&_0xf58ba3['except']['length']||(_0xf58ba3['except']=[]),_0xf58ba3['except']['push'](_0x5bd3ce['string']());break;default:_0x5bd3ce['skipType'](0x7&_0x1410f1);}}return _0xf58ba3;},_0x591ed0['decodeDelimited']=function(_0xbc95f6){return _0xbc95f6 instanceof _0x185f42||(_0xbc95f6=new _0x185f42(_0xbc95f6)),this['decode'](_0xbc95f6,_0xbc95f6['uint32']());},_0x591ed0['verify']=function(_0x3b83ab){if('object'!=typeof _0x3b83ab||null===_0x3b83ab)return'object\x20expected';if(null!=_0x3b83ab['flags']&&_0x3b83ab['hasOwnProperty']('flags')&&!_0x43a1d8['isString'](_0x3b83ab['flags']))return'flags:\x20string\x20expected';if(null!=_0x3b83ab['rooms']&&_0x3b83ab['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x3b83ab['rooms']))return'rooms:\x20array\x20expected';for(var _0x36e5b3=0x0;_0x36e5b3<_0x3b83ab['rooms']['length'];++_0x36e5b3)if(!_0x43a1d8['isString'](_0x3b83ab['rooms'][_0x36e5b3]))return'rooms:\x20string[]\x20expected';}if(null!=_0x3b83ab['except']&&_0x3b83ab['hasOwnProperty']('except')){if(!Array['isArray'](_0x3b83ab['except']))return'except:\x20array\x20expected';for(_0x36e5b3=0x0;_0x36e5b3<_0x3b83ab['except']['length'];++_0x36e5b3)if(!_0x43a1d8['isString'](_0x3b83ab['except'][_0x36e5b3]))return'except:\x20string[]\x20expected';}return null;},_0x591ed0['fromObject']=function(_0x112634){if(_0x112634 instanceof _0x297356['PacketOptionsMessage'])return _0x112634;var _0x5d059c=new _0x297356['PacketOptionsMessage']();if(null!=_0x112634['flags']&&(_0x5d059c['flags']=String(_0x112634['flags'])),_0x112634['rooms']){if(!Array['isArray'](_0x112634['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x5d059c['rooms']=[];for(var _0x25e3de=0x0;_0x25e3de<_0x112634['rooms']['length'];++_0x25e3de)_0x5d059c['rooms'][_0x25e3de]=String(_0x112634['rooms'][_0x25e3de]);}if(_0x112634['except']){if(!Array['isArray'](_0x112634['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x5d059c['except']=[],_0x25e3de=0x0;_0x25e3de<_0x112634['except']['length'];++_0x25e3de)_0x5d059c['except'][_0x25e3de]=String(_0x112634['except'][_0x25e3de]);}return _0x5d059c;},_0x591ed0['toObject']=function(_0x24a4aa,_0x4e53b2){_0x4e53b2||(_0x4e53b2={});var _0x4ea935={};if((_0x4e53b2['arrays']||_0x4e53b2['defaults'])&&(_0x4ea935['rooms']=[],_0x4ea935['except']=[]),_0x4e53b2['defaults']&&(_0x4ea935['flags']=''),null!=_0x24a4aa['flags']&&_0x24a4aa['hasOwnProperty']('flags')&&(_0x4ea935['flags']=_0x24a4aa['flags']),_0x24a4aa['rooms']&&_0x24a4aa['rooms']['length']){_0x4ea935['rooms']=[];for(var _0x95d8c1=0x0;_0x95d8c1<_0x24a4aa['rooms']['length'];++_0x95d8c1)_0x4ea935['rooms'][_0x95d8c1]=_0x24a4aa['rooms'][_0x95d8c1];}if(_0x24a4aa['except']&&_0x24a4aa['except']['length']){for(_0x4ea935['except']=[],_0x95d8c1=0x0;_0x95d8c1<_0x24a4aa['except']['length'];++_0x95d8c1)_0x4ea935['except'][_0x95d8c1]=_0x24a4aa['except'][_0x95d8c1];}return _0x4ea935;},_0x591ed0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x591ed0['getTypeUrl']=function(_0x532fdf){return void 0x0===_0x532fdf&&(_0x532fdf='type.googleapis.com'),_0x532fdf+'/PacketOptionsMessage';},_0x591ed0;}()),_0x297356['PacketMessage']=(function(){function _0x65f178(_0x497aaf){if(_0x497aaf){for(var _0x339007=Object['keys'](_0x497aaf),_0x53d83a=0x0;_0x53d83a<_0x339007['length'];++_0x53d83a)null!=_0x497aaf[_0x339007[_0x53d83a]]&&(this[_0x339007[_0x53d83a]]=_0x497aaf[_0x339007[_0x53d83a]]);}}return _0x65f178['prototype']['type']=0x0,_0x65f178['prototype']['id']=0x0,_0x65f178['prototype']['nsp']='',_0x65f178['prototype']['data']=_0x43a1d8['newBuffer']([]),_0x65f178['prototype']['options']=_0x43a1d8['newBuffer']([]),_0x65f178['create']=function(_0x141ce5){return new _0x65f178(_0x141ce5);},_0x65f178['encode']=function(_0x239eed,_0x38a622){return _0x38a622||(_0x38a622=_0x102edc['create']()),null!=_0x239eed['type']&&Object['hasOwnProperty']['call'](_0x239eed,'type')&&_0x38a622['uint32'](0x8)['uint32'](_0x239eed['type']),null!=_0x239eed['id']&&Object['hasOwnProperty']['call'](_0x239eed,'id')&&_0x38a622['uint32'](0x10)['uint32'](_0x239eed['id']),null!=_0x239eed['nsp']&&Object['hasOwnProperty']['call'](_0x239eed,'nsp')&&_0x38a622['uint32'](0x1a)['string'](_0x239eed['nsp']),null!=_0x239eed['data']&&Object['hasOwnProperty']['call'](_0x239eed,'data')&&_0x38a622['uint32'](0x22)['bytes'](_0x239eed['data']),null!=_0x239eed['options']&&Object['hasOwnProperty']['call'](_0x239eed,'options')&&_0x38a622['uint32'](0x2a)['bytes'](_0x239eed['options']),_0x38a622;},_0x65f178['encodeDelimited']=function(_0x476d06,_0x8d3e75){return this['encode'](_0x476d06,_0x8d3e75)['ldelim']();},_0x65f178['decode']=function(_0x40b016,_0xb03774,_0x3577dd){_0x40b016 instanceof _0x185f42||(_0x40b016=_0x185f42['create'](_0x40b016));for(var _0x34fac8=void 0x0===_0xb03774?_0x40b016['len']:_0x40b016['pos']+_0xb03774,_0x242986=new _0x297356['PacketMessage']();_0x40b016['pos']<_0x34fac8;){var _0x572fce=_0x40b016['uint32']();if(_0x572fce===_0x3577dd)break;switch(_0x572fce>>>0x3){case 0x1:_0x242986['type']=_0x40b016['uint32']();break;case 0x2:_0x242986['id']=_0x40b016['uint32']();break;case 0x3:_0x242986['nsp']=_0x40b016['string']();break;case 0x4:_0x242986['data']=_0x40b016['bytes']();break;case 0x5:_0x242986['options']=_0x40b016['bytes']();break;default:_0x40b016['skipType'](0x7&_0x572fce);}}return _0x242986;},_0x65f178['decodeDelimited']=function(_0x480b99){return _0x480b99 instanceof _0x185f42||(_0x480b99=new _0x185f42(_0x480b99)),this['decode'](_0x480b99,_0x480b99['uint32']());},_0x65f178['verify']=function(_0x17dfbd){return'object'!=typeof _0x17dfbd||null===_0x17dfbd?'object\x20expected':null!=_0x17dfbd['type']&&_0x17dfbd['hasOwnProperty']('type')&&!_0x43a1d8['isInteger'](_0x17dfbd['type'])?'type:\x20integer\x20expected':null!=_0x17dfbd['id']&&_0x17dfbd['hasOwnProperty']('id')&&!_0x43a1d8['isInteger'](_0x17dfbd['id'])?'id:\x20integer\x20expected':null!=_0x17dfbd['nsp']&&_0x17dfbd['hasOwnProperty']('nsp')&&!_0x43a1d8['isString'](_0x17dfbd['nsp'])?'nsp:\x20string\x20expected':null!=_0x17dfbd['data']&&_0x17dfbd['hasOwnProperty']('data')&&!(_0x17dfbd['data']&&'number'==typeof _0x17dfbd['data']['length']||_0x43a1d8['isString'](_0x17dfbd['data']))?'data:\x20buffer\x20expected':null!=_0x17dfbd['options']&&_0x17dfbd['hasOwnProperty']('options')&&!(_0x17dfbd['options']&&'number'==typeof _0x17dfbd['options']['length']||_0x43a1d8['isString'](_0x17dfbd['options']))?'options:\x20buffer\x20expected':null;},_0x65f178['fromObject']=function(_0xd1227e){if(_0xd1227e instanceof _0x297356['PacketMessage'])return _0xd1227e;var _0x43503f=new _0x297356['PacketMessage']();return null!=_0xd1227e['type']&&(_0x43503f['type']=_0xd1227e['type']>>>0x0),null!=_0xd1227e['id']&&(_0x43503f['id']=_0xd1227e['id']>>>0x0),null!=_0xd1227e['nsp']&&(_0x43503f['nsp']=String(_0xd1227e['nsp'])),null!=_0xd1227e['data']&&('string'==typeof _0xd1227e['data']?_0x43a1d8['base64']['decode'](_0xd1227e['data'],_0x43503f['data']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0xd1227e['data'])),0x0):_0xd1227e['data']['length']>=0x0&&(_0x43503f['data']=_0xd1227e['data'])),null!=_0xd1227e['options']&&('string'==typeof _0xd1227e['options']?_0x43a1d8['base64']['decode'](_0xd1227e['options'],_0x43503f['options']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0xd1227e['options'])),0x0):_0xd1227e['options']['length']>=0x0&&(_0x43503f['options']=_0xd1227e['options'])),_0x43503f;},_0x65f178['toObject']=function(_0x46df9e,_0x1e53ac){_0x1e53ac||(_0x1e53ac={});var _0x4dd00d={};return _0x1e53ac['defaults']&&(_0x4dd00d['type']=0x0,_0x4dd00d['id']=0x0,_0x4dd00d['nsp']='',_0x1e53ac['bytes']===String?_0x4dd00d['data']='':(_0x4dd00d['data']=[],_0x1e53ac['bytes']!==Array&&(_0x4dd00d['data']=_0x43a1d8['newBuffer'](_0x4dd00d['data']))),_0x1e53ac['bytes']===String?_0x4dd00d['options']='':(_0x4dd00d['options']=[],_0x1e53ac['bytes']!==Array&&(_0x4dd00d['options']=_0x43a1d8['newBuffer'](_0x4dd00d['options'])))),null!=_0x46df9e['type']&&_0x46df9e['hasOwnProperty']('type')&&(_0x4dd00d['type']=_0x46df9e['type']),null!=_0x46df9e['id']&&_0x46df9e['hasOwnProperty']('id')&&(_0x4dd00d['id']=_0x46df9e['id']),null!=_0x46df9e['nsp']&&_0x46df9e['hasOwnProperty']('nsp')&&(_0x4dd00d['nsp']=_0x46df9e['nsp']),null!=_0x46df9e['data']&&_0x46df9e['hasOwnProperty']('data')&&(_0x4dd00d['data']=_0x1e53ac['bytes']===String?_0x43a1d8['base64']['encode'](_0x46df9e['data'],0x0,_0x46df9e['data']['length']):_0x1e53ac['bytes']===Array?Array['prototype']['slice']['call'](_0x46df9e['data']):_0x46df9e['data']),null!=_0x46df9e['options']&&_0x46df9e['hasOwnProperty']('options')&&(_0x4dd00d['options']=_0x1e53ac['bytes']===String?_0x43a1d8['base64']['encode'](_0x46df9e['options'],0x0,_0x46df9e['options']['length']):_0x1e53ac['bytes']===Array?Array['prototype']['slice']['call'](_0x46df9e['options']):_0x46df9e['options']),_0x4dd00d;},_0x65f178['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x65f178['getTypeUrl']=function(_0xdcf141){return void 0x0===_0xdcf141&&(_0xdcf141='type.googleapis.com'),_0xdcf141+'/PacketMessage';},_0x65f178;}()),_0x297356['ObjectObjectPacketDataMessage']=(function(){function _0x4b0c2c(_0x15e4e8){if(_0x15e4e8){for(var _0x1cfb45=Object['keys'](_0x15e4e8),_0x352c13=0x0;_0x352c13<_0x1cfb45['length'];++_0x352c13)null!=_0x15e4e8[_0x1cfb45[_0x352c13]]&&(this[_0x1cfb45[_0x352c13]]=_0x15e4e8[_0x1cfb45[_0x352c13]]);}}return _0x4b0c2c['prototype']['data']='',_0x4b0c2c['prototype']['data1']='',_0x4b0c2c['create']=function(_0x43b105){return new _0x4b0c2c(_0x43b105);},_0x4b0c2c['encode']=function(_0x362a63,_0x20775c){return _0x20775c||(_0x20775c=_0x102edc['create']()),null!=_0x362a63['data']&&Object['hasOwnProperty']['call'](_0x362a63,'data')&&_0x20775c['uint32'](0xa)['string'](_0x362a63['data']),null!=_0x362a63['data1']&&Object['hasOwnProperty']['call'](_0x362a63,'data1')&&_0x20775c['uint32'](0x12)['string'](_0x362a63['data1']),_0x20775c;},_0x4b0c2c['encodeDelimited']=function(_0x5ab68e,_0x286553){return this['encode'](_0x5ab68e,_0x286553)['ldelim']();},_0x4b0c2c['decode']=function(_0x50c294,_0x462511,_0xc9fee){_0x50c294 instanceof _0x185f42||(_0x50c294=_0x185f42['create'](_0x50c294));for(var _0x1acf21=void 0x0===_0x462511?_0x50c294['len']:_0x50c294['pos']+_0x462511,_0x15f173=new _0x297356['ObjectObjectPacketDataMessage']();_0x50c294['pos']<_0x1acf21;){var _0x5e0482=_0x50c294['uint32']();if(_0x5e0482===_0xc9fee)break;switch(_0x5e0482>>>0x3){case 0x1:_0x15f173['data']=_0x50c294['string']();break;case 0x2:_0x15f173['data1']=_0x50c294['string']();break;default:_0x50c294['skipType'](0x7&_0x5e0482);}}return _0x15f173;},_0x4b0c2c['decodeDelimited']=function(_0x4e3515){return _0x4e3515 instanceof _0x185f42||(_0x4e3515=new _0x185f42(_0x4e3515)),this['decode'](_0x4e3515,_0x4e3515['uint32']());},_0x4b0c2c['verify']=function(_0x53c8a8){return'object'!=typeof _0x53c8a8||null===_0x53c8a8?'object\x20expected':null!=_0x53c8a8['data']&&_0x53c8a8['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x53c8a8['data'])?'data:\x20string\x20expected':null!=_0x53c8a8['data1']&&_0x53c8a8['hasOwnProperty']('data1')&&!_0x43a1d8['isString'](_0x53c8a8['data1'])?'data1:\x20string\x20expected':null;},_0x4b0c2c['fromObject']=function(_0x3e10a0){if(_0x3e10a0 instanceof _0x297356['ObjectObjectPacketDataMessage'])return _0x3e10a0;var _0xf949d=new _0x297356['ObjectObjectPacketDataMessage']();return null!=_0x3e10a0['data']&&(_0xf949d['data']=String(_0x3e10a0['data'])),null!=_0x3e10a0['data1']&&(_0xf949d['data1']=String(_0x3e10a0['data1'])),_0xf949d;},_0x4b0c2c['toObject']=function(_0x1df3d9,_0x10fe6f){_0x10fe6f||(_0x10fe6f={});var _0x37518d={};return _0x10fe6f['defaults']&&(_0x37518d['data']='',_0x37518d['data1']=''),null!=_0x1df3d9['data']&&_0x1df3d9['hasOwnProperty']('data')&&(_0x37518d['data']=_0x1df3d9['data']),null!=_0x1df3d9['data1']&&_0x1df3d9['hasOwnProperty']('data1')&&(_0x37518d['data1']=_0x1df3d9['data1']),_0x37518d;},_0x4b0c2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4b0c2c['getTypeUrl']=function(_0x236d10){return void 0x0===_0x236d10&&(_0x236d10='type.googleapis.com'),_0x236d10+'/ObjectObjectPacketDataMessage';},_0x4b0c2c;}()),_0x297356['ObjectBufferPacketDataMessage']=(function(){function _0x70b6f5(_0x100499){if(_0x100499){for(var _0xe1959d=Object['keys'](_0x100499),_0x1f1846=0x0;_0x1f1846<_0xe1959d['length'];++_0x1f1846)null!=_0x100499[_0xe1959d[_0x1f1846]]&&(this[_0xe1959d[_0x1f1846]]=_0x100499[_0xe1959d[_0x1f1846]]);}}return _0x70b6f5['prototype']['data']='',_0x70b6f5['prototype']['data1']=_0x43a1d8['newBuffer']([]),_0x70b6f5['create']=function(_0x5866ee){return new _0x70b6f5(_0x5866ee);},_0x70b6f5['encode']=function(_0x91af,_0xf43dff){return _0xf43dff||(_0xf43dff=_0x102edc['create']()),null!=_0x91af['data']&&Object['hasOwnProperty']['call'](_0x91af,'data')&&_0xf43dff['uint32'](0xa)['string'](_0x91af['data']),null!=_0x91af['data1']&&Object['hasOwnProperty']['call'](_0x91af,'data1')&&_0xf43dff['uint32'](0x12)['bytes'](_0x91af['data1']),_0xf43dff;},_0x70b6f5['encodeDelimited']=function(_0x354b89,_0x136c65){return this['encode'](_0x354b89,_0x136c65)['ldelim']();},_0x70b6f5['decode']=function(_0x2e1ffa,_0x3f35a9,_0x2bde73){_0x2e1ffa instanceof _0x185f42||(_0x2e1ffa=_0x185f42['create'](_0x2e1ffa));for(var _0x582b4a=void 0x0===_0x3f35a9?_0x2e1ffa['len']:_0x2e1ffa['pos']+_0x3f35a9,_0x1e8f26=new _0x297356['ObjectBufferPacketDataMessage']();_0x2e1ffa['pos']<_0x582b4a;){var _0xbcc9d9=_0x2e1ffa['uint32']();if(_0xbcc9d9===_0x2bde73)break;switch(_0xbcc9d9>>>0x3){case 0x1:_0x1e8f26['data']=_0x2e1ffa['string']();break;case 0x2:_0x1e8f26['data1']=_0x2e1ffa['bytes']();break;default:_0x2e1ffa['skipType'](0x7&_0xbcc9d9);}}return _0x1e8f26;},_0x70b6f5['decodeDelimited']=function(_0xcc8d01){return _0xcc8d01 instanceof _0x185f42||(_0xcc8d01=new _0x185f42(_0xcc8d01)),this['decode'](_0xcc8d01,_0xcc8d01['uint32']());},_0x70b6f5['verify']=function(_0x2010eb){return'object'!=typeof _0x2010eb||null===_0x2010eb?'object\x20expected':null!=_0x2010eb['data']&&_0x2010eb['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x2010eb['data'])?'data:\x20string\x20expected':null!=_0x2010eb['data1']&&_0x2010eb['hasOwnProperty']('data1')&&!(_0x2010eb['data1']&&'number'==typeof _0x2010eb['data1']['length']||_0x43a1d8['isString'](_0x2010eb['data1']))?'data1:\x20buffer\x20expected':null;},_0x70b6f5['fromObject']=function(_0x24f169){if(_0x24f169 instanceof _0x297356['ObjectBufferPacketDataMessage'])return _0x24f169;var _0x5e8ef3=new _0x297356['ObjectBufferPacketDataMessage']();return null!=_0x24f169['data']&&(_0x5e8ef3['data']=String(_0x24f169['data'])),null!=_0x24f169['data1']&&('string'==typeof _0x24f169['data1']?_0x43a1d8['base64']['decode'](_0x24f169['data1'],_0x5e8ef3['data1']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x24f169['data1'])),0x0):_0x24f169['data1']['length']>=0x0&&(_0x5e8ef3['data1']=_0x24f169['data1'])),_0x5e8ef3;},_0x70b6f5['toObject']=function(_0x19e320,_0x3a91b3){_0x3a91b3||(_0x3a91b3={});var _0x491f48={};return _0x3a91b3['defaults']&&(_0x491f48['data']='',_0x3a91b3['bytes']===String?_0x491f48['data1']='':(_0x491f48['data1']=[],_0x3a91b3['bytes']!==Array&&(_0x491f48['data1']=_0x43a1d8['newBuffer'](_0x491f48['data1'])))),null!=_0x19e320['data']&&_0x19e320['hasOwnProperty']('data')&&(_0x491f48['data']=_0x19e320['data']),null!=_0x19e320['data1']&&_0x19e320['hasOwnProperty']('data1')&&(_0x491f48['data1']=_0x3a91b3['bytes']===String?_0x43a1d8['base64']['encode'](_0x19e320['data1'],0x0,_0x19e320['data1']['length']):_0x3a91b3['bytes']===Array?Array['prototype']['slice']['call'](_0x19e320['data1']):_0x19e320['data1']),_0x491f48;},_0x70b6f5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x70b6f5['getTypeUrl']=function(_0x9941d8){return void 0x0===_0x9941d8&&(_0x9941d8='type.googleapis.com'),_0x9941d8+'/ObjectBufferPacketDataMessage';},_0x70b6f5;}()),_0x297356['NumberStringPacketDataMessage']=(function(){function _0x5233b3(_0x391e4a){if(_0x391e4a){for(var _0x2d3130=Object['keys'](_0x391e4a),_0x27c45c=0x0;_0x27c45c<_0x2d3130['length'];++_0x27c45c)null!=_0x391e4a[_0x2d3130[_0x27c45c]]&&(this[_0x2d3130[_0x27c45c]]=_0x391e4a[_0x2d3130[_0x27c45c]]);}}return _0x5233b3['prototype']['data']=0x0,_0x5233b3['prototype']['data1']='',_0x5233b3['create']=function(_0x15a6c2){return new _0x5233b3(_0x15a6c2);},_0x5233b3['encode']=function(_0x10d42c,_0x519a92){return _0x519a92||(_0x519a92=_0x102edc['create']()),null!=_0x10d42c['data']&&Object['hasOwnProperty']['call'](_0x10d42c,'data')&&_0x519a92['uint32'](0x8)['uint32'](_0x10d42c['data']),null!=_0x10d42c['data1']&&Object['hasOwnProperty']['call'](_0x10d42c,'data1')&&_0x519a92['uint32'](0x12)['string'](_0x10d42c['data1']),_0x519a92;},_0x5233b3['encodeDelimited']=function(_0x3a3d80,_0x479050){return this['encode'](_0x3a3d80,_0x479050)['ldelim']();},_0x5233b3['decode']=function(_0x3f4e03,_0x4eff8d,_0x26d643){_0x3f4e03 instanceof _0x185f42||(_0x3f4e03=_0x185f42['create'](_0x3f4e03));for(var _0x39fbbd=void 0x0===_0x4eff8d?_0x3f4e03['len']:_0x3f4e03['pos']+_0x4eff8d,_0x36126a=new _0x297356['NumberStringPacketDataMessage']();_0x3f4e03['pos']<_0x39fbbd;){var _0x314539=_0x3f4e03['uint32']();if(_0x314539===_0x26d643)break;switch(_0x314539>>>0x3){case 0x1:_0x36126a['data']=_0x3f4e03['uint32']();break;case 0x2:_0x36126a['data1']=_0x3f4e03['string']();break;default:_0x3f4e03['skipType'](0x7&_0x314539);}}return _0x36126a;},_0x5233b3['decodeDelimited']=function(_0x56b855){return _0x56b855 instanceof _0x185f42||(_0x56b855=new _0x185f42(_0x56b855)),this['decode'](_0x56b855,_0x56b855['uint32']());},_0x5233b3['verify']=function(_0x262aa2){return'object'!=typeof _0x262aa2||null===_0x262aa2?'object\x20expected':null!=_0x262aa2['data']&&_0x262aa2['hasOwnProperty']('data')&&!_0x43a1d8['isInteger'](_0x262aa2['data'])?'data:\x20integer\x20expected':null!=_0x262aa2['data1']&&_0x262aa2['hasOwnProperty']('data1')&&!_0x43a1d8['isString'](_0x262aa2['data1'])?'data1:\x20string\x20expected':null;},_0x5233b3['fromObject']=function(_0xb11a40){if(_0xb11a40 instanceof _0x297356['NumberStringPacketDataMessage'])return _0xb11a40;var _0x19c0b7=new _0x297356['NumberStringPacketDataMessage']();return null!=_0xb11a40['data']&&(_0x19c0b7['data']=_0xb11a40['data']>>>0x0),null!=_0xb11a40['data1']&&(_0x19c0b7['data1']=String(_0xb11a40['data1'])),_0x19c0b7;},_0x5233b3['toObject']=function(_0x58ee97,_0x5f0345){_0x5f0345||(_0x5f0345={});var _0x376058={};return _0x5f0345['defaults']&&(_0x376058['data']=0x0,_0x376058['data1']=''),null!=_0x58ee97['data']&&_0x58ee97['hasOwnProperty']('data')&&(_0x376058['data']=_0x58ee97['data']),null!=_0x58ee97['data1']&&_0x58ee97['hasOwnProperty']('data1')&&(_0x376058['data1']=_0x58ee97['data1']),_0x376058;},_0x5233b3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x5233b3['getTypeUrl']=function(_0x2de972){return void 0x0===_0x2de972&&(_0x2de972='type.googleapis.com'),_0x2de972+'/NumberStringPacketDataMessage';},_0x5233b3;}()),_0x297356['NumberObjectPacketDataMessage']=(function(){function _0x304e45(_0x3149de){if(_0x3149de){for(var _0x53aef9=Object['keys'](_0x3149de),_0x2a0b40=0x0;_0x2a0b40<_0x53aef9['length'];++_0x2a0b40)null!=_0x3149de[_0x53aef9[_0x2a0b40]]&&(this[_0x53aef9[_0x2a0b40]]=_0x3149de[_0x53aef9[_0x2a0b40]]);}}return _0x304e45['prototype']['data']=0x0,_0x304e45['prototype']['data1']='',_0x304e45['create']=function(_0x110599){return new _0x304e45(_0x110599);},_0x304e45['encode']=function(_0x880e6c,_0x2c2b6c){return _0x2c2b6c||(_0x2c2b6c=_0x102edc['create']()),null!=_0x880e6c['data']&&Object['hasOwnProperty']['call'](_0x880e6c,'data')&&_0x2c2b6c['uint32'](0x8)['uint32'](_0x880e6c['data']),null!=_0x880e6c['data1']&&Object['hasOwnProperty']['call'](_0x880e6c,'data1')&&_0x2c2b6c['uint32'](0x12)['string'](_0x880e6c['data1']),_0x2c2b6c;},_0x304e45['encodeDelimited']=function(_0x17dc95,_0x3d84a3){return this['encode'](_0x17dc95,_0x3d84a3)['ldelim']();},_0x304e45['decode']=function(_0x4de8a7,_0x2ab9d1,_0x9cb29d){_0x4de8a7 instanceof _0x185f42||(_0x4de8a7=_0x185f42['create'](_0x4de8a7));for(var _0xe494bd=void 0x0===_0x2ab9d1?_0x4de8a7['len']:_0x4de8a7['pos']+_0x2ab9d1,_0x168ad8=new _0x297356['NumberObjectPacketDataMessage']();_0x4de8a7['pos']<_0xe494bd;){var _0x54b7be=_0x4de8a7['uint32']();if(_0x54b7be===_0x9cb29d)break;switch(_0x54b7be>>>0x3){case 0x1:_0x168ad8['data']=_0x4de8a7['uint32']();break;case 0x2:_0x168ad8['data1']=_0x4de8a7['string']();break;default:_0x4de8a7['skipType'](0x7&_0x54b7be);}}return _0x168ad8;},_0x304e45['decodeDelimited']=function(_0x51f5ad){return _0x51f5ad instanceof _0x185f42||(_0x51f5ad=new _0x185f42(_0x51f5ad)),this['decode'](_0x51f5ad,_0x51f5ad['uint32']());},_0x304e45['verify']=function(_0x28ab56){return'object'!=typeof _0x28ab56||null===_0x28ab56?'object\x20expected':null!=_0x28ab56['data']&&_0x28ab56['hasOwnProperty']('data')&&!_0x43a1d8['isInteger'](_0x28ab56['data'])?'data:\x20integer\x20expected':null!=_0x28ab56['data1']&&_0x28ab56['hasOwnProperty']('data1')&&!_0x43a1d8['isString'](_0x28ab56['data1'])?'data1:\x20string\x20expected':null;},_0x304e45['fromObject']=function(_0x3fd7a3){if(_0x3fd7a3 instanceof _0x297356['NumberObjectPacketDataMessage'])return _0x3fd7a3;var _0xc3bab9=new _0x297356['NumberObjectPacketDataMessage']();return null!=_0x3fd7a3['data']&&(_0xc3bab9['data']=_0x3fd7a3['data']>>>0x0),null!=_0x3fd7a3['data1']&&(_0xc3bab9['data1']=String(_0x3fd7a3['data1'])),_0xc3bab9;},_0x304e45['toObject']=function(_0x2ab60a,_0x19bae6){_0x19bae6||(_0x19bae6={});var _0x362284={};return _0x19bae6['defaults']&&(_0x362284['data']=0x0,_0x362284['data1']=''),null!=_0x2ab60a['data']&&_0x2ab60a['hasOwnProperty']('data')&&(_0x362284['data']=_0x2ab60a['data']),null!=_0x2ab60a['data1']&&_0x2ab60a['hasOwnProperty']('data1')&&(_0x362284['data1']=_0x2ab60a['data1']),_0x362284;},_0x304e45['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x304e45['getTypeUrl']=function(_0x14e118){return void 0x0===_0x14e118&&(_0x14e118='type.googleapis.com'),_0x14e118+'/NumberObjectPacketDataMessage';},_0x304e45;}()),_0x297356['NumberNumberPacketDataMessage']=(function(){function _0x302c26(_0x1c4ad4){if(_0x1c4ad4){for(var _0x2f66b3=Object['keys'](_0x1c4ad4),_0x114abb=0x0;_0x114abb<_0x2f66b3['length'];++_0x114abb)null!=_0x1c4ad4[_0x2f66b3[_0x114abb]]&&(this[_0x2f66b3[_0x114abb]]=_0x1c4ad4[_0x2f66b3[_0x114abb]]);}}return _0x302c26['prototype']['data']=0x0,_0x302c26['prototype']['data1']=0x0,_0x302c26['create']=function(_0x54bff0){return new _0x302c26(_0x54bff0);},_0x302c26['encode']=function(_0x318f27,_0x38d90a){return _0x38d90a||(_0x38d90a=_0x102edc['create']()),null!=_0x318f27['data']&&Object['hasOwnProperty']['call'](_0x318f27,'data')&&_0x38d90a['uint32'](0x8)['uint32'](_0x318f27['data']),null!=_0x318f27['data1']&&Object['hasOwnProperty']['call'](_0x318f27,'data1')&&_0x38d90a['uint32'](0x10)['uint32'](_0x318f27['data1']),_0x38d90a;},_0x302c26['encodeDelimited']=function(_0x5493ec,_0x302365){return this['encode'](_0x5493ec,_0x302365)['ldelim']();},_0x302c26['decode']=function(_0x298d19,_0x2c625f,_0x395502){_0x298d19 instanceof _0x185f42||(_0x298d19=_0x185f42['create'](_0x298d19));for(var _0x1dfdc0=void 0x0===_0x2c625f?_0x298d19['len']:_0x298d19['pos']+_0x2c625f,_0x18925a=new _0x297356['NumberNumberPacketDataMessage']();_0x298d19['pos']<_0x1dfdc0;){var _0x13c89c=_0x298d19['uint32']();if(_0x13c89c===_0x395502)break;switch(_0x13c89c>>>0x3){case 0x1:_0x18925a['data']=_0x298d19['uint32']();break;case 0x2:_0x18925a['data1']=_0x298d19['uint32']();break;default:_0x298d19['skipType'](0x7&_0x13c89c);}}return _0x18925a;},_0x302c26['decodeDelimited']=function(_0x2ad2ce){return _0x2ad2ce instanceof _0x185f42||(_0x2ad2ce=new _0x185f42(_0x2ad2ce)),this['decode'](_0x2ad2ce,_0x2ad2ce['uint32']());},_0x302c26['verify']=function(_0x4940cb){return'object'!=typeof _0x4940cb||null===_0x4940cb?'object\x20expected':null!=_0x4940cb['data']&&_0x4940cb['hasOwnProperty']('data')&&!_0x43a1d8['isInteger'](_0x4940cb['data'])?'data:\x20integer\x20expected':null!=_0x4940cb['data1']&&_0x4940cb['hasOwnProperty']('data1')&&!_0x43a1d8['isInteger'](_0x4940cb['data1'])?'data1:\x20integer\x20expected':null;},_0x302c26['fromObject']=function(_0xffd567){if(_0xffd567 instanceof _0x297356['NumberNumberPacketDataMessage'])return _0xffd567;var _0x48bc83=new _0x297356['NumberNumberPacketDataMessage']();return null!=_0xffd567['data']&&(_0x48bc83['data']=_0xffd567['data']>>>0x0),null!=_0xffd567['data1']&&(_0x48bc83['data1']=_0xffd567['data1']>>>0x0),_0x48bc83;},_0x302c26['toObject']=function(_0xf2b24e,_0x23689f){_0x23689f||(_0x23689f={});var _0x324a8e={};return _0x23689f['defaults']&&(_0x324a8e['data']=0x0,_0x324a8e['data1']=0x0),null!=_0xf2b24e['data']&&_0xf2b24e['hasOwnProperty']('data')&&(_0x324a8e['data']=_0xf2b24e['data']),null!=_0xf2b24e['data1']&&_0xf2b24e['hasOwnProperty']('data1')&&(_0x324a8e['data1']=_0xf2b24e['data1']),_0x324a8e;},_0x302c26['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x302c26['getTypeUrl']=function(_0x2b53d4){return void 0x0===_0x2b53d4&&(_0x2b53d4='type.googleapis.com'),_0x2b53d4+'/NumberNumberPacketDataMessage';},_0x302c26;}()),_0x297356['NumberBytesPacketDataMessage']=(function(){function _0x99e35(_0x522077){if(_0x522077){for(var _0x1da58c=Object['keys'](_0x522077),_0x3d4647=0x0;_0x3d4647<_0x1da58c['length'];++_0x3d4647)null!=_0x522077[_0x1da58c[_0x3d4647]]&&(this[_0x1da58c[_0x3d4647]]=_0x522077[_0x1da58c[_0x3d4647]]);}}return _0x99e35['prototype']['data']=0x0,_0x99e35['prototype']['data1']=_0x43a1d8['newBuffer']([]),_0x99e35['create']=function(_0x4edd93){return new _0x99e35(_0x4edd93);},_0x99e35['encode']=function(_0x5a38e7,_0x2df25f){return _0x2df25f||(_0x2df25f=_0x102edc['create']()),null!=_0x5a38e7['data']&&Object['hasOwnProperty']['call'](_0x5a38e7,'data')&&_0x2df25f['uint32'](0x8)['uint32'](_0x5a38e7['data']),null!=_0x5a38e7['data1']&&Object['hasOwnProperty']['call'](_0x5a38e7,'data1')&&_0x2df25f['uint32'](0x12)['bytes'](_0x5a38e7['data1']),_0x2df25f;},_0x99e35['encodeDelimited']=function(_0x54fd65,_0x4edfea){return this['encode'](_0x54fd65,_0x4edfea)['ldelim']();},_0x99e35['decode']=function(_0x3e4053,_0x128c43,_0x152902){_0x3e4053 instanceof _0x185f42||(_0x3e4053=_0x185f42['create'](_0x3e4053));for(var _0x3a0472=void 0x0===_0x128c43?_0x3e4053['len']:_0x3e4053['pos']+_0x128c43,_0x526bdf=new _0x297356['NumberBytesPacketDataMessage']();_0x3e4053['pos']<_0x3a0472;){var _0x55df2d=_0x3e4053['uint32']();if(_0x55df2d===_0x152902)break;switch(_0x55df2d>>>0x3){case 0x1:_0x526bdf['data']=_0x3e4053['uint32']();break;case 0x2:_0x526bdf['data1']=_0x3e4053['bytes']();break;default:_0x3e4053['skipType'](0x7&_0x55df2d);}}return _0x526bdf;},_0x99e35['decodeDelimited']=function(_0x42b2cd){return _0x42b2cd instanceof _0x185f42||(_0x42b2cd=new _0x185f42(_0x42b2cd)),this['decode'](_0x42b2cd,_0x42b2cd['uint32']());},_0x99e35['verify']=function(_0x18dfae){return'object'!=typeof _0x18dfae||null===_0x18dfae?'object\x20expected':null!=_0x18dfae['data']&&_0x18dfae['hasOwnProperty']('data')&&!_0x43a1d8['isInteger'](_0x18dfae['data'])?'data:\x20integer\x20expected':null!=_0x18dfae['data1']&&_0x18dfae['hasOwnProperty']('data1')&&!(_0x18dfae['data1']&&'number'==typeof _0x18dfae['data1']['length']||_0x43a1d8['isString'](_0x18dfae['data1']))?'data1:\x20buffer\x20expected':null;},_0x99e35['fromObject']=function(_0x507c53){if(_0x507c53 instanceof _0x297356['NumberBytesPacketDataMessage'])return _0x507c53;var _0x43a0ca=new _0x297356['NumberBytesPacketDataMessage']();return null!=_0x507c53['data']&&(_0x43a0ca['data']=_0x507c53['data']>>>0x0),null!=_0x507c53['data1']&&('string'==typeof _0x507c53['data1']?_0x43a1d8['base64']['decode'](_0x507c53['data1'],_0x43a0ca['data1']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x507c53['data1'])),0x0):_0x507c53['data1']['length']>=0x0&&(_0x43a0ca['data1']=_0x507c53['data1'])),_0x43a0ca;},_0x99e35['toObject']=function(_0x589760,_0xdf5ce0){_0xdf5ce0||(_0xdf5ce0={});var _0x161d5d={};return _0xdf5ce0['defaults']&&(_0x161d5d['data']=0x0,_0xdf5ce0['bytes']===String?_0x161d5d['data1']='':(_0x161d5d['data1']=[],_0xdf5ce0['bytes']!==Array&&(_0x161d5d['data1']=_0x43a1d8['newBuffer'](_0x161d5d['data1'])))),null!=_0x589760['data']&&_0x589760['hasOwnProperty']('data')&&(_0x161d5d['data']=_0x589760['data']),null!=_0x589760['data1']&&_0x589760['hasOwnProperty']('data1')&&(_0x161d5d['data1']=_0xdf5ce0['bytes']===String?_0x43a1d8['base64']['encode'](_0x589760['data1'],0x0,_0x589760['data1']['length']):_0xdf5ce0['bytes']===Array?Array['prototype']['slice']['call'](_0x589760['data1']):_0x589760['data1']),_0x161d5d;},_0x99e35['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x99e35['getTypeUrl']=function(_0x1ff1f8){return void 0x0===_0x1ff1f8&&(_0x1ff1f8='type.googleapis.com'),_0x1ff1f8+'/NumberBytesPacketDataMessage';},_0x99e35;}()),_0x297356['BytesBytesPacketDataMessage']=(function(){function _0x268d98(_0x26ada4){if(_0x26ada4){for(var _0x1e0033=Object['keys'](_0x26ada4),_0x4bb50c=0x0;_0x4bb50c<_0x1e0033['length'];++_0x4bb50c)null!=_0x26ada4[_0x1e0033[_0x4bb50c]]&&(this[_0x1e0033[_0x4bb50c]]=_0x26ada4[_0x1e0033[_0x4bb50c]]);}}return _0x268d98['prototype']['data']=_0x43a1d8['newBuffer']([]),_0x268d98['prototype']['data1']=_0x43a1d8['newBuffer']([]),_0x268d98['create']=function(_0x288a13){return new _0x268d98(_0x288a13);},_0x268d98['encode']=function(_0x405579,_0x213d6f){return _0x213d6f||(_0x213d6f=_0x102edc['create']()),null!=_0x405579['data']&&Object['hasOwnProperty']['call'](_0x405579,'data')&&_0x213d6f['uint32'](0xa)['bytes'](_0x405579['data']),null!=_0x405579['data1']&&Object['hasOwnProperty']['call'](_0x405579,'data1')&&_0x213d6f['uint32'](0x12)['bytes'](_0x405579['data1']),_0x213d6f;},_0x268d98['encodeDelimited']=function(_0x385c4e,_0xc1331f){return this['encode'](_0x385c4e,_0xc1331f)['ldelim']();},_0x268d98['decode']=function(_0xae35cc,_0x52410c,_0x770279){_0xae35cc instanceof _0x185f42||(_0xae35cc=_0x185f42['create'](_0xae35cc));for(var _0x54995f=void 0x0===_0x52410c?_0xae35cc['len']:_0xae35cc['pos']+_0x52410c,_0x2d09b8=new _0x297356['BytesBytesPacketDataMessage']();_0xae35cc['pos']<_0x54995f;){var _0x465d1f=_0xae35cc['uint32']();if(_0x465d1f===_0x770279)break;switch(_0x465d1f>>>0x3){case 0x1:_0x2d09b8['data']=_0xae35cc['bytes']();break;case 0x2:_0x2d09b8['data1']=_0xae35cc['bytes']();break;default:_0xae35cc['skipType'](0x7&_0x465d1f);}}return _0x2d09b8;},_0x268d98['decodeDelimited']=function(_0x47d8c2){return _0x47d8c2 instanceof _0x185f42||(_0x47d8c2=new _0x185f42(_0x47d8c2)),this['decode'](_0x47d8c2,_0x47d8c2['uint32']());},_0x268d98['verify']=function(_0x300ef2){return'object'!=typeof _0x300ef2||null===_0x300ef2?'object\x20expected':null!=_0x300ef2['data']&&_0x300ef2['hasOwnProperty']('data')&&!(_0x300ef2['data']&&'number'==typeof _0x300ef2['data']['length']||_0x43a1d8['isString'](_0x300ef2['data']))?'data:\x20buffer\x20expected':null!=_0x300ef2['data1']&&_0x300ef2['hasOwnProperty']('data1')&&!(_0x300ef2['data1']&&'number'==typeof _0x300ef2['data1']['length']||_0x43a1d8['isString'](_0x300ef2['data1']))?'data1:\x20buffer\x20expected':null;},_0x268d98['fromObject']=function(_0x3c70a3){if(_0x3c70a3 instanceof _0x297356['BytesBytesPacketDataMessage'])return _0x3c70a3;var _0x512e00=new _0x297356['BytesBytesPacketDataMessage']();return null!=_0x3c70a3['data']&&('string'==typeof _0x3c70a3['data']?_0x43a1d8['base64']['decode'](_0x3c70a3['data'],_0x512e00['data']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x3c70a3['data'])),0x0):_0x3c70a3['data']['length']>=0x0&&(_0x512e00['data']=_0x3c70a3['data'])),null!=_0x3c70a3['data1']&&('string'==typeof _0x3c70a3['data1']?_0x43a1d8['base64']['decode'](_0x3c70a3['data1'],_0x512e00['data1']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x3c70a3['data1'])),0x0):_0x3c70a3['data1']['length']>=0x0&&(_0x512e00['data1']=_0x3c70a3['data1'])),_0x512e00;},_0x268d98['toObject']=function(_0x4765f8,_0xb87e1c){_0xb87e1c||(_0xb87e1c={});var _0x2fbdd2={};return _0xb87e1c['defaults']&&(_0xb87e1c['bytes']===String?_0x2fbdd2['data']='':(_0x2fbdd2['data']=[],_0xb87e1c['bytes']!==Array&&(_0x2fbdd2['data']=_0x43a1d8['newBuffer'](_0x2fbdd2['data']))),_0xb87e1c['bytes']===String?_0x2fbdd2['data1']='':(_0x2fbdd2['data1']=[],_0xb87e1c['bytes']!==Array&&(_0x2fbdd2['data1']=_0x43a1d8['newBuffer'](_0x2fbdd2['data1'])))),null!=_0x4765f8['data']&&_0x4765f8['hasOwnProperty']('data')&&(_0x2fbdd2['data']=_0xb87e1c['bytes']===String?_0x43a1d8['base64']['encode'](_0x4765f8['data'],0x0,_0x4765f8['data']['length']):_0xb87e1c['bytes']===Array?Array['prototype']['slice']['call'](_0x4765f8['data']):_0x4765f8['data']),null!=_0x4765f8['data1']&&_0x4765f8['hasOwnProperty']('data1')&&(_0x2fbdd2['data1']=_0xb87e1c['bytes']===String?_0x43a1d8['base64']['encode'](_0x4765f8['data1'],0x0,_0x4765f8['data1']['length']):_0xb87e1c['bytes']===Array?Array['prototype']['slice']['call'](_0x4765f8['data1']):_0x4765f8['data1']),_0x2fbdd2;},_0x268d98['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x268d98['getTypeUrl']=function(_0x385646){return void 0x0===_0x385646&&(_0x385646='type.googleapis.com'),_0x385646+'/BytesBytesPacketDataMessage';},_0x268d98;}()),_0x297356['ChannelMessage']=(function(){function _0xda2d0d(_0x5d9bd0){if(_0x5d9bd0){for(var _0x60baec=Object['keys'](_0x5d9bd0),_0x2bc87a=0x0;_0x2bc87a<_0x60baec['length'];++_0x2bc87a)null!=_0x5d9bd0[_0x60baec[_0x2bc87a]]&&(this[_0x60baec[_0x2bc87a]]=_0x5d9bd0[_0x60baec[_0x2bc87a]]);}}return _0xda2d0d['prototype']['type']=0x0,_0xda2d0d['prototype']['socketId']='',_0xda2d0d['prototype']['data']=_0x43a1d8['newBuffer']([]),_0xda2d0d['create']=function(_0x117870){return new _0xda2d0d(_0x117870);},_0xda2d0d['encode']=function(_0x532747,_0x2ee81f){return _0x2ee81f||(_0x2ee81f=_0x102edc['create']()),null!=_0x532747['type']&&Object['hasOwnProperty']['call'](_0x532747,'type')&&_0x2ee81f['uint32'](0x8)['uint32'](_0x532747['type']),null!=_0x532747['socketId']&&Object['hasOwnProperty']['call'](_0x532747,'socketId')&&_0x2ee81f['uint32'](0x12)['string'](_0x532747['socketId']),null!=_0x532747['data']&&Object['hasOwnProperty']['call'](_0x532747,'data')&&_0x2ee81f['uint32'](0x1a)['bytes'](_0x532747['data']),_0x2ee81f;},_0xda2d0d['encodeDelimited']=function(_0x5ea535,_0x309e32){return this['encode'](_0x5ea535,_0x309e32)['ldelim']();},_0xda2d0d['decode']=function(_0x5e7606,_0x4b1112,_0x2ee3bf){_0x5e7606 instanceof _0x185f42||(_0x5e7606=_0x185f42['create'](_0x5e7606));for(var _0x3c3a44=void 0x0===_0x4b1112?_0x5e7606['len']:_0x5e7606['pos']+_0x4b1112,_0x3fdf64=new _0x297356['ChannelMessage']();_0x5e7606['pos']<_0x3c3a44;){var _0x2b1688=_0x5e7606['uint32']();if(_0x2b1688===_0x2ee3bf)break;switch(_0x2b1688>>>0x3){case 0x1:_0x3fdf64['type']=_0x5e7606['uint32']();break;case 0x2:_0x3fdf64['socketId']=_0x5e7606['string']();break;case 0x3:_0x3fdf64['data']=_0x5e7606['bytes']();break;default:_0x5e7606['skipType'](0x7&_0x2b1688);}}return _0x3fdf64;},_0xda2d0d['decodeDelimited']=function(_0x153ab2){return _0x153ab2 instanceof _0x185f42||(_0x153ab2=new _0x185f42(_0x153ab2)),this['decode'](_0x153ab2,_0x153ab2['uint32']());},_0xda2d0d['verify']=function(_0x16d71){return'object'!=typeof _0x16d71||null===_0x16d71?'object\x20expected':null!=_0x16d71['type']&&_0x16d71['hasOwnProperty']('type')&&!_0x43a1d8['isInteger'](_0x16d71['type'])?'type:\x20integer\x20expected':null!=_0x16d71['socketId']&&_0x16d71['hasOwnProperty']('socketId')&&!_0x43a1d8['isString'](_0x16d71['socketId'])?'socketId:\x20string\x20expected':null!=_0x16d71['data']&&_0x16d71['hasOwnProperty']('data')&&!(_0x16d71['data']&&'number'==typeof _0x16d71['data']['length']||_0x43a1d8['isString'](_0x16d71['data']))?'data:\x20buffer\x20expected':null;},_0xda2d0d['fromObject']=function(_0x5438b0){if(_0x5438b0 instanceof _0x297356['ChannelMessage'])return _0x5438b0;var _0x2c8389=new _0x297356['ChannelMessage']();return null!=_0x5438b0['type']&&(_0x2c8389['type']=_0x5438b0['type']>>>0x0),null!=_0x5438b0['socketId']&&(_0x2c8389['socketId']=String(_0x5438b0['socketId'])),null!=_0x5438b0['data']&&('string'==typeof _0x5438b0['data']?_0x43a1d8['base64']['decode'](_0x5438b0['data'],_0x2c8389['data']=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x5438b0['data'])),0x0):_0x5438b0['data']['length']>=0x0&&(_0x2c8389['data']=_0x5438b0['data'])),_0x2c8389;},_0xda2d0d['toObject']=function(_0x1b30e0,_0x261c86){_0x261c86||(_0x261c86={});var _0x593f58={};return _0x261c86['defaults']&&(_0x593f58['type']=0x0,_0x593f58['socketId']='',_0x261c86['bytes']===String?_0x593f58['data']='':(_0x593f58['data']=[],_0x261c86['bytes']!==Array&&(_0x593f58['data']=_0x43a1d8['newBuffer'](_0x593f58['data'])))),null!=_0x1b30e0['type']&&_0x1b30e0['hasOwnProperty']('type')&&(_0x593f58['type']=_0x1b30e0['type']),null!=_0x1b30e0['socketId']&&_0x1b30e0['hasOwnProperty']('socketId')&&(_0x593f58['socketId']=_0x1b30e0['socketId']),null!=_0x1b30e0['data']&&_0x1b30e0['hasOwnProperty']('data')&&(_0x593f58['data']=_0x261c86['bytes']===String?_0x43a1d8['base64']['encode'](_0x1b30e0['data'],0x0,_0x1b30e0['data']['length']):_0x261c86['bytes']===Array?Array['prototype']['slice']['call'](_0x1b30e0['data']):_0x1b30e0['data']),_0x593f58;},_0xda2d0d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xda2d0d['getTypeUrl']=function(_0x4597a2){return void 0x0===_0x4597a2&&(_0x4597a2='type.googleapis.com'),_0x4597a2+'/ChannelMessage';},_0xda2d0d;}()),_0x297356['GetUserResponse']=(function(){function _0x3b24ed(_0x1d8c94){if(this['attributes']=[],_0x1d8c94){for(var _0x57227f=Object['keys'](_0x1d8c94),_0x362c12=0x0;_0x362c12<_0x57227f['length'];++_0x362c12)null!=_0x1d8c94[_0x57227f[_0x362c12]]&&(this[_0x57227f[_0x362c12]]=_0x1d8c94[_0x57227f[_0x362c12]]);}}return _0x3b24ed['prototype']['attributes']=_0x43a1d8['emptyArray'],_0x3b24ed['create']=function(_0x499aa3){return new _0x3b24ed(_0x499aa3);},_0x3b24ed['encode']=function(_0x129547,_0x3d0709){if(_0x3d0709||(_0x3d0709=_0x102edc['create']()),null!=_0x129547['attributes']&&_0x129547['attributes']['length']){for(var _0xb86154=0x0;_0xb86154<_0x129547['attributes']['length'];++_0xb86154)_0x297356['KeyValueDescriptor']['encode'](_0x129547['attributes'][_0xb86154],_0x3d0709['uint32'](0xa)['fork']())['ldelim']();}return _0x3d0709;},_0x3b24ed['encodeDelimited']=function(_0x9acef,_0x1aaa54){return this['encode'](_0x9acef,_0x1aaa54)['ldelim']();},_0x3b24ed['decode']=function(_0x2d3ffe,_0x4b7203,_0x10eee2){_0x2d3ffe instanceof _0x185f42||(_0x2d3ffe=_0x185f42['create'](_0x2d3ffe));for(var _0x5de9a0=void 0x0===_0x4b7203?_0x2d3ffe['len']:_0x2d3ffe['pos']+_0x4b7203,_0xa0f238=new _0x297356['GetUserResponse']();_0x2d3ffe['pos']<_0x5de9a0;){var _0x496474=_0x2d3ffe['uint32']();if(_0x496474===_0x10eee2)break;_0x496474>>>0x3==0x1?(_0xa0f238['attributes']&&_0xa0f238['attributes']['length']||(_0xa0f238['attributes']=[]),_0xa0f238['attributes']['push'](_0x297356['KeyValueDescriptor']['decode'](_0x2d3ffe,_0x2d3ffe['uint32']()))):_0x2d3ffe['skipType'](0x7&_0x496474);}return _0xa0f238;},_0x3b24ed['decodeDelimited']=function(_0x58a8f8){return _0x58a8f8 instanceof _0x185f42||(_0x58a8f8=new _0x185f42(_0x58a8f8)),this['decode'](_0x58a8f8,_0x58a8f8['uint32']());},_0x3b24ed['verify']=function(_0x3cfc28){if('object'!=typeof _0x3cfc28||null===_0x3cfc28)return'object\x20expected';if(null!=_0x3cfc28['attributes']&&_0x3cfc28['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x3cfc28['attributes']))return'attributes:\x20array\x20expected';for(var _0x552931=0x0;_0x552931<_0x3cfc28['attributes']['length'];++_0x552931){var _0x27360c=_0x297356['KeyValueDescriptor']['verify'](_0x3cfc28['attributes'][_0x552931]);if(_0x27360c)return'attributes.'+_0x27360c;}}return null;},_0x3b24ed['fromObject']=function(_0x28ce39){if(_0x28ce39 instanceof _0x297356['GetUserResponse'])return _0x28ce39;var _0x19a959=new _0x297356['GetUserResponse']();if(_0x28ce39['attributes']){if(!Array['isArray'](_0x28ce39['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x19a959['attributes']=[];for(var _0x1bcdb7=0x0;_0x1bcdb7<_0x28ce39['attributes']['length'];++_0x1bcdb7){if('object'!=typeof _0x28ce39['attributes'][_0x1bcdb7])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x19a959['attributes'][_0x1bcdb7]=_0x297356['KeyValueDescriptor']['fromObject'](_0x28ce39['attributes'][_0x1bcdb7]);}}return _0x19a959;},_0x3b24ed['toObject']=function(_0x3a2e93,_0x2e8df5){_0x2e8df5||(_0x2e8df5={});var _0x40ed04={};if((_0x2e8df5['arrays']||_0x2e8df5['defaults'])&&(_0x40ed04['attributes']=[]),_0x3a2e93['attributes']&&_0x3a2e93['attributes']['length']){_0x40ed04['attributes']=[];for(var _0x899e40=0x0;_0x899e40<_0x3a2e93['attributes']['length'];++_0x899e40)_0x40ed04['attributes'][_0x899e40]=_0x297356['KeyValueDescriptor']['toObject'](_0x3a2e93['attributes'][_0x899e40],_0x2e8df5);}return _0x40ed04;},_0x3b24ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x3b24ed['getTypeUrl']=function(_0x667c3){return void 0x0===_0x667c3&&(_0x667c3='type.googleapis.com'),_0x667c3+'/GetUserResponse';},_0x3b24ed;}()),_0x297356['GetManyUsersResponse']=(function(){function _0x35023f(_0x5aa0f2){if(this['users']=[],_0x5aa0f2){for(var _0x573651=Object['keys'](_0x5aa0f2),_0x5429c5=0x0;_0x5429c5<_0x573651['length'];++_0x5429c5)null!=_0x5aa0f2[_0x573651[_0x5429c5]]&&(this[_0x573651[_0x5429c5]]=_0x5aa0f2[_0x573651[_0x5429c5]]);}}return _0x35023f['prototype']['users']=_0x43a1d8['emptyArray'],_0x35023f['create']=function(_0x139c58){return new _0x35023f(_0x139c58);},_0x35023f['encode']=function(_0x278ad7,_0x5a6572){if(_0x5a6572||(_0x5a6572=_0x102edc['create']()),null!=_0x278ad7['users']&&_0x278ad7['users']['length']){for(var _0x26754d=0x0;_0x26754d<_0x278ad7['users']['length'];++_0x26754d)_0x297356['UserDescriptor']['encode'](_0x278ad7['users'][_0x26754d],_0x5a6572['uint32'](0xa)['fork']())['ldelim']();}return _0x5a6572;},_0x35023f['encodeDelimited']=function(_0x2e191a,_0x451bc2){return this['encode'](_0x2e191a,_0x451bc2)['ldelim']();},_0x35023f['decode']=function(_0x449f6a,_0x260a2d,_0x1f2c90){_0x449f6a instanceof _0x185f42||(_0x449f6a=_0x185f42['create'](_0x449f6a));for(var _0x1ad82f=void 0x0===_0x260a2d?_0x449f6a['len']:_0x449f6a['pos']+_0x260a2d,_0x15fec4=new _0x297356['GetManyUsersResponse']();_0x449f6a['pos']<_0x1ad82f;){var _0x39c705=_0x449f6a['uint32']();if(_0x39c705===_0x1f2c90)break;_0x39c705>>>0x3==0x1?(_0x15fec4['users']&&_0x15fec4['users']['length']||(_0x15fec4['users']=[]),_0x15fec4['users']['push'](_0x297356['UserDescriptor']['decode'](_0x449f6a,_0x449f6a['uint32']()))):_0x449f6a['skipType'](0x7&_0x39c705);}return _0x15fec4;},_0x35023f['decodeDelimited']=function(_0x131c70){return _0x131c70 instanceof _0x185f42||(_0x131c70=new _0x185f42(_0x131c70)),this['decode'](_0x131c70,_0x131c70['uint32']());},_0x35023f['verify']=function(_0x4cb68f){if('object'!=typeof _0x4cb68f||null===_0x4cb68f)return'object\x20expected';if(null!=_0x4cb68f['users']&&_0x4cb68f['hasOwnProperty']('users')){if(!Array['isArray'](_0x4cb68f['users']))return'users:\x20array\x20expected';for(var _0x123d97=0x0;_0x123d97<_0x4cb68f['users']['length'];++_0x123d97){var _0x3ab33b=_0x297356['UserDescriptor']['verify'](_0x4cb68f['users'][_0x123d97]);if(_0x3ab33b)return'users.'+_0x3ab33b;}}return null;},_0x35023f['fromObject']=function(_0x19ef65){if(_0x19ef65 instanceof _0x297356['GetManyUsersResponse'])return _0x19ef65;var _0x2ff250=new _0x297356['GetManyUsersResponse']();if(_0x19ef65['users']){if(!Array['isArray'](_0x19ef65['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x2ff250['users']=[];for(var _0x2cd938=0x0;_0x2cd938<_0x19ef65['users']['length'];++_0x2cd938){if('object'!=typeof _0x19ef65['users'][_0x2cd938])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x2ff250['users'][_0x2cd938]=_0x297356['UserDescriptor']['fromObject'](_0x19ef65['users'][_0x2cd938]);}}return _0x2ff250;},_0x35023f['toObject']=function(_0x20836d,_0x127cea){_0x127cea||(_0x127cea={});var _0x3740ad={};if((_0x127cea['arrays']||_0x127cea['defaults'])&&(_0x3740ad['users']=[]),_0x20836d['users']&&_0x20836d['users']['length']){_0x3740ad['users']=[];for(var _0x26957c=0x0;_0x26957c<_0x20836d['users']['length'];++_0x26957c)_0x3740ad['users'][_0x26957c]=_0x297356['UserDescriptor']['toObject'](_0x20836d['users'][_0x26957c],_0x127cea);}return _0x3740ad;},_0x35023f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x35023f['getTypeUrl']=function(_0x5b3bfc){return void 0x0===_0x5b3bfc&&(_0x5b3bfc='type.googleapis.com'),_0x5b3bfc+'/GetManyUsersResponse';},_0x35023f;}()),_0x297356['GetUserMessage']=(function(){function _0x499888(_0x423e96){if(_0x423e96){for(var _0x476062=Object['keys'](_0x423e96),_0x4ae4ff=0x0;_0x4ae4ff<_0x476062['length'];++_0x4ae4ff)null!=_0x423e96[_0x476062[_0x4ae4ff]]&&(this[_0x476062[_0x4ae4ff]]=_0x423e96[_0x476062[_0x4ae4ff]]);}}return _0x499888['prototype']['id']='',_0x499888['create']=function(_0x3020ce){return new _0x499888(_0x3020ce);},_0x499888['encode']=function(_0x506d26,_0x12a0bf){return _0x12a0bf||(_0x12a0bf=_0x102edc['create']()),null!=_0x506d26['id']&&Object['hasOwnProperty']['call'](_0x506d26,'id')&&_0x12a0bf['uint32'](0xa)['string'](_0x506d26['id']),_0x12a0bf;},_0x499888['encodeDelimited']=function(_0x245684,_0x2783d4){return this['encode'](_0x245684,_0x2783d4)['ldelim']();},_0x499888['decode']=function(_0x174cba,_0x1f693b,_0x4605a5){_0x174cba instanceof _0x185f42||(_0x174cba=_0x185f42['create'](_0x174cba));for(var _0x44450a=void 0x0===_0x1f693b?_0x174cba['len']:_0x174cba['pos']+_0x1f693b,_0x3d3128=new _0x297356['GetUserMessage']();_0x174cba['pos']<_0x44450a;){var _0x18fbd4=_0x174cba['uint32']();if(_0x18fbd4===_0x4605a5)break;_0x18fbd4>>>0x3==0x1?_0x3d3128['id']=_0x174cba['string']():_0x174cba['skipType'](0x7&_0x18fbd4);}return _0x3d3128;},_0x499888['decodeDelimited']=function(_0x2d757f){return _0x2d757f instanceof _0x185f42||(_0x2d757f=new _0x185f42(_0x2d757f)),this['decode'](_0x2d757f,_0x2d757f['uint32']());},_0x499888['verify']=function(_0x34b112){return'object'!=typeof _0x34b112||null===_0x34b112?'object\x20expected':null!=_0x34b112['id']&&_0x34b112['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x34b112['id'])?'id:\x20string\x20expected':null;},_0x499888['fromObject']=function(_0xa9a5be){if(_0xa9a5be instanceof _0x297356['GetUserMessage'])return _0xa9a5be;var _0x3e14d9=new _0x297356['GetUserMessage']();return null!=_0xa9a5be['id']&&(_0x3e14d9['id']=String(_0xa9a5be['id'])),_0x3e14d9;},_0x499888['toObject']=function(_0x593130,_0x567325){_0x567325||(_0x567325={});var _0x8c0e56={};return _0x567325['defaults']&&(_0x8c0e56['id']=''),null!=_0x593130['id']&&_0x593130['hasOwnProperty']('id')&&(_0x8c0e56['id']=_0x593130['id']),_0x8c0e56;},_0x499888['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x499888['getTypeUrl']=function(_0x5c78b6){return void 0x0===_0x5c78b6&&(_0x5c78b6='type.googleapis.com'),_0x5c78b6+'/GetUserMessage';},_0x499888;}()),_0x297356['GetManyUsersMessage']=(function(){function _0x4e14ad(_0x3cf41d){if(this['ids']=[],_0x3cf41d){for(var _0x36b821=Object['keys'](_0x3cf41d),_0x41dcfb=0x0;_0x41dcfb<_0x36b821['length'];++_0x41dcfb)null!=_0x3cf41d[_0x36b821[_0x41dcfb]]&&(this[_0x36b821[_0x41dcfb]]=_0x3cf41d[_0x36b821[_0x41dcfb]]);}}return _0x4e14ad['prototype']['ids']=_0x43a1d8['emptyArray'],_0x4e14ad['create']=function(_0x252cde){return new _0x4e14ad(_0x252cde);},_0x4e14ad['encode']=function(_0x26fede,_0x1727ba){if(_0x1727ba||(_0x1727ba=_0x102edc['create']()),null!=_0x26fede['ids']&&_0x26fede['ids']['length']){for(var _0x2584e3=0x0;_0x2584e3<_0x26fede['ids']['length'];++_0x2584e3)_0x1727ba['uint32'](0xa)['string'](_0x26fede['ids'][_0x2584e3]);}return _0x1727ba;},_0x4e14ad['encodeDelimited']=function(_0x7991e9,_0x1c82a1){return this['encode'](_0x7991e9,_0x1c82a1)['ldelim']();},_0x4e14ad['decode']=function(_0x2becee,_0x296e7f,_0x43c08f){_0x2becee instanceof _0x185f42||(_0x2becee=_0x185f42['create'](_0x2becee));for(var _0x1b9d42=void 0x0===_0x296e7f?_0x2becee['len']:_0x2becee['pos']+_0x296e7f,_0x1cb537=new _0x297356['GetManyUsersMessage']();_0x2becee['pos']<_0x1b9d42;){var _0x5ca48a=_0x2becee['uint32']();if(_0x5ca48a===_0x43c08f)break;_0x5ca48a>>>0x3==0x1?(_0x1cb537['ids']&&_0x1cb537['ids']['length']||(_0x1cb537['ids']=[]),_0x1cb537['ids']['push'](_0x2becee['string']())):_0x2becee['skipType'](0x7&_0x5ca48a);}return _0x1cb537;},_0x4e14ad['decodeDelimited']=function(_0x3ddf31){return _0x3ddf31 instanceof _0x185f42||(_0x3ddf31=new _0x185f42(_0x3ddf31)),this['decode'](_0x3ddf31,_0x3ddf31['uint32']());},_0x4e14ad['verify']=function(_0x3c95ae){if('object'!=typeof _0x3c95ae||null===_0x3c95ae)return'object\x20expected';if(null!=_0x3c95ae['ids']&&_0x3c95ae['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3c95ae['ids']))return'ids:\x20array\x20expected';for(var _0x4ee8bb=0x0;_0x4ee8bb<_0x3c95ae['ids']['length'];++_0x4ee8bb)if(!_0x43a1d8['isString'](_0x3c95ae['ids'][_0x4ee8bb]))return'ids:\x20string[]\x20expected';}return null;},_0x4e14ad['fromObject']=function(_0x12bfb8){if(_0x12bfb8 instanceof _0x297356['GetManyUsersMessage'])return _0x12bfb8;var _0x467afe=new _0x297356['GetManyUsersMessage']();if(_0x12bfb8['ids']){if(!Array['isArray'](_0x12bfb8['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x467afe['ids']=[];for(var _0x14963a=0x0;_0x14963a<_0x12bfb8['ids']['length'];++_0x14963a)_0x467afe['ids'][_0x14963a]=String(_0x12bfb8['ids'][_0x14963a]);}return _0x467afe;},_0x4e14ad['toObject']=function(_0x3ab431,_0x5de919){_0x5de919||(_0x5de919={});var _0x15d2bf={};if((_0x5de919['arrays']||_0x5de919['defaults'])&&(_0x15d2bf['ids']=[]),_0x3ab431['ids']&&_0x3ab431['ids']['length']){_0x15d2bf['ids']=[];for(var _0x382580=0x0;_0x382580<_0x3ab431['ids']['length'];++_0x382580)_0x15d2bf['ids'][_0x382580]=_0x3ab431['ids'][_0x382580];}return _0x15d2bf;},_0x4e14ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4e14ad['getTypeUrl']=function(_0x546347){return void 0x0===_0x546347&&(_0x546347='type.googleapis.com'),_0x546347+'/GetManyUsersMessage';},_0x4e14ad;}()),_0x297356['UserDescriptor']=(function(){function _0x859350(_0x4075ad){if(this['attributes']=[],_0x4075ad){for(var _0x8e31f6=Object['keys'](_0x4075ad),_0x291848=0x0;_0x291848<_0x8e31f6['length'];++_0x291848)null!=_0x4075ad[_0x8e31f6[_0x291848]]&&(this[_0x8e31f6[_0x291848]]=_0x4075ad[_0x8e31f6[_0x291848]]);}}return _0x859350['prototype']['attributes']=_0x43a1d8['emptyArray'],_0x859350['create']=function(_0x314fb9){return new _0x859350(_0x314fb9);},_0x859350['encode']=function(_0x188d83,_0x3cb946){if(_0x3cb946||(_0x3cb946=_0x102edc['create']()),null!=_0x188d83['attributes']&&_0x188d83['attributes']['length']){for(var _0x57096b=0x0;_0x57096b<_0x188d83['attributes']['length'];++_0x57096b)_0x297356['KeyValueDescriptor']['encode'](_0x188d83['attributes'][_0x57096b],_0x3cb946['uint32'](0xa)['fork']())['ldelim']();}return _0x3cb946;},_0x859350['encodeDelimited']=function(_0x463482,_0xee615e){return this['encode'](_0x463482,_0xee615e)['ldelim']();},_0x859350['decode']=function(_0x111897,_0x21d7bb,_0x4717fd){_0x111897 instanceof _0x185f42||(_0x111897=_0x185f42['create'](_0x111897));for(var _0x51a1ab=void 0x0===_0x21d7bb?_0x111897['len']:_0x111897['pos']+_0x21d7bb,_0x3bc07a=new _0x297356['UserDescriptor']();_0x111897['pos']<_0x51a1ab;){var _0x56b520=_0x111897['uint32']();if(_0x56b520===_0x4717fd)break;_0x56b520>>>0x3==0x1?(_0x3bc07a['attributes']&&_0x3bc07a['attributes']['length']||(_0x3bc07a['attributes']=[]),_0x3bc07a['attributes']['push'](_0x297356['KeyValueDescriptor']['decode'](_0x111897,_0x111897['uint32']()))):_0x111897['skipType'](0x7&_0x56b520);}return _0x3bc07a;},_0x859350['decodeDelimited']=function(_0x9810a0){return _0x9810a0 instanceof _0x185f42||(_0x9810a0=new _0x185f42(_0x9810a0)),this['decode'](_0x9810a0,_0x9810a0['uint32']());},_0x859350['verify']=function(_0x44e2bc){if('object'!=typeof _0x44e2bc||null===_0x44e2bc)return'object\x20expected';if(null!=_0x44e2bc['attributes']&&_0x44e2bc['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x44e2bc['attributes']))return'attributes:\x20array\x20expected';for(var _0xa5d6fa=0x0;_0xa5d6fa<_0x44e2bc['attributes']['length'];++_0xa5d6fa){var _0xa2da7f=_0x297356['KeyValueDescriptor']['verify'](_0x44e2bc['attributes'][_0xa5d6fa]);if(_0xa2da7f)return'attributes.'+_0xa2da7f;}}return null;},_0x859350['fromObject']=function(_0x58cfe9){if(_0x58cfe9 instanceof _0x297356['UserDescriptor'])return _0x58cfe9;var _0x204cd7=new _0x297356['UserDescriptor']();if(_0x58cfe9['attributes']){if(!Array['isArray'](_0x58cfe9['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x204cd7['attributes']=[];for(var _0xbb4b34=0x0;_0xbb4b34<_0x58cfe9['attributes']['length'];++_0xbb4b34){if('object'!=typeof _0x58cfe9['attributes'][_0xbb4b34])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x204cd7['attributes'][_0xbb4b34]=_0x297356['KeyValueDescriptor']['fromObject'](_0x58cfe9['attributes'][_0xbb4b34]);}}return _0x204cd7;},_0x859350['toObject']=function(_0x1b77d9,_0x2f3f22){_0x2f3f22||(_0x2f3f22={});var _0x2da796={};if((_0x2f3f22['arrays']||_0x2f3f22['defaults'])&&(_0x2da796['attributes']=[]),_0x1b77d9['attributes']&&_0x1b77d9['attributes']['length']){_0x2da796['attributes']=[];for(var _0x35aa3f=0x0;_0x35aa3f<_0x1b77d9['attributes']['length'];++_0x35aa3f)_0x2da796['attributes'][_0x35aa3f]=_0x297356['KeyValueDescriptor']['toObject'](_0x1b77d9['attributes'][_0x35aa3f],_0x2f3f22);}return _0x2da796;},_0x859350['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x859350['getTypeUrl']=function(_0x51a06d){return void 0x0===_0x51a06d&&(_0x51a06d='type.googleapis.com'),_0x51a06d+'/UserDescriptor';},_0x859350;}()),_0x297356['TrackChangesGetSuggestionResponse']=(function(){function _0x2a7964(_0x1d29d0){if(_0x1d29d0){for(var _0xcdc324=Object['keys'](_0x1d29d0),_0x509ee3=0x0;_0x509ee3<_0xcdc324['length'];++_0x509ee3)null!=_0x1d29d0[_0xcdc324[_0x509ee3]]&&(this[_0xcdc324[_0x509ee3]]=_0x1d29d0[_0xcdc324[_0x509ee3]]);}}return _0x2a7964['prototype']['id']='',_0x2a7964['prototype']['authorId']='',_0x2a7964['prototype']['type']='',_0x2a7964['prototype']['createdAt']='',_0x2a7964['prototype']['data']='',_0x2a7964['prototype']['hasComments']=!0x1,_0x2a7964['prototype']['state']='',_0x2a7964['prototype']['attributes']='',_0x2a7964['create']=function(_0x1e52a7){return new _0x2a7964(_0x1e52a7);},_0x2a7964['encode']=function(_0x285a13,_0x4b4e45){return _0x4b4e45||(_0x4b4e45=_0x102edc['create']()),null!=_0x285a13['id']&&Object['hasOwnProperty']['call'](_0x285a13,'id')&&_0x4b4e45['uint32'](0xa)['string'](_0x285a13['id']),null!=_0x285a13['authorId']&&Object['hasOwnProperty']['call'](_0x285a13,'authorId')&&_0x4b4e45['uint32'](0x12)['string'](_0x285a13['authorId']),null!=_0x285a13['type']&&Object['hasOwnProperty']['call'](_0x285a13,'type')&&_0x4b4e45['uint32'](0x1a)['string'](_0x285a13['type']),null!=_0x285a13['createdAt']&&Object['hasOwnProperty']['call'](_0x285a13,'createdAt')&&_0x4b4e45['uint32'](0x22)['string'](_0x285a13['createdAt']),null!=_0x285a13['data']&&Object['hasOwnProperty']['call'](_0x285a13,'data')&&_0x4b4e45['uint32'](0x2a)['string'](_0x285a13['data']),null!=_0x285a13['hasComments']&&Object['hasOwnProperty']['call'](_0x285a13,'hasComments')&&_0x4b4e45['uint32'](0x30)['bool'](_0x285a13['hasComments']),null!=_0x285a13['state']&&Object['hasOwnProperty']['call'](_0x285a13,'state')&&_0x4b4e45['uint32'](0x3a)['string'](_0x285a13['state']),null!=_0x285a13['attributes']&&Object['hasOwnProperty']['call'](_0x285a13,'attributes')&&_0x4b4e45['uint32'](0x42)['string'](_0x285a13['attributes']),_0x4b4e45;},_0x2a7964['encodeDelimited']=function(_0x207548,_0x1e032e){return this['encode'](_0x207548,_0x1e032e)['ldelim']();},_0x2a7964['decode']=function(_0x33eab5,_0x2c21c1,_0x5b995e){_0x33eab5 instanceof _0x185f42||(_0x33eab5=_0x185f42['create'](_0x33eab5));for(var _0x22c6e1=void 0x0===_0x2c21c1?_0x33eab5['len']:_0x33eab5['pos']+_0x2c21c1,_0x4fd470=new _0x297356['TrackChangesGetSuggestionResponse']();_0x33eab5['pos']<_0x22c6e1;){var _0x31fa3b=_0x33eab5['uint32']();if(_0x31fa3b===_0x5b995e)break;switch(_0x31fa3b>>>0x3){case 0x1:_0x4fd470['id']=_0x33eab5['string']();break;case 0x2:_0x4fd470['authorId']=_0x33eab5['string']();break;case 0x3:_0x4fd470['type']=_0x33eab5['string']();break;case 0x4:_0x4fd470['createdAt']=_0x33eab5['string']();break;case 0x5:_0x4fd470['data']=_0x33eab5['string']();break;case 0x6:_0x4fd470['hasComments']=_0x33eab5['bool']();break;case 0x7:_0x4fd470['state']=_0x33eab5['string']();break;case 0x8:_0x4fd470['attributes']=_0x33eab5['string']();break;default:_0x33eab5['skipType'](0x7&_0x31fa3b);}}return _0x4fd470;},_0x2a7964['decodeDelimited']=function(_0x1a9b6d){return _0x1a9b6d instanceof _0x185f42||(_0x1a9b6d=new _0x185f42(_0x1a9b6d)),this['decode'](_0x1a9b6d,_0x1a9b6d['uint32']());},_0x2a7964['verify']=function(_0xaa6cd8){return'object'!=typeof _0xaa6cd8||null===_0xaa6cd8?'object\x20expected':null!=_0xaa6cd8['id']&&_0xaa6cd8['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0xaa6cd8['id'])?'id:\x20string\x20expected':null!=_0xaa6cd8['authorId']&&_0xaa6cd8['hasOwnProperty']('authorId')&&!_0x43a1d8['isString'](_0xaa6cd8['authorId'])?'authorId:\x20string\x20expected':null!=_0xaa6cd8['type']&&_0xaa6cd8['hasOwnProperty']('type')&&!_0x43a1d8['isString'](_0xaa6cd8['type'])?'type:\x20string\x20expected':null!=_0xaa6cd8['createdAt']&&_0xaa6cd8['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0xaa6cd8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0xaa6cd8['data']&&_0xaa6cd8['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0xaa6cd8['data'])?'data:\x20string\x20expected':null!=_0xaa6cd8['hasComments']&&_0xaa6cd8['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0xaa6cd8['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0xaa6cd8['state']&&_0xaa6cd8['hasOwnProperty']('state')&&!_0x43a1d8['isString'](_0xaa6cd8['state'])?'state:\x20string\x20expected':null!=_0xaa6cd8['attributes']&&_0xaa6cd8['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0xaa6cd8['attributes'])?'attributes:\x20string\x20expected':null;},_0x2a7964['fromObject']=function(_0x5de028){if(_0x5de028 instanceof _0x297356['TrackChangesGetSuggestionResponse'])return _0x5de028;var _0x2a979f=new _0x297356['TrackChangesGetSuggestionResponse']();return null!=_0x5de028['id']&&(_0x2a979f['id']=String(_0x5de028['id'])),null!=_0x5de028['authorId']&&(_0x2a979f['authorId']=String(_0x5de028['authorId'])),null!=_0x5de028['type']&&(_0x2a979f['type']=String(_0x5de028['type'])),null!=_0x5de028['createdAt']&&(_0x2a979f['createdAt']=String(_0x5de028['createdAt'])),null!=_0x5de028['data']&&(_0x2a979f['data']=String(_0x5de028['data'])),null!=_0x5de028['hasComments']&&(_0x2a979f['hasComments']=Boolean(_0x5de028['hasComments'])),null!=_0x5de028['state']&&(_0x2a979f['state']=String(_0x5de028['state'])),null!=_0x5de028['attributes']&&(_0x2a979f['attributes']=String(_0x5de028['attributes'])),_0x2a979f;},_0x2a7964['toObject']=function(_0x107481,_0x5b4f3d){_0x5b4f3d||(_0x5b4f3d={});var _0x2447e={};return _0x5b4f3d['defaults']&&(_0x2447e['id']='',_0x2447e['authorId']='',_0x2447e['type']='',_0x2447e['createdAt']='',_0x2447e['data']='',_0x2447e['hasComments']=!0x1,_0x2447e['state']='',_0x2447e['attributes']=''),null!=_0x107481['id']&&_0x107481['hasOwnProperty']('id')&&(_0x2447e['id']=_0x107481['id']),null!=_0x107481['authorId']&&_0x107481['hasOwnProperty']('authorId')&&(_0x2447e['authorId']=_0x107481['authorId']),null!=_0x107481['type']&&_0x107481['hasOwnProperty']('type')&&(_0x2447e['type']=_0x107481['type']),null!=_0x107481['createdAt']&&_0x107481['hasOwnProperty']('createdAt')&&(_0x2447e['createdAt']=_0x107481['createdAt']),null!=_0x107481['data']&&_0x107481['hasOwnProperty']('data')&&(_0x2447e['data']=_0x107481['data']),null!=_0x107481['hasComments']&&_0x107481['hasOwnProperty']('hasComments')&&(_0x2447e['hasComments']=_0x107481['hasComments']),null!=_0x107481['state']&&_0x107481['hasOwnProperty']('state')&&(_0x2447e['state']=_0x107481['state']),null!=_0x107481['attributes']&&_0x107481['hasOwnProperty']('attributes')&&(_0x2447e['attributes']=_0x107481['attributes']),_0x2447e;},_0x2a7964['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2a7964['getTypeUrl']=function(_0x20d2b7){return void 0x0===_0x20d2b7&&(_0x20d2b7='type.googleapis.com'),_0x20d2b7+'/TrackChangesGetSuggestionResponse';},_0x2a7964;}()),_0x297356['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x157e0a(_0xb5b2b7){if(this['suggestions']=[],this['suggestionsV2']=[],_0xb5b2b7){for(var _0x3433f5=Object['keys'](_0xb5b2b7),_0x528494=0x0;_0x528494<_0x3433f5['length'];++_0x528494)null!=_0xb5b2b7[_0x3433f5[_0x528494]]&&(this[_0x3433f5[_0x528494]]=_0xb5b2b7[_0x3433f5[_0x528494]]);}}return _0x157e0a['prototype']['suggestions']=_0x43a1d8['emptyArray'],_0x157e0a['prototype']['suggestionsV2']=_0x43a1d8['emptyArray'],_0x157e0a['create']=function(_0x39e92f){return new _0x157e0a(_0x39e92f);},_0x157e0a['encode']=function(_0x9d1c17,_0x1b2b98){if(_0x1b2b98||(_0x1b2b98=_0x102edc['create']()),null!=_0x9d1c17['suggestions']&&_0x9d1c17['suggestions']['length']){for(var _0x102a2c=0x0;_0x102a2c<_0x9d1c17['suggestions']['length'];++_0x102a2c)_0x1b2b98['uint32'](0xa)['string'](_0x9d1c17['suggestions'][_0x102a2c]);}if(null!=_0x9d1c17['suggestionsV2']&&_0x9d1c17['suggestionsV2']['length']){for(_0x102a2c=0x0;_0x102a2c<_0x9d1c17['suggestionsV2']['length'];++_0x102a2c)_0x297356['SuggestionDescriptor']['encode'](_0x9d1c17['suggestionsV2'][_0x102a2c],_0x1b2b98['uint32'](0x12)['fork']())['ldelim']();}return _0x1b2b98;},_0x157e0a['encodeDelimited']=function(_0x5b70a5,_0x9a4068){return this['encode'](_0x5b70a5,_0x9a4068)['ldelim']();},_0x157e0a['decode']=function(_0x457fc2,_0x2d2179,_0x20807f){_0x457fc2 instanceof _0x185f42||(_0x457fc2=_0x185f42['create'](_0x457fc2));for(var _0x599987=void 0x0===_0x2d2179?_0x457fc2['len']:_0x457fc2['pos']+_0x2d2179,_0x58ef1b=new _0x297356['TrackChangesGetAllSuggestionsResponse']();_0x457fc2['pos']<_0x599987;){var _0x5d4305=_0x457fc2['uint32']();if(_0x5d4305===_0x20807f)break;switch(_0x5d4305>>>0x3){case 0x1:_0x58ef1b['suggestions']&&_0x58ef1b['suggestions']['length']||(_0x58ef1b['suggestions']=[]),_0x58ef1b['suggestions']['push'](_0x457fc2['string']());break;case 0x2:_0x58ef1b['suggestionsV2']&&_0x58ef1b['suggestionsV2']['length']||(_0x58ef1b['suggestionsV2']=[]),_0x58ef1b['suggestionsV2']['push'](_0x297356['SuggestionDescriptor']['decode'](_0x457fc2,_0x457fc2['uint32']()));break;default:_0x457fc2['skipType'](0x7&_0x5d4305);}}return _0x58ef1b;},_0x157e0a['decodeDelimited']=function(_0x516b8e){return _0x516b8e instanceof _0x185f42||(_0x516b8e=new _0x185f42(_0x516b8e)),this['decode'](_0x516b8e,_0x516b8e['uint32']());},_0x157e0a['verify']=function(_0x2f376f){if('object'!=typeof _0x2f376f||null===_0x2f376f)return'object\x20expected';if(null!=_0x2f376f['suggestions']&&_0x2f376f['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x2f376f['suggestions']))return'suggestions:\x20array\x20expected';for(var _0xb6f7f9=0x0;_0xb6f7f9<_0x2f376f['suggestions']['length'];++_0xb6f7f9)if(!_0x43a1d8['isString'](_0x2f376f['suggestions'][_0xb6f7f9]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x2f376f['suggestionsV2']&&_0x2f376f['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x2f376f['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0xb6f7f9=0x0;_0xb6f7f9<_0x2f376f['suggestionsV2']['length'];++_0xb6f7f9){var _0x21fc85=_0x297356['SuggestionDescriptor']['verify'](_0x2f376f['suggestionsV2'][_0xb6f7f9]);if(_0x21fc85)return'suggestionsV2.'+_0x21fc85;}}return null;},_0x157e0a['fromObject']=function(_0x4ddfd2){if(_0x4ddfd2 instanceof _0x297356['TrackChangesGetAllSuggestionsResponse'])return _0x4ddfd2;var _0x4e7d63=new _0x297356['TrackChangesGetAllSuggestionsResponse']();if(_0x4ddfd2['suggestions']){if(!Array['isArray'](_0x4ddfd2['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x4e7d63['suggestions']=[];for(var _0x305c2a=0x0;_0x305c2a<_0x4ddfd2['suggestions']['length'];++_0x305c2a)_0x4e7d63['suggestions'][_0x305c2a]=String(_0x4ddfd2['suggestions'][_0x305c2a]);}if(_0x4ddfd2['suggestionsV2']){if(!Array['isArray'](_0x4ddfd2['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x4e7d63['suggestionsV2']=[],_0x305c2a=0x0;_0x305c2a<_0x4ddfd2['suggestionsV2']['length'];++_0x305c2a){if('object'!=typeof _0x4ddfd2['suggestionsV2'][_0x305c2a])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x4e7d63['suggestionsV2'][_0x305c2a]=_0x297356['SuggestionDescriptor']['fromObject'](_0x4ddfd2['suggestionsV2'][_0x305c2a]);}}return _0x4e7d63;},_0x157e0a['toObject']=function(_0x1043f6,_0x1c3f05){_0x1c3f05||(_0x1c3f05={});var _0x4e1694={};if((_0x1c3f05['arrays']||_0x1c3f05['defaults'])&&(_0x4e1694['suggestions']=[],_0x4e1694['suggestionsV2']=[]),_0x1043f6['suggestions']&&_0x1043f6['suggestions']['length']){_0x4e1694['suggestions']=[];for(var _0x15f72a=0x0;_0x15f72a<_0x1043f6['suggestions']['length'];++_0x15f72a)_0x4e1694['suggestions'][_0x15f72a]=_0x1043f6['suggestions'][_0x15f72a];}if(_0x1043f6['suggestionsV2']&&_0x1043f6['suggestionsV2']['length']){for(_0x4e1694['suggestionsV2']=[],_0x15f72a=0x0;_0x15f72a<_0x1043f6['suggestionsV2']['length'];++_0x15f72a)_0x4e1694['suggestionsV2'][_0x15f72a]=_0x297356['SuggestionDescriptor']['toObject'](_0x1043f6['suggestionsV2'][_0x15f72a],_0x1c3f05);}return _0x4e1694;},_0x157e0a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x157e0a['getTypeUrl']=function(_0x16aab3){return void 0x0===_0x16aab3&&(_0x16aab3='type.googleapis.com'),_0x16aab3+'/TrackChangesGetAllSuggestionsResponse';},_0x157e0a;}()),_0x297356['TrackChangesConnectResponse']=(function(){function _0xac7e40(_0x57dabb){if(this['suggestions']=[],this['suggestionsV2']=[],_0x57dabb){for(var _0x360d60=Object['keys'](_0x57dabb),_0x2f8ea9=0x0;_0x2f8ea9<_0x360d60['length'];++_0x2f8ea9)null!=_0x57dabb[_0x360d60[_0x2f8ea9]]&&(this[_0x360d60[_0x2f8ea9]]=_0x57dabb[_0x360d60[_0x2f8ea9]]);}}return _0xac7e40['prototype']['channel']='',_0xac7e40['prototype']['suggestions']=_0x43a1d8['emptyArray'],_0xac7e40['prototype']['suggestionsV2']=_0x43a1d8['emptyArray'],_0xac7e40['create']=function(_0xd3c006){return new _0xac7e40(_0xd3c006);},_0xac7e40['encode']=function(_0x57fb97,_0x2fe9d){if(_0x2fe9d||(_0x2fe9d=_0x102edc['create']()),null!=_0x57fb97['channel']&&Object['hasOwnProperty']['call'](_0x57fb97,'channel')&&_0x2fe9d['uint32'](0xa)['string'](_0x57fb97['channel']),null!=_0x57fb97['suggestions']&&_0x57fb97['suggestions']['length']){for(var _0x42a24a=0x0;_0x42a24a<_0x57fb97['suggestions']['length'];++_0x42a24a)_0x2fe9d['uint32'](0x12)['string'](_0x57fb97['suggestions'][_0x42a24a]);}if(null!=_0x57fb97['suggestionsV2']&&_0x57fb97['suggestionsV2']['length']){for(_0x42a24a=0x0;_0x42a24a<_0x57fb97['suggestionsV2']['length'];++_0x42a24a)_0x297356['SuggestionDescriptor']['encode'](_0x57fb97['suggestionsV2'][_0x42a24a],_0x2fe9d['uint32'](0x1a)['fork']())['ldelim']();}return _0x2fe9d;},_0xac7e40['encodeDelimited']=function(_0x291906,_0x410d7d){return this['encode'](_0x291906,_0x410d7d)['ldelim']();},_0xac7e40['decode']=function(_0x52fabb,_0x249552,_0x3a6e14){_0x52fabb instanceof _0x185f42||(_0x52fabb=_0x185f42['create'](_0x52fabb));for(var _0x98b451=void 0x0===_0x249552?_0x52fabb['len']:_0x52fabb['pos']+_0x249552,_0x2973c3=new _0x297356['TrackChangesConnectResponse']();_0x52fabb['pos']<_0x98b451;){var _0x241218=_0x52fabb['uint32']();if(_0x241218===_0x3a6e14)break;switch(_0x241218>>>0x3){case 0x1:_0x2973c3['channel']=_0x52fabb['string']();break;case 0x2:_0x2973c3['suggestions']&&_0x2973c3['suggestions']['length']||(_0x2973c3['suggestions']=[]),_0x2973c3['suggestions']['push'](_0x52fabb['string']());break;case 0x3:_0x2973c3['suggestionsV2']&&_0x2973c3['suggestionsV2']['length']||(_0x2973c3['suggestionsV2']=[]),_0x2973c3['suggestionsV2']['push'](_0x297356['SuggestionDescriptor']['decode'](_0x52fabb,_0x52fabb['uint32']()));break;default:_0x52fabb['skipType'](0x7&_0x241218);}}return _0x2973c3;},_0xac7e40['decodeDelimited']=function(_0x110c6c){return _0x110c6c instanceof _0x185f42||(_0x110c6c=new _0x185f42(_0x110c6c)),this['decode'](_0x110c6c,_0x110c6c['uint32']());},_0xac7e40['verify']=function(_0x13c247){if('object'!=typeof _0x13c247||null===_0x13c247)return'object\x20expected';if(null!=_0x13c247['channel']&&_0x13c247['hasOwnProperty']('channel')&&!_0x43a1d8['isString'](_0x13c247['channel']))return'channel:\x20string\x20expected';if(null!=_0x13c247['suggestions']&&_0x13c247['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x13c247['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1f56e3=0x0;_0x1f56e3<_0x13c247['suggestions']['length'];++_0x1f56e3)if(!_0x43a1d8['isString'](_0x13c247['suggestions'][_0x1f56e3]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x13c247['suggestionsV2']&&_0x13c247['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x13c247['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1f56e3=0x0;_0x1f56e3<_0x13c247['suggestionsV2']['length'];++_0x1f56e3){var _0x579886=_0x297356['SuggestionDescriptor']['verify'](_0x13c247['suggestionsV2'][_0x1f56e3]);if(_0x579886)return'suggestionsV2.'+_0x579886;}}return null;},_0xac7e40['fromObject']=function(_0x32c19d){if(_0x32c19d instanceof _0x297356['TrackChangesConnectResponse'])return _0x32c19d;var _0x348037=new _0x297356['TrackChangesConnectResponse']();if(null!=_0x32c19d['channel']&&(_0x348037['channel']=String(_0x32c19d['channel'])),_0x32c19d['suggestions']){if(!Array['isArray'](_0x32c19d['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x348037['suggestions']=[];for(var _0x2841d1=0x0;_0x2841d1<_0x32c19d['suggestions']['length'];++_0x2841d1)_0x348037['suggestions'][_0x2841d1]=String(_0x32c19d['suggestions'][_0x2841d1]);}if(_0x32c19d['suggestionsV2']){if(!Array['isArray'](_0x32c19d['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x348037['suggestionsV2']=[],_0x2841d1=0x0;_0x2841d1<_0x32c19d['suggestionsV2']['length'];++_0x2841d1){if('object'!=typeof _0x32c19d['suggestionsV2'][_0x2841d1])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x348037['suggestionsV2'][_0x2841d1]=_0x297356['SuggestionDescriptor']['fromObject'](_0x32c19d['suggestionsV2'][_0x2841d1]);}}return _0x348037;},_0xac7e40['toObject']=function(_0x56b8af,_0x210bf9){_0x210bf9||(_0x210bf9={});var _0x39f3e9={};if((_0x210bf9['arrays']||_0x210bf9['defaults'])&&(_0x39f3e9['suggestions']=[],_0x39f3e9['suggestionsV2']=[]),_0x210bf9['defaults']&&(_0x39f3e9['channel']=''),null!=_0x56b8af['channel']&&_0x56b8af['hasOwnProperty']('channel')&&(_0x39f3e9['channel']=_0x56b8af['channel']),_0x56b8af['suggestions']&&_0x56b8af['suggestions']['length']){_0x39f3e9['suggestions']=[];for(var _0x23f4c7=0x0;_0x23f4c7<_0x56b8af['suggestions']['length'];++_0x23f4c7)_0x39f3e9['suggestions'][_0x23f4c7]=_0x56b8af['suggestions'][_0x23f4c7];}if(_0x56b8af['suggestionsV2']&&_0x56b8af['suggestionsV2']['length']){for(_0x39f3e9['suggestionsV2']=[],_0x23f4c7=0x0;_0x23f4c7<_0x56b8af['suggestionsV2']['length'];++_0x23f4c7)_0x39f3e9['suggestionsV2'][_0x23f4c7]=_0x297356['SuggestionDescriptor']['toObject'](_0x56b8af['suggestionsV2'][_0x23f4c7],_0x210bf9);}return _0x39f3e9;},_0xac7e40['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xac7e40['getTypeUrl']=function(_0x472c88){return void 0x0===_0x472c88&&(_0x472c88='type.googleapis.com'),_0x472c88+'/TrackChangesConnectResponse';},_0xac7e40;}()),_0x297356['TrackChangesAddSuggestionResponse']=(function(){function _0x589740(_0x558be5){if(_0x558be5){for(var _0x22656c=Object['keys'](_0x558be5),_0x295f9=0x0;_0x295f9<_0x22656c['length'];++_0x295f9)null!=_0x558be5[_0x22656c[_0x295f9]]&&(this[_0x22656c[_0x295f9]]=_0x558be5[_0x22656c[_0x295f9]]);}}return _0x589740['prototype']['id']='',_0x589740['prototype']['authorId']='',_0x589740['prototype']['type']='',_0x589740['prototype']['createdAt']='',_0x589740['prototype']['data']='',_0x589740['prototype']['hasComments']=!0x1,_0x589740['prototype']['state']='',_0x589740['prototype']['attributes']='',_0x589740['create']=function(_0x2ff36f){return new _0x589740(_0x2ff36f);},_0x589740['encode']=function(_0x578c2d,_0x4723b1){return _0x4723b1||(_0x4723b1=_0x102edc['create']()),null!=_0x578c2d['id']&&Object['hasOwnProperty']['call'](_0x578c2d,'id')&&_0x4723b1['uint32'](0xa)['string'](_0x578c2d['id']),null!=_0x578c2d['authorId']&&Object['hasOwnProperty']['call'](_0x578c2d,'authorId')&&_0x4723b1['uint32'](0x12)['string'](_0x578c2d['authorId']),null!=_0x578c2d['type']&&Object['hasOwnProperty']['call'](_0x578c2d,'type')&&_0x4723b1['uint32'](0x1a)['string'](_0x578c2d['type']),null!=_0x578c2d['createdAt']&&Object['hasOwnProperty']['call'](_0x578c2d,'createdAt')&&_0x4723b1['uint32'](0x22)['string'](_0x578c2d['createdAt']),null!=_0x578c2d['data']&&Object['hasOwnProperty']['call'](_0x578c2d,'data')&&_0x4723b1['uint32'](0x2a)['string'](_0x578c2d['data']),null!=_0x578c2d['hasComments']&&Object['hasOwnProperty']['call'](_0x578c2d,'hasComments')&&_0x4723b1['uint32'](0x30)['bool'](_0x578c2d['hasComments']),null!=_0x578c2d['state']&&Object['hasOwnProperty']['call'](_0x578c2d,'state')&&_0x4723b1['uint32'](0x3a)['string'](_0x578c2d['state']),null!=_0x578c2d['attributes']&&Object['hasOwnProperty']['call'](_0x578c2d,'attributes')&&_0x4723b1['uint32'](0x42)['string'](_0x578c2d['attributes']),_0x4723b1;},_0x589740['encodeDelimited']=function(_0x2bc130,_0x39d77b){return this['encode'](_0x2bc130,_0x39d77b)['ldelim']();},_0x589740['decode']=function(_0x275dfb,_0x3f0468,_0x6207e3){_0x275dfb instanceof _0x185f42||(_0x275dfb=_0x185f42['create'](_0x275dfb));for(var _0x5a14e6=void 0x0===_0x3f0468?_0x275dfb['len']:_0x275dfb['pos']+_0x3f0468,_0x3b22c8=new _0x297356['TrackChangesAddSuggestionResponse']();_0x275dfb['pos']<_0x5a14e6;){var _0x17970e=_0x275dfb['uint32']();if(_0x17970e===_0x6207e3)break;switch(_0x17970e>>>0x3){case 0x1:_0x3b22c8['id']=_0x275dfb['string']();break;case 0x2:_0x3b22c8['authorId']=_0x275dfb['string']();break;case 0x3:_0x3b22c8['type']=_0x275dfb['string']();break;case 0x4:_0x3b22c8['createdAt']=_0x275dfb['string']();break;case 0x5:_0x3b22c8['data']=_0x275dfb['string']();break;case 0x6:_0x3b22c8['hasComments']=_0x275dfb['bool']();break;case 0x7:_0x3b22c8['state']=_0x275dfb['string']();break;case 0x8:_0x3b22c8['attributes']=_0x275dfb['string']();break;default:_0x275dfb['skipType'](0x7&_0x17970e);}}return _0x3b22c8;},_0x589740['decodeDelimited']=function(_0x5002fb){return _0x5002fb instanceof _0x185f42||(_0x5002fb=new _0x185f42(_0x5002fb)),this['decode'](_0x5002fb,_0x5002fb['uint32']());},_0x589740['verify']=function(_0x52cdce){return'object'!=typeof _0x52cdce||null===_0x52cdce?'object\x20expected':null!=_0x52cdce['id']&&_0x52cdce['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x52cdce['id'])?'id:\x20string\x20expected':null!=_0x52cdce['authorId']&&_0x52cdce['hasOwnProperty']('authorId')&&!_0x43a1d8['isString'](_0x52cdce['authorId'])?'authorId:\x20string\x20expected':null!=_0x52cdce['type']&&_0x52cdce['hasOwnProperty']('type')&&!_0x43a1d8['isString'](_0x52cdce['type'])?'type:\x20string\x20expected':null!=_0x52cdce['createdAt']&&_0x52cdce['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x52cdce['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x52cdce['data']&&_0x52cdce['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x52cdce['data'])?'data:\x20string\x20expected':null!=_0x52cdce['hasComments']&&_0x52cdce['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x52cdce['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x52cdce['state']&&_0x52cdce['hasOwnProperty']('state')&&!_0x43a1d8['isString'](_0x52cdce['state'])?'state:\x20string\x20expected':null!=_0x52cdce['attributes']&&_0x52cdce['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x52cdce['attributes'])?'attributes:\x20string\x20expected':null;},_0x589740['fromObject']=function(_0x3e80b8){if(_0x3e80b8 instanceof _0x297356['TrackChangesAddSuggestionResponse'])return _0x3e80b8;var _0x13d137=new _0x297356['TrackChangesAddSuggestionResponse']();return null!=_0x3e80b8['id']&&(_0x13d137['id']=String(_0x3e80b8['id'])),null!=_0x3e80b8['authorId']&&(_0x13d137['authorId']=String(_0x3e80b8['authorId'])),null!=_0x3e80b8['type']&&(_0x13d137['type']=String(_0x3e80b8['type'])),null!=_0x3e80b8['createdAt']&&(_0x13d137['createdAt']=String(_0x3e80b8['createdAt'])),null!=_0x3e80b8['data']&&(_0x13d137['data']=String(_0x3e80b8['data'])),null!=_0x3e80b8['hasComments']&&(_0x13d137['hasComments']=Boolean(_0x3e80b8['hasComments'])),null!=_0x3e80b8['state']&&(_0x13d137['state']=String(_0x3e80b8['state'])),null!=_0x3e80b8['attributes']&&(_0x13d137['attributes']=String(_0x3e80b8['attributes'])),_0x13d137;},_0x589740['toObject']=function(_0x5603c3,_0x54c5ce){_0x54c5ce||(_0x54c5ce={});var _0x390a16={};return _0x54c5ce['defaults']&&(_0x390a16['id']='',_0x390a16['authorId']='',_0x390a16['type']='',_0x390a16['createdAt']='',_0x390a16['data']='',_0x390a16['hasComments']=!0x1,_0x390a16['state']='',_0x390a16['attributes']=''),null!=_0x5603c3['id']&&_0x5603c3['hasOwnProperty']('id')&&(_0x390a16['id']=_0x5603c3['id']),null!=_0x5603c3['authorId']&&_0x5603c3['hasOwnProperty']('authorId')&&(_0x390a16['authorId']=_0x5603c3['authorId']),null!=_0x5603c3['type']&&_0x5603c3['hasOwnProperty']('type')&&(_0x390a16['type']=_0x5603c3['type']),null!=_0x5603c3['createdAt']&&_0x5603c3['hasOwnProperty']('createdAt')&&(_0x390a16['createdAt']=_0x5603c3['createdAt']),null!=_0x5603c3['data']&&_0x5603c3['hasOwnProperty']('data')&&(_0x390a16['data']=_0x5603c3['data']),null!=_0x5603c3['hasComments']&&_0x5603c3['hasOwnProperty']('hasComments')&&(_0x390a16['hasComments']=_0x5603c3['hasComments']),null!=_0x5603c3['state']&&_0x5603c3['hasOwnProperty']('state')&&(_0x390a16['state']=_0x5603c3['state']),null!=_0x5603c3['attributes']&&_0x5603c3['hasOwnProperty']('attributes')&&(_0x390a16['attributes']=_0x5603c3['attributes']),_0x390a16;},_0x589740['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x589740['getTypeUrl']=function(_0xe71d1b){return void 0x0===_0xe71d1b&&(_0xe71d1b='type.googleapis.com'),_0xe71d1b+'/TrackChangesAddSuggestionResponse';},_0x589740;}()),_0x297356['TrackChangesUpdateSuggestionMessage']=(function(){function _0xe1817c(_0x278cc0){if(_0x278cc0){for(var _0x399724=Object['keys'](_0x278cc0),_0x32eeaf=0x0;_0x32eeaf<_0x399724['length'];++_0x32eeaf)null!=_0x278cc0[_0x399724[_0x32eeaf]]&&(this[_0x399724[_0x32eeaf]]=_0x278cc0[_0x399724[_0x32eeaf]]);}}return _0xe1817c['prototype']['id']='',_0xe1817c['prototype']['documentId']='',_0xe1817c['prototype']['hasComments']=!0x1,_0xe1817c['prototype']['isHasCommentsModified']=!0x1,_0xe1817c['prototype']['state']='',_0xe1817c['prototype']['attributes']='',_0xe1817c['create']=function(_0x3c6247){return new _0xe1817c(_0x3c6247);},_0xe1817c['encode']=function(_0x56a088,_0x3f677a){return _0x3f677a||(_0x3f677a=_0x102edc['create']()),null!=_0x56a088['id']&&Object['hasOwnProperty']['call'](_0x56a088,'id')&&_0x3f677a['uint32'](0xa)['string'](_0x56a088['id']),null!=_0x56a088['documentId']&&Object['hasOwnProperty']['call'](_0x56a088,'documentId')&&_0x3f677a['uint32'](0x12)['string'](_0x56a088['documentId']),null!=_0x56a088['hasComments']&&Object['hasOwnProperty']['call'](_0x56a088,'hasComments')&&_0x3f677a['uint32'](0x18)['bool'](_0x56a088['hasComments']),null!=_0x56a088['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x56a088,'isHasCommentsModified')&&_0x3f677a['uint32'](0x20)['bool'](_0x56a088['isHasCommentsModified']),null!=_0x56a088['state']&&Object['hasOwnProperty']['call'](_0x56a088,'state')&&_0x3f677a['uint32'](0x2a)['string'](_0x56a088['state']),null!=_0x56a088['attributes']&&Object['hasOwnProperty']['call'](_0x56a088,'attributes')&&_0x3f677a['uint32'](0x32)['string'](_0x56a088['attributes']),_0x3f677a;},_0xe1817c['encodeDelimited']=function(_0x398fe3,_0x5abbe7){return this['encode'](_0x398fe3,_0x5abbe7)['ldelim']();},_0xe1817c['decode']=function(_0x32e87e,_0x17123f,_0xed441a){_0x32e87e instanceof _0x185f42||(_0x32e87e=_0x185f42['create'](_0x32e87e));for(var _0x2370e4=void 0x0===_0x17123f?_0x32e87e['len']:_0x32e87e['pos']+_0x17123f,_0x91c8a5=new _0x297356['TrackChangesUpdateSuggestionMessage']();_0x32e87e['pos']<_0x2370e4;){var _0x543a83=_0x32e87e['uint32']();if(_0x543a83===_0xed441a)break;switch(_0x543a83>>>0x3){case 0x1:_0x91c8a5['id']=_0x32e87e['string']();break;case 0x2:_0x91c8a5['documentId']=_0x32e87e['string']();break;case 0x3:_0x91c8a5['hasComments']=_0x32e87e['bool']();break;case 0x4:_0x91c8a5['isHasCommentsModified']=_0x32e87e['bool']();break;case 0x5:_0x91c8a5['state']=_0x32e87e['string']();break;case 0x6:_0x91c8a5['attributes']=_0x32e87e['string']();break;default:_0x32e87e['skipType'](0x7&_0x543a83);}}return _0x91c8a5;},_0xe1817c['decodeDelimited']=function(_0x59d0a6){return _0x59d0a6 instanceof _0x185f42||(_0x59d0a6=new _0x185f42(_0x59d0a6)),this['decode'](_0x59d0a6,_0x59d0a6['uint32']());},_0xe1817c['verify']=function(_0x2c808c){return'object'!=typeof _0x2c808c||null===_0x2c808c?'object\x20expected':null!=_0x2c808c['id']&&_0x2c808c['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x2c808c['id'])?'id:\x20string\x20expected':null!=_0x2c808c['documentId']&&_0x2c808c['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x2c808c['documentId'])?'documentId:\x20string\x20expected':null!=_0x2c808c['hasComments']&&_0x2c808c['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2c808c['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2c808c['isHasCommentsModified']&&_0x2c808c['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x2c808c['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x2c808c['state']&&_0x2c808c['hasOwnProperty']('state')&&!_0x43a1d8['isString'](_0x2c808c['state'])?'state:\x20string\x20expected':null!=_0x2c808c['attributes']&&_0x2c808c['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x2c808c['attributes'])?'attributes:\x20string\x20expected':null;},_0xe1817c['fromObject']=function(_0x30c22e){if(_0x30c22e instanceof _0x297356['TrackChangesUpdateSuggestionMessage'])return _0x30c22e;var _0x3cf23a=new _0x297356['TrackChangesUpdateSuggestionMessage']();return null!=_0x30c22e['id']&&(_0x3cf23a['id']=String(_0x30c22e['id'])),null!=_0x30c22e['documentId']&&(_0x3cf23a['documentId']=String(_0x30c22e['documentId'])),null!=_0x30c22e['hasComments']&&(_0x3cf23a['hasComments']=Boolean(_0x30c22e['hasComments'])),null!=_0x30c22e['isHasCommentsModified']&&(_0x3cf23a['isHasCommentsModified']=Boolean(_0x30c22e['isHasCommentsModified'])),null!=_0x30c22e['state']&&(_0x3cf23a['state']=String(_0x30c22e['state'])),null!=_0x30c22e['attributes']&&(_0x3cf23a['attributes']=String(_0x30c22e['attributes'])),_0x3cf23a;},_0xe1817c['toObject']=function(_0x45d1d7,_0xdce6bb){_0xdce6bb||(_0xdce6bb={});var _0x198f7f={};return _0xdce6bb['defaults']&&(_0x198f7f['id']='',_0x198f7f['documentId']='',_0x198f7f['hasComments']=!0x1,_0x198f7f['isHasCommentsModified']=!0x1,_0x198f7f['state']='',_0x198f7f['attributes']=''),null!=_0x45d1d7['id']&&_0x45d1d7['hasOwnProperty']('id')&&(_0x198f7f['id']=_0x45d1d7['id']),null!=_0x45d1d7['documentId']&&_0x45d1d7['hasOwnProperty']('documentId')&&(_0x198f7f['documentId']=_0x45d1d7['documentId']),null!=_0x45d1d7['hasComments']&&_0x45d1d7['hasOwnProperty']('hasComments')&&(_0x198f7f['hasComments']=_0x45d1d7['hasComments']),null!=_0x45d1d7['isHasCommentsModified']&&_0x45d1d7['hasOwnProperty']('isHasCommentsModified')&&(_0x198f7f['isHasCommentsModified']=_0x45d1d7['isHasCommentsModified']),null!=_0x45d1d7['state']&&_0x45d1d7['hasOwnProperty']('state')&&(_0x198f7f['state']=_0x45d1d7['state']),null!=_0x45d1d7['attributes']&&_0x45d1d7['hasOwnProperty']('attributes')&&(_0x198f7f['attributes']=_0x45d1d7['attributes']),_0x198f7f;},_0xe1817c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xe1817c['getTypeUrl']=function(_0x56d401){return void 0x0===_0x56d401&&(_0x56d401='type.googleapis.com'),_0x56d401+'/TrackChangesUpdateSuggestionMessage';},_0xe1817c;}()),_0x297356['TrackChangesGetSuggestionMessage']=(function(){function _0x2cc15c(_0x5f0b6c){if(_0x5f0b6c){for(var _0x2cf594=Object['keys'](_0x5f0b6c),_0x3275dd=0x0;_0x3275dd<_0x2cf594['length'];++_0x3275dd)null!=_0x5f0b6c[_0x2cf594[_0x3275dd]]&&(this[_0x2cf594[_0x3275dd]]=_0x5f0b6c[_0x2cf594[_0x3275dd]]);}}return _0x2cc15c['prototype']['id']='',_0x2cc15c['prototype']['documentId']='',_0x2cc15c['create']=function(_0x14406a){return new _0x2cc15c(_0x14406a);},_0x2cc15c['encode']=function(_0x39f883,_0x4c8ce1){return _0x4c8ce1||(_0x4c8ce1=_0x102edc['create']()),null!=_0x39f883['id']&&Object['hasOwnProperty']['call'](_0x39f883,'id')&&_0x4c8ce1['uint32'](0xa)['string'](_0x39f883['id']),null!=_0x39f883['documentId']&&Object['hasOwnProperty']['call'](_0x39f883,'documentId')&&_0x4c8ce1['uint32'](0x12)['string'](_0x39f883['documentId']),_0x4c8ce1;},_0x2cc15c['encodeDelimited']=function(_0xa19fc3,_0x4cb357){return this['encode'](_0xa19fc3,_0x4cb357)['ldelim']();},_0x2cc15c['decode']=function(_0x56bcd7,_0x44733f,_0xc6ef92){_0x56bcd7 instanceof _0x185f42||(_0x56bcd7=_0x185f42['create'](_0x56bcd7));for(var _0x1f5114=void 0x0===_0x44733f?_0x56bcd7['len']:_0x56bcd7['pos']+_0x44733f,_0x46b62e=new _0x297356['TrackChangesGetSuggestionMessage']();_0x56bcd7['pos']<_0x1f5114;){var _0x3224a7=_0x56bcd7['uint32']();if(_0x3224a7===_0xc6ef92)break;switch(_0x3224a7>>>0x3){case 0x1:_0x46b62e['id']=_0x56bcd7['string']();break;case 0x2:_0x46b62e['documentId']=_0x56bcd7['string']();break;default:_0x56bcd7['skipType'](0x7&_0x3224a7);}}return _0x46b62e;},_0x2cc15c['decodeDelimited']=function(_0x10c803){return _0x10c803 instanceof _0x185f42||(_0x10c803=new _0x185f42(_0x10c803)),this['decode'](_0x10c803,_0x10c803['uint32']());},_0x2cc15c['verify']=function(_0x52da21){return'object'!=typeof _0x52da21||null===_0x52da21?'object\x20expected':null!=_0x52da21['id']&&_0x52da21['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x52da21['id'])?'id:\x20string\x20expected':null!=_0x52da21['documentId']&&_0x52da21['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x52da21['documentId'])?'documentId:\x20string\x20expected':null;},_0x2cc15c['fromObject']=function(_0x3f1333){if(_0x3f1333 instanceof _0x297356['TrackChangesGetSuggestionMessage'])return _0x3f1333;var _0x5b4d7e=new _0x297356['TrackChangesGetSuggestionMessage']();return null!=_0x3f1333['id']&&(_0x5b4d7e['id']=String(_0x3f1333['id'])),null!=_0x3f1333['documentId']&&(_0x5b4d7e['documentId']=String(_0x3f1333['documentId'])),_0x5b4d7e;},_0x2cc15c['toObject']=function(_0x3a515a,_0x573231){_0x573231||(_0x573231={});var _0x404b17={};return _0x573231['defaults']&&(_0x404b17['id']='',_0x404b17['documentId']=''),null!=_0x3a515a['id']&&_0x3a515a['hasOwnProperty']('id')&&(_0x404b17['id']=_0x3a515a['id']),null!=_0x3a515a['documentId']&&_0x3a515a['hasOwnProperty']('documentId')&&(_0x404b17['documentId']=_0x3a515a['documentId']),_0x404b17;},_0x2cc15c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2cc15c['getTypeUrl']=function(_0x50c788){return void 0x0===_0x50c788&&(_0x50c788='type.googleapis.com'),_0x50c788+'/TrackChangesGetSuggestionMessage';},_0x2cc15c;}()),_0x297356['TrackChangesGetAllSuggestionMessage']=(function(){function _0x2a0b14(_0x27492e){if(_0x27492e){for(var _0x142c4c=Object['keys'](_0x27492e),_0x3f9561=0x0;_0x3f9561<_0x142c4c['length'];++_0x3f9561)null!=_0x27492e[_0x142c4c[_0x3f9561]]&&(this[_0x142c4c[_0x3f9561]]=_0x27492e[_0x142c4c[_0x3f9561]]);}}return _0x2a0b14['prototype']['documentId']='',_0x2a0b14['create']=function(_0xf87cc4){return new _0x2a0b14(_0xf87cc4);},_0x2a0b14['encode']=function(_0x2792d0,_0x21d968){return _0x21d968||(_0x21d968=_0x102edc['create']()),null!=_0x2792d0['documentId']&&Object['hasOwnProperty']['call'](_0x2792d0,'documentId')&&_0x21d968['uint32'](0xa)['string'](_0x2792d0['documentId']),_0x21d968;},_0x2a0b14['encodeDelimited']=function(_0x2dd8f1,_0x6c5480){return this['encode'](_0x2dd8f1,_0x6c5480)['ldelim']();},_0x2a0b14['decode']=function(_0x20d24e,_0x31429e,_0x4cb6c7){_0x20d24e instanceof _0x185f42||(_0x20d24e=_0x185f42['create'](_0x20d24e));for(var _0x1fa6ed=void 0x0===_0x31429e?_0x20d24e['len']:_0x20d24e['pos']+_0x31429e,_0x4ccdaf=new _0x297356['TrackChangesGetAllSuggestionMessage']();_0x20d24e['pos']<_0x1fa6ed;){var _0x5c3c2f=_0x20d24e['uint32']();if(_0x5c3c2f===_0x4cb6c7)break;_0x5c3c2f>>>0x3==0x1?_0x4ccdaf['documentId']=_0x20d24e['string']():_0x20d24e['skipType'](0x7&_0x5c3c2f);}return _0x4ccdaf;},_0x2a0b14['decodeDelimited']=function(_0x5cc26c){return _0x5cc26c instanceof _0x185f42||(_0x5cc26c=new _0x185f42(_0x5cc26c)),this['decode'](_0x5cc26c,_0x5cc26c['uint32']());},_0x2a0b14['verify']=function(_0x39ffcd){return'object'!=typeof _0x39ffcd||null===_0x39ffcd?'object\x20expected':null!=_0x39ffcd['documentId']&&_0x39ffcd['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x39ffcd['documentId'])?'documentId:\x20string\x20expected':null;},_0x2a0b14['fromObject']=function(_0x497253){if(_0x497253 instanceof _0x297356['TrackChangesGetAllSuggestionMessage'])return _0x497253;var _0x283f84=new _0x297356['TrackChangesGetAllSuggestionMessage']();return null!=_0x497253['documentId']&&(_0x283f84['documentId']=String(_0x497253['documentId'])),_0x283f84;},_0x2a0b14['toObject']=function(_0x124427,_0xd25e4e){_0xd25e4e||(_0xd25e4e={});var _0x509cec={};return _0xd25e4e['defaults']&&(_0x509cec['documentId']=''),null!=_0x124427['documentId']&&_0x124427['hasOwnProperty']('documentId')&&(_0x509cec['documentId']=_0x124427['documentId']),_0x509cec;},_0x2a0b14['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2a0b14['getTypeUrl']=function(_0x55dc5e){return void 0x0===_0x55dc5e&&(_0x55dc5e='type.googleapis.com'),_0x55dc5e+'/TrackChangesGetAllSuggestionMessage';},_0x2a0b14;}()),_0x297356['TrackChangesConnectMessage']=(function(){function _0x62b846(_0x84c871){if(_0x84c871){for(var _0x1999cd=Object['keys'](_0x84c871),_0x56f4e7=0x0;_0x56f4e7<_0x1999cd['length'];++_0x56f4e7)null!=_0x84c871[_0x1999cd[_0x56f4e7]]&&(this[_0x1999cd[_0x56f4e7]]=_0x84c871[_0x1999cd[_0x56f4e7]]);}}return _0x62b846['prototype']['documentId']='',_0x62b846['create']=function(_0x56f041){return new _0x62b846(_0x56f041);},_0x62b846['encode']=function(_0x10df8d,_0x85ede4){return _0x85ede4||(_0x85ede4=_0x102edc['create']()),null!=_0x10df8d['documentId']&&Object['hasOwnProperty']['call'](_0x10df8d,'documentId')&&_0x85ede4['uint32'](0xa)['string'](_0x10df8d['documentId']),_0x85ede4;},_0x62b846['encodeDelimited']=function(_0x356156,_0xdb2c86){return this['encode'](_0x356156,_0xdb2c86)['ldelim']();},_0x62b846['decode']=function(_0x3ee993,_0x89a9f3,_0x1ed753){_0x3ee993 instanceof _0x185f42||(_0x3ee993=_0x185f42['create'](_0x3ee993));for(var _0x5550c1=void 0x0===_0x89a9f3?_0x3ee993['len']:_0x3ee993['pos']+_0x89a9f3,_0x529d7c=new _0x297356['TrackChangesConnectMessage']();_0x3ee993['pos']<_0x5550c1;){var _0xb616ca=_0x3ee993['uint32']();if(_0xb616ca===_0x1ed753)break;_0xb616ca>>>0x3==0x1?_0x529d7c['documentId']=_0x3ee993['string']():_0x3ee993['skipType'](0x7&_0xb616ca);}return _0x529d7c;},_0x62b846['decodeDelimited']=function(_0x189bc3){return _0x189bc3 instanceof _0x185f42||(_0x189bc3=new _0x185f42(_0x189bc3)),this['decode'](_0x189bc3,_0x189bc3['uint32']());},_0x62b846['verify']=function(_0x81c733){return'object'!=typeof _0x81c733||null===_0x81c733?'object\x20expected':null!=_0x81c733['documentId']&&_0x81c733['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x81c733['documentId'])?'documentId:\x20string\x20expected':null;},_0x62b846['fromObject']=function(_0x629ad9){if(_0x629ad9 instanceof _0x297356['TrackChangesConnectMessage'])return _0x629ad9;var _0x874f18=new _0x297356['TrackChangesConnectMessage']();return null!=_0x629ad9['documentId']&&(_0x874f18['documentId']=String(_0x629ad9['documentId'])),_0x874f18;},_0x62b846['toObject']=function(_0x38cea0,_0x46ba12){_0x46ba12||(_0x46ba12={});var _0x33683f={};return _0x46ba12['defaults']&&(_0x33683f['documentId']=''),null!=_0x38cea0['documentId']&&_0x38cea0['hasOwnProperty']('documentId')&&(_0x33683f['documentId']=_0x38cea0['documentId']),_0x33683f;},_0x62b846['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x62b846['getTypeUrl']=function(_0x72dbb7){return void 0x0===_0x72dbb7&&(_0x72dbb7='type.googleapis.com'),_0x72dbb7+'/TrackChangesConnectMessage';},_0x62b846;}()),_0x297356['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x45cdbc(_0x1ea89b){if(this['ids']=[],_0x1ea89b){for(var _0x16fc41=Object['keys'](_0x1ea89b),_0x19ab93=0x0;_0x19ab93<_0x16fc41['length'];++_0x19ab93)null!=_0x1ea89b[_0x16fc41[_0x19ab93]]&&(this[_0x16fc41[_0x19ab93]]=_0x1ea89b[_0x16fc41[_0x19ab93]]);}}return _0x45cdbc['prototype']['ids']=_0x43a1d8['emptyArray'],_0x45cdbc['prototype']['documentId']='',_0x45cdbc['prototype']['state']='',_0x45cdbc['create']=function(_0x1d040e){return new _0x45cdbc(_0x1d040e);},_0x45cdbc['encode']=function(_0x3e4cb6,_0x1ab90){if(_0x1ab90||(_0x1ab90=_0x102edc['create']()),null!=_0x3e4cb6['ids']&&_0x3e4cb6['ids']['length']){for(var _0x592455=0x0;_0x592455<_0x3e4cb6['ids']['length'];++_0x592455)_0x1ab90['uint32'](0xa)['string'](_0x3e4cb6['ids'][_0x592455]);}return null!=_0x3e4cb6['documentId']&&Object['hasOwnProperty']['call'](_0x3e4cb6,'documentId')&&_0x1ab90['uint32'](0x12)['string'](_0x3e4cb6['documentId']),null!=_0x3e4cb6['state']&&Object['hasOwnProperty']['call'](_0x3e4cb6,'state')&&_0x1ab90['uint32'](0x1a)['string'](_0x3e4cb6['state']),_0x1ab90;},_0x45cdbc['encodeDelimited']=function(_0x263e2b,_0x3fd458){return this['encode'](_0x263e2b,_0x3fd458)['ldelim']();},_0x45cdbc['decode']=function(_0x4d6059,_0x3cb8ea,_0x3ec178){_0x4d6059 instanceof _0x185f42||(_0x4d6059=_0x185f42['create'](_0x4d6059));for(var _0x521348=void 0x0===_0x3cb8ea?_0x4d6059['len']:_0x4d6059['pos']+_0x3cb8ea,_0x2ee1b0=new _0x297356['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x4d6059['pos']<_0x521348;){var _0x85f11f=_0x4d6059['uint32']();if(_0x85f11f===_0x3ec178)break;switch(_0x85f11f>>>0x3){case 0x1:_0x2ee1b0['ids']&&_0x2ee1b0['ids']['length']||(_0x2ee1b0['ids']=[]),_0x2ee1b0['ids']['push'](_0x4d6059['string']());break;case 0x2:_0x2ee1b0['documentId']=_0x4d6059['string']();break;case 0x3:_0x2ee1b0['state']=_0x4d6059['string']();break;default:_0x4d6059['skipType'](0x7&_0x85f11f);}}return _0x2ee1b0;},_0x45cdbc['decodeDelimited']=function(_0x128481){return _0x128481 instanceof _0x185f42||(_0x128481=new _0x185f42(_0x128481)),this['decode'](_0x128481,_0x128481['uint32']());},_0x45cdbc['verify']=function(_0x17a128){if('object'!=typeof _0x17a128||null===_0x17a128)return'object\x20expected';if(null!=_0x17a128['ids']&&_0x17a128['hasOwnProperty']('ids')){if(!Array['isArray'](_0x17a128['ids']))return'ids:\x20array\x20expected';for(var _0x394ecd=0x0;_0x394ecd<_0x17a128['ids']['length'];++_0x394ecd)if(!_0x43a1d8['isString'](_0x17a128['ids'][_0x394ecd]))return'ids:\x20string[]\x20expected';}return null!=_0x17a128['documentId']&&_0x17a128['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x17a128['documentId'])?'documentId:\x20string\x20expected':null!=_0x17a128['state']&&_0x17a128['hasOwnProperty']('state')&&!_0x43a1d8['isString'](_0x17a128['state'])?'state:\x20string\x20expected':null;},_0x45cdbc['fromObject']=function(_0x18b1a9){if(_0x18b1a9 instanceof _0x297356['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x18b1a9;var _0x9589bf=new _0x297356['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x18b1a9['ids']){if(!Array['isArray'](_0x18b1a9['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x9589bf['ids']=[];for(var _0x2f42c1=0x0;_0x2f42c1<_0x18b1a9['ids']['length'];++_0x2f42c1)_0x9589bf['ids'][_0x2f42c1]=String(_0x18b1a9['ids'][_0x2f42c1]);}return null!=_0x18b1a9['documentId']&&(_0x9589bf['documentId']=String(_0x18b1a9['documentId'])),null!=_0x18b1a9['state']&&(_0x9589bf['state']=String(_0x18b1a9['state'])),_0x9589bf;},_0x45cdbc['toObject']=function(_0x3792a2,_0x99659d){_0x99659d||(_0x99659d={});var _0xef0255={};if((_0x99659d['arrays']||_0x99659d['defaults'])&&(_0xef0255['ids']=[]),_0x99659d['defaults']&&(_0xef0255['documentId']='',_0xef0255['state']=''),_0x3792a2['ids']&&_0x3792a2['ids']['length']){_0xef0255['ids']=[];for(var _0x440c5c=0x0;_0x440c5c<_0x3792a2['ids']['length'];++_0x440c5c)_0xef0255['ids'][_0x440c5c]=_0x3792a2['ids'][_0x440c5c];}return null!=_0x3792a2['documentId']&&_0x3792a2['hasOwnProperty']('documentId')&&(_0xef0255['documentId']=_0x3792a2['documentId']),null!=_0x3792a2['state']&&_0x3792a2['hasOwnProperty']('state')&&(_0xef0255['state']=_0x3792a2['state']),_0xef0255;},_0x45cdbc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x45cdbc['getTypeUrl']=function(_0xcfd200){return void 0x0===_0xcfd200&&(_0xcfd200='type.googleapis.com'),_0xcfd200+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x45cdbc;}()),_0x297356['TrackChangesAddSuggestionMessage']=(function(){function _0x19a942(_0x419296){if(_0x419296){for(var _0x4618cd=Object['keys'](_0x419296),_0xb600ea=0x0;_0xb600ea<_0x4618cd['length'];++_0xb600ea)null!=_0x419296[_0x4618cd[_0xb600ea]]&&(this[_0x4618cd[_0xb600ea]]=_0x419296[_0x4618cd[_0xb600ea]]);}}return _0x19a942['prototype']['id']='',_0x19a942['prototype']['documentId']='',_0x19a942['prototype']['type']='',_0x19a942['prototype']['data']='',_0x19a942['prototype']['originalSuggestionId']='',_0x19a942['prototype']['attributes']='',_0x19a942['create']=function(_0x26b032){return new _0x19a942(_0x26b032);},_0x19a942['encode']=function(_0x208b9b,_0x46a5cc){return _0x46a5cc||(_0x46a5cc=_0x102edc['create']()),null!=_0x208b9b['id']&&Object['hasOwnProperty']['call'](_0x208b9b,'id')&&_0x46a5cc['uint32'](0xa)['string'](_0x208b9b['id']),null!=_0x208b9b['documentId']&&Object['hasOwnProperty']['call'](_0x208b9b,'documentId')&&_0x46a5cc['uint32'](0x12)['string'](_0x208b9b['documentId']),null!=_0x208b9b['type']&&Object['hasOwnProperty']['call'](_0x208b9b,'type')&&_0x46a5cc['uint32'](0x1a)['string'](_0x208b9b['type']),null!=_0x208b9b['data']&&Object['hasOwnProperty']['call'](_0x208b9b,'data')&&_0x46a5cc['uint32'](0x22)['string'](_0x208b9b['data']),null!=_0x208b9b['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x208b9b,'originalSuggestionId')&&_0x46a5cc['uint32'](0x2a)['string'](_0x208b9b['originalSuggestionId']),null!=_0x208b9b['attributes']&&Object['hasOwnProperty']['call'](_0x208b9b,'attributes')&&_0x46a5cc['uint32'](0x32)['string'](_0x208b9b['attributes']),_0x46a5cc;},_0x19a942['encodeDelimited']=function(_0x2d8d1c,_0x62fcd4){return this['encode'](_0x2d8d1c,_0x62fcd4)['ldelim']();},_0x19a942['decode']=function(_0x181f18,_0x16f0d0,_0x56e598){_0x181f18 instanceof _0x185f42||(_0x181f18=_0x185f42['create'](_0x181f18));for(var _0x2b5bf9=void 0x0===_0x16f0d0?_0x181f18['len']:_0x181f18['pos']+_0x16f0d0,_0x417fd0=new _0x297356['TrackChangesAddSuggestionMessage']();_0x181f18['pos']<_0x2b5bf9;){var _0x416328=_0x181f18['uint32']();if(_0x416328===_0x56e598)break;switch(_0x416328>>>0x3){case 0x1:_0x417fd0['id']=_0x181f18['string']();break;case 0x2:_0x417fd0['documentId']=_0x181f18['string']();break;case 0x3:_0x417fd0['type']=_0x181f18['string']();break;case 0x4:_0x417fd0['data']=_0x181f18['string']();break;case 0x5:_0x417fd0['originalSuggestionId']=_0x181f18['string']();break;case 0x6:_0x417fd0['attributes']=_0x181f18['string']();break;default:_0x181f18['skipType'](0x7&_0x416328);}}return _0x417fd0;},_0x19a942['decodeDelimited']=function(_0x19b140){return _0x19b140 instanceof _0x185f42||(_0x19b140=new _0x185f42(_0x19b140)),this['decode'](_0x19b140,_0x19b140['uint32']());},_0x19a942['verify']=function(_0x590b9b){return'object'!=typeof _0x590b9b||null===_0x590b9b?'object\x20expected':null!=_0x590b9b['id']&&_0x590b9b['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x590b9b['id'])?'id:\x20string\x20expected':null!=_0x590b9b['documentId']&&_0x590b9b['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x590b9b['documentId'])?'documentId:\x20string\x20expected':null!=_0x590b9b['type']&&_0x590b9b['hasOwnProperty']('type')&&!_0x43a1d8['isString'](_0x590b9b['type'])?'type:\x20string\x20expected':null!=_0x590b9b['data']&&_0x590b9b['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x590b9b['data'])?'data:\x20string\x20expected':null!=_0x590b9b['originalSuggestionId']&&_0x590b9b['hasOwnProperty']('originalSuggestionId')&&!_0x43a1d8['isString'](_0x590b9b['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x590b9b['attributes']&&_0x590b9b['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x590b9b['attributes'])?'attributes:\x20string\x20expected':null;},_0x19a942['fromObject']=function(_0x4ee678){if(_0x4ee678 instanceof _0x297356['TrackChangesAddSuggestionMessage'])return _0x4ee678;var _0xa5fb3f=new _0x297356['TrackChangesAddSuggestionMessage']();return null!=_0x4ee678['id']&&(_0xa5fb3f['id']=String(_0x4ee678['id'])),null!=_0x4ee678['documentId']&&(_0xa5fb3f['documentId']=String(_0x4ee678['documentId'])),null!=_0x4ee678['type']&&(_0xa5fb3f['type']=String(_0x4ee678['type'])),null!=_0x4ee678['data']&&(_0xa5fb3f['data']=String(_0x4ee678['data'])),null!=_0x4ee678['originalSuggestionId']&&(_0xa5fb3f['originalSuggestionId']=String(_0x4ee678['originalSuggestionId'])),null!=_0x4ee678['attributes']&&(_0xa5fb3f['attributes']=String(_0x4ee678['attributes'])),_0xa5fb3f;},_0x19a942['toObject']=function(_0x48a21,_0x3d8de9){_0x3d8de9||(_0x3d8de9={});var _0x5e58e2={};return _0x3d8de9['defaults']&&(_0x5e58e2['id']='',_0x5e58e2['documentId']='',_0x5e58e2['type']='',_0x5e58e2['data']='',_0x5e58e2['originalSuggestionId']='',_0x5e58e2['attributes']=''),null!=_0x48a21['id']&&_0x48a21['hasOwnProperty']('id')&&(_0x5e58e2['id']=_0x48a21['id']),null!=_0x48a21['documentId']&&_0x48a21['hasOwnProperty']('documentId')&&(_0x5e58e2['documentId']=_0x48a21['documentId']),null!=_0x48a21['type']&&_0x48a21['hasOwnProperty']('type')&&(_0x5e58e2['type']=_0x48a21['type']),null!=_0x48a21['data']&&_0x48a21['hasOwnProperty']('data')&&(_0x5e58e2['data']=_0x48a21['data']),null!=_0x48a21['originalSuggestionId']&&_0x48a21['hasOwnProperty']('originalSuggestionId')&&(_0x5e58e2['originalSuggestionId']=_0x48a21['originalSuggestionId']),null!=_0x48a21['attributes']&&_0x48a21['hasOwnProperty']('attributes')&&(_0x5e58e2['attributes']=_0x48a21['attributes']),_0x5e58e2;},_0x19a942['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x19a942['getTypeUrl']=function(_0x1d65f3){return void 0x0===_0x1d65f3&&(_0x1d65f3='type.googleapis.com'),_0x1d65f3+'/TrackChangesAddSuggestionMessage';},_0x19a942;}()),_0x297356['SuggestionDescriptor']=(function(){function _0xa33ec3(_0x40b64d){if(_0x40b64d){for(var _0x41fc6c=Object['keys'](_0x40b64d),_0x88c0cb=0x0;_0x88c0cb<_0x41fc6c['length'];++_0x88c0cb)null!=_0x40b64d[_0x41fc6c[_0x88c0cb]]&&(this[_0x41fc6c[_0x88c0cb]]=_0x40b64d[_0x41fc6c[_0x88c0cb]]);}}return _0xa33ec3['prototype']['id']='',_0xa33ec3['prototype']['authorId']='',_0xa33ec3['prototype']['type']='',_0xa33ec3['prototype']['createdAt']='',_0xa33ec3['prototype']['data']='',_0xa33ec3['prototype']['hasComments']=!0x1,_0xa33ec3['prototype']['state']='',_0xa33ec3['prototype']['attributes']='',_0xa33ec3['create']=function(_0x464369){return new _0xa33ec3(_0x464369);},_0xa33ec3['encode']=function(_0x5bbbb2,_0x1f87aa){return _0x1f87aa||(_0x1f87aa=_0x102edc['create']()),null!=_0x5bbbb2['id']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'id')&&_0x1f87aa['uint32'](0xa)['string'](_0x5bbbb2['id']),null!=_0x5bbbb2['authorId']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'authorId')&&_0x1f87aa['uint32'](0x12)['string'](_0x5bbbb2['authorId']),null!=_0x5bbbb2['type']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'type')&&_0x1f87aa['uint32'](0x1a)['string'](_0x5bbbb2['type']),null!=_0x5bbbb2['createdAt']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'createdAt')&&_0x1f87aa['uint32'](0x22)['string'](_0x5bbbb2['createdAt']),null!=_0x5bbbb2['data']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'data')&&_0x1f87aa['uint32'](0x2a)['string'](_0x5bbbb2['data']),null!=_0x5bbbb2['hasComments']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'hasComments')&&_0x1f87aa['uint32'](0x30)['bool'](_0x5bbbb2['hasComments']),null!=_0x5bbbb2['state']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'state')&&_0x1f87aa['uint32'](0x3a)['string'](_0x5bbbb2['state']),null!=_0x5bbbb2['attributes']&&Object['hasOwnProperty']['call'](_0x5bbbb2,'attributes')&&_0x1f87aa['uint32'](0x42)['string'](_0x5bbbb2['attributes']),_0x1f87aa;},_0xa33ec3['encodeDelimited']=function(_0x11323e,_0x44f5d6){return this['encode'](_0x11323e,_0x44f5d6)['ldelim']();},_0xa33ec3['decode']=function(_0x5772a6,_0x96130e,_0x4f5b75){_0x5772a6 instanceof _0x185f42||(_0x5772a6=_0x185f42['create'](_0x5772a6));for(var _0x577967=void 0x0===_0x96130e?_0x5772a6['len']:_0x5772a6['pos']+_0x96130e,_0xf0e68f=new _0x297356['SuggestionDescriptor']();_0x5772a6['pos']<_0x577967;){var _0x27821c=_0x5772a6['uint32']();if(_0x27821c===_0x4f5b75)break;switch(_0x27821c>>>0x3){case 0x1:_0xf0e68f['id']=_0x5772a6['string']();break;case 0x2:_0xf0e68f['authorId']=_0x5772a6['string']();break;case 0x3:_0xf0e68f['type']=_0x5772a6['string']();break;case 0x4:_0xf0e68f['createdAt']=_0x5772a6['string']();break;case 0x5:_0xf0e68f['data']=_0x5772a6['string']();break;case 0x6:_0xf0e68f['hasComments']=_0x5772a6['bool']();break;case 0x7:_0xf0e68f['state']=_0x5772a6['string']();break;case 0x8:_0xf0e68f['attributes']=_0x5772a6['string']();break;default:_0x5772a6['skipType'](0x7&_0x27821c);}}return _0xf0e68f;},_0xa33ec3['decodeDelimited']=function(_0x491ff5){return _0x491ff5 instanceof _0x185f42||(_0x491ff5=new _0x185f42(_0x491ff5)),this['decode'](_0x491ff5,_0x491ff5['uint32']());},_0xa33ec3['verify']=function(_0x1ee333){return'object'!=typeof _0x1ee333||null===_0x1ee333?'object\x20expected':null!=_0x1ee333['id']&&_0x1ee333['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x1ee333['id'])?'id:\x20string\x20expected':null!=_0x1ee333['authorId']&&_0x1ee333['hasOwnProperty']('authorId')&&!_0x43a1d8['isString'](_0x1ee333['authorId'])?'authorId:\x20string\x20expected':null!=_0x1ee333['type']&&_0x1ee333['hasOwnProperty']('type')&&!_0x43a1d8['isString'](_0x1ee333['type'])?'type:\x20string\x20expected':null!=_0x1ee333['createdAt']&&_0x1ee333['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x1ee333['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1ee333['data']&&_0x1ee333['hasOwnProperty']('data')&&!_0x43a1d8['isString'](_0x1ee333['data'])?'data:\x20string\x20expected':null!=_0x1ee333['hasComments']&&_0x1ee333['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1ee333['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1ee333['state']&&_0x1ee333['hasOwnProperty']('state')&&!_0x43a1d8['isString'](_0x1ee333['state'])?'state:\x20string\x20expected':null!=_0x1ee333['attributes']&&_0x1ee333['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x1ee333['attributes'])?'attributes:\x20string\x20expected':null;},_0xa33ec3['fromObject']=function(_0x47cf84){if(_0x47cf84 instanceof _0x297356['SuggestionDescriptor'])return _0x47cf84;var _0x183149=new _0x297356['SuggestionDescriptor']();return null!=_0x47cf84['id']&&(_0x183149['id']=String(_0x47cf84['id'])),null!=_0x47cf84['authorId']&&(_0x183149['authorId']=String(_0x47cf84['authorId'])),null!=_0x47cf84['type']&&(_0x183149['type']=String(_0x47cf84['type'])),null!=_0x47cf84['createdAt']&&(_0x183149['createdAt']=String(_0x47cf84['createdAt'])),null!=_0x47cf84['data']&&(_0x183149['data']=String(_0x47cf84['data'])),null!=_0x47cf84['hasComments']&&(_0x183149['hasComments']=Boolean(_0x47cf84['hasComments'])),null!=_0x47cf84['state']&&(_0x183149['state']=String(_0x47cf84['state'])),null!=_0x47cf84['attributes']&&(_0x183149['attributes']=String(_0x47cf84['attributes'])),_0x183149;},_0xa33ec3['toObject']=function(_0xf66e39,_0x3ac9f7){_0x3ac9f7||(_0x3ac9f7={});var _0x365f9d={};return _0x3ac9f7['defaults']&&(_0x365f9d['id']='',_0x365f9d['authorId']='',_0x365f9d['type']='',_0x365f9d['createdAt']='',_0x365f9d['data']='',_0x365f9d['hasComments']=!0x1,_0x365f9d['state']='',_0x365f9d['attributes']=''),null!=_0xf66e39['id']&&_0xf66e39['hasOwnProperty']('id')&&(_0x365f9d['id']=_0xf66e39['id']),null!=_0xf66e39['authorId']&&_0xf66e39['hasOwnProperty']('authorId')&&(_0x365f9d['authorId']=_0xf66e39['authorId']),null!=_0xf66e39['type']&&_0xf66e39['hasOwnProperty']('type')&&(_0x365f9d['type']=_0xf66e39['type']),null!=_0xf66e39['createdAt']&&_0xf66e39['hasOwnProperty']('createdAt')&&(_0x365f9d['createdAt']=_0xf66e39['createdAt']),null!=_0xf66e39['data']&&_0xf66e39['hasOwnProperty']('data')&&(_0x365f9d['data']=_0xf66e39['data']),null!=_0xf66e39['hasComments']&&_0xf66e39['hasOwnProperty']('hasComments')&&(_0x365f9d['hasComments']=_0xf66e39['hasComments']),null!=_0xf66e39['state']&&_0xf66e39['hasOwnProperty']('state')&&(_0x365f9d['state']=_0xf66e39['state']),null!=_0xf66e39['attributes']&&_0xf66e39['hasOwnProperty']('attributes')&&(_0x365f9d['attributes']=_0xf66e39['attributes']),_0x365f9d;},_0xa33ec3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xa33ec3['getTypeUrl']=function(_0x511c06){return void 0x0===_0x511c06&&(_0x511c06='type.googleapis.com'),_0x511c06+'/SuggestionDescriptor';},_0xa33ec3;}()),_0x297356['SessionsConnectResponse']=(function(){function _0x3419ec(_0x12e43b){if(this['sockets']=[],_0x12e43b){for(var _0xb4b748=Object['keys'](_0x12e43b),_0x1339e6=0x0;_0x1339e6<_0xb4b748['length'];++_0x1339e6)null!=_0x12e43b[_0xb4b748[_0x1339e6]]&&(this[_0xb4b748[_0x1339e6]]=_0x12e43b[_0xb4b748[_0x1339e6]]);}}return _0x3419ec['prototype']['channel']='',_0x3419ec['prototype']['sockets']=_0x43a1d8['emptyArray'],_0x3419ec['create']=function(_0x5d3203){return new _0x3419ec(_0x5d3203);},_0x3419ec['encode']=function(_0x326c6d,_0x10fa12){if(_0x10fa12||(_0x10fa12=_0x102edc['create']()),null!=_0x326c6d['channel']&&Object['hasOwnProperty']['call'](_0x326c6d,'channel')&&_0x10fa12['uint32'](0xa)['string'](_0x326c6d['channel']),null!=_0x326c6d['sockets']&&_0x326c6d['sockets']['length']){for(var _0x5cd8d0=0x0;_0x5cd8d0<_0x326c6d['sockets']['length'];++_0x5cd8d0)_0x297356['SessionsSocketDescriptor']['encode'](_0x326c6d['sockets'][_0x5cd8d0],_0x10fa12['uint32'](0x12)['fork']())['ldelim']();}return _0x10fa12;},_0x3419ec['encodeDelimited']=function(_0x434a1d,_0x1f63c2){return this['encode'](_0x434a1d,_0x1f63c2)['ldelim']();},_0x3419ec['decode']=function(_0x485ad4,_0x41381e,_0x5b88f1){_0x485ad4 instanceof _0x185f42||(_0x485ad4=_0x185f42['create'](_0x485ad4));for(var _0x703b96=void 0x0===_0x41381e?_0x485ad4['len']:_0x485ad4['pos']+_0x41381e,_0x1ad361=new _0x297356['SessionsConnectResponse']();_0x485ad4['pos']<_0x703b96;){var _0x4d57a4=_0x485ad4['uint32']();if(_0x4d57a4===_0x5b88f1)break;switch(_0x4d57a4>>>0x3){case 0x1:_0x1ad361['channel']=_0x485ad4['string']();break;case 0x2:_0x1ad361['sockets']&&_0x1ad361['sockets']['length']||(_0x1ad361['sockets']=[]),_0x1ad361['sockets']['push'](_0x297356['SessionsSocketDescriptor']['decode'](_0x485ad4,_0x485ad4['uint32']()));break;default:_0x485ad4['skipType'](0x7&_0x4d57a4);}}return _0x1ad361;},_0x3419ec['decodeDelimited']=function(_0xd8515d){return _0xd8515d instanceof _0x185f42||(_0xd8515d=new _0x185f42(_0xd8515d)),this['decode'](_0xd8515d,_0xd8515d['uint32']());},_0x3419ec['verify']=function(_0x1770b1){if('object'!=typeof _0x1770b1||null===_0x1770b1)return'object\x20expected';if(null!=_0x1770b1['channel']&&_0x1770b1['hasOwnProperty']('channel')&&!_0x43a1d8['isString'](_0x1770b1['channel']))return'channel:\x20string\x20expected';if(null!=_0x1770b1['sockets']&&_0x1770b1['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x1770b1['sockets']))return'sockets:\x20array\x20expected';for(var _0x39ce8a=0x0;_0x39ce8a<_0x1770b1['sockets']['length'];++_0x39ce8a){var _0x28ee32=_0x297356['SessionsSocketDescriptor']['verify'](_0x1770b1['sockets'][_0x39ce8a]);if(_0x28ee32)return'sockets.'+_0x28ee32;}}return null;},_0x3419ec['fromObject']=function(_0x16c9e2){if(_0x16c9e2 instanceof _0x297356['SessionsConnectResponse'])return _0x16c9e2;var _0x3015a7=new _0x297356['SessionsConnectResponse']();if(null!=_0x16c9e2['channel']&&(_0x3015a7['channel']=String(_0x16c9e2['channel'])),_0x16c9e2['sockets']){if(!Array['isArray'](_0x16c9e2['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x3015a7['sockets']=[];for(var _0x36ba7a=0x0;_0x36ba7a<_0x16c9e2['sockets']['length'];++_0x36ba7a){if('object'!=typeof _0x16c9e2['sockets'][_0x36ba7a])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x3015a7['sockets'][_0x36ba7a]=_0x297356['SessionsSocketDescriptor']['fromObject'](_0x16c9e2['sockets'][_0x36ba7a]);}}return _0x3015a7;},_0x3419ec['toObject']=function(_0x52c57f,_0x5519c1){_0x5519c1||(_0x5519c1={});var _0x10538f={};if((_0x5519c1['arrays']||_0x5519c1['defaults'])&&(_0x10538f['sockets']=[]),_0x5519c1['defaults']&&(_0x10538f['channel']=''),null!=_0x52c57f['channel']&&_0x52c57f['hasOwnProperty']('channel')&&(_0x10538f['channel']=_0x52c57f['channel']),_0x52c57f['sockets']&&_0x52c57f['sockets']['length']){_0x10538f['sockets']=[];for(var _0x2aab94=0x0;_0x2aab94<_0x52c57f['sockets']['length'];++_0x2aab94)_0x10538f['sockets'][_0x2aab94]=_0x297356['SessionsSocketDescriptor']['toObject'](_0x52c57f['sockets'][_0x2aab94],_0x5519c1);}return _0x10538f;},_0x3419ec['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x3419ec['getTypeUrl']=function(_0x3ddc20){return void 0x0===_0x3ddc20&&(_0x3ddc20='type.googleapis.com'),_0x3ddc20+'/SessionsConnectResponse';},_0x3419ec;}()),_0x297356['SocketDisconnectMessage']=(function(){function _0x101b80(_0x4df732){if(_0x4df732){for(var _0x5850b9=Object['keys'](_0x4df732),_0x1fb1b0=0x0;_0x1fb1b0<_0x5850b9['length'];++_0x1fb1b0)null!=_0x4df732[_0x5850b9[_0x1fb1b0]]&&(this[_0x5850b9[_0x1fb1b0]]=_0x4df732[_0x5850b9[_0x1fb1b0]]);}}return _0x101b80['prototype']['id']='',_0x101b80['create']=function(_0x3a8a48){return new _0x101b80(_0x3a8a48);},_0x101b80['encode']=function(_0x563ca5,_0x3574ad){return _0x3574ad||(_0x3574ad=_0x102edc['create']()),null!=_0x563ca5['id']&&Object['hasOwnProperty']['call'](_0x563ca5,'id')&&_0x3574ad['uint32'](0xa)['string'](_0x563ca5['id']),_0x3574ad;},_0x101b80['encodeDelimited']=function(_0x274923,_0x50c18f){return this['encode'](_0x274923,_0x50c18f)['ldelim']();},_0x101b80['decode']=function(_0x5f5e0,_0x5e4aab,_0x2a0ea8){_0x5f5e0 instanceof _0x185f42||(_0x5f5e0=_0x185f42['create'](_0x5f5e0));for(var _0x432ad5=void 0x0===_0x5e4aab?_0x5f5e0['len']:_0x5f5e0['pos']+_0x5e4aab,_0x101231=new _0x297356['SocketDisconnectMessage']();_0x5f5e0['pos']<_0x432ad5;){var _0x3ae59e=_0x5f5e0['uint32']();if(_0x3ae59e===_0x2a0ea8)break;_0x3ae59e>>>0x3==0x1?_0x101231['id']=_0x5f5e0['string']():_0x5f5e0['skipType'](0x7&_0x3ae59e);}return _0x101231;},_0x101b80['decodeDelimited']=function(_0x10d783){return _0x10d783 instanceof _0x185f42||(_0x10d783=new _0x185f42(_0x10d783)),this['decode'](_0x10d783,_0x10d783['uint32']());},_0x101b80['verify']=function(_0x3411e6){return'object'!=typeof _0x3411e6||null===_0x3411e6?'object\x20expected':null!=_0x3411e6['id']&&_0x3411e6['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x3411e6['id'])?'id:\x20string\x20expected':null;},_0x101b80['fromObject']=function(_0xfeca02){if(_0xfeca02 instanceof _0x297356['SocketDisconnectMessage'])return _0xfeca02;var _0x3718f5=new _0x297356['SocketDisconnectMessage']();return null!=_0xfeca02['id']&&(_0x3718f5['id']=String(_0xfeca02['id'])),_0x3718f5;},_0x101b80['toObject']=function(_0x16bb78,_0x57ef09){_0x57ef09||(_0x57ef09={});var _0x26b9b9={};return _0x57ef09['defaults']&&(_0x26b9b9['id']=''),null!=_0x16bb78['id']&&_0x16bb78['hasOwnProperty']('id')&&(_0x26b9b9['id']=_0x16bb78['id']),_0x26b9b9;},_0x101b80['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x101b80['getTypeUrl']=function(_0x87317a){return void 0x0===_0x87317a&&(_0x87317a='type.googleapis.com'),_0x87317a+'/SocketDisconnectMessage';},_0x101b80;}()),_0x297356['SocketConnectMessage']=(function(){function _0x38d7dc(_0xd5b6e2){if(this['permissions']=[],_0xd5b6e2){for(var _0xea623d=Object['keys'](_0xd5b6e2),_0x579bbf=0x0;_0x579bbf<_0xea623d['length'];++_0x579bbf)null!=_0xd5b6e2[_0xea623d[_0x579bbf]]&&(this[_0xea623d[_0x579bbf]]=_0xd5b6e2[_0xea623d[_0x579bbf]]);}}return _0x38d7dc['prototype']['id']='',_0x38d7dc['prototype']['userId']='',_0x38d7dc['prototype']['role']='',_0x38d7dc['prototype']['permissions']=_0x43a1d8['emptyArray'],_0x38d7dc['create']=function(_0x24b1fc){return new _0x38d7dc(_0x24b1fc);},_0x38d7dc['encode']=function(_0x235d31,_0x445a36){if(_0x445a36||(_0x445a36=_0x102edc['create']()),null!=_0x235d31['id']&&Object['hasOwnProperty']['call'](_0x235d31,'id')&&_0x445a36['uint32'](0xa)['string'](_0x235d31['id']),null!=_0x235d31['userId']&&Object['hasOwnProperty']['call'](_0x235d31,'userId')&&_0x445a36['uint32'](0x12)['string'](_0x235d31['userId']),null!=_0x235d31['role']&&Object['hasOwnProperty']['call'](_0x235d31,'role')&&_0x445a36['uint32'](0x1a)['string'](_0x235d31['role']),null!=_0x235d31['permissions']&&_0x235d31['permissions']['length']){for(var _0x440bb6=0x0;_0x440bb6<_0x235d31['permissions']['length'];++_0x440bb6)_0x445a36['uint32'](0x22)['string'](_0x235d31['permissions'][_0x440bb6]);}return _0x445a36;},_0x38d7dc['encodeDelimited']=function(_0x2959fb,_0x38a214){return this['encode'](_0x2959fb,_0x38a214)['ldelim']();},_0x38d7dc['decode']=function(_0x85964a,_0x5b6819,_0x4f433b){_0x85964a instanceof _0x185f42||(_0x85964a=_0x185f42['create'](_0x85964a));for(var _0x3bfd6f=void 0x0===_0x5b6819?_0x85964a['len']:_0x85964a['pos']+_0x5b6819,_0x44d943=new _0x297356['SocketConnectMessage']();_0x85964a['pos']<_0x3bfd6f;){var _0x49dbc1=_0x85964a['uint32']();if(_0x49dbc1===_0x4f433b)break;switch(_0x49dbc1>>>0x3){case 0x1:_0x44d943['id']=_0x85964a['string']();break;case 0x2:_0x44d943['userId']=_0x85964a['string']();break;case 0x3:_0x44d943['role']=_0x85964a['string']();break;case 0x4:_0x44d943['permissions']&&_0x44d943['permissions']['length']||(_0x44d943['permissions']=[]),_0x44d943['permissions']['push'](_0x85964a['string']());break;default:_0x85964a['skipType'](0x7&_0x49dbc1);}}return _0x44d943;},_0x38d7dc['decodeDelimited']=function(_0x414143){return _0x414143 instanceof _0x185f42||(_0x414143=new _0x185f42(_0x414143)),this['decode'](_0x414143,_0x414143['uint32']());},_0x38d7dc['verify']=function(_0x2ce261){if('object'!=typeof _0x2ce261||null===_0x2ce261)return'object\x20expected';if(null!=_0x2ce261['id']&&_0x2ce261['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x2ce261['id']))return'id:\x20string\x20expected';if(null!=_0x2ce261['userId']&&_0x2ce261['hasOwnProperty']('userId')&&!_0x43a1d8['isString'](_0x2ce261['userId']))return'userId:\x20string\x20expected';if(null!=_0x2ce261['role']&&_0x2ce261['hasOwnProperty']('role')&&!_0x43a1d8['isString'](_0x2ce261['role']))return'role:\x20string\x20expected';if(null!=_0x2ce261['permissions']&&_0x2ce261['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x2ce261['permissions']))return'permissions:\x20array\x20expected';for(var _0x54dc67=0x0;_0x54dc67<_0x2ce261['permissions']['length'];++_0x54dc67)if(!_0x43a1d8['isString'](_0x2ce261['permissions'][_0x54dc67]))return'permissions:\x20string[]\x20expected';}return null;},_0x38d7dc['fromObject']=function(_0x30b7e1){if(_0x30b7e1 instanceof _0x297356['SocketConnectMessage'])return _0x30b7e1;var _0x3461a6=new _0x297356['SocketConnectMessage']();if(null!=_0x30b7e1['id']&&(_0x3461a6['id']=String(_0x30b7e1['id'])),null!=_0x30b7e1['userId']&&(_0x3461a6['userId']=String(_0x30b7e1['userId'])),null!=_0x30b7e1['role']&&(_0x3461a6['role']=String(_0x30b7e1['role'])),_0x30b7e1['permissions']){if(!Array['isArray'](_0x30b7e1['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3461a6['permissions']=[];for(var _0x33d0f2=0x0;_0x33d0f2<_0x30b7e1['permissions']['length'];++_0x33d0f2)_0x3461a6['permissions'][_0x33d0f2]=String(_0x30b7e1['permissions'][_0x33d0f2]);}return _0x3461a6;},_0x38d7dc['toObject']=function(_0xd4b9c3,_0x5e3dd9){_0x5e3dd9||(_0x5e3dd9={});var _0x45afbe={};if((_0x5e3dd9['arrays']||_0x5e3dd9['defaults'])&&(_0x45afbe['permissions']=[]),_0x5e3dd9['defaults']&&(_0x45afbe['id']='',_0x45afbe['userId']='',_0x45afbe['role']=''),null!=_0xd4b9c3['id']&&_0xd4b9c3['hasOwnProperty']('id')&&(_0x45afbe['id']=_0xd4b9c3['id']),null!=_0xd4b9c3['userId']&&_0xd4b9c3['hasOwnProperty']('userId')&&(_0x45afbe['userId']=_0xd4b9c3['userId']),null!=_0xd4b9c3['role']&&_0xd4b9c3['hasOwnProperty']('role')&&(_0x45afbe['role']=_0xd4b9c3['role']),_0xd4b9c3['permissions']&&_0xd4b9c3['permissions']['length']){_0x45afbe['permissions']=[];for(var _0x39c511=0x0;_0x39c511<_0xd4b9c3['permissions']['length'];++_0x39c511)_0x45afbe['permissions'][_0x39c511]=_0xd4b9c3['permissions'][_0x39c511];}return _0x45afbe;},_0x38d7dc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x38d7dc['getTypeUrl']=function(_0x199184){return void 0x0===_0x199184&&(_0x199184='type.googleapis.com'),_0x199184+'/SocketConnectMessage';},_0x38d7dc;}()),_0x297356['SessionsConnectMessage']=(function(){function _0x32e121(_0x34e5bd){if(_0x34e5bd){for(var _0x17a6eb=Object['keys'](_0x34e5bd),_0x246e54=0x0;_0x246e54<_0x17a6eb['length'];++_0x246e54)null!=_0x34e5bd[_0x17a6eb[_0x246e54]]&&(this[_0x17a6eb[_0x246e54]]=_0x34e5bd[_0x17a6eb[_0x246e54]]);}}return _0x32e121['prototype']['id']='',_0x32e121['prototype']['sessionType']=0x0,_0x32e121['create']=function(_0x3fb50e){return new _0x32e121(_0x3fb50e);},_0x32e121['encode']=function(_0xf12eff,_0x4a331b){return _0x4a331b||(_0x4a331b=_0x102edc['create']()),null!=_0xf12eff['id']&&Object['hasOwnProperty']['call'](_0xf12eff,'id')&&_0x4a331b['uint32'](0xa)['string'](_0xf12eff['id']),null!=_0xf12eff['sessionType']&&Object['hasOwnProperty']['call'](_0xf12eff,'sessionType')&&_0x4a331b['uint32'](0x10)['uint32'](_0xf12eff['sessionType']),_0x4a331b;},_0x32e121['encodeDelimited']=function(_0x5a0d20,_0x55bc14){return this['encode'](_0x5a0d20,_0x55bc14)['ldelim']();},_0x32e121['decode']=function(_0x54bcfa,_0x384147,_0x7f22a6){_0x54bcfa instanceof _0x185f42||(_0x54bcfa=_0x185f42['create'](_0x54bcfa));for(var _0x235f20=void 0x0===_0x384147?_0x54bcfa['len']:_0x54bcfa['pos']+_0x384147,_0x741ce5=new _0x297356['SessionsConnectMessage']();_0x54bcfa['pos']<_0x235f20;){var _0x356a5c=_0x54bcfa['uint32']();if(_0x356a5c===_0x7f22a6)break;switch(_0x356a5c>>>0x3){case 0x1:_0x741ce5['id']=_0x54bcfa['string']();break;case 0x2:_0x741ce5['sessionType']=_0x54bcfa['uint32']();break;default:_0x54bcfa['skipType'](0x7&_0x356a5c);}}return _0x741ce5;},_0x32e121['decodeDelimited']=function(_0x443622){return _0x443622 instanceof _0x185f42||(_0x443622=new _0x185f42(_0x443622)),this['decode'](_0x443622,_0x443622['uint32']());},_0x32e121['verify']=function(_0x5a3e44){return'object'!=typeof _0x5a3e44||null===_0x5a3e44?'object\x20expected':null!=_0x5a3e44['id']&&_0x5a3e44['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x5a3e44['id'])?'id:\x20string\x20expected':null!=_0x5a3e44['sessionType']&&_0x5a3e44['hasOwnProperty']('sessionType')&&!_0x43a1d8['isInteger'](_0x5a3e44['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x32e121['fromObject']=function(_0x1d1fa3){if(_0x1d1fa3 instanceof _0x297356['SessionsConnectMessage'])return _0x1d1fa3;var _0x351cd4=new _0x297356['SessionsConnectMessage']();return null!=_0x1d1fa3['id']&&(_0x351cd4['id']=String(_0x1d1fa3['id'])),null!=_0x1d1fa3['sessionType']&&(_0x351cd4['sessionType']=_0x1d1fa3['sessionType']>>>0x0),_0x351cd4;},_0x32e121['toObject']=function(_0x26ce0e,_0x55e86f){_0x55e86f||(_0x55e86f={});var _0x1d1980={};return _0x55e86f['defaults']&&(_0x1d1980['id']='',_0x1d1980['sessionType']=0x0),null!=_0x26ce0e['id']&&_0x26ce0e['hasOwnProperty']('id')&&(_0x1d1980['id']=_0x26ce0e['id']),null!=_0x26ce0e['sessionType']&&_0x26ce0e['hasOwnProperty']('sessionType')&&(_0x1d1980['sessionType']=_0x26ce0e['sessionType']),_0x1d1980;},_0x32e121['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x32e121['getTypeUrl']=function(_0x526a82){return void 0x0===_0x526a82&&(_0x526a82='type.googleapis.com'),_0x526a82+'/SessionsConnectMessage';},_0x32e121;}()),_0x297356['SessionsSocketDescriptor']=(function(){function _0x29e746(_0x4cd909){if(this['permissions']=[],_0x4cd909){for(var _0x572226=Object['keys'](_0x4cd909),_0xa6a213=0x0;_0xa6a213<_0x572226['length'];++_0xa6a213)null!=_0x4cd909[_0x572226[_0xa6a213]]&&(this[_0x572226[_0xa6a213]]=_0x4cd909[_0x572226[_0xa6a213]]);}}return _0x29e746['prototype']['session']='',_0x29e746['prototype']['user']='',_0x29e746['prototype']['role']='',_0x29e746['prototype']['permissions']=_0x43a1d8['emptyArray'],_0x29e746['create']=function(_0x39a8c9){return new _0x29e746(_0x39a8c9);},_0x29e746['encode']=function(_0x35884e,_0xdbeb6f){if(_0xdbeb6f||(_0xdbeb6f=_0x102edc['create']()),null!=_0x35884e['session']&&Object['hasOwnProperty']['call'](_0x35884e,'session')&&_0xdbeb6f['uint32'](0xa)['string'](_0x35884e['session']),null!=_0x35884e['user']&&Object['hasOwnProperty']['call'](_0x35884e,'user')&&_0xdbeb6f['uint32'](0x12)['string'](_0x35884e['user']),null!=_0x35884e['role']&&Object['hasOwnProperty']['call'](_0x35884e,'role')&&_0xdbeb6f['uint32'](0x1a)['string'](_0x35884e['role']),null!=_0x35884e['permissions']&&_0x35884e['permissions']['length']){for(var _0x231d7c=0x0;_0x231d7c<_0x35884e['permissions']['length'];++_0x231d7c)_0xdbeb6f['uint32'](0x22)['string'](_0x35884e['permissions'][_0x231d7c]);}return _0xdbeb6f;},_0x29e746['encodeDelimited']=function(_0x18a4ea,_0x49bcdb){return this['encode'](_0x18a4ea,_0x49bcdb)['ldelim']();},_0x29e746['decode']=function(_0x2f56f5,_0x5313fc,_0x1545cc){_0x2f56f5 instanceof _0x185f42||(_0x2f56f5=_0x185f42['create'](_0x2f56f5));for(var _0x4a73db=void 0x0===_0x5313fc?_0x2f56f5['len']:_0x2f56f5['pos']+_0x5313fc,_0x152d0c=new _0x297356['SessionsSocketDescriptor']();_0x2f56f5['pos']<_0x4a73db;){var _0x3b6fe7=_0x2f56f5['uint32']();if(_0x3b6fe7===_0x1545cc)break;switch(_0x3b6fe7>>>0x3){case 0x1:_0x152d0c['session']=_0x2f56f5['string']();break;case 0x2:_0x152d0c['user']=_0x2f56f5['string']();break;case 0x3:_0x152d0c['role']=_0x2f56f5['string']();break;case 0x4:_0x152d0c['permissions']&&_0x152d0c['permissions']['length']||(_0x152d0c['permissions']=[]),_0x152d0c['permissions']['push'](_0x2f56f5['string']());break;default:_0x2f56f5['skipType'](0x7&_0x3b6fe7);}}return _0x152d0c;},_0x29e746['decodeDelimited']=function(_0x58bed0){return _0x58bed0 instanceof _0x185f42||(_0x58bed0=new _0x185f42(_0x58bed0)),this['decode'](_0x58bed0,_0x58bed0['uint32']());},_0x29e746['verify']=function(_0x5d09fd){if('object'!=typeof _0x5d09fd||null===_0x5d09fd)return'object\x20expected';if(null!=_0x5d09fd['session']&&_0x5d09fd['hasOwnProperty']('session')&&!_0x43a1d8['isString'](_0x5d09fd['session']))return'session:\x20string\x20expected';if(null!=_0x5d09fd['user']&&_0x5d09fd['hasOwnProperty']('user')&&!_0x43a1d8['isString'](_0x5d09fd['user']))return'user:\x20string\x20expected';if(null!=_0x5d09fd['role']&&_0x5d09fd['hasOwnProperty']('role')&&!_0x43a1d8['isString'](_0x5d09fd['role']))return'role:\x20string\x20expected';if(null!=_0x5d09fd['permissions']&&_0x5d09fd['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x5d09fd['permissions']))return'permissions:\x20array\x20expected';for(var _0x28b776=0x0;_0x28b776<_0x5d09fd['permissions']['length'];++_0x28b776)if(!_0x43a1d8['isString'](_0x5d09fd['permissions'][_0x28b776]))return'permissions:\x20string[]\x20expected';}return null;},_0x29e746['fromObject']=function(_0x2a022b){if(_0x2a022b instanceof _0x297356['SessionsSocketDescriptor'])return _0x2a022b;var _0x3d5275=new _0x297356['SessionsSocketDescriptor']();if(null!=_0x2a022b['session']&&(_0x3d5275['session']=String(_0x2a022b['session'])),null!=_0x2a022b['user']&&(_0x3d5275['user']=String(_0x2a022b['user'])),null!=_0x2a022b['role']&&(_0x3d5275['role']=String(_0x2a022b['role'])),_0x2a022b['permissions']){if(!Array['isArray'](_0x2a022b['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x3d5275['permissions']=[];for(var _0x12975e=0x0;_0x12975e<_0x2a022b['permissions']['length'];++_0x12975e)_0x3d5275['permissions'][_0x12975e]=String(_0x2a022b['permissions'][_0x12975e]);}return _0x3d5275;},_0x29e746['toObject']=function(_0x130fb5,_0x25e309){_0x25e309||(_0x25e309={});var _0x32af86={};if((_0x25e309['arrays']||_0x25e309['defaults'])&&(_0x32af86['permissions']=[]),_0x25e309['defaults']&&(_0x32af86['session']='',_0x32af86['user']='',_0x32af86['role']=''),null!=_0x130fb5['session']&&_0x130fb5['hasOwnProperty']('session')&&(_0x32af86['session']=_0x130fb5['session']),null!=_0x130fb5['user']&&_0x130fb5['hasOwnProperty']('user')&&(_0x32af86['user']=_0x130fb5['user']),null!=_0x130fb5['role']&&_0x130fb5['hasOwnProperty']('role')&&(_0x32af86['role']=_0x130fb5['role']),_0x130fb5['permissions']&&_0x130fb5['permissions']['length']){_0x32af86['permissions']=[];for(var _0x46df76=0x0;_0x46df76<_0x130fb5['permissions']['length'];++_0x46df76)_0x32af86['permissions'][_0x46df76]=_0x130fb5['permissions'][_0x46df76];}return _0x32af86;},_0x29e746['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x29e746['getTypeUrl']=function(_0x31efb6){return void 0x0===_0x31efb6&&(_0x31efb6='type.googleapis.com'),_0x31efb6+'/SessionsSocketDescriptor';},_0x29e746;}()),_0x297356['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x4e1976(_0xb5e16c){if(_0xb5e16c){for(var _0x32da00=Object['keys'](_0xb5e16c),_0x21d259=0x0;_0x21d259<_0x32da00['length'];++_0x21d259)null!=_0xb5e16c[_0x32da00[_0x21d259]]&&(this[_0x32da00[_0x21d259]]=_0xb5e16c[_0x32da00[_0x21d259]]);}}return _0x4e1976['prototype']['requestId']=0x0,_0x4e1976['create']=function(_0x498f97){return new _0x4e1976(_0x498f97);},_0x4e1976['encode']=function(_0x3543b5,_0x1377ab){return _0x1377ab||(_0x1377ab=_0x102edc['create']()),null!=_0x3543b5['requestId']&&Object['hasOwnProperty']['call'](_0x3543b5,'requestId')&&_0x1377ab['uint32'](0x8)['uint32'](_0x3543b5['requestId']),_0x1377ab;},_0x4e1976['encodeDelimited']=function(_0x558c15,_0x2bb057){return this['encode'](_0x558c15,_0x2bb057)['ldelim']();},_0x4e1976['decode']=function(_0x2670a6,_0x1fc44d,_0x493deb){_0x2670a6 instanceof _0x185f42||(_0x2670a6=_0x185f42['create'](_0x2670a6));for(var _0x472666=void 0x0===_0x1fc44d?_0x2670a6['len']:_0x2670a6['pos']+_0x1fc44d,_0x1c5bd4=new _0x297356['RevisionHistoryUpdateRevisionsResponse']();_0x2670a6['pos']<_0x472666;){var _0x4ad3ce=_0x2670a6['uint32']();if(_0x4ad3ce===_0x493deb)break;_0x4ad3ce>>>0x3==0x1?_0x1c5bd4['requestId']=_0x2670a6['uint32']():_0x2670a6['skipType'](0x7&_0x4ad3ce);}return _0x1c5bd4;},_0x4e1976['decodeDelimited']=function(_0x59290a){return _0x59290a instanceof _0x185f42||(_0x59290a=new _0x185f42(_0x59290a)),this['decode'](_0x59290a,_0x59290a['uint32']());},_0x4e1976['verify']=function(_0x510c7d){return'object'!=typeof _0x510c7d||null===_0x510c7d?'object\x20expected':null!=_0x510c7d['requestId']&&_0x510c7d['hasOwnProperty']('requestId')&&!_0x43a1d8['isInteger'](_0x510c7d['requestId'])?'requestId:\x20integer\x20expected':null;},_0x4e1976['fromObject']=function(_0x3421bc){if(_0x3421bc instanceof _0x297356['RevisionHistoryUpdateRevisionsResponse'])return _0x3421bc;var _0x2c9321=new _0x297356['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x3421bc['requestId']&&(_0x2c9321['requestId']=_0x3421bc['requestId']>>>0x0),_0x2c9321;},_0x4e1976['toObject']=function(_0x136f89,_0x55877c){_0x55877c||(_0x55877c={});var _0x54bc42={};return _0x55877c['defaults']&&(_0x54bc42['requestId']=0x0),null!=_0x136f89['requestId']&&_0x136f89['hasOwnProperty']('requestId')&&(_0x54bc42['requestId']=_0x136f89['requestId']),_0x54bc42;},_0x4e1976['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4e1976['getTypeUrl']=function(_0x17dd91){return void 0x0===_0x17dd91&&(_0x17dd91='type.googleapis.com'),_0x17dd91+'/RevisionHistoryUpdateRevisionsResponse';},_0x4e1976;}()),_0x297356['RevisionHistoryGetRevisionResponse']=(function(){function _0x328b9f(_0x148b65){if(_0x148b65){for(var _0x573e24=Object['keys'](_0x148b65),_0x43b510=0x0;_0x43b510<_0x573e24['length'];++_0x43b510)null!=_0x148b65[_0x573e24[_0x43b510]]&&(this[_0x573e24[_0x43b510]]=_0x148b65[_0x573e24[_0x43b510]]);}}return _0x328b9f['prototype']['revisionId']='',_0x328b9f['prototype']['name']='',_0x328b9f['prototype']['creatorId']='',_0x328b9f['prototype']['authorsIds']='',_0x328b9f['prototype']['diffData']='',_0x328b9f['prototype']['createdAt']='',_0x328b9f['prototype']['attributes']='',_0x328b9f['prototype']['toVersion']=0x0,_0x328b9f['prototype']['fromVersion']=0x0,_0x328b9f['prototype']['isEmptyCurrent']=!0x1,_0x328b9f['create']=function(_0x7f249b){return new _0x328b9f(_0x7f249b);},_0x328b9f['encode']=function(_0x11dc78,_0x1a0a89){return _0x1a0a89||(_0x1a0a89=_0x102edc['create']()),null!=_0x11dc78['revisionId']&&Object['hasOwnProperty']['call'](_0x11dc78,'revisionId')&&_0x1a0a89['uint32'](0xa)['string'](_0x11dc78['revisionId']),null!=_0x11dc78['name']&&Object['hasOwnProperty']['call'](_0x11dc78,'name')&&_0x1a0a89['uint32'](0x12)['string'](_0x11dc78['name']),null!=_0x11dc78['creatorId']&&Object['hasOwnProperty']['call'](_0x11dc78,'creatorId')&&_0x1a0a89['uint32'](0x1a)['string'](_0x11dc78['creatorId']),null!=_0x11dc78['authorsIds']&&Object['hasOwnProperty']['call'](_0x11dc78,'authorsIds')&&_0x1a0a89['uint32'](0x22)['string'](_0x11dc78['authorsIds']),null!=_0x11dc78['diffData']&&Object['hasOwnProperty']['call'](_0x11dc78,'diffData')&&_0x1a0a89['uint32'](0x2a)['string'](_0x11dc78['diffData']),null!=_0x11dc78['createdAt']&&Object['hasOwnProperty']['call'](_0x11dc78,'createdAt')&&_0x1a0a89['uint32'](0x32)['string'](_0x11dc78['createdAt']),null!=_0x11dc78['attributes']&&Object['hasOwnProperty']['call'](_0x11dc78,'attributes')&&_0x1a0a89['uint32'](0x3a)['string'](_0x11dc78['attributes']),null!=_0x11dc78['toVersion']&&Object['hasOwnProperty']['call'](_0x11dc78,'toVersion')&&_0x1a0a89['uint32'](0x40)['uint32'](_0x11dc78['toVersion']),null!=_0x11dc78['fromVersion']&&Object['hasOwnProperty']['call'](_0x11dc78,'fromVersion')&&_0x1a0a89['uint32'](0x48)['uint32'](_0x11dc78['fromVersion']),null!=_0x11dc78['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x11dc78,'isEmptyCurrent')&&_0x1a0a89['uint32'](0x50)['bool'](_0x11dc78['isEmptyCurrent']),_0x1a0a89;},_0x328b9f['encodeDelimited']=function(_0x3dee44,_0x4c5e89){return this['encode'](_0x3dee44,_0x4c5e89)['ldelim']();},_0x328b9f['decode']=function(_0x43f3b0,_0x2fc7d2,_0x50f4eb){_0x43f3b0 instanceof _0x185f42||(_0x43f3b0=_0x185f42['create'](_0x43f3b0));for(var _0x155902=void 0x0===_0x2fc7d2?_0x43f3b0['len']:_0x43f3b0['pos']+_0x2fc7d2,_0x3ecc43=new _0x297356['RevisionHistoryGetRevisionResponse']();_0x43f3b0['pos']<_0x155902;){var _0x44336c=_0x43f3b0['uint32']();if(_0x44336c===_0x50f4eb)break;switch(_0x44336c>>>0x3){case 0x1:_0x3ecc43['revisionId']=_0x43f3b0['string']();break;case 0x2:_0x3ecc43['name']=_0x43f3b0['string']();break;case 0x3:_0x3ecc43['creatorId']=_0x43f3b0['string']();break;case 0x4:_0x3ecc43['authorsIds']=_0x43f3b0['string']();break;case 0x5:_0x3ecc43['diffData']=_0x43f3b0['string']();break;case 0x6:_0x3ecc43['createdAt']=_0x43f3b0['string']();break;case 0x7:_0x3ecc43['attributes']=_0x43f3b0['string']();break;case 0x8:_0x3ecc43['toVersion']=_0x43f3b0['uint32']();break;case 0x9:_0x3ecc43['fromVersion']=_0x43f3b0['uint32']();break;case 0xa:_0x3ecc43['isEmptyCurrent']=_0x43f3b0['bool']();break;default:_0x43f3b0['skipType'](0x7&_0x44336c);}}return _0x3ecc43;},_0x328b9f['decodeDelimited']=function(_0x1a8ccf){return _0x1a8ccf instanceof _0x185f42||(_0x1a8ccf=new _0x185f42(_0x1a8ccf)),this['decode'](_0x1a8ccf,_0x1a8ccf['uint32']());},_0x328b9f['verify']=function(_0x450f75){return'object'!=typeof _0x450f75||null===_0x450f75?'object\x20expected':null!=_0x450f75['revisionId']&&_0x450f75['hasOwnProperty']('revisionId')&&!_0x43a1d8['isString'](_0x450f75['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x450f75['name']&&_0x450f75['hasOwnProperty']('name')&&!_0x43a1d8['isString'](_0x450f75['name'])?'name:\x20string\x20expected':null!=_0x450f75['creatorId']&&_0x450f75['hasOwnProperty']('creatorId')&&!_0x43a1d8['isString'](_0x450f75['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x450f75['authorsIds']&&_0x450f75['hasOwnProperty']('authorsIds')&&!_0x43a1d8['isString'](_0x450f75['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x450f75['diffData']&&_0x450f75['hasOwnProperty']('diffData')&&!_0x43a1d8['isString'](_0x450f75['diffData'])?'diffData:\x20string\x20expected':null!=_0x450f75['createdAt']&&_0x450f75['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x450f75['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x450f75['attributes']&&_0x450f75['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x450f75['attributes'])?'attributes:\x20string\x20expected':null!=_0x450f75['toVersion']&&_0x450f75['hasOwnProperty']('toVersion')&&!_0x43a1d8['isInteger'](_0x450f75['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x450f75['fromVersion']&&_0x450f75['hasOwnProperty']('fromVersion')&&!_0x43a1d8['isInteger'](_0x450f75['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x450f75['isEmptyCurrent']&&_0x450f75['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x450f75['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x328b9f['fromObject']=function(_0x5279f1){if(_0x5279f1 instanceof _0x297356['RevisionHistoryGetRevisionResponse'])return _0x5279f1;var _0x1c68ef=new _0x297356['RevisionHistoryGetRevisionResponse']();return null!=_0x5279f1['revisionId']&&(_0x1c68ef['revisionId']=String(_0x5279f1['revisionId'])),null!=_0x5279f1['name']&&(_0x1c68ef['name']=String(_0x5279f1['name'])),null!=_0x5279f1['creatorId']&&(_0x1c68ef['creatorId']=String(_0x5279f1['creatorId'])),null!=_0x5279f1['authorsIds']&&(_0x1c68ef['authorsIds']=String(_0x5279f1['authorsIds'])),null!=_0x5279f1['diffData']&&(_0x1c68ef['diffData']=String(_0x5279f1['diffData'])),null!=_0x5279f1['createdAt']&&(_0x1c68ef['createdAt']=String(_0x5279f1['createdAt'])),null!=_0x5279f1['attributes']&&(_0x1c68ef['attributes']=String(_0x5279f1['attributes'])),null!=_0x5279f1['toVersion']&&(_0x1c68ef['toVersion']=_0x5279f1['toVersion']>>>0x0),null!=_0x5279f1['fromVersion']&&(_0x1c68ef['fromVersion']=_0x5279f1['fromVersion']>>>0x0),null!=_0x5279f1['isEmptyCurrent']&&(_0x1c68ef['isEmptyCurrent']=Boolean(_0x5279f1['isEmptyCurrent'])),_0x1c68ef;},_0x328b9f['toObject']=function(_0x689c9f,_0x357bf8){_0x357bf8||(_0x357bf8={});var _0x1865e2={};return _0x357bf8['defaults']&&(_0x1865e2['revisionId']='',_0x1865e2['name']='',_0x1865e2['creatorId']='',_0x1865e2['authorsIds']='',_0x1865e2['diffData']='',_0x1865e2['createdAt']='',_0x1865e2['attributes']='',_0x1865e2['toVersion']=0x0,_0x1865e2['fromVersion']=0x0,_0x1865e2['isEmptyCurrent']=!0x1),null!=_0x689c9f['revisionId']&&_0x689c9f['hasOwnProperty']('revisionId')&&(_0x1865e2['revisionId']=_0x689c9f['revisionId']),null!=_0x689c9f['name']&&_0x689c9f['hasOwnProperty']('name')&&(_0x1865e2['name']=_0x689c9f['name']),null!=_0x689c9f['creatorId']&&_0x689c9f['hasOwnProperty']('creatorId')&&(_0x1865e2['creatorId']=_0x689c9f['creatorId']),null!=_0x689c9f['authorsIds']&&_0x689c9f['hasOwnProperty']('authorsIds')&&(_0x1865e2['authorsIds']=_0x689c9f['authorsIds']),null!=_0x689c9f['diffData']&&_0x689c9f['hasOwnProperty']('diffData')&&(_0x1865e2['diffData']=_0x689c9f['diffData']),null!=_0x689c9f['createdAt']&&_0x689c9f['hasOwnProperty']('createdAt')&&(_0x1865e2['createdAt']=_0x689c9f['createdAt']),null!=_0x689c9f['attributes']&&_0x689c9f['hasOwnProperty']('attributes')&&(_0x1865e2['attributes']=_0x689c9f['attributes']),null!=_0x689c9f['toVersion']&&_0x689c9f['hasOwnProperty']('toVersion')&&(_0x1865e2['toVersion']=_0x689c9f['toVersion']),null!=_0x689c9f['fromVersion']&&_0x689c9f['hasOwnProperty']('fromVersion')&&(_0x1865e2['fromVersion']=_0x689c9f['fromVersion']),null!=_0x689c9f['isEmptyCurrent']&&_0x689c9f['hasOwnProperty']('isEmptyCurrent')&&(_0x1865e2['isEmptyCurrent']=_0x689c9f['isEmptyCurrent']),_0x1865e2;},_0x328b9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x328b9f['getTypeUrl']=function(_0x41e86d){return void 0x0===_0x41e86d&&(_0x41e86d='type.googleapis.com'),_0x41e86d+'/RevisionHistoryGetRevisionResponse';},_0x328b9f;}()),_0x297356['RevisionHistoryConnectResponse']=(function(){function _0x1136e2(_0x458803){if(this['revisions']=[],_0x458803){for(var _0x1b023e=Object['keys'](_0x458803),_0x2fa901=0x0;_0x2fa901<_0x1b023e['length'];++_0x2fa901)null!=_0x458803[_0x1b023e[_0x2fa901]]&&(this[_0x1b023e[_0x2fa901]]=_0x458803[_0x1b023e[_0x2fa901]]);}}return _0x1136e2['prototype']['channel']='',_0x1136e2['prototype']['requestId']=0x0,_0x1136e2['prototype']['revisions']=_0x43a1d8['emptyArray'],_0x1136e2['create']=function(_0x4856e2){return new _0x1136e2(_0x4856e2);},_0x1136e2['encode']=function(_0x5afe54,_0x53c824){if(_0x53c824||(_0x53c824=_0x102edc['create']()),null!=_0x5afe54['channel']&&Object['hasOwnProperty']['call'](_0x5afe54,'channel')&&_0x53c824['uint32'](0xa)['string'](_0x5afe54['channel']),null!=_0x5afe54['requestId']&&Object['hasOwnProperty']['call'](_0x5afe54,'requestId')&&_0x53c824['uint32'](0x10)['uint32'](_0x5afe54['requestId']),null!=_0x5afe54['revisions']&&_0x5afe54['revisions']['length']){for(var _0x33d72d=0x0;_0x33d72d<_0x5afe54['revisions']['length'];++_0x33d72d)_0x297356['RevisionDescriptor']['encode'](_0x5afe54['revisions'][_0x33d72d],_0x53c824['uint32'](0x1a)['fork']())['ldelim']();}return _0x53c824;},_0x1136e2['encodeDelimited']=function(_0x3025f9,_0x1f53ca){return this['encode'](_0x3025f9,_0x1f53ca)['ldelim']();},_0x1136e2['decode']=function(_0x2268b6,_0x1d26be,_0x130c69){_0x2268b6 instanceof _0x185f42||(_0x2268b6=_0x185f42['create'](_0x2268b6));for(var _0x3bc7d5=void 0x0===_0x1d26be?_0x2268b6['len']:_0x2268b6['pos']+_0x1d26be,_0x4effc1=new _0x297356['RevisionHistoryConnectResponse']();_0x2268b6['pos']<_0x3bc7d5;){var _0x71eddc=_0x2268b6['uint32']();if(_0x71eddc===_0x130c69)break;switch(_0x71eddc>>>0x3){case 0x1:_0x4effc1['channel']=_0x2268b6['string']();break;case 0x2:_0x4effc1['requestId']=_0x2268b6['uint32']();break;case 0x3:_0x4effc1['revisions']&&_0x4effc1['revisions']['length']||(_0x4effc1['revisions']=[]),_0x4effc1['revisions']['push'](_0x297356['RevisionDescriptor']['decode'](_0x2268b6,_0x2268b6['uint32']()));break;default:_0x2268b6['skipType'](0x7&_0x71eddc);}}return _0x4effc1;},_0x1136e2['decodeDelimited']=function(_0x2c7b18){return _0x2c7b18 instanceof _0x185f42||(_0x2c7b18=new _0x185f42(_0x2c7b18)),this['decode'](_0x2c7b18,_0x2c7b18['uint32']());},_0x1136e2['verify']=function(_0x5b4275){if('object'!=typeof _0x5b4275||null===_0x5b4275)return'object\x20expected';if(null!=_0x5b4275['channel']&&_0x5b4275['hasOwnProperty']('channel')&&!_0x43a1d8['isString'](_0x5b4275['channel']))return'channel:\x20string\x20expected';if(null!=_0x5b4275['requestId']&&_0x5b4275['hasOwnProperty']('requestId')&&!_0x43a1d8['isInteger'](_0x5b4275['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5b4275['revisions']&&_0x5b4275['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x5b4275['revisions']))return'revisions:\x20array\x20expected';for(var _0x335d3b=0x0;_0x335d3b<_0x5b4275['revisions']['length'];++_0x335d3b){var _0x8f6483=_0x297356['RevisionDescriptor']['verify'](_0x5b4275['revisions'][_0x335d3b]);if(_0x8f6483)return'revisions.'+_0x8f6483;}}return null;},_0x1136e2['fromObject']=function(_0x2f973e){if(_0x2f973e instanceof _0x297356['RevisionHistoryConnectResponse'])return _0x2f973e;var _0x44fbb1=new _0x297356['RevisionHistoryConnectResponse']();if(null!=_0x2f973e['channel']&&(_0x44fbb1['channel']=String(_0x2f973e['channel'])),null!=_0x2f973e['requestId']&&(_0x44fbb1['requestId']=_0x2f973e['requestId']>>>0x0),_0x2f973e['revisions']){if(!Array['isArray'](_0x2f973e['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x44fbb1['revisions']=[];for(var _0x2eb326=0x0;_0x2eb326<_0x2f973e['revisions']['length'];++_0x2eb326){if('object'!=typeof _0x2f973e['revisions'][_0x2eb326])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x44fbb1['revisions'][_0x2eb326]=_0x297356['RevisionDescriptor']['fromObject'](_0x2f973e['revisions'][_0x2eb326]);}}return _0x44fbb1;},_0x1136e2['toObject']=function(_0xfdf320,_0x2febfc){_0x2febfc||(_0x2febfc={});var _0x2f4865={};if((_0x2febfc['arrays']||_0x2febfc['defaults'])&&(_0x2f4865['revisions']=[]),_0x2febfc['defaults']&&(_0x2f4865['channel']='',_0x2f4865['requestId']=0x0),null!=_0xfdf320['channel']&&_0xfdf320['hasOwnProperty']('channel')&&(_0x2f4865['channel']=_0xfdf320['channel']),null!=_0xfdf320['requestId']&&_0xfdf320['hasOwnProperty']('requestId')&&(_0x2f4865['requestId']=_0xfdf320['requestId']),_0xfdf320['revisions']&&_0xfdf320['revisions']['length']){_0x2f4865['revisions']=[];for(var _0x4559a7=0x0;_0x4559a7<_0xfdf320['revisions']['length'];++_0x4559a7)_0x2f4865['revisions'][_0x4559a7]=_0x297356['RevisionDescriptor']['toObject'](_0xfdf320['revisions'][_0x4559a7],_0x2febfc);}return _0x2f4865;},_0x1136e2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1136e2['getTypeUrl']=function(_0x2c4792){return void 0x0===_0x2c4792&&(_0x2c4792='type.googleapis.com'),_0x2c4792+'/RevisionHistoryConnectResponse';},_0x1136e2;}()),_0x297356['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x38ce5d(_0x253bcc){if(this['revisions']=[],_0x253bcc){for(var _0x4b02a5=Object['keys'](_0x253bcc),_0x484d4f=0x0;_0x484d4f<_0x4b02a5['length'];++_0x484d4f)null!=_0x253bcc[_0x4b02a5[_0x484d4f]]&&(this[_0x4b02a5[_0x484d4f]]=_0x253bcc[_0x4b02a5[_0x484d4f]]);}}return _0x38ce5d['prototype']['documentId']='',_0x38ce5d['prototype']['requestId']=0x0,_0x38ce5d['prototype']['revisions']=_0x43a1d8['emptyArray'],_0x38ce5d['create']=function(_0x3855b1){return new _0x38ce5d(_0x3855b1);},_0x38ce5d['encode']=function(_0x9822ff,_0x1b4fff){if(_0x1b4fff||(_0x1b4fff=_0x102edc['create']()),null!=_0x9822ff['documentId']&&Object['hasOwnProperty']['call'](_0x9822ff,'documentId')&&_0x1b4fff['uint32'](0xa)['string'](_0x9822ff['documentId']),null!=_0x9822ff['requestId']&&Object['hasOwnProperty']['call'](_0x9822ff,'requestId')&&_0x1b4fff['uint32'](0x10)['uint32'](_0x9822ff['requestId']),null!=_0x9822ff['revisions']&&_0x9822ff['revisions']['length']){for(var _0x21e10b=0x0;_0x21e10b<_0x9822ff['revisions']['length'];++_0x21e10b)_0x297356['RevisionDescriptor']['encode'](_0x9822ff['revisions'][_0x21e10b],_0x1b4fff['uint32'](0x1a)['fork']())['ldelim']();}return _0x1b4fff;},_0x38ce5d['encodeDelimited']=function(_0x9371eb,_0x3c6571){return this['encode'](_0x9371eb,_0x3c6571)['ldelim']();},_0x38ce5d['decode']=function(_0x1bb251,_0x16cd1c,_0x350c10){_0x1bb251 instanceof _0x185f42||(_0x1bb251=_0x185f42['create'](_0x1bb251));for(var _0x3fae47=void 0x0===_0x16cd1c?_0x1bb251['len']:_0x1bb251['pos']+_0x16cd1c,_0x2a7c94=new _0x297356['RevisionHistoryUpdateRevisionsMessage']();_0x1bb251['pos']<_0x3fae47;){var _0x5490cb=_0x1bb251['uint32']();if(_0x5490cb===_0x350c10)break;switch(_0x5490cb>>>0x3){case 0x1:_0x2a7c94['documentId']=_0x1bb251['string']();break;case 0x2:_0x2a7c94['requestId']=_0x1bb251['uint32']();break;case 0x3:_0x2a7c94['revisions']&&_0x2a7c94['revisions']['length']||(_0x2a7c94['revisions']=[]),_0x2a7c94['revisions']['push'](_0x297356['RevisionDescriptor']['decode'](_0x1bb251,_0x1bb251['uint32']()));break;default:_0x1bb251['skipType'](0x7&_0x5490cb);}}return _0x2a7c94;},_0x38ce5d['decodeDelimited']=function(_0x495fcd){return _0x495fcd instanceof _0x185f42||(_0x495fcd=new _0x185f42(_0x495fcd)),this['decode'](_0x495fcd,_0x495fcd['uint32']());},_0x38ce5d['verify']=function(_0x2a4804){if('object'!=typeof _0x2a4804||null===_0x2a4804)return'object\x20expected';if(null!=_0x2a4804['documentId']&&_0x2a4804['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x2a4804['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2a4804['requestId']&&_0x2a4804['hasOwnProperty']('requestId')&&!_0x43a1d8['isInteger'](_0x2a4804['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x2a4804['revisions']&&_0x2a4804['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x2a4804['revisions']))return'revisions:\x20array\x20expected';for(var _0x2ff7e5=0x0;_0x2ff7e5<_0x2a4804['revisions']['length'];++_0x2ff7e5){var _0x260ff6=_0x297356['RevisionDescriptor']['verify'](_0x2a4804['revisions'][_0x2ff7e5]);if(_0x260ff6)return'revisions.'+_0x260ff6;}}return null;},_0x38ce5d['fromObject']=function(_0x20cf1d){if(_0x20cf1d instanceof _0x297356['RevisionHistoryUpdateRevisionsMessage'])return _0x20cf1d;var _0x2277da=new _0x297356['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x20cf1d['documentId']&&(_0x2277da['documentId']=String(_0x20cf1d['documentId'])),null!=_0x20cf1d['requestId']&&(_0x2277da['requestId']=_0x20cf1d['requestId']>>>0x0),_0x20cf1d['revisions']){if(!Array['isArray'](_0x20cf1d['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x2277da['revisions']=[];for(var _0x4d195c=0x0;_0x4d195c<_0x20cf1d['revisions']['length'];++_0x4d195c){if('object'!=typeof _0x20cf1d['revisions'][_0x4d195c])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x2277da['revisions'][_0x4d195c]=_0x297356['RevisionDescriptor']['fromObject'](_0x20cf1d['revisions'][_0x4d195c]);}}return _0x2277da;},_0x38ce5d['toObject']=function(_0x4f54ba,_0x1d44e5){_0x1d44e5||(_0x1d44e5={});var _0x1821b6={};if((_0x1d44e5['arrays']||_0x1d44e5['defaults'])&&(_0x1821b6['revisions']=[]),_0x1d44e5['defaults']&&(_0x1821b6['documentId']='',_0x1821b6['requestId']=0x0),null!=_0x4f54ba['documentId']&&_0x4f54ba['hasOwnProperty']('documentId')&&(_0x1821b6['documentId']=_0x4f54ba['documentId']),null!=_0x4f54ba['requestId']&&_0x4f54ba['hasOwnProperty']('requestId')&&(_0x1821b6['requestId']=_0x4f54ba['requestId']),_0x4f54ba['revisions']&&_0x4f54ba['revisions']['length']){_0x1821b6['revisions']=[];for(var _0x12e527=0x0;_0x12e527<_0x4f54ba['revisions']['length'];++_0x12e527)_0x1821b6['revisions'][_0x12e527]=_0x297356['RevisionDescriptor']['toObject'](_0x4f54ba['revisions'][_0x12e527],_0x1d44e5);}return _0x1821b6;},_0x38ce5d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x38ce5d['getTypeUrl']=function(_0x43f4c0){return void 0x0===_0x43f4c0&&(_0x43f4c0='type.googleapis.com'),_0x43f4c0+'/RevisionHistoryUpdateRevisionsMessage';},_0x38ce5d;}()),_0x297356['RevisionHistoryReconnectMessage']=(function(){function _0x1cfb5c(_0x18cbfe){if(_0x18cbfe){for(var _0x3f5286=Object['keys'](_0x18cbfe),_0x1cb67d=0x0;_0x1cb67d<_0x3f5286['length'];++_0x1cb67d)null!=_0x18cbfe[_0x3f5286[_0x1cb67d]]&&(this[_0x3f5286[_0x1cb67d]]=_0x18cbfe[_0x3f5286[_0x1cb67d]]);}}return _0x1cfb5c['prototype']['documentId']='',_0x1cfb5c['prototype']['requestId']=0x0,_0x1cfb5c['create']=function(_0x349480){return new _0x1cfb5c(_0x349480);},_0x1cfb5c['encode']=function(_0xdf27f0,_0x4276db){return _0x4276db||(_0x4276db=_0x102edc['create']()),null!=_0xdf27f0['documentId']&&Object['hasOwnProperty']['call'](_0xdf27f0,'documentId')&&_0x4276db['uint32'](0xa)['string'](_0xdf27f0['documentId']),null!=_0xdf27f0['requestId']&&Object['hasOwnProperty']['call'](_0xdf27f0,'requestId')&&_0x4276db['uint32'](0x10)['uint32'](_0xdf27f0['requestId']),_0x4276db;},_0x1cfb5c['encodeDelimited']=function(_0x4d58f7,_0x554c06){return this['encode'](_0x4d58f7,_0x554c06)['ldelim']();},_0x1cfb5c['decode']=function(_0x35134d,_0x170bb7,_0x52621f){_0x35134d instanceof _0x185f42||(_0x35134d=_0x185f42['create'](_0x35134d));for(var _0x406def=void 0x0===_0x170bb7?_0x35134d['len']:_0x35134d['pos']+_0x170bb7,_0x357917=new _0x297356['RevisionHistoryReconnectMessage']();_0x35134d['pos']<_0x406def;){var _0x54c8f3=_0x35134d['uint32']();if(_0x54c8f3===_0x52621f)break;switch(_0x54c8f3>>>0x3){case 0x1:_0x357917['documentId']=_0x35134d['string']();break;case 0x2:_0x357917['requestId']=_0x35134d['uint32']();break;default:_0x35134d['skipType'](0x7&_0x54c8f3);}}return _0x357917;},_0x1cfb5c['decodeDelimited']=function(_0x9487e){return _0x9487e instanceof _0x185f42||(_0x9487e=new _0x185f42(_0x9487e)),this['decode'](_0x9487e,_0x9487e['uint32']());},_0x1cfb5c['verify']=function(_0x204e4c){return'object'!=typeof _0x204e4c||null===_0x204e4c?'object\x20expected':null!=_0x204e4c['documentId']&&_0x204e4c['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x204e4c['documentId'])?'documentId:\x20string\x20expected':null!=_0x204e4c['requestId']&&_0x204e4c['hasOwnProperty']('requestId')&&!_0x43a1d8['isInteger'](_0x204e4c['requestId'])?'requestId:\x20integer\x20expected':null;},_0x1cfb5c['fromObject']=function(_0x343b62){if(_0x343b62 instanceof _0x297356['RevisionHistoryReconnectMessage'])return _0x343b62;var _0x27e989=new _0x297356['RevisionHistoryReconnectMessage']();return null!=_0x343b62['documentId']&&(_0x27e989['documentId']=String(_0x343b62['documentId'])),null!=_0x343b62['requestId']&&(_0x27e989['requestId']=_0x343b62['requestId']>>>0x0),_0x27e989;},_0x1cfb5c['toObject']=function(_0x3f3ee9,_0x30bff2){_0x30bff2||(_0x30bff2={});var _0x803af4={};return _0x30bff2['defaults']&&(_0x803af4['documentId']='',_0x803af4['requestId']=0x0),null!=_0x3f3ee9['documentId']&&_0x3f3ee9['hasOwnProperty']('documentId')&&(_0x803af4['documentId']=_0x3f3ee9['documentId']),null!=_0x3f3ee9['requestId']&&_0x3f3ee9['hasOwnProperty']('requestId')&&(_0x803af4['requestId']=_0x3f3ee9['requestId']),_0x803af4;},_0x1cfb5c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1cfb5c['getTypeUrl']=function(_0x43b357){return void 0x0===_0x43b357&&(_0x43b357='type.googleapis.com'),_0x43b357+'/RevisionHistoryReconnectMessage';},_0x1cfb5c;}()),_0x297356['RevisionHistoryGetRevisionMessage']=(function(){function _0x2f3f4b(_0xdc20b9){if(_0xdc20b9){for(var _0x20531e=Object['keys'](_0xdc20b9),_0x3c39e8=0x0;_0x3c39e8<_0x20531e['length'];++_0x3c39e8)null!=_0xdc20b9[_0x20531e[_0x3c39e8]]&&(this[_0x20531e[_0x3c39e8]]=_0xdc20b9[_0x20531e[_0x3c39e8]]);}}return _0x2f3f4b['prototype']['documentId']='',_0x2f3f4b['prototype']['revisionId']='',_0x2f3f4b['create']=function(_0x5deae6){return new _0x2f3f4b(_0x5deae6);},_0x2f3f4b['encode']=function(_0x4694fc,_0x5c3a99){return _0x5c3a99||(_0x5c3a99=_0x102edc['create']()),null!=_0x4694fc['documentId']&&Object['hasOwnProperty']['call'](_0x4694fc,'documentId')&&_0x5c3a99['uint32'](0xa)['string'](_0x4694fc['documentId']),null!=_0x4694fc['revisionId']&&Object['hasOwnProperty']['call'](_0x4694fc,'revisionId')&&_0x5c3a99['uint32'](0x12)['string'](_0x4694fc['revisionId']),_0x5c3a99;},_0x2f3f4b['encodeDelimited']=function(_0x469b29,_0x162cb5){return this['encode'](_0x469b29,_0x162cb5)['ldelim']();},_0x2f3f4b['decode']=function(_0x186e90,_0x11ca38,_0x1a196d){_0x186e90 instanceof _0x185f42||(_0x186e90=_0x185f42['create'](_0x186e90));for(var _0x27bcc0=void 0x0===_0x11ca38?_0x186e90['len']:_0x186e90['pos']+_0x11ca38,_0x8e0863=new _0x297356['RevisionHistoryGetRevisionMessage']();_0x186e90['pos']<_0x27bcc0;){var _0x54cfa5=_0x186e90['uint32']();if(_0x54cfa5===_0x1a196d)break;switch(_0x54cfa5>>>0x3){case 0x1:_0x8e0863['documentId']=_0x186e90['string']();break;case 0x2:_0x8e0863['revisionId']=_0x186e90['string']();break;default:_0x186e90['skipType'](0x7&_0x54cfa5);}}return _0x8e0863;},_0x2f3f4b['decodeDelimited']=function(_0x16aa12){return _0x16aa12 instanceof _0x185f42||(_0x16aa12=new _0x185f42(_0x16aa12)),this['decode'](_0x16aa12,_0x16aa12['uint32']());},_0x2f3f4b['verify']=function(_0x2a3379){return'object'!=typeof _0x2a3379||null===_0x2a3379?'object\x20expected':null!=_0x2a3379['documentId']&&_0x2a3379['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x2a3379['documentId'])?'documentId:\x20string\x20expected':null!=_0x2a3379['revisionId']&&_0x2a3379['hasOwnProperty']('revisionId')&&!_0x43a1d8['isString'](_0x2a3379['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x2f3f4b['fromObject']=function(_0x1310f9){if(_0x1310f9 instanceof _0x297356['RevisionHistoryGetRevisionMessage'])return _0x1310f9;var _0x21b7a7=new _0x297356['RevisionHistoryGetRevisionMessage']();return null!=_0x1310f9['documentId']&&(_0x21b7a7['documentId']=String(_0x1310f9['documentId'])),null!=_0x1310f9['revisionId']&&(_0x21b7a7['revisionId']=String(_0x1310f9['revisionId'])),_0x21b7a7;},_0x2f3f4b['toObject']=function(_0x260e7e,_0x399642){_0x399642||(_0x399642={});var _0x456601={};return _0x399642['defaults']&&(_0x456601['documentId']='',_0x456601['revisionId']=''),null!=_0x260e7e['documentId']&&_0x260e7e['hasOwnProperty']('documentId')&&(_0x456601['documentId']=_0x260e7e['documentId']),null!=_0x260e7e['revisionId']&&_0x260e7e['hasOwnProperty']('revisionId')&&(_0x456601['revisionId']=_0x260e7e['revisionId']),_0x456601;},_0x2f3f4b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2f3f4b['getTypeUrl']=function(_0x41fce2){return void 0x0===_0x41fce2&&(_0x41fce2='type.googleapis.com'),_0x41fce2+'/RevisionHistoryGetRevisionMessage';},_0x2f3f4b;}()),_0x297356['RevisionHistoryConnectMessage']=(function(){function _0x375d48(_0xb578fd){if(_0xb578fd){for(var _0x41ae7f=Object['keys'](_0xb578fd),_0x493cc5=0x0;_0x493cc5<_0x41ae7f['length'];++_0x493cc5)null!=_0xb578fd[_0x41ae7f[_0x493cc5]]&&(this[_0x41ae7f[_0x493cc5]]=_0xb578fd[_0x41ae7f[_0x493cc5]]);}}return _0x375d48['prototype']['documentId']='',_0x375d48['create']=function(_0x4cebe0){return new _0x375d48(_0x4cebe0);},_0x375d48['encode']=function(_0x20aa77,_0x263771){return _0x263771||(_0x263771=_0x102edc['create']()),null!=_0x20aa77['documentId']&&Object['hasOwnProperty']['call'](_0x20aa77,'documentId')&&_0x263771['uint32'](0xa)['string'](_0x20aa77['documentId']),_0x263771;},_0x375d48['encodeDelimited']=function(_0x352e97,_0x57d29f){return this['encode'](_0x352e97,_0x57d29f)['ldelim']();},_0x375d48['decode']=function(_0x574a2d,_0x1c1b27,_0x5f38e4){_0x574a2d instanceof _0x185f42||(_0x574a2d=_0x185f42['create'](_0x574a2d));for(var _0x1c8f74=void 0x0===_0x1c1b27?_0x574a2d['len']:_0x574a2d['pos']+_0x1c1b27,_0x1b22dc=new _0x297356['RevisionHistoryConnectMessage']();_0x574a2d['pos']<_0x1c8f74;){var _0x47809d=_0x574a2d['uint32']();if(_0x47809d===_0x5f38e4)break;_0x47809d>>>0x3==0x1?_0x1b22dc['documentId']=_0x574a2d['string']():_0x574a2d['skipType'](0x7&_0x47809d);}return _0x1b22dc;},_0x375d48['decodeDelimited']=function(_0x41de25){return _0x41de25 instanceof _0x185f42||(_0x41de25=new _0x185f42(_0x41de25)),this['decode'](_0x41de25,_0x41de25['uint32']());},_0x375d48['verify']=function(_0x25e8e5){return'object'!=typeof _0x25e8e5||null===_0x25e8e5?'object\x20expected':null!=_0x25e8e5['documentId']&&_0x25e8e5['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x25e8e5['documentId'])?'documentId:\x20string\x20expected':null;},_0x375d48['fromObject']=function(_0x385d3e){if(_0x385d3e instanceof _0x297356['RevisionHistoryConnectMessage'])return _0x385d3e;var _0x4d2cca=new _0x297356['RevisionHistoryConnectMessage']();return null!=_0x385d3e['documentId']&&(_0x4d2cca['documentId']=String(_0x385d3e['documentId'])),_0x4d2cca;},_0x375d48['toObject']=function(_0x55d983,_0x4d9af6){_0x4d9af6||(_0x4d9af6={});var _0x3e2e67={};return _0x4d9af6['defaults']&&(_0x3e2e67['documentId']=''),null!=_0x55d983['documentId']&&_0x55d983['hasOwnProperty']('documentId')&&(_0x3e2e67['documentId']=_0x55d983['documentId']),_0x3e2e67;},_0x375d48['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x375d48['getTypeUrl']=function(_0xf51ea1){return void 0x0===_0xf51ea1&&(_0xf51ea1='type.googleapis.com'),_0xf51ea1+'/RevisionHistoryConnectMessage';},_0x375d48;}()),_0x297356['RevisionDescriptor']=(function(){function _0x158df1(_0x1c6959){if(_0x1c6959){for(var _0x84d66=Object['keys'](_0x1c6959),_0x437f91=0x0;_0x437f91<_0x84d66['length'];++_0x437f91)null!=_0x1c6959[_0x84d66[_0x437f91]]&&(this[_0x84d66[_0x437f91]]=_0x1c6959[_0x84d66[_0x437f91]]);}}return _0x158df1['prototype']['revisionId']='',_0x158df1['prototype']['name']='',_0x158df1['prototype']['creatorId']='',_0x158df1['prototype']['authorsIds']='',_0x158df1['prototype']['diffData']='',_0x158df1['prototype']['createdAt']='',_0x158df1['prototype']['attributes']='',_0x158df1['prototype']['toVersion']=0x0,_0x158df1['prototype']['fromVersion']=0x0,_0x158df1['prototype']['isEmptyCurrent']=!0x1,_0x158df1['create']=function(_0x406257){return new _0x158df1(_0x406257);},_0x158df1['encode']=function(_0x5ae71e,_0x1fcf15){return _0x1fcf15||(_0x1fcf15=_0x102edc['create']()),null!=_0x5ae71e['revisionId']&&Object['hasOwnProperty']['call'](_0x5ae71e,'revisionId')&&_0x1fcf15['uint32'](0xa)['string'](_0x5ae71e['revisionId']),null!=_0x5ae71e['name']&&Object['hasOwnProperty']['call'](_0x5ae71e,'name')&&_0x1fcf15['uint32'](0x12)['string'](_0x5ae71e['name']),null!=_0x5ae71e['creatorId']&&Object['hasOwnProperty']['call'](_0x5ae71e,'creatorId')&&_0x1fcf15['uint32'](0x1a)['string'](_0x5ae71e['creatorId']),null!=_0x5ae71e['authorsIds']&&Object['hasOwnProperty']['call'](_0x5ae71e,'authorsIds')&&_0x1fcf15['uint32'](0x22)['string'](_0x5ae71e['authorsIds']),null!=_0x5ae71e['diffData']&&Object['hasOwnProperty']['call'](_0x5ae71e,'diffData')&&_0x1fcf15['uint32'](0x2a)['string'](_0x5ae71e['diffData']),null!=_0x5ae71e['createdAt']&&Object['hasOwnProperty']['call'](_0x5ae71e,'createdAt')&&_0x1fcf15['uint32'](0x32)['string'](_0x5ae71e['createdAt']),null!=_0x5ae71e['attributes']&&Object['hasOwnProperty']['call'](_0x5ae71e,'attributes')&&_0x1fcf15['uint32'](0x3a)['string'](_0x5ae71e['attributes']),null!=_0x5ae71e['toVersion']&&Object['hasOwnProperty']['call'](_0x5ae71e,'toVersion')&&_0x1fcf15['uint32'](0x40)['uint32'](_0x5ae71e['toVersion']),null!=_0x5ae71e['fromVersion']&&Object['hasOwnProperty']['call'](_0x5ae71e,'fromVersion')&&_0x1fcf15['uint32'](0x48)['uint32'](_0x5ae71e['fromVersion']),null!=_0x5ae71e['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x5ae71e,'isEmptyCurrent')&&_0x1fcf15['uint32'](0x50)['bool'](_0x5ae71e['isEmptyCurrent']),_0x1fcf15;},_0x158df1['encodeDelimited']=function(_0x132794,_0x43ddd0){return this['encode'](_0x132794,_0x43ddd0)['ldelim']();},_0x158df1['decode']=function(_0x3f6a87,_0x5ad5a2,_0x53e50a){_0x3f6a87 instanceof _0x185f42||(_0x3f6a87=_0x185f42['create'](_0x3f6a87));for(var _0x2b45d5=void 0x0===_0x5ad5a2?_0x3f6a87['len']:_0x3f6a87['pos']+_0x5ad5a2,_0x5169c3=new _0x297356['RevisionDescriptor']();_0x3f6a87['pos']<_0x2b45d5;){var _0x1c4440=_0x3f6a87['uint32']();if(_0x1c4440===_0x53e50a)break;switch(_0x1c4440>>>0x3){case 0x1:_0x5169c3['revisionId']=_0x3f6a87['string']();break;case 0x2:_0x5169c3['name']=_0x3f6a87['string']();break;case 0x3:_0x5169c3['creatorId']=_0x3f6a87['string']();break;case 0x4:_0x5169c3['authorsIds']=_0x3f6a87['string']();break;case 0x5:_0x5169c3['diffData']=_0x3f6a87['string']();break;case 0x6:_0x5169c3['createdAt']=_0x3f6a87['string']();break;case 0x7:_0x5169c3['attributes']=_0x3f6a87['string']();break;case 0x8:_0x5169c3['toVersion']=_0x3f6a87['uint32']();break;case 0x9:_0x5169c3['fromVersion']=_0x3f6a87['uint32']();break;case 0xa:_0x5169c3['isEmptyCurrent']=_0x3f6a87['bool']();break;default:_0x3f6a87['skipType'](0x7&_0x1c4440);}}return _0x5169c3;},_0x158df1['decodeDelimited']=function(_0x2eae6e){return _0x2eae6e instanceof _0x185f42||(_0x2eae6e=new _0x185f42(_0x2eae6e)),this['decode'](_0x2eae6e,_0x2eae6e['uint32']());},_0x158df1['verify']=function(_0x52c33f){return'object'!=typeof _0x52c33f||null===_0x52c33f?'object\x20expected':null!=_0x52c33f['revisionId']&&_0x52c33f['hasOwnProperty']('revisionId')&&!_0x43a1d8['isString'](_0x52c33f['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x52c33f['name']&&_0x52c33f['hasOwnProperty']('name')&&!_0x43a1d8['isString'](_0x52c33f['name'])?'name:\x20string\x20expected':null!=_0x52c33f['creatorId']&&_0x52c33f['hasOwnProperty']('creatorId')&&!_0x43a1d8['isString'](_0x52c33f['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x52c33f['authorsIds']&&_0x52c33f['hasOwnProperty']('authorsIds')&&!_0x43a1d8['isString'](_0x52c33f['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x52c33f['diffData']&&_0x52c33f['hasOwnProperty']('diffData')&&!_0x43a1d8['isString'](_0x52c33f['diffData'])?'diffData:\x20string\x20expected':null!=_0x52c33f['createdAt']&&_0x52c33f['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x52c33f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x52c33f['attributes']&&_0x52c33f['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x52c33f['attributes'])?'attributes:\x20string\x20expected':null!=_0x52c33f['toVersion']&&_0x52c33f['hasOwnProperty']('toVersion')&&!_0x43a1d8['isInteger'](_0x52c33f['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x52c33f['fromVersion']&&_0x52c33f['hasOwnProperty']('fromVersion')&&!_0x43a1d8['isInteger'](_0x52c33f['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x52c33f['isEmptyCurrent']&&_0x52c33f['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x52c33f['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x158df1['fromObject']=function(_0x42f760){if(_0x42f760 instanceof _0x297356['RevisionDescriptor'])return _0x42f760;var _0x9667ff=new _0x297356['RevisionDescriptor']();return null!=_0x42f760['revisionId']&&(_0x9667ff['revisionId']=String(_0x42f760['revisionId'])),null!=_0x42f760['name']&&(_0x9667ff['name']=String(_0x42f760['name'])),null!=_0x42f760['creatorId']&&(_0x9667ff['creatorId']=String(_0x42f760['creatorId'])),null!=_0x42f760['authorsIds']&&(_0x9667ff['authorsIds']=String(_0x42f760['authorsIds'])),null!=_0x42f760['diffData']&&(_0x9667ff['diffData']=String(_0x42f760['diffData'])),null!=_0x42f760['createdAt']&&(_0x9667ff['createdAt']=String(_0x42f760['createdAt'])),null!=_0x42f760['attributes']&&(_0x9667ff['attributes']=String(_0x42f760['attributes'])),null!=_0x42f760['toVersion']&&(_0x9667ff['toVersion']=_0x42f760['toVersion']>>>0x0),null!=_0x42f760['fromVersion']&&(_0x9667ff['fromVersion']=_0x42f760['fromVersion']>>>0x0),null!=_0x42f760['isEmptyCurrent']&&(_0x9667ff['isEmptyCurrent']=Boolean(_0x42f760['isEmptyCurrent'])),_0x9667ff;},_0x158df1['toObject']=function(_0x482a6b,_0x596df9){_0x596df9||(_0x596df9={});var _0x1cc225={};return _0x596df9['defaults']&&(_0x1cc225['revisionId']='',_0x1cc225['name']='',_0x1cc225['creatorId']='',_0x1cc225['authorsIds']='',_0x1cc225['diffData']='',_0x1cc225['createdAt']='',_0x1cc225['attributes']='',_0x1cc225['toVersion']=0x0,_0x1cc225['fromVersion']=0x0,_0x1cc225['isEmptyCurrent']=!0x1),null!=_0x482a6b['revisionId']&&_0x482a6b['hasOwnProperty']('revisionId')&&(_0x1cc225['revisionId']=_0x482a6b['revisionId']),null!=_0x482a6b['name']&&_0x482a6b['hasOwnProperty']('name')&&(_0x1cc225['name']=_0x482a6b['name']),null!=_0x482a6b['creatorId']&&_0x482a6b['hasOwnProperty']('creatorId')&&(_0x1cc225['creatorId']=_0x482a6b['creatorId']),null!=_0x482a6b['authorsIds']&&_0x482a6b['hasOwnProperty']('authorsIds')&&(_0x1cc225['authorsIds']=_0x482a6b['authorsIds']),null!=_0x482a6b['diffData']&&_0x482a6b['hasOwnProperty']('diffData')&&(_0x1cc225['diffData']=_0x482a6b['diffData']),null!=_0x482a6b['createdAt']&&_0x482a6b['hasOwnProperty']('createdAt')&&(_0x1cc225['createdAt']=_0x482a6b['createdAt']),null!=_0x482a6b['attributes']&&_0x482a6b['hasOwnProperty']('attributes')&&(_0x1cc225['attributes']=_0x482a6b['attributes']),null!=_0x482a6b['toVersion']&&_0x482a6b['hasOwnProperty']('toVersion')&&(_0x1cc225['toVersion']=_0x482a6b['toVersion']),null!=_0x482a6b['fromVersion']&&_0x482a6b['hasOwnProperty']('fromVersion')&&(_0x1cc225['fromVersion']=_0x482a6b['fromVersion']),null!=_0x482a6b['isEmptyCurrent']&&_0x482a6b['hasOwnProperty']('isEmptyCurrent')&&(_0x1cc225['isEmptyCurrent']=_0x482a6b['isEmptyCurrent']),_0x1cc225;},_0x158df1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x158df1['getTypeUrl']=function(_0x9e940f){return void 0x0===_0x9e940f&&(_0x9e940f='type.googleapis.com'),_0x9e940f+'/RevisionDescriptor';},_0x158df1;}()),_0x297356['IsEditorBundleUploadedResponse']=(function(){function _0xff347(_0x2f17eb){if(_0x2f17eb){for(var _0x20b749=Object['keys'](_0x2f17eb),_0x2abfd9=0x0;_0x2abfd9<_0x20b749['length'];++_0x2abfd9)null!=_0x2f17eb[_0x20b749[_0x2abfd9]]&&(this[_0x20b749[_0x2abfd9]]=_0x2f17eb[_0x20b749[_0x2abfd9]]);}}return _0xff347['prototype']['isUploaded']=!0x1,_0xff347['create']=function(_0x3a576b){return new _0xff347(_0x3a576b);},_0xff347['encode']=function(_0x16ae27,_0x5b4a09){return _0x5b4a09||(_0x5b4a09=_0x102edc['create']()),null!=_0x16ae27['isUploaded']&&Object['hasOwnProperty']['call'](_0x16ae27,'isUploaded')&&_0x5b4a09['uint32'](0x8)['bool'](_0x16ae27['isUploaded']),_0x5b4a09;},_0xff347['encodeDelimited']=function(_0x5cdfc1,_0x5e323e){return this['encode'](_0x5cdfc1,_0x5e323e)['ldelim']();},_0xff347['decode']=function(_0x337ef6,_0x32a57e,_0x3e20b0){_0x337ef6 instanceof _0x185f42||(_0x337ef6=_0x185f42['create'](_0x337ef6));for(var _0x30152e=void 0x0===_0x32a57e?_0x337ef6['len']:_0x337ef6['pos']+_0x32a57e,_0x2cf055=new _0x297356['IsEditorBundleUploadedResponse']();_0x337ef6['pos']<_0x30152e;){var _0x6c1749=_0x337ef6['uint32']();if(_0x6c1749===_0x3e20b0)break;_0x6c1749>>>0x3==0x1?_0x2cf055['isUploaded']=_0x337ef6['bool']():_0x337ef6['skipType'](0x7&_0x6c1749);}return _0x2cf055;},_0xff347['decodeDelimited']=function(_0x2179a4){return _0x2179a4 instanceof _0x185f42||(_0x2179a4=new _0x185f42(_0x2179a4)),this['decode'](_0x2179a4,_0x2179a4['uint32']());},_0xff347['verify']=function(_0x3325cc){return'object'!=typeof _0x3325cc||null===_0x3325cc?'object\x20expected':null!=_0x3325cc['isUploaded']&&_0x3325cc['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x3325cc['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0xff347['fromObject']=function(_0x38f39e){if(_0x38f39e instanceof _0x297356['IsEditorBundleUploadedResponse'])return _0x38f39e;var _0x133ed3=new _0x297356['IsEditorBundleUploadedResponse']();return null!=_0x38f39e['isUploaded']&&(_0x133ed3['isUploaded']=Boolean(_0x38f39e['isUploaded'])),_0x133ed3;},_0xff347['toObject']=function(_0x1c6258,_0x4b79dd){_0x4b79dd||(_0x4b79dd={});var _0x541051={};return _0x4b79dd['defaults']&&(_0x541051['isUploaded']=!0x1),null!=_0x1c6258['isUploaded']&&_0x1c6258['hasOwnProperty']('isUploaded')&&(_0x541051['isUploaded']=_0x1c6258['isUploaded']),_0x541051;},_0xff347['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xff347['getTypeUrl']=function(_0xf4e078){return void 0x0===_0xf4e078&&(_0xf4e078='type.googleapis.com'),_0xf4e078+'/IsEditorBundleUploadedResponse';},_0xff347;}()),_0x297356['IsEditorBundleUploadedMessage']=(function(){function _0x297440(_0x335cfb){if(_0x335cfb){for(var _0x5b7119=Object['keys'](_0x335cfb),_0x448257=0x0;_0x448257<_0x5b7119['length'];++_0x448257)null!=_0x335cfb[_0x5b7119[_0x448257]]&&(this[_0x5b7119[_0x448257]]=_0x335cfb[_0x5b7119[_0x448257]]);}}return _0x297440['prototype']['bundleVersion']='',_0x297440['create']=function(_0x1619b6){return new _0x297440(_0x1619b6);},_0x297440['encode']=function(_0x3805d1,_0x359542){return _0x359542||(_0x359542=_0x102edc['create']()),null!=_0x3805d1['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3805d1,'bundleVersion')&&_0x359542['uint32'](0xa)['string'](_0x3805d1['bundleVersion']),_0x359542;},_0x297440['encodeDelimited']=function(_0x4a7eb0,_0x5f0c22){return this['encode'](_0x4a7eb0,_0x5f0c22)['ldelim']();},_0x297440['decode']=function(_0x2c490a,_0x2f6ac6,_0x267d4b){_0x2c490a instanceof _0x185f42||(_0x2c490a=_0x185f42['create'](_0x2c490a));for(var _0x47e27f=void 0x0===_0x2f6ac6?_0x2c490a['len']:_0x2c490a['pos']+_0x2f6ac6,_0xf893a7=new _0x297356['IsEditorBundleUploadedMessage']();_0x2c490a['pos']<_0x47e27f;){var _0x40c20b=_0x2c490a['uint32']();if(_0x40c20b===_0x267d4b)break;_0x40c20b>>>0x3==0x1?_0xf893a7['bundleVersion']=_0x2c490a['string']():_0x2c490a['skipType'](0x7&_0x40c20b);}return _0xf893a7;},_0x297440['decodeDelimited']=function(_0x231f57){return _0x231f57 instanceof _0x185f42||(_0x231f57=new _0x185f42(_0x231f57)),this['decode'](_0x231f57,_0x231f57['uint32']());},_0x297440['verify']=function(_0x491a4b){return'object'!=typeof _0x491a4b||null===_0x491a4b?'object\x20expected':null!=_0x491a4b['bundleVersion']&&_0x491a4b['hasOwnProperty']('bundleVersion')&&!_0x43a1d8['isString'](_0x491a4b['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x297440['fromObject']=function(_0x14f026){if(_0x14f026 instanceof _0x297356['IsEditorBundleUploadedMessage'])return _0x14f026;var _0x452e67=new _0x297356['IsEditorBundleUploadedMessage']();return null!=_0x14f026['bundleVersion']&&(_0x452e67['bundleVersion']=String(_0x14f026['bundleVersion'])),_0x452e67;},_0x297440['toObject']=function(_0x138e76,_0x376803){_0x376803||(_0x376803={});var _0xc8c17={};return _0x376803['defaults']&&(_0xc8c17['bundleVersion']=''),null!=_0x138e76['bundleVersion']&&_0x138e76['hasOwnProperty']('bundleVersion')&&(_0xc8c17['bundleVersion']=_0x138e76['bundleVersion']),_0xc8c17;},_0x297440['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x297440['getTypeUrl']=function(_0x516f7a){return void 0x0===_0x516f7a&&(_0x516f7a='type.googleapis.com'),_0x516f7a+'/IsEditorBundleUploadedMessage';},_0x297440;}()),_0x297356['KeyValueDescriptor']=(function(){function _0x59af69(_0x578d5c){if(_0x578d5c){for(var _0x52a1d3=Object['keys'](_0x578d5c),_0x5ecb89=0x0;_0x5ecb89<_0x52a1d3['length'];++_0x5ecb89)null!=_0x578d5c[_0x52a1d3[_0x5ecb89]]&&(this[_0x52a1d3[_0x5ecb89]]=_0x578d5c[_0x52a1d3[_0x5ecb89]]);}}return _0x59af69['prototype']['key']='',_0x59af69['prototype']['value']='',_0x59af69['create']=function(_0x158eb9){return new _0x59af69(_0x158eb9);},_0x59af69['encode']=function(_0xf3294a,_0x3a50d0){return _0x3a50d0||(_0x3a50d0=_0x102edc['create']()),null!=_0xf3294a['key']&&Object['hasOwnProperty']['call'](_0xf3294a,'key')&&_0x3a50d0['uint32'](0xa)['string'](_0xf3294a['key']),null!=_0xf3294a['value']&&Object['hasOwnProperty']['call'](_0xf3294a,'value')&&_0x3a50d0['uint32'](0x12)['string'](_0xf3294a['value']),_0x3a50d0;},_0x59af69['encodeDelimited']=function(_0x1caeec,_0x3369bc){return this['encode'](_0x1caeec,_0x3369bc)['ldelim']();},_0x59af69['decode']=function(_0x27f284,_0x13cce4,_0x5e1eca){_0x27f284 instanceof _0x185f42||(_0x27f284=_0x185f42['create'](_0x27f284));for(var _0x18fbe0=void 0x0===_0x13cce4?_0x27f284['len']:_0x27f284['pos']+_0x13cce4,_0x22e19c=new _0x297356['KeyValueDescriptor']();_0x27f284['pos']<_0x18fbe0;){var _0x455b35=_0x27f284['uint32']();if(_0x455b35===_0x5e1eca)break;switch(_0x455b35>>>0x3){case 0x1:_0x22e19c['key']=_0x27f284['string']();break;case 0x2:_0x22e19c['value']=_0x27f284['string']();break;default:_0x27f284['skipType'](0x7&_0x455b35);}}return _0x22e19c;},_0x59af69['decodeDelimited']=function(_0x21d7e4){return _0x21d7e4 instanceof _0x185f42||(_0x21d7e4=new _0x185f42(_0x21d7e4)),this['decode'](_0x21d7e4,_0x21d7e4['uint32']());},_0x59af69['verify']=function(_0x1897d9){return'object'!=typeof _0x1897d9||null===_0x1897d9?'object\x20expected':null!=_0x1897d9['key']&&_0x1897d9['hasOwnProperty']('key')&&!_0x43a1d8['isString'](_0x1897d9['key'])?'key:\x20string\x20expected':null!=_0x1897d9['value']&&_0x1897d9['hasOwnProperty']('value')&&!_0x43a1d8['isString'](_0x1897d9['value'])?'value:\x20string\x20expected':null;},_0x59af69['fromObject']=function(_0x280515){if(_0x280515 instanceof _0x297356['KeyValueDescriptor'])return _0x280515;var _0x57bf1a=new _0x297356['KeyValueDescriptor']();return null!=_0x280515['key']&&(_0x57bf1a['key']=String(_0x280515['key'])),null!=_0x280515['value']&&(_0x57bf1a['value']=String(_0x280515['value'])),_0x57bf1a;},_0x59af69['toObject']=function(_0x1c6a1f,_0x24f55e){_0x24f55e||(_0x24f55e={});var _0x3e6d4d={};return _0x24f55e['defaults']&&(_0x3e6d4d['key']='',_0x3e6d4d['value']=''),null!=_0x1c6a1f['key']&&_0x1c6a1f['hasOwnProperty']('key')&&(_0x3e6d4d['key']=_0x1c6a1f['key']),null!=_0x1c6a1f['value']&&_0x1c6a1f['hasOwnProperty']('value')&&(_0x3e6d4d['value']=_0x1c6a1f['value']),_0x3e6d4d;},_0x59af69['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x59af69['getTypeUrl']=function(_0x58bb28){return void 0x0===_0x58bb28&&(_0x58bb28='type.googleapis.com'),_0x58bb28+'/KeyValueDescriptor';},_0x59af69;}()),_0x297356['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x468125(_0x25878e){if(this['threads']=[],this['threadsV2']=[],_0x25878e){for(var _0x49f28b=Object['keys'](_0x25878e),_0x42bab0=0x0;_0x42bab0<_0x49f28b['length'];++_0x42bab0)null!=_0x25878e[_0x49f28b[_0x42bab0]]&&(this[_0x49f28b[_0x42bab0]]=_0x25878e[_0x49f28b[_0x42bab0]]);}}return _0x468125['prototype']['threads']=_0x43a1d8['emptyArray'],_0x468125['prototype']['threadsV2']=_0x43a1d8['emptyArray'],_0x468125['create']=function(_0x369282){return new _0x468125(_0x369282);},_0x468125['encode']=function(_0x5f14ac,_0x157f55){if(_0x157f55||(_0x157f55=_0x102edc['create']()),null!=_0x5f14ac['threads']&&_0x5f14ac['threads']['length']){for(var _0x18e752=0x0;_0x18e752<_0x5f14ac['threads']['length'];++_0x18e752)_0x157f55['uint32'](0xa)['string'](_0x5f14ac['threads'][_0x18e752]);}if(null!=_0x5f14ac['threadsV2']&&_0x5f14ac['threadsV2']['length']){for(_0x18e752=0x0;_0x18e752<_0x5f14ac['threadsV2']['length'];++_0x18e752)_0x297356['CommentsThreadDescriptor']['encode'](_0x5f14ac['threadsV2'][_0x18e752],_0x157f55['uint32'](0x12)['fork']())['ldelim']();}return _0x157f55;},_0x468125['encodeDelimited']=function(_0x110ff3,_0x5aad27){return this['encode'](_0x110ff3,_0x5aad27)['ldelim']();},_0x468125['decode']=function(_0x536abd,_0x402b02,_0x125c91){_0x536abd instanceof _0x185f42||(_0x536abd=_0x185f42['create'](_0x536abd));for(var _0x2a37ee=void 0x0===_0x402b02?_0x536abd['len']:_0x536abd['pos']+_0x402b02,_0x11063d=new _0x297356['CommentsV2GetDocumentThreadsResponse']();_0x536abd['pos']<_0x2a37ee;){var _0x37ce2f=_0x536abd['uint32']();if(_0x37ce2f===_0x125c91)break;switch(_0x37ce2f>>>0x3){case 0x1:_0x11063d['threads']&&_0x11063d['threads']['length']||(_0x11063d['threads']=[]),_0x11063d['threads']['push'](_0x536abd['string']());break;case 0x2:_0x11063d['threadsV2']&&_0x11063d['threadsV2']['length']||(_0x11063d['threadsV2']=[]),_0x11063d['threadsV2']['push'](_0x297356['CommentsThreadDescriptor']['decode'](_0x536abd,_0x536abd['uint32']()));break;default:_0x536abd['skipType'](0x7&_0x37ce2f);}}return _0x11063d;},_0x468125['decodeDelimited']=function(_0x51a6d8){return _0x51a6d8 instanceof _0x185f42||(_0x51a6d8=new _0x185f42(_0x51a6d8)),this['decode'](_0x51a6d8,_0x51a6d8['uint32']());},_0x468125['verify']=function(_0x1f7282){if('object'!=typeof _0x1f7282||null===_0x1f7282)return'object\x20expected';if(null!=_0x1f7282['threads']&&_0x1f7282['hasOwnProperty']('threads')){if(!Array['isArray'](_0x1f7282['threads']))return'threads:\x20array\x20expected';for(var _0x14c369=0x0;_0x14c369<_0x1f7282['threads']['length'];++_0x14c369)if(!_0x43a1d8['isString'](_0x1f7282['threads'][_0x14c369]))return'threads:\x20string[]\x20expected';}if(null!=_0x1f7282['threadsV2']&&_0x1f7282['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x1f7282['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x14c369=0x0;_0x14c369<_0x1f7282['threadsV2']['length'];++_0x14c369){var _0x2b2d45=_0x297356['CommentsThreadDescriptor']['verify'](_0x1f7282['threadsV2'][_0x14c369]);if(_0x2b2d45)return'threadsV2.'+_0x2b2d45;}}return null;},_0x468125['fromObject']=function(_0x135d88){if(_0x135d88 instanceof _0x297356['CommentsV2GetDocumentThreadsResponse'])return _0x135d88;var _0x2e6d9c=new _0x297356['CommentsV2GetDocumentThreadsResponse']();if(_0x135d88['threads']){if(!Array['isArray'](_0x135d88['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x2e6d9c['threads']=[];for(var _0x4c1073=0x0;_0x4c1073<_0x135d88['threads']['length'];++_0x4c1073)_0x2e6d9c['threads'][_0x4c1073]=String(_0x135d88['threads'][_0x4c1073]);}if(_0x135d88['threadsV2']){if(!Array['isArray'](_0x135d88['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x2e6d9c['threadsV2']=[],_0x4c1073=0x0;_0x4c1073<_0x135d88['threadsV2']['length'];++_0x4c1073){if('object'!=typeof _0x135d88['threadsV2'][_0x4c1073])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x2e6d9c['threadsV2'][_0x4c1073]=_0x297356['CommentsThreadDescriptor']['fromObject'](_0x135d88['threadsV2'][_0x4c1073]);}}return _0x2e6d9c;},_0x468125['toObject']=function(_0x3adab0,_0x6dd5cc){_0x6dd5cc||(_0x6dd5cc={});var _0x4c0325={};if((_0x6dd5cc['arrays']||_0x6dd5cc['defaults'])&&(_0x4c0325['threads']=[],_0x4c0325['threadsV2']=[]),_0x3adab0['threads']&&_0x3adab0['threads']['length']){_0x4c0325['threads']=[];for(var _0x4af0b7=0x0;_0x4af0b7<_0x3adab0['threads']['length'];++_0x4af0b7)_0x4c0325['threads'][_0x4af0b7]=_0x3adab0['threads'][_0x4af0b7];}if(_0x3adab0['threadsV2']&&_0x3adab0['threadsV2']['length']){for(_0x4c0325['threadsV2']=[],_0x4af0b7=0x0;_0x4af0b7<_0x3adab0['threadsV2']['length'];++_0x4af0b7)_0x4c0325['threadsV2'][_0x4af0b7]=_0x297356['CommentsThreadDescriptor']['toObject'](_0x3adab0['threadsV2'][_0x4af0b7],_0x6dd5cc);}return _0x4c0325;},_0x468125['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x468125['getTypeUrl']=function(_0x115b49){return void 0x0===_0x115b49&&(_0x115b49='type.googleapis.com'),_0x115b49+'/CommentsV2GetDocumentThreadsResponse';},_0x468125;}()),_0x297356['CommentsV2GetCommentThreadResponse']=(function(){function _0x31b8ad(_0xeb2672){if(this['comments']=[],this['commentsV2']=[],_0xeb2672){for(var _0x8b7615=Object['keys'](_0xeb2672),_0x23a27c=0x0;_0x23a27c<_0x8b7615['length'];++_0x23a27c)null!=_0xeb2672[_0x8b7615[_0x23a27c]]&&(this[_0x8b7615[_0x23a27c]]=_0xeb2672[_0x8b7615[_0x23a27c]]);}}return _0x31b8ad['prototype']['commentThreadId']='',_0x31b8ad['prototype']['comments']=_0x43a1d8['emptyArray'],_0x31b8ad['prototype']['commentsV2']=_0x43a1d8['emptyArray'],_0x31b8ad['prototype']['resolvedAt']='',_0x31b8ad['prototype']['resolvedBy']='',_0x31b8ad['prototype']['context']='',_0x31b8ad['prototype']['createdAt']='',_0x31b8ad['prototype']['deletedAt']='',_0x31b8ad['prototype']['attributes']='',_0x31b8ad['prototype']['unlinkedAt']='',_0x31b8ad['create']=function(_0x270d28){return new _0x31b8ad(_0x270d28);},_0x31b8ad['encode']=function(_0x44a5a3,_0x4edb32){if(_0x4edb32||(_0x4edb32=_0x102edc['create']()),null!=_0x44a5a3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x44a5a3,'commentThreadId')&&_0x4edb32['uint32'](0xa)['string'](_0x44a5a3['commentThreadId']),null!=_0x44a5a3['comments']&&_0x44a5a3['comments']['length']){for(var _0xd5333b=0x0;_0xd5333b<_0x44a5a3['comments']['length'];++_0xd5333b)_0x4edb32['uint32'](0x12)['string'](_0x44a5a3['comments'][_0xd5333b]);}if(null!=_0x44a5a3['commentsV2']&&_0x44a5a3['commentsV2']['length']){for(_0xd5333b=0x0;_0xd5333b<_0x44a5a3['commentsV2']['length'];++_0xd5333b)_0x297356['CommentDescriptor']['encode'](_0x44a5a3['commentsV2'][_0xd5333b],_0x4edb32['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x44a5a3['resolvedAt']&&Object['hasOwnProperty']['call'](_0x44a5a3,'resolvedAt')&&_0x4edb32['uint32'](0x22)['string'](_0x44a5a3['resolvedAt']),null!=_0x44a5a3['resolvedBy']&&Object['hasOwnProperty']['call'](_0x44a5a3,'resolvedBy')&&_0x4edb32['uint32'](0x2a)['string'](_0x44a5a3['resolvedBy']),null!=_0x44a5a3['context']&&Object['hasOwnProperty']['call'](_0x44a5a3,'context')&&_0x4edb32['uint32'](0x32)['string'](_0x44a5a3['context']),null!=_0x44a5a3['createdAt']&&Object['hasOwnProperty']['call'](_0x44a5a3,'createdAt')&&_0x4edb32['uint32'](0x3a)['string'](_0x44a5a3['createdAt']),null!=_0x44a5a3['deletedAt']&&Object['hasOwnProperty']['call'](_0x44a5a3,'deletedAt')&&_0x4edb32['uint32'](0x42)['string'](_0x44a5a3['deletedAt']),null!=_0x44a5a3['attributes']&&Object['hasOwnProperty']['call'](_0x44a5a3,'attributes')&&_0x4edb32['uint32'](0x4a)['string'](_0x44a5a3['attributes']),null!=_0x44a5a3['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x44a5a3,'unlinkedAt')&&_0x4edb32['uint32'](0x52)['string'](_0x44a5a3['unlinkedAt']),_0x4edb32;},_0x31b8ad['encodeDelimited']=function(_0x4b2b52,_0x19c4e6){return this['encode'](_0x4b2b52,_0x19c4e6)['ldelim']();},_0x31b8ad['decode']=function(_0x363277,_0x223c59,_0x167837){_0x363277 instanceof _0x185f42||(_0x363277=_0x185f42['create'](_0x363277));for(var _0x454b37=void 0x0===_0x223c59?_0x363277['len']:_0x363277['pos']+_0x223c59,_0x536a57=new _0x297356['CommentsV2GetCommentThreadResponse']();_0x363277['pos']<_0x454b37;){var _0x556161=_0x363277['uint32']();if(_0x556161===_0x167837)break;switch(_0x556161>>>0x3){case 0x1:_0x536a57['commentThreadId']=_0x363277['string']();break;case 0x2:_0x536a57['comments']&&_0x536a57['comments']['length']||(_0x536a57['comments']=[]),_0x536a57['comments']['push'](_0x363277['string']());break;case 0x3:_0x536a57['commentsV2']&&_0x536a57['commentsV2']['length']||(_0x536a57['commentsV2']=[]),_0x536a57['commentsV2']['push'](_0x297356['CommentDescriptor']['decode'](_0x363277,_0x363277['uint32']()));break;case 0x4:_0x536a57['resolvedAt']=_0x363277['string']();break;case 0x5:_0x536a57['resolvedBy']=_0x363277['string']();break;case 0x6:_0x536a57['context']=_0x363277['string']();break;case 0x7:_0x536a57['createdAt']=_0x363277['string']();break;case 0x8:_0x536a57['deletedAt']=_0x363277['string']();break;case 0x9:_0x536a57['attributes']=_0x363277['string']();break;case 0xa:_0x536a57['unlinkedAt']=_0x363277['string']();break;default:_0x363277['skipType'](0x7&_0x556161);}}return _0x536a57;},_0x31b8ad['decodeDelimited']=function(_0xaf6a86){return _0xaf6a86 instanceof _0x185f42||(_0xaf6a86=new _0x185f42(_0xaf6a86)),this['decode'](_0xaf6a86,_0xaf6a86['uint32']());},_0x31b8ad['verify']=function(_0x32ddcd){if('object'!=typeof _0x32ddcd||null===_0x32ddcd)return'object\x20expected';if(null!=_0x32ddcd['commentThreadId']&&_0x32ddcd['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x32ddcd['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x32ddcd['comments']&&_0x32ddcd['hasOwnProperty']('comments')){if(!Array['isArray'](_0x32ddcd['comments']))return'comments:\x20array\x20expected';for(var _0x552c99=0x0;_0x552c99<_0x32ddcd['comments']['length'];++_0x552c99)if(!_0x43a1d8['isString'](_0x32ddcd['comments'][_0x552c99]))return'comments:\x20string[]\x20expected';}if(null!=_0x32ddcd['commentsV2']&&_0x32ddcd['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x32ddcd['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x552c99=0x0;_0x552c99<_0x32ddcd['commentsV2']['length'];++_0x552c99){var _0x2554c4=_0x297356['CommentDescriptor']['verify'](_0x32ddcd['commentsV2'][_0x552c99]);if(_0x2554c4)return'commentsV2.'+_0x2554c4;}}return null!=_0x32ddcd['resolvedAt']&&_0x32ddcd['hasOwnProperty']('resolvedAt')&&!_0x43a1d8['isString'](_0x32ddcd['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x32ddcd['resolvedBy']&&_0x32ddcd['hasOwnProperty']('resolvedBy')&&!_0x43a1d8['isString'](_0x32ddcd['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x32ddcd['context']&&_0x32ddcd['hasOwnProperty']('context')&&!_0x43a1d8['isString'](_0x32ddcd['context'])?'context:\x20string\x20expected':null!=_0x32ddcd['createdAt']&&_0x32ddcd['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x32ddcd['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x32ddcd['deletedAt']&&_0x32ddcd['hasOwnProperty']('deletedAt')&&!_0x43a1d8['isString'](_0x32ddcd['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x32ddcd['attributes']&&_0x32ddcd['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x32ddcd['attributes'])?'attributes:\x20string\x20expected':null!=_0x32ddcd['unlinkedAt']&&_0x32ddcd['hasOwnProperty']('unlinkedAt')&&!_0x43a1d8['isString'](_0x32ddcd['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x31b8ad['fromObject']=function(_0x428e30){if(_0x428e30 instanceof _0x297356['CommentsV2GetCommentThreadResponse'])return _0x428e30;var _0x150059=new _0x297356['CommentsV2GetCommentThreadResponse']();if(null!=_0x428e30['commentThreadId']&&(_0x150059['commentThreadId']=String(_0x428e30['commentThreadId'])),_0x428e30['comments']){if(!Array['isArray'](_0x428e30['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x150059['comments']=[];for(var _0x303e9d=0x0;_0x303e9d<_0x428e30['comments']['length'];++_0x303e9d)_0x150059['comments'][_0x303e9d]=String(_0x428e30['comments'][_0x303e9d]);}if(_0x428e30['commentsV2']){if(!Array['isArray'](_0x428e30['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x150059['commentsV2']=[],_0x303e9d=0x0;_0x303e9d<_0x428e30['commentsV2']['length'];++_0x303e9d){if('object'!=typeof _0x428e30['commentsV2'][_0x303e9d])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x150059['commentsV2'][_0x303e9d]=_0x297356['CommentDescriptor']['fromObject'](_0x428e30['commentsV2'][_0x303e9d]);}}return null!=_0x428e30['resolvedAt']&&(_0x150059['resolvedAt']=String(_0x428e30['resolvedAt'])),null!=_0x428e30['resolvedBy']&&(_0x150059['resolvedBy']=String(_0x428e30['resolvedBy'])),null!=_0x428e30['context']&&(_0x150059['context']=String(_0x428e30['context'])),null!=_0x428e30['createdAt']&&(_0x150059['createdAt']=String(_0x428e30['createdAt'])),null!=_0x428e30['deletedAt']&&(_0x150059['deletedAt']=String(_0x428e30['deletedAt'])),null!=_0x428e30['attributes']&&(_0x150059['attributes']=String(_0x428e30['attributes'])),null!=_0x428e30['unlinkedAt']&&(_0x150059['unlinkedAt']=String(_0x428e30['unlinkedAt'])),_0x150059;},_0x31b8ad['toObject']=function(_0x159751,_0x53d4d1){_0x53d4d1||(_0x53d4d1={});var _0x3aa4d9={};if((_0x53d4d1['arrays']||_0x53d4d1['defaults'])&&(_0x3aa4d9['comments']=[],_0x3aa4d9['commentsV2']=[]),_0x53d4d1['defaults']&&(_0x3aa4d9['commentThreadId']='',_0x3aa4d9['resolvedAt']='',_0x3aa4d9['resolvedBy']='',_0x3aa4d9['context']='',_0x3aa4d9['createdAt']='',_0x3aa4d9['deletedAt']='',_0x3aa4d9['attributes']='',_0x3aa4d9['unlinkedAt']=''),null!=_0x159751['commentThreadId']&&_0x159751['hasOwnProperty']('commentThreadId')&&(_0x3aa4d9['commentThreadId']=_0x159751['commentThreadId']),_0x159751['comments']&&_0x159751['comments']['length']){_0x3aa4d9['comments']=[];for(var _0xfcf744=0x0;_0xfcf744<_0x159751['comments']['length'];++_0xfcf744)_0x3aa4d9['comments'][_0xfcf744]=_0x159751['comments'][_0xfcf744];}if(_0x159751['commentsV2']&&_0x159751['commentsV2']['length']){for(_0x3aa4d9['commentsV2']=[],_0xfcf744=0x0;_0xfcf744<_0x159751['commentsV2']['length'];++_0xfcf744)_0x3aa4d9['commentsV2'][_0xfcf744]=_0x297356['CommentDescriptor']['toObject'](_0x159751['commentsV2'][_0xfcf744],_0x53d4d1);}return null!=_0x159751['resolvedAt']&&_0x159751['hasOwnProperty']('resolvedAt')&&(_0x3aa4d9['resolvedAt']=_0x159751['resolvedAt']),null!=_0x159751['resolvedBy']&&_0x159751['hasOwnProperty']('resolvedBy')&&(_0x3aa4d9['resolvedBy']=_0x159751['resolvedBy']),null!=_0x159751['context']&&_0x159751['hasOwnProperty']('context')&&(_0x3aa4d9['context']=_0x159751['context']),null!=_0x159751['createdAt']&&_0x159751['hasOwnProperty']('createdAt')&&(_0x3aa4d9['createdAt']=_0x159751['createdAt']),null!=_0x159751['deletedAt']&&_0x159751['hasOwnProperty']('deletedAt')&&(_0x3aa4d9['deletedAt']=_0x159751['deletedAt']),null!=_0x159751['attributes']&&_0x159751['hasOwnProperty']('attributes')&&(_0x3aa4d9['attributes']=_0x159751['attributes']),null!=_0x159751['unlinkedAt']&&_0x159751['hasOwnProperty']('unlinkedAt')&&(_0x3aa4d9['unlinkedAt']=_0x159751['unlinkedAt']),_0x3aa4d9;},_0x31b8ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x31b8ad['getTypeUrl']=function(_0x1a6248){return void 0x0===_0x1a6248&&(_0x1a6248='type.googleapis.com'),_0x1a6248+'/CommentsV2GetCommentThreadResponse';},_0x31b8ad;}()),_0x297356['CommentsV2ConnectResponse']=(function(){function _0x32fd55(_0x5644d6){if(this['threads']=[],this['threadsV2']=[],_0x5644d6){for(var _0x28a6bb=Object['keys'](_0x5644d6),_0x3482e3=0x0;_0x3482e3<_0x28a6bb['length'];++_0x3482e3)null!=_0x5644d6[_0x28a6bb[_0x3482e3]]&&(this[_0x28a6bb[_0x3482e3]]=_0x5644d6[_0x28a6bb[_0x3482e3]]);}}return _0x32fd55['prototype']['channel']='',_0x32fd55['prototype']['threads']=_0x43a1d8['emptyArray'],_0x32fd55['prototype']['threadsV2']=_0x43a1d8['emptyArray'],_0x32fd55['create']=function(_0x2d694d){return new _0x32fd55(_0x2d694d);},_0x32fd55['encode']=function(_0x10cd1d,_0x334318){if(_0x334318||(_0x334318=_0x102edc['create']()),null!=_0x10cd1d['channel']&&Object['hasOwnProperty']['call'](_0x10cd1d,'channel')&&_0x334318['uint32'](0xa)['string'](_0x10cd1d['channel']),null!=_0x10cd1d['threads']&&_0x10cd1d['threads']['length']){for(var _0x2de72f=0x0;_0x2de72f<_0x10cd1d['threads']['length'];++_0x2de72f)_0x334318['uint32'](0x12)['string'](_0x10cd1d['threads'][_0x2de72f]);}if(null!=_0x10cd1d['threadsV2']&&_0x10cd1d['threadsV2']['length']){for(_0x2de72f=0x0;_0x2de72f<_0x10cd1d['threadsV2']['length'];++_0x2de72f)_0x297356['CommentsThreadDescriptor']['encode'](_0x10cd1d['threadsV2'][_0x2de72f],_0x334318['uint32'](0x1a)['fork']())['ldelim']();}return _0x334318;},_0x32fd55['encodeDelimited']=function(_0x2abcd6,_0x3d4538){return this['encode'](_0x2abcd6,_0x3d4538)['ldelim']();},_0x32fd55['decode']=function(_0x48b3ee,_0x3f9968,_0x32faf6){_0x48b3ee instanceof _0x185f42||(_0x48b3ee=_0x185f42['create'](_0x48b3ee));for(var _0x59b7fd=void 0x0===_0x3f9968?_0x48b3ee['len']:_0x48b3ee['pos']+_0x3f9968,_0x17dd8f=new _0x297356['CommentsV2ConnectResponse']();_0x48b3ee['pos']<_0x59b7fd;){var _0x201f60=_0x48b3ee['uint32']();if(_0x201f60===_0x32faf6)break;switch(_0x201f60>>>0x3){case 0x1:_0x17dd8f['channel']=_0x48b3ee['string']();break;case 0x2:_0x17dd8f['threads']&&_0x17dd8f['threads']['length']||(_0x17dd8f['threads']=[]),_0x17dd8f['threads']['push'](_0x48b3ee['string']());break;case 0x3:_0x17dd8f['threadsV2']&&_0x17dd8f['threadsV2']['length']||(_0x17dd8f['threadsV2']=[]),_0x17dd8f['threadsV2']['push'](_0x297356['CommentsThreadDescriptor']['decode'](_0x48b3ee,_0x48b3ee['uint32']()));break;default:_0x48b3ee['skipType'](0x7&_0x201f60);}}return _0x17dd8f;},_0x32fd55['decodeDelimited']=function(_0xd9816f){return _0xd9816f instanceof _0x185f42||(_0xd9816f=new _0x185f42(_0xd9816f)),this['decode'](_0xd9816f,_0xd9816f['uint32']());},_0x32fd55['verify']=function(_0x38dc0a){if('object'!=typeof _0x38dc0a||null===_0x38dc0a)return'object\x20expected';if(null!=_0x38dc0a['channel']&&_0x38dc0a['hasOwnProperty']('channel')&&!_0x43a1d8['isString'](_0x38dc0a['channel']))return'channel:\x20string\x20expected';if(null!=_0x38dc0a['threads']&&_0x38dc0a['hasOwnProperty']('threads')){if(!Array['isArray'](_0x38dc0a['threads']))return'threads:\x20array\x20expected';for(var _0x40851b=0x0;_0x40851b<_0x38dc0a['threads']['length'];++_0x40851b)if(!_0x43a1d8['isString'](_0x38dc0a['threads'][_0x40851b]))return'threads:\x20string[]\x20expected';}if(null!=_0x38dc0a['threadsV2']&&_0x38dc0a['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x38dc0a['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x40851b=0x0;_0x40851b<_0x38dc0a['threadsV2']['length'];++_0x40851b){var _0xce8020=_0x297356['CommentsThreadDescriptor']['verify'](_0x38dc0a['threadsV2'][_0x40851b]);if(_0xce8020)return'threadsV2.'+_0xce8020;}}return null;},_0x32fd55['fromObject']=function(_0x555af8){if(_0x555af8 instanceof _0x297356['CommentsV2ConnectResponse'])return _0x555af8;var _0x506369=new _0x297356['CommentsV2ConnectResponse']();if(null!=_0x555af8['channel']&&(_0x506369['channel']=String(_0x555af8['channel'])),_0x555af8['threads']){if(!Array['isArray'](_0x555af8['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x506369['threads']=[];for(var _0xce8655=0x0;_0xce8655<_0x555af8['threads']['length'];++_0xce8655)_0x506369['threads'][_0xce8655]=String(_0x555af8['threads'][_0xce8655]);}if(_0x555af8['threadsV2']){if(!Array['isArray'](_0x555af8['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x506369['threadsV2']=[],_0xce8655=0x0;_0xce8655<_0x555af8['threadsV2']['length'];++_0xce8655){if('object'!=typeof _0x555af8['threadsV2'][_0xce8655])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x506369['threadsV2'][_0xce8655]=_0x297356['CommentsThreadDescriptor']['fromObject'](_0x555af8['threadsV2'][_0xce8655]);}}return _0x506369;},_0x32fd55['toObject']=function(_0x3e34ff,_0x5bc1f4){_0x5bc1f4||(_0x5bc1f4={});var _0x37e323={};if((_0x5bc1f4['arrays']||_0x5bc1f4['defaults'])&&(_0x37e323['threads']=[],_0x37e323['threadsV2']=[]),_0x5bc1f4['defaults']&&(_0x37e323['channel']=''),null!=_0x3e34ff['channel']&&_0x3e34ff['hasOwnProperty']('channel')&&(_0x37e323['channel']=_0x3e34ff['channel']),_0x3e34ff['threads']&&_0x3e34ff['threads']['length']){_0x37e323['threads']=[];for(var _0x1feedf=0x0;_0x1feedf<_0x3e34ff['threads']['length'];++_0x1feedf)_0x37e323['threads'][_0x1feedf]=_0x3e34ff['threads'][_0x1feedf];}if(_0x3e34ff['threadsV2']&&_0x3e34ff['threadsV2']['length']){for(_0x37e323['threadsV2']=[],_0x1feedf=0x0;_0x1feedf<_0x3e34ff['threadsV2']['length'];++_0x1feedf)_0x37e323['threadsV2'][_0x1feedf]=_0x297356['CommentsThreadDescriptor']['toObject'](_0x3e34ff['threadsV2'][_0x1feedf],_0x5bc1f4);}return _0x37e323;},_0x32fd55['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x32fd55['getTypeUrl']=function(_0x7029e8){return void 0x0===_0x7029e8&&(_0x7029e8='type.googleapis.com'),_0x7029e8+'/CommentsV2ConnectResponse';},_0x32fd55;}()),_0x297356['CommentsV2AddCommentResponse']=(function(){function _0x54fb79(_0x2189bb){if(_0x2189bb){for(var _0x4b55ab=Object['keys'](_0x2189bb),_0x1872ba=0x0;_0x1872ba<_0x4b55ab['length'];++_0x1872ba)null!=_0x2189bb[_0x4b55ab[_0x1872ba]]&&(this[_0x4b55ab[_0x1872ba]]=_0x2189bb[_0x4b55ab[_0x1872ba]]);}}return _0x54fb79['prototype']['commentThreadId']='',_0x54fb79['prototype']['commentId']='',_0x54fb79['prototype']['createdAt']='',_0x54fb79['create']=function(_0x417105){return new _0x54fb79(_0x417105);},_0x54fb79['encode']=function(_0x21d8d3,_0x55847c){return _0x55847c||(_0x55847c=_0x102edc['create']()),null!=_0x21d8d3['commentThreadId']&&Object['hasOwnProperty']['call'](_0x21d8d3,'commentThreadId')&&_0x55847c['uint32'](0xa)['string'](_0x21d8d3['commentThreadId']),null!=_0x21d8d3['commentId']&&Object['hasOwnProperty']['call'](_0x21d8d3,'commentId')&&_0x55847c['uint32'](0x12)['string'](_0x21d8d3['commentId']),null!=_0x21d8d3['createdAt']&&Object['hasOwnProperty']['call'](_0x21d8d3,'createdAt')&&_0x55847c['uint32'](0x1a)['string'](_0x21d8d3['createdAt']),_0x55847c;},_0x54fb79['encodeDelimited']=function(_0x1dafde,_0x35d1f1){return this['encode'](_0x1dafde,_0x35d1f1)['ldelim']();},_0x54fb79['decode']=function(_0x17658e,_0x415cc6,_0x288e72){_0x17658e instanceof _0x185f42||(_0x17658e=_0x185f42['create'](_0x17658e));for(var _0x487f1e=void 0x0===_0x415cc6?_0x17658e['len']:_0x17658e['pos']+_0x415cc6,_0xf09928=new _0x297356['CommentsV2AddCommentResponse']();_0x17658e['pos']<_0x487f1e;){var _0x4f4fe2=_0x17658e['uint32']();if(_0x4f4fe2===_0x288e72)break;switch(_0x4f4fe2>>>0x3){case 0x1:_0xf09928['commentThreadId']=_0x17658e['string']();break;case 0x2:_0xf09928['commentId']=_0x17658e['string']();break;case 0x3:_0xf09928['createdAt']=_0x17658e['string']();break;default:_0x17658e['skipType'](0x7&_0x4f4fe2);}}return _0xf09928;},_0x54fb79['decodeDelimited']=function(_0x1c8b7a){return _0x1c8b7a instanceof _0x185f42||(_0x1c8b7a=new _0x185f42(_0x1c8b7a)),this['decode'](_0x1c8b7a,_0x1c8b7a['uint32']());},_0x54fb79['verify']=function(_0x313422){return'object'!=typeof _0x313422||null===_0x313422?'object\x20expected':null!=_0x313422['commentThreadId']&&_0x313422['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x313422['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x313422['commentId']&&_0x313422['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x313422['commentId'])?'commentId:\x20string\x20expected':null!=_0x313422['createdAt']&&_0x313422['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x313422['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x54fb79['fromObject']=function(_0x5d7895){if(_0x5d7895 instanceof _0x297356['CommentsV2AddCommentResponse'])return _0x5d7895;var _0x5e7df9=new _0x297356['CommentsV2AddCommentResponse']();return null!=_0x5d7895['commentThreadId']&&(_0x5e7df9['commentThreadId']=String(_0x5d7895['commentThreadId'])),null!=_0x5d7895['commentId']&&(_0x5e7df9['commentId']=String(_0x5d7895['commentId'])),null!=_0x5d7895['createdAt']&&(_0x5e7df9['createdAt']=String(_0x5d7895['createdAt'])),_0x5e7df9;},_0x54fb79['toObject']=function(_0x31b288,_0x9d22fd){_0x9d22fd||(_0x9d22fd={});var _0x2e79bf={};return _0x9d22fd['defaults']&&(_0x2e79bf['commentThreadId']='',_0x2e79bf['commentId']='',_0x2e79bf['createdAt']=''),null!=_0x31b288['commentThreadId']&&_0x31b288['hasOwnProperty']('commentThreadId')&&(_0x2e79bf['commentThreadId']=_0x31b288['commentThreadId']),null!=_0x31b288['commentId']&&_0x31b288['hasOwnProperty']('commentId')&&(_0x2e79bf['commentId']=_0x31b288['commentId']),null!=_0x31b288['createdAt']&&_0x31b288['hasOwnProperty']('createdAt')&&(_0x2e79bf['createdAt']=_0x31b288['createdAt']),_0x2e79bf;},_0x54fb79['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x54fb79['getTypeUrl']=function(_0x55fb8d){return void 0x0===_0x55fb8d&&(_0x55fb8d='type.googleapis.com'),_0x55fb8d+'/CommentsV2AddCommentResponse';},_0x54fb79;}()),_0x297356['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x4db45f(_0x407fb4){if(_0x407fb4){for(var _0x17448d=Object['keys'](_0x407fb4),_0x483f78=0x0;_0x483f78<_0x17448d['length'];++_0x483f78)null!=_0x407fb4[_0x17448d[_0x483f78]]&&(this[_0x17448d[_0x483f78]]=_0x407fb4[_0x17448d[_0x483f78]]);}}return _0x4db45f['prototype']['commentThreadId']='',_0x4db45f['prototype']['documentId']='',_0x4db45f['prototype']['resolvedAt']='',_0x4db45f['prototype']['resolvedBy']='',_0x4db45f['create']=function(_0x142bc7){return new _0x4db45f(_0x142bc7);},_0x4db45f['encode']=function(_0x3d4e54,_0x5eee98){return _0x5eee98||(_0x5eee98=_0x102edc['create']()),null!=_0x3d4e54['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3d4e54,'commentThreadId')&&_0x5eee98['uint32'](0xa)['string'](_0x3d4e54['commentThreadId']),null!=_0x3d4e54['documentId']&&Object['hasOwnProperty']['call'](_0x3d4e54,'documentId')&&_0x5eee98['uint32'](0x12)['string'](_0x3d4e54['documentId']),null!=_0x3d4e54['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3d4e54,'resolvedAt')&&_0x5eee98['uint32'](0x1a)['string'](_0x3d4e54['resolvedAt']),null!=_0x3d4e54['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3d4e54,'resolvedBy')&&_0x5eee98['uint32'](0x22)['string'](_0x3d4e54['resolvedBy']),_0x5eee98;},_0x4db45f['encodeDelimited']=function(_0x4fb34b,_0x398321){return this['encode'](_0x4fb34b,_0x398321)['ldelim']();},_0x4db45f['decode']=function(_0x54ea3d,_0x536c35,_0x466491){_0x54ea3d instanceof _0x185f42||(_0x54ea3d=_0x185f42['create'](_0x54ea3d));for(var _0x12ca0c=void 0x0===_0x536c35?_0x54ea3d['len']:_0x54ea3d['pos']+_0x536c35,_0xfa920d=new _0x297356['CommentsV2ResolveCommentThreadResponse']();_0x54ea3d['pos']<_0x12ca0c;){var _0xe8c7fa=_0x54ea3d['uint32']();if(_0xe8c7fa===_0x466491)break;switch(_0xe8c7fa>>>0x3){case 0x1:_0xfa920d['commentThreadId']=_0x54ea3d['string']();break;case 0x2:_0xfa920d['documentId']=_0x54ea3d['string']();break;case 0x3:_0xfa920d['resolvedAt']=_0x54ea3d['string']();break;case 0x4:_0xfa920d['resolvedBy']=_0x54ea3d['string']();break;default:_0x54ea3d['skipType'](0x7&_0xe8c7fa);}}return _0xfa920d;},_0x4db45f['decodeDelimited']=function(_0x4743d4){return _0x4743d4 instanceof _0x185f42||(_0x4743d4=new _0x185f42(_0x4743d4)),this['decode'](_0x4743d4,_0x4743d4['uint32']());},_0x4db45f['verify']=function(_0x1237a6){return'object'!=typeof _0x1237a6||null===_0x1237a6?'object\x20expected':null!=_0x1237a6['commentThreadId']&&_0x1237a6['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x1237a6['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1237a6['documentId']&&_0x1237a6['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x1237a6['documentId'])?'documentId:\x20string\x20expected':null!=_0x1237a6['resolvedAt']&&_0x1237a6['hasOwnProperty']('resolvedAt')&&!_0x43a1d8['isString'](_0x1237a6['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1237a6['resolvedBy']&&_0x1237a6['hasOwnProperty']('resolvedBy')&&!_0x43a1d8['isString'](_0x1237a6['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x4db45f['fromObject']=function(_0x5814f2){if(_0x5814f2 instanceof _0x297356['CommentsV2ResolveCommentThreadResponse'])return _0x5814f2;var _0x128f4a=new _0x297356['CommentsV2ResolveCommentThreadResponse']();return null!=_0x5814f2['commentThreadId']&&(_0x128f4a['commentThreadId']=String(_0x5814f2['commentThreadId'])),null!=_0x5814f2['documentId']&&(_0x128f4a['documentId']=String(_0x5814f2['documentId'])),null!=_0x5814f2['resolvedAt']&&(_0x128f4a['resolvedAt']=String(_0x5814f2['resolvedAt'])),null!=_0x5814f2['resolvedBy']&&(_0x128f4a['resolvedBy']=String(_0x5814f2['resolvedBy'])),_0x128f4a;},_0x4db45f['toObject']=function(_0x1edc9b,_0x3346a1){_0x3346a1||(_0x3346a1={});var _0x4d51d1={};return _0x3346a1['defaults']&&(_0x4d51d1['commentThreadId']='',_0x4d51d1['documentId']='',_0x4d51d1['resolvedAt']='',_0x4d51d1['resolvedBy']=''),null!=_0x1edc9b['commentThreadId']&&_0x1edc9b['hasOwnProperty']('commentThreadId')&&(_0x4d51d1['commentThreadId']=_0x1edc9b['commentThreadId']),null!=_0x1edc9b['documentId']&&_0x1edc9b['hasOwnProperty']('documentId')&&(_0x4d51d1['documentId']=_0x1edc9b['documentId']),null!=_0x1edc9b['resolvedAt']&&_0x1edc9b['hasOwnProperty']('resolvedAt')&&(_0x4d51d1['resolvedAt']=_0x1edc9b['resolvedAt']),null!=_0x1edc9b['resolvedBy']&&_0x1edc9b['hasOwnProperty']('resolvedBy')&&(_0x4d51d1['resolvedBy']=_0x1edc9b['resolvedBy']),_0x4d51d1;},_0x4db45f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4db45f['getTypeUrl']=function(_0x7ca137){return void 0x0===_0x7ca137&&(_0x7ca137='type.googleapis.com'),_0x7ca137+'/CommentsV2ResolveCommentThreadResponse';},_0x4db45f;}()),_0x297356['CommentsV2AddCommentThreadResponse']=(function(){function _0x4b7570(_0x38acc4){if(this['comments']=[],_0x38acc4){for(var _0x2d632b=Object['keys'](_0x38acc4),_0x1dbedc=0x0;_0x1dbedc<_0x2d632b['length'];++_0x1dbedc)null!=_0x38acc4[_0x2d632b[_0x1dbedc]]&&(this[_0x2d632b[_0x1dbedc]]=_0x38acc4[_0x2d632b[_0x1dbedc]]);}}return _0x4b7570['prototype']['commentThreadId']='',_0x4b7570['prototype']['createdAt']='',_0x4b7570['prototype']['comments']=_0x43a1d8['emptyArray'],_0x4b7570['create']=function(_0x2c9e87){return new _0x4b7570(_0x2c9e87);},_0x4b7570['encode']=function(_0x18e979,_0x2fae3e){if(_0x2fae3e||(_0x2fae3e=_0x102edc['create']()),null!=_0x18e979['commentThreadId']&&Object['hasOwnProperty']['call'](_0x18e979,'commentThreadId')&&_0x2fae3e['uint32'](0xa)['string'](_0x18e979['commentThreadId']),null!=_0x18e979['createdAt']&&Object['hasOwnProperty']['call'](_0x18e979,'createdAt')&&_0x2fae3e['uint32'](0x12)['string'](_0x18e979['createdAt']),null!=_0x18e979['comments']&&_0x18e979['comments']['length']){for(var _0x2e57a9=0x0;_0x2e57a9<_0x18e979['comments']['length'];++_0x2e57a9)_0x297356['CommentThreadAddedCommentDescriptor']['encode'](_0x18e979['comments'][_0x2e57a9],_0x2fae3e['uint32'](0x1a)['fork']())['ldelim']();}return _0x2fae3e;},_0x4b7570['encodeDelimited']=function(_0x33493d,_0x4be82d){return this['encode'](_0x33493d,_0x4be82d)['ldelim']();},_0x4b7570['decode']=function(_0x2aec1c,_0x29a7fa,_0x5e85da){_0x2aec1c instanceof _0x185f42||(_0x2aec1c=_0x185f42['create'](_0x2aec1c));for(var _0x256a3c=void 0x0===_0x29a7fa?_0x2aec1c['len']:_0x2aec1c['pos']+_0x29a7fa,_0x3e2655=new _0x297356['CommentsV2AddCommentThreadResponse']();_0x2aec1c['pos']<_0x256a3c;){var _0x50e9fe=_0x2aec1c['uint32']();if(_0x50e9fe===_0x5e85da)break;switch(_0x50e9fe>>>0x3){case 0x1:_0x3e2655['commentThreadId']=_0x2aec1c['string']();break;case 0x2:_0x3e2655['createdAt']=_0x2aec1c['string']();break;case 0x3:_0x3e2655['comments']&&_0x3e2655['comments']['length']||(_0x3e2655['comments']=[]),_0x3e2655['comments']['push'](_0x297356['CommentThreadAddedCommentDescriptor']['decode'](_0x2aec1c,_0x2aec1c['uint32']()));break;default:_0x2aec1c['skipType'](0x7&_0x50e9fe);}}return _0x3e2655;},_0x4b7570['decodeDelimited']=function(_0x7aed96){return _0x7aed96 instanceof _0x185f42||(_0x7aed96=new _0x185f42(_0x7aed96)),this['decode'](_0x7aed96,_0x7aed96['uint32']());},_0x4b7570['verify']=function(_0x3865f7){if('object'!=typeof _0x3865f7||null===_0x3865f7)return'object\x20expected';if(null!=_0x3865f7['commentThreadId']&&_0x3865f7['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x3865f7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3865f7['createdAt']&&_0x3865f7['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x3865f7['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3865f7['comments']&&_0x3865f7['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3865f7['comments']))return'comments:\x20array\x20expected';for(var _0x814f1=0x0;_0x814f1<_0x3865f7['comments']['length'];++_0x814f1){var _0x54b911=_0x297356['CommentThreadAddedCommentDescriptor']['verify'](_0x3865f7['comments'][_0x814f1]);if(_0x54b911)return'comments.'+_0x54b911;}}return null;},_0x4b7570['fromObject']=function(_0x38911f){if(_0x38911f instanceof _0x297356['CommentsV2AddCommentThreadResponse'])return _0x38911f;var _0xa46007=new _0x297356['CommentsV2AddCommentThreadResponse']();if(null!=_0x38911f['commentThreadId']&&(_0xa46007['commentThreadId']=String(_0x38911f['commentThreadId'])),null!=_0x38911f['createdAt']&&(_0xa46007['createdAt']=String(_0x38911f['createdAt'])),_0x38911f['comments']){if(!Array['isArray'](_0x38911f['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0xa46007['comments']=[];for(var _0x1c4e67=0x0;_0x1c4e67<_0x38911f['comments']['length'];++_0x1c4e67){if('object'!=typeof _0x38911f['comments'][_0x1c4e67])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0xa46007['comments'][_0x1c4e67]=_0x297356['CommentThreadAddedCommentDescriptor']['fromObject'](_0x38911f['comments'][_0x1c4e67]);}}return _0xa46007;},_0x4b7570['toObject']=function(_0x909a11,_0x50f13b){_0x50f13b||(_0x50f13b={});var _0x16e4ee={};if((_0x50f13b['arrays']||_0x50f13b['defaults'])&&(_0x16e4ee['comments']=[]),_0x50f13b['defaults']&&(_0x16e4ee['commentThreadId']='',_0x16e4ee['createdAt']=''),null!=_0x909a11['commentThreadId']&&_0x909a11['hasOwnProperty']('commentThreadId')&&(_0x16e4ee['commentThreadId']=_0x909a11['commentThreadId']),null!=_0x909a11['createdAt']&&_0x909a11['hasOwnProperty']('createdAt')&&(_0x16e4ee['createdAt']=_0x909a11['createdAt']),_0x909a11['comments']&&_0x909a11['comments']['length']){_0x16e4ee['comments']=[];for(var _0x576ac0=0x0;_0x576ac0<_0x909a11['comments']['length'];++_0x576ac0)_0x16e4ee['comments'][_0x576ac0]=_0x297356['CommentThreadAddedCommentDescriptor']['toObject'](_0x909a11['comments'][_0x576ac0],_0x50f13b);}return _0x16e4ee;},_0x4b7570['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4b7570['getTypeUrl']=function(_0x3e23bb){return void 0x0===_0x3e23bb&&(_0x3e23bb='type.googleapis.com'),_0x3e23bb+'/CommentsV2AddCommentThreadResponse';},_0x4b7570;}()),_0x297356['CommentsV2UpdateCommentMessage']=(function(){function _0x242e34(_0x3878e3){if(_0x3878e3){for(var _0x2ab407=Object['keys'](_0x3878e3),_0xcbcb18=0x0;_0xcbcb18<_0x2ab407['length'];++_0xcbcb18)null!=_0x3878e3[_0x2ab407[_0xcbcb18]]&&(this[_0x2ab407[_0xcbcb18]]=_0x3878e3[_0x2ab407[_0xcbcb18]]);}}return _0x242e34['prototype']['commentThreadId']='',_0x242e34['prototype']['commentId']='',_0x242e34['prototype']['content']='',_0x242e34['prototype']['documentId']='',_0x242e34['prototype']['attributes']='',_0x242e34['prototype']['isAttributesUpdated']=!0x1,_0x242e34['prototype']['commentThread']=null,_0x242e34['create']=function(_0xe49f9d){return new _0x242e34(_0xe49f9d);},_0x242e34['encode']=function(_0x5bd651,_0x15907c){return _0x15907c||(_0x15907c=_0x102edc['create']()),null!=_0x5bd651['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5bd651,'commentThreadId')&&_0x15907c['uint32'](0xa)['string'](_0x5bd651['commentThreadId']),null!=_0x5bd651['commentId']&&Object['hasOwnProperty']['call'](_0x5bd651,'commentId')&&_0x15907c['uint32'](0x12)['string'](_0x5bd651['commentId']),null!=_0x5bd651['content']&&Object['hasOwnProperty']['call'](_0x5bd651,'content')&&_0x15907c['uint32'](0x1a)['string'](_0x5bd651['content']),null!=_0x5bd651['documentId']&&Object['hasOwnProperty']['call'](_0x5bd651,'documentId')&&_0x15907c['uint32'](0x22)['string'](_0x5bd651['documentId']),null!=_0x5bd651['attributes']&&Object['hasOwnProperty']['call'](_0x5bd651,'attributes')&&_0x15907c['uint32'](0x2a)['string'](_0x5bd651['attributes']),null!=_0x5bd651['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x5bd651,'isAttributesUpdated')&&_0x15907c['uint32'](0x30)['bool'](_0x5bd651['isAttributesUpdated']),null!=_0x5bd651['commentThread']&&Object['hasOwnProperty']['call'](_0x5bd651,'commentThread')&&_0x297356['CommentsThreadDescriptor']['encode'](_0x5bd651['commentThread'],_0x15907c['uint32'](0x3a)['fork']())['ldelim'](),_0x15907c;},_0x242e34['encodeDelimited']=function(_0x1e927a,_0x3add39){return this['encode'](_0x1e927a,_0x3add39)['ldelim']();},_0x242e34['decode']=function(_0xed743d,_0x3f4b1e,_0x258030){_0xed743d instanceof _0x185f42||(_0xed743d=_0x185f42['create'](_0xed743d));for(var _0xafd497=void 0x0===_0x3f4b1e?_0xed743d['len']:_0xed743d['pos']+_0x3f4b1e,_0x245fa8=new _0x297356['CommentsV2UpdateCommentMessage']();_0xed743d['pos']<_0xafd497;){var _0x2009a8=_0xed743d['uint32']();if(_0x2009a8===_0x258030)break;switch(_0x2009a8>>>0x3){case 0x1:_0x245fa8['commentThreadId']=_0xed743d['string']();break;case 0x2:_0x245fa8['commentId']=_0xed743d['string']();break;case 0x3:_0x245fa8['content']=_0xed743d['string']();break;case 0x4:_0x245fa8['documentId']=_0xed743d['string']();break;case 0x5:_0x245fa8['attributes']=_0xed743d['string']();break;case 0x6:_0x245fa8['isAttributesUpdated']=_0xed743d['bool']();break;case 0x7:_0x245fa8['commentThread']=_0x297356['CommentsThreadDescriptor']['decode'](_0xed743d,_0xed743d['uint32']());break;default:_0xed743d['skipType'](0x7&_0x2009a8);}}return _0x245fa8;},_0x242e34['decodeDelimited']=function(_0x565a55){return _0x565a55 instanceof _0x185f42||(_0x565a55=new _0x185f42(_0x565a55)),this['decode'](_0x565a55,_0x565a55['uint32']());},_0x242e34['verify']=function(_0x3e3031){if('object'!=typeof _0x3e3031||null===_0x3e3031)return'object\x20expected';if(null!=_0x3e3031['commentThreadId']&&_0x3e3031['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x3e3031['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3e3031['commentId']&&_0x3e3031['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x3e3031['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3e3031['content']&&_0x3e3031['hasOwnProperty']('content')&&!_0x43a1d8['isString'](_0x3e3031['content']))return'content:\x20string\x20expected';if(null!=_0x3e3031['documentId']&&_0x3e3031['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x3e3031['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3e3031['attributes']&&_0x3e3031['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x3e3031['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3e3031['isAttributesUpdated']&&_0x3e3031['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x3e3031['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3e3031['commentThread']&&_0x3e3031['hasOwnProperty']('commentThread')){var _0x5ca6d6=_0x297356['CommentsThreadDescriptor']['verify'](_0x3e3031['commentThread']);if(_0x5ca6d6)return'commentThread.'+_0x5ca6d6;}return null;},_0x242e34['fromObject']=function(_0x568351){if(_0x568351 instanceof _0x297356['CommentsV2UpdateCommentMessage'])return _0x568351;var _0xf5e894=new _0x297356['CommentsV2UpdateCommentMessage']();if(null!=_0x568351['commentThreadId']&&(_0xf5e894['commentThreadId']=String(_0x568351['commentThreadId'])),null!=_0x568351['commentId']&&(_0xf5e894['commentId']=String(_0x568351['commentId'])),null!=_0x568351['content']&&(_0xf5e894['content']=String(_0x568351['content'])),null!=_0x568351['documentId']&&(_0xf5e894['documentId']=String(_0x568351['documentId'])),null!=_0x568351['attributes']&&(_0xf5e894['attributes']=String(_0x568351['attributes'])),null!=_0x568351['isAttributesUpdated']&&(_0xf5e894['isAttributesUpdated']=Boolean(_0x568351['isAttributesUpdated'])),null!=_0x568351['commentThread']){if('object'!=typeof _0x568351['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0xf5e894['commentThread']=_0x297356['CommentsThreadDescriptor']['fromObject'](_0x568351['commentThread']);}return _0xf5e894;},_0x242e34['toObject']=function(_0x332dd6,_0x3000b7){_0x3000b7||(_0x3000b7={});var _0x5b951b={};return _0x3000b7['defaults']&&(_0x5b951b['commentThreadId']='',_0x5b951b['commentId']='',_0x5b951b['content']='',_0x5b951b['documentId']='',_0x5b951b['attributes']='',_0x5b951b['isAttributesUpdated']=!0x1,_0x5b951b['commentThread']=null),null!=_0x332dd6['commentThreadId']&&_0x332dd6['hasOwnProperty']('commentThreadId')&&(_0x5b951b['commentThreadId']=_0x332dd6['commentThreadId']),null!=_0x332dd6['commentId']&&_0x332dd6['hasOwnProperty']('commentId')&&(_0x5b951b['commentId']=_0x332dd6['commentId']),null!=_0x332dd6['content']&&_0x332dd6['hasOwnProperty']('content')&&(_0x5b951b['content']=_0x332dd6['content']),null!=_0x332dd6['documentId']&&_0x332dd6['hasOwnProperty']('documentId')&&(_0x5b951b['documentId']=_0x332dd6['documentId']),null!=_0x332dd6['attributes']&&_0x332dd6['hasOwnProperty']('attributes')&&(_0x5b951b['attributes']=_0x332dd6['attributes']),null!=_0x332dd6['isAttributesUpdated']&&_0x332dd6['hasOwnProperty']('isAttributesUpdated')&&(_0x5b951b['isAttributesUpdated']=_0x332dd6['isAttributesUpdated']),null!=_0x332dd6['commentThread']&&_0x332dd6['hasOwnProperty']('commentThread')&&(_0x5b951b['commentThread']=_0x297356['CommentsThreadDescriptor']['toObject'](_0x332dd6['commentThread'],_0x3000b7)),_0x5b951b;},_0x242e34['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x242e34['getTypeUrl']=function(_0x19a0d6){return void 0x0===_0x19a0d6&&(_0x19a0d6='type.googleapis.com'),_0x19a0d6+'/CommentsV2UpdateCommentMessage';},_0x242e34;}()),_0x297356['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x4fe449(_0x31bdc8){if(_0x31bdc8){for(var _0xa6b049=Object['keys'](_0x31bdc8),_0x1cb57e=0x0;_0x1cb57e<_0xa6b049['length'];++_0x1cb57e)null!=_0x31bdc8[_0xa6b049[_0x1cb57e]]&&(this[_0xa6b049[_0x1cb57e]]=_0x31bdc8[_0xa6b049[_0x1cb57e]]);}}return _0x4fe449['prototype']['commentThreadId']='',_0x4fe449['prototype']['documentId']='',_0x4fe449['create']=function(_0x407739){return new _0x4fe449(_0x407739);},_0x4fe449['encode']=function(_0x3da4c0,_0x2dadf0){return _0x2dadf0||(_0x2dadf0=_0x102edc['create']()),null!=_0x3da4c0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3da4c0,'commentThreadId')&&_0x2dadf0['uint32'](0xa)['string'](_0x3da4c0['commentThreadId']),null!=_0x3da4c0['documentId']&&Object['hasOwnProperty']['call'](_0x3da4c0,'documentId')&&_0x2dadf0['uint32'](0x12)['string'](_0x3da4c0['documentId']),_0x2dadf0;},_0x4fe449['encodeDelimited']=function(_0x3fe15a,_0x4c1943){return this['encode'](_0x3fe15a,_0x4c1943)['ldelim']();},_0x4fe449['decode']=function(_0x3d49a8,_0x16bbe3,_0x627697){_0x3d49a8 instanceof _0x185f42||(_0x3d49a8=_0x185f42['create'](_0x3d49a8));for(var _0x523310=void 0x0===_0x16bbe3?_0x3d49a8['len']:_0x3d49a8['pos']+_0x16bbe3,_0x285b9c=new _0x297356['CommentsV2RemoveCommentThreadMessage']();_0x3d49a8['pos']<_0x523310;){var _0x553897=_0x3d49a8['uint32']();if(_0x553897===_0x627697)break;switch(_0x553897>>>0x3){case 0x1:_0x285b9c['commentThreadId']=_0x3d49a8['string']();break;case 0x2:_0x285b9c['documentId']=_0x3d49a8['string']();break;default:_0x3d49a8['skipType'](0x7&_0x553897);}}return _0x285b9c;},_0x4fe449['decodeDelimited']=function(_0xaf3458){return _0xaf3458 instanceof _0x185f42||(_0xaf3458=new _0x185f42(_0xaf3458)),this['decode'](_0xaf3458,_0xaf3458['uint32']());},_0x4fe449['verify']=function(_0x4d5174){return'object'!=typeof _0x4d5174||null===_0x4d5174?'object\x20expected':null!=_0x4d5174['commentThreadId']&&_0x4d5174['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x4d5174['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4d5174['documentId']&&_0x4d5174['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x4d5174['documentId'])?'documentId:\x20string\x20expected':null;},_0x4fe449['fromObject']=function(_0x377231){if(_0x377231 instanceof _0x297356['CommentsV2RemoveCommentThreadMessage'])return _0x377231;var _0x55dabe=new _0x297356['CommentsV2RemoveCommentThreadMessage']();return null!=_0x377231['commentThreadId']&&(_0x55dabe['commentThreadId']=String(_0x377231['commentThreadId'])),null!=_0x377231['documentId']&&(_0x55dabe['documentId']=String(_0x377231['documentId'])),_0x55dabe;},_0x4fe449['toObject']=function(_0x367287,_0x14431b){_0x14431b||(_0x14431b={});var _0x51b43a={};return _0x14431b['defaults']&&(_0x51b43a['commentThreadId']='',_0x51b43a['documentId']=''),null!=_0x367287['commentThreadId']&&_0x367287['hasOwnProperty']('commentThreadId')&&(_0x51b43a['commentThreadId']=_0x367287['commentThreadId']),null!=_0x367287['documentId']&&_0x367287['hasOwnProperty']('documentId')&&(_0x51b43a['documentId']=_0x367287['documentId']),_0x51b43a;},_0x4fe449['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x4fe449['getTypeUrl']=function(_0x465831){return void 0x0===_0x465831&&(_0x465831='type.googleapis.com'),_0x465831+'/CommentsV2RemoveCommentThreadMessage';},_0x4fe449;}()),_0x297356['CommentsV2RemoveCommentMessage']=(function(){function _0x5e58f0(_0x12a5ad){if(_0x12a5ad){for(var _0x197e39=Object['keys'](_0x12a5ad),_0x29b941=0x0;_0x29b941<_0x197e39['length'];++_0x29b941)null!=_0x12a5ad[_0x197e39[_0x29b941]]&&(this[_0x197e39[_0x29b941]]=_0x12a5ad[_0x197e39[_0x29b941]]);}}return _0x5e58f0['prototype']['commentThreadId']='',_0x5e58f0['prototype']['commentId']='',_0x5e58f0['prototype']['documentId']='',_0x5e58f0['create']=function(_0x3db187){return new _0x5e58f0(_0x3db187);},_0x5e58f0['encode']=function(_0x10031c,_0x464d58){return _0x464d58||(_0x464d58=_0x102edc['create']()),null!=_0x10031c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x10031c,'commentThreadId')&&_0x464d58['uint32'](0xa)['string'](_0x10031c['commentThreadId']),null!=_0x10031c['commentId']&&Object['hasOwnProperty']['call'](_0x10031c,'commentId')&&_0x464d58['uint32'](0x12)['string'](_0x10031c['commentId']),null!=_0x10031c['documentId']&&Object['hasOwnProperty']['call'](_0x10031c,'documentId')&&_0x464d58['uint32'](0x1a)['string'](_0x10031c['documentId']),_0x464d58;},_0x5e58f0['encodeDelimited']=function(_0x2f5ff0,_0xe9a318){return this['encode'](_0x2f5ff0,_0xe9a318)['ldelim']();},_0x5e58f0['decode']=function(_0x25f2b7,_0x567837,_0x328c9e){_0x25f2b7 instanceof _0x185f42||(_0x25f2b7=_0x185f42['create'](_0x25f2b7));for(var _0x11a862=void 0x0===_0x567837?_0x25f2b7['len']:_0x25f2b7['pos']+_0x567837,_0x1bbd4d=new _0x297356['CommentsV2RemoveCommentMessage']();_0x25f2b7['pos']<_0x11a862;){var _0x32fc21=_0x25f2b7['uint32']();if(_0x32fc21===_0x328c9e)break;switch(_0x32fc21>>>0x3){case 0x1:_0x1bbd4d['commentThreadId']=_0x25f2b7['string']();break;case 0x2:_0x1bbd4d['commentId']=_0x25f2b7['string']();break;case 0x3:_0x1bbd4d['documentId']=_0x25f2b7['string']();break;default:_0x25f2b7['skipType'](0x7&_0x32fc21);}}return _0x1bbd4d;},_0x5e58f0['decodeDelimited']=function(_0x2bb5ef){return _0x2bb5ef instanceof _0x185f42||(_0x2bb5ef=new _0x185f42(_0x2bb5ef)),this['decode'](_0x2bb5ef,_0x2bb5ef['uint32']());},_0x5e58f0['verify']=function(_0x36ad58){return'object'!=typeof _0x36ad58||null===_0x36ad58?'object\x20expected':null!=_0x36ad58['commentThreadId']&&_0x36ad58['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x36ad58['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x36ad58['commentId']&&_0x36ad58['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x36ad58['commentId'])?'commentId:\x20string\x20expected':null!=_0x36ad58['documentId']&&_0x36ad58['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x36ad58['documentId'])?'documentId:\x20string\x20expected':null;},_0x5e58f0['fromObject']=function(_0x23c8f7){if(_0x23c8f7 instanceof _0x297356['CommentsV2RemoveCommentMessage'])return _0x23c8f7;var _0x57ea6d=new _0x297356['CommentsV2RemoveCommentMessage']();return null!=_0x23c8f7['commentThreadId']&&(_0x57ea6d['commentThreadId']=String(_0x23c8f7['commentThreadId'])),null!=_0x23c8f7['commentId']&&(_0x57ea6d['commentId']=String(_0x23c8f7['commentId'])),null!=_0x23c8f7['documentId']&&(_0x57ea6d['documentId']=String(_0x23c8f7['documentId'])),_0x57ea6d;},_0x5e58f0['toObject']=function(_0x12d2c0,_0xeccc6f){_0xeccc6f||(_0xeccc6f={});var _0x197abd={};return _0xeccc6f['defaults']&&(_0x197abd['commentThreadId']='',_0x197abd['commentId']='',_0x197abd['documentId']=''),null!=_0x12d2c0['commentThreadId']&&_0x12d2c0['hasOwnProperty']('commentThreadId')&&(_0x197abd['commentThreadId']=_0x12d2c0['commentThreadId']),null!=_0x12d2c0['commentId']&&_0x12d2c0['hasOwnProperty']('commentId')&&(_0x197abd['commentId']=_0x12d2c0['commentId']),null!=_0x12d2c0['documentId']&&_0x12d2c0['hasOwnProperty']('documentId')&&(_0x197abd['documentId']=_0x12d2c0['documentId']),_0x197abd;},_0x5e58f0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x5e58f0['getTypeUrl']=function(_0x20cc5f){return void 0x0===_0x20cc5f&&(_0x20cc5f='type.googleapis.com'),_0x20cc5f+'/CommentsV2RemoveCommentMessage';},_0x5e58f0;}()),_0x297356['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x5bcebc(_0x5470ff){if(_0x5470ff){for(var _0x33ea1b=Object['keys'](_0x5470ff),_0x4b29b2=0x0;_0x4b29b2<_0x33ea1b['length'];++_0x4b29b2)null!=_0x5470ff[_0x33ea1b[_0x4b29b2]]&&(this[_0x33ea1b[_0x4b29b2]]=_0x5470ff[_0x33ea1b[_0x4b29b2]]);}}return _0x5bcebc['prototype']['documentId']='',_0x5bcebc['create']=function(_0x3d166e){return new _0x5bcebc(_0x3d166e);},_0x5bcebc['encode']=function(_0x336494,_0x48027c){return _0x48027c||(_0x48027c=_0x102edc['create']()),null!=_0x336494['documentId']&&Object['hasOwnProperty']['call'](_0x336494,'documentId')&&_0x48027c['uint32'](0xa)['string'](_0x336494['documentId']),_0x48027c;},_0x5bcebc['encodeDelimited']=function(_0x1503d8,_0x403434){return this['encode'](_0x1503d8,_0x403434)['ldelim']();},_0x5bcebc['decode']=function(_0x33c641,_0x4bb052,_0x240b6a){_0x33c641 instanceof _0x185f42||(_0x33c641=_0x185f42['create'](_0x33c641));for(var _0x3e7ecb=void 0x0===_0x4bb052?_0x33c641['len']:_0x33c641['pos']+_0x4bb052,_0x3bbcc7=new _0x297356['CommentsV2GetDocumentThreadsMessage']();_0x33c641['pos']<_0x3e7ecb;){var _0x33fa01=_0x33c641['uint32']();if(_0x33fa01===_0x240b6a)break;_0x33fa01>>>0x3==0x1?_0x3bbcc7['documentId']=_0x33c641['string']():_0x33c641['skipType'](0x7&_0x33fa01);}return _0x3bbcc7;},_0x5bcebc['decodeDelimited']=function(_0xc2cc81){return _0xc2cc81 instanceof _0x185f42||(_0xc2cc81=new _0x185f42(_0xc2cc81)),this['decode'](_0xc2cc81,_0xc2cc81['uint32']());},_0x5bcebc['verify']=function(_0x4baf67){return'object'!=typeof _0x4baf67||null===_0x4baf67?'object\x20expected':null!=_0x4baf67['documentId']&&_0x4baf67['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x4baf67['documentId'])?'documentId:\x20string\x20expected':null;},_0x5bcebc['fromObject']=function(_0xa71e20){if(_0xa71e20 instanceof _0x297356['CommentsV2GetDocumentThreadsMessage'])return _0xa71e20;var _0x4361a9=new _0x297356['CommentsV2GetDocumentThreadsMessage']();return null!=_0xa71e20['documentId']&&(_0x4361a9['documentId']=String(_0xa71e20['documentId'])),_0x4361a9;},_0x5bcebc['toObject']=function(_0x2dea18,_0x2267aa){_0x2267aa||(_0x2267aa={});var _0x30ca13={};return _0x2267aa['defaults']&&(_0x30ca13['documentId']=''),null!=_0x2dea18['documentId']&&_0x2dea18['hasOwnProperty']('documentId')&&(_0x30ca13['documentId']=_0x2dea18['documentId']),_0x30ca13;},_0x5bcebc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x5bcebc['getTypeUrl']=function(_0x59654d){return void 0x0===_0x59654d&&(_0x59654d='type.googleapis.com'),_0x59654d+'/CommentsV2GetDocumentThreadsMessage';},_0x5bcebc;}()),_0x297356['CommentsV2GetCommentThreadMessage']=(function(){function _0x2bab0b(_0x2473bc){if(_0x2473bc){for(var _0xafcbf2=Object['keys'](_0x2473bc),_0x2d923a=0x0;_0x2d923a<_0xafcbf2['length'];++_0x2d923a)null!=_0x2473bc[_0xafcbf2[_0x2d923a]]&&(this[_0xafcbf2[_0x2d923a]]=_0x2473bc[_0xafcbf2[_0x2d923a]]);}}return _0x2bab0b['prototype']['commentThreadId']='',_0x2bab0b['prototype']['documentId']='',_0x2bab0b['create']=function(_0x5c41de){return new _0x2bab0b(_0x5c41de);},_0x2bab0b['encode']=function(_0x4cd0ed,_0x387be9){return _0x387be9||(_0x387be9=_0x102edc['create']()),null!=_0x4cd0ed['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4cd0ed,'commentThreadId')&&_0x387be9['uint32'](0xa)['string'](_0x4cd0ed['commentThreadId']),null!=_0x4cd0ed['documentId']&&Object['hasOwnProperty']['call'](_0x4cd0ed,'documentId')&&_0x387be9['uint32'](0x12)['string'](_0x4cd0ed['documentId']),_0x387be9;},_0x2bab0b['encodeDelimited']=function(_0x55424a,_0x5b75a1){return this['encode'](_0x55424a,_0x5b75a1)['ldelim']();},_0x2bab0b['decode']=function(_0x1c1bf4,_0x5ae022,_0xfcca56){_0x1c1bf4 instanceof _0x185f42||(_0x1c1bf4=_0x185f42['create'](_0x1c1bf4));for(var _0x411607=void 0x0===_0x5ae022?_0x1c1bf4['len']:_0x1c1bf4['pos']+_0x5ae022,_0x5a73e0=new _0x297356['CommentsV2GetCommentThreadMessage']();_0x1c1bf4['pos']<_0x411607;){var _0x232bf1=_0x1c1bf4['uint32']();if(_0x232bf1===_0xfcca56)break;switch(_0x232bf1>>>0x3){case 0x1:_0x5a73e0['commentThreadId']=_0x1c1bf4['string']();break;case 0x2:_0x5a73e0['documentId']=_0x1c1bf4['string']();break;default:_0x1c1bf4['skipType'](0x7&_0x232bf1);}}return _0x5a73e0;},_0x2bab0b['decodeDelimited']=function(_0x58670e){return _0x58670e instanceof _0x185f42||(_0x58670e=new _0x185f42(_0x58670e)),this['decode'](_0x58670e,_0x58670e['uint32']());},_0x2bab0b['verify']=function(_0x355b18){return'object'!=typeof _0x355b18||null===_0x355b18?'object\x20expected':null!=_0x355b18['commentThreadId']&&_0x355b18['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x355b18['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x355b18['documentId']&&_0x355b18['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x355b18['documentId'])?'documentId:\x20string\x20expected':null;},_0x2bab0b['fromObject']=function(_0x21f7a8){if(_0x21f7a8 instanceof _0x297356['CommentsV2GetCommentThreadMessage'])return _0x21f7a8;var _0x49a3cf=new _0x297356['CommentsV2GetCommentThreadMessage']();return null!=_0x21f7a8['commentThreadId']&&(_0x49a3cf['commentThreadId']=String(_0x21f7a8['commentThreadId'])),null!=_0x21f7a8['documentId']&&(_0x49a3cf['documentId']=String(_0x21f7a8['documentId'])),_0x49a3cf;},_0x2bab0b['toObject']=function(_0x306cbb,_0x50bd80){_0x50bd80||(_0x50bd80={});var _0x57d7b2={};return _0x50bd80['defaults']&&(_0x57d7b2['commentThreadId']='',_0x57d7b2['documentId']=''),null!=_0x306cbb['commentThreadId']&&_0x306cbb['hasOwnProperty']('commentThreadId')&&(_0x57d7b2['commentThreadId']=_0x306cbb['commentThreadId']),null!=_0x306cbb['documentId']&&_0x306cbb['hasOwnProperty']('documentId')&&(_0x57d7b2['documentId']=_0x306cbb['documentId']),_0x57d7b2;},_0x2bab0b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2bab0b['getTypeUrl']=function(_0x39d2b1){return void 0x0===_0x39d2b1&&(_0x39d2b1='type.googleapis.com'),_0x39d2b1+'/CommentsV2GetCommentThreadMessage';},_0x2bab0b;}()),_0x297356['CommentsV2ConnectMessage']=(function(){function _0x29eac2(_0x299548){if(_0x299548){for(var _0x2e89f9=Object['keys'](_0x299548),_0x2ee33e=0x0;_0x2ee33e<_0x2e89f9['length'];++_0x2ee33e)null!=_0x299548[_0x2e89f9[_0x2ee33e]]&&(this[_0x2e89f9[_0x2ee33e]]=_0x299548[_0x2e89f9[_0x2ee33e]]);}}return _0x29eac2['prototype']['documentId']='',_0x29eac2['create']=function(_0x3d2952){return new _0x29eac2(_0x3d2952);},_0x29eac2['encode']=function(_0x1b5e0d,_0x3ff0e4){return _0x3ff0e4||(_0x3ff0e4=_0x102edc['create']()),null!=_0x1b5e0d['documentId']&&Object['hasOwnProperty']['call'](_0x1b5e0d,'documentId')&&_0x3ff0e4['uint32'](0xa)['string'](_0x1b5e0d['documentId']),_0x3ff0e4;},_0x29eac2['encodeDelimited']=function(_0x3b95bd,_0x275d9a){return this['encode'](_0x3b95bd,_0x275d9a)['ldelim']();},_0x29eac2['decode']=function(_0x305e24,_0x293ab6,_0x295d9c){_0x305e24 instanceof _0x185f42||(_0x305e24=_0x185f42['create'](_0x305e24));for(var _0x14aafa=void 0x0===_0x293ab6?_0x305e24['len']:_0x305e24['pos']+_0x293ab6,_0x56aeac=new _0x297356['CommentsV2ConnectMessage']();_0x305e24['pos']<_0x14aafa;){var _0x4ec77d=_0x305e24['uint32']();if(_0x4ec77d===_0x295d9c)break;_0x4ec77d>>>0x3==0x1?_0x56aeac['documentId']=_0x305e24['string']():_0x305e24['skipType'](0x7&_0x4ec77d);}return _0x56aeac;},_0x29eac2['decodeDelimited']=function(_0x16772f){return _0x16772f instanceof _0x185f42||(_0x16772f=new _0x185f42(_0x16772f)),this['decode'](_0x16772f,_0x16772f['uint32']());},_0x29eac2['verify']=function(_0x11f8eb){return'object'!=typeof _0x11f8eb||null===_0x11f8eb?'object\x20expected':null!=_0x11f8eb['documentId']&&_0x11f8eb['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x11f8eb['documentId'])?'documentId:\x20string\x20expected':null;},_0x29eac2['fromObject']=function(_0x4db474){if(_0x4db474 instanceof _0x297356['CommentsV2ConnectMessage'])return _0x4db474;var _0xd54888=new _0x297356['CommentsV2ConnectMessage']();return null!=_0x4db474['documentId']&&(_0xd54888['documentId']=String(_0x4db474['documentId'])),_0xd54888;},_0x29eac2['toObject']=function(_0x3e6f0f,_0x51a280){_0x51a280||(_0x51a280={});var _0x852af={};return _0x51a280['defaults']&&(_0x852af['documentId']=''),null!=_0x3e6f0f['documentId']&&_0x3e6f0f['hasOwnProperty']('documentId')&&(_0x852af['documentId']=_0x3e6f0f['documentId']),_0x852af;},_0x29eac2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x29eac2['getTypeUrl']=function(_0x334a0f){return void 0x0===_0x334a0f&&(_0x334a0f='type.googleapis.com'),_0x334a0f+'/CommentsV2ConnectMessage';},_0x29eac2;}()),_0x297356['CommentsV2AddCommentMessage']=(function(){function _0x134124(_0x64bfbb){if(_0x64bfbb){for(var _0x4318d5=Object['keys'](_0x64bfbb),_0x1a98ca=0x0;_0x1a98ca<_0x4318d5['length'];++_0x1a98ca)null!=_0x64bfbb[_0x4318d5[_0x1a98ca]]&&(this[_0x4318d5[_0x1a98ca]]=_0x64bfbb[_0x4318d5[_0x1a98ca]]);}}return _0x134124['prototype']['commentThreadId']='',_0x134124['prototype']['content']='',_0x134124['prototype']['documentId']='',_0x134124['prototype']['commentId']='',_0x134124['prototype']['createdAt']='',_0x134124['prototype']['userId']='',_0x134124['prototype']['attributes']='',_0x134124['prototype']['commentThread']=null,_0x134124['create']=function(_0x1f69f3){return new _0x134124(_0x1f69f3);},_0x134124['encode']=function(_0x2a002f,_0x59e736){return _0x59e736||(_0x59e736=_0x102edc['create']()),null!=_0x2a002f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2a002f,'commentThreadId')&&_0x59e736['uint32'](0xa)['string'](_0x2a002f['commentThreadId']),null!=_0x2a002f['content']&&Object['hasOwnProperty']['call'](_0x2a002f,'content')&&_0x59e736['uint32'](0x12)['string'](_0x2a002f['content']),null!=_0x2a002f['documentId']&&Object['hasOwnProperty']['call'](_0x2a002f,'documentId')&&_0x59e736['uint32'](0x1a)['string'](_0x2a002f['documentId']),null!=_0x2a002f['commentId']&&Object['hasOwnProperty']['call'](_0x2a002f,'commentId')&&_0x59e736['uint32'](0x22)['string'](_0x2a002f['commentId']),null!=_0x2a002f['createdAt']&&Object['hasOwnProperty']['call'](_0x2a002f,'createdAt')&&_0x59e736['uint32'](0x2a)['string'](_0x2a002f['createdAt']),null!=_0x2a002f['userId']&&Object['hasOwnProperty']['call'](_0x2a002f,'userId')&&_0x59e736['uint32'](0x32)['string'](_0x2a002f['userId']),null!=_0x2a002f['attributes']&&Object['hasOwnProperty']['call'](_0x2a002f,'attributes')&&_0x59e736['uint32'](0x3a)['string'](_0x2a002f['attributes']),null!=_0x2a002f['commentThread']&&Object['hasOwnProperty']['call'](_0x2a002f,'commentThread')&&_0x297356['CommentsThreadDescriptor']['encode'](_0x2a002f['commentThread'],_0x59e736['uint32'](0x42)['fork']())['ldelim'](),_0x59e736;},_0x134124['encodeDelimited']=function(_0x2929cb,_0x38f47e){return this['encode'](_0x2929cb,_0x38f47e)['ldelim']();},_0x134124['decode']=function(_0x29feaf,_0x2ed81b,_0x1bc81a){_0x29feaf instanceof _0x185f42||(_0x29feaf=_0x185f42['create'](_0x29feaf));for(var _0x562fe5=void 0x0===_0x2ed81b?_0x29feaf['len']:_0x29feaf['pos']+_0x2ed81b,_0x1c552d=new _0x297356['CommentsV2AddCommentMessage']();_0x29feaf['pos']<_0x562fe5;){var _0x3d1445=_0x29feaf['uint32']();if(_0x3d1445===_0x1bc81a)break;switch(_0x3d1445>>>0x3){case 0x1:_0x1c552d['commentThreadId']=_0x29feaf['string']();break;case 0x2:_0x1c552d['content']=_0x29feaf['string']();break;case 0x3:_0x1c552d['documentId']=_0x29feaf['string']();break;case 0x4:_0x1c552d['commentId']=_0x29feaf['string']();break;case 0x5:_0x1c552d['createdAt']=_0x29feaf['string']();break;case 0x6:_0x1c552d['userId']=_0x29feaf['string']();break;case 0x7:_0x1c552d['attributes']=_0x29feaf['string']();break;case 0x8:_0x1c552d['commentThread']=_0x297356['CommentsThreadDescriptor']['decode'](_0x29feaf,_0x29feaf['uint32']());break;default:_0x29feaf['skipType'](0x7&_0x3d1445);}}return _0x1c552d;},_0x134124['decodeDelimited']=function(_0x21afd9){return _0x21afd9 instanceof _0x185f42||(_0x21afd9=new _0x185f42(_0x21afd9)),this['decode'](_0x21afd9,_0x21afd9['uint32']());},_0x134124['verify']=function(_0x54525a){if('object'!=typeof _0x54525a||null===_0x54525a)return'object\x20expected';if(null!=_0x54525a['commentThreadId']&&_0x54525a['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x54525a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x54525a['content']&&_0x54525a['hasOwnProperty']('content')&&!_0x43a1d8['isString'](_0x54525a['content']))return'content:\x20string\x20expected';if(null!=_0x54525a['documentId']&&_0x54525a['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x54525a['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x54525a['commentId']&&_0x54525a['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x54525a['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x54525a['createdAt']&&_0x54525a['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x54525a['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x54525a['userId']&&_0x54525a['hasOwnProperty']('userId')&&!_0x43a1d8['isString'](_0x54525a['userId']))return'userId:\x20string\x20expected';if(null!=_0x54525a['attributes']&&_0x54525a['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x54525a['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x54525a['commentThread']&&_0x54525a['hasOwnProperty']('commentThread')){var _0xd744f=_0x297356['CommentsThreadDescriptor']['verify'](_0x54525a['commentThread']);if(_0xd744f)return'commentThread.'+_0xd744f;}return null;},_0x134124['fromObject']=function(_0x452ab8){if(_0x452ab8 instanceof _0x297356['CommentsV2AddCommentMessage'])return _0x452ab8;var _0x487b19=new _0x297356['CommentsV2AddCommentMessage']();if(null!=_0x452ab8['commentThreadId']&&(_0x487b19['commentThreadId']=String(_0x452ab8['commentThreadId'])),null!=_0x452ab8['content']&&(_0x487b19['content']=String(_0x452ab8['content'])),null!=_0x452ab8['documentId']&&(_0x487b19['documentId']=String(_0x452ab8['documentId'])),null!=_0x452ab8['commentId']&&(_0x487b19['commentId']=String(_0x452ab8['commentId'])),null!=_0x452ab8['createdAt']&&(_0x487b19['createdAt']=String(_0x452ab8['createdAt'])),null!=_0x452ab8['userId']&&(_0x487b19['userId']=String(_0x452ab8['userId'])),null!=_0x452ab8['attributes']&&(_0x487b19['attributes']=String(_0x452ab8['attributes'])),null!=_0x452ab8['commentThread']){if('object'!=typeof _0x452ab8['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x487b19['commentThread']=_0x297356['CommentsThreadDescriptor']['fromObject'](_0x452ab8['commentThread']);}return _0x487b19;},_0x134124['toObject']=function(_0x210d9b,_0x19eae8){_0x19eae8||(_0x19eae8={});var _0x3ae05d={};return _0x19eae8['defaults']&&(_0x3ae05d['commentThreadId']='',_0x3ae05d['content']='',_0x3ae05d['documentId']='',_0x3ae05d['commentId']='',_0x3ae05d['createdAt']='',_0x3ae05d['userId']='',_0x3ae05d['attributes']='',_0x3ae05d['commentThread']=null),null!=_0x210d9b['commentThreadId']&&_0x210d9b['hasOwnProperty']('commentThreadId')&&(_0x3ae05d['commentThreadId']=_0x210d9b['commentThreadId']),null!=_0x210d9b['content']&&_0x210d9b['hasOwnProperty']('content')&&(_0x3ae05d['content']=_0x210d9b['content']),null!=_0x210d9b['documentId']&&_0x210d9b['hasOwnProperty']('documentId')&&(_0x3ae05d['documentId']=_0x210d9b['documentId']),null!=_0x210d9b['commentId']&&_0x210d9b['hasOwnProperty']('commentId')&&(_0x3ae05d['commentId']=_0x210d9b['commentId']),null!=_0x210d9b['createdAt']&&_0x210d9b['hasOwnProperty']('createdAt')&&(_0x3ae05d['createdAt']=_0x210d9b['createdAt']),null!=_0x210d9b['userId']&&_0x210d9b['hasOwnProperty']('userId')&&(_0x3ae05d['userId']=_0x210d9b['userId']),null!=_0x210d9b['attributes']&&_0x210d9b['hasOwnProperty']('attributes')&&(_0x3ae05d['attributes']=_0x210d9b['attributes']),null!=_0x210d9b['commentThread']&&_0x210d9b['hasOwnProperty']('commentThread')&&(_0x3ae05d['commentThread']=_0x297356['CommentsThreadDescriptor']['toObject'](_0x210d9b['commentThread'],_0x19eae8)),_0x3ae05d;},_0x134124['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x134124['getTypeUrl']=function(_0x3ca0de){return void 0x0===_0x3ca0de&&(_0x3ca0de='type.googleapis.com'),_0x3ca0de+'/CommentsV2AddCommentMessage';},_0x134124;}()),_0x297356['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x5e0732(_0x57c916){if(_0x57c916){for(var _0x5960eb=Object['keys'](_0x57c916),_0x53b924=0x0;_0x53b924<_0x5960eb['length'];++_0x53b924)null!=_0x57c916[_0x5960eb[_0x53b924]]&&(this[_0x5960eb[_0x53b924]]=_0x57c916[_0x5960eb[_0x53b924]]);}}return _0x5e0732['prototype']['commentThreadId']='',_0x5e0732['prototype']['documentId']='',_0x5e0732['prototype']['context']='',_0x5e0732['prototype']['attributes']='',_0x5e0732['prototype']['unlinkedAt']='',_0x5e0732['create']=function(_0x3a6f43){return new _0x5e0732(_0x3a6f43);},_0x5e0732['encode']=function(_0x267dd6,_0x5804ed){return _0x5804ed||(_0x5804ed=_0x102edc['create']()),null!=_0x267dd6['commentThreadId']&&Object['hasOwnProperty']['call'](_0x267dd6,'commentThreadId')&&_0x5804ed['uint32'](0xa)['string'](_0x267dd6['commentThreadId']),null!=_0x267dd6['documentId']&&Object['hasOwnProperty']['call'](_0x267dd6,'documentId')&&_0x5804ed['uint32'](0x12)['string'](_0x267dd6['documentId']),null!=_0x267dd6['context']&&Object['hasOwnProperty']['call'](_0x267dd6,'context')&&_0x5804ed['uint32'](0x1a)['string'](_0x267dd6['context']),null!=_0x267dd6['attributes']&&Object['hasOwnProperty']['call'](_0x267dd6,'attributes')&&_0x5804ed['uint32'](0x22)['string'](_0x267dd6['attributes']),null!=_0x267dd6['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x267dd6,'unlinkedAt')&&_0x5804ed['uint32'](0x2a)['string'](_0x267dd6['unlinkedAt']),_0x5804ed;},_0x5e0732['encodeDelimited']=function(_0x2e9406,_0x808311){return this['encode'](_0x2e9406,_0x808311)['ldelim']();},_0x5e0732['decode']=function(_0x1dcf86,_0x3f5865,_0x323817){_0x1dcf86 instanceof _0x185f42||(_0x1dcf86=_0x185f42['create'](_0x1dcf86));for(var _0x4d7a58=void 0x0===_0x3f5865?_0x1dcf86['len']:_0x1dcf86['pos']+_0x3f5865,_0x4a5edc=new _0x297356['CommentsV2UpdateCommentThreadMessage']();_0x1dcf86['pos']<_0x4d7a58;){var _0xa88b09=_0x1dcf86['uint32']();if(_0xa88b09===_0x323817)break;switch(_0xa88b09>>>0x3){case 0x1:_0x4a5edc['commentThreadId']=_0x1dcf86['string']();break;case 0x2:_0x4a5edc['documentId']=_0x1dcf86['string']();break;case 0x3:_0x4a5edc['context']=_0x1dcf86['string']();break;case 0x4:_0x4a5edc['attributes']=_0x1dcf86['string']();break;case 0x5:_0x4a5edc['unlinkedAt']=_0x1dcf86['string']();break;default:_0x1dcf86['skipType'](0x7&_0xa88b09);}}return _0x4a5edc;},_0x5e0732['decodeDelimited']=function(_0x4eb188){return _0x4eb188 instanceof _0x185f42||(_0x4eb188=new _0x185f42(_0x4eb188)),this['decode'](_0x4eb188,_0x4eb188['uint32']());},_0x5e0732['verify']=function(_0x1a447c){return'object'!=typeof _0x1a447c||null===_0x1a447c?'object\x20expected':null!=_0x1a447c['commentThreadId']&&_0x1a447c['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x1a447c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1a447c['documentId']&&_0x1a447c['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x1a447c['documentId'])?'documentId:\x20string\x20expected':null!=_0x1a447c['context']&&_0x1a447c['hasOwnProperty']('context')&&!_0x43a1d8['isString'](_0x1a447c['context'])?'context:\x20string\x20expected':null!=_0x1a447c['attributes']&&_0x1a447c['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x1a447c['attributes'])?'attributes:\x20string\x20expected':null!=_0x1a447c['unlinkedAt']&&_0x1a447c['hasOwnProperty']('unlinkedAt')&&!_0x43a1d8['isString'](_0x1a447c['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5e0732['fromObject']=function(_0x457f98){if(_0x457f98 instanceof _0x297356['CommentsV2UpdateCommentThreadMessage'])return _0x457f98;var _0x39c0e7=new _0x297356['CommentsV2UpdateCommentThreadMessage']();return null!=_0x457f98['commentThreadId']&&(_0x39c0e7['commentThreadId']=String(_0x457f98['commentThreadId'])),null!=_0x457f98['documentId']&&(_0x39c0e7['documentId']=String(_0x457f98['documentId'])),null!=_0x457f98['context']&&(_0x39c0e7['context']=String(_0x457f98['context'])),null!=_0x457f98['attributes']&&(_0x39c0e7['attributes']=String(_0x457f98['attributes'])),null!=_0x457f98['unlinkedAt']&&(_0x39c0e7['unlinkedAt']=String(_0x457f98['unlinkedAt'])),_0x39c0e7;},_0x5e0732['toObject']=function(_0x3da52c,_0x1c5f4a){_0x1c5f4a||(_0x1c5f4a={});var _0x5ddf38={};return _0x1c5f4a['defaults']&&(_0x5ddf38['commentThreadId']='',_0x5ddf38['documentId']='',_0x5ddf38['context']='',_0x5ddf38['attributes']='',_0x5ddf38['unlinkedAt']=''),null!=_0x3da52c['commentThreadId']&&_0x3da52c['hasOwnProperty']('commentThreadId')&&(_0x5ddf38['commentThreadId']=_0x3da52c['commentThreadId']),null!=_0x3da52c['documentId']&&_0x3da52c['hasOwnProperty']('documentId')&&(_0x5ddf38['documentId']=_0x3da52c['documentId']),null!=_0x3da52c['context']&&_0x3da52c['hasOwnProperty']('context')&&(_0x5ddf38['context']=_0x3da52c['context']),null!=_0x3da52c['attributes']&&_0x3da52c['hasOwnProperty']('attributes')&&(_0x5ddf38['attributes']=_0x3da52c['attributes']),null!=_0x3da52c['unlinkedAt']&&_0x3da52c['hasOwnProperty']('unlinkedAt')&&(_0x5ddf38['unlinkedAt']=_0x3da52c['unlinkedAt']),_0x5ddf38;},_0x5e0732['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x5e0732['getTypeUrl']=function(_0x1e7058){return void 0x0===_0x1e7058&&(_0x1e7058='type.googleapis.com'),_0x1e7058+'/CommentsV2UpdateCommentThreadMessage';},_0x5e0732;}()),_0x297356['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x3abfeb(_0x35ce97){if(_0x35ce97){for(var _0x52b10a=Object['keys'](_0x35ce97),_0x2f75fe=0x0;_0x2f75fe<_0x52b10a['length'];++_0x2f75fe)null!=_0x35ce97[_0x52b10a[_0x2f75fe]]&&(this[_0x52b10a[_0x2f75fe]]=_0x35ce97[_0x52b10a[_0x2f75fe]]);}}return _0x3abfeb['prototype']['commentThreadId']='',_0x3abfeb['prototype']['documentId']='',_0x3abfeb['prototype']['resolvedBy']='',_0x3abfeb['prototype']['resolvedAt']='',_0x3abfeb['create']=function(_0x54c408){return new _0x3abfeb(_0x54c408);},_0x3abfeb['encode']=function(_0x29b58b,_0xacf05c){return _0xacf05c||(_0xacf05c=_0x102edc['create']()),null!=_0x29b58b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x29b58b,'commentThreadId')&&_0xacf05c['uint32'](0xa)['string'](_0x29b58b['commentThreadId']),null!=_0x29b58b['documentId']&&Object['hasOwnProperty']['call'](_0x29b58b,'documentId')&&_0xacf05c['uint32'](0x12)['string'](_0x29b58b['documentId']),null!=_0x29b58b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x29b58b,'resolvedBy')&&_0xacf05c['uint32'](0x1a)['string'](_0x29b58b['resolvedBy']),null!=_0x29b58b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x29b58b,'resolvedAt')&&_0xacf05c['uint32'](0x22)['string'](_0x29b58b['resolvedAt']),_0xacf05c;},_0x3abfeb['encodeDelimited']=function(_0x508d10,_0x47a87c){return this['encode'](_0x508d10,_0x47a87c)['ldelim']();},_0x3abfeb['decode']=function(_0x57ff38,_0x1854cd,_0x65697){_0x57ff38 instanceof _0x185f42||(_0x57ff38=_0x185f42['create'](_0x57ff38));for(var _0x2e4cb7=void 0x0===_0x1854cd?_0x57ff38['len']:_0x57ff38['pos']+_0x1854cd,_0x5e7689=new _0x297356['CommentsV2ResolveCommentThreadMessage']();_0x57ff38['pos']<_0x2e4cb7;){var _0x271636=_0x57ff38['uint32']();if(_0x271636===_0x65697)break;switch(_0x271636>>>0x3){case 0x1:_0x5e7689['commentThreadId']=_0x57ff38['string']();break;case 0x2:_0x5e7689['documentId']=_0x57ff38['string']();break;case 0x3:_0x5e7689['resolvedBy']=_0x57ff38['string']();break;case 0x4:_0x5e7689['resolvedAt']=_0x57ff38['string']();break;default:_0x57ff38['skipType'](0x7&_0x271636);}}return _0x5e7689;},_0x3abfeb['decodeDelimited']=function(_0x1c6c79){return _0x1c6c79 instanceof _0x185f42||(_0x1c6c79=new _0x185f42(_0x1c6c79)),this['decode'](_0x1c6c79,_0x1c6c79['uint32']());},_0x3abfeb['verify']=function(_0x4f7307){return'object'!=typeof _0x4f7307||null===_0x4f7307?'object\x20expected':null!=_0x4f7307['commentThreadId']&&_0x4f7307['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x4f7307['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4f7307['documentId']&&_0x4f7307['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x4f7307['documentId'])?'documentId:\x20string\x20expected':null!=_0x4f7307['resolvedBy']&&_0x4f7307['hasOwnProperty']('resolvedBy')&&!_0x43a1d8['isString'](_0x4f7307['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4f7307['resolvedAt']&&_0x4f7307['hasOwnProperty']('resolvedAt')&&!_0x43a1d8['isString'](_0x4f7307['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x3abfeb['fromObject']=function(_0x2abcaa){if(_0x2abcaa instanceof _0x297356['CommentsV2ResolveCommentThreadMessage'])return _0x2abcaa;var _0x2faff8=new _0x297356['CommentsV2ResolveCommentThreadMessage']();return null!=_0x2abcaa['commentThreadId']&&(_0x2faff8['commentThreadId']=String(_0x2abcaa['commentThreadId'])),null!=_0x2abcaa['documentId']&&(_0x2faff8['documentId']=String(_0x2abcaa['documentId'])),null!=_0x2abcaa['resolvedBy']&&(_0x2faff8['resolvedBy']=String(_0x2abcaa['resolvedBy'])),null!=_0x2abcaa['resolvedAt']&&(_0x2faff8['resolvedAt']=String(_0x2abcaa['resolvedAt'])),_0x2faff8;},_0x3abfeb['toObject']=function(_0x43e904,_0x5ca9fc){_0x5ca9fc||(_0x5ca9fc={});var _0x14f801={};return _0x5ca9fc['defaults']&&(_0x14f801['commentThreadId']='',_0x14f801['documentId']='',_0x14f801['resolvedBy']='',_0x14f801['resolvedAt']=''),null!=_0x43e904['commentThreadId']&&_0x43e904['hasOwnProperty']('commentThreadId')&&(_0x14f801['commentThreadId']=_0x43e904['commentThreadId']),null!=_0x43e904['documentId']&&_0x43e904['hasOwnProperty']('documentId')&&(_0x14f801['documentId']=_0x43e904['documentId']),null!=_0x43e904['resolvedBy']&&_0x43e904['hasOwnProperty']('resolvedBy')&&(_0x14f801['resolvedBy']=_0x43e904['resolvedBy']),null!=_0x43e904['resolvedAt']&&_0x43e904['hasOwnProperty']('resolvedAt')&&(_0x14f801['resolvedAt']=_0x43e904['resolvedAt']),_0x14f801;},_0x3abfeb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x3abfeb['getTypeUrl']=function(_0xd98711){return void 0x0===_0xd98711&&(_0xd98711='type.googleapis.com'),_0xd98711+'/CommentsV2ResolveCommentThreadMessage';},_0x3abfeb;}()),_0x297356['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x2db6c4(_0x12cf2f){if(_0x12cf2f){for(var _0x2cdef0=Object['keys'](_0x12cf2f),_0x559bb3=0x0;_0x559bb3<_0x2cdef0['length'];++_0x559bb3)null!=_0x12cf2f[_0x2cdef0[_0x559bb3]]&&(this[_0x2cdef0[_0x559bb3]]=_0x12cf2f[_0x2cdef0[_0x559bb3]]);}}return _0x2db6c4['prototype']['commentThreadId']='',_0x2db6c4['prototype']['documentId']='',_0x2db6c4['create']=function(_0x5834cb){return new _0x2db6c4(_0x5834cb);},_0x2db6c4['encode']=function(_0x4a399c,_0x1e448f){return _0x1e448f||(_0x1e448f=_0x102edc['create']()),null!=_0x4a399c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4a399c,'commentThreadId')&&_0x1e448f['uint32'](0xa)['string'](_0x4a399c['commentThreadId']),null!=_0x4a399c['documentId']&&Object['hasOwnProperty']['call'](_0x4a399c,'documentId')&&_0x1e448f['uint32'](0x12)['string'](_0x4a399c['documentId']),_0x1e448f;},_0x2db6c4['encodeDelimited']=function(_0x2f5ef0,_0x3db065){return this['encode'](_0x2f5ef0,_0x3db065)['ldelim']();},_0x2db6c4['decode']=function(_0x53c113,_0x354f46,_0xc306f1){_0x53c113 instanceof _0x185f42||(_0x53c113=_0x185f42['create'](_0x53c113));for(var _0x51c6d9=void 0x0===_0x354f46?_0x53c113['len']:_0x53c113['pos']+_0x354f46,_0x43f50d=new _0x297356['CommentsV2ReopenCommentThreadMessage']();_0x53c113['pos']<_0x51c6d9;){var _0x509a94=_0x53c113['uint32']();if(_0x509a94===_0xc306f1)break;switch(_0x509a94>>>0x3){case 0x1:_0x43f50d['commentThreadId']=_0x53c113['string']();break;case 0x2:_0x43f50d['documentId']=_0x53c113['string']();break;default:_0x53c113['skipType'](0x7&_0x509a94);}}return _0x43f50d;},_0x2db6c4['decodeDelimited']=function(_0x270501){return _0x270501 instanceof _0x185f42||(_0x270501=new _0x185f42(_0x270501)),this['decode'](_0x270501,_0x270501['uint32']());},_0x2db6c4['verify']=function(_0x476919){return'object'!=typeof _0x476919||null===_0x476919?'object\x20expected':null!=_0x476919['commentThreadId']&&_0x476919['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x476919['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x476919['documentId']&&_0x476919['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x476919['documentId'])?'documentId:\x20string\x20expected':null;},_0x2db6c4['fromObject']=function(_0xc3dc4c){if(_0xc3dc4c instanceof _0x297356['CommentsV2ReopenCommentThreadMessage'])return _0xc3dc4c;var _0x216c1d=new _0x297356['CommentsV2ReopenCommentThreadMessage']();return null!=_0xc3dc4c['commentThreadId']&&(_0x216c1d['commentThreadId']=String(_0xc3dc4c['commentThreadId'])),null!=_0xc3dc4c['documentId']&&(_0x216c1d['documentId']=String(_0xc3dc4c['documentId'])),_0x216c1d;},_0x2db6c4['toObject']=function(_0x250601,_0x3400a7){_0x3400a7||(_0x3400a7={});var _0x1efd32={};return _0x3400a7['defaults']&&(_0x1efd32['commentThreadId']='',_0x1efd32['documentId']=''),null!=_0x250601['commentThreadId']&&_0x250601['hasOwnProperty']('commentThreadId')&&(_0x1efd32['commentThreadId']=_0x250601['commentThreadId']),null!=_0x250601['documentId']&&_0x250601['hasOwnProperty']('documentId')&&(_0x1efd32['documentId']=_0x250601['documentId']),_0x1efd32;},_0x2db6c4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x2db6c4['getTypeUrl']=function(_0x335522){return void 0x0===_0x335522&&(_0x335522='type.googleapis.com'),_0x335522+'/CommentsV2ReopenCommentThreadMessage';},_0x2db6c4;}()),_0x297356['CommentsV2AddCommentThreadMessage']=(function(){function _0x129efa(_0x39aabf){if(this['comments']=[],_0x39aabf){for(var _0x473e3f=Object['keys'](_0x39aabf),_0x2cbfcc=0x0;_0x2cbfcc<_0x473e3f['length'];++_0x2cbfcc)null!=_0x39aabf[_0x473e3f[_0x2cbfcc]]&&(this[_0x473e3f[_0x2cbfcc]]=_0x39aabf[_0x473e3f[_0x2cbfcc]]);}}return _0x129efa['prototype']['documentId']='',_0x129efa['prototype']['commentThreadId']='',_0x129efa['prototype']['context']='',_0x129efa['prototype']['createdAt']='',_0x129efa['prototype']['resolvedAt']='',_0x129efa['prototype']['resolvedBy']='',_0x129efa['prototype']['attributes']='',_0x129efa['prototype']['deletedAt']='',_0x129efa['prototype']['comments']=_0x43a1d8['emptyArray'],_0x129efa['create']=function(_0x30eed0){return new _0x129efa(_0x30eed0);},_0x129efa['encode']=function(_0x2c3f74,_0x3db13a){if(_0x3db13a||(_0x3db13a=_0x102edc['create']()),null!=_0x2c3f74['documentId']&&Object['hasOwnProperty']['call'](_0x2c3f74,'documentId')&&_0x3db13a['uint32'](0xa)['string'](_0x2c3f74['documentId']),null!=_0x2c3f74['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2c3f74,'commentThreadId')&&_0x3db13a['uint32'](0x12)['string'](_0x2c3f74['commentThreadId']),null!=_0x2c3f74['context']&&Object['hasOwnProperty']['call'](_0x2c3f74,'context')&&_0x3db13a['uint32'](0x1a)['string'](_0x2c3f74['context']),null!=_0x2c3f74['createdAt']&&Object['hasOwnProperty']['call'](_0x2c3f74,'createdAt')&&_0x3db13a['uint32'](0x22)['string'](_0x2c3f74['createdAt']),null!=_0x2c3f74['resolvedAt']&&Object['hasOwnProperty']['call'](_0x2c3f74,'resolvedAt')&&_0x3db13a['uint32'](0x2a)['string'](_0x2c3f74['resolvedAt']),null!=_0x2c3f74['resolvedBy']&&Object['hasOwnProperty']['call'](_0x2c3f74,'resolvedBy')&&_0x3db13a['uint32'](0x32)['string'](_0x2c3f74['resolvedBy']),null!=_0x2c3f74['attributes']&&Object['hasOwnProperty']['call'](_0x2c3f74,'attributes')&&_0x3db13a['uint32'](0x3a)['string'](_0x2c3f74['attributes']),null!=_0x2c3f74['deletedAt']&&Object['hasOwnProperty']['call'](_0x2c3f74,'deletedAt')&&_0x3db13a['uint32'](0x42)['string'](_0x2c3f74['deletedAt']),null!=_0x2c3f74['comments']&&_0x2c3f74['comments']['length']){for(var _0x43c48c=0x0;_0x43c48c<_0x2c3f74['comments']['length'];++_0x43c48c)_0x297356['CommentDescriptor']['encode'](_0x2c3f74['comments'][_0x43c48c],_0x3db13a['uint32'](0x4a)['fork']())['ldelim']();}return _0x3db13a;},_0x129efa['encodeDelimited']=function(_0x5c9d4b,_0x4f5ede){return this['encode'](_0x5c9d4b,_0x4f5ede)['ldelim']();},_0x129efa['decode']=function(_0x4ce40f,_0x14fa30,_0x54c5f1){_0x4ce40f instanceof _0x185f42||(_0x4ce40f=_0x185f42['create'](_0x4ce40f));for(var _0x45c4db=void 0x0===_0x14fa30?_0x4ce40f['len']:_0x4ce40f['pos']+_0x14fa30,_0x4121ab=new _0x297356['CommentsV2AddCommentThreadMessage']();_0x4ce40f['pos']<_0x45c4db;){var _0x4f3331=_0x4ce40f['uint32']();if(_0x4f3331===_0x54c5f1)break;switch(_0x4f3331>>>0x3){case 0x1:_0x4121ab['documentId']=_0x4ce40f['string']();break;case 0x2:_0x4121ab['commentThreadId']=_0x4ce40f['string']();break;case 0x3:_0x4121ab['context']=_0x4ce40f['string']();break;case 0x4:_0x4121ab['createdAt']=_0x4ce40f['string']();break;case 0x5:_0x4121ab['resolvedAt']=_0x4ce40f['string']();break;case 0x6:_0x4121ab['resolvedBy']=_0x4ce40f['string']();break;case 0x7:_0x4121ab['attributes']=_0x4ce40f['string']();break;case 0x8:_0x4121ab['deletedAt']=_0x4ce40f['string']();break;case 0x9:_0x4121ab['comments']&&_0x4121ab['comments']['length']||(_0x4121ab['comments']=[]),_0x4121ab['comments']['push'](_0x297356['CommentDescriptor']['decode'](_0x4ce40f,_0x4ce40f['uint32']()));break;default:_0x4ce40f['skipType'](0x7&_0x4f3331);}}return _0x4121ab;},_0x129efa['decodeDelimited']=function(_0x3bbe0a){return _0x3bbe0a instanceof _0x185f42||(_0x3bbe0a=new _0x185f42(_0x3bbe0a)),this['decode'](_0x3bbe0a,_0x3bbe0a['uint32']());},_0x129efa['verify']=function(_0x510b1a){if('object'!=typeof _0x510b1a||null===_0x510b1a)return'object\x20expected';if(null!=_0x510b1a['documentId']&&_0x510b1a['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x510b1a['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x510b1a['commentThreadId']&&_0x510b1a['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x510b1a['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x510b1a['context']&&_0x510b1a['hasOwnProperty']('context')&&!_0x43a1d8['isString'](_0x510b1a['context']))return'context:\x20string\x20expected';if(null!=_0x510b1a['createdAt']&&_0x510b1a['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x510b1a['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x510b1a['resolvedAt']&&_0x510b1a['hasOwnProperty']('resolvedAt')&&!_0x43a1d8['isString'](_0x510b1a['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x510b1a['resolvedBy']&&_0x510b1a['hasOwnProperty']('resolvedBy')&&!_0x43a1d8['isString'](_0x510b1a['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x510b1a['attributes']&&_0x510b1a['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x510b1a['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x510b1a['deletedAt']&&_0x510b1a['hasOwnProperty']('deletedAt')&&!_0x43a1d8['isString'](_0x510b1a['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x510b1a['comments']&&_0x510b1a['hasOwnProperty']('comments')){if(!Array['isArray'](_0x510b1a['comments']))return'comments:\x20array\x20expected';for(var _0x8acc73=0x0;_0x8acc73<_0x510b1a['comments']['length'];++_0x8acc73){var _0x3106a6=_0x297356['CommentDescriptor']['verify'](_0x510b1a['comments'][_0x8acc73]);if(_0x3106a6)return'comments.'+_0x3106a6;}}return null;},_0x129efa['fromObject']=function(_0x1fa7c5){if(_0x1fa7c5 instanceof _0x297356['CommentsV2AddCommentThreadMessage'])return _0x1fa7c5;var _0x538c58=new _0x297356['CommentsV2AddCommentThreadMessage']();if(null!=_0x1fa7c5['documentId']&&(_0x538c58['documentId']=String(_0x1fa7c5['documentId'])),null!=_0x1fa7c5['commentThreadId']&&(_0x538c58['commentThreadId']=String(_0x1fa7c5['commentThreadId'])),null!=_0x1fa7c5['context']&&(_0x538c58['context']=String(_0x1fa7c5['context'])),null!=_0x1fa7c5['createdAt']&&(_0x538c58['createdAt']=String(_0x1fa7c5['createdAt'])),null!=_0x1fa7c5['resolvedAt']&&(_0x538c58['resolvedAt']=String(_0x1fa7c5['resolvedAt'])),null!=_0x1fa7c5['resolvedBy']&&(_0x538c58['resolvedBy']=String(_0x1fa7c5['resolvedBy'])),null!=_0x1fa7c5['attributes']&&(_0x538c58['attributes']=String(_0x1fa7c5['attributes'])),null!=_0x1fa7c5['deletedAt']&&(_0x538c58['deletedAt']=String(_0x1fa7c5['deletedAt'])),_0x1fa7c5['comments']){if(!Array['isArray'](_0x1fa7c5['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x538c58['comments']=[];for(var _0xcc9512=0x0;_0xcc9512<_0x1fa7c5['comments']['length'];++_0xcc9512){if('object'!=typeof _0x1fa7c5['comments'][_0xcc9512])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x538c58['comments'][_0xcc9512]=_0x297356['CommentDescriptor']['fromObject'](_0x1fa7c5['comments'][_0xcc9512]);}}return _0x538c58;},_0x129efa['toObject']=function(_0x1088f9,_0x5b2c41){_0x5b2c41||(_0x5b2c41={});var _0xec7aaa={};if((_0x5b2c41['arrays']||_0x5b2c41['defaults'])&&(_0xec7aaa['comments']=[]),_0x5b2c41['defaults']&&(_0xec7aaa['documentId']='',_0xec7aaa['commentThreadId']='',_0xec7aaa['context']='',_0xec7aaa['createdAt']='',_0xec7aaa['resolvedAt']='',_0xec7aaa['resolvedBy']='',_0xec7aaa['attributes']='',_0xec7aaa['deletedAt']=''),null!=_0x1088f9['documentId']&&_0x1088f9['hasOwnProperty']('documentId')&&(_0xec7aaa['documentId']=_0x1088f9['documentId']),null!=_0x1088f9['commentThreadId']&&_0x1088f9['hasOwnProperty']('commentThreadId')&&(_0xec7aaa['commentThreadId']=_0x1088f9['commentThreadId']),null!=_0x1088f9['context']&&_0x1088f9['hasOwnProperty']('context')&&(_0xec7aaa['context']=_0x1088f9['context']),null!=_0x1088f9['createdAt']&&_0x1088f9['hasOwnProperty']('createdAt')&&(_0xec7aaa['createdAt']=_0x1088f9['createdAt']),null!=_0x1088f9['resolvedAt']&&_0x1088f9['hasOwnProperty']('resolvedAt')&&(_0xec7aaa['resolvedAt']=_0x1088f9['resolvedAt']),null!=_0x1088f9['resolvedBy']&&_0x1088f9['hasOwnProperty']('resolvedBy')&&(_0xec7aaa['resolvedBy']=_0x1088f9['resolvedBy']),null!=_0x1088f9['attributes']&&_0x1088f9['hasOwnProperty']('attributes')&&(_0xec7aaa['attributes']=_0x1088f9['attributes']),null!=_0x1088f9['deletedAt']&&_0x1088f9['hasOwnProperty']('deletedAt')&&(_0xec7aaa['deletedAt']=_0x1088f9['deletedAt']),_0x1088f9['comments']&&_0x1088f9['comments']['length']){_0xec7aaa['comments']=[];for(var _0x1fc2e9=0x0;_0x1fc2e9<_0x1088f9['comments']['length'];++_0x1fc2e9)_0xec7aaa['comments'][_0x1fc2e9]=_0x297356['CommentDescriptor']['toObject'](_0x1088f9['comments'][_0x1fc2e9],_0x5b2c41);}return _0xec7aaa;},_0x129efa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x129efa['getTypeUrl']=function(_0x3530fd){return void 0x0===_0x3530fd&&(_0x3530fd='type.googleapis.com'),_0x3530fd+'/CommentsV2AddCommentThreadMessage';},_0x129efa;}()),_0x297356['CommentThreadAddedCommentDescriptor']=(function(){function _0x35d95e(_0x243de2){if(_0x243de2){for(var _0x42ed52=Object['keys'](_0x243de2),_0x4511c1=0x0;_0x4511c1<_0x42ed52['length'];++_0x4511c1)null!=_0x243de2[_0x42ed52[_0x4511c1]]&&(this[_0x42ed52[_0x4511c1]]=_0x243de2[_0x42ed52[_0x4511c1]]);}}return _0x35d95e['prototype']['commentId']='',_0x35d95e['prototype']['createdAt']='',_0x35d95e['create']=function(_0x58e58e){return new _0x35d95e(_0x58e58e);},_0x35d95e['encode']=function(_0xd852f,_0xd1907d){return _0xd1907d||(_0xd1907d=_0x102edc['create']()),null!=_0xd852f['commentId']&&Object['hasOwnProperty']['call'](_0xd852f,'commentId')&&_0xd1907d['uint32'](0xa)['string'](_0xd852f['commentId']),null!=_0xd852f['createdAt']&&Object['hasOwnProperty']['call'](_0xd852f,'createdAt')&&_0xd1907d['uint32'](0x12)['string'](_0xd852f['createdAt']),_0xd1907d;},_0x35d95e['encodeDelimited']=function(_0x37b096,_0x59140c){return this['encode'](_0x37b096,_0x59140c)['ldelim']();},_0x35d95e['decode']=function(_0x2db390,_0x425a93,_0x5aafbc){_0x2db390 instanceof _0x185f42||(_0x2db390=_0x185f42['create'](_0x2db390));for(var _0x1db4e9=void 0x0===_0x425a93?_0x2db390['len']:_0x2db390['pos']+_0x425a93,_0x2f64f9=new _0x297356['CommentThreadAddedCommentDescriptor']();_0x2db390['pos']<_0x1db4e9;){var _0x141c5a=_0x2db390['uint32']();if(_0x141c5a===_0x5aafbc)break;switch(_0x141c5a>>>0x3){case 0x1:_0x2f64f9['commentId']=_0x2db390['string']();break;case 0x2:_0x2f64f9['createdAt']=_0x2db390['string']();break;default:_0x2db390['skipType'](0x7&_0x141c5a);}}return _0x2f64f9;},_0x35d95e['decodeDelimited']=function(_0x526448){return _0x526448 instanceof _0x185f42||(_0x526448=new _0x185f42(_0x526448)),this['decode'](_0x526448,_0x526448['uint32']());},_0x35d95e['verify']=function(_0x4e72a7){return'object'!=typeof _0x4e72a7||null===_0x4e72a7?'object\x20expected':null!=_0x4e72a7['commentId']&&_0x4e72a7['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x4e72a7['commentId'])?'commentId:\x20string\x20expected':null!=_0x4e72a7['createdAt']&&_0x4e72a7['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x4e72a7['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x35d95e['fromObject']=function(_0xc28ded){if(_0xc28ded instanceof _0x297356['CommentThreadAddedCommentDescriptor'])return _0xc28ded;var _0x10b0b1=new _0x297356['CommentThreadAddedCommentDescriptor']();return null!=_0xc28ded['commentId']&&(_0x10b0b1['commentId']=String(_0xc28ded['commentId'])),null!=_0xc28ded['createdAt']&&(_0x10b0b1['createdAt']=String(_0xc28ded['createdAt'])),_0x10b0b1;},_0x35d95e['toObject']=function(_0x12dd64,_0x3f9b76){_0x3f9b76||(_0x3f9b76={});var _0x2180de={};return _0x3f9b76['defaults']&&(_0x2180de['commentId']='',_0x2180de['createdAt']=''),null!=_0x12dd64['commentId']&&_0x12dd64['hasOwnProperty']('commentId')&&(_0x2180de['commentId']=_0x12dd64['commentId']),null!=_0x12dd64['createdAt']&&_0x12dd64['hasOwnProperty']('createdAt')&&(_0x2180de['createdAt']=_0x12dd64['createdAt']),_0x2180de;},_0x35d95e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x35d95e['getTypeUrl']=function(_0x10cc7b){return void 0x0===_0x10cc7b&&(_0x10cc7b='type.googleapis.com'),_0x10cc7b+'/CommentThreadAddedCommentDescriptor';},_0x35d95e;}()),_0x297356['CommentsThreadDescriptor']=(function(){function _0x1fa1c8(_0x1ff00b){if(this['comments']=[],_0x1ff00b){for(var _0x318321=Object['keys'](_0x1ff00b),_0x1443a5=0x0;_0x1443a5<_0x318321['length'];++_0x1443a5)null!=_0x1ff00b[_0x318321[_0x1443a5]]&&(this[_0x318321[_0x1443a5]]=_0x1ff00b[_0x318321[_0x1443a5]]);}}return _0x1fa1c8['prototype']['commentThreadId']='',_0x1fa1c8['prototype']['comments']=_0x43a1d8['emptyArray'],_0x1fa1c8['prototype']['resolvedAt']='',_0x1fa1c8['prototype']['resolvedBy']='',_0x1fa1c8['prototype']['context']='',_0x1fa1c8['prototype']['createdAt']='',_0x1fa1c8['prototype']['deletedAt']='',_0x1fa1c8['prototype']['attributes']='',_0x1fa1c8['prototype']['unlinkedAt']='',_0x1fa1c8['create']=function(_0x43a494){return new _0x1fa1c8(_0x43a494);},_0x1fa1c8['encode']=function(_0x50f34c,_0x18a9c1){if(_0x18a9c1||(_0x18a9c1=_0x102edc['create']()),null!=_0x50f34c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x50f34c,'commentThreadId')&&_0x18a9c1['uint32'](0xa)['string'](_0x50f34c['commentThreadId']),null!=_0x50f34c['comments']&&_0x50f34c['comments']['length']){for(var _0x4ff6ad=0x0;_0x4ff6ad<_0x50f34c['comments']['length'];++_0x4ff6ad)_0x297356['CommentDescriptor']['encode'](_0x50f34c['comments'][_0x4ff6ad],_0x18a9c1['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x50f34c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x50f34c,'resolvedAt')&&_0x18a9c1['uint32'](0x1a)['string'](_0x50f34c['resolvedAt']),null!=_0x50f34c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x50f34c,'resolvedBy')&&_0x18a9c1['uint32'](0x22)['string'](_0x50f34c['resolvedBy']),null!=_0x50f34c['context']&&Object['hasOwnProperty']['call'](_0x50f34c,'context')&&_0x18a9c1['uint32'](0x2a)['string'](_0x50f34c['context']),null!=_0x50f34c['createdAt']&&Object['hasOwnProperty']['call'](_0x50f34c,'createdAt')&&_0x18a9c1['uint32'](0x32)['string'](_0x50f34c['createdAt']),null!=_0x50f34c['deletedAt']&&Object['hasOwnProperty']['call'](_0x50f34c,'deletedAt')&&_0x18a9c1['uint32'](0x3a)['string'](_0x50f34c['deletedAt']),null!=_0x50f34c['attributes']&&Object['hasOwnProperty']['call'](_0x50f34c,'attributes')&&_0x18a9c1['uint32'](0x42)['string'](_0x50f34c['attributes']),null!=_0x50f34c['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x50f34c,'unlinkedAt')&&_0x18a9c1['uint32'](0x4a)['string'](_0x50f34c['unlinkedAt']),_0x18a9c1;},_0x1fa1c8['encodeDelimited']=function(_0x427ecd,_0x5d0911){return this['encode'](_0x427ecd,_0x5d0911)['ldelim']();},_0x1fa1c8['decode']=function(_0xa57c83,_0x519e5d,_0x4836d9){_0xa57c83 instanceof _0x185f42||(_0xa57c83=_0x185f42['create'](_0xa57c83));for(var _0x635066=void 0x0===_0x519e5d?_0xa57c83['len']:_0xa57c83['pos']+_0x519e5d,_0x2e6a42=new _0x297356['CommentsThreadDescriptor']();_0xa57c83['pos']<_0x635066;){var _0x4bf7ca=_0xa57c83['uint32']();if(_0x4bf7ca===_0x4836d9)break;switch(_0x4bf7ca>>>0x3){case 0x1:_0x2e6a42['commentThreadId']=_0xa57c83['string']();break;case 0x2:_0x2e6a42['comments']&&_0x2e6a42['comments']['length']||(_0x2e6a42['comments']=[]),_0x2e6a42['comments']['push'](_0x297356['CommentDescriptor']['decode'](_0xa57c83,_0xa57c83['uint32']()));break;case 0x3:_0x2e6a42['resolvedAt']=_0xa57c83['string']();break;case 0x4:_0x2e6a42['resolvedBy']=_0xa57c83['string']();break;case 0x5:_0x2e6a42['context']=_0xa57c83['string']();break;case 0x6:_0x2e6a42['createdAt']=_0xa57c83['string']();break;case 0x7:_0x2e6a42['deletedAt']=_0xa57c83['string']();break;case 0x8:_0x2e6a42['attributes']=_0xa57c83['string']();break;case 0x9:_0x2e6a42['unlinkedAt']=_0xa57c83['string']();break;default:_0xa57c83['skipType'](0x7&_0x4bf7ca);}}return _0x2e6a42;},_0x1fa1c8['decodeDelimited']=function(_0x13a872){return _0x13a872 instanceof _0x185f42||(_0x13a872=new _0x185f42(_0x13a872)),this['decode'](_0x13a872,_0x13a872['uint32']());},_0x1fa1c8['verify']=function(_0x36b64c){if('object'!=typeof _0x36b64c||null===_0x36b64c)return'object\x20expected';if(null!=_0x36b64c['commentThreadId']&&_0x36b64c['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x36b64c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x36b64c['comments']&&_0x36b64c['hasOwnProperty']('comments')){if(!Array['isArray'](_0x36b64c['comments']))return'comments:\x20array\x20expected';for(var _0x18e24b=0x0;_0x18e24b<_0x36b64c['comments']['length'];++_0x18e24b){var _0x4c2794=_0x297356['CommentDescriptor']['verify'](_0x36b64c['comments'][_0x18e24b]);if(_0x4c2794)return'comments.'+_0x4c2794;}}return null!=_0x36b64c['resolvedAt']&&_0x36b64c['hasOwnProperty']('resolvedAt')&&!_0x43a1d8['isString'](_0x36b64c['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x36b64c['resolvedBy']&&_0x36b64c['hasOwnProperty']('resolvedBy')&&!_0x43a1d8['isString'](_0x36b64c['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x36b64c['context']&&_0x36b64c['hasOwnProperty']('context')&&!_0x43a1d8['isString'](_0x36b64c['context'])?'context:\x20string\x20expected':null!=_0x36b64c['createdAt']&&_0x36b64c['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x36b64c['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x36b64c['deletedAt']&&_0x36b64c['hasOwnProperty']('deletedAt')&&!_0x43a1d8['isString'](_0x36b64c['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x36b64c['attributes']&&_0x36b64c['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x36b64c['attributes'])?'attributes:\x20string\x20expected':null!=_0x36b64c['unlinkedAt']&&_0x36b64c['hasOwnProperty']('unlinkedAt')&&!_0x43a1d8['isString'](_0x36b64c['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1fa1c8['fromObject']=function(_0x2fdccd){if(_0x2fdccd instanceof _0x297356['CommentsThreadDescriptor'])return _0x2fdccd;var _0x4b23a3=new _0x297356['CommentsThreadDescriptor']();if(null!=_0x2fdccd['commentThreadId']&&(_0x4b23a3['commentThreadId']=String(_0x2fdccd['commentThreadId'])),_0x2fdccd['comments']){if(!Array['isArray'](_0x2fdccd['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x4b23a3['comments']=[];for(var _0x58d7d5=0x0;_0x58d7d5<_0x2fdccd['comments']['length'];++_0x58d7d5){if('object'!=typeof _0x2fdccd['comments'][_0x58d7d5])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x4b23a3['comments'][_0x58d7d5]=_0x297356['CommentDescriptor']['fromObject'](_0x2fdccd['comments'][_0x58d7d5]);}}return null!=_0x2fdccd['resolvedAt']&&(_0x4b23a3['resolvedAt']=String(_0x2fdccd['resolvedAt'])),null!=_0x2fdccd['resolvedBy']&&(_0x4b23a3['resolvedBy']=String(_0x2fdccd['resolvedBy'])),null!=_0x2fdccd['context']&&(_0x4b23a3['context']=String(_0x2fdccd['context'])),null!=_0x2fdccd['createdAt']&&(_0x4b23a3['createdAt']=String(_0x2fdccd['createdAt'])),null!=_0x2fdccd['deletedAt']&&(_0x4b23a3['deletedAt']=String(_0x2fdccd['deletedAt'])),null!=_0x2fdccd['attributes']&&(_0x4b23a3['attributes']=String(_0x2fdccd['attributes'])),null!=_0x2fdccd['unlinkedAt']&&(_0x4b23a3['unlinkedAt']=String(_0x2fdccd['unlinkedAt'])),_0x4b23a3;},_0x1fa1c8['toObject']=function(_0x2dc51b,_0x5ac914){_0x5ac914||(_0x5ac914={});var _0x3d5710={};if((_0x5ac914['arrays']||_0x5ac914['defaults'])&&(_0x3d5710['comments']=[]),_0x5ac914['defaults']&&(_0x3d5710['commentThreadId']='',_0x3d5710['resolvedAt']='',_0x3d5710['resolvedBy']='',_0x3d5710['context']='',_0x3d5710['createdAt']='',_0x3d5710['deletedAt']='',_0x3d5710['attributes']='',_0x3d5710['unlinkedAt']=''),null!=_0x2dc51b['commentThreadId']&&_0x2dc51b['hasOwnProperty']('commentThreadId')&&(_0x3d5710['commentThreadId']=_0x2dc51b['commentThreadId']),_0x2dc51b['comments']&&_0x2dc51b['comments']['length']){_0x3d5710['comments']=[];for(var _0x232e9d=0x0;_0x232e9d<_0x2dc51b['comments']['length'];++_0x232e9d)_0x3d5710['comments'][_0x232e9d]=_0x297356['CommentDescriptor']['toObject'](_0x2dc51b['comments'][_0x232e9d],_0x5ac914);}return null!=_0x2dc51b['resolvedAt']&&_0x2dc51b['hasOwnProperty']('resolvedAt')&&(_0x3d5710['resolvedAt']=_0x2dc51b['resolvedAt']),null!=_0x2dc51b['resolvedBy']&&_0x2dc51b['hasOwnProperty']('resolvedBy')&&(_0x3d5710['resolvedBy']=_0x2dc51b['resolvedBy']),null!=_0x2dc51b['context']&&_0x2dc51b['hasOwnProperty']('context')&&(_0x3d5710['context']=_0x2dc51b['context']),null!=_0x2dc51b['createdAt']&&_0x2dc51b['hasOwnProperty']('createdAt')&&(_0x3d5710['createdAt']=_0x2dc51b['createdAt']),null!=_0x2dc51b['deletedAt']&&_0x2dc51b['hasOwnProperty']('deletedAt')&&(_0x3d5710['deletedAt']=_0x2dc51b['deletedAt']),null!=_0x2dc51b['attributes']&&_0x2dc51b['hasOwnProperty']('attributes')&&(_0x3d5710['attributes']=_0x2dc51b['attributes']),null!=_0x2dc51b['unlinkedAt']&&_0x2dc51b['hasOwnProperty']('unlinkedAt')&&(_0x3d5710['unlinkedAt']=_0x2dc51b['unlinkedAt']),_0x3d5710;},_0x1fa1c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1fa1c8['getTypeUrl']=function(_0x48bf5f){return void 0x0===_0x48bf5f&&(_0x48bf5f='type.googleapis.com'),_0x48bf5f+'/CommentsThreadDescriptor';},_0x1fa1c8;}()),_0x297356['CommentDescriptor']=(function(){function _0x56a62(_0x4864a8){if(_0x4864a8){for(var _0x57103f=Object['keys'](_0x4864a8),_0x2e5be0=0x0;_0x2e5be0<_0x57103f['length'];++_0x2e5be0)null!=_0x4864a8[_0x57103f[_0x2e5be0]]&&(this[_0x57103f[_0x2e5be0]]=_0x4864a8[_0x57103f[_0x2e5be0]]);}}return _0x56a62['prototype']['commentId']='',_0x56a62['prototype']['commentThreadId']='',_0x56a62['prototype']['userId']='',_0x56a62['prototype']['content']='',_0x56a62['prototype']['documentId']='',_0x56a62['prototype']['createdAt']='',_0x56a62['prototype']['attributes']='',_0x56a62['create']=function(_0x2d40da){return new _0x56a62(_0x2d40da);},_0x56a62['encode']=function(_0x1adc7f,_0x2400b0){return _0x2400b0||(_0x2400b0=_0x102edc['create']()),null!=_0x1adc7f['commentId']&&Object['hasOwnProperty']['call'](_0x1adc7f,'commentId')&&_0x2400b0['uint32'](0xa)['string'](_0x1adc7f['commentId']),null!=_0x1adc7f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1adc7f,'commentThreadId')&&_0x2400b0['uint32'](0x12)['string'](_0x1adc7f['commentThreadId']),null!=_0x1adc7f['userId']&&Object['hasOwnProperty']['call'](_0x1adc7f,'userId')&&_0x2400b0['uint32'](0x1a)['string'](_0x1adc7f['userId']),null!=_0x1adc7f['content']&&Object['hasOwnProperty']['call'](_0x1adc7f,'content')&&_0x2400b0['uint32'](0x22)['string'](_0x1adc7f['content']),null!=_0x1adc7f['documentId']&&Object['hasOwnProperty']['call'](_0x1adc7f,'documentId')&&_0x2400b0['uint32'](0x2a)['string'](_0x1adc7f['documentId']),null!=_0x1adc7f['createdAt']&&Object['hasOwnProperty']['call'](_0x1adc7f,'createdAt')&&_0x2400b0['uint32'](0x32)['string'](_0x1adc7f['createdAt']),null!=_0x1adc7f['attributes']&&Object['hasOwnProperty']['call'](_0x1adc7f,'attributes')&&_0x2400b0['uint32'](0x3a)['string'](_0x1adc7f['attributes']),_0x2400b0;},_0x56a62['encodeDelimited']=function(_0x3fedc6,_0x573024){return this['encode'](_0x3fedc6,_0x573024)['ldelim']();},_0x56a62['decode']=function(_0x197e22,_0x50501e,_0x258101){_0x197e22 instanceof _0x185f42||(_0x197e22=_0x185f42['create'](_0x197e22));for(var _0x1925b4=void 0x0===_0x50501e?_0x197e22['len']:_0x197e22['pos']+_0x50501e,_0xa1673a=new _0x297356['CommentDescriptor']();_0x197e22['pos']<_0x1925b4;){var _0xea6486=_0x197e22['uint32']();if(_0xea6486===_0x258101)break;switch(_0xea6486>>>0x3){case 0x1:_0xa1673a['commentId']=_0x197e22['string']();break;case 0x2:_0xa1673a['commentThreadId']=_0x197e22['string']();break;case 0x3:_0xa1673a['userId']=_0x197e22['string']();break;case 0x4:_0xa1673a['content']=_0x197e22['string']();break;case 0x5:_0xa1673a['documentId']=_0x197e22['string']();break;case 0x6:_0xa1673a['createdAt']=_0x197e22['string']();break;case 0x7:_0xa1673a['attributes']=_0x197e22['string']();break;default:_0x197e22['skipType'](0x7&_0xea6486);}}return _0xa1673a;},_0x56a62['decodeDelimited']=function(_0x20f19e){return _0x20f19e instanceof _0x185f42||(_0x20f19e=new _0x185f42(_0x20f19e)),this['decode'](_0x20f19e,_0x20f19e['uint32']());},_0x56a62['verify']=function(_0x552874){return'object'!=typeof _0x552874||null===_0x552874?'object\x20expected':null!=_0x552874['commentId']&&_0x552874['hasOwnProperty']('commentId')&&!_0x43a1d8['isString'](_0x552874['commentId'])?'commentId:\x20string\x20expected':null!=_0x552874['commentThreadId']&&_0x552874['hasOwnProperty']('commentThreadId')&&!_0x43a1d8['isString'](_0x552874['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x552874['userId']&&_0x552874['hasOwnProperty']('userId')&&!_0x43a1d8['isString'](_0x552874['userId'])?'userId:\x20string\x20expected':null!=_0x552874['content']&&_0x552874['hasOwnProperty']('content')&&!_0x43a1d8['isString'](_0x552874['content'])?'content:\x20string\x20expected':null!=_0x552874['documentId']&&_0x552874['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x552874['documentId'])?'documentId:\x20string\x20expected':null!=_0x552874['createdAt']&&_0x552874['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x552874['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x552874['attributes']&&_0x552874['hasOwnProperty']('attributes')&&!_0x43a1d8['isString'](_0x552874['attributes'])?'attributes:\x20string\x20expected':null;},_0x56a62['fromObject']=function(_0x29636a){if(_0x29636a instanceof _0x297356['CommentDescriptor'])return _0x29636a;var _0x7e9717=new _0x297356['CommentDescriptor']();return null!=_0x29636a['commentId']&&(_0x7e9717['commentId']=String(_0x29636a['commentId'])),null!=_0x29636a['commentThreadId']&&(_0x7e9717['commentThreadId']=String(_0x29636a['commentThreadId'])),null!=_0x29636a['userId']&&(_0x7e9717['userId']=String(_0x29636a['userId'])),null!=_0x29636a['content']&&(_0x7e9717['content']=String(_0x29636a['content'])),null!=_0x29636a['documentId']&&(_0x7e9717['documentId']=String(_0x29636a['documentId'])),null!=_0x29636a['createdAt']&&(_0x7e9717['createdAt']=String(_0x29636a['createdAt'])),null!=_0x29636a['attributes']&&(_0x7e9717['attributes']=String(_0x29636a['attributes'])),_0x7e9717;},_0x56a62['toObject']=function(_0x9a170c,_0x4b83f2){_0x4b83f2||(_0x4b83f2={});var _0x194581={};return _0x4b83f2['defaults']&&(_0x194581['commentId']='',_0x194581['commentThreadId']='',_0x194581['userId']='',_0x194581['content']='',_0x194581['documentId']='',_0x194581['createdAt']='',_0x194581['attributes']=''),null!=_0x9a170c['commentId']&&_0x9a170c['hasOwnProperty']('commentId')&&(_0x194581['commentId']=_0x9a170c['commentId']),null!=_0x9a170c['commentThreadId']&&_0x9a170c['hasOwnProperty']('commentThreadId')&&(_0x194581['commentThreadId']=_0x9a170c['commentThreadId']),null!=_0x9a170c['userId']&&_0x9a170c['hasOwnProperty']('userId')&&(_0x194581['userId']=_0x9a170c['userId']),null!=_0x9a170c['content']&&_0x9a170c['hasOwnProperty']('content')&&(_0x194581['content']=_0x9a170c['content']),null!=_0x9a170c['documentId']&&_0x9a170c['hasOwnProperty']('documentId')&&(_0x194581['documentId']=_0x9a170c['documentId']),null!=_0x9a170c['createdAt']&&_0x9a170c['hasOwnProperty']('createdAt')&&(_0x194581['createdAt']=_0x9a170c['createdAt']),null!=_0x9a170c['attributes']&&_0x9a170c['hasOwnProperty']('attributes')&&(_0x194581['attributes']=_0x9a170c['attributes']),_0x194581;},_0x56a62['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x56a62['getTypeUrl']=function(_0x423b19){return void 0x0===_0x423b19&&(_0x423b19='type.googleapis.com'),_0x423b19+'/CommentDescriptor';},_0x56a62;}()),_0x297356['GetDocumentDetailsResponse']=(function(){function _0x480bd0(_0x5f56d2){if(_0x5f56d2){for(var _0x2c198b=Object['keys'](_0x5f56d2),_0x4800c1=0x0;_0x4800c1<_0x2c198b['length'];++_0x4800c1)null!=_0x5f56d2[_0x2c198b[_0x4800c1]]&&(this[_0x2c198b[_0x4800c1]]=_0x5f56d2[_0x2c198b[_0x4800c1]]);}}return _0x480bd0['prototype']['lastDocumentSessionId']='',_0x480bd0['prototype']['lastDocumentSessionOperationId']='',_0x480bd0['prototype']['currentDocumentSessionId']='',_0x480bd0['prototype']['currentDocumentSessionVersion']=0x0,_0x480bd0['prototype']['currentDocumentSessionOperationId']='',_0x480bd0['create']=function(_0x57bd26){return new _0x480bd0(_0x57bd26);},_0x480bd0['encode']=function(_0x35441b,_0x3b3091){return _0x3b3091||(_0x3b3091=_0x102edc['create']()),null!=_0x35441b['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x35441b,'lastDocumentSessionId')&&_0x3b3091['uint32'](0xa)['string'](_0x35441b['lastDocumentSessionId']),null!=_0x35441b['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x35441b,'lastDocumentSessionOperationId')&&_0x3b3091['uint32'](0x12)['string'](_0x35441b['lastDocumentSessionOperationId']),null!=_0x35441b['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x35441b,'currentDocumentSessionId')&&_0x3b3091['uint32'](0x1a)['string'](_0x35441b['currentDocumentSessionId']),null!=_0x35441b['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x35441b,'currentDocumentSessionVersion')&&_0x3b3091['uint32'](0x20)['uint32'](_0x35441b['currentDocumentSessionVersion']),null!=_0x35441b['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x35441b,'currentDocumentSessionOperationId')&&_0x3b3091['uint32'](0x2a)['string'](_0x35441b['currentDocumentSessionOperationId']),_0x3b3091;},_0x480bd0['encodeDelimited']=function(_0x381d44,_0x52b6e8){return this['encode'](_0x381d44,_0x52b6e8)['ldelim']();},_0x480bd0['decode']=function(_0x48c929,_0x4c6869,_0x386b37){_0x48c929 instanceof _0x185f42||(_0x48c929=_0x185f42['create'](_0x48c929));for(var _0x5a7201=void 0x0===_0x4c6869?_0x48c929['len']:_0x48c929['pos']+_0x4c6869,_0x265040=new _0x297356['GetDocumentDetailsResponse']();_0x48c929['pos']<_0x5a7201;){var _0x4c24f4=_0x48c929['uint32']();if(_0x4c24f4===_0x386b37)break;switch(_0x4c24f4>>>0x3){case 0x1:_0x265040['lastDocumentSessionId']=_0x48c929['string']();break;case 0x2:_0x265040['lastDocumentSessionOperationId']=_0x48c929['string']();break;case 0x3:_0x265040['currentDocumentSessionId']=_0x48c929['string']();break;case 0x4:_0x265040['currentDocumentSessionVersion']=_0x48c929['uint32']();break;case 0x5:_0x265040['currentDocumentSessionOperationId']=_0x48c929['string']();break;default:_0x48c929['skipType'](0x7&_0x4c24f4);}}return _0x265040;},_0x480bd0['decodeDelimited']=function(_0x5a8049){return _0x5a8049 instanceof _0x185f42||(_0x5a8049=new _0x185f42(_0x5a8049)),this['decode'](_0x5a8049,_0x5a8049['uint32']());},_0x480bd0['verify']=function(_0xb873a1){return'object'!=typeof _0xb873a1||null===_0xb873a1?'object\x20expected':null!=_0xb873a1['lastDocumentSessionId']&&_0xb873a1['hasOwnProperty']('lastDocumentSessionId')&&!_0x43a1d8['isString'](_0xb873a1['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0xb873a1['lastDocumentSessionOperationId']&&_0xb873a1['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x43a1d8['isString'](_0xb873a1['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0xb873a1['currentDocumentSessionId']&&_0xb873a1['hasOwnProperty']('currentDocumentSessionId')&&!_0x43a1d8['isString'](_0xb873a1['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0xb873a1['currentDocumentSessionVersion']&&_0xb873a1['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x43a1d8['isInteger'](_0xb873a1['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0xb873a1['currentDocumentSessionOperationId']&&_0xb873a1['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x43a1d8['isString'](_0xb873a1['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x480bd0['fromObject']=function(_0x385d05){if(_0x385d05 instanceof _0x297356['GetDocumentDetailsResponse'])return _0x385d05;var _0x519e9b=new _0x297356['GetDocumentDetailsResponse']();return null!=_0x385d05['lastDocumentSessionId']&&(_0x519e9b['lastDocumentSessionId']=String(_0x385d05['lastDocumentSessionId'])),null!=_0x385d05['lastDocumentSessionOperationId']&&(_0x519e9b['lastDocumentSessionOperationId']=String(_0x385d05['lastDocumentSessionOperationId'])),null!=_0x385d05['currentDocumentSessionId']&&(_0x519e9b['currentDocumentSessionId']=String(_0x385d05['currentDocumentSessionId'])),null!=_0x385d05['currentDocumentSessionVersion']&&(_0x519e9b['currentDocumentSessionVersion']=_0x385d05['currentDocumentSessionVersion']>>>0x0),null!=_0x385d05['currentDocumentSessionOperationId']&&(_0x519e9b['currentDocumentSessionOperationId']=String(_0x385d05['currentDocumentSessionOperationId'])),_0x519e9b;},_0x480bd0['toObject']=function(_0x4598c5,_0x2cea8e){_0x2cea8e||(_0x2cea8e={});var _0x2439e5={};return _0x2cea8e['defaults']&&(_0x2439e5['lastDocumentSessionId']='',_0x2439e5['lastDocumentSessionOperationId']='',_0x2439e5['currentDocumentSessionId']='',_0x2439e5['currentDocumentSessionVersion']=0x0,_0x2439e5['currentDocumentSessionOperationId']=''),null!=_0x4598c5['lastDocumentSessionId']&&_0x4598c5['hasOwnProperty']('lastDocumentSessionId')&&(_0x2439e5['lastDocumentSessionId']=_0x4598c5['lastDocumentSessionId']),null!=_0x4598c5['lastDocumentSessionOperationId']&&_0x4598c5['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x2439e5['lastDocumentSessionOperationId']=_0x4598c5['lastDocumentSessionOperationId']),null!=_0x4598c5['currentDocumentSessionId']&&_0x4598c5['hasOwnProperty']('currentDocumentSessionId')&&(_0x2439e5['currentDocumentSessionId']=_0x4598c5['currentDocumentSessionId']),null!=_0x4598c5['currentDocumentSessionVersion']&&_0x4598c5['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x2439e5['currentDocumentSessionVersion']=_0x4598c5['currentDocumentSessionVersion']),null!=_0x4598c5['currentDocumentSessionOperationId']&&_0x4598c5['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x2439e5['currentDocumentSessionOperationId']=_0x4598c5['currentDocumentSessionOperationId']),_0x2439e5;},_0x480bd0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x480bd0['getTypeUrl']=function(_0x5426a2){return void 0x0===_0x5426a2&&(_0x5426a2='type.googleapis.com'),_0x5426a2+'/GetDocumentDetailsResponse';},_0x480bd0;}()),_0x297356['CollaborativeEditingResponse']=(function(){function _0x21e8ab(_0x256550){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x256550){for(var _0x2a414e=Object['keys'](_0x256550),_0x4cd11d=0x0;_0x4cd11d<_0x2a414e['length'];++_0x4cd11d)null!=_0x256550[_0x2a414e[_0x4cd11d]]&&(this[_0x2a414e[_0x4cd11d]]=_0x256550[_0x2a414e[_0x4cd11d]]);}}return _0x21e8ab['prototype']['version']=0x0,_0x21e8ab['prototype']['buffers']=_0x43a1d8['emptyArray'],_0x21e8ab['prototype']['types']=_0x43a1d8['emptyArray'],_0x21e8ab['prototype']['metadata']=_0x43a1d8['emptyArray'],_0x21e8ab['prototype']['lastOperationId']='',_0x21e8ab['prototype']['lastOperationAcceptedAt']='',_0x21e8ab['create']=function(_0x3eaaa3){return new _0x21e8ab(_0x3eaaa3);},_0x21e8ab['encode']=function(_0x1ac4e0,_0x5b10df){if(_0x5b10df||(_0x5b10df=_0x102edc['create']()),null!=_0x1ac4e0['version']&&Object['hasOwnProperty']['call'](_0x1ac4e0,'version')&&_0x5b10df['uint32'](0x8)['uint32'](_0x1ac4e0['version']),null!=_0x1ac4e0['buffers']&&_0x1ac4e0['buffers']['length']){for(var _0x58840a=0x0;_0x58840a<_0x1ac4e0['buffers']['length'];++_0x58840a)_0x5b10df['uint32'](0x12)['bytes'](_0x1ac4e0['buffers'][_0x58840a]);}if(null!=_0x1ac4e0['types']&&_0x1ac4e0['types']['length']){for(_0x5b10df['uint32'](0x1a)['fork'](),_0x58840a=0x0;_0x58840a<_0x1ac4e0['types']['length'];++_0x58840a)_0x5b10df['uint32'](_0x1ac4e0['types'][_0x58840a]);_0x5b10df['ldelim']();}if(null!=_0x1ac4e0['metadata']&&_0x1ac4e0['metadata']['length']){for(_0x58840a=0x0;_0x58840a<_0x1ac4e0['metadata']['length'];++_0x58840a)_0x297356['OperationMetadataDescriptor']['encode'](_0x1ac4e0['metadata'][_0x58840a],_0x5b10df['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x1ac4e0['lastOperationId']&&Object['hasOwnProperty']['call'](_0x1ac4e0,'lastOperationId')&&_0x5b10df['uint32'](0x32)['string'](_0x1ac4e0['lastOperationId']),null!=_0x1ac4e0['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x1ac4e0,'lastOperationAcceptedAt')&&_0x5b10df['uint32'](0x3a)['string'](_0x1ac4e0['lastOperationAcceptedAt']),_0x5b10df;},_0x21e8ab['encodeDelimited']=function(_0x30dc9e,_0x5977ac){return this['encode'](_0x30dc9e,_0x5977ac)['ldelim']();},_0x21e8ab['decode']=function(_0x6c0b9,_0x5e4b68,_0x287d4d){_0x6c0b9 instanceof _0x185f42||(_0x6c0b9=_0x185f42['create'](_0x6c0b9));for(var _0x8712b2=void 0x0===_0x5e4b68?_0x6c0b9['len']:_0x6c0b9['pos']+_0x5e4b68,_0x4097bf=new _0x297356['CollaborativeEditingResponse']();_0x6c0b9['pos']<_0x8712b2;){var _0x3d90ae=_0x6c0b9['uint32']();if(_0x3d90ae===_0x287d4d)break;switch(_0x3d90ae>>>0x3){case 0x1:_0x4097bf['version']=_0x6c0b9['uint32']();break;case 0x2:_0x4097bf['buffers']&&_0x4097bf['buffers']['length']||(_0x4097bf['buffers']=[]),_0x4097bf['buffers']['push'](_0x6c0b9['bytes']());break;case 0x3:if(_0x4097bf['types']&&_0x4097bf['types']['length']||(_0x4097bf['types']=[]),0x2==(0x7&_0x3d90ae)){for(var _0x1eb0e3=_0x6c0b9['uint32']()+_0x6c0b9['pos'];_0x6c0b9['pos']<_0x1eb0e3;)_0x4097bf['types']['push'](_0x6c0b9['uint32']());}else _0x4097bf['types']['push'](_0x6c0b9['uint32']());break;case 0x5:_0x4097bf['metadata']&&_0x4097bf['metadata']['length']||(_0x4097bf['metadata']=[]),_0x4097bf['metadata']['push'](_0x297356['OperationMetadataDescriptor']['decode'](_0x6c0b9,_0x6c0b9['uint32']()));break;case 0x6:_0x4097bf['lastOperationId']=_0x6c0b9['string']();break;case 0x7:_0x4097bf['lastOperationAcceptedAt']=_0x6c0b9['string']();break;default:_0x6c0b9['skipType'](0x7&_0x3d90ae);}}return _0x4097bf;},_0x21e8ab['decodeDelimited']=function(_0x47659d){return _0x47659d instanceof _0x185f42||(_0x47659d=new _0x185f42(_0x47659d)),this['decode'](_0x47659d,_0x47659d['uint32']());},_0x21e8ab['verify']=function(_0x1f2faa){if('object'!=typeof _0x1f2faa||null===_0x1f2faa)return'object\x20expected';if(null!=_0x1f2faa['version']&&_0x1f2faa['hasOwnProperty']('version')&&!_0x43a1d8['isInteger'](_0x1f2faa['version']))return'version:\x20integer\x20expected';if(null!=_0x1f2faa['buffers']&&_0x1f2faa['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x1f2faa['buffers']))return'buffers:\x20array\x20expected';for(var _0x169255=0x0;_0x169255<_0x1f2faa['buffers']['length'];++_0x169255)if(!(_0x1f2faa['buffers'][_0x169255]&&'number'==typeof _0x1f2faa['buffers'][_0x169255]['length']||_0x43a1d8['isString'](_0x1f2faa['buffers'][_0x169255])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x1f2faa['types']&&_0x1f2faa['hasOwnProperty']('types')){if(!Array['isArray'](_0x1f2faa['types']))return'types:\x20array\x20expected';for(_0x169255=0x0;_0x169255<_0x1f2faa['types']['length'];++_0x169255)if(!_0x43a1d8['isInteger'](_0x1f2faa['types'][_0x169255]))return'types:\x20integer[]\x20expected';}if(null!=_0x1f2faa['metadata']&&_0x1f2faa['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x1f2faa['metadata']))return'metadata:\x20array\x20expected';for(_0x169255=0x0;_0x169255<_0x1f2faa['metadata']['length'];++_0x169255){var _0x302176=_0x297356['OperationMetadataDescriptor']['verify'](_0x1f2faa['metadata'][_0x169255]);if(_0x302176)return'metadata.'+_0x302176;}}return null!=_0x1f2faa['lastOperationId']&&_0x1f2faa['hasOwnProperty']('lastOperationId')&&!_0x43a1d8['isString'](_0x1f2faa['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x1f2faa['lastOperationAcceptedAt']&&_0x1f2faa['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x43a1d8['isString'](_0x1f2faa['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x21e8ab['fromObject']=function(_0x15591d){if(_0x15591d instanceof _0x297356['CollaborativeEditingResponse'])return _0x15591d;var _0x3e0c97=new _0x297356['CollaborativeEditingResponse']();if(null!=_0x15591d['version']&&(_0x3e0c97['version']=_0x15591d['version']>>>0x0),_0x15591d['buffers']){if(!Array['isArray'](_0x15591d['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x3e0c97['buffers']=[];for(var _0x4989af=0x0;_0x4989af<_0x15591d['buffers']['length'];++_0x4989af)'string'==typeof _0x15591d['buffers'][_0x4989af]?_0x43a1d8['base64']['decode'](_0x15591d['buffers'][_0x4989af],_0x3e0c97['buffers'][_0x4989af]=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x15591d['buffers'][_0x4989af])),0x0):_0x15591d['buffers'][_0x4989af]['length']>=0x0&&(_0x3e0c97['buffers'][_0x4989af]=_0x15591d['buffers'][_0x4989af]);}if(_0x15591d['types']){if(!Array['isArray'](_0x15591d['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x3e0c97['types']=[],_0x4989af=0x0;_0x4989af<_0x15591d['types']['length'];++_0x4989af)_0x3e0c97['types'][_0x4989af]=_0x15591d['types'][_0x4989af]>>>0x0;}if(_0x15591d['metadata']){if(!Array['isArray'](_0x15591d['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x3e0c97['metadata']=[],_0x4989af=0x0;_0x4989af<_0x15591d['metadata']['length'];++_0x4989af){if('object'!=typeof _0x15591d['metadata'][_0x4989af])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x3e0c97['metadata'][_0x4989af]=_0x297356['OperationMetadataDescriptor']['fromObject'](_0x15591d['metadata'][_0x4989af]);}}return null!=_0x15591d['lastOperationId']&&(_0x3e0c97['lastOperationId']=String(_0x15591d['lastOperationId'])),null!=_0x15591d['lastOperationAcceptedAt']&&(_0x3e0c97['lastOperationAcceptedAt']=String(_0x15591d['lastOperationAcceptedAt'])),_0x3e0c97;},_0x21e8ab['toObject']=function(_0x2f329b,_0x2cdd13){_0x2cdd13||(_0x2cdd13={});var _0x278346={};if((_0x2cdd13['arrays']||_0x2cdd13['defaults'])&&(_0x278346['buffers']=[],_0x278346['types']=[],_0x278346['metadata']=[]),_0x2cdd13['defaults']&&(_0x278346['version']=0x0,_0x278346['lastOperationId']='',_0x278346['lastOperationAcceptedAt']=''),null!=_0x2f329b['version']&&_0x2f329b['hasOwnProperty']('version')&&(_0x278346['version']=_0x2f329b['version']),_0x2f329b['buffers']&&_0x2f329b['buffers']['length']){_0x278346['buffers']=[];for(var _0x3ff04c=0x0;_0x3ff04c<_0x2f329b['buffers']['length'];++_0x3ff04c)_0x278346['buffers'][_0x3ff04c]=_0x2cdd13['bytes']===String?_0x43a1d8['base64']['encode'](_0x2f329b['buffers'][_0x3ff04c],0x0,_0x2f329b['buffers'][_0x3ff04c]['length']):_0x2cdd13['bytes']===Array?Array['prototype']['slice']['call'](_0x2f329b['buffers'][_0x3ff04c]):_0x2f329b['buffers'][_0x3ff04c];}if(_0x2f329b['types']&&_0x2f329b['types']['length']){for(_0x278346['types']=[],_0x3ff04c=0x0;_0x3ff04c<_0x2f329b['types']['length'];++_0x3ff04c)_0x278346['types'][_0x3ff04c]=_0x2f329b['types'][_0x3ff04c];}if(_0x2f329b['metadata']&&_0x2f329b['metadata']['length']){for(_0x278346['metadata']=[],_0x3ff04c=0x0;_0x3ff04c<_0x2f329b['metadata']['length'];++_0x3ff04c)_0x278346['metadata'][_0x3ff04c]=_0x297356['OperationMetadataDescriptor']['toObject'](_0x2f329b['metadata'][_0x3ff04c],_0x2cdd13);}return null!=_0x2f329b['lastOperationId']&&_0x2f329b['hasOwnProperty']('lastOperationId')&&(_0x278346['lastOperationId']=_0x2f329b['lastOperationId']),null!=_0x2f329b['lastOperationAcceptedAt']&&_0x2f329b['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x278346['lastOperationAcceptedAt']=_0x2f329b['lastOperationAcceptedAt']),_0x278346;},_0x21e8ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x21e8ab['getTypeUrl']=function(_0x582a67){return void 0x0===_0x582a67&&(_0x582a67='type.googleapis.com'),_0x582a67+'/CollaborativeEditingResponse';},_0x21e8ab;}()),_0x297356['CollaborativeEditingConnectResponse']=(function(){function _0x404df0(_0xfe5cb1){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0xfe5cb1){for(var _0x56cdb5=Object['keys'](_0xfe5cb1),_0x303e67=0x0;_0x303e67<_0x56cdb5['length'];++_0x303e67)null!=_0xfe5cb1[_0x56cdb5[_0x303e67]]&&(this[_0x56cdb5[_0x303e67]]=_0xfe5cb1[_0x56cdb5[_0x303e67]]);}}return _0x404df0['prototype']['channel']='',_0x404df0['prototype']['offset']=0x0,_0x404df0['prototype']['version']=0x0,_0x404df0['prototype']['buffers']=_0x43a1d8['emptyArray'],_0x404df0['prototype']['types']=_0x43a1d8['emptyArray'],_0x404df0['prototype']['metadata']=_0x43a1d8['emptyArray'],_0x404df0['prototype']['initData']='',_0x404df0['prototype']['isInitialized']=!0x1,_0x404df0['prototype']['sessionId']='',_0x404df0['prototype']['lastOperationId']='',_0x404df0['prototype']['sessionCreatedAt']='',_0x404df0['create']=function(_0x22b0a2){return new _0x404df0(_0x22b0a2);},_0x404df0['encode']=function(_0x3c9a28,_0x2c4747){if(_0x2c4747||(_0x2c4747=_0x102edc['create']()),null!=_0x3c9a28['channel']&&Object['hasOwnProperty']['call'](_0x3c9a28,'channel')&&_0x2c4747['uint32'](0xa)['string'](_0x3c9a28['channel']),null!=_0x3c9a28['offset']&&Object['hasOwnProperty']['call'](_0x3c9a28,'offset')&&_0x2c4747['uint32'](0x10)['uint32'](_0x3c9a28['offset']),null!=_0x3c9a28['version']&&Object['hasOwnProperty']['call'](_0x3c9a28,'version')&&_0x2c4747['uint32'](0x18)['uint32'](_0x3c9a28['version']),null!=_0x3c9a28['buffers']&&_0x3c9a28['buffers']['length']){for(var _0x5cd3a7=0x0;_0x5cd3a7<_0x3c9a28['buffers']['length'];++_0x5cd3a7)_0x2c4747['uint32'](0x22)['bytes'](_0x3c9a28['buffers'][_0x5cd3a7]);}if(null!=_0x3c9a28['types']&&_0x3c9a28['types']['length']){for(_0x2c4747['uint32'](0x2a)['fork'](),_0x5cd3a7=0x0;_0x5cd3a7<_0x3c9a28['types']['length'];++_0x5cd3a7)_0x2c4747['uint32'](_0x3c9a28['types'][_0x5cd3a7]);_0x2c4747['ldelim']();}if(null!=_0x3c9a28['metadata']&&_0x3c9a28['metadata']['length']){for(_0x5cd3a7=0x0;_0x5cd3a7<_0x3c9a28['metadata']['length'];++_0x5cd3a7)_0x297356['OperationMetadataDescriptor']['encode'](_0x3c9a28['metadata'][_0x5cd3a7],_0x2c4747['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x3c9a28['initData']&&Object['hasOwnProperty']['call'](_0x3c9a28,'initData')&&_0x2c4747['uint32'](0x42)['string'](_0x3c9a28['initData']),null!=_0x3c9a28['isInitialized']&&Object['hasOwnProperty']['call'](_0x3c9a28,'isInitialized')&&_0x2c4747['uint32'](0x48)['bool'](_0x3c9a28['isInitialized']),null!=_0x3c9a28['sessionId']&&Object['hasOwnProperty']['call'](_0x3c9a28,'sessionId')&&_0x2c4747['uint32'](0x52)['string'](_0x3c9a28['sessionId']),null!=_0x3c9a28['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3c9a28,'lastOperationId')&&_0x2c4747['uint32'](0x5a)['string'](_0x3c9a28['lastOperationId']),null!=_0x3c9a28['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x3c9a28,'sessionCreatedAt')&&_0x2c4747['uint32'](0x62)['string'](_0x3c9a28['sessionCreatedAt']),_0x2c4747;},_0x404df0['encodeDelimited']=function(_0x22239b,_0x32cf33){return this['encode'](_0x22239b,_0x32cf33)['ldelim']();},_0x404df0['decode']=function(_0x3ea41d,_0x31a1c1,_0x301e5c){_0x3ea41d instanceof _0x185f42||(_0x3ea41d=_0x185f42['create'](_0x3ea41d));for(var _0x3aae2f=void 0x0===_0x31a1c1?_0x3ea41d['len']:_0x3ea41d['pos']+_0x31a1c1,_0x552c70=new _0x297356['CollaborativeEditingConnectResponse']();_0x3ea41d['pos']<_0x3aae2f;){var _0x11835a=_0x3ea41d['uint32']();if(_0x11835a===_0x301e5c)break;switch(_0x11835a>>>0x3){case 0x1:_0x552c70['channel']=_0x3ea41d['string']();break;case 0x2:_0x552c70['offset']=_0x3ea41d['uint32']();break;case 0x3:_0x552c70['version']=_0x3ea41d['uint32']();break;case 0x4:_0x552c70['buffers']&&_0x552c70['buffers']['length']||(_0x552c70['buffers']=[]),_0x552c70['buffers']['push'](_0x3ea41d['bytes']());break;case 0x5:if(_0x552c70['types']&&_0x552c70['types']['length']||(_0x552c70['types']=[]),0x2==(0x7&_0x11835a)){for(var _0x14c92c=_0x3ea41d['uint32']()+_0x3ea41d['pos'];_0x3ea41d['pos']<_0x14c92c;)_0x552c70['types']['push'](_0x3ea41d['uint32']());}else _0x552c70['types']['push'](_0x3ea41d['uint32']());break;case 0x7:_0x552c70['metadata']&&_0x552c70['metadata']['length']||(_0x552c70['metadata']=[]),_0x552c70['metadata']['push'](_0x297356['OperationMetadataDescriptor']['decode'](_0x3ea41d,_0x3ea41d['uint32']()));break;case 0x8:_0x552c70['initData']=_0x3ea41d['string']();break;case 0x9:_0x552c70['isInitialized']=_0x3ea41d['bool']();break;case 0xa:_0x552c70['sessionId']=_0x3ea41d['string']();break;case 0xb:_0x552c70['lastOperationId']=_0x3ea41d['string']();break;case 0xc:_0x552c70['sessionCreatedAt']=_0x3ea41d['string']();break;default:_0x3ea41d['skipType'](0x7&_0x11835a);}}return _0x552c70;},_0x404df0['decodeDelimited']=function(_0x4006fe){return _0x4006fe instanceof _0x185f42||(_0x4006fe=new _0x185f42(_0x4006fe)),this['decode'](_0x4006fe,_0x4006fe['uint32']());},_0x404df0['verify']=function(_0x17c7d9){if('object'!=typeof _0x17c7d9||null===_0x17c7d9)return'object\x20expected';if(null!=_0x17c7d9['channel']&&_0x17c7d9['hasOwnProperty']('channel')&&!_0x43a1d8['isString'](_0x17c7d9['channel']))return'channel:\x20string\x20expected';if(null!=_0x17c7d9['offset']&&_0x17c7d9['hasOwnProperty']('offset')&&!_0x43a1d8['isInteger'](_0x17c7d9['offset']))return'offset:\x20integer\x20expected';if(null!=_0x17c7d9['version']&&_0x17c7d9['hasOwnProperty']('version')&&!_0x43a1d8['isInteger'](_0x17c7d9['version']))return'version:\x20integer\x20expected';if(null!=_0x17c7d9['buffers']&&_0x17c7d9['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x17c7d9['buffers']))return'buffers:\x20array\x20expected';for(var _0x5ca5ad=0x0;_0x5ca5ad<_0x17c7d9['buffers']['length'];++_0x5ca5ad)if(!(_0x17c7d9['buffers'][_0x5ca5ad]&&'number'==typeof _0x17c7d9['buffers'][_0x5ca5ad]['length']||_0x43a1d8['isString'](_0x17c7d9['buffers'][_0x5ca5ad])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x17c7d9['types']&&_0x17c7d9['hasOwnProperty']('types')){if(!Array['isArray'](_0x17c7d9['types']))return'types:\x20array\x20expected';for(_0x5ca5ad=0x0;_0x5ca5ad<_0x17c7d9['types']['length'];++_0x5ca5ad)if(!_0x43a1d8['isInteger'](_0x17c7d9['types'][_0x5ca5ad]))return'types:\x20integer[]\x20expected';}if(null!=_0x17c7d9['metadata']&&_0x17c7d9['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x17c7d9['metadata']))return'metadata:\x20array\x20expected';for(_0x5ca5ad=0x0;_0x5ca5ad<_0x17c7d9['metadata']['length'];++_0x5ca5ad){var _0x50387f=_0x297356['OperationMetadataDescriptor']['verify'](_0x17c7d9['metadata'][_0x5ca5ad]);if(_0x50387f)return'metadata.'+_0x50387f;}}return null!=_0x17c7d9['initData']&&_0x17c7d9['hasOwnProperty']('initData')&&!_0x43a1d8['isString'](_0x17c7d9['initData'])?'initData:\x20string\x20expected':null!=_0x17c7d9['isInitialized']&&_0x17c7d9['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x17c7d9['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x17c7d9['sessionId']&&_0x17c7d9['hasOwnProperty']('sessionId')&&!_0x43a1d8['isString'](_0x17c7d9['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x17c7d9['lastOperationId']&&_0x17c7d9['hasOwnProperty']('lastOperationId')&&!_0x43a1d8['isString'](_0x17c7d9['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x17c7d9['sessionCreatedAt']&&_0x17c7d9['hasOwnProperty']('sessionCreatedAt')&&!_0x43a1d8['isString'](_0x17c7d9['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x404df0['fromObject']=function(_0x450a9c){if(_0x450a9c instanceof _0x297356['CollaborativeEditingConnectResponse'])return _0x450a9c;var _0x4516d2=new _0x297356['CollaborativeEditingConnectResponse']();if(null!=_0x450a9c['channel']&&(_0x4516d2['channel']=String(_0x450a9c['channel'])),null!=_0x450a9c['offset']&&(_0x4516d2['offset']=_0x450a9c['offset']>>>0x0),null!=_0x450a9c['version']&&(_0x4516d2['version']=_0x450a9c['version']>>>0x0),_0x450a9c['buffers']){if(!Array['isArray'](_0x450a9c['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x4516d2['buffers']=[];for(var _0x16e3eb=0x0;_0x16e3eb<_0x450a9c['buffers']['length'];++_0x16e3eb)'string'==typeof _0x450a9c['buffers'][_0x16e3eb]?_0x43a1d8['base64']['decode'](_0x450a9c['buffers'][_0x16e3eb],_0x4516d2['buffers'][_0x16e3eb]=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x450a9c['buffers'][_0x16e3eb])),0x0):_0x450a9c['buffers'][_0x16e3eb]['length']>=0x0&&(_0x4516d2['buffers'][_0x16e3eb]=_0x450a9c['buffers'][_0x16e3eb]);}if(_0x450a9c['types']){if(!Array['isArray'](_0x450a9c['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x4516d2['types']=[],_0x16e3eb=0x0;_0x16e3eb<_0x450a9c['types']['length'];++_0x16e3eb)_0x4516d2['types'][_0x16e3eb]=_0x450a9c['types'][_0x16e3eb]>>>0x0;}if(_0x450a9c['metadata']){if(!Array['isArray'](_0x450a9c['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x4516d2['metadata']=[],_0x16e3eb=0x0;_0x16e3eb<_0x450a9c['metadata']['length'];++_0x16e3eb){if('object'!=typeof _0x450a9c['metadata'][_0x16e3eb])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x4516d2['metadata'][_0x16e3eb]=_0x297356['OperationMetadataDescriptor']['fromObject'](_0x450a9c['metadata'][_0x16e3eb]);}}return null!=_0x450a9c['initData']&&(_0x4516d2['initData']=String(_0x450a9c['initData'])),null!=_0x450a9c['isInitialized']&&(_0x4516d2['isInitialized']=Boolean(_0x450a9c['isInitialized'])),null!=_0x450a9c['sessionId']&&(_0x4516d2['sessionId']=String(_0x450a9c['sessionId'])),null!=_0x450a9c['lastOperationId']&&(_0x4516d2['lastOperationId']=String(_0x450a9c['lastOperationId'])),null!=_0x450a9c['sessionCreatedAt']&&(_0x4516d2['sessionCreatedAt']=String(_0x450a9c['sessionCreatedAt'])),_0x4516d2;},_0x404df0['toObject']=function(_0x8e774b,_0x1b19fd){_0x1b19fd||(_0x1b19fd={});var _0xa78bb={};if((_0x1b19fd['arrays']||_0x1b19fd['defaults'])&&(_0xa78bb['buffers']=[],_0xa78bb['types']=[],_0xa78bb['metadata']=[]),_0x1b19fd['defaults']&&(_0xa78bb['channel']='',_0xa78bb['offset']=0x0,_0xa78bb['version']=0x0,_0xa78bb['initData']='',_0xa78bb['isInitialized']=!0x1,_0xa78bb['sessionId']='',_0xa78bb['lastOperationId']='',_0xa78bb['sessionCreatedAt']=''),null!=_0x8e774b['channel']&&_0x8e774b['hasOwnProperty']('channel')&&(_0xa78bb['channel']=_0x8e774b['channel']),null!=_0x8e774b['offset']&&_0x8e774b['hasOwnProperty']('offset')&&(_0xa78bb['offset']=_0x8e774b['offset']),null!=_0x8e774b['version']&&_0x8e774b['hasOwnProperty']('version')&&(_0xa78bb['version']=_0x8e774b['version']),_0x8e774b['buffers']&&_0x8e774b['buffers']['length']){_0xa78bb['buffers']=[];for(var _0x8884ca=0x0;_0x8884ca<_0x8e774b['buffers']['length'];++_0x8884ca)_0xa78bb['buffers'][_0x8884ca]=_0x1b19fd['bytes']===String?_0x43a1d8['base64']['encode'](_0x8e774b['buffers'][_0x8884ca],0x0,_0x8e774b['buffers'][_0x8884ca]['length']):_0x1b19fd['bytes']===Array?Array['prototype']['slice']['call'](_0x8e774b['buffers'][_0x8884ca]):_0x8e774b['buffers'][_0x8884ca];}if(_0x8e774b['types']&&_0x8e774b['types']['length']){for(_0xa78bb['types']=[],_0x8884ca=0x0;_0x8884ca<_0x8e774b['types']['length'];++_0x8884ca)_0xa78bb['types'][_0x8884ca]=_0x8e774b['types'][_0x8884ca];}if(_0x8e774b['metadata']&&_0x8e774b['metadata']['length']){for(_0xa78bb['metadata']=[],_0x8884ca=0x0;_0x8884ca<_0x8e774b['metadata']['length'];++_0x8884ca)_0xa78bb['metadata'][_0x8884ca]=_0x297356['OperationMetadataDescriptor']['toObject'](_0x8e774b['metadata'][_0x8884ca],_0x1b19fd);}return null!=_0x8e774b['initData']&&_0x8e774b['hasOwnProperty']('initData')&&(_0xa78bb['initData']=_0x8e774b['initData']),null!=_0x8e774b['isInitialized']&&_0x8e774b['hasOwnProperty']('isInitialized')&&(_0xa78bb['isInitialized']=_0x8e774b['isInitialized']),null!=_0x8e774b['sessionId']&&_0x8e774b['hasOwnProperty']('sessionId')&&(_0xa78bb['sessionId']=_0x8e774b['sessionId']),null!=_0x8e774b['lastOperationId']&&_0x8e774b['hasOwnProperty']('lastOperationId')&&(_0xa78bb['lastOperationId']=_0x8e774b['lastOperationId']),null!=_0x8e774b['sessionCreatedAt']&&_0x8e774b['hasOwnProperty']('sessionCreatedAt')&&(_0xa78bb['sessionCreatedAt']=_0x8e774b['sessionCreatedAt']),_0xa78bb;},_0x404df0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x404df0['getTypeUrl']=function(_0x539803){return void 0x0===_0x539803&&(_0x539803='type.googleapis.com'),_0x539803+'/CollaborativeEditingConnectResponse';},_0x404df0;}()),_0x297356['GetDocumentDetailsMessage']=(function(){function _0x1ac1bc(_0x4a4e82){if(_0x4a4e82){for(var _0xa4de45=Object['keys'](_0x4a4e82),_0x5a4fb3=0x0;_0x5a4fb3<_0xa4de45['length'];++_0x5a4fb3)null!=_0x4a4e82[_0xa4de45[_0x5a4fb3]]&&(this[_0xa4de45[_0x5a4fb3]]=_0x4a4e82[_0xa4de45[_0x5a4fb3]]);}}return _0x1ac1bc['prototype']['documentId']='',_0x1ac1bc['prototype']['environmentId']='',_0x1ac1bc['create']=function(_0x52601e){return new _0x1ac1bc(_0x52601e);},_0x1ac1bc['encode']=function(_0xd037b4,_0x26a3d7){return _0x26a3d7||(_0x26a3d7=_0x102edc['create']()),null!=_0xd037b4['documentId']&&Object['hasOwnProperty']['call'](_0xd037b4,'documentId')&&_0x26a3d7['uint32'](0xa)['string'](_0xd037b4['documentId']),null!=_0xd037b4['environmentId']&&Object['hasOwnProperty']['call'](_0xd037b4,'environmentId')&&_0x26a3d7['uint32'](0x12)['string'](_0xd037b4['environmentId']),_0x26a3d7;},_0x1ac1bc['encodeDelimited']=function(_0x29249a,_0x24f468){return this['encode'](_0x29249a,_0x24f468)['ldelim']();},_0x1ac1bc['decode']=function(_0x1217a0,_0x4b0ed9,_0x3846ad){_0x1217a0 instanceof _0x185f42||(_0x1217a0=_0x185f42['create'](_0x1217a0));for(var _0x12eb3b=void 0x0===_0x4b0ed9?_0x1217a0['len']:_0x1217a0['pos']+_0x4b0ed9,_0x14d356=new _0x297356['GetDocumentDetailsMessage']();_0x1217a0['pos']<_0x12eb3b;){var _0x2a768e=_0x1217a0['uint32']();if(_0x2a768e===_0x3846ad)break;switch(_0x2a768e>>>0x3){case 0x1:_0x14d356['documentId']=_0x1217a0['string']();break;case 0x2:_0x14d356['environmentId']=_0x1217a0['string']();break;default:_0x1217a0['skipType'](0x7&_0x2a768e);}}return _0x14d356;},_0x1ac1bc['decodeDelimited']=function(_0x46d9e1){return _0x46d9e1 instanceof _0x185f42||(_0x46d9e1=new _0x185f42(_0x46d9e1)),this['decode'](_0x46d9e1,_0x46d9e1['uint32']());},_0x1ac1bc['verify']=function(_0x1c699f){return'object'!=typeof _0x1c699f||null===_0x1c699f?'object\x20expected':null!=_0x1c699f['documentId']&&_0x1c699f['hasOwnProperty']('documentId')&&!_0x43a1d8['isString'](_0x1c699f['documentId'])?'documentId:\x20string\x20expected':null!=_0x1c699f['environmentId']&&_0x1c699f['hasOwnProperty']('environmentId')&&!_0x43a1d8['isString'](_0x1c699f['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x1ac1bc['fromObject']=function(_0x21c10d){if(_0x21c10d instanceof _0x297356['GetDocumentDetailsMessage'])return _0x21c10d;var _0x4aae9c=new _0x297356['GetDocumentDetailsMessage']();return null!=_0x21c10d['documentId']&&(_0x4aae9c['documentId']=String(_0x21c10d['documentId'])),null!=_0x21c10d['environmentId']&&(_0x4aae9c['environmentId']=String(_0x21c10d['environmentId'])),_0x4aae9c;},_0x1ac1bc['toObject']=function(_0x882c9a,_0x2674b6){_0x2674b6||(_0x2674b6={});var _0x9bced8={};return _0x2674b6['defaults']&&(_0x9bced8['documentId']='',_0x9bced8['environmentId']=''),null!=_0x882c9a['documentId']&&_0x882c9a['hasOwnProperty']('documentId')&&(_0x9bced8['documentId']=_0x882c9a['documentId']),null!=_0x882c9a['environmentId']&&_0x882c9a['hasOwnProperty']('environmentId')&&(_0x9bced8['environmentId']=_0x882c9a['environmentId']),_0x9bced8;},_0x1ac1bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1ac1bc['getTypeUrl']=function(_0xc5e32f){return void 0x0===_0xc5e32f&&(_0xc5e32f='type.googleapis.com'),_0xc5e32f+'/GetDocumentDetailsMessage';},_0x1ac1bc;}()),_0x297356['CollaborativeEditingUpdateMessage']=(function(){function _0x508d94(_0x48df4b){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x48df4b){for(var _0x2ce8d7=Object['keys'](_0x48df4b),_0x3f5e3e=0x0;_0x3f5e3e<_0x2ce8d7['length'];++_0x3f5e3e)null!=_0x48df4b[_0x2ce8d7[_0x3f5e3e]]&&(this[_0x2ce8d7[_0x3f5e3e]]=_0x48df4b[_0x2ce8d7[_0x3f5e3e]]);}}return _0x508d94['prototype']['id']='',_0x508d94['prototype']['baseVersion']=0x0,_0x508d94['prototype']['buffers']=_0x43a1d8['emptyArray'],_0x508d94['prototype']['types']=_0x43a1d8['emptyArray'],_0x508d94['prototype']['metadata']=_0x43a1d8['emptyArray'],_0x508d94['prototype']['lastOperationId']='',_0x508d94['create']=function(_0x2da6ad){return new _0x508d94(_0x2da6ad);},_0x508d94['encode']=function(_0x14b235,_0x490237){if(_0x490237||(_0x490237=_0x102edc['create']()),null!=_0x14b235['id']&&Object['hasOwnProperty']['call'](_0x14b235,'id')&&_0x490237['uint32'](0xa)['string'](_0x14b235['id']),null!=_0x14b235['baseVersion']&&Object['hasOwnProperty']['call'](_0x14b235,'baseVersion')&&_0x490237['uint32'](0x10)['uint32'](_0x14b235['baseVersion']),null!=_0x14b235['buffers']&&_0x14b235['buffers']['length']){for(var _0x568e14=0x0;_0x568e14<_0x14b235['buffers']['length'];++_0x568e14)_0x490237['uint32'](0x1a)['bytes'](_0x14b235['buffers'][_0x568e14]);}if(null!=_0x14b235['types']&&_0x14b235['types']['length']){for(_0x490237['uint32'](0x22)['fork'](),_0x568e14=0x0;_0x568e14<_0x14b235['types']['length'];++_0x568e14)_0x490237['uint32'](_0x14b235['types'][_0x568e14]);_0x490237['ldelim']();}if(null!=_0x14b235['metadata']&&_0x14b235['metadata']['length']){for(_0x568e14=0x0;_0x568e14<_0x14b235['metadata']['length'];++_0x568e14)_0x297356['OperationMetadataDescriptor']['encode'](_0x14b235['metadata'][_0x568e14],_0x490237['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x14b235['lastOperationId']&&Object['hasOwnProperty']['call'](_0x14b235,'lastOperationId')&&_0x490237['uint32'](0x3a)['string'](_0x14b235['lastOperationId']),_0x490237;},_0x508d94['encodeDelimited']=function(_0x5d72f3,_0x5d5587){return this['encode'](_0x5d72f3,_0x5d5587)['ldelim']();},_0x508d94['decode']=function(_0x2b31d5,_0x438cc8,_0x5e140a){_0x2b31d5 instanceof _0x185f42||(_0x2b31d5=_0x185f42['create'](_0x2b31d5));for(var _0x38de2e=void 0x0===_0x438cc8?_0x2b31d5['len']:_0x2b31d5['pos']+_0x438cc8,_0x4a08a1=new _0x297356['CollaborativeEditingUpdateMessage']();_0x2b31d5['pos']<_0x38de2e;){var _0x3a2911=_0x2b31d5['uint32']();if(_0x3a2911===_0x5e140a)break;switch(_0x3a2911>>>0x3){case 0x1:_0x4a08a1['id']=_0x2b31d5['string']();break;case 0x2:_0x4a08a1['baseVersion']=_0x2b31d5['uint32']();break;case 0x3:_0x4a08a1['buffers']&&_0x4a08a1['buffers']['length']||(_0x4a08a1['buffers']=[]),_0x4a08a1['buffers']['push'](_0x2b31d5['bytes']());break;case 0x4:if(_0x4a08a1['types']&&_0x4a08a1['types']['length']||(_0x4a08a1['types']=[]),0x2==(0x7&_0x3a2911)){for(var _0x597a9f=_0x2b31d5['uint32']()+_0x2b31d5['pos'];_0x2b31d5['pos']<_0x597a9f;)_0x4a08a1['types']['push'](_0x2b31d5['uint32']());}else _0x4a08a1['types']['push'](_0x2b31d5['uint32']());break;case 0x6:_0x4a08a1['metadata']&&_0x4a08a1['metadata']['length']||(_0x4a08a1['metadata']=[]),_0x4a08a1['metadata']['push'](_0x297356['OperationMetadataDescriptor']['decode'](_0x2b31d5,_0x2b31d5['uint32']()));break;case 0x7:_0x4a08a1['lastOperationId']=_0x2b31d5['string']();break;default:_0x2b31d5['skipType'](0x7&_0x3a2911);}}return _0x4a08a1;},_0x508d94['decodeDelimited']=function(_0x31d7c4){return _0x31d7c4 instanceof _0x185f42||(_0x31d7c4=new _0x185f42(_0x31d7c4)),this['decode'](_0x31d7c4,_0x31d7c4['uint32']());},_0x508d94['verify']=function(_0x25e789){if('object'!=typeof _0x25e789||null===_0x25e789)return'object\x20expected';if(null!=_0x25e789['id']&&_0x25e789['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x25e789['id']))return'id:\x20string\x20expected';if(null!=_0x25e789['baseVersion']&&_0x25e789['hasOwnProperty']('baseVersion')&&!_0x43a1d8['isInteger'](_0x25e789['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x25e789['buffers']&&_0x25e789['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x25e789['buffers']))return'buffers:\x20array\x20expected';for(var _0x5a741e=0x0;_0x5a741e<_0x25e789['buffers']['length'];++_0x5a741e)if(!(_0x25e789['buffers'][_0x5a741e]&&'number'==typeof _0x25e789['buffers'][_0x5a741e]['length']||_0x43a1d8['isString'](_0x25e789['buffers'][_0x5a741e])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x25e789['types']&&_0x25e789['hasOwnProperty']('types')){if(!Array['isArray'](_0x25e789['types']))return'types:\x20array\x20expected';for(_0x5a741e=0x0;_0x5a741e<_0x25e789['types']['length'];++_0x5a741e)if(!_0x43a1d8['isInteger'](_0x25e789['types'][_0x5a741e]))return'types:\x20integer[]\x20expected';}if(null!=_0x25e789['metadata']&&_0x25e789['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x25e789['metadata']))return'metadata:\x20array\x20expected';for(_0x5a741e=0x0;_0x5a741e<_0x25e789['metadata']['length'];++_0x5a741e){var _0x126f74=_0x297356['OperationMetadataDescriptor']['verify'](_0x25e789['metadata'][_0x5a741e]);if(_0x126f74)return'metadata.'+_0x126f74;}}return null!=_0x25e789['lastOperationId']&&_0x25e789['hasOwnProperty']('lastOperationId')&&!_0x43a1d8['isString'](_0x25e789['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x508d94['fromObject']=function(_0x5bacf9){if(_0x5bacf9 instanceof _0x297356['CollaborativeEditingUpdateMessage'])return _0x5bacf9;var _0x318a25=new _0x297356['CollaborativeEditingUpdateMessage']();if(null!=_0x5bacf9['id']&&(_0x318a25['id']=String(_0x5bacf9['id'])),null!=_0x5bacf9['baseVersion']&&(_0x318a25['baseVersion']=_0x5bacf9['baseVersion']>>>0x0),_0x5bacf9['buffers']){if(!Array['isArray'](_0x5bacf9['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x318a25['buffers']=[];for(var _0x3972ef=0x0;_0x3972ef<_0x5bacf9['buffers']['length'];++_0x3972ef)'string'==typeof _0x5bacf9['buffers'][_0x3972ef]?_0x43a1d8['base64']['decode'](_0x5bacf9['buffers'][_0x3972ef],_0x318a25['buffers'][_0x3972ef]=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x5bacf9['buffers'][_0x3972ef])),0x0):_0x5bacf9['buffers'][_0x3972ef]['length']>=0x0&&(_0x318a25['buffers'][_0x3972ef]=_0x5bacf9['buffers'][_0x3972ef]);}if(_0x5bacf9['types']){if(!Array['isArray'](_0x5bacf9['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x318a25['types']=[],_0x3972ef=0x0;_0x3972ef<_0x5bacf9['types']['length'];++_0x3972ef)_0x318a25['types'][_0x3972ef]=_0x5bacf9['types'][_0x3972ef]>>>0x0;}if(_0x5bacf9['metadata']){if(!Array['isArray'](_0x5bacf9['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x318a25['metadata']=[],_0x3972ef=0x0;_0x3972ef<_0x5bacf9['metadata']['length'];++_0x3972ef){if('object'!=typeof _0x5bacf9['metadata'][_0x3972ef])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x318a25['metadata'][_0x3972ef]=_0x297356['OperationMetadataDescriptor']['fromObject'](_0x5bacf9['metadata'][_0x3972ef]);}}return null!=_0x5bacf9['lastOperationId']&&(_0x318a25['lastOperationId']=String(_0x5bacf9['lastOperationId'])),_0x318a25;},_0x508d94['toObject']=function(_0x33031f,_0x13ae0f){_0x13ae0f||(_0x13ae0f={});var _0x4dcd0b={};if((_0x13ae0f['arrays']||_0x13ae0f['defaults'])&&(_0x4dcd0b['buffers']=[],_0x4dcd0b['types']=[],_0x4dcd0b['metadata']=[]),_0x13ae0f['defaults']&&(_0x4dcd0b['id']='',_0x4dcd0b['baseVersion']=0x0,_0x4dcd0b['lastOperationId']=''),null!=_0x33031f['id']&&_0x33031f['hasOwnProperty']('id')&&(_0x4dcd0b['id']=_0x33031f['id']),null!=_0x33031f['baseVersion']&&_0x33031f['hasOwnProperty']('baseVersion')&&(_0x4dcd0b['baseVersion']=_0x33031f['baseVersion']),_0x33031f['buffers']&&_0x33031f['buffers']['length']){_0x4dcd0b['buffers']=[];for(var _0x19eb75=0x0;_0x19eb75<_0x33031f['buffers']['length'];++_0x19eb75)_0x4dcd0b['buffers'][_0x19eb75]=_0x13ae0f['bytes']===String?_0x43a1d8['base64']['encode'](_0x33031f['buffers'][_0x19eb75],0x0,_0x33031f['buffers'][_0x19eb75]['length']):_0x13ae0f['bytes']===Array?Array['prototype']['slice']['call'](_0x33031f['buffers'][_0x19eb75]):_0x33031f['buffers'][_0x19eb75];}if(_0x33031f['types']&&_0x33031f['types']['length']){for(_0x4dcd0b['types']=[],_0x19eb75=0x0;_0x19eb75<_0x33031f['types']['length'];++_0x19eb75)_0x4dcd0b['types'][_0x19eb75]=_0x33031f['types'][_0x19eb75];}if(_0x33031f['metadata']&&_0x33031f['metadata']['length']){for(_0x4dcd0b['metadata']=[],_0x19eb75=0x0;_0x19eb75<_0x33031f['metadata']['length'];++_0x19eb75)_0x4dcd0b['metadata'][_0x19eb75]=_0x297356['OperationMetadataDescriptor']['toObject'](_0x33031f['metadata'][_0x19eb75],_0x13ae0f);}return null!=_0x33031f['lastOperationId']&&_0x33031f['hasOwnProperty']('lastOperationId')&&(_0x4dcd0b['lastOperationId']=_0x33031f['lastOperationId']),_0x4dcd0b;},_0x508d94['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x508d94['getTypeUrl']=function(_0x40915a){return void 0x0===_0x40915a&&(_0x40915a='type.googleapis.com'),_0x40915a+'/CollaborativeEditingUpdateMessage';},_0x508d94;}()),_0x297356['CollaborativeEditingReconnectMessage']=(function(){function _0x30e94a(_0x680838){if(_0x680838){for(var _0x29577b=Object['keys'](_0x680838),_0x402831=0x0;_0x402831<_0x29577b['length'];++_0x402831)null!=_0x680838[_0x29577b[_0x402831]]&&(this[_0x29577b[_0x402831]]=_0x680838[_0x29577b[_0x402831]]);}}return _0x30e94a['prototype']['id']='',_0x30e94a['prototype']['bundleVersion']='',_0x30e94a['prototype']['lastKnowVersion']=0x0,_0x30e94a['create']=function(_0x2086d1){return new _0x30e94a(_0x2086d1);},_0x30e94a['encode']=function(_0x2b08b3,_0x1e5c06){return _0x1e5c06||(_0x1e5c06=_0x102edc['create']()),null!=_0x2b08b3['id']&&Object['hasOwnProperty']['call'](_0x2b08b3,'id')&&_0x1e5c06['uint32'](0xa)['string'](_0x2b08b3['id']),null!=_0x2b08b3['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2b08b3,'bundleVersion')&&_0x1e5c06['uint32'](0x12)['string'](_0x2b08b3['bundleVersion']),null!=_0x2b08b3['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x2b08b3,'lastKnowVersion')&&_0x1e5c06['uint32'](0x18)['uint32'](_0x2b08b3['lastKnowVersion']),_0x1e5c06;},_0x30e94a['encodeDelimited']=function(_0x2912c1,_0x4da2bf){return this['encode'](_0x2912c1,_0x4da2bf)['ldelim']();},_0x30e94a['decode']=function(_0x3f9b39,_0x807c7d,_0x292c76){_0x3f9b39 instanceof _0x185f42||(_0x3f9b39=_0x185f42['create'](_0x3f9b39));for(var _0x5c3b75=void 0x0===_0x807c7d?_0x3f9b39['len']:_0x3f9b39['pos']+_0x807c7d,_0x327f2e=new _0x297356['CollaborativeEditingReconnectMessage']();_0x3f9b39['pos']<_0x5c3b75;){var _0x33e472=_0x3f9b39['uint32']();if(_0x33e472===_0x292c76)break;switch(_0x33e472>>>0x3){case 0x1:_0x327f2e['id']=_0x3f9b39['string']();break;case 0x2:_0x327f2e['bundleVersion']=_0x3f9b39['string']();break;case 0x3:_0x327f2e['lastKnowVersion']=_0x3f9b39['uint32']();break;default:_0x3f9b39['skipType'](0x7&_0x33e472);}}return _0x327f2e;},_0x30e94a['decodeDelimited']=function(_0x5f4ae2){return _0x5f4ae2 instanceof _0x185f42||(_0x5f4ae2=new _0x185f42(_0x5f4ae2)),this['decode'](_0x5f4ae2,_0x5f4ae2['uint32']());},_0x30e94a['verify']=function(_0x3eeefd){return'object'!=typeof _0x3eeefd||null===_0x3eeefd?'object\x20expected':null!=_0x3eeefd['id']&&_0x3eeefd['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x3eeefd['id'])?'id:\x20string\x20expected':null!=_0x3eeefd['bundleVersion']&&_0x3eeefd['hasOwnProperty']('bundleVersion')&&!_0x43a1d8['isString'](_0x3eeefd['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x3eeefd['lastKnowVersion']&&_0x3eeefd['hasOwnProperty']('lastKnowVersion')&&!_0x43a1d8['isInteger'](_0x3eeefd['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x30e94a['fromObject']=function(_0x4e967c){if(_0x4e967c instanceof _0x297356['CollaborativeEditingReconnectMessage'])return _0x4e967c;var _0x2de5e2=new _0x297356['CollaborativeEditingReconnectMessage']();return null!=_0x4e967c['id']&&(_0x2de5e2['id']=String(_0x4e967c['id'])),null!=_0x4e967c['bundleVersion']&&(_0x2de5e2['bundleVersion']=String(_0x4e967c['bundleVersion'])),null!=_0x4e967c['lastKnowVersion']&&(_0x2de5e2['lastKnowVersion']=_0x4e967c['lastKnowVersion']>>>0x0),_0x2de5e2;},_0x30e94a['toObject']=function(_0x2f6ecd,_0xcaee37){_0xcaee37||(_0xcaee37={});var _0x54a03e={};return _0xcaee37['defaults']&&(_0x54a03e['id']='',_0x54a03e['bundleVersion']='',_0x54a03e['lastKnowVersion']=0x0),null!=_0x2f6ecd['id']&&_0x2f6ecd['hasOwnProperty']('id')&&(_0x54a03e['id']=_0x2f6ecd['id']),null!=_0x2f6ecd['bundleVersion']&&_0x2f6ecd['hasOwnProperty']('bundleVersion')&&(_0x54a03e['bundleVersion']=_0x2f6ecd['bundleVersion']),null!=_0x2f6ecd['lastKnowVersion']&&_0x2f6ecd['hasOwnProperty']('lastKnowVersion')&&(_0x54a03e['lastKnowVersion']=_0x2f6ecd['lastKnowVersion']),_0x54a03e;},_0x30e94a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x30e94a['getTypeUrl']=function(_0x267bfb){return void 0x0===_0x267bfb&&(_0x267bfb='type.googleapis.com'),_0x267bfb+'/CollaborativeEditingReconnectMessage';},_0x30e94a;}()),_0x297356['CollaborativeEditingConnectMessage']=(function(){function _0x89b086(_0x52c68b){if(this['buffers']=[],this['types']=[],_0x52c68b){for(var _0x405740=Object['keys'](_0x52c68b),_0x1bd10c=0x0;_0x1bd10c<_0x405740['length'];++_0x1bd10c)null!=_0x52c68b[_0x405740[_0x1bd10c]]&&(this[_0x405740[_0x1bd10c]]=_0x52c68b[_0x405740[_0x1bd10c]]);}}return _0x89b086['prototype']['id']='',_0x89b086['prototype']['bundleVersion']='',_0x89b086['prototype']['buffers']=_0x43a1d8['emptyArray'],_0x89b086['prototype']['types']=_0x43a1d8['emptyArray'],_0x89b086['prototype']['lastOperationId']='',_0x89b086['create']=function(_0x4cbe23){return new _0x89b086(_0x4cbe23);},_0x89b086['encode']=function(_0x55110e,_0x5425f7){if(_0x5425f7||(_0x5425f7=_0x102edc['create']()),null!=_0x55110e['id']&&Object['hasOwnProperty']['call'](_0x55110e,'id')&&_0x5425f7['uint32'](0xa)['string'](_0x55110e['id']),null!=_0x55110e['bundleVersion']&&Object['hasOwnProperty']['call'](_0x55110e,'bundleVersion')&&_0x5425f7['uint32'](0x12)['string'](_0x55110e['bundleVersion']),null!=_0x55110e['buffers']&&_0x55110e['buffers']['length']){for(var _0x5b2dd9=0x0;_0x5b2dd9<_0x55110e['buffers']['length'];++_0x5b2dd9)_0x5425f7['uint32'](0x1a)['bytes'](_0x55110e['buffers'][_0x5b2dd9]);}if(null!=_0x55110e['types']&&_0x55110e['types']['length']){for(_0x5425f7['uint32'](0x22)['fork'](),_0x5b2dd9=0x0;_0x5b2dd9<_0x55110e['types']['length'];++_0x5b2dd9)_0x5425f7['uint32'](_0x55110e['types'][_0x5b2dd9]);_0x5425f7['ldelim']();}return null!=_0x55110e['lastOperationId']&&Object['hasOwnProperty']['call'](_0x55110e,'lastOperationId')&&_0x5425f7['uint32'](0x2a)['string'](_0x55110e['lastOperationId']),_0x5425f7;},_0x89b086['encodeDelimited']=function(_0x3de573,_0x1ba324){return this['encode'](_0x3de573,_0x1ba324)['ldelim']();},_0x89b086['decode']=function(_0x4efb6d,_0x2bfd62,_0x30fda2){_0x4efb6d instanceof _0x185f42||(_0x4efb6d=_0x185f42['create'](_0x4efb6d));for(var _0x3046d6=void 0x0===_0x2bfd62?_0x4efb6d['len']:_0x4efb6d['pos']+_0x2bfd62,_0x3894f8=new _0x297356['CollaborativeEditingConnectMessage']();_0x4efb6d['pos']<_0x3046d6;){var _0x135dea=_0x4efb6d['uint32']();if(_0x135dea===_0x30fda2)break;switch(_0x135dea>>>0x3){case 0x1:_0x3894f8['id']=_0x4efb6d['string']();break;case 0x2:_0x3894f8['bundleVersion']=_0x4efb6d['string']();break;case 0x3:_0x3894f8['buffers']&&_0x3894f8['buffers']['length']||(_0x3894f8['buffers']=[]),_0x3894f8['buffers']['push'](_0x4efb6d['bytes']());break;case 0x4:if(_0x3894f8['types']&&_0x3894f8['types']['length']||(_0x3894f8['types']=[]),0x2==(0x7&_0x135dea)){for(var _0x438740=_0x4efb6d['uint32']()+_0x4efb6d['pos'];_0x4efb6d['pos']<_0x438740;)_0x3894f8['types']['push'](_0x4efb6d['uint32']());}else _0x3894f8['types']['push'](_0x4efb6d['uint32']());break;case 0x5:_0x3894f8['lastOperationId']=_0x4efb6d['string']();break;default:_0x4efb6d['skipType'](0x7&_0x135dea);}}return _0x3894f8;},_0x89b086['decodeDelimited']=function(_0x2ad5fa){return _0x2ad5fa instanceof _0x185f42||(_0x2ad5fa=new _0x185f42(_0x2ad5fa)),this['decode'](_0x2ad5fa,_0x2ad5fa['uint32']());},_0x89b086['verify']=function(_0x57abd5){if('object'!=typeof _0x57abd5||null===_0x57abd5)return'object\x20expected';if(null!=_0x57abd5['id']&&_0x57abd5['hasOwnProperty']('id')&&!_0x43a1d8['isString'](_0x57abd5['id']))return'id:\x20string\x20expected';if(null!=_0x57abd5['bundleVersion']&&_0x57abd5['hasOwnProperty']('bundleVersion')&&!_0x43a1d8['isString'](_0x57abd5['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x57abd5['buffers']&&_0x57abd5['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x57abd5['buffers']))return'buffers:\x20array\x20expected';for(var _0x23ca39=0x0;_0x23ca39<_0x57abd5['buffers']['length'];++_0x23ca39)if(!(_0x57abd5['buffers'][_0x23ca39]&&'number'==typeof _0x57abd5['buffers'][_0x23ca39]['length']||_0x43a1d8['isString'](_0x57abd5['buffers'][_0x23ca39])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x57abd5['types']&&_0x57abd5['hasOwnProperty']('types')){if(!Array['isArray'](_0x57abd5['types']))return'types:\x20array\x20expected';for(_0x23ca39=0x0;_0x23ca39<_0x57abd5['types']['length'];++_0x23ca39)if(!_0x43a1d8['isInteger'](_0x57abd5['types'][_0x23ca39]))return'types:\x20integer[]\x20expected';}return null!=_0x57abd5['lastOperationId']&&_0x57abd5['hasOwnProperty']('lastOperationId')&&!_0x43a1d8['isString'](_0x57abd5['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x89b086['fromObject']=function(_0x14bac9){if(_0x14bac9 instanceof _0x297356['CollaborativeEditingConnectMessage'])return _0x14bac9;var _0x6b6064=new _0x297356['CollaborativeEditingConnectMessage']();if(null!=_0x14bac9['id']&&(_0x6b6064['id']=String(_0x14bac9['id'])),null!=_0x14bac9['bundleVersion']&&(_0x6b6064['bundleVersion']=String(_0x14bac9['bundleVersion'])),_0x14bac9['buffers']){if(!Array['isArray'](_0x14bac9['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x6b6064['buffers']=[];for(var _0x1624ad=0x0;_0x1624ad<_0x14bac9['buffers']['length'];++_0x1624ad)'string'==typeof _0x14bac9['buffers'][_0x1624ad]?_0x43a1d8['base64']['decode'](_0x14bac9['buffers'][_0x1624ad],_0x6b6064['buffers'][_0x1624ad]=_0x43a1d8['newBuffer'](_0x43a1d8['base64']['length'](_0x14bac9['buffers'][_0x1624ad])),0x0):_0x14bac9['buffers'][_0x1624ad]['length']>=0x0&&(_0x6b6064['buffers'][_0x1624ad]=_0x14bac9['buffers'][_0x1624ad]);}if(_0x14bac9['types']){if(!Array['isArray'](_0x14bac9['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x6b6064['types']=[],_0x1624ad=0x0;_0x1624ad<_0x14bac9['types']['length'];++_0x1624ad)_0x6b6064['types'][_0x1624ad]=_0x14bac9['types'][_0x1624ad]>>>0x0;}return null!=_0x14bac9['lastOperationId']&&(_0x6b6064['lastOperationId']=String(_0x14bac9['lastOperationId'])),_0x6b6064;},_0x89b086['toObject']=function(_0x2f90a4,_0x29726e){_0x29726e||(_0x29726e={});var _0x159a84={};if((_0x29726e['arrays']||_0x29726e['defaults'])&&(_0x159a84['buffers']=[],_0x159a84['types']=[]),_0x29726e['defaults']&&(_0x159a84['id']='',_0x159a84['bundleVersion']='',_0x159a84['lastOperationId']=''),null!=_0x2f90a4['id']&&_0x2f90a4['hasOwnProperty']('id')&&(_0x159a84['id']=_0x2f90a4['id']),null!=_0x2f90a4['bundleVersion']&&_0x2f90a4['hasOwnProperty']('bundleVersion')&&(_0x159a84['bundleVersion']=_0x2f90a4['bundleVersion']),_0x2f90a4['buffers']&&_0x2f90a4['buffers']['length']){_0x159a84['buffers']=[];for(var _0x70f497=0x0;_0x70f497<_0x2f90a4['buffers']['length'];++_0x70f497)_0x159a84['buffers'][_0x70f497]=_0x29726e['bytes']===String?_0x43a1d8['base64']['encode'](_0x2f90a4['buffers'][_0x70f497],0x0,_0x2f90a4['buffers'][_0x70f497]['length']):_0x29726e['bytes']===Array?Array['prototype']['slice']['call'](_0x2f90a4['buffers'][_0x70f497]):_0x2f90a4['buffers'][_0x70f497];}if(_0x2f90a4['types']&&_0x2f90a4['types']['length']){for(_0x159a84['types']=[],_0x70f497=0x0;_0x70f497<_0x2f90a4['types']['length'];++_0x70f497)_0x159a84['types'][_0x70f497]=_0x2f90a4['types'][_0x70f497];}return null!=_0x2f90a4['lastOperationId']&&_0x2f90a4['hasOwnProperty']('lastOperationId')&&(_0x159a84['lastOperationId']=_0x2f90a4['lastOperationId']),_0x159a84;},_0x89b086['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x89b086['getTypeUrl']=function(_0x114334){return void 0x0===_0x114334&&(_0x114334='type.googleapis.com'),_0x114334+'/CollaborativeEditingConnectMessage';},_0x89b086;}()),_0x297356['OperationMetadataDescriptor']=(function(){function _0x19ac12(_0x51e68f){if(_0x51e68f){for(var _0x30c5ed=Object['keys'](_0x51e68f),_0x454651=0x0;_0x454651<_0x30c5ed['length'];++_0x454651)null!=_0x51e68f[_0x30c5ed[_0x454651]]&&(this[_0x30c5ed[_0x454651]]=_0x51e68f[_0x30c5ed[_0x454651]]);}}return _0x19ac12['prototype']['userId']='',_0x19ac12['prototype']['type']='',_0x19ac12['prototype']['createdAt']='',_0x19ac12['create']=function(_0x159323){return new _0x19ac12(_0x159323);},_0x19ac12['encode']=function(_0x6cf708,_0x11956d){return _0x11956d||(_0x11956d=_0x102edc['create']()),null!=_0x6cf708['userId']&&Object['hasOwnProperty']['call'](_0x6cf708,'userId')&&_0x11956d['uint32'](0xa)['string'](_0x6cf708['userId']),null!=_0x6cf708['type']&&Object['hasOwnProperty']['call'](_0x6cf708,'type')&&_0x11956d['uint32'](0x12)['string'](_0x6cf708['type']),null!=_0x6cf708['createdAt']&&Object['hasOwnProperty']['call'](_0x6cf708,'createdAt')&&_0x11956d['uint32'](0x1a)['string'](_0x6cf708['createdAt']),_0x11956d;},_0x19ac12['encodeDelimited']=function(_0x4b9f22,_0x506504){return this['encode'](_0x4b9f22,_0x506504)['ldelim']();},_0x19ac12['decode']=function(_0x1b443c,_0x3952c4,_0x5dd196){_0x1b443c instanceof _0x185f42||(_0x1b443c=_0x185f42['create'](_0x1b443c));for(var _0x59609d=void 0x0===_0x3952c4?_0x1b443c['len']:_0x1b443c['pos']+_0x3952c4,_0x592f30=new _0x297356['OperationMetadataDescriptor']();_0x1b443c['pos']<_0x59609d;){var _0x5d99f4=_0x1b443c['uint32']();if(_0x5d99f4===_0x5dd196)break;switch(_0x5d99f4>>>0x3){case 0x1:_0x592f30['userId']=_0x1b443c['string']();break;case 0x2:_0x592f30['type']=_0x1b443c['string']();break;case 0x3:_0x592f30['createdAt']=_0x1b443c['string']();break;default:_0x1b443c['skipType'](0x7&_0x5d99f4);}}return _0x592f30;},_0x19ac12['decodeDelimited']=function(_0x3a5d37){return _0x3a5d37 instanceof _0x185f42||(_0x3a5d37=new _0x185f42(_0x3a5d37)),this['decode'](_0x3a5d37,_0x3a5d37['uint32']());},_0x19ac12['verify']=function(_0x14f713){return'object'!=typeof _0x14f713||null===_0x14f713?'object\x20expected':null!=_0x14f713['userId']&&_0x14f713['hasOwnProperty']('userId')&&!_0x43a1d8['isString'](_0x14f713['userId'])?'userId:\x20string\x20expected':null!=_0x14f713['type']&&_0x14f713['hasOwnProperty']('type')&&!_0x43a1d8['isString'](_0x14f713['type'])?'type:\x20string\x20expected':null!=_0x14f713['createdAt']&&_0x14f713['hasOwnProperty']('createdAt')&&!_0x43a1d8['isString'](_0x14f713['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x19ac12['fromObject']=function(_0xbfd6db){if(_0xbfd6db instanceof _0x297356['OperationMetadataDescriptor'])return _0xbfd6db;var _0x305c7e=new _0x297356['OperationMetadataDescriptor']();return null!=_0xbfd6db['userId']&&(_0x305c7e['userId']=String(_0xbfd6db['userId'])),null!=_0xbfd6db['type']&&(_0x305c7e['type']=String(_0xbfd6db['type'])),null!=_0xbfd6db['createdAt']&&(_0x305c7e['createdAt']=String(_0xbfd6db['createdAt'])),_0x305c7e;},_0x19ac12['toObject']=function(_0x300937,_0x38e334){_0x38e334||(_0x38e334={});var _0x92f260={};return _0x38e334['defaults']&&(_0x92f260['userId']='',_0x92f260['type']='',_0x92f260['createdAt']=''),null!=_0x300937['userId']&&_0x300937['hasOwnProperty']('userId')&&(_0x92f260['userId']=_0x300937['userId']),null!=_0x300937['type']&&_0x300937['hasOwnProperty']('type')&&(_0x92f260['type']=_0x300937['type']),null!=_0x300937['createdAt']&&_0x300937['hasOwnProperty']('createdAt')&&(_0x92f260['createdAt']=_0x300937['createdAt']),_0x92f260;},_0x19ac12['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x19ac12['getTypeUrl']=function(_0x1df99f){return void 0x0===_0x1df99f&&(_0x1df99f='type.googleapis.com'),_0x1df99f+'/OperationMetadataDescriptor';},_0x19ac12;}()),_0x297356;})());class _0x27e2b5{static['decode'](_0x1e6a04,_0x2bb99b){const _0x4fe815=_0x1fa029(_0x2bb99b)['decode']('undefined'==typeof window?_0x1e6a04:new Uint8Array(_0x1e6a04));return _0x2bb99b['fromJSON']({..._0x4fe815});}static['encode'](_0x3481fe){const _0x809d38=_0x1fa029(_0x3481fe['constructor']),_0x20609c=_0x3481fe['toJSON'](),_0x1962ea=_0x809d38['verify'](_0x20609c);if(_0x1962ea)throw Error(_0x1962ea);return _0x809d38['encode'](_0x809d38['create'](_0x20609c))['finish']();}}function _0x1fa029(_0x3e04c1){return _0x2afe44[_0x3e04c1['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x12f277{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x40bd66){super(),this['ids']=_0x40bd66;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x557e8f){return new GetManyUsersMessage(_0x557e8f['ids']);}}class GetManyUsersResponse extends _0x12f277{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x482550){super(),this['users']=_0x482550;}['toJSON'](){return{'users':this['users']['map'](_0x5f515c)};}static['fromJSON'](_0x26b815){return new GetManyUsersResponse(_0x26b815['users']['map'](_0x322f9a));}}function _0x5f515c(_0x3ea751){return{'attributes':Object['keys'](_0x3ea751)['map'](_0x7902c1=>({'key':_0x7902c1,'value':JSON['stringify'](_0x3ea751[_0x7902c1])}))};}function _0x322f9a(_0x3aa733){return _0x3aa733['attributes']['reduce']((_0x89b88f,_0x8663c9)=>(_0x89b88f[_0x8663c9['key']]=_0x8663c9['value']?JSON['parse'](_0x8663c9['value']):null,_0x89b88f),{});}class _0x5e3fa9{static ['_SERVICE']=0x2;constructor(_0x51c157={}){this['_attributes']=new Map();for(const _0x1b80e3 of Object['keys'](_0x51c157))'id'!==_0x1b80e3?(this['_attributes']['set'](_0x1b80e3,_0x51c157[_0x1b80e3]),Object['defineProperty'](this,_0x1b80e3,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x1b80e3)})):this['id']=_0x51c157['id'];}static['fromData'](_0x3c5889){return new _0x5e3fa9(_0x3c5889);}static async['get'](_0x3f395d,_0x71a59){const _0x1487f2=new GetUserMessage(_0x71a59);try{const _0x3294b8=await _0x3f395d['_sendRequest'](_0x5e3fa9['_SERVICE'],GetUserMessage['TYPE'],_0x27e2b5['encode'](_0x1487f2)),_0x39761f=_0x27e2b5['decode'](_0x3294b8,GetUserResponse);return new _0x5e3fa9(_0x39761f['attributes']);}catch(_0x1eaae6){return new _0x5e3fa9({'id':_0x71a59});}}static async['getMany'](_0x21620e,_0x5f4768){const _0x10a136=new GetManyUsersMessage(_0x5f4768);try{const _0x1efe91=await _0x21620e['_sendRequest'](_0x5e3fa9['_SERVICE'],GetManyUsersMessage['TYPE'],_0x27e2b5['encode'](_0x10a136));return _0x27e2b5['decode'](_0x1efe91,GetManyUsersResponse)['users']['map'](_0x2c8168=>new _0x5e3fa9(_0x2c8168));}catch(_0x2546a0){return _0x5f4768['map'](_0x3ebdd3=>new _0x5e3fa9({'id':_0x3ebdd3}));}}}class _0x2d30a0 extends _0x12f277{['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(_0x52c964,_0x1dd715,_0x45811b){super(),this['type']=_0x52c964,this['socketId']=_0x1dd715,this['data']=_0x45811b;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x40e616){return new _0x2d30a0(_0x40e616['type'],_0x40e616['socketId'],_0x40e616['data']);}}class _0x471be0 extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x4df582,_0x27b422,_0x376d9a){super(),this['_channelName']=_0x4df582,this['_wsGateway']=_0x27b422,this['_socket']=_0x376d9a,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x52d41a,_0x2dd911=!0x1){let _0x12bbdc='';return _0x2dd911&&(_0x12bbdc+='all:'),_0x12bbdc+='event',_0x52d41a&&(_0x12bbdc+=':'+_0x52d41a),_0x12bbdc;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0xcc2cad=>{const _0x48e0b0=_0x27e2b5['decode'](_0xcc2cad,_0x2d30a0);this['fire'](this['getEventName'](_0x48e0b0['type'],!0x0),_0x48e0b0['data'],_0x48e0b0['socketId']),_0x48e0b0['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x48e0b0['type']),_0x48e0b0['data'],_0x48e0b0['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x1ed0c6,_0x52c194,_0x13e181=null,_0x284be9={}){super('cloud-services-internal-error:\x20'+_0x1ed0c6),this['context']=_0x52c194,this['code']=_0x13e181,this['data']=_0x284be9,this['name']='CKEditorError';}static['fromPublicError'](_0x2bf057){return new CKEditorCloudServicesError(function(_0x5bc3ae){let _0x27b7b4='cloud-services-error:\x20'+_0x5bc3ae['message'];return _0x5bc3ae['data']&&(_0x27b7b4+='\x0aError\x20data:\x20'+JSON['stringify'](_0x5bc3ae['data'])),_0x5bc3ae['explanation']&&(_0x27b7b4+='\x0aExplanation:\x20'+_0x5bc3ae['explanation']),_0x5bc3ae['action']&&(_0x27b7b4+='\x0aAction:\x20'+_0x5bc3ae['action']),_0x5bc3ae['traceId']&&(_0x27b7b4+='\x0aTraceId:\x20'+_0x5bc3ae['traceId']),_0x5bc3ae['code']&&(_0x27b7b4+='\x0aCode:\x20'+_0x5bc3ae['code']),_0x27b7b4;}(_0x2bf057),_0x2bf057);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x53e4ad,_0x3e0cee){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x53e4ad,this['code']=_0x3e0cee['code'],this['traceId']=_0x3e0cee['traceId'],this['data']=_0x3e0cee['data'];}static['fromPublicError'](_0x49f933){return new CKEditorCloudServicesServerError(function(_0x10f1a7){let _0x211d79='cloud-services-server-error:\x20'+_0x10f1a7['message'];return _0x10f1a7['explanation']&&(_0x211d79+='\x0aExplanation:\x20'+_0x10f1a7['explanation']),_0x10f1a7['action']&&(_0x211d79+='\x0aAction:\x20'+_0x10f1a7['action']),_0x10f1a7['traceId']&&(_0x211d79+='\x0aTraceId:\x20'+_0x10f1a7['traceId']),_0x10f1a7['code']&&(_0x211d79+='\x0aCode:\x20'+_0x10f1a7['code']),_0x211d79;}(_0x49f933),_0x49f933);}}class PacketOptionsMessage extends _0x12f277{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0xb9f60d,_0x35b13e=[],_0x2c3df9=[]){super(),this['flags']=_0xb9f60d,this['rooms']=_0x35b13e,this['except']=_0x2c3df9;}['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'](_0x373082){return new PacketOptionsMessage(_0x373082['flags']&&JSON['parse'](_0x373082['flags']),_0x373082['rooms'],_0x373082['except']);}}const _0x109db3=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x5a94c6){let _0x2ee52e=0x0;for(let _0x3650d3=0x0;_0x3650d3<_0x5a94c6['length'];_0x3650d3++)_0x2ee52e+=_0x5a94c6[_0x3650d3]*Math['pow'](0xa,_0x5a94c6['length']-_0x3650d3-0x1);return _0x2ee52e;}static['getType'](_0x3c2a9b){if(ParserUtils['isBuffer'](_0x3c2a9b))return 0x1;const _0xbc2895=typeof _0x3c2a9b;return'string'===_0xbc2895?0x2:'number'===_0xbc2895?0x3:0x4;}static['isBuffer'](_0x483b5d){return _0x109db3&&Buffer['isBuffer'](_0x483b5d)||_0x483b5d instanceof ArrayBuffer||_0x483b5d instanceof Uint8Array||this['_isBufferView'](_0x483b5d);}static['_isBufferView'](_0x517a02){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x517a02):_0x517a02['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x12f277{['data'];['data1'];static['create'](_0x407488,_0x3f217e){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2644f2,_0x469ca5){super(),this['data']=_0x2644f2,this['data1']=_0x469ca5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x23fa78){return new NumberBytesPacketDataMessage(_0x23fa78['data'],_0x23fa78['data1']);}static['create'](_0x4cb636,_0x353292){return new NumberBytesPacketDataMessage(_0x4cb636,_0x353292);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x3cd7cf,_0x2e27a8){super(),this['data']=_0x3cd7cf,this['data1']=_0x2e27a8;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2f9080){return new StringBytesPacketDataMessage(_0x2f9080['data'],_0x2f9080['data1']);}static['create'](_0x5780ea,_0xc5ae8d){return new StringBytesPacketDataMessage(_0x5780ea,_0xc5ae8d);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0xa73f9b,_0x48ce03){super(),this['data']=_0xa73f9b,this['data1']=_0x48ce03;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2f2aff){return new BytesBytesPacketDataMessage(_0x2f2aff['data'],_0x2f2aff['data1']);}static['create'](_0x2e2c4b,_0x4e4630){return new BytesBytesPacketDataMessage(_0x2e2c4b,_0x4e4630);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x551a86,_0x5e7083){super(),this['data']=_0x551a86,this['data1']=_0x5e7083;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x349a48){return new StringObjectPacketDataMessage(_0x349a48['data'],_0x349a48['data1']&&JSON['parse'](_0x349a48['data1']));}static['create'](_0x38cbbe,_0xcf6cda){return new StringObjectPacketDataMessage(_0x38cbbe,_0xcf6cda);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x5a0630,_0x5087ed){super(),this['data']=_0x5a0630,this['data1']=_0x5087ed;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x3609e1){return new NumberObjectPacketDataMessage(_0x3609e1['data'],_0x3609e1['data1']&&JSON['parse'](_0x3609e1['data1']));}static['create'](_0x1022d1,_0x4e8bf2){return new NumberObjectPacketDataMessage(_0x1022d1,_0x4e8bf2);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x262b40,_0x4e65c8){super(),this['data']=_0x262b40,this['data1']=_0x4e65c8;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x374d47){return new ObjectObjectPacketDataMessage(_0x374d47['data']&&JSON['parse'](_0x374d47['data']),_0x374d47['data1']&&JSON['parse'](_0x374d47['data1']));}static['create'](_0x19ecc5,_0x1f2eac){return new ObjectObjectPacketDataMessage(_0x19ecc5,_0x1f2eac);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x6bd020,_0x5d1d21){super(),this['data']=_0x6bd020,this['data1']=_0x5d1d21;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x58573b){return new ObjectBufferPacketDataMessage(_0x58573b['data']&&JSON['parse'](_0x58573b['data']),_0x58573b['data1']);}static['create'](_0x19cfec,_0x3372dc){return new ObjectBufferPacketDataMessage(_0x19cfec,_0x3372dc);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x3acb7b,_0x4a6526){super(),this['data']=_0x3acb7b,this['data1']=_0x4a6526;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5b505f){return new StringStringPacketDataMessage(_0x5b505f['data'],_0x5b505f['data1']);}static['create'](_0x4a0df0,_0x5ab7f2){return new StringStringPacketDataMessage(_0x4a0df0,_0x5ab7f2);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x278dbe,_0x51417c){super(),this['data']=_0x278dbe,this['data1']=_0x51417c;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4216dd){return new StringNumberPacketDataMessage(_0x4216dd['data'],_0x4216dd['data1']);}static['create'](_0x1e23bb,_0x2b8300){return new StringNumberPacketDataMessage(_0x1e23bb,_0x2b8300);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x57ca7f,_0x1d3fc9){super(),this['data']=_0x57ca7f,this['data1']=_0x1d3fc9;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x41f0fb){return new NumberNumberPacketDataMessage(_0x41f0fb['data'],_0x41f0fb['data1']);}static['create'](_0xdc13b5,_0x5e5f11){return new NumberNumberPacketDataMessage(_0xdc13b5,_0x5e5f11);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x1f7a44,_0x3c08b7){super(),this['data']=_0x1f7a44,this['data1']=_0x3c08b7;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3d3d7a){return new NumberStringPacketDataMessage(_0x3d3d7a['data'],_0x3d3d7a['data1']);}static['create'](_0x3fea75,_0x1ef99e){return new NumberStringPacketDataMessage(_0x3fea75,_0x1ef99e);}}const _0x282bf2=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x21df5b,_0xe91a42)=>(_0x21df5b[_0xe91a42['TYPE']]=_0xe91a42,_0x21df5b),{}))());class PacketMessage extends _0x12f277{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x89e407,_0x3a28d8,_0x5e302d,_0x4c8df7='/',_0x29f2d8){super(),this['type']=_0x89e407,this['data']=_0x3a28d8,this['id']=_0x5e302d,this['nsp']=_0x4c8df7,this['options']=_0x29f2d8??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const _0x1a53d6=_0x27e2b5['encode'](this['options']),_0x144d81=_0x27e2b5['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x144d81,'options':_0x1a53d6};}static['fromJSON'](_0x541781){const _0x3e1176=Math['floor'](_0x541781['type']/0xa);return new PacketMessage(_0x541781['type']-0xa*_0x3e1176,_0x27e2b5['decode'](_0x541781['data'],_0x282bf2[_0x3e1176]),_0x541781['id'],_0x541781['nsp'],_0x541781['options']?_0x27e2b5['decode'](_0x541781['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x3e3b80,_0x320bc3={}){const _0xd5ca28=ParserUtils['getPacketType'](ParserUtils['getType'](_0x3e3b80['data'][0x0]),ParserUtils['getType'](_0x3e3b80['data'][0x1]??_0x3e3b80['data'][0x0]));return new PacketMessage(_0x3e3b80['type'],_0x282bf2[_0xd5ca28]['create'](_0x3e3b80['data'][0x0],_0x3e3b80['data'][0x1]),_0x3e3b80['id'],_0x3e3b80['nsp'],new PacketOptionsMessage(_0x320bc3['flags'],_0x320bc3['rooms'],_0x320bc3['except']));}}class PacketParser{['encode'](_0x30bb94,_0x92392f,_0x32b1a7,_0x1b0ba4='/',_0x442388={}){if(_0x92392f['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x2c1014={'type':_0x30bb94,'data':_0x92392f,'id':_0x32b1a7,'nsp':_0x1b0ba4};return _0x27e2b5['encode'](PacketMessage['create'](_0x2c1014,_0x442388));}['decode'](_0x58738c){const _0x180e39=_0x27e2b5['decode'](_0x58738c,PacketMessage);return{'packet':{'id':_0x180e39['id'],'type':_0x180e39['type'],'data':_0x180e39['packetData'],'nsp':_0x180e39['nsp']},'options':{'flags':_0x180e39['options']['flags'],'rooms':_0x180e39['options']['rooms'],'except':_0x180e39['options']['except']}};}}const _0x1cb32f=/* #__PURE__ -- @preserve */
((()=>[_0x39ae5b['EVENT'],_0x39ae5b['ACK'],_0x39ae5b['BINARY_ACK'],_0x39ae5b['BINARY_EVENT']])());class _0x8e8ad7 extends _0x5edc15{['_packetParser'];constructor(_0x9c032b){super(),this['_packetParser']=_0x9c032b??new PacketParser();}['encode'](_0x22eb12){if(_0x1cb32f['includes'](_0x22eb12['type']))try{return[this['_packetParser']['encode'](_0x22eb12['type'],_0x22eb12['data'],_0x22eb12['id'],_0x22eb12['nsp'])];}catch(_0x246aa6){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x246aa6['message']}});}return super['encode'](_0x22eb12);}}class _0x535ecc extends _0x44eeb3{['_packetParser'];constructor(_0xaa30ca){super(),this['_packetParser']=_0xaa30ca??new PacketParser();}['add'](_0x26ab85){if(!ParserUtils['isBuffer'](_0x26ab85))return super['add'](_0x26ab85);let _0x31bf56;try{_0x31bf56=this['_packetParser']['decode'](_0x26ab85)['packet'];}catch(_0x2c8fb6){return super['add'](_0x26ab85);}super['emitReserved']('decoded',_0x31bf56);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x7313ea();['timeout'];constructor(_0x296a42,_0x41027e){this['_context']=_0x296a42,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x41027e);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x175659){this['_deferredPromise']['resolve'](_0x175659);}['error'](_0x5b3fe9){this['_deferredPromise']['reject'](_0x5b3fe9);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x20d303){this['_context']=_0x20d303;}async['send'](_0xa416a,_0x548a8f=0xafc8){const _0x9fa931=this['_createRequest'](_0x548a8f);try{return _0xa416a(_0x9fa931),await _0x9fa931['promise'];}finally{this['_finishRequest'](_0x9fa931);}}['errorAll'](_0x22e07b){for(const _0x177e00 of this['_requests'])_0x177e00['error'](_0x22e07b);}['waitForAllRequests'](_0x511da0=0xafc8){return this['_waitForRequests'](_0x511da0);}['_createRequest'](_0x169bb0){const _0x2c1d9f=new WebSocketRequest(this['_context'],_0x169bb0);return this['_requests']['add'](_0x2c1d9f),_0x2c1d9f;}['_finishRequest'](_0x15f73c){this['_requests']['delete'](_0x15f73c),clearTimeout(_0x15f73c['timeout']);}async['_waitForRequests'](_0x1531f1=0x1388,_0x3f5538=0x0){return!this['_requests']['size']||_0x3f5538>=_0x1531f1/0x1f4?Promise['resolve']():(await new Promise(_0x55d612=>{setTimeout(_0x55d612,0x1f4);}),this['_waitForRequests'](_0x1531f1,_0x3f5538++));}}function _0x7313ea(){let _0x45ca77,_0x376f6a;const _0x389334=new Promise((_0x156779,_0x2a77eb)=>{_0x45ca77=_0x156779,_0x376f6a=_0x2a77eb;});return{'resolve':_0x45ca77,'reject':_0x376f6a,'promise':_0x389334};}const _0x45459c='disconnected',_0x115574='connecting',_0x3a8f9e='connected';let _0x52dc51=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x45459c)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x115574)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x3a8f9e)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0xa0ed63['priorities']['get']('highest')+0xf423f)());constructor(_0xd8b95e,_0x353c90,_0x3e979d,_0x5a90c5,_0xdb95ef){if(super(),this['_token']=_0x353c90,this['_options']=_0x3e979d??{},this['_connectionProvider']=_0x5a90c5??_0x302fae,this['_userFactory']=_0xdb95ef??_0x5e3fa9['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0xd8b95e)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']||(this['_options']['requestTimeout']=0x4e20),this['_url']=_0x234679(_0xd8b95e['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x45459c),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0xe5a314,_0xc53b8,_0x5a982c)=>{if(this['_debugEvent']('ws-gw:change:state',_0x5a982c),_0x5a982c!==WebSocketGateway['STATE_CONNECTED']){if(_0x5a982c===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x5e3fa9,this,this['_socketAuth']?.['userId']);}catch(_0xeb5a2b){}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x2a5864,_0x25900a)=>{this['_options']['onError']?this['_options']['onError'](_0x25900a):console['error'](_0x25900a);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x530421){return this['_requestsManager']['waitForAllRequests'](_0x530421);}['disconnect'](){this['state']!==_0x45459c&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x45459c);}async['reconnect'](){this['_socket']||this['state']!==_0x45459c||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x26676a,_0x2e1ab9='local.cs.dev:443/ws-v2',_0x501293={},_0x53dcba=_0x302fae,_0x114c74=_0x5e3fa9['get']){const _0x5112f7=new WebSocketGateway(_0x2e1ab9,_0x26676a,_0x501293,_0x53dcba,_0x114c74);return await _0x5112f7['_connect'](),_0x5112f7;}['_sendRequest'](_0x46cd76,_0xb4a4bf,_0x36c334){if(!_0x46cd76)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x296bca=new ArrayBuffer(_0x36c334['length']+0x2),_0x951302=new Uint8Array(_0x296bca);return _0x951302[0x0]=_0x46cd76,_0x951302[0x1]=parseInt(_0xb4a4bf),_0x951302['set'](_0x36c334,0x2),this['_emit'](0x1,_0x951302);}['_getChannel'](_0x1f5a40,_0x477475){const _0x5c64b9=''+_0x1f5a40+_0x477475;return!this['_channels']['has'](_0x5c64b9)&&this['_socket']&&this['_channels']['set'](_0x5c64b9,new _0x471be0(_0x5c64b9,this,this['_socket'])),this['_channels']['get'](_0x5c64b9);}['_connect'](){return new Promise((_0x2a84b5,_0x2c760c)=>{const _0x201c93=this['_setupSocket']();!this['socketId']&&_0x201c93['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x2c760c);}),_0x201c93['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x2a84b5();}catch(_0x2ccc98){_0x2c760c(_0x2ccc98);}}),_0x201c93['connect']();});}['_getPortByProtocol'](_0x4686c0){return['http:','ws:']['includes'](_0x4686c0)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x32136a=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x174a8b=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x32136a,_0x1f90c2=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x252657=this['_connectionProvider'](_0x174a8b,{'parser':{'Encoder':_0x8e8ad7,'Decoder':_0x535ecc},'path':_0x1f90c2+'/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':'53.0.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x115574,_0x252657['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x252657['id'];}),_0x252657['on']('connect_error',_0x1881d6=>{this['_debugEvent']('connect_error',_0x1881d6);}),_0x252657['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x252657['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x252657['io']['on']('reconnect_attempt',_0x5ca9c9=>{this['_debugEvent']('reconnect_attempt',_0x5ca9c9),this['state']=_0x115574,this['_connectionAttempt']=_0x5ca9c9;}),_0x252657['on']('unauthorized',_0x2cb80b=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x2cb80b);}),_0x252657['on']('authenticationRequest',async _0x26b275=>{this['_debugEvent']('authenticationRequest',_0x26b275['attempt']),await this['_onReconnect']();}),this['_socket']=_0x252657,_0x252657;}['_emit'](_0x3dd539,_0x58c3eb){const _0x26ac09=this['_socket'];return this['_requestsManager']['send'](_0x59f58e=>{_0x26ac09['emit'](_0x3dd539,_0x58c3eb,(_0x403f98,_0x12f62a)=>{if(_0x403f98)return _0x59f58e['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x403f98));_0x59f58e['response'](_0x12f62a);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x434e7a,_0x440b30){this['_socketAuth']={'environmentId':_0x434e7a,'userId':_0x440b30,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x3a8f9e;const _0x17b93f=async(_0x1f0cce,_0x5cf189,_0x322735)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x322735);}catch(_0x879d44){}};this['_token']['on']('change:value',_0x17b93f),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x17b93f);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x45459c,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0xbc2f47 of this['_channels']['values']())_0xbc2f47['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x5842e5,_0xf0970a){if(!this['_isDebugModeEnabled']())return;const _0x5a77c9=void 0x0!==_0xf0970a?',\x20data:\x20'+_0xf0970a:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x5842e5+_0x5a77c9);}['_reconnectionAttemptError'](_0xdc13b7){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0xdc13b7(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x3c7a54}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x3c7a54));}async['_authenticate'](_0x4c109c){try{this['_debugEvent']('authenticate:start');const _0x22eb1e=await this['_emit'](0x2,{'token':_0x4c109c});this['_debugEvent']('authenticate:success','envId:\x20'+_0x22eb1e['environmentId']+',\x20userId:\x20'+_0x22eb1e['userId']),this['_addAuthData'](_0x22eb1e['environmentId'],_0x22eb1e['userId']);}catch(_0x191f96){throw this['_debugEvent']('authenticate:error',_0x191f96['message']),this['_removeAuthData'](),_0x191f96;}}['_isDebugModeEnabled'](){return!!_0xa0ed63['global']['window']['localStorage']&&'true'===(_0xa0ed63['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x12f277{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x816bf3){super(),this['bundleVersion']=_0x816bf3;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x430e7b){return new IsEditorBundleUploadedMessage(_0x430e7b['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x12f277{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x1ab2e4){super(),this['isUploaded']=_0x1ab2e4;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x256c3f){return new IsEditorBundleUploadedResponse(_0x256c3f['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x58e42e,_0x4aa4e0){const _0x36463a=new IsEditorBundleUploadedMessage(_0x4aa4e0);if(_0x58e42e['state']!==_0x3a8f9e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x58e42e);const _0x2a8f8d=await _0x58e42e['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x27e2b5['encode'](_0x36463a));return _0x27e2b5['decode'](_0x2a8f8d,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x12f277{['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(_0x2d0f40,_0x15ef92){super(),this['documentId']=_0x2d0f40,this['revisionId']=_0x15ef92;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x139f13){return new RevisionHistoryGetRevisionMessage(_0x139f13['documentId'],_0x139f13['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x4fd407){return{'revisionId':_0x4fd407['id'],'name':_0x4fd407['name'],'creatorId':_0x4fd407['creatorId'],'createdAt':_0x4fd407['createdAt'],'fromVersion':_0x4fd407['fromVersion'],'toVersion':_0x4fd407['toVersion'],'isEmptyCurrent':_0x4fd407['isEmptyCurrent'],'diffData':_0x4fd407['diffData']?JSON['stringify'](_0x4fd407['diffData']):void 0x0,'attributes':_0x4fd407['attributes'],'authorsIds':_0x4fd407['authorsIds']};}static['toJSON'](_0x4072e1){return{'revisionId':_0x4072e1['revisionId'],'name':_0x4072e1['name'],'creatorId':_0x4072e1['creatorId'],'authorsIds':_0x4072e1['authorsIds']?JSON['stringify'](_0x4072e1['authorsIds']):void 0x0,'diffData':_0x4072e1['diffData'],'createdAt':_0x4072e1['createdAt']?.['toISOString'](),'attributes':_0x4072e1['attributes']?JSON['stringify'](_0x4072e1['attributes']):void 0x0,'toVersion':_0x4072e1['toVersion'],'fromVersion':_0x4072e1['fromVersion'],'isEmptyCurrent':_0x4072e1['isEmptyCurrent']};}static['fromJSON'](_0x2e6ffc){return{'revisionId':(_0x2e6ffc={..._0x2e6ffc})['revisionId'],'name':_0x2e6ffc['name'],'creatorId':_0x2e6ffc['creatorId'],'authorsIds':_0x2e6ffc['authorsIds']?JSON['parse'](_0x2e6ffc['authorsIds']):void 0x0,'diffData':_0x2e6ffc['diffData'],'createdAt':_0x2e6ffc['createdAt']?new Date(_0x2e6ffc['createdAt']):void 0x0,'attributes':_0x2e6ffc['attributes']?JSON['parse'](_0x2e6ffc['attributes']):void 0x0,'toVersion':_0x2e6ffc['toVersion'],'fromVersion':_0x2e6ffc['fromVersion'],'isEmptyCurrent':_0x2e6ffc['isEmptyCurrent']};}static['toObject'](_0x35837a){return function(_0x319d59){for(const [_0x5d339f,_0x24a291]of Object['entries'](_0x319d59))void 0x0===_0x24a291&&delete _0x319d59[_0x5d339f];return _0x319d59;}({'id':_0x35837a['revisionId'],'name':_0x35837a['name'],'creatorId':_0x35837a['creatorId'],'createdAt':_0x35837a['createdAt'],'fromVersion':_0x35837a['fromVersion'],'toVersion':_0x35837a['toVersion'],'isEmptyCurrent':_0x35837a['isEmptyCurrent'],'diffData':_0x35837a['diffData']?JSON['parse'](_0x35837a['diffData']):void 0x0,'attributes':_0x35837a['attributes'],'authorsIds':_0x35837a['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x12f277{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x1044b1,_0xe80ea4,_0x237bb0,_0x4e6f3a,_0x30c88d,_0x5b065c,_0x5ea30b,_0x431619,_0x4da2fd,_0x103104){super(),this['revisionId']=_0x1044b1,this['name']=_0xe80ea4,this['creatorId']=_0x237bb0,this['authorsIds']=_0x4e6f3a,this['createdAt']=_0x30c88d,this['diffData']=_0x5b065c,this['attributes']=_0x5ea30b,this['fromVersion']=_0x431619,this['toVersion']=_0x4da2fd,this['isEmptyCurrent']=_0x103104;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x463867){return new RevisionHistoryGetRevisionResponse(_0x463867['revisionId'],_0x463867['name'],_0x463867['creatorId'],_0x463867['authorsIds'],_0x463867['createdAt'],_0x463867['diffData'],_0x463867['attributes'],_0x463867['fromVersion'],_0x463867['toVersion'],_0x463867['isEmptyCurrent']);}static['fromJSON'](_0x39e0f2){return new RevisionHistoryGetRevisionResponse(_0x39e0f2['revisionId'],_0x39e0f2['name'],_0x39e0f2['creatorId'],_0x39e0f2['authorsIds']?JSON['parse'](_0x39e0f2['authorsIds']):void 0x0,_0x39e0f2['createdAt']?new Date(_0x39e0f2['createdAt']):void 0x0,_0x39e0f2['diffData'],_0x39e0f2['attributes']?JSON['parse'](_0x39e0f2['attributes']):void 0x0,_0x39e0f2['fromVersion'],_0x39e0f2['toVersion'],_0x39e0f2['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x12f277{['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(_0x38fca4,_0x76b13c,_0x3c8014){super(),this['documentId']=_0x38fca4,this['requestId']=_0x76b13c,this['revisions']=_0x3c8014;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x44e261){return new RevisionHistoryUpdateRevisionsMessage(_0x44e261['documentId'],_0x44e261['requestId'],_0x44e261['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x22ac63){return new RevisionHistoryUpdateRevisionsMessage(_0x22ac63['documentId'],_0x22ac63['requestId'],_0x22ac63['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x12f277{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x5892f3){super(),this['requestId']=_0x5892f3;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x172a5c){return new RevisionHistoryUpdateRevisionsResponse(_0x172a5c['requestId']);}}class RevisionHistoryConnectMessage extends _0x12f277{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3bdc67){super(),this['documentId']=_0x3bdc67;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x31c064){return new RevisionHistoryConnectMessage(_0x31c064['documentId']);}}class RevisionHistoryConnectResponse extends _0x12f277{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x3f65d1,_0x37ea4d,_0x250f7c){super(),this['channel']=_0x3f65d1,this['requestId']=_0x37ea4d,this['revisions']=_0x250f7c;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x25f1a4){return new RevisionHistoryConnectResponse(_0x25f1a4['channel'],_0x25f1a4['requestId'],_0x25f1a4['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x12f277{['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(_0x42069d,_0x21e7f5){super(),this['documentId']=_0x42069d,this['requestId']=_0x21e7f5;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x24d8d9){return new RevisionHistoryReconnectMessage(_0x24d8d9['documentId'],_0x24d8d9['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x340859,_0x31bd39){super(_0x340859+'\x20Service\x20is\x20not\x20connected.',_0x31bd39);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x5d608f){super(),this['_documentId']=_0x5d608f;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x5d18d6){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x5d18d6,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](_0x467927,_0x464767){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x467927);return this['_connect'](_0x467927,new RevisionHistoryReconnectMessage(this['_documentId'],_0x464767));}async['updateRevisions'](_0x3421df,_0x1331bb){const _0x4a4486=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x1331bb,'revisions':_0x3421df}),_0x342605=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x4a4486),{requestId:_0x16b390}=_0x27e2b5['decode'](_0x342605,RevisionHistoryUpdateRevisionsResponse);return _0x16b390;}async['getRevision'](_0x4730fc){const _0x543b0a=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x4730fc),_0x3e7946=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x543b0a);return _0x27e2b5['decode'](_0x3e7946,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x204995,_0x26263a){if(_0x204995['state']!==_0x3a8f9e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x204995);this['_wsGateway']=_0x204995,this['stopListening'](_0x204995,'change:state');const _0x3a1484=await _0x204995['_sendRequest'](0xc,_0x26263a['constructor']['TYPE'],_0x27e2b5['encode'](_0x26263a)),{channel:_0x30f55b,requestId:_0xf44006,revisions:_0x131a0d}=_0x27e2b5['decode'](_0x3a1484,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x204995,'change:state',(_0x570917,_0x5cbcfe,_0x9235c7)=>this['_onWsGatewayStateChange'](_0x9235c7),{'priority':_0x52dc51['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x204995,_0x30f55b),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x131a0d,'requestId':_0xf44006};}['_connectToChannel'](_0x564c28,_0x5f4a6e){this['_channel']=_0x564c28['_getChannel'](RevisionHistoryService['_SERVICE'],_0x5f4a6e),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x3fdff7,_0x4891dc)=>{const {documentId:_0x5504fd,requestId:_0x142357,revisions:_0x25bb74}=_0x27e2b5['decode'](_0x4891dc,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x5504fd,'requestId':_0x142357,'revisionsData':_0x25bb74});});}['_onWsGatewayStateChange'](_0x358d5d){_0x358d5d===_0x45459c&&this['disconnect']();}['_sendRequest'](_0x4bbc04,_0xc319df){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x4bbc04,_0x27e2b5['encode'](_0xc319df));}}class AddSuggestionMessage extends _0x12f277{['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(_0x33333,_0x5b93f0,_0x5a9112,_0x2c9fd3={},_0x3e9ede=null,_0x4709f5=null){super(),this['id']=_0x33333,this['documentId']=_0x5b93f0,this['type']=_0x5a9112,this['data']=_0x2c9fd3,this['originalSuggestionId']=_0x3e9ede,this['attributes']=_0x4709f5;}['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'](_0x462f6f){return new AddSuggestionMessage(_0x462f6f['id'],_0x462f6f['documentId'],_0x462f6f['type'],JSON['parse'](_0x462f6f['data']),_0x462f6f['originalSuggestionId']??null,_0x462f6f['attributes']?JSON['parse'](_0x462f6f['attributes']):null);}}class AddSuggestionResponse extends _0x12f277{['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(_0x2c6c3d,_0x425144,_0x219a69,_0x5e3e12,_0x599514,_0x560f23,_0x2dadcf={},_0x5d18c8=null){super(),this['id']=_0x2c6c3d,this['authorId']=_0x425144,this['type']=_0x219a69,this['hasComments']=_0x599514,this['state']=_0x560f23,this['data']=_0x2dadcf,this['attributes']=_0x5d18c8,this['createdAt']=_0x5e3e12?new Date(_0x5e3e12):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'](_0x548ad9){return new AddSuggestionResponse(_0x548ad9['id'],_0x548ad9['authorId'],_0x548ad9['type'],_0x548ad9['createdAt'],_0x548ad9['hasComments'],_0x548ad9['state'],JSON['parse'](_0x548ad9['data']),_0x548ad9['attributes']?JSON['parse'](_0x548ad9['attributes']):null);}}class GetSuggestionMessage extends _0x12f277{['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(_0x170b97,_0xdb9d7f){super(),this['id']=_0x170b97,this['documentId']=_0xdb9d7f;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x2648bc){return new GetSuggestionMessage(_0x2648bc['id'],_0x2648bc['documentId']);}}class GetSuggestionResponse extends _0x12f277{['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(_0x5f46c9,_0x20e01d,_0xd79e9c,_0x1bf0d4,_0xd33761,_0xc1b196,_0x3890d2={},_0x532435=null){super(),this['id']=_0x5f46c9,this['authorId']=_0x20e01d,this['type']=_0xd79e9c,this['hasComments']=_0xd33761,this['state']=_0xc1b196,this['data']=_0x3890d2,this['attributes']=_0x532435,this['createdAt']=new Date(_0x1bf0d4);}['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'](_0xef4dbe){return new GetSuggestionResponse(_0xef4dbe['id'],_0xef4dbe['authorId'],_0xef4dbe['type'],_0xef4dbe['createdAt'],_0xef4dbe['hasComments'],_0xef4dbe['state'],JSON['parse'](_0xef4dbe['data']),_0xef4dbe['attributes']?JSON['parse'](_0xef4dbe['attributes']):null);}}class GetAllSuggestionsMessage extends _0x12f277{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x58fa88){super(),this['documentId']=_0x58fa88;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5973f7){return new GetAllSuggestionsMessage(_0x5973f7['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](_0x364ce7){return{..._0x364ce7,'data':_0x364ce7['data']?JSON['stringify'](_0x364ce7['data']):_0x364ce7['data'],'attributes':_0x364ce7['attributes']?JSON['stringify'](_0x364ce7['attributes']):_0x364ce7['attributes'],'createdAt':_0x364ce7['createdAt']?.['toISOString']()};}static['fromJSON'](_0x75ab3d){return{..._0x75ab3d,'data':_0x75ab3d['data']?JSON['parse'](_0x75ab3d['data']):_0x75ab3d['data'],'attributes':_0x75ab3d['attributes']?JSON['parse'](_0x75ab3d['attributes']):_0x75ab3d['attributes'],'createdAt':_0x75ab3d['createdAt']?new Date(_0x75ab3d['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x12f277{['_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(_0x3e5b43,_0x2dfa39){super(),this['_suggestions']=_0x3e5b43,this['_suggestionsV2']=_0x2dfa39,this['suggestions']=_0x2dfa39?.['length']?_0x2dfa39:_0x3e5b43;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x494c10=>JSON['stringify'](_0x494c10)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x32016f){return new GetAllSuggestionResponse(_0x32016f['suggestions']?.['map'](_0x54740e),_0x32016f['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _0x54740e(_0x40ed37){const _0x27f18b=JSON['parse'](_0x40ed37);return _0x27f18b['createdAt']=_0x27f18b['createdAt']?new Date(_0x27f18b['createdAt']):void 0x0,_0x27f18b;}class UpdateSuggestionMessage extends _0x12f277{['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(_0x3e6157,_0x5b0282,_0x167a9d,_0x51e6ab,_0x4628af,_0x193f12=null){super(),this['id']=_0x3e6157,this['documentId']=_0x5b0282,this['hasComments']=_0x167a9d,this['isHasCommentsModified']=_0x51e6ab,this['state']=_0x4628af,this['attributes']=_0x193f12;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x5b50b0){return new UpdateSuggestionMessage(_0x5b50b0['id'],_0x5b50b0['documentId'],_0x5b50b0['hasComments'],_0x5b50b0['isHasCommentsModified'],_0x5b50b0['state'],_0x5b50b0['attributes']?JSON['parse'](_0x5b50b0['attributes']):null);}}let _0x94659=class ConnectMessage extends _0x12f277{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x458424){super(),this['documentId']=_0x458424;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5cc57b){return new ConnectMessage(_0x5cc57b['documentId']);}},_0x2583a5=class ConnectResponse extends _0x12f277{['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(_0x39e3a1,_0x26fb96,_0x48d664){super(),this['channel']=_0x39e3a1,this['_suggestions']=_0x26fb96,this['_suggestionsV2']=_0x48d664,this['suggestions']=_0x48d664?.['length']?_0x48d664:_0x26fb96;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x158c92=>JSON['stringify'](_0x158c92)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4fc7e6){return new ConnectResponse(_0x4fc7e6['channel'],_0x4fc7e6['suggestions']?.['map'](_0x25972f=>JSON['parse'](_0x25972f)),_0x4fc7e6['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x12f277{['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(_0x1688de,_0x47b14b,_0x3eb920){super(),this['ids']=_0x1688de,this['documentId']=_0x47b14b,this['state']=_0x3eb920;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x1cc8d9){return new BatchUpdateSuggestionsStateMessage(_0x1cc8d9['ids'],_0x1cc8d9['documentId'],_0x1cc8d9['state']);}}class _0x9492f0 extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0xc2cd51){super(),this['_documentId']=_0xc2cd51;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x570e3){if(this['_isConnected'])return;if(_0x570e3['state']!==_0x3a8f9e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x570e3);const _0x2c70bf=new _0x94659(this['_documentId']);this['_wsGateway']=_0x570e3,this['stopListening'](_0x570e3,'change:state');const _0x531d13=await _0x570e3['_sendRequest'](0xa,_0x94659['TYPE'],_0x27e2b5['encode'](_0x2c70bf)),_0x27771e=_0x27e2b5['decode'](_0x531d13,_0x2583a5);return this['listenTo'](_0x570e3,'change:state',(_0x47e8d6,_0x1bcdd2,_0x37e722)=>this['_onWsGatewayStateChange'](_0x37e722),{'priority':_0x52dc51['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x570e3,_0x27771e['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x27771e['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'](_0x2728ee,_0x1e70f0,_0x5bb063,_0x4fd648=null,_0x4775db){const _0x19c2d2=new AddSuggestionMessage(_0x2728ee,this['_documentId'],_0x1e70f0,_0x5bb063,_0x4fd648,_0x4775db),_0x20f7fe=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x19c2d2);return _0x27e2b5['decode'](_0x20f7fe,AddSuggestionResponse);}async['get'](_0xdb56b0,_0x5ada27=0x1){const _0x5bacaa=new GetSuggestionMessage(_0xdb56b0,this['_documentId']);try{const _0x419fa5=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x5bacaa);return _0x27e2b5['decode'](_0x419fa5,GetSuggestionResponse);}catch(_0x39b22f){if('CKEditorCloudServicesServerError'===_0x39b22f['name']&&'404'===_0x39b22f['code']&&_0x5ada27<0x5)return await(_0x20af2a=0x64*_0x5ada27,new Promise(_0x2d6e31=>{setTimeout(_0x2d6e31,_0x20af2a);})),this['get'](_0xdb56b0,_0x5ada27+0x1);if('CKEditorCloudServicesServerError'===_0x39b22f['name'])throw _0x39b22f;throw CKEditorCloudServicesServerError['fromPublicError'](_0x39b22f);}var _0x20af2a;}async['getAll'](){const _0x13a6ab=new GetAllSuggestionsMessage(this['_documentId']),_0x29b586=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x13a6ab),{suggestions:_0x5413db}=_0x27e2b5['decode'](_0x29b586,GetAllSuggestionResponse);return _0x5413db;}async['update'](_0x21ee7f,_0x3881fa={}){const {hasComments:_0x2cbd99,state:_0x1545c6,attributes:_0x5754c4}=_0x3881fa,_0x4b03f7=void 0x0!==_0x2cbd99,_0x106d53=new UpdateSuggestionMessage(_0x21ee7f,this['_documentId'],_0x2cbd99,_0x4b03f7,_0x1545c6,_0x5754c4);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x106d53);}async['batchUpdateState'](_0x5aa0ce){const _0xde5619=new BatchUpdateSuggestionsStateMessage(_0x5aa0ce['ids'],this['_documentId'],_0x5aa0ce['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0xde5619);}['_connectToChannel'](_0x4a7266,_0xe0772b){this['_channel']=_0x4a7266['_getChannel'](_0x9492f0['_SERVICE'],_0xe0772b),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x2e9c17,_0x54fbea)=>{const _0x36554e=_0x27e2b5['decode'](_0x54fbea,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x36554e);});}['_onWsGatewayStateChange'](_0x33cf49){_0x33cf49===_0x45459c&&this['disconnect']();}['_sendRequest'](_0x513984,_0x4775e6){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x513984,_0x27e2b5['encode'](_0x4775e6));}}class SessionsConnectResponse extends _0x12f277{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x59580c,_0x306edb=[]){super(),this['channel']=_0x59580c,this['sockets']=_0x306edb;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x2948cb=>({'user':_0x2948cb['userId'],'session':_0x2948cb['id'],'role':_0x2948cb['role'],'permissions':_0x2948cb['permissions']}))};}static['fromJSON'](_0x5466f9){return new SessionsConnectResponse(_0x5466f9['channel'],_0x5466f9['sockets']['map'](_0x460d98=>({'id':_0x460d98['session'],'userId':_0x460d98['user'],'role':_0x460d98['role'],'permissions':_0x460d98['permissions']})));}}class SessionsConnectMessage extends _0x12f277{['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(_0x2277f9,_0x6c429){super(),this['id']=_0x2277f9,this['sessionType']=_0x6c429;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x2fe85a){return new SessionsConnectMessage(_0x2fe85a['id'],_0x2fe85a['sessionType']);}}class SocketConnectMessage extends _0x12f277{['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(_0x3f03c8,_0x4ea20e,_0x5e046e,_0x3b394d){super(),this['id']=_0x3f03c8,this['userId']=_0x4ea20e,this['role']=_0x5e046e,this['permissions']=_0x3b394d;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x3fec3b){return new SocketConnectMessage(_0x3fec3b['id'],_0x3fec3b['userId'],_0x3fec3b['role'],_0x3fec3b['permissions']);}}class SocketDisconnectMessage extends _0x12f277{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x53f2cc){super(),this['id']=_0x53f2cc;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x33e4fe){return new SocketDisconnectMessage(_0x33e4fe['id']);}}class SessionCollection extends _0xa0ed63['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x6269ce,_0x4caeed){super({'idProperty':'id'}),this['_id']=_0x6269ce,this['_sessionType']=_0x4caeed;}async['connect'](_0x2871df){this['_wsGateway']=_0x2871df,this['stopListening'](_0x2871df,'change:state');const _0x5b1ae0=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x268867;try{const _0x2a8272=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x27e2b5['encode'](_0x5b1ae0));_0x268867=_0x27e2b5['decode'](_0x2a8272,SessionsConnectResponse);}catch(_0x34e9ed){_0x268867=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x268867['channel'],this['_sessionType']);const _0x30cd7a=await async function(_0x860420,_0x35e8f5){const _0x595243=_0x35e8f5['map'](_0x42a6a6=>_0x42a6a6['userId']),_0x467956=_0x595243['length']?await _0x5e3fa9['getMany'](_0x860420,_0x595243):[];return _0x35e8f5['map'](_0x568708=>{const _0x4fe11c={'id':_0x568708['id'],'role':_0x568708['role'],'permissions':_0x568708['permissions']};return _0x4fe11c['user']=_0x568708['userId']&&_0x467956['find'](_0x2cf76b=>_0x2cf76b['id']===_0x568708['userId'])||new _0x5e3fa9(),_0x4fe11c;});}(this['_wsGateway'],_0x268867['sockets']);for(const _0x5c73ff of _0x30cd7a)super['add'](_0x5c73ff);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x5dcd46,_0x4a1919,_0x47407f)=>this['_onWsGatewayStateChange'](_0x47407f),{'priority':_0x52dc51['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x34edc2=!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']&&_0x34edc2&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x34edc2&&this['stopListening']();}}['add'](_0x34f501,_0x31f913){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x5d7da5){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x490c04,_0xa039d1,_0x4ad007){this['_channel']=_0x490c04['_getChannel'](_0x4ad007,_0xa039d1),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x13ada2=>{const _0x52f0d6=_0x27e2b5['decode'](_0x13ada2,SocketConnectMessage);if(-0x1===this['getIndex'](_0x52f0d6['id'])){const _0x4620de={'id':_0x52f0d6['id'],'role':_0x52f0d6['role'],'permissions':_0x52f0d6['permissions']};_0x52f0d6['userId']&&(_0x4620de['user']=await _0x5e3fa9['get'](_0x490c04,_0x52f0d6['userId'])),super['add'](_0x4620de);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x407855=>{const _0x3a9f4b=_0x27e2b5['decode'](_0x407855,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x3a9f4b['id'])&&super['remove'](_0x3a9f4b['id']);}));}async['_onWsGatewayStateChange'](_0x527f33){_0x527f33===_0x52dc51['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x527f33===_0x52dc51['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x1a8e4c;for(this['_isRunning']=!0x0;_0x1a8e4c=this['_eventsQueue']['shift']();){const _0x56c5cc=this['_handlers']['get'](_0x1a8e4c['eventName']);_0x56c5cc&&await _0x56c5cc(_0x1a8e4c['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x4e3fcf,_0x1c7681,_0x4753e0){const _0x43e247=_0x4e3fcf['getEventName'](_0x1c7681,!0x0);this['listenTo'](_0x4e3fcf,_0x43e247,async(_0x4945a4,_0x2d9109)=>{const _0x110bf3=_0x4945a4['name'];this['_eventsQueue']['push']({'eventName':_0x110bf3,'data':_0x2d9109}),await this['_runQueue']();}),this['_handlers']['set'](_0x43e247,_0x4753e0);}}let _0x4fed44=class _0x32e97e{static async['getConnectedSessions'](_0x32a01a,_0x17bc44,_0x1701dd){const _0x1e6962=new SessionCollection(_0x17bc44,_0x1701dd);return await _0x1e6962['connect'](_0x32a01a),_0x1e6962;}};class CollaborativeEditingConnectMessage extends _0x12f277{['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(_0x23bd05,_0x242578,_0x2e58eb,_0x4365f3,_0x16b7e0=''){super(),this['id']=_0x23bd05,this['buffers']=_0x242578,this['types']=_0x2e58eb,this['bundleVersion']=_0x4365f3,this['lastOperationId']=_0x16b7e0;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x2d820c){return new CollaborativeEditingConnectMessage(_0x2d820c['id'],_0x2d820c['buffers'],_0x2d820c['types'],_0x2d820c['bundleVersion'],_0x2d820c['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x3b1693,_0x43cde2){if(!_0x3b1693?.['length']||!_0x43cde2?.['length'])return[];const _0x2a4366=[];let _0x1835e7=0x0;for(const _0x2e5c10 of _0x3b1693)if(0x0!==_0x2e5c10){if(!_0x43cde2[_0x1835e7])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x2a4366['push'](_0x43cde2[_0x1835e7]),_0x1835e7++;}else _0x2a4366['push'](_0x2a4366[_0x2a4366['length']-0x1]);return _0x2a4366;}static['removeUnnecessaryMetadata'](_0x721c50,_0x9e2eb5){if(!_0x721c50?.['length']||!_0x9e2eb5?.['length'])return[];const _0x1a62ad=[];for(let _0x3335c1=0x0;_0x3335c1<_0x721c50['length'];_0x3335c1++)if(0x0!==_0x721c50[_0x3335c1]){if(!_0x9e2eb5[_0x3335c1])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x1a62ad['push'](_0x9e2eb5[_0x3335c1]);}return _0x1a62ad;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x9affd4,..._0xab654f}){const _0xe9d842={..._0xab654f};return _0x9affd4?.['toISOString']&&(_0xe9d842['createdAt']=_0x9affd4['toISOString']()),_0xe9d842;}static['fromJSON']({createdAt:_0x4440e8,..._0x44ce90}){const _0x51e1e5={..._0x44ce90};return _0x4440e8&&(_0x51e1e5['createdAt']=new Date(_0x4440e8)),_0x51e1e5;}}class CollaborativeEditingUpdateMessage extends _0x12f277{['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(_0x59c88d,_0x832657,_0x4e5c37,_0x21ffae,_0x52c800=[],_0x70922b=''){super(),this['id']=_0x59c88d,this['buffers']=_0x832657,this['types']=_0x4e5c37,this['baseVersion']=_0x21ffae,this['metadata']=_0x52c800,this['lastOperationId']=_0x70922b;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x238240){return new CollaborativeEditingUpdateMessage(_0x238240['id'],_0x238240['buffers'],_0x238240['types'],_0x238240['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x238240['types'],_0x238240['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x238240['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x12f277{['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(_0x4c7ef7,_0x145a10,_0x3f016f){super(),this['id']=_0x4c7ef7,this['lastKnowVersion']=_0x145a10,this['bundleVersion']=_0x3f016f;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x25393d){return new CollaborativeEditingReconnectMessage(_0x25393d['id'],_0x25393d['lastKnowVersion'],_0x25393d['bundleVersion']);}}class CollaborativeEditingResponse extends _0x12f277{['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(_0x3353e0,_0x1598b7=[],_0x5bc54d=[],_0x5178fe=[],_0x1a31e5='',_0x4801be=null){super(),this['version']=_0x3353e0,this['buffers']=_0x1598b7,this['types']=_0x5bc54d,this['metadata']=_0x5178fe,this['lastOperationId']=_0x1a31e5,this['lastOperationAcceptedAt']=_0x4801be;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x1f8d50){return new CollaborativeEditingResponse(_0x1f8d50['version'],_0x1f8d50['buffers'],_0x1f8d50['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x1f8d50['types'],_0x1f8d50['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x1f8d50['lastOperationId'],_0x1f8d50['lastOperationAcceptedAt']?new Date(_0x1f8d50['lastOperationAcceptedAt']):null);}static['create'](_0x15ea80){return new CollaborativeEditingResponse(_0x15ea80['version'],_0x15ea80['buffers'],_0x15ea80['types'],_0x15ea80['metadata'],_0x15ea80['lastOperationId'],_0x15ea80['lastOperationAcceptedAt']?new Date(_0x15ea80['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x12f277{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x26f53c,_0x57a00c,_0x4e3734=[],_0x4f16a8=[],_0x43d0f8=0x0,_0x3792ff=[],_0x55fe33=null,_0x3f8836='',_0x2d103b='',_0x4329be=null){super(),this['channel']=_0x26f53c,this['version']=_0x57a00c,this['buffers']=_0x4e3734,this['types']=_0x4f16a8,this['offset']=_0x43d0f8,this['metadata']=_0x3792ff,this['initData']=_0x55fe33,this['sessionId']=_0x3f8836,this['lastOperationId']=_0x2d103b,this['sessionCreatedAt']=_0x4329be;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x39991a){return new CollaborativeEditingConnectResponse(_0x39991a['channel'],_0x39991a['version'],_0x39991a['buffers'],_0x39991a['types'],_0x39991a['offset'],_0x39991a['metadata'],_0x39991a['initData'],_0x39991a['sessionId'],_0x39991a['lastOperationId'],_0x39991a['sessionCreatedAt']);}static['fromJSON'](_0x533cd1){let _0x25a9bf=null;return!0x0===_0x533cd1['isInitialized']?_0x25a9bf=_0x533cd1['initData']??'':'boolean'!=typeof _0x533cd1['isInitialized']&&_0x533cd1['initData']&&(_0x25a9bf=_0x533cd1['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x533cd1['channel'],'version':_0x533cd1['version'],'buffers':_0x533cd1['buffers'],'types':_0x533cd1['types'],'offset':_0x533cd1['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x533cd1['types'],_0x533cd1['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x25a9bf,'sessionId':_0x533cd1['sessionId'],'lastOperationId':_0x533cd1['lastOperationId'],'sessionCreatedAt':_0x533cd1['sessionCreatedAt']?new Date(_0x533cd1['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x12f277{['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(_0x4ff383,_0x42d796){super(),this['lastDocumentSession']=_0x4ff383,this['currentDocumentSession']=_0x42d796;}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'](_0x465739){const _0x27b0fa=_0x465739['lastDocumentSessionId']?{'id':_0x465739['lastDocumentSessionId'],'lastOperationId':_0x465739['lastDocumentSessionOperationId']}:void 0x0,_0x404e38=_0x465739['currentDocumentSessionId']?{'lastOperationId':_0x465739['currentDocumentSessionOperationId'],'version':_0x465739['currentDocumentSessionVersion'],'id':_0x465739['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x27b0fa,_0x404e38);}}class GetDocumentDetailsMessage extends _0x12f277{['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(_0x8f9224){super(),this['documentId']=_0x8f9224;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2059d4){return new GetDocumentDetailsMessage(_0x2059d4['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x4fa0e6,_0x249e28){if(super(),!_0x4fa0e6)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x249e28??_0x315faa(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x4fa0e6;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x4be691,_0x40116f={'buffers':[],'types':[]},_0x52c9a6){const _0x318913=new CollaborativeEditingConnectMessage(this['getId'](),_0x40116f['buffers'],_0x40116f['types'],this['_bundleVersion'],_0x52c9a6);return this['_connect'](_0x4be691,_0x318913);}['reconnect'](_0x4835c7,_0x4c29fe){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x4835c7);return this['_connect'](_0x4835c7,new CollaborativeEditingReconnectMessage(this['getId'](),_0x4c29fe,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 _0x47db8e=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x26f7a7=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x27e2b5['encode'](_0x47db8e));return _0x27e2b5['decode'](_0x26f7a7,GetDocumentDetailsResponse);}async['sendOperations'](_0x3a91ab,_0x12c9aa,_0x52c433){if(!_0x3a91ab?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x3a01a2='number'==typeof _0x12c9aa?_0x12c9aa:parseInt(_0x12c9aa);if(!Number['isInteger'](_0x3a01a2)||_0x3a01a2<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x49754b=new CollaborativeEditingUpdateMessage(this['getId'](),_0x3a91ab['buffers'],_0x3a91ab['types'],_0x3a01a2,[],_0x52c433);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x512179=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x27e2b5['encode'](_0x49754b));return _0x27e2b5['decode'](_0x512179,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4fed44['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x1f6de3,_0x53d214){return _0x4fed44['getConnectedSessions'](_0x1f6de3,_0x53d214,0x1);}async['_connect'](_0x115b11,_0x4d8e4b){if(this['isConnected']())return;if(_0x115b11['state']!==_0x52dc51['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x115b11);this['_wsGateway']=_0x115b11,this['stopListening'](_0x115b11,'change:state');const _0x32af4d=await _0x115b11['_sendRequest'](0x1,_0x4d8e4b['constructor']['TYPE'],_0x27e2b5['encode'](_0x4d8e4b)),_0xa06aaf=_0x27e2b5['decode'](_0x32af4d,CollaborativeEditingConnectResponse);return this['listenTo'](_0x115b11,'change:state',(_0x211194,_0x55b92d,_0xbb5562)=>this['_onWsGatewayStateChange'](_0xbb5562),{'priority':_0x52dc51['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x115b11,_0xa06aaf['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0xa06aaf;}['_connectToChannel'](_0x1c57c2,_0x4e4cb2){this['_channel']=_0x1c57c2['_getChannel'](0x1,_0x4e4cb2),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x91c92d,_0x21d0e9)=>{const _0x67d4e6=_0x27e2b5['decode'](_0x21d0e9,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x67d4e6['baseVersion'],_0x67d4e6['data'],_0x67d4e6['metadata']);});}['_onWsGatewayStateChange'](_0x4aaef6){_0x4aaef6===_0x52dc51['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](_0xbd88e6){return{..._0xbd88e6,'createdAt':_0xbd88e6['createdAt']?.['toISOString'](),'attributes':_0xbd88e6['attributes']?JSON['stringify'](_0xbd88e6['attributes']):null};}static['fromJSON'](_0x5f5980){return{..._0x5f5980,'createdAt':new Date(_0x5f5980['createdAt']),'attributes':_0x5f5980['attributes']?JSON['parse'](_0x5f5980['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](_0x3ec0ac){return{..._0x3ec0ac,'createdAt':_0x3ec0ac['createdAt']?.['toISOString'](),'deletedAt':_0x3ec0ac['deletedAt']?.['toISOString'](),'resolvedAt':_0x3ec0ac['resolvedAt']?.['toISOString'](),'attributes':_0x3ec0ac['attributes']?JSON['stringify'](_0x3ec0ac['attributes']):null,'context':_0x3ec0ac['context']?JSON['stringify'](_0x3ec0ac['context']):_0x3ec0ac['context'],'comments':_0x3ec0ac['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x3ec0ac['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x40a807){return{..._0x40a807,'createdAt':_0x40a807['createdAt']?new Date(_0x40a807['createdAt']):void 0x0,'deletedAt':_0x40a807['deletedAt']?new Date(_0x40a807['deletedAt']):void 0x0,'resolvedAt':_0x40a807['resolvedAt']?new Date(_0x40a807['resolvedAt']):void 0x0,'attributes':_0x40a807['attributes']?JSON['parse'](_0x40a807['attributes']):null,'context':_0x40a807['context']?JSON['parse'](_0x40a807['context']):void 0x0,'comments':_0x40a807['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x40a807['unlinkedAt']?new Date(_0x40a807['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x12f277{['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(_0x3fc80f,_0x14d753,_0xc6114,_0x467bc3='',_0x127d4d,_0x398666='',_0xa97e0d=null,_0x511cf6){super(),this['documentId']=_0x3fc80f,this['commentThreadId']=_0x14d753,this['content']=_0xc6114,this['commentId']=_0x467bc3,this['userId']=_0x398666,this['attributes']=_0xa97e0d,this['commentThread']=_0x511cf6,this['createdAt']=_0x127d4d?new Date(_0x127d4d):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x36c0b1){return new AddCommentMessage(_0x36c0b1['documentId'],_0x36c0b1['commentThreadId'],_0x36c0b1['content'],_0x36c0b1['commentId']?_0x36c0b1['commentId']:void 0x0,_0x36c0b1['createdAt']?new Date(_0x36c0b1['createdAt']):void 0x0,_0x36c0b1['userId']?_0x36c0b1['userId']:void 0x0,_0x36c0b1['attributes']?JSON['parse'](_0x36c0b1['attributes']):{},_0x36c0b1['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x36c0b1['commentThread']):void 0x0);}}class AddCommentResponse extends _0x12f277{['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(_0x47e8b1,_0x2ade73,_0x5df714){super(),this['commentThreadId']=_0x47e8b1,this['commentId']=_0x2ade73,this['createdAt']=new Date(_0x5df714);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x321f96){return new AddCommentResponse(_0x321f96['commentThreadId'],_0x321f96['commentId'],_0x321f96['createdAt']);}}class ConnectMessage extends _0x12f277{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3e9b6e){super(),this['documentId']=_0x3e9b6e;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x9ca975){return new ConnectMessage(_0x9ca975['documentId']);}}class ConnectResponse extends _0x12f277{['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(_0x4e8009,_0x1728b8,_0x340b86){super(),this['channel']=_0x4e8009,this['_threads']=_0x1728b8,this['_threadsV2']=_0x340b86,this['threads']=_0x340b86?.['length']?_0x340b86:_0x1728b8;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0xa6fcce=>JSON['stringify'](_0xa6fcce)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x216b68){return new ConnectResponse(_0x216b68['channel'],_0x216b68['threads']?.['map'](_0x203842=>JSON['parse'](_0x203842)),_0x216b68['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x12f277{['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(_0x3ad089,_0x24d848,_0x1571b8){super(),this['documentId']=_0x3ad089,this['commentThreadId']=_0x24d848,this['commentId']=_0x1571b8;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x5e5daf){return new RemoveCommentMessage(_0x5e5daf['documentId'],_0x5e5daf['commentThreadId'],_0x5e5daf['commentId']);}}class RemoveCommentThreadMessage extends _0x12f277{['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(_0x3baa53,_0x3d29b7){super(),this['documentId']=_0x3baa53,this['commentThreadId']=_0x3d29b7;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x1388b8){return new RemoveCommentThreadMessage(_0x1388b8['documentId'],_0x1388b8['commentThreadId']);}}class UpdateCommentMessage extends _0x12f277{['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(_0x3afa0f,_0xecca64,_0x4caec1,_0x4dcf3a,_0x309071=null,_0x7a4026=!0x1,_0xabbb74){super(),this['documentId']=_0x3afa0f,this['commentThreadId']=_0xecca64,this['commentId']=_0x4caec1,this['content']=_0x4dcf3a,this['attributes']=_0x309071,this['isAttributesUpdated']=_0x7a4026,this['commentThread']=_0xabbb74;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x338ccb){return new UpdateCommentMessage(_0x338ccb['documentId'],_0x338ccb['commentThreadId'],_0x338ccb['commentId'],_0x338ccb['content'],_0x338ccb['attributes']?JSON['parse'](_0x338ccb['attributes']):null,_0x338ccb['isAttributesUpdated'],_0x338ccb['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x338ccb['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x12f277{['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(_0x11383d,_0x1525a5){super(),this['commentThreadId']=_0x11383d,this['documentId']=_0x1525a5;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0xce6502){return new GetCommentThreadMessage(_0xce6502['commentThreadId'],_0xce6502['documentId']);}}class GetCommentThreadResponse extends _0x12f277{['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(_0x543c6e,_0x540b40,_0x336ba6,_0x3c2a12,_0x388027,_0xb89415,_0x3f5e90,_0x418194,_0x1866cc,_0x19d4d6){super(),this['commentThreadId']=_0x543c6e,this['_comments']=_0x540b40,this['_commentsV2']=_0x336ba6,this['resolvedBy']=_0x388027,this['comments']=_0x336ba6?.['length']?_0x336ba6:_0x540b40,this['createdAt']=_0x3f5e90?new Date(_0x3f5e90):void 0x0,this['deletedAt']='string'==typeof _0x418194?new Date(_0x418194):_0x418194,this['resolvedAt']='string'==typeof _0x1866cc?new Date(_0x1866cc):_0x1866cc,this['unlinkedAt']='string'==typeof _0x19d4d6?new Date(_0x19d4d6):_0x19d4d6,this['attributes']='string'==typeof _0x3c2a12?JSON['parse'](_0x3c2a12):_0x3c2a12,this['context']='string'==typeof _0xb89415?JSON['parse'](_0xb89415):_0xb89415;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x34c468=>JSON['stringify'](_0x34c468)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x224fbc){return new GetCommentThreadResponse(_0x224fbc['commentThreadId'],_0x224fbc['comments']?.['map'](_0x12ae29=>function(_0x560de8){const _0x1b4916=JSON['parse'](_0x560de8);return{..._0x1b4916,'createdAt':new Date(_0x1b4916['createdAt'])};}(_0x12ae29)),_0x224fbc['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x224fbc['attributes']?JSON['parse'](_0x224fbc['attributes']):_0x224fbc['attributes'],_0x224fbc['resolvedBy'],_0x224fbc['context']?JSON['parse'](_0x224fbc['context']):_0x224fbc['context'],_0x224fbc['createdAt'],_0x224fbc['deletedAt'],_0x224fbc['resolvedAt'],_0x224fbc['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x12f277{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2682bb){super(),this['documentId']=_0x2682bb;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x274475){return new GetDocumentThreadsMessage(_0x274475['documentId']);}}class GetDocumentThreadsResponse extends _0x12f277{['_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(_0x337365,_0x47e150){super(),this['_threads']=_0x337365,this['_threadsV2']=_0x47e150,this['threads']=_0x47e150?.['length']?_0x47e150:_0x337365;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x217ffc=>JSON['stringify'](_0x217ffc)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x532e4f){return new GetDocumentThreadsResponse(_0x532e4f['threads']?.['map'](_0x203d13=>function(_0x2e3408){const _0x3ae26f=JSON['parse'](_0x2e3408),_0x5ce4a5={..._0x3ae26f};return _0x3ae26f['comments']&&(_0x5ce4a5['comments']=_0x3ae26f['comments']?.['map'](_0x2cf849=>({..._0x2cf849,'createdAt':new Date(_0x2cf849['createdAt'])}))),_0x5ce4a5;}(_0x203d13)),_0x532e4f['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x133df2){return{'commentId':_0x133df2['commentId'],'createdAt':_0x133df2['createdAt']?.['toISOString']()};}static['fromJSON'](_0x4e97b8){return{'commentId':_0x4e97b8['commentId'],'createdAt':new Date(_0x4e97b8['createdAt'])};}}class AddCommentThreadResponse extends _0x12f277{['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(_0x590f9c,_0x5597ab,_0x594cd4=[]){super(),this['commentThreadId']=_0x590f9c,this['comments']=_0x594cd4,this['createdAt']=new Date(_0x5597ab);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x2ac534=>CommentThreadAddedCommentDescriptor['toJSON'](_0x2ac534))};}static['fromJSON'](_0x5d4a42){return new AddCommentThreadResponse(_0x5d4a42['commentThreadId'],_0x5d4a42['createdAt'],_0x5d4a42['comments']['map'](_0x1eab9d=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x1eab9d)));}}class AddCommentThreadMessage extends _0x12f277{['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(_0x157980,_0xec0abe,_0x1bdeb0=[],_0x48c2f8,_0x516cec=null,_0x4cc75e=null,_0x3c3a38=null,_0xc4a71f=null,_0x3be700=null){super(),this['documentId']=_0x157980,this['commentThreadId']=_0xec0abe,this['comments']=_0x1bdeb0,this['context']=_0x48c2f8,this['resolvedBy']=_0x516cec,this['attributes']=_0x3be700,this['createdAt']=_0x4cc75e?new Date(_0x4cc75e):'',this['resolvedAt']=_0x3c3a38?new Date(_0x3c3a38):'',this['deletedAt']=_0xc4a71f?new Date(_0xc4a71f):'';}['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'](_0x1456eb=>CommentDescriptor['toJSON'](_0x1456eb))};}static['fromJSON'](_0x5ec163){return new AddCommentThreadMessage(_0x5ec163['documentId'],_0x5ec163['commentThreadId'],_0x5ec163['comments']?.['map'](_0x282be1=>CommentDescriptor['fromJSON']({..._0x282be1,'documentId':_0x5ec163['documentId'],'commentThreadId':_0x5ec163['commentThreadId']})),_0x5ec163['context']?JSON['parse'](_0x5ec163['context']):_0x5ec163['context'],_0x5ec163['resolvedBy'],_0x5ec163['createdAt']?new Date(_0x5ec163['createdAt']):void 0x0,_0x5ec163['resolvedAt']?new Date(_0x5ec163['resolvedAt']):void 0x0,_0x5ec163['deletedAt']?new Date(_0x5ec163['deletedAt']):void 0x0,_0x5ec163['attributes']?JSON['parse'](_0x5ec163['attributes']):_0x5ec163['attributes']);}}class ResolveCommentThreadMessage extends _0x12f277{['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(_0x2a0c16,_0x54f2ab,_0x359aeb,_0x5cdb62){super(),this['commentThreadId']=_0x2a0c16,this['documentId']=_0x54f2ab,this['resolvedBy']=_0x359aeb,this['resolvedAt']=_0x5cdb62?new Date(_0x5cdb62):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0xd1f73c){return new ResolveCommentThreadMessage(_0xd1f73c['commentThreadId'],_0xd1f73c['documentId'],_0xd1f73c['resolvedBy'],_0xd1f73c['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x12f277{['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(_0x24b37d,_0x497099){super(),this['commentThreadId']=_0x24b37d,this['documentId']=_0x497099;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x47c9eb){return new ReopenCommentThreadMessage(_0x47c9eb['commentThreadId'],_0x47c9eb['documentId']);}}class UpdateCommentThreadMessage extends _0x12f277{['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(_0x334b2a,_0x25bca9,_0x235a73,_0x18151d=null,_0x312edb=null){super(),this['commentThreadId']=_0x334b2a,this['documentId']=_0x25bca9,this['context']=_0x235a73,this['attributes']=_0x18151d,this['unlinkedAt']=_0x312edb?new Date(_0x312edb):'';}['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'](_0x55e2aa){return new UpdateCommentThreadMessage(_0x55e2aa['commentThreadId'],_0x55e2aa['documentId'],_0x55e2aa['context']?JSON['parse'](_0x55e2aa['context']):_0x55e2aa['context'],_0x55e2aa['attributes']?JSON['parse'](_0x55e2aa['attributes']):null,_0x55e2aa['unlinkedAt']?new Date(_0x55e2aa['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x12f277{['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(_0x2d80d7,_0x4c818f,_0x36a156,_0x1658bd){super(),this['commentThreadId']=_0x2d80d7,this['documentId']=_0x4c818f,this['resolvedBy']=_0x36a156,this['resolvedAt']=new Date(_0x1658bd);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x41e309){return new ResolveCommentThreadResponse(_0x41e309['commentThreadId'],_0x41e309['documentId'],_0x41e309['resolvedBy'],_0x41e309['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0xa0ed63['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x256b46){super(),this['_documentId']=_0x256b46;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x448660){if(this['_isConnected'])return;if(_0x448660['state']!==_0x3a8f9e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x448660);const _0x9ffe07=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x448660,this['stopListening'](_0x448660,'change:state');const _0x232a1e=await _0x448660['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x27e2b5['encode'](_0x9ffe07)),{channel:_0x5bfc36,threads:_0x169e87}=_0x27e2b5['decode'](_0x232a1e,ConnectResponse);return this['listenTo'](_0x448660,'change:state',(_0x369c5c,_0x437f67,_0x2f1063)=>this['_onWsGatewayStateChange'](_0x2f1063),{'priority':_0x52dc51['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x448660,_0x5bfc36),this['_isConnected']=!0x0,this['fire']('connected'),_0x169e87;}['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'](_0x3d6982,_0x52c66e,_0x1efe2e,_0x3b09c4){const _0x1a7fa2=new AddCommentMessage(this['_documentId'],_0x3d6982,_0x1efe2e,_0x52c66e,void 0x0,void 0x0,_0x3b09c4),_0x397d17=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x1a7fa2);return _0x27e2b5['decode'](_0x397d17,AddCommentResponse);}async['updateComment'](_0x4eb5fa,_0x584663,_0x3264b0,_0x321e59){const _0x130253=void 0x0!==_0x321e59,_0x4d6340=new UpdateCommentMessage(this['_documentId'],_0x4eb5fa,_0x584663,_0x3264b0,_0x321e59,_0x130253);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x4d6340);}async['removeComment'](_0x58338a,_0x2c34a6){const _0x20681b=new RemoveCommentMessage(this['_documentId'],_0x58338a,_0x2c34a6);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x20681b);}async['removeCommentThread'](_0x123637){const _0xaa0901=new RemoveCommentThreadMessage(this['_documentId'],_0x123637);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0xaa0901);}async['addCommentThread'](_0x35ad27){const _0x5255f7=new AddCommentThreadMessage(this['_documentId'],_0x35ad27['commentThreadId'],_0x35ad27['comments']?.['map'](_0x48a526=>({..._0x48a526,'documentId':this['_documentId'],'commentThreadId':_0x35ad27['commentThreadId']})),_0x35ad27['context'],_0x35ad27['resolvedBy'],_0x35ad27['createdAt'],_0x35ad27['resolvedAt'],_0x35ad27['deletedAt'],_0x35ad27['attributes']),_0xc5bebe=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x5255f7);return _0x27e2b5['decode'](_0xc5bebe,AddCommentThreadResponse);}async['resolveCommentThread'](_0x1fcca4){const _0x57d90f=new ResolveCommentThreadMessage(_0x1fcca4,this['_documentId']),_0x5a4e8e=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x57d90f);return _0x27e2b5['decode'](_0x5a4e8e,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x3befdf){const _0x39e8e8=new ReopenCommentThreadMessage(_0x3befdf,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x39e8e8);}async['updateCommentThread'](_0x326ec6){const _0xd3becd=new UpdateCommentThreadMessage(_0x326ec6['commentThreadId'],this['_documentId'],_0x326ec6['context'],_0x326ec6['attributes'],_0x326ec6['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0xd3becd);}async['getCommentThread'](_0x328827,_0x314c5f=0x1){const _0xf00a80=new GetCommentThreadMessage(_0x328827,this['_documentId']);try{const _0x2db2d4=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0xf00a80),_0x8d3f1e=_0x27e2b5['decode'](_0x2db2d4,GetCommentThreadResponse);return{'commentThreadId':_0x8d3f1e['commentThreadId'],'comments':_0x8d3f1e['comments'],'attributes':_0x8d3f1e['attributes'],'context':_0x8d3f1e['context'],'resolvedAt':_0x8d3f1e['resolvedAt'],'resolvedBy':_0x8d3f1e['resolvedBy'],'deletedAt':_0x8d3f1e['deletedAt'],'unlinkedAt':_0x8d3f1e['unlinkedAt']};}catch(_0x3587ae){if('CKEditorCloudServicesServerError'===_0x3587ae['name']&&'404'===_0x3587ae['code']&&_0x314c5f<0x5)return await(_0x372150=0x64*_0x314c5f,new Promise(_0x578b8c=>{setTimeout(_0x578b8c,_0x372150);})),this['getCommentThread'](_0x328827,_0x314c5f+0x1);if('CKEditorCloudServicesServerError'===_0x3587ae['name'])throw _0x3587ae;throw CKEditorCloudServicesServerError['fromPublicError'](_0x3587ae);}var _0x372150;}async['getDocumentThreads'](){const _0x4bdea0=new GetDocumentThreadsMessage(this['_documentId']),_0x55b486=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x4bdea0),{threads:_0x1c00ca}=_0x27e2b5['decode'](_0x55b486,GetDocumentThreadsResponse);return{'threads':_0x1c00ca};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x4fed44['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x4613a3,_0x134f87){this['_channel']=_0x4613a3['_getChannel'](CommentsService['_SERVICE'],_0x134f87),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x15f305,_0x3020a4)=>{const _0x1fe904=_0x27e2b5['decode'](_0x3020a4,AddCommentMessage);this['fire']('commentAdded',_0x1fe904);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x218b45,_0x45d82d)=>{const _0x3808c9=_0x27e2b5['decode'](_0x45d82d,RemoveCommentMessage);this['fire']('commentRemoved',_0x3808c9);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x1389fd,_0xa552a3)=>{const _0x18a7b8=_0x27e2b5['decode'](_0xa552a3,UpdateCommentMessage);this['fire']('commentUpdated',_0x18a7b8);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x28c483,_0xd9ce5a)=>{const _0x587e45=_0x27e2b5['decode'](_0xd9ce5a,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x587e45);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x276adb,_0x150100)=>{const _0x412393=_0x27e2b5['decode'](_0x150100,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x412393);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0xbe5610,_0xff1439)=>{const _0xeef4c5=_0x27e2b5['decode'](_0xff1439,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0xeef4c5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x25d51b,_0x369a35)=>{const _0x15e13f=_0x27e2b5['decode'](_0x369a35,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x15e13f);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0xb968b5,_0x22ea6e)=>{const _0x498b82=_0x27e2b5['decode'](_0x22ea6e,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x498b82);}));}['_onWsGatewayStateChange'](_0x1f8338){_0x1f8338===_0x45459c&&this['disconnect']();}['_sendRequest'](_0x3c1fe3,_0x51634d){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x3c1fe3,_0x27e2b5['encode'](_0x51634d));}}class WebSocketGateway extends _0xa0ed63['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>_0x52dc51)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',_0xa0ed63['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xadfb3b){super(_0xadfb3b),this['set']('state',_0x3a8f9e),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0xa0ed63['DomEmitterMixin']())();}['init'](){const _0x566ba0=this['context'],_0x4cd866=_0x566ba0['plugins']['get']('CloudServices'),_0x3b98a5=_0x566ba0['plugins']['get'](_0xa0ed63['Notification']);if(!_0x4cd866['token'])throw new _0xa0ed63['CKEditorError']('websocketgateway-missing-token',this);if(!_0x4cd866['webSocketUrl'])throw new _0xa0ed63['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'](_0x4cd866['token'],_0x4cd866['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x351c58=>{if(this['connection']=_0x351c58,this['bind']('state')['to'](_0x351c58,'state',this,'_isBrowserOffline',(_0xda8598,_0x431739)=>('connected'!==_0xda8598&&(this['_shouldPluginsReconnect']=!0x0),_0x431739||_0xda8598!==_0x3a8f9e?_0x45459c:this['state']==_0x45459c&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x115574):_0x3a8f9e)),this['connection']['on']('error',(_0x545310,_0x1a7121)=>{if('limitExceeded'!==_0x1a7121['code'])throw console['error'](_0x1a7121),new _0xa0ed63['CKEditorError']('cloudservices-init',null,{'originalError':_0x1a7121});_0x3b98a5['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'});}),!_0x351c58['me'])return new Promise(_0x425ec9=>_0x351c58['on']('change:me',_0x425ec9));})['catch'](_0x17a061=>{throw console['error'](_0x17a061),new _0xa0ed63['CKEditorError']('cloudservices-init',null,{'originalError':_0x17a061});});}['addToReconnectionStack'](_0x2fb8a0){if('function'!=typeof _0x2fb8a0['reconnect'])throw new _0xa0ed63['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x2fb8a0))throw new _0xa0ed63['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x2fb8a0['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x2fb8a0);}['removeFromReconnectionStack'](_0x58686f){this['_reconnectionStack']['delete'](_0x58686f);}['isInReconnectionStack'](_0x3f3022){return this['_reconnectionStack']['has'](_0x3f3022);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x3a26f7=>_0x3a26f7['reconnect']())))['then'](()=>this['state']=_0x3a8f9e)['catch'](_0x1b8e84=>{throw console['error'](_0x1b8e84),new _0xa0ed63['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x45459c,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x3a6531 extends _0xa0ed63['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[WebSocketGateway,_0x16ef47];}constructor(_0x1b8b1b){super(_0x1b8b1b),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0xa0ed63['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x16ef47);}['init'](){const _0x143313=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x143313,'change:state',(_0x801ce6,_0x18b6e9,_0x4fd0d8)=>{if('connected'!==_0x4fd0d8)this['channelSessions']['forEach'](_0xde8e61=>_0xde8e61['clear']()),this['channelConnectedUsers']['forEach'](_0x431aac=>_0x431aac['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x5417ed,_0x4a6c7e]of this['_registeredSessions'])for(const _0x5b10b3 of _0x4a6c7e)this['_handleSessionAdd'](_0x5417ed,_0x5b10b3);}}),this['_createUser'](_0x143313['connection']['me'],!0x0);}['register'](_0x23093e,_0x36c662){if(this['_registeredSessions']['has'](_0x23093e))throw new _0xa0ed63['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x23093e});this['_registeredSessions']['set'](_0x23093e,_0x36c662),this['channelSessions']['set'](_0x23093e,new _0xa0ed63['Collection']()),this['channelConnectedUsers']['set'](_0x23093e,new _0xa0ed63['Collection']()),this['listenTo'](_0x36c662,'add',(_0x5c9089,_0x420cb2)=>this['_handleSessionAdd'](_0x23093e,_0x420cb2)),this['listenTo'](_0x36c662,'remove',(_0x5d115d,_0x5c6eb2)=>this['_handleSessionRemove'](_0x23093e,_0x5c6eb2));for(const _0x4ce518 of _0x36c662)this['_handleSessionAdd'](_0x23093e,_0x4ce518);}['unregister'](_0x2a47e3){if(!this['_registeredSessions']['has'](_0x2a47e3))throw new _0xa0ed63['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x2a47e3});const _0x4d15f2=this['_registeredSessions']['get'](_0x2a47e3);this['stopListening'](_0x4d15f2);for(const _0x172bd5 of _0x4d15f2)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x2a47e3,_0x172bd5);this['_registeredSessions']['delete'](_0x2a47e3),this['channelSessions']['delete'](_0x2a47e3),this['channelConnectedUsers']['delete'](_0x2a47e3);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x53599a){for(const _0x2d14fe of this['channelSessions']['values']())for(const _0x16188e of _0x2d14fe)if(_0x16188e['id']===_0x53599a)return _0x16188e['user'];}['getUserSessions'](_0x35cca8,_0x1aaad6){const _0x5883c1=_0x1aaad6?[this['channelSessions']['get'](_0x1aaad6)]:this['channelSessions']['values'](),_0x3e4854=new Set();for(const _0xbdeb8f of _0x5883c1)for(const _0x20e027 of _0xbdeb8f)_0x20e027['user']['id']===_0x35cca8['id']&&_0x3e4854['add'](_0x20e027['id']);return _0x3e4854;}['getUserRole'](_0x27ff58){for(const _0x11d639 of this['channelSessions']['values']())for(const _0x245dee of _0x11d639)if(_0x245dee['user']===_0x27ff58)return _0x245dee['role'];}['_handleSessionAdd'](_0x4e9212,_0x522ef0){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x3a20db=_0x522ef0['user'],_0x41fb2b=this['_users']['getUser'](_0x3a20db['id'])||this['_createUser'](_0x3a20db),_0x25a37f=Object['assign']({},_0x522ef0,{'user':_0x41fb2b});if(this['channelSessions']['get'](_0x4e9212)['add'](_0x25a37f),!_0x3a20db['hiddenInPresenceList']){const _0x14b90d=this['channelConnectedUsers']['get'](_0x4e9212);_0x14b90d['has'](_0x41fb2b['id'])||_0x14b90d['add'](_0x41fb2b),this['allConnectedUsers']['has'](_0x41fb2b['id'])||_0x3a20db['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x41fb2b,_0x41fb2b['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x4e9212,{'channelId':_0x4e9212,'session':_0x25a37f});}['_handleSessionRemove'](_0x338258,_0x192290){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x152441=this['channelConnectedUsers']['get'](_0x338258),_0x55c2b6=_0x192290['user'];_0x55c2b6['id']&&(this['channelSessions']['get'](_0x338258)['remove'](_0x192290['id']),_0x152441['has'](_0x55c2b6['id'])&&!this['getUserSessions'](_0x55c2b6,_0x338258)['size']&&_0x152441['remove'](_0x55c2b6['id']),this['allConnectedUsers']['get'](_0x55c2b6['id'])&&!this['getUserSessions'](_0x55c2b6)['size']&&this['allConnectedUsers']['remove'](_0x55c2b6['id']));}['_createUser'](_0x268609,_0x15e32a){const _0x16f7f8=this['_users']['addUser'](_0x268609);return _0x15e32a&&this['_users']['defineMe'](_0x268609['id']),_0x16f7f8['orderNumber']=this['_uniqueUsersCount']++,_0x16f7f8;}}class _0x4258ec extends _0xa0ed63['Plugin']{['_domEmitter']=new(_0xa0ed63['DomEmitterMixin']())();static get['requires'](){return[_0x3a6531];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5359b5=this['editor'],_0x2fd180=_0x5359b5['plugins']['get'](_0x3a6531);_0x5359b5['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x138a90,{writer:_0x40998b})=>function(_0x4cd9c8,_0x356ae4,_0x4bf852,_0x5c1dbd){const _0x2e634e=_0x4cd9c8['markerName']['split'](':')[0x2],_0xe936e8=_0x4bf852['getUserBySessionId'](_0x2e634e);if(!_0xe936e8||_0x2e634e===_0x4bf852['mySessionId'])return;if(!_0x5c1dbd['model']['schema']['checkChild'](_0x4cd9c8['markerRange']['start'],'$text'))return;const _0x36c301={'class':'ck-user__marker\x20'+_0xe936e8['color']['getMarkerClass'](),'data-name':_0xe936e8['name'],'data-session-id':_0x2e634e},_0x30fdf2=_0x5c1dbd['model']['markers']['get'](_0x4cd9c8['markerName']),_0xbe9e5=_0x30fdf2['getStart'](),_0xec6dee=_0xbe9e5['nodeAfter'],_0x4a1ea0=_0x5c1dbd['model']['schema'];if(_0xec6dee&&_0x4a1ea0['isObject'](_0xec6dee)&&_0x4a1ea0['isInline'](_0xec6dee)&&!_0x5c1dbd['model']['markers']['get']('user:range:'+_0x2e634e)['getRange']()['isCollapsed'])return;const _0x26c2a1=_0xbe9e5['parent'];return _0x5c1dbd['model']['schema']['isLimit'](_0x26c2a1)&&!_0x5c1dbd['model']['hasContent'](_0x26c2a1)&&(_0x36c301['contenteditable']=!0x1),function(_0x3250e5,_0x13435d,_0x2f279f){const _0x4eaa04=_0x3250e5['createUIElement']('span',_0x13435d);return _0x3250e5['setCustomProperty']('userPositionMarker',!0x0,_0x4eaa04),_0x4eaa04['render']=function(_0x1869f6){const _0x477dec=this['toDomElement'](_0x1869f6),_0x3ddadb=document['createElement']('span');return _0x3ddadb['classList']['add']('ck-user__marker-tooltip'),_0x3ddadb['setAttribute']('contenteditable','false'),_0x3ddadb['setAttribute']('spellcheck','false'),_0x3ddadb['textContent']=_0x2f279f['name'],_0x477dec['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x3ddadb['outerHTML']+'⁠',_0x477dec['addEventListener']('mouseenter',()=>{_0x477dec['classList']['add']('ck-user__marker_hovered');}),_0x477dec['addEventListener']('mouseleave',()=>{_0x477dec['classList']['remove']('ck-user__marker_hovered');}),_0x477dec;},_0x4eaa04['isSimilar']=function(_0x5a49f6){return!(!this['getCustomProperty']('userPositionMarker')||!_0x5a49f6['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x5a49f6['getAttribute']('data-session-id'));},_0x4eaa04;}(_0x356ae4,_0x36c301,_0xe936e8);}(_0x138a90,_0x40998b,_0x2fd180,_0x5359b5)}),_0x5359b5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x27c43=>function(_0x997143,_0x3c46a5){const _0xe4cf1b=_0x997143['markerName']['split'](':')[0x2];if(_0xe4cf1b===_0x3c46a5['mySessionId'])return null;const _0x21b110=_0x3c46a5['getUserBySessionId'](_0xe4cf1b);if(!_0x21b110)return{'id':_0xe4cf1b,'classes':[]};return{'id':_0xe4cf1b,'classes':['ck-user__selection',_0x21b110['color']['getSelectionClass']()],'attributes':{'data-session-id':_0xe4cf1b},'priority':0x7d0+_0x21b110['orderNumber']};}(_0x27c43,_0x2fd180)}),function(_0xb51ae3){const _0x1ce5de=_0xb51ae3['model'],_0x4f7417=new Map(),_0x1b2bb5=_0xb51ae3['plugins']['get'](_0x3a6531);_0x1ce5de['markers']['on']('update:user:range',(_0xa05c45,_0x5f3f07,_0x401ee9,_0x30f512)=>{if(!_0x30f512&&_0x4f7417['get'](_0x5f3f07['name']))return _0x4f7417['get'](_0x5f3f07['name'])['detach'](),void _0x4f7417['delete'](_0x5f3f07['name']);const _0x31b835=_0x5f3f07['name']['split'](':')[0x2];if(_0x31b835===_0x1b2bb5['mySessionId'])return;const _0x5c4e1a='user:position:'+_0x31b835;_0x1ce5de['markers']['has'](_0x5c4e1a)&&_0xb51ae3['editing']['reconvertMarker'](_0x5c4e1a),_0x5f3f07['on']('change:range',(_0x45dc9b,_0x4d790a,_0x12696c)=>{if('$graveyard'!=_0x4d790a['root']['rootName']&&'$graveyard'==_0x5f3f07['getRange']()['root']['rootName']&&!_0x4f7417['has'](_0x5f3f07['name'])){const _0x31b0ed=_0x1ce5de['schema']['getNearestSelectionRange'](_0x12696c['deletionPosition']);if(_0x31b0ed){const _0x39482b=_0xa0ed63['ModelLiveRange']['fromRange'](_0x31b0ed);_0x4f7417['set'](_0x5f3f07['name'],_0x39482b),_0x39482b['on']('change:range',(_0x1dab30,_0x572ebe,_0x25a053)=>{if('$graveyard'==_0x39482b['root']['rootName']){const _0x5a9669=_0x1ce5de['schema']['getNearestSelectionRange'](_0x25a053['deletionPosition']);_0x5a9669?(_0x39482b['start']=_0x5a9669['start'],_0x39482b['end']=_0x5a9669['end']):(_0x4f7417['delete'](_0x5f3f07['name']),_0x39482b['detach']());}});}}});}),_0x1ce5de['document']['on']('change',()=>{_0x4f7417['size']>0x0&&_0x1ce5de['enqueueChange']({'isUndoable':!0x1},_0x42157f=>{for(const [_0x408d07,_0xfca10d]of _0x4f7417)'$graveyard'==_0x1ce5de['markers']['get'](_0x408d07)['getRange']()['root']['rootName']&&(_0x380348(_0x408d07['split'](':')[0x2],_0xfca10d['toRange'](),_0x1ce5de,_0x42157f),_0xfca10d['detach']());_0x4f7417['clear']();});});}(_0x5359b5),this['_domEmitter']['listenTo'](_0xa0ed63['global']['document'],'keydown',(_0x5ea52a,{key:_0x25a53a})=>{'Escape'===_0x25a53a&&function(_0x582914){_0x582914['editing']['view']['change'](_0xd1dee1=>{for(const _0x3fc66b of _0x582914['model']['markers']){if(!_0x3fc66b['name']['startsWith']('user:position'))continue;const _0x293572=_0x582914['editing']['mapper']['markerNameToElements'](_0x3fc66b['name']);if(_0x293572){for(const _0x4f9b4c of _0x293572)_0xd1dee1['removeClass']('ck-user__marker_hovered',_0x4f9b4c);}}});}(_0x5359b5);},{'useCapture':!0x0});}['afterInit'](){const _0xcaf2d8=this['editor'],_0x1fe693=_0xcaf2d8['commands']['get']('undo');_0x1fe693&&_0xcaf2d8['model']['on']('applyOperation',(_0x56bae9,_0x150aac)=>{const _0x505b8b=_0x150aac[0x0];if(!_0x505b8b['isDocumentOperation'])return;if('marker'!=_0x505b8b['type']||!_0x505b8b['name']['startsWith']('user:'))return;const _0xdf99c7=_0x505b8b['batch'];_0x1fe693['_createdBatches']['has'](_0xdf99c7)&&(_0x505b8b['newRange']=_0x505b8b['oldRange']?_0xcaf2d8['model']['createRange'](_0x505b8b['oldRange']['start'],_0x505b8b['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x15f286=this['editor'],_0x567fd6=_0x15f286['model']['document'],_0xb3a23f=_0x15f286['plugins']['get'](_0x3a6531);_0x15f286['model']['enqueueChange']({'isUndoable':!0x1},_0x44338a=>{const _0x34e67a='user:range:'+_0xb3a23f['mySessionId'],_0x588959='user:position:'+_0xb3a23f['mySessionId'],_0x3c8b29=_0x15f286['model']['markers']['has'](_0x34e67a);_0x15f286['editing']['view']['hasDomSelection']?_0x380348(_0xb3a23f['mySessionId'],_0x567fd6['selection']['getFirstRange'](),_0x15f286['model'],_0x44338a):_0x3c8b29&&(_0x44338a['removeMarker'](_0x34e67a),_0x44338a['removeMarker'](_0x588959));});}}function _0x380348(_0x2d49c0,_0x477ddc,_0x23ed88,_0x354c07){const _0x816935='user:range:'+_0x2d49c0,_0x4a4fc8='user:position:'+_0x2d49c0,_0x4b0ee4=_0x477ddc['getContainedElement']();let _0x376ca9=_0x477ddc['start'];if(_0x4b0ee4&&_0x4b0ee4['is']('element','tableCell')){const _0x52298b=function(_0x465d0b,_0x4c0259){for(const _0x52e7d3 of _0x465d0b['getPositions']())if(_0x4c0259['schema']['checkChild'](_0x52e7d3,'$text'))return _0x52e7d3;}(_0x477ddc,_0x23ed88);_0x52298b&&(_0x376ca9=_0x52298b,_0x477ddc=_0x354c07['createRange'](_0x376ca9));}const _0x185835=_0x354c07['createRange'](_0x376ca9);_0x23ed88['markers']['has'](_0x816935)?(_0x354c07['updateMarker'](_0x816935,{'range':_0x477ddc}),_0x354c07['updateMarker'](_0x4a4fc8,{'range':_0x185835})):(_0x354c07['addMarker'](_0x816935,{'range':_0x477ddc,'usingOperation':!0x0}),_0x354c07['addMarker'](_0x4a4fc8,{'range':_0x185835,'usingOperation':!0x0}));}function _0x2e7fc9(_0x15cb10,_0x3987a5,_0x364f3f){const _0x2850e0=_0x15cb10['t'],t=_0x15cb10['t'];switch(_0x3987a5){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 _0x2850e0({'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'},_0x364f3f);default:return'';}}const _0x1b9dde=/* #__PURE__ -- @preserve */
((()=>{var _0x5f4b89=_0x56b58e['Reader'],_0x25f659=_0x56b58e['Writer'],_0x68e237=_0x56b58e['util'],_0xe4c1ee=_0x56b58e['roots']['default']||(_0x56b58e['roots']['default']={});return _0xe4c1ee['AttributeOperation']=(function(){function _0x221cfd(_0x16f6db){if(_0x16f6db){for(var _0x3355c8=Object['keys'](_0x16f6db),_0x1faa5e=0x0;_0x1faa5e<_0x3355c8['length'];++_0x1faa5e)null!=_0x16f6db[_0x3355c8[_0x1faa5e]]&&'__proto__'!==_0x3355c8[_0x1faa5e]&&(this[_0x3355c8[_0x1faa5e]]=_0x16f6db[_0x3355c8[_0x1faa5e]]);}}return _0x221cfd['prototype']['range']=null,_0x221cfd['prototype']['key']='',_0x221cfd['prototype']['oldValueBoolean']=!0x1,_0x221cfd['prototype']['oldValueJson']='',_0x221cfd['prototype']['newValueBoolean']=!0x1,_0x221cfd['prototype']['newValueJson']='',_0x221cfd['prototype']['wasUndone']=!0x1,_0x221cfd['create']=function(_0x1d4c5d){return new _0x221cfd(_0x1d4c5d);},_0x221cfd['encode']=function(_0x3b5c34,_0x16bf33){return _0x16bf33||(_0x16bf33=_0x25f659['create']()),null!=_0x3b5c34['range']&&Object['hasOwnProperty']['call'](_0x3b5c34,'range')&&_0xe4c1ee['Range']['encode'](_0x3b5c34['range'],_0x16bf33['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3b5c34['key']&&Object['hasOwnProperty']['call'](_0x3b5c34,'key')&&_0x16bf33['uint32'](0x12)['string'](_0x3b5c34['key']),null!=_0x3b5c34['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x3b5c34,'oldValueBoolean')&&_0x16bf33['uint32'](0x18)['bool'](_0x3b5c34['oldValueBoolean']),null!=_0x3b5c34['oldValueJson']&&Object['hasOwnProperty']['call'](_0x3b5c34,'oldValueJson')&&_0x16bf33['uint32'](0x22)['string'](_0x3b5c34['oldValueJson']),null!=_0x3b5c34['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x3b5c34,'newValueBoolean')&&_0x16bf33['uint32'](0x28)['bool'](_0x3b5c34['newValueBoolean']),null!=_0x3b5c34['newValueJson']&&Object['hasOwnProperty']['call'](_0x3b5c34,'newValueJson')&&_0x16bf33['uint32'](0x32)['string'](_0x3b5c34['newValueJson']),null!=_0x3b5c34['wasUndone']&&Object['hasOwnProperty']['call'](_0x3b5c34,'wasUndone')&&_0x16bf33['uint32'](0x38)['bool'](_0x3b5c34['wasUndone']),_0x16bf33;},_0x221cfd['encodeDelimited']=function(_0x4ebfd2,_0x39bfe0){return this['encode'](_0x4ebfd2,_0x39bfe0)['ldelim']();},_0x221cfd['decode']=function(_0x2cd2fd,_0x55446e,_0x378b8b,_0x15d057){if(_0x2cd2fd instanceof _0x5f4b89||(_0x2cd2fd=_0x5f4b89['create'](_0x2cd2fd)),void 0x0===_0x15d057&&(_0x15d057=0x0),_0x15d057>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ae702=void 0x0===_0x55446e?_0x2cd2fd['len']:_0x2cd2fd['pos']+_0x55446e,_0x4fac7b=new _0xe4c1ee['AttributeOperation']();_0x2cd2fd['pos']<_0x2ae702;){var _0x35b827=_0x2cd2fd['uint32']();if(_0x35b827===_0x378b8b)break;switch(_0x35b827>>>0x3){case 0x1:_0x4fac7b['range']=_0xe4c1ee['Range']['decode'](_0x2cd2fd,_0x2cd2fd['uint32'](),void 0x0,_0x15d057+0x1);break;case 0x2:_0x4fac7b['key']=_0x2cd2fd['string']();break;case 0x3:_0x4fac7b['oldValueBoolean']=_0x2cd2fd['bool']();break;case 0x4:_0x4fac7b['oldValueJson']=_0x2cd2fd['string']();break;case 0x5:_0x4fac7b['newValueBoolean']=_0x2cd2fd['bool']();break;case 0x6:_0x4fac7b['newValueJson']=_0x2cd2fd['string']();break;case 0x7:_0x4fac7b['wasUndone']=_0x2cd2fd['bool']();break;default:_0x2cd2fd['skipType'](0x7&_0x35b827,_0x15d057);}}return _0x4fac7b;},_0x221cfd['decodeDelimited']=function(_0x4f22ef){return _0x4f22ef instanceof _0x5f4b89||(_0x4f22ef=new _0x5f4b89(_0x4f22ef)),this['decode'](_0x4f22ef,_0x4f22ef['uint32']());},_0x221cfd['verify']=function(_0x13826a,_0x3e5579){if('object'!=typeof _0x13826a||null===_0x13826a)return'object\x20expected';if(void 0x0===_0x3e5579&&(_0x3e5579=0x0),_0x3e5579>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x13826a['range']&&_0x13826a['hasOwnProperty']('range')){var _0xfdbc5a=_0xe4c1ee['Range']['verify'](_0x13826a['range'],_0x3e5579+0x1);if(_0xfdbc5a)return'range.'+_0xfdbc5a;}return null!=_0x13826a['key']&&_0x13826a['hasOwnProperty']('key')&&!_0x68e237['isString'](_0x13826a['key'])?'key:\x20string\x20expected':null!=_0x13826a['oldValueBoolean']&&_0x13826a['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x13826a['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x13826a['oldValueJson']&&_0x13826a['hasOwnProperty']('oldValueJson')&&!_0x68e237['isString'](_0x13826a['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x13826a['newValueBoolean']&&_0x13826a['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x13826a['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x13826a['newValueJson']&&_0x13826a['hasOwnProperty']('newValueJson')&&!_0x68e237['isString'](_0x13826a['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x13826a['wasUndone']&&_0x13826a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x13826a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x221cfd['fromObject']=function(_0x13772a,_0x5cdaaf){if(_0x13772a instanceof _0xe4c1ee['AttributeOperation'])return _0x13772a;if(void 0x0===_0x5cdaaf&&(_0x5cdaaf=0x0),_0x5cdaaf>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ec674=new _0xe4c1ee['AttributeOperation']();if(null!=_0x13772a['range']){if('object'!=typeof _0x13772a['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2ec674['range']=_0xe4c1ee['Range']['fromObject'](_0x13772a['range'],_0x5cdaaf+0x1);}return null!=_0x13772a['key']&&(_0x2ec674['key']=String(_0x13772a['key'])),null!=_0x13772a['oldValueBoolean']&&(_0x2ec674['oldValueBoolean']=Boolean(_0x13772a['oldValueBoolean'])),null!=_0x13772a['oldValueJson']&&(_0x2ec674['oldValueJson']=String(_0x13772a['oldValueJson'])),null!=_0x13772a['newValueBoolean']&&(_0x2ec674['newValueBoolean']=Boolean(_0x13772a['newValueBoolean'])),null!=_0x13772a['newValueJson']&&(_0x2ec674['newValueJson']=String(_0x13772a['newValueJson'])),null!=_0x13772a['wasUndone']&&(_0x2ec674['wasUndone']=Boolean(_0x13772a['wasUndone'])),_0x2ec674;},_0x221cfd['toObject']=function(_0x48358a,_0x47dd2b){_0x47dd2b||(_0x47dd2b={});var _0x363d17={};return _0x47dd2b['defaults']&&(_0x363d17['range']=null,_0x363d17['key']='',_0x363d17['oldValueBoolean']=!0x1,_0x363d17['oldValueJson']='',_0x363d17['newValueBoolean']=!0x1,_0x363d17['newValueJson']='',_0x363d17['wasUndone']=!0x1),null!=_0x48358a['range']&&_0x48358a['hasOwnProperty']('range')&&(_0x363d17['range']=_0xe4c1ee['Range']['toObject'](_0x48358a['range'],_0x47dd2b)),null!=_0x48358a['key']&&_0x48358a['hasOwnProperty']('key')&&(_0x363d17['key']=_0x48358a['key']),null!=_0x48358a['oldValueBoolean']&&_0x48358a['hasOwnProperty']('oldValueBoolean')&&(_0x363d17['oldValueBoolean']=_0x48358a['oldValueBoolean']),null!=_0x48358a['oldValueJson']&&_0x48358a['hasOwnProperty']('oldValueJson')&&(_0x363d17['oldValueJson']=_0x48358a['oldValueJson']),null!=_0x48358a['newValueBoolean']&&_0x48358a['hasOwnProperty']('newValueBoolean')&&(_0x363d17['newValueBoolean']=_0x48358a['newValueBoolean']),null!=_0x48358a['newValueJson']&&_0x48358a['hasOwnProperty']('newValueJson')&&(_0x363d17['newValueJson']=_0x48358a['newValueJson']),null!=_0x48358a['wasUndone']&&_0x48358a['hasOwnProperty']('wasUndone')&&(_0x363d17['wasUndone']=_0x48358a['wasUndone']),_0x363d17;},_0x221cfd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x221cfd['getTypeUrl']=function(_0x107412){return void 0x0===_0x107412&&(_0x107412='type.googleapis.com'),_0x107412+'/AttributeOperation';},_0x221cfd;}()),_0xe4c1ee['InsertOperation']=(function(){function _0x31ca22(_0x4c76e9){if(this['nodes']=[],_0x4c76e9){for(var _0x2c14f2=Object['keys'](_0x4c76e9),_0x2f4944=0x0;_0x2f4944<_0x2c14f2['length'];++_0x2f4944)null!=_0x4c76e9[_0x2c14f2[_0x2f4944]]&&'__proto__'!==_0x2c14f2[_0x2f4944]&&(this[_0x2c14f2[_0x2f4944]]=_0x4c76e9[_0x2c14f2[_0x2f4944]]);}}return _0x31ca22['prototype']['position']=null,_0x31ca22['prototype']['nodes']=_0x68e237['emptyArray'],_0x31ca22['prototype']['shouldReceiveAttributes']=!0x1,_0x31ca22['prototype']['wasUndone']=!0x1,_0x31ca22['create']=function(_0x1ed41f){return new _0x31ca22(_0x1ed41f);},_0x31ca22['encode']=function(_0xcd3970,_0x182643){if(_0x182643||(_0x182643=_0x25f659['create']()),null!=_0xcd3970['position']&&Object['hasOwnProperty']['call'](_0xcd3970,'position')&&_0xe4c1ee['Position']['encode'](_0xcd3970['position'],_0x182643['uint32'](0xa)['fork']())['ldelim'](),null!=_0xcd3970['nodes']&&_0xcd3970['nodes']['length']){for(var _0x593393=0x0;_0x593393<_0xcd3970['nodes']['length'];++_0x593393)_0xe4c1ee['Element']['encode'](_0xcd3970['nodes'][_0x593393],_0x182643['uint32'](0x12)['fork']())['ldelim']();}return null!=_0xcd3970['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0xcd3970,'shouldReceiveAttributes')&&_0x182643['uint32'](0x18)['bool'](_0xcd3970['shouldReceiveAttributes']),null!=_0xcd3970['wasUndone']&&Object['hasOwnProperty']['call'](_0xcd3970,'wasUndone')&&_0x182643['uint32'](0x20)['bool'](_0xcd3970['wasUndone']),_0x182643;},_0x31ca22['encodeDelimited']=function(_0x5bfc5b,_0x467299){return this['encode'](_0x5bfc5b,_0x467299)['ldelim']();},_0x31ca22['decode']=function(_0x2ab956,_0x5c2816,_0x22feef,_0x3c02a0){if(_0x2ab956 instanceof _0x5f4b89||(_0x2ab956=_0x5f4b89['create'](_0x2ab956)),void 0x0===_0x3c02a0&&(_0x3c02a0=0x0),_0x3c02a0>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f2c32=void 0x0===_0x5c2816?_0x2ab956['len']:_0x2ab956['pos']+_0x5c2816,_0x28be90=new _0xe4c1ee['InsertOperation']();_0x2ab956['pos']<_0x4f2c32;){var _0x1364de=_0x2ab956['uint32']();if(_0x1364de===_0x22feef)break;switch(_0x1364de>>>0x3){case 0x1:_0x28be90['position']=_0xe4c1ee['Position']['decode'](_0x2ab956,_0x2ab956['uint32'](),void 0x0,_0x3c02a0+0x1);break;case 0x2:_0x28be90['nodes']&&_0x28be90['nodes']['length']||(_0x28be90['nodes']=[]),_0x28be90['nodes']['push'](_0xe4c1ee['Element']['decode'](_0x2ab956,_0x2ab956['uint32'](),void 0x0,_0x3c02a0+0x1));break;case 0x3:_0x28be90['shouldReceiveAttributes']=_0x2ab956['bool']();break;case 0x4:_0x28be90['wasUndone']=_0x2ab956['bool']();break;default:_0x2ab956['skipType'](0x7&_0x1364de,_0x3c02a0);}}return _0x28be90;},_0x31ca22['decodeDelimited']=function(_0x5307de){return _0x5307de instanceof _0x5f4b89||(_0x5307de=new _0x5f4b89(_0x5307de)),this['decode'](_0x5307de,_0x5307de['uint32']());},_0x31ca22['verify']=function(_0x29502b,_0x2cc2fd){if('object'!=typeof _0x29502b||null===_0x29502b)return'object\x20expected';if(void 0x0===_0x2cc2fd&&(_0x2cc2fd=0x0),_0x2cc2fd>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x29502b['position']&&_0x29502b['hasOwnProperty']('position')&&(_0x4530d2=_0xe4c1ee['Position']['verify'](_0x29502b['position'],_0x2cc2fd+0x1)))return'position.'+_0x4530d2;if(null!=_0x29502b['nodes']&&_0x29502b['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x29502b['nodes']))return'nodes:\x20array\x20expected';for(var _0x4025b6=0x0;_0x4025b6<_0x29502b['nodes']['length'];++_0x4025b6){var _0x4530d2;if(_0x4530d2=_0xe4c1ee['Element']['verify'](_0x29502b['nodes'][_0x4025b6],_0x2cc2fd+0x1))return'nodes.'+_0x4530d2;}}return null!=_0x29502b['shouldReceiveAttributes']&&_0x29502b['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x29502b['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x29502b['wasUndone']&&_0x29502b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x29502b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x31ca22['fromObject']=function(_0x1bc3a9,_0x1e5187){if(_0x1bc3a9 instanceof _0xe4c1ee['InsertOperation'])return _0x1bc3a9;if(void 0x0===_0x1e5187&&(_0x1e5187=0x0),_0x1e5187>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x50817d=new _0xe4c1ee['InsertOperation']();if(null!=_0x1bc3a9['position']){if('object'!=typeof _0x1bc3a9['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x50817d['position']=_0xe4c1ee['Position']['fromObject'](_0x1bc3a9['position'],_0x1e5187+0x1);}if(_0x1bc3a9['nodes']){if(!Array['isArray'](_0x1bc3a9['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x50817d['nodes']=[];for(var _0x3e9902=0x0;_0x3e9902<_0x1bc3a9['nodes']['length'];++_0x3e9902){if('object'!=typeof _0x1bc3a9['nodes'][_0x3e9902])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x50817d['nodes'][_0x3e9902]=_0xe4c1ee['Element']['fromObject'](_0x1bc3a9['nodes'][_0x3e9902],_0x1e5187+0x1);}}return null!=_0x1bc3a9['shouldReceiveAttributes']&&(_0x50817d['shouldReceiveAttributes']=Boolean(_0x1bc3a9['shouldReceiveAttributes'])),null!=_0x1bc3a9['wasUndone']&&(_0x50817d['wasUndone']=Boolean(_0x1bc3a9['wasUndone'])),_0x50817d;},_0x31ca22['toObject']=function(_0xd07442,_0x14d175){_0x14d175||(_0x14d175={});var _0x10a8d5={};if((_0x14d175['arrays']||_0x14d175['defaults'])&&(_0x10a8d5['nodes']=[]),_0x14d175['defaults']&&(_0x10a8d5['position']=null,_0x10a8d5['shouldReceiveAttributes']=!0x1,_0x10a8d5['wasUndone']=!0x1),null!=_0xd07442['position']&&_0xd07442['hasOwnProperty']('position')&&(_0x10a8d5['position']=_0xe4c1ee['Position']['toObject'](_0xd07442['position'],_0x14d175)),_0xd07442['nodes']&&_0xd07442['nodes']['length']){_0x10a8d5['nodes']=[];for(var _0x1a44ed=0x0;_0x1a44ed<_0xd07442['nodes']['length'];++_0x1a44ed)_0x10a8d5['nodes'][_0x1a44ed]=_0xe4c1ee['Element']['toObject'](_0xd07442['nodes'][_0x1a44ed],_0x14d175);}return null!=_0xd07442['shouldReceiveAttributes']&&_0xd07442['hasOwnProperty']('shouldReceiveAttributes')&&(_0x10a8d5['shouldReceiveAttributes']=_0xd07442['shouldReceiveAttributes']),null!=_0xd07442['wasUndone']&&_0xd07442['hasOwnProperty']('wasUndone')&&(_0x10a8d5['wasUndone']=_0xd07442['wasUndone']),_0x10a8d5;},_0x31ca22['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x31ca22['getTypeUrl']=function(_0x534ebb){return void 0x0===_0x534ebb&&(_0x534ebb='type.googleapis.com'),_0x534ebb+'/InsertOperation';},_0x31ca22;}()),_0xe4c1ee['MarkerOperation']=(function(){function _0x12830b(_0x177cfb){if(_0x177cfb){for(var _0x5cb03c=Object['keys'](_0x177cfb),_0x3bd47f=0x0;_0x3bd47f<_0x5cb03c['length'];++_0x3bd47f)null!=_0x177cfb[_0x5cb03c[_0x3bd47f]]&&'__proto__'!==_0x5cb03c[_0x3bd47f]&&(this[_0x5cb03c[_0x3bd47f]]=_0x177cfb[_0x5cb03c[_0x3bd47f]]);}}return _0x12830b['prototype']['name']='',_0x12830b['prototype']['oldRange']=null,_0x12830b['prototype']['newRange']=null,_0x12830b['prototype']['affectsData']=!0x1,_0x12830b['prototype']['wasUndone']=!0x1,_0x12830b['create']=function(_0x39537b){return new _0x12830b(_0x39537b);},_0x12830b['encode']=function(_0x46c3f2,_0x51bab9){return _0x51bab9||(_0x51bab9=_0x25f659['create']()),null!=_0x46c3f2['name']&&Object['hasOwnProperty']['call'](_0x46c3f2,'name')&&_0x51bab9['uint32'](0xa)['string'](_0x46c3f2['name']),null!=_0x46c3f2['oldRange']&&Object['hasOwnProperty']['call'](_0x46c3f2,'oldRange')&&_0xe4c1ee['Range']['encode'](_0x46c3f2['oldRange'],_0x51bab9['uint32'](0x12)['fork']())['ldelim'](),null!=_0x46c3f2['newRange']&&Object['hasOwnProperty']['call'](_0x46c3f2,'newRange')&&_0xe4c1ee['Range']['encode'](_0x46c3f2['newRange'],_0x51bab9['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x46c3f2['affectsData']&&Object['hasOwnProperty']['call'](_0x46c3f2,'affectsData')&&_0x51bab9['uint32'](0x20)['bool'](_0x46c3f2['affectsData']),null!=_0x46c3f2['wasUndone']&&Object['hasOwnProperty']['call'](_0x46c3f2,'wasUndone')&&_0x51bab9['uint32'](0x28)['bool'](_0x46c3f2['wasUndone']),_0x51bab9;},_0x12830b['encodeDelimited']=function(_0x41f9e1,_0x327fc9){return this['encode'](_0x41f9e1,_0x327fc9)['ldelim']();},_0x12830b['decode']=function(_0x51c5ce,_0x372bc2,_0x94f5a,_0x315182){if(_0x51c5ce instanceof _0x5f4b89||(_0x51c5ce=_0x5f4b89['create'](_0x51c5ce)),void 0x0===_0x315182&&(_0x315182=0x0),_0x315182>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40a334=void 0x0===_0x372bc2?_0x51c5ce['len']:_0x51c5ce['pos']+_0x372bc2,_0x6a0689=new _0xe4c1ee['MarkerOperation']();_0x51c5ce['pos']<_0x40a334;){var _0x1cc2f7=_0x51c5ce['uint32']();if(_0x1cc2f7===_0x94f5a)break;switch(_0x1cc2f7>>>0x3){case 0x1:_0x6a0689['name']=_0x51c5ce['string']();break;case 0x2:_0x6a0689['oldRange']=_0xe4c1ee['Range']['decode'](_0x51c5ce,_0x51c5ce['uint32'](),void 0x0,_0x315182+0x1);break;case 0x3:_0x6a0689['newRange']=_0xe4c1ee['Range']['decode'](_0x51c5ce,_0x51c5ce['uint32'](),void 0x0,_0x315182+0x1);break;case 0x4:_0x6a0689['affectsData']=_0x51c5ce['bool']();break;case 0x5:_0x6a0689['wasUndone']=_0x51c5ce['bool']();break;default:_0x51c5ce['skipType'](0x7&_0x1cc2f7,_0x315182);}}return _0x6a0689;},_0x12830b['decodeDelimited']=function(_0x47beb){return _0x47beb instanceof _0x5f4b89||(_0x47beb=new _0x5f4b89(_0x47beb)),this['decode'](_0x47beb,_0x47beb['uint32']());},_0x12830b['verify']=function(_0x2aad5c,_0x498850){if('object'!=typeof _0x2aad5c||null===_0x2aad5c)return'object\x20expected';if(void 0x0===_0x498850&&(_0x498850=0x0),_0x498850>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2aad5c['name']&&_0x2aad5c['hasOwnProperty']('name')&&!_0x68e237['isString'](_0x2aad5c['name']))return'name:\x20string\x20expected';var _0x3f8fcc;if(null!=_0x2aad5c['oldRange']&&_0x2aad5c['hasOwnProperty']('oldRange')&&(_0x3f8fcc=_0xe4c1ee['Range']['verify'](_0x2aad5c['oldRange'],_0x498850+0x1)))return'oldRange.'+_0x3f8fcc;if(null!=_0x2aad5c['newRange']&&_0x2aad5c['hasOwnProperty']('newRange')&&(_0x3f8fcc=_0xe4c1ee['Range']['verify'](_0x2aad5c['newRange'],_0x498850+0x1)))return'newRange.'+_0x3f8fcc;return null!=_0x2aad5c['affectsData']&&_0x2aad5c['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x2aad5c['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x2aad5c['wasUndone']&&_0x2aad5c['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2aad5c['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x12830b['fromObject']=function(_0x297d06,_0x1d96ec){if(_0x297d06 instanceof _0xe4c1ee['MarkerOperation'])return _0x297d06;if(void 0x0===_0x1d96ec&&(_0x1d96ec=0x0),_0x1d96ec>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4b8049=new _0xe4c1ee['MarkerOperation']();if(null!=_0x297d06['name']&&(_0x4b8049['name']=String(_0x297d06['name'])),null!=_0x297d06['oldRange']){if('object'!=typeof _0x297d06['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x4b8049['oldRange']=_0xe4c1ee['Range']['fromObject'](_0x297d06['oldRange'],_0x1d96ec+0x1);}if(null!=_0x297d06['newRange']){if('object'!=typeof _0x297d06['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x4b8049['newRange']=_0xe4c1ee['Range']['fromObject'](_0x297d06['newRange'],_0x1d96ec+0x1);}return null!=_0x297d06['affectsData']&&(_0x4b8049['affectsData']=Boolean(_0x297d06['affectsData'])),null!=_0x297d06['wasUndone']&&(_0x4b8049['wasUndone']=Boolean(_0x297d06['wasUndone'])),_0x4b8049;},_0x12830b['toObject']=function(_0x4eee61,_0x52076e){_0x52076e||(_0x52076e={});var _0x2e3d61={};return _0x52076e['defaults']&&(_0x2e3d61['name']='',_0x2e3d61['oldRange']=null,_0x2e3d61['newRange']=null,_0x2e3d61['affectsData']=!0x1,_0x2e3d61['wasUndone']=!0x1),null!=_0x4eee61['name']&&_0x4eee61['hasOwnProperty']('name')&&(_0x2e3d61['name']=_0x4eee61['name']),null!=_0x4eee61['oldRange']&&_0x4eee61['hasOwnProperty']('oldRange')&&(_0x2e3d61['oldRange']=_0xe4c1ee['Range']['toObject'](_0x4eee61['oldRange'],_0x52076e)),null!=_0x4eee61['newRange']&&_0x4eee61['hasOwnProperty']('newRange')&&(_0x2e3d61['newRange']=_0xe4c1ee['Range']['toObject'](_0x4eee61['newRange'],_0x52076e)),null!=_0x4eee61['affectsData']&&_0x4eee61['hasOwnProperty']('affectsData')&&(_0x2e3d61['affectsData']=_0x4eee61['affectsData']),null!=_0x4eee61['wasUndone']&&_0x4eee61['hasOwnProperty']('wasUndone')&&(_0x2e3d61['wasUndone']=_0x4eee61['wasUndone']),_0x2e3d61;},_0x12830b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x12830b['getTypeUrl']=function(_0x299302){return void 0x0===_0x299302&&(_0x299302='type.googleapis.com'),_0x299302+'/MarkerOperation';},_0x12830b;}()),_0xe4c1ee['MergeOperation']=(function(){function _0x6260b5(_0x5629ff){if(_0x5629ff){for(var _0x47a065=Object['keys'](_0x5629ff),_0x26fdf6=0x0;_0x26fdf6<_0x47a065['length'];++_0x26fdf6)null!=_0x5629ff[_0x47a065[_0x26fdf6]]&&'__proto__'!==_0x47a065[_0x26fdf6]&&(this[_0x47a065[_0x26fdf6]]=_0x5629ff[_0x47a065[_0x26fdf6]]);}}return _0x6260b5['prototype']['sourcePosition']=null,_0x6260b5['prototype']['targetPosition']=null,_0x6260b5['prototype']['graveyardPosition']=null,_0x6260b5['prototype']['howMany']=0x0,_0x6260b5['prototype']['wasUndone']=!0x1,_0x6260b5['create']=function(_0xe743ac){return new _0x6260b5(_0xe743ac);},_0x6260b5['encode']=function(_0x36e394,_0x38d303){return _0x38d303||(_0x38d303=_0x25f659['create']()),null!=_0x36e394['sourcePosition']&&Object['hasOwnProperty']['call'](_0x36e394,'sourcePosition')&&_0xe4c1ee['Position']['encode'](_0x36e394['sourcePosition'],_0x38d303['uint32'](0xa)['fork']())['ldelim'](),null!=_0x36e394['targetPosition']&&Object['hasOwnProperty']['call'](_0x36e394,'targetPosition')&&_0xe4c1ee['Position']['encode'](_0x36e394['targetPosition'],_0x38d303['uint32'](0x12)['fork']())['ldelim'](),null!=_0x36e394['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x36e394,'graveyardPosition')&&_0xe4c1ee['Position']['encode'](_0x36e394['graveyardPosition'],_0x38d303['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x36e394['howMany']&&Object['hasOwnProperty']['call'](_0x36e394,'howMany')&&_0x38d303['uint32'](0x20)['uint32'](_0x36e394['howMany']),null!=_0x36e394['wasUndone']&&Object['hasOwnProperty']['call'](_0x36e394,'wasUndone')&&_0x38d303['uint32'](0x28)['bool'](_0x36e394['wasUndone']),_0x38d303;},_0x6260b5['encodeDelimited']=function(_0x4a4b52,_0x1fa102){return this['encode'](_0x4a4b52,_0x1fa102)['ldelim']();},_0x6260b5['decode']=function(_0x3ac9ab,_0x2b3c59,_0x388eed,_0x293fee){if(_0x3ac9ab instanceof _0x5f4b89||(_0x3ac9ab=_0x5f4b89['create'](_0x3ac9ab)),void 0x0===_0x293fee&&(_0x293fee=0x0),_0x293fee>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x203e4f=void 0x0===_0x2b3c59?_0x3ac9ab['len']:_0x3ac9ab['pos']+_0x2b3c59,_0x35de0e=new _0xe4c1ee['MergeOperation']();_0x3ac9ab['pos']<_0x203e4f;){var _0x523440=_0x3ac9ab['uint32']();if(_0x523440===_0x388eed)break;switch(_0x523440>>>0x3){case 0x1:_0x35de0e['sourcePosition']=_0xe4c1ee['Position']['decode'](_0x3ac9ab,_0x3ac9ab['uint32'](),void 0x0,_0x293fee+0x1);break;case 0x2:_0x35de0e['targetPosition']=_0xe4c1ee['Position']['decode'](_0x3ac9ab,_0x3ac9ab['uint32'](),void 0x0,_0x293fee+0x1);break;case 0x3:_0x35de0e['graveyardPosition']=_0xe4c1ee['Position']['decode'](_0x3ac9ab,_0x3ac9ab['uint32'](),void 0x0,_0x293fee+0x1);break;case 0x4:_0x35de0e['howMany']=_0x3ac9ab['uint32']();break;case 0x5:_0x35de0e['wasUndone']=_0x3ac9ab['bool']();break;default:_0x3ac9ab['skipType'](0x7&_0x523440,_0x293fee);}}return _0x35de0e;},_0x6260b5['decodeDelimited']=function(_0x45273a){return _0x45273a instanceof _0x5f4b89||(_0x45273a=new _0x5f4b89(_0x45273a)),this['decode'](_0x45273a,_0x45273a['uint32']());},_0x6260b5['verify']=function(_0x1ebd56,_0x343634){if('object'!=typeof _0x1ebd56||null===_0x1ebd56)return'object\x20expected';if(void 0x0===_0x343634&&(_0x343634=0x0),_0x343634>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0xa26366;if(null!=_0x1ebd56['sourcePosition']&&_0x1ebd56['hasOwnProperty']('sourcePosition')&&(_0xa26366=_0xe4c1ee['Position']['verify'](_0x1ebd56['sourcePosition'],_0x343634+0x1)))return'sourcePosition.'+_0xa26366;if(null!=_0x1ebd56['targetPosition']&&_0x1ebd56['hasOwnProperty']('targetPosition')&&(_0xa26366=_0xe4c1ee['Position']['verify'](_0x1ebd56['targetPosition'],_0x343634+0x1)))return'targetPosition.'+_0xa26366;if(null!=_0x1ebd56['graveyardPosition']&&_0x1ebd56['hasOwnProperty']('graveyardPosition')&&(_0xa26366=_0xe4c1ee['Position']['verify'](_0x1ebd56['graveyardPosition'],_0x343634+0x1)))return'graveyardPosition.'+_0xa26366;return null!=_0x1ebd56['howMany']&&_0x1ebd56['hasOwnProperty']('howMany')&&!_0x68e237['isInteger'](_0x1ebd56['howMany'])?'howMany:\x20integer\x20expected':null!=_0x1ebd56['wasUndone']&&_0x1ebd56['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1ebd56['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x6260b5['fromObject']=function(_0x4d34a3,_0x3a89ec){if(_0x4d34a3 instanceof _0xe4c1ee['MergeOperation'])return _0x4d34a3;if(void 0x0===_0x3a89ec&&(_0x3a89ec=0x0),_0x3a89ec>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d54be=new _0xe4c1ee['MergeOperation']();if(null!=_0x4d34a3['sourcePosition']){if('object'!=typeof _0x4d34a3['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x2d54be['sourcePosition']=_0xe4c1ee['Position']['fromObject'](_0x4d34a3['sourcePosition'],_0x3a89ec+0x1);}if(null!=_0x4d34a3['targetPosition']){if('object'!=typeof _0x4d34a3['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x2d54be['targetPosition']=_0xe4c1ee['Position']['fromObject'](_0x4d34a3['targetPosition'],_0x3a89ec+0x1);}if(null!=_0x4d34a3['graveyardPosition']){if('object'!=typeof _0x4d34a3['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x2d54be['graveyardPosition']=_0xe4c1ee['Position']['fromObject'](_0x4d34a3['graveyardPosition'],_0x3a89ec+0x1);}return null!=_0x4d34a3['howMany']&&(_0x2d54be['howMany']=_0x4d34a3['howMany']>>>0x0),null!=_0x4d34a3['wasUndone']&&(_0x2d54be['wasUndone']=Boolean(_0x4d34a3['wasUndone'])),_0x2d54be;},_0x6260b5['toObject']=function(_0x121a8b,_0x4e2613){_0x4e2613||(_0x4e2613={});var _0x2f0a76={};return _0x4e2613['defaults']&&(_0x2f0a76['sourcePosition']=null,_0x2f0a76['targetPosition']=null,_0x2f0a76['graveyardPosition']=null,_0x2f0a76['howMany']=0x0,_0x2f0a76['wasUndone']=!0x1),null!=_0x121a8b['sourcePosition']&&_0x121a8b['hasOwnProperty']('sourcePosition')&&(_0x2f0a76['sourcePosition']=_0xe4c1ee['Position']['toObject'](_0x121a8b['sourcePosition'],_0x4e2613)),null!=_0x121a8b['targetPosition']&&_0x121a8b['hasOwnProperty']('targetPosition')&&(_0x2f0a76['targetPosition']=_0xe4c1ee['Position']['toObject'](_0x121a8b['targetPosition'],_0x4e2613)),null!=_0x121a8b['graveyardPosition']&&_0x121a8b['hasOwnProperty']('graveyardPosition')&&(_0x2f0a76['graveyardPosition']=_0xe4c1ee['Position']['toObject'](_0x121a8b['graveyardPosition'],_0x4e2613)),null!=_0x121a8b['howMany']&&_0x121a8b['hasOwnProperty']('howMany')&&(_0x2f0a76['howMany']=_0x121a8b['howMany']),null!=_0x121a8b['wasUndone']&&_0x121a8b['hasOwnProperty']('wasUndone')&&(_0x2f0a76['wasUndone']=_0x121a8b['wasUndone']),_0x2f0a76;},_0x6260b5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x6260b5['getTypeUrl']=function(_0x4e44f5){return void 0x0===_0x4e44f5&&(_0x4e44f5='type.googleapis.com'),_0x4e44f5+'/MergeOperation';},_0x6260b5;}()),_0xe4c1ee['MoveOperation']=(function(){function _0x1c43ce(_0x240878){if(_0x240878){for(var _0x4a145e=Object['keys'](_0x240878),_0x58a075=0x0;_0x58a075<_0x4a145e['length'];++_0x58a075)null!=_0x240878[_0x4a145e[_0x58a075]]&&'__proto__'!==_0x4a145e[_0x58a075]&&(this[_0x4a145e[_0x58a075]]=_0x240878[_0x4a145e[_0x58a075]]);}}return _0x1c43ce['prototype']['sourcePosition']=null,_0x1c43ce['prototype']['howMany']=0x0,_0x1c43ce['prototype']['targetPosition']=null,_0x1c43ce['prototype']['wasUndone']=!0x1,_0x1c43ce['create']=function(_0x25185b){return new _0x1c43ce(_0x25185b);},_0x1c43ce['encode']=function(_0x82c36a,_0x22af1e){return _0x22af1e||(_0x22af1e=_0x25f659['create']()),null!=_0x82c36a['sourcePosition']&&Object['hasOwnProperty']['call'](_0x82c36a,'sourcePosition')&&_0xe4c1ee['Position']['encode'](_0x82c36a['sourcePosition'],_0x22af1e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x82c36a['howMany']&&Object['hasOwnProperty']['call'](_0x82c36a,'howMany')&&_0x22af1e['uint32'](0x10)['uint32'](_0x82c36a['howMany']),null!=_0x82c36a['targetPosition']&&Object['hasOwnProperty']['call'](_0x82c36a,'targetPosition')&&_0xe4c1ee['Position']['encode'](_0x82c36a['targetPosition'],_0x22af1e['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x82c36a['wasUndone']&&Object['hasOwnProperty']['call'](_0x82c36a,'wasUndone')&&_0x22af1e['uint32'](0x20)['bool'](_0x82c36a['wasUndone']),_0x22af1e;},_0x1c43ce['encodeDelimited']=function(_0x549ea8,_0x1d9e38){return this['encode'](_0x549ea8,_0x1d9e38)['ldelim']();},_0x1c43ce['decode']=function(_0x4d6418,_0x30fd0f,_0x3616c8,_0x3ea9a1){if(_0x4d6418 instanceof _0x5f4b89||(_0x4d6418=_0x5f4b89['create'](_0x4d6418)),void 0x0===_0x3ea9a1&&(_0x3ea9a1=0x0),_0x3ea9a1>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1382e7=void 0x0===_0x30fd0f?_0x4d6418['len']:_0x4d6418['pos']+_0x30fd0f,_0x4be07b=new _0xe4c1ee['MoveOperation']();_0x4d6418['pos']<_0x1382e7;){var _0x5a1ec9=_0x4d6418['uint32']();if(_0x5a1ec9===_0x3616c8)break;switch(_0x5a1ec9>>>0x3){case 0x1:_0x4be07b['sourcePosition']=_0xe4c1ee['Position']['decode'](_0x4d6418,_0x4d6418['uint32'](),void 0x0,_0x3ea9a1+0x1);break;case 0x2:_0x4be07b['howMany']=_0x4d6418['uint32']();break;case 0x3:_0x4be07b['targetPosition']=_0xe4c1ee['Position']['decode'](_0x4d6418,_0x4d6418['uint32'](),void 0x0,_0x3ea9a1+0x1);break;case 0x4:_0x4be07b['wasUndone']=_0x4d6418['bool']();break;default:_0x4d6418['skipType'](0x7&_0x5a1ec9,_0x3ea9a1);}}return _0x4be07b;},_0x1c43ce['decodeDelimited']=function(_0x1bf55d){return _0x1bf55d instanceof _0x5f4b89||(_0x1bf55d=new _0x5f4b89(_0x1bf55d)),this['decode'](_0x1bf55d,_0x1bf55d['uint32']());},_0x1c43ce['verify']=function(_0x39e0ac,_0x232f66){if('object'!=typeof _0x39e0ac||null===_0x39e0ac)return'object\x20expected';if(void 0x0===_0x232f66&&(_0x232f66=0x0),_0x232f66>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x48a662;if(null!=_0x39e0ac['sourcePosition']&&_0x39e0ac['hasOwnProperty']('sourcePosition')&&(_0x48a662=_0xe4c1ee['Position']['verify'](_0x39e0ac['sourcePosition'],_0x232f66+0x1)))return'sourcePosition.'+_0x48a662;if(null!=_0x39e0ac['howMany']&&_0x39e0ac['hasOwnProperty']('howMany')&&!_0x68e237['isInteger'](_0x39e0ac['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x39e0ac['targetPosition']&&_0x39e0ac['hasOwnProperty']('targetPosition')&&(_0x48a662=_0xe4c1ee['Position']['verify'](_0x39e0ac['targetPosition'],_0x232f66+0x1)))return'targetPosition.'+_0x48a662;return null!=_0x39e0ac['wasUndone']&&_0x39e0ac['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x39e0ac['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1c43ce['fromObject']=function(_0x21ad86,_0x251f59){if(_0x21ad86 instanceof _0xe4c1ee['MoveOperation'])return _0x21ad86;if(void 0x0===_0x251f59&&(_0x251f59=0x0),_0x251f59>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5b5827=new _0xe4c1ee['MoveOperation']();if(null!=_0x21ad86['sourcePosition']){if('object'!=typeof _0x21ad86['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x5b5827['sourcePosition']=_0xe4c1ee['Position']['fromObject'](_0x21ad86['sourcePosition'],_0x251f59+0x1);}if(null!=_0x21ad86['howMany']&&(_0x5b5827['howMany']=_0x21ad86['howMany']>>>0x0),null!=_0x21ad86['targetPosition']){if('object'!=typeof _0x21ad86['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x5b5827['targetPosition']=_0xe4c1ee['Position']['fromObject'](_0x21ad86['targetPosition'],_0x251f59+0x1);}return null!=_0x21ad86['wasUndone']&&(_0x5b5827['wasUndone']=Boolean(_0x21ad86['wasUndone'])),_0x5b5827;},_0x1c43ce['toObject']=function(_0x574de5,_0x29e609){_0x29e609||(_0x29e609={});var _0x36bd01={};return _0x29e609['defaults']&&(_0x36bd01['sourcePosition']=null,_0x36bd01['howMany']=0x0,_0x36bd01['targetPosition']=null,_0x36bd01['wasUndone']=!0x1),null!=_0x574de5['sourcePosition']&&_0x574de5['hasOwnProperty']('sourcePosition')&&(_0x36bd01['sourcePosition']=_0xe4c1ee['Position']['toObject'](_0x574de5['sourcePosition'],_0x29e609)),null!=_0x574de5['howMany']&&_0x574de5['hasOwnProperty']('howMany')&&(_0x36bd01['howMany']=_0x574de5['howMany']),null!=_0x574de5['targetPosition']&&_0x574de5['hasOwnProperty']('targetPosition')&&(_0x36bd01['targetPosition']=_0xe4c1ee['Position']['toObject'](_0x574de5['targetPosition'],_0x29e609)),null!=_0x574de5['wasUndone']&&_0x574de5['hasOwnProperty']('wasUndone')&&(_0x36bd01['wasUndone']=_0x574de5['wasUndone']),_0x36bd01;},_0x1c43ce['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1c43ce['getTypeUrl']=function(_0x1d4871){return void 0x0===_0x1d4871&&(_0x1d4871='type.googleapis.com'),_0x1d4871+'/MoveOperation';},_0x1c43ce;}()),_0xe4c1ee['RenameOperation']=(function(){function _0x482671(_0x20ec5f){if(_0x20ec5f){for(var _0x5b2336=Object['keys'](_0x20ec5f),_0x1610ad=0x0;_0x1610ad<_0x5b2336['length'];++_0x1610ad)null!=_0x20ec5f[_0x5b2336[_0x1610ad]]&&'__proto__'!==_0x5b2336[_0x1610ad]&&(this[_0x5b2336[_0x1610ad]]=_0x20ec5f[_0x5b2336[_0x1610ad]]);}}return _0x482671['prototype']['position']=null,_0x482671['prototype']['oldName']='',_0x482671['prototype']['newName']='',_0x482671['prototype']['wasUndone']=!0x1,_0x482671['create']=function(_0xdac24c){return new _0x482671(_0xdac24c);},_0x482671['encode']=function(_0x51e870,_0x5af784){return _0x5af784||(_0x5af784=_0x25f659['create']()),null!=_0x51e870['position']&&Object['hasOwnProperty']['call'](_0x51e870,'position')&&_0xe4c1ee['Position']['encode'](_0x51e870['position'],_0x5af784['uint32'](0xa)['fork']())['ldelim'](),null!=_0x51e870['oldName']&&Object['hasOwnProperty']['call'](_0x51e870,'oldName')&&_0x5af784['uint32'](0x12)['string'](_0x51e870['oldName']),null!=_0x51e870['newName']&&Object['hasOwnProperty']['call'](_0x51e870,'newName')&&_0x5af784['uint32'](0x1a)['string'](_0x51e870['newName']),null!=_0x51e870['wasUndone']&&Object['hasOwnProperty']['call'](_0x51e870,'wasUndone')&&_0x5af784['uint32'](0x20)['bool'](_0x51e870['wasUndone']),_0x5af784;},_0x482671['encodeDelimited']=function(_0x36ef82,_0x1959ed){return this['encode'](_0x36ef82,_0x1959ed)['ldelim']();},_0x482671['decode']=function(_0x59945d,_0x4d2b4f,_0x4a9fdb,_0x3bed3c){if(_0x59945d instanceof _0x5f4b89||(_0x59945d=_0x5f4b89['create'](_0x59945d)),void 0x0===_0x3bed3c&&(_0x3bed3c=0x0),_0x3bed3c>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x47d0ea=void 0x0===_0x4d2b4f?_0x59945d['len']:_0x59945d['pos']+_0x4d2b4f,_0x1965f8=new _0xe4c1ee['RenameOperation']();_0x59945d['pos']<_0x47d0ea;){var _0x40eae1=_0x59945d['uint32']();if(_0x40eae1===_0x4a9fdb)break;switch(_0x40eae1>>>0x3){case 0x1:_0x1965f8['position']=_0xe4c1ee['Position']['decode'](_0x59945d,_0x59945d['uint32'](),void 0x0,_0x3bed3c+0x1);break;case 0x2:_0x1965f8['oldName']=_0x59945d['string']();break;case 0x3:_0x1965f8['newName']=_0x59945d['string']();break;case 0x4:_0x1965f8['wasUndone']=_0x59945d['bool']();break;default:_0x59945d['skipType'](0x7&_0x40eae1,_0x3bed3c);}}return _0x1965f8;},_0x482671['decodeDelimited']=function(_0x31de8b){return _0x31de8b instanceof _0x5f4b89||(_0x31de8b=new _0x5f4b89(_0x31de8b)),this['decode'](_0x31de8b,_0x31de8b['uint32']());},_0x482671['verify']=function(_0x5414ec,_0x36ae17){if('object'!=typeof _0x5414ec||null===_0x5414ec)return'object\x20expected';if(void 0x0===_0x36ae17&&(_0x36ae17=0x0),_0x36ae17>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5414ec['position']&&_0x5414ec['hasOwnProperty']('position')){var _0x1c9411=_0xe4c1ee['Position']['verify'](_0x5414ec['position'],_0x36ae17+0x1);if(_0x1c9411)return'position.'+_0x1c9411;}return null!=_0x5414ec['oldName']&&_0x5414ec['hasOwnProperty']('oldName')&&!_0x68e237['isString'](_0x5414ec['oldName'])?'oldName:\x20string\x20expected':null!=_0x5414ec['newName']&&_0x5414ec['hasOwnProperty']('newName')&&!_0x68e237['isString'](_0x5414ec['newName'])?'newName:\x20string\x20expected':null!=_0x5414ec['wasUndone']&&_0x5414ec['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5414ec['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x482671['fromObject']=function(_0x14a128,_0x41cd76){if(_0x14a128 instanceof _0xe4c1ee['RenameOperation'])return _0x14a128;if(void 0x0===_0x41cd76&&(_0x41cd76=0x0),_0x41cd76>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5cbd0d=new _0xe4c1ee['RenameOperation']();if(null!=_0x14a128['position']){if('object'!=typeof _0x14a128['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x5cbd0d['position']=_0xe4c1ee['Position']['fromObject'](_0x14a128['position'],_0x41cd76+0x1);}return null!=_0x14a128['oldName']&&(_0x5cbd0d['oldName']=String(_0x14a128['oldName'])),null!=_0x14a128['newName']&&(_0x5cbd0d['newName']=String(_0x14a128['newName'])),null!=_0x14a128['wasUndone']&&(_0x5cbd0d['wasUndone']=Boolean(_0x14a128['wasUndone'])),_0x5cbd0d;},_0x482671['toObject']=function(_0x17b8e4,_0x279ea3){_0x279ea3||(_0x279ea3={});var _0x3761eb={};return _0x279ea3['defaults']&&(_0x3761eb['position']=null,_0x3761eb['oldName']='',_0x3761eb['newName']='',_0x3761eb['wasUndone']=!0x1),null!=_0x17b8e4['position']&&_0x17b8e4['hasOwnProperty']('position')&&(_0x3761eb['position']=_0xe4c1ee['Position']['toObject'](_0x17b8e4['position'],_0x279ea3)),null!=_0x17b8e4['oldName']&&_0x17b8e4['hasOwnProperty']('oldName')&&(_0x3761eb['oldName']=_0x17b8e4['oldName']),null!=_0x17b8e4['newName']&&_0x17b8e4['hasOwnProperty']('newName')&&(_0x3761eb['newName']=_0x17b8e4['newName']),null!=_0x17b8e4['wasUndone']&&_0x17b8e4['hasOwnProperty']('wasUndone')&&(_0x3761eb['wasUndone']=_0x17b8e4['wasUndone']),_0x3761eb;},_0x482671['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x482671['getTypeUrl']=function(_0x3e8a33){return void 0x0===_0x3e8a33&&(_0x3e8a33='type.googleapis.com'),_0x3e8a33+'/RenameOperation';},_0x482671;}()),_0xe4c1ee['RootAttributeOperation']=(function(){function _0xfc78ed(_0xf3f7c5){if(_0xf3f7c5){for(var _0x1cb787=Object['keys'](_0xf3f7c5),_0x4cf91d=0x0;_0x4cf91d<_0x1cb787['length'];++_0x4cf91d)null!=_0xf3f7c5[_0x1cb787[_0x4cf91d]]&&'__proto__'!==_0x1cb787[_0x4cf91d]&&(this[_0x1cb787[_0x4cf91d]]=_0xf3f7c5[_0x1cb787[_0x4cf91d]]);}}return _0xfc78ed['prototype']['root']='',_0xfc78ed['prototype']['key']='',_0xfc78ed['prototype']['oldValueBoolean']=!0x1,_0xfc78ed['prototype']['oldValueJson']='',_0xfc78ed['prototype']['newValueBoolean']=!0x1,_0xfc78ed['prototype']['newValueJson']='',_0xfc78ed['prototype']['wasUndone']=!0x1,_0xfc78ed['create']=function(_0x403bd1){return new _0xfc78ed(_0x403bd1);},_0xfc78ed['encode']=function(_0x9ea4ad,_0x436a97){return _0x436a97||(_0x436a97=_0x25f659['create']()),null!=_0x9ea4ad['root']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'root')&&_0x436a97['uint32'](0xa)['string'](_0x9ea4ad['root']),null!=_0x9ea4ad['key']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'key')&&_0x436a97['uint32'](0x12)['string'](_0x9ea4ad['key']),null!=_0x9ea4ad['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'oldValueBoolean')&&_0x436a97['uint32'](0x18)['bool'](_0x9ea4ad['oldValueBoolean']),null!=_0x9ea4ad['oldValueJson']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'oldValueJson')&&_0x436a97['uint32'](0x22)['string'](_0x9ea4ad['oldValueJson']),null!=_0x9ea4ad['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'newValueBoolean')&&_0x436a97['uint32'](0x28)['bool'](_0x9ea4ad['newValueBoolean']),null!=_0x9ea4ad['newValueJson']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'newValueJson')&&_0x436a97['uint32'](0x32)['string'](_0x9ea4ad['newValueJson']),null!=_0x9ea4ad['wasUndone']&&Object['hasOwnProperty']['call'](_0x9ea4ad,'wasUndone')&&_0x436a97['uint32'](0x38)['bool'](_0x9ea4ad['wasUndone']),_0x436a97;},_0xfc78ed['encodeDelimited']=function(_0x3bf1a4,_0x954189){return this['encode'](_0x3bf1a4,_0x954189)['ldelim']();},_0xfc78ed['decode']=function(_0x1692c8,_0x4d8827,_0x2e41c7,_0x234bc3){if(_0x1692c8 instanceof _0x5f4b89||(_0x1692c8=_0x5f4b89['create'](_0x1692c8)),void 0x0===_0x234bc3&&(_0x234bc3=0x0),_0x234bc3>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x695248=void 0x0===_0x4d8827?_0x1692c8['len']:_0x1692c8['pos']+_0x4d8827,_0x4c26ba=new _0xe4c1ee['RootAttributeOperation']();_0x1692c8['pos']<_0x695248;){var _0x5eccf7=_0x1692c8['uint32']();if(_0x5eccf7===_0x2e41c7)break;switch(_0x5eccf7>>>0x3){case 0x1:_0x4c26ba['root']=_0x1692c8['string']();break;case 0x2:_0x4c26ba['key']=_0x1692c8['string']();break;case 0x3:_0x4c26ba['oldValueBoolean']=_0x1692c8['bool']();break;case 0x4:_0x4c26ba['oldValueJson']=_0x1692c8['string']();break;case 0x5:_0x4c26ba['newValueBoolean']=_0x1692c8['bool']();break;case 0x6:_0x4c26ba['newValueJson']=_0x1692c8['string']();break;case 0x7:_0x4c26ba['wasUndone']=_0x1692c8['bool']();break;default:_0x1692c8['skipType'](0x7&_0x5eccf7,_0x234bc3);}}return _0x4c26ba;},_0xfc78ed['decodeDelimited']=function(_0x178496){return _0x178496 instanceof _0x5f4b89||(_0x178496=new _0x5f4b89(_0x178496)),this['decode'](_0x178496,_0x178496['uint32']());},_0xfc78ed['verify']=function(_0x4eb208,_0x573d92){return'object'!=typeof _0x4eb208||null===_0x4eb208?'object\x20expected':(void 0x0===_0x573d92&&(_0x573d92=0x0),_0x573d92>_0x68e237['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4eb208['root']&&_0x4eb208['hasOwnProperty']('root')&&!_0x68e237['isString'](_0x4eb208['root'])?'root:\x20string\x20expected':null!=_0x4eb208['key']&&_0x4eb208['hasOwnProperty']('key')&&!_0x68e237['isString'](_0x4eb208['key'])?'key:\x20string\x20expected':null!=_0x4eb208['oldValueBoolean']&&_0x4eb208['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x4eb208['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x4eb208['oldValueJson']&&_0x4eb208['hasOwnProperty']('oldValueJson')&&!_0x68e237['isString'](_0x4eb208['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x4eb208['newValueBoolean']&&_0x4eb208['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x4eb208['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x4eb208['newValueJson']&&_0x4eb208['hasOwnProperty']('newValueJson')&&!_0x68e237['isString'](_0x4eb208['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x4eb208['wasUndone']&&_0x4eb208['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4eb208['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0xfc78ed['fromObject']=function(_0x3cc0bb,_0x4738ee){if(_0x3cc0bb instanceof _0xe4c1ee['RootAttributeOperation'])return _0x3cc0bb;if(void 0x0===_0x4738ee&&(_0x4738ee=0x0),_0x4738ee>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x362a18=new _0xe4c1ee['RootAttributeOperation']();return null!=_0x3cc0bb['root']&&(_0x362a18['root']=String(_0x3cc0bb['root'])),null!=_0x3cc0bb['key']&&(_0x362a18['key']=String(_0x3cc0bb['key'])),null!=_0x3cc0bb['oldValueBoolean']&&(_0x362a18['oldValueBoolean']=Boolean(_0x3cc0bb['oldValueBoolean'])),null!=_0x3cc0bb['oldValueJson']&&(_0x362a18['oldValueJson']=String(_0x3cc0bb['oldValueJson'])),null!=_0x3cc0bb['newValueBoolean']&&(_0x362a18['newValueBoolean']=Boolean(_0x3cc0bb['newValueBoolean'])),null!=_0x3cc0bb['newValueJson']&&(_0x362a18['newValueJson']=String(_0x3cc0bb['newValueJson'])),null!=_0x3cc0bb['wasUndone']&&(_0x362a18['wasUndone']=Boolean(_0x3cc0bb['wasUndone'])),_0x362a18;},_0xfc78ed['toObject']=function(_0x440033,_0x16485e){_0x16485e||(_0x16485e={});var _0x28cd6b={};return _0x16485e['defaults']&&(_0x28cd6b['root']='',_0x28cd6b['key']='',_0x28cd6b['oldValueBoolean']=!0x1,_0x28cd6b['oldValueJson']='',_0x28cd6b['newValueBoolean']=!0x1,_0x28cd6b['newValueJson']='',_0x28cd6b['wasUndone']=!0x1),null!=_0x440033['root']&&_0x440033['hasOwnProperty']('root')&&(_0x28cd6b['root']=_0x440033['root']),null!=_0x440033['key']&&_0x440033['hasOwnProperty']('key')&&(_0x28cd6b['key']=_0x440033['key']),null!=_0x440033['oldValueBoolean']&&_0x440033['hasOwnProperty']('oldValueBoolean')&&(_0x28cd6b['oldValueBoolean']=_0x440033['oldValueBoolean']),null!=_0x440033['oldValueJson']&&_0x440033['hasOwnProperty']('oldValueJson')&&(_0x28cd6b['oldValueJson']=_0x440033['oldValueJson']),null!=_0x440033['newValueBoolean']&&_0x440033['hasOwnProperty']('newValueBoolean')&&(_0x28cd6b['newValueBoolean']=_0x440033['newValueBoolean']),null!=_0x440033['newValueJson']&&_0x440033['hasOwnProperty']('newValueJson')&&(_0x28cd6b['newValueJson']=_0x440033['newValueJson']),null!=_0x440033['wasUndone']&&_0x440033['hasOwnProperty']('wasUndone')&&(_0x28cd6b['wasUndone']=_0x440033['wasUndone']),_0x28cd6b;},_0xfc78ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xfc78ed['getTypeUrl']=function(_0x17b2f5){return void 0x0===_0x17b2f5&&(_0x17b2f5='type.googleapis.com'),_0x17b2f5+'/RootAttributeOperation';},_0xfc78ed;}()),_0xe4c1ee['RootOperation']=(function(){function _0x466bfa(_0x205d18){if(_0x205d18){for(var _0xfe6f70=Object['keys'](_0x205d18),_0x47a846=0x0;_0x47a846<_0xfe6f70['length'];++_0x47a846)null!=_0x205d18[_0xfe6f70[_0x47a846]]&&'__proto__'!==_0xfe6f70[_0x47a846]&&(this[_0xfe6f70[_0x47a846]]=_0x205d18[_0xfe6f70[_0x47a846]]);}}return _0x466bfa['prototype']['rootName']='',_0x466bfa['prototype']['elementName']='',_0x466bfa['prototype']['isAdd']=!0x1,_0x466bfa['prototype']['wasUndone']=!0x1,_0x466bfa['create']=function(_0x5f18e1){return new _0x466bfa(_0x5f18e1);},_0x466bfa['encode']=function(_0xfbdf3d,_0x4ebd05){return _0x4ebd05||(_0x4ebd05=_0x25f659['create']()),null!=_0xfbdf3d['rootName']&&Object['hasOwnProperty']['call'](_0xfbdf3d,'rootName')&&_0x4ebd05['uint32'](0xa)['string'](_0xfbdf3d['rootName']),null!=_0xfbdf3d['elementName']&&Object['hasOwnProperty']['call'](_0xfbdf3d,'elementName')&&_0x4ebd05['uint32'](0x12)['string'](_0xfbdf3d['elementName']),null!=_0xfbdf3d['isAdd']&&Object['hasOwnProperty']['call'](_0xfbdf3d,'isAdd')&&_0x4ebd05['uint32'](0x18)['bool'](_0xfbdf3d['isAdd']),null!=_0xfbdf3d['wasUndone']&&Object['hasOwnProperty']['call'](_0xfbdf3d,'wasUndone')&&_0x4ebd05['uint32'](0x20)['bool'](_0xfbdf3d['wasUndone']),_0x4ebd05;},_0x466bfa['encodeDelimited']=function(_0x1d7076,_0x314cbb){return this['encode'](_0x1d7076,_0x314cbb)['ldelim']();},_0x466bfa['decode']=function(_0x551e98,_0xa5e95c,_0x3b88c,_0x5d1433){if(_0x551e98 instanceof _0x5f4b89||(_0x551e98=_0x5f4b89['create'](_0x551e98)),void 0x0===_0x5d1433&&(_0x5d1433=0x0),_0x5d1433>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x26abe6=void 0x0===_0xa5e95c?_0x551e98['len']:_0x551e98['pos']+_0xa5e95c,_0x4292e0=new _0xe4c1ee['RootOperation']();_0x551e98['pos']<_0x26abe6;){var _0x3d6dea=_0x551e98['uint32']();if(_0x3d6dea===_0x3b88c)break;switch(_0x3d6dea>>>0x3){case 0x1:_0x4292e0['rootName']=_0x551e98['string']();break;case 0x2:_0x4292e0['elementName']=_0x551e98['string']();break;case 0x3:_0x4292e0['isAdd']=_0x551e98['bool']();break;case 0x4:_0x4292e0['wasUndone']=_0x551e98['bool']();break;default:_0x551e98['skipType'](0x7&_0x3d6dea,_0x5d1433);}}return _0x4292e0;},_0x466bfa['decodeDelimited']=function(_0x408f93){return _0x408f93 instanceof _0x5f4b89||(_0x408f93=new _0x5f4b89(_0x408f93)),this['decode'](_0x408f93,_0x408f93['uint32']());},_0x466bfa['verify']=function(_0x196183,_0x479a6c){return'object'!=typeof _0x196183||null===_0x196183?'object\x20expected':(void 0x0===_0x479a6c&&(_0x479a6c=0x0),_0x479a6c>_0x68e237['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x196183['rootName']&&_0x196183['hasOwnProperty']('rootName')&&!_0x68e237['isString'](_0x196183['rootName'])?'rootName:\x20string\x20expected':null!=_0x196183['elementName']&&_0x196183['hasOwnProperty']('elementName')&&!_0x68e237['isString'](_0x196183['elementName'])?'elementName:\x20string\x20expected':null!=_0x196183['isAdd']&&_0x196183['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x196183['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x196183['wasUndone']&&_0x196183['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x196183['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x466bfa['fromObject']=function(_0x127574,_0x16f26b){if(_0x127574 instanceof _0xe4c1ee['RootOperation'])return _0x127574;if(void 0x0===_0x16f26b&&(_0x16f26b=0x0),_0x16f26b>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x270be5=new _0xe4c1ee['RootOperation']();return null!=_0x127574['rootName']&&(_0x270be5['rootName']=String(_0x127574['rootName'])),null!=_0x127574['elementName']&&(_0x270be5['elementName']=String(_0x127574['elementName'])),null!=_0x127574['isAdd']&&(_0x270be5['isAdd']=Boolean(_0x127574['isAdd'])),null!=_0x127574['wasUndone']&&(_0x270be5['wasUndone']=Boolean(_0x127574['wasUndone'])),_0x270be5;},_0x466bfa['toObject']=function(_0x5db047,_0x113e52){_0x113e52||(_0x113e52={});var _0x7c83f3={};return _0x113e52['defaults']&&(_0x7c83f3['rootName']='',_0x7c83f3['elementName']='',_0x7c83f3['isAdd']=!0x1,_0x7c83f3['wasUndone']=!0x1),null!=_0x5db047['rootName']&&_0x5db047['hasOwnProperty']('rootName')&&(_0x7c83f3['rootName']=_0x5db047['rootName']),null!=_0x5db047['elementName']&&_0x5db047['hasOwnProperty']('elementName')&&(_0x7c83f3['elementName']=_0x5db047['elementName']),null!=_0x5db047['isAdd']&&_0x5db047['hasOwnProperty']('isAdd')&&(_0x7c83f3['isAdd']=_0x5db047['isAdd']),null!=_0x5db047['wasUndone']&&_0x5db047['hasOwnProperty']('wasUndone')&&(_0x7c83f3['wasUndone']=_0x5db047['wasUndone']),_0x7c83f3;},_0x466bfa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x466bfa['getTypeUrl']=function(_0xd903f0){return void 0x0===_0xd903f0&&(_0xd903f0='type.googleapis.com'),_0xd903f0+'/RootOperation';},_0x466bfa;}()),_0xe4c1ee['SplitOperation']=(function(){function _0xe33122(_0x16e705){if(_0x16e705){for(var _0x8161e=Object['keys'](_0x16e705),_0x16bf58=0x0;_0x16bf58<_0x8161e['length'];++_0x16bf58)null!=_0x16e705[_0x8161e[_0x16bf58]]&&'__proto__'!==_0x8161e[_0x16bf58]&&(this[_0x8161e[_0x16bf58]]=_0x16e705[_0x8161e[_0x16bf58]]);}}return _0xe33122['prototype']['splitPosition']=null,_0xe33122['prototype']['graveyardPosition']=null,_0xe33122['prototype']['howMany']=0x0,_0xe33122['prototype']['insertionPosition']=null,_0xe33122['prototype']['wasUndone']=!0x1,_0xe33122['create']=function(_0x1178b7){return new _0xe33122(_0x1178b7);},_0xe33122['encode']=function(_0x50b909,_0x210ef7){return _0x210ef7||(_0x210ef7=_0x25f659['create']()),null!=_0x50b909['splitPosition']&&Object['hasOwnProperty']['call'](_0x50b909,'splitPosition')&&_0xe4c1ee['Position']['encode'](_0x50b909['splitPosition'],_0x210ef7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x50b909['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x50b909,'graveyardPosition')&&_0xe4c1ee['Position']['encode'](_0x50b909['graveyardPosition'],_0x210ef7['uint32'](0x12)['fork']())['ldelim'](),null!=_0x50b909['howMany']&&Object['hasOwnProperty']['call'](_0x50b909,'howMany')&&_0x210ef7['uint32'](0x18)['uint32'](_0x50b909['howMany']),null!=_0x50b909['insertionPosition']&&Object['hasOwnProperty']['call'](_0x50b909,'insertionPosition')&&_0xe4c1ee['Position']['encode'](_0x50b909['insertionPosition'],_0x210ef7['uint32'](0x22)['fork']())['ldelim'](),null!=_0x50b909['wasUndone']&&Object['hasOwnProperty']['call'](_0x50b909,'wasUndone')&&_0x210ef7['uint32'](0x28)['bool'](_0x50b909['wasUndone']),_0x210ef7;},_0xe33122['encodeDelimited']=function(_0x2df57c,_0x5a8ca4){return this['encode'](_0x2df57c,_0x5a8ca4)['ldelim']();},_0xe33122['decode']=function(_0x3f4911,_0x551009,_0x44842c,_0x35e111){if(_0x3f4911 instanceof _0x5f4b89||(_0x3f4911=_0x5f4b89['create'](_0x3f4911)),void 0x0===_0x35e111&&(_0x35e111=0x0),_0x35e111>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27293d=void 0x0===_0x551009?_0x3f4911['len']:_0x3f4911['pos']+_0x551009,_0x2163f0=new _0xe4c1ee['SplitOperation']();_0x3f4911['pos']<_0x27293d;){var _0x42a4c8=_0x3f4911['uint32']();if(_0x42a4c8===_0x44842c)break;switch(_0x42a4c8>>>0x3){case 0x1:_0x2163f0['splitPosition']=_0xe4c1ee['Position']['decode'](_0x3f4911,_0x3f4911['uint32'](),void 0x0,_0x35e111+0x1);break;case 0x2:_0x2163f0['graveyardPosition']=_0xe4c1ee['Position']['decode'](_0x3f4911,_0x3f4911['uint32'](),void 0x0,_0x35e111+0x1);break;case 0x3:_0x2163f0['howMany']=_0x3f4911['uint32']();break;case 0x4:_0x2163f0['insertionPosition']=_0xe4c1ee['Position']['decode'](_0x3f4911,_0x3f4911['uint32'](),void 0x0,_0x35e111+0x1);break;case 0x5:_0x2163f0['wasUndone']=_0x3f4911['bool']();break;default:_0x3f4911['skipType'](0x7&_0x42a4c8,_0x35e111);}}return _0x2163f0;},_0xe33122['decodeDelimited']=function(_0x1ca19a){return _0x1ca19a instanceof _0x5f4b89||(_0x1ca19a=new _0x5f4b89(_0x1ca19a)),this['decode'](_0x1ca19a,_0x1ca19a['uint32']());},_0xe33122['verify']=function(_0x27e307,_0x550017){if('object'!=typeof _0x27e307||null===_0x27e307)return'object\x20expected';if(void 0x0===_0x550017&&(_0x550017=0x0),_0x550017>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x125dfd;if(null!=_0x27e307['splitPosition']&&_0x27e307['hasOwnProperty']('splitPosition')&&(_0x125dfd=_0xe4c1ee['Position']['verify'](_0x27e307['splitPosition'],_0x550017+0x1)))return'splitPosition.'+_0x125dfd;if(null!=_0x27e307['graveyardPosition']&&_0x27e307['hasOwnProperty']('graveyardPosition')&&(_0x125dfd=_0xe4c1ee['Position']['verify'](_0x27e307['graveyardPosition'],_0x550017+0x1)))return'graveyardPosition.'+_0x125dfd;if(null!=_0x27e307['howMany']&&_0x27e307['hasOwnProperty']('howMany')&&!_0x68e237['isInteger'](_0x27e307['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x27e307['insertionPosition']&&_0x27e307['hasOwnProperty']('insertionPosition')&&(_0x125dfd=_0xe4c1ee['Position']['verify'](_0x27e307['insertionPosition'],_0x550017+0x1)))return'insertionPosition.'+_0x125dfd;return null!=_0x27e307['wasUndone']&&_0x27e307['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x27e307['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xe33122['fromObject']=function(_0x443c96,_0x42feb3){if(_0x443c96 instanceof _0xe4c1ee['SplitOperation'])return _0x443c96;if(void 0x0===_0x42feb3&&(_0x42feb3=0x0),_0x42feb3>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34db63=new _0xe4c1ee['SplitOperation']();if(null!=_0x443c96['splitPosition']){if('object'!=typeof _0x443c96['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x34db63['splitPosition']=_0xe4c1ee['Position']['fromObject'](_0x443c96['splitPosition'],_0x42feb3+0x1);}if(null!=_0x443c96['graveyardPosition']){if('object'!=typeof _0x443c96['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x34db63['graveyardPosition']=_0xe4c1ee['Position']['fromObject'](_0x443c96['graveyardPosition'],_0x42feb3+0x1);}if(null!=_0x443c96['howMany']&&(_0x34db63['howMany']=_0x443c96['howMany']>>>0x0),null!=_0x443c96['insertionPosition']){if('object'!=typeof _0x443c96['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x34db63['insertionPosition']=_0xe4c1ee['Position']['fromObject'](_0x443c96['insertionPosition'],_0x42feb3+0x1);}return null!=_0x443c96['wasUndone']&&(_0x34db63['wasUndone']=Boolean(_0x443c96['wasUndone'])),_0x34db63;},_0xe33122['toObject']=function(_0x126e6b,_0x1f5144){_0x1f5144||(_0x1f5144={});var _0x4133ed={};return _0x1f5144['defaults']&&(_0x4133ed['splitPosition']=null,_0x4133ed['graveyardPosition']=null,_0x4133ed['howMany']=0x0,_0x4133ed['insertionPosition']=null,_0x4133ed['wasUndone']=!0x1),null!=_0x126e6b['splitPosition']&&_0x126e6b['hasOwnProperty']('splitPosition')&&(_0x4133ed['splitPosition']=_0xe4c1ee['Position']['toObject'](_0x126e6b['splitPosition'],_0x1f5144)),null!=_0x126e6b['graveyardPosition']&&_0x126e6b['hasOwnProperty']('graveyardPosition')&&(_0x4133ed['graveyardPosition']=_0xe4c1ee['Position']['toObject'](_0x126e6b['graveyardPosition'],_0x1f5144)),null!=_0x126e6b['howMany']&&_0x126e6b['hasOwnProperty']('howMany')&&(_0x4133ed['howMany']=_0x126e6b['howMany']),null!=_0x126e6b['insertionPosition']&&_0x126e6b['hasOwnProperty']('insertionPosition')&&(_0x4133ed['insertionPosition']=_0xe4c1ee['Position']['toObject'](_0x126e6b['insertionPosition'],_0x1f5144)),null!=_0x126e6b['wasUndone']&&_0x126e6b['hasOwnProperty']('wasUndone')&&(_0x4133ed['wasUndone']=_0x126e6b['wasUndone']),_0x4133ed;},_0xe33122['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0xe33122['getTypeUrl']=function(_0x599632){return void 0x0===_0x599632&&(_0x599632='type.googleapis.com'),_0x599632+'/SplitOperation';},_0xe33122;}()),_0xe4c1ee['Position']=(function(){function _0x39b03a(_0x55d589){if(this['path']=[],_0x55d589){for(var _0x4ca55d=Object['keys'](_0x55d589),_0x352b11=0x0;_0x352b11<_0x4ca55d['length'];++_0x352b11)null!=_0x55d589[_0x4ca55d[_0x352b11]]&&'__proto__'!==_0x4ca55d[_0x352b11]&&(this[_0x4ca55d[_0x352b11]]=_0x55d589[_0x4ca55d[_0x352b11]]);}}return _0x39b03a['prototype']['root']='',_0x39b03a['prototype']['rootMain']=!0x1,_0x39b03a['prototype']['rootGraveyard']=!0x1,_0x39b03a['prototype']['path']=_0x68e237['emptyArray'],_0x39b03a['prototype']['stickiness']='',_0x39b03a['create']=function(_0x173eaf){return new _0x39b03a(_0x173eaf);},_0x39b03a['encode']=function(_0x3285fe,_0x3deba7){if(_0x3deba7||(_0x3deba7=_0x25f659['create']()),null!=_0x3285fe['root']&&Object['hasOwnProperty']['call'](_0x3285fe,'root')&&_0x3deba7['uint32'](0xa)['string'](_0x3285fe['root']),null!=_0x3285fe['rootMain']&&Object['hasOwnProperty']['call'](_0x3285fe,'rootMain')&&_0x3deba7['uint32'](0x10)['bool'](_0x3285fe['rootMain']),null!=_0x3285fe['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x3285fe,'rootGraveyard')&&_0x3deba7['uint32'](0x18)['bool'](_0x3285fe['rootGraveyard']),null!=_0x3285fe['path']&&_0x3285fe['path']['length']){_0x3deba7['uint32'](0x22)['fork']();for(var _0x4f9ffb=0x0;_0x4f9ffb<_0x3285fe['path']['length'];++_0x4f9ffb)_0x3deba7['uint32'](_0x3285fe['path'][_0x4f9ffb]);_0x3deba7['ldelim']();}return null!=_0x3285fe['stickiness']&&Object['hasOwnProperty']['call'](_0x3285fe,'stickiness')&&_0x3deba7['uint32'](0x2a)['string'](_0x3285fe['stickiness']),_0x3deba7;},_0x39b03a['encodeDelimited']=function(_0x186851,_0x5bf2a3){return this['encode'](_0x186851,_0x5bf2a3)['ldelim']();},_0x39b03a['decode']=function(_0x50152e,_0x8d5df9,_0x4fa924,_0x551531){if(_0x50152e instanceof _0x5f4b89||(_0x50152e=_0x5f4b89['create'](_0x50152e)),void 0x0===_0x551531&&(_0x551531=0x0),_0x551531>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x24a51c=void 0x0===_0x8d5df9?_0x50152e['len']:_0x50152e['pos']+_0x8d5df9,_0x3982cd=new _0xe4c1ee['Position']();_0x50152e['pos']<_0x24a51c;){var _0x17eb7a=_0x50152e['uint32']();if(_0x17eb7a===_0x4fa924)break;switch(_0x17eb7a>>>0x3){case 0x1:_0x3982cd['root']=_0x50152e['string']();break;case 0x2:_0x3982cd['rootMain']=_0x50152e['bool']();break;case 0x3:_0x3982cd['rootGraveyard']=_0x50152e['bool']();break;case 0x4:if(_0x3982cd['path']&&_0x3982cd['path']['length']||(_0x3982cd['path']=[]),0x2==(0x7&_0x17eb7a)){for(var _0x521a6d=_0x50152e['uint32']()+_0x50152e['pos'];_0x50152e['pos']<_0x521a6d;)_0x3982cd['path']['push'](_0x50152e['uint32']());}else _0x3982cd['path']['push'](_0x50152e['uint32']());break;case 0x5:_0x3982cd['stickiness']=_0x50152e['string']();break;default:_0x50152e['skipType'](0x7&_0x17eb7a,_0x551531);}}return _0x3982cd;},_0x39b03a['decodeDelimited']=function(_0x5eeb70){return _0x5eeb70 instanceof _0x5f4b89||(_0x5eeb70=new _0x5f4b89(_0x5eeb70)),this['decode'](_0x5eeb70,_0x5eeb70['uint32']());},_0x39b03a['verify']=function(_0x54bef9,_0x515386){if('object'!=typeof _0x54bef9||null===_0x54bef9)return'object\x20expected';if(void 0x0===_0x515386&&(_0x515386=0x0),_0x515386>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x54bef9['root']&&_0x54bef9['hasOwnProperty']('root')&&!_0x68e237['isString'](_0x54bef9['root']))return'root:\x20string\x20expected';if(null!=_0x54bef9['rootMain']&&_0x54bef9['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x54bef9['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x54bef9['rootGraveyard']&&_0x54bef9['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x54bef9['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x54bef9['path']&&_0x54bef9['hasOwnProperty']('path')){if(!Array['isArray'](_0x54bef9['path']))return'path:\x20array\x20expected';for(var _0x26891c=0x0;_0x26891c<_0x54bef9['path']['length'];++_0x26891c)if(!_0x68e237['isInteger'](_0x54bef9['path'][_0x26891c]))return'path:\x20integer[]\x20expected';}return null!=_0x54bef9['stickiness']&&_0x54bef9['hasOwnProperty']('stickiness')&&!_0x68e237['isString'](_0x54bef9['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x39b03a['fromObject']=function(_0x49aeb5,_0x4d7f70){if(_0x49aeb5 instanceof _0xe4c1ee['Position'])return _0x49aeb5;if(void 0x0===_0x4d7f70&&(_0x4d7f70=0x0),_0x4d7f70>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x540a0e=new _0xe4c1ee['Position']();if(null!=_0x49aeb5['root']&&(_0x540a0e['root']=String(_0x49aeb5['root'])),null!=_0x49aeb5['rootMain']&&(_0x540a0e['rootMain']=Boolean(_0x49aeb5['rootMain'])),null!=_0x49aeb5['rootGraveyard']&&(_0x540a0e['rootGraveyard']=Boolean(_0x49aeb5['rootGraveyard'])),_0x49aeb5['path']){if(!Array['isArray'](_0x49aeb5['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x540a0e['path']=[];for(var _0x30caad=0x0;_0x30caad<_0x49aeb5['path']['length'];++_0x30caad)_0x540a0e['path'][_0x30caad]=_0x49aeb5['path'][_0x30caad]>>>0x0;}return null!=_0x49aeb5['stickiness']&&(_0x540a0e['stickiness']=String(_0x49aeb5['stickiness'])),_0x540a0e;},_0x39b03a['toObject']=function(_0xce4620,_0x300584){_0x300584||(_0x300584={});var _0x545cd0={};if((_0x300584['arrays']||_0x300584['defaults'])&&(_0x545cd0['path']=[]),_0x300584['defaults']&&(_0x545cd0['root']='',_0x545cd0['rootMain']=!0x1,_0x545cd0['rootGraveyard']=!0x1,_0x545cd0['stickiness']=''),null!=_0xce4620['root']&&_0xce4620['hasOwnProperty']('root')&&(_0x545cd0['root']=_0xce4620['root']),null!=_0xce4620['rootMain']&&_0xce4620['hasOwnProperty']('rootMain')&&(_0x545cd0['rootMain']=_0xce4620['rootMain']),null!=_0xce4620['rootGraveyard']&&_0xce4620['hasOwnProperty']('rootGraveyard')&&(_0x545cd0['rootGraveyard']=_0xce4620['rootGraveyard']),_0xce4620['path']&&_0xce4620['path']['length']){_0x545cd0['path']=[];for(var _0x21b9d7=0x0;_0x21b9d7<_0xce4620['path']['length'];++_0x21b9d7)_0x545cd0['path'][_0x21b9d7]=_0xce4620['path'][_0x21b9d7];}return null!=_0xce4620['stickiness']&&_0xce4620['hasOwnProperty']('stickiness')&&(_0x545cd0['stickiness']=_0xce4620['stickiness']),_0x545cd0;},_0x39b03a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x39b03a['getTypeUrl']=function(_0x116b37){return void 0x0===_0x116b37&&(_0x116b37='type.googleapis.com'),_0x116b37+'/Position';},_0x39b03a;}()),_0xe4c1ee['Range']=(function(){function _0x1eead7(_0x2b6be0){if(_0x2b6be0){for(var _0x23776f=Object['keys'](_0x2b6be0),_0x55cae1=0x0;_0x55cae1<_0x23776f['length'];++_0x55cae1)null!=_0x2b6be0[_0x23776f[_0x55cae1]]&&'__proto__'!==_0x23776f[_0x55cae1]&&(this[_0x23776f[_0x55cae1]]=_0x2b6be0[_0x23776f[_0x55cae1]]);}}return _0x1eead7['prototype']['start']=null,_0x1eead7['prototype']['end']=null,_0x1eead7['create']=function(_0x44086d){return new _0x1eead7(_0x44086d);},_0x1eead7['encode']=function(_0x2baaa5,_0x4da616){return _0x4da616||(_0x4da616=_0x25f659['create']()),null!=_0x2baaa5['start']&&Object['hasOwnProperty']['call'](_0x2baaa5,'start')&&_0xe4c1ee['Position']['encode'](_0x2baaa5['start'],_0x4da616['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2baaa5['end']&&Object['hasOwnProperty']['call'](_0x2baaa5,'end')&&_0xe4c1ee['Position']['encode'](_0x2baaa5['end'],_0x4da616['uint32'](0x12)['fork']())['ldelim'](),_0x4da616;},_0x1eead7['encodeDelimited']=function(_0x9b9ab8,_0x1983e3){return this['encode'](_0x9b9ab8,_0x1983e3)['ldelim']();},_0x1eead7['decode']=function(_0x121af3,_0x249ddd,_0x78f930,_0x5f144d){if(_0x121af3 instanceof _0x5f4b89||(_0x121af3=_0x5f4b89['create'](_0x121af3)),void 0x0===_0x5f144d&&(_0x5f144d=0x0),_0x5f144d>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x490324=void 0x0===_0x249ddd?_0x121af3['len']:_0x121af3['pos']+_0x249ddd,_0x304380=new _0xe4c1ee['Range']();_0x121af3['pos']<_0x490324;){var _0x283bc4=_0x121af3['uint32']();if(_0x283bc4===_0x78f930)break;switch(_0x283bc4>>>0x3){case 0x1:_0x304380['start']=_0xe4c1ee['Position']['decode'](_0x121af3,_0x121af3['uint32'](),void 0x0,_0x5f144d+0x1);break;case 0x2:_0x304380['end']=_0xe4c1ee['Position']['decode'](_0x121af3,_0x121af3['uint32'](),void 0x0,_0x5f144d+0x1);break;default:_0x121af3['skipType'](0x7&_0x283bc4,_0x5f144d);}}return _0x304380;},_0x1eead7['decodeDelimited']=function(_0xf6ba97){return _0xf6ba97 instanceof _0x5f4b89||(_0xf6ba97=new _0x5f4b89(_0xf6ba97)),this['decode'](_0xf6ba97,_0xf6ba97['uint32']());},_0x1eead7['verify']=function(_0x545070,_0x58560d){if('object'!=typeof _0x545070||null===_0x545070)return'object\x20expected';if(void 0x0===_0x58560d&&(_0x58560d=0x0),_0x58560d>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0xad53b2;if(null!=_0x545070['start']&&_0x545070['hasOwnProperty']('start')&&(_0xad53b2=_0xe4c1ee['Position']['verify'](_0x545070['start'],_0x58560d+0x1)))return'start.'+_0xad53b2;if(null!=_0x545070['end']&&_0x545070['hasOwnProperty']('end')&&(_0xad53b2=_0xe4c1ee['Position']['verify'](_0x545070['end'],_0x58560d+0x1)))return'end.'+_0xad53b2;return null;},_0x1eead7['fromObject']=function(_0x421974,_0x37b768){if(_0x421974 instanceof _0xe4c1ee['Range'])return _0x421974;if(void 0x0===_0x37b768&&(_0x37b768=0x0),_0x37b768>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x56cd2a=new _0xe4c1ee['Range']();if(null!=_0x421974['start']){if('object'!=typeof _0x421974['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x56cd2a['start']=_0xe4c1ee['Position']['fromObject'](_0x421974['start'],_0x37b768+0x1);}if(null!=_0x421974['end']){if('object'!=typeof _0x421974['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x56cd2a['end']=_0xe4c1ee['Position']['fromObject'](_0x421974['end'],_0x37b768+0x1);}return _0x56cd2a;},_0x1eead7['toObject']=function(_0x25aadc,_0x59c024){_0x59c024||(_0x59c024={});var _0x8e2f9={};return _0x59c024['defaults']&&(_0x8e2f9['start']=null,_0x8e2f9['end']=null),null!=_0x25aadc['start']&&_0x25aadc['hasOwnProperty']('start')&&(_0x8e2f9['start']=_0xe4c1ee['Position']['toObject'](_0x25aadc['start'],_0x59c024)),null!=_0x25aadc['end']&&_0x25aadc['hasOwnProperty']('end')&&(_0x8e2f9['end']=_0xe4c1ee['Position']['toObject'](_0x25aadc['end'],_0x59c024)),_0x8e2f9;},_0x1eead7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x1eead7['getTypeUrl']=function(_0x2ee749){return void 0x0===_0x2ee749&&(_0x2ee749='type.googleapis.com'),_0x2ee749+'/Range';},_0x1eead7;}()),_0xe4c1ee['Element']=(function(){function _0x9b09f8(_0x2bd9ab){if(this['children']=[],this['attributesBoolean']={},_0x2bd9ab){for(var _0x20f39c=Object['keys'](_0x2bd9ab),_0xdbbaa7=0x0;_0xdbbaa7<_0x20f39c['length'];++_0xdbbaa7)null!=_0x2bd9ab[_0x20f39c[_0xdbbaa7]]&&'__proto__'!==_0x20f39c[_0xdbbaa7]&&(this[_0x20f39c[_0xdbbaa7]]=_0x2bd9ab[_0x20f39c[_0xdbbaa7]]);}}return _0x9b09f8['prototype']['name']='',_0x9b09f8['prototype']['children']=_0x68e237['emptyArray'],_0x9b09f8['prototype']['data']='',_0x9b09f8['prototype']['attributesBoolean']=_0x68e237['emptyObject'],_0x9b09f8['prototype']['attributesJson']='',_0x9b09f8['create']=function(_0xb6aabe){return new _0x9b09f8(_0xb6aabe);},_0x9b09f8['encode']=function(_0xec913b,_0x4e2a4a){if(_0x4e2a4a||(_0x4e2a4a=_0x25f659['create']()),null!=_0xec913b['name']&&Object['hasOwnProperty']['call'](_0xec913b,'name')&&_0x4e2a4a['uint32'](0xa)['string'](_0xec913b['name']),null!=_0xec913b['children']&&_0xec913b['children']['length']){for(var _0x5cf576=0x0;_0x5cf576<_0xec913b['children']['length'];++_0x5cf576)_0xe4c1ee['Element']['encode'](_0xec913b['children'][_0x5cf576],_0x4e2a4a['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0xec913b['data']&&Object['hasOwnProperty']['call'](_0xec913b,'data')&&_0x4e2a4a['uint32'](0x1a)['string'](_0xec913b['data']),null!=_0xec913b['attributesBoolean']&&Object['hasOwnProperty']['call'](_0xec913b,'attributesBoolean')){var _0x23d1f4=Object['keys'](_0xec913b['attributesBoolean']);for(_0x5cf576=0x0;_0x5cf576<_0x23d1f4['length'];++_0x5cf576)_0x4e2a4a['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x23d1f4[_0x5cf576])['uint32'](0x10)['bool'](_0xec913b['attributesBoolean'][_0x23d1f4[_0x5cf576]])['ldelim']();}return null!=_0xec913b['attributesJson']&&Object['hasOwnProperty']['call'](_0xec913b,'attributesJson')&&_0x4e2a4a['uint32'](0x2a)['string'](_0xec913b['attributesJson']),_0x4e2a4a;},_0x9b09f8['encodeDelimited']=function(_0x58ed94,_0x319372){return this['encode'](_0x58ed94,_0x319372)['ldelim']();},_0x9b09f8['decode']=function(_0x294d17,_0x54f22c,_0x4d196c,_0x36f06b){if(_0x294d17 instanceof _0x5f4b89||(_0x294d17=_0x5f4b89['create'](_0x294d17)),void 0x0===_0x36f06b&&(_0x36f06b=0x0),_0x36f06b>_0x5f4b89['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xc7a26b,_0x18bf3e,_0x4268ad=void 0x0===_0x54f22c?_0x294d17['len']:_0x294d17['pos']+_0x54f22c,_0x43be28=new _0xe4c1ee['Element']();_0x294d17['pos']<_0x4268ad;){var _0x1b3d8d=_0x294d17['uint32']();if(_0x1b3d8d===_0x4d196c)break;switch(_0x1b3d8d>>>0x3){case 0x1:_0x43be28['name']=_0x294d17['string']();break;case 0x2:_0x43be28['children']&&_0x43be28['children']['length']||(_0x43be28['children']=[]),_0x43be28['children']['push'](_0xe4c1ee['Element']['decode'](_0x294d17,_0x294d17['uint32'](),void 0x0,_0x36f06b+0x1));break;case 0x3:_0x43be28['data']=_0x294d17['string']();break;case 0x4:_0x43be28['attributesBoolean']===_0x68e237['emptyObject']&&(_0x43be28['attributesBoolean']={});var _0x41ee43=_0x294d17['uint32']()+_0x294d17['pos'];for(_0xc7a26b='',_0x18bf3e=!0x1;_0x294d17['pos']<_0x41ee43;){var _0x26fd82=_0x294d17['uint32']();switch(_0x26fd82>>>0x3){case 0x1:_0xc7a26b=_0x294d17['string']();break;case 0x2:_0x18bf3e=_0x294d17['bool']();break;default:_0x294d17['skipType'](0x7&_0x26fd82,_0x36f06b);}}'__proto__'===_0xc7a26b&&_0x68e237['makeProp'](_0x43be28['attributesBoolean'],_0xc7a26b),_0x43be28['attributesBoolean'][_0xc7a26b]=_0x18bf3e;break;case 0x5:_0x43be28['attributesJson']=_0x294d17['string']();break;default:_0x294d17['skipType'](0x7&_0x1b3d8d,_0x36f06b);}}return _0x43be28;},_0x9b09f8['decodeDelimited']=function(_0x12ec2a){return _0x12ec2a instanceof _0x5f4b89||(_0x12ec2a=new _0x5f4b89(_0x12ec2a)),this['decode'](_0x12ec2a,_0x12ec2a['uint32']());},_0x9b09f8['verify']=function(_0x416ebf,_0x5f211d){if('object'!=typeof _0x416ebf||null===_0x416ebf)return'object\x20expected';if(void 0x0===_0x5f211d&&(_0x5f211d=0x0),_0x5f211d>_0x68e237['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x416ebf['name']&&_0x416ebf['hasOwnProperty']('name')&&!_0x68e237['isString'](_0x416ebf['name']))return'name:\x20string\x20expected';if(null!=_0x416ebf['children']&&_0x416ebf['hasOwnProperty']('children')){if(!Array['isArray'](_0x416ebf['children']))return'children:\x20array\x20expected';for(var _0x5cb8a1=0x0;_0x5cb8a1<_0x416ebf['children']['length'];++_0x5cb8a1){var _0x469197=_0xe4c1ee['Element']['verify'](_0x416ebf['children'][_0x5cb8a1],_0x5f211d+0x1);if(_0x469197)return'children.'+_0x469197;}}if(null!=_0x416ebf['data']&&_0x416ebf['hasOwnProperty']('data')&&!_0x68e237['isString'](_0x416ebf['data']))return'data:\x20string\x20expected';if(null!=_0x416ebf['attributesBoolean']&&_0x416ebf['hasOwnProperty']('attributesBoolean')){if(!_0x68e237['isObject'](_0x416ebf['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x383c12=Object['keys'](_0x416ebf['attributesBoolean']);for(_0x5cb8a1=0x0;_0x5cb8a1<_0x383c12['length'];++_0x5cb8a1)if('boolean'!=typeof _0x416ebf['attributesBoolean'][_0x383c12[_0x5cb8a1]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x416ebf['attributesJson']&&_0x416ebf['hasOwnProperty']('attributesJson')&&!_0x68e237['isString'](_0x416ebf['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x9b09f8['fromObject']=function(_0x6aeb67,_0x426374){if(_0x6aeb67 instanceof _0xe4c1ee['Element'])return _0x6aeb67;if(void 0x0===_0x426374&&(_0x426374=0x0),_0x426374>_0x68e237['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b32eb=new _0xe4c1ee['Element']();if(null!=_0x6aeb67['name']&&(_0x1b32eb['name']=String(_0x6aeb67['name'])),_0x6aeb67['children']){if(!Array['isArray'](_0x6aeb67['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x1b32eb['children']=[];for(var _0x2a8ca7=0x0;_0x2a8ca7<_0x6aeb67['children']['length'];++_0x2a8ca7){if('object'!=typeof _0x6aeb67['children'][_0x2a8ca7])throw TypeError('.Element.children:\x20object\x20expected');_0x1b32eb['children'][_0x2a8ca7]=_0xe4c1ee['Element']['fromObject'](_0x6aeb67['children'][_0x2a8ca7],_0x426374+0x1);}}if(null!=_0x6aeb67['data']&&(_0x1b32eb['data']=String(_0x6aeb67['data'])),_0x6aeb67['attributesBoolean']){if('object'!=typeof _0x6aeb67['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x1b32eb['attributesBoolean']={};var _0x298dfd=Object['keys'](_0x6aeb67['attributesBoolean']);for(_0x2a8ca7=0x0;_0x2a8ca7<_0x298dfd['length'];++_0x2a8ca7)'__proto__'===_0x298dfd[_0x2a8ca7]&&_0x68e237['makeProp'](_0x1b32eb['attributesBoolean'],_0x298dfd[_0x2a8ca7]),_0x1b32eb['attributesBoolean'][_0x298dfd[_0x2a8ca7]]=Boolean(_0x6aeb67['attributesBoolean'][_0x298dfd[_0x2a8ca7]]);}return null!=_0x6aeb67['attributesJson']&&(_0x1b32eb['attributesJson']=String(_0x6aeb67['attributesJson'])),_0x1b32eb;},_0x9b09f8['toObject']=function(_0x128628,_0x39f56e){_0x39f56e||(_0x39f56e={});var _0x475942,_0x314c39={};if((_0x39f56e['arrays']||_0x39f56e['defaults'])&&(_0x314c39['children']=[]),(_0x39f56e['objects']||_0x39f56e['defaults'])&&(_0x314c39['attributesBoolean']={}),_0x39f56e['defaults']&&(_0x314c39['name']='',_0x314c39['data']='',_0x314c39['attributesJson']=''),null!=_0x128628['name']&&_0x128628['hasOwnProperty']('name')&&(_0x314c39['name']=_0x128628['name']),_0x128628['children']&&_0x128628['children']['length']){_0x314c39['children']=[];for(var _0x35963b=0x0;_0x35963b<_0x128628['children']['length'];++_0x35963b)_0x314c39['children'][_0x35963b]=_0xe4c1ee['Element']['toObject'](_0x128628['children'][_0x35963b],_0x39f56e);}if(null!=_0x128628['data']&&_0x128628['hasOwnProperty']('data')&&(_0x314c39['data']=_0x128628['data']),_0x128628['attributesBoolean']&&(_0x475942=Object['keys'](_0x128628['attributesBoolean']))['length']){_0x314c39['attributesBoolean']={};for(_0x35963b=0x0;_0x35963b<_0x475942['length'];++_0x35963b)'__proto__'===_0x475942[_0x35963b]&&_0x68e237['makeProp'](_0x314c39['attributesBoolean'],_0x475942[_0x35963b]),_0x314c39['attributesBoolean'][_0x475942[_0x35963b]]=_0x128628['attributesBoolean'][_0x475942[_0x35963b]];}return null!=_0x128628['attributesJson']&&_0x128628['hasOwnProperty']('attributesJson')&&(_0x314c39['attributesJson']=_0x128628['attributesJson']),_0x314c39;},_0x9b09f8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56b58e['util']['toJSONOptions']);},_0x9b09f8['getTypeUrl']=function(_0x17f92a){return void 0x0===_0x17f92a&&(_0x17f92a='type.googleapis.com'),_0x17f92a+'/Element';},_0x9b09f8;}()),_0xe4c1ee;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x1b9dde;}['getDescriptor'](_0x133f44){return new ProtobufDescriptor(this['_protobufRoot'][_0x133f44]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x3dce43){this['_protobuf']=_0x3dce43;}['compress'](_0x5209d2){const _0x2656d8=this['_protobuf']['verify'](_0x5209d2);if(_0x2656d8)throw Error(_0x2656d8);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x5209d2))['finish']();}['decompress'](_0x550fdb){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x550fdb),{'oneofs':!0x0});}}function _0x469015(_0x2d8c61,_0xcc9580){const _0x59413a=_0xdd0984(_0x2d8c61);return _0x59413a['path'][_0x59413a['path']['length']-0x1]+=_0xcc9580,_0x59413a;}function _0x561173(_0x153ee9,_0x276c47){return _0x153ee9['root']===_0x276c47['root']&&dt(_0x153ee9['path'],_0x276c47['path']);}function _0x4907c4(_0x2c409){_0x1e4c5d(_0x2c409,_0x2f5057=>('main'==_0x2f5057['root']?(_0x2f5057['rootMain']=!0x0,delete _0x2f5057['root']):'$graveyard'==_0x2f5057['root']&&(_0x2f5057['rootGraveyard']=!0x0,delete _0x2f5057['root']),_0x2f5057));}function _0x27be94(_0x2d8562){_0x1e4c5d(_0x2d8562,_0x4c3fbd=>(_0x4c3fbd['rootMain']?(_0x4c3fbd['root']='main',delete _0x4c3fbd['rootMain']):_0x4c3fbd['rootGraveyard']&&(_0x4c3fbd['root']='$graveyard',delete _0x4c3fbd['rootGraveyard']),_0x4c3fbd));}function _0x1e4c5d(_0x460321,_0x148155){for(const _0x733696 in _0x460321){const _0x342be3=_0x460321[_0x733696];'nodes'!==_0x733696&&_0x59622c(_0x342be3)&&(_0x342be3['path']&&(_0x342be3['root']||_0x342be3['rootMain']||_0x342be3['rootGraveyard'])?_0x460321[_0x733696]=_0x148155(_0x342be3):_0x1e4c5d(_0x342be3,_0x148155));}return _0x460321;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x3bb865,_0x4da1d3,_0x5b0a34){this['_id']=_0x3bb865,this['_operationName']=_0x4da1d3,this['_protobufDescriptor']=_0x5b0a34;}['compress'](_0x36c159,_0x5ae953){const _0x4b7cd5=_0x5ae953['operations'][_0x5ae953['index']++];return _0x4907c4(_0x4b7cd5),_0x36c159['buffers']['push'](this['_protobufDescriptor']['compress'](_0x4b7cd5)),_0x36c159['types']['push'](this['_id']),!0x0;}['decompress'](_0x4a0f72,_0x2d4d79){_0x2d4d79['typeIndex']++;const _0x54540f=_0x2d4d79['buffers'][_0x2d4d79['bufferIndex']++],_0x2f7e0c=this['_protobufDescriptor']['decompress'](_0x54540f);_0x27be94(_0x2f7e0c),_0x2f7e0c['__className']=this['_operationName'],_0x4a0f72['push'](_0x2f7e0c);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x2b9405,_0x325be7){const _0x552a47=_0x325be7['operations'][_0x325be7['index']++];return this['_serializeOneOf']('oldValue',_0x552a47),this['_serializeOneOf']('newValue',_0x552a47),_0x4907c4(_0x552a47),_0x2b9405['buffers']['push'](this['_protobufDescriptor']['compress'](_0x552a47)),_0x2b9405['types']['push'](this['_id']),!0x0;}['decompress'](_0x4f34de,_0x3e9e94){_0x3e9e94['typeIndex']++;const _0x199b8a=_0x3e9e94['buffers'][_0x3e9e94['bufferIndex']++],_0x52893f=this['_protobufDescriptor']['decompress'](_0x199b8a);this['_deserializeOneOf']('oldValue',_0x52893f),this['_deserializeOneOf']('newValue',_0x52893f),_0x27be94(_0x52893f),_0x52893f['__className']=this['_operationName'],_0x4f34de['push'](_0x52893f);}['_serializeOneOf'](_0x97d46c,_0x20f447){const _0x1456a9=_0x20f447[_0x97d46c];'boolean'==typeof _0x1456a9?_0x20f447[_0x97d46c+'Boolean']=_0x1456a9:_0x20f447[_0x97d46c+'Json']=JSON['stringify'](_0x1456a9);}['_deserializeOneOf'](_0x25cc18,_0x3ea78e){const _0xab3c5e=_0x25cc18+'Json';_0x3ea78e[_0xab3c5e]?(_0x3ea78e[_0x25cc18]=JSON['parse'](_0x3ea78e[_0xab3c5e]),delete _0x3ea78e[_0xab3c5e]):(_0x3ea78e[_0x25cc18]=_0x3ea78e[_0x25cc18+'Boolean'],delete _0x3ea78e[_0x25cc18+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x472bc1,_0x1334fc){const _0x311e70=_0x1334fc['operations'][_0x1334fc['index']++];return this['_serializeNodesAttributes'](_0x311e70['nodes']),_0x4907c4(_0x311e70),_0x472bc1['buffers']['push'](this['_protobufDescriptor']['compress'](_0x311e70)),_0x472bc1['types']['push'](this['_id']),!0x0;}['decompress'](_0x50673c,_0x9695ed){_0x9695ed['typeIndex']++;const _0x20c72f=_0x9695ed['buffers'][_0x9695ed['bufferIndex']++],_0x2d7091=this['_protobufDescriptor']['decompress'](_0x20c72f);_0x2d7091['nodes']||(_0x2d7091['nodes']=[]),this['_deserializeNodesAttributes'](_0x2d7091['nodes']),_0x27be94(_0x2d7091),_0x2d7091['__className']=this['_operationName'],_0x50673c['push'](_0x2d7091);}['_serializeNodesAttributes'](_0x5e8063){for(const _0x49540e of _0x5e8063){if(_0x49540e['attributes']){const _0xc296e5=_0x49540e['attributes'];this['_areValuesBoolean'](_0xc296e5)?_0x49540e['attributesBoolean']=_0xc296e5:_0x49540e['attributesJson']=JSON['stringify'](_0xc296e5);}_0x49540e['children']&&this['_serializeNodesAttributes'](_0x49540e['children']);}}['_deserializeNodesAttributes'](_0x3e740c){for(const _0x4904c8 of _0x3e740c)(_0x4904c8['attributesBoolean']||_0x4904c8['attributesJson'])&&(_0x4904c8['attributesBoolean']?(_0x4904c8['attributes']=_0x4904c8['attributesBoolean'],delete _0x4904c8['attributesBoolean']):(_0x4904c8['attributes']=JSON['parse'](_0x4904c8['attributesJson']),delete _0x4904c8['attributesJson'])),_0x4904c8['children']&&this['_deserializeNodesAttributes'](_0x4904c8['children']);}['_areValuesBoolean'](_0x35b988){return Object['keys'](_0x35b988)['every'](_0xe6735a=>'boolean'==typeof _0x35b988[_0xe6735a]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x4ca508,_0x11c2a6){super['decompress'](_0x4ca508,_0x11c2a6);const _0x4f79f5=_0x4ca508[_0x4ca508['length']-0x1];_0x4f79f5['oldRange']||(_0x4f79f5['oldRange']=null),_0x4f79f5['newRange']||(_0x4f79f5['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x5dd732,_0x1094d9){return _0x1094d9['index']++,_0x5dd732['types']['push'](this['_id']),!0x0;}['decompress'](_0x3bb95a,_0xc61efa){_0xc61efa['typeIndex']++,_0x3bb95a['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x18ec27,_0x140753,_0x5699b9,_0x481cd4){super(_0x18ec27,_0x140753,_0x5699b9),this['_omittedNamespace']=_0x481cd4+':';}['compress'](_0x2da0c4,_0x55a1d8){const _0xf610e1=_0x55a1d8['operations'][_0x55a1d8['index']];return!('MarkerOperation'!=_0xf610e1['__className']||!_0xf610e1['name']['startsWith'](this['_omittedNamespace']))&&(_0xf610e1['name']=_0xf610e1['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x2da0c4,_0x55a1d8),!0x0);}['decompress'](_0x39d5d1,_0x82d50b){super['decompress'](_0x39d5d1,_0x82d50b);const _0x13eefc=_0x39d5d1[_0x39d5d1['length']-0x1];_0x13eefc['name']=this['_omittedNamespace']+_0x13eefc['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x1d11ed,_0x8fa068){this['_id']=_0x1d11ed,this['_context']=_0x8fa068;}['compress'](_0x19c77c,_0x32e11e){let _0x386f2f,_0x39a4ed=_0x32e11e['operations'][_0x32e11e['index']],_0x42390f=_0x32e11e['operations'][_0x32e11e['index']+0x1];for(;_0x42390f&&this['_compareOperations'](_0x39a4ed,_0x42390f);)_0x386f2f?(_0x386f2f=this['_combineNext'](_0x39a4ed,_0x386f2f),_0x19c77c['types']['push'](0x0)):(_0x386f2f=_0xdd0984(_0x39a4ed),_0x19c77c['types']['push'](this['_id'])),_0x32e11e['index']++,_0x39a4ed=_0x32e11e['operations'][_0x32e11e['index']],_0x42390f=_0x32e11e['operations'][_0x32e11e['index']+0x1];return!!_0x386f2f&&(_0x386f2f=this['_combineNext'](_0x32e11e['operations'][_0x32e11e['index']++],_0x386f2f),_0x19c77c['types']['push'](0x0),_0x19c77c['buffers']['push'](this['_compressSingleOperation'](_0x386f2f)),!0x0);}['decompress'](_0x112f77,_0x38a66a){const _0x3484f4=this['_decompressSingleOperation'](_0x38a66a);for(;0x0==_0x38a66a['types'][_0x38a66a['typeIndex']];)_0x38a66a['typeIndex']++,_0x112f77['push'](this['_splitCurrent'](_0x3484f4));_0x112f77['push'](_0x3484f4);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x31be51,_0xa6d2bc){return _0xa6d2bc['nodes'][0x0]['data']+=_0x31be51['nodes'][0x0]['data'],_0xa6d2bc;}['_splitCurrent'](_0x17bb34){const _0x3e7b1=_0xdd0984(_0x17bb34),_0x350c5c=_0x3e7b1['nodes'][0x0],_0x1c425c=_0x17bb34['nodes'][0x0],_0x19ffa3=_0x1c425c['data'][Symbol['iterator']]()['next']()['value'],_0x3e9545=_0x19ffa3['length'];return _0x350c5c['data']=_0x19ffa3,_0x1c425c['data']=_0x1c425c['data']['substr'](_0x3e9545),_0x17bb34['position']=_0x469015(_0x17bb34['position'],_0x3e9545),_0x3e7b1;}['_compareOperations'](_0x5bb6dc,_0x234635){if(this['_checkOperation'](_0x5bb6dc)&&this['_checkOperation'](_0x234635)){const _0x40968b=_0x5bb6dc['nodes'][0x0]['data']['length'],_0x2523e9=_0x561173(_0x469015(_0x5bb6dc['position'],_0x40968b),_0x234635['position']),_0x444c85=_0x5bb6dc['nodes'][0x0],_0x589e53=_0x234635['nodes'][0x0];return _0x2523e9&&this['_compareAttributes'](_0x444c85,_0x589e53);}return!0x1;}['_compressSingleOperation'](_0x58e719){const _0x442130={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x442130,{'operations':[_0x58e719],'index':0x0}),_0x442130['buffers'][0x0];}['_decompressSingleOperation'](_0x2285dc){const _0x472bdd=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x472bdd,_0x2285dc),_0x472bdd[0x0];}['_checkOperation'](_0x13eade){return'InsertOperation'==_0x13eade['__className']&&0x1==_0x13eade['nodes']['length']&&_0x13eade['nodes'][0x0]['data']&&!_0x13eade['wasUndone']&&0x1==Array['from'](_0x13eade['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x1d8367,_0x335767){const _0x3e71d9=Object['keys'](_0x1d8367['attributes']||{}),_0x2f0c12=Object['keys'](_0x335767['attributes']||{});return _0x3e71d9['length']===_0x2f0c12['length']&&_0x3e71d9['every'](_0x2b047e=>_0x335767['attributes'][_0x2b047e]&&_0x335767['attributes'][_0x2b047e]===_0x1d8367['attributes'][_0x2b047e]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x3325f2,_0x298807){return _0x298807['howMany']++,_0x298807['sourcePosition']=_0xdd0984(_0x3325f2['sourcePosition']),_0x298807;}['_splitCurrent'](_0x1f778a){const _0x704960=_0xdd0984(_0x1f778a);return _0x1f778a['howMany']--,_0x704960['howMany']=0x1,_0x704960['sourcePosition']=_0x469015(_0x704960['sourcePosition'],_0x1f778a['howMany']),_0x704960;}['_compareOperations'](_0x3e0e07,_0x8ba91b){return!(!this['_checkOperation'](_0x3e0e07)||!this['_checkOperation'](_0x8ba91b))&&(_0x561173(_0x469015(_0x3e0e07['sourcePosition'],-0x1),_0x8ba91b['sourcePosition'])&&_0x561173(_0x3e0e07['targetPosition'],_0x8ba91b['targetPosition']));}['_compressSingleOperation'](_0x4f14ca){const _0x10626f={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x10626f,{'operations':[_0x4f14ca],'index':0x0}),_0x10626f['buffers'][0x0];}['_decompressSingleOperation'](_0x2ed5bd){const _0x2e31cf=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x2e31cf,_0x2ed5bd),_0x2e31cf[0x0];}['_checkOperation'](_0x16b836){return'MoveOperation'==_0x16b836['__className']&&'$graveyard'==_0x16b836['targetPosition']['root']&&0x1==_0x16b836['howMany']&&!_0x16b836['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x2a2b0c,_0x143ca0){return _0x143ca0['howMany']++,_0x143ca0;}['_splitCurrent'](_0x1871b0){const _0x3b531a=_0xdd0984(_0x1871b0);return _0x3b531a['howMany']=0x1,_0x1871b0['howMany']--,_0x3b531a;}['_compareOperations'](_0x3173bd,_0xdb63cd){return!(!this['_checkOperation'](_0x3173bd)||!this['_checkOperation'](_0xdb63cd))&&(_0x561173(_0x3173bd['sourcePosition'],_0xdb63cd['sourcePosition'])&&_0x561173(_0x3173bd['targetPosition'],_0xdb63cd['targetPosition']));}['_compressSingleOperation'](_0x22c6e8){const _0x3dbac8={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3dbac8,{'operations':[_0x22c6e8],'index':0x0}),_0x3dbac8['buffers'][0x0];}['_decompressSingleOperation'](_0x44f39b){const _0x3d29e3=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x3d29e3,_0x44f39b),_0x3d29e3[0x0];}['_checkOperation'](_0x29e490){return'MoveOperation'==_0x29e490['__className']&&'$graveyard'==_0x29e490['targetPosition']['root']&&0x1==_0x29e490['howMany']&&!_0x29e490['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x265236,_0x374233){if(!this['_compareOperations'](_0x374233['operations'][_0x374233['index']],_0x374233['operations'][_0x374233['index']+0x1]))return!0x1;const _0x2a2903=_0x374233['operations'][_0x374233['index']++];return _0x2a2903['oldRange']=null,_0x2a2903['newRange']&&_0x561173(_0x2a2903['newRange']['start'],_0x2a2903['newRange']['end'])&&(_0x2a2903['newRange']['end']=null),_0x374233['index']++,_0x265236['types']['push'](this['_id']),_0x265236['types']['push'](0x0),_0x265236['buffers']['push'](this['_compressSingleOperation'](_0x2a2903)),!0x0;}['decompress'](_0x2f8ed9,_0x1dccb3){const _0xe20c3a=this['_decompressSingleOperation'](_0x1dccb3);_0xe20c3a['newRange']&&!_0xe20c3a['newRange']['end']&&(_0xe20c3a['newRange']['end']=_0xdd0984(_0xe20c3a['newRange']['start']));const _0x411d90=_0xdd0984(_0xe20c3a);_0x411d90['newRange']&&(_0x411d90['newRange']['start']['stickiness']='toNone',_0x411d90['newRange']['end']=_0xdd0984(_0x411d90['newRange']['start'])),_0x411d90['name']='user:position:'+_0x411d90['name']['split'](':')[0x2],_0x1dccb3['typeIndex']++,_0x2f8ed9['push'](_0xe20c3a),_0x2f8ed9['push'](_0x411d90);}['_compressSingleOperation'](_0x320769){const _0x5940b3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x5940b3,{'operations':[_0x320769],'index':0x0}),_0x5940b3['buffers'][0x0];}['_decompressSingleOperation'](_0xaaaec6){const _0x1d4cb1=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x1d4cb1,_0xaaaec6),_0x1d4cb1[0x0];}['_compareOperations'](_0x4b26b5,_0x1059aa){return!(!_0x4b26b5||!_0x1059aa)&&('MarkerOperation'==_0x4b26b5['__className']&&'MarkerOperation'==_0x1059aa['__className']&&!(!_0x4b26b5['name']['startsWith']('user:')||!_0x1059aa['name']['startsWith']('user:')||_0x4b26b5['name']==_0x1059aa['name']));}}class _0x2c9ca9{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x56b054=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x56b054,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x56b054,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x2cfcfd){if(!_0x2cfcfd||!_0x2cfcfd[0x0])throw new _0xa0ed63['CKEditorError']('no-operations-provided',this);const _0x532af6={'operations':_0x2cfcfd,'index':0x0},_0xd56896={'types':[],'buffers':[],'baseVersion':_0x2cfcfd[0x0]['baseVersion']};for(;_0x532af6['index']<_0x532af6['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0xd56896,_0x532af6))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0xd56896,_0x532af6))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0xd56896,_0x532af6))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0xd56896,_0x532af6))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0xd56896,_0x532af6))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0xd56896,_0x532af6))continue;const _0x1bc2da=_0x532af6['operations'][_0x532af6['index']]['__className'];this['_getCompressorByName'](_0x1bc2da)['compress'](_0xd56896,_0x532af6);}return _0xd56896;}['decompress'](_0x43e870){const _0x5c62fc=[],_0x59a4a6={'types':_0x43e870['types'],'buffers':_0x43e870['buffers'],'baseVersion':_0x43e870['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x59a4a6['typeIndex']<_0x59a4a6['types']['length'];){const _0x2ab32e=_0x59a4a6['types'][_0x59a4a6['typeIndex']],_0x4d60e2=this['_compressorById']['get'](_0x2ab32e);if(!_0x4d60e2)throw new _0xa0ed63['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x2ab32e});_0x4d60e2['decompress'](_0x5c62fc,_0x59a4a6);}return _0x5c62fc['forEach']((_0x16a356,_0x5c94ea)=>_0x16a356['baseVersion']=_0x43e870['baseVersion']+_0x5c94ea),_0x5c62fc;}['_getCompressorByName'](_0x543ca6){return this['_compressorByName']['get'](_0x543ca6);}['_registerOperationCompressor'](_0x198687,_0x210b47,_0x3f7975){const _0xce57d9=new _0x3f7975(_0x198687,_0x210b47,this['_protobufFactory']['getDescriptor'](_0x210b47));this['_registerCompressor'](_0x198687,_0x210b47,_0xce57d9);}['_registerActionCompressor'](_0x2a2fa2,_0x1f48a4,_0x5d172e){const _0x12768f=new _0x5d172e(_0x2a2fa2,this);this['_registerCompressor'](_0x2a2fa2,_0x1f48a4,_0x12768f);}['_registerCompressor'](_0x33caf9,_0x2310fe,_0x164260){this['_compressorById']['set'](_0x33caf9,_0x164260),this['_compressorByName']['set'](_0x2310fe,_0x164260);}}let _0x2d01bc=0x1;class RealTimeCollaborationClient extends _0xa0ed63['Plugin']{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>CollaborativeEditingService)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[WebSocketGateway,_0x3a6531,_0x4258ec,_0xa0ed63['PendingActions'],_0x16ef47,_0xa0ed63['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 _0x2bd524=this['serverHistory']['getOperations']();for(let _0x3c10f1=_0x2bd524['length']-0x1;_0x3c10f1>=0x0;_0x3c10f1--){const _0x3f501e=_0x2bd524[_0x3c10f1];if(!this['_disconnectionOperations']['has'](_0x3f501e))return _0x3f501e['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x2e9a60){if(super(_0x2e9a60),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0xa0ed63['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0xa0ed63['CKEditorError']('collaboration-missing-channelid',this);const _0x2bc994=_0x2e9a60['config']['get']('cloudServices.bundleVersion')||_0xa0ed63['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x2bc994,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x2c9ca9(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x5b6172=this['editor'],_0x3ac0b8=_0x5b6172['plugins']['get'](_0x16ef47),_0x43e5a4=_0x5b6172['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3ac0b8,'getOperationAuthor',(_0x441742,_0x56aef4)=>{const _0x3425bb=_0x56aef4[0x0];_0x3425bb['_authorId']&&(_0x441742['return']=_0x3ac0b8['getUser'](_0x3425bb['_authorId']),_0x441742['stop']()),null===_0x3425bb['_authorId']&&(_0x441742['return']=null,_0x441742['stop']());},{'priority':'high'}),this['listenTo'](_0x5b6172['model']['document']['selection'],'change:range',(_0x177508,_0x46a757)=>{_0x46a757['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x5b6172['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x5b6172['model']['on']('applyOperation',(_0x5993e3,_0x22a32d)=>{const _0x1f7914=_0x22a32d[0x0];_0x1f7914['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x1f7914),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x43e5a4,'state',this,'_hasSynchronizationProblem',(_0x2175ea,_0x393ba5)=>'connected'===_0x2175ea&&!_0x393ba5),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x5b6172['disableReadOnlyMode']('rtc-offline'):_0x5b6172['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x5b6172['disableReadOnlyMode']('rtc-offline'):_0x5b6172['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x409e80=this['editor']['plugins']['get'](_0x3a6531),_0x5c9f8c=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x409e80['unregister'](this['_channelId']);const _0x3749ec=await this['_service']['reconnect'](_0x5c9f8c['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x3749ec)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x14e8ce=await this['_service']['getConnectedSessions']();_0x409e80['register'](this['_channelId'],_0x14e8ce),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x3f94e7){if(function(_0x277f14){return'404'===_0x277f14['code'];}(_0x3f94e7)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x540f7d){return'409'===_0x540f7d['code'];}(_0x3f94e7)){const _0x5eb567=_0x2e7fc9(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'](_0x5eb567);}else{if(!(_0x3f94e7 instanceof ReconnectionError))throw _0x3f94e7;this['_handleReconnectionError']();}}}}['destroy'](){const _0x4cbeae=this['editor']['plugins']['get'](WebSocketGateway),_0x53ab3d=this['editor']['plugins']['get'](_0x3a6531);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x53ab3d['channelSessions']['has'](this['_channelId'])&&_0x53ab3d['unregister'](this['_channelId']),_0x4cbeae['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x516728){if(this['sessionId']!==_0x516728['sessionId']&&this['_lastSyncedOperationId']!==_0x516728['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x516728['sessionId'],this['_handleServerResponse']([],{..._0x516728,'wereChangesApplied':!0x1,'data':_0x516728['data']},'reconnect');}async['_connectService'](_0x54a1ab,_0x20aa20=!0x1){const {connection:_0x46391b}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x46391b,this['_channelId'])['then'](_0x25a221=>this['_initSessionsHandling'](_0x25a221))['catch'](_0x29bcc6=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x29bcc6);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x92c969,_0x2fe25a)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x2fe25a);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x26cba9=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x54a1ab);this['_isPendingUpdate']=!0x0;const _0x26af81=await this['_service']['connect'](_0x46391b,this['_compressOperations'](_0x54a1ab),_0x26cba9);if(this['sessionId']=_0x26af81['sessionId'],_0x20aa20){if(!_0x26af81['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x26af81['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x54a1ab,_0x26af81,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x26af81,_0x54a1ab);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0xa9934=this['editor']['plugins']['get'](_0x3a6531),_0x22f2e3=this['editor']['plugins']['get'](_0x4258ec),_0x367095=_0xa9934['channelSessions']['get'](this['_channelId']);_0x367095&&_0x367095['length']>0x1?_0x22f2e3['createUserMarkerOperations']():this['listenTo'](_0xa9934,'sessionAdd:'+this['_channelId'],()=>{0x2===_0xa9934['channelSessions']['get'](this['_channelId'])['length']&&_0x22f2e3['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x4c915f,_0x1e340f,_0x368595,_0xd47727){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x1e340f){const _0x519e79=this['_decompressOperations'](_0x368595,_0xd47727);await this['_fetchMissingUsers'](_0x519e79),this['_handleExternalOperations'](_0x519e79,_0x1e340f,_0x368595['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x6507ad}=this['editor'];let _0x38bd57;try{_0x38bd57=await this['_service']['getDocumentDetails']();}catch{const _0x5cb5b0=_0x2e7fc9(_0x6507ad,'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'](_0x5cb5b0);}const _0x3ef166=_0x38bd57['currentDocumentSession']||_0x38bd57['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x3ef166['lastOperationId']){const _0x15b874=_0x2e7fc9(_0x6507ad,'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'](_0x15b874);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x516c6c){const _0x4f17fd=this['editor']['plugins']['get'](_0x3a6531);this['listenTo'](_0x4f17fd,'sessionAdd:'+this['_channelId'],(_0x423f87,{session:_0x44d15e})=>{if(_0x44d15e['id']===_0x4f17fd['mySessionId']){_0x423f87['off']();const _0x4fad84=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x3fe170=_0x44d15e['permissions'];_0x4fad84&&_0x4fad84['isEnabled']&&(_0x3fe170=_0x3fe170['filter'](_0x3aaee5=>'document:write'!==_0x3aaee5)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x3fe170,this['_channelId']);}}),_0x4f17fd['register'](this['_channelId'],_0x516c6c);}['_initThrowingOnDataSet'](){const _0xcc5a47=this['editor']['data']['set'];this['editor']['data']['set']=(..._0xd4e619)=>{if(!_0xd4e619[_0xd4e619['length']-0x1]['suppressErrorInCollaboration'])throw new _0xa0ed63['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0xcc5a47['apply'](this['editor']['data'],_0xd4e619);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x5666ea,[_0x3d41c6])=>{if(this['_document']['version'])throw new _0xa0ed63['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x5666ea['stop'](),this['_setPendingAction']();const _0x4f04a7=this['editor']['config']['get']('rootsAttributes'),_0x5d32af=this['_getOperationsFromInitData'](_0x3d41c6,_0x4f04a7);0x0==_0x5d32af['length']&&_0x5d32af['push'](new _0xa0ed63['NoOperation'](0x0)),_0x5666ea['return']=this['_connectService'](_0x5d32af)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x2bfcde=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x2bfcde))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x4967de,[_0x3389f9,_0x2d5898])=>{_0x4967de['stop']();const _0x94c6ac=this['editor']['model']['document']['getRoot'](_0x3389f9);if(!this['_knownRootNames']['has'](_0x3389f9)){const _0x54046e=_0x2d5898&&_0x2d5898['data']?_0x2d5898['data']:'',_0x44deb9=_0x2d5898&&_0x2d5898['attributes']?_0x2d5898['attributes']:{};await this['_loadRoot'](_0x3389f9,_0x54046e,_0x44deb9);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x94c6ac['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x94c6ac);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x296e8a){const _0x33bceb=this['editor']['plugins']['get'](_0x16ef47),{connection:_0x5dcd20}=this['editor']['plugins']['get'](WebSocketGateway),_0x6d80ee=new Set();for(const _0x5b6192 of _0x296e8a){const _0x43745e=_0x5b6192['_authorId'];_0x43745e&&!_0x33bceb['getUser'](_0x43745e)&&_0x6d80ee['add'](_0x43745e);}if(0x0===_0x6d80ee['size'])return;const _0x2263f1=await _0x5e3fa9['getMany'](_0x5dcd20,Array['from'](_0x6d80ee));for(const _0x1c71b2 of _0x2263f1)_0x33bceb['getUser'](_0x1c71b2['id'])||_0x33bceb['addUser'](_0x1c71b2);}['_getOperationsFromInitData'](_0x301e76,_0x4555b0={}){const _0x497ea4=this['editor']['model'],_0x33547d=[];let _0xbd0950=0x0;const _0xd215ac='string'==typeof _0x301e76?{'main':_0x301e76}:_0x301e76;for(const _0x38261b of Object['keys'](_0xd215ac)){if(!this['_document']['roots']['has'](_0x38261b))throw new _0xa0ed63['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x30c5dc=this['editor']['data']['parse'](_0xd215ac[_0x38261b]),_0x272e26=this['_document']['getRoot'](_0x38261b),_0x40b91c=new _0xa0ed63['InsertOperation'](_0x497ea4['createPositionAt'](_0x272e26,0x0),_0x30c5dc,_0xbd0950++);_0x33547d['push'](_0x40b91c);for(const [_0x264946,_0x55ebca]of _0x30c5dc['markers']){const _0x5c94ca=_0x497ea4['createRange'](_0x497ea4['createPositionFromPath'](_0x272e26,_0x55ebca['start']['path']['slice']()),_0x497ea4['createPositionFromPath'](_0x272e26,_0x55ebca['end']['path']['slice']())),_0x5060a7=new _0xa0ed63['MarkerOperation'](_0x264946,null,_0x5c94ca,_0x497ea4['markers'],!0x0,_0xbd0950++);_0x33547d['push'](_0x5060a7);}}if(_0x4555b0)for(const [_0x4ea57b,_0x1d1376]of Object['entries'](_0x4555b0)){const _0x31fbe5=_0x497ea4['document']['getRoot'](_0x4ea57b);if(!_0x31fbe5)throw new _0xa0ed63['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x283ed9,_0x310598]of Object['entries'](_0x1d1376))if(null!==_0x310598){const _0x2e553d=new _0xa0ed63['RootAttributeOperation'](_0x31fbe5,_0x283ed9,null,_0x310598,_0xbd0950++);_0x33547d['push'](_0x2e553d);}}return _0x33547d;}async['_loadRoot'](_0x109455,_0x402b6b,_0x2ecceb){this['_getOperationsFromInitData']({[_0x109455]:_0x402b6b},{[_0x109455]:_0x2ecceb})['forEach']((_0x3e9c69,_0x5edd5d)=>{_0x3e9c69['baseVersion']=this['_document']['version']+_0x5edd5d,_0x3e9c69['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x3e9c69);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x119f4d,_0x1117d6){let _0xabed5e;this['_offset']=_0x119f4d['offset'];const _0x33178e=_0x119f4d['wereChangesApplied']&&!_0x119f4d['initData'],_0x5023f2=_0x33178e?0x0:_0x119f4d['data']['baseVersion'];if(_0x1117d6['forEach'](_0x4e150c=>{_0x4e150c['_isInit']=!0x0,_0x4e150c['createdAt']=_0x119f4d['sessionCreatedAt'],_0x4e150c['_authorId']=null;}),_0x33178e)_0xabed5e=_0x1117d6,this['_applyOperationsSet'](_0xabed5e,_0x33178e);else{if(_0x119f4d['initData']){const _0xd59a27=this['_getOperationsFromInitData'](_0x119f4d['initData']);this['_document']['history']['version']=-_0xd59a27['length'],_0xd59a27['forEach'](_0x4f7210=>{_0x4f7210['baseVersion']-=_0xd59a27['length'],_0x4f7210['createdAt']=_0x119f4d['sessionCreatedAt'],_0x4f7210['_isInit']=!0x0,_0x4f7210['_authorId']=null;}),this['_applyOperationsSet'](_0xd59a27,!0x0),this['serverHistory']['version']=-_0xd59a27['length']+this['_offset'],this['_updateServerHistory'](_0xd59a27);}this['_document']['history']['version']=_0x5023f2,_0xabed5e=this['_decompressOperations'](_0x119f4d['data'],_0x119f4d['metadata']),await this['_fetchMissingUsers'](_0xabed5e),this['_applyOperationsSet'](_0xabed5e,_0x33178e);}_0x119f4d['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0xabed5e,_0x119f4d['lastOperationId']),this['_lastSyncedOperationId']=_0x119f4d['lastOperationId']),this['serverHistory']['version']=_0x5023f2+this['_offset'],this['_updateServerHistory'](_0xabed5e),_0x1117d6['filter'](_0x4a045e=>{const _0xf154d0=this['_getAffectedRoot'](_0x4a045e);return _0xf154d0&&!this['_knownRootNames']['has'](_0xf154d0);})['forEach']((_0x10940e,_0x4035d3)=>{_0x10940e['baseVersion']=this['_document']['version']+_0x4035d3,this['_saveOperationInBuffer'](_0x10940e);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x462cf9,_0x5d6ce3){const _0x4bcc17=_0x5d6ce3&&_0x5d6ce3['message'];if(_0x4bcc17&&_0x4bcc17['startsWith']('realtimecollaborationclient'))throw _0x5d6ce3;const _0xa12b96=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0xa12b96['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0xa0ed63['CKEditorError'](_0x462cf9,this['editor'],_0x4bcc17?{'originalError':_0x4bcc17}:void 0x0);}['_saveOperationInBuffer'](_0x526344){this['_knownOperations']['has'](_0x526344)||(this['_knownOperations']['add'](_0x526344),this['_bufferedOperations']['push'](_0x526344),this['_pendingAction']||'marker'==_0x526344['type']&&!_0x526344['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x2b7da0=!0x1){!_0x2b7da0&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x4b4dc7=>{_0x4b4dc7&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x28b9b8=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x692943){return _0x692943['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x692943['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x692943['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x28b9b8)||this['_crash'](_0x28b9b8['message'],_0x28b9b8);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x4fcedc=>{this['on']('change:_isPendingUpdate',()=>{_0x4fcedc();});});}async['_sendBufferedOperations'](){const _0x438d30=this['editor']['plugins']['get'](_0x4258ec);if(this['_shouldSendSelectionUpdate']()&&(_0x438d30['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x3bcdbe=[...this['_bufferedOperations']];for(const _0x2534bb of _0x3bcdbe)_0x2534bb['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x2534bb);const _0x3abb9e=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x3bcdbe),_0x53121e=_0x2d01bc++,_0x14dd9e=this['_compressOperations'](_0x3bcdbe),_0x3a1400=await this['_service']['sendOperations'](_0x14dd9e,_0x14dd9e['baseVersion'],_0x3abb9e);try{return await this['_handleServerResponse'](_0x3bcdbe,_0x3a1400,_0x53121e);}catch(_0x5015e5){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x5015e5);}}async['_handleServerResponse'](_0x1a8fe0,_0x347335,_0x5aa11a){if('error'in _0x347335)throw _0x347335['error'];let _0x2c02aa=!0x1;if(_0x347335['wereChangesApplied']){_0x347335['lastOperationId']&&(this['_lastSyncedOperationId']=_0x347335['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x1f61f3=>!_0x1a8fe0['includes'](_0x1f61f3));for(const _0x4d9897 of _0x1a8fe0)_0x4d9897['createdAt']='lastOperationAcceptedAt'in _0x347335&&_0x347335['lastOperationAcceptedAt']||void 0x0;_0x3e78ab(_0x1a8fe0,_0x347335['version']-_0x1a8fe0['length']),this['_updateServerHistory'](_0x1a8fe0);const _0x2086a2=_0x1a8fe0['filter'](_0x20a95e=>{if(!_0x20a95e['_isInit'])return!0x1;const _0x2eac4e=this['_getAffectedRoot'](_0x20a95e);return _0x2eac4e&&!this['_knownRootNames']['has'](_0x2eac4e);});_0x3e78ab(_0x2086a2,this['_document']['version']),this['_applyOperationsSet'](_0x2086a2),_0x2c02aa=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x46ce28=this['_decompressOperations'](_0x347335['data'],_0x347335['metadata'])['filter'](_0x8df51f=>_0x8df51f['baseVersion']>=this['_lastServerVersion']);_0x46ce28['forEach'](_0xdf4a64=>this['_addKnownRoot'](_0xdf4a64)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x1ce41e=>!_0x1ce41e['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x1ce41e))),this['_bufferedOperations']['length']&&_0x3e78ab(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x46ce28),_0x2c02aa=this['_handleExternalOperations'](_0x46ce28,_0x347335['version'],_0x347335['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x2c02aa?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x214b6d,_0x4d40e8,_0x3c314a){try{const _0x3c15b8={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5d8624,operationsB:_0x17b897,originalOperations:_0x35d885}=_0xa0ed63['transformOperationSets'](_0x214b6d,this['_bufferedOperations'],_0x3c15b8);_0x3e78ab(_0x5d8624,this['_document']['version']),_0x3e78ab(_0x17b897,_0x4d40e8);for(const _0x183a29 of _0x5d8624){const _0x32ec9c=_0x35d885['get'](_0x183a29);_0x183a29['_authorId']=_0x32ec9c?_0x32ec9c['_authorId']:null;}_0x3c314a&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x214b6d,_0x3c314a),this['_lastSyncedOperationId']=_0x3c314a),this['_bufferedOperations']=[..._0x17b897],this['_applyOperationsSet'](_0x5d8624),this['_updateServerHistory'](_0x214b6d);}catch(_0xf6f597){return console['error'](_0xf6f597),!0x1;}return!0x0;}['_applyOperationsSet'](_0x35c4ea,_0x4ccb6d=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x1cf4da=>{for(const _0x5375e2 of _0x35c4ea)this['_knownOperations']['add'](_0x5375e2),this['_addKnownRoot'](_0x5375e2),_0x1cf4da['batch']['addOperation'](_0x5375e2),this['editor']['model']['applyOperation'](_0x5375e2);});}['_addKnownRoot'](_0x457f00){const _0x32295d=this['_getAffectedRoot'](_0x457f00);_0x32295d&&this['_knownRootNames']['add'](_0x32295d);}['_getAffectedRoot'](_0x46490b){let _0x4363a6,_0x26e3ec;switch(_0x46490b['type']){case'insert':_0x4363a6=_0x46490b['position']['root'];break;case'marker':if(_0x26e3ec=_0x46490b['newRange'],!_0x26e3ec)return null;_0x4363a6=_0x26e3ec['root'];break;case'addRootAttribute':_0x4363a6=_0x46490b['root'];break;case'addRoot':_0x4363a6=_0x46490b['affectedSelectable'];break;case'move':_0x4363a6=_0x46490b['targetPosition']['root'];break;default:return null;}return _0x4363a6['rootName'];}['_updateServerHistory'](_0x44dc5f){_0x44dc5f['forEach'](_0x205af6=>{const _0x5a1657=_0x205af6['clone']();_0x5a1657['_authorId']=_0x205af6['_authorId'],_0x5a1657['_isInit']=!!_0x205af6['_isInit'],_0x5a1657['createdAt']=_0x205af6['createdAt'],_0x5a1657['baseVersion']+=this['_offset'],_0x205af6['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x5a1657),this['serverHistory']['addOperation'](_0x5a1657);});}['_handleReconnectionError'](_0x5d9d7a){const _0x30bed0=this['editor']['plugins']['get']('Notification'),_0x483d6b=this['editor']['locale'];_0x5d9d7a||(_0x5d9d7a=_0x2e7fc9(_0x483d6b,'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.')),_0x30bed0['showWarning'](_0x5d9d7a,{'title':_0x2e7fc9(_0x483d6b,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0xa0ed63['PendingActions'])['add'](_0x2e7fc9(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0xa0ed63['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x52ebd5){const _0x2decec=_0x52ebd5['map'](_0x4f7406=>_0x4f7406['toJSON']());return this['_compressor']['compress'](_0x2decec);}['_decompressOperations'](_0x3bef27,_0x5d2dd2){return this['_compressor']['decompress'](_0x3bef27)['map']((_0x357a27,_0x558bbf)=>{const _0x40e185='init'==_0x5d2dd2[_0x558bbf]['type'];if('InsertOperation'==_0x357a27['__className']){const _0x573b85=_0x357a27['position']['root'];!this['_document']['getRoot'](_0x573b85)&&(this['_document']['createRoot']('$root',_0x573b85)['_isAttached']=!0x1);}const _0x499794=_0xa0ed63['OperationFactory']['fromJSON'](_0x357a27,this['_document']);return _0x499794['wasUndone']=_0x357a27['wasUndone'],_0x499794['_isInit']=_0x40e185,_0x499794['_authorId']=_0x40e185?null:_0x5d2dd2[_0x558bbf]['userId'],_0x499794['_isDisconnection']='cs:removeUser'===_0x5d2dd2[_0x558bbf]['type'],_0x499794['createdAt']=_0x5d2dd2[_0x558bbf]['createdAt'],_0x499794;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x360305=this['editor']['plugins']['get'](_0x3a6531)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x360305&&_0x360305['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function _0x3e78ab(_0x43db1e,_0x43ddc8){for(const _0x17da39 of _0x43db1e)_0x17da39['baseVersion']=_0x43ddc8++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x33f78f){this['_ignoredOperations']=_0x33f78f,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x3a334a){let _0x50b71c=_0x3a334a['length'];for(;_0x50b71c--;){const _0x46b101=_0x3a334a[_0x50b71c];if(!this['_ignoredOperations']['has'](_0x46b101)){if(!this['_operationToId']['has'](_0x46b101)){const _0x102638=_0xa0ed63['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x46b101,_0x102638);}return this['_operationToId']['get'](_0x46b101);}}}['setIdForTheLastOperation'](_0x232157,_0x559af0){if(!_0x559af0)return;let _0x2bb0a4=_0x232157['length'];for(;_0x2bb0a4--;){const _0x4f325a=_0x232157[_0x2bb0a4];this['_ignoredOperations']['has'](_0x4f325a)||this['_operationToId']['set'](_0x4f325a,_0x559af0);}}}class RealTimeCollaborativeEditing extends _0xa0ed63['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends _0xa0ed63['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',_0x3a6531,_0x16ef47];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59d882){super(_0x59d882),this['_services']=new Map();}async['init'](){const _0x413c2b=this['context'],_0x5d514b=_0x413c2b['plugins']['get']('CommentsRepository');if(_0x413c2b['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x5d514b['adapter']={'addCommentThread':async({channelId:_0x13c0bb,threadId:_0x35bcf8,comments:_0x16db97,resolvedAt:_0x1f55b0,resolvedBy:_0x390f24,context:_0x3b6dcd,attributes:_0xac8f79})=>{const _0x184231=await this['_getService'](_0x13c0bb)['addCommentThread']({'commentThreadId':_0x35bcf8,'comments':_0x16db97['map'](_0x2c658f=>function(_0x2cde24,_0x268bcb,_0x15e600){return{'commentThreadId':_0x15e600,'commentId':_0x2cde24['commentId'],'userId':_0x2cde24['authorId'],'content':_0x2cde24['content'],'documentId':_0x268bcb,'createdAt':_0x2cde24['createdAt'],'attributes':_0x2cde24['attributes']||{}};}(_0x2c658f,_0x13c0bb,_0x35bcf8)),'resolvedAt':_0x1f55b0,'resolvedBy':_0x390f24,'context':_0x3b6dcd,'attributes':_0xac8f79})['catch'](_0x206bbb);return{'threadId':_0x184231['commentThreadId'],'comments':_0x184231['comments']};},'getCommentThread':async({channelId:_0x34a1e3,threadId:_0x5afea5})=>{const _0x18932b=await this['_getService'](_0x34a1e3)['getCommentThread'](_0x5afea5)['catch'](_0x9964eb)['catch'](_0x206bbb);return _0x18932b?_0x18932b['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x18932b]),{'threadId':_0x18932b['commentThreadId'],'comments':_0x18932b['comments']['map'](_0x1c2875),'context':_0x18932b['context'],'resolvedAt':_0x18932b['resolvedAt'],'resolvedBy':_0x18932b['resolvedBy'],'attributes':_0x18932b['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x2820b1,threadId:_0x4f98a3,context:_0x1c9d0c,unlinkedAt:_0x90079d,attributes:_0x222c9b})=>this['_getService'](_0x2820b1)['updateCommentThread']({'commentThreadId':_0x4f98a3,'context':_0x1c9d0c,'attributes':_0x222c9b,'unlinkedAt':_0x90079d})['catch'](_0x9964eb)['catch'](_0x206bbb),'resolveCommentThread':async({channelId:_0x4d8f29,threadId:_0xaf3ab4})=>{const _0x3aeaec=await this['_getService'](_0x4d8f29)['resolveCommentThread'](_0xaf3ab4)['catch'](_0x9964eb)['catch'](_0x206bbb);return{'threadId':_0x3aeaec['commentThreadId'],'resolvedAt':_0x3aeaec['resolvedAt'],'resolvedBy':_0x3aeaec['resolvedBy']};},'reopenCommentThread':async({channelId:_0x52ad40,threadId:_0x254590})=>this['_getService'](_0x52ad40)['reopenCommentThread'](_0x254590)['catch'](_0x9964eb)['catch'](_0x206bbb),'removeCommentThread':({channelId:_0xd2356b,threadId:_0x33b9d5})=>this['_getService'](_0xd2356b)['removeCommentThread'](_0x33b9d5)['catch'](_0x9964eb)['catch'](_0x206bbb),'addComment':({channelId:_0x115b9d,threadId:_0x507cc5,commentId:_0x204ae2,content:_0x5071dc,attributes:_0x352e7c})=>this['_getService'](_0x115b9d)['addComment'](_0x507cc5,_0x204ae2,_0x5071dc,_0x352e7c)['catch'](_0x206bbb),'updateComment':({channelId:_0x386bae,threadId:_0x33a75c,commentId:_0x25a76d,content:_0x42a470,attributes:_0x3183fe})=>this['_getService'](_0x386bae)['updateComment'](_0x33a75c,_0x25a76d,_0x42a470,_0x3183fe)['catch'](_0x9964eb)['catch'](_0x206bbb),'removeComment':({channelId:_0x35640a,threadId:_0x5e5f0a,commentId:_0x2e2d4e})=>this['_getService'](_0x35640a)['removeComment'](_0x5e5f0a,_0x2e2d4e)['catch'](_0x9964eb)['catch'](_0x206bbb)},_0x413c2b instanceof _0xa0ed63['Context']){const _0x47dc04=_0x413c2b['config']['get']('collaboration.channelId'),_0x504174=_0x413c2b['plugins']['get'](_0x3a6531);await this['_setUpService'](_0x47dc04);const _0x14b48d=await this['_services']['get'](_0x47dc04)['getConnectedSessions']();this['listenTo'](_0x504174,'sessionAdd:'+_0x47dc04,(_0xbc869f,{session:_0xac7ec6})=>{_0xac7ec6['id']===_0x504174['mySessionId']&&(_0xbc869f['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0xac7ec6['permissions'],_0x47dc04));}),_0x504174['register'](_0x47dc04,_0x14b48d);}}async['_setUpService'](_0x29a0c1){if(this['_services']['has'](_0x29a0c1))throw new _0xa0ed63['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x29a0c1});const _0x257ca8=this['context']['plugins']['get']('CommentsRepository'),_0x3b56c3=new CloudServicesCommentsAdapter['CommentsService'](_0x29a0c1);this['_services']['set'](_0x29a0c1,_0x3b56c3),this['listenTo'](_0x3b56c3,'commentThreadAdded',(_0x42e966,_0x1cbfde)=>{const {commentThreadId:_0x264c14,documentId:_0x5f5ac4,context:_0x2aef98,attributes:_0x2c2a7b,resolvedAt:_0x5555bd,resolvedBy:_0x1097cc,comments:_0x16924e}=_0x1cbfde;_0x257ca8['getCommentThread'](_0x264c14)||_0x257ca8['addCommentThread']({'threadId':_0x264c14,'channelId':_0x5f5ac4,'comments':_0x16924e?_0x16924e['map'](_0x1c2875):[],'context':_0x2aef98,'attributes':_0x2c2a7b,'resolvedAt':_0x5555bd,'resolvedBy':_0x1097cc,'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentThreadUpdated',(_0x4460a7,{commentThreadId:_0x4f8897,documentId:_0x1635c6,context:_0x3ffa8b,unlinkedAt:_0x223786,attributes:_0x22f64b})=>{_0x257ca8['getCommentThread'](_0x4f8897)&&_0x257ca8['updateCommentThread']({'threadId':_0x4f8897,'channelId':_0x1635c6,'context':_0x3ffa8b,'unlinkedAt':_0x223786,'attributes':_0x22f64b,'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentThreadResolved',(_0xc5306a,{commentThreadId:_0x162659,resolvedBy:_0x50ef7b,resolvedAt:_0x2ccc99})=>{const _0x1fb2e8=_0x257ca8['getCommentThread'](_0x162659);_0x1fb2e8&&_0x1fb2e8['resolve']({'resolvedBy':_0x50ef7b,'resolvedAt':_0x2ccc99,'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentThreadReopened',(_0x1ca252,{commentThreadId:_0x589de4})=>{const _0x169ad9=_0x257ca8['getCommentThread'](_0x589de4);_0x169ad9&&_0x169ad9['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentThreadRemoved',(_0x52b615,{commentThreadId:_0x464d48})=>{const _0x299049=_0x257ca8['getCommentThread'](_0x464d48);_0x299049&&_0x299049['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentAdded',(_0x1f2cb1,_0x39bf2a)=>{const _0x2cbdf4=_0x39bf2a['commentThreadId'],_0x46a53d=_0x257ca8['getCommentThread'](_0x2cbdf4);_0x46a53d&&_0x46a53d['addComment']({..._0x1c2875(_0x39bf2a),'isFromAdapter':!0x0});}),this['listenTo'](_0x3b56c3,'commentUpdated',(_0x3fa67f,{commentThreadId:_0x7e24b1,commentId:_0x1b2348,content:_0x3c6cd,attributes:_0x3ed5fa})=>{const _0x4abcb6=_0x257ca8['getCommentThread'](_0x7e24b1);if(_0x4abcb6){const _0x3b7706=_0x4abcb6['getComment'](_0x1b2348);_0x3b7706&&_0x3b7706['update']({'content':_0x3c6cd,'attributes':_0x3ed5fa,'isFromAdapter':!0x0});}}),this['listenTo'](_0x3b56c3,'commentRemoved',(_0x33791e,{commentThreadId:_0x28154f,commentId:_0x2d0a1d})=>{const _0x500968=_0x257ca8['getCommentThread'](_0x28154f);if(_0x500968){const _0x464d74=_0x500968['getComment'](_0x2d0a1d);_0x464d74&&_0x464d74['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x29a0c1);}['destroy'](){if(this['context']instanceof _0xa0ed63['Context']){const _0x2d85c9=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x2d85c9);}}['_terminateService'](_0xa0afb5){if(!this['_services']['has'](_0xa0afb5))throw new _0xa0ed63['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0xa0afb5});this['_getService'](_0xa0afb5)['disconnect'](),this['_services']['delete'](_0xa0afb5);}async['reconnect'](){for(const _0x278ddb of this['_services']['keys']())await this['_connectService'](_0x278ddb);if(this['context']instanceof _0xa0ed63['Context']){const _0x579a96=this['context']['config']['get']('collaboration.channelId'),_0x4973df=this['context']['plugins']['get'](_0x3a6531);_0x4973df['unregister'](_0x579a96);const _0x42ff53=await this['_services']['get'](_0x579a96)['getConnectedSessions']();_0x4973df['register'](_0x579a96,_0x42ff53);}}async['_connectService'](_0x266703){const {connection:_0x366015}=this['context']['plugins']['get'](WebSocketGateway),_0x141064=this['context']['plugins']['get']('CommentsRepository'),_0x297621=this['_services']['get'](_0x266703),_0x32534f=await _0x297621['connect'](_0x366015);await this['_fetchMissingUsersForThreads'](_0x32534f);const _0x433016=new Set(Array['from'](_0x141064['getCommentThreads']({'channelId':_0x266703}),_0x43b67c=>_0x43b67c['id']));for(const _0x4a6ad9 of _0x32534f)_0x4a6ad9['deletedAt']||_0x433016['delete'](_0x4a6ad9['commentThreadId']);for(const _0xb8bbe9 of _0x433016)_0x141064['getCommentThread'](_0xb8bbe9)['remove']({'isFromAdapter':!0x0});for(const _0x471b2a of _0x32534f){let _0x1bc44e=_0x141064['getCommentThread'](_0x471b2a['commentThreadId']);const {commentThreadId:_0x34a8c4,context:_0x5e9c98,attributes:_0x3b8c77,resolvedBy:_0x4064c0,resolvedAt:_0x18a713,unlinkedAt:_0x5038d3,deletedAt:_0x4b4f5a}=_0x471b2a;if(_0x4b4f5a)continue;_0x1bc44e||(_0x1bc44e=_0x141064['addCommentThread']({'channelId':_0x266703,'threadId':_0x34a8c4,'context':_0x5e9c98,'attributes':_0x3b8c77||{},'resolvedBy':_0x4064c0,'resolvedAt':_0x18a713,'unlinkedAt':_0x5038d3,'isFromAdapter':!0x0}));const _0x5368f8=new Set(Array['from'](_0x1bc44e['comments'],_0x5bd10e=>_0x5bd10e['id']));for(const _0x412228 of _0x471b2a['comments'])_0x5368f8['delete'](_0x412228['commentId']);for(const _0x3fcbd2 of _0x5368f8)_0x1bc44e['getComment'](_0x3fcbd2)['remove']({'isFromAdapter':!0x0});for(const _0x2edca8 of _0x471b2a['comments']){const _0x86459c=_0x1bc44e['getComment'](_0x2edca8['commentId']);_0x86459c?_0x86459c['content']!==_0x2edca8['content']&&_0x86459c['update']({'content':_0x2edca8['content'],'isFromAdapter':!0x0}):_0x1bc44e['addComment'](Object['assign'](_0x1c2875(_0x2edca8),{'isFromAdapter':!0x0}));}}}['_getService'](_0x28b4ab){if(!this['_services']['has'](_0x28b4ab))throw new _0xa0ed63['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x28b4ab});return this['_services']['get'](_0x28b4ab);}async['_fetchMissingUsersForThreads'](_0x3eb2b1){const _0x3b7e78=this['context']['plugins']['get'](_0x16ef47),{connection:_0x197fb0}=this['context']['plugins']['get'](WebSocketGateway),_0x151530=new Set();for(const {resolvedBy:_0x2ddaaa,comments:_0x483b07}of _0x3eb2b1){_0x2ddaaa&&!_0x3b7e78['getUser'](_0x2ddaaa)&&_0x151530['add'](_0x2ddaaa);for(const {userId:_0x594218}of _0x483b07)_0x3b7e78['getUser'](_0x594218)||_0x151530['add'](_0x594218);}if(0x0===_0x151530['size'])return;const _0x1e91a2=await _0x5e3fa9['getMany'](_0x197fb0,Array['from'](_0x151530));for(const _0x1708fa of _0x1e91a2)_0x3b7e78['getUser'](_0x1708fa['id'])||_0x3b7e78['addUser'](_0x1708fa);}}async function _0x9964eb(_0x22ce9c){if('404'!==_0x22ce9c['code'])throw _0x22ce9c;}function _0x206bbb(_0x446f8c){if((_0x15bcae=_0x446f8c)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x15bcae['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x15bcae['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x15bcae;throw _0x446f8c;}function _0x1c2875(_0x3ac61e){return{'threadId':_0x3ac61e['commentThreadId'],'commentId':_0x3ac61e['commentId'],'content':_0x3ac61e['content'],'createdAt':_0x3ac61e['createdAt'],'authorId':_0x3ac61e['userId'],'attributes':_0x3ac61e['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0xa0ed63['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x9492f0)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[CloudServicesCommentsAdapter,'TrackChangesEditing',WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3e2dfc){super(_0x3e2dfc);const _0x1922c2=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x1922c2);}['init'](){const _0x388cde=this['editor']['plugins']['get'](WebSocketGateway),_0x3882e6=this['editor']['plugins']['get']('TrackChangesEditing');return _0x3882e6['adapter']={'getSuggestion':async _0x2745f3=>{await this['_waitForServiceReady']();const _0x2e7699=await this['_trackChangesService']['get'](_0x2745f3)['catch'](_0x187801);return await this['_fetchMissingUsersForThreads']([_0x2e7699]),_0x2e7699;},'addSuggestion':async({id:_0x57ee6c,type:_0xcd739c,data:_0x25dd61,originalSuggestionId:_0x75a1f3,attributes:_0x20b9d6})=>{await this['_waitForServiceReady']();const _0x17ce72={'id':_0x57ee6c,'type':_0xcd739c,'data':_0x25dd61,'originalSuggestionId':_0x75a1f3,'attributes':_0x20b9d6},_0x298154=await this['_trackChangesService']['add'](_0x57ee6c,_0xcd739c,_0x25dd61,_0x75a1f3,_0x20b9d6)['catch'](_0x7eb257=>{if(tm(_0x7eb257))return new Promise(_0x27adb8=>{this['_bufferedRequests']['set'](_0x57ee6c,{'resolve':_0x27adb8,'suggestionData':_0x17ce72});});throw _0x7eb257;});return this['_bufferedRequests']['delete'](_0x57ee6c),_0x298154;},'updateSuggestion':async(_0x591199,_0x5c9480)=>{if(await this['_waitForServiceReady'](),'open'!==_0x5c9480['state'])return this['_trackChangesService']['update'](_0x591199,_0x5c9480)['catch'](_0x187801);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0xe79d78,_0x2579da)=>{_0x3882e6['hasSuggestion'](_0x2579da['id'])&&(_0x3882e6['getSuggestion'](_0x2579da['id'])['attributes']=_0x2579da['attributes']);}),this['_trackChangesService']['connect'](_0x388cde['connection'])['then'](_0xda2e47=>(_0x388cde['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0xda2e47)['then'](()=>{for(const _0x1a90ca of _0xda2e47){_0x3882e6['addSuggestionData'](_0x1a90ca)['_saved']=!0x0;}})));}async['reconnect'](){const _0x5b8dc2=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x3aed18}=this['editor']['plugins']['get'](WebSocketGateway),_0x440e1e=await this['_trackChangesService']['connect'](_0x3aed18);await this['_fetchMissingUsersForThreads'](_0x440e1e);for(const {suggestionData:_0x25283c,resolve:_0x5c1157}of this['_bufferedRequests']['values']()){let _0x5e7853=_0x440e1e['find'](_0x3634f3=>_0x3634f3['id']===_0x25283c['id']);_0x5e7853||(_0x5e7853=await this['_trackChangesService']['add'](_0x25283c['id'],_0x25283c['type'],_0x25283c['data'],_0x25283c['originalSuggestionId'])),_0x5c1157(_0x5e7853);}for(const _0xcb5a1 of _0x440e1e)_0x5b8dc2['hasSuggestion'](_0xcb5a1['id'])||_0x5b8dc2['addSuggestionData'](_0xcb5a1);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x211929=>{this['listenTo'](this['_trackChangesService'],'connected',_0x2ff06b=>{_0x2ff06b['off'](),_0x211929();});});}async['_fetchMissingUsersForThreads'](_0x1c37ba){const _0x27a83a=this['editor']['plugins']['get'](_0x16ef47),{connection:_0x1196b3}=this['editor']['plugins']['get'](WebSocketGateway),_0x1578d6=new Set();for(const {authorId:_0x3ae118}of _0x1c37ba)_0x27a83a['getUser'](_0x3ae118)||_0x1578d6['add'](_0x3ae118);if(0x0===_0x1578d6['size'])return;const _0x4a2efa=await _0x5e3fa9['getMany'](_0x1196b3,Array['from'](_0x1578d6));for(const _0x24d250 of _0x4a2efa)_0x27a83a['getUser'](_0x24d250['id'])||_0x27a83a['addUser'](_0x24d250);}}function _0x187801(_0xe8e98){if(tm(_0xe8e98))return new Promise(()=>{});throw _0xe8e98;}function tm(_0xcc1ef8){return _0xcc1ef8['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xcc1ef8['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0xa0ed63['Plugin']{static get['requires'](){return['Comments',CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x41e934=this['editor']['plugins']['get'](WebSocketGateway),_0x40ce00=this['editor']['plugins']['get']('CommentsEditing'),_0x13d8ad=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x41e934,'change:state',(_0x41073a,_0xdfce6f,_0x15b447)=>{_0x40ce00['isThreadsLoadingPaused']='connected'!==_0x15b447;});}),this['listenTo'](_0x41e934,'change:state',(_0x209ed4,_0x41c8b6,_0xf93fe9)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0xf93fe9);}),_0x13d8ad['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends _0xa0ed63['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,'TrackChanges'];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesRevisionHistoryAdapter extends _0xa0ed63['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',_0x3a6531,_0x16ef47];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55acc9){super(_0x55acc9);const _0x9635ee=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x9635ee);}async['init'](){const _0x210163=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4f3cff=_0x210163['serverHistory'],_0xe48eb3=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x4f3cff,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x210163['sessionId']});const _0x5d112a=this['editor']['config']['get']('cloudServices.bundleVersion')||_0xa0ed63['version'],_0x3bd55a=await EditorService['isBundleUploaded'](_0xe48eb3['connection'],_0x5d112a);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x2593ef})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x2593ef)),'updateRevisions':async _0x2cc5f4=>{await this['_waitForServiceReady']();const _0x2040b2=this['_revisionTracker']['currentRevision'];if(_0x3bd55a&&0x1===_0x2cc5f4['length']&&_0x2cc5f4[0x0]['id']===_0x2040b2['id'])return _0x2cc5f4;for(const _0x1677a1 of _0x2cc5f4)_0x1677a1['id']===_0x2040b2['id']&&(_0x1677a1['isEmptyCurrent']=_0x1677a1['fromVersion']===_0x1677a1['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x2cc5f4,this['_lastRequestId'])['then'](_0x99a44f=>(this['_lastRequestId']=_0x99a44f,_0x2cc5f4))['catch'](_0xdc6098=>{if(_0x2210bb(_0xdc6098)||'400'===_0xdc6098['code']&&void 0x0!==_0xdc6098['data']['wrongRequestId']){for(const _0x4eb811 of _0x2cc5f4){!this['_revisionTracker']['repository']['getRevision'](_0x4eb811['id'])||this['_revisionTracker']['_bufferUpdate'](_0x4eb811['id'],_0x4eb811,!0x1);}if(_0x2210bb(_0xdc6098))throw _0xdc6098;return _0x2cc5f4;}throw _0xdc6098;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x1eb69e,{revisionsData:_0x103c66,requestId:_0x1dc8e4})=>{Math['max'](..._0x103c66['map'](_0x28c205=>_0x28c205['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x103c66,_0x1dc8e4);}):this['_handleRevisionsUpdate'](_0x103c66,_0x1dc8e4);});const {revisions:_0x370e98,requestId:_0x5c39b4}=await this['_revisionHistoryService']['connect'](_0xe48eb3['connection']);_0xe48eb3['addToReconnectionStack'](this),this['_lastRequestId']=_0x5c39b4,await this['_fetchMissingUsers'](_0x370e98);for(const _0x42af17 of _0x370e98)this['_revisionTracker']['addRevisionData'](_0x42af17);this['listenTo'](_0x210163,'change:_isConnected',(_0x1ad297,_0x43ff6a,_0x4461ac)=>{_0x4461ac&&(this['_oldOffset']=_0x210163['_offset'],_0x1ad297['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0xe48eb3,'state',_0xf40b06=>_0xf40b06===_0x3a8f9e);}async['reconnect'](){const _0x978ee7=this['editor']['plugins']['get'](WebSocketGateway),_0x554427=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x2e9dc2=async()=>{const _0x3df79b=this['_revisionTracker']['currentRevision'],_0x5dcfd4=_0x3df79b['id'],_0x421536=_0x5dcfd4!==_0x554427['sessionId'];if(_0x421536){const _0x1b19c6=_0x554427['_offset']-this['_oldOffset'],_0x5b3d37=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x3df79b['toVersion']+_0x1b19c6!==_0x5b3d37){const _0x4fdc2b=_0x3df79b['fromVersion']+_0x1b19c6,_0x16833d=this['editor']['plugins']['get'](_0x16ef47),_0xce807=this['_revisionTracker']['buildRevisionData']({'revision':_0x3df79b,'from':_0x4fdc2b,'to':_0x5b3d37});_0xce807['id']=_0x3df79b['id'];const _0x1c7aec=_0xce807['authorsIds']['map'](_0x59e0f8=>_0x16833d['getUser'](_0x59e0f8));_0x3df79b['_update']({..._0xce807,'authors':_0x1c7aec},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x3df79b['id'],_0xce807,!0x0);}this['_revisionTracker']['_startingVersion']=_0x5b3d37,(_0x3df79b['toVersion']===_0x3df79b['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x5dcfd4)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x5dcfd4),this['_revisionTracker']['_createCurrentRevision'](_0x5b3d37));}const {revisions:_0x2e46fa,requestId:_0x3aae2a}=await this['_revisionHistoryService']['reconnect'](_0x978ee7['connection'],this['_lastRequestId']);_0x421536&&_0x2e46fa['length']>0x0?_0x554427['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x2e46fa),this['_handleRevisionsUpdate'](_0x2e46fa,_0x3aae2a),this['_revisionTracker']['sendBufferedUpdates']());};return _0x554427['_isConnected']?_0x2e9dc2():new Promise((_0x146a18,_0x2448fa)=>{_0x554427['once']('change:_isConnected',()=>{_0x2e9dc2()['then'](_0x146a18)['catch'](_0x2448fa);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x5858eb=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x2b104b=>{_0x2b104b['off'](),_0x5858eb();});});}['_getLatestVersionFromServerOperations'](){const _0x5073b5=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x436bde of _0x5073b5)if('marker'!==_0x436bde['type']||_0x436bde['affectsData'])return _0x436bde['baseVersion']+0x1;}['_getLatestVersion'](){const _0x40caff=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x102946=>{_0x40caff['_isPendingUpdate']?_0x40caff['once']('change:_isPendingUpdate',()=>{_0x102946(this['_getLatestVersionFromServerOperations']());}):_0x102946(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0xbbacc2,_0x528996){const _0x4b41ab=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x528996;for(const _0x489fef of _0xbbacc2){const _0xb50c72=_0x4b41ab['getRevision'](_0x489fef['id']);if(_0xb50c72){if((_0x489fef['fromVersion']||_0x489fef['toVersion'])&&(_0x489fef['diffData']=null),_0xb50c72===this['_revisionTracker']['currentRevision']){const _0x4c945a=Math['max'](_0xb50c72['toVersion'],_0x489fef['toVersion']),_0x1add31=Math['max'](_0xb50c72['fromVersion'],_0x489fef['fromVersion']);let _0x5691c1;_0xb50c72['toVersion']===_0x489fef['toVersion']&&_0xb50c72['fromVersion']===_0x489fef['fromVersion']?(_0x5691c1=!0x0,this['_preventResendingRevisionData'](_0x489fef)):_0x489fef['toVersion']===_0x4c945a&&_0x489fef['fromVersion']===_0x1add31?_0x5691c1=!0x1:(_0xb50c72['toVersion']===_0x4c945a&&_0xb50c72['fromVersion']===_0x1add31||this['_fixRevision']({'revision':_0xb50c72,'from':_0x1add31,'to':_0x4c945a}),_0x5691c1=!0x0),_0x5691c1&&(delete _0x489fef['fromVersion'],delete _0x489fef['toVersion'],delete _0x489fef['diffData'],delete _0x489fef['createdAt'],delete _0x489fef['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x489fef),this['_preventResendingRevisionData'](_0x489fef);}else this['_revisionTracker']['addRevisionData'](_0x489fef);}const _0x2c57ad=_0x4b41ab['getRevisions']();_0x2c57ad['reverse']();for(let _0x4ff4e8=0x0;_0x4ff4e8<_0x2c57ad['length']-0x1;_0x4ff4e8++){const _0x1244e6=_0x2c57ad[_0x4ff4e8],_0x51c58f=_0x2c57ad[_0x4ff4e8+0x1];if(_0x1244e6['fromVersion']<_0x51c58f['toVersion']){const _0x53e1c6=_0x51c58f['toVersion'],_0x2e13a8=Math['max'](_0x53e1c6,_0x1244e6['toVersion']);this['_fixRevision']({'revision':_0x1244e6,'from':_0x53e1c6,'to':_0x2e13a8});}}}['_fixRevision']({revision:_0x2eb472,from:_0x46d9b6,to:_0x4380b5}={}){const _0x529ac5=this['editor']['plugins']['get'](_0x16ef47),_0x463abd=this['_revisionTracker']['buildRevisionData']({'revision':_0x2eb472,'from':_0x46d9b6,'to':_0x4380b5});_0x463abd['authors']=_0x463abd['authorsIds']['map'](_0x5136b3=>_0x529ac5['getUser'](_0x5136b3)),_0x2eb472['_update'](_0x463abd);}['_preventResendingRevisionData'](_0x3acde5){const _0x4eda50={};_0x4eda50['id']=_0x3acde5['id'];for(const _0x2b14a6 of Object['keys'](_0x3acde5))'id'!==_0x2b14a6&&(_0x4eda50[_0x2b14a6]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x4eda50['id'],_0x4eda50,!0x0);}async['_fetchMissingUsers'](_0x3ba9ff){const _0x2c455f=this['editor']['plugins']['get'](_0x16ef47),{connection:_0x3ddc89}=this['editor']['plugins']['get'](WebSocketGateway),_0x26a73e=new Set();for(const _0xdaef9 of _0x3ba9ff){for(const _0x59040a of _0xdaef9['authorsIds'])_0x2ab6a0(_0x59040a);_0xdaef9['creatorId']&&_0x2ab6a0(_0xdaef9['creatorId']);}if(0x0===_0x26a73e['size'])return;const _0x3a474c=await _0x5e3fa9['getMany'](_0x3ddc89,Array['from'](_0x26a73e));for(const _0xfcd51c of _0x3a474c)_0x2c455f['getUser'](_0xfcd51c['id'])||_0x2c455f['addUser'](_0xfcd51c);function _0x2ab6a0(_0x115283){_0x2c455f['getUser'](_0x115283)||_0x26a73e['add'](_0x115283);}}}function _0x2210bb(_0x5e2bb4){return _0x5e2bb4['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x5e2bb4['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x5e2bb4['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0xa0ed63['Plugin']{static get['requires'](){return['RevisionHistory',CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends _0xa0ed63['View']{['_collapseAt'];constructor(_0x3768e9,_0x5cf9e0=0x6){super(_0x3768e9);const _0x3e052b=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x5cf9e0,this['bind']('isHidden')['to'](this,'usersCount',_0x5e5fb5=>_0x5e5fb5<_0x5cf9e0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x3e052b['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':_0x3e052b['to']('usersCount',_0x2d0d5f=>'+'+(_0x2d0d5f-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0xa0ed63['View']{['items'];['keystrokes'];constructor(_0x37df7c){super(_0x37df7c);const _0x4a9b73=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x4a9b73['if']('hasPopup'),'aria-expanded':_0x4a9b73['to']('isExpanded',_0x41abb=>this['hasPopup']&&String(_0x41abb)),'aria-label':_0x4a9b73['to']('hasPopup',_0x1f0d6c=>_0x2e7fc9(_0x37df7c,_0x1f0d6c?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x4a9b73['to']('hasPopup',_0x46e013=>!!_0x46e013&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x4a9b73['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x4a9b73['to'](_0x24ca12=>{const _0x5bb56f=_0x24ca12,_0x400cb1=document['querySelector']('.ck-presence-list__dropdown-list'),_0x57f648=document['querySelector']('.ck-balloon-panel_with-arrow');_0x400cb1?.['contains'](_0x5bb56f['relatedTarget'])||_0x57f648?.['contains'](_0x5bb56f['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x40c067,_0x1b7c78,_0x129663)=>{this['element']&&(_0x129663?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}}class PresenceListView extends _0xa0ed63['View']{['counterView'];['inlineListView'];constructor(_0x573ddc,_0x3f1015=0x6){super(_0x573ddc);const _0x2e4368=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x3f1015),this['inlineListView']=new PresenceInlineListView(_0x573ddc),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x419200 of this['inlineListView']['items'])_0x419200['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',_0x2e4368['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0xa0ed63['View']{['listWrapperView'];constructor(_0x4a284d,_0x2aea98){super(_0x4a284d);const _0x4c5301=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x4a284d,_0x2aea98),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x2e7fc9(_0x4a284d,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x4c5301['to'](_0x1758df=>{const _0x418f64=_0x1758df,_0x244b8b=document['querySelector']('.ck-presence-list__list'),_0x1e8432=document['querySelector']('.ck-balloon-panel_with-arrow');_0x244b8b?.['contains'](_0x418f64['relatedTarget'])||_0x1e8432?.['contains'](_0x418f64['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0xa0ed63['ListView']{constructor(_0x46c85a,_0x28889d){super(_0x46c85a);const _0x2332fa=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x28889d?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x2332fa['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x2332fa['to']('role'),'aria-label':_0x2332fa['to']('ariaLabel'),'aria-labelledby':_0x2332fa['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0xa0ed63['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x254b2f=this['element'];_0x254b2f&&(this['_isScrollable']=Math['max'](_0x254b2f['scrollHeight'],_0x254b2f['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0xa0ed63['ListItemView']{['userView'];constructor(_0x555ba7,_0x38535b,_0x3f0d40){super(_0x555ba7);const _0x3f1347=this['bindTemplate'];this['userView']=new _0x2edd05(_0x555ba7,_0x38535b);const _0x3da443={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x38535b['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x38535b['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x38535b['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x3f0d40&&(_0x3da443['tag']='button',_0x3da443['on']={'click':_0x3f1347['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x3da443);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0xa0ed63['View']{['userView'];['markerView'];constructor(_0x581b07,_0x13c7da,_0x1b6387){super(_0x581b07);const _0x454d0c=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x2edd05(_0x581b07,_0x13c7da),this['markerView']=new _0x567465(_0x581b07,_0x13c7da);const _0x2d7ab8=new _0xa0ed63['LabelView'](_0x581b07);_0x2d7ab8['template']['tag']='span',_0x2d7ab8['text']=_0x13c7da['name'];const _0x450794={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x454d0c['to']('isFocusable',_0x32bab4=>!!_0x32bab4&&0x0),'aria-labelledby':_0x2d7ab8['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x454d0c['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x454d0c['to']('hasTooltip',_0x41a198=>!_0x41a198),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x2d7ab8]};_0x1b6387&&(_0x450794['tag']='button',_0x450794['on']={'click':_0x454d0c['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x450794);}}class _0x567465 extends _0xa0ed63['View']{constructor(_0x23fdb3,_0x19e368){super(_0x23fdb3),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x19e368['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const _0x17bab3={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0xa0ed63['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x573e1a){super(_0x573e1a),this['context']['config']['define']('presenceList',_0x17bab3);const _0x1f5a84=_0x573e1a['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x1f5a84)throw new _0xa0ed63['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x1f5a84<0x1)throw new _0xa0ed63['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x3a6531)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0xa0ed63['Collection'](),this['balloonPanelView']=new _0xa0ed63['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x3a6531];}['init'](){for(const _0xc5460b of this['_allConnectedUsers'])this['_handleUserAdd'](_0xc5460b);this['listenTo'](this['_allConnectedUsers'],'add',(_0x5897e4,_0x263e56)=>{this['_handleUserAdd'](_0x263e56);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x4b08d3,_0x402653)=>{this['_handleUserRemove'](_0x402653);});}['_createView'](){const _0x23ac7c=this['context'],_0x1c2157=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x58965a=this['balloonPanelView'];if(!mt(_0x23ac7c['config']['get']('presenceList.container')))throw new _0xa0ed63['CKEditorError']('presencelist-missing-container',this);return _0x1c2157['counterView']['bind']('usersCount')['to'](this),_0x1c2157['bind']('isCollapsed')['to'](this,'usersCount',_0xf8b10a=>{const {collapseAt:_0x334ae4}=_0x23ac7c['config']['get']('presenceList'),_0x378688=_0xf8b10a>=_0x334ae4;if(_0x378688&&!_0x1c2157['inlineListView']['items']['find'](_0x5f3921=>_0x5f3921 instanceof PresenceCounterView)){const _0xcc3680=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0xcc3680&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x1c2157['inlineListView']['items']['add'](_0x1c2157['counterView']);}return _0x378688||this['hideDropdown'](),_0x378688;}),_0x1c2157['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x3080ff=>{const _0x44df86=_0x23ac7c['config']['get']('presenceList'),_0x2e34b2=new PresenceInlineListItemView(_0x23ac7c['locale'],_0x3080ff,!!_0x44df86['onClick']);return _0x2e34b2['bind']('hasTooltip')['to'](_0x1c2157,'isCollapsed',_0x4b5d14=>!_0x4b5d14),_0x2e34b2['bind']('isFocusable')['to'](_0x1c2157,'isCollapsed',_0x3dbea3=>!_0x3dbea3),_0x44df86['onClick']&&this['listenTo'](_0x2e34b2,'execute',()=>{this['view']['isCollapsed']||_0x44df86['onClick'](_0x3080ff,_0x2e34b2['element']);}),_0x2e34b2;}),this['listenTo'](_0x1c2157['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x1c2157['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x1c2157['inlineListView']['keystrokes']['set']('Enter',(_0x49075d,_0x5da0ea)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x5da0ea());}),_0x1c2157['render'](),_0x58965a['render'](),_0xa0ed63['clickOutsideHandler']({'emitter':_0x1c2157,'activator':()=>_0x58965a['isVisible'],'contextElements':[_0x58965a['element'],_0x1c2157['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x23ac7c['config']['get']('presenceList.container')['appendChild'](_0x1c2157['element']),this['_bodyCollection']=new _0xa0ed63['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x1c2157;}['_handleUserAdd'](_0x26be10){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x26be10['isMe'])return;const _0x488603=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x488603-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x12a3cf=_0x26be10['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x26be10,_0x12a3cf);}['_handleUserRemove'](_0x1d3629){this['usersCount']--;const {collapseAt:_0x32fcba}=this['context']['config']['get']('presenceList'),_0x110304=this['usersCount']>=_0x32fcba;if(this['currentDisplayedUsers']['get'](_0x1d3629['id']))this['currentDisplayedUsers']['remove'](_0x1d3629['id']);else{if(_0x110304&&this['currentDisplayedUsers']['length']+0x1===_0x32fcba-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x110304?0x1:0x0)<this['usersCount']){for(const _0x3bb580 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x3bb580['id'])&&(this['currentDisplayedUsers']['add'](_0x3bb580,Math['min'](this['currentDisplayedUsers']['length']-(_0x110304?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x110304?0x1:0x0)===_0x32fcba-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0xd63113=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0xd63113['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x126834}=this['presenceDropdownView'];_0x126834['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x4e96c3=>{if(!_0xd63113['displayMe']&&_0x4e96c3['isMe'])return null;const _0x3717b8=new PresenceDropdownListItemView(this['context']['locale'],_0x4e96c3,!!_0xd63113['onClick']);return _0xd63113['onClick']&&this['listenTo'](_0x3717b8,'execute',()=>{_0xd63113['onClick'](_0x4e96c3,_0x3717b8['element']);}),_0x3717b8;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x126834['focus'](),_0x126834['checkIfScrollable']();const _0x34d0f6=(_0x17ca42,_0x5a6052)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x5a6052();};_0x126834['keystrokes']['set']('Esc',_0x34d0f6),_0x126834['keystrokes']['set']('Shift+Tab',_0x34d0f6),_0x126834['keystrokes']['set']('Tab',(_0x300e41,_0x4c6b31)=>{!function(_0x96d438){const _0x5a91b3=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x316407=>_0x316407+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x4b4a4d=[...document['body']['querySelectorAll'](_0x5a91b3)]['filter'](_0x318d80=>_0x318d80===document['activeElement']||_0x318d80['offsetWidth']+_0x318d80['offsetHeight']>0x0)['sort']((_0x997b1b,_0x1ccf4b)=>(_0x997b1b['tabIndex']||0x0)-(_0x1ccf4b['tabIndex']||0x0)),_0x190dda=_0x4b4a4d['indexOf'](_0x96d438),_0x9758b=_0x4b4a4d[(_0x190dda+0x1)%_0x4b4a4d['length']];_0x9758b&&_0x9758b['focus']();}(this['view']['element']),this['hideDropdown'](),_0x4c6b31();}),_0x126834['focusTracker']['add'](this['view']['element']),_0x126834['focusTracker']['on']('change:isFocused',(_0x12eda8,_0x149107,_0x4eb08e)=>{_0x4eb08e||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);}}class PresenceList extends _0xa0ed63['ContextPlugin']{static get['requires'](){return[_0x3a6531,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x11420b extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x36b5c4){super(),this['id']=_0x36b5c4['id']||_0xa0ed63['uid'](),this['creator']=_0x36b5c4['creator']||null,this['authors']=_0x36b5c4['authors']||[],this['diffData']=_0x36b5c4['diffData']||null,this['toVersion']=_0x36b5c4['toVersion']||0x0,this['fromVersion']=_0x36b5c4['fromVersion']||0x0,this['set']('name',_0x36b5c4['name']||''),this['set']('createdAt',_0x36b5c4['createdAt']||new Date()),this['set']('attributes',_0x36b5c4['attributes']||{});}['setName'](_0x216cf6){this['_update']({'name':_0x216cf6});}['setAttribute'](_0xefcab9,_0x3d9649){const _0x122796=_0xdd0984(this['attributes']);st(_0x122796,_0xefcab9,_0x3d9649),this['_update']({'attributes':_0x122796});}['removeAttribute'](_0x14cd9d){const _0x37cf1f=_0xdd0984(this['attributes']);tt(_0x37cf1f,_0x14cd9d),this['_update']({'attributes':_0x37cf1f});}['_update'](_0xece4f4,_0x41c12b=!0x1){let _0x56b725=!0x1;const _0x10dc6b={'id':this['id']},_0x2b8230=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xfadef4 of _0x2b8230){const _0x3b7a68=_0xece4f4[_0xfadef4];void 0x0!==_0x3b7a68&&_0x3b7a68!==this[_0xfadef4]&&(this[_0xfadef4]=_0x3b7a68,_0x10dc6b[_0xfadef4]=_0x3b7a68,_0x56b725=!0x0);}_0x56b725&&(_0x10dc6b['authors']&&(_0x10dc6b['authorsIds']=_0x10dc6b['authors']['map'](_0x2a392c=>_0x2a392c['id']),delete _0x10dc6b['authors']),this['fire']('_update',_0x10dc6b,_0x41c12b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2103bf=>_0x2103bf['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0xa0ed63['Plugin']{['_revisions'];static get['requires'](){return[_0x16ef47];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x5796f9){super(_0x5796f9),this['_revisions']=new _0xa0ed63['Collection']();}['afterInit'](){!async function(_0x28e3a4){const _0x2121dd=_0x4855dc([0x76,0x73,0x6d,0x4c,0x34,0x54,0x50,0x70,0x75,0x52,0x35,0x33,0x4d,0x6c,0x71,0x53,0x6a,0x32,0x56,0x58,0x77,0x48,0x39,0x6f,0x45,0x41,0x4e,0x38,0x46,0x78,0x4a,0x74,0x47,0x55,0x4f,0x64,0x62,0x44,0x43,0x5a,0x30,0x31,0x69,0x68,0x79,0x66,0x6b,0x42,0x51,0x59,0x36,0x61,0x63,0x67,0x7a,0x37,0x72,0x49,0x65,0x57,0x4b,0x6e]),_0x404081=0xeb829,_0x506f1c=0x359e09b0,_0x424bfb=0x35998670^_0x506f1c,_0x485969=window[_0x4855dc([0x44,0x61,0x74,0x65])][_0x4855dc([0x6e,0x6f,0x77])](),_0x5b5a15=_0x28e3a4[_0x4855dc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x323d08=new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x257180=>{_0x5b5a15[_0x4855dc([0x6f,0x6e,0x63,0x65])](_0x4855dc([0x72,0x65,0x61,0x64,0x79]),_0x257180);}),_0x2f220f={[_0x4855dc([0x6b,0x74,0x79])]:_0x4855dc([0x45,0x43]),[_0x4855dc([0x75,0x73,0x65])]:_0x4855dc([0x73,0x69,0x67]),[_0x4855dc([0x63,0x72,0x76])]:_0x4855dc([0x50,0x2d,0x32,0x35,0x36]),[_0x4855dc([0x78])]:_0x4855dc([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4855dc([0x79])]:_0x4855dc([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4855dc([0x61,0x6c,0x67])]:_0x4855dc([0x45,0x53,0x32,0x35,0x36])},_0x463520=_0x5b5a15[_0x4855dc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4855dc([0x67,0x65,0x74])](_0x4855dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f0c79(){let _0x257ce3,_0x9bfd7c=null,_0x223085=null;try{if(_0x463520==_0x4855dc([0x47,0x50,0x4c]))return _0x4855dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x257ce3=_0x4924a7(),!_0x257ce3)return _0x4855dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x257ce3[_0x4855dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x223085=_0x12e0c3(_0x257ce3[_0x4855dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x257ce3[_0x4855dc([0x6a,0x74,0x69])])),await _0x566591()?_0xfbf878()?_0x2eca5b()?_0x4855dc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x342b66()?(_0x257ce3[_0x4855dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4855dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9bfd7c=_0xbbee59(_0x4855dc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f6c2c()):_0x4855dc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4855dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4855dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4855dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2eca5b(){const _0x2f6ce2=[_0x4855dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4855dc([0x74,0x72,0x69,0x61,0x6c])][_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x257ce3[_0x4855dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x485969/0x3e8:0xe10*_0x424bfb;return _0x257ce3[_0x4855dc([0x65,0x78,0x70])]<_0x2f6ce2;}function _0xfbf878(){const _0x5c71c3=_0x257ce3[_0x4855dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5c71c3)return!0x1;if(_0x5c71c3[_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4855dc([0x2a])))return!0x0;if(_0x5c71c3[_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4855dc([0x52,0x48])))return!0x0;if(_0x5c71c3[_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4855dc([0x52,0x52,0x48]))){if(_0x551fff())return!0x0;if(_0x3f66d6()||_0x3e4faf())return!0x0;}return!0x1;}function _0x342b66(){const _0x3e9429=_0x257ce3[_0x4855dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e9429||0x0==_0x3e9429[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21e9d4}=new URL(window[_0x4855dc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e9429[_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e9d4))return!0x0;const _0x2c9d15=_0x21e9d4[_0x4855dc([0x73,0x70,0x6c,0x69,0x74])](_0x4855dc([0x2e]));return _0x3e9429[_0x4855dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ff9ba=>_0x4ff9ba[_0x4855dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4855dc([0x2a])))[_0x4855dc([0x6d,0x61,0x70])](_0x5a7653=>_0x5a7653[_0x4855dc([0x73,0x70,0x6c,0x69,0x74])](_0x4855dc([0x2e])))[_0x4855dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5898=>_0x1b5898[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c9d15[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4855dc([0x6d,0x61,0x70])](_0x1569e1=>Array(_0x2c9d15[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1569e1[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4855dc([0x66,0x69,0x6c,0x6c])](_0x1569e1[0x0]===_0x4855dc([0x2a])?_0x4855dc([0x2a]):'')[_0x4855dc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1569e1))[_0x4855dc([0x73,0x6f,0x6d,0x65])](_0x472a00=>_0x2c9d15[_0x4855dc([0x65,0x76,0x65,0x72,0x79])]((_0x5ea1f9,_0x3ef641)=>_0x472a00[_0x3ef641]===_0x5ea1f9||_0x472a00[_0x3ef641]===_0x4855dc([0x2a])));}function _0x1f6c2c(){return _0x9bfd7c&&_0x223085?new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x123dc7,_0x4da800)=>{_0x9bfd7c[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x123dc7,_0x4da800),_0x223085[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x545122=>{_0x545122!=_0x4855dc([0x56,0x61,0x6c,0x69,0x64])&&_0x123dc7(_0x545122);},_0x4da800);}):_0x9bfd7c||_0x223085||_0x4855dc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12e0c3(_0x4f6d45,_0x3a3d68){return new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bbba9=>{if(_0x2cd0fb())return _0x2bbba9(_0x4855dc([0x56,0x61,0x6c,0x69,0x64]));_0xe02c66(),_0x5b5a15[_0x4855dc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4855dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x322085=!0x1;const _0x4feb31=_0xa0ed63['uid']();function _0x114ffa(_0x2645aa){return!!_0x2645aa&&(typeof _0x2645aa===_0x4855dc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2645aa===_0x4855dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2645aa[_0x4855dc([0x74,0x68,0x65,0x6e])]===_0x4855dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2645aa[_0x4855dc([0x63,0x61,0x74,0x63,0x68])]===_0x4855dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b5442(_0xe2537d){_0xbf9094(_0xe2537d)[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x11ac0c=>{if(!_0x11ac0c||_0x11ac0c[_0x4855dc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4855dc([0x6f,0x6b]))return _0x4855dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4814f(_0x2ada12(_0x4feb31+_0x3a3d68))!=_0x11ac0c[_0x4855dc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4855dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4855dc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x4ed54e=>(_0x2a1fad(),_0x4ed54e),()=>{const _0x5afc60=_0x3f54fe();return null==_0x5afc60?(_0x2a1fad(),_0x4855dc([0x56,0x61,0x6c,0x69,0x64])):_0x4855dc(_0x485969-_0x5afc60>(0x11928db0^_0x506f1c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x2bbba9)[_0x4855dc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bbba9(_0x4855dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a1375=0x35a8e730^_0x506f1c;function _0x2a1fad(){const _0x92cdd8=_0x4855dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4814f(_0x2ada12(_0x4f6d45)),_0x203aca=_0x16edb7(_0x4814f(window[_0x4855dc([0x4d,0x61,0x74,0x68])][_0x4855dc([0x63,0x65,0x69,0x6c])](_0x485969/_0x2a1375)));window[_0x4855dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4855dc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x92cdd8,_0x203aca);}function _0x3f54fe(){const _0x485e2d=_0x4855dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x4814f(_0x2ada12(_0x4f6d45)),_0x3384d5=window[_0x4855dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4855dc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x485e2d);return _0x3384d5?window[_0x4855dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16edb7(_0x3384d5),0x10)*_0x2a1375:null;}function _0xbf9094(_0x233ffc){return new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b918b,_0x7a20c4)=>{_0x233ffc[_0x4855dc([0x74,0x68,0x65,0x6e])](_0x5b918b,_0x7a20c4),window[_0x4855dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7a20c4,0x359fdd70^_0x506f1c);});}}_0x5b5a15[_0x4855dc([0x6f,0x6e])](_0x4855dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a9a8b,_0x1d7a38)=>{if(_0x1d7a38[0x0]!=_0x4f6d45)return _0x2bbba9(_0x4855dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d7a38[0x1]={..._0x1d7a38[0x1],[_0x4855dc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4feb31};},{[_0x4855dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4855dc([0x68,0x69,0x67,0x68])}),_0x5b5a15[_0x4855dc([0x6f,0x6e])](_0x4855dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x20ee11=>{_0x114ffa(_0x20ee11[_0x4855dc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x322085=!0x0,_0x3b5442(_0x20ee11[_0x4855dc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4855dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4855dc([0x6c,0x6f,0x77])}),_0x323d08[_0x4855dc([0x74,0x68,0x65,0x6e])](()=>{_0x322085||_0x2bbba9(_0x4855dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cd0fb(){return _0x5b5a15[_0x4855dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4855dc([0x76,0x69,0x65,0x77])][_0x4855dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4855dc([0x61,0x75,0x74,0x6f]);}function _0xe02c66(){_0x5b5a15[_0x4855dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4855dc([0x76,0x69,0x65,0x77])][_0x4855dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4855dc([0x61,0x75,0x74,0x6f]);}}function _0xbbee59(_0x5dcfbf){const _0x15e225=new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0760=>setTimeout(_0x4b0760,0x3597377c^_0x506f1c)),_0x26e988=_0x323d08[_0x4855dc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1052e7=>{const _0x2d7b65=0x359e09b7^_0x506f1c,_0x252f48=_0x28e3a4[_0x4855dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x2e15d8(){_0x252f48[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2d7b65&&_0x1052e7();}_0x2e15d8(),_0x252f48[_0x4855dc([0x6f,0x6e])](_0x4855dc([0x61,0x64,0x64]),_0x2e15d8);})),_0x35d5aa=new window[(_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e060c=>{function _0x2f4d09(){for(const _0x5da8e6 in window)if(window[_0x4855dc([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x4855dc([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x5da8e6))&&window[_0x5da8e6]==_0x404081)return _0x3e060c();_0x5b5a15[_0x4855dc([0x73,0x74,0x61,0x74,0x65])]!=_0x4855dc([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x4855dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f4d09,0x359e1a38^_0x506f1c);}_0x5f0108(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x2f4d09();}),_0x54681c=[_0x15e225,_0x26e988,_0x35d5aa];return window[_0x4855dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4855dc([0x72,0x61,0x63,0x65])](_0x54681c)[_0x4855dc([0x74,0x68,0x65,0x6e])](()=>_0x5dcfbf);}async function _0x3fdfc0(){if(await _0x323d08,_0x5f0108(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x57e8ea=_0x28e3a4[_0x4855dc([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0xd4dedc=_0x28e3a4[_0x4855dc([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x57e8ea[_0x4855dc([0x69,0x64])]),_0x462651=_0xa92909(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x462651[_0x4855dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x57e8ea['id'],_0xd4dedc?_0xd4dedc['id']:null,!0x0),_0x462651[_0x4855dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4855dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x462651[_0x4855dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x462651[_0x4855dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x24b6c8,void(_0x462651[_0x4855dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x24b6c8);}if(_0x5f0108(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x500b16=_0xa92909(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x500b16[_0x4855dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4855dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x500b16[_0x4855dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x500b16[_0x4855dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x24b6c8,_0x500b16[_0x4855dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x24b6c8;}_0x5b5a15[_0x4855dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4855dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24b6c8,_0x5b5a15[_0x4855dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4855dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24b6c8,_0x5b5a15[_0x4855dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4855dc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x551fff(){return _0x5f0108(_0x4855dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xa92909(_0x4855dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4855dc([0x73,0x74,0x61,0x74,0x65])]==_0x4855dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3f66d6(){return _0x5f0108(_0x4855dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x3e4faf(){return _0x5f0108(_0x4855dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1094d8(_0x5433d0){const _0x217656=_0x3d1c24();_0x5b5a15[_0x217656]=_0x4855dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5433d0,_0x5433d0[_0x4855dc([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x4855dc([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x3d1c24()]=_0x404081),_0x5433d0!=_0x4855dc([0x56,0x61,0x6c,0x69,0x64])&&_0x3fdfc0();}function _0x3d1c24(){const _0x3a8405=window[_0x4855dc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4855dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4855dc([0x6e,0x6f,0x77])]())[_0x4855dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4855dc([0x2e]),'');let _0x3ecb29=_0x4855dc([0x76]);for(let _0x1ba11f=0x0;_0x1ba11f<_0x3a8405[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ba11f+=0x2){let _0xba40ed=window[_0x4855dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8405[_0x4855dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ba11f,_0x1ba11f+0x2));_0xba40ed>=_0x2121dd[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xba40ed-=_0x2121dd[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ecb29+=_0x2121dd[_0xba40ed];}return _0x3ecb29;}function _0x4924a7(){const _0x4555f6=_0x463520[_0x4855dc([0x73,0x70,0x6c,0x69,0x74])](_0x4855dc([0x2e]));if(0x3!=_0x4555f6[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23a2fa(_0x4555f6[0x1]);function _0x23a2fa(_0x517295){const _0x2f7049=_0x400891(_0x517295);return _0x2f7049&&_0x556045()?_0x2f7049:null;function _0x556045(){const _0x3c1735=_0x2f7049[_0x4855dc([0x6a,0x74,0x69])],_0x1502f6=window[_0x4855dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c1735[_0x4855dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c1735[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fa35a={..._0x2f7049,[_0x4855dc([0x6a,0x74,0x69])]:_0x3c1735[_0x4855dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c1735[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fa35a[_0x4855dc([0x76,0x63])],_0x2ada12(_0x4fa35a)==_0x1502f6;}}}async function _0x566591(){let _0x434741=!0x0;try{const _0x49640b=_0x463520[_0x4855dc([0x73,0x70,0x6c,0x69,0x74])](_0x4855dc([0x2e])),[_0x2780ba,_0x173759,_0x139694]=_0x49640b;return _0x5aee51(_0x2780ba),await _0x1841de(_0x2780ba,_0x173759,_0x139694),_0x434741;}catch{return!0x1;}function _0x5aee51(_0xac510b){const _0x11b36d=_0x400891(_0xac510b);_0x11b36d&&_0x11b36d[_0x4855dc([0x61,0x6c,0x67])]==_0x4855dc([0x45,0x53,0x32,0x35,0x36])||(_0x434741=!0x1);}async function _0x1841de(_0x1b769b,_0x2a43c2,_0x3256e5){const _0x2371dd=window[_0x4855dc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4855dc([0x66,0x72,0x6f,0x6d])](_0x436e74(_0x3256e5),_0x41b266=>_0x41b266[_0x4855dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3463de=new window[(_0x4855dc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4855dc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b769b+_0x4855dc([0x2e])+_0x2a43c2),_0x5a34ec=window[_0x4855dc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4855dc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a34ec)return;const _0x32e74e=await _0x5a34ec[_0x4855dc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4855dc([0x6a,0x77,0x6b]),_0x2f220f,{[_0x4855dc([0x6e,0x61,0x6d,0x65])]:_0x4855dc([0x45,0x43,0x44,0x53,0x41]),[_0x4855dc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4855dc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4855dc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a34ec[_0x4855dc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4855dc([0x6e,0x61,0x6d,0x65])]:_0x4855dc([0x45,0x43,0x44,0x53,0x41]),[_0x4855dc([0x68,0x61,0x73,0x68])]:{[_0x4855dc([0x6e,0x61,0x6d,0x65])]:_0x4855dc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32e74e,_0x2371dd,_0x3463de)||(_0x434741=!0x1);}}function _0x400891(_0x834e29){return _0x834e29[_0x4855dc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4855dc([0x65,0x79]))?JSON[_0x4855dc([0x70,0x61,0x72,0x73,0x65])](_0x436e74(_0x834e29)):null;}function _0x436e74(_0x1e7d0c){return window[_0x4855dc([0x61,0x74,0x6f,0x62])](_0x1e7d0c[_0x4855dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4855dc([0x2b]))[_0x4855dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4855dc([0x2f])));}function _0x2ada12(_0x2bcf44){let _0x2a2e22=0x1505;function _0x2cd016(_0x5c4600){for(let _0x3b5385=0x0;_0x3b5385<_0x5c4600[_0x4855dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b5385++){const _0x5450fc=_0x5c4600[_0x4855dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b5385);_0x2a2e22=(_0x2a2e22<<0x5)+_0x2a2e22+_0x5450fc,_0x2a2e22&=_0x2a2e22;}}function _0x4eef36(_0x133695){Array[_0x4855dc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x133695)?_0x133695[_0x4855dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4eef36):_0x133695&&typeof _0x133695==_0x4855dc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4855dc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x133695)[_0x4855dc([0x73,0x6f,0x72,0x74])]()[_0x4855dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cc4a8,_0x17bffe])=>{_0x2cd016(_0x1cc4a8),_0x4eef36(_0x17bffe);}):_0x2cd016(window[_0x4855dc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x133695));}return _0x4eef36(_0x2bcf44),_0x2a2e22>>>0x0;}function _0x4814f(_0x371beb){return _0x371beb[_0x4855dc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4855dc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4855dc([0x30]));}function _0x16edb7(_0x262611){return _0x262611[_0x4855dc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4855dc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4855dc([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0108(_0x88340c){return _0x5b5a15[_0x4855dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4855dc([0x68,0x61,0x73])](_0x88340c);}function _0xa92909(_0x2746e1){return _0x5b5a15[_0x4855dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4855dc([0x67,0x65,0x74])](_0x2746e1);}function _0x24b6c8(){}function _0x4855dc(_0x5b7155){return _0x5b7155['map'](_0x557814=>String['fromCharCode'](_0x557814))['join']('');}_0x1094d8(await _0x3f0c79());}(this);}['createRevision'](_0x495dcf){const _0x5ad118=this['editor']['plugins']['get']('Users');return new _0x11420b({'id':_0x495dcf['id'],'name':_0x495dcf['name'],'creator':_0x495dcf['creatorId']?_0x5ad118['getUser'](_0x495dcf['creatorId']):null,'diffData':_0x495dcf['diffData']||_0x495dcf['data'],'authors':_0x495dcf['authorsIds']['map'](_0xc1b5ea=>_0x5ad118['getUser'](_0xc1b5ea)),'createdAt':new Date(_0x495dcf['createdAt']),'attributes':_0x495dcf['attributes'],'fromVersion':_0x495dcf['fromVersion'],'toVersion':_0x495dcf['toVersion']});}['addRevision'](_0x12a112,_0x3d47b8=0x0){this['_revisions']['add'](_0x12a112,_0x3d47b8);}['getRevision'](_0x3280c5){return this['_revisions']['get'](_0x3280c5);}['getRevisions'](_0x1edb05={'toJSON':!0x1}){const _0x34942a=Array['from'](this['_revisions']);return _0x34942a['reverse'](),_0x1edb05['toJSON']?_0x34942a['map'](_0x136420=>_0x136420['toJSON']()):_0x34942a;}['getIndex'](_0xc93ce6){return this['_revisions']['getIndex'](_0xc93ce6);}['getEarlierVisibleRevision'](_0x326f26){const [,_0x4df57c]=this['getRevisionsIterator'](_0x326f26,{'direction':'earlier'});return _0x4df57c;}['getLaterVisibleRevision'](_0x152da9){const [,_0x141876]=this['getRevisionsIterator'](_0x152da9,{'direction':'later'});return _0x141876;}['getRevisionsInDiff'](_0xa43fb5){const _0x102e07=[];for(const _0x331f64 of this['getRevisionsIterator'](_0xa43fb5['newRevisionId']))if(_0x102e07['push'](_0x331f64),_0x331f64['id']===_0xa43fb5['oldRevisionId'])break;return _0x102e07;}*['getRevisionsIterator'](_0x37177d,{direction:_0x3849e7='earlier',filter:_0x515af8=()=>!0x0}={}){const _0x402608='earlier'===_0x3849e7?0x1:-0x1;let _0x20fbad=this['_revisions']['get'](_0x37177d),_0x1a87ca=this['getIndex'](_0x20fbad);for(yield _0x20fbad;_0x20fbad;){if(_0x1a87ca+=_0x402608,_0x20fbad=this['getRevision'](_0x1a87ca),!_0x20fbad)return;_0x515af8(_0x20fbad)&&(yield _0x20fbad);}}}class RevisionHistoryUtils extends _0xa0ed63['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0xa0ed63['ViewContainerElement'],'c'],[_0xa0ed63['ViewAttributeElement'],'a'],[_0xa0ed63['ViewEmptyElement'],'e'],[_0xa0ed63['ViewRawElement'],'r'],[_0xa0ed63['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',_0xa0ed63['ViewContainerElement']],['a',_0xa0ed63['ViewAttributeElement']],['e',_0xa0ed63['ViewEmptyElement']],['r',_0xa0ed63['ViewRawElement']],['u',_0xa0ed63['ViewUIElement']]]);async['loadRevisionData'](_0x2d8986,_0x483242){if(_0x2d8986['diffData']||!_0x483242)return;const _0x29cd55=this['editor']['config']['get']('collaboration.channelId'),_0x5eeb98=await _0x483242['getRevision']({'channelId':_0x29cd55,'revisionId':_0x2d8986['id']});_0x2d8986['diffData']=_0x5eeb98['diffData'];}['getRevisionDocumentData'](_0x1eff1e){const _0x48aac0={};for(const _0x3592d3 in _0x1eff1e['diffData']){if(_0x1eff1e['diffData'][_0x3592d3]['attachChange']&&!_0x1eff1e['diffData'][_0x3592d3]['attachChange']['isAttached'])continue;const _0x159df=this['_removeRevisionMarkers'](JSON['parse'](_0x1eff1e['diffData'][_0x3592d3]['insertions'])),_0x1ccc6a=this['editor']['editing']['view']['document'],_0x5ca18d=new _0xa0ed63['ViewDocumentFragment'](_0x1ccc6a,_0x159df['map'](_0x3c4868=>this['_getViewFromDiffObj'](_0x3c4868,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x48aac0[_0x3592d3]=this['editor']['data']['processor']['toData'](_0x5ca18d),this['editor']['data']['processor']['useFillerType']('default');}return _0x48aac0;}['getRevisionRootsAttributes'](_0x4be1cf){const _0x2dda1e={};for(const _0x167c1a in _0x4be1cf['diffData'])_0x4be1cf['diffData'][_0x167c1a]['attachChange']&&!_0x4be1cf['diffData'][_0x167c1a]['attachChange']['isAttached']||(_0x2dda1e[_0x167c1a]=_0x4be1cf['diffData'][_0x167c1a]['attributesAfter']||{});return _0x2dda1e;}['_getTypeCharForViewElement'](_0x5c5d19){return this['_viewClassToTypeChar']['get'](_0x5c5d19['constructor']);}['_getViewFromDiffObj'](_0x9731e1,_0x55e7a0){const _0x409285=this['editor']['editing']['view']['document'];if('string'==typeof _0x9731e1)return new _0xa0ed63['ViewText'](_0x409285,_0x9731e1);{let _0x499af4,_0x141103;_0x141103='u'==_0x9731e1['type']||'r'==_0x9731e1['type']?[]:_0x9731e1['children']['map'](_0x5e768e=>this['_getViewFromDiffObj'](_0x5e768e,_0x55e7a0));const _0x719c4c=this['_typeCharToViewClass']['get'](_0x9731e1['type'])||_0xa0ed63['ViewElement'],_0x1b99ff=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x499af4=new _0x719c4c(_0x409285,_0x9731e1['name'],_0x9731e1['attributes'],_0x141103),'u'==_0x9731e1['type']&&_0x9731e1['children'][0x0]){const _0x4b6830=_0x9731e1['children'][0x0];if(_0x499af4['render']=function(_0x908ed1){const _0x822206=_0x908ed1['createElement']('div');return _0x822206['innerHTML']=_0x4b6830,_0x822206['childNodes'][0x0];},_0x55e7a0){const _0xa0b8fd=new _0xa0ed63['ViewDocumentFragment'](_0x409285);_0xa0b8fd['_appendChild'](_0x499af4);const _0x3beb47=Array['from'](_0x1b99ff['viewChildrenToDom'](_0xa0b8fd,{'bind':!0x1})),_0xad66cb=_0x1b99ff['domDocument']['createElement']('div');_0xad66cb['append'](..._0x3beb47),_0x499af4=Array['from'](_0x1b99ff['domChildrenToView'](_0xad66cb))[0x0];}}else{if('r'==_0x9731e1['type']&&_0x9731e1['children'][0x0]){const _0x383ddb=_0x9731e1['children'][0x0];if(_0x499af4['render']=function(_0x371283){_0x371283['innerHTML']=_0x383ddb;},_0x55e7a0){const _0x3eb9ab=new _0xa0ed63['ViewDocumentFragment'](_0x409285);_0x3eb9ab['_appendChild'](_0x499af4);const _0x2b740b=Array['from'](_0x1b99ff['viewChildrenToDom'](_0x3eb9ab,{'bind':!0x1})),_0x572f92=_0x1b99ff['domDocument']['createElement']('div');_0x572f92['append'](..._0x2b740b);const _0x3243f7=Array['from'](_0x1b99ff['domChildrenToView'](_0x572f92));_0x3243f7['length']>0x1?_0x499af4['_appendChild'](_0x3243f7):_0x499af4=_0x3243f7[0x0];}}}if(_0x9731e1['customProperties']){for(const [_0x384306,_0x312585]of _0x9731e1['customProperties'])_0x499af4['_setCustomProperty'](_0x384306,_0x312585);}const _0x34a592=void 0x0===_0x9731e1['fillerOffset']?null:_0x9731e1['fillerOffset'];return null!==_0x34a592&&(_0x499af4['getFillerOffset']=()=>_0x34a592),_0x499af4;}}['_makeModelFromViewString'](_0x24f9f4){const _0x44b005=JSON['parse'](_0x24f9f4),_0x3cd46b=this['editor']['editing']['view']['document'],_0x19a8d6=new _0xa0ed63['ViewDocumentFragment'](_0x3cd46b,_0x44b005['map'](_0x46d964=>this['_getViewFromDiffObj'](_0x46d964,!0x0)));return this['editor']['data']['toModel'](_0x19a8d6);}['_removeRevisionMarkers'](_0x2ab7b4){return(_0x2ab7b4=_0x2ab7b4['filter'](_0x254e52=>!_0x254e52['name']||'revision-start'!==_0x254e52['name']&&'revision-end'!==_0x254e52['name']))['forEach'](_0x498157=>{'string'!=typeof _0x498157&&(_0x498157['children']=this['_removeRevisionMarkers'](_0x498157['children']),_0x498157['attributes']=_0x498157['attributes']['filter'](_0x2fec7a=>!_0x2fec7a[0x0]['startsWith']('data-revision-')));}),_0x2ab7b4;}}function _0x12b16c(_0x44eee8,_0x18c169,_0x3d1a6e){const t=_0x44eee8['t'];switch(_0x18c169){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'},_0x3d1a6e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3d1a6e);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'';}}class _0x19f525 extends _0xa0ed63['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[_0x16ef47,RevisionsRepository,RevisionHistoryUtils,_0xa0ed63['PendingActions']];}constructor(_0x58a2e4){super(_0x58a2e4),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0xd05dab=_0xa0ed63['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xd05dab},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 _0x502073=this['repository']['getRevision'](0x0),_0x42d839=_0x502073&&null===_0x502073['creator']?_0x502073:null;if(this['_continueCurrentRevision']=!!_0x42d839&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4be80f=this['_source']['getCurrentRevisionId'](),_0x42d0fb=this['repository']['getRevision'](_0x4be80f);if(_0x42d0fb)this['_startingVersion']=_0x42d0fb['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x484e88=this['_source']['history']['_operations']['find'](_0x5c7c04=>!_0x5c7c04['_isInit']),_0xff4597=_0x484e88?_0x484e88['baseVersion']:this['_source']['history']['version'];_0x502073?(_0x502073['toVersion']<_0xff4597&&_0x502073['_update']({'toVersion':_0xff4597}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x42d839['id'],this['_startingVersion']=_0x42d839['fromVersion']):(this['_startingVersion']=_0x502073['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xff4597,this['_continueCurrentRevision']=!0x1);}}else _0x42d839&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x42d839['toVersion'],this['editor']['model']['document']['history']['version']),_0x42d839['fromVersion']===_0x42d839['toVersion']?(0x0!==_0x42d839['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x42d839['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x42d839['id'],this['_startingVersion']=_0x42d839['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',_0x3baba1=>!_0x3baba1),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x201371=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x551b96;for(const _0x328c25 in _0x201371){const _0x1bccc2=_0x328c25,_0x2cfbdb=_0x201371[_0x1bccc2];if('revisionHistoryLicenseKeyValid'==_0x2cfbdb||'revisionHistoryLicenseKeyInvalid'==_0x2cfbdb||'revisionHistoryLicenseKeyExpired'==_0x2cfbdb||'revisionHistoryLicenseKeyDomainLimit'==_0x2cfbdb||'revisionHistoryLicenseKeyNotAllowed'==_0x2cfbdb||'revisionHistoryLicenseKeyEvaluationLimit'==_0x2cfbdb||'revisionHistoryLicenseKeyUsageLimit'==_0x2cfbdb){delete _0x201371[_0x1bccc2],_0x551b96=_0x2cfbdb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x551b96&&_0x201371['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x551b96&&_0x201371['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x551b96&&_0x201371['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x551b96&&_0x201371['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x551b96&&_0x201371['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x551b96&&_0x201371['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0xe6176a=this['repository']['getRevision'](0x0),_0x21609c=await this['getRevisionDocumentData'](_0xe6176a),_0x169d64=await this['getRevisionRootsAttributes'](_0xe6176a);this['_replaceEditorDataWithRevisionData'](_0x21609c,_0x169d64);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x387687){this['_source']=_0x387687;}async['update'](){const _0x17ca8c=await this['_source']['getLatestVersion']();if(_0x17ca8c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5d3b95=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x17ca8c});_0x5d3b95['authors']=_0x5d3b95['authorsIds']['map'](_0x13ca92=>this['editor']['plugins']['get']('Users')['getUser'](_0x13ca92)),this['currentRevision']['_update'](_0x5d3b95);}}async['saveRevision'](_0x498f8d={},_0x522cdf=null){const _0x5593a3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x522cdf>this['currentRevision']['toVersion']&&(_0x522cdf=null),null===_0x522cdf&&(_0x522cdf=await this['_source']['getLatestVersion']());const _0x1e4e23=this['_getFromVersion'](_0x522cdf),_0x850a74=this['buildRevisionData']({'from':_0x1e4e23,'to':_0x522cdf});if(this['currentRevision']['toVersion']<_0x522cdf){const _0x3a22ff=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x522cdf,'to':_0x522cdf});_0x3a22ff['authors']=[],_0x3a22ff['authorsIds']=[],_0x3a22ff['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3a22ff,!0x0),delete _0x3a22ff['authors'],_0x5593a3['push'](_0x3a22ff);}_0x498f8d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x498f8d['name']=_0x498f8d['name']||null,_0x498f8d['id']=_0x498f8d['id']||_0xa0ed63['uid'](),_0x498f8d={..._0x498f8d,..._0x850a74};const _0x324b95=this['addRevisionData'](_0x498f8d);_0x5593a3['push'](_0x498f8d);const _0x41d4ab=this['repository']['getIndex'](_0x324b95);if(0x0!==_0x41d4ab){const _0x5c58d0=this['repository']['getRevision'](_0x41d4ab-0x1);if(_0x5c58d0['fromVersion']!==_0x522cdf){const _0x17239b=this['_revisionDataBuilder']['getData'](_0x522cdf,_0x5c58d0['toVersion']),_0x2e886b={'id':_0x5c58d0['id'],'diffData':_0x17239b['diffData'],'authorsIds':_0x17239b['authorsIds'],'authors':_0x17239b['authorsIds']['map'](_0x5f0c96=>this['editor']['plugins']['get']('Users')['getUser'](_0x5f0c96)),'fromVersion':_0x522cdf};_0x5c58d0===this['currentRevision']&&(_0x2e886b['createdAt']=new Date(_0x498f8d['createdAt']['getTime']()+0xa)),_0x5c58d0['_update'](_0x2e886b,!0x0),delete _0x2e886b['authors'],_0x5593a3['push'](_0x2e886b);}}if(this['adapter']){for(const _0x43f6e2 of _0x5593a3)this['_bufferUpdate'](_0x43f6e2['id'],_0x43f6e2,!0x0);this['sendBufferedUpdates']();}return _0x324b95;}['addRevisionData'](_0x45932f){const _0x2d6a9f=this['repository']['createRevision'](_0x45932f);return this['adapter']&&_0x2d6a9f['on']('_update',(_0x4d8319,_0x4ce377,_0x537358)=>{_0x537358||(this['_bufferUpdate'](_0x4ce377['id'],_0x4ce377,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2d6a9f,this['_findInsertionIndex'](_0x2d6a9f)),_0x2d6a9f;}async['getRevisionDocumentData'](_0x2fc980){return await this['_utils']['loadRevisionData'](_0x2fc980,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x2fc980);}async['getRevisionRootsAttributes'](_0x314b8a){return await this['_utils']['loadRevisionData'](_0x314b8a,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x314b8a);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x272f87=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2cc501=0x0;_0x2cc501<_0x272f87['length'];_0x2cc501++){const _0x578c30=_0x272f87[_0x2cc501];let _0x5eb68c=!0x1;for(const _0xdde106 of Object['keys'](_0x578c30))void 0x0===_0x578c30[_0xdde106]?delete _0x578c30[_0xdde106]:'id'!==_0xdde106&&(_0x5eb68c=!0x0);_0x5eb68c||(_0x272f87[_0x2cc501]=null);}if(_0x272f87=_0x272f87['filter'](_0x23031b=>null!==_0x23031b),!_0x272f87['length'])return;for(let _0x17b4fb=0x0;_0x17b4fb<_0x272f87['length'];_0x17b4fb++){const _0x3cad8a=_0x272f87[_0x17b4fb];void 0x0!==_0x3cad8a['fromVersion']&&void 0x0===_0x3cad8a['toVersion']&&(_0x3cad8a['toVersion']=this['repository']['getRevision'](_0x3cad8a['id'])['toVersion']),void 0x0!==_0x3cad8a['toVersion']&&void 0x0===_0x3cad8a['fromVersion']&&(_0x3cad8a['fromVersion']=this['repository']['getRevision'](_0x3cad8a['id'])['fromVersion']);}const _0x260250=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x272f87,_0x260250)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4497b7=>{if(_0x4497b7){for(const _0x53cd81 of _0x4497b7)this['setRevisionData']({'id':_0x53cd81['id'],'createdAt':_0x53cd81['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x540a5d=null,from:_0x68183a=null,to:_0x49fbbb=null}){_0x68183a=null!==_0x68183a?_0x68183a:_0x540a5d['fromVersion'],_0x49fbbb=null!==_0x49fbbb?_0x49fbbb:_0x540a5d['toVersion'];const _0x1c9e22=this['_revisionDataBuilder']['getData'](_0x68183a,_0x49fbbb),_0xf18252={'diffData':_0x1c9e22['diffData'],'authorsIds':_0x1c9e22['authorsIds'],'fromVersion':_0x68183a,'toVersion':_0x49fbbb};if(!_0x540a5d||_0x49fbbb!==_0x540a5d['toVersion']){const _0x4b2d47=_0x49fbbb-0x1,_0x7d4da2=this['_source']['history']['getOperation'](_0x4b2d47);_0xf18252['createdAt']=_0x7d4da2&&_0x7d4da2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x68183a===this['_loadedStateData']['fromVersion']){for(const _0x5488e8 of this['_loadedStateData']['authors'])_0xf18252['authorsIds']['includes'](_0x5488e8['id'])||_0xf18252['authorsIds']['push'](_0x5488e8['id']);}return _0xf18252;}['_bufferUpdate'](_0x3333cb,_0x10579d,_0x17dd2a){if(this['_bufferedUpdates']['has'](_0x3333cb)){const _0x27f405=this['_bufferedUpdates']['get'](_0x3333cb);_0x10579d=_0x17dd2a?{..._0x27f405,..._0x10579d}:{..._0x10579d,..._0x27f405};}this['_bufferedUpdates']['set'](_0x3333cb,_0x10579d);}['setRevisionData'](_0x553d85){const _0x7b8532=this['repository']['getRevision'](_0x553d85['id']);if(_0x553d85['createdAt']&&(_0x553d85['createdAt']=new Date(_0x553d85['createdAt'])),_0x553d85['authorsIds']){const _0x57aea7=this['editor']['plugins']['get']('Users');_0x553d85['authors']=_0x553d85['authorsIds']['map'](_0x2a45f6=>_0x57aea7['getUser'](_0x2a45f6));}_0x7b8532['_update'](_0x553d85,!0x0);}['_createInitialRevision'](_0x4e3260){const _0x238e43=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x238e43)this['_initialRevisionId']=_0x238e43['id'];else{const _0x1ee0f2=!this['editor']['model']['document']['roots']['find'](_0x2b5155=>this['editor']['model']['hasContent'](_0x2b5155)),_0x47d6cb=this['editor']['plugins']['get']('Users')['me']['id'],_0x39e9e0=_0x12b16c(this['editor']['locale'],_0x1ee0f2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4e3260,'to':_0x4e3260,'id':this['_initialRevisionId'],'name':_0x39e9e0,'creatorId':_0x47d6cb});}}['_createCurrentRevision'](_0x583118){const _0x4371de=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4371de),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x583118,'to':_0x583118,'id':_0x4371de,'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'](_0x2aa04b,_0x468800){let _0x4678d4=this['editor']['config']['get']('initialData'),_0x252b04=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4678d4){_0x4678d4={};for(const _0x246435 of this['editor']['model']['document']['getRootNames']())_0x4678d4[_0x246435]='';}if('string'==typeof _0x4678d4&&(_0x4678d4={'main':_0x4678d4}),void 0x0===_0x252b04){_0x252b04={};for(const _0x560595 of this['editor']['model']['document']['getRootNames']())_0x252b04[_0x560595]={};}let _0x1c2c53=!0x1;const _0x2a9b81=Object['keys'](_0x4678d4),_0x50e9c2=Object['keys'](_0x2aa04b);for(const _0x219660 of _0x2a9b81){if(_0x4678d4[_0x219660]!==_0x2aa04b[_0x219660]&&''!==_0x4678d4[_0x219660]['trim']()){_0x1c2c53=!0x0;break;}if(!dt(_0x252b04[_0x219660],_0x468800[_0x219660])&&Object['keys'](_0x252b04[_0x219660])['length']>0x0){_0x1c2c53=!0x0;break;}}_0x1c2c53||(_0x1c2c53=_0x50e9c2['some'](_0x54ec79=>!this['editor']['model']['document']['getRoot'](_0x54ec79))),_0x1c2c53&&_0xa0ed63['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4678d4,'editorRootsAttributes':_0x252b04,'revisionData':_0x2aa04b,'revisionRootsAttributes':_0x468800}),this['editor']['config']['set']('initialData',_0x2aa04b),this['editor']['config']['set']('rootsAttributes',_0x468800);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x183479=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x183479['add'](_0x12b16c(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x32b002){const _0x563ac0=this['repository']['getRevisions']();_0x563ac0['reverse']();let _0xd1b88f=0x0;for(;_0xd1b88f<_0x563ac0['length'];){const _0x132a59=_0x563ac0[_0xd1b88f];if(_0x132a59===this['currentRevision']){_0xd1b88f++;continue;}if(_0x132a59['id']===this['_initialRevisionId'])break;const _0xfc5b38=_0x32b002['toVersion']-_0x132a59['toVersion']||_0x32b002['fromVersion']-_0x132a59['fromVersion'];if(_0xfc5b38>0x0)break;if(_0xfc5b38<0x0)_0xd1b88f++;else{if(!_0x32b002['creator']&&_0x132a59['creator'])break;if(_0x132a59['creator']||!_0x32b002['creator']){if(_0x32b002['createdAt']>_0x132a59['createdAt'])break;_0xd1b88f++;}else _0xd1b88f++;}}return _0xd1b88f;}['_getFromVersion'](_0x34fb1c){const _0x3f7905=this['repository']['getRevisions']();_0x3f7905['reverse'](),_0x3f7905['shift']();const _0x1ee221=_0x3f7905['find'](_0x3ef366=>_0x3ef366['toVersion']<=_0x34fb1c)['toVersion'];return _0x1ee221<this['_startingVersion']?this['_startingVersion']:_0x1ee221;}['_makeRevision']({name:_0x417dd9,from:_0x36c77b,to:_0x4af1d7,creatorId:_0x322cff,id:_0x3b49cc}){const _0x60ab91=this['buildRevisionData']({'from':_0x36c77b,'to':_0x4af1d7});_0x60ab91['name']=_0x417dd9,_0x60ab91['creatorId']=_0x322cff,_0x60ab91['id']=_0x3b49cc;const _0x55ebf2=this['addRevisionData'](_0x60ab91);return this['adapter']&&this['_bufferUpdate'](_0x60ab91['id'],_0x60ab91,!0x0),_0x55ebf2;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}}class RevisionDataBuilder{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x28bab6){this['editor']=_0x28bab6,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'](_0x22d305){this['source']=_0x22d305;const _0x1b6245=new Map(),_0x1efb9f=new Map(),_0x447110=this['editor']['model']['document']['roots']['map'](_0x32720f=>_0x32720f['rootName']);for(const _0x29c3cc of _0x447110){const _0x40a0f2=this['editor']['model']['document']['getRoot'](_0x29c3cc),_0x1d71cd=_0x5b4122(_0x40a0f2);_0x1b6245['set'](_0x29c3cc,_0x1d71cd),_0x1efb9f['set'](_0x29c3cc,Object['fromEntries'](_0x40a0f2['getAttributes']()));}const _0x493190=Array['from'](this['editor']['model']['markers'])['map'](_0x5b1846=>[_0x5b1846['name'],_0x5b1846['getRange']()]),_0x25f562=this['source']['version'];this['_saveMetaData'](_0x25f562,_0x1b6245,_0x493190,_0x1efb9f),this['_startingRevisionId']=this['_revisionId'];const _0x3d37bc=new Map(),_0x216279=new Map();for(const _0x364287 of _0x447110){const _0x2800d5=_0x442cd8(_0x364287);_0x3d37bc['set'](_0x364287,_0x2800d5),_0x216279['set'](_0x364287,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3d37bc,[],_0x216279);}['getData'](_0x5b2ed3,_0x9f5cea){if(this['_lastFrom']===_0x5b2ed3&&this['_lastTo']<=_0x9f5cea)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x9f5cea,!0x0);else{if(!this['_savedMetaData']['has'](_0x5b2ed3)){const _0x5c3b76=this['_getPreviousFrom'](_0x5b2ed3);this['_calculateMetaData'](_0x5c3b76,_0x5b2ed3,!0x1);}this['_calculateMetaData'](_0x5b2ed3,_0x9f5cea,!0x0);}return this['_lastFrom']=_0x5b2ed3,this['_lastTo']=_0x9f5cea,this['_getState']();}['loadState'](_0x4f0c27){if(!this['_savedMetaData']['has'](_0x4f0c27['fromVersion'])){const _0x32fd00=this['_getPreviousFrom'](_0x4f0c27['fromVersion']);this['_calculateMetaData'](_0x32fd00,_0x4f0c27['fromVersion'],!0x1);}this['_calculateMetaData'](_0x4f0c27['fromVersion'],_0x4f0c27['toVersion'],!0x1);const _0x1c861e=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x4f0c27['fromVersion'],this['_lastTo']=_0x4f0c27['toVersion'];for(const _0x49f68b in _0x4f0c27['diffData']){const _0x4698ca=_0x4f0c27['diffData'][_0x49f68b]['attachChange'],_0x347d45=_0xdd0984(_0x4f0c27['diffData'][_0x49f68b]['attributesBefore'])||{},_0x1f0fea=_0x1c861e['_makeModelFromViewString'](_0x4f0c27['diffData'][_0x49f68b]['deletions']);_0x1f0fea['rootName']=_0x49f68b,_0x1f0fea['_isAttached']=!_0x4698ca||!_0x4698ca['isAttached'],_0x1f0fea['isAttached']=()=>_0x1f0fea['_isAttached'],this['_baseRoots']['set'](_0x49f68b,_0x1f0fea),this['_baseRootsAttributes']['set'](_0x49f68b,_0x347d45),_0x4698ca&&this['_touchedRoots']['set'](_0x49f68b,_0x4698ca);const _0x1b814f=this['_makeIdsRoot'](_0x1f0fea);this['_baseIdsRoots']['set'](_0x49f68b,_0x1b814f);for(const [_0x2d7338,_0x146808]of _0x1f0fea['markers']){if(!_0x2d7338['startsWith']('revision:'))continue;const _0xd04eda=_0x2d7338['split'](':')[0x2];for(const _0x2521a8 of _0x146808['getWalker']({'singleCharacters':!0x0})){const _0x21d757=this['_getVidAttributeName'](_0x2521a8),_0x49e706='elementEnd'==_0x2521a8['type']?_0x2521a8['previousPosition']['path']['slice'](0x0,-0x1):_0x2521a8['previousPosition']['path'],_0x2dc989=_0x1b814f['getNodeByPath'](_0x49e706)['getAttribute'](_0x21d757);this['_touched']['set'](_0x2dc989,{'userId':_0xd04eda});}_0x1f0fea['markers']['delete'](_0x2d7338);}}this['_startingRevisionId']=this['_revisionId'];const _0x5c7a48=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x206e85=>!this['_touched']['has'](_0x206e85));let _0x4e2e9e=0x0;const _0x32b57a=new Map();for(const _0x1b4971 in _0x4f0c27['diffData']){const _0x4cec4f=_0x4f0c27['diffData'][_0x1b4971]['attachChange'],_0x49283a=_0xdd0984(_0x4f0c27['diffData'][_0x1b4971]['attributesAfter'])||{},_0x2f4ca8=_0x1c861e['_makeModelFromViewString'](_0x4f0c27['diffData'][_0x1b4971]['insertions']);_0x2f4ca8['rootName']=_0x1b4971,_0x2f4ca8['_isAttached']=!_0x4cec4f||_0x4cec4f['isAttached'],_0x2f4ca8['isAttached']=()=>_0x2f4ca8['_isAttached'],this['_diffRoots']['set'](_0x1b4971,_0x2f4ca8),this['_diffRootsAttributes']['set'](_0x1b4971,_0x49283a);const _0x329dc6=this['_makeIdsRoot'](_0x2f4ca8,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1b4971,_0x329dc6),_0x32b57a['set'](_0x1b4971,_0x2f4ca8['isAttached']()?_0x49283a:{});for(const [_0x5b59f4,_0x1fac13]of _0x2f4ca8['markers']){if(!_0x5b59f4['startsWith']('revision:'))continue;const _0x1598b6=_0x5b59f4['split'](':')[0x2];for(const _0x294e77 of _0x1fac13['getWalker']({'singleCharacters':!0x0})){const _0x1b7670=this['_getVidAttributeName'](_0x294e77),_0x8ef963=this['_revisionId']++,_0x488f73='elementEnd'==_0x294e77['type']?_0x294e77['previousPosition']['path']['slice'](0x0,-0x1):_0x294e77['previousPosition']['path'];_0x329dc6['getNodeByPath'](_0x488f73)['_setAttribute'](_0x1b7670,_0x8ef963),this['_touched']['set'](_0x8ef963,{'userId':_0x1598b6});}_0x2f4ca8['markers']['delete'](_0x5b59f4);}for(const _0x4f97a5 of this['editor']['model']['createRangeIn'](_0x2f4ca8)['getWalker']({'singleCharacters':!0x0})){const _0x53b2ab=this['_getVidAttributeName'](_0x4f97a5),_0x5ad6aa='elementEnd'==_0x4f97a5['type']?_0x4f97a5['previousPosition']['path']['slice'](0x0,-0x1):_0x4f97a5['previousPosition']['path'],_0x2a6e0a=_0x329dc6['getNodeByPath'](_0x5ad6aa);_0x2a6e0a['getAttribute'](_0x53b2ab)>0x0||_0x2a6e0a['_setAttribute'](_0x53b2ab,_0x5c7a48[_0x4e2e9e++]);}for(const [_0x367844,_0x11a56a]of _0x2f4ca8['markers'])_0x367844['startsWith']('revision:')||this['_markers']['set'](_0x367844,_0x11a56a);}const {roots:_0x6be4b1}=this['_savedMetaData']['get'](_0x4f0c27['fromVersion']),{roots:_0x3b3c56}=this['_savedMetaData']['get'](_0x4f0c27['toVersion']),_0x243462=_0x5b4122(_0x6be4b1['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x243462),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x243462,Number['NEGATIVE_INFINITY']));const _0x396612=_0x5b4122(_0x3b3c56['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x396612),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x396612));const _0x3dd9ba=Array['from'](this['_diffRoots'])['map'](([_0x29893d,_0x27eac0])=>[_0x29893d,_0x5b4122(_0x27eac0)]);this['_saveMetaData'](this['_lastTo'],_0x3dd9ba,this['_markers'],_0x32b57a);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x2e975b,_0x58e340,_0x59dc3b,_0x53690e){const _0x551ac6=new Map(_0x58e340),_0x10d24c=new Map(_0xdd0984(_0x53690e)),_0xbf8482=new Map();for(const [_0x5f4388,_0xc7ab50]of _0x59dc3b)_0xbf8482['set'](_0x5f4388,{'start':_0xc7ab50['start']['clone'](),'end':_0xc7ab50['end']['clone'](),'rootName':_0xc7ab50['root']['rootName']});this['_savedMetaData']['set'](_0x2e975b,{'roots':_0x551ac6,'markers':_0xbf8482,'rootsAttributes':_0x10d24c});}['_removeMetaData'](_0x37c54e){this['_savedMetaData']['delete'](_0x37c54e);}['_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'](_0x2b9323,_0x14baeb=null){let _0x55a53b=null;_0x2b9323['is']('documentFragment')||(_0x55a53b=new _0xa0ed63['ModelElement'](_0x2b9323['name'],{'vid_start':null===_0x14baeb?this['_revisionId']++:_0x14baeb++}));const _0x42afd6=[];for(const _0x40272e of _0x2b9323['getChildren']())if(_0x40272e['is']('element')){_0x42afd6['push'](this['_makeIdsRoot'](_0x40272e,_0x14baeb));const _0x2a781a=_0x42afd6[_0x42afd6['length']-0x1];null!==_0x14baeb&&(_0x14baeb=_0x2a781a['is']('element','$text')?_0x2a781a['getAttribute']('vid')+0x1:_0x2a781a['getAttribute']('vid_end')+0x1);}else{for(let _0xd67774=0x0;_0xd67774<_0x40272e['offsetSize'];_0xd67774++)_0x42afd6['push'](new _0xa0ed63['ModelElement']('$text',{'vid':null===_0x14baeb?this['_revisionId']++:_0x14baeb++}));}if(_0x2b9323['is']('documentFragment')){const _0x1bde3a=_0x442cd8(_0x2b9323['rootName']);return _0x1bde3a['_insertChild'](0x0,_0x42afd6),_0x1bde3a;}return _0x55a53b['_setAttribute']('vid_end',null===_0x14baeb?this['_revisionId']++:_0x14baeb++),_0x55a53b['_insertChild'](0x0,_0x42afd6),_0x55a53b;}['_calculateMetaData'](_0x80fce7,_0x8fca72,_0x1392ad){this['_reset']();const {roots:_0x36688a,markers:_0x437a4a,rootsAttributes:_0x33967c}=this['_savedMetaData']['get'](_0x80fce7);this['_baseRoots']=new Map(_0x36688a),this['_baseRootsAttributes']=new Map(_0xdd0984(_0x33967c));for(const [_0x32b1d2,_0x5a82c3]of this['_baseRoots'])if('$graveyard'!==_0x32b1d2&&(this['_diffRoots']['set'](_0x32b1d2,_0x5b4122(_0x5a82c3)),this['_diffRootsAttributes']=new Map(_0xdd0984(_0x33967c)),_0x1392ad)){const _0x4fc90d=this['_revisionId'];this['_idsRoots']['set'](_0x32b1d2,this['_makeIdsRoot'](_0x5a82c3)),this['_baseIdsRoots']['set'](_0x32b1d2,this['_makeIdsRoot'](_0x5a82c3,_0x4fc90d));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x5b4122(this['_baseRoots']['get']('$graveyard'))),_0x1392ad&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5d3012,_0x35aedd]of _0x437a4a){const _0x2120c7=this['_baseRoots']['get'](_0x35aedd['rootName']),_0x3bf747=this['_diffRoots']['get'](_0x35aedd['rootName']),_0x5791d9=new _0xa0ed63['ModelRange'](this['_fixPosition'](_0x35aedd['start'],_0x2120c7),this['_fixPosition'](_0x35aedd['end'],_0x2120c7)),_0x195e21=this['_fixRange'](_0x5791d9,_0x3bf747);_0x2120c7['markers']['set'](_0x5d3012,_0x5791d9),this['_markers']['set'](_0x5d3012,_0x195e21);}this['_applyOperations'](_0x80fce7,_0x8fca72,_0x1392ad);}['_applyOperations'](_0x16fe7b,_0x1a092d,_0x41abeb){for(const _0x16fb6d of this['source']['getOperations'](_0x16fe7b,_0x1a092d))this['_handleOperation'](_0x16fb6d,_0x41abeb);for(const _0x5767ed of this['_diffRoots']['values']())_0x5767ed['markers']['clear']();for(const [_0x1ffa0f,_0x4834c2]of this['_markers']){this['_diffRoots']['get'](_0x4834c2['root']['rootName'])['markers']['set'](_0x1ffa0f,_0x4834c2['clone']());}const _0x57af61=new Map(),_0x481e5f=new Map();for(const [_0x3d2147,_0x16574b]of this['_diffRoots'])_0x57af61['set'](_0x3d2147,_0x5b4122(_0x16574b)),_0x481e5f['set'](_0x3d2147,this['_diffRootsAttributes']['get'](_0x3d2147));this['_saveMetaData'](_0x1a092d,_0x57af61,this['_markers'],_0x481e5f);}['_getPreviousFrom'](_0x272b30){const _0x2bd3f6=Array['from'](this['_savedMetaData']['keys']());_0x2bd3f6['sort']((_0x4a050f,_0x29167b)=>_0x4a050f-_0x29167b),_0x2bd3f6['reverse']();for(const _0x7471c2 of _0x2bd3f6)if(_0x7471c2<_0x272b30)return _0x7471c2;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2871bf,_0x3bec08){const _0x92df04=Array['from'](_0x3bec08['markers'])['map'](([_0x381bc9,_0x244252])=>[_0x381bc9,this['_fixRange'](_0x244252,_0x2871bf)]);_0x2871bf['markers']=new Map(_0x92df04);}['_transformMarkers'](_0x55db08){for(const _0x386728 of this['_markers']['values']()){const _0x3d9625=_0x386728['getTransformedByOperation'](_0x55db08),_0x58ecd7=_0xa0ed63['ModelRange']['_createFromRanges'](_0x3d9625);_0x386728['start']=_0x58ecd7['start'],_0x386728['end']=_0x58ecd7['end'];}}['_handleOperation'](_0x421936,_0xc5e394){if('addRoot'!=_0x421936['type']&&'detachRoot'!=_0x421936['type']){if('insert'==_0x421936['type']){const _0x4c3dd4=_0x421936['position']['root']['rootName'];this['_diffRoots']['has'](_0x4c3dd4)||(this['_diffRoots']['set'](_0x4c3dd4,_0x442cd8(_0x4c3dd4,!0x0)),this['_diffRootsAttributes']['set'](_0x4c3dd4,{}),_0xc5e394&&this['_idsRoots']['set'](_0x4c3dd4,_0x442cd8(_0x4c3dd4,!0x0)));}else{if('addRootAttribute'==_0x421936['type']||'removeRootAttribute'==_0x421936['type']||'changeRootAttribute'==_0x421936['type'])return void this['_handleRootAttributeOperation'](_0x421936);'marker'==_0x421936['type']&&this['_handleMarkerOperation'](_0x421936);}if('marker'!==_0x421936['type']){const _0x3f11c0=this['_cloneOperation'](_0x421936,this['_diffRoots']);_0x3f11c0['_execute'](),this['_transformMarkers'](_0x3f11c0);}if(_0xc5e394)switch(_0x421936['type']){case'insert':this['_handleInsertOperation'](_0x421936);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x421936);break;case'merge':this['_handleMergeOperation'](_0x421936);break;case'split':this['_handleSplitOperation'](_0x421936);}}else this['_handleRootOperation'](_0x421936,_0xc5e394);}['_cloneOperation'](_0x2d1c5f,_0x25bf26){const _0x232d49=_0x2d1c5f['clone']();return _0x232d49['_authorId']=_0x2d1c5f['_authorId'],this['_fixOperation'](_0x232d49,_0x25bf26),_0x232d49;}['_getBaseVids'](_0x192643){return _0x192643['map'](_0x1242e9=>{const _0x13d708=this['_getVidAttributeName'](_0x1242e9);return Number(_0x1242e9['item']['getAttribute'](_0x13d708));});}['_generateTape'](_0x35c865,_0x4dd2e9){if(_0x35c865['is']('element','$text'))_0x4dd2e9['push']({'item':_0x35c865,'type':'text'});else{_0x35c865['is']('element')&&_0x4dd2e9['push']({'item':_0x35c865,'type':'elementStart'});for(const _0x14f65b of _0x35c865['getChildren']())this['_generateTape'](_0x14f65b,_0x4dd2e9);_0x35c865['is']('element')&&_0x4dd2e9['push']({'item':_0x35c865,'type':'elementEnd'});}return _0x4dd2e9;}['_getState'](){const _0x15cc96=new Map(this['_touched']),_0x3720be=new Map(_0x15cc96),_0x5933b6=new Map(),_0x54ce95={'insertions':{},'deletions':{}},_0x28f01e={'insertions':{},'deletions':{}},_0x1b857a=new Map(),_0x172301=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x172301['delete']('$graveyard');for(const _0x39c076 of _0x172301){const _0x4de097=this['_diffRoots']['get'](_0x39c076)||_0x442cd8(_0x39c076,!0x1),_0x359198=this['_baseRoots']['get'](_0x39c076)||_0x442cd8(_0x39c076,!0x1);_0x4de097['isAttached']()||_0x359198['isAttached']()?(_0x54ce95['insertions'][_0x39c076]=_0x5b4122(_0x4de097),_0x54ce95['deletions'][_0x39c076]=_0x5b4122(_0x359198),this['_copyMarkers'](_0x54ce95['deletions'][_0x39c076],_0x359198),this['_copyMarkers'](_0x54ce95['insertions'][_0x39c076],_0x4de097),_0x28f01e['insertions'][_0x39c076]=this['_generateTape'](this['_idsRoots']['get'](_0x39c076),[]),_0x28f01e['deletions'][_0x39c076]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x39c076)||_0x442cd8(_0x39c076,!0x1),[])):_0x172301['delete'](_0x39c076);}for(const _0x5569e6 of _0x172301){const _0x6c7cc7=_0x28f01e['insertions'][_0x5569e6];for(const _0x3fe55d of _0x6c7cc7){const _0x493d23=this['_getVidAttributeName'](_0x3fe55d),_0x5a40cc=_0x3fe55d['item']['getAttribute'](_0x493d23);_0x3720be['delete'](_0x5a40cc),_0x5a40cc>=this['_startingRevisionId']&&_0x5933b6['set'](_0x5a40cc,_0x15cc96['get'](_0x5a40cc));}}for(const _0x3266da of _0x172301){const _0x3041e8=_0x28f01e['insertions'][_0x3266da],_0x553f87=this['_getBaseVids'](_0x28f01e['deletions'][_0x3266da]);let _0x12fc04=0x0;for(const _0x132ed7 of _0x3041e8){const _0x1a653f=this['_getVidAttributeName'](_0x132ed7),_0x5e7921=_0x132ed7['item']['getAttribute'](_0x1a653f);if(!_0x5933b6['has'](_0x5e7921)&&!_0x1b857a['has'](_0x5e7921)){if(_0x3720be['has'](_0x5e7921))_0x12fc04++;else{if(_0x5e7921!=_0x553f87[_0x12fc04]){const _0x4d9814=_0x15cc96['get'](_0x5e7921)||_0x15cc96['get'](_0x553f87[_0x12fc04]);for(;_0x5e7921!=_0x553f87[_0x12fc04];)_0x3720be['has'](_0x553f87[_0x12fc04])||(_0x1b857a['set'](_0x553f87[_0x12fc04],_0x4d9814),_0x15cc96['set'](_0x553f87[_0x12fc04],_0x4d9814)),_0x12fc04++;}_0x12fc04++;}}}}for(const _0x360ad1 of _0x172301){const _0x1c3497=_0x28f01e['insertions'][_0x360ad1];for(const _0x139fab of _0x1c3497){const _0x1cca86=this['_getVidAttributeName'](_0x139fab),_0x430fff=_0x139fab['item']['getAttribute'](_0x1cca86);if(_0x1b857a['has'](_0x430fff)){const _0x5dc28a=_0x1b857a['get'](_0x430fff);_0x3720be['has'](_0x430fff)||_0x3720be['set'](_0x430fff,{..._0x5dc28a}),_0x5933b6['set'](_0x430fff,{..._0x5dc28a});}}}for(const _0x25e070 of _0x3720be['keys']())_0x25e070>=this['_startingRevisionId']&&_0x3720be['delete'](_0x25e070);const _0x42e348=new Map();for(const _0x13c615 of _0x172301){let _0x25e483=_0x28f01e['insertions'][_0x13c615];for(const _0x452077 of _0x25e483)if(_0x452077['item']['is']('element','tableCell')){const _0x506248=this['_getVidAttributeName'](_0x452077),_0x17987f=_0x452077['item']['getAttribute'](_0x506248);if(_0x5933b6['has'](_0x17987f)){const _0x132c33=_0x452077['item']['parent']['parent']['getAttribute']('vid_start'),_0x50e514=_0x42e348['get'](_0x132c33)||new Set();_0x50e514['add'](_0x5933b6['get'](_0x17987f)['userId']),_0x42e348['set'](_0x132c33,_0x50e514);}}_0x25e483=_0x28f01e['deletions'][_0x13c615];for(const _0x10d542 of _0x25e483)if(_0x10d542['item']['is']('element','tableCell')){const _0x5a5a80=this['_getVidAttributeName'](_0x10d542),_0x51ce0b=_0x10d542['item']['getAttribute'](_0x5a5a80);if(_0x3720be['has'](_0x51ce0b)){const _0x4e0355=_0x10d542['item']['parent']['parent']['getAttribute']('vid_start'),_0x420d59=_0x42e348['get'](_0x4e0355)||new Set();_0x420d59['add'](_0x3720be['get'](_0x51ce0b)['userId']),_0x42e348['set'](_0x4e0355,_0x420d59);}}for(const _0x31819b of _0x42e348['keys']())(_0x5933b6['has'](_0x31819b)||_0x3720be['has'](_0x31819b))&&_0x42e348['delete'](_0x31819b);}for(const _0x4ab9af of _0x172301){const _0x5a1c1a=_0x28f01e['insertions'][_0x4ab9af];let _0x454c62=null,_0x5aa05b=null;for(const _0x1acdbe of _0x5a1c1a){const _0x11eee1=this['_getVidAttributeName'](_0x1acdbe),_0x3835f5=_0x1acdbe['item']['getAttribute'](_0x11eee1),_0x306745=_0x42e348['get'](_0x3835f5);_0x306745&&'elementStart'==_0x1acdbe['type']&&(_0x454c62=Array['from'](_0x306745)[0x0],_0x5aa05b=_0x1acdbe['item']['getAttribute']('vid_end')),_0x454c62&&(_0x3720be['set'](_0x3835f5,{'userId':_0x454c62}),_0x5933b6['set'](_0x3835f5,{'userId':_0x454c62})),_0x3835f5==_0x5aa05b&&(_0x454c62=null,_0x5aa05b=null);}}const _0x588629={},_0x1c648e=new Set();for(const _0x437880 of _0x172301){const _0x1b6c27=_0x54ce95['deletions'][_0x437880],_0x15d1ff=_0x54ce95['insertions'][_0x437880];for(const {userId:_0x24507b}of this['_touchedMarkers']['values']())null!==_0x24507b&&_0x1c648e['add'](_0x24507b);for(const {userId:_0x1c7b45}of this['_touchedRoots']['values']())null!==_0x1c7b45&&_0x1c648e['add'](_0x1c7b45);this['_markChanges'](_0x15d1ff,_0x28f01e['insertions'][_0x437880],_0x5933b6,'insertion',_0x1c648e),this['_markChanges'](_0x1b6c27,_0x28f01e['deletions'][_0x437880],_0x3720be,'deletion',_0x1c648e),_0x588629[_0x437880]={'insertions':this['_prepareViewToSave'](_0x15d1ff),'deletions':this['_prepareViewToSave'](_0x1b6c27),'attachChange':this['_touchedRoots']['get'](_0x437880)||null,'attributesBefore':_0xdd0984(this['_baseRootsAttributes']['get'](_0x437880))||{},'attributesAfter':_0xdd0984(this['_diffRootsAttributes']['get'](_0x437880))};}return{'diffData':_0x588629,'authorsIds':Array['from'](_0x1c648e)};}['_processRootBeforeSave'](_0x1640d6){for(const [,_0xca8379]of _0x1640d6['markers']){const _0x34213f=_0xca8379['start']['getAncestors']()['filter'](_0x173d22=>'tableCell'==_0x173d22['name']);for(const _0x47b62d of _0x34213f)0x1==_0x47b62d['childCount']&&_0x47b62d['getChild'](0x0)['is']('element','paragraph')&&_0x47b62d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x493fb3){this['_processRootBeforeSave'](_0x493fb3);const _0x5a1676=this['editor']['data']['toView'](_0x493fb3,{}),_0xb73507=Array['from'](_0x5a1676['getChildren']())['map'](_0x2a5256=>this['_getViewJson'](_0x2a5256));return JSON['stringify'](_0xb73507);}['_getViewJson'](_0x374455){if(_0x374455['is']('$text'))return _0x374455['data'];{const _0x115268=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x29a5a8=_0x374455,_0x2a5f8d=this['editor']['data']['htmlProcessor']['domConverter'],_0x355cde={'type':_0x115268['_getTypeCharForViewElement'](_0x29a5a8),'name':_0x29a5a8['name'],'attributes':Array['from'](_0x29a5a8['getAttributes']()),'children':Array['from'](_0x29a5a8['getChildren']())['map'](_0x16c4ae=>this['_getViewJson'](_0x16c4ae))};if(_0x374455['is']('uiElement')&&'$comment'!=_0x374455['name']){const _0x2e6af1=_0x374455['render'](_0x2a5f8d['domDocument'],_0x2a5f8d);_0x355cde['children']['push'](_0x2e6af1['outerHTML']);}else{if(_0x374455['is']('rawElement')){const _0x4f4b0f=_0x2a5f8d['domDocument']['createElement'](_0x29a5a8['name']);_0x374455['render'](_0x4f4b0f,_0x2a5f8d),_0x355cde['children']['push'](_0x4f4b0f['innerHTML']);}}const _0xd0ec4f=Array['from'](_0x29a5a8['getCustomProperties']());_0xd0ec4f['length']>0x0&&(_0x355cde['customProperties']=_0xd0ec4f);const _0x381d7c=_0x29a5a8['getFillerOffset']();return null!==_0x381d7c&&(_0x355cde['fillerOffset']=_0x381d7c),_0x355cde;}}['_markChanges'](_0x3b4f6d,_0x4f5eab,_0x547fe3,_0x3d3ea6,_0x4bc5ee){let _0x130507=null,_0x4548f4=null,_0x3692e1=0x0;const _0x4be235=this['editor']['model'];for(let _0x5c0ead=0x0;_0x5c0ead<_0x4f5eab['length'];_0x5c0ead++){const _0x14956d=this['_getVidAttributeName'](_0x4f5eab[_0x5c0ead]),_0x58bf45=_0x4f5eab[_0x5c0ead]['item']['getAttribute'](_0x14956d),_0x2bead3=_0x547fe3['get'](_0x58bf45),_0x31a8d3=_0x5c0ead==_0x4f5eab['length']-0x1;(!_0x130507&&_0x2bead3&&(_0x130507=_0x2bead3,_0x4548f4=_0x4f5eab[_0x5c0ead]),_0x130507&&(!_0x2bead3||_0x2bead3['userId']!=_0x130507['userId']))&&(_0x154ffe(_0x2bead3,_0x2d70ec(_0x4548f4,_0x3b4f6d,_0x4be235),_0x2d70ec(_0x4f5eab[_0x5c0ead],_0x3b4f6d,_0x4be235)),_0x130507=_0x2bead3||null,_0x4548f4=_0x2bead3?_0x4f5eab[_0x5c0ead]:null),_0x130507&&_0x31a8d3&&_0x154ffe(_0x2bead3,_0x2d70ec(_0x4548f4,_0x3b4f6d,_0x4be235),_0x3d60c7(_0x4f5eab[_0x5c0ead],_0x3b4f6d,_0x4be235));}function _0x154ffe(_0x4ccd0d,_0x140e72,_0x432d09){const _0x2701e6=_0x130507['userId'],_0x1626cc='revision:'+_0x3d3ea6+':'+_0x2701e6+':'+_0x3692e1++,_0x3e660e=_0x4be235['createRange'](_0x140e72,_0x432d09);_0x3b4f6d['markers']['set'](_0x1626cc,_0x3e660e),null!==_0x2701e6&&_0x4bc5ee['add'](_0x2701e6);}}['_getVidAttributeName'](_0x317594){switch(_0x317594['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x452fc4,_0x38af19){_0x452fc4['baseVersion']=null;for(const _0x331436 in _0x452fc4){const _0x195f70=_0x452fc4[_0x331436];if(_0x195f70 instanceof _0xa0ed63['ModelPosition']){const _0x5ce2dc=_0x38af19['get'](_0x195f70['root']['rootName']);_0x452fc4[_0x331436]=this['_fixPosition'](_0x195f70,_0x5ce2dc);}if(_0x195f70 instanceof _0xa0ed63['ModelRange']){const _0x414985=_0x38af19['get'](_0x195f70['root']['rootName']);_0x452fc4[_0x331436]=this['_fixRange'](_0x195f70,_0x414985);}'root'===_0x331436&&(_0x452fc4['root']=_0x38af19['get'](_0x452fc4['root']['rootName']));}}['_fixRange'](_0x34c88c,_0x3a00e9){return this['editor']['model']['createRange'](this['_fixPosition'](_0x34c88c['start'],_0x3a00e9),this['_fixPosition'](_0x34c88c['end'],_0x3a00e9));}['_fixPosition'](_0x289749,_0x284c4c){return this['editor']['model']['createPositionFromPath'](_0x284c4c,_0x289749['path'],_0x289749['stickiness']);}['_handleInsertOperation'](_0x36a979){const _0x3a3f64=this['_idsRoots']['get'](_0x36a979['position']['root']['rootName']),_0x4addf5=this['_fixPosition'](_0x36a979['position'],_0x3a3f64),_0x2808f7=null===_0x36a979['_authorId']?null:_0x36a979['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x7a92fa=_0x4addf5['parent'],_0x34c0e4=this['_revisionId'],_0x1b67bc=[];for(const _0x46721c of _0x36a979['nodes'])if(_0x46721c['is']('element'))_0x1b67bc['push'](this['_makeIdsRoot'](_0x46721c));else{for(let _0x1c9cc1=0x0;_0x1c9cc1<_0x46721c['offsetSize'];_0x1c9cc1++)_0x1b67bc['push'](new _0xa0ed63['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0xf7ac8d=this['_revisionId'];for(let _0x13ae83=_0x34c0e4;_0x13ae83<_0xf7ac8d;_0x13ae83++)this['_touched']['set'](_0x13ae83,{'userId':_0x2808f7});_0x7a92fa['_insertChild'](_0x4addf5['offset'],_0x1b67bc);}['_handleMoveOperation'](_0x267ff3){(_0x267ff3=this['_cloneOperation'](_0x267ff3,this['_idsRoots']))['_execute']();const _0x2199dd=null===_0x267ff3['_authorId']?null:_0x267ff3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xbf3506=_0x267ff3['getMovedRangeStart'](),_0x469343=_0xbf3506['parent'],_0x1ed23a=_0xbf3506['offset'];!function _0x555595(_0x3b0653,_0x34540e,_0x3868ad,_0xa59df9){for(let _0x241751=_0x3868ad;_0x241751<_0xa59df9;_0x241751++){const _0x5c6d1d=_0x34540e['getChild'](_0x241751);_0x5c6d1d['is']('element','$text')?_0x3b0653['set'](_0x5c6d1d['getAttribute']('vid'),{'userId':_0x2199dd}):(_0x3b0653['set'](_0x5c6d1d['getAttribute']('vid_start'),{'userId':_0x2199dd}),_0x555595(_0x3b0653,_0x5c6d1d,0x0,_0x5c6d1d['childCount']),_0x3b0653['set'](_0x5c6d1d['getAttribute']('vid_end'),{'userId':_0x2199dd}));}}(this['_touched'],_0x469343,_0x1ed23a,_0x1ed23a+_0x267ff3['howMany']);}['_handleMergeOperation'](_0x917e00){const _0x1254f9=null===(_0x917e00=this['_cloneOperation'](_0x917e00,this['_idsRoots']))['_authorId']?null:_0x917e00['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2ba2c3=_0x917e00['targetPosition']['parent'],_0x510b3a=_0x917e00['sourcePosition']['parent'],_0x10a1a7=_0x2ba2c3['getAttribute']('vid_end'),_0x177a5a=_0x510b3a['getAttribute']('vid_start');_0x2ba2c3['_setAttribute']('vid_end',_0x510b3a['getAttribute']('vid_end')),_0x510b3a['_setAttribute']('vid_end',_0x10a1a7),this['_touched']['set'](_0x177a5a,{'userId':_0x1254f9}),this['_touched']['set'](_0x10a1a7,{'userId':_0x1254f9}),_0x917e00['_execute']();}['_handleSplitOperation'](_0x267c4a){const _0x16b27c=null===(_0x267c4a=this['_cloneOperation'](_0x267c4a,this['_idsRoots']))['_authorId']?null:_0x267c4a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24fd84=_0x267c4a['graveyardPosition'],_0x1be3ad=_0x267c4a['splitPosition']['parent'];_0x267c4a['_execute']();const _0x5f424b=_0x1be3ad['getAttribute']('vid_end'),_0x524678=_0x267c4a['insertionPosition']['nodeAfter'];if(_0x24fd84){const _0x122807=_0x524678['getAttribute']('vid_end'),_0x4176b0=_0x1be3ad['getAttribute']('vid_end');_0x1be3ad['_setAttribute']('vid_end',_0x122807),_0x524678['_setAttribute']('vid_end',_0x4176b0),this['_touched']['set'](_0x1be3ad['getAttribute']('vid_end'),{'userId':_0x16b27c}),this['_touched']['set'](_0x524678['getAttribute']('vid_start'),{'userId':_0x16b27c});}else{const _0x2d69b1=this['_revisionId']++,_0x2607a3=this['_revisionId']++;_0x1be3ad['_setAttribute']('vid_end',_0x2d69b1),_0x524678['_setAttribute']('vid_start',_0x2607a3),_0x524678['_setAttribute']('vid_end',_0x5f424b),this['_touched']['set'](_0x2d69b1,{'userId':_0x16b27c}),this['_touched']['set'](_0x2607a3,{'userId':_0x16b27c});}}['_handleMarkerOperation'](_0x10f48f){if(!_0x10f48f['affectsData'])return;const _0x31847a=(_0x10f48f=this['_cloneOperation'](_0x10f48f,this['_diffRoots']))['oldRange']?_0x10f48f['oldRange']['root']:null,_0x4def86=_0x10f48f['newRange']?_0x10f48f['newRange']['root']:null;_0x31847a&&this['_markers']['delete'](_0x10f48f['name']),_0x4def86&&this['_markers']['set'](_0x10f48f['name'],_0x10f48f['newRange']['clone']());const _0x5adece=null===_0x10f48f['_authorId']?null:_0x10f48f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e9731=_0x10f48f['name'];if(!this['_touchedMarkers']['has'](_0x1e9731))return void this['_touchedMarkers']['set'](_0x1e9731,{'range':_0x10f48f['oldRange'],'userId':_0x5adece});const _0x178a5d=this['_touchedMarkers']['get'](_0x1e9731),_0x2e6d3d=_0x178a5d['range'],_0x4607a2=_0x10f48f['newRange'];null==_0x2e6d3d&&null==_0x4607a2||_0x2e6d3d&&_0x4607a2&&_0x2e6d3d['isEqual'](_0x4607a2)?this['_touchedMarkers']['delete'](_0x10f48f['name']):_0x178a5d['userId']=_0x5adece;}['_handleRootOperation'](_0x3a4230,_0x2eb8cd){this['_diffRoots']['has'](_0x3a4230['rootName'])?this['_diffRoots']['get'](_0x3a4230['rootName'])['_isAttached']=_0x3a4230['isAdd']:(this['_diffRoots']['set'](_0x3a4230['rootName'],_0x442cd8(_0x3a4230['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3a4230['rootName'],{}),_0x2eb8cd&&this['_idsRoots']['set'](_0x3a4230['rootName'],_0x442cd8(_0x3a4230['rootName'],!0x0)));const _0x14624d=null===_0x3a4230['_authorId']?null:_0x3a4230['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5b0707=this['_touchedRoots']['get'](_0x3a4230['rootName']);_0x5b0707&&_0x5b0707['userId']===_0x14624d?this['_touchedRoots']['delete'](_0x3a4230['rootName']):this['_touchedRoots']['set'](_0x3a4230['rootName'],{'userId':_0x14624d,'isAttached':_0x3a4230['isAdd']});}['_handleRootAttributeOperation'](_0x1e5412){const _0x1599e1=this['_diffRootsAttributes']['get'](_0x1e5412['root']['rootName']);null===_0x1e5412['newValue']?delete _0x1599e1[_0x1e5412['key']]:_0x1599e1[_0x1e5412['key']]=_0x1e5412['newValue'];}}function _0x5b4122(_0x58c38e){const _0x4d4dcb=_0x442cd8(_0x58c38e['rootName'],_0x58c38e['isAttached']());for(const _0x21bad1 of _0x58c38e['getChildren']()){const _0x4847fe=_0x21bad1['_clone'](!0x0);_0x4d4dcb['_appendChild'](_0x4847fe);}return _0x4d4dcb;}function _0x442cd8(_0x206cae,_0x3e81be=!0x0){const _0x5e1bc2=new _0xa0ed63['ModelDocumentFragment']();return _0x5e1bc2['rootName']=_0x206cae,_0x5e1bc2['_isAttached']=_0x3e81be,_0x5e1bc2['isAttached']=()=>_0x5e1bc2['_isAttached'],_0x5e1bc2;}function _0x2d70ec(_0x122b11,_0x52fb5c,_0x5f46e8){const _0x2e6ae3='elementEnd'==_0x122b11['type']?_0x5f46e8['createPositionAt'](_0x122b11['item'],'end'):_0x5f46e8['createPositionBefore'](_0x122b11['item']);return _0x5f46e8['createPositionFromPath'](_0x52fb5c,_0x2e6ae3['path'],_0x2e6ae3['stickiness']);}function _0x3d60c7(_0x51998f,_0x8b9e4b,_0x1d3e7e){const _0x1ee2ff='elementStart'==_0x51998f['type']?_0x1d3e7e['createPositionAt'](_0x51998f['item'],0x0):_0x1d3e7e['createPositionAfter'](_0x51998f['item']);return _0x1d3e7e['createPositionFromPath'](_0x8b9e4b,_0x1ee2ff['path'],_0x1ee2ff['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
_0xa0ed63['CssTransitionDisablerMixin'](_0xa0ed63['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x191484,_0x2d66d3){super(_0x191484),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2d66d3),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'](),_0xa0ed63['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x35078c=_0x100b25=>_0x100b25['stopPropagation']();this['keystrokes']['set']('arrowright',_0x35078c),this['keystrokes']['set']('arrowleft',_0x35078c),this['keystrokes']['set']('arrowup',_0x35078c),this['keystrokes']['set']('arrowdown',_0x35078c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5d7e5f){this['revisionNameInputView']['fieldView']['element']['value']=_0x5d7e5f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x335235){const _0x47ff0f=new _0xa0ed63['LabeledFieldView'](this['locale'],_0xa0ed63['createLabeledInputText']),_0x31d3c1=_0x47ff0f['fieldView'];_0x31d3c1['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1a076a=_0x12b16c(this['locale'],'Name\x20of\x20the\x20revision');return!_0x335235&&(_0x1a076a+='\x20('+_0x12b16c(this['locale'],'optional')+')'),(_0x47ff0f['label']=_0x1a076a,_0x31d3c1['on']('input',()=>{this['revisionNameInputValue']=_0x31d3c1['element']['value']['trim']();}),_0x47ff0f);}}class RevisionHistoryUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x19f525];}['_saveRevisionFormView'];['init'](){const _0xeb6db2=this['editor'],_0x23ab7c=_0xeb6db2['plugins']['get']('RevisionTracker');_0xeb6db2['ui']['componentFactory']['add']('revisionHistory',_0x5dbf9d=>{const _0x25f49b=_0xa0ed63['createDropdown'](_0x5dbf9d),_0x18c269=_0x25f49b['panelView']['children'],_0x156b29=new _0xa0ed63['ListView'](_0x5dbf9d),_0x5d773a=new _0xa0ed63['ListItemView'](_0x5dbf9d),_0x230f15=this['_createSaveRevisionButton'](_0xa0ed63['ButtonView']),_0x16a689=new _0xa0ed63['ListItemView'](_0x5dbf9d),_0x3f7f17=this['_createOpenRevisionButton'](_0xa0ed63['ButtonView']);return _0x25f49b['bind']('isEnabled')['to'](_0x23ab7c,'isReady',_0x23ab7c,'isEnabled',_0xeb6db2,'isReadOnly',(_0x375a2c,_0x28e284,_0x487d83)=>_0x375a2c&&_0x28e284&&!_0x487d83),_0x25f49b['buttonView']['set']({'icon':_0xa0ed63['IconHistory'],'label':_0x12b16c(_0x5dbf9d,'Revision\x20history'),'tooltip':!0x0}),_0x230f15['set']({'withText':!0x0,'role':'menuitem'}),_0x3f7f17['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x3f7f17,'execute',()=>{_0x25f49b['isOpen']=!0x1,_0xeb6db2['editing']['view']['focus']();},{'priority':'low'}),_0x5d773a['children']['add'](_0x230f15),_0x16a689['children']['add'](_0x3f7f17),_0x156b29['role']='menu',_0x156b29['items']['addMany']([_0x5d773a,_0x16a689]),_0x18c269['add'](_0x156b29),_0x25f49b;}),_0xeb6db2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x32e154=this['editor'],_0x2eb8cf=_0x32e154['locale'],_0x4a23e9=_0x32e154['plugins']['get']('RevisionTracker'),_0x3d4b8e=new _0xa0ed63['MenuBarMenuView'](_0x2eb8cf),_0x2e32c8=new _0xa0ed63['MenuBarMenuListView'](_0x2eb8cf);_0x3d4b8e['bind']('isEnabled')['to'](_0x4a23e9,'isReady',_0x4a23e9,'isEnabled',_0x32e154,'isReadOnly',(_0x372bdf,_0x391914,_0x410bb2)=>_0x372bdf&&_0x391914&&!_0x410bb2),_0x3d4b8e['buttonView']['set']({'icon':_0xa0ed63['IconHistory'],'label':_0x12b16c(_0x2eb8cf,'Revision\x20history')});const _0x2e76b6=new _0xa0ed63['MenuBarMenuListItemView'](_0x2eb8cf,_0x3d4b8e),_0x3c9976=this['_createSaveRevisionButton'](_0xa0ed63['MenuBarMenuListItemButtonView']);_0x3c9976['delegate']('execute')['to'](_0x3d4b8e),_0x2e76b6['children']['add'](_0x3c9976),_0x2e32c8['items']['add'](_0x2e76b6);const _0x353475=new _0xa0ed63['MenuBarMenuListItemView'](_0x2eb8cf,_0x3d4b8e),_0xf0b2b=this['_createOpenRevisionButton'](_0xa0ed63['MenuBarMenuListItemButtonView']);return _0xf0b2b['delegate']('execute')['to'](_0x3d4b8e),_0x353475['children']['add'](_0xf0b2b),_0x2e32c8['items']['add'](_0x353475),_0x3d4b8e['panelView']['children']['add'](_0x2e32c8),_0x3d4b8e;}['_createSaveRevisionButton'](_0x599d94){const _0x537d2c=this['editor'],_0x4b1902=_0x537d2c['plugins']['get']('RevisionTracker'),_0x26d3b1=new _0x599d94(_0x537d2c['locale']);return _0x26d3b1['set']({'label':_0x12b16c(_0x537d2c['locale'],'Save\x20current\x20revision')}),_0x26d3b1['bind']('isEnabled')['to'](_0x4b1902,'isReady',_0x4b1902,'isEnabled',_0x537d2c,'isReadOnly',(_0x17ae5e,_0x45269a,_0x818e55)=>_0x17ae5e&&_0x45269a&&!_0x818e55),this['listenTo'](_0x26d3b1,'execute',()=>{this['_showDialog']();}),_0x26d3b1;}['_createOpenRevisionButton'](_0x41392e){const _0x4a1638=this['editor'],_0x849ce6=_0x4a1638['plugins']['get']('RevisionTracker'),_0x5e3b5d=new _0x41392e(_0x4a1638['locale']);return _0x5e3b5d['set']({'label':_0x12b16c(_0x4a1638['locale'],'Open\x20revision\x20history')}),_0x5e3b5d['bind']('isEnabled')['to'](_0x849ce6,'isReady',_0x4a1638,'isReadOnly',(_0x3a67a1,_0x1d1640)=>_0x3a67a1&&!_0x1d1640),this['listenTo'](_0x5e3b5d,'execute',()=>{_0x4a1638['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5e3b5d;}['_showDialog'](){const _0x3036c7=this['editor'],_0x433451=_0x3036c7['locale'],_0x478f43=_0x3036c7['plugins']['get']('Dialog'),_0x1eaf42=_0x3036c7['plugins']['get']('RevisionTracker');function _0xe7dc0c(_0x545bf0){_0x3036c7['config']['get']('revisionHistory.requireRevisionName')&&''===_0x545bf0['revisionName']?_0x545bf0['revisionNameInputView']['errorText']=_0x12b16c(_0x433451,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x3036c7['plugins']['get'](_0x19f525)['saveRevision']({'name':_0x545bf0['revisionName']}),_0x478f43['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xe7dc0c(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x478f43['show']({'id':'revisionSave','title':_0x12b16c(_0x433451,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x12b16c(_0x3036c7['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x478f43['hide']()},{'label':_0x12b16c(_0x3036c7['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x432b5a){_0x432b5a['bind']('isEnabled')['to'](_0x1eaf42,'isReady',_0x1eaf42,'isEnabled',_0x3036c7,'isReadOnly',(_0x56a450,_0x4ea1b8,_0x231dda)=>_0x56a450&&_0x4ea1b8&&!_0x231dda);},'onExecute':()=>_0xe7dc0c(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xe0b1f0=this['editor'],_0x3729cc=_0xe0b1f0['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x3729cc,_0xe0b1f0['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0xa0ed63['View']{['changeId'];['_model'];constructor(_0x3032a7,_0x3a27f0){super(_0x3032a7),this['_model']=_0x3a27f0,this['changeId']=_0x3a27f0['id'];const _0x436ee2=this['bindTemplate'],_0x441cc8=_0x12b16c(_0x3032a7,_0x3a27f0['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3a27f0['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3a27f0['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x436ee2['to']('type',_0x30eb4f=>'ck-revision-change__'+_0x30eb4f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x441cc8}]},{'text':'\x20'+_0x3a27f0['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2e0569){super(),this['id']=_0x2e0569['id']||_0xa0ed63['uid'](),this['author']=_0x2e0569['author'],this['type']=_0x2e0569['type'],this['data']=_0x2e0569['data']||{},this['rootName']=_0x2e0569['rootName'],this['set']('createdAt',_0x2e0569['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x3e6b02{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x27f004,_0x45b37a){this['newRevisionId']=_0x27f004,this['oldRevisionId']=_0x45b37a,this['changes']=new _0xa0ed63['Collection']();}['_setChanges'](_0x758b1f){for(const _0x258fd6 of _0x758b1f)this['changes']['add'](_0x258fd6);}}class _0x41b773 extends _0xa0ed63['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[_0x16ef47,_0xa0ed63['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x1a45dc){super(_0x1a45dc),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',(_0x1231d6,_0x2c2214,_0x21088c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x11a925=>{for(const _0x13aad2 of this['editor']['editing']['view']['document']['roots'])_0x21088c?_0x11a925['removeClass']('ck-editor__editable__overlay',_0x13aad2):_0x11a925['addClass']('ck-editor__editable__overlay',_0x13aad2);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x282912=>null!==_0x282912),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1701e5,_0x2b83f6,_0x3e00e2)=>_0x1701e5&&_0x3e00e2?_0x2b83f6['changes']['getIndex'](_0x3e00e2):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x23428d,_0x2eec43)=>_0x23428d?_0x2eec43['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0xa0ed63['ContextualBalloon']);}['init'](){const _0x500b32=this['editor'],_0x83412a=new _0x3954f2(_0x500b32,{'direction':'backward'}),_0x45746b=new _0x3954f2(_0x500b32,{'direction':'forward'});(_0x500b32['commands']['add']('showPreviousChange',_0x83412a),_0x500b32['commands']['add']('showNextChange',_0x45746b),_0x500b32['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x500b32)),this['on']('change:numberOfChanges',()=>{_0x83412a['refresh'](),_0x45746b['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x500b32['enableReadOnlyMode']('revision-viewer'),_0x500b32['plugins']['has']('WidgetToolbarRepository'))&&_0x500b32['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x3ba89a){return await this['_utils']['loadRevisionData'](_0x3ba89a,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x3ba89a);}async['getRevisionRootsAttributes'](_0x3869cd){return await this['_utils']['loadRevisionData'](_0x3869cd,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x3869cd);}async['compare'](_0x4fda6a,_0x29ee5e,_0x5c819f=!0x1){if(!this['isEnabled'])return;const _0x3788f9=this['diff'],_0x5c8331=this['repository'],_0x5e9a11='string'==typeof _0x4fda6a?_0x5c8331['getRevision'](_0x4fda6a):_0x4fda6a,_0x142c58='string'==typeof _0x29ee5e?_0x5c8331['getRevision'](_0x29ee5e):_0x29ee5e,_0x221d28=_0x5e9a11['id'],_0x2ae6ed=_0x142c58?_0x142c58['id']:null;if(!_0x5c819f&&this['diff']&&this['diff']['newRevisionId']===_0x221d28&&this['diff']['oldRevisionId']===_0x2ae6ed)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x3e6b02(_0x221d28,_0x2ae6ed);const _0x290468=this['_getRevisionsRange'](_0x5e9a11,_0x142c58,!0x0)['map'](_0x29b13e=>this['_utils']['loadRevisionData'](_0x29b13e,this['adapter']));return _0x290468['push'](new Promise(_0x46016e=>{setTimeout(_0x46016e,0x14);})),Promise['all'](_0x290468)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x462501=this['_getDiff'](_0x221d28,_0x2ae6ed);for(const _0x2bfa4f of _0x462501['changes'])this['_changeIdToChange']['set'](_0x2bfa4f['id'],_0x2bfa4f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4457d3=>{for(const _0x7f3a8e of this['editor']['model']['document']['getRootNames']())_0x4457d3['detachRoot'](_0x7f3a8e);for(const _0x4280ba of Object['keys'](_0x462501['model'])){const _0x58c8a0=_0x4457d3['addRoot'](_0x4280ba);for(const _0x28b650 of Object['keys'](_0x462501['attributes'][_0x4280ba]))_0x4457d3['setAttribute'](_0x28b650,_0x462501['attributes'][_0x4280ba][_0x28b650],_0x58c8a0);_0x4457d3['insert'](_0x462501['model'][_0x4280ba],_0x58c8a0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x462501['changes'])),this['isReady']=!0x0;})['catch'](_0x2752b6=>{console['error'](_0x2752b6),this['_cleanUp'](),_0x3788f9&&(this['diff']=_0x3788f9),this['isReady']=!0x0;});}['addRevisionData'](_0x766311,_0xd608fe){const _0xcc9fe9=this['repository']['createRevision'](_0x766311);return _0xcc9fe9['on']('_update',(_0x465a3b,_0x4416ea,_0x134ac4)=>_0xd608fe(_0x4416ea,_0x134ac4,_0xcc9fe9)),this['repository']['addRevision'](_0xcc9fe9),_0xcc9fe9;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1cc6ca=>{for(const _0x3338c5 of this['editor']['model']['document']['getRootNames']())_0x1cc6ca['detachRoot'](_0x3338c5);});}['_sortAndFilterDiffChanges'](_0x507c51){const _0x4d529c=[],_0x3c91eb=new Map();for(const _0x30c616 of this['editor']['model']['document']['getRootNames']()){const _0x33cdab=this['editor']['editing']['view']['getDomRoot'](_0x30c616);if(!_0x33cdab)continue;const _0x2485fa=_0x33cdab['getClientRects']()['item'](0x0);_0x2485fa&&(_0x4d529c['push'](_0x30c616),_0x3c91eb['set'](_0x30c616,_0x2485fa));}return _0x4d529c['sort']((_0x198a9e,_0x2f0b6d)=>{const _0x25ce42=_0x3c91eb['get'](_0x198a9e),_0x4620c8=_0x3c91eb['get'](_0x2f0b6d);return _0x25ce42['y']-_0x4620c8['y']||_0x25ce42['x']-_0x4620c8['x'];}),(_0x507c51=_0x507c51['filter'](_0x519a31=>_0x4d529c['includes'](_0x519a31['rootName'])))['sort']((_0x19ad46,_0x1e4123)=>_0x4d529c['indexOf'](_0x19ad46['rootName'])-_0x4d529c['indexOf'](_0x1e4123['rootName'])),_0x507c51;}['_makeTape'](_0x125676){const _0x40677c=Array['from'](_0x125676['markers'])['filter'](([_0x370a38,_0x40923f])=>_0x370a38['startsWith']('revision:')&&!_0x40923f['isCollapsed']),_0x4ab651=Array['from'](this['editor']['model']['createRangeIn'](_0x125676)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x40677c['length'])for(const _0x5ac00e of _0x4ab651){const [_0x299bd6,_0x3a6313]=_0x40677c[0x0],[,_0x4874fd,_0x18ef37]=_0x299bd6['split'](':');if(_0x3a6313['end']['isEqual'](_0x5ac00e['nextPosition'])&&_0x40677c['shift'](),(_0x5ac00e['previousPosition']['isEqual'](_0x3a6313['start'])||_0x5ac00e['previousPosition']['isAfter'](_0x3a6313['start']))&&('insertion'==_0x4874fd?_0x5ac00e['isAdded']={'userId':_0x18ef37}:'deletion'==_0x4874fd&&(_0x5ac00e['isRemoved']={'userId':_0x18ef37})),0x0==_0x40677c['length'])break;}return _0x4ab651;}['_refreshStartEndIndex'](_0x5729a2){const _0x22d6ca=new Map();for(let _0x4910d8=0x0;_0x4910d8<_0x5729a2['length'];_0x4910d8++)'text'===_0x5729a2[_0x4910d8]['type']?(_0x5729a2[_0x4910d8]['item']['startIndex']=_0x4910d8,_0x5729a2[_0x4910d8]['item']['endIndex']=_0x4910d8):('elementStart'===_0x5729a2[_0x4910d8]['type']?_0x5729a2[_0x4910d8]['item']['startIndex']=_0x4910d8:'elementEnd'===_0x5729a2[_0x4910d8]['type']&&(_0x5729a2[_0x4910d8]['item']['endIndex']=_0x4910d8),_0x22d6ca['set'](_0x5729a2[_0x4910d8]['id'],_0x4910d8));for(const _0x3ede3d of _0x22d6ca['values']())'elementStart'===_0x5729a2[_0x3ede3d]['type']?_0x5729a2[_0x3ede3d]['item']['endIndex']=_0x22d6ca['get'](_0x5729a2[_0x3ede3d]['pairId']):'elementEnd'===_0x5729a2[_0x3ede3d]['type']&&(_0x5729a2[_0x3ede3d]['item']['startIndex']=_0x22d6ca['get'](_0x5729a2[_0x3ede3d]['pairId']));}['_processTape'](_0x321b18){for(let _0x8cb4f4=0x0;_0x8cb4f4<_0x321b18['length'];_0x8cb4f4++){if('elementStart'===_0x321b18[_0x8cb4f4]['type'])_0x321b18[_0x8cb4f4]['item']['startIndex']=_0x8cb4f4;else{if('elementEnd'===_0x321b18[_0x8cb4f4]['type']){_0x321b18[_0x8cb4f4]['item']['endIndex']=_0x8cb4f4;const _0x43eff8=_0x321b18[_0x8cb4f4]['item']['startIndex'];_0x321b18[_0x43eff8]['pairId']=_0x321b18[_0x8cb4f4]['id'],_0x321b18[_0x8cb4f4]['pairId']=_0x321b18[_0x43eff8]['id'];}else _0x321b18[_0x8cb4f4]['item']['startIndex']=_0x8cb4f4,_0x321b18[_0x8cb4f4]['item']['endIndex']=_0x8cb4f4,_0x321b18[_0x8cb4f4]['pairId']=null;}_0x321b18[_0x8cb4f4]['markersStart']||(_0x321b18[_0x8cb4f4]['markersStart']=[],_0x321b18[_0x8cb4f4]['markersEnd']=[]);}}['_markInsertions'](_0x3c4aeb,_0x367b02){const _0x19454d=_0x3c4aeb['filter'](_0x455837=>!_0x455837['isAdded']);for(let _0x111f77=0x0;_0x111f77<_0x367b02['length'];_0x111f77++)_0x367b02[_0x111f77]['isAdded']&&(_0x19454d[_0x111f77]['isAdded']=_0x367b02[_0x111f77]['isAdded']);}['_getDiff'](_0x360f13,_0x4e98da=null){const _0xdaf17f=this['repository']['getRevision'](_0x360f13),_0x5206c9=_0x4e98da?this['repository']['getRevision'](_0x4e98da):null,_0x595995=this['_getRevisionsRange'](_0xdaf17f,_0x5206c9),_0x22656f=_0x595995[_0x595995['length']-0x1],_0x4b7f40=new Map(),_0x473082={'model':{},'attributes':{},'changes':[]},_0x1a6cca=new Set(),_0x352ad6=new Map();for(let _0x24ce07=_0x595995['length']-0x1;_0x24ce07>=0x0;_0x24ce07--){const _0x1dfd01=_0x595995[_0x24ce07];for(const _0x196fee of Object['keys'](_0x1dfd01['diffData']))if(_0x1dfd01['diffData'][_0x196fee]['attachChange']){const _0x2e5854=_0x1dfd01['diffData'][_0x196fee]['attachChange'];_0x2e5854['isAttached']?(_0x1a6cca['add'](_0x196fee),_0x352ad6['has'](_0x196fee)&&_0x352ad6['get'](_0x196fee)['userId']==_0x2e5854['userId']?_0x352ad6['delete'](_0x196fee):_0x352ad6['set'](_0x196fee,_0x2e5854)):_0x352ad6['has'](_0x196fee)?(_0x1a6cca['delete'](_0x196fee),_0x352ad6['delete'](_0x196fee)):(_0x1a6cca['add'](_0x196fee),_0x352ad6['set'](_0x196fee,_0x2e5854));}else _0x1a6cca['add'](_0x196fee);}for(const _0x53c8f3 of _0x1a6cca){const _0x4ce621=_0x352ad6['has'](_0x53c8f3)&&!_0x352ad6['get'](_0x53c8f3)['isAttached'];let _0x1ad5b5=_0x4ce621?_0x595995['length']-0x1:0x0;const _0x268652=_0x4ce621?-0x1:0x1;for(;_0x595995[_0x1ad5b5];){const _0x43daef=_0x595995[_0x1ad5b5];if(_0x43daef['diffData'][_0x53c8f3]){const _0x41a33d=_0x4ce621?_0x43daef['diffData'][_0x53c8f3]['attributesBefore']:_0x43daef['diffData'][_0x53c8f3]['attributesAfter'];_0x473082['attributes'][_0x53c8f3]=_0x41a33d?_0xdd0984(_0x41a33d):{};break;}_0x1ad5b5+=_0x268652;}}for(const _0x4847e3 of _0x595995){_0x4847e3['model']={};for(const _0x4c0217 of _0x4847e3['authors'])_0x4b7f40['set'](_0x4c0217['id'],_0x4c0217);for(const _0x5855e9 of _0x1a6cca){const _0x5adec5=_0x4847e3['diffData'][_0x5855e9]?_0x4847e3['diffData'][_0x5855e9]['insertions']:'[]',_0x3561af=_0x4847e3['diffData'][_0x5855e9]?_0x4847e3['diffData'][_0x5855e9]['deletions']:'[]';_0x4847e3['model'][_0x5855e9]={'insertions':this['_utils']['_makeModelFromViewString'](_0x5adec5),'deletions':this['_utils']['_makeModelFromViewString'](_0x3561af)};}}for(const _0x202239 of _0x1a6cca){let _0x1f4f48=null,_0x20b3d7=0x0;const _0x27e6be=new Map(Array['from'](_0xdaf17f['model'][_0x202239]['insertions']['markers'])['filter'](([_0x32ef64])=>!_0x32ef64['startsWith']('revision:')));let _0x5241d7=0x0;for(const _0x1a526e of _0x595995){const _0x4732b8=this['_makeTape'](_0x1a526e['model'][_0x202239]['insertions']);_0x1a526e==_0xdaf17f?(_0x1f4f48=_0x4732b8,_0x20b3d7=_0x1f4f48['length'],_0x1f4f48['forEach'](_0x43811b=>{_0x43811b['id']=_0x5241d7++;}),this['_processTape'](_0x1f4f48)):this['_markInsertions'](_0x1f4f48,_0x4732b8);const _0x381889=_0x1f4f48['filter'](_0x103492=>!_0x103492['isAdded'])['map'](_0x1be6cf=>_0x1be6cf['id']);let _0x7c5a23=0x0;const _0x1135db=this['_makeTape'](_0x1a526e['model'][_0x202239]['deletions']);_0x1135db['forEach'](_0x4801bd=>{_0x4801bd['isRemoved']?_0x4801bd['id']=_0x20b3d7++:_0x4801bd['id']=_0x381889[_0x7c5a23++];}),this['_processTape'](_0x1135db),this['_setDistance'](_0x1f4f48,'isAdded'),this['_setDistance'](_0x1135db,'isRemoved'),_0x1a526e==_0xdaf17f&&this['_markMarkers'](_0x1f4f48,_0x27e6be),_0x1f4f48=this['_joinTapes'](_0x1f4f48,_0x1135db),this['_refreshStartEndIndex'](_0x1f4f48),this['_setDistance'](_0x1f4f48,'isRemoved');}_0x1f4f48=_0x1f4f48['filter'](_0x4ec576=>!(_0x4ec576['isAdded']&&_0x4ec576['isRemoved']));const _0x320a63=new Map(_0x22656f['model'][_0x202239]['deletions']['markers']),_0x3594d2=new Set(_0x27e6be['keys']());for(const _0x1352aa of _0x320a63['keys']())_0x3594d2['delete'](_0x1352aa);this['_markSuggestions'](_0x1f4f48,_0x3594d2),this['_fixObsoleteTags'](_0x1f4f48),_0x1f4f48=this['_removeMissingPairs'](_0x1f4f48),_0x1f4f48=this['_markMismatchedRemovedTags'](_0x1f4f48),_0x1f4f48=this['_removeUnsupportedChanges'](_0x1f4f48);const {root:_0x5ed5fb,changes:_0x3fb2cb}=this['_makeModelFromTape'](_0x1f4f48,_0x4b7f40,_0x202239);_0x473082['model'][_0x202239]=_0x5ed5fb;const _0x31606b=_0x352ad6['get'](_0x202239);if(_0x31606b){const _0x5e51f1=_0x4b7f40['get'](_0x31606b['userId']),_0x29a229=new ChangeItem({'author':_0x5e51f1,'type':_0x31606b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x202239});_0x3fb2cb['unshift'](_0x29a229),_0x473082['attributes'][_0x202239]['revisionHistoryAttachChange']=_0x29a229['id'];}_0x473082['changes']=_0x473082['changes']['concat'](_0x3fb2cb);}return _0x473082;}['_markMarkers'](_0x72d432,_0x5d7886){for(let _0xafa6bd=0x0;_0xafa6bd<_0x72d432['length'];_0xafa6bd++)for(const [_0x271985,_0x18a518]of _0x5d7886)!_0x18a518['isCollapsed']&&_0x18a518['start']['isEqual'](_0x72d432[_0xafa6bd]['previousPosition'])&&_0x72d432[_0xafa6bd]['markersStart']['push'](_0x271985),_0x18a518['end']['isEqual'](_0x72d432[_0xafa6bd]['nextPosition'])&&_0x72d432[_0xafa6bd]['markersEnd']['push'](_0x271985);}['_joinTapes'](_0x59a561,_0x421f19){let _0x563a2b=[],_0x1ae2bf=0x0,_0xa0f9c1=0x0;for(;_0x1ae2bf<_0x59a561['length']||_0xa0f9c1<_0x421f19['length'];){const _0x1bf90e=_0x59a561[_0x1ae2bf]||{},_0x19e58c=_0x421f19[_0xa0f9c1]||{};if(_0x1bf90e['id']==_0x19e58c['id'])_0x1ae2bf++,_0xa0f9c1++,_0x563a2b['push'](_0x1bf90e);else{if(_0x19e58c['isRemoved']&&_0x1bf90e['isAdded']){const {commonTape:_0x5e820e,iEnd:_0x14e87b,jEnd:_0x338ad9}=this['_threeWayMerge'](_0x59a561,_0x1ae2bf,_0x421f19,_0xa0f9c1);_0x563a2b=_0x563a2b['concat'](_0x5e820e),_0x1ae2bf=_0x14e87b,_0xa0f9c1=_0x338ad9;}else _0x19e58c['isRemoved']?(_0xa0f9c1++,_0x563a2b['push'](_0x19e58c)):(_0x1ae2bf++,_0x563a2b['push'](_0x1bf90e));}}return _0x563a2b;}['_markSuggestions'](_0x1014f2,_0x300e15){const _0x85cc44=[];for(let _0xc25b9d=0x0;_0xc25b9d<_0x1014f2['length'];_0xc25b9d++){for(let _0x3d31dc=0x0;_0x3d31dc<_0x1014f2[_0xc25b9d]['markersStart']['length'];_0x3d31dc++){const _0x4c7c11=_0x1014f2[_0xc25b9d]['markersStart'][_0x3d31dc];if(!_0x300e15['has'](_0x4c7c11))continue;const {group:_0x3ef730,type:_0xcebe20,authorId:_0x4d4b07}=_0x11e209(_0x4c7c11);'revision-suggestion'!=_0x3ef730||'insertion'!=_0xcebe20&&'deletion'!=_0xcebe20||(_0x85cc44['unshift']({'type':_0xcebe20,'name':_0x4c7c11,'userId':_0x4d4b07}),_0x1014f2[_0xc25b9d]['markersStart']['splice'](_0x3d31dc,0x1),_0x3d31dc--);}_0x24d73f(_0x1014f2[_0xc25b9d]);for(let _0x316fd3=0x0;_0x316fd3<_0x1014f2[_0xc25b9d]['markersEnd']['length'];_0x316fd3++){const _0x50f779=_0x1014f2[_0xc25b9d]['markersEnd'][_0x316fd3];if(!_0x300e15['has'](_0x50f779))continue;const {group:_0x44907b,type:_0x372cbb}=_0x11e209(_0x50f779);if('revision-suggestion'!=_0x44907b||'insertion'!=_0x372cbb&&'deletion'!=_0x372cbb)continue;_0x1014f2[_0xc25b9d]['markersEnd']['splice'](_0x316fd3,0x1),_0x316fd3--;const _0x217004=_0x85cc44['findIndex'](_0x2a94c5=>_0x2a94c5['name']==_0x50f779);_0x217004>-0x1&&_0x85cc44['splice'](_0x217004,0x1);}}function _0x11e209(_0x366982){const _0x55c408=_0x366982['split'](':');return{'group':_0x55c408[0x0],'type':_0x55c408[0x1],'subType':_0x55c408['length']>=0x5?_0x55c408[0x2]:null,'id':_0x55c408['length']<0x5?_0x55c408[0x2]:_0x55c408[0x3],'authorId':_0x55c408['length']<0x5?_0x55c408[0x3]:_0x55c408[0x4],'markerCount':0x6==_0x55c408['length']?_0x55c408[0x5]:null};}function _0x24d73f(_0x27bad1){for(let _0x456836=0x0;_0x456836<_0x85cc44['length'];_0x456836++){if(_0x27bad1['isAdded']&&'insertion'==_0x85cc44[_0x456836]['type']&&_0x27bad1['isAdded']['userId']==_0x85cc44[_0x456836]['userId'])return _0x27bad1['isAddSuggestion']=_0x85cc44[_0x456836],void delete _0x27bad1['isAdded'];if(!_0x27bad1['isAdded']&&!_0x27bad1['isRemoved']&&'deletion'==_0x85cc44[_0x456836]['type'])return void(_0x27bad1['isRemoveSuggestion']=_0x85cc44[_0x456836]);}}}['_setDistance'](_0x5b4495,_0x54eda1){let _0x14482e=0x0,_0x51c38c=!0x1;const _0x107aea=new Map();for(const _0x28bf91 of _0x5b4495)_0x28bf91[_0x54eda1]?_0x51c38c&&(_0x14482e++,_0x51c38c=!0x1):(_0x14482e++,_0x51c38c=!0x0),_0x107aea['set'](_0x28bf91['id'],_0x14482e);for(let _0x28390e=0x0;_0x28390e<_0x5b4495['length'];_0x28390e++){if('isRemoved'==_0x54eda1&&_0x5b4495[_0x28390e]['isAdded']||'isAdded'==_0x54eda1&&_0x5b4495[_0x28390e]['isRemoved'])continue;if('text'==_0x5b4495[_0x28390e]['type']){_0x5b4495[_0x28390e]['distance']=0x0;continue;}const _0x4e6a73=_0x107aea['get'](_0x5b4495[_0x28390e]['pairId']),_0x55fdef=_0x107aea['get'](_0x5b4495[_0x28390e]['id']);_0x5b4495[_0x28390e]['distance']=_0x4e6a73-_0x55fdef;}}['_getRevisionsRange'](_0x1d382d,_0x2ec4cd,_0x150772=!0x1){const _0x2709c7=[];let _0x24d9ea=this['repository']['getIndex'](_0x1d382d),_0x48c757=this['repository']['getIndex'](_0x2ec4cd);for(-0x1==_0x48c757&&(_0x48c757=this['repository']['_revisions']['length'],_0x150772=!0x1);_0x24d9ea<_0x48c757;)_0x2709c7['push'](this['repository']['getRevision'](_0x24d9ea)),_0x24d9ea++;return _0x150772&&_0x2709c7['push'](this['repository']['getRevision'](_0x24d9ea)),_0x2709c7;}['_threeWayMerge'](_0x43ce35,_0x58bb6e,_0x1fe812,_0x2be4a4){const _0x169987=this['editor']['model']['schema'];let _0x761a6c=_0x58bb6e;for(;_0x43ce35[_0x761a6c]&&_0x43ce35[_0x761a6c]['isAdded'];)_0x761a6c++;let _0x439edb=_0x2be4a4;for(;_0x1fe812[_0x439edb]&&_0x1fe812[_0x439edb]['isRemoved'];)_0x439edb++;_0x241583(_0x43ce35,_0x58bb6e,_0x761a6c),_0x241583(_0x1fe812,_0x2be4a4,_0x439edb);const _0x47368e=_0x1fe812['slice'](_0x2be4a4,_0x439edb)['concat'](_0x43ce35['slice'](_0x58bb6e,_0x761a6c));return _0x47368e['sort']((_0x540b45,_0x53330f)=>_0x540b45['side']!=_0x53330f['side']?_0x540b45['side']-_0x53330f['side']:_0x540b45['level']!=_0x53330f['level']?_0x540b45['level']-_0x53330f['level']:_0x540b45['distance']!=_0x53330f['distance']?_0x53330f['distance']-_0x540b45['distance']:!!_0x540b45['isAdded']!=!!_0x53330f['isAdded']?-0x1==_0x540b45['side']||0x0==_0x540b45['side']?_0x540b45['isAdded']?-0x1:0x1:_0x540b45['isAdded']?0x1:-0x1:_0x540b45['index']-_0x53330f['index']),{'commonTape':_0x47368e,'iEnd':_0x761a6c,'jEnd':_0x439edb};function _0x241583(_0x10b7d4,_0x4f6b96,_0x55a00f){let _0x407853=-0x1,_0x574afd=Number['POSITIVE_INFINITY'],_0x209c2f=!0x0;for(let _0x5ecf21=_0x4f6b96;_0x5ecf21<_0x55a00f;_0x5ecf21++)if(_0x169987['isInline'](_0x10b7d4[_0x5ecf21]['item'])||(_0x209c2f=!0x1),_0x10b7d4[_0x5ecf21]['item']['startIndex']<_0x4f6b96&&(_0x407853=_0x5ecf21),_0x10b7d4[_0x5ecf21]['item']['endIndex']>=_0x55a00f){_0x574afd=_0x5ecf21;break;}_0x209c2f&&(_0x407853=_0x55a00f-0x1);for(let _0x3419cc=_0x4f6b96;_0x3419cc<_0x55a00f;_0x3419cc++)_0x10b7d4[_0x3419cc]['side']=_0x3419cc<=_0x407853?-0x1:_0x3419cc<_0x574afd?0x0:0x1,_0x10b7d4[_0x3419cc]['index']=_0x3419cc;let _0x3204d0=0x0;for(let _0x38704f=_0x4f6b96;_0x38704f<=_0x407853;_0x38704f++)0x0==_0x10b7d4[_0x38704f]['distance']?_0x10b7d4[_0x38704f]['level']=_0x3204d0:(_0x3204d0++,_0x10b7d4[_0x38704f]['level']=_0x3204d0,_0x3204d0++);for(let _0x547f9a=_0x4f6b96;_0x547f9a<_0x55a00f;_0x547f9a++)0x0==_0x10b7d4[_0x547f9a]['side']&&(_0x10b7d4[_0x547f9a]['level']=_0x3204d0);_0x3204d0=0x0;for(let _0x36d55f=_0x55a00f-0x1;_0x36d55f>=_0x574afd;_0x36d55f--)0x0==_0x10b7d4[_0x36d55f]['distance']?_0x10b7d4[_0x36d55f]['level']=_0x3204d0:(_0x3204d0--,_0x10b7d4[_0x36d55f]['level']=_0x3204d0,_0x3204d0--);}}['_fixObsoleteTags'](_0x3106b3){const _0x3e1971=new Map(),_0xb5d981=this['editor']['model']['schema'];for(let _0x4acf72=0x1;_0x4acf72<_0x3106b3['length'];_0x4acf72++){let _0x1e2d7b,_0xd738a4,_0x5358da;const _0x2b64e7=_0x3106b3[_0x4acf72],_0x52fb9a=_0x3106b3[_0x4acf72-0x1];if('text'==_0x2b64e7['type'])continue;if(_0x2b64e7['type']!=_0x52fb9a['type'])continue;if(!_0xb5d981['isBlock'](_0x52fb9a['item'])||_0xb5d981['isLimit'](_0x52fb9a['item']))continue;if(!_0xb5d981['isBlock'](_0x2b64e7['item'])||_0xb5d981['isLimit'](_0x2b64e7['item']))continue;if((_0x3106b3[_0x4acf72]['isAdded']||_0x3106b3[_0x4acf72]['isAddSuggestion'])&&_0x3106b3[_0x4acf72-0x1]['isRemoved'])_0x1e2d7b=_0x3106b3[_0x4acf72],_0xd738a4=_0x3106b3[_0x4acf72-0x1],_0x5358da=_0x4acf72-0x1;else{if(!_0x3106b3[_0x4acf72]['isRemoved']||!_0x3106b3[_0x4acf72-0x1]['isAdded']&&!_0x3106b3[_0x4acf72-0x1]['isAddSuggestion'])continue;_0x1e2d7b=_0x3106b3[_0x4acf72-0x1],_0xd738a4=_0x3106b3[_0x4acf72],_0x5358da=_0x4acf72;}const _0x87873f=_0x1e2d7b['level']==_0xd738a4['level'],_0x3426e8=Math['abs'](_0x1e2d7b['level'])<Math['abs'](_0xd738a4['level'])&&0x0==_0xd738a4['distance'];(_0x87873f||_0x3426e8)&&(_0x3e1971['set'](_0xd738a4['id'],_0x1e2d7b['id']),_0x3106b3['splice'](_0x5358da,0x1),_0x4acf72--,_0x1e2d7b['isAdded']=!0x1);}for(let _0x33021e=0x0;_0x33021e<_0x3106b3['length'];_0x33021e++)_0x3e1971['has'](_0x3106b3[_0x33021e]['pairId'])&&(_0x3106b3[_0x33021e]['pairId']=_0x3e1971['get'](_0x3106b3[_0x33021e]['pairId']));}['_removeMissingPairs'](_0x2396b3){const _0x4933d2=new Set(_0x2396b3['map'](_0x9ae22d=>_0x9ae22d['id']));for(let _0x3bd109=0x0;_0x3bd109<_0x2396b3['length'];_0x3bd109++)_0x4933d2['has'](_0x2396b3[_0x3bd109]['pairId'])||0x0==_0x2396b3[_0x3bd109]['distance']||(_0x2396b3[_0x3bd109]['isIncorrect']=!0x0);return _0x2396b3['filter'](_0xeb09d3=>!_0xeb09d3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x6dd889){const _0x48b6a8=new Set();for(let _0x5e5482=0x0;_0x5e5482<_0x6dd889['length'];_0x5e5482++){if(_0x48b6a8['has'](_0x6dd889[_0x5e5482]['id'])&&_0x6dd889[_0x5e5482]['isRemoved']&&(_0x6dd889[_0x5e5482]['isIncorrect']=!0x0),_0x6dd889[_0x5e5482]['isIncorrect'])continue;if(0x0==_0x6dd889[_0x5e5482]['distance'])continue;if('elementStart'!=_0x6dd889[_0x5e5482]['type'])continue;if(null==_0x6dd889[_0x5e5482]['pairId'])continue;let _0x503a2e=_0x5e5482+0x1,_0x46dc3a=0x0;for(;_0x6dd889[_0x503a2e]['id']!=_0x6dd889[_0x5e5482]['pairId'];)'elementStart'==_0x6dd889[_0x503a2e]['type']?_0x46dc3a++:'elementEnd'==_0x6dd889[_0x503a2e]['type']&&_0x46dc3a--,_0x503a2e++;if(0x0!=_0x46dc3a){if(_0x6dd889[_0x5e5482]['isRemoved'])_0x6dd889[_0x5e5482]['isIncorrect']=!0x0;else{for(;_0x503a2e!=_0x5e5482;)_0x6dd889[_0x503a2e]['isRemoved']&&0x0!=_0x6dd889[_0x503a2e]['distance']&&(_0x6dd889[_0x503a2e]['isIncorrect']=!0x0,_0x48b6a8['add'](_0x6dd889[_0x503a2e]['pairId'])),_0x503a2e--;}}}return _0x6dd889['filter'](_0xd7dd44=>!_0xd7dd44['isIncorrect']);}['_removeUnsupportedChanges'](_0x5ca61a){const _0x4a9429=this['editor']['model']['schema'];for(let _0x3617c7=0x0;_0x3617c7<_0x5ca61a['length'];_0x3617c7++){if(!(_0x5ca61a[_0x3617c7]['isAdded']||_0x5ca61a[_0x3617c7]['isAddSuggestion']||_0x5ca61a[_0x3617c7]['isRemoved']||_0x5ca61a[_0x3617c7]['isRemoveSuggestion']))continue;if(0x0==_0x5ca61a[_0x3617c7]['distance'])continue;const _0x237682=_0x5ca61a[_0x3617c7]['item'];_0x4a9429['isBlock'](_0x237682)||_0x4a9429['isLimit'](_0x237682)||(_0x5ca61a[_0x3617c7]['isAdded']&&delete _0x5ca61a[_0x3617c7]['isAdded'],_0x5ca61a[_0x3617c7]['isAddSuggestion']&&delete _0x5ca61a[_0x3617c7]['isAddSuggestion'],_0x5ca61a[_0x3617c7]['isRemoveSuggestion']&&delete _0x5ca61a[_0x3617c7]['isRemoveSuggestion'],_0x5ca61a[_0x3617c7]['isRemoved']&&(_0x5ca61a[_0x3617c7]['isIncorrect']=!0x0));}return _0x5ca61a['filter'](_0x592fb0=>!_0x592fb0['isIncorrect']);}['_makeModelFromTape'](_0x30a00d,_0x543dc0,_0x301a94){const _0x10db40=new _0xa0ed63['ModelDocumentFragment'](),_0x4e8c8c=[],_0x3a8dc4=new Map(),_0x270eb2=this['editor']['model'],_0x425fda=_0x270eb2['schema'],_0x7edd1e=[_0x10db40],_0x4abf71={},_0x225328={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b9bbf=null;const _0xa33326=[0x0];for(let _0x10f52e=0x0;_0x10f52e<_0x30a00d['length'];_0x10f52e++)if('elementStart'===_0x30a00d[_0x10f52e]['type']){_0x30a00d[_0x10f52e]['previousPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326);const _0x1cd1de=new _0xa0ed63['ModelElement'](_0x30a00d[_0x10f52e]['item']['name'],_0x30a00d[_0x10f52e]['item']['getAttributes']());_0x7edd1e[0x0]['_appendChild'](_0x1cd1de),_0xa33326['push'](0x0),_0x7edd1e['unshift'](_0x1cd1de),_0x30a00d[_0x10f52e]['nextPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326);}else'elementEnd'===_0x30a00d[_0x10f52e]['type']?(_0x7edd1e['shift'](),_0x30a00d[_0x10f52e]['previousPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326),_0xa33326['pop'](),_0xa33326[_0xa33326['length']-0x1]++,_0x30a00d[_0x10f52e]['nextPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326)):(_0x30a00d[_0x10f52e]['previousPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326),_0x1b9bbf?_0x1b9bbf['_data']+=_0x30a00d[_0x10f52e]['item']['data']:_0x1b9bbf=new _0xa0ed63['ModelText'](_0x30a00d[_0x10f52e]['item']['data'],_0x30a00d[_0x10f52e]['item']['getAttributes']()),_0x30a00d[_0x10f52e+0x1]&&'text'===_0x30a00d[_0x10f52e+0x1]['type']&&_0x551bbe(_0x1b9bbf,_0x30a00d[_0x10f52e+0x1]['item'])||(_0x7edd1e[0x0]['_appendChild'](_0x1b9bbf),_0x1b9bbf=null),_0xa33326[_0xa33326['length']-0x1]+=_0x30a00d[_0x10f52e]['item']['offsetSize'],_0x30a00d[_0x10f52e]['nextPosition']=_0x270eb2['createPositionFromPath'](_0x10db40,_0xa33326));for(let _0x416656=0x0;_0x416656<_0x30a00d['length'];_0x416656++){const _0xf63dd1=_0x30a00d[_0x416656]['previousPosition'],_0x3329ce=_0x30a00d[_0x416656]['nextPosition'];for(const _0x51d275 of _0x30a00d[_0x416656]['markersStart'])_0x3a8dc4['set'](_0x51d275,{'start':_0xf63dd1,'end':null});_0x5e9e43('isRemoveSuggestion',_0x416656,_0xf63dd1,_0x3329ce),_0x5e9e43('isAddSuggestion',_0x416656,_0xf63dd1,_0x3329ce),_0x5e9e43('isRemoved',_0x416656,_0xf63dd1,_0x3329ce),_0x5e9e43('isAdded',_0x416656,_0xf63dd1,_0x3329ce);for(const _0x445f15 of _0x30a00d[_0x416656]['markersEnd']){const _0x528f94=_0x3a8dc4['get'](_0x445f15);_0x528f94?_0x528f94['end']=_0x3329ce:_0x3a8dc4['set'](_0x445f15,{'start':_0x3329ce,'end':_0x3329ce});}}for(const [_0x3e177e,_0x28afe1]of _0x3a8dc4){const _0x11ae23=this['editor']['model']['createRange'](_0x28afe1['start'],_0x28afe1['end']);_0x10db40['markers']['set'](_0x3e177e,_0x11ae23);}return _0x4e8c8c['sort']((_0x8c3272,_0x2e6d71)=>{const _0x105576=_0x10db40['markers']['get']('revision:'+_0x8c3272['id']),_0x3bea31=_0x10db40['markers']['get']('revision:'+_0x2e6d71['id']);return _0x105576['start']['isBefore'](_0x3bea31['start'])?-0x1:_0x105576['start']['isAfter'](_0x3bea31['start'])?0x1:_0x105576['end']['isBefore'](_0x3bea31['end'])?-0x1:_0x105576['end']['isAfter'](_0x3bea31['end'])?0x1:'add'===_0x8c3272['type']?-0x1:0x1;}),{'root':_0x10db40,'changes':_0x4e8c8c};function _0x5e9e43(_0x57aef0,_0x5ca201,_0x371907,_0x301307){const _0x423533=!!_0x30a00d[_0x5ca201][_0x57aef0],_0x2b51a3=_0x423533?_0x30a00d[_0x5ca201][_0x57aef0]['userId']:null,_0x1112c6=_0x5ca201===_0x30a00d['length']-0x1,_0x50e6b9=_0x225328[_0x57aef0][0x0],_0x98edd5=_0x425fda['isObject'](_0x30a00d[_0x5ca201]['item']);!_0x4abf71[_0x57aef0]&&_0x423533?_0x4abf71[_0x57aef0]={'start':_0x371907,'tapeItem':_0x30a00d[_0x5ca201],'userId':_0x2b51a3,'type':_0x57aef0}:_0x4abf71[_0x57aef0]&&!_0x423533?(_0x4abf71[_0x57aef0]['end']=_0x371907,_0x2bb583(_0x4abf71[_0x57aef0]),_0x4abf71[_0x57aef0]=null):_0x4abf71[_0x57aef0]&&_0x423533&&_0x4abf71[_0x57aef0]['userId']!==_0x2b51a3&&(_0x4abf71[_0x57aef0]['end']=_0x371907,_0x50e6b9&&_0x50e6b9['userId']===_0x4abf71[_0x57aef0]['userId']||_0x2bb583(_0x4abf71[_0x57aef0]),_0x4abf71[_0x57aef0]={'start':_0x371907,'tapeItem':_0x30a00d[_0x5ca201],'userId':_0x2b51a3,'type':_0x57aef0}),_0x4abf71[_0x57aef0]&&_0x98edd5&&('elementStart'!==_0x30a00d[_0x5ca201]['type']||_0x50e6b9&&_0x50e6b9['userId']===_0x2b51a3||_0x225328[_0x57aef0]['unshift']({'userId':_0x2b51a3,'object':_0x30a00d[_0x5ca201]['item'],'change':_0x4abf71[_0x57aef0]}),'elementEnd'===_0x30a00d[_0x5ca201]['type']&&_0x50e6b9&&_0x50e6b9['object']===_0x30a00d[_0x5ca201]['item']&&(_0x225328[_0x57aef0]['shift'](),_0x4abf71[_0x57aef0]=_0x50e6b9['change'])),_0x4abf71[_0x57aef0]&&_0x1112c6&&(_0x4abf71[_0x57aef0]['end']=_0x301307,_0x2bb583(_0x4abf71[_0x57aef0]),_0x4abf71[_0x57aef0]=null);}function _0x2bb583({start:_0x31b3fa,end:_0x1fa81a,tapeItem:_0x2970f,userId:_0x4fb890,type:_0xd9909}){const _0x444649=_0x2970f['item'],_0x50ecc0=_0x270eb2['schema']['isBlock'](_0x444649)&&!_0x270eb2['schema']['isLimit'](_0x444649),_0xb0ecb6=_0x31b3fa['nodeAfter']==_0x1fa81a['parent']&&_0x1fa81a['isAtStart'];if(_0x50ecc0&&_0xb0ecb6)return;const _0x20f978=_0x270eb2['createRange'](_0x31b3fa,_0x1fa81a),_0x4e64d9=_0x543dc0['get'](_0x4fb890),_0x1f88df=new ChangeItem({'author':_0x4e64d9,'type':'isAdded'==_0xd9909||'isAddSuggestion'==_0xd9909?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xd9909||'isRemoveSuggestion'==_0xd9909},'createdAt':new Date(),'rootName':_0x301a94});_0x4e8c8c['push'](_0x1f88df),_0x10db40['markers']['set']('revision:'+_0x1f88df['id'],_0x20f978);}function _0x551bbe(_0x4326dd,_0x5a7663){const _0x828c9=_0x4326dd['getAttributes'](),_0x4949da=_0x5a7663['getAttributes']();for(const _0x2f281c of _0x828c9){if(_0x2f281c[0x1]!==_0x5a7663['getAttribute'](_0x2f281c[0x0]))return!0x1;_0x4949da['next']();}return _0x4949da['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x382e9a=>{const _0x1441e8=_0x382e9a['markerName']['split'](':')[0x1],_0x2f95e5=this['_getChangeFromId'](_0x1441e8);if(!_0x2f95e5)return null;const _0x5b5577='add'==_0x2f95e5['type']?'insertion':'deletion',_0x11725b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5b5577];return _0x2f95e5['data']['isSuggestion']&&_0x11725b['push']('ck-suggestion-marker-'+_0x5b5577+'-new'),this['activeChange']==_0x2f95e5&&_0x11725b['push']('ck-suggestion-marker--active'),{'classes':_0x11725b,'attributes':{'data-change-id':_0x1441e8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x319f33=>{_0x319f33['on']('element:pre',(_0x4de26f,_0x240b48,_0x54dfa1)=>{const _0x3da409=_0x240b48['viewItem']['getChild'](0x0);if(!_0x3da409||!_0x3da409['is']('element','code'))return;if(!_0x54dfa1['consumable']['consume'](_0x3da409,{'attributes':['vid_start','vid_end']}))return;const _0x308fcc=_0x240b48['modelRange']['start']['nodeAfter'];_0x54dfa1['writer']['setAttribute']('vid_start',_0x3da409['getAttribute']('vid_start'),_0x308fcc),_0x54dfa1['writer']['setAttribute']('vid_end',_0x3da409['getAttribute']('vid_end'),_0x308fcc);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5f29cc=>{_0x5f29cc['on']('element',(_0x44abeb,_0x140c7f,_0x1e0e22)=>{if(!_0x1e0e22['consumable']['consume'](_0x140c7f['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x140c7f['modelRange']['isCollapsed'])return;const _0x4c5b9c=_0x140c7f['modelRange']['start']['nodeAfter'];_0x4c5b9c['hasAttribute']('vid_start')||_0x4c5b9c['hasAttribute']('vid')||(_0x1e0e22['writer']['setAttribute']('vid_start',_0x140c7f['viewItem']['getAttribute']('vid_start'),_0x4c5b9c),_0x1e0e22['writer']['setAttribute']('vid_end',_0x140c7f['viewItem']['getAttribute']('vid_end'),_0x4c5b9c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x26961e=>_0x26961e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2e7492,[,_0x22bb63])=>{['vid_start','vid_end','vid']['includes'](_0x22bb63)&&(_0x2e7492['return']=!0x0,_0x2e7492['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x627933=>{_0x627933['on']('attribute:vid',(_0xc1e497,_0x3754aa,_0x1ba299)=>{if('\x20'!=_0x3754aa['item']['data']||_0x3754aa['item']['parent']['maxOffset']>0x1)return;if(!_0x1ba299['consumable']['consume'](_0x3754aa['item'],_0xc1e497['name']))return;const _0x584e4c=_0x1ba299['writer'],_0x4ec62e=_0x1ba299['mapper']['toViewRange'](_0x3754aa['range']);_0x584e4c['wrap'](_0x4ec62e,_0x584e4c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x20d63d){const _0x56d163=_0x20d63d['plugins']['get']('RevisionViewer');return(_0x1276e1,_0x30e778,_0x466266)=>{const _0x4c7e17=_0x30e778['markerName']['split'](':')[0x1],_0x5c8397=_0x56d163['_getChangeFromId'](_0x4c7e17);if(!_0x5c8397)return null;const _0x3d0220='add'==_0x5c8397['type']?'split':'merge';if(!_0x466266['consumable']['test'](_0x30e778['markerRange'],_0x1276e1['name']))return;const _0x57c894=_0x30e778['markerRange']['getWalker'](),_0x45a063=_0x30e778['markerRange']['start'],_0x30e978=_0x20d63d['model']['schema'];let _0x297c78=null,_0x1982c1=null,_0x32be7d=!0x1,_0x4d67b2=!0x1;for(const _0x8e3d53 of _0x57c894){const _0x38b0a7=_0x8e3d53['item'];_0x32be7d=_0x32be7d||_0x30e978['isContent'](_0x38b0a7);const _0x59205e=_0x466266['mapper']['toViewElement'](_0x38b0a7);if(_0x59205e&&_0x59205e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x8e3d53['type']&&(_0x30e978['isBlock'](_0x38b0a7)&&!_0x30e978['isLimit'](_0x38b0a7)&&(_0x38b0a7['nextSibling']||_0x45a063['isAtEnd']?_0x297c78&&_0x297c78['parent']==_0x38b0a7||(_0x297c78=_0x38b0a7,_0x13e93a(_0x8e3d53['previousPosition']),_0x4d67b2=!0x0):_0x1982c1=_0x1982c1||_0x8e3d53['previousPosition']));}function _0x13e93a(_0x2b15d5){const _0x390439=_0x466266['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3d0220}),_0x5166a7=_0x466266['mapper']['toViewPosition'](_0x2b15d5);_0x5c8397['data']['isSuggestion']&&_0x466266['writer']['addClass']('ck-suggestion-marker-'+_0x3d0220+'-new',_0x390439),_0x56d163['activeChange']==_0x5c8397&&_0x466266['writer']['addClass']('ck-suggestion-marker--active',_0x390439),_0x466266['writer']['insert'](_0x5166a7,_0x390439),_0x466266['mapper']['bindElementToMarker'](_0x390439,_0x30e778['markerName']);}_0x32be7d||_0x4d67b2||!_0x1982c1||_0x13e93a(_0x1982c1);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x29b6ab,_0x46d17c,_0x28c5cf)=>{const _0x4ba1b8=_0x28c5cf['mapper']['markerNameToElements'](_0x46d17c['markerName']);if(_0x4ba1b8){for(const _0x2c3f3b of _0x4ba1b8)(_0x2c3f3b['hasClass']('ck-suggestion-marker-split')||_0x2c3f3b['hasClass']('ck-suggestion-marker-merge'))&&(_0x28c5cf['mapper']['unbindElementFromMarkerName'](_0x2c3f3b,_0x46d17c['markerName']),_0x28c5cf['writer']['remove'](_0x2c3f3b));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5d1037,_0x1e55b8,_0x13fdb2)=>{const _0x4adb50=_0x1e55b8['markerName']['split'](':')[0x1],_0x57e224=this['_getChangeFromId'](_0x4adb50);if(!_0x57e224)return null;const _0x198050='add'==_0x57e224['type']?'split':'merge';if(_0x13fdb2['consumable']['test'](_0x1e55b8['markerRange'],_0x5d1037['name']))for(const _0x416753 of _0x1e55b8['markerRange']['getItems']()){if(!_0x416753['is']('element','softBreak'))continue;const _0x15b98e=_0x13fdb2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x198050}),_0x4f22d0=_0x13fdb2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x416753));_0x57e224['data']['isSuggestion']&&_0x13fdb2['writer']['addClass']('ck-suggestion-marker-'+_0x198050+'-new',_0x15b98e),this['activeChange']==_0x57e224&&_0x13fdb2['writer']['addClass']('ck-suggestion-marker--active',_0x15b98e),_0x13fdb2['writer']['insert'](_0x4f22d0,_0x15b98e),_0x13fdb2['mapper']['bindElementToMarker'](_0x15b98e,_0x1e55b8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x27a3fe=>{for(const _0x505cd4 of this['editor']['model']['document']['getRootNames']()){const _0x187f20=this['editor']['model']['document']['getRoot'](_0x505cd4),_0x338229=this['editor']['editing']['view']['document']['getRoot'](_0x505cd4);if(_0x338229){const _0x15a410=_0x187f20['getAttribute']('revisionHistoryAttachChange');if(_0x27a3fe['removeAttribute']('data-change-id',_0x338229),_0x27a3fe['removeClass']('ck-revision-history-root-add',_0x338229),_0x27a3fe['removeClass']('ck-revision-history-root-remove',_0x338229),_0x27a3fe['removeClass']('ck-revision-history-root--active',_0x338229),_0x15a410){const _0x4d4aef=this['_getChangeFromId'](_0x15a410);if(!_0x4d4aef)return null;_0x27a3fe['setAttribute']('data-change-id',_0x15a410,_0x338229),_0x27a3fe['addClass']('ck-revision-history-root-'+_0x4d4aef['type'],_0x338229),this['activeChange']==_0x4d4aef&&_0x27a3fe['addClass']('ck-revision-history-root--active',_0x338229);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x230a67=>'revision-comment:'+_0x230a67,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x45ce85=>'revision-suggestion:'+_0x45ce85,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1e5e3c=>({'name':'suggestion:'+_0x1e5e3c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x57fdc5=>{const _0x366187=_0x57fdc5['markerName']['split'](':')[0x1];return'insertion'!=_0x366187&&'deletion'!=_0x366187?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x366187]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x5b5d0c(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x5b5d0c(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x250a4f,_0x58326f,_0xcc23e)=>{const _0x538432=_0xcc23e['mapper']['markerNameToElements'](_0x58326f['markerName']);if(_0x538432){for(const _0x4c97fe of _0x538432)_0x4c97fe['is']('uiElement')&&(_0xcc23e['mapper']['unbindElementFromMarkerName'](_0x4c97fe,_0x58326f['markerName']),_0xcc23e['writer']['remove'](_0x4c97fe));}},{'priority':'high'});}['_getChangeFromId'](_0x190941){return this['_changeIdToChange']['get'](_0x190941);}['_getViewForChange'](_0x40298f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x40298f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xb8417f,_0x7a5aa2,_0xf423bd,_0x332a4f)=>{_0x332a4f&&this['_balloon']['remove'](_0x332a4f),_0xf423bd&&(this['_balloon']['add']({'view':_0xf423bd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x397e96=this['editor']['editing'],_0x431966=this['_getChangeFromId'](_0xf423bd['changeId']);let _0x54c645;if(_0x431966['data']['isOnRoot']){const _0x3edda9=_0x397e96['view']['getDomRoot'](_0x431966['rootName']);_0x54c645=Array['from'](_0x3edda9['getClientRects']());}else{const _0x24e1d0=this['editor']['model']['markers']['get']('revision:'+_0xf423bd['changeId']);_0x54c645=Array['from'](_0x397e96['mapper']['markerNameToElements'](_0x24e1d0['name']))['map'](_0x363718=>_0x397e96['view']['domConverter']['mapViewToDom'](_0x363718))['map'](_0x359800=>Array['from'](_0x359800['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x54c645[0x0];return _0x54c645['find'](_0x14181f=>_0x14181f['top']-0x3<=this['_activeViewTarget']['y']&&_0x14181f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x14181f['left']-0x3<=this['_activeViewTarget']['x']&&_0x14181f['right']+0x3>=this['_activeViewTarget']['x'])||_0x54c645[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x41270a,_0x4b9c03,_0x218d5b,_0x527f2)=>{this['activeView']=_0x218d5b?this['_getViewForChange'](_0x218d5b):null,this['editor']['model']['change'](()=>{const _0x1b5089=this['editor']['editing'];_0x527f2&&(_0x527f2['data']['isOnRoot']?_0x1b5089['view']['change'](_0x17a34f=>{_0x17a34f['removeClass']('ck-revision-history-root--active',_0x1b5089['view']['document']['getRoot'](_0x527f2['rootName']));}):_0x1b5089['reconvertMarker']('revision:'+_0x527f2['id'])),_0x218d5b&&(_0x218d5b['data']['isOnRoot']?_0x1b5089['view']['change'](_0x7949=>{_0x7949['addClass']('ck-revision-history-root--active',_0x1b5089['view']['document']['getRoot'](_0x218d5b['rootName']));}):_0x1b5089['reconvertMarker']('revision:'+_0x218d5b['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x24b3b9,_0x269d00)=>{if(this['activeChange'])return;const _0x2dc0df=this['_findChangeIdFromDomTarget'](_0x269d00['target']),_0x456680=this['_changeIdToChange']['get'](_0x2dc0df);_0x456680?(this['_activeViewTarget']={'x':_0x269d00['domEvent']['x'],'y':_0x269d00['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x456680)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xdb09b0,_0x4c9dd4)=>{const _0x4117c9=this['_findChangeIdFromDomTarget'](_0x4c9dd4['target']),_0x1efee5=this['_changeIdToChange']['get'](_0x4117c9);_0x1efee5?(this['_activeViewTarget']={'x':_0x4c9dd4['domEvent']['x'],'y':_0x4c9dd4['domEvent']['y']},_0x1efee5===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1efee5):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1102fd){do{const _0x2ff70a=_0x1102fd['getAttribute']('data-change-id');if(_0x2ff70a)return _0x2ff70a;_0x1102fd=_0x1102fd['parent'];}while(_0x1102fd);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3e3b6d=>{for(const _0x421389 of this['editor']['model']['markers'])_0x3e3b6d['removeMarker'](_0x421389);});}}function _0x5b5d0c(_0x1b669d,_0x579a62){return(_0x217317,_0x3d99b2,_0x3f2051)=>{if(!_0x3f2051['consumable']['test'](_0x3d99b2['markerRange'],_0x217317['name']))return;const _0x49b6a7=_0x3d99b2['markerRange']['getWalker'](),_0x143173=_0x3d99b2['markerRange']['start'],_0x1aad7a=_0x1b669d['model']['schema'];let _0x253f73=null,_0x465434=null,_0x5c852c=!0x1,_0x2b20a8=!0x1;for(const _0x3a06e4 of _0x49b6a7){const _0x25ea12=_0x3a06e4['item'];_0x5c852c=_0x5c852c||_0x1aad7a['isContent'](_0x25ea12);const _0x2a6d94=_0x3f2051['mapper']['toViewElement'](_0x25ea12);if(_0x2a6d94&&_0x2a6d94['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a06e4['type']&&(_0x1aad7a['isBlock'](_0x25ea12)&&!_0x1aad7a['isLimit'](_0x25ea12)&&(_0x25ea12['nextSibling']||_0x143173['isAtEnd']?_0x253f73&&_0x253f73['parent']==_0x25ea12||(_0x253f73=_0x25ea12,_0x3cd656(_0x3a06e4['previousPosition']),_0x2b20a8=!0x0):_0x465434=_0x465434||_0x3a06e4['previousPosition']));}function _0x3cd656(_0x5d6ca4){const _0x1e6d2a=_0x3f2051['mapper']['toViewPosition'](_0x5d6ca4),_0x489116=_0x3f2051['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x579a62});_0x3f2051['writer']['insert'](_0x1e6d2a,_0x489116),_0x3f2051['mapper']['bindElementToMarker'](_0x489116,_0x3d99b2['markerName']);}_0x5c852c||_0x2b20a8||!_0x465434||_0x3cd656(_0x465434);};}class RestoreRevisionCommand extends _0xa0ed63['Command']{constructor(_0x56ea44){super(_0x56ea44);const _0x4aa619=_0x56ea44['plugins']['get'](_0x41b773);this['affectsData']=!0x1,this['listenTo'](_0x4aa619,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4aa619,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1e0a07=this['editor'],_0x25ab87=_0x1e0a07['plugins']['get'](_0x41b773),_0x24fcaf=_0x25ab87['isReady']?_0x25ab87['diff']['newRevisionId']:null;_0x1e0a07['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x24fcaf);}['refresh'](){const {isReady:_0x179340,isEnabled:_0x15e67e,repository:_0x447cb3,diff:_0x3e7802}=this['editor']['plugins']['get'](_0x41b773),_0x2add26=_0x3e7802&&_0x447cb3['getLaterVisibleRevision'](_0x3e7802['newRevisionId']);this['isEnabled']=_0x179340&&_0x15e67e&&Boolean(_0x2add26);}}class _0x3954f2 extends _0xa0ed63['Command']{['_step'];constructor(_0x4d9941,{direction:_0x5c0259}){super(_0x4d9941);const _0x15e6e7=_0x4d9941['plugins']['get'](_0x41b773);this['affectsData']=!0x1,this['_step']='forward'===_0x5c0259?0x1:-0x1,this['listenTo'](_0x15e6e7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x15e6e7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x15e6e7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x117617=this['editor'],_0xc135a5=_0x117617['plugins']['get'](_0x41b773),{isNavigationMode:_0x54ff44,currentChangeNumber:_0x1fc51a}=_0xc135a5;let _0x334017;if(_0xc135a5['activeChange']=_0x54ff44?_0xc135a5['diff']['changes']['get'](_0x1fc51a+this['_step']):_0xc135a5['diff']['changes']['first'],_0xc135a5['activeChange']['data']['isOnRoot'])_0x334017=_0x117617['editing']['view']['getDomRoot'](_0xc135a5['activeChange']['rootName']);else{const _0x21af1e=_0x117617['model']['markers']['get']('revision:'+_0xc135a5['activeChange']['id']);_0x334017=_0xf4366a(_0x117617['editing'],_0x21af1e);}_0xa0ed63['scrollViewportToShowTarget']({'target':_0x334017,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4b8f27,currentChangeNumber:_0x3955b4,numberOfChanges:_0x338420,isReady:_0x382e67,isEnabled:_0x21ec15}=this['editor']['plugins']['get'](_0x41b773);this['isEnabled']=!!(_0x21ec15&&_0x382e67&&_0x338420)&&(!_0x4b8f27||(0x1===this['_step']?_0x3955b4<_0x338420-0x1:_0x3955b4>0x0));}}class ChangesNavigationView extends _0xa0ed63['View']{constructor(_0x1850bb){super(_0x1850bb);const _0x1a81bd=this['bindTemplate'],_0x2fda7a=new _0xa0ed63['ButtonView'](_0x1850bb),_0x2d9496=new _0xa0ed63['ButtonView'](_0x1850bb);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',(_0x3671ce,_0x4da50f)=>_0x3671ce&&_0x4da50f>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1b2fac,_0x29459f,_0x3284aa,_0x57cf51)=>{if(!_0x1b2fac)return _0x12b16c(_0x1850bb,'Loading...');if(!_0x3284aa)return _0x12b16c(_0x1850bb,'No\x20changes');const _0xb65d9e=_0x12b16c(_0x1850bb,'NUMBER_OF_CHANGES',_0x3284aa);return _0x57cf51?_0x12b16c(_0x1850bb,'X_OF_Y_CHANGES',[_0x29459f+0x1,_0x3284aa]):_0xb65d9e;}),_0x2fda7a['set']({'label':_0x12b16c(_0x1850bb,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0xa0ed63['IconChevronUp']}),_0x2d9496['set']({'label':_0x12b16c(_0x1850bb,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0xa0ed63['IconChevronDown']}),_0x2fda7a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2d9496['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2fda7a['on']('execute',()=>this['fire']('execute','backward')),_0x2d9496['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',_0x1a81bd['if']('_isStatusLabelVisible','ck-hidden',_0x5cc14a=>!_0x5cc14a)]},'children':[{'text':_0x1a81bd['to']('isNavigationMode',_0x20d115=>_0x20d115?_0x12b16c(_0x1850bb,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x12b16c(_0x1850bb,'Total')+':\x20')}]},{'text':_0x1a81bd['to']('_statusText')}]},new _0xa0ed63['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2fda7a,_0x2d9496]}]});}}const _0x2e4634='ck-editor__editable__loading-overlay';class _0x48baea extends _0xa0ed63['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x1ba5a2=this['editor']['editing']['view'];_0x1ba5a2['change'](_0x2891a7=>{for(const _0x38ee0e of _0x1ba5a2['document']['roots'])_0x2891a7['addClass'](_0x2e4634,_0x38ee0e);});}['hide'](){const _0x1e908a=this['editor']['editing']['view'];_0x1e908a['change'](_0xedcba1=>{for(const _0x254426 of _0x1e908a['document']['roots'])_0xedcba1['removeClass'](_0x2e4634,_0x254426);});}}class _0x1fde30 extends _0xa0ed63['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x41b773,_0x48baea];}['init'](){const _0x174fce=this['editor'],_0x283db5=_0x174fce['plugins']['get'](_0x41b773),_0x7a972b=_0x174fce['plugins']['get'](_0x48baea);_0x174fce['ui']['componentFactory']['add']('exitToEditing',_0x88622=>{const _0x1aab22=new _0xa0ed63['ButtonView'](_0x88622);return _0x1aab22['set']({'label':_0x12b16c(_0x88622,'Back\x20to\x20editing'),'icon':_0xa0ed63['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1aab22,'execute',()=>{_0x174fce['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1aab22;}),_0x174fce['ui']['componentFactory']['add']('restoreRevision',_0xb694b8=>{const _0x316f5d=new _0xa0ed63['ButtonView'](_0xb694b8);return _0x316f5d['set']({'label':_0x12b16c(_0xb694b8,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x316f5d['bind']('isEnabled')['to'](_0x174fce['commands']['get']('restoreRevision')),this['listenTo'](_0x316f5d,'execute',()=>_0x174fce['execute']('restoreRevision')),_0x316f5d;}),_0x174fce['ui']['componentFactory']['add']('changesNavigation',_0x269091=>{const _0x630f54=new ChangesNavigationView(_0x269091),_0x52d50e=_0x174fce['commands']['get']('showPreviousChange'),_0x185563=_0x174fce['commands']['get']('showNextChange');return _0x630f54['bind']('isBackwardNavigationEnabled')['to'](_0x52d50e,'isEnabled'),_0x630f54['bind']('isForwardNavigationEnabled')['to'](_0x185563,'isEnabled'),_0x630f54['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x283db5),this['listenTo'](_0x630f54,'execute',(_0x51065e,_0x3277c3)=>{_0x174fce['execute']('forward'===_0x3277c3?'showNextChange':'showPreviousChange');}),_0x630f54;}),_0x7a972b['show'](),_0x283db5['on']('change:isReady',(_0x49d457,_0x2ff722,_0x3351b0)=>{_0x3351b0?_0x7a972b['hide']():_0x7a972b['show']();});}}class _0x5e234c extends _0xa0ed63['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x27eab5,_0x1f90f9){super(_0x27eab5,_0x1f90f9);const _0x30ae23=this['bindTemplate'];this['set']({'label':_0x12b16c(_0x27eab5,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x12b16c(_0x27eab5,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x30ae23['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0xa0ed63['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x49c9b7=this['fieldView']['element'];this['_tooltipString']=_0x49c9b7['scrollWidth']>_0x49c9b7['clientWidth']&&_0x49c9b7['value']||'';}}class RevisionAuthorView extends _0xa0ed63['View']{constructor(_0xb167b8,_0x14d9a1,_0x13fbab){super(_0xb167b8);const _0x451509=new _0xa0ed63['IconView']();_0x451509['set']({'content':_0xa0ed63['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x187a34=['ck','ck-revision-history-sidebar__revision-author'];_0x13fbab&&_0x187a34['push']('ck-revision-history-sidebar__revision-author_creator');const _0x52e95d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x12b16c(_0xb167b8,_0x13fbab?'Revision\x20creator':'Revision\x20author')},'children':[_0x451509,_0x14d9a1['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x187a34},'children':_0x52e95d});}}function _0x1fe8ab(_0x4b12cc,_0x3a84df){const _0x364c39=_0x4b12cc['bindTemplate'],_0x4af43d=_0x4b12cc['locale'],_0x5abec3=_0xa0ed63['createDropdown'](_0x4af43d);_0x5abec3['panelPosition']='sw';const _0x3bc822=function(_0x3eed82,_0x19116d){const _0x18c634=function(_0x103297,_0x4dc85b){const _0x1651f5=_0x103297['locale'],_0x2e53fc={'Compare\x20against\x20selected':_0x12b16c(_0x1651f5,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x12b16c(_0x1651f5,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x12b16c(_0x1651f5,'Restore\x20this\x20revision')};return _0x4dc85b['map'](_0x36afc8=>{const _0x2e0014=_0x2e53fc[_0x36afc8['name']];return _0x2e0014&&_0x2e0014!==_0x36afc8['name']&&(_0x36afc8['name']=_0x2e0014),_0x36afc8;});}(_0x3eed82,_0x19116d),_0x33ded3=new _0xa0ed63['Collection']();for(const _0x4b8b53 of _0x18c634){const _0x45f8cb={'type':'button','model':new _0xa0ed63['UIModel']({'label':_0x4b8b53['name'],'class':_0x4b8b53['class'],'withText':!0x0,'role':'menuitem','_action':_0x4b8b53['action']})};_0x45f8cb['model']['bind']('isEnabled')['to'](_0x3eed82,'isActionsDropdownOpen',_0xbcb538=>'function'!=typeof _0x4b8b53['isEnabled']||(!_0xbcb538||_0x4b8b53['isEnabled'](_0x3eed82))),_0x33ded3['add'](_0x45f8cb);}return _0x33ded3;}(_0x4b12cc,_0x3a84df);return _0x4b12cc['bind']('isActionsDropdownOpen')['to'](_0x5abec3,'isOpen'),_0x5abec3['buttonView']['set']({'label':_0x12b16c(_0x4af43d,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa0ed63['IconThreeVerticalDots']}),_0x5abec3['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x364c39['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x364c39['to'](_0x583aef=>_0x583aef['stopPropagation']())}}),_0x5abec3['on']('execute',_0x135cf2=>{_0x4b12cc['isReady']&&'function'==typeof _0x135cf2['source']['_action']&&_0x135cf2['source']['_action'](_0x4b12cc);}),_0xa0ed63['addListToDropdown'](_0x5abec3,_0x3bc822,{'role':'menu'}),_0x5abec3['listenTo'](_0x4b12cc,'change:isActionsDropdownOpen',(_0x35a87b,_0x2a1730,_0x4c0c56)=>{if(_0x4c0c56)for(const _0x40e136 of _0x5abec3['listView']['items']){const _0x16b04e=_0x40e136['children']['first'],_0x46173f=_0x3a84df['find'](_0x48d0a9=>_0x48d0a9['action']===_0x16b04e['_action'])['isVisible'];_0x40e136['isVisible']=void 0x0===_0x46173f||_0x46173f(_0x4b12cc);}}),_0x5abec3;}class _0x2e861e extends/* #__PURE__ -- @preserve */
_0x37545e(_0xa0ed63['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x348afd,_0x59a071,_0x9f2b9a,_0x2b68e2){super(_0x348afd);const _0x4143a3=this['bindTemplate'],_0x2a7932=function(_0x4b7bef,_0x17bced){const _0x1f2956=Array['from'](_0x17bced['authors'])['filter'](_0x1ad7a0=>_0x1ad7a0!=_0x17bced['creator']);return _0x17bced['creator']&&_0x1f2956['unshift'](_0x17bced['creator']),_0x1f2956['map'](_0x34d99f=>new RevisionAuthorView(_0x4b7bef,_0x34d99f,_0x34d99f==_0x17bced['creator']));}(_0x348afd,_0x59a071);this['id']=_0x59a071['id'],this['_revision']=_0x59a071,this['_requireRevisionName']=_0x2b68e2,this['bind']('name','createdAt')['to'](_0x59a071),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5eedc0=>{return _0x36bf3a=_0x348afd['uiLanguage'],(_0x2630d7=_0x5eedc0)['toLocaleDateString'](_0x36bf3a,{'month':'long','day':'numeric'})+',\x20'+_0x2630d7['toLocaleTimeString'](_0x36bf3a,{'hour':'numeric','minute':'numeric'});var _0x36bf3a,_0x2630d7;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x5e234c(_0x348afd,_0xa0ed63['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x45312c=>_0x45312c||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x437f8d,_0x5aacc4)=>_0x437f8d&&_0x5aacc4),this['revisionActionsView']=_0x9f2b9a&&_0x9f2b9a['length']?_0x1fe8ab(this,_0x9f2b9a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4143a3['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4143a3['if']('isEnabled','ck-disabled',_0x506b82=>!_0x506b82),_0x4143a3['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4143a3['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4143a3['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':_0x4143a3['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':_0x2a7932}]},this['revisionActionsView']],'on':{'click':_0x4143a3['to'](_0x179629=>{_0x179629['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5eb7e3=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5eb7e3,'change',()=>{this['_requireRevisionName']&&!_0x5eb7e3['value']||this['fire']('setName',{'id':this['id'],'name':_0x5eb7e3['value']}),_0x5eb7e3['value']||(_0x5eb7e3['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function _0x1021d8(_0xb7e31a,_0x35d2cc){const _0x25b8fa=DateTime['fromJSDate'](_0xb7e31a)['setLocale'](_0x35d2cc),_0x40f90e=DateTime['local'](),_0x269eaa=_0x40f90e['minus']({'days':0x1})['startOf']('day');let _0x180917,_0x5b813b;return _0x25b8fa['hasSame'](_0x40f90e,'day')?(_0x180917=_0x25b8fa['startOf']('day')['toJSDate'](),_0x5b813b=_0x25b8fa['toRelativeCalendar']()):_0x25b8fa['hasSame'](_0x269eaa,'day')?(_0x180917=_0x269eaa['toJSDate'](),_0x5b813b=_0x25b8fa['toRelativeCalendar']()):_0x25b8fa['hasSame'](_0x40f90e,'week')?(_0x180917=_0x25b8fa['startOf']('week')['toJSDate'](),_0x5b813b=_0x25b8fa['weekdayLong']||''):_0x25b8fa['hasSame'](_0x40f90e,'year')?(_0x180917=_0x25b8fa['startOf']('month')['toJSDate'](),_0x5b813b=_0x25b8fa['monthLong']||''):(_0x180917=_0x25b8fa['startOf']('year')['toJSDate'](),_0x5b813b=String(_0x25b8fa['year'])),{'startDate':_0x180917,'localizedPeriodName':_0x5b813b};}class _0x38f187 extends _0xa0ed63['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x23895b,_0x51d092,_0x4b1eee,_0x53ffa8){super(_0x23895b);const _0x3470fa=_0x1021d8(_0x51d092,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x51d092,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4b1eee,this['_requireRevisionName']=_0x53ffa8,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':_0x3470fa}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x197ff8){const _0x4f3348=new _0x2e861e(this['locale'],_0x197ff8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4f3348);}['removeRevision'](_0x29a164){const _0x4e6b17=this['revisionViews']['find'](_0x4f3c15=>_0x4f3c15['id']===_0x29a164['id']);this['revisionViews']['remove'](_0x4e6b17);}}class _0x314e05 extends _0xa0ed63['View']{constructor(_0x411023){super(_0x411023);const _0x4ffe3d=new _0xa0ed63['IconView']();_0x4ffe3d['content']=_0xa0ed63['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4ffe3d,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x12b16c(_0x411023,'Revision\x20history')]}]});}}class _0x9ae7c8 extends _0xa0ed63['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x6910cb,_0x555f70,_0x55d062,_0x537feb){super(_0x6910cb);const _0x183392=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x555f70,this['_revisionActions']=_0x55d062,this['_requireRevisionName']=_0x537feb,this['on']('select',(_0x16e849,_0x574804)=>{this['fire']('revisionSelected',_0x574804);}),this['on']('setName',(_0x3d4753,_0x307d75)=>{this['fire']('revisionSetName',_0x307d75);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x314e05(_0x6910cb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x183392['if']('isEnabled','ck-disabled',_0x1f48d4=>!_0x1f48d4)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x436a1f of this['_revisions'])this['_addRevision'](_0x436a1f);this['_revisions']['on']('add',(_0x760575,_0x2c1c07)=>{this['_addRevision'](_0x2c1c07);}),this['_revisions']['on']('remove',(_0x2d2c42,_0x3c83c)=>{this['_removeRevision'](_0x3c83c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3dbed4=>_0x3dbed4['revisionViews']['map'](_0x39ba5f=>_0x39ba5f))['flat']();}['selectRevision'](_0x3cc938){for(const _0x1b6d07 of this['revisionViews'])_0x3cc938&&_0x3cc938['id']===_0x1b6d07['id']?_0x1b6d07['select']():_0x1b6d07['deselect']();}['highlightRevisions'](_0x2efa2f){for(const _0x541553 of this['revisionViews'])_0x2efa2f['some'](({id:_0xd8c0ca})=>_0xd8c0ca===_0x541553['id'])?_0x541553['highlight']():_0x541553['unhighlight']();}['_addRevision'](_0x374eb2){const _0x6c5961=_0x1021d8(_0x374eb2['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x451e4b=this['timePeriodViews']['get'](0x0);_0x451e4b&&_0x451e4b['startDate']['getTime']()===_0x6c5961['getTime']()||(_0x451e4b=new _0x38f187(this['locale'],_0x6c5961,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x451e4b)),_0x451e4b['addRevision'](_0x374eb2);}['_removeRevision'](_0x23d90a){const _0xaf1882=_0x1021d8(_0x23d90a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xaf1882)['removeRevision'](_0x23d90a);}['_getTimePeriodViewByStartDate'](_0x244130){return this['timePeriodViews']['find'](_0x2b07ca=>_0x2b07ca['startDate']['getTime']()===_0x244130['getTime']());}}class _0x5a838d extends _0xa0ed63['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
_0x451144();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x41b773];}constructor(_0x6f9e19){super(_0x6f9e19),this['_revisionViewer']=_0x6f9e19['plugins']['get'](_0x41b773),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x403751=this['_revisionsRepository']['_revisions'],_0x311285=this['_createRevisionActions'](),_0x2bc0a4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x9ae7c8(this['editor']['locale'],_0x403751,_0x311285,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',(_0x2c665a,_0x5de309)=>{_0x5de309['revisionViews']['on']('add',(_0x10f67a,_0x5e8efc)=>{_0x5e8efc['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)),_0x2bc0a4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x160ce9=this['_revisionsRepository']['getRevision'](0x0);if(_0x160ce9){const _0x14fd24=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x160ce9['id']);this['_revisionViewer']['compare'](_0x160ce9,_0x14fd24);}}['_handleRevisionSelected'](_0x4a26c7,_0x2f90fa){const _0x531e8b=this['_revisionsRepository']['getRevision'](_0x2f90fa['id']),_0x13b6c6=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x531e8b['id']);this['_revisionViewer']['compare'](_0x531e8b,_0x13b6c6);}['_handleRevisionSetName'](_0x3a30b2,_0x3f4c95){this['_revisionsRepository']['getRevision'](_0x3f4c95['id'])['setName'](_0x3f4c95['name']);}['_handleDiffChange'](_0x193dab,_0x51166d,_0x2978ed){const _0x209fc8=this['_revisionsRepository']['getRevisionsInDiff'](_0x2978ed);_0x209fc8['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x209fc8),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x209fc8[0x0]));}['_createRevisionActions'](){const _0x56cf16=this['editor'],_0x35a10a=_0x5a838d['availableRevisionActions'],_0x4a0ad9=_0x56cf16['config']['get']('revisionHistory.revisionActions')||_0x5a838d['defaultRevisionActions'];if(_0x4a0ad9['length'])return _0x4a0ad9['map'](_0x388bbd=>{const _0x347f78='string'==typeof _0x388bbd?Object['assign']({},_0x35a10a[_0x388bbd]):_0x388bbd;return _0x347f78['action']=_0x347f78['action']['bind'](this,_0x56cf16),_0x347f78['isVisible']&&(_0x347f78['isVisible']=_0x347f78['isVisible']['bind'](this,_0x56cf16)),_0x347f78;});}}function _0x451144(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2ff086},_0x10b970)=>{const _0x279820=_0x2ff086['get'](_0x41b773),_0x387c5d=_0x279820['repository'];let _0x2d4e6c=_0x279820['diff']['newRevisionId'],_0x257a2d=_0x10b970['id'];_0x387c5d['getIndex'](_0x2d4e6c)>_0x387c5d['getIndex'](_0x257a2d)&&([_0x2d4e6c,_0x257a2d]=[_0x257a2d,_0x2d4e6c]),_0x279820['compare'](_0x2d4e6c,_0x257a2d);},'isVisible':({plugins:_0x4f7df4},_0x29ff29)=>{const _0x3c1bd4=_0x4f7df4['get'](_0x41b773);return!(_0x3c1bd4['repository']['getRevisionsInDiff'](_0x3c1bd4['diff'])['length']>0x2)&&!_0x29ff29['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x329cdc,{id:_0x328ada})=>{_0x329cdc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x328ada);},'isVisible':({plugins:_0x4d0d56},_0x34b97c)=>!!_0x4d0d56['get'](_0x41b773)['repository']['getLaterVisibleRevision'](_0x34b97c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5b1902},{id:_0x1d9846,revisionNameView:_0x388038})=>{const _0x326d4b=_0x5b1902['get'](_0x41b773),_0x352186=_0x326d4b['repository']['getEarlierVisibleRevision'](_0x1d9846);_0x326d4b['compare'](_0x1d9846,_0x352186),_0x388038['focus'](),_0x388038['fieldView']['select']();}}};}class RevisionViewerEditorUI extends _0xa0ed63['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x27299d,_0x4c0869){super(_0x27299d),this['_view']=_0x4c0869,this['_toolbarConfig']=_0xa0ed63['normalizeToolbarConfig'](_0x27299d['config']['get']('toolbar')),this['_elementReplacer']=new _0xa0ed63['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x1e3b8f){const _0x31ee3c=this['editor'],_0x5613eb=this['view'],_0x1d6552=_0x31ee3c['editing']['view'],_0x153a48=_0x5613eb['editable'],_0x2fd240=_0x1d6552['document']['getRoot']();_0x153a48['name']=_0x2fd240['rootName'],_0x5613eb['render']();const _0x24d629=_0x153a48['element'];this['setEditableElement'](_0x153a48['name'],_0x24d629),_0x5613eb['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1d6552['attachDomRoot'](_0x24d629),this['_elementReplacer']['replace'](_0x1e3b8f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3be270=this['view'],_0x35263a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x35263a['detachDomRoot'](_0x3be270['editable']['name']),_0x3be270['destroy']();}['_initToolbar'](){const _0x15f698=this['view'];_0x15f698['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x15f698['stickyPanel']['limiterElement']=_0x15f698['element'],_0x15f698['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4e2335})=>_0x4e2335),_0x15f698['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x15f698['toolbar']);}}class RevisionViewerEditorUIView extends _0xa0ed63['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5f51cf,_0x2863ff,_0x178d43={}){super(_0x5f51cf),this['stickyPanel']=new _0xa0ed63['StickyPanelView'](_0x5f51cf),this['toolbar']=new _0xa0ed63['ToolbarView'](_0x5f51cf,{'shouldGroupWhenFull':_0x178d43['shouldToolbarGroupWhenFull']}),this['_editable']=new _0xa0ed63['InlineEditableUIView'](_0x5f51cf,_0x2863ff);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0xa0ed63['ElementApiMixin'](_0xa0ed63['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x18e7aa,_0x3f015d){super(_0x3f015d),this['sourceElement']=_0x18e7aa,this['model']['document']['createRoot']();const _0x57a48c=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x57a48c);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5eb56b,_0x3cdf42){const _0x2a098e=new this(_0x5eb56b,_0x3cdf42);return await _0x2a098e['initPlugins'](),await _0x2a098e['ui']['init'](_0x5eb56b),await _0x2a098e['data']['init'](_0x2a098e['config']['get']('initialData')||''),_0x2a098e['fire']('ready'),_0x2a098e;}}const _0x185d9b=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0xa0ed63['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c690b){function _0x3c7a82(_0x55984a){return _0x55984a['map'](_0x1fc3ce=>String['fromCharCode'](_0x1fc3ce))['join']('');}super(_0x2c690b),this['result']='end',_0x2c690b[_0x3c7a82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c7a82([0x76,0x69,0x65,0x77])][_0x3c7a82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c7a82([0x61,0x75,0x74,0x6f]),_0x2c690b[_0x3c7a82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3c7a82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c7a82([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3c7a82([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3c7a82([0x6f,0x6b])});}}class RevisionHistory extends _0xa0ed63['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x19f525,RevisionHistoryUI];}constructor(_0xbe796f){if(super(_0xbe796f),!this['editor']['config']['get']('revisionHistory'))throw new _0xa0ed63['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4242cf=>this['_showRevisionViewer']({..._0x4242cf,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3b76bb=>this['_closeRevisionViewer'](_0x3b76bb)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x49c797=>this['_restoreRevision'](_0x49c797)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x59106d){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x59106d;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5e910e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5e910e);}['getRevision'](_0x3f103b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3f103b);}['getRevisions'](_0x34e167){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x34e167||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x50fc19=this['editor'],_0x5566cf=_0x14b9a3(_0x50fc19,_0x185d9b),_0x45280e=_0x50fc19['plugins']['get']('RevisionTracker'),_0x2d241c=_0x50fc19['plugins']['get']('Users')['users'];_0x5566cf['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5566cf['lazyRoots'];class RevisionViewerInit extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x41b773,'Users'];}['init'](){const _0x380562=this['editor']['plugins']['get']('Users');for(const _0x3e80b6 of _0x2d241c)_0x3e80b6['isAnonymous']||_0x380562['getUser'](_0x3e80b6['id'])||_0x380562['addUser'](_0x3e80b6);const _0x4d0fe2=_0x45280e['repository']['getRevisions']();let _0x21232c=null;const _0x1adace=this['editor']['plugins']['get']('RevisionViewer');_0x1adace['adapter']=_0x45280e['adapter'],_0x1adace['bind']('isEnabled')['to'](_0x45280e),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x50fc19,'isReadOnly',_0x114772=>!_0x114772);for(const _0x487658 of _0x4d0fe2){const _0x464258=null===_0x487658['creator'];if(_0x464258&&_0x487658['toVersion']===_0x487658['fromVersion'])continue;const _0x34f8f9=_0x487658['toJSON']();_0x1adace['addRevisionData'](_0x34f8f9,(_0x45ed99,_0x197a68,_0x33e966)=>{if(_0x464258){if(_0x21232c)_0x21232c['_update'](_0x45ed99,_0x197a68);else{if(!_0x197a68){const _0x4a3cf9=_0x33e966['toJSON']();_0x4a3cf9['id']=_0xa0ed63['uid'](),_0x45280e['saveRevision'](_0x4a3cf9,_0x33e966['toVersion'])['then'](_0x2ad270=>{_0x21232c=_0x2ad270;});}}}else _0x487658['_update'](_0x45ed99,_0x197a68);});}}}return _0x5566cf['plugins']['push'](RevisionViewerIntegration,_0x41b773,_0x1fde30,RevisionViewerInit,_0x5a838d),_0x5566cf;}['_enhanceShowRevisionViewerCallback'](){const _0x533e89=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x25cff4=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5ed30d=this['editor']['plugins']['get']('Autosave');await _0x5ed30d['save']();}else await _0x25cff4['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x115424=this['editor']['plugins']['get']('Dialog');_0x115424['isOpen']&&_0x115424['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x34cccb=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x582c4e of _0x34cccb)_0x582c4e['class']=_0x582c4e['class']?_0x582c4e['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x498427=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x498427&&_0x498427['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x18d0a4=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x18d0a4&&_0x18d0a4['setAttribute']('tabindex','-1');}}const _0x164a85=this['_getRevisionViewerEditorConfig']();return _0x533e89(_0x164a85)['then'](_0x310da4=>{return(this['_viewerEditor']=_0x310da4,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'),_0x310da4);})['catch'](_0x32eb70=>(console['error'](_0x32eb70),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1d7501=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 _0x366c15=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x2bc04f of _0x366c15)_0x2bc04f['class']='ck-tab-panel_disabled'===_0x2bc04f['class']?'':_0x2bc04f['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x17e39b=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x17e39b&&_0x17e39b['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x3bdd4e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x3bdd4e&&_0x3bdd4e['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x1d7501(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4cd8f5=this['editor']['plugins']['get']('Annotations');_0x4cd8f5['refreshVisibility'](),_0x4cd8f5['refreshPositioning']();}});});}['_showRevisionViewer'](_0x401353){const _0x356c4b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xdc748a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x440ad6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x440ad6,_0x401353)['then'](_0x324d63=>(_0xdc748a['style']['display']='block',_0x356c4b['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x324d63));}['_closeRevisionViewer'](_0x3cc483){const _0x4c4e27=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4c4e27['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x3cc483['destroy']();}async['_restoreRevision'](_0xa477ee){const _0x5dbd6f=this['editor'],_0x3ef1f4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x19b9ff=_0x5dbd6f['plugins']['get']('RevisionTracker'),_0x2d2fc4=_0x5dbd6f['plugins']['get']('RevisionHistoryUtils'),_0x20a2b2=_0x3ef1f4['repository']['getRevision'](_0xa477ee);let _0x34e2a0,_0x19d47c,_0x5196ff;try{await _0x2d2fc4['loadRevisionData'](_0x20a2b2,this['adapter']),_0x34e2a0=_0x2d2fc4['getRevisionDocumentData'](_0x20a2b2),_0x19d47c=_0x2d2fc4['getRevisionRootsAttributes'](_0x20a2b2);}catch(_0x41d578){return void console['error'](_0x41d578);}_0x5dbd6f['model']['change'](_0x3c088a=>{for(const _0x206741 of Array['from'](_0x5dbd6f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3c088a['removeMarker'](_0x206741);}),_0x3ef1f4['isReady']=!0x1,_0x5dbd6f['model']['enqueueChange'](_0x529164=>{_0x529164['setSelection'](null),_0x529164['removeSelectionAttribute'](_0x5dbd6f['model']['document']['selection']['getAttributeKeys']());const _0x3a1f9b=Object['keys'](_0x34e2a0);for(const _0x15b121 of _0x5dbd6f['model']['document']['roots'])'$graveyard'!=_0x15b121['rootName']&&_0x15b121['isAttached']()&&!_0x3a1f9b['includes'](_0x15b121['rootName'])&&_0x529164['detachRoot'](_0x15b121);for(const _0x301275 of _0x3a1f9b){let _0x406120=_0x5dbd6f['model']['document']['getRoot'](_0x301275);_0x406120&&_0x406120['isAttached']()||(_0x406120=_0x529164['addRoot'](_0x301275));const _0x25469d=_0x19d47c[_0x301275],_0x6fd4d7=Object['keys'](_0x25469d),_0x1fe1d7=_0x34e2a0[_0x301275];for(const _0x4cbe15 of _0x406120['getAttributeKeys']())_0x6fd4d7['includes'](_0x4cbe15)||_0x529164['removeAttribute'](_0x4cbe15,_0x406120);for(const _0x14503f of _0x6fd4d7)_0x529164['setAttribute'](_0x14503f,_0x19d47c[_0x301275][_0x14503f],_0x406120);_0x529164['remove'](_0x529164['createRangeIn'](_0x406120)),_0x529164['insert'](_0x5dbd6f['data']['parse'](_0x1fe1d7,_0x406120),_0x406120,0x0);}});const _0x2e53d8=_0x12b16c(_0x5dbd6f['locale'],'Restored');if(_0x20a2b2['name'])_0x5196ff=-0x1==_0x20a2b2['name']['indexOf'](_0x2e53d8)?_0x2e53d8+':\x20'+_0x20a2b2['name']:_0x20a2b2['name'];else _0x5196ff=_0x2e53d8+':\x20'+(_0x20a2b2['createdAt']['toLocaleDateString'](_0x5dbd6f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x20a2b2['createdAt']['toLocaleTimeString'](_0x5dbd6f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x19b9ff['saveRevision']({'name':_0x5196ff}),_0x3ef1f4['isReady']=!0x0,_0x5dbd6f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class _0x38207a extends _0xa0ed63['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4732dd){super(_0x4732dd),this['_allowedCommands']=null;}['afterInit'](){const _0x468c0b=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x85cc8d=function(_0x550384){let _0x1a3d3a=['heading4','heading5','heading6'];if(_0x550384){const _0x3b3c08=_0x550384['map'](_0x5f0330=>_0x5f0330['model']);_0x1a3d3a=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0xebb485=>!_0x3b3c08['includes'](_0xebb485));}return _0x1a3d3a;}(this['editor']['config']['get']('heading.options')),_0x100826=this['getDefaultCommands']()['filter'](_0xd4fc0e=>!_0x85cc8d['includes'](_0xd4fc0e['id']));let _0x25816c=_0x100826['filter'](_0x5a6d44=>!_0x468c0b['includes'](_0x5a6d44['commandName']));const _0x43fb58=this['editor']['config']['get']('slashCommand.extraCommands');_0x43fb58&&_0x43fb58['length']&&(_0x25816c=_0x25816c['concat'](_0x43fb58));const _0x16ffba=this['editor']['config']['get']('template.definitions');_0x16ffba&&_0x16ffba['length']&&(_0x25816c=_0x25816c['concat'](function(_0x39adc9){return _0x39adc9['map'](_0x4d2c46=>{const {title:_0xa1947b,icon:_0x2f30a0,description:_0x35cc86,data:_0x2bef86}=_0x4d2c46,_0x4cdaa3={'id':_0x4e786d(_0xa1947b,'template'),'commandName':'insertTemplate','execute':_0x524d9f=>{_0x524d9f['execute']('insertTemplate',_0x2bef86);},'description':_0x35cc86,'icon':_0x2f30a0,'title':_0xa1947b};return _0x2f30a0&&(_0x4cdaa3['isIconColorInherited']=!0x1),_0x4cdaa3;});}(_0x16ffba)));const _0x5b0cf5=this['editor']['config']['get']('style.definitions');_0x5b0cf5&&_0x5b0cf5['length']&&(_0x25816c=_0x25816c['concat'](function(_0x3aab79){return _0x3aab79['map'](_0x562b97=>{const _0x29e6a1={'id':_0x4e786d(_0x562b97['name'],'style'),'commandName':'style','execute':_0x34314e=>{_0x34314e['execute']('style',{'styleName':_0x562b97['name']});},'isEnabled':_0x110626=>{const _0x2b45f0=_0x110626['commands']['get']('style');return _0x2b45f0['isEnabled']&&_0x2b45f0['enabledStyles']['includes'](_0x562b97['name']);},'title':_0x562b97['name']};return _0x29e6a1;});}(_0x5b0cf5)));const _0x32cd30=_0x25816c['filter'](_0x2560f9=>!_0x2560f9['commandName']||void 0x0!==this['editor']['commands']['get'](_0x2560f9['commandName'])),_0xe2ea8a=[];for(const _0x51ea9b of _0x32cd30)_0xe2ea8a['push']({'id':_0x51ea9b['id'],'commandName':_0x51ea9b['commandName'],'title':'function'==typeof _0x51ea9b['title']?_0x51ea9b['title'](this['editor']):_0x51ea9b['title'],'description':_0x51ea9b['description'],'icon':_0x51ea9b['icon'],'isIconColorInherited':_0x51ea9b['isIconColorInherited'],'aliases':_0x51ea9b['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x51ea9b),'execute':()=>this['_proxyExecute'](_0x51ea9b)});this['_allowedCommands']=_0xe2ea8a['sort'](_0x52b584),async function(_0x1552e4){const _0x473f9c=_0x561c43([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x1a1925=0x305505ed,_0x54e9c5=0x30528a2d^_0x1a1925,_0x44e983=window[_0x561c43([0x44,0x61,0x74,0x65])][_0x561c43([0x6e,0x6f,0x77])](),_0x1db527=_0x1552e4[_0x561c43([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52a9cd=new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x235cf6=>{_0x1db527[_0x561c43([0x6f,0x6e,0x63,0x65])](_0x561c43([0x72,0x65,0x61,0x64,0x79]),_0x235cf6);}),_0xf1318c={[_0x561c43([0x6b,0x74,0x79])]:_0x561c43([0x45,0x43]),[_0x561c43([0x75,0x73,0x65])]:_0x561c43([0x73,0x69,0x67]),[_0x561c43([0x63,0x72,0x76])]:_0x561c43([0x50,0x2d,0x32,0x35,0x36]),[_0x561c43([0x78])]:_0x561c43([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x561c43([0x79])]:_0x561c43([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x561c43([0x61,0x6c,0x67])]:_0x561c43([0x45,0x53,0x32,0x35,0x36])},_0x1922fa=_0x1db527[_0x561c43([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x561c43([0x67,0x65,0x74])](_0x561c43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x456014(){let _0xff478b,_0x2e29b4=null,_0x343c77=null;try{if(_0x1922fa==_0x561c43([0x47,0x50,0x4c]))return _0x561c43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xff478b=_0x490e35(),!_0xff478b)return _0x561c43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xff478b[_0x561c43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x343c77=_0x28687a(_0xff478b[_0x561c43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xff478b[_0x561c43([0x6a,0x74,0x69])])),await _0x8d6ca7()?_0x3a7066()?_0x58a74b()?_0x561c43([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x108cdf()?(_0xff478b[_0x561c43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x561c43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e29b4=_0x45ee2d(_0x561c43([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52f417()):_0x561c43([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x561c43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x561c43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x561c43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58a74b(){const _0x6953bd=[_0x561c43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x561c43([0x74,0x72,0x69,0x61,0x6c])][_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xff478b[_0x561c43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44e983/0x3e8:0xe10*_0x54e9c5;return _0xff478b[_0x561c43([0x65,0x78,0x70])]<_0x6953bd;}function _0x3a7066(){const _0x57c689=_0xff478b[_0x561c43([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57c689&&(!!_0x57c689[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561c43([0x2a]))||(!!_0x57c689[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561c43([0x53,0x43]))||(!!_0x57c689[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561c43([0x50,0x50]))||!(!_0x57c689[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561c43([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xbec5d1()))));}function _0x108cdf(){const _0x177f5e=_0xff478b[_0x561c43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x177f5e||0x0==_0x177f5e[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x311953}=new URL(window[_0x561c43([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x177f5e[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x311953))return!0x0;const _0x277d41=_0x311953[_0x561c43([0x73,0x70,0x6c,0x69,0x74])](_0x561c43([0x2e]));return _0x177f5e[_0x561c43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x164cb1=>_0x164cb1[_0x561c43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561c43([0x2a])))[_0x561c43([0x6d,0x61,0x70])](_0x1901be=>_0x1901be[_0x561c43([0x73,0x70,0x6c,0x69,0x74])](_0x561c43([0x2e])))[_0x561c43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd7114b=>_0xd7114b[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x277d41[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x561c43([0x6d,0x61,0x70])](_0x7209f9=>Array(_0x277d41[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x7209f9[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x561c43([0x66,0x69,0x6c,0x6c])](_0x7209f9[0x0]===_0x561c43([0x2a])?_0x561c43([0x2a]):'')[_0x561c43([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x7209f9))[_0x561c43([0x73,0x6f,0x6d,0x65])](_0x299fac=>_0x277d41[_0x561c43([0x65,0x76,0x65,0x72,0x79])]((_0x4a6c4b,_0xa1ffb9)=>_0x299fac[_0xa1ffb9]===_0x4a6c4b||_0x299fac[_0xa1ffb9]===_0x561c43([0x2a])));}function _0x52f417(){return _0x2e29b4&&_0x343c77?new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35a2ea,_0x2979d9)=>{_0x2e29b4[_0x561c43([0x74,0x68,0x65,0x6e])](_0x35a2ea,_0x2979d9),_0x343c77[_0x561c43([0x74,0x68,0x65,0x6e])](_0x89e35d=>{_0x89e35d!=_0x561c43([0x56,0x61,0x6c,0x69,0x64])&&_0x35a2ea(_0x89e35d);},_0x2979d9);}):_0x2e29b4||_0x343c77||_0x561c43([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28687a(_0x328f60,_0x4b0674){return new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1996ef=>{if(_0x2397cd())return _0x1996ef(_0x561c43([0x56,0x61,0x6c,0x69,0x64]));_0x1e3210(),_0x1db527[_0x561c43([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x561c43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x53255b=!0x1;const _0x1df43f=_0xa0ed63['uid']();function _0x18cf9e(_0x500b40){return!!_0x500b40&&(typeof _0x500b40===_0x561c43([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x500b40===_0x561c43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x500b40[_0x561c43([0x74,0x68,0x65,0x6e])]===_0x561c43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x500b40[_0x561c43([0x63,0x61,0x74,0x63,0x68])]===_0x561c43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10162a(_0x3b55ba){_0x5ac5cc(_0x3b55ba)[_0x561c43([0x74,0x68,0x65,0x6e])](_0x218f93=>{if(!_0x218f93||_0x218f93[_0x561c43([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x561c43([0x6f,0x6b]))return _0x561c43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a640a(_0x2138a2(_0x1df43f+_0x4b0674))!=_0x218f93[_0x561c43([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x561c43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x561c43([0x56,0x61,0x6c,0x69,0x64]);})[_0x561c43([0x74,0x68,0x65,0x6e])](_0x52336a=>(_0x3f99f8(),_0x52336a),()=>{const _0x500d37=_0x326c20();return null==_0x500d37?(_0x3f99f8(),_0x561c43([0x56,0x61,0x6c,0x69,0x64])):_0x561c43(_0x44e983-_0x500d37>(0x145981ed^_0x1a1925)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x561c43([0x74,0x68,0x65,0x6e])](_0x1996ef)[_0x561c43([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1996ef(_0x561c43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xae7d98=0x3063eb6d^_0x1a1925;function _0x3f99f8(){const _0x43a520=_0x561c43([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a640a(_0x2138a2(_0x328f60)),_0xefc8c=_0x516531(_0x1a640a(window[_0x561c43([0x4d,0x61,0x74,0x68])][_0x561c43([0x63,0x65,0x69,0x6c])](_0x44e983/_0xae7d98)));window[_0x561c43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x561c43([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43a520,_0xefc8c);}function _0x326c20(){const _0x454053=_0x561c43([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a640a(_0x2138a2(_0x328f60)),_0x55cb80=window[_0x561c43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x561c43([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x454053);return _0x55cb80?window[_0x561c43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x516531(_0x55cb80),0x10)*_0xae7d98:null;}function _0x5ac5cc(_0x156177){return new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d1746,_0x5d2889)=>{_0x156177[_0x561c43([0x74,0x68,0x65,0x6e])](_0x2d1746,_0x5d2889),window[_0x561c43([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d2889,0x3054d12d^_0x1a1925);});}}_0x1db527[_0x561c43([0x6f,0x6e])](_0x561c43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e0b10,_0xdbb95e)=>{if(_0xdbb95e[0x0]!=_0x328f60)return _0x1996ef(_0x561c43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdbb95e[0x1]={..._0xdbb95e[0x1],[_0x561c43([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1df43f};},{[_0x561c43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x561c43([0x68,0x69,0x67,0x68])}),_0x1db527[_0x561c43([0x6f,0x6e])](_0x561c43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29b13a=>{_0x18cf9e(_0x29b13a[_0x561c43([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x53255b=!0x0,_0x10162a(_0x29b13a[_0x561c43([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x561c43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x561c43([0x6c,0x6f,0x77])}),_0x52a9cd[_0x561c43([0x74,0x68,0x65,0x6e])](()=>{_0x53255b||_0x1996ef(_0x561c43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2397cd(){return _0x1db527[_0x561c43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x561c43([0x76,0x69,0x65,0x77])][_0x561c43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x561c43([0x61,0x75,0x74,0x6f]);}function _0x1e3210(){_0x1db527[_0x561c43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x561c43([0x76,0x69,0x65,0x77])][_0x561c43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x561c43([0x61,0x75,0x74,0x6f]);}}function _0x45ee2d(_0x1ce9bc){const _0x452d71=[new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54277f=>setTimeout(_0x54277f,0x305c3b21^_0x1a1925)),_0x52a9cd[_0x561c43([0x74,0x68,0x65,0x6e])](()=>new window[(_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x556011=>{let _0x507bff=0x0;_0x1db527[_0x561c43([0x6d,0x6f,0x64,0x65,0x6c])][_0x561c43([0x6f,0x6e])](_0x561c43([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d9d1e,_0x1d7785)=>{_0x1d7785[0x0][_0x561c43([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x507bff++,_0x507bff==(0x30550005^_0x1a1925)&&(_0x556011(),_0x4d9d1e[_0x561c43([0x6f,0x66,0x66])]());});}))];return window[_0x561c43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x561c43([0x72,0x61,0x63,0x65])](_0x452d71)[_0x561c43([0x74,0x68,0x65,0x6e])](()=>_0x1ce9bc);}async function _0x552751(){await _0x52a9cd,_0x1db527[_0x561c43([0x6d,0x6f,0x64,0x65,0x6c])][_0x561c43([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56c831,_0x1db527[_0x561c43([0x6d,0x6f,0x64,0x65,0x6c])][_0x561c43([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56c831,_0x1db527[_0x561c43([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x561c43([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xbec5d1(){return window[_0x561c43([0x67,0x6c,0x6f,0x62])]&&window[_0x561c43([0x67,0x6c,0x6f,0x62])][_0x561c43([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x16efb3(_0x92598d){const _0x5f4e3b=_0x483e77();_0x1db527[_0x5f4e3b]=_0x561c43([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x92598d,_0x92598d!=_0x561c43([0x56,0x61,0x6c,0x69,0x64])&&_0x552751();}function _0x483e77(){const _0xd537ce=window[_0x561c43([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x561c43([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x561c43([0x6e,0x6f,0x77])]())[_0x561c43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x561c43([0x2e]),'');let _0x30de02=_0x561c43([0x75]);for(let _0x2cf454=0x0;_0x2cf454<_0xd537ce[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cf454+=0x2){let _0xae50d9=window[_0x561c43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd537ce[_0x561c43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cf454,_0x2cf454+0x2));_0xae50d9>=_0x473f9c[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xae50d9-=_0x473f9c[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30de02+=_0x473f9c[_0xae50d9];}return _0x30de02;}function _0x490e35(){const _0x3d801e=_0x1922fa[_0x561c43([0x73,0x70,0x6c,0x69,0x74])](_0x561c43([0x2e]));if(0x3!=_0x3d801e[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58b0a8(_0x3d801e[0x1]);function _0x58b0a8(_0x85a3e){const _0xea88d2=_0x1f2105(_0x85a3e);return _0xea88d2&&_0x412a70()?_0xea88d2:null;function _0x412a70(){const _0x85889=_0xea88d2[_0x561c43([0x6a,0x74,0x69])],_0x573e00=window[_0x561c43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x85889[_0x561c43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x85889[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f95a2={..._0xea88d2,[_0x561c43([0x6a,0x74,0x69])]:_0x85889[_0x561c43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x85889[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f95a2[_0x561c43([0x76,0x63])],_0x2138a2(_0x4f95a2)==_0x573e00;}}}async function _0x8d6ca7(){let _0x5629f3=!0x0;try{const _0x125b9e=_0x1922fa[_0x561c43([0x73,0x70,0x6c,0x69,0x74])](_0x561c43([0x2e])),[_0x17b3f8,_0x575e65,_0x2063e8]=_0x125b9e;return _0x57f46d(_0x17b3f8),await _0x420458(_0x17b3f8,_0x575e65,_0x2063e8),_0x5629f3;}catch{return!0x1;}function _0x57f46d(_0x2a75b9){const _0x2b8528=_0x1f2105(_0x2a75b9);_0x2b8528&&_0x2b8528[_0x561c43([0x61,0x6c,0x67])]==_0x561c43([0x45,0x53,0x32,0x35,0x36])||(_0x5629f3=!0x1);}async function _0x420458(_0x4fb28f,_0x329a9d,_0x127ffc){const _0xe72deb=window[_0x561c43([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x561c43([0x66,0x72,0x6f,0x6d])](_0x1efbfe(_0x127ffc),_0xa5199a=>_0xa5199a[_0x561c43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2963ad=new window[(_0x561c43([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x561c43([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fb28f+_0x561c43([0x2e])+_0x329a9d),_0x2c74d9=window[_0x561c43([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x561c43([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c74d9)return;const _0x4c72ee=await _0x2c74d9[_0x561c43([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x561c43([0x6a,0x77,0x6b]),_0xf1318c,{[_0x561c43([0x6e,0x61,0x6d,0x65])]:_0x561c43([0x45,0x43,0x44,0x53,0x41]),[_0x561c43([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x561c43([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x561c43([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c74d9[_0x561c43([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x561c43([0x6e,0x61,0x6d,0x65])]:_0x561c43([0x45,0x43,0x44,0x53,0x41]),[_0x561c43([0x68,0x61,0x73,0x68])]:{[_0x561c43([0x6e,0x61,0x6d,0x65])]:_0x561c43([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c72ee,_0xe72deb,_0x2963ad)||(_0x5629f3=!0x1);}}function _0x1f2105(_0x263539){return _0x263539[_0x561c43([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x561c43([0x65,0x79]))?JSON[_0x561c43([0x70,0x61,0x72,0x73,0x65])](_0x1efbfe(_0x263539)):null;}function _0x1efbfe(_0x250b52){return window[_0x561c43([0x61,0x74,0x6f,0x62])](_0x250b52[_0x561c43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x561c43([0x2b]))[_0x561c43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x561c43([0x2f])));}function _0x2138a2(_0x355a19){let _0x534870=0x1505;function _0xfa0ada(_0x1e8f18){for(let _0x12bf72=0x0;_0x12bf72<_0x1e8f18[_0x561c43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12bf72++){const _0x5e1d31=_0x1e8f18[_0x561c43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12bf72);_0x534870=(_0x534870<<0x5)+_0x534870+_0x5e1d31,_0x534870&=_0x534870;}}function _0x4f4524(_0x59cb59){Array[_0x561c43([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59cb59)?_0x59cb59[_0x561c43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f4524):_0x59cb59&&typeof _0x59cb59==_0x561c43([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x561c43([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59cb59)[_0x561c43([0x73,0x6f,0x72,0x74])]()[_0x561c43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ea0c0,_0x188422])=>{_0xfa0ada(_0x2ea0c0),_0x4f4524(_0x188422);}):_0xfa0ada(window[_0x561c43([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59cb59));}return _0x4f4524(_0x355a19),_0x534870>>>0x0;}function _0x1a640a(_0x3a77b6){return _0x3a77b6[_0x561c43([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x561c43([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x561c43([0x30]));}function _0x516531(_0xf2f51){return _0xf2f51[_0x561c43([0x73,0x70,0x6c,0x69,0x74])]('')[_0x561c43([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x561c43([0x6a,0x6f,0x69,0x6e])]('');}function _0x56c831(){}function _0x561c43(_0x2c67c2){return _0x2c67c2['map'](_0xce2aa=>String['fromCharCode'](_0xce2aa))['join']('');}_0x16efb3(await _0x456014());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5a96be=_0x270ee9=>function(_0x20c513,_0x52f496){const t=_0x20c513['t'],_0x107aff=_0x20c513['t'];switch(_0x52f496){case'AI\x20Assistant':return _0x107aff('AI\x20Assistant');case'Block\x20quote':return _0x107aff('Block\x20quote');case'Bulleted\x20list':return _0x107aff('Bulleted\x20list');case'Insert\x20code\x20block':return _0x107aff('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x107aff('Open\x20file\x20manager');case'Insert\x20image':return _0x107aff('Insert\x20image');case'Heading\x201':return _0x107aff('Heading\x201');case'Heading\x202':return _0x107aff('Heading\x202');case'Heading\x203':return _0x107aff('Heading\x203');case'Heading\x204':return _0x107aff('Heading\x204');case'Heading\x205':return _0x107aff('Heading\x205');case'Heading\x206':return _0x107aff('Heading\x206');case'Horizontal\x20line':return _0x107aff('Horizontal\x20line');case'Insert\x20HTML':return _0x107aff('Insert\x20HTML');case'Increase\x20indent':return _0x107aff('Increase\x20indent');case'Insert\x20table':return _0x107aff('Insert\x20table');case'Table\x20of\x20contents':return _0x107aff('Table\x20of\x20contents');case'Numbered\x20list':return _0x107aff('Numbered\x20list');case'Decrease\x20indent':return _0x107aff('Decrease\x20indent');case'Paragraph':return _0x107aff('Paragraph');case'To-do\x20list':return _0x107aff('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 _0x52f496;}}(this['editor']['locale'],_0x270ee9);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0xa0ed63['IconRobotPencil'],'title':_0x5a96be('AI\x20Assistant'),'description':_0x5a96be('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x585171=>{setTimeout(()=>_0x585171['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0xa0ed63['IconQuote'],'title':_0x5a96be('Block\x20quote'),'description':_0x5a96be('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0xa0ed63['IconBulletedList'],'title':_0x5a96be('Bulleted\x20list'),'description':_0x5a96be('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0xa0ed63['IconCodeBlock'],'title':_0x5a96be('Insert\x20code\x20block'),'description':_0x5a96be('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0xa0ed63['IconBrowseFiles'],'title':_0x5a96be('Open\x20file\x20manager'),'description':_0x5a96be('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0xa0ed63['IconBrowseFiles'],'title':_0x5a96be('Insert\x20image'),'description':_0x5a96be('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0xa0ed63['IconEmoji'],'title':_0x5a96be('Emoji'),'description':_0x5a96be('Insert\x20an\x20emoji'),'execute':_0xe3250f=>{setTimeout(()=>_0xe3250f['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0xa0ed63['IconHeading1'],'title':_0x5a96be('Heading\x201'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x201'),'execute':_0x3179ec=>{_0x3179ec['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0xa0ed63['IconHeading2'],'title':_0x5a96be('Heading\x202'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x202'),'execute':_0x56bf29=>{_0x56bf29['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0xa0ed63['IconHeading3'],'title':_0x5a96be('Heading\x203'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x203'),'execute':_0x589f3e=>{_0x589f3e['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0xa0ed63['IconHeading4'],'title':_0x5a96be('Heading\x204'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x204'),'execute':_0x48c4b6=>{_0x48c4b6['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0xa0ed63['IconHeading5'],'title':_0x5a96be('Heading\x205'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x205'),'execute':_0x4232b1=>{_0x4232b1['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0xa0ed63['IconHeading6'],'title':_0x5a96be('Heading\x206'),'description':_0x5a96be('Create\x20a\x20heading\x20level\x206'),'execute':_0x4a4cba=>{_0x4a4cba['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0xa0ed63['IconHorizontalLine'],'title':_0x5a96be('Horizontal\x20line'),'description':_0x5a96be('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0xa0ed63['IconHtml'],'title':_0x5a96be('Insert\x20HTML'),'description':_0x5a96be('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0xa0ed63['IconIndent'],'title':_0x5a96be('Increase\x20indent'),'description':_0x5a96be('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5a96be('Insert\x20Mermaid\x20diagram'),'description':_0x5a96be('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0xa0ed63['IconTable'],'title':_0x5a96be('Insert\x20table'),'description':_0x5a96be('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0xa0ed63['IconTableOfContents'],'title':_0x5a96be('Table\x20of\x20contents'),'description':_0x5a96be('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0xa0ed63['IconNumberedList'],'title':_0x5a96be('Numbered\x20list'),'description':_0x5a96be('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0xa0ed63['IconOutdent'],'title':_0x5a96be('Decrease\x20indent'),'description':_0x5a96be('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0xa0ed63['IconParagraph'],'title':_0x5a96be('Paragraph'),'description':_0x5a96be('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0xa0ed63['IconTodoList'],'title':_0x5a96be('To-do\x20list'),'description':_0x5a96be('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0xa0ed63['IconFootnote'],'title':_0x5a96be('Footnote'),'description':_0x5a96be('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x3a1867){return _0x3a1867['isEnabled']?_0x3a1867['isEnabled'](this['editor']):!_0x3a1867['commandName']||this['editor']['commands']['get'](_0x3a1867['commandName'])['isEnabled'];}['_proxyExecute'](_0x33bfd7){if(_0x33bfd7['execute'])_0x33bfd7['execute'](this['editor']);else{if(!_0x33bfd7['commandName'])throw new _0xa0ed63['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x33bfd7});this['editor']['execute'](_0x33bfd7['commandName']);}}}function _0x52b584(_0x1c980a,_0x5d2d95){return _0x1c980a['title']<_0x5d2d95['title']?-0x1:_0x1c980a['title']>_0x5d2d95['title']?0x1:0x0;}function _0x4e786d(_0xd352d0,_0x4ad261){return _0x4ad261+'-'+_0xd352d0['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x38207a];}['getMatchingCommands'](_0x115fe2){const _0x3091fa=_0x115fe2&&_0x115fe2['toLowerCase']();let _0x1949f5=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x1949f5=_0x1949f5['filter'](_0x5a672d=>_0x5a672d['isEnabled']()),_0x3091fa){const _0x3bc251=[],_0x1d032d=[],_0x51d683=[],_0x2041bf=[];for(const _0x1d726d of _0x1949f5)_0x1d726d['id']['toLowerCase']()['includes'](_0x3091fa)?_0x3bc251['push'](_0x1d726d):_0x1d726d['title']['toLowerCase']()['includes'](_0x3091fa)?_0x1d032d['push'](_0x1d726d):_0x1d726d['aliases']&&_0x1d726d['aliases']['some'](_0x4e904b=>_0x4e904b['toLowerCase']()['includes'](_0x3091fa))?_0x51d683['push'](_0x1d726d):_0x1d726d['description']&&_0x1d726d['description']['toLowerCase']()['includes'](_0x3091fa)&&_0x2041bf['push'](_0x1d726d);_0x1949f5=_0x3bc251['concat'](_0x1d032d,_0x51d683,_0x2041bf);}return _0x1949f5;}}class SlashCommandButtonView extends _0xa0ed63['ButtonView']{constructor(_0x38bed3,_0x5e8393){super(_0x38bed3),this['textPartView']=this['_createTextPartView'](_0x38bed3,_0x5e8393),void 0x0!==_0x5e8393['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x5e8393['isIconColorInherited']),this['set']({'icon':_0x5e8393['icon']||_0xa0ed63['IconPlay'],'withText':!0x0,'label':_0x5e8393['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x4ab611,_0x4affa2){const _0x27a086=new _0xa0ed63['View'](_0x4ab611);return _0x27a086['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4affa2['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4affa2['description']}]}]:[this['labelView']]}),_0x27a086;}}class _0x495bc5 extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x7de66){super(_0x7de66),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x375c00=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f04c3;for(const _0x1145c5 in _0x375c00){const _0x926574=_0x1145c5,_0x40fa95=_0x375c00[_0x926574];if('slashCommandLicenseKeyValid'==_0x40fa95||'slashCommandLicenseKeyInvalid'==_0x40fa95||'slashCommandLicenseKeyExpired'==_0x40fa95||'slashCommandLicenseKeyDomainLimit'==_0x40fa95||'slashCommandLicenseKeyNotAllowed'==_0x40fa95||'slashCommandLicenseKeyEvaluationLimit'==_0x40fa95||'slashCommandLicenseKeyUsageLimit'==_0x40fa95){delete _0x375c00[_0x926574],_0x3f04c3=_0x40fa95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x3f04c3&&_0x375c00['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x3f04c3&&_0x375c00['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x3f04c3&&_0x375c00['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x3f04c3&&_0x375c00['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x3f04c3&&_0x375c00['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x3f04c3&&_0x375c00['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x4cd17d=this['editor'],_0x349c92=this['editor']['plugins']['get']('SlashCommandEditing'),_0x9758ea=_0x4cd17d['config']['get']('mention.feeds');_0x9758ea['push']({'marker':'/','feed':_0x5a7e1b=>_0x349c92['getMatchingCommands'](_0x5a7e1b),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x4cd17d['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x4cd17d['config']['set']('mention.feeds',_0x9758ea);}['_overrideMentionExecuteListener'](){const _0x1c6cf0=this['editor'];_0x1c6cf0['commands']['get']('mention')['on']('execute',(_0x398a6f,_0x323a17)=>{const _0x5021c5=_0x323a17[0x0],_0x12529b=_0x1c6cf0['model'];'/'===_0x5021c5['marker']&&_0x12529b['change'](_0x81226a=>{_0x81226a['remove'](_0x5021c5['range']),_0x5021c5['mention']['execute'](),_0x398a6f['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x2df02f){const _0x4ec38d=this['editor']['locale'],_0xe1663c=new SlashCommandButtonView(_0x4ec38d,_0x2df02f);return _0xe1663c['render'](),_0xe1663c['element'];}}class _0x509ca9 extends _0xa0ed63['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x495bc5];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x214be7(_0x4c89ed,_0x280cac){const t=_0x4c89ed['t'];switch(_0x280cac){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 _0x280cac;}}function _0xc02ac4(_0x4696e5){const _0x4efa48=_0x4696e5['editing']['view']['document']['roots'],_0xd4302=_0x4efa48['length'];if(0x0===_0xd4302)throw new _0xa0ed63['CKEditorError']('source-editing-enhanced-editor-no-root',_0x4696e5);if(0x1===_0xd4302)return _0x4efa48['first']['rootName'];return Array['from'](_0x4696e5['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _0x28a4a1(_0x36adfa){return _0x3987b8(_0x36adfa['replace'](/^[\n\s]*/g,''))?_0x36adfa['replace'](/\s+/g,''):_0x36adfa;}function _0x3987b8(_0x3d61da){return _0x3d61da['startsWith']('<');}let _0xb20e14=[],_0x696abd=[];function _0x13b524(_0x37d02b){if(_0x37d02b<0x300)return!0x1;for(let _0x4e280a=0x0,_0x283b01=_0xb20e14['length'];;){let _0x2c1590=_0x4e280a+_0x283b01>>0x1;if(_0x37d02b<_0xb20e14[_0x2c1590])_0x283b01=_0x2c1590;else{if(!(_0x37d02b>=_0x696abd[_0x2c1590]))return!0x0;_0x4e280a=_0x2c1590+0x1;}if(_0x4e280a==_0x283b01)return!0x1;}}function _0x73baac(_0x3a5f70){return _0x3a5f70>=0x1f1e6&&_0x3a5f70<=0x1f1ff;}((()=>{let _0x2b967d='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'](_0x5a282a=>_0x5a282a?parseInt(_0x5a282a,0x24):0x1);for(let _0x458dad=0x0,_0x3c37b1=0x0;_0x458dad<_0x2b967d['length'];_0x458dad++)(_0x458dad%0x2?_0x696abd:_0xb20e14)['push'](_0x3c37b1+=_0x2b967d[_0x458dad]);})());function _0xcdb8bf(_0x474374,_0x2ffeb0,_0x4d1e5f=!0x0,_0xb485e0=!0x0){return(_0x4d1e5f?_0x45e110:_0x3ee829)(_0x474374,_0x2ffeb0,_0xb485e0);}function _0x45e110(_0x585018,_0x2e5207,_0x2e59f2){if(_0x2e5207==_0x585018['length'])return _0x2e5207;_0x2e5207&&_0x310029(_0x585018['charCodeAt'](_0x2e5207))&&_0x4cd920(_0x585018['charCodeAt'](_0x2e5207-0x1))&&_0x2e5207--;let _0x41805f=_0x4b9bf1(_0x585018,_0x2e5207);for(_0x2e5207+=_0xe69557(_0x41805f);_0x2e5207<_0x585018['length'];){let _0x5a625f=_0x4b9bf1(_0x585018,_0x2e5207);if(0x200d==_0x41805f||0x200d==_0x5a625f||_0x2e59f2&&_0x13b524(_0x5a625f))_0x2e5207+=_0xe69557(_0x5a625f),_0x41805f=_0x5a625f;else{if(!_0x73baac(_0x5a625f))break;{let _0x43cd2b=0x0,_0x3ccce8=_0x2e5207-0x2;for(;_0x3ccce8>=0x0&&_0x73baac(_0x4b9bf1(_0x585018,_0x3ccce8));)_0x43cd2b++,_0x3ccce8-=0x2;if(_0x43cd2b%0x2==0x0)break;_0x2e5207+=0x2;}}}return _0x2e5207;}function _0x3ee829(_0x466646,_0x1b0b21,_0x2a6602){for(;_0x1b0b21>0x0;){let _0x515ae7=_0x45e110(_0x466646,_0x1b0b21-0x2,_0x2a6602);if(_0x515ae7<_0x1b0b21)return _0x515ae7;_0x1b0b21--;}return 0x0;}function _0x4b9bf1(_0x4804e2,_0x1e8260){let _0x2bcb47=_0x4804e2['charCodeAt'](_0x1e8260);if(!_0x4cd920(_0x2bcb47)||_0x1e8260+0x1==_0x4804e2['length'])return _0x2bcb47;let _0x17bade=_0x4804e2['charCodeAt'](_0x1e8260+0x1);return _0x310029(_0x17bade)?_0x17bade-0xdc00+(_0x2bcb47-0xd800<<0xa)+0x10000:_0x2bcb47;}function _0x310029(_0x4eaff1){return _0x4eaff1>=0xdc00&&_0x4eaff1<0xe000;}function _0x4cd920(_0x36833d){return _0x36833d>=0xd800&&_0x36833d<0xdc00;}function _0xe69557(_0x4bb2c2){return _0x4bb2c2<0x10000?0x1:0x2;}class Text{['lineAt'](_0x1a33c1){if(_0x1a33c1<0x0||_0x1a33c1>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x1a33c1+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x1a33c1,!0x1,0x1,0x0);}['line'](_0x5ad24d){if(_0x5ad24d<0x1||_0x5ad24d>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x5ad24d+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x5ad24d,!0x0,0x1,0x0);}['replace'](_0x3ccb6e,_0x2e36b1,_0x3ee350){[_0x3ccb6e,_0x2e36b1]=_0x2a62d6(this,_0x3ccb6e,_0x2e36b1);let _0x1e4079=[];return this['decompose'](0x0,_0x3ccb6e,_0x1e4079,0x2),_0x3ee350['length']&&_0x3ee350['decompose'](0x0,_0x3ee350['length'],_0x1e4079,0x3),this['decompose'](_0x2e36b1,this['length'],_0x1e4079,0x1),TextNode['from'](_0x1e4079,this['length']-(_0x2e36b1-_0x3ccb6e)+_0x3ee350['length']);}['append'](_0x3537a6){return this['replace'](this['length'],this['length'],_0x3537a6);}['slice'](_0x1472ec,_0x3013a6=this['length']){[_0x1472ec,_0x3013a6]=_0x2a62d6(this,_0x1472ec,_0x3013a6);let _0x1dc55f=[];return this['decompose'](_0x1472ec,_0x3013a6,_0x1dc55f,0x0),TextNode['from'](_0x1dc55f,_0x3013a6-_0x1472ec);}['eq'](_0x42e0e7){if(_0x42e0e7==this)return!0x0;if(_0x42e0e7['length']!=this['length']||_0x42e0e7['lines']!=this['lines'])return!0x1;let _0xf7843b=this['scanIdentical'](_0x42e0e7,0x1),_0x49b71b=this['length']-this['scanIdentical'](_0x42e0e7,-0x1),_0x50aaf1=new RawTextCursor(this),_0x5d7a46=new RawTextCursor(_0x42e0e7);for(let _0x59794a=_0xf7843b,_0xba902c=_0xf7843b;;){if(_0x50aaf1['next'](_0x59794a),_0x5d7a46['next'](_0x59794a),_0x59794a=0x0,_0x50aaf1['lineBreak']!=_0x5d7a46['lineBreak']||_0x50aaf1['done']!=_0x5d7a46['done']||_0x50aaf1['value']!=_0x5d7a46['value'])return!0x1;if(_0xba902c+=_0x50aaf1['value']['length'],_0x50aaf1['done']||_0xba902c>=_0x49b71b)return!0x0;}}['iter'](_0x924dee=0x1){return new RawTextCursor(this,_0x924dee);}['iterRange'](_0x11bd13,_0x5cef34=this['length']){return new PartialTextCursor(this,_0x11bd13,_0x5cef34);}['iterLines'](_0x261b29,_0x505f9f){let _0x25be54;if(null==_0x261b29)_0x25be54=this['iter']();else{null==_0x505f9f&&(_0x505f9f=this['lines']+0x1);let _0x49a450=this['line'](_0x261b29)['from'];_0x25be54=this['iterRange'](_0x49a450,Math['max'](_0x49a450,_0x505f9f==this['lines']+0x1?this['length']:_0x505f9f<=0x1?0x0:this['line'](_0x505f9f-0x1)['to']));}return new _0x35db87(_0x25be54);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x434cbb=[];return this['flatten'](_0x434cbb),_0x434cbb;}constructor(){}static['of'](_0x1cdda7){if(0x0==_0x1cdda7['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x1cdda7['length']||_0x1cdda7[0x0]?_0x1cdda7['length']<=0x20?new TextLeaf(_0x1cdda7):TextNode['from'](TextLeaf['split'](_0x1cdda7,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x41a360,_0x9edfb6=function(_0x2d9e1a){let _0x431534=-0x1;for(let _0x53911e of _0x2d9e1a)_0x431534+=_0x53911e['length']+0x1;return _0x431534;}(_0x41a360)){super(),this['text']=_0x41a360,this['length']=_0x9edfb6;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x5de32e,_0x4a052f,_0x1ea349,_0x2e9dba){for(let _0x417a4f=0x0;;_0x417a4f++){let _0x4eee39=this['text'][_0x417a4f],_0x3510fc=_0x2e9dba+_0x4eee39['length'];if((_0x4a052f?_0x1ea349:_0x3510fc)>=_0x5de32e)return new _0x4c2ff8(_0x2e9dba,_0x3510fc,_0x1ea349,_0x4eee39);_0x2e9dba=_0x3510fc+0x1,_0x1ea349++;}}['decompose'](_0x295d54,_0x441d01,_0x2413be,_0x4bfe5d){let _0x2e8968=_0x295d54<=0x0&&_0x441d01>=this['length']?this:new TextLeaf(_0x2c8947(this['text'],_0x295d54,_0x441d01),Math['min'](_0x441d01,this['length'])-Math['max'](0x0,_0x295d54));if(0x1&_0x4bfe5d){let _0x219e12=_0x2413be['pop'](),_0x38ce8b=_0xd16130(_0x2e8968['text'],_0x219e12['text']['slice'](),0x0,_0x2e8968['length']);if(_0x38ce8b['length']<=0x20)_0x2413be['push'](new TextLeaf(_0x38ce8b,_0x219e12['length']+_0x2e8968['length']));else{let _0x41a6be=_0x38ce8b['length']>>0x1;_0x2413be['push'](new TextLeaf(_0x38ce8b['slice'](0x0,_0x41a6be)),new TextLeaf(_0x38ce8b['slice'](_0x41a6be)));}}else _0x2413be['push'](_0x2e8968);}['replace'](_0x39df32,_0x404f27,_0x42f050){if(!(_0x42f050 instanceof TextLeaf))return super['replace'](_0x39df32,_0x404f27,_0x42f050);[_0x39df32,_0x404f27]=_0x2a62d6(this,_0x39df32,_0x404f27);let _0x2657d6=_0xd16130(this['text'],_0xd16130(_0x42f050['text'],_0x2c8947(this['text'],0x0,_0x39df32)),_0x404f27),_0x2e7b0a=this['length']+_0x42f050['length']-(_0x404f27-_0x39df32);return _0x2657d6['length']<=0x20?new TextLeaf(_0x2657d6,_0x2e7b0a):TextNode['from'](TextLeaf['split'](_0x2657d6,[]),_0x2e7b0a);}['sliceString'](_0x43c38d,_0x203edc=this['length'],_0x1e1ad3='\x0a'){[_0x43c38d,_0x203edc]=_0x2a62d6(this,_0x43c38d,_0x203edc);let _0x5e4d60='';for(let _0x26a085=0x0,_0xe26829=0x0;_0x26a085<=_0x203edc&&_0xe26829<this['text']['length'];_0xe26829++){let _0x49ceaa=this['text'][_0xe26829],_0x5001fc=_0x26a085+_0x49ceaa['length'];_0x26a085>_0x43c38d&&_0xe26829&&(_0x5e4d60+=_0x1e1ad3),_0x43c38d<_0x5001fc&&_0x203edc>_0x26a085&&(_0x5e4d60+=_0x49ceaa['slice'](Math['max'](0x0,_0x43c38d-_0x26a085),_0x203edc-_0x26a085)),_0x26a085=_0x5001fc+0x1;}return _0x5e4d60;}['flatten'](_0x4bf306){for(let _0x534c91 of this['text'])_0x4bf306['push'](_0x534c91);}['scanIdentical'](){return 0x0;}static['split'](_0x326441,_0x5885f0){let _0x16fef1=[],_0xca5eed=-0x1;for(let _0x2f2ff9 of _0x326441)_0x16fef1['push'](_0x2f2ff9),_0xca5eed+=_0x2f2ff9['length']+0x1,0x20==_0x16fef1['length']&&(_0x5885f0['push'](new TextLeaf(_0x16fef1,_0xca5eed)),_0x16fef1=[],_0xca5eed=-0x1);return _0xca5eed>-0x1&&_0x5885f0['push'](new TextLeaf(_0x16fef1,_0xca5eed)),_0x5885f0;}}class TextNode extends Text{constructor(_0x141871,_0x18edda){super(),this['children']=_0x141871,this['length']=_0x18edda,this['lines']=0x0;for(let _0x3897b1 of _0x141871)this['lines']+=_0x3897b1['lines'];}['lineInner'](_0x33df91,_0x1f417e,_0x44bc13,_0x42df05){for(let _0x579421=0x0;;_0x579421++){let _0x235495=this['children'][_0x579421],_0x6276a3=_0x42df05+_0x235495['length'],_0x2ef5c1=_0x44bc13+_0x235495['lines']-0x1;if((_0x1f417e?_0x2ef5c1:_0x6276a3)>=_0x33df91)return _0x235495['lineInner'](_0x33df91,_0x1f417e,_0x44bc13,_0x42df05);_0x42df05=_0x6276a3+0x1,_0x44bc13=_0x2ef5c1+0x1;}}['decompose'](_0x5b9aa4,_0x4824a0,_0x5eb81a,_0x1635b2){for(let _0x21816d=0x0,_0x5c8ee0=0x0;_0x5c8ee0<=_0x4824a0&&_0x21816d<this['children']['length'];_0x21816d++){let _0x3a17fb=this['children'][_0x21816d],_0x4b6b3e=_0x5c8ee0+_0x3a17fb['length'];if(_0x5b9aa4<=_0x4b6b3e&&_0x4824a0>=_0x5c8ee0){let _0x1c53a9=_0x1635b2&((_0x5c8ee0<=_0x5b9aa4?0x1:0x0)|(_0x4b6b3e>=_0x4824a0?0x2:0x0));_0x5c8ee0>=_0x5b9aa4&&_0x4b6b3e<=_0x4824a0&&!_0x1c53a9?_0x5eb81a['push'](_0x3a17fb):_0x3a17fb['decompose'](_0x5b9aa4-_0x5c8ee0,_0x4824a0-_0x5c8ee0,_0x5eb81a,_0x1c53a9);}_0x5c8ee0=_0x4b6b3e+0x1;}}['replace'](_0x23e72a,_0x37d220,_0x190d25){if([_0x23e72a,_0x37d220]=_0x2a62d6(this,_0x23e72a,_0x37d220),_0x190d25['lines']<this['lines'])for(let _0x18c627=0x0,_0x2379b4=0x0;_0x18c627<this['children']['length'];_0x18c627++){let _0x8ed326=this['children'][_0x18c627],_0x5a3c89=_0x2379b4+_0x8ed326['length'];if(_0x23e72a>=_0x2379b4&&_0x37d220<=_0x5a3c89){let _0x56a9ce=_0x8ed326['replace'](_0x23e72a-_0x2379b4,_0x37d220-_0x2379b4,_0x190d25),_0x292082=this['lines']-_0x8ed326['lines']+_0x56a9ce['lines'];if(_0x56a9ce['lines']<_0x292082>>0x4&&_0x56a9ce['lines']>_0x292082>>0x6){let _0x15b3e4=this['children']['slice']();return _0x15b3e4[_0x18c627]=_0x56a9ce,new TextNode(_0x15b3e4,this['length']-(_0x37d220-_0x23e72a)+_0x190d25['length']);}return super['replace'](_0x2379b4,_0x5a3c89,_0x56a9ce);}_0x2379b4=_0x5a3c89+0x1;}return super['replace'](_0x23e72a,_0x37d220,_0x190d25);}['sliceString'](_0x3c6539,_0xde072a=this['length'],_0x3487c3='\x0a'){[_0x3c6539,_0xde072a]=_0x2a62d6(this,_0x3c6539,_0xde072a);let _0x308bf5='';for(let _0x59c528=0x0,_0x51523a=0x0;_0x59c528<this['children']['length']&&_0x51523a<=_0xde072a;_0x59c528++){let _0x2c5b00=this['children'][_0x59c528],_0x227f1a=_0x51523a+_0x2c5b00['length'];_0x51523a>_0x3c6539&&_0x59c528&&(_0x308bf5+=_0x3487c3),_0x3c6539<_0x227f1a&&_0xde072a>_0x51523a&&(_0x308bf5+=_0x2c5b00['sliceString'](_0x3c6539-_0x51523a,_0xde072a-_0x51523a,_0x3487c3)),_0x51523a=_0x227f1a+0x1;}return _0x308bf5;}['flatten'](_0x4134c0){for(let _0x35b68c of this['children'])_0x35b68c['flatten'](_0x4134c0);}['scanIdentical'](_0x7dbfac,_0x2755bb){if(!(_0x7dbfac instanceof TextNode))return 0x0;let _0xe3be8f=0x0,[_0xdca91c,_0x56007d,_0x150a33,_0xe0000d]=_0x2755bb>0x0?[0x0,0x0,this['children']['length'],_0x7dbfac['children']['length']]:[this['children']['length']-0x1,_0x7dbfac['children']['length']-0x1,-0x1,-0x1];for(;;_0xdca91c+=_0x2755bb,_0x56007d+=_0x2755bb){if(_0xdca91c==_0x150a33||_0x56007d==_0xe0000d)return _0xe3be8f;let _0x3bf618=this['children'][_0xdca91c],_0x57582f=_0x7dbfac['children'][_0x56007d];if(_0x3bf618!=_0x57582f)return _0xe3be8f+_0x3bf618['scanIdentical'](_0x57582f,_0x2755bb);_0xe3be8f+=_0x3bf618['length']+0x1;}}static['from'](_0x240c0d,_0x3d16b9=_0x240c0d['reduce']((_0x531a26,_0x5908ab)=>_0x531a26+_0x5908ab['length']+0x1,-0x1)){let _0x4b11d0=0x0;for(let _0x38b2d1 of _0x240c0d)_0x4b11d0+=_0x38b2d1['lines'];if(_0x4b11d0<0x20){let _0x1b9f6=[];for(let _0x4e8dbe of _0x240c0d)_0x4e8dbe['flatten'](_0x1b9f6);return new TextLeaf(_0x1b9f6,_0x3d16b9);}let _0x198f47=Math['max'](0x20,_0x4b11d0>>0x5),_0x44bb2e=_0x198f47<<0x1,_0x4a2776=_0x198f47>>0x1,_0xafa7c5=[],_0x21d811=0x0,_0x6efd6d=-0x1,_0x2cfc17=[];function _0x504be4(_0x2ec0e7){let _0x5bccf0;if(_0x2ec0e7['lines']>_0x44bb2e&&_0x2ec0e7 instanceof TextNode){for(let _0x11a5f6 of _0x2ec0e7['children'])_0x504be4(_0x11a5f6);}else _0x2ec0e7['lines']>_0x4a2776&&(_0x21d811>_0x4a2776||!_0x21d811)?(_0x236689(),_0xafa7c5['push'](_0x2ec0e7)):_0x2ec0e7 instanceof TextLeaf&&_0x21d811&&(_0x5bccf0=_0x2cfc17[_0x2cfc17['length']-0x1])instanceof TextLeaf&&_0x2ec0e7['lines']+_0x5bccf0['lines']<=0x20?(_0x21d811+=_0x2ec0e7['lines'],_0x6efd6d+=_0x2ec0e7['length']+0x1,_0x2cfc17[_0x2cfc17['length']-0x1]=new TextLeaf(_0x5bccf0['text']['concat'](_0x2ec0e7['text']),_0x5bccf0['length']+0x1+_0x2ec0e7['length'])):(_0x21d811+_0x2ec0e7['lines']>_0x198f47&&_0x236689(),_0x21d811+=_0x2ec0e7['lines'],_0x6efd6d+=_0x2ec0e7['length']+0x1,_0x2cfc17['push'](_0x2ec0e7));}function _0x236689(){0x0!=_0x21d811&&(_0xafa7c5['push'](0x1==_0x2cfc17['length']?_0x2cfc17[0x0]:TextNode['from'](_0x2cfc17,_0x6efd6d)),_0x6efd6d=-0x1,_0x21d811=_0x2cfc17['length']=0x0);}for(let _0x5413d9 of _0x240c0d)_0x504be4(_0x5413d9);return _0x236689(),0x1==_0xafa7c5['length']?_0xafa7c5[0x0]:new TextNode(_0xafa7c5,_0x3d16b9);}}function _0xd16130(_0x4f43ad,_0x4628c4,_0x367da1=0x0,_0x2838ca=0x3b9aca00){for(let _0x1dd711=0x0,_0x4b62fd=0x0,_0x5f0a36=!0x0;_0x4b62fd<_0x4f43ad['length']&&_0x1dd711<=_0x2838ca;_0x4b62fd++){let _0x1eb612=_0x4f43ad[_0x4b62fd],_0x5097ad=_0x1dd711+_0x1eb612['length'];_0x5097ad>=_0x367da1&&(_0x5097ad>_0x2838ca&&(_0x1eb612=_0x1eb612['slice'](0x0,_0x2838ca-_0x1dd711)),_0x1dd711<_0x367da1&&(_0x1eb612=_0x1eb612['slice'](_0x367da1-_0x1dd711)),_0x5f0a36?(_0x4628c4[_0x4628c4['length']-0x1]+=_0x1eb612,_0x5f0a36=!0x1):_0x4628c4['push'](_0x1eb612)),_0x1dd711=_0x5097ad+0x1;}return _0x4628c4;}function _0x2c8947(_0x4d6857,_0xd19c0f,_0x513d38){return _0xd16130(_0x4d6857,[''],_0xd19c0f,_0x513d38);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x440c7c,_0x53b090=0x1){this['dir']=_0x53b090,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x440c7c],this['offsets']=[_0x53b090>0x0?0x1:(_0x440c7c instanceof TextLeaf?_0x440c7c['text']['length']:_0x440c7c['children']['length'])<<0x1];}['nextInner'](_0x74e5eb,_0x5255c1){for(this['done']=this['lineBreak']=!0x1;;){let _0x2d4752=this['nodes']['length']-0x1,_0x2cfe4b=this['nodes'][_0x2d4752],_0x291f14=this['offsets'][_0x2d4752],_0x1b5904=_0x291f14>>0x1,_0x10d595=_0x2cfe4b instanceof TextLeaf?_0x2cfe4b['text']['length']:_0x2cfe4b['children']['length'];if(_0x1b5904==(_0x5255c1>0x0?_0x10d595:0x0)){if(0x0==_0x2d4752)return this['done']=!0x0,this['value']='',this;_0x5255c1>0x0&&this['offsets'][_0x2d4752-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x291f14)==(_0x5255c1>0x0?0x0:0x1)){if(this['offsets'][_0x2d4752]+=_0x5255c1,0x0==_0x74e5eb)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x74e5eb--;}else{if(_0x2cfe4b instanceof TextLeaf){let _0x4a8828=_0x2cfe4b['text'][_0x1b5904+(_0x5255c1<0x0?-0x1:0x0)];if(this['offsets'][_0x2d4752]+=_0x5255c1,_0x4a8828['length']>Math['max'](0x0,_0x74e5eb))return this['value']=0x0==_0x74e5eb?_0x4a8828:_0x5255c1>0x0?_0x4a8828['slice'](_0x74e5eb):_0x4a8828['slice'](0x0,_0x4a8828['length']-_0x74e5eb),this;_0x74e5eb-=_0x4a8828['length'];}else{let _0xddf203=_0x2cfe4b['children'][_0x1b5904+(_0x5255c1<0x0?-0x1:0x0)];_0x74e5eb>_0xddf203['length']?(_0x74e5eb-=_0xddf203['length'],this['offsets'][_0x2d4752]+=_0x5255c1):(_0x5255c1<0x0&&this['offsets'][_0x2d4752]--,this['nodes']['push'](_0xddf203),this['offsets']['push'](_0x5255c1>0x0?0x1:(_0xddf203 instanceof TextLeaf?_0xddf203['text']['length']:_0xddf203['children']['length'])<<0x1));}}}}}['next'](_0x2ebdd7=0x0){return _0x2ebdd7<0x0&&(this['nextInner'](-_0x2ebdd7,-this['dir']),_0x2ebdd7=this['value']['length']),this['nextInner'](_0x2ebdd7,this['dir']);}}class PartialTextCursor{constructor(_0x56e219,_0x403a53,_0x554886){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x56e219,_0x403a53>_0x554886?-0x1:0x1),this['pos']=_0x403a53>_0x554886?_0x56e219['length']:0x0,this['from']=Math['min'](_0x403a53,_0x554886),this['to']=Math['max'](_0x403a53,_0x554886);}['nextInner'](_0x33811c,_0x20cea1){if(_0x20cea1<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x33811c+=Math['max'](0x0,_0x20cea1<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x3ec49f=_0x20cea1<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x33811c>_0x3ec49f&&(_0x33811c=_0x3ec49f),_0x3ec49f-=_0x33811c;let {value:_0x15287b}=this['cursor']['next'](_0x33811c);return this['pos']+=(_0x15287b['length']+_0x33811c)*_0x20cea1,this['value']=_0x15287b['length']<=_0x3ec49f?_0x15287b:_0x20cea1<0x0?_0x15287b['slice'](_0x15287b['length']-_0x3ec49f):_0x15287b['slice'](0x0,_0x3ec49f),this['done']=!this['value'],this;}['next'](_0x63c3d9=0x0){return _0x63c3d9<0x0?_0x63c3d9=Math['max'](_0x63c3d9,this['from']-this['pos']):_0x63c3d9>0x0&&(_0x63c3d9=Math['min'](_0x63c3d9,this['to']-this['pos'])),this['nextInner'](_0x63c3d9,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x35db87{constructor(_0x49da90){this['inner']=_0x49da90,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x3aa42a=0x0){let {done:_0x3daa70,lineBreak:_0x1f3d1a,value:_0x39a20d}=this['inner']['next'](_0x3aa42a);return _0x3daa70&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x3daa70?(this['done']=!0x0,this['value']=''):_0x1f3d1a?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x39a20d,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(Text['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x35db87['prototype'][Symbol['iterator']]=function(){return this;});let _0x4c2ff8=class _0x5b9f64{constructor(_0x329f12,_0x1185fd,_0x371d5f,_0x4cdcd8){this['from']=_0x329f12,this['to']=_0x1185fd,this['number']=_0x371d5f,this['text']=_0x4cdcd8;}get['length'](){return this['to']-this['from'];}};function _0x2a62d6(_0x471c83,_0x237492,_0x3649ae){return[_0x237492=Math['max'](0x0,Math['min'](_0x471c83['length'],_0x237492)),Math['max'](_0x237492,Math['min'](_0x471c83['length'],_0x3649ae))];}function _0x2044d7(_0x422ca8,_0x5e937e,_0x415b83=!0x0,_0x31c2f7=!0x0){return _0xcdb8bf(_0x422ca8,_0x5e937e,_0x415b83,_0x31c2f7);}function _0xcacbe4(_0x41e9d2,_0x240358){let _0x1ce994=_0x41e9d2['charCodeAt'](_0x240358);if(!(_0x3ec2c9=_0x1ce994,_0x3ec2c9>=0xd800&&_0x3ec2c9<0xdc00&&_0x240358+0x1!=_0x41e9d2['length']))return _0x1ce994;var _0x3ec2c9;let _0x1609f1=_0x41e9d2['charCodeAt'](_0x240358+0x1);return function(_0xaa92e8){return _0xaa92e8>=0xdc00&&_0xaa92e8<0xe000;}(_0x1609f1)?_0x1609f1-0xdc00+(_0x1ce994-0xd800<<0xa)+0x10000:_0x1ce994;}function _0x5a2627(_0x16b906){return _0x16b906<=0xffff?String['fromCharCode'](_0x16b906):(_0x16b906-=0x10000,String['fromCharCode'](0xd800+(_0x16b906>>0xa),0xdc00+(0x3ff&_0x16b906)));}function _0x245f61(_0xeda258){return _0xeda258<0x10000?0x1:0x2;}const _0x298b1e=/\r\n?|\n/;var _0x32252d=function(_0x3fd617){return _0x3fd617[_0x3fd617['Simple']=0x0]='Simple',_0x3fd617[_0x3fd617['TrackDel']=0x1]='TrackDel',_0x3fd617[_0x3fd617['TrackBefore']=0x2]='TrackBefore',_0x3fd617[_0x3fd617['TrackAfter']=0x3]='TrackAfter',_0x3fd617;}(_0x32252d||(_0x32252d={}));class _0x56aad0{constructor(_0xe31587){this['sections']=_0xe31587;}get['length'](){let _0x5b496a=0x0;for(let _0x131ce7=0x0;_0x131ce7<this['sections']['length'];_0x131ce7+=0x2)_0x5b496a+=this['sections'][_0x131ce7];return _0x5b496a;}get['newLength'](){let _0x287a66=0x0;for(let _0x4f6c10=0x0;_0x4f6c10<this['sections']['length'];_0x4f6c10+=0x2){let _0x39f12d=this['sections'][_0x4f6c10+0x1];_0x287a66+=_0x39f12d<0x0?this['sections'][_0x4f6c10]:_0x39f12d;}return _0x287a66;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x3b8257){for(let _0x147000=0x0,_0xfb2bcb=0x0,_0x49b76c=0x0;_0x147000<this['sections']['length'];){let _0x4ecbbc=this['sections'][_0x147000++],_0xf14f3d=this['sections'][_0x147000++];_0xf14f3d<0x0?(_0x3b8257(_0xfb2bcb,_0x49b76c,_0x4ecbbc),_0x49b76c+=_0x4ecbbc):_0x49b76c+=_0xf14f3d,_0xfb2bcb+=_0x4ecbbc;}}['iterChangedRanges'](_0x26ae46,_0x1552ff=!0x1){_0x2c75fe(this,_0x26ae46,_0x1552ff);}get['invertedDesc'](){let _0x1bd8af=[];for(let _0x3828b6=0x0;_0x3828b6<this['sections']['length'];){let _0x3c0c5a=this['sections'][_0x3828b6++],_0x33b82e=this['sections'][_0x3828b6++];_0x33b82e<0x0?_0x1bd8af['push'](_0x3c0c5a,_0x33b82e):_0x1bd8af['push'](_0x33b82e,_0x3c0c5a);}return new _0x56aad0(_0x1bd8af);}['composeDesc'](_0x41125a){return this['empty']?_0x41125a:_0x41125a['empty']?this:_0x451ec3(this,_0x41125a);}['mapDesc'](_0x582b91,_0x5c8679=!0x1){return _0x582b91['empty']?this:_0x5a874b(this,_0x582b91,_0x5c8679);}['mapPos'](_0x53f6dd,_0x15658c=-0x1,_0x32c8e8=_0x32252d['Simple']){let _0x100c59=0x0,_0x22319f=0x0;for(let _0x4ddb20=0x0;_0x4ddb20<this['sections']['length'];){let _0x98c2bd=this['sections'][_0x4ddb20++],_0x642acd=this['sections'][_0x4ddb20++],_0x419546=_0x100c59+_0x98c2bd;if(_0x642acd<0x0){if(_0x419546>_0x53f6dd)return _0x22319f+(_0x53f6dd-_0x100c59);_0x22319f+=_0x98c2bd;}else{if(_0x32c8e8!=_0x32252d['Simple']&&_0x419546>=_0x53f6dd&&(_0x32c8e8==_0x32252d['TrackDel']&&_0x100c59<_0x53f6dd&&_0x419546>_0x53f6dd||_0x32c8e8==_0x32252d['TrackBefore']&&_0x100c59<_0x53f6dd||_0x32c8e8==_0x32252d['TrackAfter']&&_0x419546>_0x53f6dd))return null;if(_0x419546>_0x53f6dd||_0x419546==_0x53f6dd&&_0x15658c<0x0&&!_0x98c2bd)return _0x53f6dd==_0x100c59||_0x15658c<0x0?_0x22319f:_0x22319f+_0x642acd;_0x22319f+=_0x642acd;}_0x100c59=_0x419546;}if(_0x53f6dd>_0x100c59)throw new RangeError('Position\x20'+_0x53f6dd+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x100c59);return _0x22319f;}['touchesRange'](_0x25828e,_0x4bb4b5=_0x25828e){for(let _0xa4bb71=0x0,_0x5a5a0c=0x0;_0xa4bb71<this['sections']['length']&&_0x5a5a0c<=_0x4bb4b5;){let _0x6b22fd=_0x5a5a0c+this['sections'][_0xa4bb71++];if(this['sections'][_0xa4bb71++]>=0x0&&_0x5a5a0c<=_0x4bb4b5&&_0x6b22fd>=_0x25828e)return!(_0x5a5a0c<_0x25828e&&_0x6b22fd>_0x4bb4b5)||'cover';_0x5a5a0c=_0x6b22fd;}return!0x1;}['toString'](){let _0x4e8364='';for(let _0xbd7558=0x0;_0xbd7558<this['sections']['length'];){let _0x3a1bc0=this['sections'][_0xbd7558++],_0x12c0a8=this['sections'][_0xbd7558++];_0x4e8364+=(_0x4e8364?'\x20':'')+_0x3a1bc0+(_0x12c0a8>=0x0?':'+_0x12c0a8:'');}return _0x4e8364;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x21e9fb){if(!Array['isArray'](_0x21e9fb)||_0x21e9fb['length']%0x2||_0x21e9fb['some'](_0x528415=>'number'!=typeof _0x528415))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x56aad0(_0x21e9fb);}static['create'](_0x1491bd){return new _0x56aad0(_0x1491bd);}}class ChangeSet extends _0x56aad0{constructor(_0x52d592,_0x47d3ef){super(_0x52d592),this['inserted']=_0x47d3ef;}['apply'](_0x1db735){if(this['length']!=_0x1db735['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x2c75fe(this,(_0x44bf8c,_0x5c85a2,_0x5b84f5,_0x42b93d,_0x5e288c)=>_0x1db735=_0x1db735['replace'](_0x5b84f5,_0x5b84f5+(_0x5c85a2-_0x44bf8c),_0x5e288c),!0x1),_0x1db735;}['mapDesc'](_0x4847a1,_0x20ea17=!0x1){return _0x5a874b(this,_0x4847a1,_0x20ea17,!0x0);}['invert'](_0x56e8f9){let _0x3fb195=this['sections']['slice'](),_0x50023b=[];for(let _0x365b2c=0x0,_0x304fb6=0x0;_0x365b2c<_0x3fb195['length'];_0x365b2c+=0x2){let _0x2d2c07=_0x3fb195[_0x365b2c],_0x4beaa7=_0x3fb195[_0x365b2c+0x1];if(_0x4beaa7>=0x0){_0x3fb195[_0x365b2c]=_0x4beaa7,_0x3fb195[_0x365b2c+0x1]=_0x2d2c07;let _0x5b4842=_0x365b2c>>0x1;for(;_0x50023b['length']<_0x5b4842;)_0x50023b['push'](Text['empty']);_0x50023b['push'](_0x2d2c07?_0x56e8f9['slice'](_0x304fb6,_0x304fb6+_0x2d2c07):Text['empty']);}_0x304fb6+=_0x2d2c07;}return new ChangeSet(_0x3fb195,_0x50023b);}['compose'](_0x5ae9eb){return this['empty']?_0x5ae9eb:_0x5ae9eb['empty']?this:_0x451ec3(this,_0x5ae9eb,!0x0);}['map'](_0x466efd,_0x22b944=!0x1){return _0x466efd['empty']?this:_0x5a874b(this,_0x466efd,_0x22b944,!0x0);}['iterChanges'](_0x435198,_0x4832f7=!0x1){_0x2c75fe(this,_0x435198,_0x4832f7);}get['desc'](){return _0x56aad0['create'](this['sections']);}['filter'](_0x112f90){let _0x423823=[],_0x545dbe=[],_0x165cc4=[],_0x1474da=new SectionIter(this);t:for(let _0x44f29e=0x0,_0x15e55d=0x0;;){let _0x17adb8=_0x44f29e==_0x112f90['length']?0x3b9aca00:_0x112f90[_0x44f29e++];for(;_0x15e55d<_0x17adb8||_0x15e55d==_0x17adb8&&0x0==_0x1474da['len'];){if(_0x1474da['done'])break t;let _0x338225=Math['min'](_0x1474da['len'],_0x17adb8-_0x15e55d);_0x12181b(_0x165cc4,_0x338225,-0x1);let _0x50fdc4=-0x1==_0x1474da['ins']?-0x1:0x0==_0x1474da['off']?_0x1474da['ins']:0x0;_0x12181b(_0x423823,_0x338225,_0x50fdc4),_0x50fdc4>0x0&&_0x19079c(_0x545dbe,_0x423823,_0x1474da['text']),_0x1474da['forward'](_0x338225),_0x15e55d+=_0x338225;}let _0x2995d1=_0x112f90[_0x44f29e++];for(;_0x15e55d<_0x2995d1;){if(_0x1474da['done'])break t;let _0xb5de1d=Math['min'](_0x1474da['len'],_0x2995d1-_0x15e55d);_0x12181b(_0x423823,_0xb5de1d,-0x1),_0x12181b(_0x165cc4,_0xb5de1d,-0x1==_0x1474da['ins']?-0x1:0x0==_0x1474da['off']?_0x1474da['ins']:0x0),_0x1474da['forward'](_0xb5de1d),_0x15e55d+=_0xb5de1d;}}return{'changes':new ChangeSet(_0x423823,_0x545dbe),'filtered':_0x56aad0['create'](_0x165cc4)};}['toJSON'](){let _0x8a5964=[];for(let _0x2beb6c=0x0;_0x2beb6c<this['sections']['length'];_0x2beb6c+=0x2){let _0x40bc33=this['sections'][_0x2beb6c],_0x3c3c06=this['sections'][_0x2beb6c+0x1];_0x3c3c06<0x0?_0x8a5964['push'](_0x40bc33):0x0==_0x3c3c06?_0x8a5964['push']([_0x40bc33]):_0x8a5964['push']([_0x40bc33]['concat'](this['inserted'][_0x2beb6c>>0x1]['toJSON']()));}return _0x8a5964;}static['of'](_0x49d49b,_0x5ddcad,_0x50ee4a){let _0x2b6b18=[],_0x789300=[],_0x436df4=0x0,_0x2593aa=null;function _0x37f9a7(_0xf40e3b=!0x1){if(!_0xf40e3b&&!_0x2b6b18['length'])return;_0x436df4<_0x5ddcad&&_0x12181b(_0x2b6b18,_0x5ddcad-_0x436df4,-0x1);let _0x22eb5c=new ChangeSet(_0x2b6b18,_0x789300);_0x2593aa=_0x2593aa?_0x2593aa['compose'](_0x22eb5c['map'](_0x2593aa)):_0x22eb5c,_0x2b6b18=[],_0x789300=[],_0x436df4=0x0;}return function _0x17adbd(_0x1474d3){if(Array['isArray'](_0x1474d3)){for(let _0x3ce735 of _0x1474d3)_0x17adbd(_0x3ce735);}else{if(_0x1474d3 instanceof ChangeSet){if(_0x1474d3['length']!=_0x5ddcad)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x1474d3['length']+',\x20expected\x20'+_0x5ddcad+')');_0x37f9a7(),_0x2593aa=_0x2593aa?_0x2593aa['compose'](_0x1474d3['map'](_0x2593aa)):_0x1474d3;}else{let {from:_0x4f9f89,to:_0x6ff55f=_0x4f9f89,insert:_0x1b84fa}=_0x1474d3;if(_0x4f9f89>_0x6ff55f||_0x4f9f89<0x0||_0x6ff55f>_0x5ddcad)throw new RangeError('Invalid\x20change\x20range\x20'+_0x4f9f89+'\x20to\x20'+_0x6ff55f+'\x20(in\x20doc\x20of\x20length\x20'+_0x5ddcad+')');let _0x1bc78e=_0x1b84fa?'string'==typeof _0x1b84fa?Text['of'](_0x1b84fa['split'](_0x50ee4a||_0x298b1e)):_0x1b84fa:Text['empty'],_0x4df774=_0x1bc78e['length'];if(_0x4f9f89==_0x6ff55f&&0x0==_0x4df774)return;_0x4f9f89<_0x436df4&&_0x37f9a7(),_0x4f9f89>_0x436df4&&_0x12181b(_0x2b6b18,_0x4f9f89-_0x436df4,-0x1),_0x12181b(_0x2b6b18,_0x6ff55f-_0x4f9f89,_0x4df774),_0x19079c(_0x789300,_0x2b6b18,_0x1bc78e),_0x436df4=_0x6ff55f;}}}(_0x49d49b),_0x37f9a7(!_0x2593aa),_0x2593aa;}static['empty'](_0x38adf1){return new ChangeSet(_0x38adf1?[_0x38adf1,-0x1]:[],[]);}static['fromJSON'](_0x399ed0){if(!Array['isArray'](_0x399ed0))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x58013f=[],_0x2f97aa=[];for(let _0x2bcad3=0x0;_0x2bcad3<_0x399ed0['length'];_0x2bcad3++){let _0x50b99f=_0x399ed0[_0x2bcad3];if('number'==typeof _0x50b99f)_0x58013f['push'](_0x50b99f,-0x1);else{if(!Array['isArray'](_0x50b99f)||'number'!=typeof _0x50b99f[0x0]||_0x50b99f['some']((_0x5050ec,_0x36f7d1)=>_0x36f7d1&&'string'!=typeof _0x5050ec))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x50b99f['length'])_0x58013f['push'](_0x50b99f[0x0],0x0);else{for(;_0x2f97aa['length']<_0x2bcad3;)_0x2f97aa['push'](Text['empty']);_0x2f97aa[_0x2bcad3]=Text['of'](_0x50b99f['slice'](0x1)),_0x58013f['push'](_0x50b99f[0x0],_0x2f97aa[_0x2bcad3]['length']);}}}return new ChangeSet(_0x58013f,_0x2f97aa);}static['createSet'](_0x40928b,_0x4b37c2){return new ChangeSet(_0x40928b,_0x4b37c2);}}function _0x12181b(_0x52b24c,_0x570378,_0xde6417,_0x49cf5f=!0x1){if(0x0==_0x570378&&_0xde6417<=0x0)return;let _0x906d70=_0x52b24c['length']-0x2;_0x906d70>=0x0&&_0xde6417<=0x0&&_0xde6417==_0x52b24c[_0x906d70+0x1]?_0x52b24c[_0x906d70]+=_0x570378:_0x906d70>=0x0&&0x0==_0x570378&&0x0==_0x52b24c[_0x906d70]?_0x52b24c[_0x906d70+0x1]+=_0xde6417:_0x49cf5f?(_0x52b24c[_0x906d70]+=_0x570378,_0x52b24c[_0x906d70+0x1]+=_0xde6417):_0x52b24c['push'](_0x570378,_0xde6417);}function _0x19079c(_0x454996,_0x4f2e57,_0x510cf1){if(0x0==_0x510cf1['length'])return;let _0x3c33c4=_0x4f2e57['length']-0x2>>0x1;if(_0x3c33c4<_0x454996['length'])_0x454996[_0x454996['length']-0x1]=_0x454996[_0x454996['length']-0x1]['append'](_0x510cf1);else{for(;_0x454996['length']<_0x3c33c4;)_0x454996['push'](Text['empty']);_0x454996['push'](_0x510cf1);}}function _0x2c75fe(_0x42b449,_0x394497,_0x233eec){let _0x3442be=_0x42b449['inserted'];for(let _0x114284=0x0,_0x5640d2=0x0,_0x1a3b4a=0x0;_0x1a3b4a<_0x42b449['sections']['length'];){let _0x32b061=_0x42b449['sections'][_0x1a3b4a++],_0x49e914=_0x42b449['sections'][_0x1a3b4a++];if(_0x49e914<0x0)_0x114284+=_0x32b061,_0x5640d2+=_0x32b061;else{let _0x3dae59=_0x114284,_0x348717=_0x5640d2,_0x20200a=Text['empty'];for(;_0x3dae59+=_0x32b061,_0x348717+=_0x49e914,_0x49e914&&_0x3442be&&(_0x20200a=_0x20200a['append'](_0x3442be[_0x1a3b4a-0x2>>0x1])),!(_0x233eec||_0x1a3b4a==_0x42b449['sections']['length']||_0x42b449['sections'][_0x1a3b4a+0x1]<0x0);)_0x32b061=_0x42b449['sections'][_0x1a3b4a++],_0x49e914=_0x42b449['sections'][_0x1a3b4a++];_0x394497(_0x114284,_0x3dae59,_0x5640d2,_0x348717,_0x20200a),_0x114284=_0x3dae59,_0x5640d2=_0x348717;}}}function _0x5a874b(_0x5c1d8d,_0x3d8022,_0x566e0a,_0x691815=!0x1){let _0x1f8a2a=[],_0x1e88da=_0x691815?[]:null,_0x1312f2=new SectionIter(_0x5c1d8d),_0x266279=new SectionIter(_0x3d8022);for(let _0x23ce8d=-0x1;;){if(_0x1312f2['done']&&_0x266279['len']||_0x266279['done']&&_0x1312f2['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x1312f2['ins']&&-0x1==_0x266279['ins']){let _0x46d14e=Math['min'](_0x1312f2['len'],_0x266279['len']);_0x12181b(_0x1f8a2a,_0x46d14e,-0x1),_0x1312f2['forward'](_0x46d14e),_0x266279['forward'](_0x46d14e);}else{if(_0x266279['ins']>=0x0&&(_0x1312f2['ins']<0x0||_0x23ce8d==_0x1312f2['i']||0x0==_0x1312f2['off']&&(_0x266279['len']<_0x1312f2['len']||_0x266279['len']==_0x1312f2['len']&&!_0x566e0a))){let _0x53f925=_0x266279['len'];for(_0x12181b(_0x1f8a2a,_0x266279['ins'],-0x1);_0x53f925;){let _0x1f34b0=Math['min'](_0x1312f2['len'],_0x53f925);_0x1312f2['ins']>=0x0&&_0x23ce8d<_0x1312f2['i']&&_0x1312f2['len']<=_0x1f34b0&&(_0x12181b(_0x1f8a2a,0x0,_0x1312f2['ins']),_0x1e88da&&_0x19079c(_0x1e88da,_0x1f8a2a,_0x1312f2['text']),_0x23ce8d=_0x1312f2['i']),_0x1312f2['forward'](_0x1f34b0),_0x53f925-=_0x1f34b0;}_0x266279['next']();}else{if(!(_0x1312f2['ins']>=0x0)){if(_0x1312f2['done']&&_0x266279['done'])return _0x1e88da?ChangeSet['createSet'](_0x1f8a2a,_0x1e88da):_0x56aad0['create'](_0x1f8a2a);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x2a1a00=0x0,_0x17f4db=_0x1312f2['len'];for(;_0x17f4db;)if(-0x1==_0x266279['ins']){let _0x16c780=Math['min'](_0x17f4db,_0x266279['len']);_0x2a1a00+=_0x16c780,_0x17f4db-=_0x16c780,_0x266279['forward'](_0x16c780);}else{if(!(0x0==_0x266279['ins']&&_0x266279['len']<_0x17f4db))break;_0x17f4db-=_0x266279['len'],_0x266279['next']();}_0x12181b(_0x1f8a2a,_0x2a1a00,_0x23ce8d<_0x1312f2['i']?_0x1312f2['ins']:0x0),_0x1e88da&&_0x23ce8d<_0x1312f2['i']&&_0x19079c(_0x1e88da,_0x1f8a2a,_0x1312f2['text']),_0x23ce8d=_0x1312f2['i'],_0x1312f2['forward'](_0x1312f2['len']-_0x17f4db);}}}}}function _0x451ec3(_0x730791,_0x25f78b,_0x33cf61=!0x1){let _0x42f351=[],_0x4233c4=_0x33cf61?[]:null,_0x1c4087=new SectionIter(_0x730791),_0x3383a0=new SectionIter(_0x25f78b);for(let _0x3a1da0=!0x1;;){if(_0x1c4087['done']&&_0x3383a0['done'])return _0x4233c4?ChangeSet['createSet'](_0x42f351,_0x4233c4):_0x56aad0['create'](_0x42f351);if(0x0==_0x1c4087['ins'])_0x12181b(_0x42f351,_0x1c4087['len'],0x0,_0x3a1da0),_0x1c4087['next']();else{if(0x0!=_0x3383a0['len']||_0x3383a0['done']){if(_0x1c4087['done']||_0x3383a0['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x2d59a6=Math['min'](_0x1c4087['len2'],_0x3383a0['len']),_0x546968=_0x42f351['length'];if(-0x1==_0x1c4087['ins']){let _0x490544=-0x1==_0x3383a0['ins']?-0x1:_0x3383a0['off']?0x0:_0x3383a0['ins'];_0x12181b(_0x42f351,_0x2d59a6,_0x490544,_0x3a1da0),_0x4233c4&&_0x490544&&_0x19079c(_0x4233c4,_0x42f351,_0x3383a0['text']);}else-0x1==_0x3383a0['ins']?(_0x12181b(_0x42f351,_0x1c4087['off']?0x0:_0x1c4087['len'],_0x2d59a6,_0x3a1da0),_0x4233c4&&_0x19079c(_0x4233c4,_0x42f351,_0x1c4087['textBit'](_0x2d59a6))):(_0x12181b(_0x42f351,_0x1c4087['off']?0x0:_0x1c4087['len'],_0x3383a0['off']?0x0:_0x3383a0['ins'],_0x3a1da0),_0x4233c4&&!_0x3383a0['off']&&_0x19079c(_0x4233c4,_0x42f351,_0x3383a0['text']));_0x3a1da0=(_0x1c4087['ins']>_0x2d59a6||_0x3383a0['ins']>=0x0&&_0x3383a0['len']>_0x2d59a6)&&(_0x3a1da0||_0x42f351['length']>_0x546968),_0x1c4087['forward2'](_0x2d59a6),_0x3383a0['forward'](_0x2d59a6);}}else _0x12181b(_0x42f351,0x0,_0x3383a0['ins'],_0x3a1da0),_0x4233c4&&_0x19079c(_0x4233c4,_0x42f351,_0x3383a0['text']),_0x3383a0['next']();}}}class SectionIter{constructor(_0x15e9c5){this['set']=_0x15e9c5,this['i']=0x0,this['next']();}['next'](){let {sections:_0xfa52cc}=this['set'];this['i']<_0xfa52cc['length']?(this['len']=_0xfa52cc[this['i']++],this['ins']=_0xfa52cc[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:_0xdbc371}=this['set'],_0x3fa94c=this['i']-0x2>>0x1;return _0x3fa94c>=_0xdbc371['length']?Text['empty']:_0xdbc371[_0x3fa94c];}['textBit'](_0x226d19){let {inserted:_0x176c08}=this['set'],_0x2b3e53=this['i']-0x2>>0x1;return _0x2b3e53>=_0x176c08['length']&&!_0x226d19?Text['empty']:_0x176c08[_0x2b3e53]['slice'](this['off'],null==_0x226d19?void 0x0:this['off']+_0x226d19);}['forward'](_0x300f31){_0x300f31==this['len']?this['next']():(this['len']-=_0x300f31,this['off']+=_0x300f31);}['forward2'](_0xae6ddb){-0x1==this['ins']?this['forward'](_0xae6ddb):_0xae6ddb==this['ins']?this['next']():(this['ins']-=_0xae6ddb,this['off']+=_0xae6ddb);}}class SelectionRange{constructor(_0x5baa33,_0x1b4f8f,_0x261a97){this['from']=_0x5baa33,this['to']=_0x1b4f8f,this['flags']=_0x261a97;}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 _0xd2642c=0x7&this['flags'];return 0x7==_0xd2642c?null:_0xd2642c;}get['goalColumn'](){let _0x3ea766=this['flags']>>0x6;return 0xffffff==_0x3ea766?void 0x0:_0x3ea766;}['map'](_0x378c40,_0x359bc4=-0x1){let _0x36ebf2,_0x355262;return this['empty']?_0x36ebf2=_0x355262=_0x378c40['mapPos'](this['from'],_0x359bc4):(_0x36ebf2=_0x378c40['mapPos'](this['from'],0x1),_0x355262=_0x378c40['mapPos'](this['to'],-0x1)),_0x36ebf2==this['from']&&_0x355262==this['to']?this:new SelectionRange(_0x36ebf2,_0x355262,this['flags']);}['extend'](_0x13c43b,_0x1ed688=_0x13c43b){if(_0x13c43b<=this['anchor']&&_0x1ed688>=this['anchor'])return EditorSelection['range'](_0x13c43b,_0x1ed688);let _0xc25b79=Math['abs'](_0x13c43b-this['anchor'])>Math['abs'](_0x1ed688-this['anchor'])?_0x13c43b:_0x1ed688;return EditorSelection['range'](this['anchor'],_0xc25b79);}['eq'](_0x353a6a,_0xd08ccd=!0x1){return!(this['anchor']!=_0x353a6a['anchor']||this['head']!=_0x353a6a['head']||_0xd08ccd&&this['empty']&&this['assoc']!=_0x353a6a['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0xe14349){if(!_0xe14349||'number'!=typeof _0xe14349['anchor']||'number'!=typeof _0xe14349['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0xe14349['anchor'],_0xe14349['head']);}static['create'](_0x78511,_0x3489a7,_0xcc7a0){return new SelectionRange(_0x78511,_0x3489a7,_0xcc7a0);}}class EditorSelection{constructor(_0x4cafbf,_0x10abe1){this['ranges']=_0x4cafbf,this['mainIndex']=_0x10abe1;}['map'](_0x1ddba3,_0x18eee0=-0x1){return _0x1ddba3['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x2ef514=>_0x2ef514['map'](_0x1ddba3,_0x18eee0)),this['mainIndex']);}['eq'](_0x5500ed,_0x52ace9=!0x1){if(this['ranges']['length']!=_0x5500ed['ranges']['length']||this['mainIndex']!=_0x5500ed['mainIndex'])return!0x1;for(let _0x1f9c1a=0x0;_0x1f9c1a<this['ranges']['length'];_0x1f9c1a++)if(!this['ranges'][_0x1f9c1a]['eq'](_0x5500ed['ranges'][_0x1f9c1a],_0x52ace9))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x1e49b2,_0x1404bc=!0x0){return EditorSelection['create']([_0x1e49b2]['concat'](this['ranges']),_0x1404bc?0x0:this['mainIndex']+0x1);}['replaceRange'](_0xb8678d,_0x56b3ed=this['mainIndex']){let _0x3d753b=this['ranges']['slice']();return _0x3d753b[_0x56b3ed]=_0xb8678d,EditorSelection['create'](_0x3d753b,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x3b87ec=>_0x3b87ec['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x515817){if(!_0x515817||!Array['isArray'](_0x515817['ranges'])||'number'!=typeof _0x515817['main']||_0x515817['main']>=_0x515817['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x515817['ranges']['map'](_0x2634dd=>SelectionRange['fromJSON'](_0x2634dd)),_0x515817['main']);}static['single'](_0x340b3f,_0x16c224=_0x340b3f){return new EditorSelection([EditorSelection['range'](_0x340b3f,_0x16c224)],0x0);}static['create'](_0x51f227,_0x4f1dde=0x0){if(0x0==_0x51f227['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x586f7f=0x0,_0x322b5c=0x0;_0x322b5c<_0x51f227['length'];_0x322b5c++){let _0x1b2f17=_0x51f227[_0x322b5c];if(_0x1b2f17['empty']?_0x1b2f17['from']<=_0x586f7f:_0x1b2f17['from']<_0x586f7f)return EditorSelection['normalized'](_0x51f227['slice'](),_0x4f1dde);_0x586f7f=_0x1b2f17['to'];}return new EditorSelection(_0x51f227,_0x4f1dde);}static['cursor'](_0x1db34e,_0x4789df=0x0,_0x3c156e,_0x410a4d){return SelectionRange['create'](_0x1db34e,_0x1db34e,(0x0==_0x4789df?0x0:_0x4789df<0x0?0x8:0x10)|(null==_0x3c156e?0x7:Math['min'](0x6,_0x3c156e))|(null!=_0x410a4d?_0x410a4d:0xffffff)<<0x6);}static['range'](_0x5ed90d,_0x3b5456,_0x29d9ea,_0x5a4f7b){let _0x1a5b9c=(null!=_0x29d9ea?_0x29d9ea:0xffffff)<<0x6|(null==_0x5a4f7b?0x7:Math['min'](0x6,_0x5a4f7b));return _0x3b5456<_0x5ed90d?SelectionRange['create'](_0x3b5456,_0x5ed90d,0x30|_0x1a5b9c):SelectionRange['create'](_0x5ed90d,_0x3b5456,(_0x3b5456>_0x5ed90d?0x8:0x0)|_0x1a5b9c);}static['normalized'](_0x8fd9e5,_0x3d0fae=0x0){let _0x33f901=_0x8fd9e5[_0x3d0fae];_0x8fd9e5['sort']((_0x25c296,_0x200a53)=>_0x25c296['from']-_0x200a53['from']),_0x3d0fae=_0x8fd9e5['indexOf'](_0x33f901);for(let _0xc4ee35=0x1;_0xc4ee35<_0x8fd9e5['length'];_0xc4ee35++){let _0x30ed53=_0x8fd9e5[_0xc4ee35],_0x20eb3d=_0x8fd9e5[_0xc4ee35-0x1];if(_0x30ed53['empty']?_0x30ed53['from']<=_0x20eb3d['to']:_0x30ed53['from']<_0x20eb3d['to']){let _0xa5d34d=_0x20eb3d['from'],_0x200c97=Math['max'](_0x30ed53['to'],_0x20eb3d['to']);_0xc4ee35<=_0x3d0fae&&_0x3d0fae--,_0x8fd9e5['splice'](--_0xc4ee35,0x2,_0x30ed53['anchor']>_0x30ed53['head']?EditorSelection['range'](_0x200c97,_0xa5d34d):EditorSelection['range'](_0xa5d34d,_0x200c97));}}return new EditorSelection(_0x8fd9e5,_0x3d0fae);}}function _0x38fa15(_0x3a9f19,_0x210643){for(let _0x294042 of _0x3a9f19['ranges'])if(_0x294042['to']>_0x210643)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x382f24=0x0;class Facet{constructor(_0x3074b7,_0x1dff6c,_0x27d259,_0x50f918,_0x208de7){this['combine']=_0x3074b7,this['compareInput']=_0x1dff6c,this['compare']=_0x27d259,this['isStatic']=_0x50f918,this['id']=_0x382f24++,this['default']=_0x3074b7([]),this['extensions']='function'==typeof _0x208de7?_0x208de7(this):_0x208de7;}get['reader'](){return this;}static['define'](_0x520e91={}){return new Facet(_0x520e91['combine']||(_0x565051=>_0x565051),_0x520e91['compareInput']||((_0x290ec9,_0xb5dc4a)=>_0x290ec9===_0xb5dc4a),_0x520e91['compare']||(_0x520e91['combine']?(_0x18a01b,_0x4f1176)=>_0x18a01b===_0x4f1176:_0x365279),!!_0x520e91['static'],_0x520e91['enables']);}['of'](_0x172365){return new FacetProvider([],this,0x0,_0x172365);}['compute'](_0x4f4a30,_0x4540e3){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x4f4a30,this,0x1,_0x4540e3);}['computeN'](_0x2c1595,_0x555569){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x2c1595,this,0x2,_0x555569);}['from'](_0x139ded,_0x4e341b){return _0x4e341b||(_0x4e341b=_0x3c4b6f=>_0x3c4b6f),this['compute']([_0x139ded],_0x20efde=>_0x4e341b(_0x20efde['field'](_0x139ded)));}}function _0x365279(_0x2b45a3,_0x808939){return _0x2b45a3==_0x808939||_0x2b45a3['length']==_0x808939['length']&&_0x2b45a3['every']((_0x37d919,_0x562b2f)=>_0x37d919===_0x808939[_0x562b2f]);}class FacetProvider{constructor(_0x32b95d,_0x28f68d,_0x5b500d,_0x227992){this['dependencies']=_0x32b95d,this['facet']=_0x28f68d,this['type']=_0x5b500d,this['value']=_0x227992,this['id']=_0x382f24++;}['dynamicSlot'](_0x27cd3b){var _0x445223;let _0x2a4643=this['value'],_0x5642a1=this['facet']['compareInput'],_0x288b48=this['id'],_0x36cac7=_0x27cd3b[_0x288b48]>>0x1,_0x43cf4e=0x2==this['type'],_0x2b24e0=!0x1,_0x29d7d3=!0x1,_0x3ccdf2=[];for(let _0x14ba0b of this['dependencies'])'doc'==_0x14ba0b?_0x2b24e0=!0x0:'selection'==_0x14ba0b?_0x29d7d3=!0x0:0x1&(null!==(_0x445223=_0x27cd3b[_0x14ba0b['id']])&&void 0x0!==_0x445223?_0x445223:0x1)||_0x3ccdf2['push'](_0x27cd3b[_0x14ba0b['id']]);return{'create':_0xcf7dda=>(_0xcf7dda['values'][_0x36cac7]=_0x2a4643(_0xcf7dda),0x1),'update'(_0x23aadb,_0x35b95a){if(_0x2b24e0&&_0x35b95a['docChanged']||_0x29d7d3&&(_0x35b95a['docChanged']||_0x35b95a['selection'])||_0x3cd6cf(_0x23aadb,_0x3ccdf2)){let _0x26ae4c=_0x2a4643(_0x23aadb);if(_0x43cf4e?!_0x10d733(_0x26ae4c,_0x23aadb['values'][_0x36cac7],_0x5642a1):!_0x5642a1(_0x26ae4c,_0x23aadb['values'][_0x36cac7]))return _0x23aadb['values'][_0x36cac7]=_0x26ae4c,0x1;}return 0x0;},'reconfigure':(_0xabe6c1,_0x200bcd)=>{let _0x3a766e,_0x4db0c0=_0x200bcd['config']['address'][_0x288b48];if(null!=_0x4db0c0){let _0x209f60=_0x3d695f(_0x200bcd,_0x4db0c0);if(this['dependencies']['every'](_0xac9dee=>_0xac9dee instanceof Facet?_0x200bcd['facet'](_0xac9dee)===_0xabe6c1['facet'](_0xac9dee):!(_0xac9dee instanceof StateField)||_0x200bcd['field'](_0xac9dee,!0x1)==_0xabe6c1['field'](_0xac9dee,!0x1))||(_0x43cf4e?_0x10d733(_0x3a766e=_0x2a4643(_0xabe6c1),_0x209f60,_0x5642a1):_0x5642a1(_0x3a766e=_0x2a4643(_0xabe6c1),_0x209f60)))return _0xabe6c1['values'][_0x36cac7]=_0x209f60,0x0;}else _0x3a766e=_0x2a4643(_0xabe6c1);return _0xabe6c1['values'][_0x36cac7]=_0x3a766e,0x1;}};}}function _0x10d733(_0x4b861f,_0x194df2,_0x24a9fc){if(_0x4b861f['length']!=_0x194df2['length'])return!0x1;for(let _0x151ad4=0x0;_0x151ad4<_0x4b861f['length'];_0x151ad4++)if(!_0x24a9fc(_0x4b861f[_0x151ad4],_0x194df2[_0x151ad4]))return!0x1;return!0x0;}function _0x3cd6cf(_0x2d1275,_0x2cfb3c){let _0x1aebfa=!0x1;for(let _0x20c9d5 of _0x2cfb3c)0x1&_0x2fdfc0(_0x2d1275,_0x20c9d5)&&(_0x1aebfa=!0x0);return _0x1aebfa;}function _0x16c8b7(_0x4a8fe8,_0x3fe2f7,_0x2fd3a9){let _0x137dab=_0x2fd3a9['map'](_0x75f2e1=>_0x4a8fe8[_0x75f2e1['id']]),_0x110cd6=_0x2fd3a9['map'](_0x5ed9f3=>_0x5ed9f3['type']),_0x2f69f1=_0x137dab['filter'](_0x40a543=>!(0x1&_0x40a543)),_0x8cb457=_0x4a8fe8[_0x3fe2f7['id']]>>0x1;function _0x47ce44(_0x1fb914){let _0x44c1af=[];for(let _0x2ef7f3=0x0;_0x2ef7f3<_0x137dab['length'];_0x2ef7f3++){let _0x43c3ca=_0x3d695f(_0x1fb914,_0x137dab[_0x2ef7f3]);if(0x2==_0x110cd6[_0x2ef7f3]){for(let _0x2d3f9c of _0x43c3ca)_0x44c1af['push'](_0x2d3f9c);}else _0x44c1af['push'](_0x43c3ca);}return _0x3fe2f7['combine'](_0x44c1af);}return{'create'(_0x234cd9){for(let _0x57eb5a of _0x137dab)_0x2fdfc0(_0x234cd9,_0x57eb5a);return _0x234cd9['values'][_0x8cb457]=_0x47ce44(_0x234cd9),0x1;},'update'(_0x18996c,_0x22335c){if(!_0x3cd6cf(_0x18996c,_0x2f69f1))return 0x0;let _0x3816ed=_0x47ce44(_0x18996c);return _0x3fe2f7['compare'](_0x3816ed,_0x18996c['values'][_0x8cb457])?0x0:(_0x18996c['values'][_0x8cb457]=_0x3816ed,0x1);},'reconfigure'(_0x3d2994,_0x2197f7){let _0x15eb2e=_0x3cd6cf(_0x3d2994,_0x137dab),_0x3ef410=_0x2197f7['config']['facets'][_0x3fe2f7['id']],_0x3a01c2=_0x2197f7['facet'](_0x3fe2f7);if(_0x3ef410&&!_0x15eb2e&&_0x365279(_0x2fd3a9,_0x3ef410))return _0x3d2994['values'][_0x8cb457]=_0x3a01c2,0x0;let _0xf00959=_0x47ce44(_0x3d2994);return _0x3fe2f7['compare'](_0xf00959,_0x3a01c2)?(_0x3d2994['values'][_0x8cb457]=_0x3a01c2,0x0):(_0x3d2994['values'][_0x8cb457]=_0xf00959,0x1);}};}const _0xf219f1=Facet['define']({'static':!0x0});class StateField{constructor(_0x5e093b,_0x4b00f0,_0x40073b,_0x58e32e,_0x5e1ca0){this['id']=_0x5e093b,this['createF']=_0x4b00f0,this['updateF']=_0x40073b,this['compareF']=_0x58e32e,this['spec']=_0x5e1ca0,this['provides']=void 0x0;}static['define'](_0x259dbc){let _0x465a50=new StateField(_0x382f24++,_0x259dbc['create'],_0x259dbc['update'],_0x259dbc['compare']||((_0x2a14b7,_0x24d70f)=>_0x2a14b7===_0x24d70f),_0x259dbc);return _0x259dbc['provide']&&(_0x465a50['provides']=_0x259dbc['provide'](_0x465a50)),_0x465a50;}['create'](_0x23b35c){let _0x46297c=_0x23b35c['facet'](_0xf219f1)['find'](_0x5641b3=>_0x5641b3['field']==this);return((null==_0x46297c?void 0x0:_0x46297c['create'])||this['createF'])(_0x23b35c);}['slot'](_0x5031bf){let _0x1ad8ba=_0x5031bf[this['id']]>>0x1;return{'create':_0x211e9f=>(_0x211e9f['values'][_0x1ad8ba]=this['create'](_0x211e9f),0x1),'update':(_0x247f68,_0x4f4eb7)=>{let _0x3ced62=_0x247f68['values'][_0x1ad8ba],_0x3f8ff6=this['updateF'](_0x3ced62,_0x4f4eb7);return this['compareF'](_0x3ced62,_0x3f8ff6)?0x0:(_0x247f68['values'][_0x1ad8ba]=_0x3f8ff6,0x1);},'reconfigure':(_0x39d9ea,_0x2cb2ec)=>{let _0x4a8d7b,_0x2f31e7=_0x39d9ea['facet'](_0xf219f1),_0x2470f4=_0x2cb2ec['facet'](_0xf219f1);return(_0x4a8d7b=_0x2f31e7['find'](_0x33be98=>_0x33be98['field']==this))&&_0x4a8d7b!=_0x2470f4['find'](_0x4ddc5a=>_0x4ddc5a['field']==this)?(_0x39d9ea['values'][_0x1ad8ba]=_0x4a8d7b['create'](_0x39d9ea),0x1):null!=_0x2cb2ec['config']['address'][this['id']]?(_0x39d9ea['values'][_0x1ad8ba]=_0x2cb2ec['field'](this),0x0):(_0x39d9ea['values'][_0x1ad8ba]=this['create'](_0x39d9ea),0x1);}};}['init'](_0x466a08){return[this,_0xf219f1['of']({'field':this,'create':_0x466a08})];}get['extension'](){return this;}}const _0x14c272=0x4,tg=0x3,_0x307224=0x2,_0x4ff4f8=0x1;function _0x2f7b86(_0x25e86c){return _0x2ea68f=>new PrecExtension(_0x2ea68f,_0x25e86c);}const _0x271a11={'highest':_0x2f7b86(0x0),'high':_0x2f7b86(_0x4ff4f8),'default':_0x2f7b86(_0x307224),'low':_0x2f7b86(tg),'lowest':_0x2f7b86(_0x14c272)};class PrecExtension{constructor(_0x11e889,_0x2bd43d){this['inner']=_0x11e889,this['prec']=_0x2bd43d;}}class Compartment{['of'](_0xc3f495){return new CompartmentInstance(this,_0xc3f495);}['reconfigure'](_0x1dda36){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x1dda36});}['get'](_0x195d4d){return _0x195d4d['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x236c78,_0x2497f6){this['compartment']=_0x236c78,this['inner']=_0x2497f6;}}class Configuration{constructor(_0x15ded1,_0x2e8bd5,_0x4d30d3,_0x156ddd,_0x2025c9,_0x1616ae){for(this['base']=_0x15ded1,this['compartments']=_0x2e8bd5,this['dynamicSlots']=_0x4d30d3,this['address']=_0x156ddd,this['staticValues']=_0x2025c9,this['facets']=_0x1616ae,this['statusTemplate']=[];this['statusTemplate']['length']<_0x4d30d3['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x5f4d00){let _0x463e6e=this['address'][_0x5f4d00['id']];return null==_0x463e6e?_0x5f4d00['default']:this['staticValues'][_0x463e6e>>0x1];}static['resolve'](_0x5af717,_0x1680d1,_0x7d1a09){let _0x5a4d22=[],_0x2c8217=Object['create'](null),_0x675ab4=new Map();for(let _0x5b928f of function(_0x1fa9a0,_0x9fe90c,_0x28cca3){let _0x915cc3=[[],[],[],[],[]],_0x1530b0=new Map();function _0x2b59b4(_0x49bb27,_0x1215eb){let _0x50a82f=_0x1530b0['get'](_0x49bb27);if(null!=_0x50a82f){if(_0x50a82f<=_0x1215eb)return;let _0x100e67=_0x915cc3[_0x50a82f]['indexOf'](_0x49bb27);_0x100e67>-0x1&&_0x915cc3[_0x50a82f]['splice'](_0x100e67,0x1),_0x49bb27 instanceof CompartmentInstance&&_0x28cca3['delete'](_0x49bb27['compartment']);}if(_0x1530b0['set'](_0x49bb27,_0x1215eb),Array['isArray'](_0x49bb27)){for(let _0x484fe2 of _0x49bb27)_0x2b59b4(_0x484fe2,_0x1215eb);}else{if(_0x49bb27 instanceof CompartmentInstance){if(_0x28cca3['has'](_0x49bb27['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x3c4edc=_0x9fe90c['get'](_0x49bb27['compartment'])||_0x49bb27['inner'];_0x28cca3['set'](_0x49bb27['compartment'],_0x3c4edc),_0x2b59b4(_0x3c4edc,_0x1215eb);}else{if(_0x49bb27 instanceof PrecExtension)_0x2b59b4(_0x49bb27['inner'],_0x49bb27['prec']);else{if(_0x49bb27 instanceof StateField)_0x915cc3[_0x1215eb]['push'](_0x49bb27),_0x49bb27['provides']&&_0x2b59b4(_0x49bb27['provides'],_0x1215eb);else{if(_0x49bb27 instanceof FacetProvider)_0x915cc3[_0x1215eb]['push'](_0x49bb27),_0x49bb27['facet']['extensions']&&_0x2b59b4(_0x49bb27['facet']['extensions'],_0x307224);else{let _0x120ba2=_0x49bb27['extension'];if(!_0x120ba2)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x49bb27+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x2b59b4(_0x120ba2,_0x1215eb);}}}}}}return _0x2b59b4(_0x1fa9a0,_0x307224),_0x915cc3['reduce']((_0x188d75,_0x418072)=>_0x188d75['concat'](_0x418072));}(_0x5af717,_0x1680d1,_0x675ab4))_0x5b928f instanceof StateField?_0x5a4d22['push'](_0x5b928f):(_0x2c8217[_0x5b928f['facet']['id']]||(_0x2c8217[_0x5b928f['facet']['id']]=[]))['push'](_0x5b928f);let _0x31a942=Object['create'](null),_0x906907=[],_0x31a160=[];for(let _0x13d802 of _0x5a4d22)_0x31a942[_0x13d802['id']]=_0x31a160['length']<<0x1,_0x31a160['push'](_0x57ccde=>_0x13d802['slot'](_0x57ccde));let _0x539983=null==_0x7d1a09?void 0x0:_0x7d1a09['config']['facets'];for(let _0x152217 in _0x2c8217){let _0x428f7c=_0x2c8217[_0x152217],_0x192f6d=_0x428f7c[0x0]['facet'],_0xca17b4=_0x539983&&_0x539983[_0x152217]||[];if(_0x428f7c['every'](_0x162d55=>0x0==_0x162d55['type'])){if(_0x31a942[_0x192f6d['id']]=_0x906907['length']<<0x1|0x1,_0x365279(_0xca17b4,_0x428f7c))_0x906907['push'](_0x7d1a09['facet'](_0x192f6d));else{let _0x368107=_0x192f6d['combine'](_0x428f7c['map'](_0xe0f106=>_0xe0f106['value']));_0x906907['push'](_0x7d1a09&&_0x192f6d['compare'](_0x368107,_0x7d1a09['facet'](_0x192f6d))?_0x7d1a09['facet'](_0x192f6d):_0x368107);}}else{for(let _0x23c975 of _0x428f7c)0x0==_0x23c975['type']?(_0x31a942[_0x23c975['id']]=_0x906907['length']<<0x1|0x1,_0x906907['push'](_0x23c975['value'])):(_0x31a942[_0x23c975['id']]=_0x31a160['length']<<0x1,_0x31a160['push'](_0x2061ef=>_0x23c975['dynamicSlot'](_0x2061ef)));_0x31a942[_0x192f6d['id']]=_0x31a160['length']<<0x1,_0x31a160['push'](_0x209166=>_0x16c8b7(_0x209166,_0x192f6d,_0x428f7c));}}let _0x580fd5=_0x31a160['map'](_0x4d7a27=>_0x4d7a27(_0x31a942));return new Configuration(_0x5af717,_0x675ab4,_0x580fd5,_0x31a942,_0x906907,_0x2c8217);}}function _0x2fdfc0(_0x106eb5,_0x294c92){if(0x1&_0x294c92)return 0x2;let _0x239a5f=_0x294c92>>0x1,_0x3ccdc0=_0x106eb5['status'][_0x239a5f];if(0x4==_0x3ccdc0)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x3ccdc0)return _0x3ccdc0;_0x106eb5['status'][_0x239a5f]=0x4;let _0x305c9a=_0x106eb5['computeSlot'](_0x106eb5,_0x106eb5['config']['dynamicSlots'][_0x239a5f]);return _0x106eb5['status'][_0x239a5f]=0x2|_0x305c9a;}function _0x3d695f(_0x2e772b,_0x2e5955){return 0x1&_0x2e5955?_0x2e772b['config']['staticValues'][_0x2e5955>>0x1]:_0x2e772b['values'][_0x2e5955>>0x1];}const _0x2b36ba=Facet['define'](),_0x1718dc=Facet['define']({'combine':_0xd23e62=>_0xd23e62['some'](_0x5f0686=>_0x5f0686),'static':!0x0}),_0x1987aa=Facet['define']({'combine':_0x23f1d6=>_0x23f1d6['length']?_0x23f1d6[0x0]:void 0x0,'static':!0x0}),_0x29c1e8=Facet['define'](),_0x4f22c1=Facet['define'](),_0x4d58ee=Facet['define'](),_0x319a50=Facet['define']({'combine':_0x2ab0c6=>!!_0x2ab0c6['length']&&_0x2ab0c6[0x0]});class Annotation{constructor(_0x23ab59,_0x8649e3){this['type']=_0x23ab59,this['value']=_0x8649e3;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x3fd57d){return new Annotation(this,_0x3fd57d);}}class StateEffectType{constructor(_0xa27250){this['map']=_0xa27250;}['of'](_0x1fef68){return new StateEffect(this,_0x1fef68);}}class StateEffect{constructor(_0xeae807,_0x549d95){this['type']=_0xeae807,this['value']=_0x549d95;}['map'](_0x347608){let _0x47092a=this['type']['map'](this['value'],_0x347608);return void 0x0===_0x47092a?void 0x0:_0x47092a==this['value']?this:new StateEffect(this['type'],_0x47092a);}['is'](_0x63d84a){return this['type']==_0x63d84a;}static['define'](_0x9124a2={}){return new StateEffectType(_0x9124a2['map']||(_0x4ca767=>_0x4ca767));}static['mapEffects'](_0x5c4654,_0x1132a9){if(!_0x5c4654['length'])return _0x5c4654;let _0x7c1953=[];for(let _0x17e6be of _0x5c4654){let _0x4fc7ca=_0x17e6be['map'](_0x1132a9);_0x4fc7ca&&_0x7c1953['push'](_0x4fc7ca);}return _0x7c1953;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x85a4b3,_0x11d043,_0x34cdca,_0x5cdcff,_0x1eaa73,_0x38d9e2){this['startState']=_0x85a4b3,this['changes']=_0x11d043,this['selection']=_0x34cdca,this['effects']=_0x5cdcff,this['annotations']=_0x1eaa73,this['scrollIntoView']=_0x38d9e2,this['_doc']=null,this['_state']=null,_0x34cdca&&_0x38fa15(_0x34cdca,_0x11d043['newLength']),_0x1eaa73['some'](_0x25f3e2=>_0x25f3e2['type']==Transaction['time'])||(this['annotations']=_0x1eaa73['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x3634c3,_0x23a4a9,_0x18b56f,_0x34c65b,_0x5141e0,_0x2c83f0){return new Transaction(_0x3634c3,_0x23a4a9,_0x18b56f,_0x34c65b,_0x5141e0,_0x2c83f0);}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'](_0x3cf4eb){for(let _0x18d415 of this['annotations'])if(_0x18d415['type']==_0x3cf4eb)return _0x18d415['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x3db95d){let _0x222ef8=this['annotation'](Transaction['userEvent']);return!(!_0x222ef8||!(_0x222ef8==_0x3db95d||_0x222ef8['length']>_0x3db95d['length']&&_0x222ef8['slice'](0x0,_0x3db95d['length'])==_0x3db95d&&'.'==_0x222ef8[_0x3db95d['length']]));}}function _0x5bd5c8(_0x1096ee,_0x563e35){let _0xe2ab2f=[];for(let _0x1a048f=0x0,_0x399d4d=0x0;;){let _0xac9d0,_0x2583e3;if(_0x1a048f<_0x1096ee['length']&&(_0x399d4d==_0x563e35['length']||_0x563e35[_0x399d4d]>=_0x1096ee[_0x1a048f]))_0xac9d0=_0x1096ee[_0x1a048f++],_0x2583e3=_0x1096ee[_0x1a048f++];else{if(!(_0x399d4d<_0x563e35['length']))return _0xe2ab2f;_0xac9d0=_0x563e35[_0x399d4d++],_0x2583e3=_0x563e35[_0x399d4d++];}!_0xe2ab2f['length']||_0xe2ab2f[_0xe2ab2f['length']-0x1]<_0xac9d0?_0xe2ab2f['push'](_0xac9d0,_0x2583e3):_0xe2ab2f[_0xe2ab2f['length']-0x1]<_0x2583e3&&(_0xe2ab2f[_0xe2ab2f['length']-0x1]=_0x2583e3);}}function _0xcc5d17(_0x3f6e4f,_0x87291,_0x5d080f){var _0xce70d1;let _0x2a0e30,_0x1895cf,_0x345aed;return _0x5d080f?(_0x2a0e30=_0x87291['changes'],_0x1895cf=ChangeSet['empty'](_0x87291['changes']['length']),_0x345aed=_0x3f6e4f['changes']['compose'](_0x87291['changes'])):(_0x2a0e30=_0x87291['changes']['map'](_0x3f6e4f['changes']),_0x1895cf=_0x3f6e4f['changes']['mapDesc'](_0x87291['changes'],!0x0),_0x345aed=_0x3f6e4f['changes']['compose'](_0x2a0e30)),{'changes':_0x345aed,'selection':_0x87291['selection']?_0x87291['selection']['map'](_0x1895cf):null===(_0xce70d1=_0x3f6e4f['selection'])||void 0x0===_0xce70d1?void 0x0:_0xce70d1['map'](_0x2a0e30),'effects':StateEffect['mapEffects'](_0x3f6e4f['effects'],_0x2a0e30)['concat'](StateEffect['mapEffects'](_0x87291['effects'],_0x1895cf)),'annotations':_0x3f6e4f['annotations']['length']?_0x3f6e4f['annotations']['concat'](_0x87291['annotations']):_0x87291['annotations'],'scrollIntoView':_0x3f6e4f['scrollIntoView']||_0x87291['scrollIntoView']};}function _0x1743c3(_0x47938f,_0x54c54a,_0x509a63){let _0x40257d=_0x54c54a['selection'],_0xddb484=_0x37c399(_0x54c54a['annotations']);return _0x54c54a['userEvent']&&(_0xddb484=_0xddb484['concat'](Transaction['userEvent']['of'](_0x54c54a['userEvent']))),{'changes':_0x54c54a['changes']instanceof ChangeSet?_0x54c54a['changes']:ChangeSet['of'](_0x54c54a['changes']||[],_0x509a63,_0x47938f['facet'](_0x1987aa)),'selection':_0x40257d&&(_0x40257d instanceof EditorSelection?_0x40257d:EditorSelection['single'](_0x40257d['anchor'],_0x40257d['head'])),'effects':_0x37c399(_0x54c54a['effects']),'annotations':_0xddb484,'scrollIntoView':!!_0x54c54a['scrollIntoView']};}function _0x3a4def(_0x297dc0,_0x42445d,_0x140713){let _0x4666f5=_0x1743c3(_0x297dc0,_0x42445d['length']?_0x42445d[0x0]:{},_0x297dc0['doc']['length']);_0x42445d['length']&&!0x1===_0x42445d[0x0]['filter']&&(_0x140713=!0x1);for(let _0x333170=0x1;_0x333170<_0x42445d['length'];_0x333170++){!0x1===_0x42445d[_0x333170]['filter']&&(_0x140713=!0x1);let _0x10bf6c=!!_0x42445d[_0x333170]['sequential'];_0x4666f5=_0xcc5d17(_0x4666f5,_0x1743c3(_0x297dc0,_0x42445d[_0x333170],_0x10bf6c?_0x4666f5['changes']['newLength']:_0x297dc0['doc']['length']),_0x10bf6c);}let _0x4345c6=Transaction['create'](_0x297dc0,_0x4666f5['changes'],_0x4666f5['selection'],_0x4666f5['effects'],_0x4666f5['annotations'],_0x4666f5['scrollIntoView']);return function(_0x23a424){let _0x5cac66=_0x23a424['startState'],_0x5a842f=_0x5cac66['facet'](_0x4d58ee),_0x43aa90=_0x23a424;for(let _0x55e07f=_0x5a842f['length']-0x1;_0x55e07f>=0x0;_0x55e07f--){let _0x223b2c=_0x5a842f[_0x55e07f](_0x23a424);_0x223b2c&&Object['keys'](_0x223b2c)['length']&&(_0x43aa90=_0xcc5d17(_0x43aa90,_0x1743c3(_0x5cac66,_0x223b2c,_0x23a424['changes']['newLength']),!0x0));}return _0x43aa90==_0x23a424?_0x23a424:Transaction['create'](_0x5cac66,_0x23a424['changes'],_0x23a424['selection'],_0x43aa90['effects'],_0x43aa90['annotations'],_0x43aa90['scrollIntoView']);}(_0x140713?function(_0x691270){let _0x3eede0=_0x691270['startState'],_0x47d3b7=!0x0;for(let _0x300c2c of _0x3eede0['facet'](_0x29c1e8)){let _0x34bdef=_0x300c2c(_0x691270);if(!0x1===_0x34bdef){_0x47d3b7=!0x1;break;}Array['isArray'](_0x34bdef)&&(_0x47d3b7=!0x0===_0x47d3b7?_0x34bdef:_0x5bd5c8(_0x47d3b7,_0x34bdef));}if(!0x0!==_0x47d3b7){let _0x23b22a,_0x322c8e;if(!0x1===_0x47d3b7)_0x322c8e=_0x691270['changes']['invertedDesc'],_0x23b22a=ChangeSet['empty'](_0x3eede0['doc']['length']);else{let _0x5a9b11=_0x691270['changes']['filter'](_0x47d3b7);_0x23b22a=_0x5a9b11['changes'],_0x322c8e=_0x5a9b11['filtered']['mapDesc'](_0x5a9b11['changes'])['invertedDesc'];}_0x691270=Transaction['create'](_0x3eede0,_0x23b22a,_0x691270['selection']&&_0x691270['selection']['map'](_0x322c8e),StateEffect['mapEffects'](_0x691270['effects'],_0x322c8e),_0x691270['annotations'],_0x691270['scrollIntoView']);}let _0x53e054=_0x3eede0['facet'](_0x4f22c1);for(let _0xad1524=_0x53e054['length']-0x1;_0xad1524>=0x0;_0xad1524--){let _0x8a3bea=_0x53e054[_0xad1524](_0x691270);_0x691270=_0x8a3bea instanceof Transaction?_0x8a3bea:Array['isArray'](_0x8a3bea)&&0x1==_0x8a3bea['length']&&_0x8a3bea[0x0]instanceof Transaction?_0x8a3bea[0x0]:_0x3a4def(_0x3eede0,_0x37c399(_0x8a3bea),!0x1);}return _0x691270;}(_0x4345c6):_0x4345c6);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x421311=[];function _0x37c399(_0x321f63){return null==_0x321f63?_0x421311:Array['isArray'](_0x321f63)?_0x321f63:[_0x321f63];}var _0x1068b9=function(_0x432063){return _0x432063[_0x432063['Word']=0x0]='Word',_0x432063[_0x432063['Space']=0x1]='Space',_0x432063[_0x432063['Other']=0x2]='Other',_0x432063;}(_0x1068b9||(_0x1068b9={}));const _0x37538d=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x35de7d;try{_0x35de7d=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x2deab8){}function _0x454160(_0x1c39c7){return _0xa6a065=>{if(!/\S/['test'](_0xa6a065))return _0x1068b9['Space'];if(function(_0x17bbce){if(_0x35de7d)return _0x35de7d['test'](_0x17bbce);for(let _0x5267db=0x0;_0x5267db<_0x17bbce['length'];_0x5267db++){let _0x40b757=_0x17bbce[_0x5267db];if(/\w/['test'](_0x40b757)||_0x40b757>'\u0080'&&(_0x40b757['toUpperCase']()!=_0x40b757['toLowerCase']()||_0x37538d['test'](_0x40b757)))return!0x0;}return!0x1;}(_0xa6a065))return _0x1068b9['Word'];for(let _0x5ae4d8=0x0;_0x5ae4d8<_0x1c39c7['length'];_0x5ae4d8++)if(_0xa6a065['indexOf'](_0x1c39c7[_0x5ae4d8])>-0x1)return _0x1068b9['Word'];return _0x1068b9['Other'];};}class EditorState{constructor(_0x2305f2,_0x56e5cc,_0x4eef2c,_0x7aa45a,_0x4d19f6,_0x1fa8df){this['config']=_0x2305f2,this['doc']=_0x56e5cc,this['selection']=_0x4eef2c,this['values']=_0x7aa45a,this['status']=_0x2305f2['statusTemplate']['slice'](),this['computeSlot']=_0x4d19f6,_0x1fa8df&&(_0x1fa8df['_state']=this);for(let _0x56ad42=0x0;_0x56ad42<this['config']['dynamicSlots']['length'];_0x56ad42++)_0x2fdfc0(this,_0x56ad42<<0x1);this['computeSlot']=null;}['field'](_0x297e02,_0x3f2203=!0x0){let _0x1750bb=this['config']['address'][_0x297e02['id']];if(null!=_0x1750bb)return _0x2fdfc0(this,_0x1750bb),_0x3d695f(this,_0x1750bb);if(_0x3f2203)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x77891c){return _0x3a4def(this,_0x77891c,!0x0);}['applyTransaction'](_0x2e89b1){let _0x39150d,_0x19bb48=this['config'],{base:_0x2ad213,compartments:_0xfbca22}=_0x19bb48;for(let _0x106b4d of _0x2e89b1['effects'])_0x106b4d['is'](Compartment['reconfigure'])?(_0x19bb48&&(_0xfbca22=new Map(),_0x19bb48['compartments']['forEach']((_0x5c2ae6,_0x266e20)=>_0xfbca22['set'](_0x266e20,_0x5c2ae6)),_0x19bb48=null),_0xfbca22['set'](_0x106b4d['value']['compartment'],_0x106b4d['value']['extension'])):_0x106b4d['is'](StateEffect['reconfigure'])?(_0x19bb48=null,_0x2ad213=_0x106b4d['value']):_0x106b4d['is'](StateEffect['appendConfig'])&&(_0x19bb48=null,_0x2ad213=_0x37c399(_0x2ad213)['concat'](_0x106b4d['value']));if(_0x19bb48)_0x39150d=_0x2e89b1['startState']['values']['slice']();else _0x19bb48=Configuration['resolve'](_0x2ad213,_0xfbca22,this),_0x39150d=new EditorState(_0x19bb48,this['doc'],this['selection'],_0x19bb48['dynamicSlots']['map'](()=>null),(_0x4007fc,_0x122f46)=>_0x122f46['reconfigure'](_0x4007fc,this),null)['values'];let _0x5c1280=_0x2e89b1['startState']['facet'](_0x1718dc)?_0x2e89b1['newSelection']:_0x2e89b1['newSelection']['asSingle']();new EditorState(_0x19bb48,_0x2e89b1['newDoc'],_0x5c1280,_0x39150d,(_0x1b9809,_0x23de31)=>_0x23de31['update'](_0x1b9809,_0x2e89b1),_0x2e89b1);}['replaceSelection'](_0x100854){return'string'==typeof _0x100854&&(_0x100854=this['toText'](_0x100854)),this['changeByRange'](_0x2f85cb=>({'changes':{'from':_0x2f85cb['from'],'to':_0x2f85cb['to'],'insert':_0x100854},'range':EditorSelection['cursor'](_0x2f85cb['from']+_0x100854['length'])}));}['changeByRange'](_0x2ab8ff){let _0x3ea532=this['selection'],_0x2d9960=_0x2ab8ff(_0x3ea532['ranges'][0x0]),_0x3513f5=this['changes'](_0x2d9960['changes']),_0x5202c7=[_0x2d9960['range']],_0x473255=_0x37c399(_0x2d9960['effects']);for(let _0x2bf87f=0x1;_0x2bf87f<_0x3ea532['ranges']['length'];_0x2bf87f++){let _0x1dbc82=_0x2ab8ff(_0x3ea532['ranges'][_0x2bf87f]),_0x994748=this['changes'](_0x1dbc82['changes']),_0x44108a=_0x994748['map'](_0x3513f5);for(let _0x41d6e9=0x0;_0x41d6e9<_0x2bf87f;_0x41d6e9++)_0x5202c7[_0x41d6e9]=_0x5202c7[_0x41d6e9]['map'](_0x44108a);let _0x5ba764=_0x3513f5['mapDesc'](_0x994748,!0x0);_0x5202c7['push'](_0x1dbc82['range']['map'](_0x5ba764)),_0x3513f5=_0x3513f5['compose'](_0x44108a),_0x473255=StateEffect['mapEffects'](_0x473255,_0x44108a)['concat'](StateEffect['mapEffects'](_0x37c399(_0x1dbc82['effects']),_0x5ba764));}return{'changes':_0x3513f5,'selection':EditorSelection['create'](_0x5202c7,_0x3ea532['mainIndex']),'effects':_0x473255};}['changes'](_0x377d7d=[]){return _0x377d7d instanceof ChangeSet?_0x377d7d:ChangeSet['of'](_0x377d7d,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x3dad55){return Text['of'](_0x3dad55['split'](this['facet'](EditorState['lineSeparator'])||_0x298b1e));}['sliceDoc'](_0x46585c=0x0,_0x437ec9=this['doc']['length']){return this['doc']['sliceString'](_0x46585c,_0x437ec9,this['lineBreak']);}['facet'](_0x432bfb){let _0x4962df=this['config']['address'][_0x432bfb['id']];return null==_0x4962df?_0x432bfb['default']:(_0x2fdfc0(this,_0x4962df),_0x3d695f(this,_0x4962df));}['toJSON'](_0x22fe7a){let _0x542037={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x22fe7a)for(let _0x37a5f6 in _0x22fe7a){let _0x83fbab=_0x22fe7a[_0x37a5f6];_0x83fbab instanceof StateField&&null!=this['config']['address'][_0x83fbab['id']]&&(_0x542037[_0x37a5f6]=_0x83fbab['spec']['toJSON'](this['field'](_0x22fe7a[_0x37a5f6]),this));}return _0x542037;}static['fromJSON'](_0x8c0c36,_0x215702={},_0xa206fa){if(!_0x8c0c36||'string'!=typeof _0x8c0c36['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x2a2a96=[];if(_0xa206fa){for(let _0x8db6e5 in _0xa206fa)if(Object['prototype']['hasOwnProperty']['call'](_0x8c0c36,_0x8db6e5)){let _0x87a8fe=_0xa206fa[_0x8db6e5],_0xdb3ab5=_0x8c0c36[_0x8db6e5];_0x2a2a96['push'](_0x87a8fe['init'](_0x51fe65=>_0x87a8fe['spec']['fromJSON'](_0xdb3ab5,_0x51fe65)));}}return EditorState['create']({'doc':_0x8c0c36['doc'],'selection':EditorSelection['fromJSON'](_0x8c0c36['selection']),'extensions':_0x215702['extensions']?_0x2a2a96['concat']([_0x215702['extensions']]):_0x2a2a96});}static['create'](_0x1fee52={}){let _0x4d3ad8=Configuration['resolve'](_0x1fee52['extensions']||[],new Map()),_0x38d688=_0x1fee52['doc']instanceof Text?_0x1fee52['doc']:Text['of']((_0x1fee52['doc']||'')['split'](_0x4d3ad8['staticFacet'](EditorState['lineSeparator'])||_0x298b1e)),_0x100644=_0x1fee52['selection']?_0x1fee52['selection']instanceof EditorSelection?_0x1fee52['selection']:EditorSelection['single'](_0x1fee52['selection']['anchor'],_0x1fee52['selection']['head']):EditorSelection['single'](0x0);return _0x38fa15(_0x100644,_0x38d688['length']),_0x4d3ad8['staticFacet'](_0x1718dc)||(_0x100644=_0x100644['asSingle']()),new EditorState(_0x4d3ad8,_0x38d688,_0x100644,_0x4d3ad8['dynamicSlots']['map'](()=>null),(_0x209220,_0x59ed77)=>_0x59ed77['create'](_0x209220),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x319a50);}['phrase'](_0x25ea39,..._0x3eb823){for(let _0x2c5691 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x2c5691,_0x25ea39)){_0x25ea39=_0x2c5691[_0x25ea39];break;}return _0x3eb823['length']&&(_0x25ea39=_0x25ea39['replace'](/\$(\$|\d*)/g,(_0x57c9e9,_0x20c931)=>{if('$'==_0x20c931)return'$';let _0x5dfd7d=+(_0x20c931||0x1);return!_0x5dfd7d||_0x5dfd7d>_0x3eb823['length']?_0x57c9e9:_0x3eb823[_0x5dfd7d-0x1];})),_0x25ea39;}['languageDataAt'](_0x2fbc86,_0x100330,_0x2b9824=-0x1){let _0x588eda=[];for(let _0x4a5a6f of this['facet'](_0x2b36ba))for(let _0x2d11b7 of _0x4a5a6f(this,_0x100330,_0x2b9824))Object['prototype']['hasOwnProperty']['call'](_0x2d11b7,_0x2fbc86)&&_0x588eda['push'](_0x2d11b7[_0x2fbc86]);return _0x588eda;}['charCategorizer'](_0x4a417a){return _0x454160(this['languageDataAt']('wordChars',_0x4a417a)['join'](''));}['wordAt'](_0x5862ef){let {text:_0x343e68,from:_0x4c84bd,length:_0x5e2695}=this['doc']['lineAt'](_0x5862ef),_0x16246f=this['charCategorizer'](_0x5862ef),_0x16a032=_0x5862ef-_0x4c84bd,_0x5f4ec0=_0x5862ef-_0x4c84bd;for(;_0x16a032>0x0;){let _0x36b60c=_0x2044d7(_0x343e68,_0x16a032,!0x1);if(_0x16246f(_0x343e68['slice'](_0x36b60c,_0x16a032))!=_0x1068b9['Word'])break;_0x16a032=_0x36b60c;}for(;_0x5f4ec0<_0x5e2695;){let _0xe0bdca=_0x2044d7(_0x343e68,_0x5f4ec0);if(_0x16246f(_0x343e68['slice'](_0x5f4ec0,_0xe0bdca))!=_0x1068b9['Word'])break;_0x5f4ec0=_0xe0bdca;}return _0x16a032==_0x5f4ec0?null:EditorSelection['range'](_0x16a032+_0x4c84bd,_0x5f4ec0+_0x4c84bd);}}function _0x2df370(_0x19edf5,_0x397d34,_0x181b3b={}){let _0x44824d={};for(let _0x36ce21 of _0x19edf5)for(let _0x3ba634 of Object['keys'](_0x36ce21)){let _0x89253a=_0x36ce21[_0x3ba634],_0x1bee49=_0x44824d[_0x3ba634];if(void 0x0===_0x1bee49)_0x44824d[_0x3ba634]=_0x89253a;else{if(_0x1bee49===_0x89253a||void 0x0===_0x89253a);else{if(!Object['hasOwnProperty']['call'](_0x181b3b,_0x3ba634))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x3ba634);_0x44824d[_0x3ba634]=_0x181b3b[_0x3ba634](_0x1bee49,_0x89253a);}}}for(let _0x328195 in _0x397d34)void 0x0===_0x44824d[_0x328195]&&(_0x44824d[_0x328195]=_0x397d34[_0x328195]);return _0x44824d;}EditorState['allowMultipleSelections']=_0x1718dc,EditorState['tabSize']=Facet['define']({'combine':_0x248696=>_0x248696['length']?_0x248696[0x0]:0x4}),EditorState['lineSeparator']=_0x1987aa,EditorState['readOnly']=_0x319a50,EditorState['phrases']=Facet['define']({'compare'(_0x567f52,_0x155db8){let _0x2f8816=Object['keys'](_0x567f52),_0x4633b3=Object['keys'](_0x155db8);return _0x2f8816['length']==_0x4633b3['length']&&_0x2f8816['every'](_0x469a26=>_0x567f52[_0x469a26]==_0x155db8[_0x469a26]);}}),EditorState['languageData']=_0x2b36ba,EditorState['changeFilter']=_0x29c1e8,EditorState['transactionFilter']=_0x4f22c1,EditorState['transactionExtender']=_0x4d58ee,Compartment['reconfigure']=StateEffect['define']();class _0x347eac{['eq'](_0x594c6f){return this==_0x594c6f;}['range'](_0x5de6cc,_0x3883c2=_0x5de6cc){return _0x3e1cba['create'](_0x5de6cc,_0x3883c2,this);}}_0x347eac['prototype']['startSide']=_0x347eac['prototype']['endSide']=0x0,_0x347eac['prototype']['point']=!0x1,_0x347eac['prototype']['mapMode']=_0x32252d['TrackDel'];let _0x3e1cba=class _0x492113{constructor(_0x54aefd,_0x3d1986,_0x931877){this['from']=_0x54aefd,this['to']=_0x3d1986,this['value']=_0x931877;}static['create'](_0x2eac0d,_0x36d283,_0x10e159){return new _0x492113(_0x2eac0d,_0x36d283,_0x10e159);}};function _0x792f65(_0x9d4e18,_0x30abaa){return _0x9d4e18['from']-_0x30abaa['from']||_0x9d4e18['value']['startSide']-_0x30abaa['value']['startSide'];}class _0x4fa913{constructor(_0x2de0a8,_0x19fd6b,_0x422071,_0x26d53b){this['from']=_0x2de0a8,this['to']=_0x19fd6b,this['value']=_0x422071,this['maxPoint']=_0x26d53b;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x5602ca,_0x510423,_0xdc1b19,_0x25fde1=0x0){let _0x383f2f=_0xdc1b19?this['to']:this['from'];for(let _0x12c1dc=_0x25fde1,_0x21b696=_0x383f2f['length'];;){if(_0x12c1dc==_0x21b696)return _0x12c1dc;let _0x3084dd=_0x12c1dc+_0x21b696>>0x1,_0x4bb946=_0x383f2f[_0x3084dd]-_0x5602ca||(_0xdc1b19?this['value'][_0x3084dd]['endSide']:this['value'][_0x3084dd]['startSide'])-_0x510423;if(_0x3084dd==_0x12c1dc)return _0x4bb946>=0x0?_0x12c1dc:_0x21b696;_0x4bb946>=0x0?_0x21b696=_0x3084dd:_0x12c1dc=_0x3084dd+0x1;}}['between'](_0x2f317b,_0x99709b,_0x1f480c,_0x37a7cb){for(let _0x5839b0=this['findIndex'](_0x99709b,-0x3b9aca00,!0x0),_0x2f763e=this['findIndex'](_0x1f480c,0x3b9aca00,!0x1,_0x5839b0);_0x5839b0<_0x2f763e;_0x5839b0++)if(!0x1===_0x37a7cb(this['from'][_0x5839b0]+_0x2f317b,this['to'][_0x5839b0]+_0x2f317b,this['value'][_0x5839b0]))return!0x1;}['map'](_0x31c0af,_0x429b82){let _0x435091=[],_0x20f656=[],_0xb10a1d=[],_0x2612fb=-0x1,_0x304df0=-0x1;for(let _0x40fded=0x0;_0x40fded<this['value']['length'];_0x40fded++){let _0xbe7a2e,_0x46bf72,_0xb64338=this['value'][_0x40fded],_0x14a796=this['from'][_0x40fded]+_0x31c0af,_0x6e4bbc=this['to'][_0x40fded]+_0x31c0af;if(_0x14a796==_0x6e4bbc){let _0x2b302e=_0x429b82['mapPos'](_0x14a796,_0xb64338['startSide'],_0xb64338['mapMode']);if(null==_0x2b302e)continue;if(_0xbe7a2e=_0x46bf72=_0x2b302e,_0xb64338['startSide']!=_0xb64338['endSide']&&(_0x46bf72=_0x429b82['mapPos'](_0x14a796,_0xb64338['endSide']),_0x46bf72<_0xbe7a2e))continue;}else{if(_0xbe7a2e=_0x429b82['mapPos'](_0x14a796,_0xb64338['startSide']),_0x46bf72=_0x429b82['mapPos'](_0x6e4bbc,_0xb64338['endSide']),_0xbe7a2e>_0x46bf72||_0xbe7a2e==_0x46bf72&&_0xb64338['startSide']>0x0&&_0xb64338['endSide']<=0x0)continue;}(_0x46bf72-_0xbe7a2e||_0xb64338['endSide']-_0xb64338['startSide'])<0x0||(_0x2612fb<0x0&&(_0x2612fb=_0xbe7a2e),_0xb64338['point']&&(_0x304df0=Math['max'](_0x304df0,_0x46bf72-_0xbe7a2e)),_0x435091['push'](_0xb64338),_0x20f656['push'](_0xbe7a2e-_0x2612fb),_0xb10a1d['push'](_0x46bf72-_0x2612fb));}return{'mapped':_0x435091['length']?new _0x4fa913(_0x20f656,_0xb10a1d,_0x435091,_0x304df0):null,'pos':_0x2612fb};}}class RangeSet{constructor(_0x170c22,_0x4a6fbd,_0x23fe13,_0x19a5de){this['chunkPos']=_0x170c22,this['chunk']=_0x4a6fbd,this['nextLayer']=_0x23fe13,this['maxPoint']=_0x19a5de;}static['create'](_0x2efe2c,_0x16f23f,_0x4ce93d,_0x302880){return new RangeSet(_0x2efe2c,_0x16f23f,_0x4ce93d,_0x302880);}get['length'](){let _0x4f292e=this['chunk']['length']-0x1;return _0x4f292e<0x0?0x0:Math['max'](this['chunkEnd'](_0x4f292e),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x5b8257=this['nextLayer']['size'];for(let _0x57c7ac of this['chunk'])_0x5b8257+=_0x57c7ac['value']['length'];return _0x5b8257;}['chunkEnd'](_0x2312a6){return this['chunkPos'][_0x2312a6]+this['chunk'][_0x2312a6]['length'];}['update'](_0x5b960e){let {add:_0x5cc2fd=[],sort:_0xe97c47=!0x1,filterFrom:_0x441127=0x0,filterTo:_0x551898=this['length']}=_0x5b960e,_0x4c1b51=_0x5b960e['filter'];if(0x0==_0x5cc2fd['length']&&!_0x4c1b51)return this;if(_0xe97c47&&(_0x5cc2fd=_0x5cc2fd['slice']()['sort'](_0x792f65)),this['isEmpty'])return _0x5cc2fd['length']?RangeSet['of'](_0x5cc2fd):this;let _0x114e0f=new _0x195056(this,null,-0x1)['goto'](0x0),_0x16e6fd=0x0,_0x2f8da8=[],_0x4e513d=new RangeSetBuilder();for(;_0x114e0f['value']||_0x16e6fd<_0x5cc2fd['length'];)if(_0x16e6fd<_0x5cc2fd['length']&&(_0x114e0f['from']-_0x5cc2fd[_0x16e6fd]['from']||_0x114e0f['startSide']-_0x5cc2fd[_0x16e6fd]['value']['startSide'])>=0x0){let _0x5c5251=_0x5cc2fd[_0x16e6fd++];_0x4e513d['addInner'](_0x5c5251['from'],_0x5c5251['to'],_0x5c5251['value'])||_0x2f8da8['push'](_0x5c5251);}else 0x1==_0x114e0f['rangeIndex']&&_0x114e0f['chunkIndex']<this['chunk']['length']&&(_0x16e6fd==_0x5cc2fd['length']||this['chunkEnd'](_0x114e0f['chunkIndex'])<_0x5cc2fd[_0x16e6fd]['from'])&&(!_0x4c1b51||_0x441127>this['chunkEnd'](_0x114e0f['chunkIndex'])||_0x551898<this['chunkPos'][_0x114e0f['chunkIndex']])&&_0x4e513d['addChunk'](this['chunkPos'][_0x114e0f['chunkIndex']],this['chunk'][_0x114e0f['chunkIndex']])?_0x114e0f['nextChunk']():((!_0x4c1b51||_0x441127>_0x114e0f['to']||_0x551898<_0x114e0f['from']||_0x4c1b51(_0x114e0f['from'],_0x114e0f['to'],_0x114e0f['value']))&&(_0x4e513d['addInner'](_0x114e0f['from'],_0x114e0f['to'],_0x114e0f['value'])||_0x2f8da8['push'](_0x3e1cba['create'](_0x114e0f['from'],_0x114e0f['to'],_0x114e0f['value']))),_0x114e0f['next']());return _0x4e513d['finishInner'](this['nextLayer']['isEmpty']&&!_0x2f8da8['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x2f8da8,'filter':_0x4c1b51,'filterFrom':_0x441127,'filterTo':_0x551898}));}['map'](_0x2d5f80){if(_0x2d5f80['empty']||this['isEmpty'])return this;let _0xc0f35e=[],_0x348f84=[],_0x3cd116=-0x1;for(let _0x1bef3b=0x0;_0x1bef3b<this['chunk']['length'];_0x1bef3b++){let _0x456d7c=this['chunkPos'][_0x1bef3b],_0xc9f196=this['chunk'][_0x1bef3b],_0x6504c1=_0x2d5f80['touchesRange'](_0x456d7c,_0x456d7c+_0xc9f196['length']);if(!0x1===_0x6504c1)_0x3cd116=Math['max'](_0x3cd116,_0xc9f196['maxPoint']),_0xc0f35e['push'](_0xc9f196),_0x348f84['push'](_0x2d5f80['mapPos'](_0x456d7c));else{if(!0x0===_0x6504c1){let {mapped:_0x23037f,pos:_0x22acff}=_0xc9f196['map'](_0x456d7c,_0x2d5f80);_0x23037f&&(_0x3cd116=Math['max'](_0x3cd116,_0x23037f['maxPoint']),_0xc0f35e['push'](_0x23037f),_0x348f84['push'](_0x22acff));}}}let _0x126e38=this['nextLayer']['map'](_0x2d5f80);return 0x0==_0xc0f35e['length']?_0x126e38:new RangeSet(_0x348f84,_0xc0f35e,_0x126e38||RangeSet['empty'],_0x3cd116);}['between'](_0x4d76dc,_0x55822d,_0x23b753){if(!this['isEmpty']){for(let _0x7c6a71=0x0;_0x7c6a71<this['chunk']['length'];_0x7c6a71++){let _0x33e956=this['chunkPos'][_0x7c6a71],_0x273a9b=this['chunk'][_0x7c6a71];if(_0x55822d>=_0x33e956&&_0x4d76dc<=_0x33e956+_0x273a9b['length']&&!0x1===_0x273a9b['between'](_0x33e956,_0x4d76dc-_0x33e956,_0x55822d-_0x33e956,_0x23b753))return;}this['nextLayer']['between'](_0x4d76dc,_0x55822d,_0x23b753);}}['iter'](_0xe6620e=0x0){return _0xb8e864['from']([this])['goto'](_0xe6620e);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x17b92d,_0x1724ab=0x0){return _0xb8e864['from'](_0x17b92d)['goto'](_0x1724ab);}static['compare'](_0x57e95e,_0x40c8ef,_0x3ba1d6,_0x3cc0fa,_0x5d855c=-0x1){let _0x3806d2=_0x57e95e['filter'](_0x18f9e6=>_0x18f9e6['maxPoint']>0x0||!_0x18f9e6['isEmpty']&&_0x18f9e6['maxPoint']>=_0x5d855c),_0x4841e0=_0x40c8ef['filter'](_0x2d37fd=>_0x2d37fd['maxPoint']>0x0||!_0x2d37fd['isEmpty']&&_0x2d37fd['maxPoint']>=_0x5d855c),_0x19e059=_0x356da1(_0x3806d2,_0x4841e0,_0x3ba1d6),_0x16c3f0=new _0xb5d444(_0x3806d2,_0x19e059,_0x5d855c),_0x544bf1=new _0xb5d444(_0x4841e0,_0x19e059,_0x5d855c);_0x3ba1d6['iterGaps']((_0x45d945,_0xfa0e54,_0x33f174)=>_0x493962(_0x16c3f0,_0x45d945,_0x544bf1,_0xfa0e54,_0x33f174,_0x3cc0fa)),_0x3ba1d6['empty']&&0x0==_0x3ba1d6['length']&&_0x493962(_0x16c3f0,0x0,_0x544bf1,0x0,0x0,_0x3cc0fa);}static['eq'](_0x22f72d,_0x3b19ab,_0x104dae=0x0,_0x2633d9){null==_0x2633d9&&(_0x2633d9=0x3b9ac9ff);let _0x116619=_0x22f72d['filter'](_0x1c2c68=>!_0x1c2c68['isEmpty']&&_0x3b19ab['indexOf'](_0x1c2c68)<0x0),_0x293890=_0x3b19ab['filter'](_0x5ae989=>!_0x5ae989['isEmpty']&&_0x22f72d['indexOf'](_0x5ae989)<0x0);if(_0x116619['length']!=_0x293890['length'])return!0x1;if(!_0x116619['length'])return!0x0;let _0x24a4a3=_0x356da1(_0x116619,_0x293890),_0x4a3184=new _0xb5d444(_0x116619,_0x24a4a3,0x0)['goto'](_0x104dae),_0x468d85=new _0xb5d444(_0x293890,_0x24a4a3,0x0)['goto'](_0x104dae);for(;;){if(_0x4a3184['to']!=_0x468d85['to']||!_0x145da6(_0x4a3184['active'],_0x468d85['active'])||_0x4a3184['point']&&(!_0x468d85['point']||!_0x4a3184['point']['eq'](_0x468d85['point'])))return!0x1;if(_0x4a3184['to']>_0x2633d9)return!0x0;_0x4a3184['next'](),_0x468d85['next']();}}static['spans'](_0x326228,_0x677c48,_0x548f23,_0x21bb8e,_0x27bcd2=-0x1){let _0x10f910=new _0xb5d444(_0x326228,null,_0x27bcd2)['goto'](_0x677c48),_0x5a0c88=_0x677c48,_0x39e317=_0x10f910['openStart'];for(;;){let _0x1cf6e6=Math['min'](_0x10f910['to'],_0x548f23);if(_0x10f910['point']){let _0x5def7b=_0x10f910['activeForPoint'](_0x10f910['to']),_0x3c99f2=_0x10f910['pointFrom']<_0x677c48?_0x5def7b['length']+0x1:_0x10f910['point']['startSide']<0x0?_0x5def7b['length']:Math['min'](_0x5def7b['length'],_0x39e317);_0x21bb8e['point'](_0x5a0c88,_0x1cf6e6,_0x10f910['point'],_0x5def7b,_0x3c99f2,_0x10f910['pointRank']),_0x39e317=Math['min'](_0x10f910['openEnd'](_0x1cf6e6),_0x5def7b['length']);}else _0x1cf6e6>_0x5a0c88&&(_0x21bb8e['span'](_0x5a0c88,_0x1cf6e6,_0x10f910['active'],_0x39e317),_0x39e317=_0x10f910['openEnd'](_0x1cf6e6));if(_0x10f910['to']>_0x548f23)return _0x39e317+(_0x10f910['point']&&_0x10f910['to']>_0x548f23?0x1:0x0);_0x5a0c88=_0x10f910['to'],_0x10f910['next']();}}static['of'](_0x1a2813,_0x531b56=!0x1){let _0x39f6b1=new RangeSetBuilder();for(let _0x5e0c64 of _0x1a2813 instanceof _0x3e1cba?[_0x1a2813]:_0x531b56?function(_0x3808c3){if(_0x3808c3['length']>0x1)for(let _0x635b2d=_0x3808c3[0x0],_0x58c5d5=0x1;_0x58c5d5<_0x3808c3['length'];_0x58c5d5++){let _0x1f994e=_0x3808c3[_0x58c5d5];if(_0x792f65(_0x635b2d,_0x1f994e)>0x0)return _0x3808c3['slice']()['sort'](_0x792f65);_0x635b2d=_0x1f994e;}return _0x3808c3;}(_0x1a2813):_0x1a2813)_0x39f6b1['add'](_0x5e0c64['from'],_0x5e0c64['to'],_0x5e0c64['value']);return _0x39f6b1['finish']();}static['join'](_0x3c0501){if(!_0x3c0501['length'])return RangeSet['empty'];let _0x51c096=_0x3c0501[_0x3c0501['length']-0x1];for(let _0xd17792=_0x3c0501['length']-0x2;_0xd17792>=0x0;_0xd17792--)for(let _0x4bca00=_0x3c0501[_0xd17792];_0x4bca00!=RangeSet['empty'];_0x4bca00=_0x4bca00['nextLayer'])_0x51c096=new RangeSet(_0x4bca00['chunkPos'],_0x4bca00['chunk'],_0x51c096,Math['max'](_0x4bca00['maxPoint'],_0x51c096['maxPoint']));return _0x51c096;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x47c780){this['chunks']['push'](new _0x4fa913(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,_0x47c780&&(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'](_0x36bf94,_0x3a6628,_0x8ab6cf){this['addInner'](_0x36bf94,_0x3a6628,_0x8ab6cf)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x36bf94,_0x3a6628,_0x8ab6cf);}['addInner'](_0x15337d,_0x8df02f,_0x3f09ce){let _0x3010f2=_0x15337d-this['lastTo']||_0x3f09ce['startSide']-this['last']['endSide'];if(_0x3010f2<=0x0&&(_0x15337d-this['lastFrom']||_0x3f09ce['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x3010f2<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x15337d),this['from']['push'](_0x15337d-this['chunkStart']),this['to']['push'](_0x8df02f-this['chunkStart']),this['last']=_0x3f09ce,this['lastFrom']=_0x15337d,this['lastTo']=_0x8df02f,this['value']['push'](_0x3f09ce),_0x3f09ce['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x8df02f-_0x15337d)),!0x0);}['addChunk'](_0x2e6029,_0x53470d){if((_0x2e6029-this['lastTo']||_0x53470d['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x53470d['maxPoint']),this['chunks']['push'](_0x53470d),this['chunkPos']['push'](_0x2e6029);let _0x2fd56b=_0x53470d['value']['length']-0x1;return this['last']=_0x53470d['value'][_0x2fd56b],this['lastFrom']=_0x53470d['from'][_0x2fd56b]+_0x2e6029,this['lastTo']=_0x53470d['to'][_0x2fd56b]+_0x2e6029,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x5081b9){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x5081b9;let _0x1e6e04=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x5081b9):_0x5081b9,this['setMaxPoint']);return this['from']=null,_0x1e6e04;}}function _0x356da1(_0xec10d4,_0x21739a,_0x4589ec){let _0x25a993=new Map();for(let _0x5a708b of _0xec10d4)for(let _0x3e694d=0x0;_0x3e694d<_0x5a708b['chunk']['length'];_0x3e694d++)_0x5a708b['chunk'][_0x3e694d]['maxPoint']<=0x0&&_0x25a993['set'](_0x5a708b['chunk'][_0x3e694d],_0x5a708b['chunkPos'][_0x3e694d]);let _0xc6dc75=new Set();for(let _0x287ddc of _0x21739a)for(let _0x5a5e74=0x0;_0x5a5e74<_0x287ddc['chunk']['length'];_0x5a5e74++){let _0x5b1e61=_0x25a993['get'](_0x287ddc['chunk'][_0x5a5e74]);null==_0x5b1e61||(_0x4589ec?_0x4589ec['mapPos'](_0x5b1e61):_0x5b1e61)!=_0x287ddc['chunkPos'][_0x5a5e74]||(null==_0x4589ec?void 0x0:_0x4589ec['touchesRange'](_0x5b1e61,_0x5b1e61+_0x287ddc['chunk'][_0x5a5e74]['length']))||_0xc6dc75['add'](_0x287ddc['chunk'][_0x5a5e74]);}return _0xc6dc75;}class _0x195056{constructor(_0x45cb6d,_0x2ab0a4,_0x1f2e53,_0x1f252a=0x0){this['layer']=_0x45cb6d,this['skip']=_0x2ab0a4,this['minPoint']=_0x1f2e53,this['rank']=_0x1f252a;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x32ad68,_0x156fa2=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x32ad68,_0x156fa2,!0x1),this;}['gotoInner'](_0x5539a4,_0x8a7df,_0x5e6d8b){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x9c6beb=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x9c6beb)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x5539a4||_0x9c6beb['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x5e6d8b=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x4685f1=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x5539a4-this['layer']['chunkPos'][this['chunkIndex']],_0x8a7df,!0x0);(!_0x5e6d8b||this['rangeIndex']<_0x4685f1)&&this['setRangeIndex'](_0x4685f1);}this['next']();}['forward'](_0x21aab9,_0x463f05){(this['to']-_0x21aab9||this['endSide']-_0x463f05)<0x0&&this['gotoInner'](_0x21aab9,_0x463f05,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x290a64=this['layer']['chunkPos'][this['chunkIndex']],_0x1bbc87=this['layer']['chunk'][this['chunkIndex']],_0x554181=_0x290a64+_0x1bbc87['from'][this['rangeIndex']];if(this['from']=_0x554181,this['to']=_0x290a64+_0x1bbc87['to'][this['rangeIndex']],this['value']=_0x1bbc87['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0xb97ebf){if(_0xb97ebf==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']=_0xb97ebf;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x209d86){return this['from']-_0x209d86['from']||this['startSide']-_0x209d86['startSide']||this['rank']-_0x209d86['rank']||this['to']-_0x209d86['to']||this['endSide']-_0x209d86['endSide'];}}class _0xb8e864{constructor(_0x321742){this['heap']=_0x321742;}static['from'](_0x1fad7e,_0x40114a=null,_0x47cdfe=-0x1){let _0x58eb31=[];for(let _0x4da059=0x0;_0x4da059<_0x1fad7e['length'];_0x4da059++)for(let _0x392a66=_0x1fad7e[_0x4da059];!_0x392a66['isEmpty'];_0x392a66=_0x392a66['nextLayer'])_0x392a66['maxPoint']>=_0x47cdfe&&_0x58eb31['push'](new _0x195056(_0x392a66,_0x40114a,_0x47cdfe,_0x4da059));return 0x1==_0x58eb31['length']?_0x58eb31[0x0]:new _0xb8e864(_0x58eb31);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x40b9bb,_0xd72789=-0x3b9aca00){for(let _0x54525c of this['heap'])_0x54525c['goto'](_0x40b9bb,_0xd72789);for(let _0x591c56=this['heap']['length']>>0x1;_0x591c56>=0x0;_0x591c56--)_0xd6c7ad(this['heap'],_0x591c56);return this['next'](),this;}['forward'](_0xa35329,_0x12baeb){for(let _0x9250c6 of this['heap'])_0x9250c6['forward'](_0xa35329,_0x12baeb);for(let _0x1f6ee9=this['heap']['length']>>0x1;_0x1f6ee9>=0x0;_0x1f6ee9--)_0xd6c7ad(this['heap'],_0x1f6ee9);(this['to']-_0xa35329||this['value']['endSide']-_0x12baeb)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x3e9c6e=this['heap'][0x0];this['from']=_0x3e9c6e['from'],this['to']=_0x3e9c6e['to'],this['value']=_0x3e9c6e['value'],this['rank']=_0x3e9c6e['rank'],_0x3e9c6e['value']&&_0x3e9c6e['next'](),_0xd6c7ad(this['heap'],0x0);}}}function _0xd6c7ad(_0x59a24c,_0x24392c){for(let _0x1ac1c9=_0x59a24c[_0x24392c];;){let _0x55c067=0x1+(_0x24392c<<0x1);if(_0x55c067>=_0x59a24c['length'])break;let _0x1264e1=_0x59a24c[_0x55c067];if(_0x55c067+0x1<_0x59a24c['length']&&_0x1264e1['compare'](_0x59a24c[_0x55c067+0x1])>=0x0&&(_0x1264e1=_0x59a24c[_0x55c067+0x1],_0x55c067++),_0x1ac1c9['compare'](_0x1264e1)<0x0)break;_0x59a24c[_0x55c067]=_0x1ac1c9,_0x59a24c[_0x24392c]=_0x1264e1,_0x24392c=_0x55c067;}}class _0xb5d444{constructor(_0x3f288b,_0x550220,_0x5ce680){this['minPoint']=_0x5ce680,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']=_0xb8e864['from'](_0x3f288b,_0x550220,_0x5ce680);}['goto'](_0x4d096f,_0x7baf91=-0x3b9aca00){return this['cursor']['goto'](_0x4d096f,_0x7baf91),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x4d096f,this['endSide']=_0x7baf91,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x6ec90,_0x3d1a16){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x6ec90||this['active'][this['minActive']]['endSide']-_0x3d1a16)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x6ec90,_0x3d1a16);}['removeActive'](_0x509194){_0x23e31c(this['active'],_0x509194),_0x23e31c(this['activeTo'],_0x509194),_0x23e31c(this['activeRank'],_0x509194),this['minActive']=_0x56c014(this['active'],this['activeTo']);}['addActive'](_0x36e812){let _0x200f68=0x0,{value:_0x28e7ac,to:_0x1188fa,rank:_0x2491f2}=this['cursor'];for(;_0x200f68<this['activeRank']['length']&&(_0x2491f2-this['activeRank'][_0x200f68]||_0x1188fa-this['activeTo'][_0x200f68])>0x0;)_0x200f68++;_0x2cf162(this['active'],_0x200f68,_0x28e7ac),_0x2cf162(this['activeTo'],_0x200f68,_0x1188fa),_0x2cf162(this['activeRank'],_0x200f68,_0x2491f2),_0x36e812&&_0x2cf162(_0x36e812,_0x200f68,this['cursor']['from']),this['minActive']=_0x56c014(this['active'],this['activeTo']);}['next'](){let _0x962ecd=this['to'],_0x330df8=this['point'];this['point']=null;let _0xb7443d=this['openStart']<0x0?[]:null;for(;;){let _0x162e21=this['minActive'];if(_0x162e21>-0x1&&(this['activeTo'][_0x162e21]-this['cursor']['from']||this['active'][_0x162e21]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x162e21]>_0x962ecd){this['to']=this['activeTo'][_0x162e21],this['endSide']=this['active'][_0x162e21]['endSide'];break;}this['removeActive'](_0x162e21),_0xb7443d&&_0x23e31c(_0xb7443d,_0x162e21);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x962ecd){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x26276f=this['cursor']['value'];if(_0x26276f['point']){if(!(_0x330df8&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x26276f,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x26276f['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0xb7443d),this['cursor']['next']();}}}if(_0xb7443d){this['openStart']=0x0;for(let _0x584d3c=_0xb7443d['length']-0x1;_0x584d3c>=0x0&&_0xb7443d[_0x584d3c]<_0x962ecd;_0x584d3c--)this['openStart']++;}}['activeForPoint'](_0x3d9401){if(!this['active']['length'])return this['active'];let _0x3c7027=[];for(let _0x3151d8=this['active']['length']-0x1;_0x3151d8>=0x0&&!(this['activeRank'][_0x3151d8]<this['pointRank']);_0x3151d8--)(this['activeTo'][_0x3151d8]>_0x3d9401||this['activeTo'][_0x3151d8]==_0x3d9401&&this['active'][_0x3151d8]['endSide']>=this['point']['endSide'])&&_0x3c7027['push'](this['active'][_0x3151d8]);return _0x3c7027['reverse']();}['openEnd'](_0x5e9d52){let _0x383bc5=0x0;for(let _0x2eeab9=this['activeTo']['length']-0x1;_0x2eeab9>=0x0&&this['activeTo'][_0x2eeab9]>_0x5e9d52;_0x2eeab9--)_0x383bc5++;return _0x383bc5;}}function _0x493962(_0x5b32d7,_0x4c1877,_0x4868ca,_0x1e2faa,_0x27987b,_0x44767d){_0x5b32d7['goto'](_0x4c1877),_0x4868ca['goto'](_0x1e2faa);let _0x28d986=_0x1e2faa+_0x27987b,_0x4a8382=_0x1e2faa,_0x539c9b=_0x1e2faa-_0x4c1877;for(;;){let _0x29453a=_0x5b32d7['to']+_0x539c9b-_0x4868ca['to'],_0x1af99a=_0x29453a||_0x5b32d7['endSide']-_0x4868ca['endSide'],_0x654017=_0x1af99a<0x0?_0x5b32d7['to']+_0x539c9b:_0x4868ca['to'],_0x40801d=Math['min'](_0x654017,_0x28d986);if(_0x5b32d7['point']||_0x4868ca['point']?_0x5b32d7['point']&&_0x4868ca['point']&&(_0x5b32d7['point']==_0x4868ca['point']||_0x5b32d7['point']['eq'](_0x4868ca['point']))&&_0x145da6(_0x5b32d7['activeForPoint'](_0x5b32d7['to']),_0x4868ca['activeForPoint'](_0x4868ca['to']))||_0x44767d['comparePoint'](_0x4a8382,_0x40801d,_0x5b32d7['point'],_0x4868ca['point']):_0x40801d>_0x4a8382&&!_0x145da6(_0x5b32d7['active'],_0x4868ca['active'])&&_0x44767d['compareRange'](_0x4a8382,_0x40801d,_0x5b32d7['active'],_0x4868ca['active']),_0x654017>_0x28d986)break;(_0x29453a||_0x5b32d7['openEnd']!=_0x4868ca['openEnd'])&&_0x44767d['boundChange']&&_0x44767d['boundChange'](_0x654017),_0x4a8382=_0x654017,_0x1af99a<=0x0&&_0x5b32d7['next'](),_0x1af99a>=0x0&&_0x4868ca['next']();}}function _0x145da6(_0x41aceb,_0x3d1079){if(_0x41aceb['length']!=_0x3d1079['length'])return!0x1;for(let _0x37f0b9=0x0;_0x37f0b9<_0x41aceb['length'];_0x37f0b9++)if(_0x41aceb[_0x37f0b9]!=_0x3d1079[_0x37f0b9]&&!_0x41aceb[_0x37f0b9]['eq'](_0x3d1079[_0x37f0b9]))return!0x1;return!0x0;}function _0x23e31c(_0xb0fad7,_0x2b43ed){for(let _0x1a0025=_0x2b43ed,_0x1a70b5=_0xb0fad7['length']-0x1;_0x1a0025<_0x1a70b5;_0x1a0025++)_0xb0fad7[_0x1a0025]=_0xb0fad7[_0x1a0025+0x1];_0xb0fad7['pop']();}function _0x2cf162(_0x3c7d8d,_0x4da08c,_0x1c5703){for(let _0x44c1d7=_0x3c7d8d['length']-0x1;_0x44c1d7>=_0x4da08c;_0x44c1d7--)_0x3c7d8d[_0x44c1d7+0x1]=_0x3c7d8d[_0x44c1d7];_0x3c7d8d[_0x4da08c]=_0x1c5703;}function _0x56c014(_0x885dc0,_0x688887){let _0x6ec8d8=-0x1,_0x4b09b4=0x3b9aca00;for(let _0x4f131d=0x0;_0x4f131d<_0x688887['length'];_0x4f131d++)(_0x688887[_0x4f131d]-_0x4b09b4||_0x885dc0[_0x4f131d]['endSide']-_0x885dc0[_0x6ec8d8]['endSide'])<0x0&&(_0x6ec8d8=_0x4f131d,_0x4b09b4=_0x688887[_0x4f131d]);return _0x6ec8d8;}function _0x13abfb(_0x58e40a,_0x9118c4,_0x58b4e7=_0x58e40a['length']){let _0x417ce2=0x0;for(let _0x48e585=0x0;_0x48e585<_0x58b4e7&&_0x48e585<_0x58e40a['length'];)0x9==_0x58e40a['charCodeAt'](_0x48e585)?(_0x417ce2+=_0x9118c4-_0x417ce2%_0x9118c4,_0x48e585++):(_0x417ce2++,_0x48e585=_0x2044d7(_0x58e40a,_0x48e585));return _0x417ce2;}function _0x1ffbe9(_0x1013f3,_0x4f0c84,_0x22a9d7,_0x2b1d43){for(let _0x5b40b4=0x0,_0x3a1809=0x0;;){if(_0x3a1809>=_0x4f0c84)return _0x5b40b4;if(_0x5b40b4==_0x1013f3['length'])break;_0x3a1809+=0x9==_0x1013f3['charCodeAt'](_0x5b40b4)?_0x22a9d7-_0x3a1809%_0x22a9d7:0x1,_0x5b40b4=_0x2044d7(_0x1013f3,_0x5b40b4);}return!0x0===_0x2b1d43?-0x1:_0x1013f3['length'];}const _0x1a3108='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x2fe2e7='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x16eef9='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x2fe4a9,_0x1a7304){this['rules']=[];let {finish:_0xec576d}=_0x1a7304||{};function _0x2267f6(_0x4195a5){return/^@/['test'](_0x4195a5)?[_0x4195a5]:_0x4195a5['split'](/,\s*/);}function _0x108019(_0x34b2d6,_0x218ff6,_0x20df39,_0x31d4ee){let _0x13c7e1=[],_0x47df36=/^@(\w+)\b/['exec'](_0x34b2d6[0x0]),_0x3ba7fc=_0x47df36&&'keyframes'==_0x47df36[0x1];if(_0x47df36&&null==_0x218ff6)return _0x20df39['push'](_0x34b2d6[0x0]+';');for(let _0xd32aad in _0x218ff6){let _0x5a1561=_0x218ff6[_0xd32aad];if(/&/['test'](_0xd32aad))_0x108019(_0xd32aad['split'](/,\s*/)['map'](_0x3912c6=>_0x34b2d6['map'](_0x26deea=>_0x3912c6['replace'](/&/,_0x26deea)))['reduce']((_0x2e78bd,_0x3345e1)=>_0x2e78bd['concat'](_0x3345e1)),_0x5a1561,_0x20df39);else{if(_0x5a1561&&'object'==typeof _0x5a1561){if(!_0x47df36)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0xd32aad+')\x20should\x20be\x20a\x20primitive\x20value.');_0x108019(_0x2267f6(_0xd32aad),_0x5a1561,_0x13c7e1,_0x3ba7fc);}else null!=_0x5a1561&&_0x13c7e1['push'](_0xd32aad['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x4827a2=>'-'+_0x4827a2['toLowerCase']())+':\x20'+_0x5a1561+';');}}(_0x13c7e1['length']||_0x3ba7fc)&&_0x20df39['push']((!_0xec576d||_0x47df36||_0x31d4ee?_0x34b2d6:_0x34b2d6['map'](_0xec576d))['join'](',\x20')+'\x20{'+_0x13c7e1['join']('\x20')+'}');}for(let _0x119ef3 in _0x2fe4a9)_0x108019(_0x2267f6(_0x119ef3),_0x2fe4a9[_0x119ef3],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x522f3a=_0x16eef9[_0x1a3108]||0x1;return _0x16eef9[_0x1a3108]=_0x522f3a+0x1,'ͼ'+_0x522f3a['toString'](0x24);}static['mount'](_0x5438c7,_0x2fa014,_0x4e6d39){let _0x173f4b=_0x5438c7[_0x2fe2e7],_0x257914=_0x4e6d39&&_0x4e6d39['nonce'];_0x173f4b?_0x257914&&_0x173f4b['setNonce'](_0x257914):_0x173f4b=new StyleSet(_0x5438c7,_0x257914),_0x173f4b['mount'](Array['isArray'](_0x2fa014)?_0x2fa014:[_0x2fa014],_0x5438c7);}}let _0x587881=new Map();class StyleSet{constructor(_0x1008a9,_0x1437da){let _0x5bf88e=_0x1008a9['ownerDocument']||_0x1008a9,_0x373d80=_0x5bf88e['defaultView'];if(!_0x1008a9['head']&&_0x1008a9['adoptedStyleSheets']&&_0x373d80['CSSStyleSheet']){let _0x2c1e63=_0x587881['get'](_0x5bf88e);if(_0x2c1e63)return _0x1008a9[_0x2fe2e7]=_0x2c1e63;this['sheet']=new _0x373d80['CSSStyleSheet'](),_0x587881['set'](_0x5bf88e,this);}else this['styleTag']=_0x5bf88e['createElement']('style'),_0x1437da&&this['styleTag']['setAttribute']('nonce',_0x1437da);this['modules']=[],_0x1008a9[_0x2fe2e7]=this;}['mount'](_0x5a9ae0,_0x3889aa){let _0x327fc8=this['sheet'],_0x4cd743=0x0,_0x5182fb=0x0;for(let _0x4e5331=0x0;_0x4e5331<_0x5a9ae0['length'];_0x4e5331++){let _0x4d133c=_0x5a9ae0[_0x4e5331],_0x53a54b=this['modules']['indexOf'](_0x4d133c);if(_0x53a54b<_0x5182fb&&_0x53a54b>-0x1&&(this['modules']['splice'](_0x53a54b,0x1),_0x5182fb--,_0x53a54b=-0x1),-0x1==_0x53a54b){if(this['modules']['splice'](_0x5182fb++,0x0,_0x4d133c),_0x327fc8){for(let _0x81d85e=0x0;_0x81d85e<_0x4d133c['rules']['length'];_0x81d85e++)_0x327fc8['insertRule'](_0x4d133c['rules'][_0x81d85e],_0x4cd743++);}}else{for(;_0x5182fb<_0x53a54b;)_0x4cd743+=this['modules'][_0x5182fb++]['rules']['length'];_0x4cd743+=_0x4d133c['rules']['length'],_0x5182fb++;}}if(_0x327fc8)_0x3889aa['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x3889aa['adoptedStyleSheets']=[this['sheet'],..._0x3889aa['adoptedStyleSheets']]);else{let _0x4c4804='';for(let _0x57db86=0x0;_0x57db86<this['modules']['length'];_0x57db86++)_0x4c4804+=this['modules'][_0x57db86]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x4c4804;let _0x51c1a1=_0x3889aa['head']||_0x3889aa;this['styleTag']['parentNode']!=_0x51c1a1&&_0x51c1a1['insertBefore'](this['styleTag'],_0x51c1a1['firstChild']);}}['setNonce'](_0x3114e2){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x3114e2&&this['styleTag']['setAttribute']('nonce',_0x3114e2);}}for(var _0x23a820={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'},_0x382d9b={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'},_0x3b7e92='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0xff64ab='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x11f796=0x0;_0x11f796<0xa;_0x11f796++)_0x23a820[0x30+_0x11f796]=_0x23a820[0x60+_0x11f796]=String(_0x11f796);for(_0x11f796=0x1;_0x11f796<=0x18;_0x11f796++)_0x23a820[_0x11f796+0x6f]='F'+_0x11f796;for(_0x11f796=0x41;_0x11f796<=0x5a;_0x11f796++)_0x23a820[_0x11f796]=String['fromCharCode'](_0x11f796+0x20),_0x382d9b[_0x11f796]=String['fromCharCode'](_0x11f796);for(var _0x562be0 in _0x23a820)_0x382d9b['hasOwnProperty'](_0x562be0)||(_0x382d9b[_0x562be0]=_0x23a820[_0x562be0]);let _0x273ef9='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x50ffc3='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x58a7d3=/Edge\/(\d+)/['exec'](_0x273ef9['userAgent']),_0x552c40=/MSIE \d/['test'](_0x273ef9['userAgent']),_0x4c6124=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x273ef9['userAgent']),_0x4f6a8b=!!(_0x552c40||_0x4c6124||_0x58a7d3),_0x4de778=!_0x4f6a8b&&/gecko\/(\d+)/i['test'](_0x273ef9['userAgent']),_0x58e0c7=!_0x4f6a8b&&/Chrome\/(\d+)/['exec'](_0x273ef9['userAgent']),tp='webkitFontSmoothing'in _0x50ffc3['documentElement']['style'],_0x5ea928=!_0x4f6a8b&&/Apple Computer/['test'](_0x273ef9['vendor']),_0x33b1f7=_0x5ea928&&(/Mobile\/\w+/['test'](_0x273ef9['userAgent'])||_0x273ef9['maxTouchPoints']>0x2);var _0x2c4476={'mac':_0x33b1f7||/Mac/['test'](_0x273ef9['platform']),'windows':/Win/['test'](_0x273ef9['platform']),'linux':/Linux|X11/['test'](_0x273ef9['platform']),'ie':_0x4f6a8b,'ie_version':_0x552c40?_0x50ffc3['documentMode']||0x6:_0x4c6124?+_0x4c6124[0x1]:_0x58a7d3?+_0x58a7d3[0x1]:0x0,'gecko':_0x4de778,'gecko_version':_0x4de778?+(/Firefox\/(\d+)/['exec'](_0x273ef9['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x58e0c7,'chrome_version':_0x58e0c7?+_0x58e0c7[0x1]:0x0,'ios':_0x33b1f7,'android':/Android\b/['test'](_0x273ef9['userAgent']),'webkit_version':tp?+(/\bAppleWebKit\/(\d+)/['exec'](_0x273ef9['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x5ea928,'safari_version':_0x5ea928?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x273ef9['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x50ffc3['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x57e185(_0x32e556){let _0x3e6b86;return _0x3e6b86=0xb==_0x32e556['nodeType']?_0x32e556['getSelection']?_0x32e556:_0x32e556['ownerDocument']:_0x32e556,_0x3e6b86['getSelection']();}function _0x105336(_0x1df8ef,_0x382d41){return!!_0x382d41&&(_0x1df8ef==_0x382d41||_0x1df8ef['contains'](0x1!=_0x382d41['nodeType']?_0x382d41['parentNode']:_0x382d41));}function _0x128bd7(_0x22866a,_0xbd318d){if(!_0xbd318d['anchorNode'])return!0x1;try{return _0x105336(_0x22866a,_0xbd318d['anchorNode']);}catch(_0x9d0574){return!0x1;}}function _0x166e7f(_0x3d8534){return 0x3==_0x3d8534['nodeType']?_0xdf30a3(_0x3d8534,0x0,_0x3d8534['nodeValue']['length'])['getClientRects']():0x1==_0x3d8534['nodeType']?_0x3d8534['getClientRects']():[];}function _0x18c80d(_0x9d1cac,_0x380d81,_0x2b5cb1,_0x31f312){return!!_0x2b5cb1&&(_0x5c9e92(_0x9d1cac,_0x380d81,_0x2b5cb1,_0x31f312,-0x1)||_0x5c9e92(_0x9d1cac,_0x380d81,_0x2b5cb1,_0x31f312,0x1));}function _0x14aad2(_0x20652a){for(var _0x3543d6=0x0;;_0x3543d6++)if(!(_0x20652a=_0x20652a['previousSibling']))return _0x3543d6;}function _0x5b9507(_0x22d30d){return 0x1==_0x22d30d['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x22d30d['nodeName']);}function _0x5c9e92(_0x2f9c78,_0x230e84,_0x5633be,_0x1dadda,_0x131a8f){for(;;){if(_0x2f9c78==_0x5633be&&_0x230e84==_0x1dadda)return!0x0;if(_0x230e84==(_0x131a8f<0x0?0x0:_0x2b2aae(_0x2f9c78))){if('DIV'==_0x2f9c78['nodeName'])return!0x1;let _0x22a37a=_0x2f9c78['parentNode'];if(!_0x22a37a||0x1!=_0x22a37a['nodeType'])return!0x1;_0x230e84=_0x14aad2(_0x2f9c78)+(_0x131a8f<0x0?0x0:0x1),_0x2f9c78=_0x22a37a;}else{if(0x1!=_0x2f9c78['nodeType'])return!0x1;if(0x1==(_0x2f9c78=_0x2f9c78['childNodes'][_0x230e84+(_0x131a8f<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x2f9c78['contentEditable'])return!0x1;_0x230e84=_0x131a8f<0x0?_0x2b2aae(_0x2f9c78):0x0;}}}function _0x2b2aae(_0x595254){return 0x3==_0x595254['nodeType']?_0x595254['nodeValue']['length']:_0x595254['childNodes']['length'];}function _0x522b58(_0x50624b,_0x4fb5df){let _0x1cad26=_0x4fb5df?_0x50624b['left']:_0x50624b['right'];return{'left':_0x1cad26,'right':_0x1cad26,'top':_0x50624b['top'],'bottom':_0x50624b['bottom']};}function _0x4cb725(_0x6fb217){let _0xff1c92=_0x6fb217['visualViewport'];return _0xff1c92?{'left':0x0,'right':_0xff1c92['width'],'top':0x0,'bottom':_0xff1c92['height']}:{'left':0x0,'right':_0x6fb217['innerWidth'],'top':0x0,'bottom':_0x6fb217['innerHeight']};}function _0x2de6f1(_0x37cd60,_0x24e54b){let _0x22d9ed=_0x24e54b['width']/_0x37cd60['offsetWidth'],_0x1595f5=_0x24e54b['height']/_0x37cd60['offsetHeight'];return(_0x22d9ed>0.995&&_0x22d9ed<1.005||!isFinite(_0x22d9ed)||Math['abs'](_0x24e54b['width']-_0x37cd60['offsetWidth'])<0x1)&&(_0x22d9ed=0x1),(_0x1595f5>0.995&&_0x1595f5<1.005||!isFinite(_0x1595f5)||Math['abs'](_0x24e54b['height']-_0x37cd60['offsetHeight'])<0x1)&&(_0x1595f5=0x1),{'scaleX':_0x22d9ed,'scaleY':_0x1595f5};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x2539ea){return this['anchorNode']==_0x2539ea['anchorNode']&&this['anchorOffset']==_0x2539ea['anchorOffset']&&this['focusNode']==_0x2539ea['focusNode']&&this['focusOffset']==_0x2539ea['focusOffset'];}['setRange'](_0x6d1632){let {anchorNode:_0xb75edc,focusNode:_0x1e4fe3}=_0x6d1632;this['set'](_0xb75edc,Math['min'](_0x6d1632['anchorOffset'],_0xb75edc?_0x2b2aae(_0xb75edc):0x0),_0x1e4fe3,Math['min'](_0x6d1632['focusOffset'],_0x1e4fe3?_0x2b2aae(_0x1e4fe3):0x0));}['set'](_0xa45fca,_0x321dfa,_0x4e0004,_0x39261c){this['anchorNode']=_0xa45fca,this['anchorOffset']=_0x321dfa,this['focusNode']=_0x4e0004,this['focusOffset']=_0x39261c;}}let _0x41a5bc,_0x255970=null;function _0x235cce(_0x597cd7){if(_0x597cd7['setActive'])return _0x597cd7['setActive']();if(_0x255970)return _0x597cd7['focus'](_0x255970);let _0x4d8920=[];for(let _0x5a2a1b=_0x597cd7;_0x5a2a1b&&(_0x4d8920['push'](_0x5a2a1b,_0x5a2a1b['scrollTop'],_0x5a2a1b['scrollLeft']),_0x5a2a1b!=_0x5a2a1b['ownerDocument']);_0x5a2a1b=_0x5a2a1b['parentNode']);if(_0x597cd7['focus'](null==_0x255970?{get 'preventScroll'(){return _0x255970={'preventScroll':!0x0},!0x0;}}:void 0x0),!_0x255970){_0x255970=!0x1;for(let _0x44be5d=0x0;_0x44be5d<_0x4d8920['length'];){let _0x2db01a=_0x4d8920[_0x44be5d++],_0x38b6f9=_0x4d8920[_0x44be5d++],_0x7c09f3=_0x4d8920[_0x44be5d++];_0x2db01a['scrollTop']!=_0x38b6f9&&(_0x2db01a['scrollTop']=_0x38b6f9),_0x2db01a['scrollLeft']!=_0x7c09f3&&(_0x2db01a['scrollLeft']=_0x7c09f3);}}}function _0xdf30a3(_0x1fef83,_0x15ac20,_0x237387=_0x15ac20){let _0x20ba8a=_0x41a5bc||(_0x41a5bc=document['createRange']());return _0x20ba8a['setEnd'](_0x1fef83,_0x237387),_0x20ba8a['setStart'](_0x1fef83,_0x15ac20),_0x20ba8a;}function _0x4c7031(_0x221c76,_0x3f4551,_0x5b533c,_0x2a31d1){let _0x2ea1f4={'key':_0x3f4551,'code':_0x3f4551,'keyCode':_0x5b533c,'which':_0x5b533c,'cancelable':!0x0};_0x2a31d1&&({altKey:_0x2ea1f4['altKey'],ctrlKey:_0x2ea1f4['ctrlKey'],shiftKey:_0x2ea1f4['shiftKey'],metaKey:_0x2ea1f4['metaKey']}=_0x2a31d1);let _0x5e0fb9=new KeyboardEvent('keydown',_0x2ea1f4);_0x5e0fb9['synthetic']=!0x0,_0x221c76['dispatchEvent'](_0x5e0fb9);let _0x286047=new KeyboardEvent('keyup',_0x2ea1f4);return _0x286047['synthetic']=!0x0,_0x221c76['dispatchEvent'](_0x286047),_0x5e0fb9['defaultPrevented']||_0x286047['defaultPrevented'];}function _0x4539ab(_0x2a5a7b){for(;_0x2a5a7b['attributes']['length'];)_0x2a5a7b['removeAttributeNode'](_0x2a5a7b['attributes'][0x0]);}function _0x38ee4c(_0xb4e000){return _0xb4e000['scrollTop']>Math['max'](0x1,_0xb4e000['scrollHeight']-_0xb4e000['clientHeight']-0x4);}function _0x3f1ef4(_0x587bc9,_0x653ade){for(let _0x463ee5=_0x587bc9,_0x436de4=_0x653ade;;){if(0x3==_0x463ee5['nodeType']&&_0x436de4>0x0)return{'node':_0x463ee5,'offset':_0x436de4};if(0x1==_0x463ee5['nodeType']&&_0x436de4>0x0){if('false'==_0x463ee5['contentEditable'])return null;_0x463ee5=_0x463ee5['childNodes'][_0x436de4-0x1],_0x436de4=_0x2b2aae(_0x463ee5);}else{if(!_0x463ee5['parentNode']||_0x5b9507(_0x463ee5))return null;_0x436de4=_0x14aad2(_0x463ee5),_0x463ee5=_0x463ee5['parentNode'];}}}function _0x2e25e9(_0x40429d,_0x30906c){for(let _0xa68222=_0x40429d,_0x4acc02=_0x30906c;;){if(0x3==_0xa68222['nodeType']&&_0x4acc02<_0xa68222['nodeValue']['length'])return{'node':_0xa68222,'offset':_0x4acc02};if(0x1==_0xa68222['nodeType']&&_0x4acc02<_0xa68222['childNodes']['length']){if('false'==_0xa68222['contentEditable'])return null;_0xa68222=_0xa68222['childNodes'][_0x4acc02],_0x4acc02=0x0;}else{if(!_0xa68222['parentNode']||_0x5b9507(_0xa68222))return null;_0x4acc02=_0x14aad2(_0xa68222)+0x1,_0xa68222=_0xa68222['parentNode'];}}}_0x2c4476['safari']&&_0x2c4476['safari_version']>=0x1a&&(_0x255970=!0x1);class _0x3e71c4{constructor(_0x1ceae1,_0x8f19ae,_0x25fbe7=!0x0){this['node']=_0x1ceae1,this['offset']=_0x8f19ae,this['precise']=_0x25fbe7;}static['before'](_0x38eaba,_0x2509e7){return new _0x3e71c4(_0x38eaba['parentNode'],_0x14aad2(_0x38eaba),_0x2509e7);}static['after'](_0x396d2e,_0x462618){return new _0x3e71c4(_0x396d2e['parentNode'],_0x14aad2(_0x396d2e)+0x1,_0x462618);}}const _0x319d19=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0xa20aa5){let _0xfe08fd=this['posAtStart'];for(let _0x2f475a of this['children']){if(_0x2f475a==_0xa20aa5)return _0xfe08fd;_0xfe08fd+=_0x2f475a['length']+_0x2f475a['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x327e68){return this['posBefore'](_0x327e68)+_0x327e68['length'];}['sync'](_0x145ca9,_0x5d30c6){if(0x2&this['flags']){let _0x4c8c05,_0x4be031=this['dom'],_0x9d60a4=null;for(let _0x46956d of this['children']){if(0x7&_0x46956d['flags']){if(!_0x46956d['dom']&&(_0x4c8c05=_0x9d60a4?_0x9d60a4['nextSibling']:_0x4be031['firstChild'])){let _0x26a638=ContentView['get'](_0x4c8c05);(!_0x26a638||!_0x26a638['parent']&&_0x26a638['canReuseDOM'](_0x46956d))&&_0x46956d['reuseDOM'](_0x4c8c05);}_0x46956d['sync'](_0x145ca9,_0x5d30c6),_0x46956d['flags']&=-0x8;}if(_0x4c8c05=_0x9d60a4?_0x9d60a4['nextSibling']:_0x4be031['firstChild'],_0x5d30c6&&!_0x5d30c6['written']&&_0x5d30c6['node']==_0x4be031&&_0x4c8c05!=_0x46956d['dom']&&(_0x5d30c6['written']=!0x0),_0x46956d['dom']['parentNode']==_0x4be031){for(;_0x4c8c05&&_0x4c8c05!=_0x46956d['dom'];)_0x4c8c05=_0x2d4c28(_0x4c8c05);}else _0x4be031['insertBefore'](_0x46956d['dom'],_0x4c8c05);_0x9d60a4=_0x46956d['dom'];}for(_0x4c8c05=_0x9d60a4?_0x9d60a4['nextSibling']:_0x4be031['firstChild'],_0x4c8c05&&_0x5d30c6&&_0x5d30c6['node']==_0x4be031&&(_0x5d30c6['written']=!0x0);_0x4c8c05;)_0x4c8c05=_0x2d4c28(_0x4c8c05);}else{if(0x1&this['flags']){for(let _0x106080 of this['children'])0x7&_0x106080['flags']&&(_0x106080['sync'](_0x145ca9,_0x5d30c6),_0x106080['flags']&=-0x8);}}}['reuseDOM'](_0x3ab70c){}['localPosFromDOM'](_0x1b90b4,_0x3ab9ee){let _0x19b59f;if(_0x1b90b4==this['dom'])_0x19b59f=this['dom']['childNodes'][_0x3ab9ee];else{let _0x314709=0x0==_0x2b2aae(_0x1b90b4)?0x0:0x0==_0x3ab9ee?-0x1:0x1;for(;;){let _0x199585=_0x1b90b4['parentNode'];if(_0x199585==this['dom'])break;0x0==_0x314709&&_0x199585['firstChild']!=_0x199585['lastChild']&&(_0x314709=_0x1b90b4==_0x199585['firstChild']?-0x1:0x1),_0x1b90b4=_0x199585;}_0x19b59f=_0x314709<0x0?_0x1b90b4:_0x1b90b4['nextSibling'];}if(_0x19b59f==this['dom']['firstChild'])return 0x0;for(;_0x19b59f&&!ContentView['get'](_0x19b59f);)_0x19b59f=_0x19b59f['nextSibling'];if(!_0x19b59f)return this['length'];for(let _0x179ed3=0x0,_0x557048=0x0;;_0x179ed3++){let _0xc1a56d=this['children'][_0x179ed3];if(_0xc1a56d['dom']==_0x19b59f)return _0x557048;_0x557048+=_0xc1a56d['length']+_0xc1a56d['breakAfter'];}}['domBoundsAround'](_0x288458,_0x4b0c6,_0x406286=0x0){let _0x5726e3=-0x1,_0x548639=-0x1,_0x52aa01=-0x1,_0x4a8124=-0x1;for(let _0x306d3c=0x0,_0x5409e9=_0x406286,_0x5497af=_0x406286;_0x306d3c<this['children']['length'];_0x306d3c++){let _0x50c5e4=this['children'][_0x306d3c],_0x45c5db=_0x5409e9+_0x50c5e4['length'];if(_0x5409e9<_0x288458&&_0x45c5db>_0x4b0c6)return _0x50c5e4['domBoundsAround'](_0x288458,_0x4b0c6,_0x5409e9);if(_0x45c5db>=_0x288458&&-0x1==_0x5726e3&&(_0x5726e3=_0x306d3c,_0x548639=_0x5409e9),_0x5409e9>_0x4b0c6&&_0x50c5e4['dom']['parentNode']==this['dom']){_0x52aa01=_0x306d3c,_0x4a8124=_0x5497af;break;}_0x5497af=_0x45c5db,_0x5409e9=_0x45c5db+_0x50c5e4['breakAfter'];}return{'from':_0x548639,'to':_0x4a8124<0x0?_0x406286+this['length']:_0x4a8124,'startDOM':(_0x5726e3?this['children'][_0x5726e3-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x52aa01<this['children']['length']&&_0x52aa01>=0x0?this['children'][_0x52aa01]['dom']:null};}['markDirty'](_0x2a2a51=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x2a2a51);}['markParentsDirty'](_0x5495a8){for(let _0xd308b6=this['parent'];_0xd308b6;_0xd308b6=_0xd308b6['parent']){if(_0x5495a8&&(_0xd308b6['flags']|=0x2),0x1&_0xd308b6['flags'])return;_0xd308b6['flags']|=0x1,_0x5495a8=!0x1;}}['setParent'](_0x166d38){this['parent']!=_0x166d38&&(this['parent']=_0x166d38,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x54cac8){this['dom']!=_0x54cac8&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x54cac8,_0x54cac8['cmView']=this);}get['rootView'](){for(let _0x33b906=this;;){let _0x4a0796=_0x33b906['parent'];if(!_0x4a0796)return _0x33b906;_0x33b906=_0x4a0796;}}['replaceChildren'](_0x58d767,_0x3f2d21,_0x3976b6=_0x319d19){this['markDirty']();for(let _0x4b2e1c=_0x58d767;_0x4b2e1c<_0x3f2d21;_0x4b2e1c++){let _0x5baeee=this['children'][_0x4b2e1c];_0x5baeee['parent']==this&&_0x3976b6['indexOf'](_0x5baeee)<0x0&&_0x5baeee['destroy']();}_0x3976b6['length']<0xfa?this['children']['splice'](_0x58d767,_0x3f2d21-_0x58d767,..._0x3976b6):this['children']=[]['concat'](this['children']['slice'](0x0,_0x58d767),_0x3976b6,this['children']['slice'](_0x3f2d21));for(let _0x237a4b=0x0;_0x237a4b<_0x3976b6['length'];_0x237a4b++)_0x3976b6[_0x237a4b]['setParent'](this);}['ignoreMutation'](_0x140eb2){return!0x1;}['ignoreEvent'](_0x1d8abc){return!0x1;}['childCursor'](_0x50509e=this['length']){return new _0x465d82(this['children'],_0x50509e,this['children']['length']);}['childPos'](_0x210d7a,_0x2f6f63=0x1){return this['childCursor']()['findPos'](_0x210d7a,_0x2f6f63);}['toString'](){let _0x2cc83c=this['constructor']['name']['replace']('View','');return _0x2cc83c+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x2cc83c?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x3322e5){return _0x3322e5['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x49da7d,_0x27f425,_0x1b25c7,_0x4e643c,_0x4069d5,_0x1daaab){return!0x1;}['become'](_0x3fefda){return!0x1;}['canReuseDOM'](_0x235718){return _0x235718['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x235718['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x7da2dc of this['children'])_0x7da2dc['parent']==this&&_0x7da2dc['destroy']();this['parent']=null;}}function _0x2d4c28(_0x5f212e){let _0x37b082=_0x5f212e['nextSibling'];return _0x5f212e['parentNode']['removeChild'](_0x5f212e),_0x37b082;}ContentView['prototype']['breakAfter']=0x0;class _0x465d82{constructor(_0xb0e631,_0x2ced34,_0xaba224){this['children']=_0xb0e631,this['pos']=_0x2ced34,this['i']=_0xaba224,this['off']=0x0;}['findPos'](_0x12174c,_0x28d9d1=0x1){for(;;){if(_0x12174c>this['pos']||_0x12174c==this['pos']&&(_0x28d9d1>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x12174c-this['pos'],this;let _0x578660=this['children'][--this['i']];this['pos']-=_0x578660['length']+_0x578660['breakAfter'];}}}function _0x4aced2(_0xd49043,_0x4cfaf0,_0x3b1e1f,_0x12cae4,_0x281f12,_0x41d93a,_0x2315c7,_0x4dba24,_0x375936){let {children:_0xbc812c}=_0xd49043,_0x8e729a=_0xbc812c['length']?_0xbc812c[_0x4cfaf0]:null,_0x43eb14=_0x41d93a['length']?_0x41d93a[_0x41d93a['length']-0x1]:null,_0x35fe26=_0x43eb14?_0x43eb14['breakAfter']:_0x2315c7;if(!(_0x4cfaf0==_0x12cae4&&_0x8e729a&&!_0x2315c7&&!_0x35fe26&&_0x41d93a['length']<0x2&&_0x8e729a['merge'](_0x3b1e1f,_0x281f12,_0x41d93a['length']?_0x43eb14:null,0x0==_0x3b1e1f,_0x4dba24,_0x375936))){if(_0x12cae4<_0xbc812c['length']){let _0x556e30=_0xbc812c[_0x12cae4];_0x556e30&&(_0x281f12<_0x556e30['length']||_0x556e30['breakAfter']&&(null==_0x43eb14?void 0x0:_0x43eb14['breakAfter']))?(_0x4cfaf0==_0x12cae4&&(_0x556e30=_0x556e30['split'](_0x281f12),_0x281f12=0x0),!_0x35fe26&&_0x43eb14&&_0x556e30['merge'](0x0,_0x281f12,_0x43eb14,!0x0,0x0,_0x375936)?_0x41d93a[_0x41d93a['length']-0x1]=_0x556e30:((_0x281f12||_0x556e30['children']['length']&&!_0x556e30['children'][0x0]['length'])&&_0x556e30['merge'](0x0,_0x281f12,null,!0x1,0x0,_0x375936),_0x41d93a['push'](_0x556e30))):(null==_0x556e30?void 0x0:_0x556e30['breakAfter'])&&(_0x43eb14?_0x43eb14['breakAfter']=0x1:_0x2315c7=0x1),_0x12cae4++;}for(_0x8e729a&&(_0x8e729a['breakAfter']=_0x2315c7,_0x3b1e1f>0x0&&(!_0x2315c7&&_0x41d93a['length']&&_0x8e729a['merge'](_0x3b1e1f,_0x8e729a['length'],_0x41d93a[0x0],!0x1,_0x4dba24,0x0)?_0x8e729a['breakAfter']=_0x41d93a['shift']()['breakAfter']:(_0x3b1e1f<_0x8e729a['length']||_0x8e729a['children']['length']&&0x0==_0x8e729a['children'][_0x8e729a['children']['length']-0x1]['length'])&&_0x8e729a['merge'](_0x3b1e1f,_0x8e729a['length'],null,!0x1,_0x4dba24,0x0),_0x4cfaf0++));_0x4cfaf0<_0x12cae4&&_0x41d93a['length'];)if(_0xbc812c[_0x12cae4-0x1]['become'](_0x41d93a[_0x41d93a['length']-0x1]))_0x12cae4--,_0x41d93a['pop'](),_0x375936=_0x41d93a['length']?0x0:_0x4dba24;else{if(!_0xbc812c[_0x4cfaf0]['become'](_0x41d93a[0x0]))break;_0x4cfaf0++,_0x41d93a['shift'](),_0x4dba24=_0x41d93a['length']?0x0:_0x375936;}!_0x41d93a['length']&&_0x4cfaf0&&_0x12cae4<_0xbc812c['length']&&!_0xbc812c[_0x4cfaf0-0x1]['breakAfter']&&_0xbc812c[_0x12cae4]['merge'](0x0,0x0,_0xbc812c[_0x4cfaf0-0x1],!0x1,_0x4dba24,_0x375936)&&_0x4cfaf0--,(_0x4cfaf0<_0x12cae4||_0x41d93a['length'])&&_0xd49043['replaceChildren'](_0x4cfaf0,_0x12cae4,_0x41d93a);}}function _0x47afda(_0x3cbbdf,_0x54bd0a,_0x499d0f,_0x32140a,_0x7dd24f,_0x370d98){let _0x37aba5=_0x3cbbdf['childCursor'](),{i:_0x1ef368,off:_0x5d47a2}=_0x37aba5['findPos'](_0x499d0f,0x1),{i:_0x44ffde,off:_0x306e7c}=_0x37aba5['findPos'](_0x54bd0a,-0x1),_0x5c8461=_0x54bd0a-_0x499d0f;for(let _0xc893df of _0x32140a)_0x5c8461+=_0xc893df['length'];_0x3cbbdf['length']+=_0x5c8461,_0x4aced2(_0x3cbbdf,_0x44ffde,_0x306e7c,_0x1ef368,_0x5d47a2,_0x32140a,0x0,_0x7dd24f,_0x370d98);}class TextView extends ContentView{constructor(_0xb50c78){super(),this['text']=_0xb50c78;}get['length'](){return this['text']['length'];}['createDOM'](_0x5cab1e){this['setDOM'](_0x5cab1e||document['createTextNode'](this['text']));}['sync'](_0x342cdc,_0x2644d4){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x2644d4&&_0x2644d4['node']==this['dom']&&(_0x2644d4['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0xf04c91){0x3==_0xf04c91['nodeType']&&this['createDOM'](_0xf04c91);}['merge'](_0x357d63,_0x902b47,_0x631eec){return!(0x8&this['flags']||_0x631eec&&(!(_0x631eec instanceof TextView)||this['length']-(_0x902b47-_0x357d63)+_0x631eec['length']>0x100||0x8&_0x631eec['flags']))&&(this['text']=this['text']['slice'](0x0,_0x357d63)+(_0x631eec?_0x631eec['text']:'')+this['text']['slice'](_0x902b47),this['markDirty'](),!0x0);}['split'](_0x42ba8a){let _0x28d96a=new TextView(this['text']['slice'](_0x42ba8a));return this['text']=this['text']['slice'](0x0,_0x42ba8a),this['markDirty'](),_0x28d96a['flags']|=0x8&this['flags'],_0x28d96a;}['localPosFromDOM'](_0x4eacbb,_0x126d5e){return _0x4eacbb==this['dom']?_0x126d5e:_0x126d5e?this['text']['length']:0x0;}['domAtPos'](_0x526db3){return new _0x3e71c4(this['dom'],_0x526db3);}['domBoundsAround'](_0x44c22a,_0xffc0d7,_0x1d2a78){return{'from':_0x1d2a78,'to':_0x1d2a78+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x49395f,_0x49acff){return function(_0x50ca11,_0xddbd,_0x3240a1){let _0x4c0b9f=_0x50ca11['nodeValue']['length'];_0xddbd>_0x4c0b9f&&(_0xddbd=_0x4c0b9f);let _0x27a695=_0xddbd,_0x27bf8f=_0xddbd,_0x399b03=0x0;0x0==_0xddbd&&_0x3240a1<0x0||_0xddbd==_0x4c0b9f&&_0x3240a1>=0x0?_0x2c4476['chrome']||_0x2c4476['gecko']||(_0xddbd?(_0x27a695--,_0x399b03=0x1):_0x27bf8f<_0x4c0b9f&&(_0x27bf8f++,_0x399b03=-0x1)):_0x3240a1<0x0?_0x27a695--:_0x27bf8f<_0x4c0b9f&&_0x27bf8f++;let _0x120a5c=_0xdf30a3(_0x50ca11,_0x27a695,_0x27bf8f)['getClientRects']();if(!_0x120a5c['length'])return null;let _0x33b549=_0x120a5c[(_0x399b03?_0x399b03<0x0:_0x3240a1>=0x0)?0x0:_0x120a5c['length']-0x1];return _0x2c4476['safari']&&!_0x399b03&&0x0==_0x33b549['width']&&(_0x33b549=Array['prototype']['find']['call'](_0x120a5c,_0x338eee=>_0x338eee['width'])||_0x33b549),_0x399b03?_0x522b58(_0x33b549,_0x399b03<0x0):_0x33b549||null;}(this['dom'],_0x49395f,_0x49acff);}}class _0x5e7953 extends ContentView{constructor(_0x394c81,_0x4ceb91=[],_0x2cc794=0x0){super(),this['mark']=_0x394c81,this['children']=_0x4ceb91,this['length']=_0x2cc794;for(let _0x163d44 of _0x4ceb91)_0x163d44['setParent'](this);}['setAttrs'](_0x1c917a){if(_0x4539ab(_0x1c917a),this['mark']['class']&&(_0x1c917a['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x29c808 in this['mark']['attrs'])_0x1c917a['setAttribute'](_0x29c808,this['mark']['attrs'][_0x29c808]);}return _0x1c917a;}['canReuseDOM'](_0x34892f){return super['canReuseDOM'](_0x34892f)&&!(0x8&(this['flags']|_0x34892f['flags']));}['reuseDOM'](_0x4241b2){_0x4241b2['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x4241b2),this['flags']|=0x6);}['sync'](_0x273deb,_0x2297fb){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x273deb,_0x2297fb);}['merge'](_0x13b56e,_0x11133a,_0x1a464e,_0x4958f6,_0x1239e2,_0x36cf04){return(!_0x1a464e||!(!(_0x1a464e instanceof _0x5e7953&&_0x1a464e['mark']['eq'](this['mark']))||_0x13b56e&&_0x1239e2<=0x0||_0x11133a<this['length']&&_0x36cf04<=0x0))&&(_0x47afda(this,_0x13b56e,_0x11133a,_0x1a464e?_0x1a464e['children']['slice']():[],_0x1239e2-0x1,_0x36cf04-0x1),this['markDirty'](),!0x0);}['split'](_0x5d6766){let _0x43a34c=[],_0x275ffa=0x0,_0x5b8188=-0x1,_0xf61f20=0x0;for(let _0x4ae890 of this['children']){let _0x36c460=_0x275ffa+_0x4ae890['length'];_0x36c460>_0x5d6766&&_0x43a34c['push'](_0x275ffa<_0x5d6766?_0x4ae890['split'](_0x5d6766-_0x275ffa):_0x4ae890),_0x5b8188<0x0&&_0x275ffa>=_0x5d6766&&(_0x5b8188=_0xf61f20),_0x275ffa=_0x36c460,_0xf61f20++;}let _0x73df7d=this['length']-_0x5d6766;return this['length']=_0x5d6766,_0x5b8188>-0x1&&(this['children']['length']=_0x5b8188,this['markDirty']()),new _0x5e7953(this['mark'],_0x43a34c,_0x73df7d);}['domAtPos'](_0x275de9){return _0x57e4ad(this,_0x275de9);}['coordsAt'](_0x218424,_0x25eed3){return _0x5beec5(this,_0x218424,_0x25eed3);}}class WidgetView extends ContentView{static['create'](_0x5c2242,_0x27393c,_0x398466){return new WidgetView(_0x5c2242,_0x27393c,_0x398466);}constructor(_0x4e69ac,_0x2605ab,_0x20ec53){super(),this['widget']=_0x4e69ac,this['length']=_0x2605ab,this['side']=_0x20ec53,this['prevWidget']=null;}['split'](_0x55e04e){let _0x527ae3=WidgetView['create'](this['widget'],this['length']-_0x55e04e,this['side']);return this['length']-=_0x55e04e,_0x527ae3;}['sync'](_0x4e23ad){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x4e23ad)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x4e23ad)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x55f482,_0x4fd49c,_0x29d87a,_0x432b7d,_0x212e67,_0x327927){return!(_0x29d87a&&(!(_0x29d87a instanceof WidgetView&&this['widget']['compare'](_0x29d87a['widget']))||_0x55f482>0x0&&_0x212e67<=0x0||_0x4fd49c<this['length']&&_0x327927<=0x0))&&(this['length']=_0x55f482+(_0x29d87a?_0x29d87a['length']:0x0)+(this['length']-_0x4fd49c),!0x0);}['become'](_0x33b4c8){return _0x33b4c8 instanceof WidgetView&&_0x33b4c8['side']==this['side']&&this['widget']['constructor']==_0x33b4c8['widget']['constructor']&&(this['widget']['compare'](_0x33b4c8['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x33b4c8['widget'],this['length']=_0x33b4c8['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x586f31){return this['widget']['ignoreEvent'](_0x586f31);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x529e5e=this;for(;_0x529e5e['parent'];)_0x529e5e=_0x529e5e['parent'];let {view:_0x137628}=_0x529e5e,_0x3eea0b=_0x137628&&_0x137628['state']['doc'],_0x5938ad=this['posAtStart'];return _0x3eea0b?_0x3eea0b['slice'](_0x5938ad,_0x5938ad+this['length']):Text['empty'];}['domAtPos'](_0x41079e){return(this['length']?0x0==_0x41079e:this['side']>0x0)?_0x3e71c4['before'](this['dom']):_0x3e71c4['after'](this['dom'],_0x41079e==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x141a11,_0x197484){let _0x12550b=this['widget']['coordsAt'](this['dom'],_0x141a11,_0x197484);if(_0x12550b)return _0x12550b;let _0x3a2fbe=this['dom']['getClientRects'](),_0x2df05a=null;if(!_0x3a2fbe['length'])return null;let _0x2c006e=this['side']?this['side']<0x0:_0x141a11>0x0;for(let _0x563786=_0x2c006e?_0x3a2fbe['length']-0x1:0x0;_0x2df05a=_0x3a2fbe[_0x563786],!(_0x141a11>0x0?0x0==_0x563786:_0x563786==_0x3a2fbe['length']-0x1||_0x2df05a['top']<_0x2df05a['bottom']);_0x563786+=_0x2c006e?-0x1:0x1);return _0x522b58(_0x2df05a,!_0x2c006e);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x3ffb45){super(),this['side']=_0x3ffb45;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0xa69b2){return _0xa69b2 instanceof WidgetBufferView&&_0xa69b2['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x35b65c=document['createElement']('img');_0x35b65c['className']='cm-widgetBuffer',_0x35b65c['setAttribute']('aria-hidden','true'),this['setDOM'](_0x35b65c);}}['getSide'](){return this['side'];}['domAtPos'](_0x35c0e2){return this['side']>0x0?_0x3e71c4['before'](this['dom']):_0x3e71c4['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x50b212){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function _0x57e4ad(_0x462d69,_0x50414a){let _0x21cccf=_0x462d69['dom'],{children:_0x44d8ca}=_0x462d69,_0x2d6196=0x0;for(let _0x5531f8=0x0;_0x2d6196<_0x44d8ca['length'];_0x2d6196++){let _0x1650dd=_0x44d8ca[_0x2d6196],_0x22d779=_0x5531f8+_0x1650dd['length'];if(!(_0x22d779==_0x5531f8&&_0x1650dd['getSide']()<=0x0)){if(_0x50414a>_0x5531f8&&_0x50414a<_0x22d779&&_0x1650dd['dom']['parentNode']==_0x21cccf)return _0x1650dd['domAtPos'](_0x50414a-_0x5531f8);if(_0x50414a<=_0x5531f8)break;_0x5531f8=_0x22d779;}}for(let _0xcce21=_0x2d6196;_0xcce21>0x0;_0xcce21--){let _0x28459d=_0x44d8ca[_0xcce21-0x1];if(_0x28459d['dom']['parentNode']==_0x21cccf)return _0x28459d['domAtPos'](_0x28459d['length']);}for(let _0x53b7e5=_0x2d6196;_0x53b7e5<_0x44d8ca['length'];_0x53b7e5++){let _0x317104=_0x44d8ca[_0x53b7e5];if(_0x317104['dom']['parentNode']==_0x21cccf)return _0x317104['domAtPos'](0x0);}return new _0x3e71c4(_0x21cccf,0x0);}function _0x4afb59(_0x3ac504,_0x5b3a2f,_0x4e5ae6){let _0x94bd44,{children:_0x574999}=_0x3ac504;_0x4e5ae6>0x0&&_0x5b3a2f instanceof _0x5e7953&&_0x574999['length']&&(_0x94bd44=_0x574999[_0x574999['length']-0x1])instanceof _0x5e7953&&_0x94bd44['mark']['eq'](_0x5b3a2f['mark'])?_0x4afb59(_0x94bd44,_0x5b3a2f['children'][0x0],_0x4e5ae6-0x1):(_0x574999['push'](_0x5b3a2f),_0x5b3a2f['setParent'](_0x3ac504)),_0x3ac504['length']+=_0x5b3a2f['length'];}function _0x5beec5(_0x4a32c2,_0x71db95,_0x57cab6){let _0x32f442=null,_0x2b0b73=-0x1,_0x2903f5=null,_0x35ae44=-0x1;!function _0x54a160(_0x69b322,_0x348349){for(let _0x4eefc7=0x0,_0x59cbe7=0x0;_0x4eefc7<_0x69b322['children']['length']&&_0x59cbe7<=_0x348349;_0x4eefc7++){let _0x27b44a=_0x69b322['children'][_0x4eefc7],_0x3edafd=_0x59cbe7+_0x27b44a['length'];_0x3edafd>=_0x348349&&(_0x27b44a['children']['length']?_0x54a160(_0x27b44a,_0x348349-_0x59cbe7):(!_0x2903f5||_0x2903f5['isHidden']&&(_0x57cab6>0x0||_0x10dada(_0x2903f5,_0x27b44a)))&&(_0x3edafd>_0x348349||_0x59cbe7==_0x3edafd&&_0x27b44a['getSide']()>0x0)?(_0x2903f5=_0x27b44a,_0x35ae44=_0x348349-_0x59cbe7):(_0x59cbe7<_0x348349||_0x59cbe7==_0x3edafd&&_0x27b44a['getSide']()<0x0&&!_0x27b44a['isHidden'])&&(_0x32f442=_0x27b44a,_0x2b0b73=_0x348349-_0x59cbe7)),_0x59cbe7=_0x3edafd;}}(_0x4a32c2,_0x71db95);let _0x26a9ee=(_0x57cab6<0x0?_0x32f442:_0x2903f5)||_0x32f442||_0x2903f5;return _0x26a9ee?_0x26a9ee['coordsAt'](Math['max'](0x0,_0x26a9ee==_0x32f442?_0x2b0b73:_0x35ae44),_0x57cab6):function(_0x1f1cdb){let _0x2ba53e=_0x1f1cdb['dom']['lastChild'];if(!_0x2ba53e)return _0x1f1cdb['dom']['getBoundingClientRect']();let _0x3983f9=_0x166e7f(_0x2ba53e);return _0x3983f9[_0x3983f9['length']-0x1]||null;}(_0x4a32c2);}function _0x10dada(_0x301e57,_0x3ec49b){let _0x5d3ab4=_0x301e57['coordsAt'](0x0,0x1),_0x1dbff4=_0x3ec49b['coordsAt'](0x0,0x1);return _0x5d3ab4&&_0x1dbff4&&_0x1dbff4['top']<_0x5d3ab4['bottom'];}function _0x3eb8ad(_0x54a8df,_0x2af078){for(let _0x585453 in _0x54a8df)'class'==_0x585453&&_0x2af078['class']?_0x2af078['class']+='\x20'+_0x54a8df['class']:'style'==_0x585453&&_0x2af078['style']?_0x2af078['style']+=';'+_0x54a8df['style']:_0x2af078[_0x585453]=_0x54a8df[_0x585453];return _0x2af078;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x319d19;const _0x292865=Object['create'](null);function _0x5ccf9b(_0xf41302,_0x377444,_0x1435bc){if(_0xf41302==_0x377444)return!0x0;_0xf41302||(_0xf41302=_0x292865),_0x377444||(_0x377444=_0x292865);let _0x1cfa53=Object['keys'](_0xf41302),_0x2e59ad=Object['keys'](_0x377444);if(_0x1cfa53['length']-(_0x1435bc&&_0x1cfa53['indexOf'](_0x1435bc)>-0x1?0x1:0x0)!=_0x2e59ad['length']-(_0x1435bc&&_0x2e59ad['indexOf'](_0x1435bc)>-0x1?0x1:0x0))return!0x1;for(let _0x3eaaf0 of _0x1cfa53)if(_0x3eaaf0!=_0x1435bc&&(-0x1==_0x2e59ad['indexOf'](_0x3eaaf0)||_0xf41302[_0x3eaaf0]!==_0x377444[_0x3eaaf0]))return!0x1;return!0x0;}function _0x307e80(_0x52b8a6,_0x5688fe,_0x415f7b){let _0xa3b053=!0x1;if(_0x5688fe){for(let _0x20f1d7 in _0x5688fe)_0x415f7b&&_0x20f1d7 in _0x415f7b||(_0xa3b053=!0x0,'style'==_0x20f1d7?_0x52b8a6['style']['cssText']='':_0x52b8a6['removeAttribute'](_0x20f1d7));}if(_0x415f7b){for(let _0x397327 in _0x415f7b)_0x5688fe&&_0x5688fe[_0x397327]==_0x415f7b[_0x397327]||(_0xa3b053=!0x0,'style'==_0x397327?_0x52b8a6['style']['cssText']=_0x415f7b[_0x397327]:_0x52b8a6['setAttribute'](_0x397327,_0x415f7b[_0x397327]));}return _0xa3b053;}function _0x5b17d3(_0x108a1){let _0x3d5e5b=Object['create'](null);for(let _0x3e89bc=0x0;_0x3e89bc<_0x108a1['attributes']['length'];_0x3e89bc++){let _0xcbac11=_0x108a1['attributes'][_0x3e89bc];_0x3d5e5b[_0xcbac11['name']]=_0xcbac11['value'];}return _0x3d5e5b;}class WidgetType{['eq'](_0xeb860){return!0x1;}['updateDOM'](_0x38fd04,_0x563138){return!0x1;}['compare'](_0x44a995){return this==_0x44a995||this['constructor']==_0x44a995['constructor']&&this['eq'](_0x44a995);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x2502a2){return!0x0;}['coordsAt'](_0x18ed72,_0x1f4a66,_0x2e4bf9){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x4f9d44){}}var _0x5b6263=function(_0x27e429){return _0x27e429[_0x27e429['Text']=0x0]='Text',_0x27e429[_0x27e429['WidgetBefore']=0x1]='WidgetBefore',_0x27e429[_0x27e429['WidgetAfter']=0x2]='WidgetAfter',_0x27e429[_0x27e429['WidgetRange']=0x3]='WidgetRange',_0x27e429;}(_0x5b6263||(_0x5b6263={}));class Decoration extends _0x347eac{constructor(_0x43a6f6,_0x479454,_0x5bb495,_0x17990c){super(),this['startSide']=_0x43a6f6,this['endSide']=_0x479454,this['widget']=_0x5bb495,this['spec']=_0x17990c;}get['heightRelevant'](){return!0x1;}static['mark'](_0x3e537f){return new MarkDecoration(_0x3e537f);}static['widget'](_0x2a7114){let _0x53613e=Math['max'](-0x2710,Math['min'](0x2710,_0x2a7114['side']||0x0)),_0x3f9710=!!_0x2a7114['block'];return _0x53613e+=_0x3f9710&&!_0x2a7114['inlineOrder']?_0x53613e>0x0?0x11e1a300:-0x17d78400:_0x53613e>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x2a7114,_0x53613e,_0x53613e,_0x3f9710,_0x2a7114['widget']||null,!0x1);}static['replace'](_0x5781f2){let _0x2b0395,_0x59690b,_0x1edb00=!!_0x5781f2['block'];if(_0x5781f2['isBlockGap'])_0x2b0395=-0x1dcd6500,_0x59690b=0x17d78400;else{let {start:_0x38f5b1,end:_0xee3462}=_0x5125d2(_0x5781f2,_0x1edb00);_0x2b0395=(_0x38f5b1?_0x1edb00?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x59690b=0x1+(_0xee3462?_0x1edb00?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x5781f2,_0x2b0395,_0x59690b,_0x1edb00,_0x5781f2['widget']||null,!0x0);}static['line'](_0x28a4bd){return new LineDecoration(_0x28a4bd);}static['set'](_0x5d4269,_0x4c06f9=!0x1){return RangeSet['of'](_0x5d4269,_0x4c06f9);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0xbe5a13){let {start:_0x26ac9e,end:_0x2887b6}=_0x5125d2(_0xbe5a13);super(_0x26ac9e?-0x1:0x1dcd6500,_0x2887b6?0x1:-0x23c34600,null,_0xbe5a13),this['tagName']=_0xbe5a13['tagName']||'span',this['class']=_0xbe5a13['class']||'',this['attrs']=_0xbe5a13['attributes']||null;}['eq'](_0x57e146){var _0x3781c4,_0xa98469;return this==_0x57e146||_0x57e146 instanceof MarkDecoration&&this['tagName']==_0x57e146['tagName']&&(this['class']||(null===(_0x3781c4=this['attrs'])||void 0x0===_0x3781c4?void 0x0:_0x3781c4['class']))==(_0x57e146['class']||(null===(_0xa98469=_0x57e146['attrs'])||void 0x0===_0xa98469?void 0x0:_0xa98469['class']))&&_0x5ccf9b(this['attrs'],_0x57e146['attrs'],'class');}['range'](_0x2f1099,_0x171f99=_0x2f1099){if(_0x2f1099>=_0x171f99)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x2f1099,_0x171f99);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x1d74f9){super(-0xbebc200,-0xbebc200,null,_0x1d74f9);}['eq'](_0x2d2a92){return _0x2d2a92 instanceof LineDecoration&&this['spec']['class']==_0x2d2a92['spec']['class']&&_0x5ccf9b(this['spec']['attributes'],_0x2d2a92['spec']['attributes']);}['range'](_0x162a6d,_0x76952b=_0x162a6d){if(_0x76952b!=_0x162a6d)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x162a6d,_0x76952b);}}LineDecoration['prototype']['mapMode']=_0x32252d['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x2e901a,_0x5512a5,_0x4dcb18,_0x467f1b,_0x5a477c,_0x999456){super(_0x5512a5,_0x4dcb18,_0x5a477c,_0x2e901a),this['block']=_0x467f1b,this['isReplace']=_0x999456,this['mapMode']=_0x467f1b?_0x5512a5<=0x0?_0x32252d['TrackBefore']:_0x32252d['TrackAfter']:_0x32252d['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x5b6263['WidgetRange']:this['startSide']<=0x0?_0x5b6263['WidgetBefore']:_0x5b6263['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x198e06){return _0x198e06 instanceof PointDecoration&&function(_0x1a2035,_0x2c156a){return _0x1a2035==_0x2c156a||!!(_0x1a2035&&_0x2c156a&&_0x1a2035['compare'](_0x2c156a));}(this['widget'],_0x198e06['widget'])&&this['block']==_0x198e06['block']&&this['startSide']==_0x198e06['startSide']&&this['endSide']==_0x198e06['endSide'];}['range'](_0x38434f,_0xb2909d=_0x38434f){if(this['isReplace']&&(_0x38434f>_0xb2909d||_0x38434f==_0xb2909d&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0xb2909d!=_0x38434f)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x38434f,_0xb2909d);}}function _0x5125d2(_0x352697,_0x4c8838=!0x1){let {inclusiveStart:_0x3ef4fc,inclusiveEnd:_0x550b42}=_0x352697;return null==_0x3ef4fc&&(_0x3ef4fc=_0x352697['inclusive']),null==_0x550b42&&(_0x550b42=_0x352697['inclusive']),{'start':null!=_0x3ef4fc?_0x3ef4fc:_0x4c8838,'end':null!=_0x550b42?_0x550b42:_0x4c8838};}function _0x333c48(_0x142e0e,_0x4a2b66,_0x3f4297,_0x43d69d=0x0){let _0x3e2883=_0x3f4297['length']-0x1;_0x3e2883>=0x0&&_0x3f4297[_0x3e2883]+_0x43d69d>=_0x142e0e?_0x3f4297[_0x3e2883]=Math['max'](_0x3f4297[_0x3e2883],_0x4a2b66):_0x3f4297['push'](_0x142e0e,_0x4a2b66);}PointDecoration['prototype']['point']=!0x0;class _0xaa5b3d extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x4ab76d,_0x23ad8b,_0x54e601,_0xa2cc41,_0xda1fff,_0x79474a){if(_0x54e601){if(!(_0x54e601 instanceof _0xaa5b3d))return!0x1;this['dom']||_0x54e601['transferDOM'](this);}return _0xa2cc41&&this['setDeco'](_0x54e601?_0x54e601['attrs']:null),_0x47afda(this,_0x4ab76d,_0x23ad8b,_0x54e601?_0x54e601['children']['slice']():[],_0xda1fff,_0x79474a),!0x0;}['split'](_0x25af94){let _0xe424e9=new _0xaa5b3d();if(_0xe424e9['breakAfter']=this['breakAfter'],0x0==this['length'])return _0xe424e9;let {i:_0xbcbba1,off:_0x5f005e}=this['childPos'](_0x25af94);_0x5f005e&&(_0xe424e9['append'](this['children'][_0xbcbba1]['split'](_0x5f005e),0x0),this['children'][_0xbcbba1]['merge'](_0x5f005e,this['children'][_0xbcbba1]['length'],null,!0x1,0x0,0x0),_0xbcbba1++);for(let _0x57fb08=_0xbcbba1;_0x57fb08<this['children']['length'];_0x57fb08++)_0xe424e9['append'](this['children'][_0x57fb08],0x0);for(;_0xbcbba1>0x0&&0x0==this['children'][_0xbcbba1-0x1]['length'];)this['children'][--_0xbcbba1]['destroy']();return this['children']['length']=_0xbcbba1,this['markDirty'](),this['length']=_0x25af94,_0xe424e9;}['transferDOM'](_0x25fb53){this['dom']&&(this['markDirty'](),_0x25fb53['setDOM'](this['dom']),_0x25fb53['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x2de968){_0x5ccf9b(this['attrs'],_0x2de968)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x2de968);}['append'](_0x1d23e3,_0x1f6220){_0x4afb59(this,_0x1d23e3,_0x1f6220);}['addLineDeco'](_0x484f30){let _0x13aaee=_0x484f30['spec']['attributes'],_0x24364c=_0x484f30['spec']['class'];_0x13aaee&&(this['attrs']=_0x3eb8ad(_0x13aaee,this['attrs']||{})),_0x24364c&&(this['attrs']=_0x3eb8ad({'class':_0x24364c},this['attrs']||{}));}['domAtPos'](_0x587afe){return _0x57e4ad(this,_0x587afe);}['reuseDOM'](_0x39f107){'DIV'==_0x39f107['nodeName']&&(this['setDOM'](_0x39f107),this['flags']|=0x6);}['sync'](_0x3cae11,_0xa8265){var _0x4ebfdf;this['dom']?0x4&this['flags']&&(_0x4539ab(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(_0x307e80(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x3cae11,_0xa8265);let _0x9f34db=this['dom']['lastChild'];for(;_0x9f34db&&ContentView['get'](_0x9f34db)instanceof _0x5e7953;)_0x9f34db=_0x9f34db['lastChild'];if(!(_0x9f34db&&this['length']&&('BR'==_0x9f34db['nodeName']||0x0!=(null===(_0x4ebfdf=ContentView['get'](_0x9f34db))||void 0x0===_0x4ebfdf?void 0x0:_0x4ebfdf['isEditable'])||_0x2c4476['ios']&&this['children']['some'](_0x4e51d6=>_0x4e51d6 instanceof TextView)))){let _0x399231=document['createElement']('BR');_0x399231['cmIgnore']=!0x0,this['dom']['appendChild'](_0x399231);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x1f0d90,_0x4a950d=0x0;for(let _0x506697 of this['children']){if(!(_0x506697 instanceof TextView)||/[^ -~]/['test'](_0x506697['text']))return null;let _0x559acf=_0x166e7f(_0x506697['dom']);if(0x1!=_0x559acf['length'])return null;_0x4a950d+=_0x559acf[0x0]['width'],_0x1f0d90=_0x559acf[0x0]['height'];}return _0x4a950d?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x4a950d/this['length'],'textHeight':_0x1f0d90}:null;}['coordsAt'](_0x10e441,_0x3d1260){let _0x14faa5=_0x5beec5(this,_0x10e441,_0x3d1260);if(!this['children']['length']&&_0x14faa5&&this['parent']){let {heightOracle:_0x46dce4}=this['parent']['view']['viewState'],_0x291714=_0x14faa5['bottom']-_0x14faa5['top'];if(Math['abs'](_0x291714-_0x46dce4['lineHeight'])<0x2&&_0x46dce4['textHeight']<_0x291714){let _0x35f49a=(_0x291714-_0x46dce4['textHeight'])/0x2;return{'top':_0x14faa5['top']+_0x35f49a,'bottom':_0x14faa5['bottom']-_0x35f49a,'left':_0x14faa5['left'],'right':_0x14faa5['left']};}}return _0x14faa5;}['become'](_0xdd073a){return _0xdd073a instanceof _0xaa5b3d&&0x0==this['children']['length']&&0x0==_0xdd073a['children']['length']&&_0x5ccf9b(this['attrs'],_0xdd073a['attrs'])&&this['breakAfter']==_0xdd073a['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x13b445,_0x48d6cc){for(let _0x2a7620=0x0,_0x1d5f65=0x0;_0x2a7620<_0x13b445['children']['length'];_0x2a7620++){let _0x48fe53=_0x13b445['children'][_0x2a7620],_0x12ba6e=_0x1d5f65+_0x48fe53['length'];if(_0x12ba6e>=_0x48d6cc){if(_0x48fe53 instanceof _0xaa5b3d)return _0x48fe53;if(_0x12ba6e>_0x48d6cc)break;}_0x1d5f65=_0x12ba6e+_0x48fe53['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x188b92,_0x2f6bd5,_0x1d8ee2){super(),this['widget']=_0x188b92,this['length']=_0x2f6bd5,this['deco']=_0x1d8ee2,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x24dce2,_0x563ec1,_0x27af13,_0x536fc5,_0x301aab,_0x546a2d){return!(_0x27af13&&(!(_0x27af13 instanceof BlockWidgetView&&this['widget']['compare'](_0x27af13['widget']))||_0x24dce2>0x0&&_0x301aab<=0x0||_0x563ec1<this['length']&&_0x546a2d<=0x0))&&(this['length']=_0x24dce2+(_0x27af13?_0x27af13['length']:0x0)+(this['length']-_0x563ec1),!0x0);}['domAtPos'](_0x368e8c){return 0x0==_0x368e8c?_0x3e71c4['before'](this['dom']):_0x3e71c4['after'](this['dom'],_0x368e8c==this['length']);}['split'](_0x5ea234){let _0x4279ff=this['length']-_0x5ea234;this['length']=_0x5ea234;let _0x4adb2c=new BlockWidgetView(this['widget'],_0x4279ff,this['deco']);return _0x4adb2c['breakAfter']=this['breakAfter'],_0x4adb2c;}get['children'](){return _0x319d19;}['sync'](_0x5d3c3b){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x5d3c3b)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x5d3c3b)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):Text['empty'];}['domBoundsAround'](){return null;}['become'](_0xa7ae87){return _0xa7ae87 instanceof BlockWidgetView&&_0xa7ae87['widget']['constructor']==this['widget']['constructor']&&(_0xa7ae87['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0xa7ae87['widget'],this['length']=_0xa7ae87['length'],this['deco']=_0xa7ae87['deco'],this['breakAfter']=_0xa7ae87['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x7ace94){return this['widget']['ignoreEvent'](_0x7ace94);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x4e747b,_0xb95e76){let _0x4ed848=this['widget']['coordsAt'](this['dom'],_0x4e747b,_0xb95e76);return _0x4ed848||(this['widget']instanceof BlockGapWidget?null:_0x522b58(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x4e747b:_0xb95e76<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x15eaf1){let {startSide:_0x5d7e73,endSide:_0x3b41ef}=this['deco'];return _0x5d7e73!=_0x3b41ef&&(_0x15eaf1<0x0?_0x5d7e73<0x0:_0x3b41ef>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x32af19){super(),this['height']=_0x32af19;}['toDOM'](){let _0x5a4a5b=document['createElement']('div');return _0x5a4a5b['className']='cm-gap',this['updateDOM'](_0x5a4a5b),_0x5a4a5b;}['eq'](_0x1b1588){return _0x1b1588['height']==this['height'];}['updateDOM'](_0x30fa8a){return _0x30fa8a['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x39a92f,_0x27489e,_0x417476,_0x158aa0){this['doc']=_0x39a92f,this['pos']=_0x27489e,this['end']=_0x417476,this['disallowBlockEffectsFor']=_0x158aa0,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x39a92f['iter'](),this['skip']=_0x27489e;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x2f918a=this['content'][this['content']['length']-0x1];return!(_0x2f918a['breakAfter']||_0x2f918a instanceof BlockWidgetView&&_0x2f918a['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0xaa5b3d()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x37d67a=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x463cf5(new WidgetBufferView(-0x1),_0x37d67a),_0x37d67a['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x1c2252){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x1c2252);}['finish'](_0xb08887){this['pendingBuffer']&&_0xb08887<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0xb08887&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x2b3bd4,_0x49e883,_0x39a5e8){for(;_0x2b3bd4>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x3dd749,lineBreak:_0x1772c1,done:_0x4f8f3e}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x4f8f3e)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x1772c1){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x2b3bd4--;continue;}this['text']=_0x3dd749,this['textOff']=0x0;}let _0x4a78a7=Math['min'](this['text']['length']-this['textOff'],_0x2b3bd4),_0x52fba3=Math['min'](_0x4a78a7,0x200);this['flushBuffer'](_0x49e883['slice'](_0x49e883['length']-_0x39a5e8)),this['getLine']()['append'](_0x463cf5(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x52fba3)),_0x49e883),_0x39a5e8),this['atCursorPos']=!0x0,this['textOff']+=_0x52fba3,_0x2b3bd4-=_0x52fba3,_0x39a5e8=_0x4a78a7<=_0x52fba3?0x0:_0x49e883['length'];}}['span'](_0x26ea7c,_0xdd66d7,_0x59524e,_0x55dc){this['buildText'](_0xdd66d7-_0x26ea7c,_0x59524e,_0x55dc),this['pos']=_0xdd66d7,this['openStart']<0x0&&(this['openStart']=_0x55dc);}['point'](_0x13c065,_0x1aa140,_0x39bcb6,_0x481c0a,_0x1bff13,_0x3228ea){if(this['disallowBlockEffectsFor'][_0x3228ea]&&_0x39bcb6 instanceof PointDecoration){if(_0x39bcb6['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x1aa140>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x147ede=_0x1aa140-_0x13c065;if(_0x39bcb6 instanceof PointDecoration){if(_0x39bcb6['block'])_0x39bcb6['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x39bcb6['widget']||NullWidget['block'],_0x147ede,_0x39bcb6));else{let _0x2db263=WidgetView['create'](_0x39bcb6['widget']||NullWidget['inline'],_0x147ede,_0x147ede?0x0:_0x39bcb6['startSide']),_0x69cf3c=this['atCursorPos']&&!_0x2db263['isEditable']&&_0x1bff13<=_0x481c0a['length']&&(_0x13c065<_0x1aa140||_0x39bcb6['startSide']>0x0),_0x16df93=!_0x2db263['isEditable']&&(_0x13c065<_0x1aa140||_0x1bff13>_0x481c0a['length']||_0x39bcb6['startSide']<=0x0),_0x33a382=this['getLine']();0x2!=this['pendingBuffer']||_0x69cf3c||_0x2db263['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x481c0a),_0x69cf3c&&(_0x33a382['append'](_0x463cf5(new WidgetBufferView(0x1),_0x481c0a),_0x1bff13),_0x1bff13=_0x481c0a['length']+Math['max'](0x0,_0x1bff13-_0x481c0a['length'])),_0x33a382['append'](_0x463cf5(_0x2db263,_0x481c0a),_0x1bff13),this['atCursorPos']=_0x16df93,this['pendingBuffer']=_0x16df93?_0x13c065<_0x1aa140||_0x1bff13>_0x481c0a['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x481c0a['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x39bcb6);_0x147ede&&(this['textOff']+_0x147ede<=this['text']['length']?this['textOff']+=_0x147ede:(this['skip']+=_0x147ede-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x1aa140),this['openStart']<0x0&&(this['openStart']=_0x1bff13);}static['build'](_0x147e81,_0x20fe72,_0x164a0e,_0x370049,_0x201fbf){let _0x3a403=new ContentBuilder(_0x147e81,_0x20fe72,_0x164a0e,_0x201fbf);return _0x3a403['openEnd']=RangeSet['spans'](_0x370049,_0x20fe72,_0x164a0e,_0x3a403),_0x3a403['openStart']<0x0&&(_0x3a403['openStart']=_0x3a403['openEnd']),_0x3a403['finish'](_0x3a403['openEnd']),_0x3a403;}}function _0x463cf5(_0x517ea3,_0xa859ff){for(let _0x266d5a of _0xa859ff)_0x517ea3=new _0x5e7953(_0x266d5a,[_0x517ea3],_0x517ea3['length']);return _0x517ea3;}class NullWidget extends WidgetType{constructor(_0x1586c3){super(),this['tag']=_0x1586c3;}['eq'](_0x54fec1){return _0x54fec1['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0xe5b469){return _0xe5b469['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var _0x2d6025=function(_0x356406){return _0x356406[_0x356406['LTR']=0x0]='LTR',_0x356406[_0x356406['RTL']=0x1]='RTL',_0x356406;}(_0x2d6025||(_0x2d6025={}));const _0x13fa0d=_0x2d6025['LTR'],_0x5465e6=_0x2d6025['RTL'];function _0x42adbd(_0x24b2d2){let _0x13fa60=[];for(let _0x65dd17=0x0;_0x65dd17<_0x24b2d2['length'];_0x65dd17++)_0x13fa60['push'](0x1<<+_0x24b2d2[_0x65dd17]);return _0x13fa60;}const _0x22bbe8=_0x42adbd('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x3b3cf3=_0x42adbd('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0x16f486=Object['create'](null),_0x1b71ed=[];for(let _0x5bf11c of['()','[]','{}']){let _0x27726c=_0x5bf11c['charCodeAt'](0x0),_0x5de179=_0x5bf11c['charCodeAt'](0x1);_0x16f486[_0x27726c]=_0x5de179,_0x16f486[_0x5de179]=-_0x27726c;}function _0x1d9363(_0x332e10){return _0x332e10<=0xf7?_0x22bbe8[_0x332e10]:0x590<=_0x332e10&&_0x332e10<=0x5f4?0x2:0x600<=_0x332e10&&_0x332e10<=0x6f9?_0x3b3cf3[_0x332e10-0x600]:0x6ee<=_0x332e10&&_0x332e10<=0x8ac?0x4:0x2000<=_0x332e10&&_0x332e10<=0x200c?0x100:0xfb50<=_0x332e10&&_0x332e10<=0xfdff?0x4:0x1;}const _0x3c8543=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x33b7cf{get['dir'](){return this['level']%0x2?_0x5465e6:_0x13fa0d;}constructor(_0x363dcf,_0x25bf79,_0xe65177){this['from']=_0x363dcf,this['to']=_0x25bf79,this['level']=_0xe65177;}['side'](_0x19ce43,_0x1f2a95){return this['dir']==_0x1f2a95==_0x19ce43?this['to']:this['from'];}['forward'](_0x37594d,_0x266ffc){return _0x37594d==(this['dir']==_0x266ffc);}static['find'](_0x357331,_0x4787aa,_0x1c3a67,_0x50c08c){let _0x27ca1d=-0x1;for(let _0x2ed791=0x0;_0x2ed791<_0x357331['length'];_0x2ed791++){let _0x4e2b7c=_0x357331[_0x2ed791];if(_0x4e2b7c['from']<=_0x4787aa&&_0x4e2b7c['to']>=_0x4787aa){if(_0x4e2b7c['level']==_0x1c3a67)return _0x2ed791;(_0x27ca1d<0x0||(0x0!=_0x50c08c?_0x50c08c<0x0?_0x4e2b7c['from']<_0x4787aa:_0x4e2b7c['to']>_0x4787aa:_0x357331[_0x27ca1d]['level']>_0x4e2b7c['level']))&&(_0x27ca1d=_0x2ed791);}}if(_0x27ca1d<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x27ca1d;}}function _0x5c905d(_0x2e7d00,_0xc447b){if(_0x2e7d00['length']!=_0xc447b['length'])return!0x1;for(let _0x157b4b=0x0;_0x157b4b<_0x2e7d00['length'];_0x157b4b++){let _0x36e223=_0x2e7d00[_0x157b4b],_0x52fe7e=_0xc447b[_0x157b4b];if(_0x36e223['from']!=_0x52fe7e['from']||_0x36e223['to']!=_0x52fe7e['to']||_0x36e223['direction']!=_0x52fe7e['direction']||!_0x5c905d(_0x36e223['inner'],_0x52fe7e['inner']))return!0x1;}return!0x0;}const _0x2f729d=[];function tO(_0x36736c,_0x1f64bc,_0x4e5ed9,_0x4a1291,_0x54cc5c,_0x3c11b3,_0x5c3c50){let _0x5bb8c5=_0x4a1291%0x2?0x2:0x1;if(_0x4a1291%0x2==_0x54cc5c%0x2)for(let _0x564fe5=_0x1f64bc,_0x11d59a=0x0;_0x564fe5<_0x4e5ed9;){let _0x269ed9=!0x0,_0x1f4864=!0x1;if(_0x11d59a==_0x3c11b3['length']||_0x564fe5<_0x3c11b3[_0x11d59a]['from']){let _0x385b43=_0x2f729d[_0x564fe5];_0x385b43!=_0x5bb8c5&&(_0x269ed9=!0x1,_0x1f4864=0x10==_0x385b43);}let _0x3ecbe3=_0x269ed9||0x1!=_0x5bb8c5?null:[],_0x5bf4b4=_0x269ed9?_0x4a1291:_0x4a1291+0x1,_0xf1f318=_0x564fe5;t:for(;;)if(_0x11d59a<_0x3c11b3['length']&&_0xf1f318==_0x3c11b3[_0x11d59a]['from']){if(_0x1f4864)break t;let _0x3cde16=_0x3c11b3[_0x11d59a];if(!_0x269ed9)for(let _0x215084=_0x3cde16['to'],_0x5445d6=_0x11d59a+0x1;;){if(_0x215084==_0x4e5ed9)break t;if(!(_0x5445d6<_0x3c11b3['length']&&_0x3c11b3[_0x5445d6]['from']==_0x215084)){if(_0x2f729d[_0x215084]==_0x5bb8c5)break t;break;}_0x215084=_0x3c11b3[_0x5445d6++]['to'];}if(_0x11d59a++,_0x3ecbe3)_0x3ecbe3['push'](_0x3cde16);else _0x3cde16['from']>_0x564fe5&&_0x5c3c50['push'](new _0x33b7cf(_0x564fe5,_0x3cde16['from'],_0x5bf4b4)),_0x8dea1(_0x36736c,_0x3cde16['direction']==_0x13fa0d!=!(_0x5bf4b4%0x2)?_0x4a1291+0x1:_0x4a1291,_0x54cc5c,_0x3cde16['inner'],_0x3cde16['from'],_0x3cde16['to'],_0x5c3c50),_0x564fe5=_0x3cde16['to'];_0xf1f318=_0x3cde16['to'];}else{if(_0xf1f318==_0x4e5ed9||(_0x269ed9?_0x2f729d[_0xf1f318]!=_0x5bb8c5:_0x2f729d[_0xf1f318]==_0x5bb8c5))break;_0xf1f318++;}_0x3ecbe3?tO(_0x36736c,_0x564fe5,_0xf1f318,_0x4a1291+0x1,_0x54cc5c,_0x3ecbe3,_0x5c3c50):_0x564fe5<_0xf1f318&&_0x5c3c50['push'](new _0x33b7cf(_0x564fe5,_0xf1f318,_0x5bf4b4)),_0x564fe5=_0xf1f318;}else for(let _0x374420=_0x4e5ed9,_0xa0e474=_0x3c11b3['length'];_0x374420>_0x1f64bc;){let _0x369b53=!0x0,_0x4c8903=!0x1;if(!_0xa0e474||_0x374420>_0x3c11b3[_0xa0e474-0x1]['to']){let _0x510954=_0x2f729d[_0x374420-0x1];_0x510954!=_0x5bb8c5&&(_0x369b53=!0x1,_0x4c8903=0x10==_0x510954);}let _0x53c5ac=_0x369b53||0x1!=_0x5bb8c5?null:[],_0x29a23b=_0x369b53?_0x4a1291:_0x4a1291+0x1,_0x21d87e=_0x374420;t:for(;;)if(_0xa0e474&&_0x21d87e==_0x3c11b3[_0xa0e474-0x1]['to']){if(_0x4c8903)break t;let _0x58cba5=_0x3c11b3[--_0xa0e474];if(!_0x369b53)for(let _0x62399d=_0x58cba5['from'],_0xe6ba98=_0xa0e474;;){if(_0x62399d==_0x1f64bc)break t;if(!_0xe6ba98||_0x3c11b3[_0xe6ba98-0x1]['to']!=_0x62399d){if(_0x2f729d[_0x62399d-0x1]==_0x5bb8c5)break t;break;}_0x62399d=_0x3c11b3[--_0xe6ba98]['from'];}if(_0x53c5ac)_0x53c5ac['push'](_0x58cba5);else _0x58cba5['to']<_0x374420&&_0x5c3c50['push'](new _0x33b7cf(_0x58cba5['to'],_0x374420,_0x29a23b)),_0x8dea1(_0x36736c,_0x58cba5['direction']==_0x13fa0d!=!(_0x29a23b%0x2)?_0x4a1291+0x1:_0x4a1291,_0x54cc5c,_0x58cba5['inner'],_0x58cba5['from'],_0x58cba5['to'],_0x5c3c50),_0x374420=_0x58cba5['from'];_0x21d87e=_0x58cba5['from'];}else{if(_0x21d87e==_0x1f64bc||(_0x369b53?_0x2f729d[_0x21d87e-0x1]!=_0x5bb8c5:_0x2f729d[_0x21d87e-0x1]==_0x5bb8c5))break;_0x21d87e--;}_0x53c5ac?tO(_0x36736c,_0x21d87e,_0x374420,_0x4a1291+0x1,_0x54cc5c,_0x53c5ac,_0x5c3c50):_0x21d87e<_0x374420&&_0x5c3c50['push'](new _0x33b7cf(_0x21d87e,_0x374420,_0x29a23b)),_0x374420=_0x21d87e;}}function _0x8dea1(_0x298d2e,_0x48b046,_0x2403c7,_0x373706,_0x3e59fc,_0x47b230,_0x67542){let _0x14d5ea=_0x48b046%0x2?0x2:0x1;!function(_0x16651f,_0x25c269,_0x27c3b7,_0x5a57fd,_0x561c95){for(let _0x5c081c=0x0;_0x5c081c<=_0x5a57fd['length'];_0x5c081c++){let _0xa0064e=_0x5c081c?_0x5a57fd[_0x5c081c-0x1]['to']:_0x25c269,_0x2b9060=_0x5c081c<_0x5a57fd['length']?_0x5a57fd[_0x5c081c]['from']:_0x27c3b7,_0x124322=_0x5c081c?0x100:_0x561c95;for(let _0xb1c0c=_0xa0064e,_0x4fb89e=_0x124322,_0xa0105d=_0x124322;_0xb1c0c<_0x2b9060;_0xb1c0c++){let _0x50e511=_0x1d9363(_0x16651f['charCodeAt'](_0xb1c0c));0x200==_0x50e511?_0x50e511=_0x4fb89e:0x8==_0x50e511&&0x4==_0xa0105d&&(_0x50e511=0x10),_0x2f729d[_0xb1c0c]=0x4==_0x50e511?0x2:_0x50e511,0x7&_0x50e511&&(_0xa0105d=_0x50e511),_0x4fb89e=_0x50e511;}for(let _0x19aba9=_0xa0064e,_0x3317b4=_0x124322,_0x3c09f4=_0x124322;_0x19aba9<_0x2b9060;_0x19aba9++){let _0x93d28d=_0x2f729d[_0x19aba9];if(0x80==_0x93d28d)_0x19aba9<_0x2b9060-0x1&&_0x3317b4==_0x2f729d[_0x19aba9+0x1]&&0x18&_0x3317b4?_0x93d28d=_0x2f729d[_0x19aba9]=_0x3317b4:_0x2f729d[_0x19aba9]=0x100;else{if(0x40==_0x93d28d){let _0x38cd7a=_0x19aba9+0x1;for(;_0x38cd7a<_0x2b9060&&0x40==_0x2f729d[_0x38cd7a];)_0x38cd7a++;let _0xc5dffd=_0x19aba9&&0x8==_0x3317b4||_0x38cd7a<_0x27c3b7&&0x8==_0x2f729d[_0x38cd7a]?0x1==_0x3c09f4?0x1:0x8:0x100;for(let _0x403a72=_0x19aba9;_0x403a72<_0x38cd7a;_0x403a72++)_0x2f729d[_0x403a72]=_0xc5dffd;_0x19aba9=_0x38cd7a-0x1;}else 0x8==_0x93d28d&&0x1==_0x3c09f4&&(_0x2f729d[_0x19aba9]=0x1);}_0x3317b4=_0x93d28d,0x7&_0x93d28d&&(_0x3c09f4=_0x93d28d);}}}(_0x298d2e,_0x3e59fc,_0x47b230,_0x373706,_0x14d5ea),function(_0x5e7253,_0x139441,_0xeb32b8,_0x588fcb,_0x5ab7ce){let _0x3cacbb=0x1==_0x5ab7ce?0x2:0x1;for(let _0x3064a1=0x0,_0x4d25f2=0x0,_0x3ded72=0x0;_0x3064a1<=_0x588fcb['length'];_0x3064a1++){let _0x26da94=_0x3064a1?_0x588fcb[_0x3064a1-0x1]['to']:_0x139441,_0xf06a8b=_0x3064a1<_0x588fcb['length']?_0x588fcb[_0x3064a1]['from']:_0xeb32b8;for(let _0x3fa9e7,_0x2c48fd,_0x1264bb,_0x2a9ff5=_0x26da94;_0x2a9ff5<_0xf06a8b;_0x2a9ff5++)if(_0x2c48fd=_0x16f486[_0x3fa9e7=_0x5e7253['charCodeAt'](_0x2a9ff5)]){if(_0x2c48fd<0x0){for(let _0x537a0b=_0x4d25f2-0x3;_0x537a0b>=0x0;_0x537a0b-=0x3)if(_0x1b71ed[_0x537a0b+0x1]==-_0x2c48fd){let _0x521362=_0x1b71ed[_0x537a0b+0x2],_0x555625=0x2&_0x521362?_0x5ab7ce:0x4&_0x521362?0x1&_0x521362?_0x3cacbb:_0x5ab7ce:0x0;_0x555625&&(_0x2f729d[_0x2a9ff5]=_0x2f729d[_0x1b71ed[_0x537a0b]]=_0x555625),_0x4d25f2=_0x537a0b;break;}}else{if(0xbd==_0x1b71ed['length'])break;_0x1b71ed[_0x4d25f2++]=_0x2a9ff5,_0x1b71ed[_0x4d25f2++]=_0x3fa9e7,_0x1b71ed[_0x4d25f2++]=_0x3ded72;}}else{if(0x2==(_0x1264bb=_0x2f729d[_0x2a9ff5])||0x1==_0x1264bb){let _0x13f748=_0x1264bb==_0x5ab7ce;_0x3ded72=_0x13f748?0x0:0x1;for(let _0x49b445=_0x4d25f2-0x3;_0x49b445>=0x0;_0x49b445-=0x3){let _0x50f22a=_0x1b71ed[_0x49b445+0x2];if(0x2&_0x50f22a)break;if(_0x13f748)_0x1b71ed[_0x49b445+0x2]|=0x2;else{if(0x4&_0x50f22a)break;_0x1b71ed[_0x49b445+0x2]|=0x4;}}}}}}(_0x298d2e,_0x3e59fc,_0x47b230,_0x373706,_0x14d5ea),function(_0x5245d0,_0xf460ba,_0x3a0a9d,_0x3210e9){for(let _0x18be82=0x0,_0x2ec614=_0x3210e9;_0x18be82<=_0x3a0a9d['length'];_0x18be82++){let _0x321380=_0x18be82?_0x3a0a9d[_0x18be82-0x1]['to']:_0x5245d0,_0x8df0de=_0x18be82<_0x3a0a9d['length']?_0x3a0a9d[_0x18be82]['from']:_0xf460ba;for(let _0x25224f=_0x321380;_0x25224f<_0x8df0de;){let _0xccce7d=_0x2f729d[_0x25224f];if(0x100==_0xccce7d){let _0x178ff7=_0x25224f+0x1;for(;;)if(_0x178ff7==_0x8df0de){if(_0x18be82==_0x3a0a9d['length'])break;_0x178ff7=_0x3a0a9d[_0x18be82++]['to'],_0x8df0de=_0x18be82<_0x3a0a9d['length']?_0x3a0a9d[_0x18be82]['from']:_0xf460ba;}else{if(0x100!=_0x2f729d[_0x178ff7])break;_0x178ff7++;}let _0x3106ac=0x1==_0x2ec614,_0x1fa6eb=_0x3106ac==(0x1==(_0x178ff7<_0xf460ba?_0x2f729d[_0x178ff7]:_0x3210e9))?_0x3106ac?0x1:0x2:_0x3210e9;for(let _0x3df8b2=_0x178ff7,_0x291d2b=_0x18be82,_0x59af73=_0x291d2b?_0x3a0a9d[_0x291d2b-0x1]['to']:_0x5245d0;_0x3df8b2>_0x25224f;)_0x3df8b2==_0x59af73&&(_0x3df8b2=_0x3a0a9d[--_0x291d2b]['from'],_0x59af73=_0x291d2b?_0x3a0a9d[_0x291d2b-0x1]['to']:_0x5245d0),_0x2f729d[--_0x3df8b2]=_0x1fa6eb;_0x25224f=_0x178ff7;}else _0x2ec614=_0xccce7d,_0x25224f++;}}}(_0x3e59fc,_0x47b230,_0x373706,_0x14d5ea),tO(_0x298d2e,_0x3e59fc,_0x47b230,_0x48b046,_0x2403c7,_0x373706,_0x67542);}function _0x175922(_0x24831c){return[new _0x33b7cf(0x0,_0x24831c,0x0)];}let _0x4b7d91='';function _0x2fa366(_0xad532b,_0x44444c,_0x2403a6,_0x4bc89b,_0x68a6fb){var _0x14afbc;let _0x38e1b8=_0x4bc89b['head']-_0xad532b['from'],_0x3e1981=_0x33b7cf['find'](_0x44444c,_0x38e1b8,null!==(_0x14afbc=_0x4bc89b['bidiLevel'])&&void 0x0!==_0x14afbc?_0x14afbc:-0x1,_0x4bc89b['assoc']),_0x598b33=_0x44444c[_0x3e1981],_0x58851d=_0x598b33['side'](_0x68a6fb,_0x2403a6);if(_0x38e1b8==_0x58851d){let _0x13426e=_0x3e1981+=_0x68a6fb?0x1:-0x1;if(_0x13426e<0x0||_0x13426e>=_0x44444c['length'])return null;_0x598b33=_0x44444c[_0x3e1981=_0x13426e],_0x38e1b8=_0x598b33['side'](!_0x68a6fb,_0x2403a6),_0x58851d=_0x598b33['side'](_0x68a6fb,_0x2403a6);}let _0x520ef4=_0x2044d7(_0xad532b['text'],_0x38e1b8,_0x598b33['forward'](_0x68a6fb,_0x2403a6));(_0x520ef4<_0x598b33['from']||_0x520ef4>_0x598b33['to'])&&(_0x520ef4=_0x58851d),_0x4b7d91=_0xad532b['text']['slice'](Math['min'](_0x38e1b8,_0x520ef4),Math['max'](_0x38e1b8,_0x520ef4));let _0x391a39=_0x3e1981==(_0x68a6fb?_0x44444c['length']-0x1:0x0)?null:_0x44444c[_0x3e1981+(_0x68a6fb?0x1:-0x1)];return _0x391a39&&_0x520ef4==_0x58851d&&_0x391a39['level']+(_0x68a6fb?0x0:0x1)<_0x598b33['level']?EditorSelection['cursor'](_0x391a39['side'](!_0x68a6fb,_0x2403a6)+_0xad532b['from'],_0x391a39['forward'](_0x68a6fb,_0x2403a6)?0x1:-0x1,_0x391a39['level']):EditorSelection['cursor'](_0x520ef4+_0xad532b['from'],_0x598b33['forward'](_0x68a6fb,_0x2403a6)?-0x1:0x1,_0x598b33['level']);}function _0x20ba63(_0x4273ca,_0x4cc1bd,_0x33a420){for(let _0x37a1fe=_0x4cc1bd;_0x37a1fe<_0x33a420;_0x37a1fe++){let _0x8e6f47=_0x1d9363(_0x4273ca['charCodeAt'](_0x37a1fe));if(0x1==_0x8e6f47)return _0x13fa0d;if(0x2==_0x8e6f47||0x4==_0x8e6f47)return _0x5465e6;}return _0x13fa0d;}const _0xa1e1d9=Facet['define'](),_0x43702e=Facet['define'](),_0xf0a240=Facet['define'](),_0x69d4fc=Facet['define'](),_0x3fda26=Facet['define'](),_0x5699fa=Facet['define'](),_0x381b4a=Facet['define'](),_0x3ad89a=Facet['define'](),_0x3c7aa9=Facet['define'](),_0x3f8414=Facet['define']({'combine':_0x1409e4=>_0x1409e4['some'](_0x24109f=>_0x24109f)}),_0x3f5253=Facet['define']({'combine':_0x340803=>_0x340803['some'](_0x3be287=>_0x3be287)}),_0x109de1=Facet['define']();class ScrollTarget{constructor(_0x6cf0f1,_0x398ea8='nearest',_0x2e6be7='nearest',_0x4c4f13=0x5,_0x16f54f=0x5,_0x4e5010=!0x1){this['range']=_0x6cf0f1,this['y']=_0x398ea8,this['x']=_0x2e6be7,this['yMargin']=_0x4c4f13,this['xMargin']=_0x16f54f,this['isSnapshot']=_0x4e5010;}['map'](_0x3d9aaf){return _0x3d9aaf['empty']?this:new ScrollTarget(this['range']['map'](_0x3d9aaf),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x3eefd3){return this['range']['to']<=_0x3eefd3['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x3eefd3['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const _0x11e4ee=StateEffect['define']({'map':(t,_0x3fcc46)=>t['map'](_0x3fcc46)}),_0x37ea3a=StateEffect['define']();function _0x2eda46(_0x2e9c65,_0x3dc016,_0x237539){let _0x34a346=_0x2e9c65['facet'](_0x69d4fc);_0x34a346['length']?_0x34a346[0x0](_0x3dc016):window['onerror']&&window['onerror'](String(_0x3dc016),_0x237539,void 0x0,void 0x0,_0x3dc016)||(_0x237539?console['error'](_0x237539+':',_0x3dc016):console['error'](_0x3dc016));}const _0x1a0c5c=Facet['define']({'combine':_0x10252d=>!_0x10252d['length']||_0x10252d[0x0]});let _0xbed9ed=0x0;const _0x4333d6=Facet['define']({'combine':_0x353778=>_0x353778['filter']((_0x33c5e1,_0x1b0ddb)=>{for(let _0x3becd4=0x0;_0x3becd4<_0x1b0ddb;_0x3becd4++)if(_0x353778[_0x3becd4]['plugin']==_0x33c5e1['plugin'])return!0x1;return!0x0;})});class _0xa40bbd{constructor(_0x3207ab,_0x4ea246,_0x1914a5,_0x5cd582,_0x13f2b8){this['id']=_0x3207ab,this['create']=_0x4ea246,this['domEventHandlers']=_0x1914a5,this['domEventObservers']=_0x5cd582,this['baseExtensions']=_0x13f2b8(this),this['extension']=this['baseExtensions']['concat'](_0x4333d6['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x198634){return this['baseExtensions']['concat'](_0x4333d6['of']({'plugin':this,'arg':_0x198634}));}static['define'](_0x4fb65e,_0x4b280b){const {eventHandlers:_0x3443dc,eventObservers:_0x551c02,provide:_0x4db088,decorations:_0x44bfde}=_0x4b280b||{};return new _0xa40bbd(_0xbed9ed++,_0x4fb65e,_0x3443dc,_0x551c02,_0x36f074=>{let _0x3eac19=[];return _0x44bfde&&_0x3eac19['push'](_0x347d54['of'](_0x24abab=>{let _0x5a3ac6=_0x24abab['plugin'](_0x36f074);return _0x5a3ac6?_0x44bfde(_0x5a3ac6):Decoration['none'];})),_0x4db088&&_0x3eac19['push'](_0x4db088(_0x36f074)),_0x3eac19;});}static['fromClass'](_0x5ef225,_0x4daecc){return _0xa40bbd['define']((_0x13faad,_0x193011)=>new _0x5ef225(_0x13faad,_0x193011),_0x4daecc);}}class PluginInstance{constructor(_0x1b7c5d){this['spec']=_0x1b7c5d,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x28b093){if(this['value']){if(this['mustUpdate']){let _0x31ffd2=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x31ffd2);}catch(_0x29bcdd){if(_0x2eda46(_0x31ffd2['state'],_0x29bcdd,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x3388bc){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x28b093,this['spec']['arg']);}catch(_0x4fcee7){_0x2eda46(_0x28b093['state'],_0x4fcee7,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x44e7b7){var _0x4a5574;if(null===(_0x4a5574=this['value'])||void 0x0===_0x4a5574?void 0x0:_0x4a5574['destroy'])try{this['value']['destroy']();}catch(_0x8ad8b8){_0x2eda46(_0x44e7b7['state'],_0x8ad8b8,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const _0x570611=Facet['define'](),_0x2b6385=Facet['define'](),_0x347d54=Facet['define'](),_0x4d8c7c=Facet['define'](),_0x291ab4=Facet['define'](),_0x5153eb=Facet['define']();function _0x241def(_0xe43510,_0x2f315b){let _0x5ed0cc=_0xe43510['state']['facet'](_0x5153eb);if(!_0x5ed0cc['length'])return _0x5ed0cc;let _0x2c37c7=_0x5ed0cc['map'](_0x106b83=>_0x106b83 instanceof Function?_0x106b83(_0xe43510):_0x106b83),_0x511599=[];return RangeSet['spans'](_0x2c37c7,_0x2f315b['from'],_0x2f315b['to'],{'point'(){},'span'(_0x64bd44,_0x3fdca2,_0x5dd006,_0x7c25b2){let _0x124465=_0x64bd44-_0x2f315b['from'],_0x524cb8=_0x3fdca2-_0x2f315b['from'],_0x6c5b9f=_0x511599;for(let _0x36bc08=_0x5dd006['length']-0x1;_0x36bc08>=0x0;_0x36bc08--,_0x7c25b2--){let _0x122358,_0x59fc78=_0x5dd006[_0x36bc08]['spec']['bidiIsolate'];if(null==_0x59fc78&&(_0x59fc78=_0x20ba63(_0x2f315b['text'],_0x124465,_0x524cb8)),_0x7c25b2>0x0&&_0x6c5b9f['length']&&(_0x122358=_0x6c5b9f[_0x6c5b9f['length']-0x1])['to']==_0x124465&&_0x122358['direction']==_0x59fc78)_0x122358['to']=_0x524cb8,_0x6c5b9f=_0x122358['inner'];else{let _0x4ac568={'from':_0x124465,'to':_0x524cb8,'direction':_0x59fc78,'inner':[]};_0x6c5b9f['push'](_0x4ac568),_0x6c5b9f=_0x4ac568['inner'];}}}}),_0x511599;}const _0x54c36e=Facet['define']();function _0x1b8ea7(_0x153777){let _0x2d6547=0x0,_0x271aea=0x0,_0x2e221c=0x0,_0x3ff18e=0x0;for(let _0x57bd84 of _0x153777['state']['facet'](_0x54c36e)){let _0x122987=_0x57bd84(_0x153777);_0x122987&&(null!=_0x122987['left']&&(_0x2d6547=Math['max'](_0x2d6547,_0x122987['left'])),null!=_0x122987['right']&&(_0x271aea=Math['max'](_0x271aea,_0x122987['right'])),null!=_0x122987['top']&&(_0x2e221c=Math['max'](_0x2e221c,_0x122987['top'])),null!=_0x122987['bottom']&&(_0x3ff18e=Math['max'](_0x3ff18e,_0x122987['bottom'])));}return{'left':_0x2d6547,'right':_0x271aea,'top':_0x2e221c,'bottom':_0x3ff18e};}const _0x432177=Facet['define']();class _0x3964c6{constructor(_0x5a1bfd,_0x2926ed,_0x2b7b97,_0x25ff10){this['fromA']=_0x5a1bfd,this['toA']=_0x2926ed,this['fromB']=_0x2b7b97,this['toB']=_0x25ff10;}['join'](_0x3f6cb5){return new _0x3964c6(Math['min'](this['fromA'],_0x3f6cb5['fromA']),Math['max'](this['toA'],_0x3f6cb5['toA']),Math['min'](this['fromB'],_0x3f6cb5['fromB']),Math['max'](this['toB'],_0x3f6cb5['toB']));}['addToSet'](_0x54209d){let _0x283c57=_0x54209d['length'],_0x455b5f=this;for(;_0x283c57>0x0;_0x283c57--){let _0x588846=_0x54209d[_0x283c57-0x1];if(!(_0x588846['fromA']>_0x455b5f['toA'])){if(_0x588846['toA']<_0x455b5f['fromA'])break;_0x455b5f=_0x455b5f['join'](_0x588846),_0x54209d['splice'](_0x283c57-0x1,0x1);}}return _0x54209d['splice'](_0x283c57,0x0,_0x455b5f),_0x54209d;}static['extendWithRanges'](_0x5afdba,_0x475231){if(0x0==_0x475231['length'])return _0x5afdba;let _0x2c9a7c=[];for(let _0x215d41=0x0,_0x4b388d=0x0,_0x1b4576=0x0,_0x3386c0=0x0;;_0x215d41++){let _0x5b6ebe=_0x215d41==_0x5afdba['length']?null:_0x5afdba[_0x215d41],_0x588d3e=_0x1b4576-_0x3386c0,_0x5e3edf=_0x5b6ebe?_0x5b6ebe['fromB']:0x3b9aca00;for(;_0x4b388d<_0x475231['length']&&_0x475231[_0x4b388d]<_0x5e3edf;){let _0x523fa6=_0x475231[_0x4b388d],_0x44e7fb=_0x475231[_0x4b388d+0x1],_0x214949=Math['max'](_0x3386c0,_0x523fa6),_0x883437=Math['min'](_0x5e3edf,_0x44e7fb);if(_0x214949<=_0x883437&&new _0x3964c6(_0x214949+_0x588d3e,_0x883437+_0x588d3e,_0x214949,_0x883437)['addToSet'](_0x2c9a7c),_0x44e7fb>_0x5e3edf)break;_0x4b388d+=0x2;}if(!_0x5b6ebe)return _0x2c9a7c;new _0x3964c6(_0x5b6ebe['fromA'],_0x5b6ebe['toA'],_0x5b6ebe['fromB'],_0x5b6ebe['toB'])['addToSet'](_0x2c9a7c),_0x1b4576=_0x5b6ebe['toA'],_0x3386c0=_0x5b6ebe['toB'];}}}class ViewUpdate{constructor(_0x2eb1c0,_0x2262ba,_0x69cbd3){this['view']=_0x2eb1c0,this['state']=_0x2262ba,this['transactions']=_0x69cbd3,this['flags']=0x0,this['startState']=_0x2eb1c0['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x2556f2 of _0x69cbd3)this['changes']=this['changes']['compose'](_0x2556f2['changes']);let _0x5eb30c=[];this['changes']['iterChangedRanges']((_0x4fc719,_0x1078b4,_0x10c5da,_0x3e04ca)=>_0x5eb30c['push'](new _0x3964c6(_0x4fc719,_0x1078b4,_0x10c5da,_0x3e04ca))),this['changedRanges']=_0x5eb30c;}static['create'](_0x3fff93,_0x374626,_0x393293){return new ViewUpdate(_0x3fff93,_0x374626,_0x393293);}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'](_0x989ddd=>_0x989ddd['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x41ab31 extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x3d5242){super(),this['view']=_0x3d5242,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['setDOM'](_0x3d5242['contentDOM']),this['children']=[new _0xaa5b3d()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x3964c6(0x0,0x0,0x0,_0x3d5242['state']['doc']['length'])],0x0,null);}['update'](_0x3a7e33){var _0x5e595c;let _0x2ee4fc=_0x3a7e33['changedRanges'];this['minWidth']>0x0&&_0x2ee4fc['length']&&(_0x2ee4fc['every'](({fromA:_0x22c6b0,toA:_0x549398})=>_0x549398<this['minWidthFrom']||_0x22c6b0>this['minWidthTo'])?(this['minWidthFrom']=_0x3a7e33['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x3a7e33['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x3a7e33);let _0x5ec3bf=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x5e595c=this['domChanged'])||void 0x0===_0x5e595c?void 0x0:_0x5e595c['newSel'])?_0x5ec3bf=this['domChanged']['newSel']['head']:function(_0x36d17c,_0x241845){let _0x1d8901=!0x1;return _0x241845&&_0x36d17c['iterChangedRanges']((_0x4d931b,_0x2a83e7)=>{_0x4d931b<_0x241845['to']&&_0x2a83e7>_0x241845['from']&&(_0x1d8901=!0x0);}),_0x1d8901;}(_0x3a7e33['changes'],this['hasComposition'])||_0x3a7e33['selectionSet']||(_0x5ec3bf=_0x3a7e33['state']['selection']['main']['head']));let _0x3c9834=_0x5ec3bf>-0x1?function(_0x31e3b1,_0x23bc1a,_0x240c1c){let _0x15d7a9=_0x590564(_0x31e3b1,_0x240c1c);if(!_0x15d7a9)return null;let {node:_0x545d3f,from:_0x459d97,to:_0x4a5e1d}=_0x15d7a9,_0x4dbc7c=_0x545d3f['nodeValue'];if(/[\n\r]/['test'](_0x4dbc7c))return null;if(_0x31e3b1['state']['doc']['sliceString'](_0x15d7a9['from'],_0x15d7a9['to'])!=_0x4dbc7c)return null;let _0x3bf0bf=_0x23bc1a['invertedDesc'],_0x75ac8d=new _0x3964c6(_0x3bf0bf['mapPos'](_0x459d97),_0x3bf0bf['mapPos'](_0x4a5e1d),_0x459d97,_0x4a5e1d),_0x527c50=[];for(let _0x4365d7=_0x545d3f['parentNode'];;_0x4365d7=_0x4365d7['parentNode']){let _0x2fd52d=ContentView['get'](_0x4365d7);if(_0x2fd52d instanceof _0x5e7953)_0x527c50['push']({'node':_0x4365d7,'deco':_0x2fd52d['mark']});else{if(_0x2fd52d instanceof _0xaa5b3d||'DIV'==_0x4365d7['nodeName']&&_0x4365d7['parentNode']==_0x31e3b1['contentDOM'])return{'range':_0x75ac8d,'text':_0x545d3f,'marks':_0x527c50,'line':_0x4365d7};if(_0x4365d7==_0x31e3b1['contentDOM'])return null;_0x527c50['push']({'node':_0x4365d7,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':_0x5b17d3(_0x4365d7),'tagName':_0x4365d7['tagName']['toLowerCase']()})});}}}(this['view'],_0x3a7e33['changes'],_0x5ec3bf):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x2285c4,to:_0x4e4be6}=this['hasComposition'];_0x2ee4fc=new _0x3964c6(_0x2285c4,_0x4e4be6,_0x3a7e33['changes']['mapPos'](_0x2285c4,-0x1),_0x3a7e33['changes']['mapPos'](_0x4e4be6,0x1))['addToSet'](_0x2ee4fc['slice']());}this['hasComposition']=_0x3c9834?{'from':_0x3c9834['range']['fromB'],'to':_0x3c9834['range']['toB']}:null,(_0x2c4476['ie']||_0x2c4476['chrome'])&&!_0x3c9834&&_0x3a7e33&&_0x3a7e33['state']['doc']['lines']!=_0x3a7e33['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x52fd78=function(_0x5b2e7f,_0x2bd869,_0x51ddd5){let _0x12fd5f=new _0x464297();return RangeSet['compare'](_0x5b2e7f,_0x2bd869,_0x51ddd5,_0x12fd5f),_0x12fd5f['changes'];}(this['decorations'],this['updateDeco'](),_0x3a7e33['changes']);return _0x2ee4fc=_0x3964c6['extendWithRanges'](_0x2ee4fc,_0x52fd78),!!(0x7&this['flags']||0x0!=_0x2ee4fc['length'])&&(this['updateInner'](_0x2ee4fc,_0x3a7e33['startState']['doc']['length'],_0x3c9834),_0x3a7e33['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x245e51,_0x59351a,_0x5df3c6){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x245e51,_0x59351a,_0x5df3c6);let {observer:_0x431120}=this['view'];_0x431120['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x5d6c82=_0x2c4476['chrome']||_0x2c4476['ios']?{'node':_0x431120['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x5d6c82),this['flags']&=-0x8,_0x5d6c82&&(_0x5d6c82['written']||_0x431120['selectionRange']['focusNode']!=_0x5d6c82['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0xb04f0b=>_0xb04f0b['flags']&=-0x9);let _0x1a7377=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x2857a7 of this['children'])_0x2857a7 instanceof BlockWidgetView&&_0x2857a7['widget']instanceof BlockGapWidget&&_0x1a7377['push'](_0x2857a7['dom']);}_0x431120['updateGaps'](_0x1a7377);}['updateChildren'](_0x3c0292,_0x9b7a67,_0x3156ed){let _0x4c72ac=_0x3156ed?_0x3156ed['range']['addToSet'](_0x3c0292['slice']()):_0x3c0292,_0x5ce253=this['childCursor'](_0x9b7a67);for(let _0xdb4e59=_0x4c72ac['length']-0x1;;_0xdb4e59--){let _0x5e8603=_0xdb4e59>=0x0?_0x4c72ac[_0xdb4e59]:null;if(!_0x5e8603)break;let _0x242164,_0x426370,_0x3ab2d7,_0x50f777,{fromA:_0x523127,toA:_0x53bae0,fromB:_0x5899dd,toB:_0x5a5d37}=_0x5e8603;if(_0x3156ed&&_0x3156ed['range']['fromB']<_0x5a5d37&&_0x3156ed['range']['toB']>_0x5899dd){let _0x15907e=ContentBuilder['build'](this['view']['state']['doc'],_0x5899dd,_0x3156ed['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x2d892f=ContentBuilder['build'](this['view']['state']['doc'],_0x3156ed['range']['toB'],_0x5a5d37,this['decorations'],this['dynamicDecorationMap']);_0x426370=_0x15907e['breakAtStart'],_0x3ab2d7=_0x15907e['openStart'],_0x50f777=_0x2d892f['openEnd'];let _0x3b70af=this['compositionView'](_0x3156ed);_0x2d892f['breakAtStart']?_0x3b70af['breakAfter']=0x1:_0x2d892f['content']['length']&&_0x3b70af['merge'](_0x3b70af['length'],_0x3b70af['length'],_0x2d892f['content'][0x0],!0x1,_0x2d892f['openStart'],0x0)&&(_0x3b70af['breakAfter']=_0x2d892f['content'][0x0]['breakAfter'],_0x2d892f['content']['shift']()),_0x15907e['content']['length']&&_0x3b70af['merge'](0x0,0x0,_0x15907e['content'][_0x15907e['content']['length']-0x1],!0x0,0x0,_0x15907e['openEnd'])&&_0x15907e['content']['pop'](),_0x242164=_0x15907e['content']['concat'](_0x3b70af)['concat'](_0x2d892f['content']);}else({content:_0x242164,breakAtStart:_0x426370,openStart:_0x3ab2d7,openEnd:_0x50f777}=ContentBuilder['build'](this['view']['state']['doc'],_0x5899dd,_0x5a5d37,this['decorations'],this['dynamicDecorationMap']));let {i:_0x1471eb,off:_0xb5b2a4}=_0x5ce253['findPos'](_0x53bae0,0x1),{i:_0x3df2b4,off:_0x4086a5}=_0x5ce253['findPos'](_0x523127,-0x1);_0x4aced2(this,_0x3df2b4,_0x4086a5,_0x1471eb,_0xb5b2a4,_0x242164,_0x426370,_0x3ab2d7,_0x50f777);}_0x3156ed&&this['fixCompositionDOM'](_0x3156ed);}['updateEditContextFormatting'](_0xf80bd4){this['editContextFormatting']=this['editContextFormatting']['map'](_0xf80bd4['changes']);for(let _0x201279 of _0xf80bd4['transactions'])for(let _0x2489a1 of _0x201279['effects'])_0x2489a1['is'](_0x37ea3a)&&(this['editContextFormatting']=_0x2489a1['value']);}['compositionView'](_0x1cfff2){let _0x100193=new TextView(_0x1cfff2['text']['nodeValue']);_0x100193['flags']|=0x8;for(let {deco:_0x30aab5}of _0x1cfff2['marks'])_0x100193=new _0x5e7953(_0x30aab5,[_0x100193],_0x100193['length']);let _0x278ea2=new _0xaa5b3d();return _0x278ea2['append'](_0x100193,0x0),_0x278ea2;}['fixCompositionDOM'](_0x24bfb8){let _0x2fcb74=(_0x15aff5,_0xad4171)=>{_0xad4171['flags']|=0x8|(_0xad4171['children']['some'](_0x43949f=>0x7&_0x43949f['flags'])?0x1:0x0),this['markedForComposition']['add'](_0xad4171);let _0x538065=ContentView['get'](_0x15aff5);_0x538065&&_0x538065!=_0xad4171&&(_0x538065['dom']=null),_0xad4171['setDOM'](_0x15aff5);},_0x4e23f6=this['childPos'](_0x24bfb8['range']['fromB'],0x1),_0x5710c0=this['children'][_0x4e23f6['i']];_0x2fcb74(_0x24bfb8['line'],_0x5710c0);for(let _0x2ef4ed=_0x24bfb8['marks']['length']-0x1;_0x2ef4ed>=-0x1;_0x2ef4ed--)_0x4e23f6=_0x5710c0['childPos'](_0x4e23f6['off'],0x1),_0x5710c0=_0x5710c0['children'][_0x4e23f6['i']],_0x2fcb74(_0x2ef4ed>=0x0?_0x24bfb8['marks'][_0x2ef4ed]['node']:_0x24bfb8['text'],_0x5710c0);}['updateSelection'](_0x2c6a28=!0x1,_0x542606=!0x1){!_0x2c6a28&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x466d82=this['view']['root']['activeElement'],_0x4168d5=_0x466d82==this['dom'],_0x53bf9c=!_0x4168d5&&!(this['view']['state']['facet'](_0x1a0c5c)||this['dom']['tabIndex']>-0x1)&&_0x128bd7(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x466d82&&this['dom']['contains'](_0x466d82));if(!(_0x4168d5||_0x542606||_0x53bf9c))return;let _0x26747a=this['forceSelection'];this['forceSelection']=!0x1;let _0x410ae3=this['view']['state']['selection']['main'],_0x29d303=this['moveToLine'](this['domAtPos'](_0x410ae3['anchor'])),_0xd1ecfd=_0x410ae3['empty']?_0x29d303:this['moveToLine'](this['domAtPos'](_0x410ae3['head']));if(_0x2c4476['gecko']&&_0x410ae3['empty']&&!this['hasComposition']&&(0x1==(_0x36cc95=_0x29d303)['node']['nodeType']&&_0x36cc95['node']['firstChild']&&(0x0==_0x36cc95['offset']||'false'==_0x36cc95['node']['childNodes'][_0x36cc95['offset']-0x1]['contentEditable'])&&(_0x36cc95['offset']==_0x36cc95['node']['childNodes']['length']||'false'==_0x36cc95['node']['childNodes'][_0x36cc95['offset']]['contentEditable']))){let _0x13a094=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x29d303['node']['insertBefore'](_0x13a094,_0x29d303['node']['childNodes'][_0x29d303['offset']]||null)),_0x29d303=_0xd1ecfd=new _0x3e71c4(_0x13a094,0x0),_0x26747a=!0x0;}var _0x36cc95;let _0x5c431b=this['view']['observer']['selectionRange'];!_0x26747a&&_0x5c431b['focusNode']&&(_0x18c80d(_0x29d303['node'],_0x29d303['offset'],_0x5c431b['anchorNode'],_0x5c431b['anchorOffset'])&&_0x18c80d(_0xd1ecfd['node'],_0xd1ecfd['offset'],_0x5c431b['focusNode'],_0x5c431b['focusOffset'])||this['suppressWidgetCursorChange'](_0x5c431b,_0x410ae3))||(this['view']['observer']['ignore'](()=>{_0x2c4476['android']&&_0x2c4476['chrome']&&this['dom']['contains'](_0x5c431b['focusNode'])&&function(_0x16b5dd,_0x28c5fa){for(let _0x505307=_0x16b5dd;_0x505307&&_0x505307!=_0x28c5fa;_0x505307=_0x505307['assignedSlot']||_0x505307['parentNode'])if(0x1==_0x505307['nodeType']&&'false'==_0x505307['contentEditable'])return!0x0;return!0x1;}(_0x5c431b['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x197341=_0x57e185(this['view']['root']);if(_0x197341){if(_0x410ae3['empty']){if(_0x2c4476['gecko']){let _0x481a93=function(_0x2f3957,_0x14dbce){return 0x1!=_0x2f3957['nodeType']?0x0:(_0x14dbce&&'false'==_0x2f3957['childNodes'][_0x14dbce-0x1]['contentEditable']?0x1:0x0)|(_0x14dbce<_0x2f3957['childNodes']['length']&&'false'==_0x2f3957['childNodes'][_0x14dbce]['contentEditable']?0x2:0x0);}(_0x29d303['node'],_0x29d303['offset']);if(_0x481a93&&0x3!=_0x481a93){let _0x114a19=(0x1==_0x481a93?_0x3f1ef4:_0x2e25e9)(_0x29d303['node'],_0x29d303['offset']);_0x114a19&&(_0x29d303=new _0x3e71c4(_0x114a19['node'],_0x114a19['offset']));}}_0x197341['collapse'](_0x29d303['node'],_0x29d303['offset']),null!=_0x410ae3['bidiLevel']&&void 0x0!==_0x197341['caretBidiLevel']&&(_0x197341['caretBidiLevel']=_0x410ae3['bidiLevel']);}else{if(_0x197341['extend']){_0x197341['collapse'](_0x29d303['node'],_0x29d303['offset']);try{_0x197341['extend'](_0xd1ecfd['node'],_0xd1ecfd['offset']);}catch(_0x70b69d){}}else{let _0x6c602d=document['createRange']();_0x410ae3['anchor']>_0x410ae3['head']&&([_0x29d303,_0xd1ecfd]=[_0xd1ecfd,_0x29d303]),_0x6c602d['setEnd'](_0xd1ecfd['node'],_0xd1ecfd['offset']),_0x6c602d['setStart'](_0x29d303['node'],_0x29d303['offset']),_0x197341['removeAllRanges'](),_0x197341['addRange'](_0x6c602d);}}}else;_0x53bf9c&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x466d82&&_0x466d82['focus']());}),this['view']['observer']['setSelectionRange'](_0x29d303,_0xd1ecfd)),this['impreciseAnchor']=_0x29d303['precise']?null:new _0x3e71c4(_0x5c431b['anchorNode'],_0x5c431b['anchorOffset']),this['impreciseHead']=_0xd1ecfd['precise']?null:new _0x3e71c4(_0x5c431b['focusNode'],_0x5c431b['focusOffset']);}['suppressWidgetCursorChange'](_0x240ea2,_0x266ce0){return this['hasComposition']&&_0x266ce0['empty']&&_0x18c80d(_0x240ea2['focusNode'],_0x240ea2['focusOffset'],_0x240ea2['anchorNode'],_0x240ea2['anchorOffset'])&&this['posFromDOM'](_0x240ea2['focusNode'],_0x240ea2['focusOffset'])==_0x266ce0['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x4b1151}=this,_0x220ced=_0x4b1151['state']['selection']['main'],_0x3e6d8e=_0x57e185(_0x4b1151['root']),{anchorNode:_0x57bc9b,anchorOffset:_0x4c164b}=_0x4b1151['observer']['selectionRange'];if(!(_0x3e6d8e&&_0x220ced['empty']&&_0x220ced['assoc']&&_0x3e6d8e['modify']))return;let _0x4927aa=_0xaa5b3d['find'](this,_0x220ced['head']);if(!_0x4927aa)return;let _0x4e7ca7=_0x4927aa['posAtStart'];if(_0x220ced['head']==_0x4e7ca7||_0x220ced['head']==_0x4e7ca7+_0x4927aa['length'])return;let _0xd7ee88=this['coordsAt'](_0x220ced['head'],-0x1),_0x3e6b6b=this['coordsAt'](_0x220ced['head'],0x1);if(!_0xd7ee88||!_0x3e6b6b||_0xd7ee88['bottom']>_0x3e6b6b['top'])return;let _0x36960a=this['domAtPos'](_0x220ced['head']+_0x220ced['assoc']);_0x3e6d8e['collapse'](_0x36960a['node'],_0x36960a['offset']),_0x3e6d8e['modify']('move',_0x220ced['assoc']<0x0?'forward':'backward','lineboundary'),_0x4b1151['observer']['readSelectionRange']();let _0x5a43f1=_0x4b1151['observer']['selectionRange'];_0x4b1151['docView']['posFromDOM'](_0x5a43f1['anchorNode'],_0x5a43f1['anchorOffset'])!=_0x220ced['from']&&_0x3e6d8e['collapse'](_0x57bc9b,_0x4c164b);}['moveToLine'](_0xba1c38){let _0x3afc42,_0x85d1f3=this['dom'];if(_0xba1c38['node']!=_0x85d1f3)return _0xba1c38;for(let _0x185e8=_0xba1c38['offset'];!_0x3afc42&&_0x185e8<_0x85d1f3['childNodes']['length'];_0x185e8++){let _0x487267=ContentView['get'](_0x85d1f3['childNodes'][_0x185e8]);_0x487267 instanceof _0xaa5b3d&&(_0x3afc42=_0x487267['domAtPos'](0x0));}for(let _0x737029=_0xba1c38['offset']-0x1;!_0x3afc42&&_0x737029>=0x0;_0x737029--){let _0x26ea97=ContentView['get'](_0x85d1f3['childNodes'][_0x737029]);_0x26ea97 instanceof _0xaa5b3d&&(_0x3afc42=_0x26ea97['domAtPos'](_0x26ea97['length']));}return _0x3afc42?new _0x3e71c4(_0x3afc42['node'],_0x3afc42['offset'],!0x0):_0xba1c38;}['nearest'](_0x14d21b){for(let _0x5d9081=_0x14d21b;_0x5d9081;){let _0xa3a8ce=ContentView['get'](_0x5d9081);if(_0xa3a8ce&&_0xa3a8ce['rootView']==this)return _0xa3a8ce;_0x5d9081=_0x5d9081['parentNode'];}return null;}['posFromDOM'](_0x925349,_0x331e93){let _0x4f20e7=this['nearest'](_0x925349);if(!_0x4f20e7)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x4f20e7['localPosFromDOM'](_0x925349,_0x331e93)+_0x4f20e7['posAtStart'];}['domAtPos'](_0x149fdf){let {i:_0x291678,off:_0xf25e61}=this['childCursor']()['findPos'](_0x149fdf,-0x1);for(;_0x291678<this['children']['length']-0x1;){let _0xb33801=this['children'][_0x291678];if(_0xf25e61<_0xb33801['length']||_0xb33801 instanceof _0xaa5b3d)break;_0x291678++,_0xf25e61=0x0;}return this['children'][_0x291678]['domAtPos'](_0xf25e61);}['coordsAt'](_0x39602d,_0x5118df){let _0x1b65bf=null,_0x444d5c=0x0;for(let _0x5e8a66=this['length'],_0x7d39f9=this['children']['length']-0x1;_0x7d39f9>=0x0;_0x7d39f9--){let _0x292770=this['children'][_0x7d39f9],_0x1cc48f=_0x5e8a66-_0x292770['breakAfter'],_0x115705=_0x1cc48f-_0x292770['length'];if(_0x1cc48f<_0x39602d)break;if(_0x115705<=_0x39602d&&(_0x115705<_0x39602d||_0x292770['covers'](-0x1))&&(_0x1cc48f>_0x39602d||_0x292770['covers'](0x1))&&(!_0x1b65bf||_0x292770 instanceof _0xaa5b3d&&!(_0x1b65bf instanceof _0xaa5b3d&&_0x5118df>=0x0)))_0x1b65bf=_0x292770,_0x444d5c=_0x115705;else{if(_0x1b65bf&&_0x115705==_0x39602d&&_0x1cc48f==_0x39602d&&_0x292770 instanceof BlockWidgetView&&Math['abs'](_0x5118df)<0x2){if(_0x292770['deco']['startSide']<0x0)break;_0x7d39f9&&(_0x1b65bf=null);}}_0x5e8a66=_0x115705;}return _0x1b65bf?_0x1b65bf['coordsAt'](_0x39602d-_0x444d5c,_0x5118df):null;}['coordsForChar'](_0x2b88cf){let {i:_0xbe6939,off:_0x5d0ae6}=this['childPos'](_0x2b88cf,0x1),_0x3795b0=this['children'][_0xbe6939];if(!(_0x3795b0 instanceof _0xaa5b3d))return null;for(;_0x3795b0['children']['length'];){let {i:_0x438f6d,off:_0x155451}=_0x3795b0['childPos'](_0x5d0ae6,0x1);for(;;_0x438f6d++){if(_0x438f6d==_0x3795b0['children']['length'])return null;if((_0x3795b0=_0x3795b0['children'][_0x438f6d])['length'])break;}_0x5d0ae6=_0x155451;}if(!(_0x3795b0 instanceof TextView))return null;let _0x1c5822=_0x2044d7(_0x3795b0['text'],_0x5d0ae6);if(_0x1c5822==_0x5d0ae6)return null;let _0x4939cb=_0xdf30a3(_0x3795b0['dom'],_0x5d0ae6,_0x1c5822)['getClientRects']();for(let _0x4e8386=0x0;_0x4e8386<_0x4939cb['length'];_0x4e8386++){let _0x477987=_0x4939cb[_0x4e8386];if(_0x4e8386==_0x4939cb['length']-0x1||_0x477987['top']<_0x477987['bottom']&&_0x477987['left']<_0x477987['right'])return _0x477987;}return null;}['measureVisibleLineHeights'](_0x21e617){let _0x24590e=[],{from:_0x3f0ce0,to:_0x48df3d}=_0x21e617,_0x5025ba=this['view']['contentDOM']['clientWidth'],_0x37bb82=_0x5025ba>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x19ab6d=-0x1,_0x3d6146=this['view']['textDirection']==_0x2d6025['LTR'];for(let _0x36e9cf=0x0,_0x278575=0x0;_0x278575<this['children']['length'];_0x278575++){let _0x1eb31c=this['children'][_0x278575],_0x55946e=_0x36e9cf+_0x1eb31c['length'];if(_0x55946e>_0x48df3d)break;if(_0x36e9cf>=_0x3f0ce0){let _0x343d32=_0x1eb31c['dom']['getBoundingClientRect']();if(_0x24590e['push'](_0x343d32['height']),_0x37bb82){let _0x1ed651=_0x1eb31c['dom']['lastChild'],_0xb17c10=_0x1ed651?_0x166e7f(_0x1ed651):[];if(_0xb17c10['length']){let _0x1ca027=_0xb17c10[_0xb17c10['length']-0x1],_0x1d1d14=_0x3d6146?_0x1ca027['right']-_0x343d32['left']:_0x343d32['right']-_0x1ca027['left'];_0x1d1d14>_0x19ab6d&&(_0x19ab6d=_0x1d1d14,this['minWidth']=_0x5025ba,this['minWidthFrom']=_0x36e9cf,this['minWidthTo']=_0x55946e);}}}_0x36e9cf=_0x55946e+_0x1eb31c['breakAfter'];}return _0x24590e;}['textDirectionAt'](_0x459889){let {i:_0x25e4fa}=this['childPos'](_0x459889,0x1);return'rtl'==getComputedStyle(this['children'][_0x25e4fa]['dom'])['direction']?_0x2d6025['RTL']:_0x2d6025['LTR'];}['measureTextSize'](){for(let _0x1f26e1 of this['children'])if(_0x1f26e1 instanceof _0xaa5b3d){let _0x38c424=_0x1f26e1['measureTextSize']();if(_0x38c424)return _0x38c424;}let _0x4fa74d,_0x4b156a,_0x168aa9,_0x1c5fc0=document['createElement']('div');return _0x1c5fc0['className']='cm-line',_0x1c5fc0['style']['width']='99999px',_0x1c5fc0['style']['position']='absolute',_0x1c5fc0['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x1c5fc0);let _0xf55164=_0x166e7f(_0x1c5fc0['firstChild'])[0x0];_0x4fa74d=_0x1c5fc0['getBoundingClientRect']()['height'],_0x4b156a=_0xf55164?_0xf55164['width']/0x1b:0x7,_0x168aa9=_0xf55164?_0xf55164['height']:_0x4fa74d,_0x1c5fc0['remove']();}),{'lineHeight':_0x4fa74d,'charWidth':_0x4b156a,'textHeight':_0x168aa9};}['childCursor'](_0x290a39=this['length']){let _0x78901e=this['children']['length'];return _0x78901e&&(_0x290a39-=this['children'][--_0x78901e]['length']),new _0x465d82(this['children'],_0x290a39,_0x78901e);}['computeBlockGapDeco'](){let _0x31cfb1=[],_0x34a6fb=this['view']['viewState'];for(let _0x232269=0x0,_0x2dfe6d=0x0;;_0x2dfe6d++){let _0x2d815d=_0x2dfe6d==_0x34a6fb['viewports']['length']?null:_0x34a6fb['viewports'][_0x2dfe6d],_0x22b530=_0x2d815d?_0x2d815d['from']-0x1:this['length'];if(_0x22b530>_0x232269){let _0x52acea=(_0x34a6fb['lineBlockAt'](_0x22b530)['bottom']-_0x34a6fb['lineBlockAt'](_0x232269)['top'])/this['view']['scaleY'];_0x31cfb1['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x52acea),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x232269,_0x22b530));}if(!_0x2d815d)break;_0x232269=_0x2d815d['to']+0x1;}return Decoration['set'](_0x31cfb1);}['updateDeco'](){let _0x28a869=0x1,_0x3a9430=this['view']['state']['facet'](_0x347d54)['map'](_0x4b3f89=>(this['dynamicDecorationMap'][_0x28a869++]='function'==typeof _0x4b3f89)?_0x4b3f89(this['view']):_0x4b3f89),_0x315b2d=!0x1,_0xfb19ba=this['view']['state']['facet'](_0x4d8c7c)['map']((_0x17ea8e,_0x58dcd7)=>{let _0x403568='function'==typeof _0x17ea8e;return _0x403568&&(_0x315b2d=!0x0),_0x403568?_0x17ea8e(this['view']):_0x17ea8e;});for(_0xfb19ba['length']&&(this['dynamicDecorationMap'][_0x28a869++]=_0x315b2d,_0x3a9430['push'](RangeSet['join'](_0xfb19ba))),this['decorations']=[this['editContextFormatting'],..._0x3a9430,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x28a869<this['decorations']['length'];)this['dynamicDecorationMap'][_0x28a869++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x33f7a2){if(_0x33f7a2['isSnapshot']){let _0x42b942=this['view']['viewState']['lineBlockAt'](_0x33f7a2['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x42b942['top']-_0x33f7a2['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x33f7a2['xMargin']);}for(let _0x227937 of this['view']['state']['facet'](_0x109de1))try{if(_0x227937(this['view'],_0x33f7a2['range'],_0x33f7a2))return!0x0;}catch(_0x183819){_0x2eda46(this['view']['state'],_0x183819,'scroll\x20handler');}let _0x113cf8,{range:_0x2a89a7}=_0x33f7a2,_0x534423=this['coordsAt'](_0x2a89a7['head'],_0x2a89a7['empty']?_0x2a89a7['assoc']:_0x2a89a7['head']>_0x2a89a7['anchor']?-0x1:0x1);if(!_0x534423)return;!_0x2a89a7['empty']&&(_0x113cf8=this['coordsAt'](_0x2a89a7['anchor'],_0x2a89a7['anchor']>_0x2a89a7['head']?-0x1:0x1))&&(_0x534423={'left':Math['min'](_0x534423['left'],_0x113cf8['left']),'top':Math['min'](_0x534423['top'],_0x113cf8['top']),'right':Math['max'](_0x534423['right'],_0x113cf8['right']),'bottom':Math['max'](_0x534423['bottom'],_0x113cf8['bottom'])});let _0x3ed05f=_0x1b8ea7(this['view']),_0x3f83e4={'left':_0x534423['left']-_0x3ed05f['left'],'top':_0x534423['top']-_0x3ed05f['top'],'right':_0x534423['right']+_0x3ed05f['right'],'bottom':_0x534423['bottom']+_0x3ed05f['bottom']},{offsetWidth:_0x30b2c6,offsetHeight:_0x86aab7}=this['view']['scrollDOM'];!function(_0x52f424,_0x1933a3,_0x46e6aa,_0x57e1be,_0x3aae8f,_0x2cf472,_0x41744c,_0x24f2ed){let _0xe8d383=_0x52f424['ownerDocument'],_0x258d75=_0xe8d383['defaultView']||window;for(let _0x159bb8=_0x52f424,_0x52d68f=!0x1;_0x159bb8&&!_0x52d68f;)if(0x1==_0x159bb8['nodeType']){let _0x1dbeb3,_0x366603=_0x159bb8==_0xe8d383['body'],_0x207f60=0x1,_0x2ac859=0x1;if(_0x366603)_0x1dbeb3=_0x4cb725(_0x258d75);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x159bb8)['position'])&&(_0x52d68f=!0x0),_0x159bb8['scrollHeight']<=_0x159bb8['clientHeight']&&_0x159bb8['scrollWidth']<=_0x159bb8['clientWidth']){_0x159bb8=_0x159bb8['assignedSlot']||_0x159bb8['parentNode'];continue;}let _0x2e836d=_0x159bb8['getBoundingClientRect']();({scaleX:_0x207f60,scaleY:_0x2ac859}=_0x2de6f1(_0x159bb8,_0x2e836d),_0x1dbeb3={'left':_0x2e836d['left'],'right':_0x2e836d['left']+_0x159bb8['clientWidth']*_0x207f60,'top':_0x2e836d['top'],'bottom':_0x2e836d['top']+_0x159bb8['clientHeight']*_0x2ac859});}let _0xb2284a=0x0,_0x434baf=0x0;if('nearest'==_0x3aae8f)_0x1933a3['top']<_0x1dbeb3['top']?(_0x434baf=_0x1933a3['top']-(_0x1dbeb3['top']+_0x41744c),_0x46e6aa>0x0&&_0x1933a3['bottom']>_0x1dbeb3['bottom']+_0x434baf&&(_0x434baf=_0x1933a3['bottom']-_0x1dbeb3['bottom']+_0x41744c)):_0x1933a3['bottom']>_0x1dbeb3['bottom']&&(_0x434baf=_0x1933a3['bottom']-_0x1dbeb3['bottom']+_0x41744c,_0x46e6aa<0x0&&_0x1933a3['top']-_0x434baf<_0x1dbeb3['top']&&(_0x434baf=_0x1933a3['top']-(_0x1dbeb3['top']+_0x41744c)));else{let _0x10a0ce=_0x1933a3['bottom']-_0x1933a3['top'],_0x52bafc=_0x1dbeb3['bottom']-_0x1dbeb3['top'];_0x434baf=('center'==_0x3aae8f&&_0x10a0ce<=_0x52bafc?_0x1933a3['top']+_0x10a0ce/0x2-_0x52bafc/0x2:'start'==_0x3aae8f||'center'==_0x3aae8f&&_0x46e6aa<0x0?_0x1933a3['top']-_0x41744c:_0x1933a3['bottom']-_0x52bafc+_0x41744c)-_0x1dbeb3['top'];}if('nearest'==_0x57e1be?_0x1933a3['left']<_0x1dbeb3['left']?(_0xb2284a=_0x1933a3['left']-(_0x1dbeb3['left']+_0x2cf472),_0x46e6aa>0x0&&_0x1933a3['right']>_0x1dbeb3['right']+_0xb2284a&&(_0xb2284a=_0x1933a3['right']-_0x1dbeb3['right']+_0x2cf472)):_0x1933a3['right']>_0x1dbeb3['right']&&(_0xb2284a=_0x1933a3['right']-_0x1dbeb3['right']+_0x2cf472,_0x46e6aa<0x0&&_0x1933a3['left']<_0x1dbeb3['left']+_0xb2284a&&(_0xb2284a=_0x1933a3['left']-(_0x1dbeb3['left']+_0x2cf472))):_0xb2284a=('center'==_0x57e1be?_0x1933a3['left']+(_0x1933a3['right']-_0x1933a3['left'])/0x2-(_0x1dbeb3['right']-_0x1dbeb3['left'])/0x2:'start'==_0x57e1be==_0x24f2ed?_0x1933a3['left']-_0x2cf472:_0x1933a3['right']-(_0x1dbeb3['right']-_0x1dbeb3['left'])+_0x2cf472)-_0x1dbeb3['left'],_0xb2284a||_0x434baf){if(_0x366603)_0x258d75['scrollBy'](_0xb2284a,_0x434baf);else{let _0x23c081=0x0,_0x572f7c=0x0;if(_0x434baf){let _0x70cb0b=_0x159bb8['scrollTop'];_0x159bb8['scrollTop']+=_0x434baf/_0x2ac859,_0x572f7c=(_0x159bb8['scrollTop']-_0x70cb0b)*_0x2ac859;}if(_0xb2284a){let _0x441c3f=_0x159bb8['scrollLeft'];_0x159bb8['scrollLeft']+=_0xb2284a/_0x207f60,_0x23c081=(_0x159bb8['scrollLeft']-_0x441c3f)*_0x207f60;}_0x1933a3={'left':_0x1933a3['left']-_0x23c081,'top':_0x1933a3['top']-_0x572f7c,'right':_0x1933a3['right']-_0x23c081,'bottom':_0x1933a3['bottom']-_0x572f7c},_0x23c081&&Math['abs'](_0x23c081-_0xb2284a)<0x1&&(_0x57e1be='nearest'),_0x572f7c&&Math['abs'](_0x572f7c-_0x434baf)<0x1&&(_0x3aae8f='nearest');}}if(_0x366603)break;(_0x1933a3['top']<_0x1dbeb3['top']||_0x1933a3['bottom']>_0x1dbeb3['bottom']||_0x1933a3['left']<_0x1dbeb3['left']||_0x1933a3['right']>_0x1dbeb3['right'])&&(_0x1933a3={'left':Math['max'](_0x1933a3['left'],_0x1dbeb3['left']),'right':Math['min'](_0x1933a3['right'],_0x1dbeb3['right']),'top':Math['max'](_0x1933a3['top'],_0x1dbeb3['top']),'bottom':Math['min'](_0x1933a3['bottom'],_0x1dbeb3['bottom'])}),_0x159bb8=_0x159bb8['assignedSlot']||_0x159bb8['parentNode'];}else{if(0xb!=_0x159bb8['nodeType'])break;_0x159bb8=_0x159bb8['host'];}}(this['view']['scrollDOM'],_0x3f83e4,_0x2a89a7['head']<_0x2a89a7['anchor']?-0x1:0x1,_0x33f7a2['x'],_0x33f7a2['y'],Math['max'](Math['min'](_0x33f7a2['xMargin'],_0x30b2c6),-_0x30b2c6),Math['max'](Math['min'](_0x33f7a2['yMargin'],_0x86aab7),-_0x86aab7),this['view']['textDirection']==_0x2d6025['LTR']);}}function _0x590564(_0x57478b,_0x2576fe){let _0x57b779=_0x57478b['observer']['selectionRange'];if(!_0x57b779['focusNode'])return null;let _0x13cf3a=_0x3f1ef4(_0x57b779['focusNode'],_0x57b779['focusOffset']),_0x41bc45=_0x2e25e9(_0x57b779['focusNode'],_0x57b779['focusOffset']),_0x329602=_0x13cf3a||_0x41bc45;if(_0x41bc45&&_0x13cf3a&&_0x41bc45['node']!=_0x13cf3a['node']){let _0x1b8c9e=ContentView['get'](_0x41bc45['node']);if(!_0x1b8c9e||_0x1b8c9e instanceof TextView&&_0x1b8c9e['text']!=_0x41bc45['node']['nodeValue'])_0x329602=_0x41bc45;else{if(_0x57478b['docView']['lastCompositionAfterCursor']){let _0x1d4701=ContentView['get'](_0x13cf3a['node']);!_0x1d4701||_0x1d4701 instanceof TextView&&_0x1d4701['text']!=_0x13cf3a['node']['nodeValue']||(_0x329602=_0x41bc45);}}}if(_0x57478b['docView']['lastCompositionAfterCursor']=_0x329602!=_0x13cf3a,!_0x329602)return null;let _0x5b6305=_0x2576fe-_0x329602['offset'];return{'from':_0x5b6305,'to':_0x5b6305+_0x329602['node']['nodeValue']['length'],'node':_0x329602['node']};}let _0x464297=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x2b3d95,_0x118025){_0x333c48(_0x2b3d95,_0x118025,this['changes']);}['comparePoint'](_0xaa13b8,_0x5eab56){_0x333c48(_0xaa13b8,_0x5eab56,this['changes']);}['boundChange'](_0x6316fa){_0x333c48(_0x6316fa,_0x6316fa,this['changes']);}};function _0x1267fd(_0x35c056,_0x21b14c){return _0x21b14c['left']>_0x35c056?_0x21b14c['left']-_0x35c056:Math['max'](0x0,_0x35c056-_0x21b14c['right']);}function _0x3d819f(_0x6a94e8,_0x15999e){return _0x15999e['top']>_0x6a94e8?_0x15999e['top']-_0x6a94e8:Math['max'](0x0,_0x6a94e8-_0x15999e['bottom']);}function _0x5c37ed(_0x1a1e06,_0x48ff24){return _0x1a1e06['top']<_0x48ff24['bottom']-0x1&&_0x1a1e06['bottom']>_0x48ff24['top']+0x1;}function _0x554bc8(_0x5f4d5a,_0x32d3bf){return _0x32d3bf<_0x5f4d5a['top']?{'top':_0x32d3bf,'left':_0x5f4d5a['left'],'right':_0x5f4d5a['right'],'bottom':_0x5f4d5a['bottom']}:_0x5f4d5a;}function _0x1ad81a(_0x5a8981,_0x4379e1){return _0x4379e1>_0x5a8981['bottom']?{'top':_0x5a8981['top'],'left':_0x5a8981['left'],'right':_0x5a8981['right'],'bottom':_0x4379e1}:_0x5a8981;}function _0x4b115a(_0x5a3aa1,_0x37df7d,_0x3ef801){let _0x10d0a9,_0x2fe03e,_0x59f388,_0x511aa0,_0x54eef6,_0x2ed3c6,_0x268d3d,_0x1350ed,_0x558962=!0x1;for(let _0x45c7a9=_0x5a3aa1['firstChild'];_0x45c7a9;_0x45c7a9=_0x45c7a9['nextSibling']){let _0x7b5a04=_0x166e7f(_0x45c7a9);for(let _0x310e88=0x0;_0x310e88<_0x7b5a04['length'];_0x310e88++){let _0x13f1fe=_0x7b5a04[_0x310e88];_0x2fe03e&&_0x5c37ed(_0x2fe03e,_0x13f1fe)&&(_0x13f1fe=_0x554bc8(_0x1ad81a(_0x13f1fe,_0x2fe03e['bottom']),_0x2fe03e['top']));let _0x32b6a0=_0x1267fd(_0x37df7d,_0x13f1fe),_0x449edd=_0x3d819f(_0x3ef801,_0x13f1fe);if(0x0==_0x32b6a0&&0x0==_0x449edd)return 0x3==_0x45c7a9['nodeType']?_0x310912(_0x45c7a9,_0x37df7d,_0x3ef801):_0x4b115a(_0x45c7a9,_0x37df7d,_0x3ef801);(!_0x10d0a9||_0x511aa0>_0x449edd||_0x511aa0==_0x449edd&&_0x59f388>_0x32b6a0)&&(_0x10d0a9=_0x45c7a9,_0x2fe03e=_0x13f1fe,_0x59f388=_0x32b6a0,_0x511aa0=_0x449edd,_0x558962=!_0x32b6a0||(_0x37df7d<_0x13f1fe['left']?_0x310e88>0x0:_0x310e88<_0x7b5a04['length']-0x1)),0x0==_0x32b6a0?_0x3ef801>_0x13f1fe['bottom']&&(!_0x268d3d||_0x268d3d['bottom']<_0x13f1fe['bottom'])?(_0x54eef6=_0x45c7a9,_0x268d3d=_0x13f1fe):_0x3ef801<_0x13f1fe['top']&&(!_0x1350ed||_0x1350ed['top']>_0x13f1fe['top'])&&(_0x2ed3c6=_0x45c7a9,_0x1350ed=_0x13f1fe):_0x268d3d&&_0x5c37ed(_0x268d3d,_0x13f1fe)?_0x268d3d=_0x1ad81a(_0x268d3d,_0x13f1fe['bottom']):_0x1350ed&&_0x5c37ed(_0x1350ed,_0x13f1fe)&&(_0x1350ed=_0x554bc8(_0x1350ed,_0x13f1fe['top']));}}if(_0x268d3d&&_0x268d3d['bottom']>=_0x3ef801?(_0x10d0a9=_0x54eef6,_0x2fe03e=_0x268d3d):_0x1350ed&&_0x1350ed['top']<=_0x3ef801&&(_0x10d0a9=_0x2ed3c6,_0x2fe03e=_0x1350ed),!_0x10d0a9)return{'node':_0x5a3aa1,'offset':0x0};let _0xd4c637=Math['max'](_0x2fe03e['left'],Math['min'](_0x2fe03e['right'],_0x37df7d));return 0x3==_0x10d0a9['nodeType']?_0x310912(_0x10d0a9,_0xd4c637,_0x3ef801):_0x558962&&'false'!=_0x10d0a9['contentEditable']?_0x4b115a(_0x10d0a9,_0xd4c637,_0x3ef801):{'node':_0x5a3aa1,'offset':Array['prototype']['indexOf']['call'](_0x5a3aa1['childNodes'],_0x10d0a9)+(_0x37df7d>=(_0x2fe03e['left']+_0x2fe03e['right'])/0x2?0x1:0x0)};}function _0x310912(_0x2029be,_0x45994c,_0x517165){let _0x249577=_0x2029be['nodeValue']['length'],_0x480eb5=-0x1,_0x2d45d8=0x3b9aca00,_0x4e62bd=0x0;for(let _0x6d4d1f=0x0;_0x6d4d1f<_0x249577;_0x6d4d1f++){let _0x1a5b90=_0xdf30a3(_0x2029be,_0x6d4d1f,_0x6d4d1f+0x1)['getClientRects']();for(let _0x1ce341=0x0;_0x1ce341<_0x1a5b90['length'];_0x1ce341++){let _0x1356a2=_0x1a5b90[_0x1ce341];if(_0x1356a2['top']==_0x1356a2['bottom'])continue;_0x4e62bd||(_0x4e62bd=_0x45994c-_0x1356a2['left']);let _0x549c88=(_0x1356a2['top']>_0x517165?_0x1356a2['top']-_0x517165:_0x517165-_0x1356a2['bottom'])-0x1;if(_0x1356a2['left']-0x1<=_0x45994c&&_0x1356a2['right']+0x1>=_0x45994c&&_0x549c88<_0x2d45d8){let _0x4c31b4=_0x45994c>=(_0x1356a2['left']+_0x1356a2['right'])/0x2,_0x2240a3=_0x4c31b4;(_0x2c4476['chrome']||_0x2c4476['gecko'])&&(_0xdf30a3(_0x2029be,_0x6d4d1f)['getBoundingClientRect']()['left']==_0x1356a2['right']&&(_0x2240a3=!_0x4c31b4));if(_0x549c88<=0x0)return{'node':_0x2029be,'offset':_0x6d4d1f+(_0x2240a3?0x1:0x0)};_0x480eb5=_0x6d4d1f+(_0x2240a3?0x1:0x0),_0x2d45d8=_0x549c88;}}}return{'node':_0x2029be,'offset':_0x480eb5>-0x1?_0x480eb5:_0x4e62bd>0x0?_0x2029be['nodeValue']['length']:0x0};}function _0x5bfd82(_0x58b62e,_0x300fa6,_0x5af1fa,_0x267237=-0x1){var _0x404ed6,_0x392d1f;let _0x5c9f9e,_0xb31c27=_0x58b62e['contentDOM']['getBoundingClientRect'](),_0x305f30=_0xb31c27['top']+_0x58b62e['viewState']['paddingTop'],{docHeight:_0x1668a9}=_0x58b62e['viewState'],{x:_0x4bbf22,y:_0x54ade1}=_0x300fa6,_0x5c7318=_0x54ade1-_0x305f30;if(_0x5c7318<0x0)return 0x0;if(_0x5c7318>_0x1668a9)return _0x58b62e['state']['doc']['length'];for(let _0x3a4f27=_0x58b62e['viewState']['heightOracle']['textHeight']/0x2,_0x1e5fd9=!0x1;_0x5c9f9e=_0x58b62e['elementAtHeight'](_0x5c7318),_0x5c9f9e['type']!=_0x5b6263['Text'];)for(;_0x5c7318=_0x267237>0x0?_0x5c9f9e['bottom']+_0x3a4f27:_0x5c9f9e['top']-_0x3a4f27,!(_0x5c7318>=0x0&&_0x5c7318<=_0x1668a9);){if(_0x1e5fd9)return _0x5af1fa?null:0x0;_0x1e5fd9=!0x0,_0x267237=-_0x267237;}_0x54ade1=_0x305f30+_0x5c7318;let _0x23adc1=_0x5c9f9e['from'];if(_0x23adc1<_0x58b62e['viewport']['from'])return 0x0==_0x58b62e['viewport']['from']?0x0:_0x5af1fa?null:_0xf11782(_0x58b62e,_0xb31c27,_0x5c9f9e,_0x4bbf22,_0x54ade1);if(_0x23adc1>_0x58b62e['viewport']['to'])return _0x58b62e['viewport']['to']==_0x58b62e['state']['doc']['length']?_0x58b62e['state']['doc']['length']:_0x5af1fa?null:_0xf11782(_0x58b62e,_0xb31c27,_0x5c9f9e,_0x4bbf22,_0x54ade1);let _0x58ba3d=_0x58b62e['dom']['ownerDocument'],_0x35e391=_0x58b62e['root']['elementFromPoint']?_0x58b62e['root']:_0x58ba3d,_0x35d68e=_0x35e391['elementFromPoint'](_0x4bbf22,_0x54ade1);_0x35d68e&&!_0x58b62e['contentDOM']['contains'](_0x35d68e)&&(_0x35d68e=null),_0x35d68e||(_0x4bbf22=Math['max'](_0xb31c27['left']+0x1,Math['min'](_0xb31c27['right']-0x1,_0x4bbf22)),_0x35d68e=_0x35e391['elementFromPoint'](_0x4bbf22,_0x54ade1),_0x35d68e&&!_0x58b62e['contentDOM']['contains'](_0x35d68e)&&(_0x35d68e=null));let _0x408727,_0x240a56=-0x1;if(_0x35d68e&&0x0!=(null===(_0x404ed6=_0x58b62e['docView']['nearest'](_0x35d68e))||void 0x0===_0x404ed6?void 0x0:_0x404ed6['isEditable'])){if(_0x58ba3d['caretPositionFromPoint']){let _0x33b81b=_0x58ba3d['caretPositionFromPoint'](_0x4bbf22,_0x54ade1);_0x33b81b&&({offsetNode:_0x408727,offset:_0x240a56}=_0x33b81b);}else{if(_0x58ba3d['caretRangeFromPoint']){let _0x37972e=_0x58ba3d['caretRangeFromPoint'](_0x4bbf22,_0x54ade1);_0x37972e&&({startContainer:_0x408727,startOffset:_0x240a56}=_0x37972e);}}_0x408727&&(!_0x58b62e['contentDOM']['contains'](_0x408727)||_0x2c4476['safari']&&function(_0x5e6432,_0x50d850,_0xf9636a){return _0x441fb0(_0x5e6432,_0x50d850,_0xf9636a);}(_0x408727,_0x240a56,_0x4bbf22)||_0x2c4476['chrome']&&function(_0x19ced2,_0x4efcdc,_0x2467a5){if(0x0!=_0x4efcdc)return _0x441fb0(_0x19ced2,_0x4efcdc,_0x2467a5);for(let _0xb4d8c0=_0x19ced2;;){let _0x201cde=_0xb4d8c0['parentNode'];if(!_0x201cde||0x1!=_0x201cde['nodeType']||_0x201cde['firstChild']!=_0xb4d8c0)return!0x1;if(_0x201cde['classList']['contains']('cm-line'))break;_0xb4d8c0=_0x201cde;}let _0x456fa7=0x1==_0x19ced2['nodeType']?_0x19ced2['getBoundingClientRect']():_0xdf30a3(_0x19ced2,0x0,Math['max'](_0x19ced2['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x2467a5-_0x456fa7['left']>0x5;}(_0x408727,_0x240a56,_0x4bbf22))&&(_0x408727=void 0x0),_0x408727&&(_0x240a56=Math['min'](_0x2b2aae(_0x408727),_0x240a56));}if(!_0x408727||!_0x58b62e['docView']['dom']['contains'](_0x408727)){let _0x29c0b0=_0xaa5b3d['find'](_0x58b62e['docView'],_0x23adc1);if(!_0x29c0b0)return _0x5c7318>_0x5c9f9e['top']+_0x5c9f9e['height']/0x2?_0x5c9f9e['to']:_0x5c9f9e['from'];({node:_0x408727,offset:_0x240a56}=_0x4b115a(_0x29c0b0['dom'],_0x4bbf22,_0x54ade1));}let _0x2a4ceb=_0x58b62e['docView']['nearest'](_0x408727);if(!_0x2a4ceb)return null;if(_0x2a4ceb['isWidget']&&0x1==(null===(_0x392d1f=_0x2a4ceb['dom'])||void 0x0===_0x392d1f?void 0x0:_0x392d1f['nodeType'])){let _0x35203d=_0x2a4ceb['dom']['getBoundingClientRect']();return _0x300fa6['y']<_0x35203d['top']||_0x300fa6['y']<=_0x35203d['bottom']&&_0x300fa6['x']<=(_0x35203d['left']+_0x35203d['right'])/0x2?_0x2a4ceb['posAtStart']:_0x2a4ceb['posAtEnd'];}return _0x2a4ceb['localPosFromDOM'](_0x408727,_0x240a56)+_0x2a4ceb['posAtStart'];}function _0xf11782(_0xafb349,_0x2ee8b9,_0x14a570,_0x51d754,_0x243ca1){let _0x197edd=Math['round']((_0x51d754-_0x2ee8b9['left'])*_0xafb349['defaultCharacterWidth']);if(_0xafb349['lineWrapping']&&_0x14a570['height']>1.5*_0xafb349['defaultLineHeight']){let _0x3fbc5d=_0xafb349['viewState']['heightOracle']['textHeight'];_0x197edd+=Math['floor']((_0x243ca1-_0x14a570['top']-0.5*(_0xafb349['defaultLineHeight']-_0x3fbc5d))/_0x3fbc5d)*_0xafb349['viewState']['heightOracle']['lineLength'];}let _0x4474cf=_0xafb349['state']['sliceDoc'](_0x14a570['from'],_0x14a570['to']);return _0x14a570['from']+_0x1ffbe9(_0x4474cf,_0x197edd,_0xafb349['state']['tabSize']);}function _0x441fb0(_0x18781a,_0xd68b0b,_0x5ad8ce){let _0x1857d6,_0x12270e=_0x18781a;if(0x3!=_0x18781a['nodeType']||_0xd68b0b!=(_0x1857d6=_0x18781a['nodeValue']['length']))return!0x1;for(;;){let _0x1f03b6=_0x12270e['nextSibling'];if(_0x1f03b6){if('BR'==_0x1f03b6['nodeName'])break;return!0x1;}{let _0x19dcf1=_0x12270e['parentNode'];if(!_0x19dcf1||'DIV'==_0x19dcf1['nodeName'])break;_0x12270e=_0x19dcf1;}}return _0xdf30a3(_0x18781a,_0x1857d6-0x1,_0x1857d6)['getBoundingClientRect']()['right']>_0x5ad8ce;}function _0x136f5e(_0x15a4bd,_0x1d3f49,_0x289629){let _0x41aba4=_0x15a4bd['lineBlockAt'](_0x1d3f49);if(Array['isArray'](_0x41aba4['type'])){let _0x29033b;for(let _0x1ad44c of _0x41aba4['type']){if(_0x1ad44c['from']>_0x1d3f49)break;if(!(_0x1ad44c['to']<_0x1d3f49)){if(_0x1ad44c['from']<_0x1d3f49&&_0x1ad44c['to']>_0x1d3f49)return _0x1ad44c;_0x29033b&&(_0x1ad44c['type']!=_0x5b6263['Text']||_0x29033b['type']==_0x1ad44c['type']&&!(_0x289629<0x0?_0x1ad44c['from']<_0x1d3f49:_0x1ad44c['to']>_0x1d3f49))||(_0x29033b=_0x1ad44c);}}return _0x29033b||_0x41aba4;}return _0x41aba4;}function _0x27f72b(_0x7961a3,_0x5e934b,_0x279174,_0x59140a){let _0x5af080=_0x7961a3['state']['doc']['lineAt'](_0x5e934b['head']),_0x565cc9=_0x7961a3['bidiSpans'](_0x5af080),_0x2b1f18=_0x7961a3['textDirectionAt'](_0x5af080['from']);for(let _0x12ad82=_0x5e934b,_0x751d52=null;;){let _0x3992a1=_0x2fa366(_0x5af080,_0x565cc9,_0x2b1f18,_0x12ad82,_0x279174),_0x3a3613=_0x4b7d91;if(!_0x3992a1){if(_0x5af080['number']==(_0x279174?_0x7961a3['state']['doc']['lines']:0x1))return _0x12ad82;_0x3a3613='\x0a',_0x5af080=_0x7961a3['state']['doc']['line'](_0x5af080['number']+(_0x279174?0x1:-0x1)),_0x565cc9=_0x7961a3['bidiSpans'](_0x5af080),_0x3992a1=_0x7961a3['visualLineSide'](_0x5af080,!_0x279174);}if(_0x751d52){if(!_0x751d52(_0x3a3613))return _0x12ad82;}else{if(!_0x59140a)return _0x3992a1;_0x751d52=_0x59140a(_0x3a3613);}_0x12ad82=_0x3992a1;}}function _0x3cd222(_0xec6265,_0x3a0e43,_0x48194a){for(;;){let _0x520012=0x0;for(let _0x118958 of _0xec6265)_0x118958['between'](_0x3a0e43-0x1,_0x3a0e43+0x1,(_0x35fea6,_0x2bebad,_0x41b475)=>{if(_0x3a0e43>_0x35fea6&&_0x3a0e43<_0x2bebad){let _0x5a9fc5=_0x520012||_0x48194a||(_0x3a0e43-_0x35fea6<_0x2bebad-_0x3a0e43?-0x1:0x1);_0x3a0e43=_0x5a9fc5<0x0?_0x35fea6:_0x2bebad,_0x520012=_0x5a9fc5;}});if(!_0x520012)return _0x3a0e43;}}function _0x25edc0(_0x35f876,_0x192f41){let _0x4fc0e6=null;for(let _0x3542e0=0x0;_0x3542e0<_0x192f41['ranges']['length'];_0x3542e0++){let _0x2d2b05=_0x192f41['ranges'][_0x3542e0],_0x46d194=null;if(_0x2d2b05['empty']){let _0x209f97=_0x3cd222(_0x35f876,_0x2d2b05['from'],0x0);_0x209f97!=_0x2d2b05['from']&&(_0x46d194=EditorSelection['cursor'](_0x209f97,-0x1));}else{let _0x172c1d=_0x3cd222(_0x35f876,_0x2d2b05['from'],-0x1),_0x4881c6=_0x3cd222(_0x35f876,_0x2d2b05['to'],0x1);_0x172c1d==_0x2d2b05['from']&&_0x4881c6==_0x2d2b05['to']||(_0x46d194=EditorSelection['range'](_0x2d2b05['from']==_0x2d2b05['anchor']?_0x172c1d:_0x4881c6,_0x2d2b05['from']==_0x2d2b05['head']?_0x172c1d:_0x4881c6));}_0x46d194&&(_0x4fc0e6||(_0x4fc0e6=_0x192f41['ranges']['slice']()),_0x4fc0e6[_0x3542e0]=_0x46d194);}return _0x4fc0e6?EditorSelection['create'](_0x4fc0e6,_0x192f41['mainIndex']):_0x192f41;}function _0x1c26a7(_0x39399e,_0x355089,_0x1134c9){let _0xe59463=_0x3cd222(_0x39399e['state']['facet'](_0x291ab4)['map'](_0x5ef7e6=>_0x5ef7e6(_0x39399e)),_0x1134c9['from'],_0x355089['head']>_0x1134c9['from']?-0x1:0x1);return _0xe59463==_0x1134c9['from']?_0x1134c9:EditorSelection['cursor'](_0xe59463,_0xe59463<_0x1134c9['from']?0x1:-0x1);}const _0xff9ad3='';class _0x3011e2{constructor(_0x14d9dd,_0x21f71d){this['points']=_0x14d9dd,this['text']='',this['lineSeparator']=_0x21f71d['facet'](EditorState['lineSeparator']);}['append'](_0x651ca6){this['text']+=_0x651ca6;}['lineBreak'](){this['text']+=_0xff9ad3;}['readRange'](_0x67d957,_0x3ba2bc){if(!_0x67d957)return this;let _0x2cb54b=_0x67d957['parentNode'];for(let _0x2af5a2=_0x67d957;;){this['findPointBefore'](_0x2cb54b,_0x2af5a2);let _0x4a958c=this['text']['length'];this['readNode'](_0x2af5a2);let _0x199bbb=_0x2af5a2['nextSibling'];if(_0x199bbb==_0x3ba2bc)break;let _0x573da2=ContentView['get'](_0x2af5a2),_0x201fe1=ContentView['get'](_0x199bbb);(_0x573da2&&_0x201fe1?_0x573da2['breakAfter']:(_0x573da2?_0x573da2['breakAfter']:_0x5b9507(_0x2af5a2))||_0x5b9507(_0x199bbb)&&('BR'!=_0x2af5a2['nodeName']||_0x2af5a2['cmIgnore'])&&this['text']['length']>_0x4a958c)&&!_0x500211(_0x199bbb,_0x3ba2bc)&&this['lineBreak'](),_0x2af5a2=_0x199bbb;}return this['findPointBefore'](_0x2cb54b,_0x3ba2bc),this;}['readTextNode'](_0x64365e){let _0x4bad15=_0x64365e['nodeValue'];for(let _0x179d88 of this['points'])_0x179d88['node']==_0x64365e&&(_0x179d88['pos']=this['text']['length']+Math['min'](_0x179d88['offset'],_0x4bad15['length']));for(let _0xa5d1c8=0x0,_0x272118=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x2e5b6c,_0x351a13=-0x1,_0x445bdc=0x1;if(this['lineSeparator']?(_0x351a13=_0x4bad15['indexOf'](this['lineSeparator'],_0xa5d1c8),_0x445bdc=this['lineSeparator']['length']):(_0x2e5b6c=_0x272118['exec'](_0x4bad15))&&(_0x351a13=_0x2e5b6c['index'],_0x445bdc=_0x2e5b6c[0x0]['length']),this['append'](_0x4bad15['slice'](_0xa5d1c8,_0x351a13<0x0?_0x4bad15['length']:_0x351a13)),_0x351a13<0x0)break;if(this['lineBreak'](),_0x445bdc>0x1){for(let _0x17ef72 of this['points'])_0x17ef72['node']==_0x64365e&&_0x17ef72['pos']>this['text']['length']&&(_0x17ef72['pos']-=_0x445bdc-0x1);}_0xa5d1c8=_0x351a13+_0x445bdc;}}['readNode'](_0x5558a5){if(_0x5558a5['cmIgnore'])return;let _0x779a9f=ContentView['get'](_0x5558a5),_0x1e1ab5=_0x779a9f&&_0x779a9f['overrideDOMText'];if(null!=_0x1e1ab5){this['findPointInside'](_0x5558a5,_0x1e1ab5['length']);for(let _0x1e392d=_0x1e1ab5['iter']();!_0x1e392d['next']()['done'];)_0x1e392d['lineBreak']?this['lineBreak']():this['append'](_0x1e392d['value']);}else 0x3==_0x5558a5['nodeType']?this['readTextNode'](_0x5558a5):'BR'==_0x5558a5['nodeName']?_0x5558a5['nextSibling']&&this['lineBreak']():0x1==_0x5558a5['nodeType']&&this['readRange'](_0x5558a5['firstChild'],null);}['findPointBefore'](_0x4cbdce,_0x1bc697){for(let _0x4b2e57 of this['points'])_0x4b2e57['node']==_0x4cbdce&&_0x4cbdce['childNodes'][_0x4b2e57['offset']]==_0x1bc697&&(_0x4b2e57['pos']=this['text']['length']);}['findPointInside'](_0x5ad96b,_0x272c68){for(let _0x429e9c of this['points'])(0x3==_0x5ad96b['nodeType']?_0x429e9c['node']==_0x5ad96b:_0x5ad96b['contains'](_0x429e9c['node']))&&(_0x429e9c['pos']=this['text']['length']+(_0x15b96a(_0x5ad96b,_0x429e9c['node'],_0x429e9c['offset'])?_0x272c68:0x0));}}function _0x15b96a(_0x210fb6,_0x32f1ef,_0x125082){for(;;){if(!_0x32f1ef||_0x125082<_0x2b2aae(_0x32f1ef))return!0x1;if(_0x32f1ef==_0x210fb6)return!0x0;_0x125082=_0x14aad2(_0x32f1ef)+0x1,_0x32f1ef=_0x32f1ef['parentNode'];}}function _0x500211(_0x1cfa06,_0x19d643){let _0x4aa26a;for(;_0x1cfa06!=_0x19d643&&_0x1cfa06;_0x1cfa06=_0x1cfa06['nextSibling']){let _0x377439=ContentView['get'](_0x1cfa06);if(!(null==_0x377439?void 0x0:_0x377439['isWidget'])&&!_0x1cfa06['cmIgnore'])return!0x1;_0x377439&&(_0x4aa26a||(_0x4aa26a=[]))['push'](_0x377439);}if(_0x4aa26a)for(let _0x2a307f of _0x4aa26a){let _0x470fd1=_0x2a307f['overrideDOMText'];if(null==_0x470fd1?void 0x0:_0x470fd1['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x27f551,_0x1eaf17){this['node']=_0x27f551,this['offset']=_0x1eaf17,this['pos']=-0x1;}}class _0x423150{constructor(_0x1e0310,_0x1aa3fa,_0x22d284,_0x30da17){this['typeOver']=_0x30da17,this['bounds']=null,this['text']='',this['domChanged']=_0x1aa3fa>-0x1;let {impreciseHead:_0x161745,impreciseAnchor:_0x4ec78a}=_0x1e0310['docView'];if(_0x1e0310['state']['readOnly']&&_0x1aa3fa>-0x1)this['newSel']=null;else{if(_0x1aa3fa>-0x1&&(this['bounds']=_0x1e0310['docView']['domBoundsAround'](_0x1aa3fa,_0x22d284,0x0))){let _0x50a5cd=_0x161745||_0x4ec78a?[]:function(_0x5f21cf){let _0x41e793=[];if(_0x5f21cf['root']['activeElement']!=_0x5f21cf['contentDOM'])return _0x41e793;let {anchorNode:_0xca8db3,anchorOffset:_0x349a9f,focusNode:_0x410814,focusOffset:_0x2cbd88}=_0x5f21cf['observer']['selectionRange'];return _0xca8db3&&(_0x41e793['push'](new DOMPoint(_0xca8db3,_0x349a9f)),_0x410814==_0xca8db3&&_0x2cbd88==_0x349a9f||_0x41e793['push'](new DOMPoint(_0x410814,_0x2cbd88))),_0x41e793;}(_0x1e0310),_0xc579d4=new _0x3011e2(_0x50a5cd,_0x1e0310['state']);_0xc579d4['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0xc579d4['text'],this['newSel']=function(_0x1fbab0,_0x347d7b){if(0x0==_0x1fbab0['length'])return null;let _0x23c44f=_0x1fbab0[0x0]['pos'],_0x2f6494=0x2==_0x1fbab0['length']?_0x1fbab0[0x1]['pos']:_0x23c44f;return _0x23c44f>-0x1&&_0x2f6494>-0x1?EditorSelection['single'](_0x23c44f+_0x347d7b,_0x2f6494+_0x347d7b):null;}(_0x50a5cd,this['bounds']['from']);}else{let _0x5fedcb=_0x1e0310['observer']['selectionRange'],_0x28ec5e=_0x161745&&_0x161745['node']==_0x5fedcb['focusNode']&&_0x161745['offset']==_0x5fedcb['focusOffset']||!_0x105336(_0x1e0310['contentDOM'],_0x5fedcb['focusNode'])?_0x1e0310['state']['selection']['main']['head']:_0x1e0310['docView']['posFromDOM'](_0x5fedcb['focusNode'],_0x5fedcb['focusOffset']),_0x4fd0d5=_0x4ec78a&&_0x4ec78a['node']==_0x5fedcb['anchorNode']&&_0x4ec78a['offset']==_0x5fedcb['anchorOffset']||!_0x105336(_0x1e0310['contentDOM'],_0x5fedcb['anchorNode'])?_0x1e0310['state']['selection']['main']['anchor']:_0x1e0310['docView']['posFromDOM'](_0x5fedcb['anchorNode'],_0x5fedcb['anchorOffset']),_0x532909=_0x1e0310['viewport'];if((_0x2c4476['ios']||_0x2c4476['chrome'])&&_0x1e0310['state']['selection']['main']['empty']&&_0x28ec5e!=_0x4fd0d5&&(_0x532909['from']>0x0||_0x532909['to']<_0x1e0310['state']['doc']['length'])){let _0x19e8a3=Math['min'](_0x28ec5e,_0x4fd0d5),_0x3a5f92=Math['max'](_0x28ec5e,_0x4fd0d5),_0x1d2a08=_0x532909['from']-_0x19e8a3,_0x1909f9=_0x532909['to']-_0x3a5f92;0x0!=_0x1d2a08&&0x1!=_0x1d2a08&&0x0!=_0x19e8a3||0x0!=_0x1909f9&&-0x1!=_0x1909f9&&_0x3a5f92!=_0x1e0310['state']['doc']['length']||(_0x28ec5e=0x0,_0x4fd0d5=_0x1e0310['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x4fd0d5,_0x28ec5e);}}}}function tw(_0x46ec51,_0x1029b3){let _0x3a2d85,{newSel:_0xbde5a0}=_0x1029b3,_0x22b6aa=_0x46ec51['state']['selection']['main'],_0x53ddd4=_0x46ec51['inputState']['lastKeyTime']>Date['now']()-0x64?_0x46ec51['inputState']['lastKeyCode']:-0x1;if(_0x1029b3['bounds']){let {from:_0x54a1e6,to:_0x11c736}=_0x1029b3['bounds'],_0x46b567=_0x22b6aa['from'],_0x296840=null;(0x8===_0x53ddd4||_0x2c4476['android']&&_0x1029b3['text']['length']<_0x11c736-_0x54a1e6)&&(_0x46b567=_0x22b6aa['to'],_0x296840='end');let _0xef0f87=_0x1383c5(_0x46ec51['state']['doc']['sliceString'](_0x54a1e6,_0x11c736,_0xff9ad3),_0x1029b3['text'],_0x46b567-_0x54a1e6,_0x296840);_0xef0f87&&(_0x2c4476['chrome']&&0xd==_0x53ddd4&&_0xef0f87['toB']==_0xef0f87['from']+0x2&&_0x1029b3['text']['slice'](_0xef0f87['from'],_0xef0f87['toB'])==_0xff9ad3+_0xff9ad3&&_0xef0f87['toB']--,_0x3a2d85={'from':_0x54a1e6+_0xef0f87['from'],'to':_0x54a1e6+_0xef0f87['toA'],'insert':Text['of'](_0x1029b3['text']['slice'](_0xef0f87['from'],_0xef0f87['toB'])['split'](_0xff9ad3))});}else _0xbde5a0&&(!_0x46ec51['hasFocus']&&_0x46ec51['state']['facet'](_0x1a0c5c)||_0xbde5a0['main']['eq'](_0x22b6aa))&&(_0xbde5a0=null);if(!_0x3a2d85&&!_0xbde5a0)return!0x1;if(!_0x3a2d85&&_0x1029b3['typeOver']&&!_0x22b6aa['empty']&&_0xbde5a0&&_0xbde5a0['main']['empty']?_0x3a2d85={'from':_0x22b6aa['from'],'to':_0x22b6aa['to'],'insert':_0x46ec51['state']['doc']['slice'](_0x22b6aa['from'],_0x22b6aa['to'])}:(_0x2c4476['mac']||_0x2c4476['android'])&&_0x3a2d85&&_0x3a2d85['from']==_0x3a2d85['to']&&_0x3a2d85['from']==_0x22b6aa['head']-0x1&&/^\. ?$/['test'](_0x3a2d85['insert']['toString']())&&'off'==_0x46ec51['contentDOM']['getAttribute']('autocorrect')?(_0xbde5a0&&0x2==_0x3a2d85['insert']['length']&&(_0xbde5a0=EditorSelection['single'](_0xbde5a0['main']['anchor']-0x1,_0xbde5a0['main']['head']-0x1)),_0x3a2d85={'from':_0x3a2d85['from'],'to':_0x3a2d85['to'],'insert':Text['of']([_0x3a2d85['insert']['toString']()['replace']('.','\x20')])}):_0x3a2d85&&_0x3a2d85['from']>=_0x22b6aa['from']&&_0x3a2d85['to']<=_0x22b6aa['to']&&(_0x3a2d85['from']!=_0x22b6aa['from']||_0x3a2d85['to']!=_0x22b6aa['to'])&&_0x22b6aa['to']-_0x22b6aa['from']-(_0x3a2d85['to']-_0x3a2d85['from'])<=0x4?_0x3a2d85={'from':_0x22b6aa['from'],'to':_0x22b6aa['to'],'insert':_0x46ec51['state']['doc']['slice'](_0x22b6aa['from'],_0x3a2d85['from'])['append'](_0x3a2d85['insert'])['append'](_0x46ec51['state']['doc']['slice'](_0x3a2d85['to'],_0x22b6aa['to']))}:_0x2c4476['chrome']&&_0x3a2d85&&_0x3a2d85['from']==_0x3a2d85['to']&&_0x3a2d85['from']==_0x22b6aa['head']&&'\x0a\x20'==_0x3a2d85['insert']['toString']()&&_0x46ec51['lineWrapping']&&(_0xbde5a0&&(_0xbde5a0=EditorSelection['single'](_0xbde5a0['main']['anchor']-0x1,_0xbde5a0['main']['head']-0x1)),_0x3a2d85={'from':_0x22b6aa['from'],'to':_0x22b6aa['to'],'insert':Text['of'](['\x20'])}),_0x3a2d85)return _0x5db3c5(_0x46ec51,_0x3a2d85,_0xbde5a0,_0x53ddd4);if(_0xbde5a0&&!_0xbde5a0['main']['eq'](_0x22b6aa)){let _0x37c76c=!0x1,_0x3a5f4c='select';return _0x46ec51['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x46ec51['inputState']['lastSelectionOrigin']&&(_0x37c76c=!0x0),_0x3a5f4c=_0x46ec51['inputState']['lastSelectionOrigin'],'select.pointer'==_0x3a5f4c&&(_0xbde5a0=_0x25edc0(_0x46ec51['state']['facet'](_0x291ab4)['map'](_0x42d92e=>_0x42d92e(_0x46ec51)),_0xbde5a0))),_0x46ec51['dispatch']({'selection':_0xbde5a0,'scrollIntoView':_0x37c76c,'userEvent':_0x3a5f4c}),!0x0;}return!0x1;}function _0x5db3c5(_0x234944,_0x41647a,_0x7901ed,_0x3320da=-0x1){if(_0x2c4476['ios']&&_0x234944['inputState']['flushIOSKey'](_0x41647a))return!0x0;let _0x5c2ae7=_0x234944['state']['selection']['main'];if(_0x2c4476['android']&&(_0x41647a['to']==_0x5c2ae7['to']&&(_0x41647a['from']==_0x5c2ae7['from']||_0x41647a['from']==_0x5c2ae7['from']-0x1&&'\x20'==_0x234944['state']['sliceDoc'](_0x41647a['from'],_0x5c2ae7['from']))&&0x1==_0x41647a['insert']['length']&&0x2==_0x41647a['insert']['lines']&&_0x4c7031(_0x234944['contentDOM'],'Enter',0xd)||(_0x41647a['from']==_0x5c2ae7['from']-0x1&&_0x41647a['to']==_0x5c2ae7['to']&&0x0==_0x41647a['insert']['length']||0x8==_0x3320da&&_0x41647a['insert']['length']<_0x41647a['to']-_0x41647a['from']&&_0x41647a['to']>_0x5c2ae7['head'])&&_0x4c7031(_0x234944['contentDOM'],'Backspace',0x8)||_0x41647a['from']==_0x5c2ae7['from']&&_0x41647a['to']==_0x5c2ae7['to']+0x1&&0x0==_0x41647a['insert']['length']&&_0x4c7031(_0x234944['contentDOM'],'Delete',0x2e)))return!0x0;let _0x33243e,_0x22e36d=_0x41647a['insert']['toString']();_0x234944['inputState']['composing']>=0x0&&_0x234944['inputState']['composing']++;let _0xd3edb0=()=>_0x33243e||(_0x33243e=function(_0x8f6bd2,_0x1acf37,_0x3d6bf3){let _0x1894f1,_0x1b9835=_0x8f6bd2['state'],_0x1fc939=_0x1b9835['selection']['main'],_0x4f705a=-0x1;if(_0x1acf37['from']==_0x1acf37['to']&&_0x1acf37['from']<_0x1fc939['from']||_0x1acf37['from']>_0x1fc939['to']){let _0x4b3385=_0x1acf37['from']<_0x1fc939['from']?-0x1:0x1,_0x13c3ca=_0x4b3385<0x0?_0x1fc939['from']:_0x1fc939['to'],_0x463dc3=_0x3cd222(_0x1b9835['facet'](_0x291ab4)['map'](_0x364275=>_0x364275(_0x8f6bd2)),_0x13c3ca,_0x4b3385);_0x1acf37['from']==_0x463dc3&&(_0x4f705a=_0x463dc3);}if(_0x4f705a>-0x1)_0x1894f1={'changes':_0x1acf37,'selection':EditorSelection['cursor'](_0x1acf37['from']+_0x1acf37['insert']['length'],-0x1)};else{if(_0x1acf37['from']>=_0x1fc939['from']&&_0x1acf37['to']<=_0x1fc939['to']&&_0x1acf37['to']-_0x1acf37['from']>=(_0x1fc939['to']-_0x1fc939['from'])/0x3&&(!_0x3d6bf3||_0x3d6bf3['main']['empty']&&_0x3d6bf3['main']['from']==_0x1acf37['from']+_0x1acf37['insert']['length'])&&_0x8f6bd2['inputState']['composing']<0x0){let _0x237318=_0x1fc939['from']<_0x1acf37['from']?_0x1b9835['sliceDoc'](_0x1fc939['from'],_0x1acf37['from']):'',_0x376391=_0x1fc939['to']>_0x1acf37['to']?_0x1b9835['sliceDoc'](_0x1acf37['to'],_0x1fc939['to']):'';_0x1894f1=_0x1b9835['replaceSelection'](_0x8f6bd2['state']['toText'](_0x237318+_0x1acf37['insert']['sliceString'](0x0,void 0x0,_0x8f6bd2['state']['lineBreak'])+_0x376391));}else{let _0x2c3b30=_0x1b9835['changes'](_0x1acf37),_0x24d6b5=_0x3d6bf3&&_0x3d6bf3['main']['to']<=_0x2c3b30['newLength']?_0x3d6bf3['main']:void 0x0;if(_0x1b9835['selection']['ranges']['length']>0x1&&_0x8f6bd2['inputState']['composing']>=0x0&&_0x1acf37['to']<=_0x1fc939['to']&&_0x1acf37['to']>=_0x1fc939['to']-0xa){let _0x1b000f,_0x199451=_0x8f6bd2['state']['sliceDoc'](_0x1acf37['from'],_0x1acf37['to']),_0x2fa8f0=_0x3d6bf3&&_0x590564(_0x8f6bd2,_0x3d6bf3['main']['head']);if(_0x2fa8f0){let _0x4be2d4=_0x1acf37['insert']['length']-(_0x1acf37['to']-_0x1acf37['from']);_0x1b000f={'from':_0x2fa8f0['from'],'to':_0x2fa8f0['to']-_0x4be2d4};}else _0x1b000f=_0x8f6bd2['state']['doc']['lineAt'](_0x1fc939['head']);let _0xb23d42=_0x1fc939['to']-_0x1acf37['to'],_0x212862=_0x1fc939['to']-_0x1fc939['from'];_0x1894f1=_0x1b9835['changeByRange'](_0x2a7145=>{if(_0x2a7145['from']==_0x1fc939['from']&&_0x2a7145['to']==_0x1fc939['to'])return{'changes':_0x2c3b30,'range':_0x24d6b5||_0x2a7145['map'](_0x2c3b30)};let _0x43ce64=_0x2a7145['to']-_0xb23d42,_0x56aeb2=_0x43ce64-_0x199451['length'];if(_0x2a7145['to']-_0x2a7145['from']!=_0x212862||_0x8f6bd2['state']['sliceDoc'](_0x56aeb2,_0x43ce64)!=_0x199451||_0x2a7145['to']>=_0x1b000f['from']&&_0x2a7145['from']<=_0x1b000f['to'])return{'range':_0x2a7145};let _0x1dc349=_0x1b9835['changes']({'from':_0x56aeb2,'to':_0x43ce64,'insert':_0x1acf37['insert']}),_0x26d7a5=_0x2a7145['to']-_0x1fc939['to'];return{'changes':_0x1dc349,'range':_0x24d6b5?EditorSelection['range'](Math['max'](0x0,_0x24d6b5['anchor']+_0x26d7a5),Math['max'](0x0,_0x24d6b5['head']+_0x26d7a5)):_0x2a7145['map'](_0x1dc349)};});}else _0x1894f1={'changes':_0x2c3b30,'selection':_0x24d6b5&&_0x1b9835['selection']['replaceRange'](_0x24d6b5)};}}let _0x54cfd8='input.type';return(_0x8f6bd2['composing']||_0x8f6bd2['inputState']['compositionPendingChange']&&_0x8f6bd2['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x8f6bd2['inputState']['compositionPendingChange']=!0x1,_0x54cfd8+='.compose',_0x8f6bd2['inputState']['compositionFirstChange']&&(_0x54cfd8+='.start',_0x8f6bd2['inputState']['compositionFirstChange']=!0x1)),_0x1b9835['update'](_0x1894f1,{'userEvent':_0x54cfd8,'scrollIntoView':!0x0});}(_0x234944,_0x41647a,_0x7901ed));return _0x234944['state']['facet'](_0x5699fa)['some'](_0x544832=>_0x544832(_0x234944,_0x41647a['from'],_0x41647a['to'],_0x22e36d,_0xd3edb0))||_0x234944['dispatch'](_0xd3edb0()),!0x0;}function _0x1383c5(_0x46d9da,_0x3bb2fa,_0x19cbb1,_0x49d7f3){let _0x232f72=Math['min'](_0x46d9da['length'],_0x3bb2fa['length']),_0x1eb70f=0x0;for(;_0x1eb70f<_0x232f72&&_0x46d9da['charCodeAt'](_0x1eb70f)==_0x3bb2fa['charCodeAt'](_0x1eb70f);)_0x1eb70f++;if(_0x1eb70f==_0x232f72&&_0x46d9da['length']==_0x3bb2fa['length'])return null;let _0x2222d0=_0x46d9da['length'],_0x3d7e4b=_0x3bb2fa['length'];for(;_0x2222d0>0x0&&_0x3d7e4b>0x0&&_0x46d9da['charCodeAt'](_0x2222d0-0x1)==_0x3bb2fa['charCodeAt'](_0x3d7e4b-0x1);)_0x2222d0--,_0x3d7e4b--;'end'==_0x49d7f3&&(_0x19cbb1-=_0x2222d0+Math['max'](0x0,_0x1eb70f-Math['min'](_0x2222d0,_0x3d7e4b))-_0x1eb70f);if(_0x2222d0<_0x1eb70f&&_0x46d9da['length']<_0x3bb2fa['length'])_0x1eb70f-=_0x19cbb1<=_0x1eb70f&&_0x19cbb1>=_0x2222d0?_0x1eb70f-_0x19cbb1:0x0,_0x3d7e4b=_0x1eb70f+(_0x3d7e4b-_0x2222d0),_0x2222d0=_0x1eb70f;else _0x3d7e4b<_0x1eb70f&&(_0x1eb70f-=_0x19cbb1<=_0x1eb70f&&_0x19cbb1>=_0x3d7e4b?_0x1eb70f-_0x19cbb1:0x0,_0x2222d0=_0x1eb70f+(_0x2222d0-_0x3d7e4b),_0x3d7e4b=_0x1eb70f);return{'from':_0x1eb70f,'toA':_0x2222d0,'toB':_0x3d7e4b};}class InputState{['setSelectionOrigin'](_0x11625c){this['lastSelectionOrigin']=_0x11625c,this['lastSelectionTime']=Date['now']();}constructor(_0x229db2){this['view']=_0x229db2,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x229db2['hasFocus'],_0x2c4476['safari']&&_0x229db2['contentDOM']['addEventListener']('input',()=>null),_0x2c4476['gecko']&&function(_0x738ef1){_0x1fbcd5['has'](_0x738ef1)||(_0x1fbcd5['add'](_0x738ef1),_0x738ef1['addEventListener']('copy',()=>{}),_0x738ef1['addEventListener']('cut',()=>{}));}(_0x229db2['contentDOM']['ownerDocument']);}['handleEvent'](_0x38a926){(function(_0x5b7923,_0x14b68b){if(!_0x14b68b['bubbles'])return!0x0;if(_0x14b68b['defaultPrevented'])return!0x1;for(let _0x365cb1,_0x5b0bef=_0x14b68b['target'];_0x5b0bef!=_0x5b7923['contentDOM'];_0x5b0bef=_0x5b0bef['parentNode'])if(!_0x5b0bef||0xb==_0x5b0bef['nodeType']||(_0x365cb1=ContentView['get'](_0x5b0bef))&&_0x365cb1['ignoreEvent'](_0x14b68b))return!0x1;return!0x0;}(this['view'],_0x38a926)&&!this['ignoreDuringComposition'](_0x38a926)&&('keydown'==_0x38a926['type']&&this['keydown'](_0x38a926)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x38a926['type'],_0x38a926)):this['runHandlers'](_0x38a926['type'],_0x38a926))));}['runHandlers'](_0x10f6ff,_0x4ddc6b){let _0x15905c=this['handlers'][_0x10f6ff];if(_0x15905c){for(let _0x59652d of _0x15905c['observers'])_0x59652d(this['view'],_0x4ddc6b);for(let _0x290cb1 of _0x15905c['handlers']){if(_0x4ddc6b['defaultPrevented'])break;if(_0x290cb1(this['view'],_0x4ddc6b)){_0x4ddc6b['preventDefault']();break;}}}}['ensureHandlers'](_0xca2aec){let _0x495dca=_0x287fcb(_0xca2aec),_0x4bc786=this['handlers'],_0x1b462f=this['view']['contentDOM'];for(let _0x5965b0 in _0x495dca)if('scroll'!=_0x5965b0){let _0x51c799=!_0x495dca[_0x5965b0]['handlers']['length'],_0x21c6a8=_0x4bc786[_0x5965b0];_0x21c6a8&&_0x51c799!=!_0x21c6a8['handlers']['length']&&(_0x1b462f['removeEventListener'](_0x5965b0,this['handleEvent']),_0x21c6a8=null),_0x21c6a8||_0x1b462f['addEventListener'](_0x5965b0,this['handleEvent'],{'passive':_0x51c799});}for(let _0x33ad6a in _0x4bc786)'scroll'==_0x33ad6a||_0x495dca[_0x33ad6a]||_0x1b462f['removeEventListener'](_0x33ad6a,this['handleEvent']);this['handlers']=_0x495dca;}['keydown'](_0x3daa01){if(this['lastKeyCode']=_0x3daa01['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x3daa01['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x3daa01['keyCode']&&_0x22199c['indexOf'](_0x3daa01['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x2c4476['android']&&_0x2c4476['chrome']&&!_0x3daa01['synthetic']&&(0xd==_0x3daa01['keyCode']||0x8==_0x3daa01['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x3daa01['key'],_0x3daa01['keyCode']),!0x0;let _0x5ab625;return!_0x2c4476['ios']||_0x3daa01['synthetic']||_0x3daa01['altKey']||_0x3daa01['metaKey']||!((_0x5ab625=_0x37c388['find'](_0x62fc74=>_0x62fc74['keyCode']==_0x3daa01['keyCode']))&&!_0x3daa01['ctrlKey']||_0x5d17c9['indexOf'](_0x3daa01['key'])>-0x1&&_0x3daa01['ctrlKey']&&!_0x3daa01['shiftKey'])?(0xe5!=_0x3daa01['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x5ab625||_0x3daa01,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x427804){let _0x3afeda=this['pendingIOSKey'];return!!_0x3afeda&&(!('Enter'==_0x3afeda['key']&&_0x427804&&_0x427804['from']<_0x427804['to']&&/^\S+$/['test'](_0x427804['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x4c7031(this['view']['contentDOM'],_0x3afeda['key'],_0x3afeda['keyCode'],_0x3afeda instanceof KeyboardEvent?_0x3afeda:void 0x0)));}['ignoreDuringComposition'](_0x4bf2f8){return!(!/^key/['test'](_0x4bf2f8['type'])||_0x4bf2f8['synthetic'])&&(this['composing']>0x0||!!(_0x2c4476['safari']&&!_0x2c4476['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x168693){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x168693;}['update'](_0x312e04){this['view']['observer']['update'](_0x312e04),this['mouseSelection']&&this['mouseSelection']['update'](_0x312e04),this['draggedContent']&&_0x312e04['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x312e04['changes'])),_0x312e04['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x5a2185(_0x29e093,_0x119599){return(_0x3a5e93,_0x522c20)=>{try{return _0x119599['call'](_0x29e093,_0x522c20,_0x3a5e93);}catch(_0x3fe8eb){_0x2eda46(_0x3a5e93['state'],_0x3fe8eb);}};}function _0x287fcb(_0x3817ef){let _0x446e34=Object['create'](null);function _0x2f5a71(_0x5a8dab){return _0x446e34[_0x5a8dab]||(_0x446e34[_0x5a8dab]={'observers':[],'handlers':[]});}for(let _0x263439 of _0x3817ef){let _0x580af8=_0x263439['spec'],_0x1ad9f5=_0x580af8&&_0x580af8['plugin']['domEventHandlers'],_0x66c0d5=_0x580af8&&_0x580af8['plugin']['domEventObservers'];if(_0x1ad9f5)for(let _0x3fc08e in _0x1ad9f5){let _0x32aa9f=_0x1ad9f5[_0x3fc08e];_0x32aa9f&&_0x2f5a71(_0x3fc08e)['handlers']['push'](_0x5a2185(_0x263439['value'],_0x32aa9f));}if(_0x66c0d5)for(let _0x463496 in _0x66c0d5){let _0x537a28=_0x66c0d5[_0x463496];_0x537a28&&_0x2f5a71(_0x463496)['observers']['push'](_0x5a2185(_0x263439['value'],_0x537a28));}}for(let _0x1c873d in _0x248bb7)_0x2f5a71(_0x1c873d)['handlers']['push'](_0x248bb7[_0x1c873d]);for(let _0xbe77a9 in _0x1fda2f)_0x2f5a71(_0xbe77a9)['observers']['push'](_0x1fda2f[_0xbe77a9]);return _0x446e34;}const _0x37c388=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x5d17c9='dthko',_0x22199c=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0x39e72c(_0x1a3a47){return 0.7*Math['max'](0x0,_0x1a3a47)+0x8;}class MouseSelection{constructor(_0x247060,_0xac9487,_0x443769,_0x2c4ec8){this['view']=_0x247060,this['startEvent']=_0xac9487,this['style']=_0x443769,this['mustSelect']=_0x2c4ec8,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0xac9487,this['scrollParents']=function(_0x9589f5){let _0x5ab2b7,_0x184905,_0x19fe3f=_0x9589f5['ownerDocument'];for(let _0x79be17=_0x9589f5['parentNode'];_0x79be17&&!(_0x79be17==_0x19fe3f['body']||_0x5ab2b7&&_0x184905);)if(0x1==_0x79be17['nodeType'])!_0x184905&&_0x79be17['scrollHeight']>_0x79be17['clientHeight']&&(_0x184905=_0x79be17),!_0x5ab2b7&&_0x79be17['scrollWidth']>_0x79be17['clientWidth']&&(_0x5ab2b7=_0x79be17),_0x79be17=_0x79be17['assignedSlot']||_0x79be17['parentNode'];else{if(0xb!=_0x79be17['nodeType'])break;_0x79be17=_0x79be17['host'];}return{'x':_0x5ab2b7,'y':_0x184905};}(_0x247060['contentDOM']),this['atoms']=_0x247060['state']['facet'](_0x291ab4)['map'](_0x39ca9e=>_0x39ca9e(_0x247060));let _0x2088ad=_0x247060['contentDOM']['ownerDocument'];_0x2088ad['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x2088ad['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0xac9487['shiftKey'],this['multiple']=_0x247060['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x239d9c,_0xc22049){let _0x3419dd=_0x239d9c['state']['facet'](_0xa1e1d9);return _0x3419dd['length']?_0x3419dd[0x0](_0xc22049):_0x2c4476['mac']?_0xc22049['metaKey']:_0xc22049['ctrlKey'];}(_0x247060,_0xac9487),this['dragging']=!(!function(_0x2f6a80,_0x2cf519){let {main:_0xc30629}=_0x2f6a80['state']['selection'];if(_0xc30629['empty'])return!0x1;let _0x4b1bb2=_0x57e185(_0x2f6a80['root']);if(!_0x4b1bb2||0x0==_0x4b1bb2['rangeCount'])return!0x0;let _0x2ef959=_0x4b1bb2['getRangeAt'](0x0)['getClientRects']();for(let _0x3183f0=0x0;_0x3183f0<_0x2ef959['length'];_0x3183f0++){let _0x2bcac2=_0x2ef959[_0x3183f0];if(_0x2bcac2['left']<=_0x2cf519['clientX']&&_0x2bcac2['right']>=_0x2cf519['clientX']&&_0x2bcac2['top']<=_0x2cf519['clientY']&&_0x2bcac2['bottom']>=_0x2cf519['clientY'])return!0x0;}return!0x1;}(_0x247060,_0xac9487)||0x1!=_0x2d1312(_0xac9487))&&null;}['start'](_0x54c67e){!0x1===this['dragging']&&this['select'](_0x54c67e);}['move'](_0x8e893c){if(0x0==_0x8e893c['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&function(_0x3e8e55,_0x50a549){return Math['max'](Math['abs'](_0x3e8e55['clientX']-_0x50a549['clientX']),Math['abs'](_0x3e8e55['clientY']-_0x50a549['clientY']));}(this['startEvent'],_0x8e893c)<0xa)return;this['select'](this['lastEvent']=_0x8e893c);let _0x4c56eb=0x0,_0x24a08d=0x0,_0x5225b6=0x0,_0x5054df=0x0,_0xcaafc1=this['view']['win']['innerWidth'],_0x545af7=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x5225b6,right:_0xcaafc1}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x5054df,bottom:_0x545af7}=this['scrollParents']['y']['getBoundingClientRect']());let _0x496982=_0x1b8ea7(this['view']);_0x8e893c['clientX']-_0x496982['left']<=_0x5225b6+0x6?_0x4c56eb=-_0x39e72c(_0x5225b6-_0x8e893c['clientX']):_0x8e893c['clientX']+_0x496982['right']>=_0xcaafc1-0x6&&(_0x4c56eb=_0x39e72c(_0x8e893c['clientX']-_0xcaafc1)),_0x8e893c['clientY']-_0x496982['top']<=_0x5054df+0x6?_0x24a08d=-_0x39e72c(_0x5054df-_0x8e893c['clientY']):_0x8e893c['clientY']+_0x496982['bottom']>=_0x545af7-0x6&&(_0x24a08d=_0x39e72c(_0x8e893c['clientY']-_0x545af7)),this['setScrollSpeed'](_0x4c56eb,_0x24a08d);}['up'](_0x2eca79){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x2eca79['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x1350b9=this['view']['contentDOM']['ownerDocument'];_0x1350b9['removeEventListener']('mousemove',this['move']),_0x1350b9['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0xe32135,_0x4c00e6){this['scrollSpeed']={'x':_0xe32135,'y':_0x4c00e6},_0xe32135||_0x4c00e6?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x260ade,y:_0x5404f4}=this['scrollSpeed'];_0x260ade&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x260ade,_0x260ade=0x0),_0x5404f4&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x5404f4,_0x5404f4=0x0),(_0x260ade||_0x5404f4)&&this['view']['win']['scrollBy'](_0x260ade,_0x5404f4),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x4938b8){let {view:_0x13f9aa}=this,_0x3cd91a=_0x25edc0(this['atoms'],this['style']['get'](_0x4938b8,this['extend'],this['multiple']));!this['mustSelect']&&_0x3cd91a['eq'](_0x13f9aa['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x3cd91a,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x53a554){_0x53a554['transactions']['some'](_0x33dcc6=>_0x33dcc6['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x53a554)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const _0x248bb7=Object['create'](null),_0x1fda2f=Object['create'](null),_0x1ec9f0=_0x2c4476['ie']&&_0x2c4476['ie_version']<0xf||_0x2c4476['ios']&&_0x2c4476['webkit_version']<0x25c;function _0x46d884(_0x5e1251,_0x541ffc,_0xda8931){for(let _0x3e9d29 of _0x5e1251['facet'](_0x541ffc))_0xda8931=_0x3e9d29(_0xda8931,_0x5e1251);return _0xda8931;}function _0x473cf0(_0x1f94a2,_0xf55b45){_0xf55b45=_0x46d884(_0x1f94a2['state'],_0x3ad89a,_0xf55b45);let _0x2867a9,{state:_0x5ccdab}=_0x1f94a2,_0x474fd=0x1,_0xaebf41=_0x5ccdab['toText'](_0xf55b45),_0x52bb50=_0xaebf41['lines']==_0x5ccdab['selection']['ranges']['length'];if(null!=_0x586a8e&&_0x5ccdab['selection']['ranges']['every'](_0x1701ab=>_0x1701ab['empty'])&&_0x586a8e==_0xaebf41['toString']()){let _0x809975=-0x1;_0x2867a9=_0x5ccdab['changeByRange'](_0x3ec241=>{let _0x1a2f41=_0x5ccdab['doc']['lineAt'](_0x3ec241['from']);if(_0x1a2f41['from']==_0x809975)return{'range':_0x3ec241};_0x809975=_0x1a2f41['from'];let _0x3ad10b=_0x5ccdab['toText']((_0x52bb50?_0xaebf41['line'](_0x474fd++)['text']:_0xf55b45)+_0x5ccdab['lineBreak']);return{'changes':{'from':_0x1a2f41['from'],'insert':_0x3ad10b},'range':EditorSelection['cursor'](_0x3ec241['from']+_0x3ad10b['length'])};});}else _0x2867a9=_0x52bb50?_0x5ccdab['changeByRange'](_0x425e94=>{let _0x186a03=_0xaebf41['line'](_0x474fd++);return{'changes':{'from':_0x425e94['from'],'to':_0x425e94['to'],'insert':_0x186a03['text']},'range':EditorSelection['cursor'](_0x425e94['from']+_0x186a03['length'])};}):_0x5ccdab['replaceSelection'](_0xaebf41);_0x1f94a2['dispatch'](_0x2867a9,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x4bd823(_0x155cd2,_0x48e86a,_0x2ee754,_0x569df9){if(0x1==_0x569df9)return EditorSelection['cursor'](_0x48e86a,_0x2ee754);if(0x2==_0x569df9)return function(_0x21c550,_0x4747b3,_0x4f5c08=0x1){let _0x254939=_0x21c550['charCategorizer'](_0x4747b3),_0x15537c=_0x21c550['doc']['lineAt'](_0x4747b3),_0x1d71bb=_0x4747b3-_0x15537c['from'];if(0x0==_0x15537c['length'])return EditorSelection['cursor'](_0x4747b3);0x0==_0x1d71bb?_0x4f5c08=0x1:_0x1d71bb==_0x15537c['length']&&(_0x4f5c08=-0x1);let _0x10a74f=_0x1d71bb,_0x26baec=_0x1d71bb;_0x4f5c08<0x0?_0x10a74f=_0x2044d7(_0x15537c['text'],_0x1d71bb,!0x1):_0x26baec=_0x2044d7(_0x15537c['text'],_0x1d71bb);let _0x2660cd=_0x254939(_0x15537c['text']['slice'](_0x10a74f,_0x26baec));for(;_0x10a74f>0x0;){let _0x512d32=_0x2044d7(_0x15537c['text'],_0x10a74f,!0x1);if(_0x254939(_0x15537c['text']['slice'](_0x512d32,_0x10a74f))!=_0x2660cd)break;_0x10a74f=_0x512d32;}for(;_0x26baec<_0x15537c['length'];){let _0x564a99=_0x2044d7(_0x15537c['text'],_0x26baec);if(_0x254939(_0x15537c['text']['slice'](_0x26baec,_0x564a99))!=_0x2660cd)break;_0x26baec=_0x564a99;}return EditorSelection['range'](_0x10a74f+_0x15537c['from'],_0x26baec+_0x15537c['from']);}(_0x155cd2['state'],_0x48e86a,_0x2ee754);{let _0x5a6917=_0xaa5b3d['find'](_0x155cd2['docView'],_0x48e86a),_0x5c9d49=_0x155cd2['state']['doc']['lineAt'](_0x5a6917?_0x5a6917['posAtEnd']:_0x48e86a),_0x582873=_0x5a6917?_0x5a6917['posAtStart']:_0x5c9d49['from'],_0x8bfdfd=_0x5a6917?_0x5a6917['posAtEnd']:_0x5c9d49['to'];return _0x8bfdfd<_0x155cd2['state']['doc']['length']&&_0x8bfdfd==_0x5c9d49['to']&&_0x8bfdfd++,EditorSelection['range'](_0x582873,_0x8bfdfd);}}_0x1fda2f['scroll']=_0x471c2c=>{_0x471c2c['inputState']['lastScrollTop']=_0x471c2c['scrollDOM']['scrollTop'],_0x471c2c['inputState']['lastScrollLeft']=_0x471c2c['scrollDOM']['scrollLeft'];},_0x248bb7['keydown']=(_0x4340c6,_0x65e94b)=>(_0x4340c6['inputState']['setSelectionOrigin']('select'),0x1b==_0x65e94b['keyCode']&&0x0!=_0x4340c6['inputState']['tabFocusMode']&&(_0x4340c6['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x1fda2f['touchstart']=(_0x1cba87,_0x346c96)=>{_0x1cba87['inputState']['lastTouchTime']=Date['now'](),_0x1cba87['inputState']['setSelectionOrigin']('select.pointer');},_0x1fda2f['touchmove']=_0x1899f4=>{_0x1899f4['inputState']['setSelectionOrigin']('select.pointer');},_0x248bb7['mousedown']=(_0x41f590,_0x1259a2)=>{if(_0x41f590['observer']['flush'](),_0x41f590['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0xc4b40f=null;for(let _0x264ce3 of _0x41f590['state']['facet'](_0xf0a240))if(_0xc4b40f=_0x264ce3(_0x41f590,_0x1259a2),_0xc4b40f)break;if(_0xc4b40f||0x0!=_0x1259a2['button']||(_0xc4b40f=function(_0x228e8e,_0x416db4){let _0x1ddaee=_0x44e741(_0x228e8e,_0x416db4),_0x13cc8a=_0x2d1312(_0x416db4),_0x5117a1=_0x228e8e['state']['selection'];return{'update'(_0x492896){_0x492896['docChanged']&&(_0x1ddaee['pos']=_0x492896['changes']['mapPos'](_0x1ddaee['pos']),_0x5117a1=_0x5117a1['map'](_0x492896['changes']));},'get'(_0x27b32f,_0x3d9b1b,_0x204f36){let _0x105833,_0x3df41b=_0x44e741(_0x228e8e,_0x27b32f),_0x59e637=_0x4bd823(_0x228e8e,_0x3df41b['pos'],_0x3df41b['bias'],_0x13cc8a);if(_0x1ddaee['pos']!=_0x3df41b['pos']&&!_0x3d9b1b){let _0x4a68fa=_0x4bd823(_0x228e8e,_0x1ddaee['pos'],_0x1ddaee['bias'],_0x13cc8a),_0x5b7bf9=Math['min'](_0x4a68fa['from'],_0x59e637['from']),_0x44588a=Math['max'](_0x4a68fa['to'],_0x59e637['to']);_0x59e637=_0x5b7bf9<_0x59e637['from']?EditorSelection['range'](_0x5b7bf9,_0x44588a):EditorSelection['range'](_0x44588a,_0x5b7bf9);}return _0x3d9b1b?_0x5117a1['replaceRange'](_0x5117a1['main']['extend'](_0x59e637['from'],_0x59e637['to'])):_0x204f36&&0x1==_0x13cc8a&&_0x5117a1['ranges']['length']>0x1&&(_0x105833=function(_0x42739a,_0x184eca){for(let _0x1e72b4=0x0;_0x1e72b4<_0x42739a['ranges']['length'];_0x1e72b4++){let {from:_0x11ba66,to:_0x2dfda5}=_0x42739a['ranges'][_0x1e72b4];if(_0x11ba66<=_0x184eca&&_0x2dfda5>=_0x184eca)return EditorSelection['create'](_0x42739a['ranges']['slice'](0x0,_0x1e72b4)['concat'](_0x42739a['ranges']['slice'](_0x1e72b4+0x1)),_0x42739a['mainIndex']==_0x1e72b4?0x0:_0x42739a['mainIndex']-(_0x42739a['mainIndex']>_0x1e72b4?0x1:0x0));}return null;}(_0x5117a1,_0x3df41b['pos']))?_0x105833:_0x204f36?_0x5117a1['addRange'](_0x59e637):EditorSelection['create']([_0x59e637]);}};}(_0x41f590,_0x1259a2)),_0xc4b40f){let _0x13d43d=!_0x41f590['hasFocus'];_0x41f590['inputState']['startMouseSelection'](new MouseSelection(_0x41f590,_0x1259a2,_0xc4b40f,_0x13d43d)),_0x13d43d&&_0x41f590['observer']['ignore'](()=>{_0x235cce(_0x41f590['contentDOM']);let _0xa7c97d=_0x41f590['root']['activeElement'];_0xa7c97d&&!_0xa7c97d['contains'](_0x41f590['contentDOM'])&&_0xa7c97d['blur']();});let _0x191359=_0x41f590['inputState']['mouseSelection'];if(_0x191359)return _0x191359['start'](_0x1259a2),!0x1===_0x191359['dragging'];}else _0x41f590['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x3ec400=(_0x3d7e9b,_0x167017,_0x389a70)=>_0x167017>=_0x389a70['top']&&_0x167017<=_0x389a70['bottom']&&_0x3d7e9b>=_0x389a70['left']&&_0x3d7e9b<=_0x389a70['right'];function _0x931075(_0x5877f4,_0x378780,_0x5a6383,_0x110014){let _0xba9f3c=_0xaa5b3d['find'](_0x5877f4['docView'],_0x378780);if(!_0xba9f3c)return 0x1;let _0x255c84=_0x378780-_0xba9f3c['posAtStart'];if(0x0==_0x255c84)return 0x1;if(_0x255c84==_0xba9f3c['length'])return-0x1;let _0x53ec69=_0xba9f3c['coordsAt'](_0x255c84,-0x1);if(_0x53ec69&&_0x3ec400(_0x5a6383,_0x110014,_0x53ec69))return-0x1;let _0x47007c=_0xba9f3c['coordsAt'](_0x255c84,0x1);return _0x47007c&&_0x3ec400(_0x5a6383,_0x110014,_0x47007c)?0x1:_0x53ec69&&_0x53ec69['bottom']>=_0x110014?-0x1:0x1;}function _0x44e741(_0x3bfcd3,_0x27828d){let _0x55245e=_0x3bfcd3['posAtCoords']({'x':_0x27828d['clientX'],'y':_0x27828d['clientY']},!0x1);return{'pos':_0x55245e,'bias':_0x931075(_0x3bfcd3,_0x55245e,_0x27828d['clientX'],_0x27828d['clientY'])};}const _0x37dd93=_0x2c4476['ie']&&_0x2c4476['ie_version']<=0xb;let _0x22a657=null,_0x4cf93f=0x0,_0x26c62a=0x0;function _0x2d1312(_0x25d94d){if(!_0x37dd93)return _0x25d94d['detail'];let _0x4db425=_0x22a657,_0x15319a=_0x26c62a;return _0x22a657=_0x25d94d,_0x26c62a=Date['now'](),_0x4cf93f=!_0x4db425||_0x15319a>Date['now']()-0x190&&Math['abs'](_0x4db425['clientX']-_0x25d94d['clientX'])<0x2&&Math['abs'](_0x4db425['clientY']-_0x25d94d['clientY'])<0x2?(_0x4cf93f+0x1)%0x3:0x1;}function _0x1566a1(_0x20afac,_0x14f568,_0x12b1d8,_0x4c435f){if(!(_0x12b1d8=_0x46d884(_0x20afac['state'],_0x3ad89a,_0x12b1d8)))return;let _0x2d331a=_0x20afac['posAtCoords']({'x':_0x14f568['clientX'],'y':_0x14f568['clientY']},!0x1),{draggedContent:_0x337935}=_0x20afac['inputState'],_0x1c21dd=_0x4c435f&&_0x337935&&function(_0x275b88,_0x414e4b){let _0x56123c=_0x275b88['state']['facet'](_0x43702e);return _0x56123c['length']?_0x56123c[0x0](_0x414e4b):_0x2c4476['mac']?!_0x414e4b['altKey']:!_0x414e4b['ctrlKey'];}(_0x20afac,_0x14f568)?{'from':_0x337935['from'],'to':_0x337935['to']}:null,_0x5ab2d5={'from':_0x2d331a,'insert':_0x12b1d8},_0x40eb99=_0x20afac['state']['changes'](_0x1c21dd?[_0x1c21dd,_0x5ab2d5]:_0x5ab2d5);_0x20afac['focus'](),_0x20afac['dispatch']({'changes':_0x40eb99,'selection':{'anchor':_0x40eb99['mapPos'](_0x2d331a,-0x1),'head':_0x40eb99['mapPos'](_0x2d331a,0x1)},'userEvent':_0x1c21dd?'move.drop':'input.drop'}),_0x20afac['inputState']['draggedContent']=null;}_0x248bb7['dragstart']=(_0x5d2e72,_0x4bab84)=>{let {selection:{main:_0x546eb0}}=_0x5d2e72['state'];if(_0x4bab84['target']['draggable']){let _0x4d20ab=_0x5d2e72['docView']['nearest'](_0x4bab84['target']);if(_0x4d20ab&&_0x4d20ab['isWidget']){let _0x217e21=_0x4d20ab['posAtStart'],_0x59129f=_0x217e21+_0x4d20ab['length'];(_0x217e21>=_0x546eb0['to']||_0x59129f<=_0x546eb0['from'])&&(_0x546eb0=EditorSelection['range'](_0x217e21,_0x59129f));}}let {inputState:_0x453ae5}=_0x5d2e72;return _0x453ae5['mouseSelection']&&(_0x453ae5['mouseSelection']['dragging']=!0x0),_0x453ae5['draggedContent']=_0x546eb0,_0x4bab84['dataTransfer']&&(_0x4bab84['dataTransfer']['setData']('Text',_0x46d884(_0x5d2e72['state'],_0x3c7aa9,_0x5d2e72['state']['sliceDoc'](_0x546eb0['from'],_0x546eb0['to']))),_0x4bab84['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x248bb7['dragend']=_0x3b8c7a=>(_0x3b8c7a['inputState']['draggedContent']=null,!0x1),_0x248bb7['drop']=(_0x4ae617,_0x184b62)=>{if(!_0x184b62['dataTransfer'])return!0x1;if(_0x4ae617['state']['readOnly'])return!0x0;let _0x3db4f6=_0x184b62['dataTransfer']['files'];if(_0x3db4f6&&_0x3db4f6['length']){let _0x2573f7=Array(_0x3db4f6['length']),_0x7a257e=0x0,_0xb79c64=()=>{++_0x7a257e==_0x3db4f6['length']&&_0x1566a1(_0x4ae617,_0x184b62,_0x2573f7['filter'](_0x1df869=>null!=_0x1df869)['join'](_0x4ae617['state']['lineBreak']),!0x1);};for(let _0x3f4169=0x0;_0x3f4169<_0x3db4f6['length'];_0x3f4169++){let _0x5eb21b=new FileReader();_0x5eb21b['onerror']=_0xb79c64,_0x5eb21b['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x5eb21b['result'])||(_0x2573f7[_0x3f4169]=_0x5eb21b['result']),_0xb79c64();},_0x5eb21b['readAsText'](_0x3db4f6[_0x3f4169]);}return!0x0;}{let _0x3ffeca=_0x184b62['dataTransfer']['getData']('Text');if(_0x3ffeca)return _0x1566a1(_0x4ae617,_0x184b62,_0x3ffeca,!0x0),!0x0;}return!0x1;},_0x248bb7['paste']=(_0x327d85,_0x509138)=>{if(_0x327d85['state']['readOnly'])return!0x0;_0x327d85['observer']['flush']();let _0x5203b5=_0x1ec9f0?null:_0x509138['clipboardData'];return _0x5203b5?(_0x473cf0(_0x327d85,_0x5203b5['getData']('text/plain')||_0x5203b5['getData']('text/uri-list')),!0x0):(function(_0x294dd9){let _0x52cb0f=_0x294dd9['dom']['parentNode'];if(!_0x52cb0f)return;let _0x17af6b=_0x52cb0f['appendChild'](document['createElement']('textarea'));_0x17af6b['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x17af6b['focus'](),setTimeout(()=>{_0x294dd9['focus'](),_0x17af6b['remove'](),_0x473cf0(_0x294dd9,_0x17af6b['value']);},0x32);}(_0x327d85),!0x1);};let _0x586a8e=null;_0x248bb7['copy']=_0x248bb7['cut']=(_0x2d5330,_0x3442a8)=>{let {text:_0x5a94b7,ranges:_0x489c75,linewise:_0xc104d5}=function(_0xafdf60){let _0x4ac540=[],_0x1c5b47=[],_0x1af26d=!0x1;for(let _0x4b3589 of _0xafdf60['selection']['ranges'])_0x4b3589['empty']||(_0x4ac540['push'](_0xafdf60['sliceDoc'](_0x4b3589['from'],_0x4b3589['to'])),_0x1c5b47['push'](_0x4b3589));if(!_0x4ac540['length']){let _0x4a4d7a=-0x1;for(let {from:_0x1a7f39}of _0xafdf60['selection']['ranges']){let _0x389437=_0xafdf60['doc']['lineAt'](_0x1a7f39);_0x389437['number']>_0x4a4d7a&&(_0x4ac540['push'](_0x389437['text']),_0x1c5b47['push']({'from':_0x389437['from'],'to':Math['min'](_0xafdf60['doc']['length'],_0x389437['to']+0x1)})),_0x4a4d7a=_0x389437['number'];}_0x1af26d=!0x0;}return{'text':_0x46d884(_0xafdf60,_0x3c7aa9,_0x4ac540['join'](_0xafdf60['lineBreak'])),'ranges':_0x1c5b47,'linewise':_0x1af26d};}(_0x2d5330['state']);if(!_0x5a94b7&&!_0xc104d5)return!0x1;_0x586a8e=_0xc104d5?_0x5a94b7:null,'cut'!=_0x3442a8['type']||_0x2d5330['state']['readOnly']||_0x2d5330['dispatch']({'changes':_0x489c75,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x4fb552=_0x1ec9f0?null:_0x3442a8['clipboardData'];return _0x4fb552?(_0x4fb552['clearData'](),_0x4fb552['setData']('text/plain',_0x5a94b7),!0x0):(function(_0x56d600,_0x33af0e){let _0x524e42=_0x56d600['dom']['parentNode'];if(!_0x524e42)return;let _0x13a05e=_0x524e42['appendChild'](document['createElement']('textarea'));_0x13a05e['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x13a05e['value']=_0x33af0e,_0x13a05e['focus'](),_0x13a05e['selectionEnd']=_0x33af0e['length'],_0x13a05e['selectionStart']=0x0,setTimeout(()=>{_0x13a05e['remove'](),_0x56d600['focus']();},0x32);}(_0x2d5330,_0x5a94b7),!0x1);};const _0x65474a=Annotation['define']();function _0x2b3d69(_0x190756,_0x359bf9){let _0x2d1b31=[];for(let _0xac80d8 of _0x190756['facet'](_0x381b4a)){let _0x4790c3=_0xac80d8(_0x190756,_0x359bf9);_0x4790c3&&_0x2d1b31['push'](_0x4790c3);}return _0x2d1b31['length']?_0x190756['update']({'effects':_0x2d1b31,'annotations':_0x65474a['of'](!0x0)}):null;}function _0x33384b(_0x2a4443){setTimeout(()=>{let _0x2d8a95=_0x2a4443['hasFocus'];if(_0x2d8a95!=_0x2a4443['inputState']['notifiedFocused']){let _0x22550d=_0x2b3d69(_0x2a4443['state'],_0x2d8a95);_0x22550d?_0x2a4443['dispatch'](_0x22550d):_0x2a4443['update']([]);}},0xa);}_0x1fda2f['focus']=_0x255bdf=>{_0x255bdf['inputState']['lastFocusTime']=Date['now'](),_0x255bdf['scrollDOM']['scrollTop']||!_0x255bdf['inputState']['lastScrollTop']&&!_0x255bdf['inputState']['lastScrollLeft']||(_0x255bdf['scrollDOM']['scrollTop']=_0x255bdf['inputState']['lastScrollTop'],_0x255bdf['scrollDOM']['scrollLeft']=_0x255bdf['inputState']['lastScrollLeft']),_0x33384b(_0x255bdf);},_0x1fda2f['blur']=_0x223118=>{_0x223118['observer']['clearSelectionRange'](),_0x33384b(_0x223118);},_0x1fda2f['compositionstart']=_0x1fda2f['compositionupdate']=_0x1143f8=>{_0x1143f8['observer']['editContext']||(null==_0x1143f8['inputState']['compositionFirstChange']&&(_0x1143f8['inputState']['compositionFirstChange']=!0x0),_0x1143f8['inputState']['composing']<0x0&&(_0x1143f8['inputState']['composing']=0x0));},_0x1fda2f['compositionend']=_0x1a5e5c=>{_0x1a5e5c['observer']['editContext']||(_0x1a5e5c['inputState']['composing']=-0x1,_0x1a5e5c['inputState']['compositionEndedAt']=Date['now'](),_0x1a5e5c['inputState']['compositionPendingKey']=!0x0,_0x1a5e5c['inputState']['compositionPendingChange']=_0x1a5e5c['observer']['pendingRecords']()['length']>0x0,_0x1a5e5c['inputState']['compositionFirstChange']=null,_0x2c4476['chrome']&&_0x2c4476['android']?_0x1a5e5c['observer']['flushSoon']():_0x1a5e5c['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x1a5e5c['observer']['flush']()):setTimeout(()=>{_0x1a5e5c['inputState']['composing']<0x0&&_0x1a5e5c['docView']['hasComposition']&&_0x1a5e5c['update']([]);},0x32));},_0x1fda2f['contextmenu']=_0x15374d=>{_0x15374d['inputState']['lastContextMenu']=Date['now']();},_0x248bb7['beforeinput']=(_0x3ae1a8,_0x1cd52f)=>{var _0x1405be,_0x3ab98c;if('insertReplacementText'==_0x1cd52f['inputType']&&_0x3ae1a8['observer']['editContext']){let _0x2d85b6=null===(_0x1405be=_0x1cd52f['dataTransfer'])||void 0x0===_0x1405be?void 0x0:_0x1405be['getData']('text/plain'),_0x45de07=_0x1cd52f['getTargetRanges']();if(_0x2d85b6&&_0x45de07['length']){let _0x57514e=_0x45de07[0x0],_0x149d7f=_0x3ae1a8['posAtDOM'](_0x57514e['startContainer'],_0x57514e['startOffset']),_0x175378=_0x3ae1a8['posAtDOM'](_0x57514e['endContainer'],_0x57514e['endOffset']);return _0x5db3c5(_0x3ae1a8,{'from':_0x149d7f,'to':_0x175378,'insert':_0x3ae1a8['state']['toText'](_0x2d85b6)},null),!0x0;}}let _0x4f7287;if(_0x2c4476['chrome']&&_0x2c4476['android']&&(_0x4f7287=_0x37c388['find'](_0x1f2014=>_0x1f2014['inputType']==_0x1cd52f['inputType']))&&(_0x3ae1a8['observer']['delayAndroidKey'](_0x4f7287['key'],_0x4f7287['keyCode']),'Backspace'==_0x4f7287['key']||'Delete'==_0x4f7287['key'])){let _0x581cd4=(null===(_0x3ab98c=window['visualViewport'])||void 0x0===_0x3ab98c?void 0x0:_0x3ab98c['height'])||0x0;setTimeout(()=>{var _0x2d3669;((null===(_0x2d3669=window['visualViewport'])||void 0x0===_0x2d3669?void 0x0:_0x2d3669['height'])||0x0)>_0x581cd4+0xa&&_0x3ae1a8['hasFocus']&&(_0x3ae1a8['contentDOM']['blur'](),_0x3ae1a8['focus']());},0x64);}return _0x2c4476['ios']&&'deleteContentForward'==_0x1cd52f['inputType']&&_0x3ae1a8['observer']['flushSoon'](),_0x2c4476['safari']&&'insertText'==_0x1cd52f['inputType']&&_0x3ae1a8['inputState']['composing']>=0x0&&setTimeout(()=>_0x1fda2f['compositionend'](_0x3ae1a8,_0x1cd52f),0x14),!0x1;};const _0x1fbcd5=new Set(),_0x3e41fe=['pre-wrap','normal','pre-line','break-spaces'];let _0x5dfc2f=!0x1;function _0x5ad626(){_0x5dfc2f=!0x1;}class HeightOracle{constructor(_0x5e9a15){this['lineWrapping']=_0x5e9a15,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x3f18be,_0x4ebe16){let _0x12cd94=this['doc']['lineAt'](_0x4ebe16)['number']-this['doc']['lineAt'](_0x3f18be)['number']+0x1;return this['lineWrapping']&&(_0x12cd94+=Math['max'](0x0,Math['ceil']((_0x4ebe16-_0x3f18be-_0x12cd94*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x12cd94;}['heightForLine'](_0xda3879){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0xda3879-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x251ad7){return this['doc']=_0x251ad7,this;}['mustRefreshForWrapping'](_0x489564){return _0x3e41fe['indexOf'](_0x489564)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x401c54){let _0x8f4968=!0x1;for(let _0x24e60d=0x0;_0x24e60d<_0x401c54['length'];_0x24e60d++){let _0x1cd167=_0x401c54[_0x24e60d];_0x1cd167<0x0?_0x24e60d++:this['heightSamples'][Math['floor'](0xa*_0x1cd167)]||(_0x8f4968=!0x0,this['heightSamples'][Math['floor'](0xa*_0x1cd167)]=!0x0);}return _0x8f4968;}['refresh'](_0x478516,_0x5c8e84,_0x239406,_0x397603,_0x152426,_0x171576){let _0x3e89c9=_0x3e41fe['indexOf'](_0x478516)>-0x1,_0x3f8370=Math['round'](_0x5c8e84)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x3e89c9;if(this['lineWrapping']=_0x3e89c9,this['lineHeight']=_0x5c8e84,this['charWidth']=_0x239406,this['textHeight']=_0x397603,this['lineLength']=_0x152426,_0x3f8370){this['heightSamples']={};for(let _0x14e745=0x0;_0x14e745<_0x171576['length'];_0x14e745++){let _0x3fc3c5=_0x171576[_0x14e745];_0x3fc3c5<0x0?_0x14e745++:this['heightSamples'][Math['floor'](0xa*_0x3fc3c5)]=!0x0;}}return _0x3f8370;}}class MeasuredHeights{constructor(_0x28a30b,_0x596705){this['from']=_0x28a30b,this['heights']=_0x596705,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x4625d2{constructor(_0x1e329b,_0x3c61f0,_0x168677,_0x583b62,_0x2aa1af){this['from']=_0x1e329b,this['length']=_0x3c61f0,this['top']=_0x168677,this['height']=_0x583b62,this['_content']=_0x2aa1af;}get['type'](){return'number'==typeof this['_content']?_0x5b6263['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get['to'](){return this['from']+this['length'];}get['bottom'](){return this['top']+this['height'];}get['widget'](){return this['_content']instanceof PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x1ccf35){let _0x188ea4=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x1ccf35['_content'])?_0x1ccf35['_content']:[_0x1ccf35]);return new _0x4625d2(this['from'],this['length']+_0x1ccf35['length'],this['top'],this['height']+_0x1ccf35['height'],_0x188ea4);}}var _0x356fde=function(_0x4cf6b0){return _0x4cf6b0[_0x4cf6b0['ByPos']=0x0]='ByPos',_0x4cf6b0[_0x4cf6b0['ByHeight']=0x1]='ByHeight',_0x4cf6b0[_0x4cf6b0['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x4cf6b0;}(_0x356fde||(_0x356fde={}));const _0x196b5b=0.001;class HeightMap{constructor(_0x20755f,_0x3837d7,_0x7b8e87=0x2){this['length']=_0x20755f,this['height']=_0x3837d7,this['flags']=_0x7b8e87;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x2426e4){this['flags']=(_0x2426e4?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x1b38a8){this['height']!=_0x1b38a8&&(Math['abs'](this['height']-_0x1b38a8)>_0x196b5b&&(_0x5dfc2f=!0x0),this['height']=_0x1b38a8);}['replace'](_0x4214c0,_0x2ce99a,_0x2a6556){return HeightMap['of'](_0x2a6556);}['decomposeLeft'](_0x3eedcb,_0x2d972d){_0x2d972d['push'](this);}['decomposeRight'](_0x4eef98,_0x356a34){_0x356a34['push'](this);}['applyChanges'](_0x50b2fe,_0x316a2c,_0x6a55f9,_0x3c5dbe){let _0xa04511=this,_0x7d0156=_0x6a55f9['doc'];for(let _0xc0acd0=_0x3c5dbe['length']-0x1;_0xc0acd0>=0x0;_0xc0acd0--){let {fromA:_0x237d62,toA:_0x27a77b,fromB:_0x4f1a39,toB:_0x4c96cb}=_0x3c5dbe[_0xc0acd0],_0x2eea43=_0xa04511['lineAt'](_0x237d62,_0x356fde['ByPosNoHeight'],_0x6a55f9['setDoc'](_0x316a2c),0x0,0x0),_0x3a8e15=_0x2eea43['to']>=_0x27a77b?_0x2eea43:_0xa04511['lineAt'](_0x27a77b,_0x356fde['ByPosNoHeight'],_0x6a55f9,0x0,0x0);for(_0x4c96cb+=_0x3a8e15['to']-_0x27a77b,_0x27a77b=_0x3a8e15['to'];_0xc0acd0>0x0&&_0x2eea43['from']<=_0x3c5dbe[_0xc0acd0-0x1]['toA'];)_0x237d62=_0x3c5dbe[_0xc0acd0-0x1]['fromA'],_0x4f1a39=_0x3c5dbe[_0xc0acd0-0x1]['fromB'],_0xc0acd0--,_0x237d62<_0x2eea43['from']&&(_0x2eea43=_0xa04511['lineAt'](_0x237d62,_0x356fde['ByPosNoHeight'],_0x6a55f9,0x0,0x0));_0x4f1a39+=_0x2eea43['from']-_0x237d62,_0x237d62=_0x2eea43['from'];let _0x1b9923=_0x4e7b23['build'](_0x6a55f9['setDoc'](_0x7d0156),_0x50b2fe,_0x4f1a39,_0x4c96cb);_0xa04511=_0x197c9a(_0xa04511,_0xa04511['replace'](_0x237d62,_0x27a77b,_0x1b9923));}return _0xa04511['updateHeight'](_0x6a55f9,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x32dcf0){if(0x1==_0x32dcf0['length'])return _0x32dcf0[0x0];let _0x5ed2da=0x0,_0xc8981d=_0x32dcf0['length'],_0x549e42=0x0,_0x4d0054=0x0;for(;;)if(_0x5ed2da==_0xc8981d){if(_0x549e42>0x2*_0x4d0054){let _0x3c275f=_0x32dcf0[_0x5ed2da-0x1];_0x3c275f['break']?_0x32dcf0['splice'](--_0x5ed2da,0x1,_0x3c275f['left'],null,_0x3c275f['right']):_0x32dcf0['splice'](--_0x5ed2da,0x1,_0x3c275f['left'],_0x3c275f['right']),_0xc8981d+=0x1+_0x3c275f['break'],_0x549e42-=_0x3c275f['size'];}else{if(!(_0x4d0054>0x2*_0x549e42))break;{let _0x1b0194=_0x32dcf0[_0xc8981d];_0x1b0194['break']?_0x32dcf0['splice'](_0xc8981d,0x1,_0x1b0194['left'],null,_0x1b0194['right']):_0x32dcf0['splice'](_0xc8981d,0x1,_0x1b0194['left'],_0x1b0194['right']),_0xc8981d+=0x2+_0x1b0194['break'],_0x4d0054-=_0x1b0194['size'];}}}else{if(_0x549e42<_0x4d0054){let _0x917281=_0x32dcf0[_0x5ed2da++];_0x917281&&(_0x549e42+=_0x917281['size']);}else{let _0x11caf1=_0x32dcf0[--_0xc8981d];_0x11caf1&&(_0x4d0054+=_0x11caf1['size']);}}let _0x389eda=0x0;return null==_0x32dcf0[_0x5ed2da-0x1]?(_0x389eda=0x1,_0x5ed2da--):null==_0x32dcf0[_0x5ed2da]&&(_0x389eda=0x1,_0xc8981d++),new HeightMapBranch(HeightMap['of'](_0x32dcf0['slice'](0x0,_0x5ed2da)),_0x389eda,HeightMap['of'](_0x32dcf0['slice'](_0xc8981d)));}}function _0x197c9a(_0x44b219,_0x163e6c){return _0x44b219==_0x163e6c?_0x44b219:(_0x44b219['constructor']!=_0x163e6c['constructor']&&(_0x5dfc2f=!0x0),_0x163e6c);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x2c9669,_0xbb30f1,_0x1dee21){super(_0x2c9669,_0xbb30f1),this['deco']=_0x1dee21;}['blockAt'](_0x3a6417,_0x4d6479,_0xbffd97,_0x1fc4f4){return new _0x4625d2(_0x1fc4f4,this['length'],_0xbffd97,this['height'],this['deco']||0x0);}['lineAt'](_0x540402,_0x333438,_0xe3e4c5,_0x46e2fa,_0x50cb6c){return this['blockAt'](0x0,_0xe3e4c5,_0x46e2fa,_0x50cb6c);}['forEachLine'](_0x6f2f75,_0x143978,_0x30c3af,_0x31e2dd,_0x7b9fd7,_0x17a037){_0x6f2f75<=_0x7b9fd7+this['length']&&_0x143978>=_0x7b9fd7&&_0x17a037(this['blockAt'](0x0,_0x30c3af,_0x31e2dd,_0x7b9fd7));}['updateHeight'](_0x339d9e,_0x3242da=0x0,_0x40f729=!0x1,_0x969976){return _0x969976&&_0x969976['from']<=_0x3242da&&_0x969976['more']&&this['setHeight'](_0x969976['heights'][_0x969976['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x532ed9,_0x4d73cb){super(_0x532ed9,_0x4d73cb,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x636a0f,_0x2ce71c,_0x6c6618,_0xa1a069){return new _0x4625d2(_0xa1a069,this['length'],_0x6c6618,this['height'],this['breaks']);}['replace'](_0x2bb539,_0x1ec6f8,_0x1aeed2){let _0xc13344=_0x1aeed2[0x0];return 0x1==_0x1aeed2['length']&&(_0xc13344 instanceof HeightMapText||_0xc13344 instanceof HeightMapGap&&0x4&_0xc13344['flags'])&&Math['abs'](this['length']-_0xc13344['length'])<0xa?(_0xc13344 instanceof HeightMapGap?_0xc13344=new HeightMapText(_0xc13344['length'],this['height']):_0xc13344['height']=this['height'],this['outdated']||(_0xc13344['outdated']=!0x1),_0xc13344):HeightMap['of'](_0x1aeed2);}['updateHeight'](_0x2ece,_0x165a74=0x0,_0x43c52f=!0x1,_0x1daf85){return _0x1daf85&&_0x1daf85['from']<=_0x165a74&&_0x1daf85['more']?this['setHeight'](_0x1daf85['heights'][_0x1daf85['index']++]):(_0x43c52f||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x2ece['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x2ece['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x4a4ec9){super(_0x4a4ec9,0x0);}['heightMetrics'](_0x3f62d9,_0x34fd26){let _0x856b5f,_0x109376=_0x3f62d9['doc']['lineAt'](_0x34fd26)['number'],_0x3aaf1a=_0x3f62d9['doc']['lineAt'](_0x34fd26+this['length'])['number'],_0x27ee69=_0x3aaf1a-_0x109376+0x1,_0x40853d=0x0;if(_0x3f62d9['lineWrapping']){let _0x2a127e=Math['min'](this['height'],_0x3f62d9['lineHeight']*_0x27ee69);_0x856b5f=_0x2a127e/_0x27ee69,this['length']>_0x27ee69+0x1&&(_0x40853d=(this['height']-_0x2a127e)/(this['length']-_0x27ee69-0x1));}else _0x856b5f=this['height']/_0x27ee69;return{'firstLine':_0x109376,'lastLine':_0x3aaf1a,'perLine':_0x856b5f,'perChar':_0x40853d};}['blockAt'](_0xb00e1,_0x562f8f,_0x2c03f1,_0x261e78){let {firstLine:_0x374a77,lastLine:_0x10d716,perLine:_0x5a0ce6,perChar:_0xe00ad7}=this['heightMetrics'](_0x562f8f,_0x261e78);if(_0x562f8f['lineWrapping']){let _0x5d5e2f=_0x261e78+(_0xb00e1<_0x562f8f['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0xb00e1-_0x2c03f1)/this['height']))*this['length'])),_0x19aa7a=_0x562f8f['doc']['lineAt'](_0x5d5e2f),_0x5d0494=_0x5a0ce6+_0x19aa7a['length']*_0xe00ad7,_0x1fc2ee=Math['max'](_0x2c03f1,_0xb00e1-_0x5d0494/0x2);return new _0x4625d2(_0x19aa7a['from'],_0x19aa7a['length'],_0x1fc2ee,_0x5d0494,0x0);}{let _0x415305=Math['max'](0x0,Math['min'](_0x10d716-_0x374a77,Math['floor']((_0xb00e1-_0x2c03f1)/_0x5a0ce6))),{from:_0x140d98,length:_0x315baf}=_0x562f8f['doc']['line'](_0x374a77+_0x415305);return new _0x4625d2(_0x140d98,_0x315baf,_0x2c03f1+_0x5a0ce6*_0x415305,_0x5a0ce6,0x0);}}['lineAt'](_0x1b5454,_0x18a5fd,_0x5a3441,_0xa1d90b,_0x466136){if(_0x18a5fd==_0x356fde['ByHeight'])return this['blockAt'](_0x1b5454,_0x5a3441,_0xa1d90b,_0x466136);if(_0x18a5fd==_0x356fde['ByPosNoHeight']){let {from:_0x31c14c,to:_0x27cd8a}=_0x5a3441['doc']['lineAt'](_0x1b5454);return new _0x4625d2(_0x31c14c,_0x27cd8a-_0x31c14c,0x0,0x0,0x0);}let {firstLine:_0x4df6f0,perLine:_0x233b7b,perChar:_0x5077f0}=this['heightMetrics'](_0x5a3441,_0x466136),_0xa9627e=_0x5a3441['doc']['lineAt'](_0x1b5454),_0x27b3ff=_0x233b7b+_0xa9627e['length']*_0x5077f0,_0x11846f=_0xa9627e['number']-_0x4df6f0,_0x15bb45=_0xa1d90b+_0x233b7b*_0x11846f+_0x5077f0*(_0xa9627e['from']-_0x466136-_0x11846f);return new _0x4625d2(_0xa9627e['from'],_0xa9627e['length'],Math['max'](_0xa1d90b,Math['min'](_0x15bb45,_0xa1d90b+this['height']-_0x27b3ff)),_0x27b3ff,0x0);}['forEachLine'](_0x40d499,_0x13b518,_0xb67bf2,_0x24f8b5,_0x21b580,_0x2381e3){_0x40d499=Math['max'](_0x40d499,_0x21b580),_0x13b518=Math['min'](_0x13b518,_0x21b580+this['length']);let {firstLine:_0x59f378,perLine:_0x558352,perChar:_0x29f4d2}=this['heightMetrics'](_0xb67bf2,_0x21b580);for(let _0x43f694=_0x40d499,_0x3d9297=_0x24f8b5;_0x43f694<=_0x13b518;){let _0x2b8d79=_0xb67bf2['doc']['lineAt'](_0x43f694);if(_0x43f694==_0x40d499){let _0x429c92=_0x2b8d79['number']-_0x59f378;_0x3d9297+=_0x558352*_0x429c92+_0x29f4d2*(_0x40d499-_0x21b580-_0x429c92);}let _0x3f60a8=_0x558352+_0x29f4d2*_0x2b8d79['length'];_0x2381e3(new _0x4625d2(_0x2b8d79['from'],_0x2b8d79['length'],_0x3d9297,_0x3f60a8,0x0)),_0x3d9297+=_0x3f60a8,_0x43f694=_0x2b8d79['to']+0x1;}}['replace'](_0x31fd37,_0x5947fd,_0x2ca6a7){let _0x52f66d=this['length']-_0x5947fd;if(_0x52f66d>0x0){let _0x3f0f49=_0x2ca6a7[_0x2ca6a7['length']-0x1];_0x3f0f49 instanceof HeightMapGap?_0x2ca6a7[_0x2ca6a7['length']-0x1]=new HeightMapGap(_0x3f0f49['length']+_0x52f66d):_0x2ca6a7['push'](null,new HeightMapGap(_0x52f66d-0x1));}if(_0x31fd37>0x0){let _0x617be9=_0x2ca6a7[0x0];_0x617be9 instanceof HeightMapGap?_0x2ca6a7[0x0]=new HeightMapGap(_0x31fd37+_0x617be9['length']):_0x2ca6a7['unshift'](new HeightMapGap(_0x31fd37-0x1),null);}return HeightMap['of'](_0x2ca6a7);}['decomposeLeft'](_0x44cc03,_0x3c0399){_0x3c0399['push'](new HeightMapGap(_0x44cc03-0x1),null);}['decomposeRight'](_0x2d2dd6,_0x5c3c1b){_0x5c3c1b['push'](null,new HeightMapGap(this['length']-_0x2d2dd6-0x1));}['updateHeight'](_0x416f85,_0x3a9058=0x0,_0x2d0701=!0x1,_0x4980ce){let _0x193c0a=_0x3a9058+this['length'];if(_0x4980ce&&_0x4980ce['from']<=_0x3a9058+this['length']&&_0x4980ce['more']){let _0x296fcb=[],_0x113098=Math['max'](_0x3a9058,_0x4980ce['from']),_0x2067e5=-0x1;for(_0x4980ce['from']>_0x3a9058&&_0x296fcb['push'](new HeightMapGap(_0x4980ce['from']-_0x3a9058-0x1)['updateHeight'](_0x416f85,_0x3a9058));_0x113098<=_0x193c0a&&_0x4980ce['more'];){let _0x151b85=_0x416f85['doc']['lineAt'](_0x113098)['length'];_0x296fcb['length']&&_0x296fcb['push'](null);let _0x251ea6=_0x4980ce['heights'][_0x4980ce['index']++];-0x1==_0x2067e5?_0x2067e5=_0x251ea6:Math['abs'](_0x251ea6-_0x2067e5)>=_0x196b5b&&(_0x2067e5=-0x2);let _0x3a930c=new HeightMapText(_0x151b85,_0x251ea6);_0x3a930c['outdated']=!0x1,_0x296fcb['push'](_0x3a930c),_0x113098+=_0x151b85+0x1;}_0x113098<=_0x193c0a&&_0x296fcb['push'](null,new HeightMapGap(_0x193c0a-_0x113098)['updateHeight'](_0x416f85,_0x113098));let _0x320ab6=HeightMap['of'](_0x296fcb);return(_0x2067e5<0x0||Math['abs'](_0x320ab6['height']-this['height'])>=_0x196b5b||Math['abs'](_0x2067e5-this['heightMetrics'](_0x416f85,_0x3a9058)['perLine'])>=_0x196b5b)&&(_0x5dfc2f=!0x0),_0x197c9a(this,_0x320ab6);}return(_0x2d0701||this['outdated'])&&(this['setHeight'](_0x416f85['heightForGap'](_0x3a9058,_0x3a9058+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x20a955,_0x4f5730,_0x25c30f){super(_0x20a955['length']+_0x4f5730+_0x25c30f['length'],_0x20a955['height']+_0x25c30f['height'],_0x4f5730|(_0x20a955['outdated']||_0x25c30f['outdated']?0x2:0x0)),this['left']=_0x20a955,this['right']=_0x25c30f,this['size']=_0x20a955['size']+_0x25c30f['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x35629f,_0x68d33c,_0x461190,_0x265d82){let _0x4c5451=_0x461190+this['left']['height'];return _0x35629f<_0x4c5451?this['left']['blockAt'](_0x35629f,_0x68d33c,_0x461190,_0x265d82):this['right']['blockAt'](_0x35629f,_0x68d33c,_0x4c5451,_0x265d82+this['left']['length']+this['break']);}['lineAt'](_0x3496e6,_0x54a8b8,_0x588517,_0x1d0656,_0x5924ab){let _0x10285b=_0x1d0656+this['left']['height'],_0x41b094=_0x5924ab+this['left']['length']+this['break'],_0x1185c2=_0x54a8b8==_0x356fde['ByHeight']?_0x3496e6<_0x10285b:_0x3496e6<_0x41b094,_0x2a281a=_0x1185c2?this['left']['lineAt'](_0x3496e6,_0x54a8b8,_0x588517,_0x1d0656,_0x5924ab):this['right']['lineAt'](_0x3496e6,_0x54a8b8,_0x588517,_0x10285b,_0x41b094);if(this['break']||(_0x1185c2?_0x2a281a['to']<_0x41b094:_0x2a281a['from']>_0x41b094))return _0x2a281a;let _0xcdebfc=_0x54a8b8==_0x356fde['ByPosNoHeight']?_0x356fde['ByPosNoHeight']:_0x356fde['ByPos'];return _0x1185c2?_0x2a281a['join'](this['right']['lineAt'](_0x41b094,_0xcdebfc,_0x588517,_0x10285b,_0x41b094)):this['left']['lineAt'](_0x41b094,_0xcdebfc,_0x588517,_0x1d0656,_0x5924ab)['join'](_0x2a281a);}['forEachLine'](_0x1d4aa6,_0x29cee8,_0x4e7b1b,_0x1a4e21,_0x1f811a,_0x3ffb6e){let _0x545b86=_0x1a4e21+this['left']['height'],_0x591807=_0x1f811a+this['left']['length']+this['break'];if(this['break'])_0x1d4aa6<_0x591807&&this['left']['forEachLine'](_0x1d4aa6,_0x29cee8,_0x4e7b1b,_0x1a4e21,_0x1f811a,_0x3ffb6e),_0x29cee8>=_0x591807&&this['right']['forEachLine'](_0x1d4aa6,_0x29cee8,_0x4e7b1b,_0x545b86,_0x591807,_0x3ffb6e);else{let _0x5850e7=this['lineAt'](_0x591807,_0x356fde['ByPos'],_0x4e7b1b,_0x1a4e21,_0x1f811a);_0x1d4aa6<_0x5850e7['from']&&this['left']['forEachLine'](_0x1d4aa6,_0x5850e7['from']-0x1,_0x4e7b1b,_0x1a4e21,_0x1f811a,_0x3ffb6e),_0x5850e7['to']>=_0x1d4aa6&&_0x5850e7['from']<=_0x29cee8&&_0x3ffb6e(_0x5850e7),_0x29cee8>_0x5850e7['to']&&this['right']['forEachLine'](_0x5850e7['to']+0x1,_0x29cee8,_0x4e7b1b,_0x545b86,_0x591807,_0x3ffb6e);}}['replace'](_0x5b9d80,_0x18d390,_0x290d65){let _0x15bbfc=this['left']['length']+this['break'];if(_0x18d390<_0x15bbfc)return this['balanced'](this['left']['replace'](_0x5b9d80,_0x18d390,_0x290d65),this['right']);if(_0x5b9d80>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x5b9d80-_0x15bbfc,_0x18d390-_0x15bbfc,_0x290d65));let _0x1062d4=[];_0x5b9d80>0x0&&this['decomposeLeft'](_0x5b9d80,_0x1062d4);let _0x388421=_0x1062d4['length'];for(let _0x2fffa2 of _0x290d65)_0x1062d4['push'](_0x2fffa2);if(_0x5b9d80>0x0&&_0x40692f(_0x1062d4,_0x388421-0x1),_0x18d390<this['length']){let _0x3aeb1e=_0x1062d4['length'];this['decomposeRight'](_0x18d390,_0x1062d4),_0x40692f(_0x1062d4,_0x3aeb1e);}return HeightMap['of'](_0x1062d4);}['decomposeLeft'](_0x375982,_0xb8210f){let _0x4d7f90=this['left']['length'];if(_0x375982<=_0x4d7f90)return this['left']['decomposeLeft'](_0x375982,_0xb8210f);_0xb8210f['push'](this['left']),this['break']&&(_0x4d7f90++,_0x375982>=_0x4d7f90&&_0xb8210f['push'](null)),_0x375982>_0x4d7f90&&this['right']['decomposeLeft'](_0x375982-_0x4d7f90,_0xb8210f);}['decomposeRight'](_0x158456,_0x1ae09c){let _0x95bf2a=this['left']['length'],_0x2587ce=_0x95bf2a+this['break'];if(_0x158456>=_0x2587ce)return this['right']['decomposeRight'](_0x158456-_0x2587ce,_0x1ae09c);_0x158456<_0x95bf2a&&this['left']['decomposeRight'](_0x158456,_0x1ae09c),this['break']&&_0x158456<_0x2587ce&&_0x1ae09c['push'](null),_0x1ae09c['push'](this['right']);}['balanced'](_0x5e3a42,_0x226779){return _0x5e3a42['size']>0x2*_0x226779['size']||_0x226779['size']>0x2*_0x5e3a42['size']?HeightMap['of'](this['break']?[_0x5e3a42,null,_0x226779]:[_0x5e3a42,_0x226779]):(this['left']=_0x197c9a(this['left'],_0x5e3a42),this['right']=_0x197c9a(this['right'],_0x226779),this['setHeight'](_0x5e3a42['height']+_0x226779['height']),this['outdated']=_0x5e3a42['outdated']||_0x226779['outdated'],this['size']=_0x5e3a42['size']+_0x226779['size'],this['length']=_0x5e3a42['length']+this['break']+_0x226779['length'],this);}['updateHeight'](_0x5c8a2f,_0x3002c8=0x0,_0x31fd9a=!0x1,_0x2a79df){let {left:_0x10d112,right:_0x324a35}=this,_0x4b81be=_0x3002c8+_0x10d112['length']+this['break'],_0x59b82b=null;return _0x2a79df&&_0x2a79df['from']<=_0x3002c8+_0x10d112['length']&&_0x2a79df['more']?_0x59b82b=_0x10d112=_0x10d112['updateHeight'](_0x5c8a2f,_0x3002c8,_0x31fd9a,_0x2a79df):_0x10d112['updateHeight'](_0x5c8a2f,_0x3002c8,_0x31fd9a),_0x2a79df&&_0x2a79df['from']<=_0x4b81be+_0x324a35['length']&&_0x2a79df['more']?_0x59b82b=_0x324a35=_0x324a35['updateHeight'](_0x5c8a2f,_0x4b81be,_0x31fd9a,_0x2a79df):_0x324a35['updateHeight'](_0x5c8a2f,_0x4b81be,_0x31fd9a),_0x59b82b?this['balanced'](_0x10d112,_0x324a35):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x40692f(_0x81c4fa,_0x4954c0){let _0x447c0f,_0x2eb2d2;null==_0x81c4fa[_0x4954c0]&&(_0x447c0f=_0x81c4fa[_0x4954c0-0x1])instanceof HeightMapGap&&(_0x2eb2d2=_0x81c4fa[_0x4954c0+0x1])instanceof HeightMapGap&&_0x81c4fa['splice'](_0x4954c0-0x1,0x3,new HeightMapGap(_0x447c0f['length']+0x1+_0x2eb2d2['length']));}class _0x4e7b23{constructor(_0x4dda7e,_0x237cde){this['pos']=_0x4dda7e,this['oracle']=_0x237cde,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x4dda7e;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x5855f8,_0x3d6992){if(this['lineStart']>-0x1){let _0x29d4aa=Math['min'](_0x3d6992,this['lineEnd']),_0x4a5f9b=this['nodes'][this['nodes']['length']-0x1];_0x4a5f9b instanceof HeightMapText?_0x4a5f9b['length']+=_0x29d4aa-this['pos']:(_0x29d4aa>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x29d4aa-this['pos'],-0x1)),this['writtenTo']=_0x29d4aa,_0x3d6992>_0x29d4aa&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x3d6992;}['point'](_0x1c4fdb,_0x50b9f9,_0x402476){if(_0x1c4fdb<_0x50b9f9||_0x402476['heightRelevant']){let _0x1eb5b4=_0x402476['widget']?_0x402476['widget']['estimatedHeight']:0x0,_0x3f07d2=_0x402476['widget']?_0x402476['widget']['lineBreaks']:0x0;_0x1eb5b4<0x0&&(_0x1eb5b4=this['oracle']['lineHeight']);let _0x529135=_0x50b9f9-_0x1c4fdb;_0x402476['block']?this['addBlock'](new HeightMapBlock(_0x529135,_0x1eb5b4,_0x402476)):(_0x529135||_0x3f07d2||_0x1eb5b4>=0x5)&&this['addLineDeco'](_0x1eb5b4,_0x3f07d2,_0x529135);}else _0x50b9f9>_0x1c4fdb&&this['span'](_0x1c4fdb,_0x50b9f9);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x494d48,to:_0x145b47}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x494d48,this['lineEnd']=_0x145b47,this['writtenTo']<_0x494d48&&((this['writtenTo']<_0x494d48-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x494d48-0x1)),this['nodes']['push'](null)),this['pos']>_0x494d48&&this['nodes']['push'](new HeightMapText(this['pos']-_0x494d48,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x5b1568,_0x17bb46){let _0x42fdbf=new HeightMapGap(_0x17bb46-_0x5b1568);return this['oracle']['doc']['lineAt'](_0x5b1568)['to']==_0x17bb46&&(_0x42fdbf['flags']|=0x4),_0x42fdbf;}['ensureLine'](){this['enterLine']();let _0x1038f7=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x1038f7 instanceof HeightMapText)return _0x1038f7;let _0x73c47c=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x73c47c),_0x73c47c;}['addBlock'](_0x1d3881){this['enterLine']();let _0x134c06=_0x1d3881['deco'];_0x134c06&&_0x134c06['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x1d3881),this['writtenTo']=this['pos']=this['pos']+_0x1d3881['length'],_0x134c06&&_0x134c06['endSide']>0x0&&(this['covering']=_0x1d3881);}['addLineDeco'](_0x41c32e,_0x13a7fe,_0x5b6f00){let _0x4f8a45=this['ensureLine']();_0x4f8a45['length']+=_0x5b6f00,_0x4f8a45['collapsed']+=_0x5b6f00,_0x4f8a45['widgetHeight']=Math['max'](_0x4f8a45['widgetHeight'],_0x41c32e),_0x4f8a45['breaks']+=_0x13a7fe,this['writtenTo']=this['pos']=this['pos']+_0x5b6f00;}['finish'](_0x453a0c){let _0x1a148d=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x1a148d instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x1a148d)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x50f4c1=_0x453a0c;for(let _0x3859ff of this['nodes'])_0x3859ff instanceof HeightMapText&&_0x3859ff['updateHeight'](this['oracle'],_0x50f4c1),_0x50f4c1+=_0x3859ff?_0x3859ff['length']:0x1;return this['nodes'];}static['build'](_0xff1489,_0x33b7d8,_0x24cc22,_0x478540){let _0x1dca1b=new _0x4e7b23(_0x24cc22,_0xff1489);return RangeSet['spans'](_0x33b7d8,_0x24cc22,_0x478540,_0x1dca1b,0x0),_0x1dca1b['finish'](_0x24cc22);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x816606,_0x550310,_0x501106,_0x29d28d){(_0x816606<_0x550310||_0x501106&&_0x501106['heightRelevant']||_0x29d28d&&_0x29d28d['heightRelevant'])&&_0x333c48(_0x816606,_0x550310,this['changes'],0x5);}}function _0x256723(_0x56a9db,_0x519398){let _0x4fc4f9=_0x56a9db['getBoundingClientRect'](),_0x3d5c20=_0x56a9db['ownerDocument'],_0x1832c0=_0x3d5c20['defaultView']||window,_0x133eb2=Math['max'](0x0,_0x4fc4f9['left']),_0x108571=Math['min'](_0x1832c0['innerWidth'],_0x4fc4f9['right']),_0x5697ef=Math['max'](0x0,_0x4fc4f9['top']),_0x318d98=Math['min'](_0x1832c0['innerHeight'],_0x4fc4f9['bottom']);for(let _0x16ae42=_0x56a9db['parentNode'];_0x16ae42&&_0x16ae42!=_0x3d5c20['body'];)if(0x1==_0x16ae42['nodeType']){let _0x27abf2=_0x16ae42,_0x30f594=window['getComputedStyle'](_0x27abf2);if((_0x27abf2['scrollHeight']>_0x27abf2['clientHeight']||_0x27abf2['scrollWidth']>_0x27abf2['clientWidth'])&&'visible'!=_0x30f594['overflow']){let _0x13652b=_0x27abf2['getBoundingClientRect']();_0x133eb2=Math['max'](_0x133eb2,_0x13652b['left']),_0x108571=Math['min'](_0x108571,_0x13652b['right']),_0x5697ef=Math['max'](_0x5697ef,_0x13652b['top']),_0x318d98=Math['min'](_0x16ae42==_0x56a9db['parentNode']?_0x1832c0['innerHeight']:_0x318d98,_0x13652b['bottom']);}_0x16ae42='absolute'==_0x30f594['position']||'fixed'==_0x30f594['position']?_0x27abf2['offsetParent']:_0x27abf2['parentNode'];}else{if(0xb!=_0x16ae42['nodeType'])break;_0x16ae42=_0x16ae42['host'];}return{'left':_0x133eb2-_0x4fc4f9['left'],'right':Math['max'](_0x133eb2,_0x108571)-_0x4fc4f9['left'],'top':_0x5697ef-(_0x4fc4f9['top']+_0x519398),'bottom':Math['max'](_0x5697ef,_0x318d98)-(_0x4fc4f9['top']+_0x519398)};}function _0xc590f2(_0x3c28b5,_0x11d9e5){let _0xffb7ab=_0x3c28b5['getBoundingClientRect']();return{'left':0x0,'right':_0xffb7ab['right']-_0xffb7ab['left'],'top':_0x11d9e5,'bottom':_0xffb7ab['bottom']-(_0xffb7ab['top']+_0x11d9e5)};}class _0x3b81f5{constructor(_0x44fdb2,_0x15afcb,_0x5554a1,_0x4eaecb){this['from']=_0x44fdb2,this['to']=_0x15afcb,this['size']=_0x5554a1,this['displaySize']=_0x4eaecb;}static['same'](_0x486725,_0x5873bb){if(_0x486725['length']!=_0x5873bb['length'])return!0x1;for(let _0x26382c=0x0;_0x26382c<_0x486725['length'];_0x26382c++){let _0x5e98ba=_0x486725[_0x26382c],_0xcef99c=_0x5873bb[_0x26382c];if(_0x5e98ba['from']!=_0xcef99c['from']||_0x5e98ba['to']!=_0xcef99c['to']||_0x5e98ba['size']!=_0xcef99c['size'])return!0x1;}return!0x0;}['draw'](_0x3b2711,_0x438e31){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x438e31?_0x3b2711['scaleY']:_0x3b2711['scaleX']),_0x438e31)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x8b1d65,_0x16d6e0){super(),this['size']=_0x8b1d65,this['vertical']=_0x16d6e0;}['eq'](_0x4af599){return _0x4af599['size']==this['size']&&_0x4af599['vertical']==this['vertical'];}['toDOM'](){let _0xf3f58e=document['createElement']('div');return this['vertical']?_0xf3f58e['style']['height']=this['size']+'px':(_0xf3f58e['style']['width']=this['size']+'px',_0xf3f58e['style']['height']='2px',_0xf3f58e['style']['display']='inline-block'),_0xf3f58e;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x4e53d0){this['state']=_0x4e53d0,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x310ed6,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0x2d6025['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x46166c=_0x4e53d0['facet'](_0x2b6385)['some'](_0x328734=>'function'!=typeof _0x328734&&'cm-lineWrapping'==_0x328734['class']);this['heightOracle']=new HeightOracle(_0x46166c),this['stateDeco']=_0x4e53d0['facet'](_0x347d54)['filter'](_0x38ad27=>'function'!=typeof _0x38ad27),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x4e53d0['doc']),[new _0x3964c6(0x0,0x0,0x0,_0x4e53d0['doc']['length'])]);for(let _0x1d4b58=0x0;_0x1d4b58<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x1d4b58++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x5044a9=>_0x5044a9['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x3ad6b3=[this['viewport']],{main:_0x551153}=this['state']['selection'];for(let _0x32cfef=0x0;_0x32cfef<=0x1;_0x32cfef++){let _0x1886fe=_0x32cfef?_0x551153['head']:_0x551153['anchor'];if(!_0x3ad6b3['some'](({from:_0x3257b6,to:_0x390e0f})=>_0x1886fe>=_0x3257b6&&_0x1886fe<=_0x390e0f)){let {from:_0x2245de,to:_0x4ffc86}=this['lineBlockAt'](_0x1886fe);_0x3ad6b3['push'](new Viewport(_0x2245de,_0x4ffc86));}}return this['viewports']=_0x3ad6b3['sort']((_0x1bfc1b,_0x21d5d4)=>_0x1bfc1b['from']-_0x21d5d4['from']),this['updateScaler']();}['updateScaler'](){let _0x5ef13d=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x310ed6:new _0x1fc6d5(this['heightOracle'],this['heightMap'],this['viewports']),_0x5ef13d['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,_0x5359ed=>{this['viewportLines']['push'](_0xf5d6f6(_0x5359ed,this['scaler']));});}['update'](_0x46b4fc,_0x2101f7=null){this['state']=_0x46b4fc['state'];let _0xacf4a6=this['stateDeco'];this['stateDeco']=this['state']['facet'](_0x347d54)['filter'](_0x9fc573=>'function'!=typeof _0x9fc573);let _0x5badac=_0x46b4fc['changedRanges'],_0x3690e5=_0x3964c6['extendWithRanges'](_0x5badac,function(_0x2d40ee,_0x2a0a3e,_0x371837){let _0x127f8f=new DecorationComparator();return RangeSet['compare'](_0x2d40ee,_0x2a0a3e,_0x371837,_0x127f8f,0x0),_0x127f8f['changes'];}(_0xacf4a6,this['stateDeco'],_0x46b4fc?_0x46b4fc['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x478aae=this['heightMap']['height'],_0x16da6a=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);_0x5ad626(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x46b4fc['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x3690e5),(this['heightMap']['height']!=_0x478aae||_0x5dfc2f)&&(_0x46b4fc['flags']|=0x2),_0x16da6a?(this['scrollAnchorPos']=_0x46b4fc['changes']['mapPos'](_0x16da6a['from'],-0x1),this['scrollAnchorHeight']=_0x16da6a['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x478aae);let _0x4a2681=_0x3690e5['length']?this['mapViewport'](this['viewport'],_0x46b4fc['changes']):this['viewport'];(_0x2101f7&&(_0x2101f7['range']['head']<_0x4a2681['from']||_0x2101f7['range']['head']>_0x4a2681['to'])||!this['viewportIsAppropriate'](_0x4a2681))&&(_0x4a2681=this['getViewport'](0x0,_0x2101f7));let _0x1c37df=_0x4a2681['from']!=this['viewport']['from']||_0x4a2681['to']!=this['viewport']['to'];this['viewport']=_0x4a2681,_0x46b4fc['flags']|=this['updateForViewport'](),(_0x1c37df||!_0x46b4fc['changes']['empty']||0x2&_0x46b4fc['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x46b4fc['changes']))),_0x46b4fc['flags']|=this['computeVisibleRanges'](_0x46b4fc['changes']),_0x2101f7&&(this['scrollTarget']=_0x2101f7),!this['mustEnforceCursorAssoc']&&_0x46b4fc['selectionSet']&&_0x46b4fc['view']['lineWrapping']&&_0x46b4fc['state']['selection']['main']['empty']&&_0x46b4fc['state']['selection']['main']['assoc']&&!_0x46b4fc['state']['facet'](_0x3f5253)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x590142){let _0x4c9916=_0x590142['contentDOM'],_0x3e5c41=window['getComputedStyle'](_0x4c9916),_0x3c0e7d=this['heightOracle'],_0x34f386=_0x3e5c41['whiteSpace'];this['defaultTextDirection']='rtl'==_0x3e5c41['direction']?_0x2d6025['RTL']:_0x2d6025['LTR'];let _0x30d437=this['heightOracle']['mustRefreshForWrapping'](_0x34f386),_0x445a91=_0x4c9916['getBoundingClientRect'](),_0x2399b8=_0x30d437||this['mustMeasureContent']||this['contentDOMHeight']!=_0x445a91['height'];this['contentDOMHeight']=_0x445a91['height'],this['mustMeasureContent']=!0x1;let _0x41f98b=0x0,_0x23c7c2=0x0;if(_0x445a91['width']&&_0x445a91['height']){let {scaleX:_0x4bfcd6,scaleY:_0x5a7f5a}=_0x2de6f1(_0x4c9916,_0x445a91);(_0x4bfcd6>0.005&&Math['abs'](this['scaleX']-_0x4bfcd6)>0.005||_0x5a7f5a>0.005&&Math['abs'](this['scaleY']-_0x5a7f5a)>0.005)&&(this['scaleX']=_0x4bfcd6,this['scaleY']=_0x5a7f5a,_0x41f98b|=0x10,_0x30d437=_0x2399b8=!0x0);}let _0x4d3c6d=(parseInt(_0x3e5c41['paddingTop'])||0x0)*this['scaleY'],_0x51fc1d=(parseInt(_0x3e5c41['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x4d3c6d&&this['paddingBottom']==_0x51fc1d||(this['paddingTop']=_0x4d3c6d,this['paddingBottom']=_0x51fc1d,_0x41f98b|=0x12),this['editorWidth']!=_0x590142['scrollDOM']['clientWidth']&&(_0x3c0e7d['lineWrapping']&&(_0x2399b8=!0x0),this['editorWidth']=_0x590142['scrollDOM']['clientWidth'],_0x41f98b|=0x10);let _0x441277=_0x590142['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x441277&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x441277),this['scrolledToBottom']=_0x38ee4c(_0x590142['scrollDOM']);let _0x48a3ee=(this['printing']?_0xc590f2:_0x256723)(_0x4c9916,this['paddingTop']),_0x2b8725=_0x48a3ee['top']-this['pixelViewport']['top'],_0x38052f=_0x48a3ee['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x48a3ee;let _0x5b79fd=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x5b79fd!=this['inView']&&(this['inView']=_0x5b79fd,_0x5b79fd&&(_0x2399b8=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x3d2006){let _0x462c63=_0x3d2006['getBoundingClientRect'](),_0x21e91c=_0x3d2006['ownerDocument']['defaultView']||window;return _0x462c63['left']<_0x21e91c['innerWidth']&&_0x462c63['right']>0x0&&_0x462c63['top']<_0x21e91c['innerHeight']&&_0x462c63['bottom']>0x0;}(_0x590142['dom']))return 0x0;let _0x2796c7=_0x445a91['width'];if(this['contentDOMWidth']==_0x2796c7&&this['editorHeight']==_0x590142['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x445a91['width'],this['editorHeight']=_0x590142['scrollDOM']['clientHeight'],_0x41f98b|=0x10),_0x2399b8){let _0x4908b0=_0x590142['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x3c0e7d['mustRefreshForHeights'](_0x4908b0)&&(_0x30d437=!0x0),_0x30d437||_0x3c0e7d['lineWrapping']&&Math['abs'](_0x2796c7-this['contentDOMWidth'])>_0x3c0e7d['charWidth']){let {lineHeight:_0x1c676e,charWidth:_0x4dd260,textHeight:_0x37d109}=_0x590142['docView']['measureTextSize']();_0x30d437=_0x1c676e>0x0&&_0x3c0e7d['refresh'](_0x34f386,_0x1c676e,_0x4dd260,_0x37d109,Math['max'](0x5,_0x2796c7/_0x4dd260),_0x4908b0),_0x30d437&&(_0x590142['docView']['minWidth']=0x0,_0x41f98b|=0x10);}_0x2b8725>0x0&&_0x38052f>0x0?_0x23c7c2=Math['max'](_0x2b8725,_0x38052f):_0x2b8725<0x0&&_0x38052f<0x0&&(_0x23c7c2=Math['min'](_0x2b8725,_0x38052f)),_0x5ad626();for(let _0x4d6c04 of this['viewports']){let _0x1faebb=_0x4d6c04['from']==this['viewport']['from']?_0x4908b0:_0x590142['docView']['measureVisibleLineHeights'](_0x4d6c04);this['heightMap']=(_0x30d437?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0x3964c6(0x0,0x0,0x0,_0x590142['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x3c0e7d,0x0,_0x30d437,new MeasuredHeights(_0x4d6c04['from'],_0x1faebb));}_0x5dfc2f&&(_0x41f98b|=0x2);}let _0x5a8664=!this['viewportIsAppropriate'](this['viewport'],_0x23c7c2)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x5a8664&&(0x2&_0x41f98b&&(_0x41f98b|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x23c7c2,this['scrollTarget']),_0x41f98b|=this['updateForViewport']()),(0x2&_0x41f98b||_0x5a8664)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x30d437?[]:this['lineGaps'],_0x590142)),_0x41f98b|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x590142['docView']['enforceCursorAssoc']()),_0x41f98b;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x24e1e9,_0x12a71c){let _0x1e5181=0.5-Math['max'](-0.5,Math['min'](0.5,_0x24e1e9/0x3e8/0x2)),_0x17e10b=this['heightMap'],_0x5100b7=this['heightOracle'],{visibleTop:_0x268819,visibleBottom:_0x2b3c94}=this,_0x2ecf80=new Viewport(_0x17e10b['lineAt'](_0x268819-0x3e8*_0x1e5181,_0x356fde['ByHeight'],_0x5100b7,0x0,0x0)['from'],_0x17e10b['lineAt'](_0x2b3c94+0x3e8*(0x1-_0x1e5181),_0x356fde['ByHeight'],_0x5100b7,0x0,0x0)['to']);if(_0x12a71c){let {head:_0x12ef2d}=_0x12a71c['range'];if(_0x12ef2d<_0x2ecf80['from']||_0x12ef2d>_0x2ecf80['to']){let _0x374f1d,_0x231a7a=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x436d08=_0x17e10b['lineAt'](_0x12ef2d,_0x356fde['ByPos'],_0x5100b7,0x0,0x0);_0x374f1d='center'==_0x12a71c['y']?(_0x436d08['top']+_0x436d08['bottom'])/0x2-_0x231a7a/0x2:'start'==_0x12a71c['y']||'nearest'==_0x12a71c['y']&&_0x12ef2d<_0x2ecf80['from']?_0x436d08['top']:_0x436d08['bottom']-_0x231a7a,_0x2ecf80=new Viewport(_0x17e10b['lineAt'](_0x374f1d-0x1f4,_0x356fde['ByHeight'],_0x5100b7,0x0,0x0)['from'],_0x17e10b['lineAt'](_0x374f1d+_0x231a7a+0x1f4,_0x356fde['ByHeight'],_0x5100b7,0x0,0x0)['to']);}}return _0x2ecf80;}['mapViewport'](_0x39b526,_0x261180){let _0x8bba6f=_0x261180['mapPos'](_0x39b526['from'],-0x1),_0x3b5581=_0x261180['mapPos'](_0x39b526['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x8bba6f,_0x356fde['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x3b5581,_0x356fde['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x591fc9,to:_0x42f007},_0x98ea78=0x0){if(!this['inView'])return!0x0;let {top:_0x2ecd32}=this['heightMap']['lineAt'](_0x591fc9,_0x356fde['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x5e128f}=this['heightMap']['lineAt'](_0x42f007,_0x356fde['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x390938,visibleBottom:_0x4c0ab5}=this;return(0x0==_0x591fc9||_0x2ecd32<=_0x390938-Math['max'](0xa,Math['min'](-_0x98ea78,0xfa)))&&(_0x42f007==this['state']['doc']['length']||_0x5e128f>=_0x4c0ab5+Math['max'](0xa,Math['min'](_0x98ea78,0xfa)))&&_0x2ecd32>_0x390938-0x7d0&&_0x5e128f<_0x4c0ab5+0x7d0;}['mapLineGaps'](_0x12fe76,_0x1ff4ca){if(!_0x12fe76['length']||_0x1ff4ca['empty'])return _0x12fe76;let _0x1118dc=[];for(let _0x14d613 of _0x12fe76)_0x1ff4ca['touchesRange'](_0x14d613['from'],_0x14d613['to'])||_0x1118dc['push'](new _0x3b81f5(_0x1ff4ca['mapPos'](_0x14d613['from']),_0x1ff4ca['mapPos'](_0x14d613['to']),_0x14d613['size'],_0x14d613['displaySize']));return _0x1118dc;}['ensureLineGaps'](_0x3b6e73,_0x2bb034){let _0x185e44=this['heightOracle']['lineWrapping'],_0xb88b9f=_0x185e44?0x2710:0x7d0,_0x360834=_0xb88b9f>>0x1,_0x4e5659=_0xb88b9f<<0x1;if(this['defaultTextDirection']!=_0x2d6025['LTR']&&!_0x185e44)return[];let _0x328dc5=[],_0x28677f=(_0xaae5da,_0x34d7f7,_0x7b6891,_0xd2237c)=>{if(_0x34d7f7-_0xaae5da<_0x360834)return;let _0x3d45ca=this['state']['selection']['main'],_0x47b399=[_0x3d45ca['from']];_0x3d45ca['empty']||_0x47b399['push'](_0x3d45ca['to']);for(let _0x33546d of _0x47b399)if(_0x33546d>_0xaae5da&&_0x33546d<_0x34d7f7)return _0x28677f(_0xaae5da,_0x33546d-0xa,_0x7b6891,_0xd2237c),void _0x28677f(_0x33546d+0xa,_0x34d7f7,_0x7b6891,_0xd2237c);let _0x22bd8a=function(_0x320785,_0x53ec24){for(let _0x1a788e of _0x320785)if(_0x53ec24(_0x1a788e))return _0x1a788e;return;}(_0x3b6e73,_0x1d1d7e=>_0x1d1d7e['from']>=_0x7b6891['from']&&_0x1d1d7e['to']<=_0x7b6891['to']&&Math['abs'](_0x1d1d7e['from']-_0xaae5da)<_0x360834&&Math['abs'](_0x1d1d7e['to']-_0x34d7f7)<_0x360834&&!_0x47b399['some'](_0x16070e=>_0x1d1d7e['from']<_0x16070e&&_0x1d1d7e['to']>_0x16070e));if(!_0x22bd8a){if(_0x34d7f7<_0x7b6891['to']&&_0x2bb034&&_0x185e44&&_0x2bb034['visibleRanges']['some'](_0x779e49=>_0x779e49['from']<=_0x34d7f7&&_0x779e49['to']>=_0x34d7f7)){let _0x5b3482=_0x2bb034['moveToLineBoundary'](EditorSelection['cursor'](_0x34d7f7),!0x1,!0x0)['head'];_0x5b3482>_0xaae5da&&(_0x34d7f7=_0x5b3482);}let _0xbceb7e=this['gapSize'](_0x7b6891,_0xaae5da,_0x34d7f7,_0xd2237c);_0x22bd8a=new _0x3b81f5(_0xaae5da,_0x34d7f7,_0xbceb7e,_0x185e44||_0xbceb7e<0x1e8480?_0xbceb7e:0x1e8480);}_0x328dc5['push'](_0x22bd8a);},_0x5c1b0e=_0x11df56=>{if(_0x11df56['length']<_0x4e5659||_0x11df56['type']!=_0x5b6263['Text'])return;let _0x4c1b6b=function(_0x2752c8,_0x5b35e3,_0x23628c){let _0x42288b=[],_0x4c0a4d=_0x2752c8,_0x3d60b6=0x0;return RangeSet['spans'](_0x23628c,_0x2752c8,_0x5b35e3,{'span'(){},'point'(_0xf5b897,_0x382db0){_0xf5b897>_0x4c0a4d&&(_0x42288b['push']({'from':_0x4c0a4d,'to':_0xf5b897}),_0x3d60b6+=_0xf5b897-_0x4c0a4d),_0x4c0a4d=_0x382db0;}},0x14),_0x4c0a4d<_0x5b35e3&&(_0x42288b['push']({'from':_0x4c0a4d,'to':_0x5b35e3}),_0x3d60b6+=_0x5b35e3-_0x4c0a4d),{'total':_0x3d60b6,'ranges':_0x42288b};}(_0x11df56['from'],_0x11df56['to'],this['stateDeco']);if(_0x4c1b6b['total']<_0x4e5659)return;let _0x444680,_0x3b843a,_0x1205b3=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x185e44){let _0x5d67cd,_0x15363a,_0x392967=_0xb88b9f/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x1205b3){let _0xdf4c38=_0x29d131(_0x4c1b6b,_0x1205b3),_0x4d5657=((this['visibleBottom']-this['visibleTop'])/0x2+_0x392967)/_0x11df56['height'];_0x5d67cd=_0xdf4c38-_0x4d5657,_0x15363a=_0xdf4c38+_0x4d5657;}else _0x5d67cd=(this['visibleTop']-_0x11df56['top']-_0x392967)/_0x11df56['height'],_0x15363a=(this['visibleBottom']-_0x11df56['top']+_0x392967)/_0x11df56['height'];_0x444680=_0x1b6e14(_0x4c1b6b,_0x5d67cd),_0x3b843a=_0x1b6e14(_0x4c1b6b,_0x15363a);}else{let _0x131f94=_0x4c1b6b['total']*this['heightOracle']['charWidth'],_0x442129=_0xb88b9f*this['heightOracle']['charWidth'],_0xb3386c=0x0;if(_0x131f94>0x1e8480){for(let _0x25b048 of _0x3b6e73)_0x25b048['from']>=_0x11df56['from']&&_0x25b048['from']<_0x11df56['to']&&_0x25b048['size']!=_0x25b048['displaySize']&&_0x25b048['from']*this['heightOracle']['charWidth']+_0xb3386c<this['pixelViewport']['left']&&(_0xb3386c=_0x25b048['size']-_0x25b048['displaySize']);}let _0x325e18,_0x19b046,_0xee03d0=this['pixelViewport']['left']+_0xb3386c,_0x1769fd=this['pixelViewport']['right']+_0xb3386c;if(null!=_0x1205b3){let _0x2fdc08=_0x29d131(_0x4c1b6b,_0x1205b3),_0x15da0b=((_0x1769fd-_0xee03d0)/0x2+_0x442129)/_0x131f94;_0x325e18=_0x2fdc08-_0x15da0b,_0x19b046=_0x2fdc08+_0x15da0b;}else _0x325e18=(_0xee03d0-_0x442129)/_0x131f94,_0x19b046=(_0x1769fd+_0x442129)/_0x131f94;_0x444680=_0x1b6e14(_0x4c1b6b,_0x325e18),_0x3b843a=_0x1b6e14(_0x4c1b6b,_0x19b046);}_0x444680>_0x11df56['from']&&_0x28677f(_0x11df56['from'],_0x444680,_0x11df56,_0x4c1b6b),_0x3b843a<_0x11df56['to']&&_0x28677f(_0x3b843a,_0x11df56['to'],_0x11df56,_0x4c1b6b);};for(let _0x2b3ba6 of this['viewportLines'])Array['isArray'](_0x2b3ba6['type'])?_0x2b3ba6['type']['forEach'](_0x5c1b0e):_0x5c1b0e(_0x2b3ba6);return _0x328dc5;}['gapSize'](_0x3ac3d0,_0x36d1de,_0x2c2dfc,_0x37c700){let _0x380848=_0x29d131(_0x37c700,_0x2c2dfc)-_0x29d131(_0x37c700,_0x36d1de);return this['heightOracle']['lineWrapping']?_0x3ac3d0['height']*_0x380848:_0x37c700['total']*this['heightOracle']['charWidth']*_0x380848;}['updateLineGaps'](_0x430e6a){_0x3b81f5['same'](_0x430e6a,this['lineGaps'])||(this['lineGaps']=_0x430e6a,this['lineGapDeco']=Decoration['set'](_0x430e6a['map'](_0x43a47e=>_0x43a47e['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x52f251){let _0x4d89f6=this['stateDeco'];this['lineGaps']['length']&&(_0x4d89f6=_0x4d89f6['concat'](this['lineGapDeco']));let _0x4e6d20=[];RangeSet['spans'](_0x4d89f6,this['viewport']['from'],this['viewport']['to'],{'span'(_0xf6796d,_0x124cb6){_0x4e6d20['push']({'from':_0xf6796d,'to':_0x124cb6});},'point'(){}},0x14);let _0x36d516=0x0;if(_0x4e6d20['length']!=this['visibleRanges']['length'])_0x36d516=0xc;else for(let _0x346383=0x0;_0x346383<_0x4e6d20['length']&&!(0x8&_0x36d516);_0x346383++){let _0x2c7901=this['visibleRanges'][_0x346383],_0x3f2ea3=_0x4e6d20[_0x346383];_0x2c7901['from']==_0x3f2ea3['from']&&_0x2c7901['to']==_0x3f2ea3['to']||(_0x36d516|=0x4,_0x52f251&&_0x52f251['mapPos'](_0x2c7901['from'],-0x1)==_0x3f2ea3['from']&&_0x52f251['mapPos'](_0x2c7901['to'],0x1)==_0x3f2ea3['to']||(_0x36d516|=0x8));}return this['visibleRanges']=_0x4e6d20,_0x36d516;}['lineBlockAt'](_0x5a0c93){return _0x5a0c93>=this['viewport']['from']&&_0x5a0c93<=this['viewport']['to']&&this['viewportLines']['find'](_0xc6258c=>_0xc6258c['from']<=_0x5a0c93&&_0xc6258c['to']>=_0x5a0c93)||_0xf5d6f6(this['heightMap']['lineAt'](_0x5a0c93,_0x356fde['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x587cbd){return _0x587cbd>=this['viewportLines'][0x0]['top']&&_0x587cbd<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x29407f=>_0x29407f['top']<=_0x587cbd&&_0x29407f['bottom']>=_0x587cbd)||_0xf5d6f6(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x587cbd),_0x356fde['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x3d18fd){let _0x426ae9=this['lineBlockAtHeight'](_0x3d18fd+0x8);return _0x426ae9['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x3d18fd>0xc8?_0x426ae9:this['viewportLines'][0x0];}['elementAtHeight'](_0x375bbe){return _0xf5d6f6(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x375bbe),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x5eb3ac,_0xc0948a){this['from']=_0x5eb3ac,this['to']=_0xc0948a;}}function _0x1b6e14({total:_0x1716b3,ranges:_0x3004af},_0x31a58c){if(_0x31a58c<=0x0)return _0x3004af[0x0]['from'];if(_0x31a58c>=0x1)return _0x3004af[_0x3004af['length']-0x1]['to'];let _0x26277f=Math['floor'](_0x1716b3*_0x31a58c);for(let _0x231606=0x0;;_0x231606++){let {from:_0x58c8ba,to:_0x591820}=_0x3004af[_0x231606],_0xe7cb23=_0x591820-_0x58c8ba;if(_0x26277f<=_0xe7cb23)return _0x58c8ba+_0x26277f;_0x26277f-=_0xe7cb23;}}function _0x29d131(_0x25d223,_0x297d5d){let _0x252250=0x0;for(let {from:_0x35f63b,to:_0x5d91e8}of _0x25d223['ranges']){if(_0x297d5d<=_0x5d91e8){_0x252250+=_0x297d5d-_0x35f63b;break;}_0x252250+=_0x5d91e8-_0x35f63b;}return _0x252250/_0x25d223['total'];}const _0x310ed6={'toDOM':_0x2e5f1b=>_0x2e5f1b,'fromDOM':_0x17b278=>_0x17b278,'scale':0x1,'eq'(_0x2baa30){return _0x2baa30==this;}};class _0x1fc6d5{constructor(_0x2f9e79,_0x5e30e6,_0x55cd48){let _0x44bedc=0x0,_0xce690a=0x0,_0x317bc2=0x0;this['viewports']=_0x55cd48['map'](({from:_0x3437fc,to:_0x31f965})=>{let _0x5b4cea=_0x5e30e6['lineAt'](_0x3437fc,_0x356fde['ByPos'],_0x2f9e79,0x0,0x0)['top'],_0xb8b271=_0x5e30e6['lineAt'](_0x31f965,_0x356fde['ByPos'],_0x2f9e79,0x0,0x0)['bottom'];return _0x44bedc+=_0xb8b271-_0x5b4cea,{'from':_0x3437fc,'to':_0x31f965,'top':_0x5b4cea,'bottom':_0xb8b271,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x44bedc)/(_0x5e30e6['height']-_0x44bedc);for(let _0x55f1c7 of this['viewports'])_0x55f1c7['domTop']=_0x317bc2+(_0x55f1c7['top']-_0xce690a)*this['scale'],_0x317bc2=_0x55f1c7['domBottom']=_0x55f1c7['domTop']+(_0x55f1c7['bottom']-_0x55f1c7['top']),_0xce690a=_0x55f1c7['bottom'];}['toDOM'](_0xd29fd0){for(let _0x242cea=0x0,_0x3cf7c6=0x0,_0x46c26c=0x0;;_0x242cea++){let _0x2c750a=_0x242cea<this['viewports']['length']?this['viewports'][_0x242cea]:null;if(!_0x2c750a||_0xd29fd0<_0x2c750a['top'])return _0x46c26c+(_0xd29fd0-_0x3cf7c6)*this['scale'];if(_0xd29fd0<=_0x2c750a['bottom'])return _0x2c750a['domTop']+(_0xd29fd0-_0x2c750a['top']);_0x3cf7c6=_0x2c750a['bottom'],_0x46c26c=_0x2c750a['domBottom'];}}['fromDOM'](_0x21aecf){for(let _0x10f04f=0x0,_0x528f9e=0x0,_0x1b89a7=0x0;;_0x10f04f++){let _0x10268a=_0x10f04f<this['viewports']['length']?this['viewports'][_0x10f04f]:null;if(!_0x10268a||_0x21aecf<_0x10268a['domTop'])return _0x528f9e+(_0x21aecf-_0x1b89a7)/this['scale'];if(_0x21aecf<=_0x10268a['domBottom'])return _0x10268a['top']+(_0x21aecf-_0x10268a['domTop']);_0x528f9e=_0x10268a['bottom'],_0x1b89a7=_0x10268a['domBottom'];}}['eq'](_0x5c1bc7){return _0x5c1bc7 instanceof _0x1fc6d5&&(this['scale']==_0x5c1bc7['scale']&&this['viewports']['length']==_0x5c1bc7['viewports']['length']&&this['viewports']['every']((_0x416516,_0x130b68)=>_0x416516['from']==_0x5c1bc7['viewports'][_0x130b68]['from']&&_0x416516['to']==_0x5c1bc7['viewports'][_0x130b68]['to']));}}function _0xf5d6f6(_0x205c5b,_0x3fa9df){if(0x1==_0x3fa9df['scale'])return _0x205c5b;let _0x5e308b=_0x3fa9df['toDOM'](_0x205c5b['top']),_0x2b4579=_0x3fa9df['toDOM'](_0x205c5b['bottom']);return new _0x4625d2(_0x205c5b['from'],_0x205c5b['length'],_0x5e308b,_0x2b4579-_0x5e308b,Array['isArray'](_0x205c5b['_content'])?_0x205c5b['_content']['map'](_0x2ce4ea=>_0xf5d6f6(_0x2ce4ea,_0x3fa9df)):_0x205c5b['_content']);}const _0x11c663=Facet['define']({'combine':_0x446f06=>_0x446f06['join']('\x20')}),_0x31ce37=Facet['define']({'combine':_0x84eeff=>_0x84eeff['indexOf'](!0x0)>-0x1}),_0x1c4601=StyleModule['newName'](),_0x11ec74=StyleModule['newName'](),_0x3c3179=StyleModule['newName'](),_0x307cbc={'&light':'.'+_0x11ec74,'&dark':'.'+_0x3c3179};function _0x4e2d64(_0x208ce9,_0x372d29,_0x22abc9){return new StyleModule(_0x372d29,{'finish':_0x4d2709=>/&/['test'](_0x4d2709)?_0x4d2709['replace'](/&\w*/,_0x43c34f=>{if('&'==_0x43c34f)return _0x208ce9;if(!_0x22abc9||!_0x22abc9[_0x43c34f])throw new RangeError('Unsupported\x20selector:\x20'+_0x43c34f);return _0x22abc9[_0x43c34f];}):_0x208ce9+'\x20'+_0x4d2709});}const _0x1a57c5=_0x4e2d64('.'+_0x1c4601,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','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'}},_0x307cbc),_0x42eb6e={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},_0x261131=_0x2c4476['ie']&&_0x2c4476['ie_version']<=0xb;class _0x46ef55{constructor(_0x9dbce3){this['view']=_0x9dbce3,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0x9dbce3['contentDOM'],this['observer']=new MutationObserver(_0x4b3130=>{for(let _0x3f2e30 of _0x4b3130)this['queue']['push'](_0x3f2e30);(_0x2c4476['ie']&&_0x2c4476['ie_version']<=0xb||_0x2c4476['ios']&&_0x9dbce3['composing'])&&_0x4b3130['some'](_0x585c17=>'childList'==_0x585c17['type']&&_0x585c17['removedNodes']['length']||'characterData'==_0x585c17['type']&&_0x585c17['oldValue']['length']>_0x585c17['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x2c4476['android']||!0x1===_0x9dbce3['constructor']['EDIT_CONTEXT']||_0x2c4476['chrome']&&_0x2c4476['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x9dbce3),_0x9dbce3['state']['facet'](_0x1a0c5c)&&(_0x9dbce3['contentDOM']['editContext']=this['editContext']['editContext'])),_0x261131&&(this['onCharData']=_0x494751=>{this['queue']['push']({'target':_0x494751['target'],'type':'characterData','oldValue':_0x494751['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 _0x2ce513;(null===(_0x2ce513=this['view']['docView'])||void 0x0===_0x2ce513?void 0x0:_0x2ce513['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x9dbce3['scrollDOM'])),this['addWindowListeners'](this['win']=_0x9dbce3['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x1d9510=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x1d9510['length']>0x0&&_0x1d9510[_0x1d9510['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(_0x25ca66=>{_0x25ca66['length']>0x0&&_0x25ca66[_0x25ca66['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x2e24a7){this['view']['inputState']['runHandlers']('scroll',_0x2e24a7),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x5ca35e){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x5ca35e);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x1b8dfb){('change'!=_0x1b8dfb['type']&&_0x1b8dfb['type']||_0x1b8dfb['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x3d7133){if(this['gapIntersection']&&(_0x3d7133['length']!=this['gaps']['length']||this['gaps']['some']((_0x14792f,_0x466a51)=>_0x14792f!=_0x3d7133[_0x466a51]))){this['gapIntersection']['disconnect']();for(let _0x2feeec of _0x3d7133)this['gapIntersection']['observe'](_0x2feeec);this['gaps']=_0x3d7133;}}['onSelectionChange'](_0x178c16){let _0x5c00b3=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x13f91b}=this,_0xb8a193=this['selectionRange'];if(_0x13f91b['state']['facet'](_0x1a0c5c)?_0x13f91b['root']['activeElement']!=this['dom']:!_0x128bd7(this['dom'],_0xb8a193))return;let _0x5a2dcc=_0xb8a193['anchorNode']&&_0x13f91b['docView']['nearest'](_0xb8a193['anchorNode']);_0x5a2dcc&&_0x5a2dcc['ignoreEvent'](_0x178c16)?_0x5c00b3||(this['selectionChanged']=!0x1):(_0x2c4476['ie']&&_0x2c4476['ie_version']<=0xb||_0x2c4476['android']&&_0x2c4476['chrome'])&&!_0x13f91b['state']['selection']['main']['empty']&&_0xb8a193['focusNode']&&_0x18c80d(_0xb8a193['focusNode'],_0xb8a193['focusOffset'],_0xb8a193['anchorNode'],_0xb8a193['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x525ce7}=this,_0x261827=_0x57e185(_0x525ce7['root']);if(!_0x261827)return!0x1;let _0x1db80e=_0x2c4476['safari']&&0xb==_0x525ce7['root']['nodeType']&&_0x525ce7['root']['activeElement']==this['dom']&&function(_0x23c746,_0x5553dc){if(_0x5553dc['getComposedRanges']){let _0x17fbaa=_0x5553dc['getComposedRanges'](_0x23c746['root'])[0x0];if(_0x17fbaa)return _0xf394b1(_0x23c746,_0x17fbaa);}let _0x3cf742=null;function _0x17cbe4(_0x48f8a5){_0x48f8a5['preventDefault'](),_0x48f8a5['stopImmediatePropagation'](),_0x3cf742=_0x48f8a5['getTargetRanges']()[0x0];}return _0x23c746['contentDOM']['addEventListener']('beforeinput',_0x17cbe4,!0x0),_0x23c746['dom']['ownerDocument']['execCommand']('indent'),_0x23c746['contentDOM']['removeEventListener']('beforeinput',_0x17cbe4,!0x0),_0x3cf742?_0xf394b1(_0x23c746,_0x3cf742):null;}(this['view'],_0x261827)||_0x261827;if(!_0x1db80e||this['selectionRange']['eq'](_0x1db80e))return!0x1;let _0x58f64c=_0x128bd7(this['dom'],_0x1db80e);return _0x58f64c&&!this['selectionChanged']&&_0x525ce7['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x525ce7['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x898d12,_0x18c9c5){let _0x3f26e3=_0x18c9c5['focusNode'],_0x56b31e=_0x18c9c5['focusOffset'];if(!_0x3f26e3||_0x18c9c5['anchorNode']!=_0x3f26e3||_0x18c9c5['anchorOffset']!=_0x56b31e)return!0x1;for(_0x56b31e=Math['min'](_0x56b31e,_0x2b2aae(_0x3f26e3));;)if(_0x56b31e){if(0x1!=_0x3f26e3['nodeType'])return!0x1;let _0x40ee5e=_0x3f26e3['childNodes'][_0x56b31e-0x1];'false'==_0x40ee5e['contentEditable']?_0x56b31e--:(_0x3f26e3=_0x40ee5e,_0x56b31e=_0x2b2aae(_0x3f26e3));}else{if(_0x3f26e3==_0x898d12)return!0x0;_0x56b31e=_0x14aad2(_0x3f26e3),_0x3f26e3=_0x3f26e3['parentNode'];}}(this['dom'],_0x1db80e)?(this['view']['inputState']['lastFocusTime']=0x0,_0x525ce7['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x1db80e),_0x58f64c&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x55699d,_0x2696c3){this['selectionRange']['set'](_0x55699d['node'],_0x55699d['offset'],_0x2696c3['node'],_0x2696c3['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x4af92c=0x0,_0x7ff589=null;for(let _0xe7255d=this['dom'];_0xe7255d;)if(0x1==_0xe7255d['nodeType'])!_0x7ff589&&_0x4af92c<this['scrollTargets']['length']&&this['scrollTargets'][_0x4af92c]==_0xe7255d?_0x4af92c++:_0x7ff589||(_0x7ff589=this['scrollTargets']['slice'](0x0,_0x4af92c)),_0x7ff589&&_0x7ff589['push'](_0xe7255d),_0xe7255d=_0xe7255d['assignedSlot']||_0xe7255d['parentNode'];else{if(0xb!=_0xe7255d['nodeType'])break;_0xe7255d=_0xe7255d['host'];}if(_0x4af92c<this['scrollTargets']['length']&&!_0x7ff589&&(_0x7ff589=this['scrollTargets']['slice'](0x0,_0x4af92c)),_0x7ff589){for(let _0x119799 of this['scrollTargets'])_0x119799['removeEventListener']('scroll',this['onScroll']);for(let _0x165512 of this['scrollTargets']=_0x7ff589)_0x165512['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x22556f){if(!this['active'])return _0x22556f();try{return this['stop'](),_0x22556f();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],_0x42eb6e),_0x261131&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),_0x261131&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x4a1064,_0x1b1804){var _0x32995a;if(!this['delayedAndroidKey']){let _0x2d025b=()=>{let _0x15d7f6=this['delayedAndroidKey'];_0x15d7f6&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x15d7f6['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x15d7f6['force']&&_0x4c7031(this['dom'],_0x15d7f6['key'],_0x15d7f6['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x2d025b);}this['delayedAndroidKey']&&'Enter'!=_0x4a1064||(this['delayedAndroidKey']={'key':_0x4a1064,'keyCode':_0x1b1804,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x32995a=this['delayedAndroidKey'])||void 0x0===_0x32995a?void 0x0:_0x32995a['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 _0x1408db of this['observer']['takeRecords']())this['queue']['push'](_0x1408db);return this['queue'];}['processRecords'](){let _0x217c74=this['pendingRecords']();_0x217c74['length']&&(this['queue']=[]);let _0x3b252e=-0x1,_0x27032a=-0x1,_0x58f1a4=!0x1;for(let _0x3a6464 of _0x217c74){let _0x168118=this['readMutation'](_0x3a6464);_0x168118&&(_0x168118['typeOver']&&(_0x58f1a4=!0x0),-0x1==_0x3b252e?{from:_0x3b252e,to:_0x27032a}=_0x168118:(_0x3b252e=Math['min'](_0x168118['from'],_0x3b252e),_0x27032a=Math['max'](_0x168118['to'],_0x27032a)));}return{'from':_0x3b252e,'to':_0x27032a,'typeOver':_0x58f1a4};}['readChange'](){let {from:_0x573a58,to:_0x2ed09c,typeOver:_0x345648}=this['processRecords'](),_0x12a46b=this['selectionChanged']&&_0x128bd7(this['dom'],this['selectionRange']);if(_0x573a58<0x0&&!_0x12a46b)return null;_0x573a58>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x4c4145=new _0x423150(this['view'],_0x573a58,_0x2ed09c,_0x345648);return this['view']['docView']['domChanged']={'newSel':_0x4c4145['newSel']?_0x4c4145['newSel']['main']:null},_0x4c4145;}['flush'](_0x761cf=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x761cf&&this['readSelectionRange']();let _0x4d17a3=this['readChange']();if(!_0x4d17a3)return this['view']['requestMeasure'](),!0x1;let _0x4b2244=this['view']['state'],_0x55c097=tw(this['view'],_0x4d17a3);return this['view']['state']==_0x4b2244&&(_0x4d17a3['domChanged']||_0x4d17a3['newSel']&&!_0x4d17a3['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x55c097;}['readMutation'](_0x3947eb){let _0x668244=this['view']['docView']['nearest'](_0x3947eb['target']);if(!_0x668244||_0x668244['ignoreMutation'](_0x3947eb))return null;if(_0x668244['markDirty']('attributes'==_0x3947eb['type']),'attributes'==_0x3947eb['type']&&(_0x668244['flags']|=0x4),'childList'==_0x3947eb['type']){let _0x2ee863=_0x37cfdb(_0x668244,_0x3947eb['previousSibling']||_0x3947eb['target']['previousSibling'],-0x1),_0x26d127=_0x37cfdb(_0x668244,_0x3947eb['nextSibling']||_0x3947eb['target']['nextSibling'],0x1);return{'from':_0x2ee863?_0x668244['posAfter'](_0x2ee863):_0x668244['posAtStart'],'to':_0x26d127?_0x668244['posBefore'](_0x26d127):_0x668244['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x3947eb['type']?{'from':_0x668244['posAtStart'],'to':_0x668244['posAtEnd'],'typeOver':_0x3947eb['target']['nodeValue']==_0x3947eb['oldValue']}:null;}['setWindow'](_0x3a39e5){_0x3a39e5!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x3a39e5,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x14d388){_0x14d388['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x14d388['addEventListener']('beforeprint',this['onPrint']),_0x14d388['addEventListener']('scroll',this['onScroll']),_0x14d388['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x1c637a){_0x1c637a['removeEventListener']('scroll',this['onScroll']),_0x1c637a['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x1c637a['removeEventListener']('beforeprint',this['onPrint']),_0x1c637a['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x27f29b){this['editContext']&&(this['editContext']['update'](_0x27f29b),_0x27f29b['startState']['facet'](_0x1a0c5c)!=_0x27f29b['state']['facet'](_0x1a0c5c)&&(_0x27f29b['view']['contentDOM']['editContext']=_0x27f29b['state']['facet'](_0x1a0c5c)?this['editContext']['editContext']:null));}['destroy'](){var _0x4e7b58,_0x376b51,_0x44a24e;this['stop'](),null===(_0x4e7b58=this['intersection'])||void 0x0===_0x4e7b58||_0x4e7b58['disconnect'](),null===(_0x376b51=this['gapIntersection'])||void 0x0===_0x376b51||_0x376b51['disconnect'](),null===(_0x44a24e=this['resizeScroll'])||void 0x0===_0x44a24e||_0x44a24e['disconnect']();for(let _0x1d4d0f of this['scrollTargets'])_0x1d4d0f['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 _0x37cfdb(_0x146793,_0x31506d,_0x1fd5e7){for(;_0x31506d;){let _0x20e553=ContentView['get'](_0x31506d);if(_0x20e553&&_0x20e553['parent']==_0x146793)return _0x20e553;let _0x4ba86c=_0x31506d['parentNode'];_0x31506d=_0x4ba86c!=_0x146793['dom']?_0x4ba86c:_0x1fd5e7>0x0?_0x31506d['nextSibling']:_0x31506d['previousSibling'];}return null;}function _0xf394b1(_0x1c3811,_0x44cfec){let _0xebabd8=_0x44cfec['startContainer'],_0x4a8d89=_0x44cfec['startOffset'],_0x35fe8c=_0x44cfec['endContainer'],_0x96068c=_0x44cfec['endOffset'],_0x2a63e7=_0x1c3811['docView']['domAtPos'](_0x1c3811['state']['selection']['main']['anchor']);return _0x18c80d(_0x2a63e7['node'],_0x2a63e7['offset'],_0x35fe8c,_0x96068c)&&([_0xebabd8,_0x4a8d89,_0x35fe8c,_0x96068c]=[_0x35fe8c,_0x96068c,_0xebabd8,_0x4a8d89]),{'anchorNode':_0xebabd8,'anchorOffset':_0x4a8d89,'focusNode':_0x35fe8c,'focusOffset':_0x96068c};}class EditContextManager{constructor(_0x36c902){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x36c902['state']);let _0x3727db=this['editContext']=new window['EditContext']({'text':_0x36c902['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x36c902['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x36c902['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x39f3c4=>{let _0x3369f7=_0x36c902['state']['selection']['main'],{anchor:_0x1d156c,head:_0x16ff01}=_0x3369f7,_0x3ac025=this['toEditorPos'](_0x39f3c4['updateRangeStart']),_0x4ffca7=this['toEditorPos'](_0x39f3c4['updateRangeEnd']);_0x36c902['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x39f3c4['updateRangeStart'],'editorBase':_0x3ac025,'drifted':!0x1});let _0x2b243c=_0x4ffca7-_0x3ac025>_0x39f3c4['text']['length'];_0x3ac025==this['from']&&_0x1d156c<this['from']?_0x3ac025=_0x1d156c:_0x4ffca7==this['to']&&_0x1d156c>this['to']&&(_0x4ffca7=_0x1d156c);let _0x2df65e=_0x1383c5(_0x36c902['state']['sliceDoc'](_0x3ac025,_0x4ffca7),_0x39f3c4['text'],(_0x2b243c?_0x3369f7['from']:_0x3369f7['to'])-_0x3ac025,_0x2b243c?'end':null);if(!_0x2df65e){let _0xee2d69=EditorSelection['single'](this['toEditorPos'](_0x39f3c4['selectionStart']),this['toEditorPos'](_0x39f3c4['selectionEnd']));return void(_0xee2d69['main']['eq'](_0x3369f7)||_0x36c902['dispatch']({'selection':_0xee2d69,'userEvent':'select'}));}let _0x7204bc={'from':_0x2df65e['from']+_0x3ac025,'to':_0x2df65e['toA']+_0x3ac025,'insert':Text['of'](_0x39f3c4['text']['slice'](_0x2df65e['from'],_0x2df65e['toB'])['split']('\x0a'))};if((_0x2c4476['mac']||_0x2c4476['android'])&&_0x7204bc['from']==_0x16ff01-0x1&&/^\. ?$/['test'](_0x39f3c4['text'])&&'off'==_0x36c902['contentDOM']['getAttribute']('autocorrect')&&(_0x7204bc={'from':_0x3ac025,'to':_0x4ffca7,'insert':Text['of']([_0x39f3c4['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x7204bc,!_0x36c902['state']['readOnly']){let _0x597fa8=this['to']-this['from']+(_0x7204bc['to']-_0x7204bc['from']+_0x7204bc['insert']['length']);_0x5db3c5(_0x36c902,_0x7204bc,EditorSelection['single'](this['toEditorPos'](_0x39f3c4['selectionStart'],_0x597fa8),this['toEditorPos'](_0x39f3c4['selectionEnd'],_0x597fa8)));}this['pendingContextChange']&&(this['revertPending'](_0x36c902['state']),this['setSelection'](_0x36c902['state'])),_0x7204bc['from']<_0x7204bc['to']&&!_0x7204bc['insert']['length']&&_0x36c902['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x3727db['text']['slice'](Math['max'](0x0,_0x39f3c4['updateRangeStart']-0x1),Math['min'](_0x3727db['text']['length'],_0x39f3c4['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x39f3c4);},this['handlers']['characterboundsupdate']=_0xcf30c1=>{let _0x3c2150=[],_0x1925e9=null;for(let _0x4d0aa2=this['toEditorPos'](_0xcf30c1['rangeStart']),_0x2319dd=this['toEditorPos'](_0xcf30c1['rangeEnd']);_0x4d0aa2<_0x2319dd;_0x4d0aa2++){let _0x4b72f9=_0x36c902['coordsForChar'](_0x4d0aa2);_0x1925e9=_0x4b72f9&&new DOMRect(_0x4b72f9['left'],_0x4b72f9['top'],_0x4b72f9['right']-_0x4b72f9['left'],_0x4b72f9['bottom']-_0x4b72f9['top'])||_0x1925e9||new DOMRect(),_0x3c2150['push'](_0x1925e9);}_0x3727db['updateCharacterBounds'](_0xcf30c1['rangeStart'],_0x3c2150);},this['handlers']['textformatupdate']=_0x181723=>{let _0x3ec81c=[];for(let _0x59c480 of _0x181723['getTextFormats']()){let _0x383d8f=_0x59c480['underlineStyle'],_0xb8e682=_0x59c480['underlineThickness'];if(!/none/i['test'](_0x383d8f)&&!/none/i['test'](_0xb8e682)){let _0x49bfcd=this['toEditorPos'](_0x59c480['rangeStart']),_0x57f533=this['toEditorPos'](_0x59c480['rangeEnd']);if(_0x49bfcd<_0x57f533){let _0x722243='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x383d8f)?_0x383d8f+'\x20':'Dashed'==_0x383d8f?'dashed\x20':'Squiggle'==_0x383d8f?'wavy\x20':'')+(/thin/i['test'](_0xb8e682)?0x1:0x2)+'px';_0x3ec81c['push'](Decoration['mark']({'attributes':{'style':_0x722243}})['range'](_0x49bfcd,_0x57f533));}}}_0x36c902['dispatch']({'effects':_0x37ea3a['of'](Decoration['set'](_0x3ec81c))});},this['handlers']['compositionstart']=()=>{_0x36c902['inputState']['composing']<0x0&&(_0x36c902['inputState']['composing']=0x0,_0x36c902['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x36c902['inputState']['composing']=-0x1,_0x36c902['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x210a11}=this['composing'];this['composing']=null,_0x210a11&&this['reset'](_0x36c902['state']);}};for(let _0x454686 in this['handlers'])_0x3727db['addEventListener'](_0x454686,this['handlers'][_0x454686]);this['measureReq']={'read':_0x49ddc4=>{this['editContext']['updateControlBounds'](_0x49ddc4['contentDOM']['getBoundingClientRect']());let _0x2c697f=_0x57e185(_0x49ddc4['root']);_0x2c697f&&_0x2c697f['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x2c697f['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x537b2b){let _0x3be5ab=0x0,_0x10027b=!0x1,_0x123f3b=this['pendingContextChange'];return _0x537b2b['changes']['iterChanges']((_0x1c03ea,_0xad98c9,_0x500cbe,_0x521c6a,_0x52ae17)=>{if(_0x10027b)return;let _0x2c0ed0=_0x52ae17['length']-(_0xad98c9-_0x1c03ea);if(_0x123f3b&&_0xad98c9>=_0x123f3b['to']){if(_0x123f3b['from']==_0x1c03ea&&_0x123f3b['to']==_0xad98c9&&_0x123f3b['insert']['eq'](_0x52ae17))return _0x123f3b=this['pendingContextChange']=null,_0x3be5ab+=_0x2c0ed0,void(this['to']+=_0x2c0ed0);_0x123f3b=null,this['revertPending'](_0x537b2b['state']);}if(_0x1c03ea+=_0x3be5ab,(_0xad98c9+=_0x3be5ab)<=this['from'])this['from']+=_0x2c0ed0,this['to']+=_0x2c0ed0;else{if(_0x1c03ea<this['to']){if(_0x1c03ea<this['from']||_0xad98c9>this['to']||this['to']-this['from']+_0x52ae17['length']>0x7530)return void(_0x10027b=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x1c03ea),this['toContextPos'](_0xad98c9),_0x52ae17['toString']()),this['to']+=_0x2c0ed0;}}_0x3be5ab+=_0x2c0ed0;}),_0x123f3b&&!_0x10027b&&this['revertPending'](_0x537b2b['state']),!_0x10027b;}['update'](_0x300010){let _0x1d20a4=this['pendingContextChange'],_0x3a5514=_0x300010['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x300010['changes']['touchesRange'](_0x3a5514['from'],_0x3a5514['to'])&&_0x300010['transactions']['some'](_0x519baa=>!_0x519baa['isUserEvent']('input.type')&&_0x519baa['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x300010['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x300010)&&this['rangeIsValid'](_0x300010['state'])?(_0x300010['docChanged']||_0x300010['selectionSet']||_0x1d20a4)&&this['setSelection'](_0x300010['state']):(this['pendingContextChange']=null,this['reset'](_0x300010['state'])),(_0x300010['geometryChanged']||_0x300010['docChanged']||_0x300010['selectionSet'])&&_0x300010['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x4c0247){let {head:_0xd2acdb}=_0x4c0247['selection']['main'];this['from']=Math['max'](0x0,_0xd2acdb-0x2710),this['to']=Math['min'](_0x4c0247['doc']['length'],_0xd2acdb+0x2710);}['reset'](_0x4d5dde){this['resetRange'](_0x4d5dde),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x4d5dde['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x4d5dde);}['revertPending'](_0x154e90){let _0x36c037=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x36c037['from']),this['toContextPos'](_0x36c037['from']+_0x36c037['insert']['length']),_0x154e90['doc']['sliceString'](_0x36c037['from'],_0x36c037['to']));}['setSelection'](_0x3bcfe5){let {main:_0x206e91}=_0x3bcfe5['selection'],_0x12ed09=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x206e91['anchor']))),_0x578661=this['toContextPos'](_0x206e91['head']);this['editContext']['selectionStart']==_0x12ed09&&this['editContext']['selectionEnd']==_0x578661||this['editContext']['updateSelection'](_0x12ed09,_0x578661);}['rangeIsValid'](_0x4a737f){let {head:_0x3ebecc}=_0x4a737f['selection']['main'];return!(this['from']>0x0&&_0x3ebecc-this['from']<0x1f4||this['to']<_0x4a737f['doc']['length']&&this['to']-_0x3ebecc<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x328471,_0x109134=this['to']-this['from']){_0x328471=Math['min'](_0x328471,_0x109134);let _0x4fec34=this['composing'];return _0x4fec34&&_0x4fec34['drifted']?_0x4fec34['editorBase']+(_0x328471-_0x4fec34['contextBase']):_0x328471+this['from'];}['toContextPos'](_0x360b13){let _0x2f2bd4=this['composing'];return _0x2f2bd4&&_0x2f2bd4['drifted']?_0x2f2bd4['contextBase']+(_0x360b13-_0x2f2bd4['editorBase']):_0x360b13-this['from'];}['destroy'](){for(let _0x18a11c in this['handlers'])this['editContext']['removeEventListener'](_0x18a11c,this['handlers'][_0x18a11c]);}}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(_0xc937b4={}){var _0x3ebef5;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']),_0xc937b4['parent']&&_0xc937b4['parent']['appendChild'](this['dom']);let {dispatch:_0x4b8d18}=_0xc937b4;this['dispatchTransactions']=_0xc937b4['dispatchTransactions']||_0x4b8d18&&(_0x4012d6=>_0x4012d6['forEach'](_0x1ff054=>_0x4b8d18(_0x1ff054,this)))||(_0xe9b272=>this['update'](_0xe9b272)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0xc937b4['root']||function(_0xc9b413){for(;_0xc9b413;){if(_0xc9b413&&(0x9==_0xc9b413['nodeType']||0xb==_0xc9b413['nodeType']&&_0xc9b413['host']))return _0xc9b413;_0xc9b413=_0xc9b413['assignedSlot']||_0xc9b413['parentNode'];}return null;}(_0xc937b4['parent'])||document,this['viewState']=new ViewState(_0xc937b4['state']||EditorState['create'](_0xc937b4)),_0xc937b4['scrollTo']&&_0xc937b4['scrollTo']['is'](_0x11e4ee)&&(this['viewState']['scrollTarget']=_0xc937b4['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x4333d6)['map'](_0x468bba=>new PluginInstance(_0x468bba));for(let _0xce4e88 of this['plugins'])_0xce4e88['update'](this);this['observer']=new _0x46ef55(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x41ab31(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x3ebef5=document['fonts'])||void 0x0===_0x3ebef5?void 0x0:_0x3ebef5['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x4fe8b1){let _0x1ae89d=0x1==_0x4fe8b1['length']&&_0x4fe8b1[0x0]instanceof Transaction?_0x4fe8b1:0x1==_0x4fe8b1['length']&&Array['isArray'](_0x4fe8b1[0x0])?_0x4fe8b1[0x0]:[this['state']['update'](..._0x4fe8b1)];this['dispatchTransactions'](_0x1ae89d,this);}['update'](_0x141c4b){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x196c55,_0x311b04=!0x1,_0x3aa337=!0x1,_0x33ee87=this['state'];for(let _0x334317 of _0x141c4b){if(_0x334317['startState']!=_0x33ee87)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x33ee87=_0x334317['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x33ee87);let _0x3b3d76=this['hasFocus'],_0x40e269=0x0,_0x87b13c=null;_0x141c4b['some'](_0x583d58=>_0x583d58['annotation'](_0x65474a))?(this['inputState']['notifiedFocused']=_0x3b3d76,_0x40e269=0x1):_0x3b3d76!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x3b3d76,_0x87b13c=_0x2b3d69(_0x33ee87,_0x3b3d76),_0x87b13c||(_0x40e269=0x1));let _0x5a1777=this['observer']['delayedAndroidKey'],_0x473896=null;if(_0x5a1777?(this['observer']['clearDelayedAndroidKey'](),_0x473896=this['observer']['readChange'](),(_0x473896&&!this['state']['doc']['eq'](_0x33ee87['doc'])||!this['state']['selection']['eq'](_0x33ee87['selection']))&&(_0x473896=null)):this['observer']['clear'](),_0x33ee87['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x33ee87);_0x196c55=ViewUpdate['create'](this,_0x33ee87,_0x141c4b),_0x196c55['flags']|=_0x40e269;let _0x18c669=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x50a268 of _0x141c4b){if(_0x18c669&&(_0x18c669=_0x18c669['map'](_0x50a268['changes'])),_0x50a268['scrollIntoView']){let {main:_0x2c845a}=_0x50a268['state']['selection'];_0x18c669=new ScrollTarget(_0x2c845a['empty']?_0x2c845a:EditorSelection['cursor'](_0x2c845a['head'],_0x2c845a['head']>_0x2c845a['anchor']?-0x1:0x1));}for(let _0x5e3bfd of _0x50a268['effects'])_0x5e3bfd['is'](_0x11e4ee)&&(_0x18c669=_0x5e3bfd['value']['clip'](this['state']));}this['viewState']['update'](_0x196c55,_0x18c669),this['bidiCache']=_0x47e46d['update'](this['bidiCache'],_0x196c55['changes']),_0x196c55['empty']||(this['updatePlugins'](_0x196c55),this['inputState']['update'](_0x196c55)),_0x311b04=this['docView']['update'](_0x196c55),this['state']['facet'](_0x432177)!=this['styleModules']&&this['mountStyles'](),_0x3aa337=this['updateAttrs'](),this['showAnnouncements'](_0x141c4b),this['docView']['updateSelection'](_0x311b04,_0x141c4b['some'](_0x3ddf88=>_0x3ddf88['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x196c55['startState']['facet'](_0x11c663)!=_0x196c55['state']['facet'](_0x11c663)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x311b04||_0x3aa337||_0x18c669||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x311b04&&this['docViewUpdate'](),!_0x196c55['empty']){for(let _0x29e0fd of this['state']['facet'](_0x3fda26))try{_0x29e0fd(_0x196c55);}catch(_0xefd6f){_0x2eda46(this['state'],_0xefd6f,'update\x20listener');}}(_0x87b13c||_0x473896)&&Promise['resolve']()['then'](()=>{_0x87b13c&&this['state']==_0x87b13c['startState']&&this['dispatch'](_0x87b13c),_0x473896&&!tw(this,_0x473896)&&_0x5a1777['force']&&_0x4c7031(this['contentDOM'],_0x5a1777['key'],_0x5a1777['keyCode']);});}['setState'](_0x8b3e41){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']=_0x8b3e41);this['updateState']=0x2;let _0x480f19=this['hasFocus'];try{for(let _0x4cdae7 of this['plugins'])_0x4cdae7['destroy'](this);this['viewState']=new ViewState(_0x8b3e41),this['plugins']=_0x8b3e41['facet'](_0x4333d6)['map'](_0x5e9384=>new PluginInstance(_0x5e9384)),this['pluginMap']['clear']();for(let _0xcb0ebd of this['plugins'])_0xcb0ebd['update'](this);this['docView']['destroy'](),this['docView']=new _0x41ab31(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x480f19&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x540a02){let _0x5c8969=_0x540a02['startState']['facet'](_0x4333d6),_0x2205d0=_0x540a02['state']['facet'](_0x4333d6);if(_0x5c8969!=_0x2205d0){let _0x535069=[];for(let _0x422b2d of _0x2205d0){let _0x26342d=_0x5c8969['indexOf'](_0x422b2d);if(_0x26342d<0x0)_0x535069['push'](new PluginInstance(_0x422b2d));else{let _0x38da1a=this['plugins'][_0x26342d];_0x38da1a['mustUpdate']=_0x540a02,_0x535069['push'](_0x38da1a);}}for(let _0x45dd9f of this['plugins'])_0x45dd9f['mustUpdate']!=_0x540a02&&_0x45dd9f['destroy'](this);this['plugins']=_0x535069,this['pluginMap']['clear']();}else{for(let _0x3c276b of this['plugins'])_0x3c276b['mustUpdate']=_0x540a02;}for(let _0x1fe619=0x0;_0x1fe619<this['plugins']['length'];_0x1fe619++)this['plugins'][_0x1fe619]['update'](this);_0x5c8969!=_0x2205d0&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0xbc91b3 of this['plugins']){let _0x584941=_0xbc91b3['value'];if(_0x584941&&_0x584941['docViewUpdate'])try{_0x584941['docViewUpdate'](this);}catch(_0x11238c){_0x2eda46(this['state'],_0x11238c,'doc\x20view\x20update\x20listener');}}}['measure'](_0x347fe2=!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,_0x347fe2&&this['observer']['forceFlush']();let _0x29e515=null,_0x40bf70=this['scrollDOM'],_0x5f099f=_0x40bf70['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x507892,scrollAnchorHeight:_0x42eef7}=this['viewState'];Math['abs'](_0x5f099f-this['viewState']['scrollTop'])>0x1&&(_0x42eef7=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x4e63b1=0x0;;_0x4e63b1++){if(_0x42eef7<0x0){if(_0x38ee4c(_0x40bf70))_0x507892=-0x1,_0x42eef7=this['viewState']['heightMap']['height'];else{let _0x418b0d=this['viewState']['scrollAnchorAt'](_0x5f099f);_0x507892=_0x418b0d['from'],_0x42eef7=_0x418b0d['top'];}}this['updateState']=0x1;let _0x127317=this['viewState']['measure'](this);if(!_0x127317&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x4e63b1>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x4fe4b7=[];0x4&_0x127317||([this['measureRequests'],_0x4fe4b7]=[_0x4fe4b7,this['measureRequests']]);let _0x4f1f70=_0x4fe4b7['map'](_0x40a9ac=>{try{return _0x40a9ac['read'](this);}catch(_0x890366){return _0x2eda46(this['state'],_0x890366),_0x8582e0;}}),_0x3ed3e1=ViewUpdate['create'](this,this['state'],[]),_0x2b0a40=!0x1;_0x3ed3e1['flags']|=_0x127317,_0x29e515?_0x29e515['flags']|=_0x127317:_0x29e515=_0x3ed3e1,this['updateState']=0x2,_0x3ed3e1['empty']||(this['updatePlugins'](_0x3ed3e1),this['inputState']['update'](_0x3ed3e1),this['updateAttrs'](),_0x2b0a40=this['docView']['update'](_0x3ed3e1),_0x2b0a40&&this['docViewUpdate']());for(let _0x21cc52=0x0;_0x21cc52<_0x4fe4b7['length'];_0x21cc52++)if(_0x4f1f70[_0x21cc52]!=_0x8582e0)try{let _0x232a5b=_0x4fe4b7[_0x21cc52];_0x232a5b['write']&&_0x232a5b['write'](_0x4f1f70[_0x21cc52],this);}catch(_0x1f430a){_0x2eda46(this['state'],_0x1f430a);}if(_0x2b0a40&&this['docView']['updateSelection'](!0x0),!_0x3ed3e1['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x42eef7=-0x1;continue;}{let _0x1c2fc7=(_0x507892<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x507892)['top'])-_0x42eef7;if(_0x1c2fc7>0x1||_0x1c2fc7<-0x1){_0x5f099f+=_0x1c2fc7,_0x40bf70['scrollTop']=_0x5f099f/this['scaleY'],_0x42eef7=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x29e515&&!_0x29e515['empty']){for(let _0x871ed1 of this['state']['facet'](_0x3fda26))_0x871ed1(_0x29e515);}}get['themeClasses'](){return _0x1c4601+'\x20'+(this['state']['facet'](_0x31ce37)?_0x3c3179:_0x11ec74)+'\x20'+this['state']['facet'](_0x11c663);}['updateAttrs'](){let _0x255ccf=_0x14ff11(this,_0x570611,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x22e6e0={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x1a0c5c)?'true':'false','class':'cm-content','style':_0x2c4476['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x22e6e0['aria-readonly']='true'),_0x14ff11(this,_0x2b6385,_0x22e6e0);let _0x2f97b7=this['observer']['ignore'](()=>{let _0x8a2517=_0x307e80(this['contentDOM'],this['contentAttrs'],_0x22e6e0),_0xd77ff9=_0x307e80(this['dom'],this['editorAttrs'],_0x255ccf);return _0x8a2517||_0xd77ff9;});return this['editorAttrs']=_0x255ccf,this['contentAttrs']=_0x22e6e0,_0x2f97b7;}['showAnnouncements'](_0x3c3c3b){let _0x3ad0e7=!0x0;for(let _0x970414 of _0x3c3c3b)for(let _0x2ccfd3 of _0x970414['effects'])_0x2ccfd3['is'](EditorView['announce'])&&(_0x3ad0e7&&(this['announceDOM']['textContent']=''),_0x3ad0e7=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x2ccfd3['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](_0x432177);let _0x30eeda=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x1a57c5)['reverse'](),_0x30eeda?{'nonce':_0x30eeda}: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'](_0x1087e3){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x1087e3){if(this['measureRequests']['indexOf'](_0x1087e3)>-0x1)return;if(null!=_0x1087e3['key']){for(let _0x233683=0x0;_0x233683<this['measureRequests']['length'];_0x233683++)if(this['measureRequests'][_0x233683]['key']===_0x1087e3['key'])return void(this['measureRequests'][_0x233683]=_0x1087e3);}this['measureRequests']['push'](_0x1087e3);}}['plugin'](_0xbfd1f8){let _0x5a342d=this['pluginMap']['get'](_0xbfd1f8);return(void 0x0===_0x5a342d||_0x5a342d&&_0x5a342d['plugin']!=_0xbfd1f8)&&this['pluginMap']['set'](_0xbfd1f8,_0x5a342d=this['plugins']['find'](_0x7f0b3b=>_0x7f0b3b['plugin']==_0xbfd1f8)||null),_0x5a342d&&_0x5a342d['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'](_0x5cf757){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x5cf757);}['lineBlockAtHeight'](_0xd4d3c5){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0xd4d3c5);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x264360){return this['viewState']['lineBlockAt'](_0x264360);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x345ee,_0x41928b,_0x121bed){return _0x1c26a7(this,_0x345ee,_0x27f72b(this,_0x345ee,_0x41928b,_0x121bed));}['moveByGroup'](_0x232450,_0x46798c){return _0x1c26a7(this,_0x232450,_0x27f72b(this,_0x232450,_0x46798c,_0x256af9=>function(_0x39ae65,_0x1c35ea,_0x5cf424){let _0x5e14da=_0x39ae65['state']['charCategorizer'](_0x1c35ea),_0x21dce0=_0x5e14da(_0x5cf424);return _0x11027a=>{let _0x1b6bfc=_0x5e14da(_0x11027a);return _0x21dce0==_0x1068b9['Space']&&(_0x21dce0=_0x1b6bfc),_0x21dce0==_0x1b6bfc;};}(this,_0x232450['head'],_0x256af9)));}['visualLineSide'](_0x146703,_0x402ba9){let _0x32fde8=this['bidiSpans'](_0x146703),_0xf0a61c=this['textDirectionAt'](_0x146703['from']),_0x3cde62=_0x32fde8[_0x402ba9?_0x32fde8['length']-0x1:0x0];return EditorSelection['cursor'](_0x3cde62['side'](_0x402ba9,_0xf0a61c)+_0x146703['from'],_0x3cde62['forward'](!_0x402ba9,_0xf0a61c)?0x1:-0x1);}['moveToLineBoundary'](_0x49f60c,_0x2d4490,_0x52b92c=!0x0){return function(_0x50684b,_0xdff1c3,_0x333ed5,_0x36579f){let _0x4cb951=_0x136f5e(_0x50684b,_0xdff1c3['head'],_0xdff1c3['assoc']||-0x1),_0x5561ac=_0x36579f&&_0x4cb951['type']==_0x5b6263['Text']&&(_0x50684b['lineWrapping']||_0x4cb951['widgetLineBreaks'])?_0x50684b['coordsAtPos'](_0xdff1c3['assoc']<0x0&&_0xdff1c3['head']>_0x4cb951['from']?_0xdff1c3['head']-0x1:_0xdff1c3['head']):null;if(_0x5561ac){let _0x247492=_0x50684b['dom']['getBoundingClientRect'](),_0x1041c2=_0x50684b['textDirectionAt'](_0x4cb951['from']),_0x26dbc2=_0x50684b['posAtCoords']({'x':_0x333ed5==(_0x1041c2==_0x2d6025['LTR'])?_0x247492['right']-0x1:_0x247492['left']+0x1,'y':(_0x5561ac['top']+_0x5561ac['bottom'])/0x2});if(null!=_0x26dbc2)return EditorSelection['cursor'](_0x26dbc2,_0x333ed5?-0x1:0x1);}return EditorSelection['cursor'](_0x333ed5?_0x4cb951['to']:_0x4cb951['from'],_0x333ed5?-0x1:0x1);}(this,_0x49f60c,_0x2d4490,_0x52b92c);}['moveVertically'](_0x200276,_0xe72b2e,_0x8d8197){return _0x1c26a7(this,_0x200276,function(_0x563567,_0x43a9e9,_0x40434b,_0x3d2d12){let _0x525955=_0x43a9e9['head'],_0x35d2ca=_0x40434b?0x1:-0x1;if(_0x525955==(_0x40434b?_0x563567['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x525955,_0x43a9e9['assoc']);let _0x4c0dc9,_0x42785b=_0x43a9e9['goalColumn'],_0x1317a5=_0x563567['contentDOM']['getBoundingClientRect'](),_0x250c5b=_0x563567['coordsAtPos'](_0x525955,_0x43a9e9['assoc']||-0x1),_0x13a562=_0x563567['documentTop'];if(_0x250c5b)null==_0x42785b&&(_0x42785b=_0x250c5b['left']-_0x1317a5['left']),_0x4c0dc9=_0x35d2ca<0x0?_0x250c5b['top']:_0x250c5b['bottom'];else{let _0x7faf2d=_0x563567['viewState']['lineBlockAt'](_0x525955);null==_0x42785b&&(_0x42785b=Math['min'](_0x1317a5['right']-_0x1317a5['left'],_0x563567['defaultCharacterWidth']*(_0x525955-_0x7faf2d['from']))),_0x4c0dc9=(_0x35d2ca<0x0?_0x7faf2d['top']:_0x7faf2d['bottom'])+_0x13a562;}let _0x3de9d8=_0x1317a5['left']+_0x42785b,_0xd5516=null!=_0x3d2d12?_0x3d2d12:_0x563567['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x142645=0x0;;_0x142645+=0xa){let _0x4617c2=_0x4c0dc9+(_0xd5516+_0x142645)*_0x35d2ca,_0x5a42ac=_0x5bfd82(_0x563567,{'x':_0x3de9d8,'y':_0x4617c2},!0x1,_0x35d2ca);if(_0x4617c2<_0x1317a5['top']||_0x4617c2>_0x1317a5['bottom']||(_0x35d2ca<0x0?_0x5a42ac<_0x525955:_0x5a42ac>_0x525955)){let _0x364b68=_0x563567['docView']['coordsForChar'](_0x5a42ac),_0x11919d=!_0x364b68||_0x4617c2<_0x364b68['top']?-0x1:0x1;return EditorSelection['cursor'](_0x5a42ac,_0x11919d,void 0x0,_0x42785b);}}}(this,_0x200276,_0xe72b2e,_0x8d8197));}['domAtPos'](_0x1158bc){return this['docView']['domAtPos'](_0x1158bc);}['posAtDOM'](_0x52857f,_0x3f33de=0x0){return this['docView']['posFromDOM'](_0x52857f,_0x3f33de);}['posAtCoords'](_0x3e0c9e,_0x330518=!0x0){return this['readMeasured'](),_0x5bfd82(this,_0x3e0c9e,_0x330518);}['coordsAtPos'](_0x158fdd,_0x140894=0x1){this['readMeasured']();let _0x1e7824=this['docView']['coordsAt'](_0x158fdd,_0x140894);if(!_0x1e7824||_0x1e7824['left']==_0x1e7824['right'])return _0x1e7824;let _0x5b6d33=this['state']['doc']['lineAt'](_0x158fdd),_0x4f58bf=this['bidiSpans'](_0x5b6d33);return _0x522b58(_0x1e7824,_0x4f58bf[_0x33b7cf['find'](_0x4f58bf,_0x158fdd-_0x5b6d33['from'],-0x1,_0x140894)]['dir']==_0x2d6025['LTR']==_0x140894>0x0);}['coordsForChar'](_0x22bf5d){return this['readMeasured'](),this['docView']['coordsForChar'](_0x22bf5d);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x151a4f){return!this['state']['facet'](_0x3f8414)||_0x151a4f<this['viewport']['from']||_0x151a4f>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x151a4f));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x1d8522){if(_0x1d8522['length']>tb)return _0x175922(_0x1d8522['length']);let _0x7e53a2,_0x1323d7=this['textDirectionAt'](_0x1d8522['from']);for(let _0x17c0af of this['bidiCache'])if(_0x17c0af['from']==_0x1d8522['from']&&_0x17c0af['dir']==_0x1323d7&&(_0x17c0af['fresh']||_0x5c905d(_0x17c0af['isolates'],_0x7e53a2=_0x241def(this,_0x1d8522))))return _0x17c0af['order'];_0x7e53a2||(_0x7e53a2=_0x241def(this,_0x1d8522));let _0x2d9c12=function(_0x21aef0,_0x3d622a,_0x27b8a0){if(!_0x21aef0)return[new _0x33b7cf(0x0,0x0,_0x3d622a==_0x5465e6?0x1:0x0)];if(_0x3d622a==_0x13fa0d&&!_0x27b8a0['length']&&!_0x3c8543['test'](_0x21aef0))return _0x175922(_0x21aef0['length']);if(_0x27b8a0['length']){for(;_0x21aef0['length']>_0x2f729d['length'];)_0x2f729d[_0x2f729d['length']]=0x100;}let _0x519726=[],_0x42471d=_0x3d622a==_0x13fa0d?0x0:0x1;return _0x8dea1(_0x21aef0,_0x42471d,_0x42471d,_0x27b8a0,0x0,_0x21aef0['length'],_0x519726),_0x519726;}(_0x1d8522['text'],_0x1323d7,_0x7e53a2);return this['bidiCache']['push'](new _0x47e46d(_0x1d8522['from'],_0x1d8522['to'],_0x1323d7,_0x7e53a2,!0x0,_0x2d9c12)),_0x2d9c12;}get['hasFocus'](){var _0x523565;return(this['dom']['ownerDocument']['hasFocus']()||_0x2c4476['safari']&&(null===(_0x523565=this['inputState'])||void 0x0===_0x523565?void 0x0:_0x523565['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x235cce(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x3d0de8){this['_root']!=_0x3d0de8&&(this['_root']=_0x3d0de8,this['observer']['setWindow']((0x9==_0x3d0de8['nodeType']?_0x3d0de8:_0x3d0de8['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x1d4a39 of this['plugins'])_0x1d4a39['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'](_0x4b86bd,_0x103969={}){return _0x11e4ee['of'](new ScrollTarget('number'==typeof _0x4b86bd?EditorSelection['cursor'](_0x4b86bd):_0x4b86bd,_0x103969['y'],_0x103969['x'],_0x103969['yMargin'],_0x103969['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x3307cb,scrollLeft:_0x2098c5}=this['scrollDOM'],_0xa4bcc1=this['viewState']['scrollAnchorAt'](_0x3307cb);return _0x11e4ee['of'](new ScrollTarget(EditorSelection['cursor'](_0xa4bcc1['from']),'start','start',_0xa4bcc1['top']-_0x3307cb,_0x2098c5,!0x0));}['setTabFocusMode'](_0x1a95f1){null==_0x1a95f1?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x1a95f1?this['inputState']['tabFocusMode']=_0x1a95f1?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x1a95f1);}static['domEventHandlers'](_0x3289a3){return _0xa40bbd['define'](()=>({}),{'eventHandlers':_0x3289a3});}static['domEventObservers'](_0x16a36f){return _0xa40bbd['define'](()=>({}),{'eventObservers':_0x16a36f});}static['theme'](_0x123915,_0x4aa565){let _0x2b7ef8=StyleModule['newName'](),_0xe5bd30=[_0x11c663['of'](_0x2b7ef8),_0x432177['of'](_0x4e2d64('.'+_0x2b7ef8,_0x123915))];return _0x4aa565&&_0x4aa565['dark']&&_0xe5bd30['push'](_0x31ce37['of'](!0x0)),_0xe5bd30;}static['baseTheme'](_0x2b07dd){return _0x271a11['lowest'](_0x432177['of'](_0x4e2d64('.'+_0x1c4601,_0x2b07dd,_0x307cbc)));}static['findFromDOM'](_0x25354c){var _0xea6d3a;let _0x4c4b7c=_0x25354c['querySelector']('.cm-content'),_0x5aa95f=_0x4c4b7c&&ContentView['get'](_0x4c4b7c)||ContentView['get'](_0x25354c);return(null===(_0xea6d3a=null==_0x5aa95f?void 0x0:_0x5aa95f['rootView'])||void 0x0===_0xea6d3a?void 0x0:_0xea6d3a['view'])||null;}}EditorView['styleModule']=_0x432177,EditorView['inputHandler']=_0x5699fa,EditorView['clipboardInputFilter']=_0x3ad89a,EditorView['clipboardOutputFilter']=_0x3c7aa9,EditorView['scrollHandler']=_0x109de1,EditorView['focusChangeEffect']=_0x381b4a,EditorView['perLineTextDirection']=_0x3f8414,EditorView['exceptionSink']=_0x69d4fc,EditorView['updateListener']=_0x3fda26,EditorView['editable']=_0x1a0c5c,EditorView['mouseSelectionStyle']=_0xf0a240,EditorView['dragMovesSelection']=_0x43702e,EditorView['clickAddsSelectionRange']=_0xa1e1d9,EditorView['decorations']=_0x347d54,EditorView['outerDecorations']=_0x4d8c7c,EditorView['atomicRanges']=_0x291ab4,EditorView['bidiIsolatedRanges']=_0x5153eb,EditorView['scrollMargins']=_0x54c36e,EditorView['darkTheme']=_0x31ce37,EditorView['cspNonce']=Facet['define']({'combine':_0x208eea=>_0x208eea['length']?_0x208eea[0x0]:''}),EditorView['contentAttributes']=_0x2b6385,EditorView['editorAttributes']=_0x570611,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const tb=0x1000,_0x8582e0={};class _0x47e46d{constructor(_0x17acd6,_0x5163c9,_0x4c318f,_0x5dd5c5,_0x1d4a4e,_0x3a3a7e){this['from']=_0x17acd6,this['to']=_0x5163c9,this['dir']=_0x4c318f,this['isolates']=_0x5dd5c5,this['fresh']=_0x1d4a4e,this['order']=_0x3a3a7e;}static['update'](_0xcfb3b5,_0x4c5a6b){if(_0x4c5a6b['empty']&&!_0xcfb3b5['some'](_0x8a6fba=>_0x8a6fba['fresh']))return _0xcfb3b5;let _0x175465=[],_0x1b948c=_0xcfb3b5['length']?_0xcfb3b5[_0xcfb3b5['length']-0x1]['dir']:_0x2d6025['LTR'];for(let _0x41c360=Math['max'](0x0,_0xcfb3b5['length']-0xa);_0x41c360<_0xcfb3b5['length'];_0x41c360++){let _0x20e432=_0xcfb3b5[_0x41c360];_0x20e432['dir']!=_0x1b948c||_0x4c5a6b['touchesRange'](_0x20e432['from'],_0x20e432['to'])||_0x175465['push'](new _0x47e46d(_0x4c5a6b['mapPos'](_0x20e432['from'],0x1),_0x4c5a6b['mapPos'](_0x20e432['to'],-0x1),_0x20e432['dir'],_0x20e432['isolates'],!0x1,_0x20e432['order']));}return _0x175465;}}function _0x14ff11(_0x102168,_0x15b7a9,_0x343225){for(let _0x518a2f=_0x102168['state']['facet'](_0x15b7a9),_0x576b1e=_0x518a2f['length']-0x1;_0x576b1e>=0x0;_0x576b1e--){let _0x4b133c=_0x518a2f[_0x576b1e],_0x4ab784='function'==typeof _0x4b133c?_0x4b133c(_0x102168):_0x4b133c;_0x4ab784&&_0x3eb8ad(_0x4ab784,_0x343225);}return _0x343225;}const _0x466031=_0x2c4476['mac']?'mac':_0x2c4476['windows']?'win':_0x2c4476['linux']?'linux':'key';function _0x3b5ffa(_0x1a3d5b,_0x56cf8c,_0x1d2f79){return _0x56cf8c['altKey']&&(_0x1a3d5b='Alt-'+_0x1a3d5b),_0x56cf8c['ctrlKey']&&(_0x1a3d5b='Ctrl-'+_0x1a3d5b),_0x56cf8c['metaKey']&&(_0x1a3d5b='Meta-'+_0x1a3d5b),!0x1!==_0x1d2f79&&_0x56cf8c['shiftKey']&&(_0x1a3d5b='Shift-'+_0x1a3d5b),_0x1a3d5b;}const _0x1875f8=_0x271a11['default'](EditorView['domEventHandlers']({'keydown':(_0x47fb63,_0x259dcc)=>function(_0x455b20,_0x3d55e8,_0x2c2aff,_0x5a1c42){_0x73741c=_0x3d55e8;let _0x24b3e2=function(_0x6223f5){var _0x237369=!(_0x3b7e92&&_0x6223f5['metaKey']&&_0x6223f5['shiftKey']&&!_0x6223f5['ctrlKey']&&!_0x6223f5['altKey']||_0xff64ab&&_0x6223f5['shiftKey']&&_0x6223f5['key']&&0x1==_0x6223f5['key']['length']||'Unidentified'==_0x6223f5['key'])&&_0x6223f5['key']||(_0x6223f5['shiftKey']?_0x382d9b:_0x23a820)[_0x6223f5['keyCode']]||_0x6223f5['key']||'Unidentified';return'Esc'==_0x237369&&(_0x237369='Escape'),'Del'==_0x237369&&(_0x237369='Delete'),'Left'==_0x237369&&(_0x237369='ArrowLeft'),'Up'==_0x237369&&(_0x237369='ArrowUp'),'Right'==_0x237369&&(_0x237369='ArrowRight'),'Down'==_0x237369&&(_0x237369='ArrowDown'),_0x237369;}(_0x3d55e8),_0x4e9f05=_0xcacbe4(_0x24b3e2,0x0),_0x19f75f=_0x245f61(_0x4e9f05)==_0x24b3e2['length']&&'\x20'!=_0x24b3e2,_0x3c43b2='',_0x49ad65=!0x1,_0x8a4aba=!0x1,_0x1ea34a=!0x1;_0x233f99&&_0x233f99['view']==_0x2c2aff&&_0x233f99['scope']==_0x5a1c42&&(_0x3c43b2=_0x233f99['prefix']+'\x20',_0x22199c['indexOf'](_0x3d55e8['keyCode'])<0x0&&(_0x8a4aba=!0x0,_0x233f99=null));let _0x4ffb66,_0x7a2eb5,_0x2dec3c=new Set(),_0x286168=_0x58bf56=>{if(_0x58bf56){for(let _0x225ed7 of _0x58bf56['run'])if(!_0x2dec3c['has'](_0x225ed7)&&(_0x2dec3c['add'](_0x225ed7),_0x225ed7(_0x2c2aff)))return _0x58bf56['stopPropagation']&&(_0x1ea34a=!0x0),!0x0;_0x58bf56['preventDefault']&&(_0x58bf56['stopPropagation']&&(_0x1ea34a=!0x0),_0x8a4aba=!0x0);}return!0x1;},_0x36204c=_0x455b20[_0x5a1c42];return _0x36204c&&(_0x286168(_0x36204c[_0x3c43b2+_0x3b5ffa(_0x24b3e2,_0x3d55e8,!_0x19f75f)])?_0x49ad65=!0x0:!_0x19f75f||!(_0x3d55e8['altKey']||_0x3d55e8['metaKey']||_0x3d55e8['ctrlKey'])||_0x2c4476['windows']&&_0x3d55e8['ctrlKey']&&_0x3d55e8['altKey']||_0x2c4476['mac']&&_0x3d55e8['altKey']&&!_0x3d55e8['ctrlKey']&&!_0x3d55e8['metaKey']||!(_0x4ffb66=_0x23a820[_0x3d55e8['keyCode']])||_0x4ffb66==_0x24b3e2?_0x19f75f&&_0x3d55e8['shiftKey']&&_0x286168(_0x36204c[_0x3c43b2+_0x3b5ffa(_0x24b3e2,_0x3d55e8,!0x0)])&&(_0x49ad65=!0x0):(_0x286168(_0x36204c[_0x3c43b2+_0x3b5ffa(_0x4ffb66,_0x3d55e8,!0x0)])||_0x3d55e8['shiftKey']&&(_0x7a2eb5=_0x382d9b[_0x3d55e8['keyCode']])!=_0x24b3e2&&_0x7a2eb5!=_0x4ffb66&&_0x286168(_0x36204c[_0x3c43b2+_0x3b5ffa(_0x7a2eb5,_0x3d55e8,!0x1)]))&&(_0x49ad65=!0x0),!_0x49ad65&&_0x286168(_0x36204c['_any'])&&(_0x49ad65=!0x0)),_0x8a4aba&&(_0x49ad65=!0x0),_0x49ad65&&_0x1ea34a&&_0x3d55e8['stopPropagation'](),(_0x73741c=null,_0x49ad65);}(function(_0xe7b6b){let _0x1444ca=_0xe7b6b['facet'](_0x406f2e),_0x26e240=_0x1267c2['get'](_0x1444ca);return _0x26e240||_0x1267c2['set'](_0x1444ca,_0x26e240=function(_0x52b6ab,_0x101ccb=_0x466031){let _0x337178=Object['create'](null),_0x3e630a=Object['create'](null),_0xefcd78=(_0x36bf95,_0x2b9691)=>{let _0x4e8671=_0x3e630a[_0x36bf95];if(null==_0x4e8671)_0x3e630a[_0x36bf95]=_0x2b9691;else{if(_0x4e8671!=_0x2b9691)throw new Error('Key\x20binding\x20'+_0x36bf95+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x4916e5=(_0x30787f,_0x91f94b,_0x115a8d,_0x571742,_0x1a0180)=>{var _0x16994f,_0x2f819b;let _0x343c58=_0x337178[_0x30787f]||(_0x337178[_0x30787f]=Object['create'](null)),_0x4fb0bd=_0x91f94b['split'](/ (?!$)/)['map'](_0x516812=>function(_0x1c72e3,_0x5e7854){const _0x4558fe=_0x1c72e3['split'](/-(?!$)/);let _0x39d3a,_0xc72a37,_0x1a9052,_0x722104,_0x303a37=_0x4558fe[_0x4558fe['length']-0x1];'Space'==_0x303a37&&(_0x303a37='\x20');for(let _0x970a7e=0x0;_0x970a7e<_0x4558fe['length']-0x1;++_0x970a7e){const _0x43333b=_0x4558fe[_0x970a7e];if(/^(cmd|meta|m)$/i['test'](_0x43333b))_0x722104=!0x0;else{if(/^a(lt)?$/i['test'](_0x43333b))_0x39d3a=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x43333b))_0xc72a37=!0x0;else{if(/^s(hift)?$/i['test'](_0x43333b))_0x1a9052=!0x0;else{if(!/^mod$/i['test'](_0x43333b))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x43333b);'mac'==_0x5e7854?_0x722104=!0x0:_0xc72a37=!0x0;}}}}}return _0x39d3a&&(_0x303a37='Alt-'+_0x303a37),_0xc72a37&&(_0x303a37='Ctrl-'+_0x303a37),_0x722104&&(_0x303a37='Meta-'+_0x303a37),_0x1a9052&&(_0x303a37='Shift-'+_0x303a37),_0x303a37;}(_0x516812,_0x101ccb));for(let _0x9049b2=0x1;_0x9049b2<_0x4fb0bd['length'];_0x9049b2++){let _0x565718=_0x4fb0bd['slice'](0x0,_0x9049b2)['join']('\x20');_0xefcd78(_0x565718,!0x0),_0x343c58[_0x565718]||(_0x343c58[_0x565718]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x312d8e=>{let _0x54be63=_0x233f99={'view':_0x312d8e,'prefix':_0x565718,'scope':_0x30787f};return setTimeout(()=>{_0x233f99==_0x54be63&&(_0x233f99=null);},_0x481154),!0x0;}]});}let _0x121992=_0x4fb0bd['join']('\x20');_0xefcd78(_0x121992,!0x1);let _0x54860d=_0x343c58[_0x121992]||(_0x343c58[_0x121992]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x2f819b=null===(_0x16994f=_0x343c58['_any'])||void 0x0===_0x16994f?void 0x0:_0x16994f['run'])||void 0x0===_0x2f819b?void 0x0:_0x2f819b['slice']())||[]});_0x115a8d&&_0x54860d['run']['push'](_0x115a8d),_0x571742&&(_0x54860d['preventDefault']=!0x0),_0x1a0180&&(_0x54860d['stopPropagation']=!0x0);};for(let _0x53e53e of _0x52b6ab){let _0x4a7437=_0x53e53e['scope']?_0x53e53e['scope']['split']('\x20'):['editor'];if(_0x53e53e['any'])for(let _0x1686ea of _0x4a7437){let _0x1e59a7=_0x337178[_0x1686ea]||(_0x337178[_0x1686ea]=Object['create'](null));_0x1e59a7['_any']||(_0x1e59a7['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x378f3a}=_0x53e53e;for(let _0x3b48e7 in _0x1e59a7)_0x1e59a7[_0x3b48e7]['run']['push'](_0x317212=>_0x378f3a(_0x317212,_0x73741c));}let _0x41940b=_0x53e53e[_0x101ccb]||_0x53e53e['key'];if(_0x41940b){for(let _0x3bf72e of _0x4a7437)_0x4916e5(_0x3bf72e,_0x41940b,_0x53e53e['run'],_0x53e53e['preventDefault'],_0x53e53e['stopPropagation']),_0x53e53e['shift']&&_0x4916e5(_0x3bf72e,'Shift-'+_0x41940b,_0x53e53e['shift'],_0x53e53e['preventDefault'],_0x53e53e['stopPropagation']);}}return _0x337178;}(_0x1444ca['reduce']((_0x1d91d6,_0x31a869)=>_0x1d91d6['concat'](_0x31a869),[]))),_0x26e240;}(_0x259dcc['state']),_0x47fb63,_0x259dcc,'editor')})),_0x406f2e=Facet['define']({'enables':_0x1875f8}),_0x1267c2=new WeakMap();let _0x233f99=null;const _0x481154=0xfa0;let _0x73741c=null;class RectangleMarker{constructor(_0xfe1355,_0x8051b0,_0x5cd5e5,_0x25ceca,_0x4cb56b){this['className']=_0xfe1355,this['left']=_0x8051b0,this['top']=_0x5cd5e5,this['width']=_0x25ceca,this['height']=_0x4cb56b;}['draw'](){let _0x532f02=document['createElement']('div');return _0x532f02['className']=this['className'],this['adjust'](_0x532f02),_0x532f02;}['update'](_0x459a51,_0x4ddb8f){return _0x4ddb8f['className']==this['className']&&(this['adjust'](_0x459a51),!0x0);}['adjust'](_0xaa6bd5){_0xaa6bd5['style']['left']=this['left']+'px',_0xaa6bd5['style']['top']=this['top']+'px',null!=this['width']&&(_0xaa6bd5['style']['width']=this['width']+'px'),_0xaa6bd5['style']['height']=this['height']+'px';}['eq'](_0x524f7d){return this['left']==_0x524f7d['left']&&this['top']==_0x524f7d['top']&&this['width']==_0x524f7d['width']&&this['height']==_0x524f7d['height']&&this['className']==_0x524f7d['className'];}static['forRange'](_0x407dc7,_0x5a96f1,_0x44d455){if(_0x44d455['empty']){let _0x499987=_0x407dc7['coordsAtPos'](_0x44d455['head'],_0x44d455['assoc']||0x1);if(!_0x499987)return[];let _0x4e8f83=_0x3268b3(_0x407dc7);return[new RectangleMarker(_0x5a96f1,_0x499987['left']-_0x4e8f83['left'],_0x499987['top']-_0x4e8f83['top'],null,_0x499987['bottom']-_0x499987['top'])];}return function(_0x3a72be,_0x14f84f,_0x3a290b){if(_0x3a290b['to']<=_0x3a72be['viewport']['from']||_0x3a290b['from']>=_0x3a72be['viewport']['to'])return[];let _0x3eb03d=Math['max'](_0x3a290b['from'],_0x3a72be['viewport']['from']),_0x6b847e=Math['min'](_0x3a290b['to'],_0x3a72be['viewport']['to']),_0x4096b4=_0x3a72be['textDirection']==_0x2d6025['LTR'],_0x58c268=_0x3a72be['contentDOM'],_0x2b3946=_0x58c268['getBoundingClientRect'](),_0x2352ca=_0x3268b3(_0x3a72be),_0x50ffa8=_0x58c268['querySelector']('.cm-line'),_0xc8ab3=_0x50ffa8&&window['getComputedStyle'](_0x50ffa8),_0x344a4e=_0x2b3946['left']+(_0xc8ab3?parseInt(_0xc8ab3['paddingLeft'])+Math['min'](0x0,parseInt(_0xc8ab3['textIndent'])):0x0),_0x18700c=_0x2b3946['right']-(_0xc8ab3?parseInt(_0xc8ab3['paddingRight']):0x0),_0x3d7580=_0x136f5e(_0x3a72be,_0x3eb03d,0x1),_0x14e996=_0x136f5e(_0x3a72be,_0x6b847e,-0x1),_0xe16a0a=_0x3d7580['type']==_0x5b6263['Text']?_0x3d7580:null,_0x4b21ee=_0x14e996['type']==_0x5b6263['Text']?_0x14e996:null;_0xe16a0a&&(_0x3a72be['lineWrapping']||_0x3d7580['widgetLineBreaks'])&&(_0xe16a0a=_0x22fa86(_0x3a72be,_0x3eb03d,0x1,_0xe16a0a)),_0x4b21ee&&(_0x3a72be['lineWrapping']||_0x14e996['widgetLineBreaks'])&&(_0x4b21ee=_0x22fa86(_0x3a72be,_0x6b847e,-0x1,_0x4b21ee));if(_0xe16a0a&&_0x4b21ee&&_0xe16a0a['from']==_0x4b21ee['from']&&_0xe16a0a['to']==_0x4b21ee['to'])return _0x3fc589(_0x5dc475(_0x3a290b['from'],_0x3a290b['to'],_0xe16a0a));{let _0x13a8ff=_0xe16a0a?_0x5dc475(_0x3a290b['from'],null,_0xe16a0a):_0x3effe5(_0x3d7580,!0x1),_0x365ce3=_0x4b21ee?_0x5dc475(null,_0x3a290b['to'],_0x4b21ee):_0x3effe5(_0x14e996,!0x0),_0x1ad9df=[];return(_0xe16a0a||_0x3d7580)['to']<(_0x4b21ee||_0x14e996)['from']-(_0xe16a0a&&_0x4b21ee?0x1:0x0)||_0x3d7580['widgetLineBreaks']>0x1&&_0x13a8ff['bottom']+_0x3a72be['defaultLineHeight']/0x2<_0x365ce3['top']?_0x1ad9df['push'](_0x12c4e9(_0x344a4e,_0x13a8ff['bottom'],_0x18700c,_0x365ce3['top'])):_0x13a8ff['bottom']<_0x365ce3['top']&&_0x3a72be['elementAtHeight']((_0x13a8ff['bottom']+_0x365ce3['top'])/0x2)['type']==_0x5b6263['Text']&&(_0x13a8ff['bottom']=_0x365ce3['top']=(_0x13a8ff['bottom']+_0x365ce3['top'])/0x2),_0x3fc589(_0x13a8ff)['concat'](_0x1ad9df)['concat'](_0x3fc589(_0x365ce3));}function _0x12c4e9(_0x37415f,_0x5c4642,_0x2976b3,_0x9e9274){return new RectangleMarker(_0x14f84f,_0x37415f-_0x2352ca['left'],_0x5c4642-_0x2352ca['top'],_0x2976b3-_0x37415f,_0x9e9274-_0x5c4642);}function _0x3fc589({top:_0x342121,bottom:_0x3b4678,horizontal:_0x30e830}){let _0x3c205e=[];for(let _0x50f156=0x0;_0x50f156<_0x30e830['length'];_0x50f156+=0x2)_0x3c205e['push'](_0x12c4e9(_0x30e830[_0x50f156],_0x342121,_0x30e830[_0x50f156+0x1],_0x3b4678));return _0x3c205e;}function _0x5dc475(_0x32b23b,_0x4474e5,_0x52507b){let _0x3a1609=0x3b9aca00,_0x1fead5=-0x3b9aca00,_0x18fc03=[];function _0x3f6ac6(_0x33ef0d,_0x49c284,_0x1e4071,_0x1340be,_0x4cb60e){let _0x1cbd89=_0x3a72be['coordsAtPos'](_0x33ef0d,_0x33ef0d==_0x52507b['to']?-0x2:0x2),_0x5a45a2=_0x3a72be['coordsAtPos'](_0x1e4071,_0x1e4071==_0x52507b['from']?0x2:-0x2);_0x1cbd89&&_0x5a45a2&&(_0x3a1609=Math['min'](_0x1cbd89['top'],_0x5a45a2['top'],_0x3a1609),_0x1fead5=Math['max'](_0x1cbd89['bottom'],_0x5a45a2['bottom'],_0x1fead5),_0x4cb60e==_0x2d6025['LTR']?_0x18fc03['push'](_0x4096b4&&_0x49c284?_0x344a4e:_0x1cbd89['left'],_0x4096b4&&_0x1340be?_0x18700c:_0x5a45a2['right']):_0x18fc03['push'](!_0x4096b4&&_0x1340be?_0x344a4e:_0x5a45a2['left'],!_0x4096b4&&_0x49c284?_0x18700c:_0x1cbd89['right']));}let _0x5dde3a=null!=_0x32b23b?_0x32b23b:_0x52507b['from'],_0x54902d=null!=_0x4474e5?_0x4474e5:_0x52507b['to'];for(let _0x460f36 of _0x3a72be['visibleRanges'])if(_0x460f36['to']>_0x5dde3a&&_0x460f36['from']<_0x54902d)for(let _0x19a2de=Math['max'](_0x460f36['from'],_0x5dde3a),_0x2b3d5a=Math['min'](_0x460f36['to'],_0x54902d);;){let _0x27a412=_0x3a72be['state']['doc']['lineAt'](_0x19a2de);for(let _0x4f94b0 of _0x3a72be['bidiSpans'](_0x27a412)){let _0x57eab8=_0x4f94b0['from']+_0x27a412['from'],_0x495dd5=_0x4f94b0['to']+_0x27a412['from'];if(_0x57eab8>=_0x2b3d5a)break;_0x495dd5>_0x19a2de&&_0x3f6ac6(Math['max'](_0x57eab8,_0x19a2de),null==_0x32b23b&&_0x57eab8<=_0x5dde3a,Math['min'](_0x495dd5,_0x2b3d5a),null==_0x4474e5&&_0x495dd5>=_0x54902d,_0x4f94b0['dir']);}if(_0x19a2de=_0x27a412['to']+0x1,_0x19a2de>=_0x2b3d5a)break;}return 0x0==_0x18fc03['length']&&_0x3f6ac6(_0x5dde3a,null==_0x32b23b,_0x54902d,null==_0x4474e5,_0x3a72be['textDirection']),{'top':_0x3a1609,'bottom':_0x1fead5,'horizontal':_0x18fc03};}function _0x3effe5(_0x482533,_0x1163f7){let _0x49a769=_0x2b3946['top']+(_0x1163f7?_0x482533['top']:_0x482533['bottom']);return{'top':_0x49a769,'bottom':_0x49a769,'horizontal':[]};}}(_0x407dc7,_0x5a96f1,_0x44d455);}}function _0x3268b3(_0x4702c4){let _0x382773=_0x4702c4['scrollDOM']['getBoundingClientRect']();return{'left':(_0x4702c4['textDirection']==_0x2d6025['LTR']?_0x382773['left']:_0x382773['right']-_0x4702c4['scrollDOM']['clientWidth']*_0x4702c4['scaleX'])-_0x4702c4['scrollDOM']['scrollLeft']*_0x4702c4['scaleX'],'top':_0x382773['top']-_0x4702c4['scrollDOM']['scrollTop']*_0x4702c4['scaleY']};}function _0x22fa86(_0x3973fb,_0x16bd3e,_0x116572,_0x121c80){let _0x990f3b=_0x3973fb['coordsAtPos'](_0x16bd3e,0x2*_0x116572);if(!_0x990f3b)return _0x121c80;let _0x5460e1=_0x3973fb['dom']['getBoundingClientRect'](),_0x53348a=(_0x990f3b['top']+_0x990f3b['bottom'])/0x2,_0x37760b=_0x3973fb['posAtCoords']({'x':_0x5460e1['left']+0x1,'y':_0x53348a}),_0x62d168=_0x3973fb['posAtCoords']({'x':_0x5460e1['right']-0x1,'y':_0x53348a});return null==_0x37760b||null==_0x62d168?_0x121c80:{'from':Math['max'](_0x121c80['from'],Math['min'](_0x37760b,_0x62d168)),'to':Math['min'](_0x121c80['to'],Math['max'](_0x37760b,_0x62d168))};}class _0x8a170a{constructor(_0x5de291,_0x1e15a0){this['view']=_0x5de291,this['layer']=_0x1e15a0,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x5de291['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x1e15a0['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x1e15a0['class']&&this['dom']['classList']['add'](_0x1e15a0['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x5de291['state']),_0x5de291['requestMeasure'](this['measureReq']),_0x1e15a0['mount']&&_0x1e15a0['mount'](this['dom'],_0x5de291);}['update'](_0x3ee21b){_0x3ee21b['startState']['facet'](_0x3f0122)!=_0x3ee21b['state']['facet'](_0x3f0122)&&this['setOrder'](_0x3ee21b['state']),(this['layer']['update'](_0x3ee21b,this['dom'])||_0x3ee21b['geometryChanged'])&&(this['scale'](),_0x3ee21b['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x5479e6){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x5479e6['requestMeasure'](this['measureReq']);}['setOrder'](_0x437924){let _0x519841=0x0,_0x255771=_0x437924['facet'](_0x3f0122);for(;_0x519841<_0x255771['length']&&_0x255771[_0x519841]!=this['layer'];)_0x519841++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x519841);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x226795,scaleY:_0x1dd8f8}=this['view'];_0x226795==this['scaleX']&&_0x1dd8f8==this['scaleY']||(this['scaleX']=_0x226795,this['scaleY']=_0x1dd8f8,this['dom']['style']['transform']='scale('+0x1/_0x226795+',\x20'+0x1/_0x1dd8f8+')');}['draw'](_0x117326){if(_0x117326['length']!=this['drawn']['length']||_0x117326['some']((_0x50d9c9,_0x147605)=>!function(_0x292f7c,_0x3b8b5d){return _0x292f7c['constructor']==_0x3b8b5d['constructor']&&_0x292f7c['eq'](_0x3b8b5d);}(_0x50d9c9,this['drawn'][_0x147605]))){let _0xebd0bd=this['dom']['firstChild'],_0x12cf7b=0x0;for(let _0x25c5b5 of _0x117326)_0x25c5b5['update']&&_0xebd0bd&&_0x25c5b5['constructor']&&this['drawn'][_0x12cf7b]['constructor']&&_0x25c5b5['update'](_0xebd0bd,this['drawn'][_0x12cf7b])?(_0xebd0bd=_0xebd0bd['nextSibling'],_0x12cf7b++):this['dom']['insertBefore'](_0x25c5b5['draw'](),_0xebd0bd);for(;_0xebd0bd;){let _0x1eb9f5=_0xebd0bd['nextSibling'];_0xebd0bd['remove'](),_0xebd0bd=_0x1eb9f5;}this['drawn']=_0x117326,_0x2c4476['safari']&&_0x2c4476['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x3f0122=Facet['define']();function _0x4e700d(_0x49596b){return[_0xa40bbd['define'](_0x3b2f40=>new _0x8a170a(_0x3b2f40,_0x49596b)),_0x3f0122['of'](_0x49596b)];}const _0x1501d1=Facet['define']({'combine':_0x23fe71=>_0x2df370(_0x23fe71,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x4016af,_0x42f48c)=>Math['min'](_0x4016af,_0x42f48c),'drawRangeCursor':(_0x384bea,_0x343dce)=>_0x384bea||_0x343dce})});function _0x313783(_0x9acc0d={}){return[_0x1501d1['of'](_0x9acc0d),_0x3bb6b5,_0x1e4af0,_0x47dd78,_0x3f5253['of'](!0x0)];}function _0x3a4429(_0x28270c){return _0x28270c['startState']['facet'](_0x1501d1)!=_0x28270c['state']['facet'](_0x1501d1);}const _0x3bb6b5=_0x4e700d({'above':!0x0,'markers'(_0x130d43){let {state:_0x25175c}=_0x130d43,_0x348024=_0x25175c['facet'](_0x1501d1),_0x57dff0=[];for(let _0x1ec7fc of _0x25175c['selection']['ranges']){let _0x1d0481=_0x1ec7fc==_0x25175c['selection']['main'];if(_0x1ec7fc['empty']||_0x348024['drawRangeCursor']){let _0x50b790=_0x1d0481?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x5717cf=_0x1ec7fc['empty']?_0x1ec7fc:EditorSelection['cursor'](_0x1ec7fc['head'],_0x1ec7fc['head']>_0x1ec7fc['anchor']?-0x1:0x1);for(let _0x2b8cb8 of RectangleMarker['forRange'](_0x130d43,_0x50b790,_0x5717cf))_0x57dff0['push'](_0x2b8cb8);}}return _0x57dff0;},'update'(_0x5906b1,_0xf9a85b){_0x5906b1['transactions']['some'](_0x21b69f=>_0x21b69f['selection'])&&(_0xf9a85b['style']['animationName']='cm-blink'==_0xf9a85b['style']['animationName']?'cm-blink2':'cm-blink');let _0x317f6e=_0x3a4429(_0x5906b1);return _0x317f6e&&_0x23761a(_0x5906b1['state'],_0xf9a85b),_0x5906b1['docChanged']||_0x5906b1['selectionSet']||_0x317f6e;},'mount'(_0x411b70,_0x35057d){_0x23761a(_0x35057d['state'],_0x411b70);},'class':'cm-cursorLayer'});function _0x23761a(_0xd3530d,_0x839bbf){_0x839bbf['style']['animationDuration']=_0xd3530d['facet'](_0x1501d1)['cursorBlinkRate']+'ms';}const _0x1e4af0=_0x4e700d({'above':!0x1,'markers':_0x32371b=>_0x32371b['state']['selection']['ranges']['map'](_0x38e298=>_0x38e298['empty']?[]:RectangleMarker['forRange'](_0x32371b,'cm-selectionBackground',_0x38e298))['reduce']((_0x4c71bf,_0xed674d)=>_0x4c71bf['concat'](_0xed674d)),'update':(_0x38fccb,_0x18415a)=>_0x38fccb['docChanged']||_0x38fccb['selectionSet']||_0x38fccb['viewportChanged']||_0x3a4429(_0x38fccb),'class':'cm-selectionLayer'}),_0x47dd78=_0x271a11['highest'](EditorView['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'}}}})),_0xd84bb7=StateEffect['define']({'map':(_0x425a60,_0x19389d)=>null==_0x425a60?null:_0x19389d['mapPos'](_0x425a60)}),_0xca7db7=StateField['define']({'create':()=>null,'update':(_0x3ca9e7,_0x4a3e9d)=>(null!=_0x3ca9e7&&(_0x3ca9e7=_0x4a3e9d['changes']['mapPos'](_0x3ca9e7)),_0x4a3e9d['effects']['reduce']((_0x5e98df,_0x1669ee)=>_0x1669ee['is'](_0xd84bb7)?_0x1669ee['value']:_0x5e98df,_0x3ca9e7))}),_0xc96ff7=_0xa40bbd['fromClass'](class{constructor(_0x2a6818){this['view']=_0x2a6818,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x38689a){var _0x19dd8f;let _0x10f8d6=_0x38689a['state']['field'](_0xca7db7);null==_0x10f8d6?null!=this['cursor']&&(null===(_0x19dd8f=this['cursor'])||void 0x0===_0x19dd8f||_0x19dd8f['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x38689a['startState']['field'](_0xca7db7)!=_0x10f8d6||_0x38689a['docChanged']||_0x38689a['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x54e1ca}=this,_0x365d1a=_0x54e1ca['state']['field'](_0xca7db7),_0x4c12aa=null!=_0x365d1a&&_0x54e1ca['coordsAtPos'](_0x365d1a);if(!_0x4c12aa)return null;let _0x2a5ace=_0x54e1ca['scrollDOM']['getBoundingClientRect']();return{'left':_0x4c12aa['left']-_0x2a5ace['left']+_0x54e1ca['scrollDOM']['scrollLeft']*_0x54e1ca['scaleX'],'top':_0x4c12aa['top']-_0x2a5ace['top']+_0x54e1ca['scrollDOM']['scrollTop']*_0x54e1ca['scaleY'],'height':_0x4c12aa['bottom']-_0x4c12aa['top']};}['drawCursor'](_0x471ac2){if(this['cursor']){let {scaleX:_0x5b42a4,scaleY:_0x57a5a7}=this['view'];_0x471ac2?(this['cursor']['style']['left']=_0x471ac2['left']/_0x5b42a4+'px',this['cursor']['style']['top']=_0x471ac2['top']/_0x57a5a7+'px',this['cursor']['style']['height']=_0x471ac2['height']/_0x57a5a7+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x35507f){this['view']['state']['field'](_0xca7db7)!=_0x35507f&&this['view']['dispatch']({'effects':_0xd84bb7['of'](_0x35507f)});}},{'eventObservers':{'dragover'(_0xe6d808){this['setDropPos'](this['view']['posAtCoords']({'x':_0xe6d808['clientX'],'y':_0xe6d808['clientY']}));},'dragleave'(_0x763a21){_0x763a21['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x763a21['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x5e3548(){return[_0xca7db7,_0xc96ff7];}function _0x253a25(_0x23845c,_0x5e5188,_0x445791,_0x2c97c0,_0x1b912){_0x5e5188['lastIndex']=0x0;for(let _0xd6711b,_0x5ec0ca=_0x23845c['iterRange'](_0x445791,_0x2c97c0),_0x2a726d=_0x445791;!_0x5ec0ca['next']()['done'];_0x2a726d+=_0x5ec0ca['value']['length'])if(!_0x5ec0ca['lineBreak']){for(;_0xd6711b=_0x5e5188['exec'](_0x5ec0ca['value']);)_0x1b912(_0x2a726d+_0xd6711b['index'],_0xd6711b);}}class MatchDecorator{constructor(_0x2ea10d){const {regexp:_0x214c64,decoration:_0x442e1b,decorate:_0x85f25a,boundary:_0x4dbbd2,maxLength:_0x33df10=0x3e8}=_0x2ea10d;if(!_0x214c64['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x214c64,_0x85f25a)this['addMatch']=(_0x2d4a9b,_0x44b4ff,_0xd6e6c8,_0x3c212f)=>_0x85f25a(_0x3c212f,_0xd6e6c8,_0xd6e6c8+_0x2d4a9b[0x0]['length'],_0x2d4a9b,_0x44b4ff);else{if('function'==typeof _0x442e1b)this['addMatch']=(_0x4617a0,_0x48261f,_0x25c98e,_0x183c03)=>{let _0xf597e6=_0x442e1b(_0x4617a0,_0x48261f,_0x25c98e);_0xf597e6&&_0x183c03(_0x25c98e,_0x25c98e+_0x4617a0[0x0]['length'],_0xf597e6);};else{if(!_0x442e1b)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x1b7b0d,_0x4d9d68,_0x48555e,_0x1c2861)=>_0x1c2861(_0x48555e,_0x48555e+_0x1b7b0d[0x0]['length'],_0x442e1b);}}this['boundary']=_0x4dbbd2,this['maxLength']=_0x33df10;}['createDeco'](_0x2dcec5){let _0x240f28=new RangeSetBuilder(),_0x43cc0d=_0x240f28['add']['bind'](_0x240f28);for(let {from:_0x1a8f86,to:_0x415f81}of function(_0x2627ad,_0xc6a9c1){let _0x1c561e=_0x2627ad['visibleRanges'];if(0x1==_0x1c561e['length']&&_0x1c561e[0x0]['from']==_0x2627ad['viewport']['from']&&_0x1c561e[0x0]['to']==_0x2627ad['viewport']['to'])return _0x1c561e;let _0x2189c3=[];for(let {from:_0x41fbf5,to:_0x4c87b2}of _0x1c561e)_0x41fbf5=Math['max'](_0x2627ad['state']['doc']['lineAt'](_0x41fbf5)['from'],_0x41fbf5-_0xc6a9c1),_0x4c87b2=Math['min'](_0x2627ad['state']['doc']['lineAt'](_0x4c87b2)['to'],_0x4c87b2+_0xc6a9c1),_0x2189c3['length']&&_0x2189c3[_0x2189c3['length']-0x1]['to']>=_0x41fbf5?_0x2189c3[_0x2189c3['length']-0x1]['to']=_0x4c87b2:_0x2189c3['push']({'from':_0x41fbf5,'to':_0x4c87b2});return _0x2189c3;}(_0x2dcec5,this['maxLength']))_0x253a25(_0x2dcec5['state']['doc'],this['regexp'],_0x1a8f86,_0x415f81,(_0x1d5453,_0x111fe0)=>this['addMatch'](_0x111fe0,_0x2dcec5,_0x1d5453,_0x43cc0d));return _0x240f28['finish']();}['updateDeco'](_0x2cbaf5,_0x48682b){let _0xf2ade7=0x3b9aca00,_0x7ee68d=-0x1;return _0x2cbaf5['docChanged']&&_0x2cbaf5['changes']['iterChanges']((_0x5c46c0,_0x20c314,_0x5ba4a8,_0x42b235)=>{_0x42b235>=_0x2cbaf5['view']['viewport']['from']&&_0x5ba4a8<=_0x2cbaf5['view']['viewport']['to']&&(_0xf2ade7=Math['min'](_0x5ba4a8,_0xf2ade7),_0x7ee68d=Math['max'](_0x42b235,_0x7ee68d));}),_0x2cbaf5['viewportMoved']||_0x7ee68d-_0xf2ade7>0x3e8?this['createDeco'](_0x2cbaf5['view']):_0x7ee68d>-0x1?this['updateRange'](_0x2cbaf5['view'],_0x48682b['map'](_0x2cbaf5['changes']),_0xf2ade7,_0x7ee68d):_0x48682b;}['updateRange'](_0x41e553,_0x1f9b5a,_0x5c9757,_0x194222){for(let _0x18dada of _0x41e553['visibleRanges']){let _0x4f68c7=Math['max'](_0x18dada['from'],_0x5c9757),_0x70ebfb=Math['min'](_0x18dada['to'],_0x194222);if(_0x70ebfb>=_0x4f68c7){let _0x2c3043=_0x41e553['state']['doc']['lineAt'](_0x4f68c7),_0x310d38=_0x2c3043['to']<_0x70ebfb?_0x41e553['state']['doc']['lineAt'](_0x70ebfb):_0x2c3043,_0x45d321=Math['max'](_0x18dada['from'],_0x2c3043['from']),_0x3ed47b=Math['min'](_0x18dada['to'],_0x310d38['to']);if(this['boundary']){for(;_0x4f68c7>_0x2c3043['from'];_0x4f68c7--)if(this['boundary']['test'](_0x2c3043['text'][_0x4f68c7-0x1-_0x2c3043['from']])){_0x45d321=_0x4f68c7;break;}for(;_0x70ebfb<_0x310d38['to'];_0x70ebfb++)if(this['boundary']['test'](_0x310d38['text'][_0x70ebfb-_0x310d38['from']])){_0x3ed47b=_0x70ebfb;break;}}let _0x448d91,_0xd7cde8=[],_0x128748=(_0x7397aa,_0x279f4b,_0x28ed4b)=>_0xd7cde8['push'](_0x28ed4b['range'](_0x7397aa,_0x279f4b));if(_0x2c3043==_0x310d38){for(this['regexp']['lastIndex']=_0x45d321-_0x2c3043['from'];(_0x448d91=this['regexp']['exec'](_0x2c3043['text']))&&_0x448d91['index']<_0x3ed47b-_0x2c3043['from'];)this['addMatch'](_0x448d91,_0x41e553,_0x448d91['index']+_0x2c3043['from'],_0x128748);}else _0x253a25(_0x41e553['state']['doc'],this['regexp'],_0x45d321,_0x3ed47b,(_0x420196,_0x1c99b5)=>this['addMatch'](_0x1c99b5,_0x41e553,_0x420196,_0x128748));_0x1f9b5a=_0x1f9b5a['update']({'filterFrom':_0x45d321,'filterTo':_0x3ed47b,'filter':(_0x4c75f3,_0x5b22a1)=>_0x4c75f3<_0x45d321||_0x5b22a1>_0x3ed47b,'add':_0xd7cde8});}}return _0x1f9b5a;}}const _0x57c4d8=null!=/x/['unicode']?'gu':'g',_0x2d0081=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x57c4d8),_0x44fa7e={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 _0x279829=null;const _0x192ed1=Facet['define']({'combine'(_0x469963){let _0x1d379c=_0x2df370(_0x469963,{'render':null,'specialChars':_0x2d0081,'addSpecialChars':null});return(_0x1d379c['replaceTabs']=!(function(){var _0x5c31c4;if(null==_0x279829&&'undefined'!=typeof document&&document['body']){let _0x1ba682=document['body']['style'];_0x279829=null!=(null!==(_0x5c31c4=_0x1ba682['tabSize'])&&void 0x0!==_0x5c31c4?_0x5c31c4:_0x1ba682['MozTabSize']);}return _0x279829||!0x1;}()))&&(_0x1d379c['specialChars']=new RegExp('\x09|'+_0x1d379c['specialChars']['source'],_0x57c4d8)),_0x1d379c['addSpecialChars']&&(_0x1d379c['specialChars']=new RegExp(_0x1d379c['specialChars']['source']+'|'+_0x1d379c['addSpecialChars']['source'],_0x57c4d8)),_0x1d379c;}});function _0x12a35d(_0x2260e9={}){return[_0x192ed1['of'](_0x2260e9),_0x5c8885||(_0x5c8885=_0xa40bbd['fromClass'](class{constructor(_0x2e11e0){this['view']=_0x2e11e0,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x2e11e0['state']['facet'](_0x192ed1)),this['decorations']=this['decorator']['createDeco'](_0x2e11e0);}['makeDecorator'](_0x5c0ae5){return new MatchDecorator({'regexp':_0x5c0ae5['specialChars'],'decoration':(_0x26dca1,_0x4125c5,_0x523ffe)=>{let {doc:_0x1a5497}=_0x4125c5['state'],_0x48a193=_0xcacbe4(_0x26dca1[0x0],0x0);if(0x9==_0x48a193){let _0x346dea=_0x1a5497['lineAt'](_0x523ffe),_0x1746c2=_0x4125c5['state']['tabSize'],_0x486fbf=_0x13abfb(_0x346dea['text'],_0x1746c2,_0x523ffe-_0x346dea['from']);return Decoration['replace']({'widget':new TabWidget((_0x1746c2-_0x486fbf%_0x1746c2)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x48a193]||(this['decorationCache'][_0x48a193]=Decoration['replace']({'widget':new SpecialCharWidget(_0x5c0ae5,_0x48a193)}));},'boundary':_0x5c0ae5['replaceTabs']?void 0x0:/[^]/});}['update'](_0x2b01c3){let _0x18018d=_0x2b01c3['state']['facet'](_0x192ed1);_0x2b01c3['startState']['facet'](_0x192ed1)!=_0x18018d?(this['decorator']=this['makeDecorator'](_0x18018d),this['decorations']=this['decorator']['createDeco'](_0x2b01c3['view'])):this['decorations']=this['decorator']['updateDeco'](_0x2b01c3,this['decorations']);}},{'decorations':_0x4d234a=>_0x4d234a['decorations']}))];}let _0x5c8885=null;class SpecialCharWidget extends WidgetType{constructor(_0x20ef06,_0x2bb1c3){super(),this['options']=_0x20ef06,this['code']=_0x2bb1c3;}['eq'](_0x2fc1a5){return _0x2fc1a5['code']==this['code'];}['toDOM'](_0x246d0c){let _0x675461=function(_0x3df124){return _0x3df124>=0x20?'•':0xa==_0x3df124?'␤':String['fromCharCode'](0x2400+_0x3df124);}(this['code']),_0x1cc47a=_0x246d0c['state']['phrase']('Control\x20character')+'\x20'+(_0x44fa7e[this['code']]||'0x'+this['code']['toString'](0x10)),_0x4e8d61=this['options']['render']&&this['options']['render'](this['code'],_0x1cc47a,_0x675461);if(_0x4e8d61)return _0x4e8d61;let _0x2f4377=document['createElement']('span');return _0x2f4377['textContent']=_0x675461,_0x2f4377['title']=_0x1cc47a,_0x2f4377['setAttribute']('aria-label',_0x1cc47a),_0x2f4377['className']='cm-specialChar',_0x2f4377;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x25437){super(),this['width']=_0x25437;}['eq'](_0x510fac){return _0x510fac['width']==this['width'];}['toDOM'](){let _0x413ea6=document['createElement']('span');return _0x413ea6['textContent']='\x09',_0x413ea6['className']='cm-tab',_0x413ea6['style']['width']=this['width']+'px',_0x413ea6;}['ignoreEvent'](){return!0x1;}}function _0x11dc69(){return _0x54c40c;}const _0x15c41a=Decoration['line']({'class':'cm-activeLine'}),_0x54c40c=_0xa40bbd['fromClass'](class{constructor(_0x56ca21){this['decorations']=this['getDeco'](_0x56ca21);}['update'](_0xff88a7){(_0xff88a7['docChanged']||_0xff88a7['selectionSet'])&&(this['decorations']=this['getDeco'](_0xff88a7['view']));}['getDeco'](_0x406e75){let _0x254bfb=-0x1,_0x3ea8a6=[];for(let _0x3f24e3 of _0x406e75['state']['selection']['ranges']){let _0x18d8a4=_0x406e75['lineBlockAt'](_0x3f24e3['head']);_0x18d8a4['from']>_0x254bfb&&(_0x3ea8a6['push'](_0x15c41a['range'](_0x18d8a4['from'])),_0x254bfb=_0x18d8a4['from']);}return Decoration['set'](_0x3ea8a6);}},{'decorations':_0x225d16=>_0x225d16['decorations']}),_0xcdd769=0x7d0;function _0x5b5157(_0x497f33,_0x472ac9){let _0x1b9919=_0x497f33['posAtCoords']({'x':_0x472ac9['clientX'],'y':_0x472ac9['clientY']},!0x1),_0x50a903=_0x497f33['state']['doc']['lineAt'](_0x1b9919),_0x3d528e=_0x1b9919-_0x50a903['from'],_0x4d45f1=_0x3d528e>_0xcdd769?-0x1:_0x3d528e==_0x50a903['length']?function(_0x2032af,_0x4aba11){let _0x4bca0e=_0x2032af['coordsAtPos'](_0x2032af['viewport']['from']);return _0x4bca0e?Math['round'](Math['abs']((_0x4bca0e['left']-_0x4aba11)/_0x2032af['defaultCharacterWidth'])):-0x1;}(_0x497f33,_0x472ac9['clientX']):_0x13abfb(_0x50a903['text'],_0x497f33['state']['tabSize'],_0x1b9919-_0x50a903['from']);return{'line':_0x50a903['number'],'col':_0x4d45f1,'off':_0x3d528e};}function _0x52984b(_0xb3cb20,_0x1160f5){let _0xe302e5=_0x5b5157(_0xb3cb20,_0x1160f5),_0x338063=_0xb3cb20['state']['selection'];return _0xe302e5?{'update'(_0x49945c){if(_0x49945c['docChanged']){let _0x4bfde9=_0x49945c['changes']['mapPos'](_0x49945c['startState']['doc']['line'](_0xe302e5['line'])['from']),_0x7eeec=_0x49945c['state']['doc']['lineAt'](_0x4bfde9);_0xe302e5={'line':_0x7eeec['number'],'col':_0xe302e5['col'],'off':Math['min'](_0xe302e5['off'],_0x7eeec['length'])},_0x338063=_0x338063['map'](_0x49945c['changes']);}},'get'(_0x4f8b21,_0x10057e,_0x113026){let _0x29cfa6=_0x5b5157(_0xb3cb20,_0x4f8b21);if(!_0x29cfa6)return _0x338063;let _0x4b3089=function(_0x4d14c5,_0xb07410,_0x1ee069){let _0x5cfc5d=Math['min'](_0xb07410['line'],_0x1ee069['line']),_0x527718=Math['max'](_0xb07410['line'],_0x1ee069['line']),_0x8a56e5=[];if(_0xb07410['off']>_0xcdd769||_0x1ee069['off']>_0xcdd769||_0xb07410['col']<0x0||_0x1ee069['col']<0x0){let _0x99e8ec=Math['min'](_0xb07410['off'],_0x1ee069['off']),_0x2e2e19=Math['max'](_0xb07410['off'],_0x1ee069['off']);for(let _0x5c9d73=_0x5cfc5d;_0x5c9d73<=_0x527718;_0x5c9d73++){let _0xfc0592=_0x4d14c5['doc']['line'](_0x5c9d73);_0xfc0592['length']<=_0x2e2e19&&_0x8a56e5['push'](EditorSelection['range'](_0xfc0592['from']+_0x99e8ec,_0xfc0592['to']+_0x2e2e19));}}else{let _0x346cbe=Math['min'](_0xb07410['col'],_0x1ee069['col']),_0x329b32=Math['max'](_0xb07410['col'],_0x1ee069['col']);for(let _0x240b8a=_0x5cfc5d;_0x240b8a<=_0x527718;_0x240b8a++){let _0x1d7d8a=_0x4d14c5['doc']['line'](_0x240b8a),_0x5cbd34=_0x1ffbe9(_0x1d7d8a['text'],_0x346cbe,_0x4d14c5['tabSize'],!0x0);if(_0x5cbd34<0x0)_0x8a56e5['push'](EditorSelection['cursor'](_0x1d7d8a['to']));else{let _0x130ad1=_0x1ffbe9(_0x1d7d8a['text'],_0x329b32,_0x4d14c5['tabSize']);_0x8a56e5['push'](EditorSelection['range'](_0x1d7d8a['from']+_0x5cbd34,_0x1d7d8a['from']+_0x130ad1));}}}return _0x8a56e5;}(_0xb3cb20['state'],_0xe302e5,_0x29cfa6);return _0x4b3089['length']?_0x113026?EditorSelection['create'](_0x4b3089['concat'](_0x338063['ranges'])):EditorSelection['create'](_0x4b3089):_0x338063;}}:null;}function _0x2cc81d(_0x2d174f){return EditorView['mouseSelectionStyle']['of']((_0x299377,_0x2d6035)=>{return(_0x995b1b=_0x2d6035)['altKey']&&0x0==_0x995b1b['button']?_0x52984b(_0x299377,_0x2d6035):null;var _0x995b1b;});}const _0x69a653={'Alt':[0x12,_0x2937eb=>!!_0x2937eb['altKey']],'Control':[0x11,_0x34a46e=>!!_0x34a46e['ctrlKey']],'Shift':[0x10,_0x4eb9dc=>!!_0x4eb9dc['shiftKey']],'Meta':[0x5b,_0x4f9349=>!!_0x4f9349['metaKey']]},_0x375b61={'style':'cursor:\x20crosshair'};function _0x1d9b52(_0x2d4b38={}){let [_0x3c873b,_0x3fc637]=_0x69a653[_0x2d4b38['key']||'Alt'],_0x142aee=_0xa40bbd['fromClass'](class{constructor(_0x193013){this['view']=_0x193013,this['isDown']=!0x1;}['set'](_0x28b265){this['isDown']!=_0x28b265&&(this['isDown']=_0x28b265,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x10dec5){this['set'](_0x10dec5['keyCode']==_0x3c873b||_0x3fc637(_0x10dec5));},'keyup'(_0x25f9b9){_0x25f9b9['keyCode']!=_0x3c873b&&_0x3fc637(_0x25f9b9)||this['set'](!0x1);},'mousemove'(_0x36ae2f){this['set'](_0x3fc637(_0x36ae2f));}}});return[_0x142aee,EditorView['contentAttributes']['of'](_0x5d6845=>{var _0x541c67;return(null===(_0x541c67=_0x5d6845['plugin'](_0x142aee))||void 0x0===_0x541c67?void 0x0:_0x541c67['isDown'])?_0x375b61:null;})];}const _0x47516f='-10000px';class TooltipViewManager{constructor(_0x12fef9,_0x31a2a0,_0x5abcb9,_0x59e77b){this['facet']=_0x31a2a0,this['createTooltipView']=_0x5abcb9,this['removeTooltipView']=_0x59e77b,this['input']=_0x12fef9['state']['facet'](_0x31a2a0),this['tooltips']=this['input']['filter'](t=>t);let _0x2ab08f=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x2ab08f=_0x5abcb9(t,_0x2ab08f));}['update'](_0x1caed2,_0x2f3f96){var _0x1623ae;let _0x3e5724=_0x1caed2['state']['facet'](this['facet']),_0xfd9e3a=_0x3e5724['filter'](_0x58cb85=>_0x58cb85);if(_0x3e5724===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x1caed2);return!0x1;}let _0x41012f=[],_0xa16914=_0x2f3f96?[]:null;for(let _0x2271a4=0x0;_0x2271a4<_0xfd9e3a['length'];_0x2271a4++){let _0x3fd196=_0xfd9e3a[_0x2271a4],_0x41f12b=-0x1;if(_0x3fd196){for(let _0x630f5e=0x0;_0x630f5e<this['tooltips']['length'];_0x630f5e++){let _0x18a236=this['tooltips'][_0x630f5e];_0x18a236&&_0x18a236['create']==_0x3fd196['create']&&(_0x41f12b=_0x630f5e);}if(_0x41f12b<0x0)_0x41012f[_0x2271a4]=this['createTooltipView'](_0x3fd196,_0x2271a4?_0x41012f[_0x2271a4-0x1]:null),_0xa16914&&(_0xa16914[_0x2271a4]=!!_0x3fd196['above']);else{let _0x25bfea=_0x41012f[_0x2271a4]=this['tooltipViews'][_0x41f12b];_0xa16914&&(_0xa16914[_0x2271a4]=_0x2f3f96[_0x41f12b]),_0x25bfea['update']&&_0x25bfea['update'](_0x1caed2);}}}for(let t of this['tooltipViews'])_0x41012f['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x1623ae=t['destroy'])||void 0x0===_0x1623ae||_0x1623ae['call'](t));return _0x2f3f96&&(_0xa16914['forEach']((_0x519d0b,_0x3960e7)=>_0x2f3f96[_0x3960e7]=_0x519d0b),_0x2f3f96['length']=_0xa16914['length']),this['input']=_0x3e5724,this['tooltips']=_0xfd9e3a,this['tooltipViews']=_0x41012f,!0x0;}}function _0x5d1724(_0x39b16b){let _0x5e3d08=_0x39b16b['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x5e3d08['clientHeight'],'right':_0x5e3d08['clientWidth']};}const _0x37f9bb=Facet['define']({'combine':_0x565c5f=>{var _0x15fec9,_0x5310f9,_0x35f181;return{'position':_0x2c4476['ios']?'absolute':(null===(_0x15fec9=_0x565c5f['find'](_0x577eae=>_0x577eae['position']))||void 0x0===_0x15fec9?void 0x0:_0x15fec9['position'])||'fixed','parent':(null===(_0x5310f9=_0x565c5f['find'](_0x38156e=>_0x38156e['parent']))||void 0x0===_0x5310f9?void 0x0:_0x5310f9['parent'])||null,'tooltipSpace':(null===(_0x35f181=_0x565c5f['find'](_0x425479=>_0x425479['tooltipSpace']))||void 0x0===_0x35f181?void 0x0:_0x35f181['tooltipSpace'])||_0x5d1724};}}),_0x804fa9=new WeakMap(),_0x335a95=_0xa40bbd['fromClass'](class{constructor(_0x272b20){this['view']=_0x272b20,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x1d4270=_0x272b20['state']['facet'](_0x37f9bb);this['position']=_0x1d4270['position'],this['parent']=_0x1d4270['parent'],this['classes']=_0x272b20['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new TooltipViewManager(_0x272b20,_0x18ec71,(t,_0x5789d5)=>this['createTooltip'](t,_0x5789d5),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(_0x10fb2d=>{Date['now']()>this['lastTransaction']-0x32&&_0x10fb2d['length']>0x0&&_0x10fb2d[_0x10fb2d['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x272b20['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 _0x18b44b of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x18b44b['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x54e545){_0x54e545['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x184837=this['manager']['update'](_0x54e545,this['above']);_0x184837&&this['observeIntersection']();let _0x142757=_0x184837||_0x54e545['geometryChanged'],_0x3232be=_0x54e545['state']['facet'](_0x37f9bb);if(_0x3232be['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x3232be['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x142757=!0x0;}if(_0x3232be['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x3232be['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x142757=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x142757&&this['maybeMeasure']();}['createTooltip'](_0x215088,_0x22e71f){let _0x39b7f9=_0x215088['create'](this['view']),_0x50a1c1=_0x22e71f?_0x22e71f['dom']:null;if(_0x39b7f9['dom']['classList']['add']('cm-tooltip'),_0x215088['arrow']&&!_0x39b7f9['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x15afad=document['createElement']('div');_0x15afad['className']='cm-tooltip-arrow',_0x39b7f9['dom']['appendChild'](_0x15afad);}return _0x39b7f9['dom']['style']['position']=this['position'],_0x39b7f9['dom']['style']['top']=_0x47516f,_0x39b7f9['dom']['style']['left']='0px',this['container']['insertBefore'](_0x39b7f9['dom'],_0x50a1c1),_0x39b7f9['mount']&&_0x39b7f9['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x39b7f9['dom']),_0x39b7f9;}['destroy'](){var _0x153897,_0x43f011,_0x203cc7;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x3e496c of this['manager']['tooltipViews'])_0x3e496c['dom']['remove'](),null===(_0x153897=_0x3e496c['destroy'])||void 0x0===_0x153897||_0x153897['call'](_0x3e496c);this['parent']&&this['container']['remove'](),null===(_0x43f011=this['resizeObserver'])||void 0x0===_0x43f011||_0x43f011['disconnect'](),null===(_0x203cc7=this['intersectionObserver'])||void 0x0===_0x203cc7||_0x203cc7['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x506e23=0x1,_0x1d1b32=0x1,_0xa6a1f0=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x2d1289}=this['manager']['tooltipViews'][0x0];if(_0x2c4476['gecko'])_0xa6a1f0=_0x2d1289['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x2d1289['style']['top']==_0x47516f&&'0px'==_0x2d1289['style']['left']){let _0x1295ad=_0x2d1289['getBoundingClientRect']();_0xa6a1f0=Math['abs'](_0x1295ad['top']+0x2710)>0x1||Math['abs'](_0x1295ad['left'])>0x1;}}}if(_0xa6a1f0||'absolute'==this['position']){if(this['parent']){let _0x3f6af9=this['parent']['getBoundingClientRect']();_0x3f6af9['width']&&_0x3f6af9['height']&&(_0x506e23=_0x3f6af9['width']/this['parent']['offsetWidth'],_0x1d1b32=_0x3f6af9['height']/this['parent']['offsetHeight']);}else({scaleX:_0x506e23,scaleY:_0x1d1b32}=this['view']['viewState']);}let _0x295acd=this['view']['scrollDOM']['getBoundingClientRect'](),_0x5e8238=_0x1b8ea7(this['view']);return{'visible':{'left':_0x295acd['left']+_0x5e8238['left'],'top':_0x295acd['top']+_0x5e8238['top'],'right':_0x295acd['right']-_0x5e8238['right'],'bottom':_0x295acd['bottom']-_0x5e8238['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x5c7ddb)=>{let _0x123dfd=this['manager']['tooltipViews'][_0x5c7ddb];return _0x123dfd['getCoords']?_0x123dfd['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x179fbc})=>_0x179fbc['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0x37f9bb)['tooltipSpace'](this['view']),'scaleX':_0x506e23,'scaleY':_0x1d1b32,'makeAbsolute':_0xa6a1f0};}['writeMeasure'](_0x282b75){var _0x216703;if(_0x282b75['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x42c00e,space:_0x457c54,scaleX:_0x451d6b,scaleY:_0x4d2eb3}=_0x282b75,_0x2e7121=[];for(let _0x4d8bec=0x0;_0x4d8bec<this['manager']['tooltips']['length'];_0x4d8bec++){let _0x5f2093=this['manager']['tooltips'][_0x4d8bec],_0x4116a1=this['manager']['tooltipViews'][_0x4d8bec],{dom:_0x5c8467}=_0x4116a1,_0xf66422=_0x282b75['pos'][_0x4d8bec],_0x488ce0=_0x282b75['size'][_0x4d8bec];if(!_0xf66422||!0x1!==_0x5f2093['clip']&&(_0xf66422['bottom']<=Math['max'](_0x42c00e['top'],_0x457c54['top'])||_0xf66422['top']>=Math['min'](_0x42c00e['bottom'],_0x457c54['bottom'])||_0xf66422['right']<Math['max'](_0x42c00e['left'],_0x457c54['left'])-0.1||_0xf66422['left']>Math['min'](_0x42c00e['right'],_0x457c54['right'])+0.1)){_0x5c8467['style']['top']=_0x47516f;continue;}let _0x1e5e7c=_0x5f2093['arrow']?_0x4116a1['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x14992e=_0x1e5e7c?0x7:0x0,_0x1c232d=_0x488ce0['right']-_0x488ce0['left'],_0x1640db=null!==(_0x216703=_0x804fa9['get'](_0x4116a1))&&void 0x0!==_0x216703?_0x216703:_0x488ce0['bottom']-_0x488ce0['top'],_0x3f5a9e=_0x4116a1['offset']||_0x19aead,_0x352959=this['view']['textDirection']==_0x2d6025['LTR'],_0x50f0b9=_0x488ce0['width']>_0x457c54['right']-_0x457c54['left']?_0x352959?_0x457c54['left']:_0x457c54['right']-_0x488ce0['width']:_0x352959?Math['max'](_0x457c54['left'],Math['min'](_0xf66422['left']-(_0x1e5e7c?0xe:0x0)+_0x3f5a9e['x'],_0x457c54['right']-_0x1c232d)):Math['min'](Math['max'](_0x457c54['left'],_0xf66422['left']-_0x1c232d+(_0x1e5e7c?0xe:0x0)-_0x3f5a9e['x']),_0x457c54['right']-_0x1c232d),_0x1d1b5e=this['above'][_0x4d8bec];!_0x5f2093['strictSide']&&(_0x1d1b5e?_0xf66422['top']-_0x1640db-_0x14992e-_0x3f5a9e['y']<_0x457c54['top']:_0xf66422['bottom']+_0x1640db+_0x14992e+_0x3f5a9e['y']>_0x457c54['bottom'])&&_0x1d1b5e==_0x457c54['bottom']-_0xf66422['bottom']>_0xf66422['top']-_0x457c54['top']&&(_0x1d1b5e=this['above'][_0x4d8bec]=!_0x1d1b5e);let _0xae29e6=(_0x1d1b5e?_0xf66422['top']-_0x457c54['top']:_0x457c54['bottom']-_0xf66422['bottom'])-_0x14992e;if(_0xae29e6<_0x1640db&&!0x1!==_0x4116a1['resize']){if(_0xae29e6<this['view']['defaultLineHeight']){_0x5c8467['style']['top']=_0x47516f;continue;}_0x804fa9['set'](_0x4116a1,_0x1640db),_0x5c8467['style']['height']=(_0x1640db=_0xae29e6)/_0x4d2eb3+'px';}else _0x5c8467['style']['height']&&(_0x5c8467['style']['height']='');let _0x58814b=_0x1d1b5e?_0xf66422['top']-_0x1640db-_0x14992e-_0x3f5a9e['y']:_0xf66422['bottom']+_0x14992e+_0x3f5a9e['y'],_0x27993f=_0x50f0b9+_0x1c232d;if(!0x0!==_0x4116a1['overlap']){for(let _0x40f1f6 of _0x2e7121)_0x40f1f6['left']<_0x27993f&&_0x40f1f6['right']>_0x50f0b9&&_0x40f1f6['top']<_0x58814b+_0x1640db&&_0x40f1f6['bottom']>_0x58814b&&(_0x58814b=_0x1d1b5e?_0x40f1f6['top']-_0x1640db-0x2-_0x14992e:_0x40f1f6['bottom']+_0x14992e+0x2);}if('absolute'==this['position']?(_0x5c8467['style']['top']=(_0x58814b-_0x282b75['parent']['top'])/_0x4d2eb3+'px',_0x36d731(_0x5c8467,(_0x50f0b9-_0x282b75['parent']['left'])/_0x451d6b)):(_0x5c8467['style']['top']=_0x58814b/_0x4d2eb3+'px',_0x36d731(_0x5c8467,_0x50f0b9/_0x451d6b)),_0x1e5e7c){let _0x2a2a22=_0xf66422['left']+(_0x352959?_0x3f5a9e['x']:-_0x3f5a9e['x'])-(_0x50f0b9+0xe-0x7);_0x1e5e7c['style']['left']=_0x2a2a22/_0x451d6b+'px';}!0x0!==_0x4116a1['overlap']&&_0x2e7121['push']({'left':_0x50f0b9,'top':_0x58814b,'right':_0x27993f,'bottom':_0x58814b+_0x1640db}),_0x5c8467['classList']['toggle']('cm-tooltip-above',_0x1d1b5e),_0x5c8467['classList']['toggle']('cm-tooltip-below',!_0x1d1b5e),_0x4116a1['positioned']&&_0x4116a1['positioned'](_0x282b75['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 _0x510f36 of this['manager']['tooltipViews'])_0x510f36['dom']['style']['top']=_0x47516f;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x36d731(_0x50e996,_0x54627c){let _0x19d625=parseInt(_0x50e996['style']['left'],0xa);(isNaN(_0x19d625)||Math['abs'](_0x54627c-_0x19d625)>0x1)&&(_0x50e996['style']['left']=_0x54627c+'px');}const _0x30b438=EditorView['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),_0x19aead={'x':0x0,'y':0x0},_0x18ec71=Facet['define']({'enables':[_0x335a95,_0x30b438]});function _0x2555d9(_0x334e0b,_0x1a8bef){let _0x2bb3f4=_0x334e0b['plugin'](_0x335a95);if(!_0x2bb3f4)return null;let _0x5a39a4=_0x2bb3f4['manager']['tooltips']['indexOf'](_0x1a8bef);return _0x5a39a4<0x0?null:_0x2bb3f4['manager']['tooltipViews'][_0x5a39a4];}class GutterMarker extends _0x347eac{['compare'](_0x4210e6){return this==_0x4210e6||this['constructor']==_0x4210e6['constructor']&&this['eq'](_0x4210e6);}['eq'](_0x11e29a){return!0x1;}['destroy'](_0x535c0c){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x32252d['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const ty=Facet['define'](),_0x146d1f=Facet['define'](),_0x19dd84={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x22a8cc=Facet['define']();function _0x5a64ae(_0xe4e553){return[_0x5655a0(),_0x22a8cc['of']({..._0x19dd84,..._0xe4e553})];}const _0x254893=Facet['define']({'combine':_0x33303a=>_0x33303a['some'](_0x263dfc=>_0x263dfc)});function _0x5655a0(_0x1d9610){return[_0x20ab75];}const _0x20ab75=_0xa40bbd['fromClass'](class{constructor(_0x2bca39){this['view']=_0x2bca39,this['domAfter']=null,this['prevViewport']=_0x2bca39['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']=_0x2bca39['state']['facet'](_0x22a8cc)['map'](_0xc6853=>new SingleGutterView(_0x2bca39,_0xc6853)),this['fixed']=!_0x2bca39['state']['facet'](_0x254893);for(let _0xcbd8b1 of this['gutters'])'after'==_0xcbd8b1['config']['side']?this['getDOMAfter']()['appendChild'](_0xcbd8b1['dom']):this['dom']['appendChild'](_0xcbd8b1['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x2bca39['scrollDOM']['insertBefore'](this['dom'],_0x2bca39['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'](_0x3fb747){if(this['updateGutters'](_0x3fb747)){let _0x213156=this['prevViewport'],_0x50b0ff=_0x3fb747['view']['viewport'],_0x300847=Math['min'](_0x213156['to'],_0x50b0ff['to'])-Math['max'](_0x213156['from'],_0x50b0ff['from']);this['syncGutters'](_0x300847<0.8*(_0x50b0ff['to']-_0x50b0ff['from']));}if(_0x3fb747['geometryChanged']){let _0x4bdf96=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x4bdf96,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x4bdf96);}this['view']['state']['facet'](_0x254893)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x3fb747['view']['viewport'];}['syncGutters'](_0x578bd2){let _0x1314b3=this['dom']['nextSibling'];_0x578bd2&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x495615=RangeSet['iter'](this['view']['state']['facet'](ty),this['view']['viewport']['from']),_0x3b666b=[],_0x617f61=this['gutters']['map'](_0x41d626=>new UpdateContext(_0x41d626,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x40da0c of this['view']['viewportLineBlocks'])if(_0x3b666b['length']&&(_0x3b666b=[]),Array['isArray'](_0x40da0c['type'])){let _0x270c3d=!0x0;for(let _0x46f2f3 of _0x40da0c['type'])if(_0x46f2f3['type']==_0x5b6263['Text']&&_0x270c3d){_0x34efed(_0x495615,_0x3b666b,_0x46f2f3['from']);for(let _0x90b069 of _0x617f61)_0x90b069['line'](this['view'],_0x46f2f3,_0x3b666b);_0x270c3d=!0x1;}else{if(_0x46f2f3['widget']){for(let _0x180410 of _0x617f61)_0x180410['widget'](this['view'],_0x46f2f3);}}}else{if(_0x40da0c['type']==_0x5b6263['Text']){_0x34efed(_0x495615,_0x3b666b,_0x40da0c['from']);for(let _0x4d2236 of _0x617f61)_0x4d2236['line'](this['view'],_0x40da0c,_0x3b666b);}else{if(_0x40da0c['widget']){for(let _0x368aa4 of _0x617f61)_0x368aa4['widget'](this['view'],_0x40da0c);}}}for(let _0x60c8cf of _0x617f61)_0x60c8cf['finish']();_0x578bd2&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x1314b3),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x138027){let _0x2bb36a=_0x138027['startState']['facet'](_0x22a8cc),_0x20daad=_0x138027['state']['facet'](_0x22a8cc),_0x2d4979=_0x138027['docChanged']||_0x138027['heightChanged']||_0x138027['viewportChanged']||!RangeSet['eq'](_0x138027['startState']['facet'](ty),_0x138027['state']['facet'](ty),_0x138027['view']['viewport']['from'],_0x138027['view']['viewport']['to']);if(_0x2bb36a==_0x20daad){for(let _0x223e30 of this['gutters'])_0x223e30['update'](_0x138027)&&(_0x2d4979=!0x0);}else{_0x2d4979=!0x0;let _0x583fc1=[];for(let _0x1c2b9d of _0x20daad){let _0x177c2e=_0x2bb36a['indexOf'](_0x1c2b9d);_0x177c2e<0x0?_0x583fc1['push'](new SingleGutterView(this['view'],_0x1c2b9d)):(this['gutters'][_0x177c2e]['update'](_0x138027),_0x583fc1['push'](this['gutters'][_0x177c2e]));}for(let _0x4c4ed9 of this['gutters'])_0x4c4ed9['dom']['remove'](),_0x583fc1['indexOf'](_0x4c4ed9)<0x0&&_0x4c4ed9['destroy']();for(let _0x2e23da of _0x583fc1)'after'==_0x2e23da['config']['side']?this['getDOMAfter']()['appendChild'](_0x2e23da['dom']):this['dom']['appendChild'](_0x2e23da['dom']);this['gutters']=_0x583fc1;}return _0x2d4979;}['destroy'](){for(let _0x2b43e3 of this['gutters'])_0x2b43e3['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x3c708a=>EditorView['scrollMargins']['of'](_0x1c9b8f=>{let _0x1bd477=_0x1c9b8f['plugin'](_0x3c708a);if(!_0x1bd477||0x0==_0x1bd477['gutters']['length']||!_0x1bd477['fixed'])return null;let _0x127a95=_0x1bd477['dom']['offsetWidth']*_0x1c9b8f['scaleX'],_0x644f3e=_0x1bd477['domAfter']?_0x1bd477['domAfter']['offsetWidth']*_0x1c9b8f['scaleX']:0x0;return _0x1c9b8f['textDirection']==_0x2d6025['LTR']?{'left':_0x127a95,'right':_0x644f3e}:{'right':_0x127a95,'left':_0x644f3e};})});function _0x16ad49(_0x58f8d7){return Array['isArray'](_0x58f8d7)?_0x58f8d7:[_0x58f8d7];}function _0x34efed(_0x1dedb7,_0x22a164,_0x24421d){for(;_0x1dedb7['value']&&_0x1dedb7['from']<=_0x24421d;)_0x1dedb7['from']==_0x24421d&&_0x22a164['push'](_0x1dedb7['value']),_0x1dedb7['next']();}class UpdateContext{constructor(_0x3b9a8e,_0x380d9e,_0x42f2ec){this['gutter']=_0x3b9a8e,this['height']=_0x42f2ec,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x3b9a8e['markers'],_0x380d9e['from']);}['addElement'](_0x3fb396,_0x55e94a,_0x8ffb46){let {gutter:_0x572bf0}=this,_0x214a0a=(_0x55e94a['top']-this['height'])/_0x3fb396['scaleY'],_0x5ecb53=_0x55e94a['height']/_0x3fb396['scaleY'];if(this['i']==_0x572bf0['elements']['length']){let _0x53539a=new GutterElement(_0x3fb396,_0x5ecb53,_0x214a0a,_0x8ffb46);_0x572bf0['elements']['push'](_0x53539a),_0x572bf0['dom']['appendChild'](_0x53539a['dom']);}else _0x572bf0['elements'][this['i']]['update'](_0x3fb396,_0x5ecb53,_0x214a0a,_0x8ffb46);this['height']=_0x55e94a['bottom'],this['i']++;}['line'](_0x3da9bf,_0x36d0d7,_0x38a0bd){let _0x404b0e=[];_0x34efed(this['cursor'],_0x404b0e,_0x36d0d7['from']),_0x38a0bd['length']&&(_0x404b0e=_0x404b0e['concat'](_0x38a0bd));let _0x321936=this['gutter']['config']['lineMarker'](_0x3da9bf,_0x36d0d7,_0x404b0e);_0x321936&&_0x404b0e['unshift'](_0x321936);let _0x2c0861=this['gutter'];(0x0!=_0x404b0e['length']||_0x2c0861['config']['renderEmptyElements'])&&this['addElement'](_0x3da9bf,_0x36d0d7,_0x404b0e);}['widget'](_0x2c9ce9,_0x3aeab5){let _0x661ef7=this['gutter']['config']['widgetMarker'](_0x2c9ce9,_0x3aeab5['widget'],_0x3aeab5),_0x41f803=_0x661ef7?[_0x661ef7]:null;for(let _0x1a48be of _0x2c9ce9['state']['facet'](_0x146d1f)){let _0x1e1383=_0x1a48be(_0x2c9ce9,_0x3aeab5['widget'],_0x3aeab5);_0x1e1383&&(_0x41f803||(_0x41f803=[]))['push'](_0x1e1383);}_0x41f803&&this['addElement'](_0x2c9ce9,_0x3aeab5,_0x41f803);}['finish'](){let _0x1fb0ef=this['gutter'];for(;_0x1fb0ef['elements']['length']>this['i'];){let _0x55047d=_0x1fb0ef['elements']['pop']();_0x1fb0ef['dom']['removeChild'](_0x55047d['dom']),_0x55047d['destroy']();}}}class SingleGutterView{constructor(_0x50224e,_0x1112ab){this['view']=_0x50224e,this['config']=_0x1112ab,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x5bd61e in _0x1112ab['domEventHandlers'])this['dom']['addEventListener'](_0x5bd61e,_0x22830d=>{let _0x15e656,_0x495528=_0x22830d['target'];if(_0x495528!=this['dom']&&this['dom']['contains'](_0x495528)){for(;_0x495528['parentNode']!=this['dom'];)_0x495528=_0x495528['parentNode'];let _0x3037cd=_0x495528['getBoundingClientRect']();_0x15e656=(_0x3037cd['top']+_0x3037cd['bottom'])/0x2;}else _0x15e656=_0x22830d['clientY'];let _0x11cd5b=_0x50224e['lineBlockAtHeight'](_0x15e656-_0x50224e['documentTop']);_0x1112ab['domEventHandlers'][_0x5bd61e](_0x50224e,_0x11cd5b,_0x22830d)&&_0x22830d['preventDefault']();});this['markers']=_0x16ad49(_0x1112ab['markers'](_0x50224e)),_0x1112ab['initialSpacer']&&(this['spacer']=new GutterElement(_0x50224e,0x0,0x0,[_0x1112ab['initialSpacer'](_0x50224e)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x5c8958){let _0x5419b8=this['markers'];if(this['markers']=_0x16ad49(this['config']['markers'](_0x5c8958['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x58ec0b=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x5c8958);_0x58ec0b!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x5c8958['view'],0x0,0x0,[_0x58ec0b]);}let _0x5d69c1=_0x5c8958['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x5419b8,_0x5d69c1['from'],_0x5d69c1['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x5c8958);}['destroy'](){for(let _0x4baf33 of this['elements'])_0x4baf33['destroy']();}}class GutterElement{constructor(_0xa053b1,_0x5d1686,_0x13824d,_0xdb4943){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0xa053b1,_0x5d1686,_0x13824d,_0xdb4943);}['update'](_0x202cb4,_0x5c29a8,_0x1460eb,_0x556af7){this['height']!=_0x5c29a8&&(this['height']=_0x5c29a8,this['dom']['style']['height']=_0x5c29a8+'px'),this['above']!=_0x1460eb&&(this['dom']['style']['marginTop']=(this['above']=_0x1460eb)?_0x1460eb+'px':''),function(_0x2766f7,_0x32d8ae){if(_0x2766f7['length']!=_0x32d8ae['length'])return!0x1;for(let _0x2aad87=0x0;_0x2aad87<_0x2766f7['length'];_0x2aad87++)if(!_0x2766f7[_0x2aad87]['compare'](_0x32d8ae[_0x2aad87]))return!0x1;return!0x0;}(this['markers'],_0x556af7)||this['setMarkers'](_0x202cb4,_0x556af7);}['setMarkers'](_0x1efbe6,_0x4f3c9b){let _0x21f0e3='cm-gutterElement',_0x296c37=this['dom']['firstChild'];for(let _0x178d76=0x0,_0x2d114e=0x0;;){let _0x257c1c=_0x2d114e,_0x496ff0=_0x178d76<_0x4f3c9b['length']?_0x4f3c9b[_0x178d76++]:null,_0x590f30=!0x1;if(_0x496ff0){let _0x5d571=_0x496ff0['elementClass'];_0x5d571&&(_0x21f0e3+='\x20'+_0x5d571);for(let _0x205589=_0x2d114e;_0x205589<this['markers']['length'];_0x205589++)if(this['markers'][_0x205589]['compare'](_0x496ff0)){_0x257c1c=_0x205589,_0x590f30=!0x0;break;}}else _0x257c1c=this['markers']['length'];for(;_0x2d114e<_0x257c1c;){let _0x26a9fc=this['markers'][_0x2d114e++];if(_0x26a9fc['toDOM']){_0x26a9fc['destroy'](_0x296c37);let _0x2c996a=_0x296c37['nextSibling'];_0x296c37['remove'](),_0x296c37=_0x2c996a;}}if(!_0x496ff0)break;_0x496ff0['toDOM']&&(_0x590f30?_0x296c37=_0x296c37['nextSibling']:this['dom']['insertBefore'](_0x496ff0['toDOM'](_0x1efbe6),_0x296c37)),_0x590f30&&_0x2d114e++;}this['dom']['className']=_0x21f0e3,this['markers']=_0x4f3c9b;}['destroy'](){this['setMarkers'](null,[]);}}const _0x5bfc2d=Facet['define'](),_0x55204e=Facet['define'](),_0x579530=Facet['define']({'combine':_0x360679=>_0x2df370(_0x360679,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0xce2ec1,_0x133f2c){let _0x348698=Object['assign']({},_0xce2ec1);for(let _0x38bfb6 in _0x133f2c){let _0x52b4e9=_0x348698[_0x38bfb6],_0xe9be5=_0x133f2c[_0x38bfb6];_0x348698[_0x38bfb6]=_0x52b4e9?(_0x402690,_0x2edc7a,_0x172be0)=>_0x52b4e9(_0x402690,_0x2edc7a,_0x172be0)||_0xe9be5(_0x402690,_0x2edc7a,_0x172be0):_0xe9be5;}return _0x348698;}})});class _0x56165a extends GutterMarker{constructor(_0x4df6ed){super(),this['number']=_0x4df6ed;}['eq'](_0x2f7a0){return this['number']==_0x2f7a0['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function _0x2e68af(_0x5e46c2,_0x10c52c){return _0x5e46c2['state']['facet'](_0x579530)['formatNumber'](_0x10c52c,_0x5e46c2['state']);}const _0x45e86a=_0x22a8cc['compute']([_0x579530],_0x4c2a6f=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x323bab=>_0x323bab['state']['facet'](_0x5bfc2d),'lineMarker':(_0x4b00fc,_0x2f5c78,_0x5cc48b)=>_0x5cc48b['some'](_0x451af6=>_0x451af6['toDOM'])?null:new _0x56165a(_0x2e68af(_0x4b00fc,_0x4b00fc['state']['doc']['lineAt'](_0x2f5c78['from'])['number'])),'widgetMarker':(_0x3cfaa5,_0x11db50,_0x321612)=>{for(let _0x242962 of _0x3cfaa5['state']['facet'](_0x55204e)){let _0x510956=_0x242962(_0x3cfaa5,_0x11db50,_0x321612);if(_0x510956)return _0x510956;}return null;},'lineMarkerChange':_0x2fb923=>_0x2fb923['startState']['facet'](_0x579530)!=_0x2fb923['state']['facet'](_0x579530),'initialSpacer':_0x4b7ec2=>new _0x56165a(_0x2e68af(_0x4b7ec2,_0x2a37d5(_0x4b7ec2['state']['doc']['lines']))),'updateSpacer'(_0x4e1417,_0x1fe12d){let _0x465c98=_0x2e68af(_0x1fe12d['view'],_0x2a37d5(_0x1fe12d['view']['state']['doc']['lines']));return _0x465c98==_0x4e1417['number']?_0x4e1417:new _0x56165a(_0x465c98);},'domEventHandlers':_0x4c2a6f['facet'](_0x579530)['domEventHandlers'],'side':'before'}));function _0x1ee612(_0x4dfc7e={}){return[_0x579530['of'](_0x4dfc7e),_0x5655a0(),_0x45e86a];}function _0x2a37d5(_0x58d274){let _0x25681c=0x9;for(;_0x25681c<_0x58d274;)_0x25681c=0xa*_0x25681c+0x9;return _0x25681c;}const _0x58cf3b=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0x30c804=ty['compute'](['selection'],_0x596a83=>{let _0x2075e4=[],_0x4be616=-0x1;for(let _0x191ad5 of _0x596a83['selection']['ranges']){let _0x191802=_0x596a83['doc']['lineAt'](_0x191ad5['head'])['from'];_0x191802>_0x4be616&&(_0x4be616=_0x191802,_0x2075e4['push'](_0x58cf3b['range'](_0x191802)));}return RangeSet['of'](_0x2075e4);});function _0x227b7f(){return _0x30c804;}const _0x237f6c=0x400;let _0x105e6a=0x0;class _0x414a70{constructor(_0x20f8e4,_0x2313ec){this['from']=_0x20f8e4,this['to']=_0x2313ec;}}class _0x16f115{constructor(_0x1da681={}){this['id']=_0x105e6a++,this['perNode']=!!_0x1da681['perNode'],this['deserialize']=_0x1da681['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x1da681['combine']||null;}['add'](_0x2d85a3){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x2d85a3&&(_0x2d85a3=_0x242d89['match'](_0x2d85a3)),_0x38fa45=>{let _0x22438a=_0x2d85a3(_0x38fa45);return void 0x0===_0x22438a?null:[this,_0x22438a];};}}_0x16f115['closedBy']=new _0x16f115({'deserialize':_0x1cac79=>_0x1cac79['split']('\x20')}),_0x16f115['openedBy']=new _0x16f115({'deserialize':_0x4b3b72=>_0x4b3b72['split']('\x20')}),_0x16f115['group']=new _0x16f115({'deserialize':_0x7b174f=>_0x7b174f['split']('\x20')}),_0x16f115['isolate']=new _0x16f115({'deserialize':_0x5933d7=>{if(_0x5933d7&&'rtl'!=_0x5933d7&&'ltr'!=_0x5933d7&&'auto'!=_0x5933d7)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x5933d7);return _0x5933d7||'auto';}}),_0x16f115['contextHash']=new _0x16f115({'perNode':!0x0}),_0x16f115['lookAhead']=new _0x16f115({'perNode':!0x0}),_0x16f115['mounted']=new _0x16f115({'perNode':!0x0});class MountedTree{constructor(_0x30f85e,_0x1db912,_0x1ea9f1){this['tree']=_0x30f85e,this['overlay']=_0x1db912,this['parser']=_0x1ea9f1;}static['get'](_0xf88a0a){return _0xf88a0a&&_0xf88a0a['props']&&_0xf88a0a['props'][_0x16f115['mounted']['id']];}}const _0x350552=Object['create'](null);class _0x242d89{constructor(_0x52792a,_0x457dbd,_0x4d3672,_0x25d077=0x0){this['name']=_0x52792a,this['props']=_0x457dbd,this['id']=_0x4d3672,this['flags']=_0x25d077;}static['define'](_0x3332a3){let _0x104a8d=_0x3332a3['props']&&_0x3332a3['props']['length']?Object['create'](null):_0x350552,_0x47f667=(_0x3332a3['top']?0x1:0x0)|(_0x3332a3['skipped']?0x2:0x0)|(_0x3332a3['error']?0x4:0x0)|(null==_0x3332a3['name']?0x8:0x0),_0x1674ac=new _0x242d89(_0x3332a3['name']||'',_0x104a8d,_0x3332a3['id'],_0x47f667);if(_0x3332a3['props']){for(let _0x262aba of _0x3332a3['props'])if(Array['isArray'](_0x262aba)||(_0x262aba=_0x262aba(_0x1674ac)),_0x262aba){if(_0x262aba[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x104a8d[_0x262aba[0x0]['id']]=_0x262aba[0x1];}}return _0x1674ac;}['prop'](_0x44870c){return this['props'][_0x44870c['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'](_0x2f5175){if('string'==typeof _0x2f5175){if(this['name']==_0x2f5175)return!0x0;let _0x5a536a=this['prop'](_0x16f115['group']);return!!_0x5a536a&&_0x5a536a['indexOf'](_0x2f5175)>-0x1;}return this['id']==_0x2f5175;}static['match'](_0x52e3f3){let _0x59d26b=Object['create'](null);for(let _0x518cfe in _0x52e3f3)for(let _0x22fe8f of _0x518cfe['split']('\x20'))_0x59d26b[_0x22fe8f]=_0x52e3f3[_0x518cfe];return _0x41c073=>{for(let _0x4c2185=_0x41c073['prop'](_0x16f115['group']),_0x218452=-0x1;_0x218452<(_0x4c2185?_0x4c2185['length']:0x0);_0x218452++){let _0x25cab0=_0x59d26b[_0x218452<0x0?_0x41c073['name']:_0x4c2185[_0x218452]];if(_0x25cab0)return _0x25cab0;}};}}_0x242d89['none']=new _0x242d89('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x2fda3f){this['types']=_0x2fda3f;for(let _0x42488e=0x0;_0x42488e<_0x2fda3f['length'];_0x42488e++)if(_0x2fda3f[_0x42488e]['id']!=_0x42488e)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x3cd69a){let _0x4f285e=[];for(let _0x4a1eb2 of this['types']){let _0x416d4c=null;for(let _0x437b63 of _0x3cd69a){let _0x1e81c0=_0x437b63(_0x4a1eb2);if(_0x1e81c0){_0x416d4c||(_0x416d4c=Object['assign']({},_0x4a1eb2['props']));let _0x28f7f9=_0x1e81c0[0x1],_0x2df2c7=_0x1e81c0[0x0];_0x2df2c7['combine']&&_0x2df2c7['id']in _0x416d4c&&(_0x28f7f9=_0x2df2c7['combine'](_0x416d4c[_0x2df2c7['id']],_0x28f7f9)),_0x416d4c[_0x2df2c7['id']]=_0x28f7f9;}}_0x4f285e['push'](_0x416d4c?new _0x242d89(_0x4a1eb2['name'],_0x416d4c,_0x4a1eb2['id'],_0x4a1eb2['flags']):_0x4a1eb2);}return new NodeSet(_0x4f285e);}}const _0x27ac2d=new WeakMap(),_0x466860=new WeakMap();var _0x3dd99e;!function(_0x309c5a){_0x309c5a[_0x309c5a['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x309c5a[_0x309c5a['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x309c5a[_0x309c5a['IgnoreMounts']=0x4]='IgnoreMounts',_0x309c5a[_0x309c5a['IgnoreOverlays']=0x8]='IgnoreOverlays';}(_0x3dd99e||(_0x3dd99e={}));class _0x5c5fb3{constructor(_0x3a8ad5,_0x2b3820,_0x1d76b7,_0xcbab86,_0x182287){if(this['type']=_0x3a8ad5,this['children']=_0x2b3820,this['positions']=_0x1d76b7,this['length']=_0xcbab86,this['props']=null,_0x182287&&_0x182287['length']){this['props']=Object['create'](null);for(let [_0x18f30e,_0x493a4e]of _0x182287)this['props']['number'==typeof _0x18f30e?_0x18f30e:_0x18f30e['id']]=_0x493a4e;}}['toString'](){let _0x249835=MountedTree['get'](this);if(_0x249835&&!_0x249835['overlay'])return _0x249835['tree']['toString']();let _0x1778af='';for(let _0x3eaf7b of this['children']){let _0x5944e9=_0x3eaf7b['toString']();_0x5944e9&&(_0x1778af&&(_0x1778af+=','),_0x1778af+=_0x5944e9);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x1778af['length']?'('+_0x1778af+')':''):_0x1778af;}['cursor'](_0x8f7414=0x0){return new _0x3c7db3(this['topNode'],_0x8f7414);}['cursorAt'](_0x2746b4,_0x4325d7=0x0,_0x3058cc=0x0){let _0x2c5122=_0x27ac2d['get'](this)||this['topNode'],_0x2bab9a=new _0x3c7db3(_0x2c5122);return _0x2bab9a['moveTo'](_0x2746b4,_0x4325d7),_0x27ac2d['set'](this,_0x2bab9a['_tree']),_0x2bab9a;}get['topNode'](){return new _0x5d4ebc(this,0x0,0x0,null);}['resolve'](_0xf0c4f6,_0x181761=0x0){let _0x1658f5=_0x59dd31(_0x27ac2d['get'](this)||this['topNode'],_0xf0c4f6,_0x181761,!0x1);return _0x27ac2d['set'](this,_0x1658f5),_0x1658f5;}['resolveInner'](_0xb13d85,_0x4971cc=0x0){let _0x5141f4=_0x59dd31(_0x466860['get'](this)||this['topNode'],_0xb13d85,_0x4971cc,!0x0);return _0x466860['set'](this,_0x5141f4),_0x5141f4;}['resolveStack'](_0x4a5101,_0x598b3c=0x0){return function(_0x3b2285,_0x3fa689,_0x17765e){let _0x5c53f9=_0x3b2285['resolveInner'](_0x3fa689,_0x17765e),_0x587a3c=null;for(let _0x5227c1=_0x5c53f9 instanceof _0x5d4ebc?_0x5c53f9:_0x5c53f9['context']['parent'];_0x5227c1;_0x5227c1=_0x5227c1['parent'])if(_0x5227c1['index']<0x0){let _0x1be1d2=_0x5227c1['parent'];(_0x587a3c||(_0x587a3c=[_0x5c53f9]))['push'](_0x1be1d2['resolve'](_0x3fa689,_0x17765e)),_0x5227c1=_0x1be1d2;}else{let _0x409e95=MountedTree['get'](_0x5227c1['tree']);if(_0x409e95&&_0x409e95['overlay']&&_0x409e95['overlay'][0x0]['from']<=_0x3fa689&&_0x409e95['overlay'][_0x409e95['overlay']['length']-0x1]['to']>=_0x3fa689){let _0xea45f=new _0x5d4ebc(_0x409e95['tree'],_0x409e95['overlay'][0x0]['from']+_0x5227c1['from'],-0x1,_0x5227c1);(_0x587a3c||(_0x587a3c=[_0x5c53f9]))['push'](_0x59dd31(_0xea45f,_0x3fa689,_0x17765e,!0x1));}}return _0x587a3c?_0x5754ec(_0x587a3c):_0x5c53f9;}(this,_0x4a5101,_0x598b3c);}['iterate'](_0x1e32e2){let {enter:_0x3d82c0,leave:_0x58dc6c,from:_0x237b94=0x0,to:_0x542deb=this['length']}=_0x1e32e2,_0x4d54b4=_0x1e32e2['mode']||0x0,_0x463ea9=(_0x4d54b4&_0x3dd99e['IncludeAnonymous'])>0x0;for(let _0x56c6ec=this['cursor'](_0x4d54b4|_0x3dd99e['IncludeAnonymous']);;){let _0x252fa0=!0x1;if(_0x56c6ec['from']<=_0x542deb&&_0x56c6ec['to']>=_0x237b94&&(!_0x463ea9&&_0x56c6ec['type']['isAnonymous']||!0x1!==_0x3d82c0(_0x56c6ec))){if(_0x56c6ec['firstChild']())continue;_0x252fa0=!0x0;}for(;_0x252fa0&&_0x58dc6c&&(_0x463ea9||!_0x56c6ec['type']['isAnonymous'])&&_0x58dc6c(_0x56c6ec),!_0x56c6ec['nextSibling']();){if(!_0x56c6ec['parent']())return;_0x252fa0=!0x0;}}}['prop'](_0x4f9f87){return _0x4f9f87['perNode']?this['props']?this['props'][_0x4f9f87['id']]:void 0x0:this['type']['prop'](_0x4f9f87);}get['propValues'](){let _0x45fd9e=[];if(this['props']){for(let _0x2364e8 in this['props'])_0x45fd9e['push']([+_0x2364e8,this['props'][_0x2364e8]]);}return _0x45fd9e;}['balance'](_0x9def6d={}){return this['children']['length']<=0x8?this:_0x3bbf2f(_0x242d89['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x2cce11,_0x1441c9,_0x552db)=>new _0x5c5fb3(this['type'],_0x2cce11,_0x1441c9,_0x552db,this['propValues']),_0x9def6d['makeTree']||((_0x19db0f,_0x2100af,_0x56f718)=>new _0x5c5fb3(_0x242d89['none'],_0x19db0f,_0x2100af,_0x56f718)));}static['build'](_0x3090f2){return function(_0x3e33cf){var _0x19aea4;let {buffer:_0x3404fd,nodeSet:_0x23da77,maxBufferLength:_0x1d211f=_0x237f6c,reused:_0x33cd50=[],minRepeatType:_0x5cc922=_0x23da77['types']['length']}=_0x3e33cf,_0x15b694=Array['isArray'](_0x3404fd)?new FlatBufferCursor(_0x3404fd,_0x3404fd['length']):_0x3404fd,_0x4298b4=_0x23da77['types'],_0x12e3d8=0x0,_0x1ff13c=0x0;function _0x464c85(_0xa7728c,_0x3e117e,_0xd0e3ef,_0x52b338,_0x5e4a3f,_0x556273){let {id:_0x3ebc11,start:_0x49f1dc,end:_0x12dc02,size:_0x3d073c}=_0x15b694,_0x4dc916=_0x1ff13c,_0xce3d51=_0x12e3d8;if(_0x3d073c<0x0){if(_0x15b694['next'](),-0x1==_0x3d073c){let _0xc9bcc1=_0x33cd50[_0x3ebc11];return _0xd0e3ef['push'](_0xc9bcc1),void _0x52b338['push'](_0x49f1dc-_0xa7728c);}if(-0x3==_0x3d073c)return void(_0x12e3d8=_0x3ebc11);if(-0x4==_0x3d073c)return void(_0x1ff13c=_0x3ebc11);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x3d073c);}let _0x34d2be,_0x47bdf3,_0x489f3c=_0x4298b4[_0x3ebc11],_0x48f483=_0x49f1dc-_0xa7728c;if(_0x12dc02-_0x49f1dc<=_0x1d211f&&(_0x47bdf3=_0x246f79(_0x15b694['pos']-_0x3e117e,_0x5e4a3f))){let _0x18d260=new Uint16Array(_0x47bdf3['size']-_0x47bdf3['skip']),_0x599ba2=_0x15b694['pos']-_0x47bdf3['size'],_0xa05cc=_0x18d260['length'];for(;_0x15b694['pos']>_0x599ba2;)_0xa05cc=_0x54dced(_0x47bdf3['start'],_0x18d260,_0xa05cc);_0x34d2be=new _0x34b575(_0x18d260,_0x12dc02-_0x47bdf3['start'],_0x23da77),_0x48f483=_0x47bdf3['start']-_0xa7728c;}else{let _0x47a382=_0x15b694['pos']-_0x3d073c;_0x15b694['next']();let _0x5bcba6=[],_0x19116c=[],_0x2edc95=_0x3ebc11>=_0x5cc922?_0x3ebc11:-0x1,_0x2f42de=0x0,_0x4dcd06=_0x12dc02;for(;_0x15b694['pos']>_0x47a382;)_0x2edc95>=0x0&&_0x15b694['id']==_0x2edc95&&_0x15b694['size']>=0x0?(_0x15b694['end']<=_0x4dcd06-_0x1d211f&&(_0x2aa4a1(_0x5bcba6,_0x19116c,_0x49f1dc,_0x2f42de,_0x15b694['end'],_0x4dcd06,_0x2edc95,_0x4dc916,_0xce3d51),_0x2f42de=_0x5bcba6['length'],_0x4dcd06=_0x15b694['end']),_0x15b694['next']()):_0x556273>0x9c4?_0x382583(_0x49f1dc,_0x47a382,_0x5bcba6,_0x19116c):_0x464c85(_0x49f1dc,_0x47a382,_0x5bcba6,_0x19116c,_0x2edc95,_0x556273+0x1);if(_0x2edc95>=0x0&&_0x2f42de>0x0&&_0x2f42de<_0x5bcba6['length']&&_0x2aa4a1(_0x5bcba6,_0x19116c,_0x49f1dc,_0x2f42de,_0x49f1dc,_0x4dcd06,_0x2edc95,_0x4dc916,_0xce3d51),_0x5bcba6['reverse'](),_0x19116c['reverse'](),_0x2edc95>-0x1&&_0x2f42de>0x0){let _0x42ac1c=_0x5f55b8(_0x489f3c,_0xce3d51);_0x34d2be=_0x3bbf2f(_0x489f3c,_0x5bcba6,_0x19116c,0x0,_0x5bcba6['length'],0x0,_0x12dc02-_0x49f1dc,_0x42ac1c,_0x42ac1c);}else _0x34d2be=_0x35db25(_0x489f3c,_0x5bcba6,_0x19116c,_0x12dc02-_0x49f1dc,_0x4dc916-_0x12dc02,_0xce3d51);}_0xd0e3ef['push'](_0x34d2be),_0x52b338['push'](_0x48f483);}function _0x382583(_0x5d132e,_0x38f166,_0x521e25,_0x5c1cd3){let _0x109695=[],_0x4e0b08=0x0,_0x534048=-0x1;for(;_0x15b694['pos']>_0x38f166;){let {id:_0x63f066,start:_0x25117a,end:_0x2b0de5,size:_0xcd8a70}=_0x15b694;if(_0xcd8a70>0x4)_0x15b694['next']();else{if(_0x534048>-0x1&&_0x25117a<_0x534048)break;_0x534048<0x0&&(_0x534048=_0x2b0de5-_0x1d211f),_0x109695['push'](_0x63f066,_0x25117a,_0x2b0de5),_0x4e0b08++,_0x15b694['next']();}}if(_0x4e0b08){let _0x2d743a=new Uint16Array(0x4*_0x4e0b08),_0x5c71b9=_0x109695[_0x109695['length']-0x2];for(let _0x431f54=_0x109695['length']-0x3,_0x1530d3=0x0;_0x431f54>=0x0;_0x431f54-=0x3)_0x2d743a[_0x1530d3++]=_0x109695[_0x431f54],_0x2d743a[_0x1530d3++]=_0x109695[_0x431f54+0x1]-_0x5c71b9,_0x2d743a[_0x1530d3++]=_0x109695[_0x431f54+0x2]-_0x5c71b9,_0x2d743a[_0x1530d3++]=_0x1530d3;_0x521e25['push'](new _0x34b575(_0x2d743a,_0x109695[0x2]-_0x5c71b9,_0x23da77)),_0x5c1cd3['push'](_0x5c71b9-_0x5d132e);}}function _0x5f55b8(_0x31f27d,_0x9107ea){return(_0x546577,_0x3f28ec,_0x581a2e)=>{let _0x1d5951,_0x6ae0c9,_0x2e1097=0x0,_0x47f67a=_0x546577['length']-0x1;if(_0x47f67a>=0x0&&(_0x1d5951=_0x546577[_0x47f67a])instanceof _0x5c5fb3){if(!_0x47f67a&&_0x1d5951['type']==_0x31f27d&&_0x1d5951['length']==_0x581a2e)return _0x1d5951;(_0x6ae0c9=_0x1d5951['prop'](_0x16f115['lookAhead']))&&(_0x2e1097=_0x3f28ec[_0x47f67a]+_0x1d5951['length']+_0x6ae0c9);}return _0x35db25(_0x31f27d,_0x546577,_0x3f28ec,_0x581a2e,_0x2e1097,_0x9107ea);};}function _0x2aa4a1(_0x1d8acc,_0x3fb1b7,_0x44654d,_0x531567,_0x19a295,_0x4f3209,_0x14678a,_0x4c4e99,_0x7d454f){let _0x236df2=[],_0x569973=[];for(;_0x1d8acc['length']>_0x531567;)_0x236df2['push'](_0x1d8acc['pop']()),_0x569973['push'](_0x3fb1b7['pop']()+_0x44654d-_0x19a295);_0x1d8acc['push'](_0x35db25(_0x23da77['types'][_0x14678a],_0x236df2,_0x569973,_0x4f3209-_0x19a295,_0x4c4e99-_0x4f3209,_0x7d454f)),_0x3fb1b7['push'](_0x19a295-_0x44654d);}function _0x35db25(_0x3ea072,_0x435d84,_0x32f6aa,_0x35edee,_0x3aea13,_0x407359,_0x59c028){if(_0x407359){let _0xb96f0d=[_0x16f115['contextHash'],_0x407359];_0x59c028=_0x59c028?[_0xb96f0d]['concat'](_0x59c028):[_0xb96f0d];}if(_0x3aea13>0x19){let _0x587467=[_0x16f115['lookAhead'],_0x3aea13];_0x59c028=_0x59c028?[_0x587467]['concat'](_0x59c028):[_0x587467];}return new _0x5c5fb3(_0x3ea072,_0x435d84,_0x32f6aa,_0x35edee,_0x59c028);}function _0x246f79(_0x164222,_0x5c084e){let _0x56718b=_0x15b694['fork'](),_0x50e3e3=0x0,_0x5eafae=0x0,_0x4be6d8=0x0,_0x13927d=_0x56718b['end']-_0x1d211f,_0x897d55={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x5ea56d=_0x56718b['pos']-_0x164222;_0x56718b['pos']>_0x5ea56d;){let _0x69612d=_0x56718b['size'];if(_0x56718b['id']==_0x5c084e&&_0x69612d>=0x0){_0x897d55['size']=_0x50e3e3,_0x897d55['start']=_0x5eafae,_0x897d55['skip']=_0x4be6d8,_0x4be6d8+=0x4,_0x50e3e3+=0x4,_0x56718b['next']();continue;}let _0x4ad39c=_0x56718b['pos']-_0x69612d;if(_0x69612d<0x0||_0x4ad39c<_0x5ea56d||_0x56718b['start']<_0x13927d)break;let _0x1f04ee=_0x56718b['id']>=_0x5cc922?0x4:0x0,_0x5ea660=_0x56718b['start'];for(_0x56718b['next']();_0x56718b['pos']>_0x4ad39c;){if(_0x56718b['size']<0x0){if(-0x3!=_0x56718b['size'])break t;_0x1f04ee+=0x4;}else _0x56718b['id']>=_0x5cc922&&(_0x1f04ee+=0x4);_0x56718b['next']();}_0x5eafae=_0x5ea660,_0x50e3e3+=_0x69612d,_0x4be6d8+=_0x1f04ee;}return(_0x5c084e<0x0||_0x50e3e3==_0x164222)&&(_0x897d55['size']=_0x50e3e3,_0x897d55['start']=_0x5eafae,_0x897d55['skip']=_0x4be6d8),_0x897d55['size']>0x4?_0x897d55:void 0x0;}function _0x54dced(_0x569a92,_0x2fad4a,_0x2f23ad){let {id:_0x14d08d,start:_0x2693e7,end:_0x3c3407,size:_0x3710f4}=_0x15b694;if(_0x15b694['next'](),_0x3710f4>=0x0&&_0x14d08d<_0x5cc922){let _0x3d2560=_0x2f23ad;if(_0x3710f4>0x4){let _0x3f6459=_0x15b694['pos']-(_0x3710f4-0x4);for(;_0x15b694['pos']>_0x3f6459;)_0x2f23ad=_0x54dced(_0x569a92,_0x2fad4a,_0x2f23ad);}_0x2fad4a[--_0x2f23ad]=_0x3d2560,_0x2fad4a[--_0x2f23ad]=_0x3c3407-_0x569a92,_0x2fad4a[--_0x2f23ad]=_0x2693e7-_0x569a92,_0x2fad4a[--_0x2f23ad]=_0x14d08d;}else-0x3==_0x3710f4?_0x12e3d8=_0x14d08d:-0x4==_0x3710f4&&(_0x1ff13c=_0x14d08d);return _0x2f23ad;}let _0x3ab834=[],_0x5b48f0=[];for(;_0x15b694['pos']>0x0;)_0x464c85(_0x3e33cf['start']||0x0,_0x3e33cf['bufferStart']||0x0,_0x3ab834,_0x5b48f0,-0x1,0x0);let _0x537025=null!==(_0x19aea4=_0x3e33cf['length'])&&void 0x0!==_0x19aea4?_0x19aea4:_0x3ab834['length']?_0x5b48f0[0x0]+_0x3ab834[0x0]['length']:0x0;return new _0x5c5fb3(_0x4298b4[_0x3e33cf['topID']],_0x3ab834['reverse'](),_0x5b48f0['reverse'](),_0x537025);}(_0x3090f2);}}_0x5c5fb3['empty']=new _0x5c5fb3(_0x242d89['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x38d511,_0x5d4124){this['buffer']=_0x38d511,this['index']=_0x5d4124;}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}['next'](){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}}class _0x34b575{constructor(_0xbfd2ab,_0x205fe8,_0x2a42e6){this['buffer']=_0xbfd2ab,this['length']=_0x205fe8,this['set']=_0x2a42e6;}get['type'](){return _0x242d89['none'];}['toString'](){let _0x449847=[];for(let _0x2f257f=0x0;_0x2f257f<this['buffer']['length'];)_0x449847['push'](this['childString'](_0x2f257f)),_0x2f257f=this['buffer'][_0x2f257f+0x3];return _0x449847['join'](',');}['childString'](_0x32b99f){let _0x413021=this['buffer'][_0x32b99f],_0x3102dd=this['buffer'][_0x32b99f+0x3],_0x2e4e82=this['set']['types'][_0x413021],_0x4d6d03=_0x2e4e82['name'];if(/\W/['test'](_0x4d6d03)&&!_0x2e4e82['isError']&&(_0x4d6d03=JSON['stringify'](_0x4d6d03)),_0x3102dd==(_0x32b99f+=0x4))return _0x4d6d03;let _0x28814b=[];for(;_0x32b99f<_0x3102dd;)_0x28814b['push'](this['childString'](_0x32b99f)),_0x32b99f=this['buffer'][_0x32b99f+0x3];return _0x4d6d03+'('+_0x28814b['join'](',')+')';}['findChild'](_0x2c3ae6,_0x516de6,_0x386523,_0x21dba1,_0x18ba78){let {buffer:_0x2b4b95}=this,_0x13a1d2=-0x1;for(let _0x568fff=_0x2c3ae6;_0x568fff!=_0x516de6&&!(_0x25ffc6(_0x18ba78,_0x21dba1,_0x2b4b95[_0x568fff+0x1],_0x2b4b95[_0x568fff+0x2])&&(_0x13a1d2=_0x568fff,_0x386523>0x0));_0x568fff=_0x2b4b95[_0x568fff+0x3]);return _0x13a1d2;}['slice'](_0x4518ce,_0x136a1e,_0x49c75f){let _0x450b8c=this['buffer'],_0x57a6eb=new Uint16Array(_0x136a1e-_0x4518ce),_0x5af7cf=0x0;for(let _0x1dc7a0=_0x4518ce,_0x24bf99=0x0;_0x1dc7a0<_0x136a1e;){_0x57a6eb[_0x24bf99++]=_0x450b8c[_0x1dc7a0++],_0x57a6eb[_0x24bf99++]=_0x450b8c[_0x1dc7a0++]-_0x49c75f;let _0x39862a=_0x57a6eb[_0x24bf99++]=_0x450b8c[_0x1dc7a0++]-_0x49c75f;_0x57a6eb[_0x24bf99++]=_0x450b8c[_0x1dc7a0++]-_0x4518ce,_0x5af7cf=Math['max'](_0x5af7cf,_0x39862a);}return new _0x34b575(_0x57a6eb,_0x5af7cf,this['set']);}}function _0x25ffc6(_0x8f4b19,_0x1d0851,_0x3a65d8,_0x226f61){switch(_0x8f4b19){case-0x2:return _0x3a65d8<_0x1d0851;case-0x1:return _0x226f61>=_0x1d0851&&_0x3a65d8<_0x1d0851;case 0x0:return _0x3a65d8<_0x1d0851&&_0x226f61>_0x1d0851;case 0x1:return _0x3a65d8<=_0x1d0851&&_0x226f61>_0x1d0851;case 0x2:return _0x226f61>_0x1d0851;case 0x4:return!0x0;}}function _0x59dd31(_0xb9dfe2,_0x3f57d4,_0x3c0ae2,_0x3e00fb){for(var _0x1dceb5;_0xb9dfe2['from']==_0xb9dfe2['to']||(_0x3c0ae2<0x1?_0xb9dfe2['from']>=_0x3f57d4:_0xb9dfe2['from']>_0x3f57d4)||(_0x3c0ae2>-0x1?_0xb9dfe2['to']<=_0x3f57d4:_0xb9dfe2['to']<_0x3f57d4);){let _0x47063a=!_0x3e00fb&&_0xb9dfe2 instanceof _0x5d4ebc&&_0xb9dfe2['index']<0x0?null:_0xb9dfe2['parent'];if(!_0x47063a)return _0xb9dfe2;_0xb9dfe2=_0x47063a;}let _0x164cf3=_0x3e00fb?0x0:_0x3dd99e['IgnoreOverlays'];if(_0x3e00fb){for(let _0x44307d=_0xb9dfe2,_0x3975d6=_0x44307d['parent'];_0x3975d6;_0x44307d=_0x3975d6,_0x3975d6=_0x44307d['parent'])_0x44307d instanceof _0x5d4ebc&&_0x44307d['index']<0x0&&(null===(_0x1dceb5=_0x3975d6['enter'](_0x3f57d4,_0x3c0ae2,_0x164cf3))||void 0x0===_0x1dceb5?void 0x0:_0x1dceb5['from'])!=_0x44307d['from']&&(_0xb9dfe2=_0x3975d6);}for(;;){let _0x295717=_0xb9dfe2['enter'](_0x3f57d4,_0x3c0ae2,_0x164cf3);if(!_0x295717)return _0xb9dfe2;_0xb9dfe2=_0x295717;}}class _0x515ffa{['cursor'](_0x5a7294=0x0){return new _0x3c7db3(this,_0x5a7294);}['getChild'](_0x30b2e7,_0x203531=null,_0x2002b1=null){let _0x1ae97f=_0xdac1b9(this,_0x30b2e7,_0x203531,_0x2002b1);return _0x1ae97f['length']?_0x1ae97f[0x0]:null;}['getChildren'](_0x2bf91c,_0x869d6f=null,_0x4e2a9a=null){return _0xdac1b9(this,_0x2bf91c,_0x869d6f,_0x4e2a9a);}['resolve'](_0x3ff842,_0x1fd746=0x0){return _0x59dd31(this,_0x3ff842,_0x1fd746,!0x1);}['resolveInner'](_0x33cbe2,_0x5db320=0x0){return _0x59dd31(this,_0x33cbe2,_0x5db320,!0x0);}['matchContext'](_0x3d1c64){return _0x5b5151(this['parent'],_0x3d1c64);}['enterUnfinishedNodesBefore'](_0x76d9da){let _0xd22807=this['childBefore'](_0x76d9da),_0x18eb91=this;for(;_0xd22807;){let _0x3a5ba2=_0xd22807['lastChild'];if(!_0x3a5ba2||_0x3a5ba2['to']!=_0xd22807['to'])break;_0x3a5ba2['type']['isError']&&_0x3a5ba2['from']==_0x3a5ba2['to']?(_0x18eb91=_0xd22807,_0xd22807=_0x3a5ba2['prevSibling']):_0xd22807=_0x3a5ba2;}return _0x18eb91;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x5d4ebc extends _0x515ffa{constructor(_0xc53844,_0x5b49ab,_0x1283cf,_0x8967b4){super(),this['_tree']=_0xc53844,this['from']=_0x5b49ab,this['index']=_0x1283cf,this['_parent']=_0x8967b4;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x11e8d8,_0x41be05,_0x13912d,_0x21af0f,_0x58d47c=0x0){for(let _0x57f2d5=this;;){for(let {children:_0x353f92,positions:_0x1ea57b}=_0x57f2d5['_tree'],_0x291edc=_0x41be05>0x0?_0x353f92['length']:-0x1;_0x11e8d8!=_0x291edc;_0x11e8d8+=_0x41be05){let _0x3333c3=_0x353f92[_0x11e8d8],_0x1bf6bb=_0x1ea57b[_0x11e8d8]+_0x57f2d5['from'];if(_0x25ffc6(_0x21af0f,_0x13912d,_0x1bf6bb,_0x1bf6bb+_0x3333c3['length'])){if(_0x3333c3 instanceof _0x34b575){if(_0x58d47c&_0x3dd99e['ExcludeBuffers'])continue;let _0x4f072f=_0x3333c3['findChild'](0x0,_0x3333c3['buffer']['length'],_0x41be05,_0x13912d-_0x1bf6bb,_0x21af0f);if(_0x4f072f>-0x1)return new _0x126373(new BufferContext(_0x57f2d5,_0x3333c3,_0x11e8d8,_0x1bf6bb),null,_0x4f072f);}else{if(_0x58d47c&_0x3dd99e['IncludeAnonymous']||!_0x3333c3['type']['isAnonymous']||_0x4d371c(_0x3333c3)){let _0x515af1;if(!(_0x58d47c&_0x3dd99e['IgnoreMounts'])&&(_0x515af1=MountedTree['get'](_0x3333c3))&&!_0x515af1['overlay'])return new _0x5d4ebc(_0x515af1['tree'],_0x1bf6bb,_0x11e8d8,_0x57f2d5);let _0x37c16b=new _0x5d4ebc(_0x3333c3,_0x1bf6bb,_0x11e8d8,_0x57f2d5);return _0x58d47c&_0x3dd99e['IncludeAnonymous']||!_0x37c16b['type']['isAnonymous']?_0x37c16b:_0x37c16b['nextChild'](_0x41be05<0x0?_0x3333c3['children']['length']-0x1:0x0,_0x41be05,_0x13912d,_0x21af0f);}}}}if(_0x58d47c&_0x3dd99e['IncludeAnonymous']||!_0x57f2d5['type']['isAnonymous'])return null;if(_0x11e8d8=_0x57f2d5['index']>=0x0?_0x57f2d5['index']+_0x41be05:_0x41be05<0x0?-0x1:_0x57f2d5['_parent']['_tree']['children']['length'],_0x57f2d5=_0x57f2d5['_parent'],!_0x57f2d5)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'](_0x45bb02){return this['nextChild'](0x0,0x1,_0x45bb02,0x2);}['childBefore'](_0x57e28f){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x57e28f,-0x2);}['enter'](_0x3573e5,_0x4ab1e1,_0x4df1d1=0x0){let _0x365a76;if(!(_0x4df1d1&_0x3dd99e['IgnoreOverlays'])&&(_0x365a76=MountedTree['get'](this['_tree']))&&_0x365a76['overlay']){let _0xd08ecb=_0x3573e5-this['from'];for(let {from:_0x55ddbf,to:_0xdfc6de}of _0x365a76['overlay'])if((_0x4ab1e1>0x0?_0x55ddbf<=_0xd08ecb:_0x55ddbf<_0xd08ecb)&&(_0x4ab1e1<0x0?_0xdfc6de>=_0xd08ecb:_0xdfc6de>_0xd08ecb))return new _0x5d4ebc(_0x365a76['tree'],_0x365a76['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x3573e5,_0x4ab1e1,_0x4df1d1);}['nextSignificantParent'](){let _0x404844=this;for(;_0x404844['type']['isAnonymous']&&_0x404844['_parent'];)_0x404844=_0x404844['_parent'];return _0x404844;}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 _0xdac1b9(_0x48298d,_0x5f4ef9,_0x38f55a,_0x32ff74){let _0x3b3102=_0x48298d['cursor'](),_0x1fac4e=[];if(!_0x3b3102['firstChild']())return _0x1fac4e;if(null!=_0x38f55a){for(let _0x5d562a=!0x1;!_0x5d562a;)if(_0x5d562a=_0x3b3102['type']['is'](_0x38f55a),!_0x3b3102['nextSibling']())return _0x1fac4e;}for(;;){if(null!=_0x32ff74&&_0x3b3102['type']['is'](_0x32ff74))return _0x1fac4e;if(_0x3b3102['type']['is'](_0x5f4ef9)&&_0x1fac4e['push'](_0x3b3102['node']),!_0x3b3102['nextSibling']())return null==_0x32ff74?_0x1fac4e:[];}}function _0x5b5151(_0x5d2ec5,_0x34d5c3,_0x512572=_0x34d5c3['length']-0x1){for(let _0x354911=_0x5d2ec5;_0x512572>=0x0;_0x354911=_0x354911['parent']){if(!_0x354911)return!0x1;if(!_0x354911['type']['isAnonymous']){if(_0x34d5c3[_0x512572]&&_0x34d5c3[_0x512572]!=_0x354911['name'])return!0x1;_0x512572--;}}return!0x0;}class BufferContext{constructor(_0x5e631b,_0xa59bd9,_0x23315d,_0x27548e){this['parent']=_0x5e631b,this['buffer']=_0xa59bd9,this['index']=_0x23315d,this['start']=_0x27548e;}}class _0x126373 extends _0x515ffa{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(_0x20abe9,_0x1793e7,_0x292332){super(),this['context']=_0x20abe9,this['_parent']=_0x1793e7,this['index']=_0x292332,this['type']=_0x20abe9['buffer']['set']['types'][_0x20abe9['buffer']['buffer'][_0x292332]];}['child'](_0x2a1782,_0x12869b,_0x1b7c92){let {buffer:_0xbdadc2}=this['context'],_0x1c52ba=_0xbdadc2['findChild'](this['index']+0x4,_0xbdadc2['buffer'][this['index']+0x3],_0x2a1782,_0x12869b-this['context']['start'],_0x1b7c92);return _0x1c52ba<0x0?null:new _0x126373(this['context'],this,_0x1c52ba);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x329ebb){return this['child'](0x1,_0x329ebb,0x2);}['childBefore'](_0x3cc4d2){return this['child'](-0x1,_0x3cc4d2,-0x2);}['enter'](_0x13a1d9,_0x179c82,_0x43acf1=0x0){if(_0x43acf1&_0x3dd99e['ExcludeBuffers'])return null;let {buffer:_0x4ec426}=this['context'],_0x37c3e3=_0x4ec426['findChild'](this['index']+0x4,_0x4ec426['buffer'][this['index']+0x3],_0x179c82>0x0?0x1:-0x1,_0x13a1d9-this['context']['start'],_0x179c82);return _0x37c3e3<0x0?null:new _0x126373(this['context'],this,_0x37c3e3);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x4832e0){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x4832e0,_0x4832e0,0x0,0x4);}get['nextSibling'](){let {buffer:_0x40cb66}=this['context'],_0x39d3ce=_0x40cb66['buffer'][this['index']+0x3];return _0x39d3ce<(this['_parent']?_0x40cb66['buffer'][this['_parent']['index']+0x3]:_0x40cb66['buffer']['length'])?new _0x126373(this['context'],this['_parent'],_0x39d3ce):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x3012a3}=this['context'],_0x12e3a3=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x12e3a3?this['externalSibling'](-0x1):new _0x126373(this['context'],this['_parent'],_0x3012a3['findChild'](_0x12e3a3,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x1b2b94=[],_0x256e73=[],{buffer:_0x47510a}=this['context'],_0x1b1a83=this['index']+0x4,_0x3b8e38=_0x47510a['buffer'][this['index']+0x3];if(_0x3b8e38>_0x1b1a83){let _0x551ea5=_0x47510a['buffer'][this['index']+0x1];_0x1b2b94['push'](_0x47510a['slice'](_0x1b1a83,_0x3b8e38,_0x551ea5)),_0x256e73['push'](0x0);}return new _0x5c5fb3(this['type'],_0x1b2b94,_0x256e73,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function _0x5754ec(_0x2dfa9a){if(!_0x2dfa9a['length'])return null;let _0x444948=0x0,_0x403888=_0x2dfa9a[0x0];for(let _0x328ef4=0x1;_0x328ef4<_0x2dfa9a['length'];_0x328ef4++){let _0x374b6c=_0x2dfa9a[_0x328ef4];(_0x374b6c['from']>_0x403888['from']||_0x374b6c['to']<_0x403888['to'])&&(_0x403888=_0x374b6c,_0x444948=_0x328ef4);}let _0x27c1f3=_0x403888 instanceof _0x5d4ebc&&_0x403888['index']<0x0?null:_0x403888['parent'],_0x4a001c=_0x2dfa9a['slice']();return _0x27c1f3?_0x4a001c[_0x444948]=_0x27c1f3:_0x4a001c['splice'](_0x444948,0x1),new StackIterator(_0x4a001c,_0x403888);}class StackIterator{constructor(_0x4e7080,_0x2ca400){this['heads']=_0x4e7080,this['node']=_0x2ca400;}get['next'](){return _0x5754ec(this['heads']);}}class _0x3c7db3{get['name'](){return this['type']['name'];}constructor(_0x972e98,_0x1b831e=0x0){if(this['mode']=_0x1b831e,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x972e98 instanceof _0x5d4ebc)this['yieldNode'](_0x972e98);else{this['_tree']=_0x972e98['context']['parent'],this['buffer']=_0x972e98['context'];for(let _0x20dc56=_0x972e98['_parent'];_0x20dc56;_0x20dc56=_0x20dc56['_parent'])this['stack']['unshift'](_0x20dc56['index']);this['bufferNode']=_0x972e98,this['yieldBuf'](_0x972e98['index']);}}['yieldNode'](_0x24d638){return!!_0x24d638&&(this['_tree']=_0x24d638,this['type']=_0x24d638['type'],this['from']=_0x24d638['from'],this['to']=_0x24d638['to'],!0x0);}['yieldBuf'](_0x40ff2b,_0x4e35aa){this['index']=_0x40ff2b;let {start:_0x158808,buffer:_0x407f0c}=this['buffer'];return this['type']=_0x4e35aa||_0x407f0c['set']['types'][_0x407f0c['buffer'][_0x40ff2b]],this['from']=_0x158808+_0x407f0c['buffer'][_0x40ff2b+0x1],this['to']=_0x158808+_0x407f0c['buffer'][_0x40ff2b+0x2],!0x0;}['yield'](_0x3be1c7){return!!_0x3be1c7&&(_0x3be1c7 instanceof _0x5d4ebc?(this['buffer']=null,this['yieldNode'](_0x3be1c7)):(this['buffer']=_0x3be1c7['context'],this['yieldBuf'](_0x3be1c7['index'],_0x3be1c7['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x2f220c,_0x106fad,_0x34eb56){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x2f220c<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x2f220c,_0x106fad,_0x34eb56,this['mode']));let {buffer:_0x363af8}=this['buffer'],_0x52e128=_0x363af8['findChild'](this['index']+0x4,_0x363af8['buffer'][this['index']+0x3],_0x2f220c,_0x106fad-this['buffer']['start'],_0x34eb56);return!(_0x52e128<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x52e128));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x4d156d){return this['enterChild'](0x1,_0x4d156d,0x2);}['childBefore'](_0x14f581){return this['enterChild'](-0x1,_0x14f581,-0x2);}['enter'](_0x546f8b,_0x1261a5,_0x4eb96f=this['mode']){return this['buffer']?!(_0x4eb96f&_0x3dd99e['ExcludeBuffers'])&&this['enterChild'](0x1,_0x546f8b,_0x1261a5):this['yield'](this['_tree']['enter'](_0x546f8b,_0x1261a5,_0x4eb96f));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x3dd99e['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x5eeb25=this['mode']&_0x3dd99e['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x5eeb25);}['sibling'](_0x348087){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x348087,_0x348087,0x0,0x4,this['mode']));let {buffer:_0x82e533}=this['buffer'],_0x487a96=this['stack']['length']-0x1;if(_0x348087<0x0){let _0x90b375=_0x487a96<0x0?0x0:this['stack'][_0x487a96]+0x4;if(this['index']!=_0x90b375)return this['yieldBuf'](_0x82e533['findChild'](_0x90b375,this['index'],-0x1,0x0,0x4));}else{let _0x558a04=_0x82e533['buffer'][this['index']+0x3];if(_0x558a04<(_0x487a96<0x0?_0x82e533['buffer']['length']:_0x82e533['buffer'][this['stack'][_0x487a96]+0x3]))return this['yieldBuf'](_0x558a04);}return _0x487a96<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x348087,_0x348087,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x461a14){let _0x1eaa79,_0x3e827f,{buffer:_0x215788}=this;if(_0x215788){if(_0x461a14>0x0){if(this['index']<_0x215788['buffer']['buffer']['length'])return!0x1;}else{for(let _0x2c93d5=0x0;_0x2c93d5<this['index'];_0x2c93d5++)if(_0x215788['buffer']['buffer'][_0x2c93d5+0x3]<this['index'])return!0x1;}({index:_0x1eaa79,parent:_0x3e827f}=_0x215788);}else({index:_0x1eaa79,_parent:_0x3e827f}=this['_tree']);for(;_0x3e827f;{index:_0x1eaa79,_parent:_0x3e827f}=_0x3e827f)if(_0x1eaa79>-0x1)for(let _0x6d1905=_0x1eaa79+_0x461a14,_0x19483f=_0x461a14<0x0?-0x1:_0x3e827f['_tree']['children']['length'];_0x6d1905!=_0x19483f;_0x6d1905+=_0x461a14){let _0x55918f=_0x3e827f['_tree']['children'][_0x6d1905];if(this['mode']&_0x3dd99e['IncludeAnonymous']||_0x55918f instanceof _0x34b575||!_0x55918f['type']['isAnonymous']||_0x4d371c(_0x55918f))return!0x1;}return!0x0;}['move'](_0x9c5029,_0x579d69){if(_0x579d69&&this['enterChild'](_0x9c5029,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x9c5029))return!0x0;if(this['atLastNode'](_0x9c5029)||!this['parent']())return!0x1;}}['next'](_0x37abe7=!0x0){return this['move'](0x1,_0x37abe7);}['prev'](_0x520cfd=!0x0){return this['move'](-0x1,_0x520cfd);}['moveTo'](_0x5dbbf1,_0xe87d41=0x0){for(;(this['from']==this['to']||(_0xe87d41<0x1?this['from']>=_0x5dbbf1:this['from']>_0x5dbbf1)||(_0xe87d41>-0x1?this['to']<=_0x5dbbf1:this['to']<_0x5dbbf1))&&this['parent'](););for(;this['enterChild'](0x1,_0x5dbbf1,_0xe87d41););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x355fb8=this['bufferNode'],_0x5daa76=null,_0x3b19e5=0x0;if(_0x355fb8&&_0x355fb8['context']==this['buffer']){t:for(let _0x2f156c=this['index'],_0xeed829=this['stack']['length'];_0xeed829>=0x0;){for(let _0x5be61a=_0x355fb8;_0x5be61a;_0x5be61a=_0x5be61a['_parent'])if(_0x5be61a['index']==_0x2f156c){if(_0x2f156c==this['index'])return _0x5be61a;_0x5daa76=_0x5be61a,_0x3b19e5=_0xeed829+0x1;break t;}_0x2f156c=this['stack'][--_0xeed829];}}for(let _0x3f0887=_0x3b19e5;_0x3f0887<this['stack']['length'];_0x3f0887++)_0x5daa76=new _0x126373(this['buffer'],_0x5daa76,this['stack'][_0x3f0887]);return this['bufferNode']=new _0x126373(this['buffer'],_0x5daa76,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x1bb98d,_0x26adc9){for(let _0x2c0905=0x0;;){let _0x1e7587=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x1bb98d(this)){if(this['firstChild']()){_0x2c0905++;continue;}this['type']['isAnonymous']||(_0x1e7587=!0x0);}for(;;){if(_0x1e7587&&_0x26adc9&&_0x26adc9(this),_0x1e7587=this['type']['isAnonymous'],!_0x2c0905)return;if(this['nextSibling']())break;this['parent'](),_0x2c0905--,_0x1e7587=!0x0;}}}['matchContext'](_0x1761f6){if(!this['buffer'])return _0x5b5151(this['node']['parent'],_0x1761f6);let {buffer:_0x13beea}=this['buffer'],{types:_0x35a251}=_0x13beea['set'];for(let _0x5bfbd5=_0x1761f6['length']-0x1,_0x379be2=this['stack']['length']-0x1;_0x5bfbd5>=0x0;_0x379be2--){if(_0x379be2<0x0)return _0x5b5151(this['_tree'],_0x1761f6,_0x5bfbd5);let _0x57aa0c=_0x35a251[_0x13beea['buffer'][this['stack'][_0x379be2]]];if(!_0x57aa0c['isAnonymous']){if(_0x1761f6[_0x5bfbd5]&&_0x1761f6[_0x5bfbd5]!=_0x57aa0c['name'])return!0x1;_0x5bfbd5--;}}return!0x0;}}function _0x4d371c(_0x183cd2){return _0x183cd2['children']['some'](_0x52f833=>_0x52f833 instanceof _0x34b575||!_0x52f833['type']['isAnonymous']||_0x4d371c(_0x52f833));}const _0x31d6f9=new WeakMap();function _0x31b17f(_0x3988ea,_0x4e7c50){if(!_0x3988ea['isAnonymous']||_0x4e7c50 instanceof _0x34b575||_0x4e7c50['type']!=_0x3988ea)return 0x1;let _0x50b07c=_0x31d6f9['get'](_0x4e7c50);if(null==_0x50b07c){_0x50b07c=0x1;for(let _0xeed07e of _0x4e7c50['children']){if(_0xeed07e['type']!=_0x3988ea||!(_0xeed07e instanceof _0x5c5fb3)){_0x50b07c=0x1;break;}_0x50b07c+=_0x31b17f(_0x3988ea,_0xeed07e);}_0x31d6f9['set'](_0x4e7c50,_0x50b07c);}return _0x50b07c;}function _0x3bbf2f(_0x2c0c1b,_0x2dfd19,_0x122f36,_0x3a208e,_0x450493,_0x2881b0,_0x5a819c,_0x5294da,_0x32d8ea){let _0x9289b3=0x0;for(let _0x581bfa=_0x3a208e;_0x581bfa<_0x450493;_0x581bfa++)_0x9289b3+=_0x31b17f(_0x2c0c1b,_0x2dfd19[_0x581bfa]);let _0x3ce770=Math['ceil'](1.5*_0x9289b3/0x8),_0x43db50=[],_0x2bf15e=[];return function _0x8b89be(_0x4fda8d,_0xebbde3,_0xbd4a03,_0x1df5a3,_0x121af1){for(let _0x16c663=_0xbd4a03;_0x16c663<_0x1df5a3;){let _0x3be214=_0x16c663,_0x5ddb06=_0xebbde3[_0x16c663],_0x1b7234=_0x31b17f(_0x2c0c1b,_0x4fda8d[_0x16c663]);for(_0x16c663++;_0x16c663<_0x1df5a3;_0x16c663++){let _0x4cc241=_0x31b17f(_0x2c0c1b,_0x4fda8d[_0x16c663]);if(_0x1b7234+_0x4cc241>=_0x3ce770)break;_0x1b7234+=_0x4cc241;}if(_0x16c663==_0x3be214+0x1){if(_0x1b7234>_0x3ce770){let _0x355498=_0x4fda8d[_0x3be214];_0x8b89be(_0x355498['children'],_0x355498['positions'],0x0,_0x355498['children']['length'],_0xebbde3[_0x3be214]+_0x121af1);continue;}_0x43db50['push'](_0x4fda8d[_0x3be214]);}else{let _0x500a10=_0xebbde3[_0x16c663-0x1]+_0x4fda8d[_0x16c663-0x1]['length']-_0x5ddb06;_0x43db50['push'](_0x3bbf2f(_0x2c0c1b,_0x4fda8d,_0xebbde3,_0x3be214,_0x16c663,_0x5ddb06,_0x500a10,null,_0x32d8ea));}_0x2bf15e['push'](_0x5ddb06+_0x121af1-_0x2881b0);}}(_0x2dfd19,_0x122f36,_0x3a208e,_0x450493,0x0),(_0x5294da||_0x32d8ea)(_0x43db50,_0x2bf15e,_0x5a819c);}class _0x386706{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x2fe8db,_0x30ed0c,_0x293c84){let _0x20e233=this['map']['get'](_0x2fe8db);_0x20e233||this['map']['set'](_0x2fe8db,_0x20e233=new Map()),_0x20e233['set'](_0x30ed0c,_0x293c84);}['getBuffer'](_0x4ecd79,_0x51120b){let _0x113859=this['map']['get'](_0x4ecd79);return _0x113859&&_0x113859['get'](_0x51120b);}['set'](_0x328a61,_0x40454e){_0x328a61 instanceof _0x126373?this['setBuffer'](_0x328a61['context']['buffer'],_0x328a61['index'],_0x40454e):_0x328a61 instanceof _0x5d4ebc&&this['map']['set'](_0x328a61['tree'],_0x40454e);}['get'](_0x29ce68){return _0x29ce68 instanceof _0x126373?this['getBuffer'](_0x29ce68['context']['buffer'],_0x29ce68['index']):_0x29ce68 instanceof _0x5d4ebc?this['map']['get'](_0x29ce68['tree']):void 0x0;}['cursorSet'](_0x4b9c36,_0x517d22){_0x4b9c36['buffer']?this['setBuffer'](_0x4b9c36['buffer']['buffer'],_0x4b9c36['index'],_0x517d22):this['map']['set'](_0x4b9c36['tree'],_0x517d22);}['cursorGet'](_0x48f715){return _0x48f715['buffer']?this['getBuffer'](_0x48f715['buffer']['buffer'],_0x48f715['index']):this['map']['get'](_0x48f715['tree']);}}class TreeFragment{constructor(_0xb28a44,_0x2adc43,_0x4b3cd0,_0x2c9b34,_0x25fee2=!0x1,_0x58b6be=!0x1){this['from']=_0xb28a44,this['to']=_0x2adc43,this['tree']=_0x4b3cd0,this['offset']=_0x2c9b34,this['open']=(_0x25fee2?0x1:0x0)|(_0x58b6be?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x501588,_0x3e5879=[],_0x19972d=!0x1){let _0x3ed9b8=[new TreeFragment(0x0,_0x501588['length'],_0x501588,0x0,!0x1,_0x19972d)];for(let _0x4fcb0f of _0x3e5879)_0x4fcb0f['to']>_0x501588['length']&&_0x3ed9b8['push'](_0x4fcb0f);return _0x3ed9b8;}static['applyChanges'](_0x150466,_0x38a583,_0x2b7b32=0x80){if(!_0x38a583['length'])return _0x150466;let _0x2d5025=[],_0x57eae0=0x1,_0x2b6d4f=_0x150466['length']?_0x150466[0x0]:null;for(let _0x16c47f=0x0,_0x3aff7b=0x0,_0x327c50=0x0;;_0x16c47f++){let _0x42a270=_0x16c47f<_0x38a583['length']?_0x38a583[_0x16c47f]:null,_0x5d91d3=_0x42a270?_0x42a270['fromA']:0x3b9aca00;if(_0x5d91d3-_0x3aff7b>=_0x2b7b32)for(;_0x2b6d4f&&_0x2b6d4f['from']<_0x5d91d3;){let _0xe6c629=_0x2b6d4f;if(_0x3aff7b>=_0xe6c629['from']||_0x5d91d3<=_0xe6c629['to']||_0x327c50){let _0x512413=Math['max'](_0xe6c629['from'],_0x3aff7b)-_0x327c50,_0x22b96b=Math['min'](_0xe6c629['to'],_0x5d91d3)-_0x327c50;_0xe6c629=_0x512413>=_0x22b96b?null:new TreeFragment(_0x512413,_0x22b96b,_0xe6c629['tree'],_0xe6c629['offset']+_0x327c50,_0x16c47f>0x0,!!_0x42a270);}if(_0xe6c629&&_0x2d5025['push'](_0xe6c629),_0x2b6d4f['to']>_0x5d91d3)break;_0x2b6d4f=_0x57eae0<_0x150466['length']?_0x150466[_0x57eae0++]:null;}if(!_0x42a270)break;_0x3aff7b=_0x42a270['toA'],_0x327c50=_0x42a270['toA']-_0x42a270['toB'];}return _0x2d5025;}}class _0x583980{['startParse'](_0x1130f8,_0x4410b1,_0x1eecbb){return'string'==typeof _0x1130f8&&(_0x1130f8=new StringInput(_0x1130f8)),_0x1eecbb=_0x1eecbb?_0x1eecbb['length']?_0x1eecbb['map'](_0x3e16ac=>new _0x414a70(_0x3e16ac['from'],_0x3e16ac['to'])):[new _0x414a70(0x0,0x0)]:[new _0x414a70(0x0,_0x1130f8['length'])],this['createParse'](_0x1130f8,_0x4410b1||[],_0x1eecbb);}['parse'](_0xb7dd63,_0x47d13b,_0x1fb641){let _0x39e3cd=this['startParse'](_0xb7dd63,_0x47d13b,_0x1fb641);for(;;){let _0x21bbe3=_0x39e3cd['advance']();if(_0x21bbe3)return _0x21bbe3;}}}class StringInput{constructor(_0x156f1c){this['string']=_0x156f1c;}get['length'](){return this['string']['length'];}['chunk'](_0x20a692){return this['string']['slice'](_0x20a692);}get['lineChunks'](){return!0x1;}['read'](_0xf5acb0,_0x19ea71){return this['string']['slice'](_0xf5acb0,_0x19ea71);}}function _0x318474(_0x423179){return(_0x28eee7,_0x23e087,_0x3227aa,_0x24cc44)=>new _0x59db6d(_0x28eee7,_0x423179,_0x23e087,_0x3227aa,_0x24cc44);}class _0x17e46b{constructor(_0x34762e,_0x5b6e45,_0x54f0ef,_0x507055,_0x17e450){this['parser']=_0x34762e,this['parse']=_0x5b6e45,this['overlay']=_0x54f0ef,this['target']=_0x507055,this['from']=_0x17e450;}}function _0x1de47e(_0xe5e3a){if(!_0xe5e3a['length']||_0xe5e3a['some'](_0x21bcf9=>_0x21bcf9['from']>=_0x21bcf9['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0xe5e3a));}class ActiveOverlay{constructor(_0x52b264,_0x323800,_0x3a28a3,_0x3cfad2,_0x306aba,_0x3b509b,_0x318f46){this['parser']=_0x52b264,this['predicate']=_0x323800,this['mounts']=_0x3a28a3,this['index']=_0x3cfad2,this['start']=_0x306aba,this['target']=_0x3b509b,this['prev']=_0x318f46,this['depth']=0x0,this['ranges']=[];}}const _0x43c5dd=new _0x16f115({'perNode':!0x0});class _0x59db6d{constructor(_0x2b28e5,_0x29a362,_0x2625f5,_0x363e6c,_0x595f9b){this['nest']=_0x29a362,this['input']=_0x2625f5,this['fragments']=_0x363e6c,this['ranges']=_0x595f9b,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x2b28e5;}['advance'](){if(this['baseParse']){let _0x13d7a6=this['baseParse']['advance']();if(!_0x13d7a6)return null;if(this['baseParse']=null,this['baseTree']=_0x13d7a6,this['startInner'](),null!=this['stoppedAt']){for(let _0x11a6ae of this['inner'])_0x11a6ae['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x3758ba=this['baseTree'];return null!=this['stoppedAt']&&(_0x3758ba=new _0x5c5fb3(_0x3758ba['type'],_0x3758ba['children'],_0x3758ba['positions'],_0x3758ba['length'],_0x3758ba['propValues']['concat']([[_0x43c5dd,this['stoppedAt']]]))),_0x3758ba;}let _0xc1f91a=this['inner'][this['innerDone']],_0x373cab=_0xc1f91a['parse']['advance']();if(_0x373cab){this['innerDone']++;let _0x34a3e3=Object['assign'](Object['create'](null),_0xc1f91a['target']['props']);_0x34a3e3[_0x16f115['mounted']['id']]=new MountedTree(_0x373cab,_0xc1f91a['overlay'],_0xc1f91a['parser']),_0xc1f91a['target']['props']=_0x34a3e3;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x41fec0=this['input']['length'];for(let _0x3e719c=this['innerDone'];_0x3e719c<this['inner']['length'];_0x3e719c++)this['inner'][_0x3e719c]['from']<_0x41fec0&&(_0x41fec0=Math['min'](_0x41fec0,this['inner'][_0x3e719c]['parse']['parsedPos']));return _0x41fec0;}['stopAt'](_0x31483b){if(this['stoppedAt']=_0x31483b,this['baseParse'])this['baseParse']['stopAt'](_0x31483b);else{for(let _0x4db447=this['innerDone'];_0x4db447<this['inner']['length'];_0x4db447++)this['inner'][_0x4db447]['parse']['stopAt'](_0x31483b);}}['startInner'](){let _0x48c530=new _0x2f14f3(this['fragments']),_0x111f7e=null,_0x20bc5a=null,_0x1f029a=new _0x3c7db3(new _0x5d4ebc(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x3dd99e['IncludeAnonymous']|_0x3dd99e['IgnoreMounts']);t:for(let _0x516b8b,_0x148af4;;){let _0x339f12,_0x3f3f78=!0x0;if(null!=this['stoppedAt']&&_0x1f029a['from']>=this['stoppedAt'])_0x3f3f78=!0x1;else{if(_0x48c530['hasNode'](_0x1f029a)){if(_0x111f7e){let _0x17a0d3=_0x111f7e['mounts']['find'](_0x58e3f4=>_0x58e3f4['frag']['from']<=_0x1f029a['from']&&_0x58e3f4['frag']['to']>=_0x1f029a['to']&&_0x58e3f4['mount']['overlay']);if(_0x17a0d3)for(let _0x110c73 of _0x17a0d3['mount']['overlay']){let _0x18a8ff=_0x110c73['from']+_0x17a0d3['pos'],_0x851569=_0x110c73['to']+_0x17a0d3['pos'];_0x18a8ff>=_0x1f029a['from']&&_0x851569<=_0x1f029a['to']&&!_0x111f7e['ranges']['some'](_0x23e32e=>_0x23e32e['from']<_0x851569&&_0x23e32e['to']>_0x18a8ff)&&_0x111f7e['ranges']['push']({'from':_0x18a8ff,'to':_0x851569});}}_0x3f3f78=!0x1;}else{if(_0x20bc5a&&(_0x148af4=_0xc582ba(_0x20bc5a['ranges'],_0x1f029a['from'],_0x1f029a['to'])))_0x3f3f78=0x2!=_0x148af4;else{if(!_0x1f029a['type']['isAnonymous']&&(_0x516b8b=this['nest'](_0x1f029a,this['input']))&&(_0x1f029a['from']<_0x1f029a['to']||!_0x516b8b['overlay'])){_0x1f029a['tree']||(_0x5653d8(_0x1f029a),_0x111f7e&&_0x111f7e['depth']++,_0x20bc5a&&_0x20bc5a['depth']++);let _0x2b2f08=_0x48c530['findMounts'](_0x1f029a['from'],_0x516b8b['parser']);if('function'==typeof _0x516b8b['overlay'])_0x111f7e=new ActiveOverlay(_0x516b8b['parser'],_0x516b8b['overlay'],_0x2b2f08,this['inner']['length'],_0x1f029a['from'],_0x1f029a['tree'],_0x111f7e);else{let _0x1a5825=_0x5c5802(this['ranges'],_0x516b8b['overlay']||(_0x1f029a['from']<_0x1f029a['to']?[new _0x414a70(_0x1f029a['from'],_0x1f029a['to'])]:[]));_0x1a5825['length']&&_0x1de47e(_0x1a5825),!_0x1a5825['length']&&_0x516b8b['overlay']||this['inner']['push'](new _0x17e46b(_0x516b8b['parser'],_0x1a5825['length']?_0x516b8b['parser']['startParse'](this['input'],_0x470df4(_0x2b2f08,_0x1a5825),_0x1a5825):_0x516b8b['parser']['startParse'](''),_0x516b8b['overlay']?_0x516b8b['overlay']['map'](_0x3681c4=>new _0x414a70(_0x3681c4['from']-_0x1f029a['from'],_0x3681c4['to']-_0x1f029a['from'])):null,_0x1f029a['tree'],_0x1a5825['length']?_0x1a5825[0x0]['from']:_0x1f029a['from'])),_0x516b8b['overlay']?_0x1a5825['length']&&(_0x20bc5a={'ranges':_0x1a5825,'depth':0x0,'prev':_0x20bc5a}):_0x3f3f78=!0x1;}}else{if(_0x111f7e&&(_0x339f12=_0x111f7e['predicate'](_0x1f029a))&&(!0x0===_0x339f12&&(_0x339f12=new _0x414a70(_0x1f029a['from'],_0x1f029a['to'])),_0x339f12['from']<_0x339f12['to'])){let _0x2eb984=_0x111f7e['ranges']['length']-0x1;_0x2eb984>=0x0&&_0x111f7e['ranges'][_0x2eb984]['to']==_0x339f12['from']?_0x111f7e['ranges'][_0x2eb984]={'from':_0x111f7e['ranges'][_0x2eb984]['from'],'to':_0x339f12['to']}:_0x111f7e['ranges']['push'](_0x339f12);}}}}}if(_0x3f3f78&&_0x1f029a['firstChild']())_0x111f7e&&_0x111f7e['depth']++,_0x20bc5a&&_0x20bc5a['depth']++;else for(;!_0x1f029a['nextSibling']();){if(!_0x1f029a['parent']())break t;if(_0x111f7e&&!--_0x111f7e['depth']){let _0x46e5c4=_0x5c5802(this['ranges'],_0x111f7e['ranges']);_0x46e5c4['length']&&(_0x1de47e(_0x46e5c4),this['inner']['splice'](_0x111f7e['index'],0x0,new _0x17e46b(_0x111f7e['parser'],_0x111f7e['parser']['startParse'](this['input'],_0x470df4(_0x111f7e['mounts'],_0x46e5c4),_0x46e5c4),_0x111f7e['ranges']['map'](_0x9d0f49=>new _0x414a70(_0x9d0f49['from']-_0x111f7e['start'],_0x9d0f49['to']-_0x111f7e['start'])),_0x111f7e['target'],_0x46e5c4[0x0]['from']))),_0x111f7e=_0x111f7e['prev'];}_0x20bc5a&&!--_0x20bc5a['depth']&&(_0x20bc5a=_0x20bc5a['prev']);}}}}function _0xc582ba(_0x3d2c37,_0x2ec9e9,_0x1c8e2a){for(let _0x387f51 of _0x3d2c37){if(_0x387f51['from']>=_0x1c8e2a)break;if(_0x387f51['to']>_0x2ec9e9)return _0x387f51['from']<=_0x2ec9e9&&_0x387f51['to']>=_0x1c8e2a?0x2:0x1;}return 0x0;}function _0x5568d6(_0x22785e,_0x126880,_0xb3d6c1,_0x38d371,_0x343d61,_0x48c467){if(_0x126880<_0xb3d6c1){let _0x19add8=_0x22785e['buffer'][_0x126880+0x1];_0x38d371['push'](_0x22785e['slice'](_0x126880,_0xb3d6c1,_0x19add8)),_0x343d61['push'](_0x19add8-_0x48c467);}}function _0x5653d8(_0x32db39){let {node:_0x2f2c86}=_0x32db39,_0x185eb4=[],_0x290217=_0x2f2c86['context']['buffer'];do{_0x185eb4['push'](_0x32db39['index']),_0x32db39['parent']();}while(!_0x32db39['tree']);let _0x43ab89=_0x32db39['tree'],_0x1235b2=_0x43ab89['children']['indexOf'](_0x290217),_0x4ffc37=_0x43ab89['children'][_0x1235b2],_0x13d00c=_0x4ffc37['buffer'],_0x368bc9=[_0x1235b2];_0x43ab89['children'][_0x1235b2]=function _0x1c47db(_0x249863,_0x1006c0,_0xaac3dc,_0xf43f33,_0x4cfc18,_0x4e3caf){let _0x26556b=_0x185eb4[_0x4e3caf],_0x1c963f=[],_0xcf525b=[];_0x5568d6(_0x4ffc37,_0x249863,_0x26556b,_0x1c963f,_0xcf525b,_0xf43f33);let _0x261dd1=_0x13d00c[_0x26556b+0x1],_0x56f24e=_0x13d00c[_0x26556b+0x2];_0x368bc9['push'](_0x1c963f['length']);let _0x56a9b8=_0x4e3caf?_0x1c47db(_0x26556b+0x4,_0x13d00c[_0x26556b+0x3],_0x4ffc37['set']['types'][_0x13d00c[_0x26556b]],_0x261dd1,_0x56f24e-_0x261dd1,_0x4e3caf-0x1):_0x2f2c86['toTree']();return _0x1c963f['push'](_0x56a9b8),_0xcf525b['push'](_0x261dd1-_0xf43f33),_0x5568d6(_0x4ffc37,_0x13d00c[_0x26556b+0x3],_0x1006c0,_0x1c963f,_0xcf525b,_0xf43f33),new _0x5c5fb3(_0xaac3dc,_0x1c963f,_0xcf525b,_0x4cfc18);}(0x0,_0x13d00c['length'],_0x242d89['none'],0x0,_0x4ffc37['length'],_0x185eb4['length']-0x1);for(let _0x103f0c of _0x368bc9){let _0x4c11cb=_0x32db39['tree']['children'][_0x103f0c],_0x1d63a2=_0x32db39['tree']['positions'][_0x103f0c];_0x32db39['yield'](new _0x5d4ebc(_0x4c11cb,_0x1d63a2+_0x32db39['from'],_0x103f0c,_0x32db39['_tree']));}}class StructureCursor{constructor(_0x222d7a,_0x12e405){this['offset']=_0x12e405,this['done']=!0x1,this['cursor']=_0x222d7a['cursor'](_0x3dd99e['IncludeAnonymous']|_0x3dd99e['IgnoreMounts']);}['moveTo'](_0x4e3e98){let {cursor:_0x349e41}=this,_0x5c3561=_0x4e3e98-this['offset'];for(;!this['done']&&_0x349e41['from']<_0x5c3561;)_0x349e41['to']>=_0x4e3e98&&_0x349e41['enter'](_0x5c3561,0x1,_0x3dd99e['IgnoreOverlays']|_0x3dd99e['ExcludeBuffers'])||_0x349e41['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x8e685){if(this['moveTo'](_0x8e685['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x8e685['from']&&this['cursor']['tree'])for(let _0x4acb44=this['cursor']['tree'];;){if(_0x4acb44==_0x8e685['tree'])return!0x0;if(!(_0x4acb44['children']['length']&&0x0==_0x4acb44['positions'][0x0]&&_0x4acb44['children'][0x0]instanceof _0x5c5fb3))break;_0x4acb44=_0x4acb44['children'][0x0];}return!0x1;}}let _0x2f14f3=class FragmentCursor{constructor(_0x2c65a4){var _0x48ea87;if(this['fragments']=_0x2c65a4,this['curTo']=0x0,this['fragI']=0x0,_0x2c65a4['length']){let _0x47083f=this['curFrag']=_0x2c65a4[0x0];this['curTo']=null!==(_0x48ea87=_0x47083f['tree']['prop'](_0x43c5dd))&&void 0x0!==_0x48ea87?_0x48ea87:_0x47083f['to'],this['inner']=new StructureCursor(_0x47083f['tree'],-_0x47083f['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x15efb8){for(;this['curFrag']&&_0x15efb8['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x15efb8['from']&&this['curTo']>=_0x15efb8['to']&&this['inner']['hasNode'](_0x15efb8);}['nextFrag'](){var _0x596bc0;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x27a369=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x596bc0=_0x27a369['tree']['prop'](_0x43c5dd))&&void 0x0!==_0x596bc0?_0x596bc0:_0x27a369['to'],this['inner']=new StructureCursor(_0x27a369['tree'],-_0x27a369['offset']);}}['findMounts'](_0x5362a0,_0x430206){var _0x3a8396;let _0x2baa85=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x5362a0,0x1);for(let _0xef18a7=this['inner']['cursor']['node'];_0xef18a7;_0xef18a7=_0xef18a7['parent']){let _0x33d33d=null===(_0x3a8396=_0xef18a7['tree'])||void 0x0===_0x3a8396?void 0x0:_0x3a8396['prop'](_0x16f115['mounted']);if(_0x33d33d&&_0x33d33d['parser']==_0x430206)for(let _0x38eedf=this['fragI'];_0x38eedf<this['fragments']['length'];_0x38eedf++){let _0x3e3a25=this['fragments'][_0x38eedf];if(_0x3e3a25['from']>=_0xef18a7['to'])break;_0x3e3a25['tree']==this['curFrag']['tree']&&_0x2baa85['push']({'frag':_0x3e3a25,'pos':_0xef18a7['from']-_0x3e3a25['offset'],'mount':_0x33d33d});}}}return _0x2baa85;}};function _0x5c5802(_0x433803,_0x24ab56){let _0x5c9ce1=null,_0x96481f=_0x24ab56;for(let _0x633b30=0x1,_0x3294f3=0x0;_0x633b30<_0x433803['length'];_0x633b30++){let _0x259b53=_0x433803[_0x633b30-0x1]['to'],_0x2f31fe=_0x433803[_0x633b30]['from'];for(;_0x3294f3<_0x96481f['length'];_0x3294f3++){let _0x5469a8=_0x96481f[_0x3294f3];if(_0x5469a8['from']>=_0x2f31fe)break;_0x5469a8['to']<=_0x259b53||(_0x5c9ce1||(_0x96481f=_0x5c9ce1=_0x24ab56['slice']()),_0x5469a8['from']<_0x259b53?(_0x5c9ce1[_0x3294f3]=new _0x414a70(_0x5469a8['from'],_0x259b53),_0x5469a8['to']>_0x2f31fe&&_0x5c9ce1['splice'](_0x3294f3+0x1,0x0,new _0x414a70(_0x2f31fe,_0x5469a8['to']))):_0x5469a8['to']>_0x2f31fe?_0x5c9ce1[_0x3294f3--]=new _0x414a70(_0x2f31fe,_0x5469a8['to']):_0x5c9ce1['splice'](_0x3294f3--,0x1));}}return _0x96481f;}function _0x7c7e20(_0x2ced7a,_0x3d1cf9,_0x3fa6c1,_0x514d27){let _0x4f8068=0x0,_0x472c3d=0x0,_0x46f696=!0x1,_0x10e004=!0x1,_0x28bfe8=-0x3b9aca00,_0x519f73=[];for(;;){let _0x3886bb=_0x4f8068==_0x2ced7a['length']?0x3b9aca00:_0x46f696?_0x2ced7a[_0x4f8068]['to']:_0x2ced7a[_0x4f8068]['from'],_0x3219e6=_0x472c3d==_0x3d1cf9['length']?0x3b9aca00:_0x10e004?_0x3d1cf9[_0x472c3d]['to']:_0x3d1cf9[_0x472c3d]['from'];if(_0x46f696!=_0x10e004){let _0x4ddc2f=Math['max'](_0x28bfe8,_0x3fa6c1),_0x72e78=Math['min'](_0x3886bb,_0x3219e6,_0x514d27);_0x4ddc2f<_0x72e78&&_0x519f73['push'](new _0x414a70(_0x4ddc2f,_0x72e78));}if(_0x28bfe8=Math['min'](_0x3886bb,_0x3219e6),0x3b9aca00==_0x28bfe8)break;_0x3886bb==_0x28bfe8&&(_0x46f696?(_0x46f696=!0x1,_0x4f8068++):_0x46f696=!0x0),_0x3219e6==_0x28bfe8&&(_0x10e004?(_0x10e004=!0x1,_0x472c3d++):_0x10e004=!0x0);}return _0x519f73;}function _0x470df4(_0xc1a0ba,_0x5d232b){let _0x44b7e9=[];for(let {pos:_0x413076,mount:_0xf9f892,frag:_0xab200}of _0xc1a0ba){let _0xf48912=_0x413076+(_0xf9f892['overlay']?_0xf9f892['overlay'][0x0]['from']:0x0),_0x56120d=_0xf48912+_0xf9f892['tree']['length'],_0x3b0e2a=Math['max'](_0xab200['from'],_0xf48912),_0x434118=Math['min'](_0xab200['to'],_0x56120d);if(_0xf9f892['overlay']){let _0x3b4a54=_0x7c7e20(_0x5d232b,_0xf9f892['overlay']['map'](_0x17bca4=>new _0x414a70(_0x17bca4['from']+_0x413076,_0x17bca4['to']+_0x413076)),_0x3b0e2a,_0x434118);for(let _0x450638=0x0,_0x3b8403=_0x3b0e2a;;_0x450638++){let _0xba186a=_0x450638==_0x3b4a54['length'],_0x413861=_0xba186a?_0x434118:_0x3b4a54[_0x450638]['from'];if(_0x413861>_0x3b8403&&_0x44b7e9['push'](new TreeFragment(_0x3b8403,_0x413861,_0xf9f892['tree'],-_0xf48912,_0xab200['from']>=_0x3b8403||_0xab200['openStart'],_0xab200['to']<=_0x413861||_0xab200['openEnd'])),_0xba186a)break;_0x3b8403=_0x3b4a54[_0x450638]['to'];}}else _0x44b7e9['push'](new TreeFragment(_0x3b0e2a,_0x434118,_0xf9f892['tree'],-_0xf48912,_0xab200['from']>=_0xf48912||_0xab200['openStart'],_0xab200['to']<=_0x56120d||_0xab200['openEnd']));}return _0x44b7e9;}let _0x3ef45f=0x0;class _0x4f5070{constructor(_0x3378f4,_0x39beed,_0x5a7349,_0x3a7a13){this['name']=_0x3378f4,this['set']=_0x39beed,this['base']=_0x5a7349,this['modified']=_0x3a7a13,this['id']=_0x3ef45f++;}['toString'](){let {name:_0x4a6ec0}=this;for(let _0x1fefb4 of this['modified'])_0x1fefb4['name']&&(_0x4a6ec0=_0x1fefb4['name']+'('+_0x4a6ec0+')');return _0x4a6ec0;}static['define'](_0xf33a16,_0x5a1bb5){let _0x16f732='string'==typeof _0xf33a16?_0xf33a16:'?';if(_0xf33a16 instanceof _0x4f5070&&(_0x5a1bb5=_0xf33a16),null==_0x5a1bb5?void 0x0:_0x5a1bb5['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2bb582=new _0x4f5070(_0x16f732,[],null,[]);if(_0x2bb582['set']['push'](_0x2bb582),_0x5a1bb5){for(let t of _0x5a1bb5['set'])_0x2bb582['set']['push'](t);}return _0x2bb582;}static['defineModifier'](_0x1f9504){let _0x2f3715=new _0x19a5d5(_0x1f9504);return _0x3f57f2=>_0x3f57f2['modified']['indexOf'](_0x2f3715)>-0x1?_0x3f57f2:_0x19a5d5['get'](_0x3f57f2['base']||_0x3f57f2,_0x3f57f2['modified']['concat'](_0x2f3715)['sort']((_0x2b110e,_0x2b0244)=>_0x2b110e['id']-_0x2b0244['id']));}}let _0x113804=0x0;class _0x19a5d5{constructor(_0x4a5224){this['name']=_0x4a5224,this['instances']=[],this['id']=_0x113804++;}static['get'](_0x2de30e,_0x20d78b){if(!_0x20d78b['length'])return _0x2de30e;let _0x18c31b=_0x20d78b[0x0]['instances']['find'](t=>t['base']==_0x2de30e&&function(_0x180531,_0x47502a){return _0x180531['length']==_0x47502a['length']&&_0x180531['every']((_0x12c330,_0x1d3e6a)=>_0x12c330==_0x47502a[_0x1d3e6a]);}(_0x20d78b,t['modified']));if(_0x18c31b)return _0x18c31b;let _0x3f4deb=[],_0x1bec68=new _0x4f5070(_0x2de30e['name'],_0x3f4deb,_0x2de30e,_0x20d78b);for(let _0x158133 of _0x20d78b)_0x158133['instances']['push'](_0x1bec68);let _0x35a642=function(_0x3d7679){let _0x15a5af=[[]];for(let _0x4b23f7=0x0;_0x4b23f7<_0x3d7679['length'];_0x4b23f7++)for(let _0x1614db=0x0,_0x2cc906=_0x15a5af['length'];_0x1614db<_0x2cc906;_0x1614db++)_0x15a5af['push'](_0x15a5af[_0x1614db]['concat'](_0x3d7679[_0x4b23f7]));return _0x15a5af['sort']((_0x2736de,_0x58cb1d)=>_0x58cb1d['length']-_0x2736de['length']);}(_0x20d78b);for(let _0xa77ac6 of _0x2de30e['set'])if(!_0xa77ac6['modified']['length']){for(let _0xc3f508 of _0x35a642)_0x3f4deb['push'](_0x19a5d5['get'](_0xa77ac6,_0xc3f508));}return _0x1bec68;}}function _0x4a339a(_0x2b46fd){let _0x4ffca8=Object['create'](null);for(let _0x4a0b56 in _0x2b46fd){let _0x14630e=_0x2b46fd[_0x4a0b56];Array['isArray'](_0x14630e)||(_0x14630e=[_0x14630e]);for(let _0xd7e7d4 of _0x4a0b56['split']('\x20'))if(_0xd7e7d4){let _0x1f9e29=[],_0x3b1230=0x2,_0x314ca9=_0xd7e7d4;for(let _0xd1b1e2=0x0;;){if('...'==_0x314ca9&&_0xd1b1e2>0x0&&_0xd1b1e2+0x3==_0xd7e7d4['length']){_0x3b1230=0x1;break;}let _0x4581f9=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x314ca9);if(!_0x4581f9)throw new RangeError('Invalid\x20path:\x20'+_0xd7e7d4);if(_0x1f9e29['push']('*'==_0x4581f9[0x0]?'':'\x22'==_0x4581f9[0x0][0x0]?JSON['parse'](_0x4581f9[0x0]):_0x4581f9[0x0]),_0xd1b1e2+=_0x4581f9[0x0]['length'],_0xd1b1e2==_0xd7e7d4['length'])break;let _0x1d6f1c=_0xd7e7d4[_0xd1b1e2++];if(_0xd1b1e2==_0xd7e7d4['length']&&'!'==_0x1d6f1c){_0x3b1230=0x0;break;}if('/'!=_0x1d6f1c)throw new RangeError('Invalid\x20path:\x20'+_0xd7e7d4);_0x314ca9=_0xd7e7d4['slice'](_0xd1b1e2);}let _0x3ba95e=_0x1f9e29['length']-0x1,_0x1fd871=_0x1f9e29[_0x3ba95e];if(!_0x1fd871)throw new RangeError('Invalid\x20path:\x20'+_0xd7e7d4);let _0x1fb077=new _0x3aa954(_0x14630e,_0x3b1230,_0x3ba95e>0x0?_0x1f9e29['slice'](0x0,_0x3ba95e):null);_0x4ffca8[_0x1fd871]=_0x1fb077['sort'](_0x4ffca8[_0x1fd871]);}}return _0x39bd93['add'](_0x4ffca8);}const _0x39bd93=new _0x16f115({'combine'(_0x28b8c5,_0x3a9a45){let _0x65d14,_0x41f665,_0x195bfb;for(;_0x28b8c5||_0x3a9a45;){if(!_0x28b8c5||_0x3a9a45&&_0x28b8c5['depth']>=_0x3a9a45['depth']?(_0x195bfb=_0x3a9a45,_0x3a9a45=_0x3a9a45['next']):(_0x195bfb=_0x28b8c5,_0x28b8c5=_0x28b8c5['next']),_0x65d14&&_0x65d14['mode']==_0x195bfb['mode']&&!_0x195bfb['context']&&!_0x65d14['context'])continue;let _0x2e3109=new _0x3aa954(_0x195bfb['tags'],_0x195bfb['mode'],_0x195bfb['context']);_0x65d14?_0x65d14['next']=_0x2e3109:_0x41f665=_0x2e3109,_0x65d14=_0x2e3109;}return _0x41f665;}});class _0x3aa954{constructor(_0xf861a7,_0xefcab4,_0x2007cb,_0x29add2){this['tags']=_0xf861a7,this['mode']=_0xefcab4,this['context']=_0x2007cb,this['next']=_0x29add2;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0xdac95a){return!_0xdac95a||_0xdac95a['depth']<this['depth']?(this['next']=_0xdac95a,this):(_0xdac95a['next']=this['sort'](_0xdac95a['next']),_0xdac95a);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function _0x1fcf93(_0xbf5567,_0x4ef23b){let _0x4158f0=Object['create'](null);for(let _0x2604c6 of _0xbf5567)if(Array['isArray'](_0x2604c6['tag'])){for(let _0x164292 of _0x2604c6['tag'])_0x4158f0[_0x164292['id']]=_0x2604c6['class'];}else _0x4158f0[_0x2604c6['tag']['id']]=_0x2604c6['class'];let {scope:_0x3184f9,all:_0x170d7=null}=_0x4ef23b||{};return{'style':_0x44a650=>{let _0x234653=_0x170d7;for(let _0x395b72 of _0x44a650)for(let _0x2fdaeb of _0x395b72['set']){let _0x1f92a5=_0x4158f0[_0x2fdaeb['id']];if(_0x1f92a5){_0x234653=_0x234653?_0x234653+'\x20'+_0x1f92a5:_0x1f92a5;break;}}return _0x234653;},'scope':_0x3184f9};}function _0x3f5c11(_0x3bb377,_0x2777,_0x1c80cb,_0x4b5c69=0x0,_0x14c8cb=_0x3bb377['length']){let _0x51e6ad=new HighlightBuilder(_0x4b5c69,Array['isArray'](_0x2777)?_0x2777:[_0x2777],_0x1c80cb);_0x51e6ad['highlightRange'](_0x3bb377['cursor'](),_0x4b5c69,_0x14c8cb,'',_0x51e6ad['highlighters']),_0x51e6ad['flush'](_0x14c8cb);}_0x3aa954['empty']=new _0x3aa954([],0x2,null);class HighlightBuilder{constructor(_0x24e501,_0x2537e8,_0x1aa5ee){this['at']=_0x24e501,this['highlighters']=_0x2537e8,this['span']=_0x1aa5ee,this['class']='';}['startSpan'](_0x230002,_0x5dcc9e){_0x5dcc9e!=this['class']&&(this['flush'](_0x230002),_0x230002>this['at']&&(this['at']=_0x230002),this['class']=_0x5dcc9e);}['flush'](_0x9c01ab){_0x9c01ab>this['at']&&this['class']&&this['span'](this['at'],_0x9c01ab,this['class']);}['highlightRange'](_0x238c71,_0xc27d83,_0x18e27d,_0x3c74d6,_0x4a3a38){let {type:_0x367360,from:_0x38dfda,to:_0x30f028}=_0x238c71;if(_0x38dfda>=_0x18e27d||_0x30f028<=_0xc27d83)return;_0x367360['isTop']&&(_0x4a3a38=this['highlighters']['filter'](_0x4af8dd=>!_0x4af8dd['scope']||_0x4af8dd['scope'](_0x367360)));let _0x8f8408=_0x3c74d6,_0x41b883=function(_0x3f31b9){let _0xfa0e11=_0x3f31b9['type']['prop'](_0x39bd93);for(;_0xfa0e11&&_0xfa0e11['context']&&!_0x3f31b9['matchContext'](_0xfa0e11['context']);)_0xfa0e11=_0xfa0e11['next'];return _0xfa0e11||null;}(_0x238c71)||_0x3aa954['empty'],_0x373b5b=function(_0x1bea25,_0x2ae665){let _0x50c20e=null;for(let _0x120dbc of _0x1bea25){let _0x4aea97=_0x120dbc['style'](_0x2ae665);_0x4aea97&&(_0x50c20e=_0x50c20e?_0x50c20e+'\x20'+_0x4aea97:_0x4aea97);}return _0x50c20e;}(_0x4a3a38,_0x41b883['tags']);if(_0x373b5b&&(_0x8f8408&&(_0x8f8408+='\x20'),_0x8f8408+=_0x373b5b,0x1==_0x41b883['mode']&&(_0x3c74d6+=(_0x3c74d6?'\x20':'')+_0x373b5b)),this['startSpan'](Math['max'](_0xc27d83,_0x38dfda),_0x8f8408),_0x41b883['opaque'])return;let _0x5b9eed=_0x238c71['tree']&&_0x238c71['tree']['prop'](_0x16f115['mounted']);if(_0x5b9eed&&_0x5b9eed['overlay']){let _0x1674e9=_0x238c71['node']['enter'](_0x5b9eed['overlay'][0x0]['from']+_0x38dfda,0x1),_0x2938c6=this['highlighters']['filter'](_0x546764=>!_0x546764['scope']||_0x546764['scope'](_0x5b9eed['tree']['type'])),_0x2c6398=_0x238c71['firstChild']();for(let _0x329dba=0x0,_0x2b3ce8=_0x38dfda;;_0x329dba++){let _0x265ff1=_0x329dba<_0x5b9eed['overlay']['length']?_0x5b9eed['overlay'][_0x329dba]:null,_0x416670=_0x265ff1?_0x265ff1['from']+_0x38dfda:_0x30f028,_0x50cc93=Math['max'](_0xc27d83,_0x2b3ce8),_0x4d07f9=Math['min'](_0x18e27d,_0x416670);if(_0x50cc93<_0x4d07f9&&_0x2c6398){for(;_0x238c71['from']<_0x4d07f9&&(this['highlightRange'](_0x238c71,_0x50cc93,_0x4d07f9,_0x3c74d6,_0x4a3a38),this['startSpan'](Math['min'](_0x4d07f9,_0x238c71['to']),_0x8f8408),!(_0x238c71['to']>=_0x416670)&&_0x238c71['nextSibling']()););}if(!_0x265ff1||_0x416670>_0x18e27d)break;_0x2b3ce8=_0x265ff1['to']+_0x38dfda,_0x2b3ce8>_0xc27d83&&(this['highlightRange'](_0x1674e9['cursor'](),Math['max'](_0xc27d83,_0x265ff1['from']+_0x38dfda),Math['min'](_0x18e27d,_0x2b3ce8),'',_0x2938c6),this['startSpan'](Math['min'](_0x18e27d,_0x2b3ce8),_0x8f8408));}_0x2c6398&&_0x238c71['parent']();}else{if(_0x238c71['firstChild']()){_0x5b9eed&&(_0x3c74d6='');do{if(!(_0x238c71['to']<=_0xc27d83)){if(_0x238c71['from']>=_0x18e27d)break;this['highlightRange'](_0x238c71,_0xc27d83,_0x18e27d,_0x3c74d6,_0x4a3a38),this['startSpan'](Math['min'](_0x18e27d,_0x238c71['to']),_0x8f8408);}}while(_0x238c71['nextSibling']());_0x238c71['parent']();}}}}const t=_0x4f5070['define'],_0x3eed62=t(),_0xd0e814=t(),_0x760bbe=t(_0xd0e814),t_=t(_0xd0e814),_0x250d8f=t(),_0x4c099a=t(_0x250d8f),_0xfe02b4=t(_0x250d8f),_0x1ac4a4=t(),_0x239fe2=t(_0x1ac4a4),_0x939f70=t(),_0x8aaf3=t(),_0x8640a5=t(),_0x5a57af=t(_0x8640a5),_0x390976=t(),_0x422c5c={'comment':_0x3eed62,'lineComment':t(_0x3eed62),'blockComment':t(_0x3eed62),'docComment':t(_0x3eed62),'name':_0xd0e814,'variableName':t(_0xd0e814),'typeName':_0x760bbe,'tagName':t(_0x760bbe),'propertyName':t_,'attributeName':t(t_),'className':t(_0xd0e814),'labelName':t(_0xd0e814),'namespace':t(_0xd0e814),'macroName':t(_0xd0e814),'literal':_0x250d8f,'string':_0x4c099a,'docString':t(_0x4c099a),'character':t(_0x4c099a),'attributeValue':t(_0x4c099a),'number':_0xfe02b4,'integer':t(_0xfe02b4),'float':t(_0xfe02b4),'bool':t(_0x250d8f),'regexp':t(_0x250d8f),'escape':t(_0x250d8f),'color':t(_0x250d8f),'url':t(_0x250d8f),'keyword':_0x939f70,'self':t(_0x939f70),'null':t(_0x939f70),'atom':t(_0x939f70),'unit':t(_0x939f70),'modifier':t(_0x939f70),'operatorKeyword':t(_0x939f70),'controlKeyword':t(_0x939f70),'definitionKeyword':t(_0x939f70),'moduleKeyword':t(_0x939f70),'operator':_0x8aaf3,'derefOperator':t(_0x8aaf3),'arithmeticOperator':t(_0x8aaf3),'logicOperator':t(_0x8aaf3),'bitwiseOperator':t(_0x8aaf3),'compareOperator':t(_0x8aaf3),'updateOperator':t(_0x8aaf3),'definitionOperator':t(_0x8aaf3),'typeOperator':t(_0x8aaf3),'controlOperator':t(_0x8aaf3),'punctuation':_0x8640a5,'separator':t(_0x8640a5),'bracket':_0x5a57af,'angleBracket':t(_0x5a57af),'squareBracket':t(_0x5a57af),'paren':t(_0x5a57af),'brace':t(_0x5a57af),'content':_0x1ac4a4,'heading':_0x239fe2,'heading1':t(_0x239fe2),'heading2':t(_0x239fe2),'heading3':t(_0x239fe2),'heading4':t(_0x239fe2),'heading5':t(_0x239fe2),'heading6':t(_0x239fe2),'contentSeparator':t(_0x1ac4a4),'list':t(_0x1ac4a4),'quote':t(_0x1ac4a4),'emphasis':t(_0x1ac4a4),'strong':t(_0x1ac4a4),'link':t(_0x1ac4a4),'monospace':t(_0x1ac4a4),'strikethrough':t(_0x1ac4a4),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x390976,'documentMeta':t(_0x390976),'annotation':t(_0x390976),'processingInstruction':t(_0x390976),'definition':_0x4f5070['defineModifier']('definition'),'constant':_0x4f5070['defineModifier']('constant'),'function':_0x4f5070['defineModifier']('function'),'standard':_0x4f5070['defineModifier']('standard'),'local':_0x4f5070['defineModifier']('local'),'special':_0x4f5070['defineModifier']('special')};for(let _0x59d09e in _0x422c5c){let _0x484ecf=_0x422c5c[_0x59d09e];_0x484ecf instanceof _0x4f5070&&(_0x484ecf['name']=_0x59d09e);}var _0x195cb6;_0x1fcf93([{'tag':_0x422c5c['link'],'class':'tok-link'},{'tag':_0x422c5c['heading'],'class':'tok-heading'},{'tag':_0x422c5c['emphasis'],'class':'tok-emphasis'},{'tag':_0x422c5c['strong'],'class':'tok-strong'},{'tag':_0x422c5c['keyword'],'class':'tok-keyword'},{'tag':_0x422c5c['atom'],'class':'tok-atom'},{'tag':_0x422c5c['bool'],'class':'tok-bool'},{'tag':_0x422c5c['url'],'class':'tok-url'},{'tag':_0x422c5c['labelName'],'class':'tok-labelName'},{'tag':_0x422c5c['inserted'],'class':'tok-inserted'},{'tag':_0x422c5c['deleted'],'class':'tok-deleted'},{'tag':_0x422c5c['literal'],'class':'tok-literal'},{'tag':_0x422c5c['string'],'class':'tok-string'},{'tag':_0x422c5c['number'],'class':'tok-number'},{'tag':[_0x422c5c['regexp'],_0x422c5c['escape'],_0x422c5c['special'](_0x422c5c['string'])],'class':'tok-string2'},{'tag':_0x422c5c['variableName'],'class':'tok-variableName'},{'tag':_0x422c5c['local'](_0x422c5c['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x422c5c['definition'](_0x422c5c['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x422c5c['special'](_0x422c5c['variableName']),'class':'tok-variableName2'},{'tag':_0x422c5c['definition'](_0x422c5c['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x422c5c['typeName'],'class':'tok-typeName'},{'tag':_0x422c5c['namespace'],'class':'tok-namespace'},{'tag':_0x422c5c['className'],'class':'tok-className'},{'tag':_0x422c5c['macroName'],'class':'tok-macroName'},{'tag':_0x422c5c['propertyName'],'class':'tok-propertyName'},{'tag':_0x422c5c['operator'],'class':'tok-operator'},{'tag':_0x422c5c['comment'],'class':'tok-comment'},{'tag':_0x422c5c['meta'],'class':'tok-meta'},{'tag':_0x422c5c['invalid'],'class':'tok-invalid'},{'tag':_0x422c5c['punctuation'],'class':'tok-punctuation'}]);const _0x31a993=new _0x16f115();function _0x6f32de(_0x235681){return Facet['define']({'combine':_0x235681?_0x5e43da=>_0x5e43da['concat'](_0x235681):void 0x0});}const _0xa31d2=new _0x16f115();class _0x221903{constructor(_0x183d23,_0x3ac43c,_0x58dc8b=[],_0x5d80a6=''){this['data']=_0x183d23,this['name']=_0x5d80a6,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return _0xc45a56(this);}}),this['parser']=_0x3ac43c,this['extension']=[_0x5208f2['of'](this),EditorState['languageData']['of']((_0x1bfcd5,_0x2fac7a,_0x43bb9b)=>{let _0xe6bc8a=_0x412874(_0x1bfcd5,_0x2fac7a,_0x43bb9b),_0x124729=_0xe6bc8a['type']['prop'](_0x31a993);if(!_0x124729)return[];let _0x28bd6b=_0x1bfcd5['facet'](_0x124729),_0x5ae803=_0xe6bc8a['type']['prop'](_0xa31d2);if(_0x5ae803){let _0x2ee3b7=_0xe6bc8a['resolve'](_0x2fac7a-_0xe6bc8a['from'],_0x43bb9b);for(let _0x4a5fd2 of _0x5ae803)if(_0x4a5fd2['test'](_0x2ee3b7,_0x1bfcd5)){let _0x3cd4a0=_0x1bfcd5['facet'](_0x4a5fd2['facet']);return'replace'==_0x4a5fd2['type']?_0x3cd4a0:_0x3cd4a0['concat'](_0x28bd6b);}}return _0x28bd6b;})]['concat'](_0x58dc8b);}['isActiveAt'](_0x3dedd4,_0x549373,_0x1d74b6=-0x1){return _0x412874(_0x3dedd4,_0x549373,_0x1d74b6)['type']['prop'](_0x31a993)==this['data'];}['findRegions'](_0x43ee84){let _0x54a9f6=_0x43ee84['facet'](_0x5208f2);if((null==_0x54a9f6?void 0x0:_0x54a9f6['data'])==this['data'])return[{'from':0x0,'to':_0x43ee84['doc']['length']}];if(!_0x54a9f6||!_0x54a9f6['allowsNesting'])return[];let _0x57496b=[],_0x138299=(_0x28c1ac,_0x59cda1)=>{if(_0x28c1ac['prop'](_0x31a993)==this['data'])return void _0x57496b['push']({'from':_0x59cda1,'to':_0x59cda1+_0x28c1ac['length']});let _0x1cef3c=_0x28c1ac['prop'](_0x16f115['mounted']);if(_0x1cef3c){if(_0x1cef3c['tree']['prop'](_0x31a993)==this['data']){if(_0x1cef3c['overlay']){for(let _0x430d7c of _0x1cef3c['overlay'])_0x57496b['push']({'from':_0x430d7c['from']+_0x59cda1,'to':_0x430d7c['to']+_0x59cda1});}else _0x57496b['push']({'from':_0x59cda1,'to':_0x59cda1+_0x28c1ac['length']});return;}if(_0x1cef3c['overlay']){let _0x144287=_0x57496b['length'];if(_0x138299(_0x1cef3c['tree'],_0x1cef3c['overlay'][0x0]['from']+_0x59cda1),_0x57496b['length']>_0x144287)return;}}for(let _0x39e56f=0x0;_0x39e56f<_0x28c1ac['children']['length'];_0x39e56f++){let _0x4b3201=_0x28c1ac['children'][_0x39e56f];_0x4b3201 instanceof _0x5c5fb3&&_0x138299(_0x4b3201,_0x28c1ac['positions'][_0x39e56f]+_0x59cda1);}};return _0x138299(_0xc45a56(_0x43ee84),0x0),_0x57496b;}get['allowsNesting'](){return!0x0;}}function _0x412874(_0x5c09ba,_0xce3fea,_0x5eb1a8){let _0x3b2f0c=_0x5c09ba['facet'](_0x5208f2),_0x537a65=_0xc45a56(_0x5c09ba)['topNode'];if(!_0x3b2f0c||_0x3b2f0c['allowsNesting']){for(let _0x2b67df=_0x537a65;_0x2b67df;_0x2b67df=_0x2b67df['enter'](_0xce3fea,_0x5eb1a8,_0x3dd99e['ExcludeBuffers']))_0x2b67df['type']['isTop']&&(_0x537a65=_0x2b67df);}return _0x537a65;}_0x221903['setState']=StateEffect['define']();class _0x15dc22 extends _0x221903{constructor(_0x32f07b,_0x47557b,_0x188d1d){super(_0x32f07b,_0x47557b,[],_0x188d1d),this['parser']=_0x47557b;}static['define'](_0x455047){let _0x5baedc=_0x6f32de(_0x455047['languageData']);return new _0x15dc22(_0x5baedc,_0x455047['parser']['configure']({'props':[_0x31a993['add'](_0x31fed1=>_0x31fed1['isTop']?_0x5baedc:void 0x0)]}),_0x455047['name']);}['configure'](_0x4e2879,_0x3ca9a2){return new _0x15dc22(this['data'],this['parser']['configure'](_0x4e2879),_0x3ca9a2||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function _0xc45a56(_0x3acfd0){let _0x4eb1b3=_0x3acfd0['field'](_0x221903['state'],!0x1);return _0x4eb1b3?_0x4eb1b3['tree']:_0x5c5fb3['empty'];}class DocInput{constructor(_0x2bd896){this['doc']=_0x2bd896,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x2bd896['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0xed9148){return this['string']=this['cursor']['next'](_0xed9148-this['cursorPos'])['value'],this['cursorPos']=_0xed9148+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x8b5c3f){return this['syncTo'](_0x8b5c3f),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x511bee,_0x3a7373){let _0x184bf=this['cursorPos']-this['string']['length'];return _0x511bee<_0x184bf||_0x3a7373>=this['cursorPos']?this['doc']['sliceString'](_0x511bee,_0x3a7373):this['string']['slice'](_0x511bee-_0x184bf,_0x3a7373-_0x184bf);}}let _0x366f7b=null;class ParseContext{constructor(_0x3fb866,_0x37268f,_0xdb37d2=[],_0x238a21,_0xce4944,_0xc1227c,_0xa48b2b,_0x203c11){this['parser']=_0x3fb866,this['state']=_0x37268f,this['fragments']=_0xdb37d2,this['tree']=_0x238a21,this['treeLen']=_0xce4944,this['viewport']=_0xc1227c,this['skipped']=_0xa48b2b,this['scheduleOn']=_0x203c11,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x91fd1e,_0x3eacc3,_0x24b663){return new ParseContext(_0x91fd1e,_0x3eacc3,[],_0x5c5fb3['empty'],0x0,_0x24b663,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x1d09fe,_0x3663d2){return null!=_0x3663d2&&_0x3663d2>=this['state']['doc']['length']&&(_0x3663d2=void 0x0),this['tree']!=_0x5c5fb3['empty']&&this['isDone'](null!=_0x3663d2?_0x3663d2:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x27f1e3;if('number'==typeof _0x1d09fe){let _0x4e1057=Date['now']()+_0x1d09fe;_0x1d09fe=()=>Date['now']()>_0x4e1057;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x3663d2&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x3663d2)&&_0x3663d2<this['state']['doc']['length']&&this['parse']['stopAt'](_0x3663d2);;){let _0x506fc8=this['parse']['advance']();if(_0x506fc8){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x506fc8,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x27f1e3=this['parse']['stoppedAt'])&&void 0x0!==_0x27f1e3?_0x27f1e3:this['state']['doc']['length'],this['tree']=_0x506fc8,this['parse']=null,!(this['treeLen']<(null!=_0x3663d2?_0x3663d2:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x1d09fe())return!0x1;}});}['takeTree'](){let _0x4bec4b,_0x3967e4;this['parse']&&(_0x4bec4b=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4bec4b)&&this['parse']['stopAt'](_0x4bec4b),this['withContext'](()=>{for(;!(_0x3967e4=this['parse']['advance']()););}),this['treeLen']=_0x4bec4b,this['tree']=_0x3967e4,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x2f9fe7){let _0x358da2=_0x366f7b;_0x366f7b=this;try{return _0x2f9fe7();}finally{_0x366f7b=_0x358da2;}}['withoutTempSkipped'](_0x465f39){for(let _0xf3699c;_0xf3699c=this['tempSkipped']['pop']();)_0x465f39=_0x5e6312(_0x465f39,_0xf3699c['from'],_0xf3699c['to']);return _0x465f39;}['changes'](_0x5a26b2,_0x2c04e0){let {fragments:_0x587f78,tree:_0x5abd2c,treeLen:_0x3b03e7,viewport:_0x370037,skipped:_0x531a64}=this;if(this['takeTree'](),!_0x5a26b2['empty']){let _0x135d47=[];if(_0x5a26b2['iterChangedRanges']((_0x2b5c28,_0x5a2eaa,_0x6e54b7,_0x12f9f5)=>_0x135d47['push']({'fromA':_0x2b5c28,'toA':_0x5a2eaa,'fromB':_0x6e54b7,'toB':_0x12f9f5})),_0x587f78=TreeFragment['applyChanges'](_0x587f78,_0x135d47),_0x5abd2c=_0x5c5fb3['empty'],_0x3b03e7=0x0,_0x370037={'from':_0x5a26b2['mapPos'](_0x370037['from'],-0x1),'to':_0x5a26b2['mapPos'](_0x370037['to'],0x1)},this['skipped']['length']){_0x531a64=[];for(let _0x449c0c of this['skipped']){let _0x419165=_0x5a26b2['mapPos'](_0x449c0c['from'],0x1),_0x19e9a1=_0x5a26b2['mapPos'](_0x449c0c['to'],-0x1);_0x419165<_0x19e9a1&&_0x531a64['push']({'from':_0x419165,'to':_0x19e9a1});}}}return new ParseContext(this['parser'],_0x2c04e0,_0x587f78,_0x5abd2c,_0x3b03e7,_0x370037,_0x531a64,this['scheduleOn']);}['updateViewport'](_0x3fd874){if(this['viewport']['from']==_0x3fd874['from']&&this['viewport']['to']==_0x3fd874['to'])return!0x1;this['viewport']=_0x3fd874;let _0x14ca67=this['skipped']['length'];for(let _0x3aac7d=0x0;_0x3aac7d<this['skipped']['length'];_0x3aac7d++){let {from:_0x31933d,to:_0x799d9}=this['skipped'][_0x3aac7d];_0x31933d<_0x3fd874['to']&&_0x799d9>_0x3fd874['from']&&(this['fragments']=_0x5e6312(this['fragments'],_0x31933d,_0x799d9),this['skipped']['splice'](_0x3aac7d--,0x1));}return!(this['skipped']['length']>=_0x14ca67)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x4b032f,_0x2c7f68){this['skipped']['push']({'from':_0x4b032f,'to':_0x2c7f68});}static['getSkippingParser'](_0x4e7198){return new class extends _0x583980{['createParse'](_0xfb2567,_0x3808dc,_0x264d45){let _0x127f7a=_0x264d45[0x0]['from'],_0x21db7f=_0x264d45[_0x264d45['length']-0x1]['to'];return{'parsedPos':_0x127f7a,'advance'(){let _0xaafef5=_0x366f7b;if(_0xaafef5){for(let _0x43b712 of _0x264d45)_0xaafef5['tempSkipped']['push'](_0x43b712);_0x4e7198&&(_0xaafef5['scheduleOn']=_0xaafef5['scheduleOn']?Promise['all']([_0xaafef5['scheduleOn'],_0x4e7198]):_0x4e7198);}return this['parsedPos']=_0x21db7f,new _0x5c5fb3(_0x242d89['none'],[],[],_0x21db7f-_0x127f7a);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0xe03306){_0xe03306=Math['min'](_0xe03306,this['state']['doc']['length']);let _0x4d028d=this['fragments'];return this['treeLen']>=_0xe03306&&_0x4d028d['length']&&0x0==_0x4d028d[0x0]['from']&&_0x4d028d[0x0]['to']>=_0xe03306;}static['get'](){return _0x366f7b;}}function _0x5e6312(_0x48d8a5,_0x293b13,_0x247cac){return TreeFragment['applyChanges'](_0x48d8a5,[{'fromA':_0x293b13,'toA':_0x247cac,'fromB':_0x293b13,'toB':_0x247cac}]);}class LanguageState{constructor(_0x5d21ac){this['context']=_0x5d21ac,this['tree']=_0x5d21ac['tree'];}['apply'](_0x55986a){if(!_0x55986a['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x5487ef=this['context']['changes'](_0x55986a['changes'],_0x55986a['state']),_0x5c34db=this['context']['treeLen']==_0x55986a['startState']['doc']['length']?void 0x0:Math['max'](_0x55986a['changes']['mapPos'](this['context']['treeLen']),_0x5487ef['viewport']['to']);return _0x5487ef['work'](0x14,_0x5c34db)||_0x5487ef['takeTree'](),new LanguageState(_0x5487ef);}static['init'](_0x3fa0df){let _0x108175=Math['min'](0xbb8,_0x3fa0df['doc']['length']),_0x2b4c9d=ParseContext['create'](_0x3fa0df['facet'](_0x5208f2)['parser'],_0x3fa0df,{'from':0x0,'to':_0x108175});return _0x2b4c9d['work'](0x14,_0x108175)||_0x2b4c9d['takeTree'](),new LanguageState(_0x2b4c9d);}}_0x221903['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x3f6f1a,_0x227b1e){for(let _0x13fb01 of _0x227b1e['effects'])if(_0x13fb01['is'](_0x221903['setState']))return _0x13fb01['value'];return _0x227b1e['startState']['facet'](_0x5208f2)!=_0x227b1e['state']['facet'](_0x5208f2)?LanguageState['init'](_0x227b1e['state']):_0x3f6f1a['apply'](_0x227b1e);}});let _0x1f6eb6=_0x2a0d66=>{let _0x1c2dae=setTimeout(()=>_0x2a0d66(),0x1f4);return()=>clearTimeout(_0x1c2dae);};'undefined'!=typeof requestIdleCallback&&(_0x1f6eb6=_0x135dd4=>{let _0x56a1f8=-0x1,_0x1a9502=setTimeout(()=>{_0x56a1f8=requestIdleCallback(_0x135dd4,{'timeout':0x190});},0x64);return()=>_0x56a1f8<0x0?clearTimeout(_0x1a9502):cancelIdleCallback(_0x56a1f8);});const _0x56aa1e='undefined'!=typeof navigator&&(null===(_0x195cb6=navigator['scheduling'])||void 0x0===_0x195cb6?void 0x0:_0x195cb6['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x509050=_0xa40bbd['fromClass'](class _0x54d428{constructor(_0x56655b){this['view']=_0x56655b,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x2167d9){let _0x580d6b=this['view']['state']['field'](_0x221903['state'])['context'];(_0x580d6b['updateViewport'](_0x2167d9['view']['viewport'])||this['view']['viewport']['to']>_0x580d6b['treeLen'])&&this['scheduleWork'](),(_0x2167d9['docChanged']||_0x2167d9['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x580d6b);}['scheduleWork'](){if(this['working'])return;let {state:_0x502c47}=this['view'],_0x14eb4e=_0x502c47['field'](_0x221903['state']);_0x14eb4e['tree']==_0x14eb4e['context']['tree']&&_0x14eb4e['context']['isDone'](_0x502c47['doc']['length'])||(this['working']=_0x1f6eb6(this['work']));}['work'](_0x57f836){this['working']=null;let _0x42f3bc=Date['now']();if(this['chunkEnd']<_0x42f3bc&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x42f3bc+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x39bf13,viewport:{to:_0x1571e9}}=this['view'],_0x317278=_0x39bf13['field'](_0x221903['state']);if(_0x317278['tree']==_0x317278['context']['tree']&&_0x317278['context']['isDone'](_0x1571e9+0x186a0))return;let _0x3d286b=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x57f836&&!_0x56aa1e?Math['max'](0x19,_0x57f836['timeRemaining']()-0x5):0x3b9aca00),_0x3e4dab=_0x317278['context']['treeLen']<_0x1571e9&&_0x39bf13['doc']['length']>_0x1571e9+0x3e8,_0x14e6bd=_0x317278['context']['work'](()=>_0x56aa1e&&_0x56aa1e()||Date['now']()>_0x3d286b,_0x1571e9+(_0x3e4dab?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x42f3bc,(_0x14e6bd||this['chunkBudget']<=0x0)&&(_0x317278['context']['takeTree'](),this['view']['dispatch']({'effects':_0x221903['setState']['of'](new LanguageState(_0x317278['context']))})),this['chunkBudget']>0x0&&(!_0x14e6bd||_0x3e4dab)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x317278['context']);}['checkAsyncSchedule'](_0x146776){_0x146776['scheduleOn']&&(this['workScheduled']++,_0x146776['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x30d528=>_0x2eda46(this['view']['state'],_0x30d528))['then'](()=>this['workScheduled']--),_0x146776['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x5208f2=Facet['define']({'combine':_0x3e2cdc=>_0x3e2cdc['length']?_0x3e2cdc[0x0]:null,'enables':_0x3c9f60=>[_0x221903['state'],_0x509050,EditorView['contentAttributes']['compute']([_0x3c9f60],_0x440c9c=>{let _0x6801ea=_0x440c9c['facet'](_0x3c9f60);return _0x6801ea&&_0x6801ea['name']?{'data-language':_0x6801ea['name']}:{};})]});class LanguageSupport{constructor(_0x4ee72b,_0x4384f4=[]){this['language']=_0x4ee72b,this['support']=_0x4384f4,this['extension']=[_0x4ee72b,_0x4384f4];}}class LanguageDescription{constructor(_0x1821b5,_0x466983,_0x404f6d,_0x527248,_0x53649d,_0x4c1de9=void 0x0){this['name']=_0x1821b5,this['alias']=_0x466983,this['extensions']=_0x404f6d,this['filename']=_0x527248,this['loadFunc']=_0x53649d,this['support']=_0x4c1de9,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x548e2d=>this['support']=_0x548e2d,_0x102fda=>{throw this['loading']=null,_0x102fda;}));}static['of'](_0x437338){let {load:_0x1777e0,support:_0x517fa0}=_0x437338;if(!_0x1777e0){if(!_0x517fa0)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x1777e0=()=>Promise['resolve'](_0x517fa0);}return new LanguageDescription(_0x437338['name'],(_0x437338['alias']||[])['concat'](_0x437338['name'])['map'](_0x3ac91d=>_0x3ac91d['toLowerCase']()),_0x437338['extensions']||[],_0x437338['filename'],_0x1777e0,_0x517fa0);}static['matchFilename'](_0x2ee77e,_0x263966){for(let _0x27997e of _0x2ee77e)if(_0x27997e['filename']&&_0x27997e['filename']['test'](_0x263966))return _0x27997e;let _0x2f0189=/\.([^.]+)$/['exec'](_0x263966);if(_0x2f0189){for(let _0x113e66 of _0x2ee77e)if(_0x113e66['extensions']['indexOf'](_0x2f0189[0x1])>-0x1)return _0x113e66;}return null;}static['matchLanguageName'](_0x59bd06,_0x5acd94,_0xc6161=!0x0){_0x5acd94=_0x5acd94['toLowerCase']();for(let _0x52d31e of _0x59bd06)if(_0x52d31e['alias']['some'](_0xcae033=>_0xcae033==_0x5acd94))return _0x52d31e;if(_0xc6161){for(let _0x4610c8 of _0x59bd06)for(let _0x34aeb0 of _0x4610c8['alias']){let _0x3a628f=_0x5acd94['indexOf'](_0x34aeb0);if(_0x3a628f>-0x1&&(_0x34aeb0['length']>0x2||!/\w/['test'](_0x5acd94[_0x3a628f-0x1])&&!/\w/['test'](_0x5acd94[_0x3a628f+_0x34aeb0['length']])))return _0x4610c8;}}return null;}}const _0x47b77a=Facet['define'](),_0x2aa938=Facet['define']({'combine':_0x1b7d61=>{if(!_0x1b7d61['length'])return'\x20\x20';let _0x5627b9=_0x1b7d61[0x0];if(!_0x5627b9||/\S/['test'](_0x5627b9)||Array['from'](_0x5627b9)['some'](_0x2b582e=>_0x2b582e!=_0x5627b9[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x1b7d61[0x0]));return _0x5627b9;}});function _0x5f198f(_0x52062a){let _0x23ea6f=_0x52062a['facet'](_0x2aa938);return 0x9==_0x23ea6f['charCodeAt'](0x0)?_0x52062a['tabSize']*_0x23ea6f['length']:_0x23ea6f['length'];}function _0x4f0f47(_0x3bd36e,_0x5b9d84){let _0x4ab9a='',_0x58e30b=_0x3bd36e['tabSize'],_0x324bb1=_0x3bd36e['facet'](_0x2aa938)[0x0];if('\x09'==_0x324bb1){for(;_0x5b9d84>=_0x58e30b;)_0x4ab9a+='\x09',_0x5b9d84-=_0x58e30b;_0x324bb1='\x20';}for(let _0x21d74d=0x0;_0x21d74d<_0x5b9d84;_0x21d74d++)_0x4ab9a+=_0x324bb1;return _0x4ab9a;}function _0xc514f3(_0x21cd71,_0x5b150d){_0x21cd71 instanceof EditorState&&(_0x21cd71=new IndentContext(_0x21cd71));for(let _0x6f1e0d of _0x21cd71['state']['facet'](_0x47b77a)){let _0x25e92b=_0x6f1e0d(_0x21cd71,_0x5b150d);if(void 0x0!==_0x25e92b)return _0x25e92b;}let _0x3dde0b=_0xc45a56(_0x21cd71['state']);return _0x3dde0b['length']>=_0x5b150d?function(_0x22ecfa,_0x5a346a,_0x5c4589){let _0x100f05=_0x5a346a['resolveStack'](_0x5c4589),_0xc8940f=_0x5a346a['resolveInner'](_0x5c4589,-0x1)['resolve'](_0x5c4589,0x0)['enterUnfinishedNodesBefore'](_0x5c4589);if(_0xc8940f!=_0x100f05['node']){let _0x51738c=[];for(let _0x30deea=_0xc8940f;_0x30deea&&!(_0x30deea['from']<_0x100f05['node']['from']||_0x30deea['to']>_0x100f05['node']['to']||_0x30deea['from']==_0x100f05['node']['from']&&_0x30deea['type']==_0x100f05['node']['type']);_0x30deea=_0x30deea['parent'])_0x51738c['push'](_0x30deea);for(let _0x4849f7=_0x51738c['length']-0x1;_0x4849f7>=0x0;_0x4849f7--)_0x100f05={'node':_0x51738c[_0x4849f7],'next':_0x100f05};}return _0x1f6d48(_0x100f05,_0x22ecfa,_0x5c4589);}(_0x21cd71,_0x3dde0b,_0x5b150d):null;}class IndentContext{constructor(_0x15c17b,_0x2ecd17={}){this['state']=_0x15c17b,this['options']=_0x2ecd17,this['unit']=_0x5f198f(_0x15c17b);}['lineAt'](_0xe56e91,_0x1837fb=0x1){let _0x3682aa=this['state']['doc']['lineAt'](_0xe56e91),{simulateBreak:_0x2efa39,simulateDoubleBreak:_0x25c858}=this['options'];return null!=_0x2efa39&&_0x2efa39>=_0x3682aa['from']&&_0x2efa39<=_0x3682aa['to']?_0x25c858&&_0x2efa39==_0xe56e91?{'text':'','from':_0xe56e91}:(_0x1837fb<0x0?_0x2efa39<_0xe56e91:_0x2efa39<=_0xe56e91)?{'text':_0x3682aa['text']['slice'](_0x2efa39-_0x3682aa['from']),'from':_0x2efa39}:{'text':_0x3682aa['text']['slice'](0x0,_0x2efa39-_0x3682aa['from']),'from':_0x3682aa['from']}:_0x3682aa;}['textAfterPos'](_0x4e3127,_0x12f69c=0x1){if(this['options']['simulateDoubleBreak']&&_0x4e3127==this['options']['simulateBreak'])return'';let {text:_0x57fe46,from:_0x4bf200}=this['lineAt'](_0x4e3127,_0x12f69c);return _0x57fe46['slice'](_0x4e3127-_0x4bf200,Math['min'](_0x57fe46['length'],_0x4e3127+0x64-_0x4bf200));}['column'](_0x23ee27,_0x2b88dc=0x1){let {text:_0x72b82d,from:_0xfc0858}=this['lineAt'](_0x23ee27,_0x2b88dc),_0x30433f=this['countColumn'](_0x72b82d,_0x23ee27-_0xfc0858),_0x5c512f=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0xfc0858):-0x1;return _0x5c512f>-0x1&&(_0x30433f+=_0x5c512f-this['countColumn'](_0x72b82d,_0x72b82d['search'](/\S|$/))),_0x30433f;}['countColumn'](_0x469fb1,_0xd01132=_0x469fb1['length']){return _0x13abfb(_0x469fb1,this['state']['tabSize'],_0xd01132);}['lineIndent'](_0x3543d3,_0x2884b1=0x1){let {text:_0x127b27,from:_0x271ae1}=this['lineAt'](_0x3543d3,_0x2884b1),_0x3c9583=this['options']['overrideIndentation'];if(_0x3c9583){let _0x32a68b=_0x3c9583(_0x271ae1);if(_0x32a68b>-0x1)return _0x32a68b;}return this['countColumn'](_0x127b27,_0x127b27['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const _0x35e540=new _0x16f115();function _0x1f6d48(_0x3cce5d,_0x541452,_0x405cc9){for(let _0x2f2905=_0x3cce5d;_0x2f2905;_0x2f2905=_0x2f2905['next']){let _0x351410=_0x3c3877(_0x2f2905['node']);if(_0x351410)return _0x351410(TreeIndentContext['create'](_0x541452,_0x405cc9,_0x2f2905));}return 0x0;}function _0x3c3877(_0x41ff53){let _0x16b80e=_0x41ff53['type']['prop'](_0x35e540);if(_0x16b80e)return _0x16b80e;let _0x1f1150,_0x1b05b5=_0x41ff53['firstChild'];if(_0x1b05b5&&(_0x1f1150=_0x1b05b5['type']['prop'](_0x16f115['closedBy']))){let _0x57f708=_0x41ff53['lastChild'],_0x1a6b9e=_0x57f708&&_0x1f1150['indexOf'](_0x57f708['name'])>-0x1;return _0xf3106d=>_0x989590(_0xf3106d,!0x0,0x1,void 0x0,_0x1a6b9e&&!function(_0x5ad00f){return _0x5ad00f['pos']==_0x5ad00f['options']['simulateBreak']&&_0x5ad00f['options']['simulateDoubleBreak'];}(_0xf3106d)?_0x57f708['from']:void 0x0);}return null==_0x41ff53['parent']?_0xa8ef23:null;}function _0xa8ef23(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x2275f3,_0x3cecb7,_0x5281d3){super(_0x2275f3['state'],_0x2275f3['options']),this['base']=_0x2275f3,this['pos']=_0x3cecb7,this['context']=_0x5281d3;}get['node'](){return this['context']['node'];}static['create'](_0x16794b,_0x17a1e1,_0x2d7292){return new TreeIndentContext(_0x16794b,_0x17a1e1,_0x2d7292);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x3a5c6e){let _0x27197e=this['state']['doc']['lineAt'](_0x3a5c6e['from']);for(;;){let _0x39f613=_0x3a5c6e['resolve'](_0x27197e['from']);for(;_0x39f613['parent']&&_0x39f613['parent']['from']==_0x39f613['from'];)_0x39f613=_0x39f613['parent'];if(_0x13b827(_0x39f613,_0x3a5c6e))break;_0x27197e=this['state']['doc']['lineAt'](_0x39f613['from']);}return this['lineIndent'](_0x27197e['from']);}['continue'](){return _0x1f6d48(this['context']['next'],this['base'],this['pos']);}}function _0x13b827(_0x183e0a,_0x10654f){for(let _0x4f6732=_0x10654f;_0x4f6732;_0x4f6732=_0x4f6732['parent'])if(_0x183e0a==_0x4f6732)return!0x0;return!0x1;}function _0x1cea9d({closing:_0x301d30,align:_0x51efd3=!0x0,units:_0x218eaf=0x1}){return _0x5d993c=>_0x989590(_0x5d993c,_0x51efd3,_0x218eaf,_0x301d30);}function _0x989590(_0x215c2b,_0x72a2ba,_0x3d0cbb,_0x529fcd,_0x3ad347){let _0x5ef44f=_0x215c2b['textAfter'],_0x436733=_0x5ef44f['match'](/^\s*/)[0x0]['length'],_0x5157f1=_0x529fcd&&_0x5ef44f['slice'](_0x436733,_0x436733+_0x529fcd['length'])==_0x529fcd||_0x3ad347==_0x215c2b['pos']+_0x436733,_0x42b590=_0x72a2ba?function(_0x137ef6){let _0x3cc44c=_0x137ef6['node'],_0x52c19d=_0x3cc44c['childAfter'](_0x3cc44c['from']),_0x4b5df9=_0x3cc44c['lastChild'];if(!_0x52c19d)return null;let _0x1f7952=_0x137ef6['options']['simulateBreak'],_0x164a03=_0x137ef6['state']['doc']['lineAt'](_0x52c19d['from']),_0x4ba7f5=null==_0x1f7952||_0x1f7952<=_0x164a03['from']?_0x164a03['to']:Math['min'](_0x164a03['to'],_0x1f7952);for(let _0x3fb94a=_0x52c19d['to'];;){let _0x44a4c1=_0x3cc44c['childAfter'](_0x3fb94a);if(!_0x44a4c1||_0x44a4c1==_0x4b5df9)return null;if(!_0x44a4c1['type']['isSkipped']){if(_0x44a4c1['from']>=_0x4ba7f5)return null;let _0x413fea=/^ */['exec'](_0x164a03['text']['slice'](_0x52c19d['to']-_0x164a03['from']))[0x0]['length'];return{'from':_0x52c19d['from'],'to':_0x52c19d['to']+_0x413fea};}_0x3fb94a=_0x44a4c1['to'];}}(_0x215c2b):null;return _0x42b590?_0x5157f1?_0x215c2b['column'](_0x42b590['from']):_0x215c2b['column'](_0x42b590['to']):_0x215c2b['baseIndent']+(_0x5157f1?0x0:_0x215c2b['unit']*_0x3d0cbb);}function _0x219468({except:_0x3c2860,units:_0x4f6768=0x1}={}){return _0x37f3ad=>{let _0x55301f=_0x3c2860&&_0x3c2860['test'](_0x37f3ad['textAfter']);return _0x37f3ad['baseIndent']+(_0x55301f?0x0:_0x4f6768*_0x37f3ad['unit']);};}function _0x3fc2f2(){return EditorState['transactionFilter']['of'](_0x454b58=>{if(!_0x454b58['docChanged']||!_0x454b58['isUserEvent']('input.type')&&!_0x454b58['isUserEvent']('input.complete'))return _0x454b58;let _0x176ceb=_0x454b58['startState']['languageDataAt']('indentOnInput',_0x454b58['startState']['selection']['main']['head']);if(!_0x176ceb['length'])return _0x454b58;let _0x4a4430=_0x454b58['newDoc'],{head:_0x482733}=_0x454b58['newSelection']['main'],_0x2a8ba2=_0x4a4430['lineAt'](_0x482733);if(_0x482733>_0x2a8ba2['from']+0xc8)return _0x454b58;let _0x448d85=_0x4a4430['sliceString'](_0x2a8ba2['from'],_0x482733);if(!_0x176ceb['some'](_0x121fe4=>_0x121fe4['test'](_0x448d85)))return _0x454b58;let {state:_0x2ef135}=_0x454b58,_0x2a8e3e=-0x1,_0x4ec49e=[];for(let {head:_0x5f573}of _0x2ef135['selection']['ranges']){let _0x153832=_0x2ef135['doc']['lineAt'](_0x5f573);if(_0x153832['from']==_0x2a8e3e)continue;_0x2a8e3e=_0x153832['from'];let _0xcb72c0=_0xc514f3(_0x2ef135,_0x153832['from']);if(null==_0xcb72c0)continue;let _0x3099ee=/^\s*/['exec'](_0x153832['text'])[0x0],_0x43d274=_0x4f0f47(_0x2ef135,_0xcb72c0);_0x3099ee!=_0x43d274&&_0x4ec49e['push']({'from':_0x153832['from'],'to':_0x153832['from']+_0x3099ee['length'],'insert':_0x43d274});}return _0x4ec49e['length']?[_0x454b58,{'changes':_0x4ec49e,'sequential':!0x0}]:_0x454b58;});}const _0x10e325=Facet['define'](),_0xa8c244=new _0x16f115();function _0x271472(_0xa8a0e0){let _0x170d85=_0xa8a0e0['firstChild'],_0x574716=_0xa8a0e0['lastChild'];return _0x170d85&&_0x170d85['to']<_0x574716['from']?{'from':_0x170d85['to'],'to':_0x574716['type']['isError']?_0xa8a0e0['to']:_0x574716['from']}:null;}function _0x158e6b(_0x383386){let _0x246e00=_0x383386['lastChild'];return _0x246e00&&_0x246e00['to']==_0x383386['to']&&_0x246e00['type']['isError'];}function _0x5f5050(_0x5b1b79,_0x1da5ba,_0x46d682){for(let _0x210f2d of _0x5b1b79['facet'](_0x10e325)){let _0x111aa4=_0x210f2d(_0x5b1b79,_0x1da5ba,_0x46d682);if(_0x111aa4)return _0x111aa4;}return function(_0x1ea3e3,_0x3f5860,_0x4a830f){let _0x239a32=_0xc45a56(_0x1ea3e3);if(_0x239a32['length']<_0x4a830f)return null;let _0x23f664=null;for(let _0x315904=_0x239a32['resolveStack'](_0x4a830f,0x1);_0x315904;_0x315904=_0x315904['next']){let _0x29c5bd=_0x315904['node'];if(_0x29c5bd['to']<=_0x4a830f||_0x29c5bd['from']>_0x4a830f)continue;if(_0x23f664&&_0x29c5bd['from']<_0x3f5860)break;let _0x135c29=_0x29c5bd['type']['prop'](_0xa8c244);if(_0x135c29&&(_0x29c5bd['to']<_0x239a32['length']-0x32||_0x239a32['length']==_0x1ea3e3['doc']['length']||!_0x158e6b(_0x29c5bd))){let _0x1c39a1=_0x135c29(_0x29c5bd,_0x1ea3e3);_0x1c39a1&&_0x1c39a1['from']<=_0x4a830f&&_0x1c39a1['from']>=_0x3f5860&&_0x1c39a1['to']>_0x4a830f&&(_0x23f664=_0x1c39a1);}}return _0x23f664;}(_0x5b1b79,_0x1da5ba,_0x46d682);}function _0x1aba39(_0x383bf3,_0x3cad9c){let _0x213405=_0x3cad9c['mapPos'](_0x383bf3['from'],0x1),_0x4c8ff8=_0x3cad9c['mapPos'](_0x383bf3['to'],-0x1);return _0x213405>=_0x4c8ff8?void 0x0:{'from':_0x213405,'to':_0x4c8ff8};}const _0x1bb70b=StateEffect['define']({'map':_0x1aba39}),_0x3af86a=StateEffect['define']({'map':_0x1aba39});function _0x22c211(_0x474a9f){let _0x50baa3=[];for(let {head:_0x5ba070}of _0x474a9f['state']['selection']['ranges'])_0x50baa3['some'](_0x584931=>_0x584931['from']<=_0x5ba070&&_0x584931['to']>=_0x5ba070)||_0x50baa3['push'](_0x474a9f['lineBlockAt'](_0x5ba070));return _0x50baa3;}const _0x1980d2=StateField['define']({'create':()=>Decoration['none'],'update'(_0x54a581,_0x4342fd){_0x4342fd['isUserEvent']('delete')&&_0x4342fd['changes']['iterChangedRanges']((_0x4017f9,_0xa31dcd)=>_0x54a581=_0x4ed839(_0x54a581,_0x4017f9,_0xa31dcd)),_0x54a581=_0x54a581['map'](_0x4342fd['changes']);for(let _0x312d09 of _0x4342fd['effects'])if(_0x312d09['is'](_0x1bb70b)&&!_0x40d7f5(_0x54a581,_0x312d09['value']['from'],_0x312d09['value']['to'])){let {preparePlaceholder:_0x5f0fac}=_0x4342fd['state']['facet'](_0x13a145),_0xfed8a7=_0x5f0fac?Decoration['replace']({'widget':new PreparedFoldWidget(_0x5f0fac(_0x4342fd['state'],_0x312d09['value']))}):_0x47f793;_0x54a581=_0x54a581['update']({'add':[_0xfed8a7['range'](_0x312d09['value']['from'],_0x312d09['value']['to'])]});}else _0x312d09['is'](_0x3af86a)&&(_0x54a581=_0x54a581['update']({'filter':(_0x1f9f45,_0x5dd155)=>_0x312d09['value']['from']!=_0x1f9f45||_0x312d09['value']['to']!=_0x5dd155,'filterFrom':_0x312d09['value']['from'],'filterTo':_0x312d09['value']['to']}));return _0x4342fd['selection']&&(_0x54a581=_0x4ed839(_0x54a581,_0x4342fd['selection']['main']['head'])),_0x54a581;},'provide':_0x6b7b68=>EditorView['decorations']['from'](_0x6b7b68),'toJSON'(_0x4e9844,_0x390cc8){let _0x39bda2=[];return _0x4e9844['between'](0x0,_0x390cc8['doc']['length'],(_0x1a037b,_0x29bd3d)=>{_0x39bda2['push'](_0x1a037b,_0x29bd3d);}),_0x39bda2;},'fromJSON'(_0x53028e){if(!Array['isArray'](_0x53028e)||_0x53028e['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x2da811=[];for(let _0x48ba5e=0x0;_0x48ba5e<_0x53028e['length'];){let _0x297459=_0x53028e[_0x48ba5e++],_0x38f88d=_0x53028e[_0x48ba5e++];if('number'!=typeof _0x297459||'number'!=typeof _0x38f88d)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x2da811['push'](_0x47f793['range'](_0x297459,_0x38f88d));}return Decoration['set'](_0x2da811,!0x0);}});function _0x4ed839(_0x1ff397,_0xb84c12,_0x9de447=_0xb84c12){let _0x2c65d0=!0x1;return _0x1ff397['between'](_0xb84c12,_0x9de447,(_0x2177e7,_0x52ee27)=>{_0x2177e7<_0x9de447&&_0x52ee27>_0xb84c12&&(_0x2c65d0=!0x0);}),_0x2c65d0?_0x1ff397['update']({'filterFrom':_0xb84c12,'filterTo':_0x9de447,'filter':(_0x55f577,_0x3f9425)=>_0x55f577>=_0x9de447||_0x3f9425<=_0xb84c12}):_0x1ff397;}function _0x4837c4(_0x43db74,_0x1b849d,_0x152546){var _0x686db;let _0x130982=null;return null===(_0x686db=_0x43db74['field'](_0x1980d2,!0x1))||void 0x0===_0x686db||_0x686db['between'](_0x1b849d,_0x152546,(_0x4ceec8,_0x337a70)=>{(!_0x130982||_0x130982['from']>_0x4ceec8)&&(_0x130982={'from':_0x4ceec8,'to':_0x337a70});}),_0x130982;}function _0x40d7f5(_0x19a27d,_0xc02c2b,_0x78db75){let _0x457676=!0x1;return _0x19a27d['between'](_0xc02c2b,_0xc02c2b,(_0x23ceaa,_0x52d034)=>{_0x23ceaa==_0xc02c2b&&_0x52d034==_0x78db75&&(_0x457676=!0x0);}),_0x457676;}function _0x50ea53(_0x12f60c,_0x49600e){return _0x12f60c['field'](_0x1980d2,!0x1)?_0x49600e:_0x49600e['concat'](StateEffect['appendConfig']['of'](_0x17c49e()));}function _0x165c90(_0x258256,_0x1995eb,_0x1d003b=!0x0){let _0x289b98=_0x258256['state']['doc']['lineAt'](_0x1995eb['from'])['number'],_0x11f1b4=_0x258256['state']['doc']['lineAt'](_0x1995eb['to'])['number'];return EditorView['announce']['of'](_0x258256['state']['phrase'](_0x1d003b?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x289b98+'\x20'+_0x258256['state']['phrase']('to')+'\x20'+_0x11f1b4+'.');}const _0x40bc9c=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x28fea2=>{for(let _0x8dc01c of _0x22c211(_0x28fea2)){let _0x21c194=_0x5f5050(_0x28fea2['state'],_0x8dc01c['from'],_0x8dc01c['to']);if(_0x21c194)return _0x28fea2['dispatch']({'effects':_0x50ea53(_0x28fea2['state'],[_0x1bb70b['of'](_0x21c194),_0x165c90(_0x28fea2,_0x21c194)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0xcf831b=>{if(!_0xcf831b['state']['field'](_0x1980d2,!0x1))return!0x1;let _0x1f4a52=[];for(let _0x571624 of _0x22c211(_0xcf831b)){let _0xd731c2=_0x4837c4(_0xcf831b['state'],_0x571624['from'],_0x571624['to']);_0xd731c2&&_0x1f4a52['push'](_0x3af86a['of'](_0xd731c2),_0x165c90(_0xcf831b,_0xd731c2,!0x1));}return _0x1f4a52['length']&&_0xcf831b['dispatch']({'effects':_0x1f4a52}),_0x1f4a52['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x1cf297=>{let {state:_0x1d65c6}=_0x1cf297,_0x2289a8=[];for(let _0x36b25e=0x0;_0x36b25e<_0x1d65c6['doc']['length'];){let _0x361de1=_0x1cf297['lineBlockAt'](_0x36b25e),_0x4605e1=_0x5f5050(_0x1d65c6,_0x361de1['from'],_0x361de1['to']);_0x4605e1&&_0x2289a8['push'](_0x1bb70b['of'](_0x4605e1)),_0x36b25e=(_0x4605e1?_0x1cf297['lineBlockAt'](_0x4605e1['to']):_0x361de1)['to']+0x1;}return _0x2289a8['length']&&_0x1cf297['dispatch']({'effects':_0x50ea53(_0x1cf297['state'],_0x2289a8)}),!!_0x2289a8['length'];}},{'key':'Ctrl-Alt-]','run':_0x2dc3fd=>{let _0x142e32=_0x2dc3fd['state']['field'](_0x1980d2,!0x1);if(!_0x142e32||!_0x142e32['size'])return!0x1;let _0x3aa1ee=[];return _0x142e32['between'](0x0,_0x2dc3fd['state']['doc']['length'],(_0x401776,_0x509d10)=>{_0x3aa1ee['push'](_0x3af86a['of']({'from':_0x401776,'to':_0x509d10}));}),_0x2dc3fd['dispatch']({'effects':_0x3aa1ee}),!0x0;}}],tv={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x13a145=Facet['define']({'combine':_0x6b5488=>_0x2df370(_0x6b5488,tv)});function _0x17c49e(_0x22588d){return[_0x1980d2,_0x2adaad];}function _0x5160f4(_0x381e3a,_0x9d6fd){let {state:_0x4a7f0d}=_0x381e3a,_0x38b940=_0x4a7f0d['facet'](_0x13a145),_0x10c874=_0x578435=>{let _0x208072=_0x381e3a['lineBlockAt'](_0x381e3a['posAtDOM'](_0x578435['target'])),_0xaa6d57=_0x4837c4(_0x381e3a['state'],_0x208072['from'],_0x208072['to']);_0xaa6d57&&_0x381e3a['dispatch']({'effects':_0x3af86a['of'](_0xaa6d57)}),_0x578435['preventDefault']();};if(_0x38b940['placeholderDOM'])return _0x38b940['placeholderDOM'](_0x381e3a,_0x10c874,_0x9d6fd);let _0x4080ba=document['createElement']('span');return _0x4080ba['textContent']=_0x38b940['placeholderText'],_0x4080ba['setAttribute']('aria-label',_0x4a7f0d['phrase']('folded\x20code')),_0x4080ba['title']=_0x4a7f0d['phrase']('unfold'),_0x4080ba['className']='cm-foldPlaceholder',_0x4080ba['onclick']=_0x10c874,_0x4080ba;}const _0x47f793=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x23dead){return _0x5160f4(_0x23dead,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x5d2c09){super(),this['value']=_0x5d2c09;}['eq'](_0x3d89b7){return this['value']==_0x3d89b7['value'];}['toDOM'](_0xc3818){return _0x5160f4(_0xc3818,this['value']);}}const _0x1846b6={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x287463 extends GutterMarker{constructor(_0x29e707,_0x547431){super(),this['config']=_0x29e707,this['open']=_0x547431;}['eq'](_0x3cc844){return this['config']==_0x3cc844['config']&&this['open']==_0x3cc844['open'];}['toDOM'](_0x5b6e6d){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x1107ff=document['createElement']('span');return _0x1107ff['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x1107ff['title']=_0x5b6e6d['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x1107ff;}}function _0x181767(_0x362a86={}){let _0x55dfef={..._0x1846b6,..._0x362a86},_0x155287=new _0x287463(_0x55dfef,!0x0),_0x3df456=new _0x287463(_0x55dfef,!0x1),_0x5cb648=_0xa40bbd['fromClass'](class{constructor(_0x1ae1ce){this['from']=_0x1ae1ce['viewport']['from'],this['markers']=this['buildMarkers'](_0x1ae1ce);}['update'](_0x57199a){(_0x57199a['docChanged']||_0x57199a['viewportChanged']||_0x57199a['startState']['facet'](_0x5208f2)!=_0x57199a['state']['facet'](_0x5208f2)||_0x57199a['startState']['field'](_0x1980d2,!0x1)!=_0x57199a['state']['field'](_0x1980d2,!0x1)||_0xc45a56(_0x57199a['startState'])!=_0xc45a56(_0x57199a['state'])||_0x55dfef['foldingChanged'](_0x57199a))&&(this['markers']=this['buildMarkers'](_0x57199a['view']));}['buildMarkers'](_0x269582){let _0x2b2fea=new RangeSetBuilder();for(let _0x2d6045 of _0x269582['viewportLineBlocks']){let _0x25825e=_0x4837c4(_0x269582['state'],_0x2d6045['from'],_0x2d6045['to'])?_0x3df456:_0x5f5050(_0x269582['state'],_0x2d6045['from'],_0x2d6045['to'])?_0x155287:null;_0x25825e&&_0x2b2fea['add'](_0x2d6045['from'],_0x2d6045['from'],_0x25825e);}return _0x2b2fea['finish']();}}),{domEventHandlers:_0x32cb71}=_0x55dfef;return[_0x5cb648,_0x5a64ae({'class':'cm-foldGutter','markers'(_0x39c952){var _0x3c7da4;return(null===(_0x3c7da4=_0x39c952['plugin'](_0x5cb648))||void 0x0===_0x3c7da4?void 0x0:_0x3c7da4['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x287463(_0x55dfef,!0x1),'domEventHandlers':{..._0x32cb71,'click':(_0x36c593,_0x2c0cf6,_0x3be695)=>{if(_0x32cb71['click']&&_0x32cb71['click'](_0x36c593,_0x2c0cf6,_0x3be695))return!0x0;let _0x156830=_0x4837c4(_0x36c593['state'],_0x2c0cf6['from'],_0x2c0cf6['to']);if(_0x156830)return _0x36c593['dispatch']({'effects':_0x3af86a['of'](_0x156830)}),!0x0;let _0x127a84=_0x5f5050(_0x36c593['state'],_0x2c0cf6['from'],_0x2c0cf6['to']);return!!_0x127a84&&(_0x36c593['dispatch']({'effects':_0x1bb70b['of'](_0x127a84)}),!0x0);}}}),_0x17c49e()];}const _0x2adaad=EditorView['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});class HighlightStyle{constructor(_0x3d9fb5,_0x353848){let _0x1cf1ca;function _0x371bbe(_0x93d0f1){let _0x489764=StyleModule['newName']();return(_0x1cf1ca||(_0x1cf1ca=Object['create'](null)))['.'+_0x489764]=_0x93d0f1,_0x489764;}this['specs']=_0x3d9fb5;const _0x4ae331='string'==typeof _0x353848['all']?_0x353848['all']:_0x353848['all']?_0x371bbe(_0x353848['all']):void 0x0,_0x270632=_0x353848['scope'];this['scope']=_0x270632 instanceof _0x221903?_0x3f0b57=>_0x3f0b57['prop'](_0x31a993)==_0x270632['data']:_0x270632?_0x10b8c4=>_0x10b8c4==_0x270632:void 0x0,this['style']=_0x1fcf93(_0x3d9fb5['map'](_0x48ec2c=>({'tag':_0x48ec2c['tag'],'class':_0x48ec2c['class']||_0x371bbe(Object['assign']({},_0x48ec2c,{'tag':null}))})),{'all':_0x4ae331})['style'],this['module']=_0x1cf1ca?new StyleModule(_0x1cf1ca):null,this['themeType']=_0x353848['themeType'];}static['define'](_0x1543aa,_0x15fd76){return new HighlightStyle(_0x1543aa,_0x15fd76||{});}}const _0x64929=Facet['define'](),_0x7294a1=Facet['define']({'combine':_0x22116f=>_0x22116f['length']?[_0x22116f[0x0]]:null});function _0x289b5c(_0xea80c3){let _0x1ad2e6=_0xea80c3['facet'](_0x64929);return _0x1ad2e6['length']?_0x1ad2e6:_0xea80c3['facet'](_0x7294a1);}function _0x27f39d(_0x4b37ef,_0x1d7f8b){let _0x936164,_0x2d6487=[_0x58d00c];return _0x4b37ef instanceof HighlightStyle&&(_0x4b37ef['module']&&_0x2d6487['push'](EditorView['styleModule']['of'](_0x4b37ef['module'])),_0x936164=_0x4b37ef['themeType']),(null==_0x1d7f8b?void 0x0:_0x1d7f8b['fallback'])?_0x2d6487['push'](_0x7294a1['of'](_0x4b37ef)):_0x936164?_0x2d6487['push'](_0x64929['computeN']([EditorView['darkTheme']],_0x419392=>_0x419392['facet'](EditorView['darkTheme'])==('dark'==_0x936164)?[_0x4b37ef]:[])):_0x2d6487['push'](_0x64929['of'](_0x4b37ef)),_0x2d6487;}class TreeHighlighter{constructor(_0x16c01e){this['markCache']=Object['create'](null),this['tree']=_0xc45a56(_0x16c01e['state']),this['decorations']=this['buildDeco'](_0x16c01e,_0x289b5c(_0x16c01e['state'])),this['decoratedTo']=_0x16c01e['viewport']['to'];}['update'](_0x583cf1){let _0x522dec=_0xc45a56(_0x583cf1['state']),_0x337b18=_0x289b5c(_0x583cf1['state']),_0x1e62c4=_0x337b18!=_0x289b5c(_0x583cf1['startState']),{viewport:_0x1ec76d}=_0x583cf1['view'],_0x230b0e=_0x583cf1['changes']['mapPos'](this['decoratedTo'],0x1);_0x522dec['length']<_0x1ec76d['to']&&!_0x1e62c4&&_0x522dec['type']==this['tree']['type']&&_0x230b0e>=_0x1ec76d['to']?(this['decorations']=this['decorations']['map'](_0x583cf1['changes']),this['decoratedTo']=_0x230b0e):(_0x522dec!=this['tree']||_0x583cf1['viewportChanged']||_0x1e62c4)&&(this['tree']=_0x522dec,this['decorations']=this['buildDeco'](_0x583cf1['view'],_0x337b18),this['decoratedTo']=_0x1ec76d['to']);}['buildDeco'](_0x3c1ee9,_0x1776f0){if(!_0x1776f0||!this['tree']['length'])return Decoration['none'];let _0x17e508=new RangeSetBuilder();for(let {from:_0x33db45,to:_0x5f0e05}of _0x3c1ee9['visibleRanges'])_0x3f5c11(this['tree'],_0x1776f0,(_0x1798c1,_0x808ddc,_0x2af9b7)=>{_0x17e508['add'](_0x1798c1,_0x808ddc,this['markCache'][_0x2af9b7]||(this['markCache'][_0x2af9b7]=Decoration['mark']({'class':_0x2af9b7})));},_0x33db45,_0x5f0e05);return _0x17e508['finish']();}}const _0x58d00c=_0x271a11['high'](_0xa40bbd['fromClass'](TreeHighlighter,{'decorations':_0x11a0bd=>_0x11a0bd['decorations']})),_0x43a79d=HighlightStyle['define']([{'tag':_0x422c5c['meta'],'color':'#404740'},{'tag':_0x422c5c['link'],'textDecoration':'underline'},{'tag':_0x422c5c['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x422c5c['emphasis'],'fontStyle':'italic'},{'tag':_0x422c5c['strong'],'fontWeight':'bold'},{'tag':_0x422c5c['strikethrough'],'textDecoration':'line-through'},{'tag':_0x422c5c['keyword'],'color':'#708'},{'tag':[_0x422c5c['atom'],_0x422c5c['bool'],_0x422c5c['url'],_0x422c5c['contentSeparator'],_0x422c5c['labelName']],'color':'#219'},{'tag':[_0x422c5c['literal'],_0x422c5c['inserted']],'color':'#164'},{'tag':[_0x422c5c['string'],_0x422c5c['deleted']],'color':'#a11'},{'tag':[_0x422c5c['regexp'],_0x422c5c['escape'],_0x422c5c['special'](_0x422c5c['string'])],'color':'#e40'},{'tag':_0x422c5c['definition'](_0x422c5c['variableName']),'color':'#00f'},{'tag':_0x422c5c['local'](_0x422c5c['variableName']),'color':'#30a'},{'tag':[_0x422c5c['typeName'],_0x422c5c['namespace']],'color':'#085'},{'tag':_0x422c5c['className'],'color':'#167'},{'tag':[_0x422c5c['special'](_0x422c5c['variableName']),_0x422c5c['macroName']],'color':'#256'},{'tag':_0x422c5c['definition'](_0x422c5c['propertyName']),'color':'#00c'},{'tag':_0x422c5c['comment'],'color':'#940'},{'tag':_0x422c5c['invalid'],'color':'#f00'}]),_0x5b07cb=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x3edfc9='()[]{}',_0x5b74af=Facet['define']({'combine':_0x5aa826=>_0x2df370(_0x5aa826,{'afterCursor':!0x0,'brackets':_0x3edfc9,'maxScanDistance':0x2710,'renderMatch':_0x2504bd})}),_0x588e02=Decoration['mark']({'class':'cm-matchingBracket'}),_0x111282=Decoration['mark']({'class':'cm-nonmatchingBracket'});function _0x2504bd(_0x34193c){let _0x447233=[],_0x369045=_0x34193c['matched']?_0x588e02:_0x111282;return _0x447233['push'](_0x369045['range'](_0x34193c['start']['from'],_0x34193c['start']['to'])),_0x34193c['end']&&_0x447233['push'](_0x369045['range'](_0x34193c['end']['from'],_0x34193c['end']['to'])),_0x447233;}const _0x34c897=StateField['define']({'create':()=>Decoration['none'],'update'(_0x5c8668,_0xbe3f0b){if(!_0xbe3f0b['docChanged']&&!_0xbe3f0b['selection'])return _0x5c8668;let _0x3ba83d=[],_0x2ba0df=_0xbe3f0b['state']['facet'](_0x5b74af);for(let _0x5414ae of _0xbe3f0b['state']['selection']['ranges']){if(!_0x5414ae['empty'])continue;let _0x43fc5a=_0x384444(_0xbe3f0b['state'],_0x5414ae['head'],-0x1,_0x2ba0df)||_0x5414ae['head']>0x0&&_0x384444(_0xbe3f0b['state'],_0x5414ae['head']-0x1,0x1,_0x2ba0df)||_0x2ba0df['afterCursor']&&(_0x384444(_0xbe3f0b['state'],_0x5414ae['head'],0x1,_0x2ba0df)||_0x5414ae['head']<_0xbe3f0b['state']['doc']['length']&&_0x384444(_0xbe3f0b['state'],_0x5414ae['head']+0x1,-0x1,_0x2ba0df));_0x43fc5a&&(_0x3ba83d=_0x3ba83d['concat'](_0x2ba0df['renderMatch'](_0x43fc5a,_0xbe3f0b['state'])));}return Decoration['set'](_0x3ba83d,!0x0);},'provide':_0x5d52f2=>EditorView['decorations']['from'](_0x5d52f2)}),_0x431393=[_0x34c897,_0x5b07cb];function _0x475ac9(_0x2bc98f={}){return[_0x5b74af['of'](_0x2bc98f),_0x431393];}const _0x2a5a19=new _0x16f115();function _0x27f1e4(_0x18ded9,_0x1c16ca,_0x252845){let _0x35c907=_0x18ded9['prop'](_0x1c16ca<0x0?_0x16f115['openedBy']:_0x16f115['closedBy']);if(_0x35c907)return _0x35c907;if(0x1==_0x18ded9['name']['length']){let _0x316d2c=_0x252845['indexOf'](_0x18ded9['name']);if(_0x316d2c>-0x1&&_0x316d2c%0x2==(_0x1c16ca<0x0?0x1:0x0))return[_0x252845[_0x316d2c+_0x1c16ca]];}return null;}function _0x556eb0(_0x292e17){let _0x43019d=_0x292e17['type']['prop'](_0x2a5a19);return _0x43019d?_0x43019d(_0x292e17['node']):_0x292e17;}function _0x384444(_0x217079,_0x32360f,_0x1296db,_0x377061={}){let _0x2dc396=_0x377061['maxScanDistance']||0x2710,_0x5f3be4=_0x377061['brackets']||_0x3edfc9,_0xf4508f=_0xc45a56(_0x217079),_0x32b186=_0xf4508f['resolveInner'](_0x32360f,_0x1296db);for(let _0xcf1258=_0x32b186;_0xcf1258;_0xcf1258=_0xcf1258['parent']){let _0xd057bd=_0x27f1e4(_0xcf1258['type'],_0x1296db,_0x5f3be4);if(_0xd057bd&&_0xcf1258['from']<_0xcf1258['to']){let _0xafa5ed=_0x556eb0(_0xcf1258);if(_0xafa5ed&&(_0x1296db>0x0?_0x32360f>=_0xafa5ed['from']&&_0x32360f<_0xafa5ed['to']:_0x32360f>_0xafa5ed['from']&&_0x32360f<=_0xafa5ed['to']))return _0x44c88e(_0x217079,_0x32360f,_0x1296db,_0xcf1258,_0xafa5ed,_0xd057bd,_0x5f3be4);}}return function(_0x1bdf03,_0x4de3b1,_0x5583b8,_0x101dee,_0x2e74e6,_0x512ad7,_0x3da828){let _0x52841d=_0x5583b8<0x0?_0x1bdf03['sliceDoc'](_0x4de3b1-0x1,_0x4de3b1):_0x1bdf03['sliceDoc'](_0x4de3b1,_0x4de3b1+0x1),_0x3e7f7d=_0x3da828['indexOf'](_0x52841d);if(_0x3e7f7d<0x0||_0x3e7f7d%0x2==0x0!=_0x5583b8>0x0)return null;let _0x42dc0d={'from':_0x5583b8<0x0?_0x4de3b1-0x1:_0x4de3b1,'to':_0x5583b8>0x0?_0x4de3b1+0x1:_0x4de3b1},_0x437a3f=_0x1bdf03['doc']['iterRange'](_0x4de3b1,_0x5583b8>0x0?_0x1bdf03['doc']['length']:0x0),_0x469f0a=0x0;for(let _0x2648ee=0x0;!_0x437a3f['next']()['done']&&_0x2648ee<=_0x512ad7;){let _0x48dad1=_0x437a3f['value'];_0x5583b8<0x0&&(_0x2648ee+=_0x48dad1['length']);let _0x46fa1a=_0x4de3b1+_0x2648ee*_0x5583b8;for(let _0x475062=_0x5583b8>0x0?0x0:_0x48dad1['length']-0x1,_0x179ef4=_0x5583b8>0x0?_0x48dad1['length']:-0x1;_0x475062!=_0x179ef4;_0x475062+=_0x5583b8){let _0x5ca773=_0x3da828['indexOf'](_0x48dad1[_0x475062]);if(!(_0x5ca773<0x0||_0x101dee['resolveInner'](_0x46fa1a+_0x475062,0x1)['type']!=_0x2e74e6)){if(_0x5ca773%0x2==0x0==_0x5583b8>0x0)_0x469f0a++;else{if(0x1==_0x469f0a)return{'start':_0x42dc0d,'end':{'from':_0x46fa1a+_0x475062,'to':_0x46fa1a+_0x475062+0x1},'matched':_0x5ca773>>0x1==_0x3e7f7d>>0x1};_0x469f0a--;}}}_0x5583b8>0x0&&(_0x2648ee+=_0x48dad1['length']);}return _0x437a3f['done']?{'start':_0x42dc0d,'matched':!0x1}:null;}(_0x217079,_0x32360f,_0x1296db,_0xf4508f,_0x32b186['type'],_0x2dc396,_0x5f3be4);}function _0x44c88e(_0x325614,_0x351c9c,_0x1292c8,_0x21f0cc,_0xa9cdd1,_0x1e3641,_0x282fdc){let _0x13f6fc=_0x21f0cc['parent'],_0x4b190e={'from':_0xa9cdd1['from'],'to':_0xa9cdd1['to']},_0x41932d=0x0,_0x4f0eb3=null==_0x13f6fc?void 0x0:_0x13f6fc['cursor']();if(_0x4f0eb3&&(_0x1292c8<0x0?_0x4f0eb3['childBefore'](_0x21f0cc['from']):_0x4f0eb3['childAfter'](_0x21f0cc['to'])))do{if(_0x1292c8<0x0?_0x4f0eb3['to']<=_0x21f0cc['from']:_0x4f0eb3['from']>=_0x21f0cc['to']){if(0x0==_0x41932d&&_0x1e3641['indexOf'](_0x4f0eb3['type']['name'])>-0x1&&_0x4f0eb3['from']<_0x4f0eb3['to']){let _0xb0f50b=_0x556eb0(_0x4f0eb3);return{'start':_0x4b190e,'end':_0xb0f50b?{'from':_0xb0f50b['from'],'to':_0xb0f50b['to']}:void 0x0,'matched':!0x0};}if(_0x27f1e4(_0x4f0eb3['type'],_0x1292c8,_0x282fdc))_0x41932d++;else{if(_0x27f1e4(_0x4f0eb3['type'],-_0x1292c8,_0x282fdc)){if(0x0==_0x41932d){let _0x3a2c82=_0x556eb0(_0x4f0eb3);return{'start':_0x4b190e,'end':_0x3a2c82&&_0x3a2c82['from']<_0x3a2c82['to']?{'from':_0x3a2c82['from'],'to':_0x3a2c82['to']}:void 0x0,'matched':!0x1};}_0x41932d--;}}}}while(_0x1292c8<0x0?_0x4f0eb3['prevSibling']():_0x4f0eb3['nextSibling']());return{'start':_0x4b190e,'matched':!0x1};}const _0xce035d=Object['create'](null),_0xdf7f25=[_0x242d89['none']],_0x3b488c=[],_0x5ac83b=Object['create'](null),_0x9f403d=Object['create'](null);for(let [_0x7d3095,_0x873ef3]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']])_0x9f403d[_0x7d3095]=_0x57a63d(_0xce035d,_0x873ef3);function _0x1783c1(_0x21bb39,_0x63de4d){_0x3b488c['indexOf'](_0x21bb39)>-0x1||(_0x3b488c['push'](_0x21bb39),console['warn'](_0x63de4d));}function _0x57a63d(_0x3ddb4c,_0x496435){let _0x74d87c=[];for(let _0x6aa203 of _0x496435['split']('\x20')){let _0x42af56=[];for(let _0x1fe78f of _0x6aa203['split']('.')){let _0xe5379=_0x3ddb4c[_0x1fe78f]||_0x422c5c[_0x1fe78f];_0xe5379?'function'==typeof _0xe5379?_0x42af56['length']?_0x42af56=_0x42af56['map'](_0xe5379):_0x1783c1(_0x1fe78f,'Modifier\x20'+_0x1fe78f+'\x20used\x20at\x20start\x20of\x20tag'):_0x42af56['length']?_0x1783c1(_0x1fe78f,'Tag\x20'+_0x1fe78f+'\x20used\x20as\x20modifier'):_0x42af56=Array['isArray'](_0xe5379)?_0xe5379:[_0xe5379]:_0x1783c1(_0x1fe78f,'Unknown\x20highlighting\x20tag\x20'+_0x1fe78f);}for(let _0x20c6ed of _0x42af56)_0x74d87c['push'](_0x20c6ed);}if(!_0x74d87c['length'])return 0x0;let _0x172ecb=_0x496435['replace'](/ /g,'_'),_0xa23ec9=_0x172ecb+'\x20'+_0x74d87c['map'](t=>t['id']),_0x2a34fc=_0x5ac83b[_0xa23ec9];if(_0x2a34fc)return _0x2a34fc['id'];let _0x5ab148=_0x5ac83b[_0xa23ec9]=_0x242d89['define']({'id':_0xdf7f25['length'],'name':_0x172ecb,'props':[_0x4a339a({[_0x172ecb]:_0x74d87c})]});return _0xdf7f25['push'](_0x5ab148),_0x5ab148['id'];}_0x2d6025['RTL'],_0x2d6025['LTR'];function _0x8ed91d(_0x39ff87,_0x168971){return({state:_0x2b1dbd,dispatch:_0x293292})=>{if(_0x2b1dbd['readOnly'])return!0x1;let _0x5c7868=_0x39ff87(_0x168971,_0x2b1dbd);return!!_0x5c7868&&(_0x293292(_0x2b1dbd['update'](_0x5c7868)),!0x0);};}const _0x50acd9=_0x8ed91d(_0x25d56a,0x0),_0x3bc413=_0x8ed91d(_0x41373,0x0),_0x49f2a0=_0x8ed91d((_0x13c92e,_0x309980)=>_0x41373(_0x13c92e,_0x309980,function(_0x2d5b28){let _0x32327a=[];for(let _0x252f31 of _0x2d5b28['selection']['ranges']){let _0x5cccf7=_0x2d5b28['doc']['lineAt'](_0x252f31['from']),_0x94c2c8=_0x252f31['to']<=_0x5cccf7['to']?_0x5cccf7:_0x2d5b28['doc']['lineAt'](_0x252f31['to']);_0x94c2c8['from']>_0x5cccf7['from']&&_0x94c2c8['from']==_0x252f31['to']&&(_0x94c2c8=_0x252f31['to']==_0x5cccf7['to']+0x1?_0x5cccf7:_0x2d5b28['doc']['lineAt'](_0x252f31['to']-0x1));let _0xb293c6=_0x32327a['length']-0x1;_0xb293c6>=0x0&&_0x32327a[_0xb293c6]['to']>_0x5cccf7['from']?_0x32327a[_0xb293c6]['to']=_0x94c2c8['to']:_0x32327a['push']({'from':_0x5cccf7['from']+/^\s*/['exec'](_0x5cccf7['text'])[0x0]['length'],'to':_0x94c2c8['to']});}return _0x32327a;}(_0x309980)),0x0);function _0xac69a6(_0x5578dc,_0x529a3d){let _0x45f407=_0x5578dc['languageDataAt']('commentTokens',_0x529a3d,0x1);return _0x45f407['length']?_0x45f407[0x0]:{};}const _0x33c75d=0x32;function _0x41373(_0x432226,_0x40e7e1,_0x5194eb=_0x40e7e1['selection']['ranges']){let _0xafb342=_0x5194eb['map'](_0x13a06b=>_0xac69a6(_0x40e7e1,_0x13a06b['from'])['block']);if(!_0xafb342['every'](_0x3b4479=>_0x3b4479))return null;let _0x40b3c1=_0x5194eb['map']((_0x5924a4,_0x59377e)=>function(_0x3d7861,{open:_0x5df68c,close:_0x54ac0b},_0x1cd696,_0x5340e3){let _0x1d575a,_0x47d4ba,_0x414d35=_0x3d7861['sliceDoc'](_0x1cd696-_0x33c75d,_0x1cd696),_0x564995=_0x3d7861['sliceDoc'](_0x5340e3,_0x5340e3+_0x33c75d),_0x458dd7=/\s*$/['exec'](_0x414d35)[0x0]['length'],_0x33e1a0=/^\s*/['exec'](_0x564995)[0x0]['length'],_0x1722fd=_0x414d35['length']-_0x458dd7;if(_0x414d35['slice'](_0x1722fd-_0x5df68c['length'],_0x1722fd)==_0x5df68c&&_0x564995['slice'](_0x33e1a0,_0x33e1a0+_0x54ac0b['length'])==_0x54ac0b)return{'open':{'pos':_0x1cd696-_0x458dd7,'margin':_0x458dd7&&0x1},'close':{'pos':_0x5340e3+_0x33e1a0,'margin':_0x33e1a0&&0x1}};_0x5340e3-_0x1cd696<=0x2*_0x33c75d?_0x1d575a=_0x47d4ba=_0x3d7861['sliceDoc'](_0x1cd696,_0x5340e3):(_0x1d575a=_0x3d7861['sliceDoc'](_0x1cd696,_0x1cd696+_0x33c75d),_0x47d4ba=_0x3d7861['sliceDoc'](_0x5340e3-_0x33c75d,_0x5340e3));let _0x4ca1b4=/^\s*/['exec'](_0x1d575a)[0x0]['length'],_0x240fa1=/\s*$/['exec'](_0x47d4ba)[0x0]['length'],_0x22fb4f=_0x47d4ba['length']-_0x240fa1-_0x54ac0b['length'];return _0x1d575a['slice'](_0x4ca1b4,_0x4ca1b4+_0x5df68c['length'])==_0x5df68c&&_0x47d4ba['slice'](_0x22fb4f,_0x22fb4f+_0x54ac0b['length'])==_0x54ac0b?{'open':{'pos':_0x1cd696+_0x4ca1b4+_0x5df68c['length'],'margin':/\s/['test'](_0x1d575a['charAt'](_0x4ca1b4+_0x5df68c['length']))?0x1:0x0},'close':{'pos':_0x5340e3-_0x240fa1-_0x54ac0b['length'],'margin':/\s/['test'](_0x47d4ba['charAt'](_0x22fb4f-0x1))?0x1:0x0}}:null;}(_0x40e7e1,_0xafb342[_0x59377e],_0x5924a4['from'],_0x5924a4['to']));if(0x2!=_0x432226&&!_0x40b3c1['every'](_0x4562fc=>_0x4562fc))return{'changes':_0x40e7e1['changes'](_0x5194eb['map']((_0x4fce2c,_0x424e7c)=>_0x40b3c1[_0x424e7c]?[]:[{'from':_0x4fce2c['from'],'insert':_0xafb342[_0x424e7c]['open']+'\x20'},{'from':_0x4fce2c['to'],'insert':'\x20'+_0xafb342[_0x424e7c]['close']}]))};if(0x1!=_0x432226&&_0x40b3c1['some'](_0x4d0207=>_0x4d0207)){let _0x179c61=[];for(let _0x18ccfa,_0x595faa=0x0;_0x595faa<_0x40b3c1['length'];_0x595faa++)if(_0x18ccfa=_0x40b3c1[_0x595faa]){let _0x4981b1=_0xafb342[_0x595faa],{open:_0x4548a3,close:_0x3be1a6}=_0x18ccfa;_0x179c61['push']({'from':_0x4548a3['pos']-_0x4981b1['open']['length'],'to':_0x4548a3['pos']+_0x4548a3['margin']},{'from':_0x3be1a6['pos']-_0x3be1a6['margin'],'to':_0x3be1a6['pos']+_0x4981b1['close']['length']});}return{'changes':_0x179c61};}return null;}function _0x25d56a(_0x5d4095,_0x7703fa,_0x5a15a6=_0x7703fa['selection']['ranges']){let _0x1065f1=[],_0xa76277=-0x1;for(let {from:_0x569ce,to:_0x6df372}of _0x5a15a6){let _0x758b5c=_0x1065f1['length'],_0x55650e=0x3b9aca00,_0x3821f8=_0xac69a6(_0x7703fa,_0x569ce)['line'];if(_0x3821f8){for(let _0x2c9888=_0x569ce;_0x2c9888<=_0x6df372;){let _0x5ee402=_0x7703fa['doc']['lineAt'](_0x2c9888);if(_0x5ee402['from']>_0xa76277&&(_0x569ce==_0x6df372||_0x6df372>_0x5ee402['from'])){_0xa76277=_0x5ee402['from'];let _0x53491e=/^\s*/['exec'](_0x5ee402['text'])[0x0]['length'],_0x5c7967=_0x53491e==_0x5ee402['length'],_0x2c4086=_0x5ee402['text']['slice'](_0x53491e,_0x53491e+_0x3821f8['length'])==_0x3821f8?_0x53491e:-0x1;_0x53491e<_0x5ee402['text']['length']&&_0x53491e<_0x55650e&&(_0x55650e=_0x53491e),_0x1065f1['push']({'line':_0x5ee402,'comment':_0x2c4086,'token':_0x3821f8,'indent':_0x53491e,'empty':_0x5c7967,'single':!0x1});}_0x2c9888=_0x5ee402['to']+0x1;}if(_0x55650e<0x3b9aca00){for(let _0x526321=_0x758b5c;_0x526321<_0x1065f1['length'];_0x526321++)_0x1065f1[_0x526321]['indent']<_0x1065f1[_0x526321]['line']['text']['length']&&(_0x1065f1[_0x526321]['indent']=_0x55650e);}_0x1065f1['length']==_0x758b5c+0x1&&(_0x1065f1[_0x758b5c]['single']=!0x0);}}if(0x2!=_0x5d4095&&_0x1065f1['some'](_0x49cc9b=>_0x49cc9b['comment']<0x0&&(!_0x49cc9b['empty']||_0x49cc9b['single']))){let _0x220793=[];for(let {line:_0x3c2471,token:_0x944b52,indent:_0x302b6c,empty:_0x4aa4d1,single:_0x1c96e8}of _0x1065f1)!_0x1c96e8&&_0x4aa4d1||_0x220793['push']({'from':_0x3c2471['from']+_0x302b6c,'insert':_0x944b52+'\x20'});let _0x47814a=_0x7703fa['changes'](_0x220793);return{'changes':_0x47814a,'selection':_0x7703fa['selection']['map'](_0x47814a,0x1)};}if(0x1!=_0x5d4095&&_0x1065f1['some'](_0x183cb1=>_0x183cb1['comment']>=0x0)){let _0x33eb7b=[];for(let {line:_0x4b52f3,comment:_0x46c82a,token:_0x56254a}of _0x1065f1)if(_0x46c82a>=0x0){let _0x590519=_0x4b52f3['from']+_0x46c82a,_0x37bf60=_0x590519+_0x56254a['length'];'\x20'==_0x4b52f3['text'][_0x37bf60-_0x4b52f3['from']]&&_0x37bf60++,_0x33eb7b['push']({'from':_0x590519,'to':_0x37bf60});}return{'changes':_0x33eb7b};}return null;}const _0x495d8c=Annotation['define'](),_0x5ebf22=Annotation['define'](),_0x13cd82=Facet['define'](),_0x573333=Facet['define']({'combine':_0x1a88c3=>_0x2df370(_0x1a88c3,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x3f74cb,_0x1ac069)=>_0x1ac069},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x1e0262,_0x50d684)=>(_0x23325b,_0x1d2a3e)=>_0x1e0262(_0x23325b,_0x1d2a3e)||_0x50d684(_0x23325b,_0x1d2a3e)})}),_0x3e7fa3=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x2c6f0b,_0x3e3c81){let _0x4e6c2c=_0x3e3c81['state']['facet'](_0x573333),_0x575e25=_0x3e3c81['annotation'](_0x495d8c);if(_0x575e25){let _0x12924a=HistEvent['fromTransaction'](_0x3e3c81,_0x575e25['selection']),_0x40c7df=_0x575e25['side'],_0x49f024=0x0==_0x40c7df?_0x2c6f0b['undone']:_0x2c6f0b['done'];return _0x49f024=_0x12924a?tT(_0x49f024,_0x49f024['length'],_0x4e6c2c['minDepth'],_0x12924a):_0x13d821(_0x49f024,_0x3e3c81['startState']['selection']),new HistoryState(0x0==_0x40c7df?_0x575e25['rest']:_0x49f024,0x0==_0x40c7df?_0x49f024:_0x575e25['rest']);}let _0x486859=_0x3e3c81['annotation'](_0x5ebf22);if('full'!=_0x486859&&'before'!=_0x486859||(_0x2c6f0b=_0x2c6f0b['isolate']()),!0x1===_0x3e3c81['annotation'](Transaction['addToHistory']))return _0x3e3c81['changes']['empty']?_0x2c6f0b:_0x2c6f0b['addMapping'](_0x3e3c81['changes']['desc']);let _0x1f8ecd=HistEvent['fromTransaction'](_0x3e3c81),_0x4347d8=_0x3e3c81['annotation'](Transaction['time']),_0x5b9efc=_0x3e3c81['annotation'](Transaction['userEvent']);return _0x1f8ecd?_0x2c6f0b=_0x2c6f0b['addChanges'](_0x1f8ecd,_0x4347d8,_0x5b9efc,_0x4e6c2c,_0x3e3c81):_0x3e3c81['selection']&&(_0x2c6f0b=_0x2c6f0b['addSelection'](_0x3e3c81['startState']['selection'],_0x4347d8,_0x5b9efc,_0x4e6c2c['newGroupDelay'])),'full'!=_0x486859&&'after'!=_0x486859||(_0x2c6f0b=_0x2c6f0b['isolate']()),_0x2c6f0b;},'toJSON':_0x57f3bf=>({'done':_0x57f3bf['done']['map'](_0x229f35=>_0x229f35['toJSON']()),'undone':_0x57f3bf['undone']['map'](_0x42dba9=>_0x42dba9['toJSON']())}),'fromJSON':_0x2cfe67=>new HistoryState(_0x2cfe67['done']['map'](HistEvent['fromJSON']),_0x2cfe67['undone']['map'](HistEvent['fromJSON']))});function _0x322b77(_0x4b6782={}){return[_0x3e7fa3,_0x573333['of'](_0x4b6782),EditorView['domEventHandlers']({'beforeinput'(_0x2781e0,_0x326b75){let _0x124ca2='historyUndo'==_0x2781e0['inputType']?_0xd95f3c:'historyRedo'==_0x2781e0['inputType']?_0x251d5e:null;return!!_0x124ca2&&(_0x2781e0['preventDefault'](),_0x124ca2(_0x326b75));}})];}function _0x221256(_0x3893fd,_0x27fac8){return function({state:_0xde1d33,dispatch:_0x617973}){if(!_0x27fac8&&_0xde1d33['readOnly'])return!0x1;let _0x563963=_0xde1d33['field'](_0x3e7fa3,!0x1);if(!_0x563963)return!0x1;let _0x4efef5=_0x563963['pop'](_0x3893fd,_0xde1d33,_0x27fac8);return!!_0x4efef5&&(_0x617973(_0x4efef5),!0x0);};}const _0xd95f3c=_0x221256(0x0,!0x1),_0x251d5e=_0x221256(0x1,!0x1),_0x430cc5=_0x221256(0x0,!0x0),_0x1f5b4c=_0x221256(0x1,!0x0);class HistEvent{constructor(_0x56dfaa,_0x15f78e,_0x27656c,_0x3489eb,_0x237551){this['changes']=_0x56dfaa,this['effects']=_0x15f78e,this['mapped']=_0x27656c,this['startSelection']=_0x3489eb,this['selectionsAfter']=_0x237551;}['setSelAfter'](_0x298d6b){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x298d6b);}['toJSON'](){var _0x4e1775,_0x13b028,_0xdcfb38;return{'changes':null===(_0x4e1775=this['changes'])||void 0x0===_0x4e1775?void 0x0:_0x4e1775['toJSON'](),'mapped':null===(_0x13b028=this['mapped'])||void 0x0===_0x13b028?void 0x0:_0x13b028['toJSON'](),'startSelection':null===(_0xdcfb38=this['startSelection'])||void 0x0===_0xdcfb38?void 0x0:_0xdcfb38['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x1123ad=>_0x1123ad['toJSON']())};}static['fromJSON'](_0x28ba1b){return new HistEvent(_0x28ba1b['changes']&&ChangeSet['fromJSON'](_0x28ba1b['changes']),[],_0x28ba1b['mapped']&&_0x56aad0['fromJSON'](_0x28ba1b['mapped']),_0x28ba1b['startSelection']&&EditorSelection['fromJSON'](_0x28ba1b['startSelection']),_0x28ba1b['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x1690a0,_0x2d329c){let _0x1b60b5=_0x2c1671;for(let _0x1ccaec of _0x1690a0['startState']['facet'](_0x13cd82)){let _0x32111e=_0x1ccaec(_0x1690a0);_0x32111e['length']&&(_0x1b60b5=_0x1b60b5['concat'](_0x32111e));}return!_0x1b60b5['length']&&_0x1690a0['changes']['empty']?null:new HistEvent(_0x1690a0['changes']['invert'](_0x1690a0['startState']['doc']),_0x1b60b5,void 0x0,_0x2d329c||_0x1690a0['startState']['selection'],_0x2c1671);}static['selection'](_0x2e10c9){return new HistEvent(void 0x0,_0x2c1671,void 0x0,void 0x0,_0x2e10c9);}}function tT(_0x13a0cf,_0x2a56a6,_0x3b87cb,_0x3ef85b){let _0x358894=_0x2a56a6+0x1>_0x3b87cb+0x14?_0x2a56a6-_0x3b87cb-0x1:0x0,_0x432f9e=_0x13a0cf['slice'](_0x358894,_0x2a56a6);return _0x432f9e['push'](_0x3ef85b),_0x432f9e;}function _0x5dd4c0(_0x5701af,_0x537748){return _0x5701af['length']?_0x537748['length']?_0x5701af['concat'](_0x537748):_0x5701af:_0x537748;}const _0x2c1671=[],_0x12fb6e=0xc8;function _0x13d821(_0x12a977,_0x56ca9b){if(_0x12a977['length']){let _0x35011e=_0x12a977[_0x12a977['length']-0x1],_0x11e1fb=_0x35011e['selectionsAfter']['slice'](Math['max'](0x0,_0x35011e['selectionsAfter']['length']-_0x12fb6e));return _0x11e1fb['length']&&_0x11e1fb[_0x11e1fb['length']-0x1]['eq'](_0x56ca9b)?_0x12a977:(_0x11e1fb['push'](_0x56ca9b),tT(_0x12a977,_0x12a977['length']-0x1,0x3b9aca00,_0x35011e['setSelAfter'](_0x11e1fb)));}return[HistEvent['selection']([_0x56ca9b])];}function _0x59a2d0(_0x5a7cc3){let _0x2ad529=_0x5a7cc3[_0x5a7cc3['length']-0x1],_0xb27783=_0x5a7cc3['slice']();return _0xb27783[_0x5a7cc3['length']-0x1]=_0x2ad529['setSelAfter'](_0x2ad529['selectionsAfter']['slice'](0x0,_0x2ad529['selectionsAfter']['length']-0x1)),_0xb27783;}function _0x45bdaa(_0x37f44b,_0x4c9cc4){if(!_0x37f44b['length'])return _0x37f44b;let _0x47af47=_0x37f44b['length'],_0x553c94=_0x2c1671;for(;_0x47af47;){let _0x5eba2d=_0x209d91(_0x37f44b[_0x47af47-0x1],_0x4c9cc4,_0x553c94);if(_0x5eba2d['changes']&&!_0x5eba2d['changes']['empty']||_0x5eba2d['effects']['length']){let _0x426a18=_0x37f44b['slice'](0x0,_0x47af47);return _0x426a18[_0x47af47-0x1]=_0x5eba2d,_0x426a18;}_0x4c9cc4=_0x5eba2d['mapped'],_0x47af47--,_0x553c94=_0x5eba2d['selectionsAfter'];}return _0x553c94['length']?[HistEvent['selection'](_0x553c94)]:_0x2c1671;}function _0x209d91(_0x3d6913,_0x610793,_0x3c460e){let _0x5af034=_0x5dd4c0(_0x3d6913['selectionsAfter']['length']?_0x3d6913['selectionsAfter']['map'](_0x3561db=>_0x3561db['map'](_0x610793)):_0x2c1671,_0x3c460e);if(!_0x3d6913['changes'])return HistEvent['selection'](_0x5af034);let _0x266689=_0x3d6913['changes']['map'](_0x610793),_0x4c986a=_0x610793['mapDesc'](_0x3d6913['changes'],!0x0),_0xe98ba5=_0x3d6913['mapped']?_0x3d6913['mapped']['composeDesc'](_0x4c986a):_0x4c986a;return new HistEvent(_0x266689,StateEffect['mapEffects'](_0x3d6913['effects'],_0x610793),_0xe98ba5,_0x3d6913['startSelection']['map'](_0x4c986a),_0x5af034);}const _0x147c3d=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0xe7628c,_0x291812,_0x2a0ef6=0x0,_0x141bea=void 0x0){this['done']=_0xe7628c,this['undone']=_0x291812,this['prevTime']=_0x2a0ef6,this['prevUserEvent']=_0x141bea;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x4047cb,_0x26d6bc,_0x3ed354,_0xf555de,_0x3fc8cc){let _0x14caa5=this['done'],_0x432a49=_0x14caa5[_0x14caa5['length']-0x1];return _0x14caa5=_0x432a49&&_0x432a49['changes']&&!_0x432a49['changes']['empty']&&_0x4047cb['changes']&&(!_0x3ed354||_0x147c3d['test'](_0x3ed354))&&(!_0x432a49['selectionsAfter']['length']&&_0x26d6bc-this['prevTime']<_0xf555de['newGroupDelay']&&_0xf555de['joinToEvent'](_0x3fc8cc,function(_0x562a59,_0x1a4897){let _0x3fee8e=[],_0x2205c1=!0x1;return _0x562a59['iterChangedRanges']((_0x5ea191,t)=>_0x3fee8e['push'](_0x5ea191,t)),_0x1a4897['iterChangedRanges']((_0x2a788a,_0x144757,_0x30b1c4,t)=>{for(let _0x211da3=0x0;_0x211da3<_0x3fee8e['length'];){let _0x570e32=_0x3fee8e[_0x211da3++],_0x2fc816=_0x3fee8e[_0x211da3++];t>=_0x570e32&&_0x30b1c4<=_0x2fc816&&(_0x2205c1=!0x0);}}),_0x2205c1;}(_0x432a49['changes'],_0x4047cb['changes']))||'input.type.compose'==_0x3ed354)?tT(_0x14caa5,_0x14caa5['length']-0x1,_0xf555de['minDepth'],new HistEvent(_0x4047cb['changes']['compose'](_0x432a49['changes']),_0x5dd4c0(StateEffect['mapEffects'](_0x4047cb['effects'],_0x432a49['changes']),_0x432a49['effects']),_0x432a49['mapped'],_0x432a49['startSelection'],_0x2c1671)):tT(_0x14caa5,_0x14caa5['length'],_0xf555de['minDepth'],_0x4047cb),new HistoryState(_0x14caa5,_0x2c1671,_0x26d6bc,_0x3ed354);}['addSelection'](_0x14bc13,_0x27f067,_0x2d80cd,_0x58e162){let _0x424b5b=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x2c1671;return _0x424b5b['length']>0x0&&_0x27f067-this['prevTime']<_0x58e162&&_0x2d80cd==this['prevUserEvent']&&_0x2d80cd&&/^select($|\.)/['test'](_0x2d80cd)&&function(_0x49b6c2,_0x3dd893){return _0x49b6c2['ranges']['length']==_0x3dd893['ranges']['length']&&0x0===_0x49b6c2['ranges']['filter']((_0x2c2339,_0x4a29aa)=>_0x2c2339['empty']!=_0x3dd893['ranges'][_0x4a29aa]['empty'])['length'];}(_0x424b5b[_0x424b5b['length']-0x1],_0x14bc13)?this:new HistoryState(_0x13d821(this['done'],_0x14bc13),this['undone'],_0x27f067,_0x2d80cd);}['addMapping'](_0x5f4e8a){return new HistoryState(_0x45bdaa(this['done'],_0x5f4e8a),_0x45bdaa(this['undone'],_0x5f4e8a),this['prevTime'],this['prevUserEvent']);}['pop'](_0x657eea,_0x17022a,_0x5044ee){let _0x28fa56=0x0==_0x657eea?this['done']:this['undone'];if(0x0==_0x28fa56['length'])return null;let _0xfd8e99=_0x28fa56[_0x28fa56['length']-0x1],_0x461b7b=_0xfd8e99['selectionsAfter'][0x0]||_0x17022a['selection'];if(_0x5044ee&&_0xfd8e99['selectionsAfter']['length'])return _0x17022a['update']({'selection':_0xfd8e99['selectionsAfter'][_0xfd8e99['selectionsAfter']['length']-0x1],'annotations':_0x495d8c['of']({'side':_0x657eea,'rest':_0x59a2d0(_0x28fa56),'selection':_0x461b7b}),'userEvent':0x0==_0x657eea?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0xfd8e99['changes']){let _0x4da0d4=0x1==_0x28fa56['length']?_0x2c1671:_0x28fa56['slice'](0x0,_0x28fa56['length']-0x1);return _0xfd8e99['mapped']&&(_0x4da0d4=_0x45bdaa(_0x4da0d4,_0xfd8e99['mapped'])),_0x17022a['update']({'changes':_0xfd8e99['changes'],'selection':_0xfd8e99['startSelection'],'effects':_0xfd8e99['effects'],'annotations':_0x495d8c['of']({'side':_0x657eea,'rest':_0x4da0d4,'selection':_0x461b7b}),'filter':!0x1,'userEvent':0x0==_0x657eea?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x2c1671,_0x2c1671);const _0x373ea4=[{'key':'Mod-z','run':_0xd95f3c,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x251d5e,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x251d5e,'preventDefault':!0x0},{'key':'Mod-u','run':_0x430cc5,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0x1f5b4c,'preventDefault':!0x0}];function _0xdc414(_0x1fb193,_0x515da8){return EditorSelection['create'](_0x1fb193['ranges']['map'](_0x515da8),_0x1fb193['mainIndex']);}function _0x11e902(_0x359282,_0x25e8d2){return _0x359282['update']({'selection':_0x25e8d2,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x211d14({state:_0x11f98c,dispatch:_0x31f18a},_0x3012ee){let _0x2d4bd0=_0xdc414(_0x11f98c['selection'],_0x3012ee);return!_0x2d4bd0['eq'](_0x11f98c['selection'],!0x0)&&(_0x31f18a(_0x11e902(_0x11f98c,_0x2d4bd0)),!0x0);}function _0x54f4cf(_0x2a621d,_0x1926df){return EditorSelection['cursor'](_0x1926df?_0x2a621d['to']:_0x2a621d['from']);}function _0x58b0ff(_0x4f946d,_0x1a7fdb){return _0x211d14(_0x4f946d,_0x373ff1=>_0x373ff1['empty']?_0x4f946d['moveByChar'](_0x373ff1,_0x1a7fdb):_0x54f4cf(_0x373ff1,_0x1a7fdb));}function _0x13f7b9(_0x1d04a5){return _0x1d04a5['textDirectionAt'](_0x1d04a5['state']['selection']['main']['head'])==_0x2d6025['LTR'];}const _0x4b82e9=_0x4b42fb=>_0x58b0ff(_0x4b42fb,!_0x13f7b9(_0x4b42fb)),_0x499211=_0x18fd4d=>_0x58b0ff(_0x18fd4d,_0x13f7b9(_0x18fd4d));function _0x16dcdb(_0x4d97f8,_0x2dc38b){return _0x211d14(_0x4d97f8,_0x3291d0=>_0x3291d0['empty']?_0x4d97f8['moveByGroup'](_0x3291d0,_0x2dc38b):_0x54f4cf(_0x3291d0,_0x2dc38b));}function _0x116a3b(_0x2c1993,_0x263472,_0x104920){if(_0x263472['type']['prop'](_0x104920))return!0x0;let _0x291c6f=_0x263472['to']-_0x263472['from'];return _0x291c6f&&(_0x291c6f>0x2||/[^\s,.;:]/['test'](_0x2c1993['sliceDoc'](_0x263472['from'],_0x263472['to'])))||_0x263472['firstChild'];}function _0x12be86(_0x4048a0,_0x51d08e,_0x5bbbf5){let _0x422641,_0x40e9a5,_0x13b77f=_0xc45a56(_0x4048a0)['resolveInner'](_0x51d08e['head']),_0x4db726=_0x5bbbf5?_0x16f115['closedBy']:_0x16f115['openedBy'];for(let _0xba869f=_0x51d08e['head'];;){let _0x5d570f=_0x5bbbf5?_0x13b77f['childAfter'](_0xba869f):_0x13b77f['childBefore'](_0xba869f);if(!_0x5d570f)break;_0x116a3b(_0x4048a0,_0x5d570f,_0x4db726)?_0x13b77f=_0x5d570f:_0xba869f=_0x5bbbf5?_0x5d570f['to']:_0x5d570f['from'];}return _0x40e9a5=_0x13b77f['type']['prop'](_0x4db726)&&(_0x422641=_0x5bbbf5?_0x384444(_0x4048a0,_0x13b77f['from'],0x1):_0x384444(_0x4048a0,_0x13b77f['to'],-0x1))&&_0x422641['matched']?_0x5bbbf5?_0x422641['end']['to']:_0x422641['end']['from']:_0x5bbbf5?_0x13b77f['to']:_0x13b77f['from'],EditorSelection['cursor'](_0x40e9a5,_0x5bbbf5?-0x1:0x1);}function _0x13f4a2(_0x38a3e6,_0x51a824){return _0x211d14(_0x38a3e6,_0x4befe1=>{if(!_0x4befe1['empty'])return _0x54f4cf(_0x4befe1,_0x51a824);let _0x31b248=_0x38a3e6['moveVertically'](_0x4befe1,_0x51a824);return _0x31b248['head']!=_0x4befe1['head']?_0x31b248:_0x38a3e6['moveToLineBoundary'](_0x4befe1,_0x51a824);});}const _0x41f191=_0x27c798=>_0x13f4a2(_0x27c798,!0x1),_0xf9f32d=_0x15dbbb=>_0x13f4a2(_0x15dbbb,!0x0);function _0x140f19(_0x44c3d7){let _0x38fcc4,_0x9c1571=_0x44c3d7['scrollDOM']['clientHeight']<_0x44c3d7['scrollDOM']['scrollHeight']-0x2,_0x54fffa=0x0,_0x67aa6b=0x0;if(_0x9c1571){for(let _0xa34aa6 of _0x44c3d7['state']['facet'](EditorView['scrollMargins'])){let _0x4d98a2=_0xa34aa6(_0x44c3d7);(null==_0x4d98a2?void 0x0:_0x4d98a2['top'])&&(_0x54fffa=Math['max'](null==_0x4d98a2?void 0x0:_0x4d98a2['top'],_0x54fffa)),(null==_0x4d98a2?void 0x0:_0x4d98a2['bottom'])&&(_0x67aa6b=Math['max'](null==_0x4d98a2?void 0x0:_0x4d98a2['bottom'],_0x67aa6b));}_0x38fcc4=_0x44c3d7['scrollDOM']['clientHeight']-_0x54fffa-_0x67aa6b;}else _0x38fcc4=(_0x44c3d7['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x54fffa,'marginBottom':_0x67aa6b,'selfScroll':_0x9c1571,'height':Math['max'](_0x44c3d7['defaultLineHeight'],_0x38fcc4-0x5)};}function _0x379552(_0x47f2f,_0x32a2e2){let _0x55d307,_0x5d9d93=_0x140f19(_0x47f2f),{state:_0x4e1199}=_0x47f2f,_0x543d4d=_0xdc414(_0x4e1199['selection'],_0x24d2b5=>_0x24d2b5['empty']?_0x47f2f['moveVertically'](_0x24d2b5,_0x32a2e2,_0x5d9d93['height']):_0x54f4cf(_0x24d2b5,_0x32a2e2));if(_0x543d4d['eq'](_0x4e1199['selection']))return!0x1;if(_0x5d9d93['selfScroll']){let _0x30f675=_0x47f2f['coordsAtPos'](_0x4e1199['selection']['main']['head']),_0x5c41a0=_0x47f2f['scrollDOM']['getBoundingClientRect'](),_0x3e5e04=_0x5c41a0['top']+_0x5d9d93['marginTop'],_0x4fa071=_0x5c41a0['bottom']-_0x5d9d93['marginBottom'];_0x30f675&&_0x30f675['top']>_0x3e5e04&&_0x30f675['bottom']<_0x4fa071&&(_0x55d307=EditorView['scrollIntoView'](_0x543d4d['main']['head'],{'y':'start','yMargin':_0x30f675['top']-_0x3e5e04}));}return _0x47f2f['dispatch'](_0x11e902(_0x4e1199,_0x543d4d),{'effects':_0x55d307}),!0x0;}const _0x3266f5=_0x52c8fc=>_0x379552(_0x52c8fc,!0x1),_0x1c0470=_0x4ca4ef=>_0x379552(_0x4ca4ef,!0x0);function _0x25130a(_0x5d7025,_0x1dc663,_0x116dc5){let _0x3f6aa0=_0x5d7025['lineBlockAt'](_0x1dc663['head']),_0x3c2c96=_0x5d7025['moveToLineBoundary'](_0x1dc663,_0x116dc5);if(_0x3c2c96['head']==_0x1dc663['head']&&_0x3c2c96['head']!=(_0x116dc5?_0x3f6aa0['to']:_0x3f6aa0['from'])&&(_0x3c2c96=_0x5d7025['moveToLineBoundary'](_0x1dc663,_0x116dc5,!0x1)),!_0x116dc5&&_0x3c2c96['head']==_0x3f6aa0['from']&&_0x3f6aa0['length']){let _0x3be802=/^\s*/['exec'](_0x5d7025['state']['sliceDoc'](_0x3f6aa0['from'],Math['min'](_0x3f6aa0['from']+0x64,_0x3f6aa0['to'])))[0x0]['length'];_0x3be802&&_0x1dc663['head']!=_0x3f6aa0['from']+_0x3be802&&(_0x3c2c96=EditorSelection['cursor'](_0x3f6aa0['from']+_0x3be802));}return _0x3c2c96;}function _0x1a3499(_0x5c1fa8,_0x337d21){let _0x27fed=_0xdc414(_0x5c1fa8['state']['selection'],_0x5591bc=>{let _0x57854e=_0x337d21(_0x5591bc);return EditorSelection['range'](_0x5591bc['anchor'],_0x57854e['head'],_0x57854e['goalColumn'],_0x57854e['bidiLevel']||void 0x0);});return!_0x27fed['eq'](_0x5c1fa8['state']['selection'])&&(_0x5c1fa8['dispatch'](_0x11e902(_0x5c1fa8['state'],_0x27fed)),!0x0);}function _0x490ff3(_0x11438b,_0x1bf255){return _0x1a3499(_0x11438b,_0x4ce4db=>_0x11438b['moveByChar'](_0x4ce4db,_0x1bf255));}const _0x46f6ce=_0x28be84=>_0x490ff3(_0x28be84,!_0x13f7b9(_0x28be84)),_0x5567f8=_0x57758b=>_0x490ff3(_0x57758b,_0x13f7b9(_0x57758b));function _0x153553(_0x37be39,_0x25fb2f){return _0x1a3499(_0x37be39,_0x477e00=>_0x37be39['moveByGroup'](_0x477e00,_0x25fb2f));}function _0x41d695(_0x4cc99a,_0x3e72c8){return _0x1a3499(_0x4cc99a,_0x156598=>_0x4cc99a['moveVertically'](_0x156598,_0x3e72c8));}const _0x11a851=_0x39ef12=>_0x41d695(_0x39ef12,!0x1),_0xb6eb54=_0x282023=>_0x41d695(_0x282023,!0x0);function _0x40a942(_0x3c1b7c,_0x134b9c){return _0x1a3499(_0x3c1b7c,_0x292449=>_0x3c1b7c['moveVertically'](_0x292449,_0x134b9c,_0x140f19(_0x3c1b7c)['height']));}const _0x3a61f0=_0x5b22b2=>_0x40a942(_0x5b22b2,!0x1),_0x28a5a1=_0x185d6c=>_0x40a942(_0x185d6c,!0x0),_0x5198ce=({state:_0x3bcec0,dispatch:_0x4fe4cf})=>(_0x4fe4cf(_0x11e902(_0x3bcec0,{'anchor':0x0})),!0x0),_0x5af3fb=({state:_0xa631f8,dispatch:_0x2abd40})=>(_0x2abd40(_0x11e902(_0xa631f8,{'anchor':_0xa631f8['doc']['length']})),!0x0),_0x4dc253=({state:_0x5a3c64,dispatch:_0x2a77e2})=>(_0x2a77e2(_0x11e902(_0x5a3c64,{'anchor':_0x5a3c64['selection']['main']['anchor'],'head':0x0})),!0x0),_0x53dcfa=({state:_0xdd7aa1,dispatch:_0x1902ea})=>(_0x1902ea(_0x11e902(_0xdd7aa1,{'anchor':_0xdd7aa1['selection']['main']['anchor'],'head':_0xdd7aa1['doc']['length']})),!0x0);function _0x377aac(_0x4ddb46,_0x57600b){if(_0x4ddb46['state']['readOnly'])return!0x1;let _0x291755='delete.selection',{state:_0x2a97ad}=_0x4ddb46,_0x2eca94=_0x2a97ad['changeByRange'](_0x2f0f1e=>{let {from:_0x13d7b4,to:_0x393473}=_0x2f0f1e;if(_0x13d7b4==_0x393473){let _0x20056e=_0x57600b(_0x2f0f1e);_0x20056e<_0x13d7b4?(_0x291755='delete.backward',_0x20056e=_0x27a320(_0x4ddb46,_0x20056e,!0x1)):_0x20056e>_0x13d7b4&&(_0x291755='delete.forward',_0x20056e=_0x27a320(_0x4ddb46,_0x20056e,!0x0)),_0x13d7b4=Math['min'](_0x13d7b4,_0x20056e),_0x393473=Math['max'](_0x393473,_0x20056e);}else _0x13d7b4=_0x27a320(_0x4ddb46,_0x13d7b4,!0x1),_0x393473=_0x27a320(_0x4ddb46,_0x393473,!0x0);return _0x13d7b4==_0x393473?{'range':_0x2f0f1e}:{'changes':{'from':_0x13d7b4,'to':_0x393473},'range':EditorSelection['cursor'](_0x13d7b4,_0x13d7b4<_0x2f0f1e['head']?-0x1:0x1)};});return!_0x2eca94['changes']['empty']&&(_0x4ddb46['dispatch'](_0x2a97ad['update'](_0x2eca94,{'scrollIntoView':!0x0,'userEvent':_0x291755,'effects':'delete.selection'==_0x291755?EditorView['announce']['of'](_0x2a97ad['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x27a320(_0x13d715,_0x58513b,_0x1a800a){if(_0x13d715 instanceof EditorView){for(let _0x4de7e3 of _0x13d715['state']['facet'](EditorView['atomicRanges'])['map'](_0x1b17c4=>_0x1b17c4(_0x13d715)))_0x4de7e3['between'](_0x58513b,_0x58513b,(_0xd47ad5,_0x20d661)=>{_0xd47ad5<_0x58513b&&_0x20d661>_0x58513b&&(_0x58513b=_0x1a800a?_0x20d661:_0xd47ad5);});}return _0x58513b;}const _0x3f574a=(_0x19aef4,_0x4c5313,_0x4c110e)=>_0x377aac(_0x19aef4,_0x325139=>{let _0x33d6f6,_0x293dfc,_0x47aac8=_0x325139['from'],{state:_0x4f8954}=_0x19aef4,_0x3be4cc=_0x4f8954['doc']['lineAt'](_0x47aac8);if(_0x4c110e&&!_0x4c5313&&_0x47aac8>_0x3be4cc['from']&&_0x47aac8<_0x3be4cc['from']+0xc8&&!/[^ \t]/['test'](_0x33d6f6=_0x3be4cc['text']['slice'](0x0,_0x47aac8-_0x3be4cc['from']))){if('\x09'==_0x33d6f6[_0x33d6f6['length']-0x1])return _0x47aac8-0x1;let _0x1a8771=_0x13abfb(_0x33d6f6,_0x4f8954['tabSize'])%_0x5f198f(_0x4f8954)||_0x5f198f(_0x4f8954);for(let _0x4fc4e4=0x0;_0x4fc4e4<_0x1a8771&&'\x20'==_0x33d6f6[_0x33d6f6['length']-0x1-_0x4fc4e4];_0x4fc4e4++)_0x47aac8--;_0x293dfc=_0x47aac8;}else _0x293dfc=_0x2044d7(_0x3be4cc['text'],_0x47aac8-_0x3be4cc['from'],_0x4c5313,_0x4c5313)+_0x3be4cc['from'],_0x293dfc==_0x47aac8&&_0x3be4cc['number']!=(_0x4c5313?_0x4f8954['doc']['lines']:0x1)?_0x293dfc+=_0x4c5313?0x1:-0x1:!_0x4c5313&&/[\ufe00-\ufe0f]/['test'](_0x3be4cc['text']['slice'](_0x293dfc-_0x3be4cc['from'],_0x47aac8-_0x3be4cc['from']))&&(_0x293dfc=_0x2044d7(_0x3be4cc['text'],_0x293dfc-_0x3be4cc['from'],!0x1,!0x1)+_0x3be4cc['from']);return _0x293dfc;}),_0x213442=_0x39da84=>_0x3f574a(_0x39da84,!0x1,!0x0),_0x5c8962=_0x5bfb9e=>_0x3f574a(_0x5bfb9e,!0x0,!0x1),_0x1708fd=(_0x1300f4,_0x41c5e9)=>_0x377aac(_0x1300f4,_0x105888=>{let _0x5a3ef8=_0x105888['head'],{state:_0x1dc7c3}=_0x1300f4,_0x2574dc=_0x1dc7c3['doc']['lineAt'](_0x5a3ef8),_0x33b667=_0x1dc7c3['charCategorizer'](_0x5a3ef8);for(let _0x7600fc=null;;){if(_0x5a3ef8==(_0x41c5e9?_0x2574dc['to']:_0x2574dc['from'])){_0x5a3ef8==_0x105888['head']&&_0x2574dc['number']!=(_0x41c5e9?_0x1dc7c3['doc']['lines']:0x1)&&(_0x5a3ef8+=_0x41c5e9?0x1:-0x1);break;}let _0x5c81ce=_0x2044d7(_0x2574dc['text'],_0x5a3ef8-_0x2574dc['from'],_0x41c5e9)+_0x2574dc['from'],_0x4a4a49=_0x2574dc['text']['slice'](Math['min'](_0x5a3ef8,_0x5c81ce)-_0x2574dc['from'],Math['max'](_0x5a3ef8,_0x5c81ce)-_0x2574dc['from']),_0x3a5ba4=_0x33b667(_0x4a4a49);if(null!=_0x7600fc&&_0x3a5ba4!=_0x7600fc)break;'\x20'==_0x4a4a49&&_0x5a3ef8==_0x105888['head']||(_0x7600fc=_0x3a5ba4),_0x5a3ef8=_0x5c81ce;}return _0x5a3ef8;}),_0x51ab40=_0x20b8b5=>_0x1708fd(_0x20b8b5,!0x1);function _0x180eca(_0x241d33){let _0x40fda7=[],_0x6de32b=-0x1;for(let _0xff6da9 of _0x241d33['selection']['ranges']){let _0x4ef850=_0x241d33['doc']['lineAt'](_0xff6da9['from']),_0x40b692=_0x241d33['doc']['lineAt'](_0xff6da9['to']);if(_0xff6da9['empty']||_0xff6da9['to']!=_0x40b692['from']||(_0x40b692=_0x241d33['doc']['lineAt'](_0xff6da9['to']-0x1)),_0x6de32b>=_0x4ef850['number']){let _0x31f84e=_0x40fda7[_0x40fda7['length']-0x1];_0x31f84e['to']=_0x40b692['to'],_0x31f84e['ranges']['push'](_0xff6da9);}else _0x40fda7['push']({'from':_0x4ef850['from'],'to':_0x40b692['to'],'ranges':[_0xff6da9]});_0x6de32b=_0x40b692['number']+0x1;}return _0x40fda7;}function _0x154b36(_0x4c99be,_0x2a12c1,_0x44f481){if(_0x4c99be['readOnly'])return!0x1;let _0x18ca07=[],_0x16b61e=[];for(let _0x22dddf of _0x180eca(_0x4c99be)){if(_0x44f481?_0x22dddf['to']==_0x4c99be['doc']['length']:0x0==_0x22dddf['from'])continue;let _0x29b16c=_0x4c99be['doc']['lineAt'](_0x44f481?_0x22dddf['to']+0x1:_0x22dddf['from']-0x1),_0x4db811=_0x29b16c['length']+0x1;if(_0x44f481){_0x18ca07['push']({'from':_0x22dddf['to'],'to':_0x29b16c['to']},{'from':_0x22dddf['from'],'insert':_0x29b16c['text']+_0x4c99be['lineBreak']});for(let _0x4ff417 of _0x22dddf['ranges'])_0x16b61e['push'](EditorSelection['range'](Math['min'](_0x4c99be['doc']['length'],_0x4ff417['anchor']+_0x4db811),Math['min'](_0x4c99be['doc']['length'],_0x4ff417['head']+_0x4db811)));}else{_0x18ca07['push']({'from':_0x29b16c['from'],'to':_0x22dddf['from']},{'from':_0x22dddf['to'],'insert':_0x4c99be['lineBreak']+_0x29b16c['text']});for(let _0x521716 of _0x22dddf['ranges'])_0x16b61e['push'](EditorSelection['range'](_0x521716['anchor']-_0x4db811,_0x521716['head']-_0x4db811));}}return!!_0x18ca07['length']&&(_0x2a12c1(_0x4c99be['update']({'changes':_0x18ca07,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x16b61e,_0x4c99be['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function tE(_0x42fb3e,_0x5724ff,_0x3ab1e7){if(_0x42fb3e['readOnly'])return!0x1;let _0x109588=[];for(let _0x2b1f39 of _0x180eca(_0x42fb3e))_0x3ab1e7?_0x109588['push']({'from':_0x2b1f39['from'],'insert':_0x42fb3e['doc']['slice'](_0x2b1f39['from'],_0x2b1f39['to'])+_0x42fb3e['lineBreak']}):_0x109588['push']({'from':_0x2b1f39['to'],'insert':_0x42fb3e['lineBreak']+_0x42fb3e['doc']['slice'](_0x2b1f39['from'],_0x2b1f39['to'])});return _0x5724ff(_0x42fb3e['update']({'changes':_0x109588,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x57d767=_0x32b79a(!0x1),_0xa74093=_0x32b79a(!0x0);function _0x32b79a(_0x33883b){return({state:_0x13e5aa,dispatch:_0x45c67c})=>{if(_0x13e5aa['readOnly'])return!0x1;let _0x3558b2=_0x13e5aa['changeByRange'](_0xdf7f7b=>{let {from:_0x473a52,to:_0x33f84c}=_0xdf7f7b,_0x5d49a1=_0x13e5aa['doc']['lineAt'](_0x473a52),_0x3591ed=!_0x33883b&&_0x473a52==_0x33f84c&&function(_0x2ffa5f,_0x1b1b1f){if(/\(\)|\[\]|\{\}/['test'](_0x2ffa5f['sliceDoc'](_0x1b1b1f-0x1,_0x1b1b1f+0x1)))return{'from':_0x1b1b1f,'to':_0x1b1b1f};let _0xf68f31,_0xb2a974=_0xc45a56(_0x2ffa5f)['resolveInner'](_0x1b1b1f),_0x17a7ad=_0xb2a974['childBefore'](_0x1b1b1f),_0x218edc=_0xb2a974['childAfter'](_0x1b1b1f);return _0x17a7ad&&_0x218edc&&_0x17a7ad['to']<=_0x1b1b1f&&_0x218edc['from']>=_0x1b1b1f&&(_0xf68f31=_0x17a7ad['type']['prop'](_0x16f115['closedBy']))&&_0xf68f31['indexOf'](_0x218edc['name'])>-0x1&&_0x2ffa5f['doc']['lineAt'](_0x17a7ad['to'])['from']==_0x2ffa5f['doc']['lineAt'](_0x218edc['from'])['from']&&!/\S/['test'](_0x2ffa5f['sliceDoc'](_0x17a7ad['to'],_0x218edc['from']))?{'from':_0x17a7ad['to'],'to':_0x218edc['from']}:null;}(_0x13e5aa,_0x473a52);_0x33883b&&(_0x473a52=_0x33f84c=(_0x33f84c<=_0x5d49a1['to']?_0x5d49a1:_0x13e5aa['doc']['lineAt'](_0x33f84c))['to']);let _0x545610=new IndentContext(_0x13e5aa,{'simulateBreak':_0x473a52,'simulateDoubleBreak':!!_0x3591ed}),_0x35a749=_0xc514f3(_0x545610,_0x473a52);for(null==_0x35a749&&(_0x35a749=_0x13abfb(/^\s*/['exec'](_0x13e5aa['doc']['lineAt'](_0x473a52)['text'])[0x0],_0x13e5aa['tabSize']));_0x33f84c<_0x5d49a1['to']&&/\s/['test'](_0x5d49a1['text'][_0x33f84c-_0x5d49a1['from']]);)_0x33f84c++;_0x3591ed?{from:_0x473a52,to:_0x33f84c}=_0x3591ed:_0x473a52>_0x5d49a1['from']&&_0x473a52<_0x5d49a1['from']+0x64&&!/\S/['test'](_0x5d49a1['text']['slice'](0x0,_0x473a52))&&(_0x473a52=_0x5d49a1['from']);let _0x25a755=['',_0x4f0f47(_0x13e5aa,_0x35a749)];return _0x3591ed&&_0x25a755['push'](_0x4f0f47(_0x13e5aa,_0x545610['lineIndent'](_0x5d49a1['from'],-0x1))),{'changes':{'from':_0x473a52,'to':_0x33f84c,'insert':Text['of'](_0x25a755)},'range':EditorSelection['cursor'](_0x473a52+0x1+_0x25a755[0x1]['length'])};});return _0x45c67c(_0x13e5aa['update'](_0x3558b2,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x11bd5e(_0x7ec772,_0x51c4d4){let _0x1abece=-0x1;return _0x7ec772['changeByRange'](_0x27e0e6=>{let _0x589cb8=[];for(let _0x10a92c=_0x27e0e6['from'];_0x10a92c<=_0x27e0e6['to'];){let _0x4b6b74=_0x7ec772['doc']['lineAt'](_0x10a92c);_0x4b6b74['number']>_0x1abece&&(_0x27e0e6['empty']||_0x27e0e6['to']>_0x4b6b74['from'])&&(_0x51c4d4(_0x4b6b74,_0x589cb8,_0x27e0e6),_0x1abece=_0x4b6b74['number']),_0x10a92c=_0x4b6b74['to']+0x1;}let _0x68e69b=_0x7ec772['changes'](_0x589cb8);return{'changes':_0x589cb8,'range':EditorSelection['range'](_0x68e69b['mapPos'](_0x27e0e6['anchor'],0x1),_0x68e69b['mapPos'](_0x27e0e6['head'],0x1))};});}const _0x4294be=({state:_0x2056e1,dispatch:_0x397c31})=>!_0x2056e1['readOnly']&&(_0x397c31(_0x2056e1['update'](_0x11bd5e(_0x2056e1,(_0x12440a,_0x54dbff)=>{_0x54dbff['push']({'from':_0x12440a['from'],'insert':_0x2056e1['facet'](_0x2aa938)});}),{'userEvent':'input.indent'})),!0x0),_0x2fa52b=({state:_0x2f1fb8,dispatch:_0x2b225f})=>!_0x2f1fb8['readOnly']&&(_0x2b225f(_0x2f1fb8['update'](_0x11bd5e(_0x2f1fb8,(_0x526e6a,_0x3cc458)=>{let _0x398621=/^\s*/['exec'](_0x526e6a['text'])[0x0];if(!_0x398621)return;let _0x1c3233=_0x13abfb(_0x398621,_0x2f1fb8['tabSize']),_0x3d1af1=0x0,_0x5aabe2=_0x4f0f47(_0x2f1fb8,Math['max'](0x0,_0x1c3233-_0x5f198f(_0x2f1fb8)));for(;_0x3d1af1<_0x398621['length']&&_0x3d1af1<_0x5aabe2['length']&&_0x398621['charCodeAt'](_0x3d1af1)==_0x5aabe2['charCodeAt'](_0x3d1af1);)_0x3d1af1++;_0x3cc458['push']({'from':_0x526e6a['from']+_0x3d1af1,'to':_0x526e6a['from']+_0x398621['length'],'insert':_0x5aabe2['slice'](_0x3d1af1)});}),{'userEvent':'delete.dedent'})),!0x0),_0x333783=_0x47e843=>(_0x47e843['setTabFocusMode'](),!0x0),_0x34ad71=[{'key':'Ctrl-b','run':_0x4b82e9,'shift':_0x46f6ce,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x499211,'shift':_0x5567f8},{'key':'Ctrl-p','run':_0x41f191,'shift':_0x11a851},{'key':'Ctrl-n','run':_0xf9f32d,'shift':_0xb6eb54},{'key':'Ctrl-a','run':_0x42cc55=>_0x211d14(_0x42cc55,_0x25ea8d=>EditorSelection['cursor'](_0x42cc55['lineBlockAt'](_0x25ea8d['head'])['from'],0x1)),'shift':_0x48ae6b=>_0x1a3499(_0x48ae6b,_0x415eff=>EditorSelection['cursor'](_0x48ae6b['lineBlockAt'](_0x415eff['head'])['from']))},{'key':'Ctrl-e','run':_0x473037=>_0x211d14(_0x473037,_0x519482=>EditorSelection['cursor'](_0x473037['lineBlockAt'](_0x519482['head'])['to'],-0x1)),'shift':_0x4d8ac8=>_0x1a3499(_0x4d8ac8,_0x16230d=>EditorSelection['cursor'](_0x4d8ac8['lineBlockAt'](_0x16230d['head'])['to']))},{'key':'Ctrl-d','run':_0x5c8962},{'key':'Ctrl-h','run':_0x213442},{'key':'Ctrl-k','run':_0x2f5b1f=>_0x377aac(_0x2f5b1f,_0x123c52=>{let _0x2df2c0=_0x2f5b1f['lineBlockAt'](_0x123c52['head'])['to'];return _0x123c52['head']<_0x2df2c0?_0x2df2c0:Math['min'](_0x2f5b1f['state']['doc']['length'],_0x123c52['head']+0x1);})},{'key':'Ctrl-Alt-h','run':_0x51ab40},{'key':'Ctrl-o','run':({state:_0x301c53,dispatch:_0x1f279b})=>{if(_0x301c53['readOnly'])return!0x1;let _0x21adbc=_0x301c53['changeByRange'](_0x51ea4e=>({'changes':{'from':_0x51ea4e['from'],'to':_0x51ea4e['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x51ea4e['from'])}));return _0x1f279b(_0x301c53['update'](_0x21adbc,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x2dfcad,dispatch:_0x144520})=>{if(_0x2dfcad['readOnly'])return!0x1;let _0x593472=_0x2dfcad['changeByRange'](_0x5e5cfa=>{if(!_0x5e5cfa['empty']||0x0==_0x5e5cfa['from']||_0x5e5cfa['from']==_0x2dfcad['doc']['length'])return{'range':_0x5e5cfa};let _0x48d494=_0x5e5cfa['from'],_0x2d69c6=_0x2dfcad['doc']['lineAt'](_0x48d494),_0x40d5ce=_0x48d494==_0x2d69c6['from']?_0x48d494-0x1:_0x2044d7(_0x2d69c6['text'],_0x48d494-_0x2d69c6['from'],!0x1)+_0x2d69c6['from'],_0x53f2ec=_0x48d494==_0x2d69c6['to']?_0x48d494+0x1:_0x2044d7(_0x2d69c6['text'],_0x48d494-_0x2d69c6['from'],!0x0)+_0x2d69c6['from'];return{'changes':{'from':_0x40d5ce,'to':_0x53f2ec,'insert':_0x2dfcad['doc']['slice'](_0x48d494,_0x53f2ec)['append'](_0x2dfcad['doc']['slice'](_0x40d5ce,_0x48d494))},'range':EditorSelection['cursor'](_0x53f2ec)};});return!_0x593472['changes']['empty']&&(_0x144520(_0x2dfcad['update'](_0x593472,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0x1c0470}],_0x31451a=[{'key':'ArrowLeft','run':_0x4b82e9,'shift':_0x46f6ce,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x130ac8=>_0x16dcdb(_0x130ac8,!_0x13f7b9(_0x130ac8)),'shift':_0x51a288=>_0x153553(_0x51a288,!_0x13f7b9(_0x51a288)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x45e18c=>_0x211d14(_0x45e18c,_0x32c052=>_0x25130a(_0x45e18c,_0x32c052,!_0x13f7b9(_0x45e18c))),'shift':_0x4b798f=>_0x1a3499(_0x4b798f,_0x4c1c36=>_0x25130a(_0x4b798f,_0x4c1c36,!_0x13f7b9(_0x4b798f))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x499211,'shift':_0x5567f8,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x430e70=>_0x16dcdb(_0x430e70,_0x13f7b9(_0x430e70)),'shift':_0x28bc90=>_0x153553(_0x28bc90,_0x13f7b9(_0x28bc90)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x3a07e1=>_0x211d14(_0x3a07e1,_0x47ae11=>_0x25130a(_0x3a07e1,_0x47ae11,_0x13f7b9(_0x3a07e1))),'shift':_0x32ba58=>_0x1a3499(_0x32ba58,_0x2fd306=>_0x25130a(_0x32ba58,_0x2fd306,_0x13f7b9(_0x32ba58))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x41f191,'shift':_0x11a851,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x5198ce,'shift':_0x4dc253},{'mac':'Ctrl-ArrowUp','run':_0x3266f5,'shift':_0x3a61f0},{'key':'ArrowDown','run':_0xf9f32d,'shift':_0xb6eb54,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x5af3fb,'shift':_0x53dcfa},{'mac':'Ctrl-ArrowDown','run':_0x1c0470,'shift':_0x28a5a1},{'key':'PageUp','run':_0x3266f5,'shift':_0x3a61f0},{'key':'PageDown','run':_0x1c0470,'shift':_0x28a5a1},{'key':'Home','run':_0x33d39b=>_0x211d14(_0x33d39b,_0x37310f=>_0x25130a(_0x33d39b,_0x37310f,!0x1)),'shift':_0xfb4309=>_0x1a3499(_0xfb4309,_0x163a28=>_0x25130a(_0xfb4309,_0x163a28,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x5198ce,'shift':_0x4dc253},{'key':'End','run':_0x1d1629=>_0x211d14(_0x1d1629,_0x555aab=>_0x25130a(_0x1d1629,_0x555aab,!0x0)),'shift':_0x1e660c=>_0x1a3499(_0x1e660c,_0x1ed7e4=>_0x25130a(_0x1e660c,_0x1ed7e4,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x5af3fb,'shift':_0x53dcfa},{'key':'Enter','run':_0x57d767,'shift':_0x57d767},{'key':'Mod-a','run':({state:_0x1847a1,dispatch:_0xb2473d})=>(_0xb2473d(_0x1847a1['update']({'selection':{'anchor':0x0,'head':_0x1847a1['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x213442,'shift':_0x213442},{'key':'Delete','run':_0x5c8962},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':_0x51ab40},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x597ba5=>_0x1708fd(_0x597ba5,!0x0)},{'mac':'Mod-Backspace','run':_0x317b1e=>_0x377aac(_0x317b1e,_0x1f7ee8=>{let _0x24d65b=_0x317b1e['moveToLineBoundary'](_0x1f7ee8,!0x1)['head'];return _0x1f7ee8['head']>_0x24d65b?_0x24d65b:Math['max'](0x0,_0x1f7ee8['head']-0x1);})},{'mac':'Mod-Delete','run':_0x328fd2=>_0x377aac(_0x328fd2,_0x89723a=>{let _0x269512=_0x328fd2['moveToLineBoundary'](_0x89723a,!0x0)['head'];return _0x89723a['head']<_0x269512?_0x269512:Math['min'](_0x328fd2['state']['doc']['length'],_0x89723a['head']+0x1);})}]['concat'](_0x34ad71['map'](_0x2a240b=>({'mac':_0x2a240b['key'],'run':_0x2a240b['run'],'shift':_0x2a240b['shift']}))),_0x215df4=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x421596=>_0x211d14(_0x421596,_0x71de56=>_0x12be86(_0x421596['state'],_0x71de56,!_0x13f7b9(_0x421596))),'shift':_0x351247=>_0x1a3499(_0x351247,_0x28290f=>_0x12be86(_0x351247['state'],_0x28290f,!_0x13f7b9(_0x351247)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x1aaf84=>_0x211d14(_0x1aaf84,_0x3fb30f=>_0x12be86(_0x1aaf84['state'],_0x3fb30f,_0x13f7b9(_0x1aaf84))),'shift':_0x400207=>_0x1a3499(_0x400207,_0x51c509=>_0x12be86(_0x400207['state'],_0x51c509,_0x13f7b9(_0x400207)))},{'key':'Alt-ArrowUp','run':({state:_0x42f858,dispatch:_0x8a02e})=>_0x154b36(_0x42f858,_0x8a02e,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x4b8baf,dispatch:_0x3d0369})=>tE(_0x4b8baf,_0x3d0369,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x1133ec,dispatch:_0x5909cd})=>_0x154b36(_0x1133ec,_0x5909cd,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x546095,dispatch:_0x319161})=>tE(_0x546095,_0x319161,!0x0)},{'key':'Escape','run':({state:_0x1b6ba8,dispatch:_0x3a5c73})=>{let _0x529345=_0x1b6ba8['selection'],_0x38bc6a=null;return _0x529345['ranges']['length']>0x1?_0x38bc6a=EditorSelection['create']([_0x529345['main']]):_0x529345['main']['empty']||(_0x38bc6a=EditorSelection['create']([EditorSelection['cursor'](_0x529345['main']['head'])])),!!_0x38bc6a&&(_0x3a5c73(_0x11e902(_0x1b6ba8,_0x38bc6a)),!0x0);}},{'key':'Mod-Enter','run':_0xa74093},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x5ace25,dispatch:_0x3f3e3c})=>{let _0x56e247=_0x180eca(_0x5ace25)['map'](({from:_0x2c8993,to:_0x158be4})=>EditorSelection['range'](_0x2c8993,Math['min'](_0x158be4+0x1,_0x5ace25['doc']['length'])));return _0x3f3e3c(_0x5ace25['update']({'selection':EditorSelection['create'](_0x56e247),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x3953dc,dispatch:_0x16e614})=>{let _0x133993=_0xdc414(_0x3953dc['selection'],_0x38a901=>{let _0x409687=_0xc45a56(_0x3953dc),_0x44aee1=_0x409687['resolveStack'](_0x38a901['from'],0x1);if(_0x38a901['empty']){let _0x9092d2=_0x409687['resolveStack'](_0x38a901['from'],-0x1);_0x9092d2['node']['from']>=_0x44aee1['node']['from']&&_0x9092d2['node']['to']<=_0x44aee1['node']['to']&&(_0x44aee1=_0x9092d2);}for(let _0x13efe9=_0x44aee1;_0x13efe9;_0x13efe9=_0x13efe9['next']){let {node:_0x15b720}=_0x13efe9;if((_0x15b720['from']<_0x38a901['from']&&_0x15b720['to']>=_0x38a901['to']||_0x15b720['to']>_0x38a901['to']&&_0x15b720['from']<=_0x38a901['from'])&&_0x13efe9['next'])return EditorSelection['range'](_0x15b720['to'],_0x15b720['from']);}return _0x38a901;});return!_0x133993['eq'](_0x3953dc['selection'])&&(_0x16e614(_0x11e902(_0x3953dc,_0x133993)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0x2fa52b},{'key':'Mod-]','run':_0x4294be},{'key':'Mod-Alt-\x5c','run':({state:_0x15b4c1,dispatch:_0x5f5cd9})=>{if(_0x15b4c1['readOnly'])return!0x1;let _0x49152d=Object['create'](null),_0x2a25db=new IndentContext(_0x15b4c1,{'overrideIndentation':_0x2a9724=>{let _0x1ce04f=_0x49152d[_0x2a9724];return null==_0x1ce04f?-0x1:_0x1ce04f;}}),_0x58c2bb=_0x11bd5e(_0x15b4c1,(_0x3aa5bd,_0x5caa02,_0x45a6e)=>{let _0x2036b9=_0xc514f3(_0x2a25db,_0x3aa5bd['from']);if(null==_0x2036b9)return;/\S/['test'](_0x3aa5bd['text'])||(_0x2036b9=0x0);let _0x1e468e=/^\s*/['exec'](_0x3aa5bd['text'])[0x0],_0x45326a=_0x4f0f47(_0x15b4c1,_0x2036b9);(_0x1e468e!=_0x45326a||_0x45a6e['from']<_0x3aa5bd['from']+_0x1e468e['length'])&&(_0x49152d[_0x3aa5bd['from']]=_0x2036b9,_0x5caa02['push']({'from':_0x3aa5bd['from'],'to':_0x3aa5bd['from']+_0x1e468e['length'],'insert':_0x45326a}));});return _0x58c2bb['changes']['empty']||_0x5f5cd9(_0x15b4c1['update'](_0x58c2bb,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x1d0cb4=>{if(_0x1d0cb4['state']['readOnly'])return!0x1;let {state:_0xedc0b9}=_0x1d0cb4,_0xe56741=_0xedc0b9['changes'](_0x180eca(_0xedc0b9)['map'](({from:_0x93a2bb,to:_0x2025c3})=>(_0x93a2bb>0x0?_0x93a2bb--:_0x2025c3<_0xedc0b9['doc']['length']&&_0x2025c3++,{'from':_0x93a2bb,'to':_0x2025c3}))),_0x12a2e3=_0xdc414(_0xedc0b9['selection'],_0x4d037c=>{let _0x543b44;if(_0x1d0cb4['lineWrapping']){let _0x409729=_0x1d0cb4['lineBlockAt'](_0x4d037c['head']),_0x385f02=_0x1d0cb4['coordsAtPos'](_0x4d037c['head'],_0x4d037c['assoc']||0x1);_0x385f02&&(_0x543b44=_0x409729['bottom']+_0x1d0cb4['documentTop']-_0x385f02['bottom']+_0x1d0cb4['defaultLineHeight']/0x2);}return _0x1d0cb4['moveVertically'](_0x4d037c,!0x0,_0x543b44);})['map'](_0xe56741);return _0x1d0cb4['dispatch']({'changes':_0xe56741,'selection':_0x12a2e3,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x20a26b,dispatch:_0x2513d0})=>function(_0x41a7ef,_0x4c58c6){let _0x1b602a=!0x1,_0x241e77=_0xdc414(_0x41a7ef['selection'],_0x52244a=>{let _0x225aeb=_0x384444(_0x41a7ef,_0x52244a['head'],-0x1)||_0x384444(_0x41a7ef,_0x52244a['head'],0x1)||_0x52244a['head']>0x0&&_0x384444(_0x41a7ef,_0x52244a['head']-0x1,0x1)||_0x52244a['head']<_0x41a7ef['doc']['length']&&_0x384444(_0x41a7ef,_0x52244a['head']+0x1,-0x1);if(!_0x225aeb||!_0x225aeb['end'])return _0x52244a;_0x1b602a=!0x0;let _0x5d5265=_0x225aeb['start']['from']==_0x52244a['head']?_0x225aeb['end']['to']:_0x225aeb['end']['from'];return EditorSelection['cursor'](_0x5d5265);});return!!_0x1b602a&&(_0x4c58c6(_0x11e902(_0x41a7ef,_0x241e77)),!0x0);}(_0x20a26b,_0x2513d0)},{'key':'Mod-/','run':_0x2e2d8e=>{let {state:_0x234aeb}=_0x2e2d8e,_0x310b39=_0x234aeb['doc']['lineAt'](_0x234aeb['selection']['main']['from']),_0x2fb285=_0xac69a6(_0x2e2d8e['state'],_0x310b39['from']);return _0x2fb285['line']?_0x50acd9(_0x2e2d8e):!!_0x2fb285['block']&&_0x49f2a0(_0x2e2d8e);}},{'key':'Alt-A','run':_0x3bc413},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0x333783}]['concat'](_0x31451a);class CompletionContext{constructor(_0x558099,_0x1c172c,_0x32ecb6,_0x27ddb1){this['state']=_0x558099,this['pos']=_0x1c172c,this['explicit']=_0x32ecb6,this['view']=_0x27ddb1,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x3a2e0d){let _0x15ed80=_0xc45a56(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x15ed80&&_0x3a2e0d['indexOf'](_0x15ed80['name'])<0x0;)_0x15ed80=_0x15ed80['parent'];return _0x15ed80?{'from':_0x15ed80['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x15ed80['from'],this['pos']),'type':_0x15ed80['type']}:null;}['matchBefore'](_0x398406){let _0x1e3684=this['state']['doc']['lineAt'](this['pos']),_0x5b41bb=Math['max'](_0x1e3684['from'],this['pos']-0xfa),_0x249e4c=_0x1e3684['text']['slice'](_0x5b41bb-_0x1e3684['from'],this['pos']-_0x1e3684['from']),_0x23e8e5=_0x249e4c['search'](_0x548ef9(_0x398406,!0x1));return _0x23e8e5<0x0?null:{'from':_0x5b41bb+_0x23e8e5,'to':this['pos'],'text':_0x249e4c['slice'](_0x23e8e5)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x71fa98,_0x2c72e7,_0x574e23){'abort'==_0x71fa98&&this['abortListeners']&&(this['abortListeners']['push'](_0x2c72e7),_0x574e23&&_0x574e23['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function _0x7c066e(_0x592aa4){let _0x36dd99=Object['keys'](_0x592aa4)['join'](''),_0x48a6fa=/\w/['test'](_0x36dd99);return _0x48a6fa&&(_0x36dd99=_0x36dd99['replace'](/\w/g,'')),'['+(_0x48a6fa?'\x5cw':'')+_0x36dd99['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x5401b7(_0x1c9e41){let _0x2459ca=_0x1c9e41['map'](_0xd2516b=>'string'==typeof _0xd2516b?{'label':_0xd2516b}:_0xd2516b),[_0x3c227e,_0x3feacc]=_0x2459ca['every'](_0x1dd9eb=>/^\w+$/['test'](_0x1dd9eb['label']))?[/\w*$/,/\w+$/]:function(_0x4fcce4){let _0x3f6019=Object['create'](null),_0x4bb4df=Object['create'](null);for(let {label:_0x353802}of _0x4fcce4){_0x3f6019[_0x353802[0x0]]=!0x0;for(let _0x29a64a=0x1;_0x29a64a<_0x353802['length'];_0x29a64a++)_0x4bb4df[_0x353802[_0x29a64a]]=!0x0;}let _0x1df19a=_0x7c066e(_0x3f6019)+_0x7c066e(_0x4bb4df)+'*$';return[new RegExp('^'+_0x1df19a),new RegExp(_0x1df19a)];}(_0x2459ca);return _0x56d6f5=>{let _0x211aab=_0x56d6f5['matchBefore'](_0x3feacc);return _0x211aab||_0x56d6f5['explicit']?{'from':_0x211aab?_0x211aab['from']:_0x56d6f5['pos'],'options':_0x2459ca,'validFor':_0x3c227e}:null;};}class Option{constructor(_0x442c05,_0x599a21,_0x1ce9db,_0x4d587a){this['completion']=_0x442c05,this['source']=_0x599a21,this['match']=_0x1ce9db,this['score']=_0x4d587a;}}function _0x595500(_0x342624){return _0x342624['selection']['main']['from'];}function _0x548ef9(_0x59dfe1,_0x539420){var _0x5cfee3;let {source:_0x40be30}=_0x59dfe1,_0x1cdb04=_0x539420&&'^'!=_0x40be30[0x0],_0x1e3f44='$'!=_0x40be30[_0x40be30['length']-0x1];return _0x1cdb04||_0x1e3f44?new RegExp((_0x1cdb04?'^':'')+'(?:'+_0x40be30+')'+(_0x1e3f44?'$':''),null!==(_0x5cfee3=_0x59dfe1['flags'])&&void 0x0!==_0x5cfee3?_0x5cfee3:_0x59dfe1['ignoreCase']?'i':''):_0x59dfe1;}const _0x39a367=Annotation['define']();function _0x219d8f(_0x272c0b,_0x13d9e7,_0x6f54cc,_0x4a376d){let {main:_0x340e89}=_0x272c0b['selection'],_0x237bef=_0x6f54cc-_0x340e89['from'],_0x454306=_0x4a376d-_0x340e89['from'];return{..._0x272c0b['changeByRange'](_0xf8d754=>{if(_0xf8d754!=_0x340e89&&_0x6f54cc!=_0x4a376d&&_0x272c0b['sliceDoc'](_0xf8d754['from']+_0x237bef,_0xf8d754['from']+_0x454306)!=_0x272c0b['sliceDoc'](_0x6f54cc,_0x4a376d))return{'range':_0xf8d754};let _0x375997=_0x272c0b['toText'](_0x13d9e7);return{'changes':{'from':_0xf8d754['from']+_0x237bef,'to':_0x4a376d==_0x340e89['from']?_0xf8d754['to']:_0xf8d754['from']+_0x454306,'insert':_0x375997},'range':EditorSelection['cursor'](_0xf8d754['from']+_0x237bef+_0x375997['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x38f9c8=new WeakMap();function _0x5c4239(_0x48edb2){if(!Array['isArray'](_0x48edb2))return _0x48edb2;let _0x9b3d3=_0x38f9c8['get'](_0x48edb2);return _0x9b3d3||_0x38f9c8['set'](_0x48edb2,_0x9b3d3=_0x5401b7(_0x48edb2)),_0x9b3d3;}const _0x37d28b=StateEffect['define'](),_0x21cd07=StateEffect['define']();class FuzzyMatcher{constructor(_0x1ce4bd){this['pattern']=_0x1ce4bd,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x332b04=0x0;_0x332b04<_0x1ce4bd['length'];){let _0x1be399=_0xcacbe4(_0x1ce4bd,_0x332b04),_0x479b34=_0x245f61(_0x1be399);this['chars']['push'](_0x1be399);let _0x5216b7=_0x1ce4bd['slice'](_0x332b04,_0x332b04+_0x479b34),_0x39bf7e=_0x5216b7['toUpperCase']();this['folded']['push'](_0xcacbe4(_0x39bf7e==_0x5216b7?_0x5216b7['toLowerCase']():_0x39bf7e,0x0)),_0x332b04+=_0x479b34;}this['astral']=_0x1ce4bd['length']!=this['chars']['length'];}['ret'](_0x380c09,_0x59043c){return this['score']=_0x380c09,this['matched']=_0x59043c,this;}['match'](_0x2c2f69){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x2c2f69['length']<this['pattern']['length'])return null;let {chars:_0x52f204,folded:_0x569e00,any:_0x4bdda0,precise:_0x5e7388,byWord:_0x128043}=this;if(0x1==_0x52f204['length']){let _0x57a9bb=_0xcacbe4(_0x2c2f69,0x0),_0x2e7816=_0x245f61(_0x57a9bb),_0x5e3714=_0x2e7816==_0x2c2f69['length']?0x0:-0x64;if(_0x57a9bb==_0x52f204[0x0]);else{if(_0x57a9bb!=_0x569e00[0x0])return null;_0x5e3714+=-0xc8;}return this['ret'](_0x5e3714,[0x0,_0x2e7816]);}let _0x41c3b2=_0x2c2f69['indexOf'](this['pattern']);if(0x0==_0x41c3b2)return this['ret'](_0x2c2f69['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x3a106c=_0x52f204['length'],_0x2e3e34=0x0;if(_0x41c3b2<0x0){for(let _0x20131b=0x0,_0x59d93a=Math['min'](_0x2c2f69['length'],0xc8);_0x20131b<_0x59d93a&&_0x2e3e34<_0x3a106c;){let _0x4a4a5f=_0xcacbe4(_0x2c2f69,_0x20131b);_0x4a4a5f!=_0x52f204[_0x2e3e34]&&_0x4a4a5f!=_0x569e00[_0x2e3e34]||(_0x4bdda0[_0x2e3e34++]=_0x20131b),_0x20131b+=_0x245f61(_0x4a4a5f);}if(_0x2e3e34<_0x3a106c)return null;}let _0x5492ae=0x0,_0x3fd003=0x0,_0x4dc1de=!0x1,_0x38c8d4=0x0,_0x35c025=-0x1,_0x184168=-0x1,_0x39b5f1=/[a-z]/['test'](_0x2c2f69),_0x2c3e0c=!0x0;for(let _0x54589a=0x0,_0x4cb2db=Math['min'](_0x2c2f69['length'],0xc8),_0x18146c=0x0;_0x54589a<_0x4cb2db&&_0x3fd003<_0x3a106c;){let _0x3e5b3b=_0xcacbe4(_0x2c2f69,_0x54589a);_0x41c3b2<0x0&&(_0x5492ae<_0x3a106c&&_0x3e5b3b==_0x52f204[_0x5492ae]&&(_0x5e7388[_0x5492ae++]=_0x54589a),_0x38c8d4<_0x3a106c&&(_0x3e5b3b==_0x52f204[_0x38c8d4]||_0x3e5b3b==_0x569e00[_0x38c8d4]?(0x0==_0x38c8d4&&(_0x35c025=_0x54589a),_0x184168=_0x54589a+0x1,_0x38c8d4++):_0x38c8d4=0x0));let _0x39abed,_0x3cefe9=_0x3e5b3b<0xff?_0x3e5b3b>=0x30&&_0x3e5b3b<=0x39||_0x3e5b3b>=0x61&&_0x3e5b3b<=0x7a?0x2:_0x3e5b3b>=0x41&&_0x3e5b3b<=0x5a?0x1:0x0:(_0x39abed=_0x5a2627(_0x3e5b3b))!=_0x39abed['toLowerCase']()?0x1:_0x39abed!=_0x39abed['toUpperCase']()?0x2:0x0;(!_0x54589a||0x1==_0x3cefe9&&_0x39b5f1||0x0==_0x18146c&&0x0!=_0x3cefe9)&&(_0x52f204[_0x3fd003]==_0x3e5b3b||_0x569e00[_0x3fd003]==_0x3e5b3b&&(_0x4dc1de=!0x0)?_0x128043[_0x3fd003++]=_0x54589a:_0x128043['length']&&(_0x2c3e0c=!0x1)),_0x18146c=_0x3cefe9,_0x54589a+=_0x245f61(_0x3e5b3b);}return _0x3fd003==_0x3a106c&&0x0==_0x128043[0x0]&&_0x2c3e0c?this['result']((_0x4dc1de?-0xc8:0x0)-0x64,_0x128043,_0x2c2f69):_0x38c8d4==_0x3a106c&&0x0==_0x35c025?this['ret'](-0xc8-_0x2c2f69['length']+(_0x184168==_0x2c2f69['length']?0x0:-0x64),[0x0,_0x184168]):_0x41c3b2>-0x1?this['ret'](-0x2bc-_0x2c2f69['length'],[_0x41c3b2,_0x41c3b2+this['pattern']['length']]):_0x38c8d4==_0x3a106c?this['ret'](-0x384-_0x2c2f69['length'],[_0x35c025,_0x184168]):_0x3fd003==_0x3a106c?this['result']((_0x4dc1de?-0xc8:0x0)-0x64-0x2bc+(_0x2c3e0c?0x0:-0x44c),_0x128043,_0x2c2f69):0x2==_0x52f204['length']?null:this['result']((_0x4bdda0[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x4bdda0,_0x2c2f69);}['result'](_0x220ac5,_0x4aaa46,_0xfcd7bc){let _0x4ee973=[],_0x3b3737=0x0;for(let _0x77f338 of _0x4aaa46){let _0x1c4403=_0x77f338+(this['astral']?_0x245f61(_0xcacbe4(_0xfcd7bc,_0x77f338)):0x1);_0x3b3737&&_0x4ee973[_0x3b3737-0x1]==_0x77f338?_0x4ee973[_0x3b3737-0x1]=_0x1c4403:(_0x4ee973[_0x3b3737++]=_0x77f338,_0x4ee973[_0x3b3737++]=_0x1c4403);}return this['ret'](_0x220ac5-_0xfcd7bc['length'],_0x4ee973);}}class StrictMatcher{constructor(_0x3a16f4){this['pattern']=_0x3a16f4,this['matched']=[],this['score']=0x0,this['folded']=_0x3a16f4['toLowerCase']();}['match'](_0x949067){if(_0x949067['length']<this['pattern']['length'])return null;let _0x1f16aa=_0x949067['slice'](0x0,this['pattern']['length']),_0x2c4503=_0x1f16aa==this['pattern']?0x0:_0x1f16aa['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x2c4503?null:(this['matched']=[0x0,_0x1f16aa['length']],this['score']=_0x2c4503+(_0x949067['length']==this['pattern']['length']?0x0:-0x64),this);}}const _0x13c42e=Facet['define']({'combine':_0x1c6c98=>_0x2df370(_0x1c6c98,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x1c44e1,'filterStrict':!0x1,'compareCompletions':(_0x6ebdc3,_0x4429de)=>_0x6ebdc3['label']['localeCompare'](_0x4429de['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x62f7db,_0x52db5d)=>_0x62f7db&&_0x52db5d,'closeOnBlur':(_0x1fbd54,_0x14c694)=>_0x1fbd54&&_0x14c694,'icons':(_0x13687e,_0x134b01)=>_0x13687e&&_0x134b01,'tooltipClass':(_0x3516ec,_0x38a5e2)=>_0x4da308=>_0x4acec1(_0x3516ec(_0x4da308),_0x38a5e2(_0x4da308)),'optionClass':(_0x37fb51,_0x2ca667)=>_0x3cd1f6=>_0x4acec1(_0x37fb51(_0x3cd1f6),_0x2ca667(_0x3cd1f6)),'addToOptions':(_0x592974,_0x1d6ac5)=>_0x592974['concat'](_0x1d6ac5),'filterStrict':(_0x40b860,_0x179d66)=>_0x40b860||_0x179d66})});function _0x4acec1(_0x357f25,_0x1f6ecc){return _0x357f25?_0x1f6ecc?_0x357f25+'\x20'+_0x1f6ecc:_0x357f25:_0x1f6ecc;}function _0x1c44e1(_0x5d3d59,_0x5d6662,_0x187511,_0x543692,_0x2f2316,_0x893960){let _0x127df5,_0x2b6d62,_0x16dc8d=_0x5d3d59['textDirection']==_0x2d6025['RTL'],_0x539af5=_0x16dc8d,_0x53c38a=!0x1,_0x1747d7='top',_0x700562=_0x5d6662['left']-_0x2f2316['left'],_0x309a79=_0x2f2316['right']-_0x5d6662['right'],_0x6057ea=_0x543692['right']-_0x543692['left'],_0x2f8afd=_0x543692['bottom']-_0x543692['top'];if(_0x539af5&&_0x700562<Math['min'](_0x6057ea,_0x309a79)?_0x539af5=!0x1:!_0x539af5&&_0x309a79<Math['min'](_0x6057ea,_0x700562)&&(_0x539af5=!0x0),_0x6057ea<=(_0x539af5?_0x700562:_0x309a79))_0x127df5=Math['max'](_0x2f2316['top'],Math['min'](_0x187511['top'],_0x2f2316['bottom']-_0x2f8afd))-_0x5d6662['top'],_0x2b6d62=Math['min'](0x190,_0x539af5?_0x700562:_0x309a79);else{_0x53c38a=!0x0,_0x2b6d62=Math['min'](0x190,(_0x16dc8d?_0x5d6662['right']:_0x2f2316['right']-_0x5d6662['left'])-0x1e);let _0x143bbb=_0x2f2316['bottom']-_0x5d6662['bottom'];_0x143bbb>=_0x2f8afd||_0x143bbb>_0x5d6662['top']?_0x127df5=_0x187511['bottom']-_0x5d6662['top']:(_0x1747d7='bottom',_0x127df5=_0x5d6662['bottom']-_0x187511['top']);}return{'style':_0x1747d7+':\x20'+_0x127df5/((_0x5d6662['bottom']-_0x5d6662['top'])/_0x893960['offsetHeight'])+'px;\x20max-width:\x20'+_0x2b6d62/((_0x5d6662['right']-_0x5d6662['left'])/_0x893960['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x53c38a?_0x16dc8d?'left-narrow':'right-narrow':_0x539af5?'left':'right')};}function _0x40a25d(_0x120187,_0x4f242e,_0x1c3d83){if(_0x120187<=_0x1c3d83)return{'from':0x0,'to':_0x120187};if(_0x4f242e<0x0&&(_0x4f242e=0x0),_0x4f242e<=_0x120187>>0x1){let _0x2fc715=Math['floor'](_0x4f242e/_0x1c3d83);return{'from':_0x2fc715*_0x1c3d83,'to':(_0x2fc715+0x1)*_0x1c3d83};}let _0x10e2e9=Math['floor']((_0x120187-_0x4f242e)/_0x1c3d83);return{'from':_0x120187-(_0x10e2e9+0x1)*_0x1c3d83,'to':_0x120187-_0x10e2e9*_0x1c3d83};}class CompletionTooltip{constructor(_0x51aa5b,_0x57fb41,_0x456155){this['view']=_0x51aa5b,this['stateField']=_0x57fb41,this['applyCompletion']=_0x456155,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x56f3c8=>this['placeInfo'](_0x56f3c8),'key':this},this['space']=null,this['currentClass']='';let _0x1adb62=_0x51aa5b['state']['field'](_0x57fb41),{options:_0x359991,selected:_0xa783b9}=_0x1adb62['open'],_0x17803f=_0x51aa5b['state']['facet'](_0x13c42e);this['optionContent']=function(_0x591578){let _0x4af832=_0x591578['addToOptions']['slice']();return _0x591578['icons']&&_0x4af832['push']({'render'(_0xa4a5ff){let _0x5ea014=document['createElement']('div');return _0x5ea014['classList']['add']('cm-completionIcon'),_0xa4a5ff['type']&&_0x5ea014['classList']['add'](..._0xa4a5ff['type']['split'](/\s+/g)['map'](_0x44d9eb=>'cm-completionIcon-'+_0x44d9eb)),_0x5ea014['setAttribute']('aria-hidden','true'),_0x5ea014;},'position':0x14}),_0x4af832['push']({'render'(_0x54cb6d,_0x18f962,_0x3584fd,_0x174513){let _0x330932=document['createElement']('span');_0x330932['className']='cm-completionLabel';let _0x56db16=_0x54cb6d['displayLabel']||_0x54cb6d['label'],_0x46557c=0x0;for(let _0x78ca3d=0x0;_0x78ca3d<_0x174513['length'];){let _0x1755f1=_0x174513[_0x78ca3d++],_0x335b5b=_0x174513[_0x78ca3d++];_0x1755f1>_0x46557c&&_0x330932['appendChild'](document['createTextNode'](_0x56db16['slice'](_0x46557c,_0x1755f1)));let _0x23bbee=_0x330932['appendChild'](document['createElement']('span'));_0x23bbee['appendChild'](document['createTextNode'](_0x56db16['slice'](_0x1755f1,_0x335b5b))),_0x23bbee['className']='cm-completionMatchedText',_0x46557c=_0x335b5b;}return _0x46557c<_0x56db16['length']&&_0x330932['appendChild'](document['createTextNode'](_0x56db16['slice'](_0x46557c))),_0x330932;},'position':0x32},{'render'(_0x5c7eea){if(!_0x5c7eea['detail'])return null;let _0x29edf8=document['createElement']('span');return _0x29edf8['className']='cm-completionDetail',_0x29edf8['textContent']=_0x5c7eea['detail'],_0x29edf8;},'position':0x50}),_0x4af832['sort']((_0x92aba8,_0xf3450f)=>_0x92aba8['position']-_0xf3450f['position'])['map'](_0x26d3e1=>_0x26d3e1['render']);}(_0x17803f),this['optionClass']=_0x17803f['optionClass'],this['tooltipClass']=_0x17803f['tooltipClass'],this['range']=_0x40a25d(_0x359991['length'],_0xa783b9,_0x17803f['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x51aa5b['state']),this['dom']['addEventListener']('mousedown',_0x2c1eab=>{let {options:_0x461e03}=_0x51aa5b['state']['field'](_0x57fb41)['open'];for(let _0x4ff4a1,_0x50843c=_0x2c1eab['target'];_0x50843c&&_0x50843c!=this['dom'];_0x50843c=_0x50843c['parentNode'])if('LI'==_0x50843c['nodeName']&&(_0x4ff4a1=/-(\d+)$/['exec'](_0x50843c['id']))&&+_0x4ff4a1[0x1]<_0x461e03['length'])return this['applyCompletion'](_0x51aa5b,_0x461e03[+_0x4ff4a1[0x1]]),void _0x2c1eab['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x4322a6=>{let _0x1e9589=_0x51aa5b['state']['field'](this['stateField'],!0x1);_0x1e9589&&_0x1e9589['tooltip']&&_0x51aa5b['state']['facet'](_0x13c42e)['closeOnBlur']&&_0x4322a6['relatedTarget']!=_0x51aa5b['contentDOM']&&_0x51aa5b['dispatch']({'effects':_0x21cd07['of'](null)});}),this['showOptions'](_0x359991,_0x1adb62['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x5eafd5,_0x213362){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x5eafd5,_0x213362,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x18d123){var _0x8d3d9a;let _0x25a7ea=_0x18d123['state']['field'](this['stateField']),_0x126294=_0x18d123['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x18d123['state']),_0x25a7ea!=_0x126294){let {options:_0x217345,selected:_0x26a8ea,disabled:_0x225e5d}=_0x25a7ea['open'];_0x126294['open']&&_0x126294['open']['options']==_0x217345||(this['range']=_0x40a25d(_0x217345['length'],_0x26a8ea,_0x18d123['state']['facet'](_0x13c42e)['maxRenderedOptions']),this['showOptions'](_0x217345,_0x25a7ea['id'])),this['updateSel'](),_0x225e5d!=(null===(_0x8d3d9a=_0x126294['open'])||void 0x0===_0x8d3d9a?void 0x0:_0x8d3d9a['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x225e5d);}}['updateTooltipClass'](_0x41f9cd){let _0xbe1d4d=this['tooltipClass'](_0x41f9cd);if(_0xbe1d4d!=this['currentClass']){for(let _0xf2236f of this['currentClass']['split']('\x20'))_0xf2236f&&this['dom']['classList']['remove'](_0xf2236f);for(let _0x56ec88 of _0xbe1d4d['split']('\x20'))_0x56ec88&&this['dom']['classList']['add'](_0x56ec88);this['currentClass']=_0xbe1d4d;}}['positioned'](_0x565697){this['space']=_0x565697,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x4f1eb3=this['view']['state']['field'](this['stateField']),_0xa4e76d=_0x4f1eb3['open'];(_0xa4e76d['selected']>-0x1&&_0xa4e76d['selected']<this['range']['from']||_0xa4e76d['selected']>=this['range']['to'])&&(this['range']=_0x40a25d(_0xa4e76d['options']['length'],_0xa4e76d['selected'],this['view']['state']['facet'](_0x13c42e)['maxRenderedOptions']),this['showOptions'](_0xa4e76d['options'],_0x4f1eb3['id']));let _0x2d525d=this['updateSelectedOption'](_0xa4e76d['selected']);if(_0x2d525d){this['destroyInfo']();let {completion:_0x435705}=_0xa4e76d['options'][_0xa4e76d['selected']],{info:_0x3e9a30}=_0x435705;if(!_0x3e9a30)return;let _0x432fbe='string'==typeof _0x3e9a30?document['createTextNode'](_0x3e9a30):_0x3e9a30(_0x435705);if(!_0x432fbe)return;'then'in _0x432fbe?_0x432fbe['then'](_0x467254=>{_0x467254&&this['view']['state']['field'](this['stateField'],!0x1)==_0x4f1eb3&&this['addInfoPane'](_0x467254,_0x435705);})['catch'](_0x1239d6=>_0x2eda46(this['view']['state'],_0x1239d6,'completion\x20info')):(this['addInfoPane'](_0x432fbe,_0x435705),_0x2d525d['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x181927,_0x4a7a07){this['destroyInfo']();let _0x33f5fc=this['info']=document['createElement']('div');if(_0x33f5fc['className']='cm-tooltip\x20cm-completionInfo',_0x33f5fc['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x181927['nodeType'])_0x33f5fc['appendChild'](_0x181927),this['infoDestroy']=null;else{let {dom:_0x32b4ec,destroy:_0x28b40b}=_0x181927;_0x33f5fc['appendChild'](_0x32b4ec),this['infoDestroy']=_0x28b40b||null;}this['dom']['appendChild'](_0x33f5fc),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x3d9c75){let _0xde5412=null;for(let _0x2e9667=this['list']['firstChild'],_0x492edb=this['range']['from'];_0x2e9667;_0x2e9667=_0x2e9667['nextSibling'],_0x492edb++)'LI'==_0x2e9667['nodeName']&&_0x2e9667['id']?_0x492edb==_0x3d9c75?_0x2e9667['hasAttribute']('aria-selected')||(_0x2e9667['setAttribute']('aria-selected','true'),_0xde5412=_0x2e9667):_0x2e9667['hasAttribute']('aria-selected')&&(_0x2e9667['removeAttribute']('aria-selected'),_0x2e9667['removeAttribute']('aria-describedby')):_0x492edb--;return _0xde5412&&function(_0x5cd69b,_0x3a891a){let _0x2332ed=_0x5cd69b['getBoundingClientRect'](),_0x1e6b8b=_0x3a891a['getBoundingClientRect'](),_0x123cef=_0x2332ed['height']/_0x5cd69b['offsetHeight'];_0x1e6b8b['top']<_0x2332ed['top']?_0x5cd69b['scrollTop']-=(_0x2332ed['top']-_0x1e6b8b['top'])/_0x123cef:_0x1e6b8b['bottom']>_0x2332ed['bottom']&&(_0x5cd69b['scrollTop']+=(_0x1e6b8b['bottom']-_0x2332ed['bottom'])/_0x123cef);}(this['list'],_0xde5412),_0xde5412;}['measureInfo'](){let _0x5d7c8e=this['dom']['querySelector']('[aria-selected]');if(!_0x5d7c8e||!this['info'])return null;let _0x36c4cd=this['dom']['getBoundingClientRect'](),_0x5784c7=this['info']['getBoundingClientRect'](),_0x25cef1=_0x5d7c8e['getBoundingClientRect'](),_0x2ee1ad=this['space'];if(!_0x2ee1ad){let _0x1e238d=this['dom']['ownerDocument']['documentElement'];_0x2ee1ad={'left':0x0,'top':0x0,'right':_0x1e238d['clientWidth'],'bottom':_0x1e238d['clientHeight']};}return _0x25cef1['top']>Math['min'](_0x2ee1ad['bottom'],_0x36c4cd['bottom'])-0xa||_0x25cef1['bottom']<Math['max'](_0x2ee1ad['top'],_0x36c4cd['top'])+0xa?null:this['view']['state']['facet'](_0x13c42e)['positionInfo'](this['view'],_0x36c4cd,_0x25cef1,_0x5784c7,_0x2ee1ad,this['dom']);}['placeInfo'](_0x19553c){this['info']&&(_0x19553c?(_0x19553c['style']&&(this['info']['style']['cssText']=_0x19553c['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x19553c['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x41c5a9,_0x4ba3dc,_0x4f8e97){const _0x12f017=document['createElement']('ul');_0x12f017['id']=_0x4ba3dc,_0x12f017['setAttribute']('role','listbox'),_0x12f017['setAttribute']('aria-expanded','true'),_0x12f017['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x12f017['addEventListener']('mousedown',_0x15e035=>{_0x15e035['target']==_0x12f017&&_0x15e035['preventDefault']();});let _0x43e3cb=null;for(let _0x52ca70=_0x4f8e97['from'];_0x52ca70<_0x4f8e97['to'];_0x52ca70++){let {completion:_0x3f5f3a,match:_0x2b996d}=_0x41c5a9[_0x52ca70],{section:_0x527c90}=_0x3f5f3a;if(_0x527c90){let _0x28889b='string'==typeof _0x527c90?_0x527c90:_0x527c90['name'];if(_0x28889b!=_0x43e3cb&&(_0x52ca70>_0x4f8e97['from']||0x0==_0x4f8e97['from'])){if(_0x43e3cb=_0x28889b,'string'!=typeof _0x527c90&&_0x527c90['header'])_0x12f017['appendChild'](_0x527c90['header'](_0x527c90));else _0x12f017['appendChild'](document['createElement']('completion-section'))['textContent']=_0x28889b;}}const _0x55d661=_0x12f017['appendChild'](document['createElement']('li'));_0x55d661['id']=_0x4ba3dc+'-'+_0x52ca70,_0x55d661['setAttribute']('role','option');let _0x3775e9=this['optionClass'](_0x3f5f3a);_0x3775e9&&(_0x55d661['className']=_0x3775e9);for(let _0x3b3a22 of this['optionContent']){let _0x35b171=_0x3b3a22(_0x3f5f3a,this['view']['state'],this['view'],_0x2b996d);_0x35b171&&_0x55d661['appendChild'](_0x35b171);}}return _0x4f8e97['from']&&_0x12f017['classList']['add']('cm-completionListIncompleteTop'),_0x4f8e97['to']<_0x41c5a9['length']&&_0x12f017['classList']['add']('cm-completionListIncompleteBottom'),_0x12f017;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function _0xfaa0c1(_0x4fc337,_0x40f7d6){return _0x489b75=>new CompletionTooltip(_0x489b75,_0x4fc337,_0x40f7d6);}function _0x35fd2b(_0x40d8e0){return 0x64*(_0x40d8e0['boost']||0x0)+(_0x40d8e0['apply']?0xa:0x0)+(_0x40d8e0['info']?0x5:0x0)+(_0x40d8e0['type']?0x1:0x0);}class CompletionDialog{constructor(_0x4cbe03,_0x35b6d5,_0x4e9f06,_0x2d5205,_0x324e6e,_0x3b079b){this['options']=_0x4cbe03,this['attrs']=_0x35b6d5,this['tooltip']=_0x4e9f06,this['timestamp']=_0x2d5205,this['selected']=_0x324e6e,this['disabled']=_0x3b079b;}['setSelected'](_0x1abef3,_0xeb6f0f){return _0x1abef3==this['selected']||_0x1abef3>=this['options']['length']?this:new CompletionDialog(this['options'],_0x474df9(_0xeb6f0f,_0x1abef3),this['tooltip'],this['timestamp'],_0x1abef3,this['disabled']);}static['build'](_0x31cf09,_0x3b31c3,_0x54b7f0,_0x56c1e7,_0x2a8d93,_0x14ab16){if(_0x56c1e7&&!_0x14ab16&&_0x31cf09['some'](_0x4583da=>_0x4583da['isPending']))return _0x56c1e7['setDisabled']();let _0x2f5348=function(_0x41d997,_0x4daf02){let _0x1baa4f=[],_0x2ee531=null,_0x21b1ff=null,_0x13248c=_0x4b837d=>{_0x1baa4f['push'](_0x4b837d);let {section:_0x26d4e6}=_0x4b837d['completion'];if(_0x26d4e6){_0x2ee531||(_0x2ee531=[]);let _0x1c0241='string'==typeof _0x26d4e6?_0x26d4e6:_0x26d4e6['name'];_0x2ee531['some'](_0x2235cc=>_0x2235cc['name']==_0x1c0241)||_0x2ee531['push']('string'==typeof _0x26d4e6?{'name':_0x1c0241}:_0x26d4e6);}},_0x1ae207=_0x4daf02['facet'](_0x13c42e);for(let _0x532492 of _0x41d997)if(_0x532492['hasResult']()){let _0x4b27d6=_0x532492['result']['getMatch'];if(!0x1===_0x532492['result']['filter']){for(let _0x56828d of _0x532492['result']['options'])_0x13248c(new Option(_0x56828d,_0x532492['source'],_0x4b27d6?_0x4b27d6(_0x56828d):[],0x3b9aca00-_0x1baa4f['length']));}else{let _0x556457,_0x21a620=_0x4daf02['sliceDoc'](_0x532492['from'],_0x532492['to']),_0x1045ff=_0x1ae207['filterStrict']?new StrictMatcher(_0x21a620):new FuzzyMatcher(_0x21a620);for(let _0x1719e1 of _0x532492['result']['options'])if(_0x556457=_0x1045ff['match'](_0x1719e1['label'])){let _0x3435c1=_0x1719e1['displayLabel']?_0x4b27d6?_0x4b27d6(_0x1719e1,_0x556457['matched']):[]:_0x556457['matched'],_0x50e155=_0x556457['score']+(_0x1719e1['boost']||0x0);if(_0x13248c(new Option(_0x1719e1,_0x532492['source'],_0x3435c1,_0x50e155)),'object'==typeof _0x1719e1['section']&&'dynamic'===_0x1719e1['section']['rank']){let {name:_0x1991c7}=_0x1719e1['section'];_0x21b1ff||(_0x21b1ff=Object['create'](null)),_0x21b1ff[_0x1991c7]=Math['max'](_0x50e155,_0x21b1ff[_0x1991c7]||-0x3b9aca00);}}}}if(_0x2ee531){let _0x1185b3=Object['create'](null),_0x2958e0=0x0,_0x417949=(_0x4bfaf8,_0x553198)=>('dynamic'===_0x4bfaf8['rank']&&'dynamic'===_0x553198['rank']?_0x21b1ff[_0x553198['name']]-_0x21b1ff[_0x4bfaf8['name']]:0x0)||('number'==typeof _0x4bfaf8['rank']?_0x4bfaf8['rank']:0x3b9aca00)-('number'==typeof _0x553198['rank']?_0x553198['rank']:0x3b9aca00)||(_0x4bfaf8['name']<_0x553198['name']?-0x1:0x1);for(let _0x153684 of _0x2ee531['sort'](_0x417949))_0x2958e0-=0x186a0,_0x1185b3[_0x153684['name']]=_0x2958e0;for(let _0x50902c of _0x1baa4f){let {section:_0x41d398}=_0x50902c['completion'];_0x41d398&&(_0x50902c['score']+=_0x1185b3['string'==typeof _0x41d398?_0x41d398:_0x41d398['name']]);}}let _0x4be1bb=[],_0x1825d3=null,_0x543554=_0x1ae207['compareCompletions'];for(let _0x4b12f8 of _0x1baa4f['sort']((_0x5e09f9,_0x4ab9bd)=>_0x4ab9bd['score']-_0x5e09f9['score']||_0x543554(_0x5e09f9['completion'],_0x4ab9bd['completion']))){let _0x23f6b2=_0x4b12f8['completion'];!_0x1825d3||_0x1825d3['label']!=_0x23f6b2['label']||_0x1825d3['detail']!=_0x23f6b2['detail']||null!=_0x1825d3['type']&&null!=_0x23f6b2['type']&&_0x1825d3['type']!=_0x23f6b2['type']||_0x1825d3['apply']!=_0x23f6b2['apply']||_0x1825d3['boost']!=_0x23f6b2['boost']?_0x4be1bb['push'](_0x4b12f8):_0x35fd2b(_0x4b12f8['completion'])>_0x35fd2b(_0x1825d3)&&(_0x4be1bb[_0x4be1bb['length']-0x1]=_0x4b12f8),_0x1825d3=_0x4b12f8['completion'];}return _0x4be1bb;}(_0x31cf09,_0x3b31c3);if(!_0x2f5348['length'])return _0x56c1e7&&_0x31cf09['some'](_0x21bc6c=>_0x21bc6c['isPending'])?_0x56c1e7['setDisabled']():null;let _0x355913=_0x3b31c3['facet'](_0x13c42e)['selectOnOpen']?0x0:-0x1;if(_0x56c1e7&&_0x56c1e7['selected']!=_0x355913&&-0x1!=_0x56c1e7['selected']){let _0x3b06d4=_0x56c1e7['options'][_0x56c1e7['selected']]['completion'];for(let _0x2f600a=0x0;_0x2f600a<_0x2f5348['length'];_0x2f600a++)if(_0x2f5348[_0x2f600a]['completion']==_0x3b06d4){_0x355913=_0x2f600a;break;}}return new CompletionDialog(_0x2f5348,_0x474df9(_0x54b7f0,_0x355913),{'pos':_0x31cf09['reduce']((_0x50e6e9,_0x2ec3ce)=>_0x2ec3ce['hasResult']()?Math['min'](_0x50e6e9,_0x2ec3ce['from']):_0x50e6e9,0x5f5e100),'create':_0x3531d5,'above':_0x2a8d93['aboveCursor']},_0x56c1e7?_0x56c1e7['timestamp']:Date['now'](),_0x355913,!0x1);}['map'](_0x476944){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x476944['mapPos'](this['tooltip']['pos'])},this['timestamp'],this['selected'],this['disabled']);}['setDisabled'](){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}}class CompletionState{constructor(_0xe4ced7,_0x3a47ed,_0x2d0005){this['active']=_0xe4ced7,this['id']=_0x3a47ed,this['open']=_0x2d0005;}static['start'](){return new CompletionState(_0xb4a1c9,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x52fcf7){let {state:_0x4323ac}=_0x52fcf7,_0x198e70=_0x4323ac['facet'](_0x13c42e),_0x3beb13=(_0x198e70['override']||_0x4323ac['languageDataAt']('autocomplete',_0x595500(_0x4323ac))['map'](_0x5c4239))['map'](_0x44078c=>{let _0x5aca1c=this['active']['find'](_0x498344=>_0x498344['source']==_0x44078c)||new ActiveSource(_0x44078c,this['active']['some'](_0x38537b=>0x0!=_0x38537b['state'])?0x1:0x0);return _0x5aca1c['update'](_0x52fcf7,_0x198e70);});_0x3beb13['length']==this['active']['length']&&_0x3beb13['every']((_0x418265,_0x1d5b2d)=>_0x418265==this['active'][_0x1d5b2d])&&(_0x3beb13=this['active']);let _0x3d7f7b=this['open'],_0x1e180b=_0x52fcf7['effects']['some'](_0x5c0c31=>_0x5c0c31['is'](_0x54026f));_0x3d7f7b&&_0x52fcf7['docChanged']&&(_0x3d7f7b=_0x3d7f7b['map'](_0x52fcf7['changes'])),_0x52fcf7['selection']||_0x3beb13['some'](_0x4587c9=>_0x4587c9['hasResult']()&&_0x52fcf7['changes']['touchesRange'](_0x4587c9['from'],_0x4587c9['to']))||!function(_0x53c0dc,_0x44c677){if(_0x53c0dc==_0x44c677)return!0x0;for(let _0x14355d=0x0,_0x24ddef=0x0;;){for(;_0x14355d<_0x53c0dc['length']&&!_0x53c0dc[_0x14355d]['hasResult']();)_0x14355d++;for(;_0x24ddef<_0x44c677['length']&&!_0x44c677[_0x24ddef]['hasResult']();)_0x24ddef++;let _0x162043=_0x14355d==_0x53c0dc['length'],_0x320cba=_0x24ddef==_0x44c677['length'];if(_0x162043||_0x320cba)return _0x162043==_0x320cba;if(_0x53c0dc[_0x14355d++]['result']!=_0x44c677[_0x24ddef++]['result'])return!0x1;}}(_0x3beb13,this['active'])||_0x1e180b?_0x3d7f7b=CompletionDialog['build'](_0x3beb13,_0x4323ac,this['id'],_0x3d7f7b,_0x198e70,_0x1e180b):_0x3d7f7b&&_0x3d7f7b['disabled']&&!_0x3beb13['some'](_0x4b1c93=>_0x4b1c93['isPending'])&&(_0x3d7f7b=null),!_0x3d7f7b&&_0x3beb13['every'](_0xe9c79c=>!_0xe9c79c['isPending'])&&_0x3beb13['some'](_0x1b4ff2=>_0x1b4ff2['hasResult']())&&(_0x3beb13=_0x3beb13['map'](_0x2f1c73=>_0x2f1c73['hasResult']()?new ActiveSource(_0x2f1c73['source'],0x0):_0x2f1c73));for(let _0x27f64e of _0x52fcf7['effects'])_0x27f64e['is'](_0x11e5b0)&&(_0x3d7f7b=_0x3d7f7b&&_0x3d7f7b['setSelected'](_0x27f64e['value'],this['id']));return _0x3beb13==this['active']&&_0x3d7f7b==this['open']?this:new CompletionState(_0x3beb13,this['id'],_0x3d7f7b);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?_0x3c6013:_0x5ea51a;}}const _0x3c6013={'aria-autocomplete':'list'},_0x5ea51a={};function _0x474df9(_0x2089ba,_0x3dce54){let _0x1269e6={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x2089ba};return _0x3dce54>-0x1&&(_0x1269e6['aria-activedescendant']=_0x2089ba+'-'+_0x3dce54),_0x1269e6;}const _0xb4a1c9=[];function _0x49c5e7(_0x3e82b4,_0x33e274){if(_0x3e82b4['isUserEvent']('input.complete')){let _0x56f2b5=_0x3e82b4['annotation'](_0x39a367);if(_0x56f2b5&&_0x33e274['activateOnCompletion'](_0x56f2b5))return 0xc;}let _0x4e0560=_0x3e82b4['isUserEvent']('input.type');return _0x4e0560&&_0x33e274['activateOnTyping']?0x5:_0x4e0560?0x1:_0x3e82b4['isUserEvent']('delete.backward')?0x2:_0x3e82b4['selection']?0x8:_0x3e82b4['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x57e31d,_0x10f603,_0x30ced2=!0x1){this['source']=_0x57e31d,this['state']=_0x10f603,this['explicit']=_0x30ced2;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x4e362d,_0x7a240){let _0x2870a6=_0x49c5e7(_0x4e362d,_0x7a240),_0x27f6ca=this;(0x8&_0x2870a6||0x10&_0x2870a6&&this['touches'](_0x4e362d))&&(_0x27f6ca=new ActiveSource(_0x27f6ca['source'],0x0)),0x4&_0x2870a6&&0x0==_0x27f6ca['state']&&(_0x27f6ca=new ActiveSource(this['source'],0x1)),_0x27f6ca=_0x27f6ca['updateFor'](_0x4e362d,_0x2870a6);for(let _0x18cc87 of _0x4e362d['effects'])if(_0x18cc87['is'](_0x37d28b))_0x27f6ca=new ActiveSource(_0x27f6ca['source'],0x1,_0x18cc87['value']);else{if(_0x18cc87['is'](_0x21cd07))_0x27f6ca=new ActiveSource(_0x27f6ca['source'],0x0);else{if(_0x18cc87['is'](_0x54026f)){for(let _0x2931f8 of _0x18cc87['value'])_0x2931f8['source']==_0x27f6ca['source']&&(_0x27f6ca=_0x2931f8);}}}return _0x27f6ca;}['updateFor'](_0x3dccfa,_0x2fdc72){return this['map'](_0x3dccfa['changes']);}['map'](_0x156806){return this;}['touches'](_0x30bf95){return _0x30bf95['changes']['touchesRange'](_0x595500(_0x30bf95['state']));}}class ActiveResult extends ActiveSource{constructor(_0x16a767,_0x130efa,_0x7dea28,_0x4d54f1,_0x3d2f98,_0x40aed5){super(_0x16a767,0x3,_0x130efa),this['limit']=_0x7dea28,this['result']=_0x4d54f1,this['from']=_0x3d2f98,this['to']=_0x40aed5;}['hasResult'](){return!0x0;}['updateFor'](_0x14b1c5,_0x547176){var _0x5dbc1e;if(!(0x3&_0x547176))return this['map'](_0x14b1c5['changes']);let _0x147f4e=this['result'];_0x147f4e['map']&&!_0x14b1c5['changes']['empty']&&(_0x147f4e=_0x147f4e['map'](_0x147f4e,_0x14b1c5['changes']));let _0x11d6cd=_0x14b1c5['changes']['mapPos'](this['from']),_0x445ef9=_0x14b1c5['changes']['mapPos'](this['to'],0x1),_0x3830c2=_0x595500(_0x14b1c5['state']);if(_0x3830c2>_0x445ef9||!_0x147f4e||0x2&_0x547176&&(_0x595500(_0x14b1c5['startState'])==this['from']||_0x3830c2<this['limit']))return new ActiveSource(this['source'],0x4&_0x547176?0x1:0x0);let _0x591de6=_0x14b1c5['changes']['mapPos'](this['limit']);return function(_0x3b9c30,_0x225012,_0x26ebaf,_0x1b1258){if(!_0x3b9c30)return!0x1;let _0x2429d8=_0x225012['sliceDoc'](_0x26ebaf,_0x1b1258);return'function'==typeof _0x3b9c30?_0x3b9c30(_0x2429d8,_0x26ebaf,_0x1b1258,_0x225012):_0x548ef9(_0x3b9c30,!0x0)['test'](_0x2429d8);}(_0x147f4e['validFor'],_0x14b1c5['state'],_0x11d6cd,_0x445ef9)?new ActiveResult(this['source'],this['explicit'],_0x591de6,_0x147f4e,_0x11d6cd,_0x445ef9):_0x147f4e['update']&&(_0x147f4e=_0x147f4e['update'](_0x147f4e,_0x11d6cd,_0x445ef9,new CompletionContext(_0x14b1c5['state'],_0x3830c2,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x591de6,_0x147f4e,_0x147f4e['from'],null!==(_0x5dbc1e=_0x147f4e['to'])&&void 0x0!==_0x5dbc1e?_0x5dbc1e:_0x595500(_0x14b1c5['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x2dbffb){if(_0x2dbffb['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x2dbffb):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x2dbffb['mapPos'](this['limit']),this['result'],_0x2dbffb['mapPos'](this['from']),_0x2dbffb['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x409762){return _0x409762['changes']['touchesRange'](this['from'],this['to']);}}const _0x54026f=StateEffect['define']({'map':(_0x2bd612,_0x54bc1e)=>_0x2bd612['map'](_0x3c973b=>_0x3c973b['map'](_0x54bc1e))}),_0x11e5b0=StateEffect['define'](),_0x58736b=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x2c79d7,_0x33f610)=>_0x2c79d7['update'](_0x33f610),'provide':_0x1df50=>[_0x18ec71['from'](_0x1df50,_0x1d1ba3=>_0x1d1ba3['tooltip']),EditorView['contentAttributes']['from'](_0x1df50,_0x5c7bf1=>_0x5c7bf1['attrs'])]});function _0x3d7ec5(_0x34b0a9,_0x3ef3a3){const _0x3d2632=_0x3ef3a3['completion']['apply']||_0x3ef3a3['completion']['label'];let _0x10e079=_0x34b0a9['state']['field'](_0x58736b)['active']['find'](_0x5dec12=>_0x5dec12['source']==_0x3ef3a3['source']);return _0x10e079 instanceof ActiveResult&&('string'==typeof _0x3d2632?_0x34b0a9['dispatch']({..._0x219d8f(_0x34b0a9['state'],_0x3d2632,_0x10e079['from'],_0x10e079['to']),'annotations':_0x39a367['of'](_0x3ef3a3['completion'])}):_0x3d2632(_0x34b0a9,_0x3ef3a3['completion'],_0x10e079['from'],_0x10e079['to']),!0x0);}const _0x3531d5=_0xfaa0c1(_0x58736b,_0x3d7ec5);function _0x3eb95e(_0xdee8fc,_0x22e2af='option'){return _0x4ec2e9=>{let _0x4f5e6c=_0x4ec2e9['state']['field'](_0x58736b,!0x1);if(!_0x4f5e6c||!_0x4f5e6c['open']||_0x4f5e6c['open']['disabled']||Date['now']()-_0x4f5e6c['open']['timestamp']<_0x4ec2e9['state']['facet'](_0x13c42e)['interactionDelay'])return!0x1;let _0x392ef9,_0x18e5fb=0x1;'page'==_0x22e2af&&(_0x392ef9=_0x2555d9(_0x4ec2e9,_0x4f5e6c['open']['tooltip']))&&(_0x18e5fb=Math['max'](0x2,Math['floor'](_0x392ef9['dom']['offsetHeight']/_0x392ef9['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x275b86}=_0x4f5e6c['open']['options'],_0x456c4a=_0x4f5e6c['open']['selected']>-0x1?_0x4f5e6c['open']['selected']+_0x18e5fb*(_0xdee8fc?0x1:-0x1):_0xdee8fc?0x0:_0x275b86-0x1;return _0x456c4a<0x0?_0x456c4a='page'==_0x22e2af?0x0:_0x275b86-0x1:_0x456c4a>=_0x275b86&&(_0x456c4a='page'==_0x22e2af?_0x275b86-0x1:0x0),_0x4ec2e9['dispatch']({'effects':_0x11e5b0['of'](_0x456c4a)}),!0x0;};}const _0x14175a=_0x14d8c2=>!!_0x14d8c2['state']['field'](_0x58736b,!0x1)&&(_0x14d8c2['dispatch']({'effects':_0x37d28b['of'](!0x0)}),!0x0);class _0x45f49d{constructor(_0x129eb7,_0x2e6794){this['active']=_0x129eb7,this['context']=_0x2e6794,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const _0x32a19c=_0xa40bbd['fromClass'](class{constructor(_0x398fc3){this['view']=_0x398fc3,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x13a1d5 of _0x398fc3['state']['field'](_0x58736b)['active'])_0x13a1d5['isPending']&&this['startQuery'](_0x13a1d5);}['update'](_0x1bdbd4){let _0x42bdb1=_0x1bdbd4['state']['field'](_0x58736b),_0x1ea220=_0x1bdbd4['state']['facet'](_0x13c42e);if(!_0x1bdbd4['selectionSet']&&!_0x1bdbd4['docChanged']&&_0x1bdbd4['startState']['field'](_0x58736b)==_0x42bdb1)return;let _0x2f1302=_0x1bdbd4['transactions']['some'](_0x1806f0=>{let _0x5e62dd=_0x49c5e7(_0x1806f0,_0x1ea220);return 0x8&_0x5e62dd||(_0x1806f0['selection']||_0x1806f0['docChanged'])&&!(0x3&_0x5e62dd);});for(let _0x2e4f37=0x0;_0x2e4f37<this['running']['length'];_0x2e4f37++){let _0x22a0c8=this['running'][_0x2e4f37];if(_0x2f1302||_0x22a0c8['context']['abortOnDocChange']&&_0x1bdbd4['docChanged']||_0x22a0c8['updates']['length']+_0x1bdbd4['transactions']['length']>0x32&&Date['now']()-_0x22a0c8['time']>0x3e8){for(let _0x1222dd of _0x22a0c8['context']['abortListeners'])try{_0x1222dd();}catch(_0x424363){_0x2eda46(this['view']['state'],_0x424363);}_0x22a0c8['context']['abortListeners']=null,this['running']['splice'](_0x2e4f37--,0x1);}else _0x22a0c8['updates']['push'](..._0x1bdbd4['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x1bdbd4['transactions']['some'](_0x16bf0e=>_0x16bf0e['effects']['some'](_0x43bb37=>_0x43bb37['is'](_0x37d28b)))&&(this['pendingStart']=!0x0);let _0xafb56f=this['pendingStart']?0x32:_0x1ea220['activateOnTypingDelay'];if(this['debounceUpdate']=_0x42bdb1['active']['some'](_0x5b7e18=>_0x5b7e18['isPending']&&!this['running']['some'](_0x48b9bf=>_0x48b9bf['active']['source']==_0x5b7e18['source']))?setTimeout(()=>this['startUpdate'](),_0xafb56f):-0x1,0x0!=this['composing']){for(let _0x3fb6f7 of _0x1bdbd4['transactions'])_0x3fb6f7['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x3fb6f7['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x18116a}=this['view'],_0x285979=_0x18116a['field'](_0x58736b);for(let _0x450292 of _0x285979['active'])_0x450292['isPending']&&!this['running']['some'](_0x33c0ad=>_0x33c0ad['active']['source']==_0x450292['source'])&&this['startQuery'](_0x450292);this['running']['length']&&_0x285979['open']&&_0x285979['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x13c42e)['updateSyncTime']));}['startQuery'](_0x3155e1){let {state:_0x413f97}=this['view'],_0x371ce2=_0x595500(_0x413f97),_0xce2619=new CompletionContext(_0x413f97,_0x371ce2,_0x3155e1['explicit'],this['view']),_0x30b53a=new _0x45f49d(_0x3155e1,_0xce2619);this['running']['push'](_0x30b53a),Promise['resolve'](_0x3155e1['source'](_0xce2619))['then'](_0x3dd14f=>{_0x30b53a['context']['aborted']||(_0x30b53a['done']=_0x3dd14f||null,this['scheduleAccept']());},_0x50e678=>{this['view']['dispatch']({'effects':_0x21cd07['of'](null)}),_0x2eda46(this['view']['state'],_0x50e678);});}['scheduleAccept'](){this['running']['every'](_0x268be3=>void 0x0!==_0x268be3['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x13c42e)['updateSyncTime']));}['accept'](){var _0x47452e;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x25fbbe=[],_0x2e3e8a=this['view']['state']['facet'](_0x13c42e),_0x3b33db=this['view']['state']['field'](_0x58736b);for(let _0x3253e6=0x0;_0x3253e6<this['running']['length'];_0x3253e6++){let _0x1e035c=this['running'][_0x3253e6];if(void 0x0===_0x1e035c['done'])continue;if(this['running']['splice'](_0x3253e6--,0x1),_0x1e035c['done']){let _0x245ba3=_0x595500(_0x1e035c['updates']['length']?_0x1e035c['updates'][0x0]['startState']:this['view']['state']),_0x4a7065=Math['min'](_0x245ba3,_0x1e035c['done']['from']+(_0x1e035c['active']['explicit']?0x0:0x1)),_0x603773=new ActiveResult(_0x1e035c['active']['source'],_0x1e035c['active']['explicit'],_0x4a7065,_0x1e035c['done'],_0x1e035c['done']['from'],null!==(_0x47452e=_0x1e035c['done']['to'])&&void 0x0!==_0x47452e?_0x47452e:_0x245ba3);for(let _0x313e8a of _0x1e035c['updates'])_0x603773=_0x603773['update'](_0x313e8a,_0x2e3e8a);if(_0x603773['hasResult']()){_0x25fbbe['push'](_0x603773);continue;}}let _0x13c22e=_0x3b33db['active']['find'](_0x393b05=>_0x393b05['source']==_0x1e035c['active']['source']);if(_0x13c22e&&_0x13c22e['isPending']){if(null==_0x1e035c['done']){let _0x1145b1=new ActiveSource(_0x1e035c['active']['source'],0x0);for(let _0x312c60 of _0x1e035c['updates'])_0x1145b1=_0x1145b1['update'](_0x312c60,_0x2e3e8a);_0x1145b1['isPending']||_0x25fbbe['push'](_0x1145b1);}else this['startQuery'](_0x13c22e);}}(_0x25fbbe['length']||_0x3b33db['open']&&_0x3b33db['open']['disabled'])&&this['view']['dispatch']({'effects':_0x54026f['of'](_0x25fbbe)});}},{'eventHandlers':{'blur'(_0x1bb119){let _0x46ef54=this['view']['state']['field'](_0x58736b,!0x1);if(_0x46ef54&&_0x46ef54['tooltip']&&this['view']['state']['facet'](_0x13c42e)['closeOnBlur']){let _0x316ce8=_0x46ef54['open']&&_0x2555d9(this['view'],_0x46ef54['open']['tooltip']);_0x316ce8&&_0x316ce8['dom']['contains'](_0x1bb119['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x21cd07['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x37d28b['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0xffe5bb='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x2437ae=_0x271a11['highest'](EditorView['domEventHandlers']({'keydown'(_0x1a1331,_0x4d387e){let _0x5ed09e=_0x4d387e['state']['field'](_0x58736b,!0x1);if(!_0x5ed09e||!_0x5ed09e['open']||_0x5ed09e['open']['disabled']||_0x5ed09e['open']['selected']<0x0||_0x1a1331['key']['length']>0x1||_0x1a1331['ctrlKey']&&(!_0xffe5bb||!_0x1a1331['altKey'])||_0x1a1331['metaKey'])return!0x1;let _0x570ecc=_0x5ed09e['open']['options'][_0x5ed09e['open']['selected']],_0x81d4f9=_0x5ed09e['active']['find'](_0x5f4455=>_0x5f4455['source']==_0x570ecc['source']),_0x80b6b=_0x570ecc['completion']['commitCharacters']||_0x81d4f9['result']['commitCharacters'];return _0x80b6b&&_0x80b6b['indexOf'](_0x1a1331['key'])>-0x1&&_0x3d7ec5(_0x4d387e,_0x570ecc),!0x1;}})),_0xac37d3=EditorView['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});class _0x1bc00b{constructor(_0x26e30c,_0x22eac8,_0x1df503,_0x50e104){this['field']=_0x26e30c,this['line']=_0x22eac8,this['from']=_0x1df503,this['to']=_0x50e104;}}class _0x29ec07{constructor(_0x345d28,_0xdbc2c9,_0x464797){this['field']=_0x345d28,this['from']=_0xdbc2c9,this['to']=_0x464797;}['map'](_0x4eb26a){let _0x98acef=_0x4eb26a['mapPos'](this['from'],-0x1,_0x32252d['TrackDel']),_0x44bdee=_0x4eb26a['mapPos'](this['to'],0x1,_0x32252d['TrackDel']);return null==_0x98acef||null==_0x44bdee?null:new _0x29ec07(this['field'],_0x98acef,_0x44bdee);}}class Snippet{constructor(_0x1a689d,_0x3c1e15){this['lines']=_0x1a689d,this['fieldPositions']=_0x3c1e15;}['instantiate'](_0x359780,_0x33be28){let _0x408fff=[],_0x30d82b=[_0x33be28],_0x3cf94f=_0x359780['doc']['lineAt'](_0x33be28),_0x15adf7=/^\s*/['exec'](_0x3cf94f['text'])[0x0];for(let _0x4d9477 of this['lines']){if(_0x408fff['length']){let _0x4df21b=_0x15adf7,_0x5c1ab9=/^\t*/['exec'](_0x4d9477)[0x0]['length'];for(let _0x101382=0x0;_0x101382<_0x5c1ab9;_0x101382++)_0x4df21b+=_0x359780['facet'](_0x2aa938);_0x30d82b['push'](_0x33be28+_0x4df21b['length']-_0x5c1ab9),_0x4d9477=_0x4df21b+_0x4d9477['slice'](_0x5c1ab9);}_0x408fff['push'](_0x4d9477),_0x33be28+=_0x4d9477['length']+0x1;}let _0x53699f=this['fieldPositions']['map'](_0x549e=>new _0x29ec07(_0x549e['field'],_0x30d82b[_0x549e['line']]+_0x549e['from'],_0x30d82b[_0x549e['line']]+_0x549e['to']));return{'text':_0x408fff,'ranges':_0x53699f};}static['parse'](_0x2bd8ae){let _0x3f1a31,_0x578415=[],_0x583023=[],_0x12e003=[];for(let _0x3b4850 of _0x2bd8ae['split'](/\r\n?|\n/)){for(;_0x3f1a31=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x3b4850);){let _0x1bc0fe=_0x3f1a31[0x1]?+_0x3f1a31[0x1]:null,_0x5e6b35=_0x3f1a31[0x2]||_0x3f1a31[0x3]||'',_0x3ac306=-0x1,_0x2a3d50=_0x5e6b35['replace'](/\\[{}]/g,_0x31be0e=>_0x31be0e[0x1]);for(let _0x8b3c8e=0x0;_0x8b3c8e<_0x578415['length'];_0x8b3c8e++)(null!=_0x1bc0fe?_0x578415[_0x8b3c8e]['seq']==_0x1bc0fe:_0x2a3d50&&_0x578415[_0x8b3c8e]['name']==_0x2a3d50)&&(_0x3ac306=_0x8b3c8e);if(_0x3ac306<0x0){let _0x255bbb=0x0;for(;_0x255bbb<_0x578415['length']&&(null==_0x1bc0fe||null!=_0x578415[_0x255bbb]['seq']&&_0x578415[_0x255bbb]['seq']<_0x1bc0fe);)_0x255bbb++;_0x578415['splice'](_0x255bbb,0x0,{'seq':_0x1bc0fe,'name':_0x2a3d50}),_0x3ac306=_0x255bbb;for(let _0x425685 of _0x12e003)_0x425685['field']>=_0x3ac306&&_0x425685['field']++;}for(let _0xb09a3e of _0x12e003)if(_0xb09a3e['line']==_0x583023['length']&&_0xb09a3e['from']>_0x3f1a31['index']){let _0x4ad5a5=_0x3f1a31[0x2]?0x3+(_0x3f1a31[0x1]||'')['length']:0x2;_0xb09a3e['from']-=_0x4ad5a5,_0xb09a3e['to']-=_0x4ad5a5;}_0x12e003['push'](new _0x1bc00b(_0x3ac306,_0x583023['length'],_0x3f1a31['index'],_0x3f1a31['index']+_0x2a3d50['length'])),_0x3b4850=_0x3b4850['slice'](0x0,_0x3f1a31['index'])+_0x5e6b35+_0x3b4850['slice'](_0x3f1a31['index']+_0x3f1a31[0x0]['length']);}_0x3b4850=_0x3b4850['replace'](/\\([{}])/g,(_0x581b11,_0x574a57,_0x2f187b)=>{for(let _0x3a4411 of _0x12e003)_0x3a4411['line']==_0x583023['length']&&_0x3a4411['from']>_0x2f187b&&(_0x3a4411['from']--,_0x3a4411['to']--);return _0x574a57;}),_0x583023['push'](_0x3b4850);}return new Snippet(_0x583023,_0x12e003);}}let _0x2243a2=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x3bd6b3=document['createElement']('span');return _0x3bd6b3['className']='cm-snippetFieldPosition',_0x3bd6b3;}['ignoreEvent'](){return!0x1;}}()}),_0x16ffa4=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x2116dd,_0x536198){this['ranges']=_0x2116dd,this['active']=_0x536198,this['deco']=Decoration['set'](_0x2116dd['map'](_0x5adbec=>(_0x5adbec['from']==_0x5adbec['to']?_0x2243a2:_0x16ffa4)['range'](_0x5adbec['from'],_0x5adbec['to'])),!0x0);}['map'](_0x3593b8){let _0x3f7f31=[];for(let _0x2d3ddf of this['ranges']){let _0x2805eb=_0x2d3ddf['map'](_0x3593b8);if(!_0x2805eb)return null;_0x3f7f31['push'](_0x2805eb);}return new ActiveSnippet(_0x3f7f31,this['active']);}['selectionInsideField'](_0x30a7d0){return _0x30a7d0['ranges']['every'](_0x5332b3=>this['ranges']['some'](_0x440d14=>_0x440d14['field']==this['active']&&_0x440d14['from']<=_0x5332b3['from']&&_0x440d14['to']>=_0x5332b3['to']));}}const _0x55f858=StateEffect['define']({'map':(_0x41a9a1,_0xd18959)=>_0x41a9a1&&_0x41a9a1['map'](_0xd18959)}),_0x3d5ead=StateEffect['define'](),_0x3fad1d=StateField['define']({'create':()=>null,'update'(_0x3bcc30,_0x15af7e){for(let _0x1e837b of _0x15af7e['effects']){if(_0x1e837b['is'](_0x55f858))return _0x1e837b['value'];if(_0x1e837b['is'](_0x3d5ead)&&_0x3bcc30)return new ActiveSnippet(_0x3bcc30['ranges'],_0x1e837b['value']);}return _0x3bcc30&&_0x15af7e['docChanged']&&(_0x3bcc30=_0x3bcc30['map'](_0x15af7e['changes'])),_0x3bcc30&&_0x15af7e['selection']&&!_0x3bcc30['selectionInsideField'](_0x15af7e['selection'])&&(_0x3bcc30=null),_0x3bcc30;},'provide':_0x333230=>EditorView['decorations']['from'](_0x333230,_0x27751d=>_0x27751d?_0x27751d['deco']:Decoration['none'])});function _0x44aabd(_0x3ea053,_0x46202f){return EditorSelection['create'](_0x3ea053['filter'](_0xd96e63=>_0xd96e63['field']==_0x46202f)['map'](_0x1d5bdc=>EditorSelection['range'](_0x1d5bdc['from'],_0x1d5bdc['to'])));}function _0x2f529a(_0x27b0e3){let _0x596f70=Snippet['parse'](_0x27b0e3);return(_0x2ab63c,_0x3d8764,_0x1ccc86,_0x370503)=>{let {text:_0x1129e5,ranges:_0x4c0945}=_0x596f70['instantiate'](_0x2ab63c['state'],_0x1ccc86),{main:_0x223446}=_0x2ab63c['state']['selection'],_0x12c0c7={'changes':{'from':_0x1ccc86,'to':_0x370503==_0x223446['from']?_0x223446['to']:_0x370503,'insert':Text['of'](_0x1129e5)},'scrollIntoView':!0x0,'annotations':_0x3d8764?[_0x39a367['of'](_0x3d8764),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x4c0945['length']&&(_0x12c0c7['selection']=_0x44aabd(_0x4c0945,0x0)),_0x4c0945['some'](_0x4a5ce9=>_0x4a5ce9['field']>0x0)){let _0x4b8a33=new ActiveSnippet(_0x4c0945,0x0),_0x477fe2=_0x12c0c7['effects']=[_0x55f858['of'](_0x4b8a33)];void 0x0===_0x2ab63c['state']['field'](_0x3fad1d,!0x1)&&_0x477fe2['push'](StateEffect['appendConfig']['of']([_0x3fad1d,_0x3525c5,_0xc2110f,_0xac37d3]));}_0x2ab63c['dispatch'](_0x2ab63c['state']['update'](_0x12c0c7));};}function _0x10745a(_0x27d4fc){return({state:_0x593404,dispatch:_0x49e40f})=>{let _0x41e230=_0x593404['field'](_0x3fad1d,!0x1);if(!_0x41e230||_0x27d4fc<0x0&&0x0==_0x41e230['active'])return!0x1;let _0xdee4ae=_0x41e230['active']+_0x27d4fc,_0x4fd12b=_0x27d4fc>0x0&&!_0x41e230['ranges']['some'](_0xd0f2a8=>_0xd0f2a8['field']==_0xdee4ae+_0x27d4fc);return _0x49e40f(_0x593404['update']({'selection':_0x44aabd(_0x41e230['ranges'],_0xdee4ae),'effects':_0x55f858['of'](_0x4fd12b?null:new ActiveSnippet(_0x41e230['ranges'],_0xdee4ae)),'scrollIntoView':!0x0})),!0x0;};}const _0x4d3b83=[{'key':'Tab','run':_0x10745a(0x1),'shift':_0x10745a(-0x1)},{'key':'Escape','run':({state:_0x19f029,dispatch:_0x59eb2f})=>!!_0x19f029['field'](_0x3fad1d,!0x1)&&(_0x59eb2f(_0x19f029['update']({'effects':_0x55f858['of'](null)})),!0x0)}],_0x14cc74=Facet['define']({'combine':_0x260bd6=>_0x260bd6['length']?_0x260bd6[0x0]:_0x4d3b83}),_0x3525c5=_0x271a11['highest'](_0x406f2e['compute']([_0x14cc74],_0x37d36e=>_0x37d36e['facet'](_0x14cc74)));function tA(_0x1bb3fd,_0x2298a5){return{..._0x2298a5,'apply':_0x2f529a(_0x1bb3fd)};}const _0xc2110f=EditorView['domEventHandlers']({'mousedown'(_0x3cf10c,_0x7bb0b3){let _0x5e6a00,_0x5d5517=_0x7bb0b3['state']['field'](_0x3fad1d,!0x1);if(!_0x5d5517||null==(_0x5e6a00=_0x7bb0b3['posAtCoords']({'x':_0x3cf10c['clientX'],'y':_0x3cf10c['clientY']})))return!0x1;let _0x3ccaef=_0x5d5517['ranges']['find'](_0x1c7bc8=>_0x1c7bc8['from']<=_0x5e6a00&&_0x1c7bc8['to']>=_0x5e6a00);return!(!_0x3ccaef||_0x3ccaef['field']==_0x5d5517['active'])&&(_0x7bb0b3['dispatch']({'selection':_0x44aabd(_0x5d5517['ranges'],_0x3ccaef['field']),'effects':_0x55f858['of'](_0x5d5517['ranges']['some'](_0x5179f8=>_0x5179f8['field']>_0x3ccaef['field'])?new ActiveSnippet(_0x5d5517['ranges'],_0x3ccaef['field']):null),'scrollIntoView':!0x0}),!0x0);}}),_0x3b3728={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x4ad0b4=StateEffect['define']({'map'(_0x1b614a,_0x4e633c){let _0x5b56c1=_0x4e633c['mapPos'](_0x1b614a,-0x1,_0x32252d['TrackAfter']);return null==_0x5b56c1?void 0x0:_0x5b56c1;}}),_0x34bdbd=new class extends _0x347eac{}();_0x34bdbd['startSide']=0x1,_0x34bdbd['endSide']=-0x1;const _0x7a2d7e=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x225bc2,_0x5e0b1f){if(_0x225bc2=_0x225bc2['map'](_0x5e0b1f['changes']),_0x5e0b1f['selection']){let _0x518d0f=_0x5e0b1f['state']['doc']['lineAt'](_0x5e0b1f['selection']['main']['head']);_0x225bc2=_0x225bc2['update']({'filter':_0x22a1ff=>_0x22a1ff>=_0x518d0f['from']&&_0x22a1ff<=_0x518d0f['to']});}for(let _0x2d87f7 of _0x5e0b1f['effects'])_0x2d87f7['is'](_0x4ad0b4)&&(_0x225bc2=_0x225bc2['update']({'add':[_0x34bdbd['range'](_0x2d87f7['value'],_0x2d87f7['value']+0x1)]}));return _0x225bc2;}});function _0x34f2a6(){return[_0x1d8582,_0x7a2d7e];}const _0x757a3c='()[]{}<>«»»«［］｛｝';function _0x4f1bdf(_0x563994){for(let _0x219165=0x0;_0x219165<0x10;_0x219165+=0x2)if(_0x757a3c['charCodeAt'](_0x219165)==_0x563994)return _0x757a3c['charAt'](_0x219165+0x1);return _0x5a2627(_0x563994<0x80?_0x563994:_0x563994+0x1);}function _0x29fc78(_0xcce44d,_0x1ebb72){return _0xcce44d['languageDataAt']('closeBrackets',_0x1ebb72)[0x0]||_0x3b3728;}const _0x430dc1='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x1d8582=EditorView['inputHandler']['of']((_0xdf6105,_0x1d03c6,_0x4c762f,_0x2c6ad3)=>{if((_0x430dc1?_0xdf6105['composing']:_0xdf6105['compositionStarted'])||_0xdf6105['state']['readOnly'])return!0x1;let _0x3a76de=_0xdf6105['state']['selection']['main'];if(_0x2c6ad3['length']>0x2||0x2==_0x2c6ad3['length']&&0x1==_0x245f61(_0xcacbe4(_0x2c6ad3,0x0))||_0x1d03c6!=_0x3a76de['from']||_0x4c762f!=_0x3a76de['to'])return!0x1;let _0x153f9d=function(_0x304fb2,_0x10d989){let _0x4873f1=_0x29fc78(_0x304fb2,_0x304fb2['selection']['main']['head']),_0x36f4b4=_0x4873f1['brackets']||_0x3b3728['brackets'];for(let _0x32369b of _0x36f4b4){let _0x4e2733=_0x4f1bdf(_0xcacbe4(_0x32369b,0x0));if(_0x10d989==_0x32369b)return _0x4e2733==_0x32369b?_0x14d7aa(_0x304fb2,_0x32369b,_0x36f4b4['indexOf'](_0x32369b+_0x32369b+_0x32369b)>-0x1,_0x4873f1):_0x106952(_0x304fb2,_0x32369b,_0x4e2733,_0x4873f1['before']||_0x3b3728['before']);if(_0x10d989==_0x4e2733&&_0x4fee58(_0x304fb2,_0x304fb2['selection']['main']['from']))return _0x1bc981(_0x304fb2,_0x32369b,_0x4e2733);}return null;}(_0xdf6105['state'],_0x2c6ad3);return!!_0x153f9d&&(_0xdf6105['dispatch'](_0x153f9d),!0x0);}),_0x170ba3=[{'key':'Backspace','run':({state:_0x51797b,dispatch:_0x442ae1})=>{if(_0x51797b['readOnly'])return!0x1;let _0x12ab03=_0x29fc78(_0x51797b,_0x51797b['selection']['main']['head'])['brackets']||_0x3b3728['brackets'],_0x332aee=null,_0x402da1=_0x51797b['changeByRange'](_0x9825a4=>{if(_0x9825a4['empty']){let _0x3460f1=function(_0x2b56f1,_0x44b694){let _0x354a4b=_0x2b56f1['sliceString'](_0x44b694-0x2,_0x44b694);return _0x245f61(_0xcacbe4(_0x354a4b,0x0))==_0x354a4b['length']?_0x354a4b:_0x354a4b['slice'](0x1);}(_0x51797b['doc'],_0x9825a4['head']);for(let _0x41711c of _0x12ab03)if(_0x41711c==_0x3460f1&&_0x253417(_0x51797b['doc'],_0x9825a4['head'])==_0x4f1bdf(_0xcacbe4(_0x41711c,0x0)))return{'changes':{'from':_0x9825a4['head']-_0x41711c['length'],'to':_0x9825a4['head']+_0x41711c['length']},'range':EditorSelection['cursor'](_0x9825a4['head']-_0x41711c['length'])};}return{'range':_0x332aee=_0x9825a4};});return _0x332aee||_0x442ae1(_0x51797b['update'](_0x402da1,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x332aee;}}];function _0x4fee58(_0x554249,_0x28cc65){let _0x57d477=!0x1;return _0x554249['field'](_0x7a2d7e)['between'](0x0,_0x554249['doc']['length'],_0x58ef53=>{_0x58ef53==_0x28cc65&&(_0x57d477=!0x0);}),_0x57d477;}function _0x253417(_0x10938c,_0x33fda7){let _0x56f589=_0x10938c['sliceString'](_0x33fda7,_0x33fda7+0x2);return _0x56f589['slice'](0x0,_0x245f61(_0xcacbe4(_0x56f589,0x0)));}function _0x106952(_0x4cb004,_0x527966,_0x4f8fd9,_0x345541){let _0x49399f=null,_0xa5cec5=_0x4cb004['changeByRange'](_0x2868a7=>{if(!_0x2868a7['empty'])return{'changes':[{'insert':_0x527966,'from':_0x2868a7['from']},{'insert':_0x4f8fd9,'from':_0x2868a7['to']}],'effects':_0x4ad0b4['of'](_0x2868a7['to']+_0x527966['length']),'range':EditorSelection['range'](_0x2868a7['anchor']+_0x527966['length'],_0x2868a7['head']+_0x527966['length'])};let _0x564ba7=_0x253417(_0x4cb004['doc'],_0x2868a7['head']);return!_0x564ba7||/\s/['test'](_0x564ba7)||_0x345541['indexOf'](_0x564ba7)>-0x1?{'changes':{'insert':_0x527966+_0x4f8fd9,'from':_0x2868a7['head']},'effects':_0x4ad0b4['of'](_0x2868a7['head']+_0x527966['length']),'range':EditorSelection['cursor'](_0x2868a7['head']+_0x527966['length'])}:{'range':_0x49399f=_0x2868a7};});return _0x49399f?null:_0x4cb004['update'](_0xa5cec5,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x1bc981(_0x595f53,_0x71c4dc,_0x257ac1){let _0x2cffe9=null,_0x567702=_0x595f53['changeByRange'](_0x59a862=>_0x59a862['empty']&&_0x253417(_0x595f53['doc'],_0x59a862['head'])==_0x257ac1?{'changes':{'from':_0x59a862['head'],'to':_0x59a862['head']+_0x257ac1['length'],'insert':_0x257ac1},'range':EditorSelection['cursor'](_0x59a862['head']+_0x257ac1['length'])}:_0x2cffe9={'range':_0x59a862});return _0x2cffe9?null:_0x595f53['update'](_0x567702,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x14d7aa(_0x487e9e,_0x1a1a45,_0x5b1023,_0x750508){let _0x4abfba=_0x750508['stringPrefixes']||_0x3b3728['stringPrefixes'],_0x23d160=null,_0x1fe001=_0x487e9e['changeByRange'](_0x52dd8b=>{if(!_0x52dd8b['empty'])return{'changes':[{'insert':_0x1a1a45,'from':_0x52dd8b['from']},{'insert':_0x1a1a45,'from':_0x52dd8b['to']}],'effects':_0x4ad0b4['of'](_0x52dd8b['to']+_0x1a1a45['length']),'range':EditorSelection['range'](_0x52dd8b['anchor']+_0x1a1a45['length'],_0x52dd8b['head']+_0x1a1a45['length'])};let _0x321208,_0x27d0cd=_0x52dd8b['head'],_0x5b2efc=_0x253417(_0x487e9e['doc'],_0x27d0cd);if(_0x5b2efc==_0x1a1a45){if(_0x49cc4e(_0x487e9e,_0x27d0cd))return{'changes':{'insert':_0x1a1a45+_0x1a1a45,'from':_0x27d0cd},'effects':_0x4ad0b4['of'](_0x27d0cd+_0x1a1a45['length']),'range':EditorSelection['cursor'](_0x27d0cd+_0x1a1a45['length'])};if(_0x4fee58(_0x487e9e,_0x27d0cd)){let _0xb578d5=_0x5b1023&&_0x487e9e['sliceDoc'](_0x27d0cd,_0x27d0cd+0x3*_0x1a1a45['length'])==_0x1a1a45+_0x1a1a45+_0x1a1a45?_0x1a1a45+_0x1a1a45+_0x1a1a45:_0x1a1a45;return{'changes':{'from':_0x27d0cd,'to':_0x27d0cd+_0xb578d5['length'],'insert':_0xb578d5},'range':EditorSelection['cursor'](_0x27d0cd+_0xb578d5['length'])};}}else{if(_0x5b1023&&_0x487e9e['sliceDoc'](_0x27d0cd-0x2*_0x1a1a45['length'],_0x27d0cd)==_0x1a1a45+_0x1a1a45&&(_0x321208=_0xce1208(_0x487e9e,_0x27d0cd-0x2*_0x1a1a45['length'],_0x4abfba))>-0x1&&_0x49cc4e(_0x487e9e,_0x321208))return{'changes':{'insert':_0x1a1a45+_0x1a1a45+_0x1a1a45+_0x1a1a45,'from':_0x27d0cd},'effects':_0x4ad0b4['of'](_0x27d0cd+_0x1a1a45['length']),'range':EditorSelection['cursor'](_0x27d0cd+_0x1a1a45['length'])};if(_0x487e9e['charCategorizer'](_0x27d0cd)(_0x5b2efc)!=_0x1068b9['Word']&&_0xce1208(_0x487e9e,_0x27d0cd,_0x4abfba)>-0x1&&!function(_0x30846d,_0x34dee9,_0x549080,_0x5a453b){let _0x1e3cd7=_0xc45a56(_0x30846d)['resolveInner'](_0x34dee9,-0x1),_0xcc3e9f=_0x5a453b['reduce']((_0x58a96e,_0x11e004)=>Math['max'](_0x58a96e,_0x11e004['length']),0x0);for(let _0x33ff33=0x0;_0x33ff33<0x5;_0x33ff33++){let _0xe454fc=_0x30846d['sliceDoc'](_0x1e3cd7['from'],Math['min'](_0x1e3cd7['to'],_0x1e3cd7['from']+_0x549080['length']+_0xcc3e9f)),_0x3f77bb=_0xe454fc['indexOf'](_0x549080);if(!_0x3f77bb||_0x3f77bb>-0x1&&_0x5a453b['indexOf'](_0xe454fc['slice'](0x0,_0x3f77bb))>-0x1){let _0x4d028a=_0x1e3cd7['firstChild'];for(;_0x4d028a&&_0x4d028a['from']==_0x1e3cd7['from']&&_0x4d028a['to']-_0x4d028a['from']>_0x549080['length']+_0x3f77bb;){if(_0x30846d['sliceDoc'](_0x4d028a['to']-_0x549080['length'],_0x4d028a['to'])==_0x549080)return!0x1;_0x4d028a=_0x4d028a['firstChild'];}return!0x0;}let _0x20c0dc=_0x1e3cd7['to']==_0x34dee9&&_0x1e3cd7['parent'];if(!_0x20c0dc)break;_0x1e3cd7=_0x20c0dc;}return!0x1;}(_0x487e9e,_0x27d0cd,_0x1a1a45,_0x4abfba))return{'changes':{'insert':_0x1a1a45+_0x1a1a45,'from':_0x27d0cd},'effects':_0x4ad0b4['of'](_0x27d0cd+_0x1a1a45['length']),'range':EditorSelection['cursor'](_0x27d0cd+_0x1a1a45['length'])};}return{'range':_0x23d160=_0x52dd8b};});return _0x23d160?null:_0x487e9e['update'](_0x1fe001,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x49cc4e(_0x4af825,_0x176218){let _0x1f89dc=_0xc45a56(_0x4af825)['resolveInner'](_0x176218+0x1);return _0x1f89dc['parent']&&_0x1f89dc['from']==_0x176218;}function _0xce1208(_0x202865,_0xa4e909,_0x158bf2){let _0x55e685=_0x202865['charCategorizer'](_0xa4e909);if(_0x55e685(_0x202865['sliceDoc'](_0xa4e909-0x1,_0xa4e909))!=_0x1068b9['Word'])return _0xa4e909;for(let _0x2fb918 of _0x158bf2){let _0x2d1e5e=_0xa4e909-_0x2fb918['length'];if(_0x202865['sliceDoc'](_0x2d1e5e,_0xa4e909)==_0x2fb918&&_0x55e685(_0x202865['sliceDoc'](_0x2d1e5e-0x1,_0x2d1e5e))!=_0x1068b9['Word'])return _0x2d1e5e;}return-0x1;}function _0x2b7517(_0x10b1d0={}){return[_0x2437ae,_0x58736b,_0x13c42e['of'](_0x10b1d0),_0x32a19c,_0x41ab7d,_0xac37d3];}const _0x475686=[{'key':'Ctrl-Space','run':_0x14175a},{'mac':'Alt-`','run':_0x14175a},{'mac':'Alt-i','run':_0x14175a},{'key':'Escape','run':_0x30ffcf=>{let _0x12336b=_0x30ffcf['state']['field'](_0x58736b,!0x1);return!(!_0x12336b||!_0x12336b['active']['some'](_0x583fe4=>0x0!=_0x583fe4['state']))&&(_0x30ffcf['dispatch']({'effects':_0x21cd07['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x3eb95e(!0x0)},{'key':'ArrowUp','run':_0x3eb95e(!0x1)},{'key':'PageDown','run':_0x3eb95e(!0x0,'page')},{'key':'PageUp','run':_0x3eb95e(!0x1,'page')},{'key':'Enter','run':_0x31dde7=>{let _0x452703=_0x31dde7['state']['field'](_0x58736b,!0x1);return!(_0x31dde7['state']['readOnly']||!_0x452703||!_0x452703['open']||_0x452703['open']['selected']<0x0||_0x452703['open']['disabled']||Date['now']()-_0x452703['open']['timestamp']<_0x31dde7['state']['facet'](_0x13c42e)['interactionDelay'])&&_0x3d7ec5(_0x31dde7,_0x452703['open']['options'][_0x452703['open']['selected']]);}}],_0x41ab7d=_0x271a11['highest'](_0x406f2e['computeN']([_0x13c42e],_0x396c50=>_0x396c50['facet'](_0x13c42e)['defaultKeymap']?[_0x475686]:[]));class Stack{constructor(_0x61a44,_0xf669bb,_0x1249fc,_0x2841b9,_0x174c6b,_0x288477,_0x446333,_0x13218b,_0x1cc177,_0x599e2d=0x0,_0x13bfd1){this['p']=_0x61a44,this['stack']=_0xf669bb,this['state']=_0x1249fc,this['reducePos']=_0x2841b9,this['pos']=_0x174c6b,this['score']=_0x288477,this['buffer']=_0x446333,this['bufferBase']=_0x13218b,this['curContext']=_0x1cc177,this['lookAhead']=_0x599e2d,this['parent']=_0x13bfd1;}['toString'](){return'['+this['stack']['filter']((_0x8d971c,_0x5c224b)=>_0x5c224b%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x2e47a8,_0x31168b,_0x165bad=0x0){let _0x5a0acf=_0x2e47a8['parser']['context'];return new Stack(_0x2e47a8,[],_0x31168b,_0x165bad,_0x165bad,0x0,[],0x0,_0x5a0acf?new StackContext(_0x5a0acf,_0x5a0acf['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x2ad47a,_0x4b8e04){this['stack']['push'](this['state'],_0x4b8e04,this['bufferBase']+this['buffer']['length']),this['state']=_0x2ad47a;}['reduce'](_0x4279f7){var _0x1a6a55;let _0x12b3d2=_0x4279f7>>0x13,_0x5cf3a8=0xffff&_0x4279f7,{parser:_0x40b9c0}=this['p'],_0x358bb9=this['reducePos']<this['pos']-0x19;_0x358bb9&&this['setLookAhead'](this['pos']);let _0x4d31e4=_0x40b9c0['dynamicPrecedence'](_0x5cf3a8);if(_0x4d31e4&&(this['score']+=_0x4d31e4),0x0==_0x12b3d2)return this['pushState'](_0x40b9c0['getGoto'](this['state'],_0x5cf3a8,!0x0),this['reducePos']),_0x5cf3a8<_0x40b9c0['minRepeatTerm']&&this['storeNode'](_0x5cf3a8,this['reducePos'],this['reducePos'],_0x358bb9?0x8:0x4,!0x0),void this['reduceContext'](_0x5cf3a8,this['reducePos']);let _0x4cfcc6=this['stack']['length']-0x3*(_0x12b3d2-0x1)-(0x40000&_0x4279f7?0x6:0x0),_0x1e4796=_0x4cfcc6?this['stack'][_0x4cfcc6-0x2]:this['p']['ranges'][0x0]['from'],_0x4c7dac=this['reducePos']-_0x1e4796;_0x4c7dac>=0x7d0&&!(null===(_0x1a6a55=this['p']['parser']['nodeSet']['types'][_0x5cf3a8])||void 0x0===_0x1a6a55?void 0x0:_0x1a6a55['isAnonymous'])&&(_0x1e4796==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x4c7dac):this['p']['lastBigReductionSize']<_0x4c7dac&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x1e4796,this['p']['lastBigReductionSize']=_0x4c7dac));let _0x39a0f6=_0x4cfcc6?this['stack'][_0x4cfcc6-0x1]:0x0,_0x5cb9eb=this['bufferBase']+this['buffer']['length']-_0x39a0f6;if(_0x5cf3a8<_0x40b9c0['minRepeatTerm']||0x20000&_0x4279f7){let _0x30ceb8=_0x40b9c0['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x5cf3a8,_0x1e4796,_0x30ceb8,_0x5cb9eb+0x4,!0x0);}if(0x40000&_0x4279f7)this['state']=this['stack'][_0x4cfcc6];else{let _0x509dd8=this['stack'][_0x4cfcc6-0x3];this['state']=_0x40b9c0['getGoto'](_0x509dd8,_0x5cf3a8,!0x0);}for(;this['stack']['length']>_0x4cfcc6;)this['stack']['pop']();this['reduceContext'](_0x5cf3a8,_0x1e4796);}['storeNode'](_0x3e8dfb,_0x13255a,_0x3b8bb5,_0x24221d=0x4,_0xe1083f=!0x1){if(0x0==_0x3e8dfb&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0xd4a00b=this,_0x5a48f=this['buffer']['length'];if(0x0==_0x5a48f&&_0xd4a00b['parent']&&(_0x5a48f=_0xd4a00b['bufferBase']-_0xd4a00b['parent']['bufferBase'],_0xd4a00b=_0xd4a00b['parent']),_0x5a48f>0x0&&0x0==_0xd4a00b['buffer'][_0x5a48f-0x4]&&_0xd4a00b['buffer'][_0x5a48f-0x1]>-0x1){if(_0x13255a==_0x3b8bb5)return;if(_0xd4a00b['buffer'][_0x5a48f-0x2]>=_0x13255a)return void(_0xd4a00b['buffer'][_0x5a48f-0x2]=_0x3b8bb5);}}if(_0xe1083f&&this['pos']!=_0x3b8bb5){let _0x412bce=this['buffer']['length'];if(_0x412bce>0x0&&(0x0!=this['buffer'][_0x412bce-0x4]||this['buffer'][_0x412bce-0x1]<0x0)){let _0x4a3e47=!0x1;for(let _0x2e6c5f=_0x412bce;_0x2e6c5f>0x0&&this['buffer'][_0x2e6c5f-0x2]>_0x3b8bb5;_0x2e6c5f-=0x4)if(this['buffer'][_0x2e6c5f-0x1]>=0x0){_0x4a3e47=!0x0;break;}if(_0x4a3e47){for(;_0x412bce>0x0&&this['buffer'][_0x412bce-0x2]>_0x3b8bb5;)this['buffer'][_0x412bce]=this['buffer'][_0x412bce-0x4],this['buffer'][_0x412bce+0x1]=this['buffer'][_0x412bce-0x3],this['buffer'][_0x412bce+0x2]=this['buffer'][_0x412bce-0x2],this['buffer'][_0x412bce+0x3]=this['buffer'][_0x412bce-0x1],_0x412bce-=0x4,_0x24221d>0x4&&(_0x24221d-=0x4);}}this['buffer'][_0x412bce]=_0x3e8dfb,this['buffer'][_0x412bce+0x1]=_0x13255a,this['buffer'][_0x412bce+0x2]=_0x3b8bb5,this['buffer'][_0x412bce+0x3]=_0x24221d;}else this['buffer']['push'](_0x3e8dfb,_0x13255a,_0x3b8bb5,_0x24221d);}['shift'](_0x516b30,_0x1d71dd,_0x3643ab,_0x17d955){if(0x20000&_0x516b30)this['pushState'](0xffff&_0x516b30,this['pos']);else{if(0x40000&_0x516b30)this['pos']=_0x17d955,this['shiftContext'](_0x1d71dd,_0x3643ab),_0x1d71dd<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x1d71dd,_0x3643ab,_0x17d955,0x4);else{let _0x5870aa=_0x516b30,{parser:_0xe786ac}=this['p'];(_0x17d955>this['pos']||_0x1d71dd<=_0xe786ac['maxNode'])&&(this['pos']=_0x17d955,_0xe786ac['stateFlag'](_0x5870aa,0x1)||(this['reducePos']=_0x17d955)),this['pushState'](_0x5870aa,_0x3643ab),this['shiftContext'](_0x1d71dd,_0x3643ab),_0x1d71dd<=_0xe786ac['maxNode']&&this['buffer']['push'](_0x1d71dd,_0x3643ab,_0x17d955,0x4);}}}['apply'](_0x5f3798,_0xa932a3,_0xd1e6e0,_0xb9d75c){0x10000&_0x5f3798?this['reduce'](_0x5f3798):this['shift'](_0x5f3798,_0xa932a3,_0xd1e6e0,_0xb9d75c);}['useNode'](_0x298a6b,_0x5ea825){let _0x49252e=this['p']['reused']['length']-0x1;(_0x49252e<0x0||this['p']['reused'][_0x49252e]!=_0x298a6b)&&(this['p']['reused']['push'](_0x298a6b),_0x49252e++);let _0x3eae12=this['pos'];this['reducePos']=this['pos']=_0x3eae12+_0x298a6b['length'],this['pushState'](_0x5ea825,_0x3eae12),this['buffer']['push'](_0x49252e,_0x3eae12,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x298a6b,this,this['p']['stream']['reset'](this['pos']-_0x298a6b['length'])));}['split'](){let _0x1c90b3=this,_0x17dec6=_0x1c90b3['buffer']['length'];for(;_0x17dec6>0x0&&_0x1c90b3['buffer'][_0x17dec6-0x2]>_0x1c90b3['reducePos'];)_0x17dec6-=0x4;let _0x4691be=_0x1c90b3['buffer']['slice'](_0x17dec6),_0x368600=_0x1c90b3['bufferBase']+_0x17dec6;for(;_0x1c90b3&&_0x368600==_0x1c90b3['bufferBase'];)_0x1c90b3=_0x1c90b3['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x4691be,_0x368600,this['curContext'],this['lookAhead'],_0x1c90b3);}['recoverByDelete'](_0x3c93ef,_0x345a00){let _0xf9c0e6=_0x3c93ef<=this['p']['parser']['maxNode'];_0xf9c0e6&&this['storeNode'](_0x3c93ef,this['pos'],_0x345a00,0x4),this['storeNode'](0x0,this['pos'],_0x345a00,_0xf9c0e6?0x8:0x4),this['pos']=this['reducePos']=_0x345a00,this['score']-=0xbe;}['canShift'](_0x4ad10d){for(let _0xf8a030=new SimulatedStack(this);;){let _0x64e73=this['p']['parser']['stateSlot'](_0xf8a030['state'],0x4)||this['p']['parser']['hasAction'](_0xf8a030['state'],_0x4ad10d);if(0x0==_0x64e73)return!0x1;if(!(0x10000&_0x64e73))return!0x0;_0xf8a030['reduce'](_0x64e73);}}['recoverByInsert'](_0x5159f0){if(this['stack']['length']>=0x12c)return[];let _0x57a9e0=this['p']['parser']['nextStates'](this['state']);if(_0x57a9e0['length']>0x8||this['stack']['length']>=0x78){let _0x5f2f84=[];for(let _0x1b4ad5,_0x563e66=0x0;_0x563e66<_0x57a9e0['length'];_0x563e66+=0x2)(_0x1b4ad5=_0x57a9e0[_0x563e66+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x1b4ad5,_0x5159f0)&&_0x5f2f84['push'](_0x57a9e0[_0x563e66],_0x1b4ad5);if(this['stack']['length']<0x78)for(let _0x53b342=0x0;_0x5f2f84['length']<0x8&&_0x53b342<_0x57a9e0['length'];_0x53b342+=0x2){let _0x4c3106=_0x57a9e0[_0x53b342+0x1];_0x5f2f84['some']((_0x31cdda,_0x27312b)=>0x1&_0x27312b&&_0x31cdda==_0x4c3106)||_0x5f2f84['push'](_0x57a9e0[_0x53b342],_0x4c3106);}_0x57a9e0=_0x5f2f84;}let _0x40218d=[];for(let _0xd90331=0x0;_0xd90331<_0x57a9e0['length']&&_0x40218d['length']<0x4;_0xd90331+=0x2){let _0x30c99a=_0x57a9e0[_0xd90331+0x1];if(_0x30c99a==this['state'])continue;let _0x563e20=this['split']();_0x563e20['pushState'](_0x30c99a,this['pos']),_0x563e20['storeNode'](0x0,_0x563e20['pos'],_0x563e20['pos'],0x4,!0x0),_0x563e20['shiftContext'](_0x57a9e0[_0xd90331],this['pos']),_0x563e20['reducePos']=this['pos'],_0x563e20['score']-=0xc8,_0x40218d['push'](_0x563e20);}return _0x40218d;}['forceReduce'](){let {parser:_0x965a73}=this['p'],_0x12f04e=_0x965a73['stateSlot'](this['state'],0x5);if(!(0x10000&_0x12f04e))return!0x1;if(!_0x965a73['validAction'](this['state'],_0x12f04e)){let _0x2021fc=_0x12f04e>>0x13,_0x4f2e97=0xffff&_0x12f04e,_0x2dcc61=this['stack']['length']-0x3*_0x2021fc;if(_0x2dcc61<0x0||_0x965a73['getGoto'](this['stack'][_0x2dcc61],_0x4f2e97,!0x1)<0x0){let _0x290e6f=this['findForcedReduction']();if(null==_0x290e6f)return!0x1;_0x12f04e=_0x290e6f;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x12f04e),!0x0;}['findForcedReduction'](){let {parser:_0x57276f}=this['p'],_0x31cc29=[],_0xf0ee53=(_0x1b7449,_0x4a7d8c)=>{if(!_0x31cc29['includes'](_0x1b7449))return _0x31cc29['push'](_0x1b7449),_0x57276f['allActions'](_0x1b7449,_0x2d199b=>{if(0x60000&_0x2d199b);else{if(0x10000&_0x2d199b){let _0x2627d0=(_0x2d199b>>0x13)-_0x4a7d8c;if(_0x2627d0>0x1){let _0x22b53a=0xffff&_0x2d199b,_0x2a9b47=this['stack']['length']-0x3*_0x2627d0;if(_0x2a9b47>=0x0&&_0x57276f['getGoto'](this['stack'][_0x2a9b47],_0x22b53a,!0x1)>=0x0)return _0x2627d0<<0x13|0x10000|_0x22b53a;}}else{let _0x397354=_0xf0ee53(_0x2d199b,_0x4a7d8c+0x1);if(null!=_0x397354)return _0x397354;}}});};return _0xf0ee53(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:_0x29bd7a}=this['p'];return 0xffff==_0x29bd7a['data'][_0x29bd7a['stateSlot'](this['state'],0x1)]&&!_0x29bd7a['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x4de663){if(this['state']!=_0x4de663['state']||this['stack']['length']!=_0x4de663['stack']['length'])return!0x1;for(let _0x5c8135=0x0;_0x5c8135<this['stack']['length'];_0x5c8135+=0x3)if(this['stack'][_0x5c8135]!=_0x4de663['stack'][_0x5c8135])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0xfe2251){return this['p']['parser']['dialect']['flags'][_0xfe2251];}['shiftContext'](_0x1f44c6,_0x4f8725){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x1f44c6,this,this['p']['stream']['reset'](_0x4f8725)));}['reduceContext'](_0x3df7af,_0x2673b6){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x3df7af,this,this['p']['stream']['reset'](_0x2673b6)));}['emitContext'](){let _0x4a7deb=this['buffer']['length']-0x1;(_0x4a7deb<0x0||-0x3!=this['buffer'][_0x4a7deb])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x1301b9=this['buffer']['length']-0x1;(_0x1301b9<0x0||-0x4!=this['buffer'][_0x1301b9])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0xfc172c){if(_0xfc172c!=this['curContext']['context']){let _0x25b7dd=new StackContext(this['curContext']['tracker'],_0xfc172c);_0x25b7dd['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x25b7dd;}}['setLookAhead'](_0x5c09dc){_0x5c09dc>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x5c09dc);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x22e530,_0x534e98){this['tracker']=_0x22e530,this['context']=_0x534e98,this['hash']=_0x22e530['strict']?_0x22e530['hash'](_0x534e98):0x0;}}class SimulatedStack{constructor(_0x1582ec){this['start']=_0x1582ec,this['state']=_0x1582ec['state'],this['stack']=_0x1582ec['stack'],this['base']=this['stack']['length'];}['reduce'](_0x5cc0cb){let _0x417dc6=0xffff&_0x5cc0cb,_0x22bb8e=_0x5cc0cb>>0x13;0x0==_0x22bb8e?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x22bb8e-0x1);let _0x3ffeda=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x417dc6,!0x0);this['state']=_0x3ffeda;}}class StackBufferCursor{constructor(_0x5579da,_0x55cd59,_0x506030){this['stack']=_0x5579da,this['pos']=_0x55cd59,this['index']=_0x506030,this['buffer']=_0x5579da['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x1b3929,_0x38063e=_0x1b3929['bufferBase']+_0x1b3929['buffer']['length']){return new StackBufferCursor(_0x1b3929,_0x38063e,_0x38063e-_0x1b3929['bufferBase']);}['maybeNext'](){let _0x3cf62c=this['stack']['parent'];null!=_0x3cf62c&&(this['index']=this['stack']['bufferBase']-_0x3cf62c['bufferBase'],this['stack']=_0x3cf62c,this['buffer']=_0x3cf62c['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 _0x1ba937(_0x5e0e52,_0x339d68=Uint16Array){if('string'!=typeof _0x5e0e52)return _0x5e0e52;let _0x183d11=null;for(let _0x5a76d0=0x0,_0x5bb95d=0x0;_0x5a76d0<_0x5e0e52['length'];){let _0x449f27=0x0;for(;;){let _0x19f201=_0x5e0e52['charCodeAt'](_0x5a76d0++),_0x62a12e=!0x1;if(0x7e==_0x19f201){_0x449f27=0xffff;break;}_0x19f201>=0x5c&&_0x19f201--,_0x19f201>=0x22&&_0x19f201--;let _0x54c075=_0x19f201-0x20;if(_0x54c075>=0x2e&&(_0x54c075-=0x2e,_0x62a12e=!0x0),_0x449f27+=_0x54c075,_0x62a12e)break;_0x449f27*=0x2e;}_0x183d11?_0x183d11[_0x5bb95d++]=_0x449f27:_0x183d11=new _0x339d68(_0x449f27);}return _0x183d11;}class _0x2ce6bd{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x17c045=new _0x2ce6bd();class InputStream{constructor(_0x279be6,_0x5c3ae2){this['input']=_0x279be6,this['ranges']=_0x5c3ae2,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x17c045,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x5c3ae2[0x0]['from'],this['range']=_0x5c3ae2[0x0],this['end']=_0x5c3ae2[_0x5c3ae2['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x5dbdaf,_0x14464e){let _0x5eeb30=this['range'],_0x3c7331=this['rangeIndex'],_0x3a0549=this['pos']+_0x5dbdaf;for(;_0x3a0549<_0x5eeb30['from'];){if(!_0x3c7331)return null;let _0xfce801=this['ranges'][--_0x3c7331];_0x3a0549-=_0x5eeb30['from']-_0xfce801['to'],_0x5eeb30=_0xfce801;}for(;_0x14464e<0x0?_0x3a0549>_0x5eeb30['to']:_0x3a0549>=_0x5eeb30['to'];){if(_0x3c7331==this['ranges']['length']-0x1)return null;let _0x5829ba=this['ranges'][++_0x3c7331];_0x3a0549+=_0x5829ba['from']-_0x5eeb30['to'],_0x5eeb30=_0x5829ba;}return _0x3a0549;}['clipPos'](_0x2f6119){if(_0x2f6119>=this['range']['from']&&_0x2f6119<this['range']['to'])return _0x2f6119;for(let _0xea84b8 of this['ranges'])if(_0xea84b8['to']>_0x2f6119)return Math['max'](_0x2f6119,_0xea84b8['from']);return this['end'];}['peek'](_0x4c3eab){let _0x43bc43,_0x17872d,_0x64a105=this['chunkOff']+_0x4c3eab;if(_0x64a105>=0x0&&_0x64a105<this['chunk']['length'])_0x43bc43=this['pos']+_0x4c3eab,_0x17872d=this['chunk']['charCodeAt'](_0x64a105);else{let _0x120c27=this['resolveOffset'](_0x4c3eab,0x1);if(null==_0x120c27)return-0x1;if(_0x43bc43=_0x120c27,_0x43bc43>=this['chunk2Pos']&&_0x43bc43<this['chunk2Pos']+this['chunk2']['length'])_0x17872d=this['chunk2']['charCodeAt'](_0x43bc43-this['chunk2Pos']);else{let _0x4c4c2e=this['rangeIndex'],_0x51d331=this['range'];for(;_0x51d331['to']<=_0x43bc43;)_0x51d331=this['ranges'][++_0x4c4c2e];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x43bc43),_0x43bc43+this['chunk2']['length']>_0x51d331['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x51d331['to']-_0x43bc43)),_0x17872d=this['chunk2']['charCodeAt'](0x0);}}return _0x43bc43>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x43bc43+0x1),_0x17872d;}['acceptToken'](_0x42db03,_0x20de6e=0x0){let _0x3af088=_0x20de6e?this['resolveOffset'](_0x20de6e,-0x1):this['pos'];if(null==_0x3af088||_0x3af088<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x42db03,this['token']['end']=_0x3af088;}['acceptTokenTo'](_0x65e7b,_0x4c2587){this['token']['value']=_0x65e7b,this['token']['end']=_0x4c2587;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x210fe5,chunkPos:_0xd3c672}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x210fe5,this['chunk2Pos']=_0xd3c672,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x1e911c=this['input']['chunk'](this['pos']),_0x15e753=this['pos']+_0x1e911c['length'];this['chunk']=_0x15e753>this['range']['to']?_0x1e911c['slice'](0x0,this['range']['to']-this['pos']):_0x1e911c,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'](_0x267f55=0x1){for(this['chunkOff']+=_0x267f55;this['pos']+_0x267f55>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x267f55-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x267f55,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'](_0x10e3f5,_0x182412){if(_0x182412?(this['token']=_0x182412,_0x182412['start']=_0x10e3f5,_0x182412['lookAhead']=_0x10e3f5+0x1,_0x182412['value']=_0x182412['extended']=-0x1):this['token']=_0x17c045,this['pos']!=_0x10e3f5){if(this['pos']=_0x10e3f5,_0x10e3f5==this['end'])return this['setDone'](),this;for(;_0x10e3f5<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x10e3f5>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x10e3f5>=this['chunkPos']&&_0x10e3f5<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x10e3f5-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x2e00f5,_0x1252a5){if(_0x2e00f5>=this['chunkPos']&&_0x1252a5<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x2e00f5-this['chunkPos'],_0x1252a5-this['chunkPos']);if(_0x2e00f5>=this['chunk2Pos']&&_0x1252a5<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x2e00f5-this['chunk2Pos'],_0x1252a5-this['chunk2Pos']);if(_0x2e00f5>=this['range']['from']&&_0x1252a5<=this['range']['to'])return this['input']['read'](_0x2e00f5,_0x1252a5);let _0x307fe8='';for(let _0x5db09b of this['ranges']){if(_0x5db09b['from']>=_0x1252a5)break;_0x5db09b['to']>_0x2e00f5&&(_0x307fe8+=this['input']['read'](Math['max'](_0x5db09b['from'],_0x2e00f5),Math['min'](_0x5db09b['to'],_0x1252a5)));}return _0x307fe8;}}class _0x1c6516{constructor(_0x4717d2,_0x3a0875){this['data']=_0x4717d2,this['id']=_0x3a0875;}['token'](_0x3cf4d6,_0xb7a9ea){let {parser:_0x592631}=_0xb7a9ea['p'];_0x2b34a3(this['data'],_0x3cf4d6,_0xb7a9ea,this['id'],_0x592631['data'],_0x592631['tokenPrecTable']);}}_0x1c6516['prototype']['contextual']=_0x1c6516['prototype']['fallback']=_0x1c6516['prototype']['extend']=!0x1;class _0x1888d4{constructor(_0x367fc7,_0x13865f,_0x5e97c9){this['precTable']=_0x13865f,this['elseToken']=_0x5e97c9,this['data']='string'==typeof _0x367fc7?_0x1ba937(_0x367fc7):_0x367fc7;}['token'](_0x165628,_0x353beb){let _0x5ae56d=_0x165628['pos'],_0x3ff1cf=0x0;for(;;){let _0x85fa65=_0x165628['next']<0x0,_0x346790=_0x165628['resolveOffset'](0x1,0x1);if(_0x2b34a3(this['data'],_0x165628,_0x353beb,0x0,this['data'],this['precTable']),_0x165628['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x85fa65||_0x3ff1cf++,null==_0x346790)break;_0x165628['reset'](_0x346790,_0x165628['token']);}_0x3ff1cf&&(_0x165628['reset'](_0x5ae56d,_0x165628['token']),_0x165628['acceptToken'](this['elseToken'],_0x3ff1cf));}}_0x1888d4['prototype']['contextual']=_0x1c6516['prototype']['fallback']=_0x1c6516['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x81969e,_0x204148={}){this['token']=_0x81969e,this['contextual']=!!_0x204148['contextual'],this['fallback']=!!_0x204148['fallback'],this['extend']=!!_0x204148['extend'];}}function _0x2b34a3(_0x8512f7,_0x35bdb1,_0xa9ce53,_0x20589a,_0x22574c,_0x40641f){let _0x16496f=0x0,_0x460379=0x1<<_0x20589a,{dialect:_0x476626}=_0xa9ce53['p']['parser'];t:for(;0x0!=(_0x460379&_0x8512f7[_0x16496f]);){let _0x1ac956=_0x8512f7[_0x16496f+0x1];for(let _0x301d67=_0x16496f+0x3;_0x301d67<_0x1ac956;_0x301d67+=0x2)if((_0x8512f7[_0x301d67+0x1]&_0x460379)>0x0){let _0x2c810f=_0x8512f7[_0x301d67];if(_0x476626['allows'](_0x2c810f)&&(-0x1==_0x35bdb1['token']['value']||_0x35bdb1['token']['value']==_0x2c810f||_0x4033c5(_0x2c810f,_0x35bdb1['token']['value'],_0x22574c,_0x40641f))){_0x35bdb1['acceptToken'](_0x2c810f);break;}}let _0x53eeec=_0x35bdb1['next'],_0x13f179=0x0,_0x216913=_0x8512f7[_0x16496f+0x2];if(!(_0x35bdb1['next']<0x0&&_0x216913>_0x13f179&&0xffff==_0x8512f7[_0x1ac956+0x3*_0x216913-0x3])){for(;_0x13f179<_0x216913;){let _0x19dfc6=_0x13f179+_0x216913>>0x1,_0x2fcb11=_0x1ac956+_0x19dfc6+(_0x19dfc6<<0x1),_0x370fae=_0x8512f7[_0x2fcb11],_0x365c68=_0x8512f7[_0x2fcb11+0x1]||0x10000;if(_0x53eeec<_0x370fae)_0x216913=_0x19dfc6;else{if(!(_0x53eeec>=_0x365c68)){_0x16496f=_0x8512f7[_0x2fcb11+0x2],_0x35bdb1['advance']();continue t;}_0x13f179=_0x19dfc6+0x1;}}break;}_0x16496f=_0x8512f7[_0x1ac956+0x3*_0x216913-0x1];}}function _0x4acc49(_0x47526f,_0x37646b,_0x1c3ec5){for(let _0x4988ac,_0x558c29=_0x37646b;0xffff!=(_0x4988ac=_0x47526f[_0x558c29]);_0x558c29++)if(_0x4988ac==_0x1c3ec5)return _0x558c29-_0x37646b;return-0x1;}function _0x4033c5(_0x4aa83e,_0x5b1603,_0x34a633,_0xe1660f){let _0x140fcb=_0x4acc49(_0x34a633,_0xe1660f,_0x5b1603);return _0x140fcb<0x0||_0x4acc49(_0x34a633,_0xe1660f,_0x4aa83e)<_0x140fcb;}const _0xdff083='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let _0x176ca5=null;function _0xd3b106(_0x46860b,_0x50e8d5,_0x3c5ca3){let _0x11a77a=_0x46860b['cursor'](_0x3dd99e['IncludeAnonymous']);for(_0x11a77a['moveTo'](_0x50e8d5);;)if(!(_0x3c5ca3<0x0?_0x11a77a['childBefore'](_0x50e8d5):_0x11a77a['childAfter'](_0x50e8d5)))for(;;){if((_0x3c5ca3<0x0?_0x11a77a['to']<_0x50e8d5:_0x11a77a['from']>_0x50e8d5)&&!_0x11a77a['type']['isError'])return _0x3c5ca3<0x0?Math['max'](0x0,Math['min'](_0x11a77a['to']-0x1,_0x50e8d5-0x19)):Math['min'](_0x46860b['length'],Math['max'](_0x11a77a['from']+0x1,_0x50e8d5+0x19));if(_0x3c5ca3<0x0?_0x11a77a['prevSibling']():_0x11a77a['nextSibling']())break;if(!_0x11a77a['parent']())return _0x3c5ca3<0x0?0x0:_0x46860b['length'];}}let _0x3a06c4=class FragmentCursor{constructor(_0x37777d,_0x1d05cc){this['fragments']=_0x37777d,this['nodeSet']=_0x1d05cc,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x260487=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x260487){for(this['safeFrom']=_0x260487['openStart']?_0xd3b106(_0x260487['tree'],_0x260487['from']+_0x260487['offset'],0x1)-_0x260487['offset']:_0x260487['from'],this['safeTo']=_0x260487['openEnd']?_0xd3b106(_0x260487['tree'],_0x260487['to']+_0x260487['offset'],-0x1)-_0x260487['offset']:_0x260487['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x260487['tree']),this['start']['push'](-_0x260487['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x291370){if(_0x291370<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x291370;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x436c56=this['trees']['length']-0x1;if(_0x436c56<0x0)return this['nextFragment'](),null;let _0x1c59e3=this['trees'][_0x436c56],_0x7d786b=this['index'][_0x436c56];if(_0x7d786b==_0x1c59e3['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x451082=_0x1c59e3['children'][_0x7d786b],_0xbc3b81=this['start'][_0x436c56]+_0x1c59e3['positions'][_0x7d786b];if(_0xbc3b81>_0x291370)return this['nextStart']=_0xbc3b81,null;if(_0x451082 instanceof _0x5c5fb3){if(_0xbc3b81==_0x291370){if(_0xbc3b81<this['safeFrom'])return null;let _0x53ed8b=_0xbc3b81+_0x451082['length'];if(_0x53ed8b<=this['safeTo']){let _0x5cc876=_0x451082['prop'](_0x16f115['lookAhead']);if(!_0x5cc876||_0x53ed8b+_0x5cc876<this['fragment']['to'])return _0x451082;}}this['index'][_0x436c56]++,_0xbc3b81+_0x451082['length']>=Math['max'](this['safeFrom'],_0x291370)&&(this['trees']['push'](_0x451082),this['start']['push'](_0xbc3b81),this['index']['push'](0x0));}else this['index'][_0x436c56]++,this['nextStart']=_0xbc3b81+_0x451082['length'];}}};class _0x5c6edd{constructor(_0x5cf859,_0x2f0a39){this['stream']=_0x2f0a39,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x5cf859['tokenizers']['map'](_0x45e51f=>new _0x2ce6bd());}['getActions'](_0x16fda9){let _0x55ad36=0x0,_0x3cdc6e=null,{parser:_0x38bb7e}=_0x16fda9['p'],{tokenizers:_0x5af598}=_0x38bb7e,_0x456b5c=_0x38bb7e['stateSlot'](_0x16fda9['state'],0x3),_0x16c4de=_0x16fda9['curContext']?_0x16fda9['curContext']['hash']:0x0,_0x5e47af=0x0;for(let _0x29e83d=0x0;_0x29e83d<_0x5af598['length'];_0x29e83d++){if(!(0x1<<_0x29e83d&_0x456b5c))continue;let _0x576821=_0x5af598[_0x29e83d],_0x2b6784=this['tokens'][_0x29e83d];if((!_0x3cdc6e||_0x576821['fallback'])&&((_0x576821['contextual']||_0x2b6784['start']!=_0x16fda9['pos']||_0x2b6784['mask']!=_0x456b5c||_0x2b6784['context']!=_0x16c4de)&&(this['updateCachedToken'](_0x2b6784,_0x576821,_0x16fda9),_0x2b6784['mask']=_0x456b5c,_0x2b6784['context']=_0x16c4de),_0x2b6784['lookAhead']>_0x2b6784['end']+0x19&&(_0x5e47af=Math['max'](_0x2b6784['lookAhead'],_0x5e47af)),0x0!=_0x2b6784['value'])){let _0x1cad62=_0x55ad36;if(_0x2b6784['extended']>-0x1&&(_0x55ad36=this['addActions'](_0x16fda9,_0x2b6784['extended'],_0x2b6784['end'],_0x55ad36)),_0x55ad36=this['addActions'](_0x16fda9,_0x2b6784['value'],_0x2b6784['end'],_0x55ad36),!_0x576821['extend']&&(_0x3cdc6e=_0x2b6784,_0x55ad36>_0x1cad62))break;}}for(;this['actions']['length']>_0x55ad36;)this['actions']['pop']();return _0x5e47af&&_0x16fda9['setLookAhead'](_0x5e47af),_0x3cdc6e||_0x16fda9['pos']!=this['stream']['end']||(_0x3cdc6e=new _0x2ce6bd(),_0x3cdc6e['value']=_0x16fda9['p']['parser']['eofTerm'],_0x3cdc6e['start']=_0x3cdc6e['end']=_0x16fda9['pos'],_0x55ad36=this['addActions'](_0x16fda9,_0x3cdc6e['value'],_0x3cdc6e['end'],_0x55ad36)),this['mainToken']=_0x3cdc6e,this['actions'];}['getMainToken'](_0x1da6a0){if(this['mainToken'])return this['mainToken'];let _0x1ec19c=new _0x2ce6bd(),{pos:_0xf4abfb,p:_0x123406}=_0x1da6a0;return _0x1ec19c['start']=_0xf4abfb,_0x1ec19c['end']=Math['min'](_0xf4abfb+0x1,_0x123406['stream']['end']),_0x1ec19c['value']=_0xf4abfb==_0x123406['stream']['end']?_0x123406['parser']['eofTerm']:0x0,_0x1ec19c;}['updateCachedToken'](_0x3a0678,_0x5929bd,_0x2b368d){let _0x35851e=this['stream']['clipPos'](_0x2b368d['pos']);if(_0x5929bd['token'](this['stream']['reset'](_0x35851e,_0x3a0678),_0x2b368d),_0x3a0678['value']>-0x1){let {parser:_0x4482e3}=_0x2b368d['p'];for(let _0x39c50d=0x0;_0x39c50d<_0x4482e3['specialized']['length'];_0x39c50d++)if(_0x4482e3['specialized'][_0x39c50d]==_0x3a0678['value']){let _0x55bbe1=_0x4482e3['specializers'][_0x39c50d](this['stream']['read'](_0x3a0678['start'],_0x3a0678['end']),_0x2b368d);if(_0x55bbe1>=0x0&&_0x2b368d['p']['parser']['dialect']['allows'](_0x55bbe1>>0x1)){0x1&_0x55bbe1?_0x3a0678['extended']=_0x55bbe1>>0x1:_0x3a0678['value']=_0x55bbe1>>0x1;break;}}}else _0x3a0678['value']=0x0,_0x3a0678['end']=this['stream']['clipPos'](_0x35851e+0x1);}['putAction'](_0x17e2b9,_0xad9a14,_0x3c35b4,_0x10bd09){for(let _0x181980=0x0;_0x181980<_0x10bd09;_0x181980+=0x3)if(this['actions'][_0x181980]==_0x17e2b9)return _0x10bd09;return this['actions'][_0x10bd09++]=_0x17e2b9,this['actions'][_0x10bd09++]=_0xad9a14,this['actions'][_0x10bd09++]=_0x3c35b4,_0x10bd09;}['addActions'](_0x498b85,_0xb1dce3,_0x563095,_0x3a7c2b){let {state:_0x4ef7c2}=_0x498b85,{parser:_0x5aceed}=_0x498b85['p'],{data:_0x29cbc6}=_0x5aceed;for(let _0x2483d2=0x0;_0x2483d2<0x2;_0x2483d2++)for(let _0x141218=_0x5aceed['stateSlot'](_0x4ef7c2,_0x2483d2?0x2:0x1);;_0x141218+=0x3){if(0xffff==_0x29cbc6[_0x141218]){if(0x1!=_0x29cbc6[_0x141218+0x1]){0x0==_0x3a7c2b&&0x2==_0x29cbc6[_0x141218+0x1]&&(_0x3a7c2b=this['putAction'](_0x58c871(_0x29cbc6,_0x141218+0x2),_0xb1dce3,_0x563095,_0x3a7c2b));break;}_0x141218=_0x58c871(_0x29cbc6,_0x141218+0x2);}_0x29cbc6[_0x141218]==_0xb1dce3&&(_0x3a7c2b=this['putAction'](_0x58c871(_0x29cbc6,_0x141218+0x1),_0xb1dce3,_0x563095,_0x3a7c2b));}return _0x3a7c2b;}}class _0x3080da{constructor(_0x4c38f1,_0x39892b,_0x149747,_0x193963){this['parser']=_0x4c38f1,this['input']=_0x39892b,this['ranges']=_0x193963,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new InputStream(_0x39892b,_0x193963),this['tokens']=new _0x5c6edd(_0x4c38f1,this['stream']),this['topTerm']=_0x4c38f1['top'][0x1];let {from:_0x4f53e4}=_0x193963[0x0];this['stacks']=[Stack['start'](this,_0x4c38f1['top'][0x0],_0x4f53e4)],this['fragments']=_0x149747['length']&&this['stream']['end']-_0x4f53e4>0x4*_0x4c38f1['bufferLength']?new _0x3a06c4(_0x149747,_0x4c38f1['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x2f0c44,_0x1fed57,_0xbc76e=this['stacks'],_0x461829=this['minStackPos'],_0x5ec98c=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0xbc76e['length']){let [_0xb8de3c]=_0xbc76e;for(;_0xb8de3c['forceReduce']()&&_0xb8de3c['stack']['length']&&_0xb8de3c['stack'][_0xb8de3c['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x4d2d5f=0x0;_0x4d2d5f<_0xbc76e['length'];_0x4d2d5f++){let _0x5409e7=_0xbc76e[_0x4d2d5f];for(;;){if(this['tokens']['mainToken']=null,_0x5409e7['pos']>_0x461829)_0x5ec98c['push'](_0x5409e7);else{if(this['advanceStack'](_0x5409e7,_0x5ec98c,_0xbc76e))continue;{_0x2f0c44||(_0x2f0c44=[],_0x1fed57=[]),_0x2f0c44['push'](_0x5409e7);let _0x211412=this['tokens']['getMainToken'](_0x5409e7);_0x1fed57['push'](_0x211412['value'],_0x211412['end']);}}break;}}if(!_0x5ec98c['length']){let _0x463f30=_0x2f0c44&&function(_0x55e945){let _0x1f393e=null;for(let _0x147cbc of _0x55e945){let _0x3386a5=_0x147cbc['p']['stoppedAt'];(_0x147cbc['pos']==_0x147cbc['p']['stream']['end']||null!=_0x3386a5&&_0x147cbc['pos']>_0x3386a5)&&_0x147cbc['p']['parser']['stateFlag'](_0x147cbc['state'],0x2)&&(!_0x1f393e||_0x1f393e['score']<_0x147cbc['score'])&&(_0x1f393e=_0x147cbc);}return _0x1f393e;}(_0x2f0c44);if(_0x463f30)return _0xdff083&&console['log']('Finish\x20with\x20'+this['stackID'](_0x463f30)),this['stackToTree'](_0x463f30);if(this['parser']['strict'])throw _0xdff083&&_0x2f0c44&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x461829);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x2f0c44){let _0x393f99=null!=this['stoppedAt']&&_0x2f0c44[0x0]['pos']>this['stoppedAt']?_0x2f0c44[0x0]:this['runRecovery'](_0x2f0c44,_0x1fed57,_0x5ec98c);if(_0x393f99)return _0xdff083&&console['log']('Force-finish\x20'+this['stackID'](_0x393f99)),this['stackToTree'](_0x393f99['forceAll']());}if(this['recovering']){let _0x43f605=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x5ec98c['length']>_0x43f605){for(_0x5ec98c['sort']((_0x1128ac,_0x934a6)=>_0x934a6['score']-_0x1128ac['score']);_0x5ec98c['length']>_0x43f605;)_0x5ec98c['pop']();}_0x5ec98c['some'](_0x3c72a2=>_0x3c72a2['reducePos']>_0x461829)&&this['recovering']--;}else{if(_0x5ec98c['length']>0x1){t:for(let _0x18a7a6=0x0;_0x18a7a6<_0x5ec98c['length']-0x1;_0x18a7a6++){let _0x3f1304=_0x5ec98c[_0x18a7a6];for(let _0x2acdfa=_0x18a7a6+0x1;_0x2acdfa<_0x5ec98c['length'];_0x2acdfa++){let _0x3a0c02=_0x5ec98c[_0x2acdfa];if(_0x3f1304['sameState'](_0x3a0c02)||_0x3f1304['buffer']['length']>0x1f4&&_0x3a0c02['buffer']['length']>0x1f4){if(!((_0x3f1304['score']-_0x3a0c02['score']||_0x3f1304['buffer']['length']-_0x3a0c02['buffer']['length'])>0x0)){_0x5ec98c['splice'](_0x18a7a6--,0x1);continue t;}_0x5ec98c['splice'](_0x2acdfa--,0x1);}}}_0x5ec98c['length']>0xc&&_0x5ec98c['splice'](0xc,_0x5ec98c['length']-0xc);}}this['minStackPos']=_0x5ec98c[0x0]['pos'];for(let _0x409250=0x1;_0x409250<_0x5ec98c['length'];_0x409250++)_0x5ec98c[_0x409250]['pos']<this['minStackPos']&&(this['minStackPos']=_0x5ec98c[_0x409250]['pos']);return null;}['stopAt'](_0x21305e){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x21305e)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x21305e;}['advanceStack'](_0x9b0de0,_0x12d327,_0xff3b80){let _0x535c18=_0x9b0de0['pos'],{parser:_0xbf78fe}=this,_0x380ba6=_0xdff083?this['stackID'](_0x9b0de0)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x535c18>this['stoppedAt'])return _0x9b0de0['forceReduce']()?_0x9b0de0:null;if(this['fragments']){let _0x1a0056=_0x9b0de0['curContext']&&_0x9b0de0['curContext']['tracker']['strict'],_0x3c32bc=_0x1a0056?_0x9b0de0['curContext']['hash']:0x0;for(let _0x53ab74=this['fragments']['nodeAt'](_0x535c18);_0x53ab74;){let _0x1c2f97=this['parser']['nodeSet']['types'][_0x53ab74['type']['id']]==_0x53ab74['type']?_0xbf78fe['getGoto'](_0x9b0de0['state'],_0x53ab74['type']['id']):-0x1;if(_0x1c2f97>-0x1&&_0x53ab74['length']&&(!_0x1a0056||(_0x53ab74['prop'](_0x16f115['contextHash'])||0x0)==_0x3c32bc))return _0x9b0de0['useNode'](_0x53ab74,_0x1c2f97),_0xdff083&&console['log'](_0x380ba6+this['stackID'](_0x9b0de0)+('\x20(via\x20reuse\x20of\x20'+_0xbf78fe['getName'](_0x53ab74['type']['id'])+')')),!0x0;if(!(_0x53ab74 instanceof _0x5c5fb3)||0x0==_0x53ab74['children']['length']||_0x53ab74['positions'][0x0]>0x0)break;let _0x4f39d3=_0x53ab74['children'][0x0];if(!(_0x4f39d3 instanceof _0x5c5fb3&&0x0==_0x53ab74['positions'][0x0]))break;_0x53ab74=_0x4f39d3;}}let _0xb547b4=_0xbf78fe['stateSlot'](_0x9b0de0['state'],0x4);if(_0xb547b4>0x0)return _0x9b0de0['reduce'](_0xb547b4),_0xdff083&&console['log'](_0x380ba6+this['stackID'](_0x9b0de0)+('\x20(via\x20always-reduce\x20'+_0xbf78fe['getName'](0xffff&_0xb547b4)+')')),!0x0;if(_0x9b0de0['stack']['length']>=0x20d0){for(;_0x9b0de0['stack']['length']>0x1770&&_0x9b0de0['forceReduce'](););}let _0x3477f2=this['tokens']['getActions'](_0x9b0de0);for(let _0x3ddbd8=0x0;_0x3ddbd8<_0x3477f2['length'];){let _0x144b8a=_0x3477f2[_0x3ddbd8++],_0x5be8be=_0x3477f2[_0x3ddbd8++],_0x44c4de=_0x3477f2[_0x3ddbd8++],_0x2234cb=_0x3ddbd8==_0x3477f2['length']||!_0xff3b80,_0x3d8c16=_0x2234cb?_0x9b0de0:_0x9b0de0['split'](),_0xe6dfb1=this['tokens']['mainToken'];if(_0x3d8c16['apply'](_0x144b8a,_0x5be8be,_0xe6dfb1?_0xe6dfb1['start']:_0x3d8c16['pos'],_0x44c4de),_0xdff083&&console['log'](_0x380ba6+this['stackID'](_0x3d8c16)+('\x20(via\x20'+(0x10000&_0x144b8a?'reduce\x20of\x20'+_0xbf78fe['getName'](0xffff&_0x144b8a):'shift')+'\x20for\x20'+_0xbf78fe['getName'](_0x5be8be)+'\x20@\x20'+_0x535c18+(_0x3d8c16==_0x9b0de0?'':',\x20split')+')')),_0x2234cb)return!0x0;_0x3d8c16['pos']>_0x535c18?_0x12d327['push'](_0x3d8c16):_0xff3b80['push'](_0x3d8c16);}return!0x1;}['advanceFully'](_0x208bdc,_0x38d6ab){let _0x3f2f14=_0x208bdc['pos'];for(;;){if(!this['advanceStack'](_0x208bdc,null,null))return!0x1;if(_0x208bdc['pos']>_0x3f2f14)return _0x5ba275(_0x208bdc,_0x38d6ab),!0x0;}}['runRecovery'](_0x27ca56,_0x43a0d8,_0x5b91bd){let _0x3110ca=null,_0x25e62a=!0x1;for(let _0x4e7123=0x0;_0x4e7123<_0x27ca56['length'];_0x4e7123++){let _0x4ecfbc=_0x27ca56[_0x4e7123],_0x143c0b=_0x43a0d8[_0x4e7123<<0x1],_0x1d87c2=_0x43a0d8[0x1+(_0x4e7123<<0x1)],_0x167834=_0xdff083?this['stackID'](_0x4ecfbc)+'\x20->\x20':'';if(_0x4ecfbc['deadEnd']){if(_0x25e62a)continue;if(_0x25e62a=!0x0,_0x4ecfbc['restart'](),_0xdff083&&console['log'](_0x167834+this['stackID'](_0x4ecfbc)+'\x20(restarted)'),this['advanceFully'](_0x4ecfbc,_0x5b91bd))continue;}let _0x401ca9=_0x4ecfbc['split'](),_0x468b56=_0x167834;for(let _0x29c48c=0x0;_0x29c48c<0xa&&_0x401ca9['forceReduce']();_0x29c48c++){if(_0xdff083&&console['log'](_0x468b56+this['stackID'](_0x401ca9)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x401ca9,_0x5b91bd))break;_0xdff083&&(_0x468b56=this['stackID'](_0x401ca9)+'\x20->\x20');}for(let _0x3d235e of _0x4ecfbc['recoverByInsert'](_0x143c0b))_0xdff083&&console['log'](_0x167834+this['stackID'](_0x3d235e)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x3d235e,_0x5b91bd);this['stream']['end']>_0x4ecfbc['pos']?(_0x1d87c2==_0x4ecfbc['pos']&&(_0x1d87c2++,_0x143c0b=0x0),_0x4ecfbc['recoverByDelete'](_0x143c0b,_0x1d87c2),_0xdff083&&console['log'](_0x167834+this['stackID'](_0x4ecfbc)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x143c0b)+')')),_0x5ba275(_0x4ecfbc,_0x5b91bd)):(!_0x3110ca||_0x3110ca['score']<_0x4ecfbc['score'])&&(_0x3110ca=_0x4ecfbc);}return _0x3110ca;}['stackToTree'](_0x3c554a){return _0x3c554a['close'](),_0x5c5fb3['build']({'buffer':StackBufferCursor['create'](_0x3c554a),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x3c554a['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x3ed653){let _0x2d6760=(_0x176ca5||(_0x176ca5=new WeakMap()))['get'](_0x3ed653);return _0x2d6760||_0x176ca5['set'](_0x3ed653,_0x2d6760=String['fromCodePoint'](this['nextStackID']++)),_0x2d6760+_0x3ed653;}}function _0x5ba275(_0xac963a,_0x107fe4){for(let _0x5027f9=0x0;_0x5027f9<_0x107fe4['length'];_0x5027f9++){let _0x11e5a2=_0x107fe4[_0x5027f9];if(_0x11e5a2['pos']==_0xac963a['pos']&&_0x11e5a2['sameState'](_0xac963a))return void(_0x107fe4[_0x5027f9]['score']<_0xac963a['score']&&(_0x107fe4[_0x5027f9]=_0xac963a));}_0x107fe4['push'](_0xac963a);}class Dialect{constructor(_0x7d8e4b,_0x16868f,_0x4094f9){this['source']=_0x7d8e4b,this['flags']=_0x16868f,this['disabled']=_0x4094f9;}['allows'](_0x466415){return!this['disabled']||0x0==this['disabled'][_0x466415];}}const _0x58f8ec=_0x71824c=>_0x71824c;class ContextTracker{constructor(_0x2caaba){this['start']=_0x2caaba['start'],this['shift']=_0x2caaba['shift']||_0x58f8ec,this['reduce']=_0x2caaba['reduce']||_0x58f8ec,this['reuse']=_0x2caaba['reuse']||_0x58f8ec,this['hash']=_0x2caaba['hash']||(()=>0x0),this['strict']=!0x1!==_0x2caaba['strict'];}}class _0x54f96d extends _0x583980{constructor(_0x7cb746){if(super(),this['wrappers']=[],0xe!=_0x7cb746['version'])throw new RangeError('Parser\x20version\x20('+_0x7cb746['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x2767e9=_0x7cb746['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x2767e9['length'];for(let _0x2b4c2b=0x0;_0x2b4c2b<_0x7cb746['repeatNodeCount'];_0x2b4c2b++)_0x2767e9['push']('');let _0x29ac6d=Object['keys'](_0x7cb746['topRules'])['map'](_0x5f220b=>_0x7cb746['topRules'][_0x5f220b][0x1]),_0x1d2d80=[];for(let _0x516502=0x0;_0x516502<_0x2767e9['length'];_0x516502++)_0x1d2d80['push']([]);function _0x385b4b(_0x196d13,_0x19dd8e,_0x364dde){_0x1d2d80[_0x196d13]['push']([_0x19dd8e,_0x19dd8e['deserialize'](String(_0x364dde))]);}if(_0x7cb746['nodeProps'])for(let _0x3f6bf9 of _0x7cb746['nodeProps']){let _0x48f84f=_0x3f6bf9[0x0];'string'==typeof _0x48f84f&&(_0x48f84f=_0x16f115[_0x48f84f]);for(let _0x2533bd=0x1;_0x2533bd<_0x3f6bf9['length'];){let _0x28d344=_0x3f6bf9[_0x2533bd++];if(_0x28d344>=0x0)_0x385b4b(_0x28d344,_0x48f84f,_0x3f6bf9[_0x2533bd++]);else{let _0x4cdcdd=_0x3f6bf9[_0x2533bd+-_0x28d344];for(let _0x350c60=-_0x28d344;_0x350c60>0x0;_0x350c60--)_0x385b4b(_0x3f6bf9[_0x2533bd++],_0x48f84f,_0x4cdcdd);_0x2533bd++;}}}this['nodeSet']=new NodeSet(_0x2767e9['map']((_0x430dc8,_0x1e569d)=>_0x242d89['define']({'name':_0x1e569d>=this['minRepeatTerm']?void 0x0:_0x430dc8,'id':_0x1e569d,'props':_0x1d2d80[_0x1e569d],'top':_0x29ac6d['indexOf'](_0x1e569d)>-0x1,'error':0x0==_0x1e569d,'skipped':_0x7cb746['skippedNodes']&&_0x7cb746['skippedNodes']['indexOf'](_0x1e569d)>-0x1}))),_0x7cb746['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x7cb746['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x237f6c;let _0x361c37=_0x1ba937(_0x7cb746['tokenData']);this['context']=_0x7cb746['context'],this['specializerSpecs']=_0x7cb746['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x1019fb=0x0;_0x1019fb<this['specializerSpecs']['length'];_0x1019fb++)this['specialized'][_0x1019fb]=this['specializerSpecs'][_0x1019fb]['term'];this['specializers']=this['specializerSpecs']['map'](_0x5348d6),this['states']=_0x1ba937(_0x7cb746['states'],Uint32Array),this['data']=_0x1ba937(_0x7cb746['stateData']),this['goto']=_0x1ba937(_0x7cb746['goto']),this['maxTerm']=_0x7cb746['maxTerm'],this['tokenizers']=_0x7cb746['tokenizers']['map'](_0x287a16=>'number'==typeof _0x287a16?new _0x1c6516(_0x361c37,_0x287a16):_0x287a16),this['topRules']=_0x7cb746['topRules'],this['dialects']=_0x7cb746['dialects']||{},this['dynamicPrecedences']=_0x7cb746['dynamicPrecedences']||null,this['tokenPrecTable']=_0x7cb746['tokenPrec'],this['termNames']=_0x7cb746['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x2f86b0,_0x5989b9,_0x4de172){let _0x4f248f=new _0x3080da(this,_0x2f86b0,_0x5989b9,_0x4de172);for(let _0x3c0bbc of this['wrappers'])_0x4f248f=_0x3c0bbc(_0x4f248f,_0x2f86b0,_0x5989b9,_0x4de172);return _0x4f248f;}['getGoto'](_0xe36338,_0x46ed91,_0x163b01=!0x1){let _0x8e083b=this['goto'];if(_0x46ed91>=_0x8e083b[0x0])return-0x1;for(let _0x5be826=_0x8e083b[_0x46ed91+0x1];;){let _0x35fcbc=_0x8e083b[_0x5be826++],_0x47262b=0x1&_0x35fcbc,_0x363f14=_0x8e083b[_0x5be826++];if(_0x47262b&&_0x163b01)return _0x363f14;for(let _0x5f2089=_0x5be826+(_0x35fcbc>>0x1);_0x5be826<_0x5f2089;_0x5be826++)if(_0x8e083b[_0x5be826]==_0xe36338)return _0x363f14;if(_0x47262b)return-0x1;}}['hasAction'](_0x2da7e7,_0x2354c3){let _0x2027e8=this['data'];for(let _0x3816ec=0x0;_0x3816ec<0x2;_0x3816ec++)for(let _0x7a63a0,_0xe4c228=this['stateSlot'](_0x2da7e7,_0x3816ec?0x2:0x1);;_0xe4c228+=0x3){if(0xffff==(_0x7a63a0=_0x2027e8[_0xe4c228])){if(0x1!=_0x2027e8[_0xe4c228+0x1]){if(0x2==_0x2027e8[_0xe4c228+0x1])return _0x58c871(_0x2027e8,_0xe4c228+0x2);break;}_0x7a63a0=_0x2027e8[_0xe4c228=_0x58c871(_0x2027e8,_0xe4c228+0x2)];}if(_0x7a63a0==_0x2354c3||0x0==_0x7a63a0)return _0x58c871(_0x2027e8,_0xe4c228+0x1);}return 0x0;}['stateSlot'](_0x21ea41,_0x502bcb){return this['states'][0x6*_0x21ea41+_0x502bcb];}['stateFlag'](_0x5bf554,_0x2c5d0e){return(this['stateSlot'](_0x5bf554,0x0)&_0x2c5d0e)>0x0;}['validAction'](_0x4e1d07,_0x5460b1){return!!this['allActions'](_0x4e1d07,_0x587cd5=>_0x587cd5==_0x5460b1||null);}['allActions'](_0x3ca12a,_0x47a966){let _0x1549c5=this['stateSlot'](_0x3ca12a,0x4),_0xcb9cdc=_0x1549c5?_0x47a966(_0x1549c5):void 0x0;for(let _0x15f216=this['stateSlot'](_0x3ca12a,0x1);null==_0xcb9cdc;_0x15f216+=0x3){if(0xffff==this['data'][_0x15f216]){if(0x1!=this['data'][_0x15f216+0x1])break;_0x15f216=_0x58c871(this['data'],_0x15f216+0x2);}_0xcb9cdc=_0x47a966(_0x58c871(this['data'],_0x15f216+0x1));}return _0xcb9cdc;}['nextStates'](_0x222d4e){let _0x3fcd94=[];for(let _0x2f696b=this['stateSlot'](_0x222d4e,0x1);;_0x2f696b+=0x3){if(0xffff==this['data'][_0x2f696b]){if(0x1!=this['data'][_0x2f696b+0x1])break;_0x2f696b=_0x58c871(this['data'],_0x2f696b+0x2);}if(!(0x1&this['data'][_0x2f696b+0x2])){let _0x534bd8=this['data'][_0x2f696b+0x1];_0x3fcd94['some']((_0x371d32,_0x25bfe8)=>0x1&_0x25bfe8&&_0x371d32==_0x534bd8)||_0x3fcd94['push'](this['data'][_0x2f696b],_0x534bd8);}}return _0x3fcd94;}['configure'](_0x37d4ac){let _0x51d327=Object['assign'](Object['create'](_0x54f96d['prototype']),this);if(_0x37d4ac['props']&&(_0x51d327['nodeSet']=this['nodeSet']['extend'](..._0x37d4ac['props'])),_0x37d4ac['top']){let _0x278838=this['topRules'][_0x37d4ac['top']];if(!_0x278838)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x37d4ac['top']);_0x51d327['top']=_0x278838;}return _0x37d4ac['tokenizers']&&(_0x51d327['tokenizers']=this['tokenizers']['map'](t=>{let _0x3eb0e6=_0x37d4ac['tokenizers']['find'](_0x1b16fb=>_0x1b16fb['from']==t);return _0x3eb0e6?_0x3eb0e6['to']:t;})),_0x37d4ac['specializers']&&(_0x51d327['specializers']=this['specializers']['slice'](),_0x51d327['specializerSpecs']=this['specializerSpecs']['map']((_0x2026a9,_0x12c8f9)=>{let _0x16c809=_0x37d4ac['specializers']['find'](_0x1b232b=>_0x1b232b['from']==_0x2026a9['external']);if(!_0x16c809)return _0x2026a9;let _0x593d60=Object['assign'](Object['assign']({},_0x2026a9),{'external':_0x16c809['to']});return _0x51d327['specializers'][_0x12c8f9]=_0x5348d6(_0x593d60),_0x593d60;})),_0x37d4ac['contextTracker']&&(_0x51d327['context']=_0x37d4ac['contextTracker']),_0x37d4ac['dialect']&&(_0x51d327['dialect']=this['parseDialect'](_0x37d4ac['dialect'])),null!=_0x37d4ac['strict']&&(_0x51d327['strict']=_0x37d4ac['strict']),_0x37d4ac['wrap']&&(_0x51d327['wrappers']=_0x51d327['wrappers']['concat'](_0x37d4ac['wrap'])),null!=_0x37d4ac['bufferLength']&&(_0x51d327['bufferLength']=_0x37d4ac['bufferLength']),_0x51d327;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x40514f){return this['termNames']?this['termNames'][_0x40514f]:String(_0x40514f<=this['maxNode']&&this['nodeSet']['types'][_0x40514f]['name']||_0x40514f);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x46bce3){let _0x1716ba=this['dynamicPrecedences'];return null==_0x1716ba?0x0:_0x1716ba[_0x46bce3]||0x0;}['parseDialect'](_0x3ea7b5){let _0x17578e=Object['keys'](this['dialects']),_0x123325=_0x17578e['map'](()=>!0x1);if(_0x3ea7b5)for(let _0x33d256 of _0x3ea7b5['split']('\x20')){let _0x560ccd=_0x17578e['indexOf'](_0x33d256);_0x560ccd>=0x0&&(_0x123325[_0x560ccd]=!0x0);}let _0x323644=null;for(let _0x21ff03=0x0;_0x21ff03<_0x17578e['length'];_0x21ff03++)if(!_0x123325[_0x21ff03]){for(let _0x4427e3,_0x3a0027=this['dialects'][_0x17578e[_0x21ff03]];0xffff!=(_0x4427e3=this['data'][_0x3a0027++]);)(_0x323644||(_0x323644=new Uint8Array(this['maxTerm']+0x1)))[_0x4427e3]=0x1;}return new Dialect(_0x3ea7b5,_0x123325,_0x323644);}static['deserialize'](_0x394e8c){return new _0x54f96d(_0x394e8c);}}function _0x58c871(_0x14fd29,_0x59e585){return _0x14fd29[_0x59e585]|_0x14fd29[_0x59e585+0x1]<<0x10;}function _0x5348d6(_0x1a85b2){if(_0x1a85b2['external']){let _0x121980=_0x1a85b2['extend']?0x1:0x0;return(_0x2bcff0,_0x58bf73)=>_0x1a85b2['external'](_0x2bcff0,_0x58bf73)<<0x1|_0x121980;}return _0x1a85b2['get'];}const _0x1cfedf={'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},_0x5173b0={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x2753c1={'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 _0xce6db9(_0x3918fa){return 0x2d==_0x3918fa||0x2e==_0x3918fa||0x3a==_0x3918fa||_0x3918fa>=0x41&&_0x3918fa<=0x5a||0x5f==_0x3918fa||_0x3918fa>=0x61&&_0x3918fa<=0x7a||_0x3918fa>=0xa1;}let _0x313a81=null,_0x3540bf=null,_0x43d825=0x0;function _0x3fd3c9(_0x23737b,_0x115ebc){let _0xe4d998=_0x23737b['pos']+_0x115ebc;if(_0x43d825==_0xe4d998&&_0x3540bf==_0x23737b)return _0x313a81;let _0x220bcc=_0x23737b['peek'](_0x115ebc),_0x1f3894='';for(;_0xce6db9(_0x220bcc);)_0x1f3894+=String['fromCharCode'](_0x220bcc),_0x220bcc=_0x23737b['peek'](++_0x115ebc);return _0x3540bf=_0x23737b,_0x43d825=_0xe4d998,_0x313a81=_0x1f3894?_0x1f3894['toLowerCase']():_0x220bcc==_0x3cc006||_0x220bcc==_0x4552eb?void 0x0:null;}const _0x3cc006=0x3f,_0x4552eb=0x21;function _0x4cc078(_0x4aa2f1,_0x4f5b44){this['name']=_0x4aa2f1,this['parent']=_0x4f5b44;}const _0x15e72d=[0x6,0xa,0x7,0x8,0x9],_0x3cfdb4=new ContextTracker({'start':null,'shift':(_0x57db02,_0x49d5ac,_0x27b1b9,_0x584e4e)=>_0x15e72d['indexOf'](_0x49d5ac)>-0x1?new _0x4cc078(_0x3fd3c9(_0x584e4e,0x1)||'',_0x57db02):_0x57db02,'reduce':(_0x34bf6e,_0x2b0b3c)=>0x15==_0x2b0b3c&&_0x34bf6e?_0x34bf6e['parent']:_0x34bf6e,'reuse'(_0x471134,_0x921c7b,_0x1c4d8c,_0x1b2987){let _0x37364c=_0x921c7b['type']['id'];return 0x6==_0x37364c||0x25==_0x37364c?new _0x4cc078(_0x3fd3c9(_0x1b2987,0x1)||'',_0x471134):_0x471134;},'strict':!0x1}),_0x4e7fda=new ExternalTokenizer((_0x1df537,_0x1215d0)=>{if(0x3c!=_0x1df537['next'])return void(_0x1df537['next']<0x0&&_0x1215d0['context']&&_0x1df537['acceptToken'](0x3a));_0x1df537['advance']();let _0x209d4d=0x2f==_0x1df537['next'];_0x209d4d&&_0x1df537['advance']();let _0xf9e068=_0x3fd3c9(_0x1df537,0x0);if(void 0x0===_0xf9e068)return;if(!_0xf9e068)return _0x1df537['acceptToken'](_0x209d4d?0xf:0xe);let _0xeb6bc0=_0x1215d0['context']?_0x1215d0['context']['name']:null;if(_0x209d4d){if(_0xf9e068==_0xeb6bc0)return _0x1df537['acceptToken'](0xb);if(_0xeb6bc0&&_0x5173b0[_0xeb6bc0])return _0x1df537['acceptToken'](0x3a,-0x2);if(_0x1215d0['dialectEnabled'](0x0))return _0x1df537['acceptToken'](0xc);for(let _0x5f4ccf=_0x1215d0['context'];_0x5f4ccf;_0x5f4ccf=_0x5f4ccf['parent'])if(_0x5f4ccf['name']==_0xf9e068)return;_0x1df537['acceptToken'](0xd);}else{if('script'==_0xf9e068)return _0x1df537['acceptToken'](0x7);if('style'==_0xf9e068)return _0x1df537['acceptToken'](0x8);if('textarea'==_0xf9e068)return _0x1df537['acceptToken'](0x9);if(_0x1cfedf['hasOwnProperty'](_0xf9e068))return _0x1df537['acceptToken'](0xa);_0xeb6bc0&&_0x2753c1[_0xeb6bc0]&&_0x2753c1[_0xeb6bc0][_0xf9e068]?_0x1df537['acceptToken'](0x3a,-0x1):_0x1df537['acceptToken'](0x6);}},{'contextual':!0x0}),_0x118f76=new ExternalTokenizer(_0x1b1d3b=>{for(let _0x52ada1=0x0,_0x3b8139=0x0;;_0x3b8139++){if(_0x1b1d3b['next']<0x0){_0x3b8139&&_0x1b1d3b['acceptToken'](0x3b);break;}if(0x2d==_0x1b1d3b['next'])_0x52ada1++;else{if(0x3e==_0x1b1d3b['next']&&_0x52ada1>=0x2){_0x3b8139>=0x3&&_0x1b1d3b['acceptToken'](0x3b,-0x2);break;}_0x52ada1=0x0;}_0x1b1d3b['advance']();}}),_0x2a8e26=new ExternalTokenizer((_0x29561d,_0x4b7af9)=>{if(0x2f==_0x29561d['next']&&0x3e==_0x29561d['peek'](0x1)){let _0xb74d43=_0x4b7af9['dialectEnabled'](0x1)||function(_0x3d3d5d){for(;_0x3d3d5d;_0x3d3d5d=_0x3d3d5d['parent'])if('svg'==_0x3d3d5d['name']||'math'==_0x3d3d5d['name'])return!0x0;return!0x1;}(_0x4b7af9['context']);_0x29561d['acceptToken'](_0xb74d43?0x5:0x4,0x2);}else 0x3e==_0x29561d['next']&&_0x29561d['acceptToken'](0x4,0x1);});function _0x43dba0(_0x1a122c,_0x5b6cfd,_0x1679b1){let _0x157c5b=0x2+_0x1a122c['length'];return new ExternalTokenizer(_0x1327c8=>{for(let _0x174565=0x0,_0x415cf3=0x0,_0x29dbc4=0x0;;_0x29dbc4++){if(_0x1327c8['next']<0x0){_0x29dbc4&&_0x1327c8['acceptToken'](_0x5b6cfd);break;}if(0x0==_0x174565&&0x3c==_0x1327c8['next']||0x1==_0x174565&&0x2f==_0x1327c8['next']||_0x174565>=0x2&&_0x174565<_0x157c5b&&_0x1327c8['next']==_0x1a122c['charCodeAt'](_0x174565-0x2))_0x174565++,_0x415cf3++;else{if(_0x174565==_0x157c5b&&0x3e==_0x1327c8['next']){_0x29dbc4>_0x415cf3?_0x1327c8['acceptToken'](_0x5b6cfd,-_0x415cf3):_0x1327c8['acceptToken'](_0x1679b1,-(_0x415cf3-0x2));break;}if((0xa==_0x1327c8['next']||0xd==_0x1327c8['next'])&&_0x29dbc4){_0x1327c8['acceptToken'](_0x5b6cfd,0x1);break;}_0x174565=_0x415cf3=0x0;}_0x1327c8['advance']();}});}const _0x51ffea=_0x43dba0('script',0x37,0x1),tS=_0x43dba0('style',0x38,0x2),_0x545b88=_0x43dba0('textarea',0x39,0x3),_0x5a78e1=_0x4a339a({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x422c5c['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x422c5c['angleBracket'],'TagName':_0x422c5c['tagName'],'MismatchedCloseTag/TagName':[_0x422c5c['tagName'],_0x422c5c['invalid']],'AttributeName':_0x422c5c['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x422c5c['attributeValue'],'Is':_0x422c5c['definitionOperator'],'EntityReference\x20CharacterReference':_0x422c5c['character'],'Comment':_0x422c5c['blockComment'],'ProcessingInst':_0x422c5c['processingInstruction'],'DoctypeDecl':_0x422c5c['documentMeta']}),_0xacbc25=_0x54f96d['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':_0x3cfdb4,'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':[_0x5a78e1],'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':[_0x51ffea,tS,_0x545b88,_0x2a8e26,_0x4e7fda,_0x118f76,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0xea16ef(_0x5035e4,_0x44d35e){let _0x4f7a3b=Object['create'](null);for(let _0x316b99 of _0x5035e4['getChildren'](0x18)){let _0x1af87f=_0x316b99['getChild'](0x19),_0x2b44b7=_0x316b99['getChild'](0x1b)||_0x316b99['getChild'](0x1c);_0x1af87f&&(_0x4f7a3b[_0x44d35e['read'](_0x1af87f['from'],_0x1af87f['to'])]=_0x2b44b7?0x1b==_0x2b44b7['type']['id']?_0x44d35e['read'](_0x2b44b7['from']+0x1,_0x2b44b7['to']-0x1):_0x44d35e['read'](_0x2b44b7['from'],_0x2b44b7['to']):'');}return _0x4f7a3b;}function _0x5ef172(_0x2c838,_0x1a5ffb){let _0x594b7b=_0x2c838['getChild'](0x17);return _0x594b7b?_0x1a5ffb['read'](_0x594b7b['from'],_0x594b7b['to']):'\x20';}function _0x1ec697(_0x5d605f,_0x517566,_0xcc813e){let _0x48f502;for(let _0x156895 of _0xcc813e)if(!_0x156895['attrs']||_0x156895['attrs'](_0x48f502||(_0x48f502=_0xea16ef(_0x5d605f['node']['parent']['firstChild'],_0x517566))))return{'parser':_0x156895['parser']};return null;}function _0x53da5e(_0x53231d=[],_0x3c6bbf=[]){let _0x3093a3=[],_0x59176d=[],_0x12ad58=[],_0x226268=[];for(let _0x17f5ed of _0x53231d){('script'==_0x17f5ed['tag']?_0x3093a3:'style'==_0x17f5ed['tag']?_0x59176d:'textarea'==_0x17f5ed['tag']?_0x12ad58:_0x226268)['push'](_0x17f5ed);}let _0x33d297=_0x3c6bbf['length']?Object['create'](null):null;for(let _0x30e8e9 of _0x3c6bbf)(_0x33d297[_0x30e8e9['name']]||(_0x33d297[_0x30e8e9['name']]=[]))['push'](_0x30e8e9);return _0x318474((_0x33ac72,_0x34080c)=>{let _0x2fa4e4=_0x33ac72['type']['id'];if(0x1d==_0x2fa4e4)return _0x1ec697(_0x33ac72,_0x34080c,_0x3093a3);if(0x20==_0x2fa4e4)return _0x1ec697(_0x33ac72,_0x34080c,_0x59176d);if(0x23==_0x2fa4e4)return _0x1ec697(_0x33ac72,_0x34080c,_0x12ad58);if(0x15==_0x2fa4e4&&_0x226268['length']){let _0x52d09f,_0x4781d7=_0x33ac72['node'],_0x245ad4=_0x4781d7['firstChild'],_0xfbccc8=_0x245ad4&&_0x5ef172(_0x245ad4,_0x34080c);if(_0xfbccc8){for(let _0x312807 of _0x226268)if(_0x312807['tag']==_0xfbccc8&&(!_0x312807['attrs']||_0x312807['attrs'](_0x52d09f||(_0x52d09f=_0xea16ef(_0x245ad4,_0x34080c))))){let _0x5d0637=_0x4781d7['lastChild'],_0x269e47=0x26==_0x5d0637['type']['id']?_0x5d0637['from']:_0x4781d7['to'];if(_0x269e47>_0x245ad4['to'])return{'parser':_0x312807['parser'],'overlay':[{'from':_0x245ad4['to'],'to':_0x269e47}]};}}}if(_0x33d297&&0x18==_0x2fa4e4){let _0x34dc2f,_0x1628d4=_0x33ac72['node'];if(_0x34dc2f=_0x1628d4['firstChild']){let _0x2459f0=_0x33d297[_0x34080c['read'](_0x34dc2f['from'],_0x34dc2f['to'])];if(_0x2459f0)for(let _0x47e204 of _0x2459f0){if(_0x47e204['tagName']&&_0x47e204['tagName']!=_0x5ef172(_0x1628d4['parent'],_0x34080c))continue;let _0x13d6a4=_0x1628d4['lastChild'];if(0x1b==_0x13d6a4['type']['id']){let _0xf551d=_0x13d6a4['from']+0x1,_0x1c7757=_0x13d6a4['lastChild'],_0x112738=_0x13d6a4['to']-(_0x1c7757&&_0x1c7757['isError']?0x0:0x1);if(_0x112738>_0xf551d)return{'parser':_0x47e204['parser'],'overlay':[{'from':_0xf551d,'to':_0x112738}]};}else{if(0x1c==_0x13d6a4['type']['id'])return{'parser':_0x47e204['parser'],'overlay':[{'from':_0x13d6a4['from'],'to':_0x13d6a4['to']}]};}}}}return null;});}const _0x12c639=[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 _0x32b3c4(_0x2d2ac3){return _0x2d2ac3>=0x41&&_0x2d2ac3<=0x5a||_0x2d2ac3>=0x61&&_0x2d2ac3<=0x7a||_0x2d2ac3>=0xa1;}function _0x11b17c(_0x12389e){return _0x12389e>=0x30&&_0x12389e<=0x39;}function _0x507682(_0x1b8ba4){return _0x11b17c(_0x1b8ba4)||_0x1b8ba4>=0x61&&_0x1b8ba4<=0x66||_0x1b8ba4>=0x41&&_0x1b8ba4<=0x46;}const _0x1226ad=(_0x240f31,_0x5ac80b,_0x321559)=>(_0x5692ca,_0x5963b7)=>{for(let _0x515bef=!0x1,_0x12cc6a=0x0,_0x453a51=0x0;;_0x453a51++){let {next:_0x10dbda}=_0x5692ca;if(_0x32b3c4(_0x10dbda)||0x2d==_0x10dbda||0x5f==_0x10dbda||_0x515bef&&_0x11b17c(_0x10dbda))!_0x515bef&&(0x2d!=_0x10dbda||_0x453a51>0x0)&&(_0x515bef=!0x0),_0x12cc6a===_0x453a51&&0x2d==_0x10dbda&&_0x12cc6a++,_0x5692ca['advance']();else{if(0x5c!=_0x10dbda||0xa==_0x5692ca['peek'](0x1)){_0x515bef&&_0x5692ca['acceptToken'](0x2==_0x12cc6a&&_0x5963b7['canShift'](0x2)?_0x5ac80b:0x28==_0x10dbda?_0x321559:_0x240f31);break;}if(_0x5692ca['advance'](),_0x507682(_0x5692ca['next'])){do{_0x5692ca['advance']();}while(_0x507682(_0x5692ca['next']));0x20==_0x5692ca['next']&&_0x5692ca['advance']();}else _0x5692ca['next']>-0x1&&_0x5692ca['advance']();_0x515bef=!0x0;}}},_0x71ca9f=new ExternalTokenizer(_0x1226ad(0x7b,0x2,0x7c)),_0x50f0be=new ExternalTokenizer(_0x1226ad(0x7d,0x3,0x4)),_0x2e5c9c=new ExternalTokenizer(_0x915749=>{if(_0x12c639['includes'](_0x915749['peek'](-0x1))){let {next:_0x448004}=_0x915749;(_0x32b3c4(_0x448004)||0x5f==_0x448004||0x23==_0x448004||0x2e==_0x448004||0x2a==_0x448004||0x5b==_0x448004||0x3a==_0x448004&&_0x32b3c4(_0x915749['peek'](0x1))||0x2d==_0x448004||0x26==_0x448004)&&_0x915749['acceptToken'](0x7a);}}),_0x532e2e=new ExternalTokenizer(_0x3226bc=>{if(!_0x12c639['includes'](_0x3226bc['peek'](-0x1))){let {next:_0x5b74a6}=_0x3226bc;if(0x25==_0x5b74a6&&(_0x3226bc['advance'](),_0x3226bc['acceptToken'](0x1)),_0x32b3c4(_0x5b74a6)){do{_0x3226bc['advance']();}while(_0x32b3c4(_0x3226bc['next'])||_0x11b17c(_0x3226bc['next']));_0x3226bc['acceptToken'](0x1);}}}),_0x2e7810=_0x4a339a({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':_0x422c5c['definitionKeyword'],'from\x20to\x20selector':_0x422c5c['keyword'],'NamespaceName':_0x422c5c['namespace'],'KeyframeName':_0x422c5c['labelName'],'KeyframeRangeName':_0x422c5c['operatorKeyword'],'TagName':_0x422c5c['tagName'],'ClassName':_0x422c5c['className'],'PseudoClassName':_0x422c5c['constant'](_0x422c5c['className']),'IdName':_0x422c5c['labelName'],'FeatureName\x20PropertyName':_0x422c5c['propertyName'],'AttributeName':_0x422c5c['attributeName'],'NumberLiteral':_0x422c5c['number'],'KeywordQuery':_0x422c5c['keyword'],'UnaryQueryOp':_0x422c5c['operatorKeyword'],'CallTag\x20ValueName':_0x422c5c['atom'],'VariableName':_0x422c5c['variableName'],'Callee':_0x422c5c['operatorKeyword'],'Unit':_0x422c5c['unit'],'UniversalSelector\x20NestingSelector':_0x422c5c['definitionOperator'],'MatchOp\x20CompareOp':_0x422c5c['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x422c5c['logicOperator'],'BinOp':_0x422c5c['arithmeticOperator'],'Important':_0x422c5c['modifier'],'Comment':_0x422c5c['blockComment'],'ColorLiteral':_0x422c5c['color'],'ParenthesizedContent\x20StringLiteral':_0x422c5c['string'],':':_0x422c5c['punctuation'],'PseudoOp\x20#':_0x422c5c['derefOperator'],';\x20,':_0x422c5c['separator'],'(\x20)':_0x422c5c['paren'],'[\x20]':_0x422c5c['squareBracket'],'{\x20}':_0x422c5c['brace']}),_0x3c1933={'__proto__':null,'lang':0x26,'nth-child':0x26,'nth-last-child':0x26,'nth-of-type':0x26,'nth-last-of-type':0x26,'dir':0x26,'host-context':0x26,'if':0x54,'url':0x7c,'url-prefix':0x7c,'domain':0x7c,'regexp':0x7c},_0x31c438={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x4672f5={'__proto__':null,'selector':0x70,'layer':0xa6},_0x195afb={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},_0x5cdd60={'__proto__':null,'to':0xcf},_0x1c2f60=_0x54f96d['deserialize']({'version':0xe,'states':'EbQYQdOOO#qQdOOP#xO`OOOOQP\x27#Cf\x27#CfOOQP\x27#Ce\x27#CeO#}QdO\x27#ChO$nQaO\x27#CcO$xQdO\x27#CkO%TQdO\x27#DpO%YQdO\x27#DrO%_QdO\x27#DuO%_QdO\x27#DxOOQP\x27#FV\x27#FVO&eQhO\x27#EhOOQS\x27#FU\x27#FUOOQS\x27#Ek\x27#EkQYQdOOO&lQdO\x27#EOO&PQhO\x27#EUO&lQdO\x27#EWO\x27aQdO\x27#EYO\x27lQdO\x27#E]O\x27tQhO\x27#EcO(VQdO\x27#EeO(bQaO\x27#CfO)VQ`O\x27#D{O)[Q`O\x27#F`O)gQdO\x27#F`QOQ`OOP)qO&jO\x27#CaPOOO)C@t)C@tOOQP\x27#Cj\x27#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO\x27#ErO*XQ`O,58}O*aQdO\x27#DzOOQS,58},58}OOQP\x27#Cn\x27#CnOOQO\x27#Dn\x27#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP\x27#Dq\x27#DqOOQP,5:[,5:[OOQO\x27#Ds\x27#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW\x27#DZ\x27#DZO,ZQhO\x27#DdO,xQhO\x27#FaO\x27tQhO\x27#DbO-WQ`O\x27#DhOOQW\x27#F[\x27#F[O-]Q`O,5;SO-eQ`O\x27#DeOOQS-E8i-E8iOOQ[\x27#Cs\x27#CsO-jQdO\x27#CtO.QQdO\x27#CzO.hQdO\x27#C}O/OQ!pO\x27#DPO1RQ!jO,5:jOOQO\x27#DU\x27#DUO*mQ`O\x27#DTO1cQ!nO\x27#FXO3`Q`O\x27#DVO3eQ`O\x27#DkOOQ[\x27#FX\x27#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS\x27#E[\x27#E[O3rQ`O,5:tO3wQdO,5:tOOQO\x27#E_\x27#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO\x27#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO\x27#EtO5TQ`O,5;zO5TQ`O,5;zPOOO\x27#Ej\x27#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO\x27#DoO7oQdO\x27#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO\x27#DZO8UQ!bO,59vO8^QhO,5:OOOQO\x27#F]\x27#F]O8XQ!bO,59zO\x27tQhO,59xO8fQhO\x27#EvO8sQ`O,5;{O9OQhO,59|O9uQhO\x27#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO\x27#FYOOQS\x27#FY\x27#FYOOQS\x27#Em\x27#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mO<rQhO\x27#EQOOQW\x27#EQ\x27#EQO=WQ`O1G0UO1[QhO1G0UOOQ[,59o,59oO\x27tQhO\x27#DXOOQ[,59q,59qO=]Q#tO,5:VOOQS1G0[1G0[OOQS1G0^1G0^OOQS1G0`1G0`O=hQ`O1G0`O=mQdO\x27#E`OOQS1G0c1G0cOOQS1G0i1G0iO=xQaO,5:RO-`Q`O1G0kOOQS1G0k1G0kO-eQ`O1G0kO>PQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO\x27#F_O?ZQ`O,5:ZO?`Q!fO\x27#ElO@^QdO\x27#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO\x27#DZOAtQhO\x27#F^OBPQ`O\x27#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO\x27#DYOBmQ`O,59sO\x27tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO\x27#DPOOQO\x27#Eb\x27#EbOCYQ`O\x27#EaOOQO\x27#Ea\x27#EaOCeQ`O\x27#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO\x27#EsO&lQdO\x27#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<<IOOElQdO\x27#EqOEvQ`O,5;yOOQP1G/u1G/uOOQS-E8j-E8jOFOQdO\x27#EpOFYQ`O,5;rOOQ]1G.x1G.xOOQP<<IO<<IOOFbQdO7+$|OOQO\x27#D]\x27#D]OFiQ!bO7+%QOFqQhO\x27#EoOF{Q`O,5;xO&lQdO,5;xOOQW1G/o1G/oOOQO\x27#ES\x27#ESOGTQ`O1G0WOOQS<<I[<<I[O&lQdO,59tOGnQhO1G/_OOQ[1G/_1G/_OGuQ`O1G/_OOQW-E8l-E8lOOQ[7+%]7+%]OOQO,5:{,5:{O=pQdO\x27#ExOCeQ`O,5;cOOQS,5;c,5;cOOQS-E8u-E8uOOQS1G0f1G0fOOQS<<Iq<<IqOG}Q!fO,5;_OOQS-E8q-E8qOOQO<<IX<<IXOOQPAN>jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<<Hh<<HhOOQW<<Hl<<HlOIjQhO<<HlOI{QhO,5;ZOJWQ`O,5;ZOOQO-E8m-E8mOJ]QdO1G1dOBZQdO\x27#EuOJgQ`O7+%rOOQW7+%r7+%rOJoQ!bO1G/`OOQ[7+$y7+$yOJzQhO7+$yPKRQ`O\x27#EnOOQO,5;d,5;dOOQO-E8v-E8vOOQS1G0}1G0}OKWQ`OAN>WO&lQdO1G0uOK]Q`O7+\x27OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<<I^<<I^OOQ[<<He<<HePOQW,5;Y,5;YOOQWG23rG23rOKeQdO7+&a','stateData':'Kx~O#sOS#tQQ~OW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#oRO~OQiOW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#ohO~O#m$SP~P!dO#tmO~O#ooO~O]qO`rOarOjsOmtO!juO!mwO#nvO~OpzO!^xO~P$SOc!QO#o|O#p}O~O#o!RO~O#o!TO~OW[OZ[O]TO`VOaVOjWOmXO!jYO!mZO#oRO~OS!]Oe!YO!V![O!Y!`O#q!XOp$TP~Ok$TP~P&POQ!jOe!cOm!dOp!eOr!mOt!mOz!kO!`!lO#o!bO#p!hO#}!fO~Ot!qO!`!lO#o!pO~Ot!sO#o!sO~OS!]Oe!YO!V![O!Y!`O#q!XO~Oe!vOpzO#Z!xO~O]YX`YX`!pXaYXjYXmYXpYX!^YX!jYX!mYX#nYX~O`!zO~Ok!{O#m$SXo$SX~O#m$SXo$SX~P!dO#u#OO#v#OO#w#QO~Oc#UO#o|O#p}O~OpzO!^xO~Oo$SP~P!dOe#`O~Oe#aO~Ol#bO!h#cO~O]qO`rOarOjsOmtO~Op!ia!^!ia!j!ia!m!ia#n!iad!ia~P*zOp!la!^!la!j!la!m!la#n!lad!la~P*zOR#gOS!]Oe!YOr#gOt#gO!V![O!Y!`O#q#dO#}!fO~O!R#iO!^#jOk$TXp$TX~Oe#mO~Ok#oOpzO~Oe!vO~O]#rO`#rOd#uOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl#wO~P&lO]#rO`#rOi#rOj#rOk#rOo#yO~P&lOP#zOSsXesXksXvsX!VsX!YsX!usX!wsX#qsX!TsXQsX]sX`sXdsXisXjsXmsXpsXrsXtsXzsX!`sX#osX#psX#}sXlsXosX!^sX!qsX#msX~Ov#{O!u#|O!w#}Ok$TP~P\x27tOe#aOS#{Xk#{Xv#{X!V#{X!Y#{X!u#{X!w#{X#q#{XQ#{X]#{X`#{Xd#{Xi#{Xj#{Xm#{Xp#{Xr#{Xt#{Xz#{X!`#{X#o#{X#p#{X#}#{Xl#{Xo#{X!^#{X!q#{X#m#{X~Oe$RO~Oe$TO~Ok$VOv#{O~Ok$WO~Ot$XO!`!lO~Op$YO~OpzO!R#iO~OpzO#Z$`O~O!q$bOk!oa#m!oao!oa~P&lOk#hX#m#hXo#hX~P!dOk!{O#m$Sao$Sa~O#u#OO#v#OO#w$hO~Ol$jO!h$kO~Op!ii!^!ii!j!ii!m!ii#n!iid!ii~P*zOp!ki!^!ki!j!ki!m!ki#n!kid!ki~P*zOp!li!^!li!j!li!m!li#n!lid!li~P*zOp#fa!^#fa~P$SOo$lO~Od$RP~P%_Od#zP~P&lO`!PXd}X!R}X!T!PX~O`$sO!T$tO~Od$uO!R#iO~Ok#jXp#jX!^#jX~P\x27tO!^#jOk$Tap$Ta~O!R#iOk!Uap!Ua!^!Uad!Ua`!Ua~OS!]Oe!YO!V![O!Y!`O#q$yO~Od$QP~P9dOv#{OQ#|X]#|X`#|Xd#|Xe#|Xi#|Xj#|Xk#|Xm#|Xp#|Xr#|Xt#|Xz#|X!`#|X#o#|X#p#|X#}#|Xl#|Xo#|X~O]#rO`#rOd%OOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl%PO~P&lO]#rO`#rOi#rOj#rOk#rOo%QO~P&lOe%SOS!tXk!tX!V!tX!Y!tX#q!tX~Ok%TO~Od%YOt%ZO!a%ZO~Ok%[O~Oo%cO#o%^O#}%]O~Od%dO~P$SOv#{O!^%hO!q%jOk!oi#m!oio!oi~P&lOk#ha#m#hao#ha~P!dOk!{O#m$Sio$Si~O!^%mOd$RX~P$SOd%oO~Ov#{OQ#`Xd#`Xe#`Xm#`Xp#`Xr#`Xt#`Xz#`X!^#`X!`#`X#o#`X#p#`X#}#`X~O!^%qOd#zX~P&lOd%sO~Ol%tOv#{O~OR#gOr#gOt#gO#q%vO#}!fO~O!R#iOk#jap#ja!^#ja~O`!PXd}X!R}X!^}X~O!R#iO!^%xOd$QX~O`%zO~Od%{O~O#o%|O~Ok&OO~O`&PO!R#iO~Od&ROk&QO~Od&UO~OP#zOpsX!^sXdsX~O#}%]Op#TX!^#TX~OpzO!^&WO~Oo&[O#o%^O#}%]O~Ov#{OQ#gXe#gXk#gXm#gXp#gXr#gXt#gXz#gX!^#gX!`#gX!q#gX#m#gX#o#gX#p#gX#}#gXo#gX~O!^%hO!q&`Ok!oq#m!oqo!oq~P&lOl&aOv#{O~Od#eX!^#eX~P%_O!^%mOd$Ra~Od#dX!^#dX~P&lO!^%qOd#za~Od&fO~P&lOd&gO!T&hO~Od#cX!^#cX~P9dO!^%xOd$Qa~O]&mOd&oO~OS#bae#ba!V#ba!Y#ba#q#ba~Od&qO~PG]Od&qOk&rO~Ov#{OQ#gae#gak#gam#gap#gar#gat#gaz#ga!^#ga!`#ga!q#ga#m#ga#o#ga#p#ga#}#gao#ga~Od#ea!^#ea~P$SOd#da!^#da~P&lOR#gOr#gOt#gO#q%vO#}%]O~O!R#iOd#ca!^#ca~O`&xO~O!^%xOd$Qi~P&lO]&mOd&|O~Ov#{Od|ik|i~Od&}O~PG]Ok\x27OO~Od\x27PO~O!^%xOd$Qq~Od#cq!^#cq~P&lO#s!a#t#}]#}v!m~','goto':'2h$UPPPPP$VP$YP$c$uP$cP%X$cPP%_PPP%e%o%oPPPPP%oPP%oP&]P%oP%o\x27W%oP\x27t\x27w\x27}\x27}(^\x27}P\x27}P\x27}P\x27}\x27}P(m\x27}(yP(|PP)p)v$c)|$c*SP$cP$c$cP*Y*{+YP$YP+aP+dP$YP$YP$YP+j$YP+m+p+s+z$YP$YPP$YP,P,V,f,|-[-b-l-r-x.O.U.`.f.l.rPPPPPPPPPPP.x/R/w/z0|P1U1u2O2R2U2[RnQ_^OP`kz!{$dq[OPYZ`kuvwxz!v!{#`$d%mqSOPYZ`kuvwxz!v!{#`$d%mQpTR#RqQ!OVR#SrQ#S!QS$Q!i!jR$i#U!V!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27Q!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QU#g!Y$t&hU%`$Y%b&WR&V%_!V!iac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QR$S!kQ%W$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l\x27QQ%u$sQ&d%qQ&l%zR\x27Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x\x27QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\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,\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\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\x20AtRule\x20Styles','maxTerm':0x8f,'nodeProps':[['isolate',-0x2,0x5,0x24,''],['openedBy',0x14,'(',0x1c,'[',0x1f,'{'],['closedBy',0x15,')',0x1d,']',0x20,'}']],'propSources':[_0x2e7810],'skippedNodes':[0x0,0x5,0x6a],'repeatNodeCount':0xf,'tokenData':'JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;\x27S$q;\x27S;=`Iz<%lO$q`$tSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%VS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Q~\x27ah#s~!a`OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;\x27S%Q;\x27S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;\x27S%Q;\x27S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;\x27S%Q;\x27S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;\x27S%Q;\x27S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;\x27S%Q;\x27S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;\x27S%Q;\x27S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;\x27S%Q;\x27S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;\x27S%Q;\x27S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;\x27S%Q;\x27S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c<%lO-u~.gOt~~.jRO;\x27S-u;\x27S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;\x27S%Q;\x27S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;\x27S%Q;\x27S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;\x27S%Q;\x27S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;\x27S%Q;\x27S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qb7VSZQOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z<%lO7c~8RRO;\x27S7c;\x27S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj<VY!a`Oy%Qz{%Q{|<u|}%Q}!O<u!O!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj<zU!a`Oy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj=eU!a`#}YOy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj>O[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj>yS!^YOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;\x27S%Q;\x27S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%QjBUU`YOy%Qz![%Q![!]Bh!];\x27S%Q;\x27S;=`%c<%lO%QbBoSaQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjCQSkYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QhCcU!TWOy%Qz!_%Q!_!`Cu!`;\x27S%Q;\x27S;=`%c<%lO%QhC|S!TW!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QlDaS!TW!hSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjDtV!jQ!TWOy%Qz!_%Q!_!`Cu!`!aEZ!a;\x27S%Q;\x27S;=`%c<%lO%QbEbS!jQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjEqYOy%Qz}%Q}!OFa!O!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjFfW!a`Oy%Qz!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjHQSmYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QnHcSl^Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjHtSpYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjIVSoYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Q`I}P;=`<%l$q','tokenizers':[_0x2e5c9c,_0x532e2e,_0x71ca9f,_0x50f0be,0x1,0x2,0x3,0x4,new _0x1888d4('m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~',0x1c,0x81)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x69]},'specialized':[{'term':0x7c,'get':_0x5da9db=>_0x3c1933[_0x5da9db]||-0x1},{'term':0x7d,'get':_0x5748c7=>_0x31c438[_0x5748c7]||-0x1},{'term':0x4,'get':_0x3a2695=>_0x4672f5[_0x3a2695]||-0x1},{'term':0x19,'get':_0x569874=>_0x195afb[_0x569874]||-0x1},{'term':0x7b,'get':_0x5c0dd2=>_0x5cdd60[_0x5c0dd2]||-0x1}],'tokenPrec':0x7ab});let _0x2e75cb=null;function _0x5e1fab(){if(!_0x2e75cb&&'object'==typeof document&&document['body']){let {style:_0x51097c}=document['body'],_0x59889a=[],_0xf1ce1a=new Set();for(let _0x353a64 in _0x51097c)'cssText'!=_0x353a64&&'cssFloat'!=_0x353a64&&'string'==typeof _0x51097c[_0x353a64]&&(/[A-Z]/['test'](_0x353a64)&&(_0x353a64=_0x353a64['replace'](/[A-Z]/g,_0x25866d=>'-'+_0x25866d['toLowerCase']())),_0xf1ce1a['has'](_0x353a64)||(_0x59889a['push'](_0x353a64),_0xf1ce1a['add'](_0x353a64)));_0x2e75cb=_0x59889a['sort']()['map'](_0x2fdc35=>({'type':'property','label':_0x2fdc35,'apply':_0x2fdc35+':\x20'}));}return _0x2e75cb||[];}const _0x5eccd6=['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'](_0x2996d0=>({'type':'class','label':_0x2996d0})),_0x229f0e=['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'](_0x5e9ef0=>({'type':'keyword','label':_0x5e9ef0}))['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'](_0x18278b=>({'type':'constant','label':_0x18278b}))),_0x3a0f5d=['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'](_0x23bf28=>({'type':'type','label':_0x23bf28})),_0x35381e=['@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'](_0x4a5d85=>({'type':'keyword','label':_0x4a5d85})),_0x4833a5=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x4e356a=/^-(-[\w-]*)?$/,_0x2388db=new _0x386706(),_0x30ca76=['Declaration'];function _0x55dd21(_0x1aa983){for(let _0x357629=_0x1aa983;;){if(_0x357629['type']['isTop'])return _0x357629;if(!(_0x357629=_0x357629['parent']))return _0x1aa983;}}function _0x1c689e(_0x253101,_0x3ab2a1,_0x2c788f){if(_0x3ab2a1['to']-_0x3ab2a1['from']>0x1000){let _0x57358b=_0x2388db['get'](_0x3ab2a1);if(_0x57358b)return _0x57358b;let _0x1068f3=[],_0x5518e2=new Set(),_0x54952a=_0x3ab2a1['cursor'](_0x3dd99e['IncludeAnonymous']);if(_0x54952a['firstChild']())do{for(let _0x4bf146 of _0x1c689e(_0x253101,_0x54952a['node'],_0x2c788f))_0x5518e2['has'](_0x4bf146['label'])||(_0x5518e2['add'](_0x4bf146['label']),_0x1068f3['push'](_0x4bf146));}while(_0x54952a['nextSibling']());return _0x2388db['set'](_0x3ab2a1,_0x1068f3),_0x1068f3;}{let _0x3794a2=[],_0x197efb=new Set();return _0x3ab2a1['cursor']()['iterate'](_0x37d823=>{var _0x28809d;if(_0x2c788f(_0x37d823)&&_0x37d823['matchContext'](_0x30ca76)&&':'==(null===(_0x28809d=_0x37d823['node']['nextSibling'])||void 0x0===_0x28809d?void 0x0:_0x28809d['name'])){let _0x56e38c=_0x253101['sliceString'](_0x37d823['from'],_0x37d823['to']);_0x197efb['has'](_0x56e38c)||(_0x197efb['add'](_0x56e38c),_0x3794a2['push']({'label':_0x56e38c,'type':'variable'}));}}),_0x3794a2;}}const _0x70f6d2=_0x51c9fe=>_0x150e3e=>{let {state:_0x4a3f4d,pos:_0x1f9937}=_0x150e3e,_0xe3d48c=_0xc45a56(_0x4a3f4d)['resolveInner'](_0x1f9937,-0x1),_0x131ee3=_0xe3d48c['type']['isError']&&_0xe3d48c['from']==_0xe3d48c['to']-0x1&&'-'==_0x4a3f4d['doc']['sliceString'](_0xe3d48c['from'],_0xe3d48c['to']);if('PropertyName'==_0xe3d48c['name']||(_0x131ee3||'TagName'==_0xe3d48c['name'])&&/^(Block|Styles)$/['test'](_0xe3d48c['resolve'](_0xe3d48c['to'])['name']))return{'from':_0xe3d48c['from'],'options':_0x5e1fab(),'validFor':_0x4833a5};if('ValueName'==_0xe3d48c['name'])return{'from':_0xe3d48c['from'],'options':_0x229f0e,'validFor':_0x4833a5};if('PseudoClassName'==_0xe3d48c['name'])return{'from':_0xe3d48c['from'],'options':_0x5eccd6,'validFor':_0x4833a5};if(_0x51c9fe(_0xe3d48c)||(_0x150e3e['explicit']||_0x131ee3)&&function(_0x2d4640,_0x960541){var _0x50644c;if(('('==_0x2d4640['name']||_0x2d4640['type']['isError'])&&(_0x2d4640=_0x2d4640['parent']||_0x2d4640),'ArgList'!=_0x2d4640['name'])return!0x1;let _0x17d26d=null===(_0x50644c=_0x2d4640['parent'])||void 0x0===_0x50644c?void 0x0:_0x50644c['firstChild'];return'Callee'==(null==_0x17d26d?void 0x0:_0x17d26d['name'])&&'var'==_0x960541['sliceString'](_0x17d26d['from'],_0x17d26d['to']);}(_0xe3d48c,_0x4a3f4d['doc']))return{'from':_0x51c9fe(_0xe3d48c)||_0x131ee3?_0xe3d48c['from']:_0x1f9937,'options':_0x1c689e(_0x4a3f4d['doc'],_0x55dd21(_0xe3d48c),_0x51c9fe),'validFor':_0x4e356a};if('TagName'==_0xe3d48c['name']){for(let {parent:_0x3ac0d4}=_0xe3d48c;_0x3ac0d4;_0x3ac0d4=_0x3ac0d4['parent'])if('Block'==_0x3ac0d4['name'])return{'from':_0xe3d48c['from'],'options':_0x5e1fab(),'validFor':_0x4833a5};return{'from':_0xe3d48c['from'],'options':_0x3a0f5d,'validFor':_0x4833a5};}if('AtKeyword'==_0xe3d48c['name'])return{'from':_0xe3d48c['from'],'options':_0x35381e,'validFor':_0x4833a5};if(!_0x150e3e['explicit'])return null;let _0x477faa=_0xe3d48c['resolve'](_0x1f9937),_0x5da0a2=_0x477faa['childBefore'](_0x1f9937);return _0x5da0a2&&':'==_0x5da0a2['name']&&'PseudoClassSelector'==_0x477faa['name']?{'from':_0x1f9937,'options':_0x5eccd6,'validFor':_0x4833a5}:_0x5da0a2&&':'==_0x5da0a2['name']&&'Declaration'==_0x477faa['name']||'ArgList'==_0x477faa['name']?{'from':_0x1f9937,'options':_0x229f0e,'validFor':_0x4833a5}:'Block'==_0x477faa['name']||'Styles'==_0x477faa['name']?{'from':_0x1f9937,'options':_0x5e1fab(),'validFor':_0x4833a5}:null;},_0x444e0d=_0x70f6d2(_0x3f9064=>'VariableName'==_0x3f9064['name']),_0x423b3e=_0x15dc22['define']({'name':'css','parser':_0x1c2f60['configure']({'props':[_0x35e540['add']({'Declaration':_0x219468()}),_0xa8c244['add']({'Block\x20KeyframeList':_0x271472})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x90f8d4=[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],_0x51484e=new ContextTracker({'start':!0x1,'shift':(_0x3b5d4f,_0x37a5d6)=>0x5==_0x37a5d6||0x6==_0x37a5d6||0x140==_0x37a5d6?_0x3b5d4f:0x141==_0x37a5d6,'strict':!0x1}),_0x56ce27=new ExternalTokenizer((_0x440167,_0x267e17)=>{let {next:_0x3504d4}=_0x440167;(0x7d==_0x3504d4||-0x1==_0x3504d4||_0x267e17['context'])&&_0x440167['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x138db9=new ExternalTokenizer((_0x3f86f6,_0x29a39e)=>{let _0x14b8cf,{next:_0x325aa4}=_0x3f86f6;_0x90f8d4['indexOf'](_0x325aa4)>-0x1||(0x2f!=_0x325aa4||0x2f!=(_0x14b8cf=_0x3f86f6['peek'](0x1))&&0x2a!=_0x14b8cf)&&(0x7d==_0x325aa4||0x3b==_0x325aa4||-0x1==_0x325aa4||_0x29a39e['context']||_0x3f86f6['acceptToken'](0x13c));},{'contextual':!0x0}),_0x131e3d=new ExternalTokenizer((_0x557921,_0x1c92f2)=>{0x5b!=_0x557921['next']||_0x1c92f2['context']||_0x557921['acceptToken'](0x13d);},{'contextual':!0x0}),_0x2ba8ec=new ExternalTokenizer((_0x5a7371,_0x4e42c5)=>{let {next:_0x38605b}=_0x5a7371;if(0x2b==_0x38605b||0x2d==_0x38605b){if(_0x5a7371['advance'](),_0x38605b==_0x5a7371['next']){_0x5a7371['advance']();let _0x59c58a=!_0x4e42c5['context']&&_0x4e42c5['canShift'](0x1);_0x5a7371['acceptToken'](_0x59c58a?0x1:0x2);}}else 0x3f==_0x38605b&&0x2e==_0x5a7371['peek'](0x1)&&(_0x5a7371['advance'](),_0x5a7371['advance'](),(_0x5a7371['next']<0x30||_0x5a7371['next']>0x39)&&_0x5a7371['acceptToken'](0x3));},{'contextual':!0x0});function _0x256172(_0x592b83,_0x4f9926){return _0x592b83>=0x41&&_0x592b83<=0x5a||_0x592b83>=0x61&&_0x592b83<=0x7a||0x5f==_0x592b83||_0x592b83>=0xc0||!_0x4f9926&&_0x592b83>=0x30&&_0x592b83<=0x39;}const _0x2faacf=new ExternalTokenizer((_0x567b2d,_0x225e02)=>{if(0x3c!=_0x567b2d['next']||!_0x225e02['dialectEnabled'](0x0))return;if(_0x567b2d['advance'](),0x2f==_0x567b2d['next'])return;let _0x1e80e8=0x0;for(;_0x90f8d4['indexOf'](_0x567b2d['next'])>-0x1;)_0x567b2d['advance'](),_0x1e80e8++;if(_0x256172(_0x567b2d['next'],!0x0)){for(_0x567b2d['advance'](),_0x1e80e8++;_0x256172(_0x567b2d['next'],!0x1);)_0x567b2d['advance'](),_0x1e80e8++;for(;_0x90f8d4['indexOf'](_0x567b2d['next'])>-0x1;)_0x567b2d['advance'](),_0x1e80e8++;if(0x2c==_0x567b2d['next'])return;for(let _0x3f8313=0x0;;_0x3f8313++){if(0x7==_0x3f8313){if(!_0x256172(_0x567b2d['next'],!0x0))return;break;}if(_0x567b2d['next']!='extends'['charCodeAt'](_0x3f8313))break;_0x567b2d['advance'](),_0x1e80e8++;}}_0x567b2d['acceptToken'](0x4,-_0x1e80e8);}),_0x1a1df8=_0x4a339a({'get\x20set\x20async\x20static':_0x422c5c['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x422c5c['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x422c5c['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x422c5c['definitionKeyword'],'import\x20export\x20from':_0x422c5c['moduleKeyword'],'with\x20debugger\x20new':_0x422c5c['keyword'],'TemplateString':_0x422c5c['special'](_0x422c5c['string']),'super':_0x422c5c['atom'],'BooleanLiteral':_0x422c5c['bool'],'this':_0x422c5c['self'],'null':_0x422c5c['null'],'Star':_0x422c5c['modifier'],'VariableName':_0x422c5c['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x422c5c['function'](_0x422c5c['variableName']),'VariableDefinition':_0x422c5c['definition'](_0x422c5c['variableName']),'Label':_0x422c5c['labelName'],'PropertyName':_0x422c5c['propertyName'],'PrivatePropertyName':_0x422c5c['special'](_0x422c5c['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x422c5c['function'](_0x422c5c['propertyName']),'FunctionDeclaration/VariableDefinition':_0x422c5c['function'](_0x422c5c['definition'](_0x422c5c['variableName'])),'ClassDeclaration/VariableDefinition':_0x422c5c['definition'](_0x422c5c['className']),'NewExpression/VariableName':_0x422c5c['className'],'PropertyDefinition':_0x422c5c['definition'](_0x422c5c['propertyName']),'PrivatePropertyDefinition':_0x422c5c['definition'](_0x422c5c['special'](_0x422c5c['propertyName'])),'UpdateOp':_0x422c5c['updateOperator'],'LineComment\x20Hashbang':_0x422c5c['lineComment'],'BlockComment':_0x422c5c['blockComment'],'Number':_0x422c5c['number'],'String':_0x422c5c['string'],'Escape':_0x422c5c['escape'],'ArithOp':_0x422c5c['arithmeticOperator'],'LogicOp':_0x422c5c['logicOperator'],'BitOp':_0x422c5c['bitwiseOperator'],'CompareOp':_0x422c5c['compareOperator'],'RegExp':_0x422c5c['regexp'],'Equals':_0x422c5c['definitionOperator'],'Arrow':_0x422c5c['function'](_0x422c5c['punctuation']),':\x20Spread':_0x422c5c['punctuation'],'(\x20)':_0x422c5c['paren'],'[\x20]':_0x422c5c['squareBracket'],'{\x20}':_0x422c5c['brace'],'InterpolationStart\x20InterpolationEnd':_0x422c5c['special'](_0x422c5c['brace']),'.':_0x422c5c['derefOperator'],',\x20;':_0x422c5c['separator'],'@':_0x422c5c['meta'],'TypeName':_0x422c5c['typeName'],'TypeDefinition':_0x422c5c['definition'](_0x422c5c['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x422c5c['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x422c5c['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x422c5c['operatorKeyword'],'JSXAttributeValue':_0x422c5c['attributeValue'],'JSXText':_0x422c5c['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x422c5c['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x422c5c['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x422c5c['attributeName'],'JSXBuiltin/JSXIdentifier':_0x422c5c['standard'](_0x422c5c['tagName'])}),_0x47fdc8={'__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},_0x479f65={'__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},_0x65f95b={'__proto__':null,'<':0xc1},_0x51a701=_0x54f96d['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':_0x51484e,'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':[_0x1a1df8],'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':[_0x138db9,_0x131e3d,_0x2ba8ec,_0x2faacf,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x56ce27,new _0x1888d4('$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 _0x1888d4('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':_0x466541=>_0x47fdc8[_0x466541]||-0x1},{'term':0x157,'get':_0x167753=>_0x479f65[_0x167753]||-0x1},{'term':0x5f,'get':_0x2b74ac=>_0x65f95b[_0x2b74ac]||-0x1}],'tokenPrec':0x3b61}),_0xa326f4=[tA('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),tA('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),tA('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),tA('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),tA('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),tA('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),tA('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),tA('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),tA('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),tA('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),tA('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],tI=_0xa326f4['concat']([tA('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),tA('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),tA('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x12ed53=new _0x386706(),_0x545cfe=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x412316(_0x5c95e5){return(_0x29609e,_0x1c9595)=>{let _0x59c7bc=_0x29609e['node']['getChild']('VariableDefinition');return _0x59c7bc&&_0x1c9595(_0x59c7bc,_0x5c95e5),!0x0;};}const _0x21b175=['FunctionDeclaration'],_0x312675={'FunctionDeclaration':_0x412316('function'),'ClassDeclaration':_0x412316('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x412316('constant'),'TypeAliasDeclaration':_0x412316('type'),'NamespaceDeclaration':_0x412316('namespace'),'VariableDefinition'(_0x1d5407,_0xd51577){_0x1d5407['matchContext'](_0x21b175)||_0xd51577(_0x1d5407,'variable');},'TypeDefinition'(_0x1ffae7,_0x4f461e){_0x4f461e(_0x1ffae7,'type');},'__proto__':null};function _0xb11845(_0xab5541,_0x2d7e61){let _0x42e89e=_0x12ed53['get'](_0x2d7e61);if(_0x42e89e)return _0x42e89e;let _0x2e5db6=[],_0xf44050=!0x0;function _0x41ad1b(_0x5b8715,_0xaf7cf7){let _0x133020=_0xab5541['sliceString'](_0x5b8715['from'],_0x5b8715['to']);_0x2e5db6['push']({'label':_0x133020,'type':_0xaf7cf7});}return _0x2d7e61['cursor'](_0x3dd99e['IncludeAnonymous'])['iterate'](_0x23567d=>{if(_0xf44050)_0xf44050=!0x1;else{if(_0x23567d['name']){let _0x567b72=_0x312675[_0x23567d['name']];if(_0x567b72&&_0x567b72(_0x23567d,_0x41ad1b)||_0x545cfe['has'](_0x23567d['name']))return!0x1;}else{if(_0x23567d['to']-_0x23567d['from']>0x2000){for(let _0x1af11f of _0xb11845(_0xab5541,_0x23567d['node']))_0x2e5db6['push'](_0x1af11f);return!0x1;}}}}),_0x12ed53['set'](_0x2d7e61,_0x2e5db6),_0x2e5db6;}const _0x11225b=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x26e908=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x5960cd(_0x5f34f3){let _0x451729=_0xc45a56(_0x5f34f3['state'])['resolveInner'](_0x5f34f3['pos'],-0x1);if(_0x26e908['indexOf'](_0x451729['name'])>-0x1)return null;let _0x10b7b2='VariableName'==_0x451729['name']||_0x451729['to']-_0x451729['from']<0x14&&_0x11225b['test'](_0x5f34f3['state']['sliceDoc'](_0x451729['from'],_0x451729['to']));if(!_0x10b7b2&&!_0x5f34f3['explicit'])return null;let _0x12e661=[];for(let _0x1c23fb=_0x451729;_0x1c23fb;_0x1c23fb=_0x1c23fb['parent'])_0x545cfe['has'](_0x1c23fb['name'])&&(_0x12e661=_0x12e661['concat'](_0xb11845(_0x5f34f3['state']['doc'],_0x1c23fb)));return{'options':_0x12e661,'from':_0x10b7b2?_0x451729['from']:_0x5f34f3['pos'],'validFor':_0x11225b};}const _0x3313f2=_0x15dc22['define']({'name':'javascript','parser':_0x51a701['configure']({'props':[_0x35e540['add']({'IfStatement':_0x219468({'except':/^\s*({|else\b)/}),'TryStatement':_0x219468({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x3c4f56=>_0x3c4f56['baseIndent'],'SwitchBody':_0x17fa14=>{let _0x7251a8=_0x17fa14['textAfter'],_0x2513a7=/^\s*\}/['test'](_0x7251a8),_0x1c24b7=/^\s*(case|default)\b/['test'](_0x7251a8);return _0x17fa14['baseIndent']+(_0x2513a7?0x0:_0x1c24b7?0x1:0x2)*_0x17fa14['unit'];},'Block':_0x1cea9d({'closing':'}'}),'ArrowFunction':_0x15577a=>_0x15577a['baseIndent']+_0x15577a['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0x219468({'except':/^\s*{/}),'JSXElement'(_0x228672){let _0x192549=/^\s*<\//['test'](_0x228672['textAfter']);return _0x228672['lineIndent'](_0x228672['node']['from'])+(_0x192549?0x0:_0x228672['unit']);},'JSXEscape'(_0x435a6d){let _0x17922e=/\s*\}/['test'](_0x435a6d['textAfter']);return _0x435a6d['lineIndent'](_0x435a6d['node']['from'])+(_0x17922e?0x0:_0x435a6d['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x1991d5=>_0x1991d5['column'](_0x1991d5['node']['from'])+_0x1991d5['unit']}),_0xa8c244['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x271472,'BlockComment':_0x4edd95=>({'from':_0x4edd95['from']+0x2,'to':_0x4edd95['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x37313d={'test':_0x2d6837=>/^JSX/['test'](_0x2d6837['name']),'facet':_0x6f32de({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x416c26=_0x3313f2['configure']({'dialect':'ts'},'typescript'),_0x163fa4=_0x3313f2['configure']({'dialect':'jsx','props':[_0xa31d2['add'](_0x5f2b7d=>_0x5f2b7d['isTop']?[_0x37313d]:void 0x0)]}),_0x12cba8=_0x3313f2['configure']({'dialect':'jsx\x20ts','props':[_0xa31d2['add'](_0x79209f=>_0x79209f['isTop']?[_0x37313d]:void 0x0)]},'typescript');let _0x2d0a07=_0xa20e8f=>({'label':_0xa20e8f,'type':'keyword'});const _0x4df27c='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'](_0x2d0a07),_0x2a4560=_0x4df27c['concat'](['declare','implements','private','protected','public']['map'](_0x2d0a07));function _0x4936a3(_0x2d2bd7={}){let _0x1451d0=_0x2d2bd7['jsx']?_0x2d2bd7['typescript']?_0x12cba8:_0x163fa4:_0x2d2bd7['typescript']?_0x416c26:_0x3313f2,_0x5ca7e8=_0x2d2bd7['typescript']?tI['concat'](_0x2a4560):_0xa326f4['concat'](_0x4df27c);return new LanguageSupport(_0x1451d0,[_0x3313f2['data']['of']({'autocomplete':(_0x14e7e5=_0x26e908,_0x412717=_0x5401b7(_0x5ca7e8),_0x1eea2f=>{for(let _0x26b873=_0xc45a56(_0x1eea2f['state'])['resolveInner'](_0x1eea2f['pos'],-0x1);_0x26b873;_0x26b873=_0x26b873['parent']){if(_0x14e7e5['indexOf'](_0x26b873['name'])>-0x1)return null;if(_0x26b873['type']['isTop'])break;}return _0x412717(_0x1eea2f);})}),_0x3313f2['data']['of']({'autocomplete':_0x5960cd}),_0x2d2bd7['jsx']?_0x38b703:[]]);var _0x14e7e5,_0x412717;}function _0x2e0178(_0x1efd5b,_0x286b7c,_0x1bc238=_0x1efd5b['length']){for(let _0x5b56bd=null==_0x286b7c?void 0x0:_0x286b7c['firstChild'];_0x5b56bd;_0x5b56bd=_0x5b56bd['nextSibling'])if('JSXIdentifier'==_0x5b56bd['name']||'JSXBuiltin'==_0x5b56bd['name']||'JSXNamespacedName'==_0x5b56bd['name']||'JSXMemberExpression'==_0x5b56bd['name'])return _0x1efd5b['sliceString'](_0x5b56bd['from'],Math['min'](_0x5b56bd['to'],_0x1bc238));return'';}const _0x4fa09c='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x38b703=EditorView['inputHandler']['of']((_0x1e262c,_0x207c7d,_0x1feba7,_0x59131d,_0x1e9e87)=>{if((_0x4fa09c?_0x1e262c['composing']:_0x1e262c['compositionStarted'])||_0x1e262c['state']['readOnly']||_0x207c7d!=_0x1feba7||'>'!=_0x59131d&&'/'!=_0x59131d||!_0x3313f2['isActiveAt'](_0x1e262c['state'],_0x207c7d,-0x1))return!0x1;let _0x2bc20d=_0x1e9e87(),{state:_0x4afc6d}=_0x2bc20d,_0x510791=_0x4afc6d['changeByRange'](_0x280f65=>{var _0x346c6f;let _0x19357c,{head:_0xa679a3}=_0x280f65,_0x1ca19f=_0xc45a56(_0x4afc6d)['resolveInner'](_0xa679a3-0x1,-0x1);if('JSXStartTag'==_0x1ca19f['name']&&(_0x1ca19f=_0x1ca19f['parent']),_0x4afc6d['doc']['sliceString'](_0xa679a3-0x1,_0xa679a3)!=_0x59131d||'JSXAttributeValue'==_0x1ca19f['name']&&_0x1ca19f['to']>_0xa679a3);else{if('>'==_0x59131d&&'JSXFragmentTag'==_0x1ca19f['name'])return{'range':_0x280f65,'changes':{'from':_0xa679a3,'insert':'</>'}};if('/'==_0x59131d&&'JSXStartCloseTag'==_0x1ca19f['name']){let _0x56fcfc=_0x1ca19f['parent'],_0x1d3a55=_0x56fcfc['parent'];if(_0x1d3a55&&_0x56fcfc['from']==_0xa679a3-0x2&&((_0x19357c=_0x2e0178(_0x4afc6d['doc'],_0x1d3a55['firstChild'],_0xa679a3))||'JSXFragmentTag'==(null===(_0x346c6f=_0x1d3a55['firstChild'])||void 0x0===_0x346c6f?void 0x0:_0x346c6f['name']))){let _0x392671=_0x19357c+'>';return{'range':EditorSelection['cursor'](_0xa679a3+_0x392671['length'],-0x1),'changes':{'from':_0xa679a3,'insert':_0x392671}};}}else{if('>'==_0x59131d){let _0x9e05d6=function(_0x41a453){for(;;){if('JSXOpenTag'==_0x41a453['name']||'JSXSelfClosingTag'==_0x41a453['name']||'JSXFragmentTag'==_0x41a453['name'])return _0x41a453;if('JSXEscape'==_0x41a453['name']||!_0x41a453['parent'])return null;_0x41a453=_0x41a453['parent'];}}(_0x1ca19f);if(_0x9e05d6&&'JSXOpenTag'==_0x9e05d6['name']&&!/^\/?>|^<\//['test'](_0x4afc6d['doc']['sliceString'](_0xa679a3,_0xa679a3+0x2))&&(_0x19357c=_0x2e0178(_0x4afc6d['doc'],_0x9e05d6,_0xa679a3)))return{'range':_0x280f65,'changes':{'from':_0xa679a3,'insert':'</'+_0x19357c+'>'}};}}}return{'range':_0x280f65};});return!_0x510791['changes']['empty']&&(_0x1e262c['dispatch']([_0x2bc20d,_0x4afc6d['update'](_0x510791,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x9c4092=['_blank','_self','_top','_parent'],_0x2d8af8=['ascii','utf-8','utf-16','latin1','latin1'],_0x3a4620=['get','post','put','delete'],_0x2726f1=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x1e9cf1=['true','false'],_0x445387={},_0x12c049={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x9c4092,'hreflang':null}},'abbr':_0x445387,'address':_0x445387,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x445387,'aside':_0x445387,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x445387,'base':{'attrs':{'href':null,'target':_0x9c4092}},'bdi':_0x445387,'bdo':_0x445387,'blockquote':{'attrs':{'cite':null}},'body':_0x445387,'br':_0x445387,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x2726f1,'formmethod':_0x3a4620,'formnovalidate':['novalidate'],'formtarget':_0x9c4092,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x445387,'center':_0x445387,'cite':_0x445387,'code':_0x445387,'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':_0x445387,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x445387,'div':_0x445387,'dl':_0x445387,'dt':_0x445387,'em':_0x445387,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x445387,'figure':_0x445387,'footer':_0x445387,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x2d8af8,'autocomplete':['on','off'],'enctype':_0x2726f1,'method':_0x3a4620,'novalidate':['novalidate'],'target':_0x9c4092}},'h1':_0x445387,'h2':_0x445387,'h3':_0x445387,'h4':_0x445387,'h5':_0x445387,'h6':_0x445387,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x445387,'hgroup':_0x445387,'hr':_0x445387,'html':{'attrs':{'manifest':null}},'i':_0x445387,'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':_0x2726f1,'formmethod':_0x3a4620,'formnovalidate':['novalidate'],'formtarget':_0x9c4092,'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':_0x445387,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x445387,'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':_0x445387,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x2d8af8,'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':_0x445387,'noscript':_0x445387,'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':_0x445387,'param':{'attrs':{'name':null,'value':null}},'pre':_0x445387,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x445387,'rt':_0x445387,'ruby':_0x445387,'samp':_0x445387,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x2d8af8}},'section':_0x445387,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x445387,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x445387,'strong':_0x445387,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x445387,'summary':_0x445387,'sup':_0x445387,'table':_0x445387,'tbody':_0x445387,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x445387,'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':_0x445387,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x445387,'time':{'attrs':{'datetime':null}},'title':_0x445387,'tr':_0x445387,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x445387,'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':_0x445387},_0x59b284={'accesskey':null,'class':null,'contenteditable':_0x1e9cf1,'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':_0x1e9cf1,'autocorrect':_0x1e9cf1,'autocapitalize':_0x1e9cf1,'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':_0x1e9cf1,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x1e9cf1,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x1e9cf1,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x1e9cf1,'aria-hidden':_0x1e9cf1,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x1e9cf1,'aria-multiselectable':_0x1e9cf1,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x1e9cf1,'aria-relevant':null,'aria-required':_0x1e9cf1,'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},_0x58e5df='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'](_0x671d8e=>'on'+_0x671d8e);for(let _0x1eab2d of _0x58e5df)_0x59b284[_0x1eab2d]=null;class _0xd48422{constructor(_0x56e826,_0x1c4481){this['tags']={..._0x12c049,..._0x56e826},this['globalAttrs']={..._0x59b284,..._0x1c4481},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function _0x372213(_0x99049,_0x53746f,_0x342c87=_0x99049['length']){if(!_0x53746f)return'';let _0x50775d=_0x53746f['firstChild'],_0xdad94c=_0x50775d&&_0x50775d['getChild']('TagName');return _0xdad94c?_0x99049['sliceString'](_0xdad94c['from'],Math['min'](_0xdad94c['to'],_0x342c87)):'';}function _0x5248b6(_0x30e78b,_0x5efdb7=!0x1){for(;_0x30e78b;_0x30e78b=_0x30e78b['parent'])if('Element'==_0x30e78b['name']){if(!_0x5efdb7)return _0x30e78b;_0x5efdb7=!0x1;}return null;}function _0x37c53f(_0x243685,_0x5f2ac8,_0x3543ef){let _0x567446=_0x3543ef['tags'][_0x372213(_0x243685,_0x5248b6(_0x5f2ac8))];return(null==_0x567446?void 0x0:_0x567446['children'])||_0x3543ef['allTags'];}function _0x36eb4c(_0x15f615,_0x2184c1){let _0x11e87f=[];for(let _0x573aa4=_0x5248b6(_0x2184c1);_0x573aa4&&!_0x573aa4['type']['isTop'];_0x573aa4=_0x5248b6(_0x573aa4['parent'])){let _0x2dd7c6=_0x372213(_0x15f615,_0x573aa4);if(_0x2dd7c6&&'CloseTag'==_0x573aa4['lastChild']['name'])break;_0x2dd7c6&&_0x11e87f['indexOf'](_0x2dd7c6)<0x0&&('EndTag'==_0x2184c1['name']||_0x2184c1['from']>=_0x573aa4['firstChild']['to'])&&_0x11e87f['push'](_0x2dd7c6);}return _0x11e87f;}_0xd48422['default']=new _0xd48422();const _0x57219a=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x5a61aa(_0x4bc008,_0x55c76e,_0x316302,_0x246856,_0x26e7f6){let _0x24e02a=/\s*>/['test'](_0x4bc008['sliceDoc'](_0x26e7f6,_0x26e7f6+0x5))?'':'>',_0x14dada=_0x5248b6(_0x316302,'StartTag'==_0x316302['name']||'TagName'==_0x316302['name']);return{'from':_0x246856,'to':_0x26e7f6,'options':_0x37c53f(_0x4bc008['doc'],_0x14dada,_0x55c76e)['map'](_0x5ceacf=>({'label':_0x5ceacf,'type':'type'}))['concat'](_0x36eb4c(_0x4bc008['doc'],_0x316302)['map']((_0x51d6ed,_0x4dfa67)=>({'label':'/'+_0x51d6ed,'apply':'/'+_0x51d6ed+_0x24e02a,'type':'type','boost':0x63-_0x4dfa67}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0x243b56(_0x23b615,_0x3c22d4,_0x134830,_0x54bd9){let _0xfb1398=/\s*>/['test'](_0x23b615['sliceDoc'](_0x54bd9,_0x54bd9+0x5))?'':'>';return{'from':_0x134830,'to':_0x54bd9,'options':_0x36eb4c(_0x23b615['doc'],_0x3c22d4)['map']((_0x2c67bc,_0x3dd303)=>({'label':_0x2c67bc,'apply':_0x2c67bc+_0xfb1398,'type':'type','boost':0x63-_0x3dd303})),'validFor':_0x57219a};}function _0x105de2(_0x2dd3ad,_0x58d8c9){let {state:_0x4bec69,pos:_0x2ff8a4}=_0x58d8c9,_0x5b3122=_0xc45a56(_0x4bec69)['resolveInner'](_0x2ff8a4,-0x1),_0x4d6951=_0x5b3122['resolve'](_0x2ff8a4);for(let _0x41c493,_0x251a67=_0x2ff8a4;_0x4d6951==_0x5b3122&&(_0x41c493=_0x5b3122['childBefore'](_0x251a67));){let _0x52a186=_0x41c493['lastChild'];if(!_0x52a186||!_0x52a186['type']['isError']||_0x52a186['from']<_0x52a186['to'])break;_0x4d6951=_0x5b3122=_0x41c493,_0x251a67=_0x52a186['from'];}return'TagName'==_0x5b3122['name']?_0x5b3122['parent']&&/CloseTag$/['test'](_0x5b3122['parent']['name'])?_0x243b56(_0x4bec69,_0x5b3122,_0x5b3122['from'],_0x2ff8a4):_0x5a61aa(_0x4bec69,_0x2dd3ad,_0x5b3122,_0x5b3122['from'],_0x2ff8a4):'StartTag'==_0x5b3122['name']||'IncompleteTag'==_0x5b3122['name']?_0x5a61aa(_0x4bec69,_0x2dd3ad,_0x5b3122,_0x2ff8a4,_0x2ff8a4):'StartCloseTag'==_0x5b3122['name']||'IncompleteCloseTag'==_0x5b3122['name']?_0x243b56(_0x4bec69,_0x5b3122,_0x2ff8a4,_0x2ff8a4):'OpenTag'==_0x5b3122['name']||'SelfClosingTag'==_0x5b3122['name']||'AttributeName'==_0x5b3122['name']?function(_0x131ef9,_0x54bd70,_0x31684d,_0x2d7d7f,_0x23673c){let _0x41fff3=_0x5248b6(_0x31684d),_0x265a62=_0x41fff3?_0x54bd70['tags'][_0x372213(_0x131ef9['doc'],_0x41fff3)]:null,_0x4c9d14=_0x265a62&&_0x265a62['attrs']?Object['keys'](_0x265a62['attrs']):[];return{'from':_0x2d7d7f,'to':_0x23673c,'options':(_0x265a62&&!0x1===_0x265a62['globalAttrs']?_0x4c9d14:_0x4c9d14['length']?_0x4c9d14['concat'](_0x54bd70['globalAttrNames']):_0x54bd70['globalAttrNames'])['map'](_0x4e3a9=>({'label':_0x4e3a9,'type':'property'})),'validFor':_0x57219a};}(_0x4bec69,_0x2dd3ad,_0x5b3122,'AttributeName'==_0x5b3122['name']?_0x5b3122['from']:_0x2ff8a4,_0x2ff8a4):'Is'==_0x5b3122['name']||'AttributeValue'==_0x5b3122['name']||'UnquotedAttributeValue'==_0x5b3122['name']?function(_0x49932d,_0x1599d9,_0x1dcc9e,_0x220b4f,_0x254347){var _0x3fdbb1;let _0x567028,_0x458940=null===(_0x3fdbb1=_0x1dcc9e['parent'])||void 0x0===_0x3fdbb1?void 0x0:_0x3fdbb1['getChild']('AttributeName'),_0x2733f5=[];if(_0x458940){let _0x13aa6d=_0x49932d['sliceDoc'](_0x458940['from'],_0x458940['to']),_0x12ec65=_0x1599d9['globalAttrs'][_0x13aa6d];if(!_0x12ec65){let _0x3ba1b3=_0x5248b6(_0x1dcc9e),_0x1e6752=_0x3ba1b3?_0x1599d9['tags'][_0x372213(_0x49932d['doc'],_0x3ba1b3)]:null;_0x12ec65=(null==_0x1e6752?void 0x0:_0x1e6752['attrs'])&&_0x1e6752['attrs'][_0x13aa6d];}if(_0x12ec65){let _0x5a396a=_0x49932d['sliceDoc'](_0x220b4f,_0x254347)['toLowerCase'](),_0x145e2a='\x22',_0x15fc09='\x22';/^['"]/['test'](_0x5a396a)?(_0x567028='\x22'==_0x5a396a[0x0]?/^[^"]*$/:/^[^']*$/,_0x145e2a='',_0x15fc09=_0x49932d['sliceDoc'](_0x254347,_0x254347+0x1)==_0x5a396a[0x0]?'':_0x5a396a[0x0],_0x5a396a=_0x5a396a['slice'](0x1),_0x220b4f++):_0x567028=/^[^\s<>='"]*$/;for(let _0x1a9c16 of _0x12ec65)_0x2733f5['push']({'label':_0x1a9c16,'apply':_0x145e2a+_0x1a9c16+_0x15fc09,'type':'constant'});}}return{'from':_0x220b4f,'to':_0x254347,'options':_0x2733f5,'validFor':_0x567028};}(_0x4bec69,_0x2dd3ad,_0x5b3122,'Is'==_0x5b3122['name']?_0x2ff8a4:_0x5b3122['from'],_0x2ff8a4):!_0x58d8c9['explicit']||'Element'!=_0x4d6951['name']&&'Text'!=_0x4d6951['name']&&'Document'!=_0x4d6951['name']?null:function(_0x3c29e0,_0x493351,_0x1a9e4f,_0x1aa95f){let _0x2f177b=[],_0x4b981e=0x0;for(let _0x56595a of _0x37c53f(_0x3c29e0['doc'],_0x1a9e4f,_0x493351))_0x2f177b['push']({'label':'<'+_0x56595a,'type':'type'});for(let _0x401065 of _0x36eb4c(_0x3c29e0['doc'],_0x1a9e4f))_0x2f177b['push']({'label':'</'+_0x401065+'>','type':'type','boost':0x63-_0x4b981e++});return{'from':_0x1aa95f,'to':_0x1aa95f,'options':_0x2f177b,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x4bec69,_0x2dd3ad,_0x5b3122,_0x2ff8a4);}function _0x28c10b(_0x4d44cf){let {extraTags:_0x20cfe2,extraGlobalAttributes:_0x161b87}=_0x4d44cf,_0x338612=_0x161b87||_0x20cfe2?new _0xd48422(_0x20cfe2,_0x161b87):_0xd48422['default'];return _0x350a69=>_0x105de2(_0x338612,_0x350a69);}const _0x24cc10=_0x3313f2['parser']['configure']({'top':'SingleExpression'}),_0x2bff04=[{'tag':'script','attrs':_0x547e6b=>'text/typescript'==_0x547e6b['type']||'ts'==_0x547e6b['lang'],'parser':_0x416c26['parser']},{'tag':'script','attrs':_0x358322=>'text/babel'==_0x358322['type']||'text/jsx'==_0x358322['type'],'parser':_0x163fa4['parser']},{'tag':'script','attrs':_0x16b0cf=>'text/typescript-jsx'==_0x16b0cf['type'],'parser':_0x12cba8['parser']},{'tag':'script','attrs':_0x1797a8=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x1797a8['type']),'parser':_0x24cc10},{'tag':'script','attrs':_0x4843b6=>!_0x4843b6['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x4843b6['type']),'parser':_0x3313f2['parser']},{'tag':'style','attrs':_0x47c21f=>(!_0x47c21f['lang']||'css'==_0x47c21f['lang'])&&(!_0x47c21f['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x47c21f['type'])),'parser':_0x423b3e['parser']}],_0xe6afa=[{'name':'style','parser':_0x423b3e['parser']['configure']({'top':'Styles'})}]['concat'](_0x58e5df['map'](_0x55aec8=>({'name':_0x55aec8,'parser':_0x3313f2['parser']}))),_0x2765df=_0x15dc22['define']({'name':'html','parser':_0xacbc25['configure']({'props':[_0x35e540['add']({'Element'(_0x488511){let _0xf0cdd8=/^(\s*)(<\/)?/['exec'](_0x488511['textAfter']);return _0x488511['node']['to']<=_0x488511['pos']+_0xf0cdd8[0x0]['length']?_0x488511['continue']():_0x488511['lineIndent'](_0x488511['node']['from'])+(_0xf0cdd8[0x2]?0x0:_0x488511['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x5c84c3=>_0x5c84c3['column'](_0x5c84c3['node']['from'])+_0x5c84c3['unit'],'Document'(_0x38dc05){if(_0x38dc05['pos']+/\s*/['exec'](_0x38dc05['textAfter'])[0x0]['length']<_0x38dc05['node']['to'])return _0x38dc05['continue']();let _0x19fd72,_0x3561f9=null;for(let _0x519904=_0x38dc05['node'];;){let _0x141309=_0x519904['lastChild'];if(!_0x141309||'Element'!=_0x141309['name']||_0x141309['to']!=_0x519904['to'])break;_0x3561f9=_0x519904=_0x141309;}return _0x3561f9&&(!(_0x19fd72=_0x3561f9['lastChild'])||'CloseTag'!=_0x19fd72['name']&&'SelfClosingTag'!=_0x19fd72['name'])?_0x38dc05['lineIndent'](_0x3561f9['from'])+_0x38dc05['unit']:null;}}),_0xa8c244['add']({'Element'(_0x429d18){let _0x2a0a74=_0x429d18['firstChild'],_0x9d5765=_0x429d18['lastChild'];return _0x2a0a74&&'OpenTag'==_0x2a0a74['name']?{'from':_0x2a0a74['to'],'to':'CloseTag'==_0x9d5765['name']?_0x9d5765['from']:_0x429d18['to']}:null;}}),_0x2a5a19['add']({'OpenTag\x20CloseTag':_0x423a11=>_0x423a11['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0xe0fcfd=_0x2765df['configure']({'wrap':_0x53da5e(_0x2bff04,_0xe6afa)});function _0x471078(_0x475a1e={}){let _0x5774af,_0x5d082f='';!0x1===_0x475a1e['matchClosingTags']&&(_0x5d082f='noMatch'),!0x0===_0x475a1e['selfClosingTags']&&(_0x5d082f=(_0x5d082f?_0x5d082f+'\x20':'')+'selfClosing'),(_0x475a1e['nestedLanguages']&&_0x475a1e['nestedLanguages']['length']||_0x475a1e['nestedAttributes']&&_0x475a1e['nestedAttributes']['length'])&&(_0x5774af=_0x53da5e((_0x475a1e['nestedLanguages']||[])['concat'](_0x2bff04),(_0x475a1e['nestedAttributes']||[])['concat'](_0xe6afa)));let _0x53352e=_0x5774af?_0x2765df['configure']({'wrap':_0x5774af,'dialect':_0x5d082f}):_0x5d082f?_0xe0fcfd['configure']({'dialect':_0x5d082f}):_0xe0fcfd;return new LanguageSupport(_0x53352e,[_0xe0fcfd['data']['of']({'autocomplete':_0x28c10b(_0x475a1e)}),!0x1!==_0x475a1e['autoCloseTags']?_0xbc833a:[],_0x4936a3()['support'],new LanguageSupport(_0x423b3e,_0x423b3e['data']['of']({'autocomplete':_0x444e0d}))['support']]);}const _0x54a8ce=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0xbc833a=EditorView['inputHandler']['of']((_0x652816,_0xbae342,_0x1c22ed,_0xbdc1a8,_0x5e9d5e)=>{if(_0x652816['composing']||_0x652816['state']['readOnly']||_0xbae342!=_0x1c22ed||'>'!=_0xbdc1a8&&'/'!=_0xbdc1a8||!_0xe0fcfd['isActiveAt'](_0x652816['state'],_0xbae342,-0x1))return!0x1;let _0x59ebde=_0x5e9d5e(),{state:_0x5ab77a}=_0x59ebde,_0x55358d=_0x5ab77a['changeByRange'](_0x3c3611=>{var _0x51bfd5,_0x2d96ce,_0x2d22b7;let _0x165ae6,_0x3023af=_0x5ab77a['doc']['sliceString'](_0x3c3611['from']-0x1,_0x3c3611['to'])==_0xbdc1a8,{head:_0x1e8794}=_0x3c3611,_0x320d35=_0xc45a56(_0x5ab77a)['resolveInner'](_0x1e8794,-0x1);if(_0x3023af&&'>'==_0xbdc1a8&&'EndTag'==_0x320d35['name']){let _0x23f029=_0x320d35['parent'];if('CloseTag'!=(null===(_0x2d96ce=null===(_0x51bfd5=_0x23f029['parent'])||void 0x0===_0x51bfd5?void 0x0:_0x51bfd5['lastChild'])||void 0x0===_0x2d96ce?void 0x0:_0x2d96ce['name'])&&(_0x165ae6=_0x372213(_0x5ab77a['doc'],_0x23f029['parent'],_0x1e8794))&&!_0x54a8ce['has'](_0x165ae6))return{'range':_0x3c3611,'changes':{'from':_0x1e8794,'to':_0x1e8794+('>'===_0x5ab77a['doc']['sliceString'](_0x1e8794,_0x1e8794+0x1)?0x1:0x0),'insert':'</'+_0x165ae6+'>'}};}else{if(_0x3023af&&'/'==_0xbdc1a8&&'IncompleteCloseTag'==_0x320d35['name']){let _0x4e4f47=_0x320d35['parent'];if(_0x320d35['from']==_0x1e8794-0x2&&'CloseTag'!=(null===(_0x2d22b7=_0x4e4f47['lastChild'])||void 0x0===_0x2d22b7?void 0x0:_0x2d22b7['name'])&&(_0x165ae6=_0x372213(_0x5ab77a['doc'],_0x4e4f47,_0x1e8794))&&!_0x54a8ce['has'](_0x165ae6)){let _0x1ac753=_0x1e8794+('>'===_0x5ab77a['doc']['sliceString'](_0x1e8794,_0x1e8794+0x1)?0x1:0x0),_0x334502=_0x165ae6+'>';return{'range':EditorSelection['cursor'](_0x1e8794+_0x334502['length'],-0x1),'changes':{'from':_0x1e8794,'to':_0x1ac753,'insert':_0x334502}};}}}return{'range':_0x3c3611};});return!_0x55358d['changes']['empty']&&(_0x652816['dispatch']([_0x59ebde,_0x5ab77a['update'](_0x55358d,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x2d9d4c,_0x4483b8,_0x4660ba,_0x39a80c,_0x3a3eb0){return new CompositeBlock(_0x2d9d4c,_0x4483b8,_0x4660ba,_0x39a80c+(_0x39a80c<<0x8)+_0x2d9d4c+(_0x4483b8<<0x4)|0x0,_0x3a3eb0,[],[]);}constructor(_0x27910b,_0x4351e7,_0xd4055f,_0xba5895,_0x3231a7,_0x55466a,_0x52b699){this['type']=_0x27910b,this['value']=_0x4351e7,this['from']=_0xd4055f,this['hash']=_0xba5895,this['end']=_0x3231a7,this['children']=_0x55466a,this['positions']=_0x52b699,this['hashProp']=[[_0x16f115['contextHash'],_0xba5895]];}['addChild'](_0x4e3c95,_0x555834){_0x4e3c95['prop'](_0x16f115['contextHash'])!=this['hash']&&(_0x4e3c95=new _0x5c5fb3(_0x4e3c95['type'],_0x4e3c95['children'],_0x4e3c95['positions'],_0x4e3c95['length'],this['hashProp'])),this['children']['push'](_0x4e3c95),this['positions']['push'](_0x555834);}['toTree'](_0x272c58,_0x4e4b51=this['end']){let _0x32f639=this['children']['length']-0x1;return _0x32f639>=0x0&&(_0x4e4b51=Math['max'](_0x4e4b51,this['positions'][_0x32f639]+this['children'][_0x32f639]['length']+this['from'])),new _0x5c5fb3(_0x272c58['types'][this['type']],this['children'],this['positions'],_0x4e4b51-this['from'])['balance']({'makeTree':(_0xda099b,_0x564583,_0x6fe675)=>new _0x5c5fb3(_0x242d89['none'],_0xda099b,_0x564583,_0x6fe675,this['hashProp'])});}}var _0x2533dc;!function(_0x599e31){_0x599e31[_0x599e31['Document']=0x1]='Document',_0x599e31[_0x599e31['CodeBlock']=0x2]='CodeBlock',_0x599e31[_0x599e31['FencedCode']=0x3]='FencedCode',_0x599e31[_0x599e31['Blockquote']=0x4]='Blockquote',_0x599e31[_0x599e31['HorizontalRule']=0x5]='HorizontalRule',_0x599e31[_0x599e31['BulletList']=0x6]='BulletList',_0x599e31[_0x599e31['OrderedList']=0x7]='OrderedList',_0x599e31[_0x599e31['ListItem']=0x8]='ListItem',_0x599e31[_0x599e31['ATXHeading1']=0x9]='ATXHeading1',_0x599e31[_0x599e31['ATXHeading2']=0xa]='ATXHeading2',_0x599e31[_0x599e31['ATXHeading3']=0xb]='ATXHeading3',_0x599e31[_0x599e31['ATXHeading4']=0xc]='ATXHeading4',_0x599e31[_0x599e31['ATXHeading5']=0xd]='ATXHeading5',_0x599e31[_0x599e31['ATXHeading6']=0xe]='ATXHeading6',_0x599e31[_0x599e31['SetextHeading1']=0xf]='SetextHeading1',_0x599e31[_0x599e31['SetextHeading2']=0x10]='SetextHeading2',_0x599e31[_0x599e31['HTMLBlock']=0x11]='HTMLBlock',_0x599e31[_0x599e31['LinkReference']=0x12]='LinkReference',_0x599e31[_0x599e31['Paragraph']=0x13]='Paragraph',_0x599e31[_0x599e31['CommentBlock']=0x14]='CommentBlock',_0x599e31[_0x599e31['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x599e31[_0x599e31['Escape']=0x16]='Escape',_0x599e31[_0x599e31['Entity']=0x17]='Entity',_0x599e31[_0x599e31['HardBreak']=0x18]='HardBreak',_0x599e31[_0x599e31['Emphasis']=0x19]='Emphasis',_0x599e31[_0x599e31['StrongEmphasis']=0x1a]='StrongEmphasis',_0x599e31[_0x599e31['Link']=0x1b]='Link',_0x599e31[_0x599e31['Image']=0x1c]='Image',_0x599e31[_0x599e31['InlineCode']=0x1d]='InlineCode',_0x599e31[_0x599e31['HTMLTag']=0x1e]='HTMLTag',_0x599e31[_0x599e31['Comment']=0x1f]='Comment',_0x599e31[_0x599e31['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x599e31[_0x599e31['Autolink']=0x21]='Autolink',_0x599e31[_0x599e31['HeaderMark']=0x22]='HeaderMark',_0x599e31[_0x599e31['QuoteMark']=0x23]='QuoteMark',_0x599e31[_0x599e31['ListMark']=0x24]='ListMark',_0x599e31[_0x599e31['LinkMark']=0x25]='LinkMark',_0x599e31[_0x599e31['EmphasisMark']=0x26]='EmphasisMark',_0x599e31[_0x599e31['CodeMark']=0x27]='CodeMark',_0x599e31[_0x599e31['CodeText']=0x28]='CodeText',_0x599e31[_0x599e31['CodeInfo']=0x29]='CodeInfo',_0x599e31[_0x599e31['LinkTitle']=0x2a]='LinkTitle',_0x599e31[_0x599e31['LinkLabel']=0x2b]='LinkLabel',_0x599e31[_0x599e31['URL']=0x2c]='URL';}(_0x2533dc||(_0x2533dc={}));class _0x2ddd97{constructor(_0xb2df86,_0x3d4c4b){this['start']=_0xb2df86,this['content']=_0x3d4c4b,this['marks']=[],this['parsers']=[];}}class _0x3ef925{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 _0x534a25=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x534a25,this['pos'],this['indent']),this['pos']=_0x534a25,this['next']=_0x534a25==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x534a25);}['skipSpace'](_0x13f012){return _0x483ca9(this['text'],_0x13f012);}['reset'](_0x4fa66b){for(this['text']=_0x4fa66b,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x128afc){this['basePos']=_0x128afc,this['baseIndent']=this['countIndent'](_0x128afc,this['pos'],this['indent']);}['moveBaseColumn'](_0x3b23c2){this['baseIndent']=_0x3b23c2,this['basePos']=this['findColumn'](_0x3b23c2);}['addMarker'](_0x4bf0d8){this['markers']['push'](_0x4bf0d8);}['countIndent'](_0x481968,_0x53bb26=0x0,_0x37f042=0x0){for(let _0x27cc2c=_0x53bb26;_0x27cc2c<_0x481968;_0x27cc2c++)_0x37f042+=0x9==this['text']['charCodeAt'](_0x27cc2c)?0x4-_0x37f042%0x4:0x1;return _0x37f042;}['findColumn'](_0x581084){let _0x370b6c=0x0;for(let _0x3cb322=0x0;_0x370b6c<this['text']['length']&&_0x3cb322<_0x581084;_0x370b6c++)_0x3cb322+=0x9==this['text']['charCodeAt'](_0x370b6c)?0x4-_0x3cb322%0x4:0x1;return _0x370b6c;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x362735='';for(let _0x1a7f3e=0x0;_0x1a7f3e<this['basePos'];_0x1a7f3e++)_0x362735+='\x20';return _0x362735+this['text']['slice'](this['basePos']);}}function _0x2c6a3b(_0x30fd70,_0xc82f86,_0x27e4cb){if(_0x27e4cb['pos']==_0x27e4cb['text']['length']||_0x30fd70!=_0xc82f86['block']&&_0x27e4cb['indent']>=_0xc82f86['stack'][_0x27e4cb['depth']+0x1]['value']+_0x27e4cb['baseIndent'])return!0x0;if(_0x27e4cb['indent']>=_0x27e4cb['baseIndent']+0x4)return!0x1;let _0x366e74=(_0x30fd70['type']==_0x2533dc['OrderedList']?_0x41b205:_0x441f37)(_0x27e4cb,_0xc82f86,!0x1);return _0x366e74>0x0&&(_0x30fd70['type']!=_0x2533dc['BulletList']||_0x23ab8f(_0x27e4cb,_0xc82f86,!0x1)<0x0)&&_0x27e4cb['text']['charCodeAt'](_0x27e4cb['pos']+_0x366e74-0x1)==_0x30fd70['value'];}const _0x482ef9={[_0x2533dc['Blockquote']]:(_0x2d50d9,_0x291a58,_0x561907)=>0x3e==_0x561907['next']&&(_0x561907['markers']['push'](_0x1e4a83(_0x2533dc['QuoteMark'],_0x291a58['lineStart']+_0x561907['pos'],_0x291a58['lineStart']+_0x561907['pos']+0x1)),_0x561907['moveBase'](_0x561907['pos']+(_0x47d627(_0x561907['text']['charCodeAt'](_0x561907['pos']+0x1))?0x2:0x1)),_0x2d50d9['end']=_0x291a58['lineStart']+_0x561907['text']['length'],!0x0),[_0x2533dc['ListItem']]:(_0x2dd83b,_0x16ca89,_0x58a701)=>!(_0x58a701['indent']<_0x58a701['baseIndent']+_0x2dd83b['value']&&_0x58a701['next']>-0x1)&&(_0x58a701['moveBaseColumn'](_0x58a701['baseIndent']+_0x2dd83b['value']),!0x0),[_0x2533dc['OrderedList']]:_0x2c6a3b,[_0x2533dc['BulletList']]:_0x2c6a3b,[_0x2533dc['Document']]:()=>!0x0};function _0x47d627(_0xf12318){return 0x20==_0xf12318||0x9==_0xf12318||0xa==_0xf12318||0xd==_0xf12318;}function _0x483ca9(_0x499cc0,_0x1a02e8=0x0){for(;_0x1a02e8<_0x499cc0['length']&&_0x47d627(_0x499cc0['charCodeAt'](_0x1a02e8));)_0x1a02e8++;return _0x1a02e8;}function _0x1dc629(_0x1f1427,_0x309c7a,_0x453b67){for(;_0x309c7a>_0x453b67&&_0x47d627(_0x1f1427['charCodeAt'](_0x309c7a-0x1));)_0x309c7a--;return _0x309c7a;}function tC(_0xa12549){if(0x60!=_0xa12549['next']&&0x7e!=_0xa12549['next'])return-0x1;let _0x319547=_0xa12549['pos']+0x1;for(;_0x319547<_0xa12549['text']['length']&&_0xa12549['text']['charCodeAt'](_0x319547)==_0xa12549['next'];)_0x319547++;if(_0x319547<_0xa12549['pos']+0x3)return-0x1;if(0x60==_0xa12549['next']){for(let _0x49bc3a=_0x319547;_0x49bc3a<_0xa12549['text']['length'];_0x49bc3a++)if(0x60==_0xa12549['text']['charCodeAt'](_0x49bc3a))return-0x1;}return _0x319547;}function _0xca27f4(_0x59229c){return 0x3e!=_0x59229c['next']?-0x1:0x20==_0x59229c['text']['charCodeAt'](_0x59229c['pos']+0x1)?0x2:0x1;}function _0x23ab8f(_0x36ec16,_0x1d088a,_0x2b46be){if(0x2a!=_0x36ec16['next']&&0x2d!=_0x36ec16['next']&&0x5f!=_0x36ec16['next'])return-0x1;let _0x247266=0x1;for(let _0x397bd3=_0x36ec16['pos']+0x1;_0x397bd3<_0x36ec16['text']['length'];_0x397bd3++){let _0x342e1e=_0x36ec16['text']['charCodeAt'](_0x397bd3);if(_0x342e1e==_0x36ec16['next'])_0x247266++;else{if(!_0x47d627(_0x342e1e))return-0x1;}}return _0x2b46be&&0x2d==_0x36ec16['next']&&_0x416059(_0x36ec16)>-0x1&&_0x36ec16['depth']==_0x1d088a['stack']['length']&&_0x1d088a['parser']['leafBlockParsers']['indexOf'](_0x198976['SetextHeading'])>-0x1||_0x247266<0x3?-0x1:0x1;}function _0x11429d(_0x3df06a,_0x5adba9){for(let _0x1bf321=_0x3df06a['stack']['length']-0x1;_0x1bf321>=0x0;_0x1bf321--)if(_0x3df06a['stack'][_0x1bf321]['type']==_0x5adba9)return!0x0;return!0x1;}function _0x441f37(_0x16fc18,_0x2c5656,_0x4c4293){return 0x2d!=_0x16fc18['next']&&0x2b!=_0x16fc18['next']&&0x2a!=_0x16fc18['next']||_0x16fc18['pos']!=_0x16fc18['text']['length']-0x1&&!_0x47d627(_0x16fc18['text']['charCodeAt'](_0x16fc18['pos']+0x1))||!(!_0x4c4293||_0x11429d(_0x2c5656,_0x2533dc['BulletList'])||_0x16fc18['skipSpace'](_0x16fc18['pos']+0x2)<_0x16fc18['text']['length'])?-0x1:0x1;}function _0x41b205(_0x2fda4d,_0x220ec4,_0x5030f2){let _0x20f0a5=_0x2fda4d['pos'],_0x571b49=_0x2fda4d['next'];for(;_0x571b49>=0x30&&_0x571b49<=0x39;){if(_0x20f0a5++,_0x20f0a5==_0x2fda4d['text']['length'])return-0x1;_0x571b49=_0x2fda4d['text']['charCodeAt'](_0x20f0a5);}return _0x20f0a5==_0x2fda4d['pos']||_0x20f0a5>_0x2fda4d['pos']+0x9||0x2e!=_0x571b49&&0x29!=_0x571b49||_0x20f0a5<_0x2fda4d['text']['length']-0x1&&!_0x47d627(_0x2fda4d['text']['charCodeAt'](_0x20f0a5+0x1))||_0x5030f2&&!_0x11429d(_0x220ec4,_0x2533dc['OrderedList'])&&(_0x2fda4d['skipSpace'](_0x20f0a5+0x1)==_0x2fda4d['text']['length']||_0x20f0a5>_0x2fda4d['pos']+0x1||0x31!=_0x2fda4d['next'])?-0x1:_0x20f0a5+0x1-_0x2fda4d['pos'];}function _0x29d9e5(_0x5417ba){if(0x23!=_0x5417ba['next'])return-0x1;let _0xe9bddf=_0x5417ba['pos']+0x1;for(;_0xe9bddf<_0x5417ba['text']['length']&&0x23==_0x5417ba['text']['charCodeAt'](_0xe9bddf);)_0xe9bddf++;if(_0xe9bddf<_0x5417ba['text']['length']&&0x20!=_0x5417ba['text']['charCodeAt'](_0xe9bddf))return-0x1;let _0x5e29b9=_0xe9bddf-_0x5417ba['pos'];return _0x5e29b9>0x6?-0x1:_0x5e29b9;}function _0x416059(_0x4c2f23){if(0x2d!=_0x4c2f23['next']&&0x3d!=_0x4c2f23['next']||_0x4c2f23['indent']>=_0x4c2f23['baseIndent']+0x4)return-0x1;let _0xe5cb85=_0x4c2f23['pos']+0x1;for(;_0xe5cb85<_0x4c2f23['text']['length']&&_0x4c2f23['text']['charCodeAt'](_0xe5cb85)==_0x4c2f23['next'];)_0xe5cb85++;let _0xce7387=_0xe5cb85;for(;_0xe5cb85<_0x4c2f23['text']['length']&&_0x47d627(_0x4c2f23['text']['charCodeAt'](_0xe5cb85));)_0xe5cb85++;return _0xe5cb85==_0x4c2f23['text']['length']?_0xce7387:-0x1;}const _0x5b09fc=/^[ \t]*$/,_0x166b99=/-->/,_0x195e9c=/\?>/,_0x4357be=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x166b99],[/^\s*<\?/,_0x195e9c],[/^\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,_0x5b09fc],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0x5b09fc]];function _0x1ea019(_0x10b465,_0x1ef3f3,_0x1e5106){if(0x3c!=_0x10b465['next'])return-0x1;let _0x4f78da=_0x10b465['text']['slice'](_0x10b465['pos']);for(let _0x3ad495=0x0,_0x3a90bd=_0x4357be['length']-(_0x1e5106?0x1:0x0);_0x3ad495<_0x3a90bd;_0x3ad495++)if(_0x4357be[_0x3ad495][0x0]['test'](_0x4f78da))return _0x3ad495;return-0x1;}function _0x169960(_0x4fd097,_0x5ccf17){let _0x3e072d=_0x4fd097['countIndent'](_0x5ccf17,_0x4fd097['pos'],_0x4fd097['indent']),_0x23866f=_0x4fd097['countIndent'](_0x4fd097['skipSpace'](_0x5ccf17),_0x5ccf17,_0x3e072d);return _0x23866f>=_0x3e072d+0x5?_0x3e072d+0x1:_0x23866f;}function _0x1d8ec5(_0x493789,_0x521818,_0x16b39e){let _0x34a689=_0x493789['length']-0x1;_0x34a689>=0x0&&_0x493789[_0x34a689]['to']==_0x521818&&_0x493789[_0x34a689]['type']==_0x2533dc['CodeText']?_0x493789[_0x34a689]['to']=_0x16b39e:_0x493789['push'](_0x1e4a83(_0x2533dc['CodeText'],_0x521818,_0x16b39e));}const _0x34068b={'LinkReference':void 0x0,'IndentedCode'(_0x459ea9,_0x34e614){let _0x51078b=_0x34e614['baseIndent']+0x4;if(_0x34e614['indent']<_0x51078b)return!0x1;let _0x32fb58=_0x34e614['findColumn'](_0x51078b),_0xe43ff5=_0x459ea9['lineStart']+_0x32fb58,_0x2b7230=_0x459ea9['lineStart']+_0x34e614['text']['length'],_0x223e67=[],_0x3df3ff=[];for(_0x1d8ec5(_0x223e67,_0xe43ff5,_0x2b7230);_0x459ea9['nextLine']()&&_0x34e614['depth']>=_0x459ea9['stack']['length'];)if(_0x34e614['pos']==_0x34e614['text']['length']){_0x1d8ec5(_0x3df3ff,_0x459ea9['lineStart']-0x1,_0x459ea9['lineStart']);for(let _0x53490d of _0x34e614['markers'])_0x3df3ff['push'](_0x53490d);}else{if(_0x34e614['indent']<_0x51078b)break;{if(_0x3df3ff['length']){for(let _0x5f5ce9 of _0x3df3ff)_0x5f5ce9['type']==_0x2533dc['CodeText']?_0x1d8ec5(_0x223e67,_0x5f5ce9['from'],_0x5f5ce9['to']):_0x223e67['push'](_0x5f5ce9);_0x3df3ff=[];}_0x1d8ec5(_0x223e67,_0x459ea9['lineStart']-0x1,_0x459ea9['lineStart']);for(let _0x31b5c3 of _0x34e614['markers'])_0x223e67['push'](_0x31b5c3);_0x2b7230=_0x459ea9['lineStart']+_0x34e614['text']['length'];let _0x3a4ac3=_0x459ea9['lineStart']+_0x34e614['findColumn'](_0x34e614['baseIndent']+0x4);_0x3a4ac3<_0x2b7230&&_0x1d8ec5(_0x223e67,_0x3a4ac3,_0x2b7230);}}return _0x3df3ff['length']&&(_0x3df3ff=_0x3df3ff['filter'](_0x3d7eae=>_0x3d7eae['type']!=_0x2533dc['CodeText']),_0x3df3ff['length']&&(_0x34e614['markers']=_0x3df3ff['concat'](_0x34e614['markers']))),_0x459ea9['addNode'](_0x459ea9['buffer']['writeElements'](_0x223e67,-_0xe43ff5)['finish'](_0x2533dc['CodeBlock'],_0x2b7230-_0xe43ff5),_0xe43ff5),!0x0;},'FencedCode'(_0x5e2c9c,_0x4eb168){let _0x4d049a=tC(_0x4eb168);if(_0x4d049a<0x0)return!0x1;let _0x16e3d9=_0x5e2c9c['lineStart']+_0x4eb168['pos'],_0x23c48c=_0x4eb168['next'],_0x382220=_0x4d049a-_0x4eb168['pos'],_0x5ea5d8=_0x4eb168['skipSpace'](_0x4d049a),_0x3cbb3c=_0x1dc629(_0x4eb168['text'],_0x4eb168['text']['length'],_0x5ea5d8),_0x138d1f=[_0x1e4a83(_0x2533dc['CodeMark'],_0x16e3d9,_0x16e3d9+_0x382220)];_0x5ea5d8<_0x3cbb3c&&_0x138d1f['push'](_0x1e4a83(_0x2533dc['CodeInfo'],_0x5e2c9c['lineStart']+_0x5ea5d8,_0x5e2c9c['lineStart']+_0x3cbb3c));for(let _0x53a060=!0x0;_0x5e2c9c['nextLine']()&&_0x4eb168['depth']>=_0x5e2c9c['stack']['length'];_0x53a060=!0x1){let _0x4601fb=_0x4eb168['pos'];if(_0x4eb168['indent']-_0x4eb168['baseIndent']<0x4){for(;_0x4601fb<_0x4eb168['text']['length']&&_0x4eb168['text']['charCodeAt'](_0x4601fb)==_0x23c48c;)_0x4601fb++;}if(_0x4601fb-_0x4eb168['pos']>=_0x382220&&_0x4eb168['skipSpace'](_0x4601fb)==_0x4eb168['text']['length']){for(let _0x5ab4d5 of _0x4eb168['markers'])_0x138d1f['push'](_0x5ab4d5);_0x138d1f['push'](_0x1e4a83(_0x2533dc['CodeMark'],_0x5e2c9c['lineStart']+_0x4eb168['pos'],_0x5e2c9c['lineStart']+_0x4601fb)),_0x5e2c9c['nextLine']();break;}{_0x53a060||_0x1d8ec5(_0x138d1f,_0x5e2c9c['lineStart']-0x1,_0x5e2c9c['lineStart']);for(let _0x5e1950 of _0x4eb168['markers'])_0x138d1f['push'](_0x5e1950);let _0x39f42b=_0x5e2c9c['lineStart']+_0x4eb168['basePos'],_0x17428f=_0x5e2c9c['lineStart']+_0x4eb168['text']['length'];_0x39f42b<_0x17428f&&_0x1d8ec5(_0x138d1f,_0x39f42b,_0x17428f);}}return _0x5e2c9c['addNode'](_0x5e2c9c['buffer']['writeElements'](_0x138d1f,-_0x16e3d9)['finish'](_0x2533dc['FencedCode'],_0x5e2c9c['prevLineEnd']()-_0x16e3d9),_0x16e3d9),!0x0;},'Blockquote'(_0x4e3471,_0x486821){let _0x2d1583=_0xca27f4(_0x486821);return!(_0x2d1583<0x0)&&(_0x4e3471['startContext'](_0x2533dc['Blockquote'],_0x486821['pos']),_0x4e3471['addNode'](_0x2533dc['QuoteMark'],_0x4e3471['lineStart']+_0x486821['pos'],_0x4e3471['lineStart']+_0x486821['pos']+0x1),_0x486821['moveBase'](_0x486821['pos']+_0x2d1583),null);},'HorizontalRule'(_0x3b9073,_0x37fa7b){if(_0x23ab8f(_0x37fa7b,_0x3b9073,!0x1)<0x0)return!0x1;let _0x4aaa58=_0x3b9073['lineStart']+_0x37fa7b['pos'];return _0x3b9073['nextLine'](),_0x3b9073['addNode'](_0x2533dc['HorizontalRule'],_0x4aaa58),!0x0;},'BulletList'(_0x471275,_0x26c422){let _0x177f45=_0x441f37(_0x26c422,_0x471275,!0x1);if(_0x177f45<0x0)return!0x1;_0x471275['block']['type']!=_0x2533dc['BulletList']&&_0x471275['startContext'](_0x2533dc['BulletList'],_0x26c422['basePos'],_0x26c422['next']);let _0x3fcff3=_0x169960(_0x26c422,_0x26c422['pos']+0x1);return _0x471275['startContext'](_0x2533dc['ListItem'],_0x26c422['basePos'],_0x3fcff3-_0x26c422['baseIndent']),_0x471275['addNode'](_0x2533dc['ListMark'],_0x471275['lineStart']+_0x26c422['pos'],_0x471275['lineStart']+_0x26c422['pos']+_0x177f45),_0x26c422['moveBaseColumn'](_0x3fcff3),null;},'OrderedList'(_0x2275ee,_0x299206){let _0x598359=_0x41b205(_0x299206,_0x2275ee,!0x1);if(_0x598359<0x0)return!0x1;_0x2275ee['block']['type']!=_0x2533dc['OrderedList']&&_0x2275ee['startContext'](_0x2533dc['OrderedList'],_0x299206['basePos'],_0x299206['text']['charCodeAt'](_0x299206['pos']+_0x598359-0x1));let _0x1c40fc=_0x169960(_0x299206,_0x299206['pos']+_0x598359);return _0x2275ee['startContext'](_0x2533dc['ListItem'],_0x299206['basePos'],_0x1c40fc-_0x299206['baseIndent']),_0x2275ee['addNode'](_0x2533dc['ListMark'],_0x2275ee['lineStart']+_0x299206['pos'],_0x2275ee['lineStart']+_0x299206['pos']+_0x598359),_0x299206['moveBaseColumn'](_0x1c40fc),null;},'ATXHeading'(_0x5b22f5,_0x986bdf){let _0x296186=_0x29d9e5(_0x986bdf);if(_0x296186<0x0)return!0x1;let _0x15418d=_0x986bdf['pos'],_0xf1bdab=_0x5b22f5['lineStart']+_0x15418d,_0x2052a8=_0x1dc629(_0x986bdf['text'],_0x986bdf['text']['length'],_0x15418d),_0x2a64c4=_0x2052a8;for(;_0x2a64c4>_0x15418d&&_0x986bdf['text']['charCodeAt'](_0x2a64c4-0x1)==_0x986bdf['next'];)_0x2a64c4--;_0x2a64c4!=_0x2052a8&&_0x2a64c4!=_0x15418d&&_0x47d627(_0x986bdf['text']['charCodeAt'](_0x2a64c4-0x1))||(_0x2a64c4=_0x986bdf['text']['length']);let _0x253af9=_0x5b22f5['buffer']['write'](_0x2533dc['HeaderMark'],0x0,_0x296186)['writeElements'](_0x5b22f5['parser']['parseInline'](_0x986bdf['text']['slice'](_0x15418d+_0x296186+0x1,_0x2a64c4),_0xf1bdab+_0x296186+0x1),-_0xf1bdab);_0x2a64c4<_0x986bdf['text']['length']&&_0x253af9['write'](_0x2533dc['HeaderMark'],_0x2a64c4-_0x15418d,_0x2052a8-_0x15418d);let _0x4f41b4=_0x253af9['finish'](_0x2533dc['ATXHeading1']-0x1+_0x296186,_0x986bdf['text']['length']-_0x15418d);return _0x5b22f5['nextLine'](),_0x5b22f5['addNode'](_0x4f41b4,_0xf1bdab),!0x0;},'HTMLBlock'(_0xf7ce4b,_0x5da061){let _0x5e8356=_0x1ea019(_0x5da061,0x0,!0x1);if(_0x5e8356<0x0)return!0x1;let _0x24eedb=_0xf7ce4b['lineStart']+_0x5da061['pos'],_0x2e0072=_0x4357be[_0x5e8356][0x1],_0x8b1c47=[],_0x24f584=_0x2e0072!=_0x5b09fc;for(;!_0x2e0072['test'](_0x5da061['text'])&&_0xf7ce4b['nextLine']();){if(_0x5da061['depth']<_0xf7ce4b['stack']['length']){_0x24f584=!0x1;break;}for(let _0x4c5bec of _0x5da061['markers'])_0x8b1c47['push'](_0x4c5bec);}_0x24f584&&_0xf7ce4b['nextLine']();let _0x2eb3b8=_0x2e0072==_0x166b99?_0x2533dc['CommentBlock']:_0x2e0072==_0x195e9c?_0x2533dc['ProcessingInstructionBlock']:_0x2533dc['HTMLBlock'],_0x24c1b8=_0xf7ce4b['prevLineEnd']();return _0xf7ce4b['addNode'](_0xf7ce4b['buffer']['writeElements'](_0x8b1c47,-_0x24eedb)['finish'](_0x2eb3b8,_0x24c1b8-_0x24eedb),_0x24eedb),!0x0;},'SetextHeading':void 0x0};class _0x549933{constructor(_0xcb0344){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0xcb0344['start'],this['advance'](_0xcb0344['content']);}['nextLine'](_0x2fe2ab,_0x4ed682,_0x237644){if(-0x1==this['stage'])return!0x1;let _0x455907=_0x237644['content']+'\x0a'+_0x4ed682['scrub'](),_0x1e9684=this['advance'](_0x455907);return _0x1e9684>-0x1&&_0x1e9684<_0x455907['length']&&this['complete'](_0x2fe2ab,_0x237644,_0x1e9684);}['finish'](_0x248e80,_0x4fffe0){return(0x2==this['stage']||0x3==this['stage'])&&_0x483ca9(_0x4fffe0['content'],this['pos'])==_0x4fffe0['content']['length']&&this['complete'](_0x248e80,_0x4fffe0,_0x4fffe0['content']['length']);}['complete'](_0x617df3,_0x268462,_0x3f06d9){return _0x617df3['addLeafElement'](_0x268462,_0x1e4a83(_0x2533dc['LinkReference'],this['start'],this['start']+_0x3f06d9,this['elts'])),!0x0;}['nextStage'](_0x3b6c02){return _0x3b6c02?(this['pos']=_0x3b6c02['to']-this['start'],this['elts']['push'](_0x3b6c02),this['stage']++,!0x0):(!0x1===_0x3b6c02&&(this['stage']=-0x1),!0x1);}['advance'](_0x4ab4d9){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x2c0506(_0x4ab4d9,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x4ab4d9['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x1e4a83(_0x2533dc['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x2e90b2=_0x483ca9(_0x4ab4d9,this['pos']),_0x1f814d=0x0;if(_0x2e90b2>this['pos']){let _0x195581=_0x3a55b7(_0x4ab4d9,_0x2e90b2,this['start']);if(_0x195581){let _0x436286=_0x6d698b(_0x4ab4d9,_0x195581['to']-this['start']);_0x436286>0x0&&(this['nextStage'](_0x195581),_0x1f814d=_0x436286);}}return _0x1f814d||(_0x1f814d=_0x6d698b(_0x4ab4d9,this['pos'])),_0x1f814d>0x0&&_0x1f814d<_0x4ab4d9['length']?_0x1f814d:-0x1;}return _0x6d698b(_0x4ab4d9,this['pos']);}if(!this['nextStage'](_0x1a4fd5(_0x4ab4d9,_0x483ca9(_0x4ab4d9,this['pos']),this['start'])))return-0x1;}}}}function _0x6d698b(_0xedb2cb,_0x271a0a){for(;_0x271a0a<_0xedb2cb['length'];_0x271a0a++){let _0x2637d7=_0xedb2cb['charCodeAt'](_0x271a0a);if(0xa==_0x2637d7)break;if(!_0x47d627(_0x2637d7))return-0x1;}return _0x271a0a;}class SetextHeadingParser{['nextLine'](_0x3b5267,_0x3b8a0e,_0x44ee31){let _0x29ec6e=_0x3b8a0e['depth']<_0x3b5267['stack']['length']?-0x1:_0x416059(_0x3b8a0e),_0x254583=_0x3b8a0e['next'];if(_0x29ec6e<0x0)return!0x1;let _0x2bd8fd=_0x1e4a83(_0x2533dc['HeaderMark'],_0x3b5267['lineStart']+_0x3b8a0e['pos'],_0x3b5267['lineStart']+_0x29ec6e);return _0x3b5267['nextLine'](),_0x3b5267['addLeafElement'](_0x44ee31,_0x1e4a83(0x3d==_0x254583?_0x2533dc['SetextHeading1']:_0x2533dc['SetextHeading2'],_0x44ee31['start'],_0x3b5267['prevLineEnd'](),[..._0x3b5267['parser']['parseInline'](_0x44ee31['content'],_0x44ee31['start']),_0x2bd8fd])),!0x0;}['finish'](){return!0x1;}}const _0x198976={'LinkReference':(_0xcbd219,_0x3b9c2c)=>0x5b==_0x3b9c2c['content']['charCodeAt'](0x0)?new _0x549933(_0x3b9c2c):null,'SetextHeading':()=>new SetextHeadingParser()},_0x17977d=[(_0x5d8ffc,_0x27d562)=>_0x29d9e5(_0x27d562)>=0x0,(_0xf190d8,_0x4dd37c)=>tC(_0x4dd37c)>=0x0,(_0x4a230e,_0x43c902)=>_0xca27f4(_0x43c902)>=0x0,(_0x9c7d97,_0x40c501)=>_0x441f37(_0x40c501,_0x9c7d97,!0x0)>=0x0,(_0x531402,_0x11216f)=>_0x41b205(_0x11216f,_0x531402,!0x0)>=0x0,(_0x59ad65,_0x5c94b6)=>_0x23ab8f(_0x5c94b6,_0x59ad65,!0x0)>=0x0,(_0x5e6970,_0x175ea5)=>_0x1ea019(_0x175ea5,0x0,!0x0)>=0x0],_0x4faea9={'text':'','end':0x0};class BlockContext{constructor(_0x2c0983,_0x4c37ac,_0x516208,_0x40c510){this['parser']=_0x2c0983,this['input']=_0x4c37ac,this['ranges']=_0x40c510,this['line']=new _0x3ef925(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x40c510[_0x40c510['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x40c510[0x0]['from'],this['block']=CompositeBlock['create'](_0x2533dc['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x516208['length']?new FragmentCursor(_0x516208,_0x4c37ac):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0xf70822}=this;for(;;){for(let _0x1ed3e6=0x0;;){let _0x388b8a=_0xf70822['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x1ed3e6<_0xf70822['markers']['length']&&(!_0x388b8a||_0xf70822['markers'][_0x1ed3e6]['from']<_0x388b8a['end']);){let _0x357958=_0xf70822['markers'][_0x1ed3e6++];this['addNode'](_0x357958['type'],_0x357958['from'],_0x357958['to']);}if(!_0x388b8a)break;this['finishContext']();}if(_0xf70822['pos']<_0xf70822['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0xf70822['basePos']))return null;t:for(;;){for(let _0x1d6dc3 of this['parser']['blockParsers'])if(_0x1d6dc3){let _0x503fcf=_0x1d6dc3(this,_0xf70822);if(0x0!=_0x503fcf){if(0x1==_0x503fcf)return null;_0xf70822['forward']();continue t;}}break;}let _0x53e041=new _0x2ddd97(this['lineStart']+_0xf70822['pos'],_0xf70822['text']['slice'](_0xf70822['pos']));for(let _0xa91f8b of this['parser']['leafBlockParsers'])if(_0xa91f8b){let _0x1aeba3=_0xa91f8b(this,_0x53e041);_0x1aeba3&&_0x53e041['parsers']['push'](_0x1aeba3);}t:for(;this['nextLine']()&&_0xf70822['pos']!=_0xf70822['text']['length'];){if(_0xf70822['indent']<_0xf70822['baseIndent']+0x4){for(let _0x1d416d of this['parser']['endLeafBlock'])if(_0x1d416d(this,_0xf70822,_0x53e041))break t;}for(let _0xfcd460 of _0x53e041['parsers'])if(_0xfcd460['nextLine'](this,_0xf70822,_0x53e041))return null;_0x53e041['content']+='\x0a'+_0xf70822['scrub']();for(let _0x31cdaa of _0xf70822['markers'])_0x53e041['marks']['push'](_0x31cdaa);}return this['finishLeaf'](_0x53e041),null;}['stopAt'](_0x3e6cbb){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x3e6cbb)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x3e6cbb;}['reuseFragment'](_0x5df222){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x5df222,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x1752a3=this['fragments']['takeNodes'](this);return!!_0x1752a3&&(this['absoluteLineStart']+=_0x1752a3,this['lineStart']=_0x1c4c1f(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'](_0x40b73c=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x40b73c]['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'](_0x4a4ba9){let _0x1b870c=_0x4faea9;if(_0x1b870c['end']=_0x4a4ba9,_0x4a4ba9>=this['to'])_0x1b870c['text']='';else{if(_0x1b870c['text']=this['lineChunkAt'](_0x4a4ba9),_0x1b870c['end']+=_0x1b870c['text']['length'],this['ranges']['length']>0x1){let _0x15edb=this['absoluteLineStart'],_0xf7fac4=this['rangeI'];for(;this['ranges'][_0xf7fac4]['to']<_0x1b870c['end'];){_0xf7fac4++;let _0x2ea715=this['ranges'][_0xf7fac4]['from'],_0xc9c77b=this['lineChunkAt'](_0x2ea715);_0x1b870c['end']=_0x2ea715+_0xc9c77b['length'],_0x1b870c['text']=_0x1b870c['text']['slice'](0x0,this['ranges'][_0xf7fac4-0x1]['to']-_0x15edb)+_0xc9c77b,_0x15edb=_0x1b870c['end']-_0x1b870c['text']['length'];}}}return _0x1b870c;}['readLine'](){let {line:_0x30f4ee}=this,{text:_0x230b94,end:_0x53946d}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x53946d,_0x30f4ee['reset'](_0x230b94);_0x30f4ee['depth']<this['stack']['length'];_0x30f4ee['depth']++){let _0x1f0f8c=this['stack'][_0x30f4ee['depth']],_0x1ff7ae=this['parser']['skipContextMarkup'][_0x1f0f8c['type']];if(!_0x1ff7ae)throw new Error('Unhandled\x20block\x20context\x20'+_0x2533dc[_0x1f0f8c['type']]);let _0x2fbeae=this['line']['markers']['length'];if(!_0x1ff7ae(_0x1f0f8c,this,_0x30f4ee)){this['line']['markers']['length']>_0x2fbeae&&(_0x1f0f8c['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x30f4ee['forward']();}}['lineChunkAt'](_0x3856f2){let _0x43dd15,_0x27c0d0=this['input']['chunk'](_0x3856f2);if(this['input']['lineChunks'])_0x43dd15='\x0a'==_0x27c0d0?'':_0x27c0d0;else{let _0x4442fe=_0x27c0d0['indexOf']('\x0a');_0x43dd15=_0x4442fe<0x0?_0x27c0d0:_0x27c0d0['slice'](0x0,_0x4442fe);}return _0x3856f2+_0x43dd15['length']>this['to']?_0x43dd15['slice'](0x0,this['to']-_0x3856f2):_0x43dd15;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x48aa03,_0x14af75,_0x4112a8=0x0){this['block']=CompositeBlock['create'](_0x48aa03,_0x4112a8,this['lineStart']+_0x14af75,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x405ddd,_0x3eeb2c,_0x5bb0d6=0x0){this['startContext'](this['parser']['getNodeType'](_0x405ddd),_0x3eeb2c,_0x5bb0d6);}['addNode'](_0x4fe14d,_0x12d91f,_0x21f47e){'number'==typeof _0x4fe14d&&(_0x4fe14d=new _0x5c5fb3(this['parser']['nodeSet']['types'][_0x4fe14d],_0x5c662a,_0x5c662a,(null!=_0x21f47e?_0x21f47e:this['prevLineEnd']())-_0x12d91f)),this['block']['addChild'](_0x4fe14d,_0x12d91f-this['block']['from']);}['addElement'](_0x86268a){this['block']['addChild'](_0x86268a['toTree'](this['parser']['nodeSet']),_0x86268a['from']-this['block']['from']);}['addLeafElement'](_0x2e7200,_0x39b6e4){this['addNode'](this['buffer']['writeElements'](_0x397116(_0x39b6e4['children'],_0x2e7200['marks']),-_0x39b6e4['from'])['finish'](_0x39b6e4['type'],_0x39b6e4['to']-_0x39b6e4['from']),_0x39b6e4['from']);}['finishContext'](){let _0x13ec6e=this['stack']['pop'](),_0x5a8f4c=this['stack'][this['stack']['length']-0x1];_0x5a8f4c['addChild'](_0x13ec6e['toTree'](this['parser']['nodeSet']),_0x13ec6e['from']-_0x5a8f4c['from']),this['block']=_0x5a8f4c;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x140b41){return this['ranges']['length']>0x1?_0x279992(this['ranges'],0x0,_0x140b41['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x140b41;}['finishLeaf'](_0x10077e){for(let _0x5c61e3 of _0x10077e['parsers'])if(_0x5c61e3['finish'](this,_0x10077e))return;let _0x50fbc0=_0x397116(this['parser']['parseInline'](_0x10077e['content'],_0x10077e['start']),_0x10077e['marks']);this['addNode'](this['buffer']['writeElements'](_0x50fbc0,-_0x10077e['start'])['finish'](_0x2533dc['Paragraph'],_0x10077e['content']['length']),_0x10077e['start']);}['elt'](_0x4d7fb,_0x52c0bc,_0x4ca5d4,_0x65979d){return'string'==typeof _0x4d7fb?_0x1e4a83(this['parser']['getNodeType'](_0x4d7fb),_0x52c0bc,_0x4ca5d4,_0x65979d):new TreeElement(_0x4d7fb,_0x52c0bc);}get['buffer'](){return new _0x4a8336(this['parser']['nodeSet']);}}function _0x279992(_0x2cd3a5,_0x3054a1,_0x593654,_0x38f65d,_0x56269d){let _0x5f2f11=_0x2cd3a5[_0x3054a1]['to'],_0x4f3aa2=[],_0x31a76b=[],_0x245bc5=_0x593654['from']+_0x38f65d;function _0x46e45b(_0x2f1776,_0x1c28a5){for(;_0x1c28a5?_0x2f1776>=_0x5f2f11:_0x2f1776>_0x5f2f11;){let _0x2032f2=_0x2cd3a5[_0x3054a1+0x1]['from']-_0x5f2f11;_0x38f65d+=_0x2032f2,_0x2f1776+=_0x2032f2,_0x3054a1++,_0x5f2f11=_0x2cd3a5[_0x3054a1]['to'];}}for(let _0x5d9033=_0x593654['firstChild'];_0x5d9033;_0x5d9033=_0x5d9033['nextSibling']){_0x46e45b(_0x5d9033['from']+_0x38f65d,!0x0);let _0x345eef,_0x22240c=_0x5d9033['from']+_0x38f65d,_0x480421=_0x56269d['get'](_0x5d9033['tree']);_0x480421?_0x345eef=_0x480421:_0x5d9033['to']+_0x38f65d>_0x5f2f11?(_0x345eef=_0x279992(_0x2cd3a5,_0x3054a1,_0x5d9033,_0x38f65d,_0x56269d),_0x46e45b(_0x5d9033['to']+_0x38f65d,!0x1)):_0x345eef=_0x5d9033['toTree'](),_0x4f3aa2['push'](_0x345eef),_0x31a76b['push'](_0x22240c-_0x245bc5);}return _0x46e45b(_0x593654['to']+_0x38f65d,!0x1),new _0x5c5fb3(_0x593654['type'],_0x4f3aa2,_0x31a76b,_0x593654['to']+_0x38f65d-_0x245bc5,_0x593654['tree']?_0x593654['tree']['propValues']:void 0x0);}class _0xd1849d extends _0x583980{constructor(_0x168d00,_0x94cb7d,_0x3b481f,_0xf0ea7c,_0x2815e0,_0x381221,_0x11638d,_0x51e291,_0x5b134e){super(),this['nodeSet']=_0x168d00,this['blockParsers']=_0x94cb7d,this['leafBlockParsers']=_0x3b481f,this['blockNames']=_0xf0ea7c,this['endLeafBlock']=_0x2815e0,this['skipContextMarkup']=_0x381221,this['inlineParsers']=_0x11638d,this['inlineNames']=_0x51e291,this['wrappers']=_0x5b134e,this['nodeTypes']=Object['create'](null);for(let t of _0x168d00['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x3a3687,_0x13f4a3,_0x24a4be){let _0x51a011=new BlockContext(this,_0x3a3687,_0x13f4a3,_0x24a4be);for(let _0x28d18c of this['wrappers'])_0x51a011=_0x28d18c(_0x51a011,_0x3a3687,_0x13f4a3,_0x24a4be);return _0x51a011;}['configure'](_0x9ca9b0){let _0x5b3150=_0x41bb4b(_0x9ca9b0);if(!_0x5b3150)return this;let {nodeSet:_0x526fdb,skipContextMarkup:_0x49448b}=this,_0x476e69=this['blockParsers']['slice'](),_0x454ec7=this['leafBlockParsers']['slice'](),_0x4d33c2=this['blockNames']['slice'](),_0x12debb=this['inlineParsers']['slice'](),_0x410a14=this['inlineNames']['slice'](),_0x58d91b=this['endLeafBlock']['slice'](),_0x1f81fa=this['wrappers'];if(_0x13bdf6(_0x5b3150['defineNodes'])){_0x49448b=Object['assign']({},_0x49448b);let _0x3e57d6,_0x2248e0=_0x526fdb['types']['slice']();for(let _0x32f15d of _0x5b3150['defineNodes']){let {name:_0xc3dce4,block:_0x41d818,composite:_0x194d53,style:_0x4fd053}='string'==typeof _0x32f15d?{'name':_0x32f15d}:_0x32f15d;if(_0x2248e0['some'](t=>t['name']==_0xc3dce4))continue;_0x194d53&&(_0x49448b[_0x2248e0['length']]=(_0x3a09d3,_0x42305a,_0x5d3b32)=>_0x194d53(_0x42305a,_0x5d3b32,_0x3a09d3['value']));let _0x2a6cc1=_0x2248e0['length'],_0x550759=_0x194d53?['Block','BlockContext']:_0x41d818?_0x2a6cc1>=_0x2533dc['ATXHeading1']&&_0x2a6cc1<=_0x2533dc['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x2248e0['push'](_0x242d89['define']({'id':_0x2a6cc1,'name':_0xc3dce4,'props':_0x550759&&[[_0x16f115['group'],_0x550759]]})),_0x4fd053&&(_0x3e57d6||(_0x3e57d6={}),Array['isArray'](_0x4fd053)||_0x4fd053 instanceof _0x4f5070?_0x3e57d6[_0xc3dce4]=_0x4fd053:Object['assign'](_0x3e57d6,_0x4fd053));}_0x526fdb=new NodeSet(_0x2248e0),_0x3e57d6&&(_0x526fdb=_0x526fdb['extend'](_0x4a339a(_0x3e57d6)));}if(_0x13bdf6(_0x5b3150['props'])&&(_0x526fdb=_0x526fdb['extend'](..._0x5b3150['props'])),_0x13bdf6(_0x5b3150['remove']))for(let _0x47b59f of _0x5b3150['remove']){let _0x2c9147=this['blockNames']['indexOf'](_0x47b59f),_0x24a81b=this['inlineNames']['indexOf'](_0x47b59f);_0x2c9147>-0x1&&(_0x476e69[_0x2c9147]=_0x454ec7[_0x2c9147]=void 0x0),_0x24a81b>-0x1&&(_0x12debb[_0x24a81b]=void 0x0);}if(_0x13bdf6(_0x5b3150['parseBlock']))for(let _0x1641f4 of _0x5b3150['parseBlock']){let _0x1020be=_0x4d33c2['indexOf'](_0x1641f4['name']);if(_0x1020be>-0x1)_0x476e69[_0x1020be]=_0x1641f4['parse'],_0x454ec7[_0x1020be]=_0x1641f4['leaf'];else{let _0x5596ff=_0x1641f4['before']?_0x28d449(_0x4d33c2,_0x1641f4['before']):_0x1641f4['after']?_0x28d449(_0x4d33c2,_0x1641f4['after'])+0x1:_0x4d33c2['length']-0x1;_0x476e69['splice'](_0x5596ff,0x0,_0x1641f4['parse']),_0x454ec7['splice'](_0x5596ff,0x0,_0x1641f4['leaf']),_0x4d33c2['splice'](_0x5596ff,0x0,_0x1641f4['name']);}_0x1641f4['endLeaf']&&_0x58d91b['push'](_0x1641f4['endLeaf']);}if(_0x13bdf6(_0x5b3150['parseInline']))for(let _0x3fa6a2 of _0x5b3150['parseInline']){let _0x52fc97=_0x410a14['indexOf'](_0x3fa6a2['name']);if(_0x52fc97>-0x1)_0x12debb[_0x52fc97]=_0x3fa6a2['parse'];else{let _0x2b7132=_0x3fa6a2['before']?_0x28d449(_0x410a14,_0x3fa6a2['before']):_0x3fa6a2['after']?_0x28d449(_0x410a14,_0x3fa6a2['after'])+0x1:_0x410a14['length']-0x1;_0x12debb['splice'](_0x2b7132,0x0,_0x3fa6a2['parse']),_0x410a14['splice'](_0x2b7132,0x0,_0x3fa6a2['name']);}}return _0x5b3150['wrap']&&(_0x1f81fa=_0x1f81fa['concat'](_0x5b3150['wrap'])),new _0xd1849d(_0x526fdb,_0x476e69,_0x454ec7,_0x4d33c2,_0x58d91b,_0x49448b,_0x12debb,_0x410a14,_0x1f81fa);}['getNodeType'](_0x3c199b){let _0x21c8e1=this['nodeTypes'][_0x3c199b];if(null==_0x21c8e1)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x3c199b+'\x27');return _0x21c8e1;}['parseInline'](_0x46c7be,_0x234f7f){let _0x2cbb0c=new InlineContext(this,_0x46c7be,_0x234f7f);t:for(let _0x7abea8=_0x234f7f;_0x7abea8<_0x2cbb0c['end'];){let _0x440838=_0x2cbb0c['char'](_0x7abea8);for(let _0x3c7f7d of this['inlineParsers'])if(_0x3c7f7d){let _0x33cab4=_0x3c7f7d(_0x2cbb0c,_0x440838,_0x7abea8);if(_0x33cab4>=0x0){_0x7abea8=_0x33cab4;continue t;}}_0x7abea8++;}return _0x2cbb0c['resolveMarkers'](0x0);}}function _0x13bdf6(_0x28df9c){return null!=_0x28df9c&&_0x28df9c['length']>0x0;}function _0x41bb4b(_0xf1998b){if(!Array['isArray'](_0xf1998b))return _0xf1998b;if(0x0==_0xf1998b['length'])return null;let _0x3f9165=_0x41bb4b(_0xf1998b[0x0]);if(0x1==_0xf1998b['length'])return _0x3f9165;let _0x142204=_0x41bb4b(_0xf1998b['slice'](0x1));if(!_0x142204||!_0x3f9165)return _0x3f9165||_0x142204;let _0x49c83f=(_0x3b66c0,_0x1fc0ca)=>(_0x3b66c0||_0x5c662a)['concat'](_0x1fc0ca||_0x5c662a),_0x356029=_0x3f9165['wrap'],_0x101a73=_0x142204['wrap'];return{'props':_0x49c83f(_0x3f9165['props'],_0x142204['props']),'defineNodes':_0x49c83f(_0x3f9165['defineNodes'],_0x142204['defineNodes']),'parseBlock':_0x49c83f(_0x3f9165['parseBlock'],_0x142204['parseBlock']),'parseInline':_0x49c83f(_0x3f9165['parseInline'],_0x142204['parseInline']),'remove':_0x49c83f(_0x3f9165['remove'],_0x142204['remove']),'wrap':_0x356029?_0x101a73?(_0x59b003,_0x828a,_0x3ffc69,_0x2cedca)=>_0x356029(_0x101a73(_0x59b003,_0x828a,_0x3ffc69,_0x2cedca),_0x828a,_0x3ffc69,_0x2cedca):_0x356029:_0x101a73};}function _0x28d449(_0x3edd51,_0xf2c083){let _0x466434=_0x3edd51['indexOf'](_0xf2c083);if(_0x466434<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0xf2c083);return _0x466434;}let _0x1d8032=[_0x242d89['none']];for(let _0x17a29e,_0x25c871=0x1;_0x17a29e=_0x2533dc[_0x25c871];_0x25c871++)_0x1d8032[_0x25c871]=_0x242d89['define']({'id':_0x25c871,'name':_0x17a29e,'props':_0x25c871>=_0x2533dc['Escape']?[]:[[_0x16f115['group'],_0x25c871 in _0x482ef9?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x17a29e});const _0x5c662a=[];let _0x4a8336=class _0x49b789{constructor(_0x3cbd62){this['nodeSet']=_0x3cbd62,this['content']=[],this['nodes']=[];}['write'](_0x4551b9,_0x499f31,_0x371143,_0x34bd63=0x0){return this['content']['push'](_0x4551b9,_0x499f31,_0x371143,0x4+0x4*_0x34bd63),this;}['writeElements'](_0x2340de,_0x6223bf=0x0){for(let _0x125502 of _0x2340de)_0x125502['writeTo'](this,_0x6223bf);return this;}['finish'](_0x511992,_0x157080){return _0x5c5fb3['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x511992,'length':_0x157080});}},_0x43c809=class Element{constructor(_0x2928ef,_0x4b8e5c,_0x21e1f7,_0x395f92=_0x5c662a){this['type']=_0x2928ef,this['from']=_0x4b8e5c,this['to']=_0x21e1f7,this['children']=_0x395f92;}['writeTo'](_0x30de86,_0x47c4ec){let _0x2164e5=_0x30de86['content']['length'];_0x30de86['writeElements'](this['children'],_0x47c4ec),_0x30de86['content']['push'](this['type'],this['from']+_0x47c4ec,this['to']+_0x47c4ec,_0x30de86['content']['length']+0x4-_0x2164e5);}['toTree'](_0x2bbb66){return new _0x4a8336(_0x2bbb66)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x29deb5,_0x2418bf){this['tree']=_0x29deb5,this['from']=_0x2418bf;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x5c662a;}['writeTo'](_0x5e9942,_0x387b51){_0x5e9942['nodes']['push'](this['tree']),_0x5e9942['content']['push'](_0x5e9942['nodes']['length']-0x1,this['from']+_0x387b51,this['to']+_0x387b51,-0x1);}['toTree'](){return this['tree'];}}function _0x1e4a83(_0x730a39,_0xa6539d,_0x25e310,_0x3667cf){return new _0x43c809(_0x730a39,_0xa6539d,_0x25e310,_0x3667cf);}const _0x4a2275={'resolve':'Emphasis','mark':'EmphasisMark'},_0x37ca64={'resolve':'Emphasis','mark':'EmphasisMark'},_0x2083c9={},_0x56af17={};class InlineDelimiter{constructor(_0x6a2ca6,_0x4f5db4,_0x52eaf0,_0x48e452){this['type']=_0x6a2ca6,this['from']=_0x4f5db4,this['to']=_0x52eaf0,this['side']=_0x48e452;}}const _0x216ceb='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let _0x3e5bb3=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x3e5bb3=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x3599fe){}const _0x38b52a={'Escape'(_0x2eb91a,_0x49756c,_0x51d8ec){if(0x5c!=_0x49756c||_0x51d8ec==_0x2eb91a['end']-0x1)return-0x1;let _0x119121=_0x2eb91a['char'](_0x51d8ec+0x1);for(let _0x56b021=0x0;_0x56b021<0x20;_0x56b021++)if(_0x216ceb['charCodeAt'](_0x56b021)==_0x119121)return _0x2eb91a['append'](_0x1e4a83(_0x2533dc['Escape'],_0x51d8ec,_0x51d8ec+0x2));return-0x1;},'Entity'(_0x276a46,_0x4cfa9d,_0x3e9b54){if(0x26!=_0x4cfa9d)return-0x1;let _0x1b1092=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x276a46['slice'](_0x3e9b54+0x1,_0x3e9b54+0x1f));return _0x1b1092?_0x276a46['append'](_0x1e4a83(_0x2533dc['Entity'],_0x3e9b54,_0x3e9b54+0x1+_0x1b1092[0x0]['length'])):-0x1;},'InlineCode'(_0x175fe9,_0x28ff2c,_0x507470){if(0x60!=_0x28ff2c||_0x507470&&0x60==_0x175fe9['char'](_0x507470-0x1))return-0x1;let _0x40a2c5=_0x507470+0x1;for(;_0x40a2c5<_0x175fe9['end']&&0x60==_0x175fe9['char'](_0x40a2c5);)_0x40a2c5++;let _0x542a7e=_0x40a2c5-_0x507470,_0x2dcb14=0x0;for(;_0x40a2c5<_0x175fe9['end'];_0x40a2c5++)if(0x60==_0x175fe9['char'](_0x40a2c5)){if(_0x2dcb14++,_0x2dcb14==_0x542a7e&&0x60!=_0x175fe9['char'](_0x40a2c5+0x1))return _0x175fe9['append'](_0x1e4a83(_0x2533dc['InlineCode'],_0x507470,_0x40a2c5+0x1,[_0x1e4a83(_0x2533dc['CodeMark'],_0x507470,_0x507470+_0x542a7e),_0x1e4a83(_0x2533dc['CodeMark'],_0x40a2c5+0x1-_0x542a7e,_0x40a2c5+0x1)]));}else _0x2dcb14=0x0;return-0x1;},'HTMLTag'(_0x5203ff,_0x6844df,_0xc979ee){if(0x3c!=_0x6844df||_0xc979ee==_0x5203ff['end']-0x1)return-0x1;let _0x211e4a=_0x5203ff['slice'](_0xc979ee+0x1,_0x5203ff['end']),_0x52960f=/^(?:[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'](_0x211e4a);if(_0x52960f)return _0x5203ff['append'](_0x1e4a83(_0x2533dc['Autolink'],_0xc979ee,_0xc979ee+0x1+_0x52960f[0x0]['length'],[_0x1e4a83(_0x2533dc['LinkMark'],_0xc979ee,_0xc979ee+0x1),_0x1e4a83(_0x2533dc['URL'],_0xc979ee+0x1,_0xc979ee+_0x52960f[0x0]['length']),_0x1e4a83(_0x2533dc['LinkMark'],_0xc979ee+_0x52960f[0x0]['length'],_0xc979ee+0x1+_0x52960f[0x0]['length'])]));let _0x64dbb5=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x211e4a);if(_0x64dbb5)return _0x5203ff['append'](_0x1e4a83(_0x2533dc['Comment'],_0xc979ee,_0xc979ee+0x1+_0x64dbb5[0x0]['length']));let _0x4ce302=/^\?[^]*?\?>/['exec'](_0x211e4a);if(_0x4ce302)return _0x5203ff['append'](_0x1e4a83(_0x2533dc['ProcessingInstruction'],_0xc979ee,_0xc979ee+0x1+_0x4ce302[0x0]['length']));let _0x14effc=/^(?:![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'](_0x211e4a);return _0x14effc?_0x5203ff['append'](_0x1e4a83(_0x2533dc['HTMLTag'],_0xc979ee,_0xc979ee+0x1+_0x14effc[0x0]['length'])):-0x1;},'Emphasis'(_0xb9f93f,_0x3dc1a1,_0x8427f2){if(0x5f!=_0x3dc1a1&&0x2a!=_0x3dc1a1)return-0x1;let _0x4484fd=_0x8427f2+0x1;for(;_0xb9f93f['char'](_0x4484fd)==_0x3dc1a1;)_0x4484fd++;let _0x4e3e7b=_0xb9f93f['slice'](_0x8427f2-0x1,_0x8427f2),_0x40799f=_0xb9f93f['slice'](_0x4484fd,_0x4484fd+0x1),_0x1814a5=_0x3e5bb3['test'](_0x4e3e7b),_0x5b9a7d=_0x3e5bb3['test'](_0x40799f),_0xc45cf2=/\s|^$/['test'](_0x4e3e7b),_0x51077b=/\s|^$/['test'](_0x40799f),_0x4ff690=!_0x51077b&&(!_0x5b9a7d||_0xc45cf2||_0x1814a5),_0x4b3442=!_0xc45cf2&&(!_0x1814a5||_0x51077b||_0x5b9a7d),_0x505708=_0x4ff690&&(0x2a==_0x3dc1a1||!_0x4b3442||_0x1814a5),_0x561930=_0x4b3442&&(0x2a==_0x3dc1a1||!_0x4ff690||_0x5b9a7d);return _0xb9f93f['append'](new InlineDelimiter(0x5f==_0x3dc1a1?_0x4a2275:_0x37ca64,_0x8427f2,_0x4484fd,(_0x505708?0x1:0x0)|(_0x561930?0x2:0x0)));},'HardBreak'(_0x4e69c0,_0x2a364a,_0x2c2f61){if(0x5c==_0x2a364a&&0xa==_0x4e69c0['char'](_0x2c2f61+0x1))return _0x4e69c0['append'](_0x1e4a83(_0x2533dc['HardBreak'],_0x2c2f61,_0x2c2f61+0x2));if(0x20==_0x2a364a){let _0x341758=_0x2c2f61+0x1;for(;0x20==_0x4e69c0['char'](_0x341758);)_0x341758++;if(0xa==_0x4e69c0['char'](_0x341758)&&_0x341758>=_0x2c2f61+0x2)return _0x4e69c0['append'](_0x1e4a83(_0x2533dc['HardBreak'],_0x2c2f61,_0x341758+0x1));}return-0x1;},'Link':(_0x549612,_0x11ab06,_0x8c740a)=>0x5b==_0x11ab06?_0x549612['append'](new InlineDelimiter(_0x2083c9,_0x8c740a,_0x8c740a+0x1,0x1)):-0x1,'Image':(_0x554920,_0x4d3b2c,_0x34fe99)=>0x21==_0x4d3b2c&&0x5b==_0x554920['char'](_0x34fe99+0x1)?_0x554920['append'](new InlineDelimiter(_0x56af17,_0x34fe99,_0x34fe99+0x2,0x1)):-0x1,'LinkEnd'(_0x1653ff,_0x15d3eb,_0x418029){if(0x5d!=_0x15d3eb)return-0x1;for(let _0x3793c3=_0x1653ff['parts']['length']-0x1;_0x3793c3>=0x0;_0x3793c3--){let _0x1b5eea=_0x1653ff['parts'][_0x3793c3];if(_0x1b5eea instanceof InlineDelimiter&&(_0x1b5eea['type']==_0x2083c9||_0x1b5eea['type']==_0x56af17)){if(!_0x1b5eea['side']||_0x1653ff['skipSpace'](_0x1b5eea['to'])==_0x418029&&!/[(\[]/['test'](_0x1653ff['slice'](_0x418029+0x1,_0x418029+0x2)))return _0x1653ff['parts'][_0x3793c3]=null,-0x1;let _0x46399c=_0x1653ff['takeContent'](_0x3793c3),_0x266e1e=_0x1653ff['parts'][_0x3793c3]=_0x3388b6(_0x1653ff,_0x46399c,_0x1b5eea['type']==_0x2083c9?_0x2533dc['Link']:_0x2533dc['Image'],_0x1b5eea['from'],_0x418029+0x1);if(_0x1b5eea['type']==_0x2083c9)for(let _0x23ee01=0x0;_0x23ee01<_0x3793c3;_0x23ee01++){let _0x438a91=_0x1653ff['parts'][_0x23ee01];_0x438a91 instanceof InlineDelimiter&&_0x438a91['type']==_0x2083c9&&(_0x438a91['side']=0x0);}return _0x266e1e['to'];}}return-0x1;}};function _0x3388b6(_0x1b80d8,_0x3f3fc8,_0x5284ee,_0x93f6d6,_0x4ab4a9){let {text:_0x10d1de}=_0x1b80d8,_0x2c02f6=_0x1b80d8['char'](_0x4ab4a9),_0x2a3b5c=_0x4ab4a9;if(_0x3f3fc8['unshift'](_0x1e4a83(_0x2533dc['LinkMark'],_0x93f6d6,_0x93f6d6+(_0x5284ee==_0x2533dc['Image']?0x2:0x1))),_0x3f3fc8['push'](_0x1e4a83(_0x2533dc['LinkMark'],_0x4ab4a9-0x1,_0x4ab4a9)),0x28==_0x2c02f6){let _0x32335c,_0x4c2b20=_0x1b80d8['skipSpace'](_0x4ab4a9+0x1),_0x438572=_0x1a4fd5(_0x10d1de,_0x4c2b20-_0x1b80d8['offset'],_0x1b80d8['offset']);_0x438572&&(_0x4c2b20=_0x1b80d8['skipSpace'](_0x438572['to']),_0x4c2b20!=_0x438572['to']&&(_0x32335c=_0x3a55b7(_0x10d1de,_0x4c2b20-_0x1b80d8['offset'],_0x1b80d8['offset']),_0x32335c&&(_0x4c2b20=_0x1b80d8['skipSpace'](_0x32335c['to'])))),0x29==_0x1b80d8['char'](_0x4c2b20)&&(_0x3f3fc8['push'](_0x1e4a83(_0x2533dc['LinkMark'],_0x4ab4a9,_0x4ab4a9+0x1)),_0x2a3b5c=_0x4c2b20+0x1,_0x438572&&_0x3f3fc8['push'](_0x438572),_0x32335c&&_0x3f3fc8['push'](_0x32335c),_0x3f3fc8['push'](_0x1e4a83(_0x2533dc['LinkMark'],_0x4c2b20,_0x2a3b5c)));}else{if(0x5b==_0x2c02f6){let _0x324675=_0x2c0506(_0x10d1de,_0x4ab4a9-_0x1b80d8['offset'],_0x1b80d8['offset'],!0x1);_0x324675&&(_0x3f3fc8['push'](_0x324675),_0x2a3b5c=_0x324675['to']);}}return _0x1e4a83(_0x5284ee,_0x93f6d6,_0x2a3b5c,_0x3f3fc8);}function _0x1a4fd5(_0x14193b,_0x182cfe,_0x2cdff4){if(0x3c==_0x14193b['charCodeAt'](_0x182cfe)){for(let _0x177974=_0x182cfe+0x1;_0x177974<_0x14193b['length'];_0x177974++){let _0xdd2ca2=_0x14193b['charCodeAt'](_0x177974);if(0x3e==_0xdd2ca2)return _0x1e4a83(_0x2533dc['URL'],_0x182cfe+_0x2cdff4,_0x177974+0x1+_0x2cdff4);if(0x3c==_0xdd2ca2||0xa==_0xdd2ca2)return!0x1;}return null;}{let _0x3e0d1d=0x0,_0x2e3b00=_0x182cfe;for(let _0x138762=!0x1;_0x2e3b00<_0x14193b['length'];_0x2e3b00++){let _0x5379e5=_0x14193b['charCodeAt'](_0x2e3b00);if(_0x47d627(_0x5379e5))break;if(_0x138762)_0x138762=!0x1;else{if(0x28==_0x5379e5)_0x3e0d1d++;else{if(0x29==_0x5379e5){if(!_0x3e0d1d)break;_0x3e0d1d--;}else 0x5c==_0x5379e5&&(_0x138762=!0x0);}}}return _0x2e3b00>_0x182cfe?_0x1e4a83(_0x2533dc['URL'],_0x182cfe+_0x2cdff4,_0x2e3b00+_0x2cdff4):_0x2e3b00==_0x14193b['length']&&null;}}function _0x3a55b7(_0x4a0ac6,_0x26dde0,_0x4090f2){let _0x5aaa91=_0x4a0ac6['charCodeAt'](_0x26dde0);if(0x27!=_0x5aaa91&&0x22!=_0x5aaa91&&0x28!=_0x5aaa91)return!0x1;let _0x408622=0x28==_0x5aaa91?0x29:_0x5aaa91;for(let _0x5b7caf=_0x26dde0+0x1,_0x3d4b5a=!0x1;_0x5b7caf<_0x4a0ac6['length'];_0x5b7caf++){let _0x51ca06=_0x4a0ac6['charCodeAt'](_0x5b7caf);if(_0x3d4b5a)_0x3d4b5a=!0x1;else{if(_0x51ca06==_0x408622)return _0x1e4a83(_0x2533dc['LinkTitle'],_0x26dde0+_0x4090f2,_0x5b7caf+0x1+_0x4090f2);0x5c==_0x51ca06&&(_0x3d4b5a=!0x0);}}return null;}function _0x2c0506(_0x5b3604,_0x32c109,_0x2e7b52,_0x58d524){for(let _0x49c8bc=!0x1,_0x48e400=_0x32c109+0x1,_0x57984d=Math['min'](_0x5b3604['length'],_0x48e400+0x3e7);_0x48e400<_0x57984d;_0x48e400++){let _0x4d0d03=_0x5b3604['charCodeAt'](_0x48e400);if(_0x49c8bc)_0x49c8bc=!0x1;else{if(0x5d==_0x4d0d03)return!_0x58d524&&_0x1e4a83(_0x2533dc['LinkLabel'],_0x32c109+_0x2e7b52,_0x48e400+0x1+_0x2e7b52);if(_0x58d524&&!_0x47d627(_0x4d0d03)&&(_0x58d524=!0x1),0x5b==_0x4d0d03)return!0x1;0x5c==_0x4d0d03&&(_0x49c8bc=!0x0);}}return null;}class InlineContext{constructor(_0x4900cc,_0x56344e,_0x551d76){this['parser']=_0x4900cc,this['text']=_0x56344e,this['offset']=_0x551d76,this['parts']=[];}['char'](_0x39a021){return _0x39a021>=this['end']?-0x1:this['text']['charCodeAt'](_0x39a021-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x302d23,_0xf2c3c7){return this['text']['slice'](_0x302d23-this['offset'],_0xf2c3c7-this['offset']);}['append'](_0x3250c6){return this['parts']['push'](_0x3250c6),_0x3250c6['to'];}['addDelimiter'](_0x40f060,_0x577d93,_0x5e2fe7,_0x1ce1ac,_0x31ddcb){return this['append'](new InlineDelimiter(_0x40f060,_0x577d93,_0x5e2fe7,(_0x1ce1ac?0x1:0x0)|(_0x31ddcb?0x2:0x0)));}get['hasOpenLink'](){for(let _0x13e666=this['parts']['length']-0x1;_0x13e666>=0x0;_0x13e666--){let _0xd2f8ea=this['parts'][_0x13e666];if(_0xd2f8ea instanceof InlineDelimiter&&(_0xd2f8ea['type']==_0x2083c9||_0xd2f8ea['type']==_0x56af17))return!0x0;}return!0x1;}['addElement'](_0x256709){return this['append'](_0x256709);}['resolveMarkers'](_0x19eb18){for(let _0x4f3826=_0x19eb18;_0x4f3826<this['parts']['length'];_0x4f3826++){let _0x356bba=this['parts'][_0x4f3826];if(!(_0x356bba instanceof InlineDelimiter&&_0x356bba['type']['resolve']&&0x2&_0x356bba['side']))continue;let _0x297a04,_0x2d88d0=_0x356bba['type']==_0x4a2275||_0x356bba['type']==_0x37ca64,_0xe2af2a=_0x356bba['to']-_0x356bba['from'],_0x5d52ea=_0x4f3826-0x1;for(;_0x5d52ea>=_0x19eb18;_0x5d52ea--){let _0x41ce80=this['parts'][_0x5d52ea];if(_0x41ce80 instanceof InlineDelimiter&&0x1&_0x41ce80['side']&&_0x41ce80['type']==_0x356bba['type']&&!(_0x2d88d0&&(0x1&_0x356bba['side']||0x2&_0x41ce80['side'])&&(_0x41ce80['to']-_0x41ce80['from']+_0xe2af2a)%0x3==0x0&&((_0x41ce80['to']-_0x41ce80['from'])%0x3||_0xe2af2a%0x3))){_0x297a04=_0x41ce80;break;}}if(!_0x297a04)continue;let _0x1b7d0b=_0x356bba['type']['resolve'],_0x1de8b7=[],_0x467be8=_0x297a04['from'],_0x3e6978=_0x356bba['to'];if(_0x2d88d0){let _0x130c6f=Math['min'](0x2,_0x297a04['to']-_0x297a04['from'],_0xe2af2a);_0x467be8=_0x297a04['to']-_0x130c6f,_0x3e6978=_0x356bba['from']+_0x130c6f,_0x1b7d0b=0x1==_0x130c6f?'Emphasis':'StrongEmphasis';}_0x297a04['type']['mark']&&_0x1de8b7['push'](this['elt'](_0x297a04['type']['mark'],_0x467be8,_0x297a04['to']));for(let _0x3d4f49=_0x5d52ea+0x1;_0x3d4f49<_0x4f3826;_0x3d4f49++)this['parts'][_0x3d4f49]instanceof _0x43c809&&_0x1de8b7['push'](this['parts'][_0x3d4f49]),this['parts'][_0x3d4f49]=null;_0x356bba['type']['mark']&&_0x1de8b7['push'](this['elt'](_0x356bba['type']['mark'],_0x356bba['from'],_0x3e6978));let _0x5c7709=this['elt'](_0x1b7d0b,_0x467be8,_0x3e6978,_0x1de8b7);this['parts'][_0x5d52ea]=_0x2d88d0&&_0x297a04['from']!=_0x467be8?new InlineDelimiter(_0x297a04['type'],_0x297a04['from'],_0x467be8,_0x297a04['side']):null,(this['parts'][_0x4f3826]=_0x2d88d0&&_0x356bba['to']!=_0x3e6978?new InlineDelimiter(_0x356bba['type'],_0x3e6978,_0x356bba['to'],_0x356bba['side']):null)?this['parts']['splice'](_0x4f3826,0x0,_0x5c7709):this['parts'][_0x4f3826]=_0x5c7709;}let _0x280227=[];for(let _0x108123=_0x19eb18;_0x108123<this['parts']['length'];_0x108123++){let _0x120c95=this['parts'][_0x108123];_0x120c95 instanceof _0x43c809&&_0x280227['push'](_0x120c95);}return _0x280227;}['findOpeningDelimiter'](_0x2cec49){for(let _0x18482f=this['parts']['length']-0x1;_0x18482f>=0x0;_0x18482f--){let _0x2beada=this['parts'][_0x18482f];if(_0x2beada instanceof InlineDelimiter&&_0x2beada['type']==_0x2cec49&&0x1&_0x2beada['side'])return _0x18482f;}return null;}['takeContent'](_0x164546){let _0x34991d=this['resolveMarkers'](_0x164546);return this['parts']['length']=_0x164546,_0x34991d;}['getDelimiterAt'](_0x457fbb){let _0x24a810=this['parts'][_0x457fbb];return _0x24a810 instanceof InlineDelimiter?_0x24a810:null;}['skipSpace'](_0x32b3dd){return _0x483ca9(this['text'],_0x32b3dd-this['offset'])+this['offset'];}['elt'](_0x3d67ad,_0x1acbdb,_0x372261,_0x1c2148){return'string'==typeof _0x3d67ad?_0x1e4a83(this['parser']['getNodeType'](_0x3d67ad),_0x1acbdb,_0x372261,_0x1c2148):new TreeElement(_0x3d67ad,_0x1acbdb);}}function _0x397116(_0x3eeb3d,_0x7bf983){if(!_0x7bf983['length'])return _0x3eeb3d;if(!_0x3eeb3d['length'])return _0x7bf983;let _0x12adde=_0x3eeb3d['slice'](),_0x42caec=0x0;for(let _0x40a742 of _0x7bf983){for(;_0x42caec<_0x12adde['length']&&_0x12adde[_0x42caec]['to']<_0x40a742['to'];)_0x42caec++;if(_0x42caec<_0x12adde['length']&&_0x12adde[_0x42caec]['from']<_0x40a742['from']){let _0x6719ef=_0x12adde[_0x42caec];_0x6719ef instanceof _0x43c809&&(_0x12adde[_0x42caec]=new _0x43c809(_0x6719ef['type'],_0x6719ef['from'],_0x6719ef['to'],_0x397116(_0x6719ef['children'],[_0x40a742])));}else _0x12adde['splice'](_0x42caec++,0x0,_0x40a742);}return _0x12adde;}InlineContext['linkStart']=_0x2083c9,InlineContext['imageStart']=_0x56af17;const _0x4f547d=[_0x2533dc['CodeBlock'],_0x2533dc['ListItem'],_0x2533dc['OrderedList'],_0x2533dc['BulletList']];class FragmentCursor{constructor(_0xbac9d6,_0x3eb3be){this['fragments']=_0xbac9d6,this['input']=_0x3eb3be,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0xbac9d6['length']&&(this['fragment']=_0xbac9d6[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x16a6a3,_0x128002){for(;this['fragment']&&this['fragment']['to']<=_0x16a6a3;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x16a6a3?_0x16a6a3-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x23b76c=this['fragment']['to'];for(;_0x23b76c>0x0&&'\x0a'!=this['input']['read'](_0x23b76c-0x1,_0x23b76c);)_0x23b76c--;this['fragmentEnd']=_0x23b76c?_0x23b76c-0x1:0x0;}let _0x34d901=this['cursor'];_0x34d901||(_0x34d901=this['cursor']=this['fragment']['tree']['cursor'](),_0x34d901['firstChild']());let _0x2f1288=_0x16a6a3+this['fragment']['offset'];for(;_0x34d901['to']<=_0x2f1288;)if(!_0x34d901['parent']())return!0x1;for(;;){if(_0x34d901['from']>=_0x2f1288)return this['fragment']['from']<=_0x128002;if(!_0x34d901['childAfter'](_0x2f1288))return!0x1;}}['matches'](_0x1b3010){let _0x54097e=this['cursor']['tree'];return _0x54097e&&_0x54097e['prop'](_0x16f115['contextHash'])==_0x1b3010;}['takeNodes'](_0x330b07){let _0x45acbc=this['cursor'],_0x555cb1=this['fragment']['offset'],_0x1691c9=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x1a52e8=_0x330b07['absoluteLineStart'],_0x56c4d6=_0x1a52e8,_0x2bc834=_0x330b07['block']['children']['length'],_0x27f3f8=_0x56c4d6,_0x2080d3=_0x2bc834;for(;;){if(_0x45acbc['to']-_0x555cb1>_0x1691c9){if(_0x45acbc['type']['isAnonymous']&&_0x45acbc['firstChild']())continue;break;}let _0x557e81=_0x1c4c1f(_0x45acbc['from']-_0x555cb1,_0x330b07['ranges']);if(_0x45acbc['to']-_0x555cb1<=_0x330b07['ranges'][_0x330b07['rangeI']]['to'])_0x330b07['addNode'](_0x45acbc['tree'],_0x557e81);else{let _0x56ccd1=new _0x5c5fb3(_0x330b07['parser']['nodeSet']['types'][_0x2533dc['Paragraph']],[],[],0x0,_0x330b07['block']['hashProp']);_0x330b07['reusePlaceholders']['set'](_0x56ccd1,_0x45acbc['tree']),_0x330b07['addNode'](_0x56ccd1,_0x557e81);}if(_0x45acbc['type']['is']('Block')&&(_0x4f547d['indexOf'](_0x45acbc['type']['id'])<0x0?(_0x56c4d6=_0x45acbc['to']-_0x555cb1,_0x2bc834=_0x330b07['block']['children']['length']):(_0x56c4d6=_0x27f3f8,_0x2bc834=_0x2080d3,_0x27f3f8=_0x45acbc['to']-_0x555cb1,_0x2080d3=_0x330b07['block']['children']['length'])),!_0x45acbc['nextSibling']())break;}for(;_0x330b07['block']['children']['length']>_0x2bc834;)_0x330b07['block']['children']['pop'](),_0x330b07['block']['positions']['pop']();return _0x56c4d6-_0x1a52e8;}}function _0x1c4c1f(_0x376546,_0x122125){let _0x3906b2=_0x376546;for(let _0x129ac=0x1;_0x129ac<_0x122125['length'];_0x129ac++){let _0x7726f1=_0x122125[_0x129ac-0x1]['to'],_0x52def0=_0x122125[_0x129ac]['from'];_0x7726f1<_0x376546&&(_0x3906b2-=_0x52def0-_0x7726f1);}return _0x3906b2;}const _0x488ce1=_0x4a339a({'Blockquote/...':_0x422c5c['quote'],'HorizontalRule':_0x422c5c['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x422c5c['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x422c5c['heading2'],'ATXHeading3/...':_0x422c5c['heading3'],'ATXHeading4/...':_0x422c5c['heading4'],'ATXHeading5/...':_0x422c5c['heading5'],'ATXHeading6/...':_0x422c5c['heading6'],'Comment\x20CommentBlock':_0x422c5c['comment'],'Escape':_0x422c5c['escape'],'Entity':_0x422c5c['character'],'Emphasis/...':_0x422c5c['emphasis'],'StrongEmphasis/...':_0x422c5c['strong'],'Link/...\x20Image/...':_0x422c5c['link'],'OrderedList/...\x20BulletList/...':_0x422c5c['list'],'BlockQuote/...':_0x422c5c['quote'],'InlineCode\x20CodeText':_0x422c5c['monospace'],'URL\x20Autolink':_0x422c5c['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x422c5c['processingInstruction'],'CodeInfo\x20LinkLabel':_0x422c5c['labelName'],'LinkTitle':_0x422c5c['string'],'Paragraph':_0x422c5c['content']}),_0x3d4a3a=new _0xd1849d(new NodeSet(_0x1d8032)['extend'](_0x488ce1),Object['keys'](_0x34068b)['map'](_0x27c62b=>_0x34068b[_0x27c62b]),Object['keys'](_0x34068b)['map'](_0x5eb26a=>_0x198976[_0x5eb26a]),Object['keys'](_0x34068b),_0x17977d,_0x482ef9,Object['keys'](_0x38b52a)['map'](_0x41a5c0=>_0x38b52a[_0x41a5c0]),Object['keys'](_0x38b52a),[]);function _0x51b8cb(_0x448c80,_0x1b71d4,_0x13d315){let _0x1ef894=[];for(let _0x27174f=_0x448c80['firstChild'],_0x460f4b=_0x1b71d4;;_0x27174f=_0x27174f['nextSibling']){let _0x19685d=_0x27174f?_0x27174f['from']:_0x13d315;if(_0x19685d>_0x460f4b&&_0x1ef894['push']({'from':_0x460f4b,'to':_0x19685d}),!_0x27174f)break;_0x460f4b=_0x27174f['to'];}return _0x1ef894;}const _0x4339a0={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x10567d={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x422c5c['strikethrough']}},{'name':'StrikethroughMark','style':_0x422c5c['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x1c33ff,_0x1d5741,_0x2a4f5a){if(0x7e!=_0x1d5741||0x7e!=_0x1c33ff['char'](_0x2a4f5a+0x1)||0x7e==_0x1c33ff['char'](_0x2a4f5a+0x2))return-0x1;let _0xd16f7a=_0x1c33ff['slice'](_0x2a4f5a-0x1,_0x2a4f5a),_0x13c581=_0x1c33ff['slice'](_0x2a4f5a+0x2,_0x2a4f5a+0x3),_0xb30866=/\s|^$/['test'](_0xd16f7a),_0x3d4603=/\s|^$/['test'](_0x13c581),_0x130957=_0x3e5bb3['test'](_0xd16f7a),_0xed6831=_0x3e5bb3['test'](_0x13c581);return _0x1c33ff['addDelimiter'](_0x4339a0,_0x2a4f5a,_0x2a4f5a+0x2,!_0x3d4603&&(!_0xed6831||_0xb30866||_0x130957),!_0xb30866&&(!_0x130957||_0x3d4603||_0xed6831));},'after':'Emphasis'}]};function _0x23af44(_0x1d4788,_0x58cadb,_0x234ace=0x0,_0x121f5c,_0xb79156=0x0){let _0x1aecc3=0x0,_0x5adf5a=!0x0,_0x1db281=-0x1,_0x20ccac=-0x1,_0xc2d099=!0x1,_0x2405a2=()=>{_0x121f5c['push'](_0x1d4788['elt']('TableCell',_0xb79156+_0x1db281,_0xb79156+_0x20ccac,_0x1d4788['parser']['parseInline'](_0x58cadb['slice'](_0x1db281,_0x20ccac),_0xb79156+_0x1db281)));};for(let _0x71d39=_0x234ace;_0x71d39<_0x58cadb['length'];_0x71d39++){let _0x415129=_0x58cadb['charCodeAt'](_0x71d39);0x7c!=_0x415129||_0xc2d099?(_0xc2d099||0x20!=_0x415129&&0x9!=_0x415129)&&(_0x1db281<0x0&&(_0x1db281=_0x71d39),_0x20ccac=_0x71d39+0x1):((!_0x5adf5a||_0x1db281>-0x1)&&_0x1aecc3++,_0x5adf5a=!0x1,_0x121f5c&&(_0x1db281>-0x1&&_0x2405a2(),_0x121f5c['push'](_0x1d4788['elt']('TableDelimiter',_0x71d39+_0xb79156,_0x71d39+_0xb79156+0x1))),_0x1db281=_0x20ccac=-0x1),_0xc2d099=!_0xc2d099&&0x5c==_0x415129;}return _0x1db281>-0x1&&(_0x1aecc3++,_0x121f5c&&_0x2405a2()),_0x1aecc3;}function _0x1ac399(_0x5ea3c9,_0x25a757){for(let _0x16fe50=_0x25a757;_0x16fe50<_0x5ea3c9['length'];_0x16fe50++){let _0x22c785=_0x5ea3c9['charCodeAt'](_0x16fe50);if(0x7c==_0x22c785)return!0x0;0x5c==_0x22c785&&_0x16fe50++;}return!0x1;}const _0x120315=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x4f1e9a{constructor(){this['rows']=null;}['nextLine'](_0x4cdd22,_0x18167e,_0x38f17c){if(null==this['rows']){let _0x526dc7;if(this['rows']=!0x1,(0x2d==_0x18167e['next']||0x3a==_0x18167e['next']||0x7c==_0x18167e['next'])&&_0x120315['test'](_0x526dc7=_0x18167e['text']['slice'](_0x18167e['pos']))){let _0x21bee5=[];_0x23af44(_0x4cdd22,_0x38f17c['content'],0x0,_0x21bee5,_0x38f17c['start'])==_0x23af44(_0x4cdd22,_0x526dc7,_0x18167e['pos'])&&(this['rows']=[_0x4cdd22['elt']('TableHeader',_0x38f17c['start'],_0x38f17c['start']+_0x38f17c['content']['length'],_0x21bee5),_0x4cdd22['elt']('TableDelimiter',_0x4cdd22['lineStart']+_0x18167e['pos'],_0x4cdd22['lineStart']+_0x18167e['text']['length'])]);}}else{if(this['rows']){let _0x4081f1=[];_0x23af44(_0x4cdd22,_0x18167e['text'],_0x18167e['pos'],_0x4081f1,_0x4cdd22['lineStart']),this['rows']['push'](_0x4cdd22['elt']('TableRow',_0x4cdd22['lineStart']+_0x18167e['pos'],_0x4cdd22['lineStart']+_0x18167e['text']['length'],_0x4081f1));}}return!0x1;}['finish'](_0x9e63b3,_0x2a4c0e){return!!this['rows']&&(_0x9e63b3['addLeafElement'](_0x2a4c0e,_0x9e63b3['elt']('Table',_0x2a4c0e['start'],_0x2a4c0e['start']+_0x2a4c0e['content']['length'],this['rows'])),!0x0);}}const _0x946132={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x422c5c['heading']}},'TableRow',{'name':'TableCell','style':_0x422c5c['content']},{'name':'TableDelimiter','style':_0x422c5c['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x56a672,_0x59727f)=>_0x1ac399(_0x59727f['content'],0x0)?new _0x4f1e9a():null,'endLeaf'(_0x285aa6,_0x42d5ab,_0x2dd2bb){if(_0x2dd2bb['parsers']['some'](_0x5dc5bc=>_0x5dc5bc instanceof _0x4f1e9a)||!_0x1ac399(_0x42d5ab['text'],_0x42d5ab['basePos']))return!0x1;let _0x4678f2=_0x285aa6['peekLine']();return _0x120315['test'](_0x4678f2)&&_0x23af44(_0x285aa6,_0x42d5ab['text'],_0x42d5ab['basePos'])==_0x23af44(_0x285aa6,_0x4678f2,_0x42d5ab['basePos']);},'before':'SetextHeading'}]};class _0x2d0bef{['nextLine'](){return!0x1;}['finish'](_0x6087cf,_0x527882){return _0x6087cf['addLeafElement'](_0x527882,_0x6087cf['elt']('Task',_0x527882['start'],_0x527882['start']+_0x527882['content']['length'],[_0x6087cf['elt']('TaskMarker',_0x527882['start'],_0x527882['start']+0x3),..._0x6087cf['parser']['parseInline'](_0x527882['content']['slice'](0x3),_0x527882['start']+0x3)])),!0x0;}}const _0x4b6abc={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x422c5c['list']},{'name':'TaskMarker','style':_0x422c5c['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0xbd70b7,_0x1044e5)=>/^\[[ xX]\][ \t]/['test'](_0x1044e5['content'])&&'ListItem'==_0xbd70b7['parentType']()['name']?new _0x2d0bef():null,'after':'SetextHeading'}]},_0x53e531=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,tk=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,_0x286a58=/[\w-]+\.[\w-]+($|\/)/,_0x20ee7f=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x19584d=/\/[a-zA-Z\d@.]+/gy;function _0x4dce3b(_0xa50983,_0x4a5efc,_0x4ea661,_0x37e4ce){let _0x46ef46=0x0;for(let _0x3dd68f=_0x4a5efc;_0x3dd68f<_0x4ea661;_0x3dd68f++)_0xa50983[_0x3dd68f]==_0x37e4ce&&_0x46ef46++;return _0x46ef46;}function _0x432b4e(_0x15b374,_0x59c94f){_0x20ee7f['lastIndex']=_0x59c94f;let _0x36e323=_0x20ee7f['exec'](_0x15b374);if(!_0x36e323)return-0x1;let _0x46209b=_0x36e323[0x0][_0x36e323[0x0]['length']-0x1];return'_'==_0x46209b||'-'==_0x46209b?-0x1:_0x59c94f+_0x36e323[0x0]['length']-('.'==_0x46209b?0x1:0x0);}const _0x1a0cae=[_0x946132,_0x4b6abc,_0x10567d,{'parseInline':[{'name':'Autolink','parse'(_0x16777c,_0x52a2de,_0xc4f020){let _0x152c97=_0xc4f020-_0x16777c['offset'];if(_0x152c97&&/\w/['test'](_0x16777c['text'][_0x152c97-0x1]))return-0x1;_0x53e531['lastIndex']=_0x152c97;let _0x1091fa=_0x53e531['exec'](_0x16777c['text']),_0x443d99=-0x1;if(!_0x1091fa)return-0x1;if(_0x1091fa[0x1]||_0x1091fa[0x2])(_0x443d99=function(_0x1dc6cf,_0x47b153){tk['lastIndex']=_0x47b153;let _0x1750dc=tk['exec'](_0x1dc6cf);if(!_0x1750dc||_0x286a58['exec'](_0x1750dc[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x3d6173=_0x47b153+_0x1750dc[0x0]['length'];for(;;){let _0xc9694c,_0x83cc4a=_0x1dc6cf[_0x3d6173-0x1];if(/[?!.,:*_~]/['test'](_0x83cc4a)||')'==_0x83cc4a&&_0x4dce3b(_0x1dc6cf,_0x47b153,_0x3d6173,')')>_0x4dce3b(_0x1dc6cf,_0x47b153,_0x3d6173,'('))_0x3d6173--;else{if(';'!=_0x83cc4a||!(_0xc9694c=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x1dc6cf['slice'](_0x47b153,_0x3d6173))))break;_0x3d6173=_0x47b153+_0xc9694c['index'];}}return _0x3d6173;}(_0x16777c['text'],_0x152c97+_0x1091fa[0x0]['length']),_0x443d99>-0x1&&_0x16777c['hasOpenLink'])&&(_0x443d99=_0x152c97+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x16777c['text']['slice'](_0x152c97,_0x443d99))[0x0]['length']);else _0x1091fa[0x3]?_0x443d99=_0x432b4e(_0x16777c['text'],_0x152c97):(_0x443d99=_0x432b4e(_0x16777c['text'],_0x152c97+_0x1091fa[0x0]['length']),_0x443d99>-0x1&&'xmpp:'==_0x1091fa[0x0]&&(_0x19584d['lastIndex']=_0x443d99,_0x1091fa=_0x19584d['exec'](_0x16777c['text']),_0x1091fa&&(_0x443d99=_0x1091fa['index']+_0x1091fa[0x0]['length'])));return _0x443d99<0x0?-0x1:(_0x16777c['addElement'](_0x16777c['elt']('URL',_0xc4f020,_0x443d99+_0x16777c['offset'])),_0x443d99+_0x16777c['offset']);}}]}];function _0x5c3b78(_0x162c04,_0x1110dd,_0x587d4c){return(_0x244b24,_0x23c2e7,_0x30ee8b)=>{if(_0x23c2e7!=_0x162c04||_0x244b24['char'](_0x30ee8b+0x1)==_0x162c04)return-0x1;let _0x82f216=[_0x244b24['elt'](_0x587d4c,_0x30ee8b,_0x30ee8b+0x1)];for(let _0x2e7edc=_0x30ee8b+0x1;_0x2e7edc<_0x244b24['end'];_0x2e7edc++){let _0xb1226=_0x244b24['char'](_0x2e7edc);if(_0xb1226==_0x162c04)return _0x244b24['addElement'](_0x244b24['elt'](_0x1110dd,_0x30ee8b,_0x2e7edc+0x1,_0x82f216['concat'](_0x244b24['elt'](_0x587d4c,_0x2e7edc,_0x2e7edc+0x1))));if(0x5c==_0xb1226&&_0x82f216['push'](_0x244b24['elt']('Escape',_0x2e7edc,0x2+_0x2e7edc++)),_0x47d627(_0xb1226))break;}return-0x1;};}const _0x2c4325={'defineNodes':[{'name':'Superscript','style':_0x422c5c['special'](_0x422c5c['content'])},{'name':'SuperscriptMark','style':_0x422c5c['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x5c3b78(0x5e,'Superscript','SuperscriptMark')}]},_0x4fcce2={'defineNodes':[{'name':'Subscript','style':_0x422c5c['special'](_0x422c5c['content'])},{'name':'SubscriptMark','style':_0x422c5c['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x5c3b78(0x7e,'Subscript','SubscriptMark')}]},_0x354f7e={'defineNodes':[{'name':'Emoji','style':_0x422c5c['character']}],'parseInline':[{'name':'Emoji','parse'(_0x21941e,_0x564809,_0x7d40ad){let _0x1a4627;return 0x3a==_0x564809&&(_0x1a4627=/^[a-zA-Z_0-9]+:/['exec'](_0x21941e['slice'](_0x7d40ad+0x1,_0x21941e['end'])))?_0x21941e['addElement'](_0x21941e['elt']('Emoji',_0x7d40ad,_0x7d40ad+0x1+_0x1a4627[0x0]['length'])):-0x1;}}]},_0x2ef9e5=_0x6f32de({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x1fa50d=new _0x16f115(),_0x1b3846=_0x3d4a3a['configure']({'props':[_0xa8c244['add'](_0x2b0b9a=>!_0x2b0b9a['is']('Block')||_0x2b0b9a['is']('Document')||null!=_0xd04c05(_0x2b0b9a)||function(_0x1336a2){return'OrderedList'==_0x1336a2['name']||'BulletList'==_0x1336a2['name'];}(_0x2b0b9a)?void 0x0:(_0x578666,_0x3ac8da)=>({'from':_0x3ac8da['doc']['lineAt'](_0x578666['from'])['to'],'to':_0x578666['to']})),_0x1fa50d['add'](_0xd04c05),_0x35e540['add']({'Document':()=>null}),_0x31a993['add']({'Document':_0x2ef9e5})]});function _0xd04c05(_0x5af978){let _0x18a9e8=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x5af978['name']);return _0x18a9e8?+_0x18a9e8[0x1]:void 0x0;}function _0x1c9599(_0x39b3f6,_0x205ec9){let _0x3d739f=_0x39b3f6;for(;;){let _0x192f5d,_0x2b0497=_0x3d739f['nextSibling'];if(!_0x2b0497||null!=(_0x192f5d=_0xd04c05(_0x2b0497['type']))&&_0x192f5d<=_0x205ec9)break;_0x3d739f=_0x2b0497;}return _0x3d739f['to'];}const _0x9ae6ff=_0x10e325['of']((_0x31aee8,_0x189537,_0x246ac0)=>{for(let _0x5a4653=_0xc45a56(_0x31aee8)['resolveInner'](_0x246ac0,-0x1);_0x5a4653&&!(_0x5a4653['from']<_0x189537);_0x5a4653=_0x5a4653['parent']){let _0x3fd4a0=_0x5a4653['type']['prop'](_0x1fa50d);if(null==_0x3fd4a0)continue;let _0x3d36d2=_0x1c9599(_0x5a4653,_0x3fd4a0);if(_0x3d36d2>_0x246ac0)return{'from':_0x246ac0,'to':_0x3d36d2};}return null;});function _0x1f5379(_0x3d20c3){return new _0x221903(_0x2ef9e5,_0x3d20c3,[_0x9ae6ff],'markdown');}const _0x575f00=_0x1f5379(_0x1b3846),_0x33ee4b=_0x1f5379(_0x1b3846['configure']([_0x1a0cae,_0x4fcce2,_0x2c4325,_0x354f7e,{'props':[_0xa8c244['add']({'Table':(_0x485bfc,_0x469b92)=>({'from':_0x469b92['doc']['lineAt'](_0x485bfc['from'])['to'],'to':_0x485bfc['to']})})]}]));class Context{constructor(_0x2bdb5c,_0x20d9cf,_0x1e236b,_0x385620,_0x1817ab,_0xf451cd,_0xd0a6db){this['node']=_0x2bdb5c,this['from']=_0x20d9cf,this['to']=_0x1e236b,this['spaceBefore']=_0x385620,this['spaceAfter']=_0x1817ab,this['type']=_0xf451cd,this['item']=_0xd0a6db;}['blank'](_0x2a5a4e,_0x3aaede=!0x0){let _0x2b7ad9=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x2a5a4e){for(;_0x2b7ad9['length']<_0x2a5a4e;)_0x2b7ad9+='\x20';return _0x2b7ad9;}for(let _0x49e15b=this['to']-this['from']-_0x2b7ad9['length']-this['spaceAfter']['length'];_0x49e15b>0x0;_0x49e15b--)_0x2b7ad9+='\x20';return _0x2b7ad9+(_0x3aaede?this['spaceAfter']:'');}['marker'](_0x461e61,_0x27a9bd){let _0x467087='OrderedList'==this['node']['name']?String(+_0x268735(this['item'],_0x461e61)[0x2]+_0x27a9bd):'';return this['spaceBefore']+_0x467087+this['type']+this['spaceAfter'];}}function _0x4044e5(_0x5a2902,_0x33d389){let _0x46772e=[],_0x1df4d8=[];for(let _0x1f8cc2=_0x5a2902;_0x1f8cc2;_0x1f8cc2=_0x1f8cc2['parent']){if('FencedCode'==_0x1f8cc2['name'])return _0x1df4d8;'ListItem'!=_0x1f8cc2['name']&&'Blockquote'!=_0x1f8cc2['name']||_0x46772e['push'](_0x1f8cc2);}for(let _0x4481d0=_0x46772e['length']-0x1;_0x4481d0>=0x0;_0x4481d0--){let _0x2406b9,_0x4a5a12=_0x46772e[_0x4481d0],_0x5eb7ad=_0x33d389['lineAt'](_0x4a5a12['from']),_0x54a176=_0x4a5a12['from']-_0x5eb7ad['from'];if('Blockquote'==_0x4a5a12['name']&&(_0x2406b9=/^ *>( ?)/['exec'](_0x5eb7ad['text']['slice'](_0x54a176))))_0x1df4d8['push'](new Context(_0x4a5a12,_0x54a176,_0x54a176+_0x2406b9[0x0]['length'],'',_0x2406b9[0x1],'>',null));else{if('ListItem'==_0x4a5a12['name']&&'OrderedList'==_0x4a5a12['parent']['name']&&(_0x2406b9=/^( *)\d+([.)])( *)/['exec'](_0x5eb7ad['text']['slice'](_0x54a176)))){let _0x5c82c8=_0x2406b9[0x3],_0x241d76=_0x2406b9[0x0]['length'];_0x5c82c8['length']>=0x4&&(_0x5c82c8=_0x5c82c8['slice'](0x0,_0x5c82c8['length']-0x4),_0x241d76-=0x4),_0x1df4d8['push'](new Context(_0x4a5a12['parent'],_0x54a176,_0x54a176+_0x241d76,_0x2406b9[0x1],_0x5c82c8,_0x2406b9[0x2],_0x4a5a12));}else{if('ListItem'==_0x4a5a12['name']&&'BulletList'==_0x4a5a12['parent']['name']&&(_0x2406b9=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x5eb7ad['text']['slice'](_0x54a176)))){let _0x3c3276=_0x2406b9[0x4],_0x207e7e=_0x2406b9[0x0]['length'];_0x3c3276['length']>0x4&&(_0x3c3276=_0x3c3276['slice'](0x0,_0x3c3276['length']-0x4),_0x207e7e-=0x4);let _0x4dd350=_0x2406b9[0x2];_0x2406b9[0x3]&&(_0x4dd350+=_0x2406b9[0x3]['replace'](/[xX]/,'\x20')),_0x1df4d8['push'](new Context(_0x4a5a12['parent'],_0x54a176,_0x54a176+_0x207e7e,_0x2406b9[0x1],_0x3c3276,_0x4dd350,_0x4a5a12));}}}}return _0x1df4d8;}function _0x268735(_0x4bec38,_0x107454){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x107454['sliceString'](_0x4bec38['from'],_0x4bec38['from']+0xa));}function _0x3f413b(_0x488a45,_0x13f5ea,_0x1717bf,_0x16a3eb=0x0){for(let _0x5edd64=-0x1,_0x2d1f5f=_0x488a45;;){if('ListItem'==_0x2d1f5f['name']){let _0x4ed33a=_0x268735(_0x2d1f5f,_0x13f5ea),_0x18299e=+_0x4ed33a[0x2];if(_0x5edd64>=0x0){if(_0x18299e!=_0x5edd64+0x1)return;_0x1717bf['push']({'from':_0x2d1f5f['from']+_0x4ed33a[0x1]['length'],'to':_0x2d1f5f['from']+_0x4ed33a[0x0]['length'],'insert':String(_0x5edd64+0x2+_0x16a3eb)});}_0x5edd64=_0x18299e;}let _0x2970e2=_0x2d1f5f['nextSibling'];if(!_0x2970e2)break;_0x2d1f5f=_0x2970e2;}}function _0x15336f(_0x1c3105,_0x4bfa56){let _0x5ea2dd=/^[ \t]*/['exec'](_0x1c3105)[0x0]['length'];if(!_0x5ea2dd||'\x09'!=_0x4bfa56['facet'](_0x2aa938))return _0x1c3105;let _0x3e106d='';for(let _0x1ac4ee=_0x13abfb(_0x1c3105,0x4,_0x5ea2dd);_0x1ac4ee>0x0;)_0x1ac4ee>=0x4?(_0x3e106d+='\x09',_0x1ac4ee-=0x4):(_0x3e106d+='\x20',_0x1ac4ee--);return _0x3e106d+_0x1c3105['slice'](_0x5ea2dd);}function _0x2bec10(_0x8a1762){return'QuoteMark'==_0x8a1762['name']||'ListMark'==_0x8a1762['name'];}function _0x5bb924(_0x4a9bb9,_0x19fc3b,_0x13a7d0){let _0x2e8a75='';for(let _0x2a90eb=0x0,_0xd460fc=_0x4a9bb9['length']-0x2;_0x2a90eb<=_0xd460fc;_0x2a90eb++)_0x2e8a75+=_0x4a9bb9[_0x2a90eb]['blank'](_0x2a90eb<_0xd460fc?_0x13abfb(_0x13a7d0['text'],0x4,Math['min'](_0x13a7d0['text']['length'],_0x4a9bb9[_0x2a90eb+0x1]['from']))-_0x2e8a75['length']:null,_0x2a90eb<_0xd460fc);return _0x15336f(_0x2e8a75,_0x19fc3b);}const _0x3cf30a=[{'key':'Enter','run':({state:_0x50f81b,dispatch:_0x7a0e7})=>{let _0xc8b3c9=_0xc45a56(_0x50f81b),{doc:_0x1f463a}=_0x50f81b,_0x32293b=null,_0x4a2aa5=_0x50f81b['changeByRange'](_0x2486cf=>{if(!_0x2486cf['empty']||!_0x33ee4b['isActiveAt'](_0x50f81b,_0x2486cf['from'],0x0))return _0x32293b={'range':_0x2486cf};let _0x3e27dc=_0x2486cf['from'],_0x22e624=_0x1f463a['lineAt'](_0x3e27dc),_0x8a668e=_0x4044e5(_0xc8b3c9['resolveInner'](_0x3e27dc,-0x1),_0x1f463a);for(;_0x8a668e['length']&&_0x8a668e[_0x8a668e['length']-0x1]['from']>_0x3e27dc-_0x22e624['from'];)_0x8a668e['pop']();if(!_0x8a668e['length'])return _0x32293b={'range':_0x2486cf};let _0xdbfbf1=_0x8a668e[_0x8a668e['length']-0x1];if(_0xdbfbf1['to']-_0xdbfbf1['spaceAfter']['length']>_0x3e27dc-_0x22e624['from'])return _0x32293b={'range':_0x2486cf};let _0x481957=_0x3e27dc>=_0xdbfbf1['to']-_0xdbfbf1['spaceAfter']['length']&&!/\S/['test'](_0x22e624['text']['slice'](_0xdbfbf1['to']));if(_0xdbfbf1['item']&&_0x481957){let _0x35829e=_0xdbfbf1['node']['firstChild'],_0x58b186=_0xdbfbf1['node']['getChild']('ListItem','ListItem');if(_0x35829e['to']>=_0x3e27dc||_0x58b186&&_0x58b186['to']<_0x3e27dc||_0x22e624['from']>0x0&&!/[^\s>]/['test'](_0x1f463a['lineAt'](_0x22e624['from']-0x1)['text'])){let _0x5e84c1,_0x3dfaa4=_0x8a668e['length']>0x1?_0x8a668e[_0x8a668e['length']-0x2]:null,_0x5d38a8='';_0x3dfaa4&&_0x3dfaa4['item']?(_0x5e84c1=_0x22e624['from']+_0x3dfaa4['from'],_0x5d38a8=_0x3dfaa4['marker'](_0x1f463a,0x1)):_0x5e84c1=_0x22e624['from']+(_0x3dfaa4?_0x3dfaa4['to']:0x0);let _0xf5c18=[{'from':_0x5e84c1,'to':_0x3e27dc,'insert':_0x5d38a8}];return'OrderedList'==_0xdbfbf1['node']['name']&&_0x3f413b(_0xdbfbf1['item'],_0x1f463a,_0xf5c18,-0x2),_0x3dfaa4&&'OrderedList'==_0x3dfaa4['node']['name']&&_0x3f413b(_0x3dfaa4['item'],_0x1f463a,_0xf5c18),{'range':EditorSelection['cursor'](_0x5e84c1+_0x5d38a8['length']),'changes':_0xf5c18};}{let _0x549fd2=_0x5bb924(_0x8a668e,_0x50f81b,_0x22e624);return{'range':EditorSelection['cursor'](_0x3e27dc+_0x549fd2['length']+0x1),'changes':{'from':_0x22e624['from'],'insert':_0x549fd2+_0x50f81b['lineBreak']}};}}if('Blockquote'==_0xdbfbf1['node']['name']&&_0x481957&&_0x22e624['from']){let _0x2e3bbd=_0x1f463a['lineAt'](_0x22e624['from']-0x1),_0x3df174=/>\s*$/['exec'](_0x2e3bbd['text']);if(_0x3df174&&_0x3df174['index']==_0xdbfbf1['from']){let _0x3928c1=_0x50f81b['changes']([{'from':_0x2e3bbd['from']+_0x3df174['index'],'to':_0x2e3bbd['to']},{'from':_0x22e624['from']+_0xdbfbf1['from'],'to':_0x22e624['to']}]);return{'range':_0x2486cf['map'](_0x3928c1),'changes':_0x3928c1};}}let _0x16bb42=[];'OrderedList'==_0xdbfbf1['node']['name']&&_0x3f413b(_0xdbfbf1['item'],_0x1f463a,_0x16bb42);let _0x383868=_0xdbfbf1['item']&&_0xdbfbf1['item']['from']<_0x22e624['from'],_0x485614='';if(!_0x383868||/^[\s\d.)\-+*>]*/['exec'](_0x22e624['text'])[0x0]['length']>=_0xdbfbf1['to']){for(let _0x1e182a=0x0,_0x4f6455=_0x8a668e['length']-0x1;_0x1e182a<=_0x4f6455;_0x1e182a++)_0x485614+=_0x1e182a!=_0x4f6455||_0x383868?_0x8a668e[_0x1e182a]['blank'](_0x1e182a<_0x4f6455?_0x13abfb(_0x22e624['text'],0x4,_0x8a668e[_0x1e182a+0x1]['from'])-_0x485614['length']:null):_0x8a668e[_0x1e182a]['marker'](_0x1f463a,0x1);}let _0x15f287=_0x3e27dc;for(;_0x15f287>_0x22e624['from']&&/\s/['test'](_0x22e624['text']['charAt'](_0x15f287-_0x22e624['from']-0x1));)_0x15f287--;return _0x485614=_0x15336f(_0x485614,_0x50f81b),function(_0x1ce1f4,_0xb6c80d){if('OrderedList'!=_0x1ce1f4['name']&&'BulletList'!=_0x1ce1f4['name'])return!0x1;let _0x32393f=_0x1ce1f4['firstChild'],_0x22e73f=_0x1ce1f4['getChild']('ListItem','ListItem');if(!_0x22e73f)return!0x1;let _0x4e84ac=_0xb6c80d['lineAt'](_0x32393f['to']),_0xd867af=_0xb6c80d['lineAt'](_0x22e73f['from']),_0x5322e4=/^[\s>]*$/['test'](_0x4e84ac['text']);return _0x4e84ac['number']+(_0x5322e4?0x0:0x1)<_0xd867af['number'];}(_0xdbfbf1['node'],_0x50f81b['doc'])&&(_0x485614=_0x5bb924(_0x8a668e,_0x50f81b,_0x22e624)+_0x50f81b['lineBreak']+_0x485614),_0x16bb42['push']({'from':_0x15f287,'to':_0x3e27dc,'insert':_0x50f81b['lineBreak']+_0x485614}),{'range':EditorSelection['cursor'](_0x15f287+_0x485614['length']+0x1),'changes':_0x16bb42};});return!_0x32293b&&(_0x7a0e7(_0x50f81b['update'](_0x4a2aa5,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x1d4f04,dispatch:_0x13de5a})=>{let _0x575211=_0xc45a56(_0x1d4f04),_0x29959d=null,_0x52a122=_0x1d4f04['changeByRange'](_0x1dff59=>{let _0x52778f=_0x1dff59['from'],{doc:_0x378724}=_0x1d4f04;if(_0x1dff59['empty']&&_0x33ee4b['isActiveAt'](_0x1d4f04,_0x1dff59['from'])){let _0x1636f8=_0x378724['lineAt'](_0x52778f),_0x42787b=_0x4044e5(function(_0x324723,_0x1360b7){let _0x25d940=_0x324723['resolveInner'](_0x1360b7,-0x1),_0x453cc9=_0x1360b7;_0x2bec10(_0x25d940)&&(_0x453cc9=_0x25d940['from'],_0x25d940=_0x25d940['parent']);for(let _0x1a9e8f;_0x1a9e8f=_0x25d940['childBefore'](_0x453cc9);)if(_0x2bec10(_0x1a9e8f))_0x453cc9=_0x1a9e8f['from'];else{if('OrderedList'!=_0x1a9e8f['name']&&'BulletList'!=_0x1a9e8f['name'])break;_0x25d940=_0x1a9e8f['lastChild'],_0x453cc9=_0x25d940['to'];}return _0x25d940;}(_0x575211,_0x52778f),_0x378724);if(_0x42787b['length']){let _0x5c3ca1=_0x42787b[_0x42787b['length']-0x1],_0x4cbd32=_0x5c3ca1['to']-_0x5c3ca1['spaceAfter']['length']+(_0x5c3ca1['spaceAfter']?0x1:0x0);if(_0x52778f-_0x1636f8['from']>_0x4cbd32&&!/\S/['test'](_0x1636f8['text']['slice'](_0x4cbd32,_0x52778f-_0x1636f8['from'])))return{'range':EditorSelection['cursor'](_0x1636f8['from']+_0x4cbd32),'changes':{'from':_0x1636f8['from']+_0x4cbd32,'to':_0x52778f}};if(_0x52778f-_0x1636f8['from']==_0x4cbd32&&(!_0x5c3ca1['item']||_0x1636f8['from']<=_0x5c3ca1['item']['from']||!/\S/['test'](_0x1636f8['text']['slice'](0x0,_0x5c3ca1['to'])))){let _0x4f80ef=_0x1636f8['from']+_0x5c3ca1['from'];if(_0x5c3ca1['item']&&_0x5c3ca1['node']['from']<_0x5c3ca1['item']['from']&&/\S/['test'](_0x1636f8['text']['slice'](_0x5c3ca1['from'],_0x5c3ca1['to']))){let _0x8bbbfb=_0x5c3ca1['blank'](_0x13abfb(_0x1636f8['text'],0x4,_0x5c3ca1['to'])-_0x13abfb(_0x1636f8['text'],0x4,_0x5c3ca1['from']));return _0x4f80ef==_0x1636f8['from']&&(_0x8bbbfb=_0x15336f(_0x8bbbfb,_0x1d4f04)),{'range':EditorSelection['cursor'](_0x4f80ef+_0x8bbbfb['length']),'changes':{'from':_0x4f80ef,'to':_0x1636f8['from']+_0x5c3ca1['to'],'insert':_0x8bbbfb}};}if(_0x4f80ef<_0x52778f)return{'range':EditorSelection['cursor'](_0x4f80ef),'changes':{'from':_0x4f80ef,'to':_0x52778f}};}}}return _0x29959d={'range':_0x1dff59};});return!_0x29959d&&(_0x13de5a(_0x1d4f04['update'](_0x52a122,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0xbc3821=_0x471078({'matchClosingTags':!0x1});function _0x3d8f28(_0xc8a37c={}){let {codeLanguages:_0x5677d0,defaultCodeLanguage:_0x511a40,addKeymap:_0x1a68c9=!0x0,base:{parser:_0x9b0063}=_0x575f00,completeHTMLTags:_0x1f62bc=!0x0,htmlTagLanguage:_0x2718e1=_0xbc3821}=_0xc8a37c;if(!(_0x9b0063 instanceof _0xd1849d))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0xcc2d02,_0x3ca775=_0xc8a37c['extensions']?[_0xc8a37c['extensions']]:[],_0x1a2523=[_0x2718e1['support']];_0x511a40 instanceof LanguageSupport?(_0x1a2523['push'](_0x511a40['support']),_0xcc2d02=_0x511a40['language']):_0x511a40&&(_0xcc2d02=_0x511a40);let _0x437bc9=_0x5677d0||_0xcc2d02?(_0x15587b=_0x5677d0,_0x2a0ba3=_0xcc2d02,_0x1442d3=>{if(_0x1442d3&&_0x15587b){let _0x41a332=null;if(_0x1442d3=/\S*/['exec'](_0x1442d3)[0x0],_0x41a332='function'==typeof _0x15587b?_0x15587b(_0x1442d3):LanguageDescription['matchLanguageName'](_0x15587b,_0x1442d3,!0x0),_0x41a332 instanceof LanguageDescription)return _0x41a332['support']?_0x41a332['support']['language']['parser']:ParseContext['getSkippingParser'](_0x41a332['load']());if(_0x41a332)return _0x41a332['parser'];}return _0x2a0ba3?_0x2a0ba3['parser']:null;}):void 0x0;var _0x15587b,_0x2a0ba3;_0x3ca775['push'](function(_0x50e023){let {codeParser:_0x4a65cf,htmlParser:_0x2dc325}=_0x50e023,_0x32addf=_0x318474((_0xe50deb,_0x3d0f65)=>{let _0x32b62e=_0xe50deb['type']['id'];if(!_0x4a65cf||_0x32b62e!=_0x2533dc['CodeBlock']&&_0x32b62e!=_0x2533dc['FencedCode']){if(_0x2dc325&&(_0x32b62e==_0x2533dc['HTMLBlock']||_0x32b62e==_0x2533dc['HTMLTag']||_0x32b62e==_0x2533dc['CommentBlock']))return{'parser':_0x2dc325,'overlay':_0x51b8cb(_0xe50deb['node'],_0xe50deb['from'],_0xe50deb['to'])};}else{let _0x24dd58='';if(_0x32b62e==_0x2533dc['FencedCode']){let _0x27d150=_0xe50deb['node']['getChild'](_0x2533dc['CodeInfo']);_0x27d150&&(_0x24dd58=_0x3d0f65['read'](_0x27d150['from'],_0x27d150['to']));}let _0x4daede=_0x4a65cf(_0x24dd58);if(_0x4daede)return{'parser':_0x4daede,'overlay':_0x31fd6d=>_0x31fd6d['type']['id']==_0x2533dc['CodeText']};}return null;});return{'wrap':_0x32addf};}({'codeParser':_0x437bc9,'htmlParser':_0x2718e1['language']['parser']})),_0x1a68c9&&_0x1a2523['push'](_0x271a11['high'](_0x406f2e['of'](_0x3cf30a)));let _0x14db14=_0x1f5379(_0x9b0063['configure'](_0x3ca775));return _0x1f62bc&&_0x1a2523['push'](_0x14db14['data']['of']({'autocomplete':_0x62965e})),new LanguageSupport(_0x14db14,_0x1a2523);}function _0x62965e(_0x3838e1){let {state:_0x21c99a,pos:_0x5bd565}=_0x3838e1,_0x287672=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x21c99a['sliceDoc'](_0x5bd565-0x19,_0x5bd565));if(!_0x287672)return null;let _0x318e8b=_0xc45a56(_0x21c99a)['resolveInner'](_0x5bd565,-0x1);for(;_0x318e8b&&!_0x318e8b['type']['isTop'];){if('CodeBlock'==_0x318e8b['name']||'FencedCode'==_0x318e8b['name']||'ProcessingInstructionBlock'==_0x318e8b['name']||'CommentBlock'==_0x318e8b['name']||'Link'==_0x318e8b['name']||'Image'==_0x318e8b['name'])return null;_0x318e8b=_0x318e8b['parent'];}return{'from':_0x5bd565-_0x287672[0x0]['length'],'to':_0x5bd565,'options':_0x30f037(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0x1f02b8=null;function _0x30f037(){if(_0x1f02b8)return _0x1f02b8;let _0x321d46=(_0x2e2407=new CompletionContext(EditorState['create']({'extensions':_0xbc3821}),0x0,!0x0),_0x105de2(_0xd48422['default'],_0x2e2407));var _0x2e2407;return _0x1f02b8=_0x321d46?_0x321d46['options']:[];}const _0x185843='#e06c75',_0x1bb3e3='#abb2bf',_0x3ffac1='#7d8799',_0x564d2c='#d19a66',_0x4f382b='#2c313a',_0x29eb85='#282c34',_0x32346b='#353a42',_0x472dcf='#528bff',_0xc4b4d1=[EditorView['theme']({'&':{'color':_0x1bb3e3,'backgroundColor':_0x29eb85},'.cm-content':{'caretColor':_0x472dcf},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x472dcf},'&.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':_0x1bb3e3},'.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':_0x29eb85,'color':_0x3ffac1,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0x4f382b},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x32346b},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x32346b,'borderBottomColor':_0x32346b},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0x4f382b,'color':_0x1bb3e3}}},{'dark':!0x0}),_0x27f39d(HighlightStyle['define']([{'tag':_0x422c5c['keyword'],'color':'#c678dd'},{'tag':[_0x422c5c['name'],_0x422c5c['deleted'],_0x422c5c['character'],_0x422c5c['propertyName'],_0x422c5c['macroName']],'color':_0x185843},{'tag':[_0x422c5c['function'](_0x422c5c['variableName']),_0x422c5c['labelName']],'color':'#61afef'},{'tag':[_0x422c5c['color'],_0x422c5c['constant'](_0x422c5c['name']),_0x422c5c['standard'](_0x422c5c['name'])],'color':_0x564d2c},{'tag':[_0x422c5c['definition'](_0x422c5c['name']),_0x422c5c['separator']],'color':_0x1bb3e3},{'tag':[_0x422c5c['typeName'],_0x422c5c['className'],_0x422c5c['number'],_0x422c5c['changed'],_0x422c5c['annotation'],_0x422c5c['modifier'],_0x422c5c['self'],_0x422c5c['namespace']],'color':'#e5c07b'},{'tag':[_0x422c5c['operator'],_0x422c5c['operatorKeyword'],_0x422c5c['url'],_0x422c5c['escape'],_0x422c5c['regexp'],_0x422c5c['link'],_0x422c5c['special'](_0x422c5c['string'])],'color':'#56b6c2'},{'tag':[_0x422c5c['meta'],_0x422c5c['comment']],'color':_0x3ffac1},{'tag':_0x422c5c['strong'],'fontWeight':'bold'},{'tag':_0x422c5c['emphasis'],'fontStyle':'italic'},{'tag':_0x422c5c['strikethrough'],'textDecoration':'line-through'},{'tag':_0x422c5c['link'],'color':_0x3ffac1,'textDecoration':'underline'},{'tag':_0x422c5c['heading'],'fontWeight':'bold','color':_0x185843},{'tag':[_0x422c5c['atom'],_0x422c5c['bool'],_0x422c5c['special'](_0x422c5c['variableName'])],'color':_0x564d2c},{'tag':[_0x422c5c['processingInstruction'],_0x422c5c['string'],_0x422c5c['inserted']],'color':'#98c379'},{'tag':_0x422c5c['invalid'],'color':'#ffffff'}]))];function _0x2ac949(_0x18606a){const _0x30c622=[EditorView['lineWrapping'],_0x2b7517(),_0x475ac9(),_0x34f2a6(),_0x1d9b52(),_0x313783(),_0x5e3548(),_0x1ee612(),_0x181767(),_0x11dc69(),_0x227b7f(),_0x12a35d(),_0x322b77(),_0x3fc2f2(),_0x2cc81d(),_0x27f39d(_0x43a79d,{'fallback':!0x0})],_0x54e871=new Compartment();_0x30c622['push'](_0x54e871['of'](EditorView['editable']['of'](!0x0))),'html'===_0x18606a['syntaxLanguage']?_0x30c622['push'](_0x471078()):_0x30c622['push'](_0x3d8f28());const _0x21bd1f=function(_0x5ed74b){if(_0x5ed74b&&'default'!==_0x5ed74b)return'dark'===_0x5ed74b?_0xc4b4d1:_0x5ed74b;return null;}(_0x18606a['theme']);_0x21bd1f&&_0x30c622['push'](_0x21bd1f),_0x30c622['push'](_0x406f2e['of']([..._0x170ba3,..._0x215df4,..._0x373ea4,..._0x40bc9c,..._0x475686,{'key':'Tab','run':_0x4294be,'shift':_0x2fa52b,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x251d5e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x251d5e,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0xd95f3c,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x2688c8=new EditorView({'extensions':_0x30c622,'parent':_0x18606a['parent']});return _0x333783(_0x2688c8),{'focus':()=>{_0x2688c8['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x2688c8['focus']();},'getData':()=>_0x2688c8['state']['doc']['toString'](),'setData':_0x3ae491=>{_0x2688c8['dispatch']({'changes':{'from':0x0,'to':_0x2688c8['state']['doc']['length'],'insert':_0x3ae491},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x184813=>{_0x2688c8['dispatch']({'effects':[_0x54e871['reconfigure'](EditorView['editable']['of'](!_0x184813))]});},'destroy':()=>{_0x2688c8['destroy']();},'instance':_0x2688c8};}class CodeEditorView extends _0xa0ed63['View']{['_codeEditorApi']=null;['_options'];constructor(_0x1e52b1,_0x31dd4d){super(_0x1e52b1),this['_options']=_0x31dd4d,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']=_0x2ac949({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x42c48a,_0x20004a,_0x4a8220)=>{this['setReadOnly'](_0x4a8220);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x4e9b37){this['_codeEditorApi']['setData'](_0x4e9b37);}['setReadOnly'](_0x2c1261){this['_codeEditorApi']['setReadOnly'](_0x2c1261);}}const _0x427394='SourceEditingEnhancedMode';class EditSourceCommand extends _0xa0ed63['Command']{constructor(_0x500af9){super(_0x500af9),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0xa0ed63['PendingActions'])['on']('change:hasAny',(_0x93c12b,_0x324bb8,_0x20f683)=>{_0x20f683?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5c53aa=this['editor'];for(const _0x3ca044 of _0x5c53aa['commands']['names']())['replaceSource','editSource']['includes'](_0x3ca044)||_0x5c53aa['commands']['get'](_0x3ca044)['forceDisabled'](_0x427394);}['_enableCommands'](){const _0x4b3954=this['editor'];for(const _0x5c1b58 of _0x4b3954['commands']['commands']())_0x5c1b58['clearForceDisabled'](_0x427394);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x476d7b=this['editor'],_0x49764b=_0x476d7b['locale'],_0x21edf3=_0x476d7b['plugins']['get']('Dialog'),_0x3b46cb=_0xc02ac4(_0x476d7b),_0x159935=_0x476d7b['data']['get']({'rootName':_0x3b46cb}),_0x33bc22=_0x3987b8(_0x1d4408=_0x159935)?_0xa0ed63['formatHtml'](_0x1d4408):_0x1d4408;var _0x1d4408;const _0x5ea4c2=new CodeEditorView(_0x49764b,{'syntaxLanguage':_0x476d7b['plugins']['has']('Markdown')?'markdown':'html','theme':_0x476d7b['config']['get']('sourceEditingEnhanced.theme')});let _0x3d8587=!0x0;const _0x1ad284=_0x26836a=>{if(!_0x3d8587)return;return _0x28a4a1(_0x5ea4c2['getData']())!==_0x28a4a1(_0x33bc22)?window['confirm'](_0x214be7(_0x49764b,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x26836a['stop']():void 0x0;};_0x21edf3['show']({'id':'sourceEditingEnhanced','title':_0x214be7(_0x49764b,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x5ea4c2,'actionButtons':[{'label':_0x214be7(_0x49764b,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x21edf3['hide']();}},{'label':_0x214be7(_0x49764b,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1f1369=_0x28a4a1(_0x5ea4c2['getData']())!==_0x28a4a1(_0x33bc22);(_0x1f1369&&_0x476d7b['execute']('replaceSource',_0x5ea4c2['getData']()),_0x3d8587=!0x1,_0x21edf3['hide'](),_0x1f1369&&'editables'in _0x476d7b['ui']['view'])&&_0x476d7b['ui']['view']['editables'][_0x3b46cb]['element']['focus']();},'onCreate':_0x43bef2=>{_0x43bef2['set']('isEnabled',!_0x476d7b['isReadOnly']),_0x43bef2['bind']('isEnabled')['to'](_0x476d7b,'isReadOnly',this,'isEnabled',(_0x39731d,_0x14afd0)=>!_0x39731d&&_0x14afd0);}}],'onHide':()=>{this['_enableCommands'](),_0x21edf3['off']('hide',_0x1ad284),_0x5ea4c2['destroy']();},'onShow':()=>{_0x5ea4c2['bind']('isReadOnly')['to'](_0x476d7b,'isReadOnly',this,'isEnabled',(_0x2ca88d,_0x433c9c)=>_0x2ca88d||!_0x433c9c),_0x5ea4c2['setData'](_0x33bc22),_0x5ea4c2['focus'](),_0x21edf3['on']('hide',_0x1ad284,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0xa0ed63['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x28c906=this['editor'],_0x373ad3=_0x28c906['locale'],_0x37d21c=new EditSourceCommand(_0x28c906);_0x28c906['commands']['add']('editSource',_0x37d21c),_0x28c906['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x28dc80=this['_createButton'](_0xa0ed63['ButtonView'],_0x37d21c);return _0x28dc80['set']({'label':_0x214be7(_0x373ad3,'Source'),'icon':_0xa0ed63['IconSource'],'tooltip':_0x214be7(_0x373ad3,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x28dc80;}),_0x28c906['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3763bf=this['_createButton'](_0xa0ed63['MenuBarMenuListItemButtonView'],_0x37d21c,!0x0);return _0x3763bf['set']({'label':_0x214be7(_0x373ad3,'Edit\x20source\x20modal\x20label'),'icon':_0xa0ed63['IconSource'],'role':'menuitemcheckbox'}),_0x3763bf;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x94fe6c){const _0x3516c9=_0x2fe422([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x27de75=0x5dba9314,_0x199724=0x5dbd1cd4^_0x27de75,_0x5f1d66=window[_0x2fe422([0x44,0x61,0x74,0x65])][_0x2fe422([0x6e,0x6f,0x77])](),_0x580f6c=_0x94fe6c[_0x2fe422([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x18a83f=new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x341eb5=>{_0x580f6c[_0x2fe422([0x6f,0x6e,0x63,0x65])](_0x2fe422([0x72,0x65,0x61,0x64,0x79]),_0x341eb5);}),_0x4af3f0={[_0x2fe422([0x6b,0x74,0x79])]:_0x2fe422([0x45,0x43]),[_0x2fe422([0x75,0x73,0x65])]:_0x2fe422([0x73,0x69,0x67]),[_0x2fe422([0x63,0x72,0x76])]:_0x2fe422([0x50,0x2d,0x32,0x35,0x36]),[_0x2fe422([0x78])]:_0x2fe422([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2fe422([0x79])]:_0x2fe422([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2fe422([0x61,0x6c,0x67])]:_0x2fe422([0x45,0x53,0x32,0x35,0x36])},_0x57b6ad=_0x580f6c[_0x2fe422([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fe422([0x67,0x65,0x74])](_0x2fe422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37577e(){let _0x553d2c,_0x155095=null,_0x1b187c=null;try{if(_0x57b6ad==_0x2fe422([0x47,0x50,0x4c]))return _0x2fe422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x553d2c=_0xa0a4cc(),!_0x553d2c)return _0x2fe422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x553d2c[_0x2fe422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b187c=_0x1ede50(_0x553d2c[_0x2fe422([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x553d2c[_0x2fe422([0x6a,0x74,0x69])])),await _0x56dd9f()?_0x1d3a75()?_0x304754()?_0x2fe422([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27d00c()?(_0x553d2c[_0x2fe422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fe422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x155095=_0x3b0b23(_0x2fe422([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd361ae()):_0x2fe422([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe422([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fe422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fe422([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x304754(){const _0x1ab0f1=[_0x2fe422([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fe422([0x74,0x72,0x69,0x61,0x6c])][_0x2fe422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553d2c[_0x2fe422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f1d66/0x3e8:0xe10*_0x199724;return _0x553d2c[_0x2fe422([0x65,0x78,0x70])]<_0x1ab0f1;}function _0x1d3a75(){const _0x401298=_0x553d2c[_0x2fe422([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x401298&&(!!_0x401298[_0x2fe422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe422([0x2a]))||!!_0x401298[_0x2fe422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe422([0x53,0x45,0x45])));}function _0x27d00c(){const _0x14840f=_0x553d2c[_0x2fe422([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14840f||0x0==_0x14840f[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58d050}=new URL(window[_0x2fe422([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x14840f[_0x2fe422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58d050))return!0x0;const _0x2b6550=_0x58d050[_0x2fe422([0x73,0x70,0x6c,0x69,0x74])](_0x2fe422([0x2e]));return _0x14840f[_0x2fe422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232080=>_0x232080[_0x2fe422([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fe422([0x2a])))[_0x2fe422([0x6d,0x61,0x70])](_0x35736d=>_0x35736d[_0x2fe422([0x73,0x70,0x6c,0x69,0x74])](_0x2fe422([0x2e])))[_0x2fe422([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1831da=>_0x1831da[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b6550[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fe422([0x6d,0x61,0x70])](_0x215fbb=>Array(_0x2b6550[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x215fbb[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fe422([0x66,0x69,0x6c,0x6c])](_0x215fbb[0x0]===_0x2fe422([0x2a])?_0x2fe422([0x2a]):'')[_0x2fe422([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x215fbb))[_0x2fe422([0x73,0x6f,0x6d,0x65])](_0x50a39f=>_0x2b6550[_0x2fe422([0x65,0x76,0x65,0x72,0x79])]((_0x122af1,_0x36a391)=>_0x50a39f[_0x36a391]===_0x122af1||_0x50a39f[_0x36a391]===_0x2fe422([0x2a])));}function _0xd361ae(){return _0x155095&&_0x1b187c?new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38f1b1,_0x1b43b6)=>{_0x155095[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x38f1b1,_0x1b43b6),_0x1b187c[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x21e329=>{_0x21e329!=_0x2fe422([0x56,0x61,0x6c,0x69,0x64])&&_0x38f1b1(_0x21e329);},_0x1b43b6);}):_0x155095||_0x1b187c||_0x2fe422([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ede50(_0x4b2d65,_0x2d1a0c){return new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ad600=>{if(_0x144c5b())return _0x5ad600(_0x2fe422([0x56,0x61,0x6c,0x69,0x64]));_0x116e89(),_0x580f6c[_0x2fe422([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fe422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e36c2=!0x1;const _0x311daa=_0xa0ed63['uid']();function _0x47888c(_0x23f14b){return!!_0x23f14b&&(typeof _0x23f14b===_0x2fe422([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23f14b===_0x2fe422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23f14b[_0x2fe422([0x74,0x68,0x65,0x6e])]===_0x2fe422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23f14b[_0x2fe422([0x63,0x61,0x74,0x63,0x68])]===_0x2fe422([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x290ac5(_0x7e4acb){_0x1180e5(_0x7e4acb)[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x35c516=>{if(!_0x35c516||_0x35c516[_0x2fe422([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fe422([0x6f,0x6b]))return _0x2fe422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c3972(_0x3d6a15(_0x311daa+_0x2d1a0c))!=_0x35c516[_0x2fe422([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fe422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fe422([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x566c98=>(_0x4f693f(),_0x566c98),()=>{const _0x256b55=_0x5a0a();return null==_0x256b55?(_0x4f693f(),_0x2fe422([0x56,0x61,0x6c,0x69,0x64])):_0x2fe422(_0x5f1d66-_0x256b55>(0x79b61714^_0x27de75)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x5ad600)[_0x2fe422([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ad600(_0x2fe422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fdf00=0x5d8c7d94^_0x27de75;function _0x4f693f(){const _0x26acd8=_0x2fe422([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c3972(_0x3d6a15(_0x4b2d65)),_0x211d60=_0x217ce2(_0x1c3972(window[_0x2fe422([0x4d,0x61,0x74,0x68])][_0x2fe422([0x63,0x65,0x69,0x6c])](_0x5f1d66/_0x4fdf00)));window[_0x2fe422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe422([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26acd8,_0x211d60);}function _0x5a0a(){const _0x3fefe5=_0x2fe422([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c3972(_0x3d6a15(_0x4b2d65)),_0x56b7ce=window[_0x2fe422([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fe422([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fefe5);return _0x56b7ce?window[_0x2fe422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x217ce2(_0x56b7ce),0x10)*_0x4fdf00:null;}function _0x1180e5(_0x2c0f64){return new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23e189,_0x19f89e)=>{_0x2c0f64[_0x2fe422([0x74,0x68,0x65,0x6e])](_0x23e189,_0x19f89e),window[_0x2fe422([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19f89e,0x5dbb47d4^_0x27de75);});}}_0x580f6c[_0x2fe422([0x6f,0x6e])](_0x2fe422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13958d,_0x2ca1d5)=>{if(_0x2ca1d5[0x0]!=_0x4b2d65)return _0x5ad600(_0x2fe422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ca1d5[0x1]={..._0x2ca1d5[0x1],[_0x2fe422([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x311daa};},{[_0x2fe422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe422([0x68,0x69,0x67,0x68])}),_0x580f6c[_0x2fe422([0x6f,0x6e])](_0x2fe422([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x569298=>{_0x47888c(_0x569298[_0x2fe422([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e36c2=!0x0,_0x290ac5(_0x569298[_0x2fe422([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fe422([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fe422([0x6c,0x6f,0x77])}),_0x18a83f[_0x2fe422([0x74,0x68,0x65,0x6e])](()=>{_0x3e36c2||_0x5ad600(_0x2fe422([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x144c5b(){return _0x580f6c[_0x2fe422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe422([0x76,0x69,0x65,0x77])][_0x2fe422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fe422([0x61,0x75,0x74,0x6f]);}function _0x116e89(){_0x580f6c[_0x2fe422([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fe422([0x76,0x69,0x65,0x77])][_0x2fe422([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fe422([0x61,0x75,0x74,0x6f]);}}function _0x3b0b23(_0x506d69){const _0x4263de=[new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27708c=>setTimeout(_0x27708c,0x5db3add8^_0x27de75)),_0x18a83f[_0x2fe422([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x187909=>{let _0x11a760=0x0;_0x580f6c[_0x2fe422([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe422([0x6f,0x6e])](_0x2fe422([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a80ea,_0x5459ff)=>{_0x5459ff[0x0][_0x2fe422([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11a760++,_0x11a760==(0x5dba96fc^_0x27de75)&&(_0x187909(),_0x5a80ea[_0x2fe422([0x6f,0x66,0x66])]());});}))];return window[_0x2fe422([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fe422([0x72,0x61,0x63,0x65])](_0x4263de)[_0x2fe422([0x74,0x68,0x65,0x6e])](()=>_0x506d69);}async function _0x2c5cde(){await _0x18a83f,_0x580f6c[_0x2fe422([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe422([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x192dc4,_0x580f6c[_0x2fe422([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fe422([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x192dc4,_0x580f6c[_0x2fe422([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fe422([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27aef9(_0x4898b8){const _0x1b155d=_0x48360d();_0x580f6c[_0x1b155d]=_0x2fe422([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4898b8,_0x4898b8!=_0x2fe422([0x56,0x61,0x6c,0x69,0x64])&&_0x2c5cde();}function _0x48360d(){const _0x24d4b1=window[_0x2fe422([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fe422([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fe422([0x6e,0x6f,0x77])]())[_0x2fe422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fe422([0x2e]),'');let _0x4b455c=_0x2fe422([0x4e]);for(let _0x5f3c31=0x0;_0x5f3c31<_0x24d4b1[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f3c31+=0x2){let _0x19c46b=window[_0x2fe422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24d4b1[_0x2fe422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f3c31,_0x5f3c31+0x2));_0x19c46b>=_0x3516c9[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19c46b-=_0x3516c9[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b455c+=_0x3516c9[_0x19c46b];}return _0x4b455c;}function _0xa0a4cc(){const _0x1cab6b=_0x57b6ad[_0x2fe422([0x73,0x70,0x6c,0x69,0x74])](_0x2fe422([0x2e]));if(0x3!=_0x1cab6b[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11199c(_0x1cab6b[0x1]);function _0x11199c(_0x47d4fc){const _0x5c4125=_0x3238cc(_0x47d4fc);return _0x5c4125&&_0x4cc733()?_0x5c4125:null;function _0x4cc733(){const _0x3ae4d6=_0x5c4125[_0x2fe422([0x6a,0x74,0x69])],_0x527e02=window[_0x2fe422([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ae4d6[_0x2fe422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae4d6[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d938b={..._0x5c4125,[_0x2fe422([0x6a,0x74,0x69])]:_0x3ae4d6[_0x2fe422([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ae4d6[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d938b[_0x2fe422([0x76,0x63])],_0x3d6a15(_0x5d938b)==_0x527e02;}}}async function _0x56dd9f(){let _0x45744a=!0x0;try{const _0x479f34=_0x57b6ad[_0x2fe422([0x73,0x70,0x6c,0x69,0x74])](_0x2fe422([0x2e])),[_0x338b60,_0xe2ef30,_0x21769d]=_0x479f34;return _0x4762ae(_0x338b60),await _0x47fa60(_0x338b60,_0xe2ef30,_0x21769d),_0x45744a;}catch{return!0x1;}function _0x4762ae(_0x4af61b){const _0x978ec4=_0x3238cc(_0x4af61b);_0x978ec4&&_0x978ec4[_0x2fe422([0x61,0x6c,0x67])]==_0x2fe422([0x45,0x53,0x32,0x35,0x36])||(_0x45744a=!0x1);}async function _0x47fa60(_0x7938ac,_0x2f96ad,_0x4d5f8f){const _0x23c90b=window[_0x2fe422([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fe422([0x66,0x72,0x6f,0x6d])](_0x229ca5(_0x4d5f8f),_0x3f2508=>_0x3f2508[_0x2fe422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x542bac=new window[(_0x2fe422([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fe422([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7938ac+_0x2fe422([0x2e])+_0x2f96ad),_0x41d846=window[_0x2fe422([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fe422([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x41d846)return;const _0x3f90a5=await _0x41d846[_0x2fe422([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fe422([0x6a,0x77,0x6b]),_0x4af3f0,{[_0x2fe422([0x6e,0x61,0x6d,0x65])]:_0x2fe422([0x45,0x43,0x44,0x53,0x41]),[_0x2fe422([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fe422([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fe422([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x41d846[_0x2fe422([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fe422([0x6e,0x61,0x6d,0x65])]:_0x2fe422([0x45,0x43,0x44,0x53,0x41]),[_0x2fe422([0x68,0x61,0x73,0x68])]:{[_0x2fe422([0x6e,0x61,0x6d,0x65])]:_0x2fe422([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f90a5,_0x23c90b,_0x542bac)||(_0x45744a=!0x1);}}function _0x3238cc(_0x21621e){return _0x21621e[_0x2fe422([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fe422([0x65,0x79]))?JSON[_0x2fe422([0x70,0x61,0x72,0x73,0x65])](_0x229ca5(_0x21621e)):null;}function _0x229ca5(_0x587bf2){return window[_0x2fe422([0x61,0x74,0x6f,0x62])](_0x587bf2[_0x2fe422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fe422([0x2b]))[_0x2fe422([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fe422([0x2f])));}function _0x3d6a15(_0x57cefc){let _0x481118=0x1505;function _0x2309ce(_0x1753ae){for(let _0x30a193=0x0;_0x30a193<_0x1753ae[_0x2fe422([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30a193++){const _0x424659=_0x1753ae[_0x2fe422([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30a193);_0x481118=(_0x481118<<0x5)+_0x481118+_0x424659,_0x481118&=_0x481118;}}function _0x268083(_0x132b5e){Array[_0x2fe422([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x132b5e)?_0x132b5e[_0x2fe422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x268083):_0x132b5e&&typeof _0x132b5e==_0x2fe422([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fe422([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x132b5e)[_0x2fe422([0x73,0x6f,0x72,0x74])]()[_0x2fe422([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e9c87,_0x57c5a6])=>{_0x2309ce(_0x2e9c87),_0x268083(_0x57c5a6);}):_0x2309ce(window[_0x2fe422([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x132b5e));}return _0x268083(_0x57cefc),_0x481118>>>0x0;}function _0x1c3972(_0x471166){return _0x471166[_0x2fe422([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fe422([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fe422([0x30]));}function _0x217ce2(_0x14d387){return _0x14d387[_0x2fe422([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fe422([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fe422([0x6a,0x6f,0x69,0x6e])]('');}function _0x192dc4(){}function _0x2fe422(_0x2760f1){return _0x2760f1['map'](_0x12183c=>String['fromCharCode'](_0x12183c))['join']('');}_0x27aef9(await _0x37577e());}(this);}['_createButton'](_0x3ced7c,_0x3a23bd,_0x1ba842=!0x1){const _0x3e160f=new _0x3ced7c(this['editor']['locale']);return _0x3e160f['set']({'withText':_0x1ba842,'isToggleable':!0x1}),_0x3e160f['bind']('isEnabled')['to'](_0x3a23bd,'isEnabled'),this['listenTo'](_0x3e160f,'execute',()=>_0x3a23bd['execute']()),_0x3e160f;}['_registerKeybindings'](){const _0x91c63=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x214be7(_0x91c63,'Source\x20Editing\x20Enhanced')});const _0x487242=_0xa0ed63['env']['isMac']||_0xa0ed63['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x214be7(_0x91c63,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x214be7(_0x91c63,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x214be7(_0x91c63,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x214be7(_0x91c63,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x214be7(_0x91c63,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x214be7(_0x91c63,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x214be7(_0x91c63,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x487242?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x214be7(_0x91c63,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x214be7(_0x91c63,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x214be7(_0x91c63,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x214be7(_0x91c63,'Select\x20line'),'keystroke':_0x487242?'Ctrl!+L':'Alt+L'},{'label':_0x214be7(_0x91c63,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x487242?'Alt+Shift+M':'Ctrl+M'},{'label':_0x214be7(_0x91c63,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x214be7(_0x91c63,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x214be7(_0x91c63,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x214be7(_0x91c63,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x214be7(_0x91c63,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x487242?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class _0x590eb7 extends _0xa0ed63['Command']{constructor(_0x51ed33){super(_0x51ed33),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2ea8a8,_0x193cc6){const _0x17395e=this['editor'],_0x3079a5=_0x193cc6?.['rootName']??_0xc02ac4(_0x17395e);_0x17395e['data']['set']({[_0x3079a5]:_0x2ea8a8},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x3e545e){super(_0x3e545e),_0x3e545e['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x590eb7(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e9ac2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f7311;for(const _0x4e8cba in _0x1e9ac2){const _0xb32ee8=_0x4e8cba,_0x7cbb82=_0x1e9ac2[_0xb32ee8];if('sourceEditingEnhancedLicenseKeyValid'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyInvalid'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyExpired'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x7cbb82||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x7cbb82){delete _0x1e9ac2[_0xb32ee8],_0x3f7311=_0x7cbb82,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3f7311&&_0x1e9ac2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x511b04=this['editor'],_0x3ef7f1=_0x511b04['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x3ef7f1&&_0x511b04['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0xa0ed63['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x3ef7f1&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x10bbba=>_0x511b04['plugins']['has'](_0x10bbba))&&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.'),_0x511b04['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}class TemplateCommand extends _0xa0ed63['Command']{['execute'](_0x33c0a4){const {model:_0x2de292}=this['editor'];let _0x4872a6;switch(typeof _0x33c0a4){case'string':_0x4872a6=_0x33c0a4;break;case'function':_0x4872a6=_0x33c0a4();}'string'==typeof _0x4872a6&&_0x2de292['change'](()=>{const _0x14b01b=this['editor']['data']['htmlProcessor']['toView'](_0x4872a6),_0x3ab9d2=this['editor']['data']['toModel'](_0x14b01b);_0x2de292['insertContent'](_0x3ab9d2);});}}class TemplateEditing extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3eb5e5}=this;_0x3eb5e5['commands']['add']('insertTemplate',new TemplateCommand(_0x3eb5e5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x564bef=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xec7ba;for(const _0x345631 in _0x564bef){const _0x5812d0=_0x345631,_0x339eec=_0x564bef[_0x5812d0];if('templateLicenseKeyValid'==_0x339eec||'templateLicenseKeyInvalid'==_0x339eec||'templateLicenseKeyExpired'==_0x339eec||'templateLicenseKeyDomainLimit'==_0x339eec||'templateLicenseKeyNotAllowed'==_0x339eec||'templateLicenseKeyEvaluationLimit'==_0x339eec||'templateLicenseKeyUsageLimit'==_0x339eec){delete _0x564bef[_0x5812d0],_0xec7ba=_0x339eec,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0xec7ba&&_0x564bef['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0xec7ba&&_0x564bef['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0xec7ba&&_0x564bef['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0xec7ba&&_0x564bef['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0xec7ba&&_0x564bef['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0xec7ba&&_0x564bef['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0xa0ed63['ListView']{['filter'](_0x2b8cc1){if(!_0x2b8cc1)return this['_resetFiltering']();const _0x5349d1=new Map(),_0x185adf=this['items']['map'](_0x250c51=>{const _0xa8b88e=_0x250c51['buttonView']['isMatching'](_0x2b8cc1);return _0x250c51['isVisible']=!!_0xa8b88e,_0x250c51['buttonView']['highlightText'](_0xa8b88e?_0x2b8cc1:null),_0xa8b88e&&_0x5349d1['set'](_0x250c51,_0xa8b88e),_0x250c51;})['sort'](_0x2215ff)['sort'](function(_0x4e627c){return function(_0x1d8425,_0x131972){const _0xd6a76c=_0x4e627c['get'](_0x1d8425),_0xbfd16a=_0x4e627c['get'](_0x131972);return _0xd6a76c&&!_0xbfd16a?-0x1:_0xbfd16a&&!_0xd6a76c?0x1:_0xd6a76c||_0xbfd16a?_0xd6a76c['title']&&!_0xbfd16a['title']?-0x1:!_0xd6a76c['title']&&_0xbfd16a['title']?0x1:0x0:0x0;};}(_0x5349d1));return this['items']['clear'](),this['items']['addMany'](_0x185adf),{'resultsCount':_0x5349d1['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x6c93b6=this['items']['map'](_0x5d0b27=>_0x5d0b27)['sort'](_0x2215ff);return _0x6c93b6['forEach'](_0x417270=>{_0x417270['isVisible']=!0x0,_0x417270['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x6c93b6),{'resultsCount':_0x6c93b6['length'],'totalItemsCount':_0x6c93b6['length']};}}function _0x2215ff(_0x51102f,_0x151764){return _0x51102f['originalIndex']-_0x151764['originalIndex'];}class TemplateListItemView extends _0xa0ed63['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x50cd20,_0x1a0d53){super(_0x50cd20),this['originalIndex']=_0x1a0d53,this['buttonView']=null;}}class TemplateListButtonView extends _0xa0ed63['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x9990b4,_0x22cd54){super(_0x9990b4),this['templateDefinition']=_0x22cd54,this['textPartView']=null;const {icon:_0x20a987=_0xa0ed63['IconTemplateGeneric']}=_0x22cd54;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x20a987}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x2b40e4){const {title:_0x2807cb,description:_0x464faf}=this['templateDefinition'],_0x142182=!!_0x2807cb['match'](_0x2b40e4),_0x4ed069=!(!_0x464faf||!_0x464faf['match'](_0x2b40e4));return _0x142182||_0x4ed069?{'title':_0x142182,'description':_0x4ed069}:null;}['highlightText'](_0x488051){this['textPartView']['highlightText'](_0x488051);}}class TextPartView extends _0xa0ed63['View']{constructor(_0x1f58bd,_0x326a79,_0x3aa6c6){super(_0x1f58bd),this['title']=_0x326a79['title'],this['description']=_0x326a79['description'],this['titleView']=new _0xa0ed63['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x3aa6c6}});const _0x17f169=[this['titleView']];this['description']&&(this['descriptionView']=new _0xa0ed63['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x17f169['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x17f169});}['highlightText'](_0x52597c){this['titleView']['highlightText'](_0x52597c),this['description']&&this['descriptionView']['highlightText'](_0x52597c);}}function _0x34e176(_0x393180,_0xd33a91,..._0x56885a){const t=_0x393180['t'];switch(_0xd33a91){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x56885a);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',..._0x56885a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0xd33a91;}}class TemplateUI extends _0xa0ed63['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c10dd}=this,_0x44c8aa=_0x2c10dd['config']['get']('template.definitions')||[];_0x2c10dd['ui']['componentFactory']['add']('insertTemplate',_0x2b6647=>{const _0x95c3b7=_0xa0ed63['createDropdown'](_0x2b6647),_0x547059=this['_createTemplateListView'](_0x2b6647,_0x44c8aa),_0x3badc6=new _0xa0ed63['SearchTextView'](_0x2b6647,{'filteredView':_0x547059,'queryView':{'label':_0x34e176(_0x2b6647,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x5f51d4=>_0x34e176(_0x2b6647,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x5f51d4),'secondary':_0x34e176(_0x2b6647,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0x34e176(_0x2b6647,'No\x20templates\x20available.')}}}}),_0x166d77=_0x2c10dd['commands']['get']('insertTemplate');return _0x3badc6['on']('search',(_0x1f84c5,_0x3fe63b)=>{_0x3fe63b['query']&&_0x3fe63b['query']['length']&&_0x2c10dd['ui']['ariaLiveAnnouncer']['announce'](_0x34e176(_0x2b6647,'%0\x20templates\x20found',_0x3fe63b['resultsCount']));}),_0x95c3b7['bind']('isEnabled')['to'](_0x166d77),_0x95c3b7['panelView']['children']['add'](_0x3badc6),_0x95c3b7['buttonView']['set']({'label':_0x34e176(_0x2b6647,'Insert\x20template'),'icon':_0xa0ed63['IconTemplate'],'tooltip':!0x0}),_0x95c3b7['on']('change:isOpen',(_0x2523a4,_0x33b903,_0x3b5a8c)=>{_0x3b5a8c||_0x3badc6['reset']();}),_0x95c3b7;}),_0x2c10dd['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x18bc6f=>{const _0x56096d=_0x2c10dd['commands']['get']('insertTemplate'),_0x20c138=new _0xa0ed63['MenuBarMenuView'](_0x18bc6f);_0x20c138['buttonView']['set']({'label':_0x34e176(_0x18bc6f,'Template'),'icon':_0xa0ed63['IconTemplate']});const _0x45160f=new _0xa0ed63['MenuBarMenuListView'](_0x18bc6f);if(!_0x44c8aa||!_0x44c8aa['length']){const _0x48ed51=new _0xa0ed63['MenuBarMenuListItemView'](_0x18bc6f,_0x20c138),_0x2cde92=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x18bc6f);_0x2cde92['set']({'label':_0x34e176(_0x18bc6f,'No\x20templates\x20available.')}),_0x2cde92['delegate']('execute')['to'](_0x20c138),_0x2cde92['on']('execute',()=>{_0x2c10dd['editing']['view']['focus']();}),_0x48ed51['children']['add'](_0x2cde92),_0x45160f['items']['add'](_0x48ed51);}for(const _0x2a1c3e of _0x44c8aa){const _0x119c62=new _0xa0ed63['MenuBarMenuListItemView'](_0x18bc6f,_0x20c138),_0x26a3b3=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x18bc6f);_0x26a3b3['set']({'class':'ck-template-button','label':_0x2a1c3e['title'],'icon':_0x2a1c3e['icon']||_0xa0ed63['IconTemplateGeneric']}),_0x26a3b3['delegate']('execute')['to'](_0x20c138),_0x26a3b3['on']('execute',()=>{_0x2c10dd['execute']('insertTemplate',_0x2a1c3e['data']),_0x2c10dd['editing']['view']['focus']();}),_0x119c62['children']['add'](_0x26a3b3),_0x45160f['items']['add'](_0x119c62);}return _0x20c138['panelView']['children']['add'](_0x45160f),_0x20c138['bind']('isEnabled')['to'](_0x56096d,'isEnabled'),_0x20c138;});}['afterInit'](){!async function(_0x19de2e){const _0x58ca73=_0x477a4d([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0xa1ea06=0x6b0f5e6f,_0x1462fa=0x6b08d1af^_0xa1ea06,_0xd67d58=window[_0x477a4d([0x44,0x61,0x74,0x65])][_0x477a4d([0x6e,0x6f,0x77])](),_0x1a3197=_0x19de2e[_0x477a4d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x503a40=new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xabef35=>{_0x1a3197[_0x477a4d([0x6f,0x6e,0x63,0x65])](_0x477a4d([0x72,0x65,0x61,0x64,0x79]),_0xabef35);}),_0x433223={[_0x477a4d([0x6b,0x74,0x79])]:_0x477a4d([0x45,0x43]),[_0x477a4d([0x75,0x73,0x65])]:_0x477a4d([0x73,0x69,0x67]),[_0x477a4d([0x63,0x72,0x76])]:_0x477a4d([0x50,0x2d,0x32,0x35,0x36]),[_0x477a4d([0x78])]:_0x477a4d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x477a4d([0x79])]:_0x477a4d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x477a4d([0x61,0x6c,0x67])]:_0x477a4d([0x45,0x53,0x32,0x35,0x36])},_0x21cd8a=_0x1a3197[_0x477a4d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x477a4d([0x67,0x65,0x74])](_0x477a4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xce2a06(){let _0x48ce2b,_0x2f4d79=null,_0x57120c=null;try{if(_0x21cd8a==_0x477a4d([0x47,0x50,0x4c]))return _0x477a4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48ce2b=_0x414675(),!_0x48ce2b)return _0x477a4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48ce2b[_0x477a4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57120c=_0xdfeb92(_0x48ce2b[_0x477a4d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48ce2b[_0x477a4d([0x6a,0x74,0x69])])),await _0x4039f8()?_0x5c6508()?_0x1dbf15()?_0x477a4d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x577e87()?(_0x48ce2b[_0x477a4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x477a4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f4d79=_0x4c6ff3(_0x477a4d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1adae6()):_0x477a4d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x477a4d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x477a4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x477a4d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1dbf15(){const _0x17b513=[_0x477a4d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x477a4d([0x74,0x72,0x69,0x61,0x6c])][_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48ce2b[_0x477a4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd67d58/0x3e8:0xe10*_0x1462fa;return _0x48ce2b[_0x477a4d([0x65,0x78,0x70])]<_0x17b513;}function _0x5c6508(){const _0xd79644=_0x48ce2b[_0x477a4d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd79644&&(!!_0xd79644[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x2a]))||(!!_0xd79644[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x54,0x50,0x4c]))||(!!_0xd79644[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x50,0x50]))||(!(!_0xd79644[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x44,0x52,0x55,0x50]))||!_0x1d2e41())||!(!_0xd79644[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3c6d72())))));}function _0x577e87(){const _0x44b314=_0x48ce2b[_0x477a4d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44b314||0x0==_0x44b314[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50ebf6}=new URL(window[_0x477a4d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44b314[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50ebf6))return!0x0;const _0x2a6017=_0x50ebf6[_0x477a4d([0x73,0x70,0x6c,0x69,0x74])](_0x477a4d([0x2e]));return _0x44b314[_0x477a4d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12dbbc=>_0x12dbbc[_0x477a4d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x477a4d([0x2a])))[_0x477a4d([0x6d,0x61,0x70])](_0x3b607f=>_0x3b607f[_0x477a4d([0x73,0x70,0x6c,0x69,0x74])](_0x477a4d([0x2e])))[_0x477a4d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x449803=>_0x449803[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a6017[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x477a4d([0x6d,0x61,0x70])](_0x33e5bb=>Array(_0x2a6017[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33e5bb[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x477a4d([0x66,0x69,0x6c,0x6c])](_0x33e5bb[0x0]===_0x477a4d([0x2a])?_0x477a4d([0x2a]):'')[_0x477a4d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33e5bb))[_0x477a4d([0x73,0x6f,0x6d,0x65])](_0x14360f=>_0x2a6017[_0x477a4d([0x65,0x76,0x65,0x72,0x79])]((_0xe2ba40,_0xbe52b8)=>_0x14360f[_0xbe52b8]===_0xe2ba40||_0x14360f[_0xbe52b8]===_0x477a4d([0x2a])));}function _0x1adae6(){return _0x2f4d79&&_0x57120c?new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x557d12,_0x400418)=>{_0x2f4d79[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x557d12,_0x400418),_0x57120c[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x453de3=>{_0x453de3!=_0x477a4d([0x56,0x61,0x6c,0x69,0x64])&&_0x557d12(_0x453de3);},_0x400418);}):_0x2f4d79||_0x57120c||_0x477a4d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdfeb92(_0x504f26,_0x1381ef){return new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4423c1=>{if(_0x410529())return _0x4423c1(_0x477a4d([0x56,0x61,0x6c,0x69,0x64]));_0x46850c(),_0x1a3197[_0x477a4d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x477a4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fb1db=!0x1;const _0xae01b1=_0xa0ed63['uid']();function _0x1324d0(_0x145825){return!!_0x145825&&(typeof _0x145825===_0x477a4d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x145825===_0x477a4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x145825[_0x477a4d([0x74,0x68,0x65,0x6e])]===_0x477a4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x145825[_0x477a4d([0x63,0x61,0x74,0x63,0x68])]===_0x477a4d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12eba6(_0x2ae149){_0x5de6d0(_0x2ae149)[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x4a06f3=>{if(!_0x4a06f3||_0x4a06f3[_0x477a4d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x477a4d([0x6f,0x6b]))return _0x477a4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x459ed5(_0x4655e9(_0xae01b1+_0x1381ef))!=_0x4a06f3[_0x477a4d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x477a4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x477a4d([0x56,0x61,0x6c,0x69,0x64]);})[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x9641d1=>(_0xded827(),_0x9641d1),()=>{const _0x52579e=_0x1adb18();return null==_0x52579e?(_0xded827(),_0x477a4d([0x56,0x61,0x6c,0x69,0x64])):_0x477a4d(_0xd67d58-_0x52579e>(0x4f03da6f^_0xa1ea06)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x4423c1)[_0x477a4d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4423c1(_0x477a4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x181d68=0x6b39b0ef^_0xa1ea06;function _0xded827(){const _0x483a2d=_0x477a4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x459ed5(_0x4655e9(_0x504f26)),_0x3a03dc=_0x2ec63b(_0x459ed5(window[_0x477a4d([0x4d,0x61,0x74,0x68])][_0x477a4d([0x63,0x65,0x69,0x6c])](_0xd67d58/_0x181d68)));window[_0x477a4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x477a4d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x483a2d,_0x3a03dc);}function _0x1adb18(){const _0x3634f9=_0x477a4d([0x6c,0x6c,0x63,0x74,0x2d])+_0x459ed5(_0x4655e9(_0x504f26)),_0x3e5047=window[_0x477a4d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x477a4d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3634f9);return _0x3e5047?window[_0x477a4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ec63b(_0x3e5047),0x10)*_0x181d68:null;}function _0x5de6d0(_0x29cbb4){return new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b65f1,_0x575ace)=>{_0x29cbb4[_0x477a4d([0x74,0x68,0x65,0x6e])](_0x2b65f1,_0x575ace),window[_0x477a4d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x575ace,0x6b0e8aaf^_0xa1ea06);});}}_0x1a3197[_0x477a4d([0x6f,0x6e])](_0x477a4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x436bc5,_0xe8f8b5)=>{if(_0xe8f8b5[0x0]!=_0x504f26)return _0x4423c1(_0x477a4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe8f8b5[0x1]={..._0xe8f8b5[0x1],[_0x477a4d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xae01b1};},{[_0x477a4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x477a4d([0x68,0x69,0x67,0x68])}),_0x1a3197[_0x477a4d([0x6f,0x6e])](_0x477a4d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf7e378=>{_0x1324d0(_0xf7e378[_0x477a4d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fb1db=!0x0,_0x12eba6(_0xf7e378[_0x477a4d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x477a4d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x477a4d([0x6c,0x6f,0x77])}),_0x503a40[_0x477a4d([0x74,0x68,0x65,0x6e])](()=>{_0x4fb1db||_0x4423c1(_0x477a4d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x410529(){return _0x1a3197[_0x477a4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x477a4d([0x76,0x69,0x65,0x77])][_0x477a4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x477a4d([0x61,0x75,0x74,0x6f]);}function _0x46850c(){_0x1a3197[_0x477a4d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x477a4d([0x76,0x69,0x65,0x77])][_0x477a4d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x477a4d([0x61,0x75,0x74,0x6f]);}}function _0x4c6ff3(_0x5db2f7){const _0x1e316c=[new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42c9c3=>setTimeout(_0x42c9c3,0x6b0660a3^_0xa1ea06)),_0x503a40[_0x477a4d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389062=>{let _0x57edbe=0x0;_0x1a3197[_0x477a4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x477a4d([0x6f,0x6e])](_0x477a4d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25a93e,_0x3aad7c)=>{_0x3aad7c[0x0][_0x477a4d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57edbe++,_0x57edbe==(0x6b0f5b87^_0xa1ea06)&&(_0x389062(),_0x25a93e[_0x477a4d([0x6f,0x66,0x66])]());});}))];return window[_0x477a4d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x477a4d([0x72,0x61,0x63,0x65])](_0x1e316c)[_0x477a4d([0x74,0x68,0x65,0x6e])](()=>_0x5db2f7);}async function _0x475735(){await _0x503a40,_0x1a3197[_0x477a4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x477a4d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x205e33,_0x1a3197[_0x477a4d([0x6d,0x6f,0x64,0x65,0x6c])][_0x477a4d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x205e33,_0x1a3197[_0x477a4d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x477a4d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d2e41(){return window[_0x477a4d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3c6d72(){return window[_0x477a4d([0x67,0x6c,0x6f,0x62])]&&window[_0x477a4d([0x67,0x6c,0x6f,0x62])][_0x477a4d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4b1f73(_0x3403e6){const _0x42bafd=_0x219b7b();_0x1a3197[_0x42bafd]=_0x477a4d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3403e6,_0x3403e6!=_0x477a4d([0x56,0x61,0x6c,0x69,0x64])&&_0x475735();}function _0x219b7b(){const _0x2923a7=window[_0x477a4d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x477a4d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x477a4d([0x6e,0x6f,0x77])]())[_0x477a4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x477a4d([0x2e]),'');let _0x19b45e=_0x477a4d([0x67]);for(let _0x54e182=0x0;_0x54e182<_0x2923a7[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54e182+=0x2){let _0x1f488d=window[_0x477a4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2923a7[_0x477a4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54e182,_0x54e182+0x2));_0x1f488d>=_0x58ca73[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f488d-=_0x58ca73[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19b45e+=_0x58ca73[_0x1f488d];}return _0x19b45e;}function _0x414675(){const _0x18db8c=_0x21cd8a[_0x477a4d([0x73,0x70,0x6c,0x69,0x74])](_0x477a4d([0x2e]));if(0x3!=_0x18db8c[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c7d29(_0x18db8c[0x1]);function _0x5c7d29(_0x206311){const _0x2bb4f8=_0x49db09(_0x206311);return _0x2bb4f8&&_0x3f7caa()?_0x2bb4f8:null;function _0x3f7caa(){const _0x232696=_0x2bb4f8[_0x477a4d([0x6a,0x74,0x69])],_0x49a68e=window[_0x477a4d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x232696[_0x477a4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x232696[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e672c={..._0x2bb4f8,[_0x477a4d([0x6a,0x74,0x69])]:_0x232696[_0x477a4d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x232696[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e672c[_0x477a4d([0x76,0x63])],_0x4655e9(_0x5e672c)==_0x49a68e;}}}async function _0x4039f8(){let _0x2513d3=!0x0;try{const _0x2ef9d3=_0x21cd8a[_0x477a4d([0x73,0x70,0x6c,0x69,0x74])](_0x477a4d([0x2e])),[_0x5ae30f,_0x3a700b,_0x3c3a30]=_0x2ef9d3;return _0x18a284(_0x5ae30f),await _0xcf6bd7(_0x5ae30f,_0x3a700b,_0x3c3a30),_0x2513d3;}catch{return!0x1;}function _0x18a284(_0x4d9061){const _0x4e0851=_0x49db09(_0x4d9061);_0x4e0851&&_0x4e0851[_0x477a4d([0x61,0x6c,0x67])]==_0x477a4d([0x45,0x53,0x32,0x35,0x36])||(_0x2513d3=!0x1);}async function _0xcf6bd7(_0x1fa5db,_0x466502,_0x4e9198){const _0x330270=window[_0x477a4d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x477a4d([0x66,0x72,0x6f,0x6d])](_0x5ecbd0(_0x4e9198),_0x5341a8=>_0x5341a8[_0x477a4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4795ac=new window[(_0x477a4d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x477a4d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fa5db+_0x477a4d([0x2e])+_0x466502),_0x40c7e1=window[_0x477a4d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x477a4d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c7e1)return;const _0x5188f5=await _0x40c7e1[_0x477a4d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x477a4d([0x6a,0x77,0x6b]),_0x433223,{[_0x477a4d([0x6e,0x61,0x6d,0x65])]:_0x477a4d([0x45,0x43,0x44,0x53,0x41]),[_0x477a4d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x477a4d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x477a4d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c7e1[_0x477a4d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x477a4d([0x6e,0x61,0x6d,0x65])]:_0x477a4d([0x45,0x43,0x44,0x53,0x41]),[_0x477a4d([0x68,0x61,0x73,0x68])]:{[_0x477a4d([0x6e,0x61,0x6d,0x65])]:_0x477a4d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5188f5,_0x330270,_0x4795ac)||(_0x2513d3=!0x1);}}function _0x49db09(_0x23677c){return _0x23677c[_0x477a4d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x477a4d([0x65,0x79]))?JSON[_0x477a4d([0x70,0x61,0x72,0x73,0x65])](_0x5ecbd0(_0x23677c)):null;}function _0x5ecbd0(_0x4ba262){return window[_0x477a4d([0x61,0x74,0x6f,0x62])](_0x4ba262[_0x477a4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x477a4d([0x2b]))[_0x477a4d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x477a4d([0x2f])));}function _0x4655e9(_0x25dbf4){let _0x2defbb=0x1505;function _0x3e9b16(_0xeda0dc){for(let _0xaf79d2=0x0;_0xaf79d2<_0xeda0dc[_0x477a4d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaf79d2++){const _0x1acee8=_0xeda0dc[_0x477a4d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xaf79d2);_0x2defbb=(_0x2defbb<<0x5)+_0x2defbb+_0x1acee8,_0x2defbb&=_0x2defbb;}}function _0x350928(_0x6dd6c0){Array[_0x477a4d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6dd6c0)?_0x6dd6c0[_0x477a4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x350928):_0x6dd6c0&&typeof _0x6dd6c0==_0x477a4d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x477a4d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6dd6c0)[_0x477a4d([0x73,0x6f,0x72,0x74])]()[_0x477a4d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b0363,_0x5a697d])=>{_0x3e9b16(_0x1b0363),_0x350928(_0x5a697d);}):_0x3e9b16(window[_0x477a4d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6dd6c0));}return _0x350928(_0x25dbf4),_0x2defbb>>>0x0;}function _0x459ed5(_0x273194){return _0x273194[_0x477a4d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x477a4d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x477a4d([0x30]));}function _0x2ec63b(_0x256a0b){return _0x256a0b[_0x477a4d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x477a4d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x477a4d([0x6a,0x6f,0x69,0x6e])]('');}function _0x205e33(){}function _0x477a4d(_0x2fd517){return _0x2fd517['map'](_0x124346=>String['fromCharCode'](_0x124346))['join']('');}_0x4b1f73(await _0xce2a06());}(this);}['_createTemplateListView'](_0x39dcdb,_0x4c2cd2){const {editor:_0x5dcfca}=this,_0x13ee37=new TemplateListView(_0x39dcdb);return _0x13ee37['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x13ee37['items']['addMany'](_0x4c2cd2['map']((_0x3dc3e9,_0x3c152d)=>{const _0xc3a6cb=new TemplateListItemView(_0x39dcdb,_0x3c152d),_0x1e9b2b=new TemplateListButtonView(_0x39dcdb,_0x3dc3e9);return _0xc3a6cb['buttonView']=_0x1e9b2b,_0xc3a6cb['children']['add'](_0x1e9b2b),_0xc3a6cb['buttonView']['on']('execute',_0x4daa5b=>{_0x5dcfca['execute']('insertTemplate',_0x4daa5b['source']['templateDefinition']['data']),_0x5dcfca['editing']['view']['focus']();}),_0xc3a6cb;})),_0x13ee37;}}class Template extends _0xa0ed63['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x4430a0 extends _0xa0ed63['Command']{['_enabledCommands'];constructor(_0x5a4a61,_0x320005){super(_0x5a4a61),this['_enabledCommands']=_0x320005,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 _0x3acd59 of this['editor']['commands']['commands']())_0x3acd59['affectsData']&&!this['_enabledCommands']['has'](_0x3acd59)&&_0x3acd59['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x5bbfc4 of this['editor']['commands']['commands']())_0x5bbfc4['affectsData']&&!this['_enabledCommands']['has'](_0x5bbfc4)&&_0x5bbfc4['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0xa0ed63['Command']{['_suggestions'];constructor(_0x40eba0,_0x396ba2){super(_0x40eba0),this['_suggestions']=_0x396ba2,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x20c3e7){const _0x1796bf=this['_suggestions']['get'](_0x20c3e7);if(!_0x1796bf)throw new _0xa0ed63['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x3a4c85=_0x1796bf['getRanges']();this['editor']['model']['canEditAt'](_0x3a4c85)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x1796bf);}}class DiscardSuggestionCommand extends _0xa0ed63['Command']{['_suggestions'];constructor(_0x29a926,_0x37a0f2){super(_0x29a926),this['_suggestions']=_0x37a0f2,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x43fc39){const _0x599f86=this['_suggestions']['get'](_0x43fc39);if(!_0x599f86)throw new _0xa0ed63['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x38bbef=_0x599f86['getRanges']();this['editor']['model']['canEditAt'](_0x38bbef)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x599f86);}}function _0x301a67(_0x42abbf,_0x43fd43){let _0x24306f='';return _0x24306f+=_0x42abbf['split']('*')['map']((_0xb3a10,_0x115495)=>_0x115495%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x100897(_0xb3a10)+'</span>':_0x100897(_0xb3a10))['join'](''),_0x43fd43&&(_0x24306f+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x43fd43['value']+'\x22\x20title=\x22'+_0x43fd43['title']+'\x22></span>'),_0x24306f;}function _0x100897(_0x31b591){const _0xb92359=document['createElement']('span');return _0xb92359['innerText']=_0x31b591,_0xb92359['innerHTML'];}function _0x2b4855(_0xc8af54){return _0xc8af54['sort']((_0x3fcb3e,_0x4cea40)=>'attribute'===_0x3fcb3e['type']&&'attribute'!==_0x4cea40['type']?-0x1:'attribute'!==_0x3fcb3e['type']&&'attribute'===_0x4cea40['type']?0x1:'deletion'==_0x3fcb3e['type']&&'deletion'!=_0x4cea40['type']?-0x1:'deletion'!=_0x3fcb3e['type']&&'deletion'==_0x4cea40['type']?0x1:0x0);}function _0x55f411(_0x39a92d,_0x30bea4){let _0xb8a506,_0x5f4d8b=0x0;const _0xf7400e=[],_0x35b80b=_0x30bea4['schema'];for(;_0x5f4d8b<_0x39a92d['length'];){const _0x5cb5c3=_0x39a92d[_0x5f4d8b],_0x547898=_0x39a92d[_0x5f4d8b+0x1];_0xb8a506||(_0xb8a506=_0x30bea4['createPositionBefore'](_0x5cb5c3)),_0xc30b13(_0x30bea4,_0x5cb5c3,_0x547898)||(_0xf7400e['push'](_0x30bea4['createRange'](_0xb8a506,_0x35b80b['isObject'](_0x5cb5c3)?_0x30bea4['createPositionAfter'](_0x5cb5c3):_0x30bea4['createPositionAt'](_0x5cb5c3,'end'))),_0xb8a506=null),_0x5f4d8b++;}return _0xf7400e;}function _0xc30b13(_0x228cf0,_0x163820,_0x2ece41){if(!_0x2ece41)return!0x1;const _0x2f07b4=_0x228cf0['createPositionAfter'](_0x163820),_0x53e846=_0x228cf0['createPositionBefore'](_0x2ece41);return _0x2f07b4['isTouching'](_0x53e846);}function _0x2dbe0f(_0x126030,_0x4b275e,_0x204bae){for(;_0x204bae['length'];){const _0x102796=_0x204bae['splice'](0x0,0x64);_0x126030['change'](()=>{for(const _0x16d07c of _0x102796)_0x16d07c['isInContent']&&_0x4b275e['execute'](_0x16d07c['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0xa0ed63['Command']{['_command'];['_suggestions'];constructor(_0x3a9571,_0xe65c59,_0x3f8ae9){super(_0x3a9571),this['_command']=_0xe65c59,this['_suggestions']=_0x3f8ae9,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x3589c7=Array['from'](this['_suggestions']['values']())['some'](_0x186050=>_0x186050['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x3589c7;}['execute'](){const _0x56b2c0=_0x2b4855(Array['from'](this['_suggestions']['values']()));for(const _0x3d1f44 of _0x56b2c0){const _0x5c081=_0x3d1f44['getRanges']();if(!this['editor']['model']['canEditAt'](_0x5c081))return;}_0x2dbe0f(this['editor']['model'],this['_command'],_0x56b2c0);}}class ExecuteOnSelectedSuggestionsCommand extends _0xa0ed63['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x489d45,_0x46d041,_0x17955a){super(_0x489d45),this['_command']=_0x46d041,this['_suggestions']=_0x17955a,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0xab2f3c=this['editor']['model']['document']['selection'],_0x2b7ebb=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x368516,_0x3642d6){const _0x4633f0=Array['from'](_0x368516['getRanges']()),_0x28e895=new Set();for(const _0x4bd3fc of _0x3642d6)if(_0x4bd3fc['isInContent']){for(const _0x377418 of _0x4633f0)for(const _0x1e61be of _0x4bd3fc['getRanges']())(_0x377418['isIntersecting'](_0x1e61be)||_0x368516['isCollapsed']&&!_0x4bd3fc['isMultiRange']&&_0x4bd3fc['next']&&_0x1e61be['end']['isTouching'](_0x377418['start']))&&_0x28e895['add'](_0x4bd3fc);}return _0x28e895;}(_0xab2f3c,_0x2b7ebb),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x3ada52=_0x2b4855(Array['from'](this['_selectedSuggestions']));for(const _0x10b349 of _0x3ada52){const _0x3902d0=_0x10b349['getRanges']();if(!this['editor']['model']['canEditAt'](_0x3902d0))return;}_0x2dbe0f(this['editor']['model'],this['_command'],_0x3ada52);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x41c93e,_0x22d7ae){super(),this['id']=_0x22d7ae['id'],this['type']=_0x22d7ae['type'],this['subType']=_0x22d7ae['subType']||null,this['author']=_0x22d7ae['author'],this['creator']=_0x22d7ae['creator']||_0x22d7ae['author'],this['isExternal']=Boolean(_0x22d7ae['attributes']&&_0x22d7ae['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x22d7ae['originalSuggestionId']||null,this['_model']=_0x41c93e,this['_onAccept']=_0x22d7ae['onAccept'],this['_onDiscard']=_0x22d7ae['onDiscard'],this['_onAttributesChange']=_0x22d7ae['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x22d7ae['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x4b22bb=this;for(;_0x4b22bb['previous'];)_0x4b22bb=_0x4b22bb['previous'];return _0x4b22bb;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x26c5bd){this['_markerNames']['add'](_0x26c5bd);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x127b90=>this['_model']['markers']['get'](_0x127b90))['filter'](_0x12b8f0=>_0x12b8f0);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x256a1f=>{for(const _0x4f8346 of this['getMarkers']())_0x256a1f['removeMarker'](_0x4f8346);}),this['_markerNames']['clear']();}['removeMarker'](_0xecc4b7){this['_model']['change'](_0x1830ff=>{_0x1830ff['removeMarker'](_0xecc4b7);}),this['_markerNames']['delete'](_0xecc4b7);}['addRange'](_0x2ea666){const _0x4c356b='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x4c356b),this['_model']['change'](_0x170c01=>{_0x170c01['addMarker'](_0x4c356b,{'range':_0x2ea666,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x2bc68b){for(const _0x4d8dfa of this['getRanges']())if(_0x4d8dfa['isIntersecting'](_0x2bc68b))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x436619=>_0x436619['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x38ea47,_0x444639)=>[..._0x38ea47,..._0x444639['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x1645ee=this['getRanges']();if(0x1!=_0x1645ee['length'])return null;const _0xf46c96=_0x1645ee[0x0],_0x5280cf=_0xf46c96['start']['nodeAfter'],_0x26c8a4=_0xf46c96['end']['nodeBefore'];return _0x5280cf instanceof _0xa0ed63['ModelElement']?_0x5280cf!=_0x26c8a4?null:_0x5280cf: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 _0x1d0169=[];let _0x572530=this['head'];for(;_0x572530;)_0x1d0169['push'](_0x572530),_0x572530=_0x572530['next'];return _0x1d0169;}['setAttribute'](_0x2e8bda,_0x36fb8f){const _0x4dc21b=_0xdd0984(this['attributes']);st(_0x4dc21b,_0x2e8bda,_0x36fb8f),dt(_0x4dc21b,this['attributes'])||(this['attributes']=_0x4dc21b,this['_onAttributesChange'](_0x4dc21b));}['removeAttribute'](_0x245cae){const _0x35a81d=_0xdd0984(this['attributes']);tt(_0x35a81d,_0x245cae),dt(_0x35a81d,this['attributes'])||(this['attributes']=_0x35a81d,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 _0xa0ed63['uid']()['substr'](0x1,0x5);}}function _0x56c4dc(_0x592326,_0xa0cb84,_0x22868e){const _0x3033cc=_0x592326['t'],t=_0x592326['t'];switch(_0xa0cb84){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',_0x22868e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22868e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22868e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22868e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22868e);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',_0x22868e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22868e);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',_0x22868e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22868e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22868e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22868e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22868e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22868e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x22868e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22868e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22868e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22868e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22868e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22868e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22868e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22868e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22868e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22868e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22868e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x22868e);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'},_0x22868e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x22868e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x22868e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22868e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22868e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22868e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22868e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22868e);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x22868e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22868e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22868e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22868e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22868e);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'},_0x22868e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22868e);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'},_0x22868e);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'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'},_0x22868e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22868e);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'},_0x22868e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22868e);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'},_0x22868e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22868e);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x22868e);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x22868e);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x22868e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22868e);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'},_0x22868e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x22868e);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x3033cc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x22868e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3033cc({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x22868e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x22868e);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'},_0x22868e);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'},_0x22868e);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'},_0x22868e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xa0cb84;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x3fb0f8,_0x17d1d5){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x3fb0f8,this['_locale']=_0x17d1d5;}['getDescriptions'](_0x3b7d29){const _0x1b9e99=[],_0x1e9406=new Set(),_0x6c5f26=new Set();for(let _0x19eab3=0x0;_0x19eab3<_0x3b7d29['length'];_0x19eab3++){const _0x41bac3=_0x3b7d29[_0x19eab3];if(!_0x41bac3['isInContent'])continue;const _0x4dffd0=this['_handleCustomCallbackDescription'](_0x41bac3);if(_0x4dffd0){if(null!=_0x41bac3['subType']){if(_0x1e9406['has'](_0x41bac3['subType']))continue;_0x1e9406['add'](_0x41bac3['subType']);}_0x1b9e99['push'](_0x4dffd0);}else{if('attribute'==_0x41bac3['type']){const _0x2192ab=_0x41bac3['data']['key'];if(_0x6c5f26['has'](_0x2192ab))continue;_0x6c5f26['add'](_0x41bac3['data']['key']),_0x2192ab==_0x37899b?this['_handleRenameSuggestionDescription'](_0x1b9e99,_0x41bac3):this['_handleAttributeSuggestionDescription'](_0x1b9e99,_0x41bac3);continue;}'insertion'!=_0x41bac3['type']&&'deletion'!=_0x41bac3['type']||this['_handleInsertRemoveSuggestionDescription'](_0x1b9e99,_0x41bac3,_0x3b7d29[_0x19eab3+0x1]);}}return this['_resolveDescriptionItems'](_0x1b9e99);}['registerDescriptionCallback'](_0x3c79d0){this['_customCallbacks']['push'](_0x3c79d0);}['registerElementLabel'](_0x513e2a,_0x33717d,_0x4ce3a4=_0xa0ed63['priorities']['normal']){'function'==typeof _0x513e2a?_0xa0ed63['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x513e2a,'label':_0x33717d,'priority':_0x4ce3a4}):this['_itemLabels']['set'](_0x513e2a,_0x33717d);}['registerAttributeLabel'](_0x30b62a,_0x102066){this['_attributeLabels']['set'](_0x30b62a,_0x102066);}['getItemLabel'](_0x28b922,_0x533614=0x1){let _0x3733c6;for(const _0x47a381 of this['_itemLabelsCallbacks'])if(_0x47a381['matchingCallback'](_0x28b922)){_0x3733c6=_0x47a381['label'];break;}return _0x3733c6||(_0x3733c6=this['_itemLabels']['get'](_0x28b922['name'])),_0x3733c6?_0x3733c6(_0x533614):0x1!==_0x533614?_0x533614+'\x20'+_0x28b922['name']+'s':''+_0x28b922['name'];}['_addDescriptionItems'](_0x585ad9,_0x410b42){const _0x154dd5=_0x410b42['getFirstRange']()['getWalker'](),_0x3aa1f8='insertion'==_0x410b42['type']?'add':'remove';for(const _0x1b77e3 of _0x154dd5){const _0x31e20c=_0x1b77e3['item'],_0x4752b9=_0x585ad9[_0x585ad9['length']-0x1];if(_0x31e20c['is']('$textProxy'))_0x4752b9&&_0x4752b9['type']['indexOf']('Container')>-0x1&&_0x585ad9['pop'](),_0x4752b9&&'text'==_0x4752b9['type']?_0x4752b9[_0x3aa1f8]+=_0x31e20c['data']:_0x585ad9['push']({'type':'text','add':'add'==_0x3aa1f8?_0x31e20c['data']:'','remove':'remove'==_0x3aa1f8?_0x31e20c['data']:''});else{if(this['_schema']['isObject'](_0x31e20c)){const _0x54a0a4=_0x31e20c;if(_0x4752b9&&_0x4752b9['type']['indexOf']('Container')>-0x1&&_0x585ad9['pop'](),'elementEnd'==_0x1b77e3['type'])continue;_0x4752b9&&_0x4752b9['type']==_0x3aa1f8+'Object'&&_0x4752b9['element']['name']==_0x54a0a4['name']?_0x4752b9['quantity']++:_0x585ad9['push']({'type':_0x3aa1f8+'Object','element':_0x54a0a4,'quantity':0x1}),_0x154dd5['skip'](_0x33183f=>!('elementEnd'==_0x33183f['type']&&_0x33183f['item']==_0x31e20c));}else{if(this['_schema']['checkChild'](_0x31e20c,'$text')||_0x31e20c['is']('element','softBreak')){const _0x4c1eb7=_0x31e20c;if('add'==_0x3aa1f8&&'elementStart'==_0x1b77e3['type']||'remove'==_0x3aa1f8&&'elementEnd'==_0x1b77e3['type'])continue;if(_0x4752b9&&-0x1==_0x4752b9['type']['indexOf']('Container')){'text'==_0x4752b9['type']&&(_0x4752b9[_0x3aa1f8]+='\x0a');continue;}let _0x55aea0;if(_0x55aea0='add'==_0x3aa1f8?_0x4c1eb7['nextSibling']&&!this['_schema']['isObject'](_0x4c1eb7['nextSibling'])?_0x4c1eb7['nextSibling']:null:_0x4c1eb7['previousSibling']&&!this['_schema']['isObject'](_0x4c1eb7['previousSibling'])?_0x4c1eb7['previousSibling']:null,_0x4c1eb7['isEmpty']||_0x55aea0&&_0x55aea0['isEmpty']){const _0x83db99=_0x55aea0&&_0x55aea0['isEmpty']?_0x55aea0:_0x4c1eb7;_0x4752b9&&_0x4752b9['type']==_0x3aa1f8+'EmptyContainer'&&_0x4752b9['element']['name']==_0x83db99['name']?_0x4752b9['quantity']++:_0x585ad9['push']({'type':_0x3aa1f8+'EmptyContainer','element':_0x83db99,'quantity':0x1});}else _0x585ad9['push']({'type':_0x3aa1f8+'Container','element':_0x4c1eb7});}}}}}['_resolveDescriptionItems'](_0x4369c4){const _0x468232=this['_locale'],_0x134b72=[],_0x2b323c=[],_0x432d57=[];for(const _0x19aef0 of _0x4369c4)switch(_0x19aef0['type']){case'text':if(_0x19aef0['add']=_0x19aef0['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x19aef0['remove']=_0x19aef0['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x19aef0['add']&&''!=_0x19aef0['remove']){_0x134b72['push']({'type':'replace','content':_0x56c4dc(_0x468232,'REPLACE_TEXT',['\x22'+_0x19aef0['remove']+'\x22','\x22'+_0x19aef0['add']+'\x22'])});continue;}if(null!=_0x19aef0['add']['match'](/^ +$/)){_0x134b72['push']({'type':'insertion','content':_0x56c4dc(_0x468232,'*Insert:*\x20%0',_0x56c4dc(_0x468232,'ELEMENT_SPACE',_0x19aef0['add']['length']))});continue;}if(null!=_0x19aef0['remove']['match'](/^ +$/)){_0x134b72['push']({'type':'deletion','content':_0x56c4dc(_0x468232,'*Remove:*\x20%0',_0x56c4dc(_0x468232,'ELEMENT_SPACE',_0x19aef0['remove']['length']))});continue;}if(''!=_0x19aef0['add']){_0x134b72['push']({'type':'insertion','content':_0x56c4dc(_0x468232,'*Insert:*\x20%0','\x22'+_0x19aef0['add']+'\x22')});continue;}_0x134b72['push']({'type':'deletion','content':_0x56c4dc(_0x468232,'*Remove:*\x20%0','\x22'+_0x19aef0['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x134b72['push']({'type':'insertion','content':_0x56c4dc(_0x468232,'*Insert:*\x20%0',this['getItemLabel'](_0x19aef0['element'],_0x19aef0['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x134b72['push']({'type':'deletion','content':_0x56c4dc(_0x468232,'*Remove:*\x20%0',this['getItemLabel'](_0x19aef0['element'],_0x19aef0['quantity']))});continue;case'addContainer':_0x134b72['push']({'type':'insertion','content':_0x56c4dc(_0x468232,'*Split:*\x20%0',this['getItemLabel'](_0x19aef0['element'],_0x19aef0['quantity']))});continue;case'removeContainer':_0x134b72['push']({'type':'deletion','content':_0x56c4dc(_0x468232,'*Merge:*\x20%0',this['getItemLabel'](_0x19aef0['element'],_0x19aef0['quantity']))});continue;case'addFormat':_0x2b323c['push'](_0x19aef0['key']);continue;case'removeFormat':_0x432d57['push'](_0x19aef0['key']);continue;default:_0x134b72['push'](_0x19aef0);}if(_0x2b323c['length']){const _0x2de685=_0x2b323c['map'](_0x1d1f53=>this['_attributeLabels']['has'](_0x1d1f53)?this['_attributeLabels']['get'](_0x1d1f53):_0x1d1f53)['join'](',\x20');_0x134b72['push']({'type':'format','content':_0x56c4dc(this['_locale'],'*Set\x20format:*\x20%0',_0x2de685)});}if(_0x432d57['length']){const _0x216b8b=_0x432d57['map'](_0x55985b=>this['_attributeLabels']['has'](_0x55985b)?this['_attributeLabels']['get'](_0x55985b):_0x55985b)['join'](',\x20');_0x134b72['push']({'type':'format','content':_0x56c4dc(this['_locale'],'*Remove\x20format:*\x20%0',_0x216b8b)});}return _0x134b72;}['_handleCustomCallbackDescription'](_0x1a2088){for(const _0x33342b of this['_customCallbacks']){const _0xbdbca2=_0x33342b(_0x1a2088);if(_0xbdbca2&&'type'in _0xbdbca2)return _0xbdbca2;}}['_handleAttributeSuggestionDescription'](_0x1b8cda,_0x5c22fe){const _0x3560cb=_0x5c22fe['data'],_0x3706ad=void 0x0===_0x3560cb['newValue']?'removeFormat':'addFormat';_0x1b8cda['push']({'type':_0x3706ad,'key':_0x3560cb['key']});}['_handleRenameSuggestionDescription'](_0x40f0f0,_0x53b1da){_0x40f0f0['push']({'type':'format','content':_0x56c4dc(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x53b1da['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x2af2f0,_0x362f0a,_0x2f90f9){if(this['_addDescriptionItems'](_0x2af2f0,_0x362f0a),_0x2f90f9&&_0x2f90f9['getFirstRange']()&&!_0x362f0a['getFirstRange']()['end']['isEqual'](_0x2f90f9['getFirstRange']()['start'])){const _0x4b9235=_0x2af2f0[_0x2af2f0['length']-0x1],_0x292a91='insertion'==_0x362f0a['type']?'add':'remove';_0x4b9235&&'text'==_0x4b9235['type']&&(_0x4b9235[_0x292a91]+='\x0a');}}}class TrackChangesAIAssistant extends _0xa0ed63['Plugin']{['afterInit'](){const _0x51b103=this['editor'],_0x50811d=_0x51b103['plugins']['get']('TrackChangesEditing');_0x51b103['commands']['get']('showAIAssistant')&&_0x50811d['enableCommand']('showAIAssistant');}}class _0x5a12d4 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x29ddf4=this['editor'],_0x3fd11b=_0x29ddf4['plugins']['get']('TrackChangesEditing');_0x29ddf4['commands']['get']('toggleAi')&&_0x3fd11b['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4e7716=this['editor'],_0x31c39c=_0x4e7716['plugins']['get']('TrackChangesEditing');_0x4e7716['commands']['get']('aiQuickAction')&&_0x31c39c['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5d6488=this['editor'],_0x598887=_0x5d6488['locale'];if(!_0x5d6488['plugins']['has']('AlignmentEditing'))return;const _0x3a283f=_0x5d6488['plugins']['get']('TrackChangesEditing');_0x3a283f['enableDefaultAttributesIntegration']('alignment'),_0x3a283f['descriptionFactory']['registerAttributeLabel']('alignment',_0x56c4dc(_0x598887,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1d05a5=this['editor'],_0x18f892=_0x1d05a5['locale'];_0x1d05a5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5d5a66=>{if('formatBlock'!=_0x5d5a66['type'])return;const {data:_0x17ba54}=_0x5d5a66;if(_0x17ba54&&'alignment'==_0x17ba54['commandName']){const _0x153297=_0x17ba54['commandParams'][0x0]['value'];return{'type':'format','content':_0x56c4dc(_0x18f892,'*Format:*\x20%0',function(_0x10d8c4){switch(_0x10d8c4){case'left':return _0x56c4dc(_0x18f892,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x56c4dc(_0x18f892,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x56c4dc(_0x18f892,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x56c4dc(_0x18f892,'FORMAT_JUSTIFY_TEXT');}}(_0x153297))};}});}}const _0xcb3d08=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5107ec=this['editor'],_0x201a62=_0x5107ec['plugins']['get']('TrackChangesEditing'),_0x30d8de=_0x5107ec['locale'];for(const _0xe765a6 of _0xcb3d08){if(!_0x5107ec['plugins']['has'](_0xe765a6))continue;const _0x195deb=_0xe765a6['slice'](0x0,-0x7)['toLowerCase'](),_0x4eb3b8='FORMAT_'+_0x195deb['toUpperCase']();_0x201a62['enableDefaultAttributesIntegration'](_0x195deb),_0x201a62['descriptionFactory']['registerAttributeLabel'](_0x195deb,_0x56c4dc(_0x30d8de,_0x4eb3b8));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x55d70c=this['editor'],_0x73a6bc=_0x55d70c['locale'],_0x25fe24=_0x55d70c['plugins']['get']('TrackChangesEditing');function _0x495290(_0x3e646e,_0x179fa9){_0x25fe24['descriptionFactory']['registerDescriptionCallback'](_0x2dbbb8=>{if('formatInline'!=_0x2dbbb8['type'])return;const {data:_0x5f5dae}=_0x2dbbb8;return _0x5f5dae&&_0x5f5dae['commandName']===_0x3e646e?_0x5f5dae['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x73a6bc,'*Format:*\x20%0',_0x179fa9)}:{'type':'format','content':_0x56c4dc(_0x73a6bc,'*Remove\x20format:*\x20%0',_0x179fa9)}:void 0x0;});}_0x495290('bold',_0x56c4dc(_0x73a6bc,'FORMAT_BOLD')),_0x495290('italic',_0x56c4dc(_0x73a6bc,'FORMAT_ITALIC')),_0x495290('underline',_0x56c4dc(_0x73a6bc,'FORMAT_UNDERLINE')),_0x495290('code',_0x56c4dc(_0x73a6bc,'FORMAT_CODE')),_0x495290('strikethrough',_0x56c4dc(_0x73a6bc,'FORMAT_STRIKETHROUGH')),_0x495290('subscript',_0x56c4dc(_0x73a6bc,'FORMAT_SUBSCRIPT')),_0x495290('superscript',_0x56c4dc(_0x73a6bc,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4777f4=this['editor'],_0x19e202=_0x4777f4['locale'];if(!_0x4777f4['plugins']['has']('BlockQuoteEditing'))return;const _0x4e36e6=_0x4777f4['plugins']['get']('TrackChangesEditing'),_0x3ef70b=this['editor']['commands']['get']('blockQuote');_0x4e36e6['enableCommand']('blockQuote',(_0x3f0fc6,_0x24cf95={})=>{const _0xc18bd9=this['editor']['model']['document']['selection'],_0x551176=_0x24cf95&&void 0x0!==_0x24cf95['forceValue']?_0x24cf95['forceValue']:!_0x3ef70b['value'];let _0x2f3a5b=[];if(_0x551176){const _0xda0431=Array['from'](_0xc18bd9['getSelectedBlocks']())['filter'](_0x33c393=>_0x22eff3(_0x33c393)||function(_0x397722,_0x1ccc6e){const _0x345e9a=_0x1ccc6e['checkChild'](_0x397722['parent'],'blockQuote'),_0x470aa8=_0x1ccc6e['checkChild'](['$root','blockQuote'],_0x397722);return _0x345e9a&&_0x470aa8;}(_0x33c393,this['editor']['model']['schema']));_0x2f3a5b=_0x55f411(_0xda0431,_0x4777f4['model']);}else{const _0x474f58=Array['from'](_0xc18bd9['getSelectedBlocks']())['filter'](_0x191474=>_0x22eff3(_0x191474));_0x2f3a5b=_0x55f411(_0x474f58,_0x4777f4['model']);}_0x4777f4['model']['change'](()=>{for(const _0x1037e6 of _0x2f3a5b)_0x4e36e6['markBlockFormat'](_0x1037e6,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x551176}]});});}),_0x4e36e6['descriptionFactory']['registerDescriptionCallback'](_0x4365b4=>{const {data:_0x4786de}=_0x4365b4;if(_0x4786de&&'blockQuote'==_0x4786de['commandName']){const _0x1b7db0=_0x56c4dc(_0x19e202,'ELEMENT_BLOCK_QUOTE');return _0x4786de['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x19e202,'*Set\x20format:*\x20%0',_0x1b7db0)}:{'type':'format','content':_0x56c4dc(_0x19e202,'*Remove\x20format:*\x20%0',_0x1b7db0)};}});}}function _0x22eff3(_0x3b3f94){return'blockQuote'==_0x3b3f94['parent']['name'];}class _0x53122a extends _0xa0ed63['Plugin']{['afterInit'](){const _0x2687df=this['editor'],_0x3bd0e3=_0x2687df['locale'],_0x1a3162=_0x2687df['plugins']['get']('TrackChangesEditing');_0x2687df['plugins']['has']('BookmarkEditing')&&(_0x1a3162['enableCommand']('insertBookmark'),_0x1a3162['enableDefaultAttributesIntegration']('updateBookmark'),_0x1a3162['descriptionFactory']['registerDescriptionCallback'](_0x48192c=>{if('insertion'!=_0x48192c['type']&&'deletion'!=_0x48192c['type']&&'attribute'!=_0x48192c['type'])return;const _0x593422=_0x48192c['getContainedElement']();if(null==_0x593422)return;if(!_0x593422['is']('element','bookmark'))return;const _0x4d0e57=_0x593422['getAttribute']('bookmarkId');if('insertion'==_0x48192c['type'])return{'type':'insertion','content':_0x56c4dc(_0x3bd0e3,'*Insert:*\x20%0','\x22'+_0x4d0e57+'\x22\x20'+_0x56c4dc(_0x3bd0e3,'ELEMENT_BOOKMARK'))};if('deletion'==_0x48192c['type'])return{'type':'deletion','content':_0x56c4dc(_0x3bd0e3,'*Remove:*\x20%0','\x22'+_0x4d0e57+'\x22\x20'+_0x56c4dc(_0x3bd0e3,'ELEMENT_BOOKMARK'))};const {data:_0x5857aa}=_0x48192c;if(!_0x5857aa||'bookmarkId'!=_0x5857aa['key'])return;return{'type':'format','content':_0x56c4dc(_0x3bd0e3,'*Set\x20bookmark:*\x20%0','\x22'+_0x5857aa['newValue']+'\x22')};}));}}class _0x5db768 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x20460a=this['editor'];_0x20460a['plugins']['has']('CaseChange')&&(_0x20460a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x20460a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x20460a['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x3b5b90 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1d3b72=this['editor'];_0x1d3b72['commands']['get']('ckbox')&&_0x1d3b72['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x5a8462 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5db5a6=this['editor'];if(!_0x5db5a6['plugins']['has']('CodeBlock'))return;const _0x29a907=_0x5db5a6['plugins']['get']('TrackChangesEditing'),_0x9f8b6e=_0x5db5a6['locale'],_0x43017c=_0x5db5a6['config']['get']('codeBlock')['languages'],_0x52e480=_0x5db5a6['commands']['get']('codeBlock');_0x29a907['enableCommand']('indentCodeBlock'),_0x29a907['enableCommand']('outdentCodeBlock'),_0x29a907['enableCommand']('codeBlock',(_0x1a17e6,_0x423727={})=>{const _0x35ea70=_0x5db5a6['model'],_0x2b6739=_0x5db5a6['model']['document']['selection'],_0x2a9156=_0x423727&&void 0x0!==_0x423727['forceValue']?_0x423727['forceValue']:!_0x52e480['value'];let _0x177155;_0x423727['language']||(_0x423727['language']=_0x43017c[0x0]['language']),_0x177155=_0x2a9156?Array['from'](_0x2b6739['getSelectedBlocks']())['filter'](_0xd87fb=>tx(_0xd87fb)||function(_0x3ec759,_0x35a241){if(_0x3ec759['is']('rootElement')||_0x35a241['isLimit'](_0x3ec759))return!0x1;return _0x35a241['checkChild'](_0x3ec759['parent'],'codeBlock');}(_0xd87fb,_0x35ea70['schema'])):Array['from'](_0x2b6739['getSelectedBlocks']())['filter'](_0x8fa0b6=>tx(_0x8fa0b6));const _0x2ea092=_0x55f411(_0x177155,_0x35ea70);_0x35ea70['change'](()=>{for(const _0x36dd7a of _0x2ea092)_0x29a907['markBlockFormat'](_0x36dd7a,{'commandName':'codeBlock','commandParams':[{..._0x423727,'forceValue':_0x2a9156}],'formatGroupId':'blockName'});});}),(_0x29a907['descriptionFactory']['registerElementLabel']('codeBlock',_0x2c603d=>_0x56c4dc(_0x9f8b6e,'ELEMENT_CODE_BLOCK',_0x2c603d)),_0x29a907['descriptionFactory']['registerDescriptionCallback'](_0x5799f4=>{if('formatBlock'!=_0x5799f4['type'])return;const _0x2cc815=_0x9f8b6e['t'],{data:_0x123046}=_0x5799f4;if(!_0x123046||'codeBlock'!=_0x123046['commandName'])return;const _0x169684=_0x123046['commandParams'][0x0]['language'],_0x38c848=_0x43017c['find'](_0x1b38f1=>_0x1b38f1['language']===_0x169684)['label'],_0x148b99=_0x2cc815(_0x38c848)['toLowerCase']();return _0x123046['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x9f8b6e,'*Set\x20format:*\x20%0',_0x56c4dc(_0x9f8b6e,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x148b99+')')}:{'type':'format','content':_0x56c4dc(_0x9f8b6e,'*Remove\x20format:*\x20%0',_0x56c4dc(_0x9f8b6e,'ELEMENT_CODE_BLOCK',0x1))};}));}}function tx(_0x5aeb51){return'codeBlock'==_0x5aeb51['name'];}class TrackChangesComments extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5eab35=this['editor'];if(!_0x5eab35['plugins']['has']('CommentsEditing'))return;_0x5eab35['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0xa0ed63['Plugin']{static get['requires'](){return[_0xa0ed63['Delete']];}['init'](){const _0x257c27=this['editor'],_0x110d3e=_0x257c27['plugins']['get']('TrackChangesEditing');_0x110d3e['enableCommand']('delete');const _0x2c2cf3=_0x257c27['commands']['get']('deleteForward');_0x110d3e['enableCommand']('deleteForward',(_0x405119,_0x211587={})=>{const _0x2d8ee2=_0x257c27['model']['createSelection'](_0x257c27['model']['document']['selection']);_0x2d8ee2['isCollapsed']&&_0x257c27['model']['modifySelection'](_0x2d8ee2,{'direction':'forward','unit':_0x211587['unit']});const _0x5623b9=_0x2d8ee2['getFirstRange'](),_0x1df021=_0xa0ed63['ModelLiveRange']['fromRange'](_0x5623b9);let _0x2c763d;_0x405119(_0x211587),_0x2c763d='$graveyard'==_0x1df021['root']['rootName']?_0x257c27['model']['createRange'](_0x5623b9['start']):_0x257c27['model']['createRange'](_0x1df021['start'],_0x1df021['end']),_0x1df021['detach'](),_0x257c27['model']['enqueueChange'](_0x2c2cf3['buffer']['batch'],_0x2070f6=>{_0x2c2cf3['buffer']['lock'](),_0x2070f6['setSelection'](_0x2070f6['createRange'](_0x2c763d['end'])),_0x2c2cf3['buffer']['unlock']();});});}}class TrackChangesList extends _0xa0ed63['Plugin']{['afterInit'](){const _0x14b9bb=this['editor'];if(!_0x14b9bb['plugins']['has']('ListEditing'))return;const _0x3699c4=_0x14b9bb['locale'],_0x473a6e=_0x14b9bb['plugins']['get']('TrackChangesEditing'),_0x179818=_0x14b9bb['plugins']['has']('TodoListEditing'),_0x1ecf78=!!_0x14b9bb['config']['get']('list.multiBlock');function _0x4fbab6(_0x460c1e){return{'type':'format','content':''+_0x56c4dc(_0x3699c4,'*Set\x20format:*\x20%0',_0x460c1e)};}function _0x6513c1(_0x393fc1){return{'type':'format','content':''+_0x56c4dc(_0x3699c4,'*Remove\x20format:*\x20%0',_0x393fc1)};}_0x473a6e['enableDefaultAttributesIntegration']('numberedList'),_0x473a6e['enableDefaultAttributesIntegration']('bulletedList'),_0x473a6e['enableDefaultAttributesIntegration']('customNumberedList'),_0x473a6e['enableDefaultAttributesIntegration']('customBulletedList'),_0x473a6e['enableDefaultAttributesIntegration']('indentList'),_0x473a6e['enableDefaultAttributesIntegration']('outdentList'),_0x473a6e['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x473a6e['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x1ecf78&&(_0x473a6e['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x473a6e['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x179818&&(_0x473a6e['enableDefaultAttributesIntegration']('todoList'),_0x473a6e['enableDefaultAttributesIntegration']('checkTodoList'),_0x473a6e['descriptionFactory']['registerDescriptionCallback'](_0x5ac59b=>{const {data:_0x1316fc}=_0x5ac59b;if(_0x1316fc&&'todoListChecked'==_0x1316fc['key'])return{'type':'format','content':_0x1316fc['newValue']?_0x56c4dc(_0x3699c4,'*Check\x20item*'):_0x56c4dc(_0x3699c4,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x5e11ac=>{if(_0x5e11ac['batch']['isUndo'])return!0x1;let _0x3cb42d=!0x1;const _0x29d4e0=_0x473a6e['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xa1e15c=>'todoListChecked'===_0x473a6e['_getAttributeKey'](_0xa1e15c));for(const _0x1361f7 of _0x29d4e0){'todo'!=_0x1361f7['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x473a6e['_findSuggestions'](_0x1361f7['getFirstRange'](),'attribute')['find'](_0x34f25f=>'listType'===_0x473a6e['_getAttributeKey'](_0x34f25f['suggestion']))||(_0x5e11ac['removeMarker'](_0x1361f7['getFirstMarker']()),_0x3cb42d=!0x0));}return _0x3cb42d;})),_0x473a6e['descriptionFactory']['registerAttributeLabel']('listIndent',_0x56c4dc(_0x3699c4,'FORMAT_INDENT'));const _0x3b9041={'type':'format','content':''};_0x473a6e['descriptionFactory']['registerDescriptionCallback'](_0x199d4b=>{const {data:_0x554cf2}=_0x199d4b;if(!_0x554cf2||'listType'!=_0x554cf2['key'])return;let _0xb72efd=_0x199d4b['head'];for(;_0xb72efd;){if(_0xb72efd['data']&&(('listStyle'==_0xb72efd['data']['key']||'listMarkerStyle'==_0xb72efd['data']['key'])&&(_0xb72efd['data']['newValue']&&'default'!=_0xb72efd['data']['newValue']||'default'!=_0xb72efd['data']['oldValue']&&!_0x554cf2['newValue'])||!_0x1ecf78&&_0xb72efd['data']['key']==_0x37899b))return _0x3b9041;_0xb72efd=_0xb72efd['next'];}if(null==_0x554cf2['newValue'])switch(_0x554cf2['oldValue']){case'bulleted':return _0x6513c1(_0x56c4dc(_0x3699c4,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x6513c1(_0x56c4dc(_0x3699c4,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x6513c1(_0x56c4dc(_0x3699c4,'ELEMENT_TODO_LIST'));}switch(_0x554cf2['newValue']){case'bulleted':return _0x4fbab6(_0x56c4dc(_0x3699c4,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4fbab6(_0x56c4dc(_0x3699c4,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4fbab6(_0x56c4dc(_0x3699c4,'ELEMENT_TODO_LIST'));}}),_0x473a6e['descriptionFactory']['registerDescriptionCallback'](_0x5967e9=>{const {data:_0xc827a8}=_0x5967e9;if(_0xc827a8&&'listIndent'==_0xc827a8['key'])return null==_0xc827a8['newValue']||null==_0xc827a8['oldValue']&&0x0==_0xc827a8['newValue']?_0x3b9041:void 0x0;}),_0x473a6e['descriptionFactory']['registerDescriptionCallback'](_0x30bdd7=>{if('attribute'!=_0x30bdd7['type'])return;const {data:_0x596c04}=_0x30bdd7;if(!_0x596c04||'listItemId'!=_0x596c04['key'])return;const _0x58f227=_0x4b4d6c(_0x30bdd7);return'newValue'==_0x58f227?{'type':'format','content':_0x56c4dc(_0x3699c4,'*Merge:*\x20list\x20item')}:'oldValue'==_0x58f227?{'type':'format','content':_0x56c4dc(_0x3699c4,'*Split:*\x20list\x20item')}:_0x3b9041;}),_0x14b9bb['model']['document']['registerPostFixer'](_0x439615=>this['listItemIdFixer'](_0x439615)),_0x14b9bb['model']['document']['registerPostFixer'](_0x28a56e=>this['noTrackChangesFixer'](_0x28a56e)),_0x14b9bb['model']['document']['on']('change:data',(_0x7af227,_0x4e0804)=>{if(_0x4e0804['isUndo']||!_0x4e0804['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x49b919){if(_0x49b919['batch']['isUndo']||!_0x49b919['batch']['isLocal'])return!0x1;let _0x19c732=!0x1;const _0x27ff39=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2c98dc=>_0x2c98dc['data']&&'listItemId'==_0x2c98dc['data']['key'])['filter'](_0x1b4955=>_0x1b4955['data']['newValue']&&_0x1b4955['data']['oldValue']);for(const _0x21be6a of _0x27ff39)_0x4b4d6c(_0x21be6a)||(_0x49b919['removeMarker'](_0x21be6a['getFirstMarker']()),_0x19c732=!0x0);return _0x19c732;}['noTrackChangesFixer'](_0x1fd39c){if(_0x1fd39c['batch']['isUndo']||!_0x1fd39c['batch']['isLocal'])return!0x1;const _0x73a781=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x73a781['trackChangesCommand']['value'])return!0x1;let _0xd58fb8=!0x1;const _0x24f40e=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x58472e=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x22de07=>'attribute'==_0x22de07['type'])['filter'](_0x28097d=>_0x24f40e['includes'](_0x28097d['attributeKey']));if(0x0==_0x58472e['length'])return _0xd58fb8;for(const _0x451567 of _0x58472e){const _0x58b441=_0x73a781['_findSuggestions'](_0x451567['range'],'attribute')['filter'](_0x25c4f9=>!_0x25c4f9['meta']['isNextTo'])['map'](_0x1c9c1c=>_0x1c9c1c['suggestion'])['filter'](_0x1c70c=>{const _0x4754b1=_0x73a781['_getAttributeKey'](_0x1c70c);return _0x24f40e['includes'](_0x4754b1);});if(_0x58b441['length']){for(const _0x3d43e8 of _0x58b441)_0x1fd39c['removeMarker'](_0x3d43e8['getFirstMarker']());_0xd58fb8=!0x0;}}return _0xd58fb8;}['assureChains'](){const _0x5b7082=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4f115d=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x2aa8d5;const _0x3b66e0=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3f57b0=>{if(_0x3f57b0['data']['oldRange']||!_0x3f57b0['data']['newRange'])return null;if(!_0x3f57b0['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x19c07c}=_0x5b7082['_splitMarkerName'](_0x3f57b0['name']);if(!_0x5b7082['hasSuggestion'](_0x19c07c))return null;const _0x1e1f21=_0x5b7082['getSuggestion'](_0x19c07c);return _0x4f115d['includes'](_0x1e1f21['data']['key']);})['map'](_0x14a8f4=>{const {id:_0xa67583}=_0x5b7082['_splitMarkerName'](_0x14a8f4['name']),_0x19cf88=_0x5b7082['getSuggestion'](_0xa67583);return _0x2aa8d5=_0x19cf88['attributes']['groupId'],_0x19cf88['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x3b66e0['size'])return;const _0x5e47e5=_0x5b7082['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x47434b=>'attribute'==_0x47434b['type']&&_0x47434b['data']&&_0x4f115d['includes'](_0x47434b['data']['key'])&&_0x47434b['attributes']['groupId']!=_0x2aa8d5)['map'](_0xc01eb=>({'listItem':_0xc01eb['getFirstRange']()['start']['nodeAfter'],'groupId':_0xc01eb['attributes']['groupId']})),_0x2ef53a=new Set();for(const {groupId:_0x25b754,listItem:_0x4f0b9a}of _0x5e47e5)_0x3b66e0['has'](_0x4f0b9a)&&_0x2ef53a['add'](_0x25b754);for(const _0x34717e of _0x5b7082['getSuggestions']())_0x2ef53a['has'](_0x34717e['attributes']['groupId'])&&_0x34717e['setAttribute']('groupId',_0x2aa8d5);}['_supportLegacySuggestions'](){const _0x36b2de=this['editor'],_0x2356bc=_0x36b2de['locale'],_0xc2e61d=_0x36b2de['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0xc2e61d['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x66c0a,_0x589a4c){const _0x19d23c=[];for(let _0x3dbb1b of _0x66c0a)_0x3dbb1b['start']['nodeAfter']===_0x3dbb1b['end']['parent']&&(_0x3dbb1b=_0x36b2de['model']['createRange'](_0x36b2de['model']['createPositionAt'](_0x3dbb1b['start']['nodeAfter'],0x0))),_0x19d23c['push'](_0x3dbb1b);_0x36b2de['model']['change'](_0x51c56e=>{const _0x39ed5b=_0x36b2de['model']['document']['selection'],_0x58117d=Array['from'](_0x39ed5b['getRanges']())['map'](_0x10983f=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x10983f));_0x51c56e['setSelection'](_0x19d23c),_0x36b2de['commands']['get'](_0x589a4c['commandName'])['refresh'](),_0x589a4c['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x36b2de['execute'](_0x589a4c['commandName'],..._0x589a4c['commandParams']),_0x51c56e['setSelection'](_0x58117d);for(const _0x391776 of _0x58117d)_0x391776['detach']();});}),_0xc2e61d['descriptionFactory']['registerElementLabel'](function(_0x5ea22a){const _0x391ebf=!_0x36b2de['model']['schema']['isObject'](_0x5ea22a),_0xb9fcd6=_0x5ea22a['previousSibling'],_0x44d813=_0x5ea22a['nextSibling'],_0x2330b9=_0x5ea22a['getAttribute']('listItemId'),_0x27d149=!_0xb9fcd6||_0xb9fcd6['getAttribute']('listItemId')!==_0x2330b9,_0x2823cd=!_0x44d813||_0x44d813['getAttribute']('listItemId')!==_0x2330b9;return _0x391ebf&&Boolean(_0x2330b9)&&_0x27d149&&_0x2823cd;},_0x293bcb=>_0x56c4dc(_0x2356bc,'ELEMENT_LIST_ITEM',_0x293bcb));}['_registerLegacyDescription'](){const _0x136529=this['editor'],_0x1221b9=_0x136529['locale'];function _0x578f28(_0x2145a9){const _0x141c49=_0x136529['commands']['get']('bulletedList')['value'],_0x198a61=_0x136529['commands']['get']('numberedList')['value'];return'numberedList'===_0x2145a9?_0x141c49:_0x198a61;}_0x136529['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x4b9597){if('formatBlock'!=_0x4b9597['type'])return;const {data:_0x323af9}=_0x4b9597;if(!_0x323af9)return;let _0x4da357,_0x4a19e2,_0x53875d,_0xb61f76;switch(_0x323af9['commandName']){case'bulletedList':_0x53875d=_0x323af9['commandParams'][0x0]['forceValue'],_0xb61f76=_0x578f28(_0x323af9['commandName']),_0x4da357=_0x53875d?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0xb61f76&&_0x136529['config']['get']('list.multiBlock')||(_0x4da357='*Change\x20to:*\x20%0'),_0x4a19e2={'type':'format','content':_0x56c4dc(_0x1221b9,_0x4da357,_0x56c4dc(_0x1221b9,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x53875d=_0x323af9['commandParams'][0x0]['forceValue'],_0xb61f76=_0x578f28(_0x323af9['commandName']),_0x4da357=_0x53875d?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0xb61f76&&_0x136529['config']['get']('list.multiBlock')||(_0x4da357='*Change\x20to:*\x20%0'),_0x4a19e2={'type':'format','content':_0x56c4dc(_0x1221b9,_0x4da357,_0x56c4dc(_0x1221b9,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x4da357='*Indent:*\x20%0',_0x4a19e2={'type':'format','content':_0x56c4dc(_0x1221b9,_0x4da357,_0x56c4dc(_0x1221b9,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x4da357=function(_0x143a85){const _0x16bf47=_0x143a85['getFirstRange']();let _0x3be32d=_0x16bf47['start']['nodeAfter'];for(;_0x3be32d&&_0x16bf47['containsItem'](_0x3be32d);){if(_0x3be32d['getAttribute']('listIndent')>0x0)return!0x1;_0x3be32d=_0x3be32d['nextSibling'];}return!0x0;}(_0x4b9597)?_0x56c4dc(_0x1221b9,'*Format:*\x20remove\x20from\x20%0',_0x56c4dc(_0x1221b9,function(_0x32f1bd){return'ELEMENT_'+_0x32f1bd['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x4b9597))):_0x56c4dc(_0x1221b9,'*Outdent:*\x20%0',_0x56c4dc(_0x1221b9,'ELEMENT_LIST_ITEM')),_0x4a19e2={'type':'format','content':_0x4da357};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x323af9['multipleBlocks']&&(_0x4da357='*Merge:*\x20%0',_0x4a19e2={'type':'deletion','content':_0x56c4dc(_0x1221b9,_0x4da357,_0x56c4dc(_0x1221b9,'ELEMENT_LIST_ITEM'))});}return _0x4a19e2;});}}function _0x4b4d6c(_0x2e9af1){let _0x16239d=_0x2e9af1['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x16239d;){const _0xe410ea=_0x16239d['getAttribute']('listItemId');if(!_0xe410ea)return!0x1;if(_0xe410ea==_0x2e9af1['data']['newValue'])return'newValue';if(_0xe410ea==_0x2e9af1['data']['oldValue'])return'oldValue';_0x16239d=_0x16239d['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2cbe85=this['editor']['config']['get']('list.properties'),_0x5f4854=this['editor']['plugins']['get']('TrackChangesEditing');_0x2cbe85['styles']&&_0x5f4854['enableDefaultAttributesIntegration']('listStyle'),_0x2cbe85['reversed']&&_0x5f4854['enableDefaultAttributesIntegration']('listReversed'),_0x2cbe85['startIndex']&&_0x5f4854['enableDefaultAttributesIntegration']('listStart');const _0x1dcefc={'type':'format','content':''};_0x5f4854['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x118deb=this['editor']['locale'];_0x5f4854['descriptionFactory']['registerAttributeLabel']('listReversed',_0x56c4dc(_0x118deb,'FORMAT_LIST_REVERSED')),_0x5f4854['descriptionFactory']['registerDescriptionCallback'](_0x18b8da=>{const {data:_0x2eec41}=_0x18b8da;if(_0x2eec41&&'listReversed'==_0x2eec41['key'])return null==_0x2eec41['newValue']||0x0==_0x2eec41['newValue']&&null==_0x2eec41['oldValue']?_0x1dcefc:void 0x0;}),_0x5f4854['descriptionFactory']['registerAttributeLabel']('listStart',_0x56c4dc(_0x118deb,'FORMAT_LIST_START')),_0x5f4854['descriptionFactory']['registerDescriptionCallback'](_0x1f26bb=>{const {data:_0x1a65d0}=_0x1f26bb;if(_0x1a65d0&&'listStart'==_0x1a65d0['key'])return null==_0x1a65d0['newValue']||0x1==_0x1a65d0['newValue']&&null==_0x1a65d0['oldValue']?_0x1dcefc:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x2f830e=>{if(_0x2f830e['batch']['isUndo'])return!0x1;let _0x544753=!0x1;const _0x474b84=_0x5f4854['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0xae0b78=>{const _0x487ac2=_0x5f4854['_getAttributeKey'](_0xae0b78);return'listStart'==_0x487ac2||'listReversed'==_0x487ac2;});for(const _0x3402a1 of _0x474b84){const _0xa69c7=_0x3402a1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0xa69c7||'customNumbered'==_0xa69c7)continue;_0x5f4854['_findSuggestions'](_0x3402a1['getFirstRange'](),'attribute')['find'](_0x45639c=>'listType'==_0x5f4854['_getAttributeKey'](_0x45639c['suggestion']))||(_0x2f830e['removeMarker'](_0x3402a1['getFirstMarker']()),_0x544753=!0x0);}return _0x544753;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x56fd1e){const _0x17db53=this['editor']['locale'],{data:_0x2fcf74}=_0x56fd1e,_0x4b560d={'type':'format','content':''};if(!_0x2fcf74||'listStyle'!=_0x2fcf74['key'])return;if(!_0x2fcf74['oldValue'])return'default'==_0x2fcf74['newValue']?_0x4b560d:{'type':'format','content':''+_0x56c4dc(_0x17db53,'*Set\x20format:*\x20%0',_0x56c4dc(_0x17db53,this['_getTranslationKeyForListStyle'](_0x2fcf74['newValue'])))};if(!_0x2fcf74['newValue']){if('default'==_0x2fcf74['oldValue'])return _0x4b560d;let _0x20ee8a=_0x56fd1e['head'];for(;_0x20ee8a;){if(_0x20ee8a['data']&&'listType'==_0x20ee8a['data']['key']&&_0x20ee8a['data']['newValue'])return _0x4b560d;_0x20ee8a=_0x20ee8a['next'];}return{'type':'format','content':''+_0x56c4dc(_0x17db53,'*Remove\x20format:*\x20%0',_0x56c4dc(_0x17db53,this['_getTranslationKeyForListStyle'](_0x2fcf74['oldValue'])))};}if('default'!=_0x2fcf74['newValue'])return{'type':'format','content':''+_0x56c4dc(_0x17db53,'*Set\x20format:*\x20%0',_0x56c4dc(_0x17db53,this['_getTranslationKeyForListStyle'](_0x2fcf74['newValue'])))};let _0x27696c=_0x56fd1e['head'];for(;_0x27696c;){if(_0x27696c['data']&&'listType'==_0x27696c['data']['key']&&_0x27696c['data']['newValue']&&_0x27696c['data']['oldValue'])return _0x4b560d;_0x27696c=_0x27696c['next'];}return{'type':'format','content':_0x56c4dc(_0x17db53,'*Set\x20format:*\x20%0',_0x56c4dc(_0x17db53,'ELEMENT_'+_0x56fd1e['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x33d897=this['editor'],_0x404ca9=_0x33d897['locale'];_0x33d897['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1af174=>{if('formatBlock'!=_0x1af174['type'])return;const {data:_0x45dcdd}=_0x1af174;if(!_0x45dcdd)return;let _0x4519de,_0x1c249d;switch(_0x45dcdd['commandName']){case'listStyle':_0x4519de='*Change\x20to:*\x20%0',_0x1c249d={'type':'format','content':_0x56c4dc(_0x404ca9,_0x4519de,_0x56c4dc(_0x404ca9,this['_getTranslationKeyForListStyle'](_0x45dcdd['commandParams'][0x0]['type'])))};break;case'listReversed':_0x4519de=_0x45dcdd['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x1c249d={'type':'format','content':_0x56c4dc(_0x404ca9,_0x4519de)};break;case'listStart':_0x4519de='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1c249d={'type':'format','content':_0x56c4dc(_0x404ca9,_0x4519de,_0x45dcdd['commandParams'][0x0]['startIndex'])};}return _0x1c249d;});}['_getTranslationKeyForListStyle'](_0x529efd){return'ELEMENT_'+function(_0x5b93f6){if(_0x2c2835['includes'](_0x5b93f6))return'bulleted';if(_0x499719['includes'](_0x5b93f6))return'numbered';return null;}(_0x529efd)['toUpperCase']()+'_LIST_'+_0x529efd['toUpperCase']()['replace'](/-/g,'_');}}const _0x2c2835=['disc','circle','square'],_0x499719=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class _0x40f931 extends _0xa0ed63['Plugin']{['afterInit'](){const _0xe53e72=this['editor'];_0xe53e72['commands']['get']('emoji')&&_0xe53e72['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0xa0ed63['Plugin']{static get['requires'](){return[_0xa0ed63['Enter']];}['init'](){const _0x24bb23=this['editor'],_0x5cf1a8=_0x24bb23['plugins']['get']('TrackChangesEditing'),_0x517a7c=_0x24bb23['commands']['get']('enter');_0x5cf1a8['enableCommand']('enter',()=>{_0x24bb23['model']['change'](_0x2ee859=>{const _0x21d14d=_0x24bb23['model']['document']['selection'],_0x454937=_0x21d14d['getFirstPosition'](),_0x134f64=_0xa0ed63['ModelLiveRange']['fromRange'](_0x21d14d['getFirstRange']());if(_0x517a7c['enterBlock'](_0x2ee859)){const _0x27f9bb=_0x24bb23['model']['createPositionAt'](_0x454937['parent']['nextSibling'],0x0),_0x36dee5=_0x2ee859['createRange'](_0x454937,_0x27f9bb);_0x5cf1a8['markInsertion'](_0x36dee5);}else _0x2ee859['setSelection'](_0x2ee859['createRange'](_0x134f64['end']));_0x134f64['detach'](),_0x517a7c['fire']('afterExecute',{'writer':_0x2ee859});});});}}class _0x553f04 extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x331d70=this['editor']['plugins']['get']('TrackChangesEditing');_0x331d70['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x331d70['enableCommand']('findNext'),_0x331d70['enableCommand']('findPrevious'),_0x331d70['enableCommand']('replace'),_0x331d70['enableCommand']('replaceAll');}['handleFindCommand'](_0x24a2fc,_0x2d00d5,_0x2980b0={}){const _0xf893e9=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x24a2fc(_0x5c3ccf=>{let _0x27999f=('string'==typeof _0x2d00d5?_0xf893e9['findByTextCallback'](_0x2d00d5,_0x2980b0):_0x2d00d5)(_0x5c3ccf);Array['isArray'](_0x27999f)&&(_0x27999f={'results':_0x27999f,'searchText':'string'==typeof _0x2d00d5?_0x2d00d5:''});const _0x5db317=_0x27999f['results']['filter'](_0x3f61ad=>!0x1===this['_isInDeletionRange'](_0x3f61ad,_0x5c3ccf['item']));return{..._0x27999f,'results':_0x5db317};},_0x2980b0);}['_isInDeletionRange'](_0x27309b,_0xffe822){const _0x42db76=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0xffe822,_0x27309b['start']),this['editor']['model']['createPositionAt'](_0xffe822,_0x27309b['end']));for(const _0x5e913d of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x42db76['getIntersection'](_0x5e913d['getRange']()))return!0x0;return!0x1;}}const _0xe8187c=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0xa0ed63['Plugin']{['afterInit'](){const _0x2c9791=this['editor']['locale'],_0x186d3d=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x1152d9,commandName:_0x3abe92}of _0xe8187c)this['editor']['plugins']['has'](_0x1152d9)&&_0x186d3d['enableDefaultAttributesIntegration'](_0x3abe92);_0x186d3d['descriptionFactory']['registerAttributeLabel']('fontSize',_0x56c4dc(_0x2c9791,'FORMAT_FONT_SIZE')),_0x186d3d['descriptionFactory']['registerAttributeLabel']('fontFamily',_0x56c4dc(_0x2c9791,'FORMAT_FONT_FAMILY')),_0x186d3d['descriptionFactory']['registerAttributeLabel']('fontColor',_0x56c4dc(_0x2c9791,'FORMAT_FONT_COLOR')),_0x186d3d['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x56c4dc(_0x2c9791,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3afb52=this['editor'],_0x16db68=_0x3afb52['locale'];_0x3afb52['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x34364a=>{const _0x120e55=_0x16db68['t'];if('formatInline'!=_0x34364a['type'])return;const {data:_0x373b6e}=_0x34364a;if(null!=_0x373b6e){if('fontSize'==_0x373b6e['commandName']){const _0x28de86=_0x373b6e['commandParams'][0x0]['value'];if(_0x28de86){const _0x56d1a4=_0x120e55(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x3096c1=>_0x3096c1['model']==_0x28de86)['title'])['toLowerCase']();return{'type':'format','content':_0x56c4dc(_0x16db68,'*Set\x20font\x20size:*\x20%0',_0x56d1a4)};}return{'type':'format','content':_0x56c4dc(_0x16db68,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x373b6e['commandName']){const _0x48b1f=_0x373b6e['commandParams'][0x0]['value'];return _0x48b1f?{'type':'format','content':_0x56c4dc(_0x16db68,'*Set\x20font\x20family:*\x20%0',_0x48b1f)}:{'type':'format','content':_0x56c4dc(_0x16db68,'*Reset\x20font\x20family*')};}if('fontColor'==_0x373b6e['commandName']){const _0x375e24=_0x373b6e['commandParams'][0x0]['value'];if(_0x375e24){const _0x25c2cd=_0xa0ed63['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x4816fd=>_0x4816fd['model']==_0x375e24);let _0x255c45=_0x375e24,_0x4b9c54='';return _0x25c2cd&&(_0x255c45=_0x25c2cd['label'],_0x4b9c54=_0x120e55(_0x255c45)['toLowerCase']()),{'type':'format','content':_0x56c4dc(_0x16db68,'*Set\x20font\x20color:*\x20%0',_0x4b9c54)['trim'](),'color':{'value':_0x375e24,'title':_0x4b9c54||_0x255c45}};}return{'type':'format','content':_0x56c4dc(_0x16db68,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x373b6e['commandName']){const _0xf3e257=_0x373b6e['commandParams'][0x0]['value'];if(_0xf3e257){const _0x38b37a=_0xa0ed63['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0xd41f40=>_0xd41f40['model']==_0xf3e257);let _0x46e576=_0xf3e257,_0x2af91e='';return _0x38b37a&&(_0x46e576=_0x38b37a['label'],_0x2af91e=_0x120e55(_0x46e576)['toLowerCase']()),{'type':'format','content':_0x56c4dc(_0x16db68,'*Set\x20font\x20background\x20color:*\x20%0',_0x2af91e)['trim'](),'color':{'value':_0xf3e257,'title':_0x2af91e||_0x46e576}};}return{'type':'format','content':_0x56c4dc(_0x16db68,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0xa0ed63['Plugin']{['afterInit'](){const {plugins:_0x4b851c}=this['editor'];_0x4b851c['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x4b851c['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x508d2c,plugins:_0x397743,commands:_0x5bc637}=this['editor'],_0x20052a=_0x397743['get']('TrackChangesEditing');_0x5bc637['get']('footnotesStyle')&&_0x20052a['enableDefaultAttributesIntegration']('footnotesStyle'),_0x5bc637['get']('footnotesStart')&&_0x20052a['enableDefaultAttributesIntegration']('footnotesStart'),_0x20052a['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',_0x56c4dc(_0x508d2c,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x20052a['descriptionFactory']['registerAttributeLabel']('footnotesListStart',_0x56c4dc(_0x508d2c,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x250e24=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x57c402,commands:_0x53f49a}=this['editor'];_0x53f49a['get']('insertFootnote')&&_0x250e24['enableCommand']('insertFootnote'),_0x250e24['descriptionFactory']['registerElementLabel']('footnoteRef',_0x191c0b=>_0x56c4dc(_0x57c402,'ELEMENT_FOOTNOTE_REF',_0x191c0b)),_0x250e24['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x4a72f3=>_0x56c4dc(_0x57c402,'ELEMENT_FOOTNOTE_DEFINITION',_0x4a72f3)),_0x250e24['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x5bf8a2=>_0x56c4dc(_0x57c402,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x5bf8a2));}}class TrackChangesFormatPainter extends _0xa0ed63['Plugin']{['afterInit'](){const _0x2bfae6=this['editor'],_0x22790d=_0x2bfae6['plugins']['get']('TrackChangesEditing'),_0x3c42bc=_0x2bfae6['commands']['get']('copyFormat'),_0x4b42ca=_0x2bfae6['commands']['get']('pasteFormat');_0x3c42bc&&_0x4b42ca&&(_0x22790d['enableDefaultAttributesIntegration']('pasteFormat'),_0x22790d['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x59a4bf=this['editor'],_0x3d8ed6=_0x59a4bf['locale'];_0x59a4bf['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x51a4bc=>{if('formatBlock'!=_0x51a4bc['type']&&'formatInline'!=_0x51a4bc['type'])return;const {data:_0x4543b0}=_0x51a4bc;if(_0x4543b0&&'pasteFormat'===_0x4543b0['commandName']){const _0xa6457f=[],_0x44ee6a=_0x4543b0['commandParams'][0x0];for(const [_0x217298,_0x252f5c]of Object['entries'](_0x44ee6a))_0xa6457f['push'](_0x5262e3(_0x59a4bf,_0x217298,_0x252f5c));return _0xa6457f['length']?{'type':'format','content':_0x56c4dc(_0x3d8ed6,'*Set\x20format\x20to:*\x20%0',_0xa6457f['join'](',\x20'))}:{'type':'format','content':_0x56c4dc(_0x3d8ed6,'*Remove\x20all\x20formatting*')};}});}}function _0x5262e3(_0x532c45,_0x2c3959,_0x2e135b){const _0x1d979f=_0x532c45['locale']['t'],_0x30dd78=_0x2c3959['split'](/(?=[A-Z])/)['join']('\x20'),_0x4bb0cc=_0x1d979f(_0x30dd78['charAt'](0x0)['toUpperCase']()+_0x30dd78['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2e135b)return _0x4bb0cc;if('fontColor'===_0x2c3959||'fontBackgroundColor'===_0x2c3959){const _0x45a36c=_0xa0ed63['normalizeColorOptions'](_0x532c45['config']['get']('fontColor.colors'))['find'](_0x43b755=>_0x43b755['model']==_0x2e135b);return _0x4bb0cc+'\x20('+(_0x45a36c?_0x1d979f(_0x45a36c['label'])['toLowerCase']():_0x2e135b)+')';}if('fontSize'===_0x2c3959&&isNaN(parseFloat(_0x2e135b))){const _0x47ed31=_0x532c45['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x532c45['config']['get']('fontSize.options'))['find'](_0x284196=>_0x284196['model']==_0x2e135b);return _0x4bb0cc+'\x20('+(_0x47ed31?_0x1d979f(_0x47ed31['title'])['toLowerCase']():_0x2e135b)+')';}return _0x4bb0cc+'\x20('+_0x2e135b+')';}class _0x362e06 extends _0xa0ed63['Plugin']{['_headingOptions'];['afterInit'](){const _0xeceb4d=this['editor'];if(!_0xeceb4d['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0xeceb4d['config']['get']('heading.options');const _0x1aadaf=_0xeceb4d['locale'],_0x435da3=_0xeceb4d['plugins']['get']('TrackChangesEditing');_0x435da3['enableDefaultAttributesIntegration']('heading');for(const _0x192a21 of this['_headingOptions'])'paragraph'!=_0x192a21['model']&&_0x435da3['descriptionFactory']['registerElementLabel'](_0x192a21['model'],_0x1fa34a=>{const _0x52e378=this['_getHeadingLevel'](_0x192a21['model']);return null!==_0x52e378?_0x3566fb(_0x1fa34a,_0x52e378):_0x40c870(_0x1fa34a,_0x192a21['title']);});function _0x3566fb(_0x816dc5,_0x15cb2e){return _0x56c4dc(_0x1aadaf,'ELEMENT_HEADING',[_0x816dc5,_0x15cb2e]);}function _0x40c870(_0x54c2d0,_0x58daa7){return _0x56c4dc(_0x1aadaf,'ELEMENT_HEADING_CUSTOM',[_0x54c2d0,_0x58daa7]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x17f48f=this['editor'],_0x295f2b=_0x17f48f['locale'];function _0xf9b2f(_0x4b5667,_0x2d6291){return _0x56c4dc(_0x295f2b,'ELEMENT_HEADING_CUSTOM',[_0x4b5667,_0x2d6291]);}_0x17f48f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5b0942=>{if('formatBlock'!=_0x5b0942['type'])return;const {data:_0x178889}=_0x5b0942;if(_0x178889&&'heading'==_0x178889['commandName']){const _0x422a59=_0x178889['commandParams'][0x0]['value'],_0x43df90=this['_getHeadingLevel'](_0x422a59);if(null!==_0x43df90)return{'type':'format','content':_0x56c4dc(_0x295f2b,'*Change\x20to:*\x20%0',(_0x5ca0a8=0x1,_0x4947dd=_0x43df90,_0x56c4dc(_0x295f2b,'ELEMENT_HEADING',[_0x5ca0a8,_0x4947dd])))};const _0x4dc401=this['_headingOptions']['find'](_0x484ef5=>_0x484ef5['model']===_0x422a59)['title'];return{'type':'format','content':_0x56c4dc(_0x295f2b,'*Change\x20to:*\x20%0',_0xf9b2f(0x1,_0x4dc401))};}var _0x5ca0a8,_0x4947dd;});}['_getHeadingLevel'](_0x12c2b9){const _0x31b048=_0x12c2b9['match'](/^heading(\d+)/);if(_0x31b048)return _0x31b048[0x1];const _0x16ebf1=this['_headingOptions']?.['find'](_0x14b5a7=>_0x14b5a7['model']==_0x12c2b9);if(_0x16ebf1&&_0x16ebf1['view']){const _0x551f10=_0x16ebf1['view'],_0x185848=(_0x551f10['name']??_0x551f10)['match'](/^h(\d+)/);if(_0x185848)return _0x185848[0x1];}return null;}}class TrackChangesHighlight extends _0xa0ed63['Plugin']{['afterInit'](){const _0x50d3d5=this['editor'];if(!_0x50d3d5['plugins']['has']('HighlightEditing'))return;const _0x3229b8=_0x50d3d5['plugins']['get']('TrackChangesEditing'),_0x266045=_0x50d3d5['locale'];_0x3229b8['enableDefaultAttributesIntegration']('highlight'),_0x3229b8['descriptionFactory']['registerAttributeLabel']('highlight',_0x56c4dc(_0x266045,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xe687f1=this['editor'],_0x5178df=_0xe687f1['locale'];_0xe687f1['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x52bcee=>{if('formatInline'!=_0x52bcee['type'])return;const {data:_0x53a128}=_0x52bcee;if(_0x53a128&&'highlight'==_0x53a128['commandName']){const _0x400574=_0x5178df['t'],_0x1efa1c=_0x53a128['commandParams'][0x0]['value'];if(_0x1efa1c){const _0x170968=_0xe687f1['config']['get']('highlight.options')['find'](_0x16ee9f=>_0x16ee9f['model']==_0x1efa1c),_0x5a43a6=_0x400574(_0x170968['title'])['toLowerCase']();return{'type':'format','content':_0x56c4dc(_0x5178df,'*Set\x20highlight:*\x20%0',_0x5a43a6),'color':{'value':_0x170968['color'],'title':_0x170968['title']}};}return{'type':'format','content':_0x56c4dc(_0x5178df,'*Remove\x20highlight*',_0x56c4dc(_0x5178df,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5094c2=this['editor'];if(!_0x5094c2['plugins']['has']('HorizontalLineEditing'))return;_0x5094c2['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x192e2c=_0x5094c2['plugins']['get']('TrackChangesEditing'),_0x542e0f=_0x5094c2['locale'];_0x192e2c['descriptionFactory']['registerElementLabel']('horizontalLine',_0x4f41c3=>_0x56c4dc(_0x542e0f,'ELEMENT_HORIZONTAL_LINE',_0x4f41c3));}}class TrackChangesHtmlEmbed extends _0xa0ed63['Plugin']{['afterInit'](){const _0x24a3e4=this['editor'];if(!_0x24a3e4['plugins']['has']('HtmlEmbed'))return;const _0x4d6de9=_0x24a3e4['plugins']['get']('TrackChangesEditing'),_0x155ab2=_0x24a3e4['locale'];_0x4d6de9['descriptionFactory']['registerElementLabel']('rawHtml',_0x2fac06=>_0x56c4dc(_0x155ab2,'ELEMENT_HTML_EMBED',_0x2fac06)),_0x4d6de9['enableDefaultAttributesIntegration']('htmlEmbed'),_0x4d6de9['descriptionFactory']['registerDescriptionCallback'](_0x2b6773=>{if('attribute'!=_0x2b6773['type'])return;const {data:_0x1f4fc7}=_0x2b6773;if(_0x1f4fc7&&'value'==_0x1f4fc7['key']&&_0x2b6773['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x43913a=_0x56c4dc(_0x155ab2,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x56c4dc(_0x155ab2,'*Change\x20%0\x20content*',_0x43913a)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x45464b=this['editor'],_0x11f8d6=_0x45464b['locale'];_0x45464b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4e8397=>{if('formatBlock'!=_0x4e8397['type'])return;const {data:_0x4390dc}=_0x4e8397;if(_0x4390dc&&'htmlEmbed'==_0x4390dc['commandName']){const _0x3ed998=_0x56c4dc(_0x11f8d6,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x56c4dc(_0x11f8d6,'*Change\x20%0\x20content*',_0x3ed998)};}});}}class _0x13e722 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x12a0ef=this['editor'];if(!_0x12a0ef['plugins']['has']('ImageEditing'))return;const _0x16b609=_0x12a0ef['plugins']['get']('TrackChangesEditing'),_0x146ec9=_0x12a0ef['plugins']['get']('ImageUtils'),_0x57f970=_0x12a0ef['locale'];_0x16b609['enableCommand']('insertImage'),_0x16b609['descriptionFactory']['registerElementLabel']('imageBlock',_0x9000f5=>_0x56c4dc(_0x57f970,'ELEMENT_IMAGE',_0x9000f5)),_0x16b609['descriptionFactory']['registerElementLabel']('imageInline',_0x56bc85=>_0x56c4dc(_0x57f970,'ELEMENT_INLINE_IMAGE',_0x56bc85)),_0x16b609['descriptionFactory']['registerElementLabel']('caption',()=>_0x56c4dc(_0x57f970,'ELEMENT_CAPTION')),_0x12a0ef['plugins']['has']('ImageUploadEditing')&&_0x16b609['enableCommand']('uploadImage'),_0x12a0ef['plugins']['has']('ImageBlockEditing')&&_0x12a0ef['plugins']['has']('ImageInlineEditing')&&(_0x16b609['enableCommand']('imageTypeInline',(_0x40ef52,_0x182ac5)=>{const _0x3e4803=_0x146ec9['getClosestSelectedImageElement'](_0x12a0ef['model']['document']['selection']);_0x12a0ef['model']['change'](()=>{_0x16b609['markBlockFormat'](_0x3e4803,{'commandName':'imageTypeInline','commandParams':[_0x182ac5]},[],'convertBlockImageToInline');});}),_0x16b609['enableCommand']('imageTypeBlock',(_0x30289a,_0x45759c)=>{_0x12a0ef['model']['change'](_0x3c1571=>{let _0x1f29dd=_0x146ec9['getClosestSelectedImageElement'](_0x12a0ef['model']['document']['selection']),_0x13bdd4=_0x3c1571['createRangeOn'](_0x1f29dd);const _0x103746=_0xa0ed63['ModelLivePosition']['fromPosition'](_0x13bdd4['start'],'toPrevious'),_0x4240d1=_0xa0ed63['ModelLivePosition']['fromPosition'](_0x13bdd4['end'],'toNext');_0x16b609['forceDefaultExecution'](()=>_0x30289a(_0x45759c)),_0x1f29dd=_0x146ec9['getClosestSelectedImageElement'](_0x12a0ef['model']['document']['selection']),_0x13bdd4=_0x3c1571['createRangeOn'](_0x1f29dd);const _0x111719=_0x3c1571['createRange'](_0x103746,_0x4240d1);_0x103746['detach'](),_0x4240d1['detach'](),_0x16b609['markBlockFormat'](_0x1f29dd,{'commandName':'imageTypeInline','commandParams':[_0x45759c]},[],'convertInlineImageToBlock'),_0x111719['start']['isBefore'](_0x13bdd4['start'])&&_0x16b609['markInsertion'](_0x3c1571['createRange'](_0x111719['start'],_0x13bdd4['start']),'convertInlineImageToBlock'),_0x13bdd4['end']['isBefore'](_0x111719['end'])&&_0x16b609['markInsertion'](_0x3c1571['createRange'](_0x13bdd4['end'],_0x111719['end']),'convertInlineImageToBlock');});}),_0x16b609['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x16b609['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x16b609['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x16b609['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x16b609['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x16b609['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x4e0a81])=>{const _0x288161=_0x16b609['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x2dc759=_0x4e0a81['start'],_0x47c4d7=_0x4e0a81['end'];const _0x4d4970=_0x12a0ef['model']['schema']['getNearestSelectionRange'](_0x2dc759,'backward'),_0x5e187c=_0x12a0ef['model']['schema']['getNearestSelectionRange'](_0x47c4d7,'forward');_0x4d4970['isCollapsed']&&(_0x2dc759=_0x4d4970['start']),_0x5e187c['isCollapsed']&&(_0x47c4d7=_0x5e187c['end']),_0x288161([_0x12a0ef['model']['createRange'](_0x2dc759,_0x47c4d7)]);}),_0x16b609['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x175e2d),_0x16b609['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x175e2d)),_0x12a0ef['plugins']['has']('ImageCaptionEditing')&&(_0x16b609['enableCommand']('toggleImageCaption',(_0x58d6d9,_0x13d8d2)=>{const _0x1dd433=_0x12a0ef['plugins']['get']('ImageCaptionUtils');let _0xe66356=_0x146ec9['getClosestSelectedImageElement'](_0x12a0ef['model']['document']['selection']),_0x1a5f42=_0x1dd433['getCaptionFromImageModelElement'](_0xe66356);_0x12a0ef['model']['change'](()=>{if(_0x1a5f42)return void _0x16b609['markDeletion'](_0x12a0ef['model']['createRangeOn'](_0x1a5f42));const _0x306323=_0x146ec9['isBlockImage'](_0xe66356);_0x58d6d9(_0x13d8d2),_0xe66356=_0x146ec9['getClosestSelectedImageElement'](_0x12a0ef['model']['document']['selection']),_0x1a5f42=_0x1dd433['getCaptionFromImageModelElement'](_0xe66356),_0x16b609['markInsertion'](_0x12a0ef['model']['createRangeOn'](_0x1a5f42),_0x306323?null:'imageCaption');});}),_0x16b609['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x175e2d));const _0xdd456d=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x267690(_0x496cba,_0x435d50){const _0x3bea81=_0xdd456d['findIndex'](({type:_0x40de8b,subType:_0x3e3bc5})=>_0x496cba['type']==_0x40de8b&&_0x496cba['subType']==_0x3e3bc5),_0x475544=_0xdd456d['findIndex'](({type:_0x331961,subType:_0x5515e9})=>_0x435d50['type']==_0x331961&&_0x435d50['subType']==_0x5515e9);if(_0x3bea81<0x0||_0x475544<0x0)return!0x1;const _0x1a5159=_0x496cba['getFirstRange'](),_0xd7289b=_0x435d50['getFirstRange']();if((0x0==_0x3bea81||0x1==_0x3bea81)&&0x2==_0x475544&&_0x1a5159['isIntersecting'](_0xd7289b))return!0x0;if(0x2==_0x3bea81&&0x3==_0x475544){const _0x1e1c55=_0x16b609['_findSuggestions'](_0x1a5159,'insertion')['filter'](({suggestion:_0x35238f,meta:_0x1283d2})=>_0x1283d2['isOwn']&&'convertInlineImageToBlock'==_0x35238f['subType']);if(_0x1e1c55['length']>0x1&&_0xd7289b['end']['isEqual'](_0x1a5159['start']))return!0x0;if(0x1==_0x1e1c55['length']&&(_0x1a5159['start']['isEqual'](_0xd7289b['end'])||_0x1a5159['end']['isEqual'](_0xd7289b['start'])))return!0x0;}if(0x3==_0x3bea81&&0x3==_0x475544&&_0x1a5159['start']['isBefore'](_0xd7289b['start'])){const _0x3949c7=_0x1a5159['end']['nodeAfter'],_0x915fd=_0xd7289b['start']['nodeBefore'];return _0x146ec9['isBlockImage'](_0x3949c7)&&_0x3949c7===_0x915fd;}return!0x1;}function _0x175e2d(_0x3851d4,_0x1c06bc){return _0x267690(_0x3851d4,_0x1c06bc)?[_0x3851d4,_0x1c06bc]:_0x267690(_0x1c06bc,_0x3851d4)?[_0x1c06bc,_0x3851d4]:null;}_0x12a0ef['plugins']['has']('ImageResize')&&(_0x16b609['enableDefaultAttributesIntegration']('resizeImage'),_0x16b609['descriptionFactory']['registerAttributeLabel']('resizedWidth',_0x56c4dc(_0x57f970,'FORMAT_IMAGE_SIZE'))),_0x12a0ef['plugins']['has']('ImageTextAlternativeEditing')&&_0x16b609['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x12a0ef['plugins']['has']('PictureEditing')&&_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x26507a=>{if('attribute'!=_0x26507a['type'])return;const {data:_0xe4d7e5}=_0x26507a;return _0xe4d7e5&&'sources'==_0xe4d7e5['key']?{'type':'format','content':''}:void 0x0;}),_0x12a0ef['plugins']['has']('ImageSizeAttributes')&&_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x185b6f=>{if('attribute'!=_0x185b6f['type'])return;const {data:_0x178f5d}=_0x185b6f;return!_0x178f5d||'width'!=_0x178f5d['key']&&'height'!=_0x178f5d['key']?void 0x0:{'type':'format','content':''};}),_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x389703=>{if(!!_0xdd456d['find'](({type:_0x5a6424,subType:_0x50c5b6})=>_0x389703['type']==_0x5a6424&&_0x389703['subType']==_0x50c5b6))return _0x389703['previous']?{}:void 0x0;}),_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x21e190=>{if('insertion'==_0x21e190['type']||'deletion'==_0x21e190['type']){const _0x19685a=_0x21e190['getContainedElement']();if(_0x19685a&&_0x19685a['is']('element','caption'))return{'type':'insertion'==_0x21e190['type']?'addObject':'removeObject','element':_0x19685a,'quantity':0x1};}}),_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x4dde5f=>'formatBlock'==_0x4dde5f['type']&&'convertInlineImageToBlock'==_0x4dde5f['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x4dde5f['type']&&'convertBlockImageToInline'==_0x4dde5f['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x16b609['descriptionFactory']['registerDescriptionCallback'](_0x17bb5a=>{if('attribute'!=_0x17bb5a['type'])return;const {data:_0x37b00b}=_0x17bb5a;if(!_0x37b00b||'alt'!=_0x37b00b['key'])return;const _0x3d373c=_0x37b00b['newValue'];return _0x3d373c?{'type':'format','content':_0x56c4dc(_0x57f970,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3d373c+'\x22')}:{'type':'format','content':_0x56c4dc(_0x57f970,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x747cf0=this['editor'],_0x210df7=_0x747cf0['locale'];_0x747cf0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x28dcb0=>{if('formatBlock'!=_0x28dcb0['type']&&'formatInline'!=_0x28dcb0['type'])return;const {data:_0x525043}=_0x28dcb0;if(_0x525043){if('imageTextAlternative'==_0x525043['commandName']){const _0x396c99=_0x525043['commandParams'][0x0]['newValue'];return _0x396c99?{'type':'format','content':_0x56c4dc(_0x210df7,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x396c99+'\x22')}:{'type':'format','content':_0x56c4dc(_0x210df7,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x525043['commandName']){const _0xdf191f=_0x525043['commandParams'][0x0]['width'];return _0xdf191f?{'type':'format','content':_0x56c4dc(_0x210df7,'*Set\x20image\x20width:*\x20%0',_0xdf191f)}:{'type':'format','content':_0x56c4dc(_0x210df7,'*Reset\x20image\x20width*')};}}});}}class _0x4a0b9b extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x560707=this['editor']['locale'],_0x205fcf=this['editor']['plugins']['get']('TrackChangesEditing');_0x205fcf['enableDefaultAttributesIntegration']('replaceImageSource'),_0x205fcf['descriptionFactory']['registerDescriptionCallback'](_0x1143d7=>{if('attribute'!=_0x1143d7['type'])return;const {data:_0x2215b5}=_0x1143d7;return _0x2215b5&&'src'==_0x2215b5['key']?_0x2215b5['newValue']&&_0x2215b5['oldValue']?{'type':'format','content':_0x56c4dc(_0x560707,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x3a80d2=this['editor']['plugins']['get']('TrackChangesEditing');_0x3a80d2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x3a80d2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3a80d2['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x3a80d2['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x13d1e8=this['editor'],_0x10228c=_0x13d1e8['locale'];_0x13d1e8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4495a3=>{if('formatBlock'!=_0x4495a3['type']&&'formatInline'!=_0x4495a3['type'])return;const {data:_0x4a5e65}=_0x4495a3;if(!_0x4a5e65||'replaceImageSource'!=_0x4a5e65['commandName'])return;return{'type':'format','content':_0x56c4dc(_0x10228c,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0xa0ed63['Plugin']{['afterInit'](){const _0x259e83=this['editor'];if(!_0x259e83['plugins']['has']('ImageStyleEditing'))return;const _0x29f984=_0x259e83['plugins']['get']('TrackChangesEditing'),_0x90433f=_0x259e83['plugins']['get']('ImageUtils'),_0x46af4a={};_0x29f984['enableCommand']('imageStyle',(_0x1080db,_0x220b6c)=>{const _0x47dd29=_0x259e83['plugins']['get']('Users')['me'],_0x4d102a=_0x259e83['commands']['get']('imageStyle');let _0x252bcc=_0x90433f['getClosestSelectedImageElement'](_0x259e83['model']['document']['selection']),_0x506cff=_0x259e83['model']['createRangeOn'](_0x252bcc),_0x118f62=_0x4d102a['value'];if(_0x118f62==_0x220b6c['value'])return;const _0x317888={'commandName':'imageStyle','commandParams':[_0x220b6c],'formatGroupId':_0xa0ed63['uid']()};_0x259e83['model']['change'](()=>{if(_0x29f984['getSuggestions']()['filter'](_0x478286=>_0x478286['isInContent']&&_0x47dd29==_0x478286['author']&&('formatBlock'==_0x478286['type']||'formatInline'==_0x478286['type'])&&('imageStylePreApply'==_0x478286['subType']||'imageStylePostApply'==_0x478286['subType'])&&_0x478286['getFirstRange']()['isEqual'](_0x506cff))['forEach'](_0x485a6b=>_0x29f984['discardSuggestion'](_0x485a6b['head'])),_0x252bcc=_0x90433f['getClosestSelectedImageElement'](_0x259e83['model']['document']['selection']),_0x506cff=_0x259e83['model']['createRangeOn'](_0x252bcc),_0x4d102a['refresh'](),_0x259e83['commands']['get']('imageTypeInline')['refresh'](),_0x259e83['commands']['get']('imageTypeBlock')['refresh'](),_0x118f62=_0x4d102a['value'],_0x118f62!=_0x220b6c['value'])return _0x90433f['isInlineImage'](_0x252bcc)&&_0x4d102a['shouldConvertImageType'](_0x220b6c['value'],_0x252bcc)?(_0x1080db({..._0x220b6c,'setImageSizes':!0x1}),_0x252bcc=_0x90433f['getClosestSelectedImageElement'](_0x259e83['model']['document']['selection']),void _0x29f984['markBlockFormat'](_0x252bcc,{..._0x317888,'commandReversedParams':[{'value':_0x118f62||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x90433f['isBlockImage'](_0x252bcc)?_0x29f984['markBlockFormat'](_0x252bcc,_0x317888,[],'imageStylePostApply'):_0x29f984['markInlineFormat'](_0x506cff,_0x317888,'imageStylePostApply'));});});for(const _0x3e8c30 of _0x259e83['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x46af4a[_0x3e8c30['name']]=_0x3e8c30['title']['toLowerCase']();_0x29f984['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x29f984['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x29f984['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x29f984['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x3d51c6])=>{_0x90433f['setImageNaturalSizeAttributes'](_0x3d51c6['getContainedElement']());}),_0x29f984['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x57775f,_0xd3d743)=>{_0x29f984['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x57775f,{'commandName':_0xd3d743['commandName'],'commandParams':_0xd3d743['commandReversedParams']});}),_0x29f984['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x50291f,_0x2a7c10){if(_0x56b453(_0x50291f,_0x2a7c10))return[_0x50291f,_0x2a7c10];if(_0x56b453(_0x2a7c10,_0x50291f))return[_0x2a7c10,_0x50291f];return null;});const _0xa5b9f7=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x56b453(_0x5a6240,_0x14bd9b){const _0x3f469f=_0xa5b9f7['findIndex'](({type:_0x250ec3,subType:_0x1650f9})=>_0x5a6240['type']==_0x250ec3&&_0x5a6240['subType']==_0x1650f9),_0x51f75d=_0xa5b9f7['findIndex'](({type:_0x4862bc,subType:_0x2c9da4})=>_0x14bd9b['type']==_0x4862bc&&_0x14bd9b['subType']==_0x2c9da4);if(_0x3f469f<0x0||_0x51f75d<0x0)return!0x1;const _0x1efa5c=_0x5a6240['getFirstRange'](),_0x578d26=_0x14bd9b['getFirstRange']();if((0x0==_0x3f469f||0x1==_0x3f469f)&&0x2==_0x51f75d&&_0x1efa5c['isIntersecting'](_0x578d26))return!0x0;if(0x2==_0x3f469f&&0x3==_0x51f75d){const _0x4d6039=_0x29f984['_findSuggestions'](_0x1efa5c,'insertion')['filter'](({suggestion:_0x3c7a51,meta:_0x414a92})=>_0x414a92['isOwn']&&'convertInlineImageToBlock'==_0x3c7a51['subType']);if(_0x4d6039['length']>0x1&&_0x578d26['end']['isEqual'](_0x1efa5c['start']))return!0x0;if(0x1==_0x4d6039['length']&&(_0x1efa5c['start']['isEqual'](_0x578d26['end'])||_0x1efa5c['end']['isEqual'](_0x578d26['start'])))return!0x0;}if(0x3==_0x3f469f&&0x3==_0x51f75d&&_0x1efa5c['start']['isBefore'](_0x578d26['start'])){const _0x46ecac=_0x1efa5c['end']['nodeAfter'],_0x9bf70f=_0x578d26['start']['nodeBefore'];return _0x90433f['isBlockImage'](_0x46ecac)&&_0x46ecac===_0x9bf70f;}return!0x1;}_0x259e83['model']['document']['registerPostFixer'](()=>{let _0x454439=!0x1;const _0x4cf755=Array['from'](_0x259e83['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x48b3a3,data:_0x5dfc77}of _0x4cf755){const {group:_0x40f09d,type:_0x45c57b,subType:_0x3e5d37,id:_0x32ae54}=_0x29f984['_splitMarkerName'](_0x48b3a3);if('suggestion'==_0x40f09d&&_0x29f984['hasSuggestion'](_0x32ae54)){if('formatBlock'==_0x45c57b&&('imageStylePreApply'==_0x3e5d37||'imageStylePostApply'==_0x3e5d37)){const _0x5bfcb1=_0x29f984['getSuggestion'](_0x32ae54);if(_0x5dfc77['newRange']){const _0x3bcbb8=_0x5bfcb1['getFirstRange']()['getContainedElement']();if(_0x90433f['isBlockImage'](_0x3bcbb8))continue;_0x29f984['discardSuggestion'](_0x5bfcb1),_0x454439=!0x0;}}if('insertion'==_0x45c57b&&'imageCaption'==_0x3e5d37&&!_0x5dfc77['newRange']){const _0x1c777c=_0x29f984['getSuggestion'](_0x32ae54);_0x1c777c['next']&&_0x1c777c['next']['isInContent']&&(_0x29f984['discardSuggestion'](_0x1c777c['next']),_0x454439=!0x0);}}}return _0x454439;}),this['_registerLegacyDescription'](_0x46af4a);}['_registerLegacyDescription'](_0xde8e1){const _0x30d9b0=this['editor'],_0x4cabfd=_0x30d9b0['locale'];_0x30d9b0['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3c6d98=>{if('formatBlock'!=_0x3c6d98['type']&&'formatInline'!=_0x3c6d98['type'])return;const {data:_0x5bc52e}=_0x3c6d98;if(!_0x5bc52e||'imageStyle'!=_0x5bc52e['commandName'])return;const _0x3c8699=_0x5bc52e['commandParams'][0x0]['value'];return _0x5628b3('side'===_0x3c8699?_0x56c4dc(_0x4cabfd,'FORMAT_SIDE_IMAGE'):_0xde8e1[_0x3c8699]||_0x3c8699);function _0x5628b3(_0x27b700){return{'type':'format','content':_0x56c4dc(_0x4cabfd,'*Format:*\x20%0',_0x27b700)};}});}}class TrackChangesImportWord extends _0xa0ed63['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x3c134d){super(_0x3c134d),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x15b088=this['editor'],_0x234bcc=_0x15b088['commands']['get']('importWord'),_0x1b2213=_0x15b088['commands']['get']('trackChanges');_0x234bcc&&(_0x234bcc['on']('execute',(_0x59fbad,[,_0x48e92d])=>{this['_trackChangesValueDuringImport']=_0x1b2213['value'],_0x48e92d['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x234bcc,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x234bcc,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1b2213['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x15b088['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x39b06e,_0x590061){const {suggestions:_0x30e430}=_0x590061,_0x2262d4=this['editor']['commands']['get']('trackChanges'),_0xcae2d=_0x2262d4['value'];this['_trackChangesValueDuringImport']!==_0xcae2d&&(_0x2262d4['execute'](),this['_trackChangesExecuted']=!0x0),_0x30e430&&_0x30e430['forEach'](({id:_0x2c82e1,type:_0x38ddaf,author:_0x353447,created_at:_0x476492})=>{const _0x1ae980={'id':_0x2c82e1,'type':_0x38ddaf,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x353447,'createdAt':_0x476492?new Date(_0x476492):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x1ae980);});}}class TrackChangesIndent extends _0xa0ed63['Plugin']{['afterInit'](){const _0xe9fa0e=this['editor'],_0x3cf652=_0xe9fa0e['plugins']['get']('TrackChangesEditing');if(_0xe9fa0e['plugins']['has']('IndentEditing')&&(_0x3cf652['enableCommand']('indent'),_0x3cf652['enableCommand']('outdent')),_0xe9fa0e['plugins']['has']('IndentBlock')){for(const _0x246731 of['indentBlock','outdentBlock'])_0x3cf652['enableDefaultAttributesIntegration'](_0x246731);if(_0xe9fa0e['plugins']['has']('ListEditing')){for(const _0x235981 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x3cf652['enableDefaultAttributesIntegration'](_0x235981);}}const _0x4a71a5=_0xe9fa0e['locale'];_0x3cf652['descriptionFactory']['registerAttributeLabel']('blockIndent',_0x56c4dc(_0x4a71a5,'FORMAT_INDENT')),_0x3cf652['descriptionFactory']['registerAttributeLabel']('blockIndentList',_0x56c4dc(_0x4a71a5,'FORMAT_INDENT')),_0x3cf652['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',_0x56c4dc(_0x4a71a5,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xd7cd9b=this['editor'],_0x893e54=_0xd7cd9b['locale'],_0x42c477=_0xd7cd9b['plugins']['get']('TrackChangesEditing');_0x42c477['descriptionFactory']['registerDescriptionCallback'](_0x10f281=>{if('formatBlock'!=_0x10f281['type'])return;const {data:_0xe40d02}=_0x10f281;if(!_0xe40d02)return;if('indentBlock'!=_0xe40d02['commandName']&&'outdentBlock'!=_0xe40d02['commandName'])return;const _0x287774=_0x10f281['getItems']()[0x0],_0x40b589=_0x42c477['descriptionFactory']['getItemLabel'](_0x287774);return'indentBlock'==_0xe40d02['commandName']?{'type':'format','content':_0x56c4dc(_0x893e54,'*Indent:*\x20%0',_0x40b589)}:'outdentBlock'==_0xe40d02['commandName']?{'type':'format','content':_0x56c4dc(_0x893e54,'*Outdent:*\x20%0',_0x40b589)}:void 0x0;});}}class TrackChangesInputCommand extends _0xa0ed63['Plugin']{static get['requires'](){return[_0xa0ed63['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x291203 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x210ffc=this['editor'];if(!_0x210ffc['plugins']['has']('LinkEditing'))return;const _0x2ad1f8=_0x210ffc['plugins']['get']('TrackChangesEditing'),_0x4c251b=_0x210ffc['commands']['get']('link');_0x2ad1f8['enableDefaultAttributesIntegration']('link'),_0x2ad1f8['enableDefaultAttributesIntegration']('unlink');for(const _0x2aeb5f of _0x4c251b['manualDecorators'])_0x2ad1f8['descriptionFactory']['registerAttributeLabel'](_0x2aeb5f['id'],'link\x20('+_0x2aeb5f['label']['toLowerCase']()+')');_0x2ad1f8['descriptionFactory']['registerDescriptionCallback'](_0x55c842=>{if('attribute'!=_0x55c842['type'])return;const {data:_0x174a3e}=_0x55c842;if(!_0x174a3e||'linkHref'!=_0x174a3e['key'])return;const _0x3cc9f0=_0x174a3e['newValue'],_0xc20bf0=_0x210ffc['locale'];return{'type':'format','content':null==_0x3cc9f0?_0x56c4dc(_0xc20bf0,'*Remove\x20link*'):_0x56c4dc(_0xc20bf0,'*Set\x20link:*\x20%0','\x22'+_0x3cc9f0+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x22fb12=this['editor'],_0x226e20=_0x22fb12['locale'];_0x22fb12['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x39a164=>{if('formatInline'!=_0x39a164['type'])return;const {data:_0x52b3af}=_0x39a164;if(_0x52b3af){if('link'==_0x52b3af['commandName']){const _0x224c5e=_0x52b3af['commandParams'][0x0];return{'type':'format','content':_0x56c4dc(_0x226e20,'*Set\x20link:*\x20%0','\x22'+_0x224c5e+'\x22')};}return'unlink'==_0x52b3af['commandName']?{'type':'format','content':_0x56c4dc(_0x226e20,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0xa0ed63['Plugin']{['afterInit'](){const _0xfdd979=this['editor'],_0x2fcb72=_0xfdd979['locale'];if(!_0xfdd979['plugins']['has']('LegacyListEditing'))return;const _0x18e27a=_0xfdd979['plugins']['get']('TrackChangesEditing'),_0x1c900e=_0xfdd979['plugins']['has']('LegacyTodoListEditing');function _0xccbc9(_0x5cb6f4){return()=>{const _0x34ab50=_0xfdd979['model']['document']['selection'],_0x14dac8=_0xfdd979['commands']['get'](_0x5cb6f4);if(_0x14dac8['value'])return void _0xfdd979['execute']('paragraph',{});const _0x69a399=_0x5cb6f4['slice'](0x0,-0x4),_0x232540=function(_0x4b0c26,_0x5b69c9,_0x5b473a){let _0x58d78c=Array['from'](_0x4b0c26)['filter'](_0x3f3093=>function(_0x49eaa4,_0x53ef37){return _0x53ef37['checkChild'](_0x49eaa4['parent'],'listItem')&&!_0x53ef37['isObject'](_0x49eaa4);}(_0x3f3093,_0x5b473a));_0x58d78c=_0x58d78c['filter'](_0x94e9b7=>!_0x94e9b7['is']('element','listItem')||_0x94e9b7['getAttribute']('listType')!=_0x5b69c9);const _0x434ef4=new Set();for(const _0x49335a of _0x58d78c)_0x49335a['is']('element','listItem')?_0x434ef4['add'](_0x2d51ae(_0x49335a)):_0x434ef4['add'](_0x49335a);return Array['from'](_0x434ef4);}(_0x34ab50['getSelectedBlocks'](),_0x69a399,_0xfdd979['model']['schema']);_0xfdd979['model']['change'](()=>{for(const _0x3fa1dc of _0x232540)_0x18e27a['markBlockFormat'](_0x3fa1dc,{'commandName':_0x5cb6f4,'commandParams':[{'forceValue':!_0x14dac8['value']}],'formatGroupId':'blockName'},_0x5659ad(_0x3fa1dc));});};}function _0xe84bdb(_0x10a99a){return()=>{const _0x1185cb=function(_0x346da6){let _0x2348b5=Array['from'](_0x346da6);const _0x554761=_0x2348b5['findIndex'](_0x558c03=>'listItem'!=_0x558c03['name']);return _0x554761>-0x1&&(_0x2348b5=_0x2348b5['slice'](0x0,_0x554761)),_0x2348b5;}(_0xfdd979['model']['document']['selection']['getSelectedBlocks']()),_0xbaf920=_0xfdd979['model']['createRange'](_0xfdd979['model']['createPositionAt'](_0x1185cb[0x0],'before'),_0xfdd979['model']['createPositionAt'](_0x1185cb[_0x1185cb['length']-0x1],'end'));_0xfdd979['model']['change'](()=>{_0x18e27a['markBlockFormat'](_0xbaf920,{'commandName':_0x10a99a,'commandParams':[],'formatGroupId':'listIndent'},function(_0x28f11e){const _0x3bd4ad=new Set();for(const _0x57e342 of _0x28f11e){let _0x20d706=_0x57e342['nextSibling'];for(;_0x20d706&&_0x20d706['getAttribute']('listIndent')>_0x57e342['getAttribute']('listIndent');)_0x3bd4ad['add'](_0x20d706),_0x20d706=_0x20d706['nextSibling'];}return Array['from'](_0x3bd4ad);}(_0x1185cb));});};}_0x18e27a['enableCommand']('numberedList',_0xccbc9('numberedList')),_0x18e27a['enableCommand']('bulletedList',_0xccbc9('bulletedList')),_0x1c900e&&_0x18e27a['enableCommand']('todoList',_0xccbc9('todoList')),_0x18e27a['enableCommand']('indentList',_0xe84bdb('indentList')),_0x18e27a['enableCommand']('outdentList',_0xe84bdb('outdentList')),_0x1c900e&&_0x18e27a['enableCommand']('checkTodoList',()=>{const _0x482e61=_0xfdd979['commands']['get']('checkTodoList'),_0x1690a7=Array['from'](_0x482e61['_selectedElements']);_0x1690a7['filter'](_0x515f93=>_0x515f93['getAttribute']('todoListChecked')!=_0x482e61['value']),_0xfdd979['model']['change'](()=>{for(const _0x4a5827 of _0x1690a7)_0x18e27a['markBlockFormat'](_0x4a5827,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x482e61['value']}]});});}),_0x18e27a['descriptionFactory']['registerElementLabel']('listItem',_0x4c72d0=>_0x56c4dc(_0x2fcb72,'ELEMENT_LIST_ITEM',_0x4c72d0)),_0x18e27a['descriptionFactory']['registerDescriptionCallback'](_0x2cad84=>{if('formatBlock'!=_0x2cad84['type']&&'formatInline'!=_0x2cad84['type'])return;const {data:_0x503173}=_0x2cad84;if(_0x503173){if('numberedList'==_0x503173['commandName']||'bulletedList'==_0x503173['commandName']||'todoList'==_0x503173['commandName'])switch(_0x503173['commandName']['replace']('List','')){case'bulleted':return _0x3e5839(_0x56c4dc(_0x2fcb72,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x3e5839(_0x56c4dc(_0x2fcb72,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x3e5839(_0x56c4dc(_0x2fcb72,'ELEMENT_TODO_LIST'));}if('indentList'==_0x503173['commandName'])return{'type':'format','content':_0x56c4dc(_0x2fcb72,'*Indent:*\x20%0',_0x56c4dc(_0x2fcb72,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x503173['commandName'])return{'type':'format','content':_0x56c4dc(_0x2fcb72,'*Outdent:*\x20%0',_0x56c4dc(_0x2fcb72,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x503173['commandName'])return _0x503173['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x2fcb72,'*Check\x20item*')}:{'type':'format','content':_0x56c4dc(_0x2fcb72,'*Uncheck\x20item*')};}function _0x3e5839(_0x21af9e){return{'type':'format','content':_0x56c4dc(_0x2fcb72,'*Change\x20to:*\x20%0',_0x21af9e)};}});}}function _0x2d51ae(_0x521ded){const _0x53de00=_0x521ded['getAttribute']('listIndent');if(0x0==_0x53de00)return _0x521ded;let _0x537862=_0x521ded;for(;_0x521ded['previousSibling']&&_0x521ded['previousSibling']['is']('element','listItem');){const _0x4e800d=_0x521ded['previousSibling']['getAttribute']('listIndent');if(_0x4e800d==_0x53de00)_0x537862=_0x521ded['previousSibling'];else{if(_0x4e800d<_0x53de00)break;}_0x521ded=_0x521ded['previousSibling'];}return _0x537862;}function _0x5659ad(_0x43a0de){const _0x3c127d=[];if(_0x43a0de['is']('element','listItem')&&_0x43a0de['getAttribute']('listIndent')>0x0){let _0x2d21cd=_0x43a0de['nextSibling'];for(;_0x2d21cd&&'listItem'==_0x2d21cd['name']&&_0x2d21cd['getAttribute']('listIndent')==_0x43a0de['getAttribute']('listIndent');)_0x3c127d['push'](_0x2d21cd),_0x2d21cd=_0x2d21cd['nextSibling'];}return _0x3c127d;}class TrackChangesLegacyListProperties extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x52ef7a=this['editor']['config']['get']('list.properties'),_0x1c83a0=this['editor']['plugins']['get']('TrackChangesEditing');_0x52ef7a['styles']&&_0x1c83a0['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x52ef7a['reversed']&&_0x1c83a0['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x52ef7a['startIndex']&&_0x1c83a0['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x1c83a0['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x28f447,_0x527df3={}){const _0xe3b4ce=this['editor']['plugins']['get']('TrackChangesEditing'),_0x313b84=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0xe3b4ce['markMultiRangeBlockFormat'](_0x313b84,{'commandName':'listStyle','commandParams':[{'type':_0x527df3['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x12ba7c,_0x58659e={}){const _0x191848=this['editor']['plugins']['get']('TrackChangesEditing'),_0x110ca5=this['_getSuggestionBlocks'](_0x4cd643=>_0x4cd643['is']('element','listItem')&&'numbered'===_0x4cd643['getAttribute']('listType'));if(_0x110ca5['length']<0x1)return;const _0x24c907=_0x110ca5['map'](_0x13ac36=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x13ac36,'before'),this['editor']['model']['createPositionAt'](_0x13ac36,0x0)));this['editor']['model']['change'](()=>{_0x191848['markMultiRangeBlockFormat'](_0x24c907,{'commandName':'listReversed','commandParams':[{'reversed':_0x58659e['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x5d4c7b,_0x44ce37={}){const _0x103939=this['editor']['plugins']['get']('TrackChangesEditing'),_0x41402a=this['_getSuggestionBlocks'](_0x2069c6=>_0x2069c6['is']('element','listItem')&&'numbered'===_0x2069c6['getAttribute']('listType'));if(_0x41402a['length']<0x1)return;const _0x2217b5=_0x41402a['map'](_0x4e1c88=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4e1c88,'before'),this['editor']['model']['createPositionAt'](_0x4e1c88,0x0)));this['editor']['model']['change'](()=>{_0x103939['markMultiRangeBlockFormat'](_0x2217b5,{'commandName':'listStart','commandParams':[{'startIndex':_0x44ce37['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x57154f){if('formatBlock'!=_0x57154f['type']&&'formatInline'!=_0x57154f['type'])return;const _0x34e093=this['editor']['locale'],{data:_0x330d39}=_0x57154f;if(!_0x330d39)return;let _0x4716ad,_0x38d5e9;switch(_0x330d39['commandName']){case'listStyle':_0x4716ad='*Change\x20to:*\x20%0',_0x38d5e9={'type':'format','content':_0x56c4dc(_0x34e093,_0x4716ad,_0x56c4dc(_0x34e093,this['_getTranslationKeyForListStyle'](_0x330d39['commandParams'][0x0]['type'])))};break;case'listReversed':_0x4716ad=_0x330d39['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x38d5e9={'type':'format','content':_0x56c4dc(_0x34e093,_0x4716ad)};break;case'listStart':_0x4716ad='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x38d5e9={'type':'format','content':_0x56c4dc(_0x34e093,_0x4716ad,_0x330d39['commandParams'][0x0]['startIndex'])};}return _0x38d5e9;}['_getSuggestionBlocksForListStyle'](){const _0x5370a5=this['editor']['plugins']['get']('LegacyListUtils');let _0x38d241=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x38d241[0x0]?.['is']('element','listItem')&&_0x38d241['unshift'](..._0x5370a5['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x38d241[_0x38d241['length']-0x1]?.['is']('element','listItem')&&_0x38d241['push'](..._0x5370a5['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x38d241=[...new Set(_0x38d241)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x38d241=_0x38d241['filter'](_0xac2f2d=>_0xac2f2d['is']('element','listItem'))),_0x38d241;}['_getSuggestionBlocks'](_0x4ead70){const _0x482c55=this['editor']['plugins']['get']('LegacyListUtils');let _0xb5e800=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x4ead70)['map'](_0x42bb3b=>{const _0x485eaf=this['editor']['model']['createPositionAt'](_0x42bb3b,0x0);return[..._0x482c55['getSiblingNodes'](_0x485eaf,'backward'),..._0x482c55['getSiblingNodes'](_0x485eaf,'forward')];})['flat']();return _0xb5e800=[...new Set(_0xb5e800)],_0xb5e800;}['_getTranslationKeyForListStyle'](_0x30b092){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x30b092)||'default')['toUpperCase']()+'_LIST_'+_0x30b092['toUpperCase']()['replace'](/-/g,'_');}}class _0x56987d extends _0xa0ed63['Plugin']{['afterInit'](){const _0x1382f8=this['editor'];if(!_0x1382f8['plugins']['has']('MediaEmbedEditing'))return;const _0x4ace5d=_0x1382f8['plugins']['get']('TrackChangesEditing'),_0x36f481=_0x1382f8['locale'];_0x4ace5d['enableCommand']('mediaEmbed'),_0x4ace5d['descriptionFactory']['registerElementLabel']('media',_0x20ed25=>_0x56c4dc(_0x36f481,'ELEMENT_MEDIA',_0x20ed25));}}class TrackChangesMention extends _0xa0ed63['Plugin']{['afterInit'](){const _0x491c94=this['editor'];_0x491c94['plugins']['has']('MentionEditing')&&_0x491c94['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x191e08 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5f1649=this['editor'];if(!_0x5f1649['plugins']['has']('MergeFieldsEditing'))return;const _0xff1783=_0x5f1649['plugins']['get']('TrackChangesEditing'),_0x2bf770=_0x5f1649['locale'];_0xff1783['enableCommand']('insertMergeField'),_0xff1783['enableCommand']('insertMergeFieldBlock'),_0xff1783['enableCommand']('insertMergeFieldImage'),_0xff1783['descriptionFactory']['registerElementLabel']('mergeField',_0x3b9401=>_0x56c4dc(_0x2bf770,'ELEMENT_MERGE_FIELD',_0x3b9401)),_0xff1783['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x514489=>_0x56c4dc(_0x2bf770,'ELEMENT_MERGE_FIELD',_0x514489)),_0xff1783['descriptionFactory']['registerDescriptionCallback'](_0x227a96=>{if('insertion'!=_0x227a96['type']&&'deletion'!=_0x227a96['type'])return;const _0x10bc79=_0x227a96['getContainedElement']();if(null==_0x10bc79)return;const _0x48932f=_0x5f1649['plugins']['get']('MergeFieldsEditing');let _0x22fa80;switch(_0x48932f['getMergeFieldType'](_0x10bc79)){case null:return;case'image':{const _0x44fd84=_0x48932f['unwrapAffixes'](_0x10bc79['getAttribute']('src'));_0x22fa80=_0x48932f['getLabel'](_0x44fd84)||_0x44fd84;break;}default:{const _0x6a9028=_0x10bc79['getAttribute']('id');_0x22fa80=_0x48932f['getLabel'](_0x6a9028)||_0x6a9028;break;}}return'insertion'==_0x227a96['type']?{'type':'insertion','content':_0x56c4dc(_0x2bf770,'*Insert:*\x20%0','\x22'+_0x22fa80+'\x22\x20'+_0x56c4dc(_0x2bf770,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':_0x56c4dc(_0x2bf770,'*Remove:*\x20%0','\x22'+_0x22fa80+'\x22\x20'+_0x56c4dc(_0x2bf770,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0xa0ed63['Plugin']{['afterInit'](){const _0x266286=this['editor'],_0x5dbef5=_0x266286['plugins']['get']('TrackChangesEditing');_0x266286['plugins']['has']('MultiLevelList')&&(_0x5dbef5['enableDefaultAttributesIntegration']('multiLevelList'),_0x5dbef5['descriptionFactory']['registerDescriptionCallback'](_0x5e1bec=>this['handleDescriptions'](_0x5e1bec)));}['handleDescriptions'](_0x2e1b16){const _0x5f036d=this['editor']['locale'],{data:_0x182410}=_0x2e1b16,_0x1f0cf5={'type':'format','content':''};if(_0x182410&&'listMarkerStyle'==_0x182410['key']){if(!_0x182410['oldValue'])return{'type':'format','content':_0x56c4dc(_0x5f036d,'*Set\x20format:*\x20%0',_0x56c4dc(_0x5f036d,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x182410['newValue']+')'};if(!_0x182410['newValue']){let _0x3d0926=_0x2e1b16['head'];for(;_0x3d0926;){if(_0x3d0926['data']&&'listType'==_0x3d0926['data']['key']&&_0x3d0926['data']['newValue'])return _0x1f0cf5;_0x3d0926=_0x3d0926['next'];}return{'type':'format','content':_0x56c4dc(_0x5f036d,'*Remove\x20format:*\x20%0',_0x56c4dc(_0x5f036d,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x182410['oldValue']+')'};}}}}class _0x521cb5 extends _0xa0ed63['Plugin']{['afterInit'](){const _0xe781ba=this['editor'];if(!_0xe781ba['plugins']['has']('PageBreakEditing'))return;_0xe781ba['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x1ba9ea=_0xe781ba['plugins']['get']('TrackChangesEditing'),_0x2e7129=_0xe781ba['locale'];_0x1ba9ea['descriptionFactory']['registerElementLabel']('pageBreak',_0x41ea4d=>_0x56c4dc(_0x2e7129,'ELEMENT_PAGE_BREAK',_0x41ea4d));}}class _0x3e2123 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x2abc66=this['editor'];if(!_0x2abc66['plugins']['has']('Paragraph'))return;const _0x270ec8=_0x2abc66['locale'],_0x5f2eaa=_0x2abc66['plugins']['get']('TrackChangesEditing');_0x5f2eaa['descriptionFactory']['registerElementLabel']('paragraph',_0x4db885=>_0x56c4dc(_0x270ec8,'ELEMENT_PARAGRAPH',_0x4db885)),_0x5f2eaa['enableDefaultAttributesIntegration']('paragraph'),_0x5f2eaa['enableCommand']('insertParagraph');const _0x3f428a=_0x5f2eaa['descriptionFactory'];_0x3f428a['registerDescriptionCallback'](_0x458639=>{if('insertion'!==_0x458639['type'])return;const {start:_0x419fa8,end:_0x21731e}=_0x458639['getFirstRange']();if(!_0x419fa8['isTouching'](_0x21731e)||!_0x419fa8['nodeAfter'])return;const _0x360773=_0x2abc66['model']['schema'],_0x20af03=_0x419fa8['nodeAfter'];return _0x360773['isBlock'](_0x20af03)&&!_0x360773['isLimit'](_0x20af03)&&_0x360773['checkChild'](_0x20af03,'$text')?{'type':'insertion','content':_0x56c4dc(_0x270ec8,'*Insert:*\x20%0',_0x3f428a['getItemLabel'](_0x20af03,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xa632a2=this['editor'],_0x1d4cdb=_0xa632a2['locale'];_0xa632a2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x32cdf1=>{if('formatBlock'!=_0x32cdf1['type'])return;const {data:_0x17b8e3}=_0x32cdf1;return _0x17b8e3&&'paragraph'==_0x17b8e3['commandName']?{'type':'format','content':_0x56c4dc(_0x1d4cdb,'*Change\x20to:*\x20%0',_0x56c4dc(_0x1d4cdb,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x2ee675 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x32b899=this['editor'];_0x32b899['commands']['get']('replaceSource')&&_0x32b899['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0xa0ed63['Plugin']{['afterInit'](){const _0x5eedec=this['editor'];if(!_0x5eedec['plugins']['has']('RemoveFormatEditing'))return;_0x5eedec['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3d4e9d=this['editor'];_0x3d4e9d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x38f3a9=>{if('formatBlock'!=_0x38f3a9['type']&&'formatInline'!=_0x38f3a9['type'])return;const {data:_0x2d812d}=_0x38f3a9;return _0x2d812d&&'removeFormat'==_0x2d812d['commandName']?{'type':'format','content':_0x56c4dc(_0x3d4e9d['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0xa0ed63['Plugin']{['afterInit'](){const _0x41794f=this['editor'];if(!_0x41794f['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x36e91a=_0x41794f['plugins']['get']('TrackChangesEditing');_0x36e91a['enableCommand']('goToPreviousRestrictedEditingException'),_0x36e91a['enableCommand']('goToNextRestrictedEditingException');const _0x5087df=_0x41794f['plugins']['get']('RestrictedEditingModeEditing');_0x5087df['enableCommand']('trackChanges'),_0x5087df['enableCommand']('acceptSuggestion'),_0x5087df['enableCommand']('discardSuggestion'),_0x5087df['enableCommand']('acceptAllSuggestions'),_0x5087df['enableCommand']('discardAllSuggestions'),_0x5087df['enableCommand']('acceptSelectedSuggestions'),_0x5087df['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0xa0ed63['Plugin']{['afterInit'](){const _0x274ef7=this['editor'];if(!_0x274ef7['plugins']['has']('ShiftEnter'))return;const _0x53602c=_0x274ef7['plugins']['get']('TrackChangesEditing');_0x53602c['enableCommand']('shiftEnter'),_0x53602c['descriptionFactory']['registerElementLabel']('softBreak',_0xc5baa3=>_0x56c4dc(_0x274ef7['locale'],'ELEMENT_LINE_BREAK',_0xc5baa3));}}function _0x201466(_0x49870a,_0x252e83,_0x58bad9){const _0x545e82=[];for(const _0x3922ed of _0x252e83['getItems']())_0x3922ed['hasAttribute'](_0x49870a)&&_0x545e82['push'](_0x58bad9['createRangeOn'](_0x3922ed));return _0x545e82;}class TrackChangesStandardEditingMode extends _0xa0ed63['Plugin']{['afterInit'](){const _0x106729=this['editor'],_0xd14250=_0x106729['plugins']['get']('TrackChangesEditing');_0x106729['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0xd14250['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0xc5dffe=this['editor'],_0x2e1ab8=_0xc5dffe['model'],_0x1a6746=_0xc5dffe['locale'],_0x1265cd=_0xc5dffe['plugins']['get']('TrackChangesEditing'),_0xf15217='restrictedEditingException',_0x470ee9=_0xc5dffe['commands']['get'](_0xf15217);_0x1265cd['enableCommand'](_0xf15217,(_0x4c1636,_0x5b14d6={})=>{const _0x17085a=_0x2e1ab8['document']['selection'];if(_0x17085a['isCollapsed'])return void _0x4c1636(_0x5b14d6);const _0x207cb8=void 0x0!==_0x5b14d6['forceValue']?_0x5b14d6['forceValue']:!_0x470ee9['value'];_0x2e1ab8['change'](()=>{const _0x3a161d=Array['from'](_0x17085a['getRanges']());for(const _0x2c469e of _0x3a161d){const _0x5b4377=_0x207cb8?[_0x2c469e]:_0x201466(_0xf15217,_0x2c469e,_0x2e1ab8);for(const _0x23172b of _0x5b4377)_0x1265cd['markInlineFormat'](_0x23172b,{'commandName':_0xf15217,'commandParams':[{'forceValue':_0x207cb8}]});}});}),_0x1265cd['descriptionFactory']['registerDescriptionCallback'](_0x58c43d=>{if('formatBlock'!=_0x58c43d['type']&&'formatInline'!=_0x58c43d['type'])return;const {data:_0xfdef0}=_0x58c43d;return _0xfdef0&&_0xfdef0['commandName']==_0xf15217?_0xfdef0['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x1a6746,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x56c4dc(_0x1a6746,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x3d7001=this['editor'],_0x49e052=_0x3d7001['locale'],_0x5138fc=_0x3d7001['plugins']['get']('TrackChangesEditing'),_0x1b58d3='restrictedEditingExceptionBlock',_0x47ffcf=this['editor']['commands']['get'](_0x1b58d3);_0x5138fc['enableCommand'](_0x1b58d3,(_0x454ddb,_0x26b6aa={})=>{const _0x50ff36=this['editor']['model']['document']['selection'],_0x4c18e1=_0x26b6aa&&void 0x0!==_0x26b6aa['forceValue']?_0x26b6aa['forceValue']:!_0x47ffcf['value'];let _0x40b5b4=[];if(_0x4c18e1){const _0x284c81=Array['from'](_0x50ff36['getSelectedBlocks']())['filter'](_0x394a7d=>function(_0x1564d7){return!!_0x1564d7['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x394a7d)||function(_0x16801b,_0x4d357c){const _0x456e56=_0x4d357c['createContext'](_0x16801b['parent']);if(!_0x4d357c['checkChild'](_0x456e56,'restrictedEditingException'))return!0x1;if(!_0x4d357c['checkChild'](_0x456e56['push']('restrictedEditingException'),_0x16801b))return!0x1;return!0x0;}(_0x394a7d,this['editor']['model']['schema']));_0x40b5b4=_0x55f411(_0x284c81,_0x3d7001['model']);}else{const _0x206a10=Array['from'](_0x50ff36['getSelectedBlocks']())['map'](_0x369a6b=>function(_0x474f7e){let _0x3e6e02=_0x474f7e;for(;_0x3e6e02['parent'];){if('restrictedEditingException'==_0x3e6e02['parent']['name'])return _0x3e6e02;_0x3e6e02=_0x3e6e02['parent'];}return null;}(_0x369a6b))['filter'](_0x5d0667=>!!_0x5d0667);_0x40b5b4=_0x55f411(_0x206a10,_0x3d7001['model']);}_0x3d7001['model']['change'](()=>{for(const _0x4f0a38 of _0x40b5b4)_0x5138fc['markBlockFormat'](_0x4f0a38,{'commandName':_0x1b58d3,'commandParams':[{'forceValue':_0x4c18e1}]});});}),_0x5138fc['descriptionFactory']['registerDescriptionCallback'](_0x1d78d3=>{const {data:_0x18b531}=_0x1d78d3;if(_0x18b531&&_0x18b531['commandName']==_0x1b58d3)return _0x18b531['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x49e052,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x56c4dc(_0x49e052,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0xa0ed63['Plugin']{['afterInit'](){const _0x459f5d=this['editor'];if(!_0x459f5d['plugins']['has']('Style')||!_0x459f5d['plugins']['has']('DataSchema'))return;const _0x2969a0=_0x459f5d['plugins']['get']('TrackChangesEditing'),_0x3b6b59=_0x459f5d['locale'],_0x5b418a=_0x459f5d['config']['get']('style')||{},_0x2a9fab=_0x459f5d['plugins']['get']('GeneralHtmlSupport'),_0x16c501=_0x459f5d['plugins']['get']('StyleUtils')['normalizeConfig'](_0x459f5d['plugins']['get']('DataSchema'),_0x5b418a['definitions']);_0x2969a0['enableDefaultAttributesIntegration']('style');const _0x515a6b=new Set();for(const _0x5341b5 of _0x16c501['block']){const _0x359805=_0x2a9fab['getGhsAttributeNameForElement'](_0x5341b5['element']);_0x515a6b['add'](_0x359805);}const _0x52b575=new Set();for(const _0xaede27 of _0x16c501['inline']){const _0x1164f3=_0x2a9fab['getGhsAttributeNameForElement'](_0xaede27['element']);_0x52b575['add'](_0x1164f3);for(const _0x3114a8 of _0xaede27['ghsAttributes'])_0x52b575['add'](_0x3114a8);}for(const _0x209b7d of _0x515a6b)_0x2969a0['descriptionFactory']['registerAttributeLabel'](_0x209b7d,_0x56c4dc(_0x3b6b59,'FORMAT_STYLE'));for(const _0x17ded2 of _0x52b575)_0x2969a0['descriptionFactory']['registerAttributeLabel'](_0x17ded2,_0x56c4dc(_0x3b6b59,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5ac61f=this['editor'],_0x192d88=_0x5ac61f['locale'];_0x5ac61f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x459881=>{if('formatBlock'!=_0x459881['type']&&'formatInline'!=_0x459881['type'])return;const {data:_0x992510}=_0x459881;return _0x992510&&'style'===_0x992510['commandName']?_0x992510['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x56c4dc(_0x192d88,'*Set\x20format:*\x20%0',_0x992510['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x56c4dc(_0x192d88,'*Remove\x20format:*\x20%0',_0x992510['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x1d07cc extends _0xa0ed63['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x268cbd){super(_0x268cbd),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x53585b=this['editor'],_0x41a324=_0x53585b['model']['document']['selection'];if(!_0x53585b['plugins']['has']('TableEditing'))return;const _0x251ce4=_0x53585b['locale'],_0x1c2e8c=_0x53585b['plugins']['get']('TrackChangesEditing'),_0x1530c0=_0x53585b['plugins']['get']('TableUtils');_0x1c2e8c['descriptionFactory']['registerElementLabel']('table',_0x54a2cf=>_0x56c4dc(_0x251ce4,'ELEMENT_TABLE',_0x54a2cf)),this['_setupColumnsRowsFixing'](),_0x1c2e8c['enableCommand']('insertTable'),_0x1c2e8c['enableCommand']('selectTableRow'),_0x1c2e8c['enableCommand']('selectTableColumn');for(const _0x271e80 of['insertTableRowAbove','insertTableRowBelow']){const _0x47cc86=_0x53585b['commands']['get'](_0x271e80);_0x1c2e8c['enableCommand'](_0x271e80,_0x4ca371=>{_0x53585b['model']['change'](_0x16a320=>{_0x4ca371();const _0xcbb554='above'===_0x47cc86['order'],_0x4d5bd4=_0x1530c0['getSelectionAffectedTableCells'](_0x41a324),_0xb76a7f=_0x1530c0['getRowIndexes'](_0x4d5bd4),_0x426cc4=_0xcbb554?_0xb76a7f['first']-0x1:_0xb76a7f['last']+0x1,_0x584f33=_0x4d5bd4[0x0]['findAncestor']('table'),_0x3f6ca0=_0x1530c0['createTableWalker'](_0x584f33,{'startRow':_0x426cc4,'endRow':_0x426cc4}),_0x20ee3d=Array['from'](_0x3f6ca0)['map'](_0x5b7964=>_0x16a320['createRangeOn'](_0x5b7964['cell']));_0x1c2e8c['markMultiRangeInsertion'](_0x20ee3d,'tableRow');});});}for(const _0x56779c of['insertTableColumnLeft','insertTableColumnRight']){const _0x3060af=_0x53585b['commands']['get'](_0x56779c);_0x1c2e8c['enableCommand'](_0x56779c,_0x4ac017=>{_0x53585b['model']['change'](_0x15fb95=>{_0x4ac017();const _0x5b15f5='left'===_0x3060af['order'],_0x2b6f9e=_0x1530c0['getSelectionAffectedTableCells'](_0x41a324),_0x4b349c=_0x1530c0['getColumnIndexes'](_0x2b6f9e),_0x3d1271=_0x5b15f5?_0x4b349c['first']-0x1:_0x4b349c['last']+0x1,_0x2bc8cf=_0x2b6f9e[0x0]['findAncestor']('table'),_0x3aacb6=_0x1530c0['createTableWalker'](_0x2bc8cf,{'startRow':0x0,'column':_0x3d1271,'includeAllSlots':!0x1}),_0x23d373=Array['from'](_0x3aacb6)['map'](_0x1c5a41=>_0x15fb95['createRangeOn'](_0x1c5a41['cell']));_0x1c2e8c['markMultiRangeInsertion'](_0x23d373,'tableColumn');});});}for(const _0x412005 of['removeTableRow','removeTableColumn']){const _0x20d6e5=_0x412005['substr'](0xb),_0x5517d3=_0x20d6e5['toLowerCase'](),_0x837482=_0x5517d3['substr'](0x0,0x3)+'span',_0x3c041d='table'+_0x20d6e5,_0x47133c='min'+_0x20d6e5,_0x4cc1ce='max'+_0x20d6e5;_0x1c2e8c['enableCommand'](_0x412005,()=>{_0x53585b['model']['change'](_0x187183=>{const _0x46209d=_0x1530c0['getSelectionAffectedTableCells'](_0x41a324),_0x3f7091=_0x46209d[0x0]['findAncestor']('table');let _0x49cb90;if('removeTableRow'==_0x412005){const _0x366cb9=_0x1530c0['getRowIndexes'](_0x46209d);_0x49cb90={'startRow':_0x366cb9['first'],'endRow':_0x366cb9['last'],'includeAllSlots':!0x0};}else{const _0x587eb3=_0x1530c0['getColumnIndexes'](_0x46209d);_0x49cb90={'startColumn':_0x587eb3['first'],'endColumn':_0x587eb3['last'],'includeAllSlots':!0x0};}const _0x180c33=_0x1530c0['createTableWalker'](_0x3f7091,_0x49cb90),_0xdee945=Array['from'](_0x180c33)['map'](({cell:_0x1122da})=>_0x1122da),_0x2820a0=_0x4d1afb(_0xdee945['filter'](_0x4c139a=>_0x4c139a['hasAttribute'](_0x837482))),_0x4c5411=_0x4d1afb(_0xdee945['filter'](_0x35797b=>!_0x35797b['hasAttribute'](_0x837482)))['map'](_0x27bbfe=>_0x187183['createRangeOn'](_0x27bbfe)),_0x1bc7ae=_0x1c2e8c['markMultiRangeDeletion'](_0x4c5411,_0x3c041d);if(_0x1bc7ae&&('tableRow'==_0x1bc7ae['subType']||'tableColumn'==_0x1bc7ae['subType'])){const _0x1d3c9d=this['_getSuggestionCoords'](_0x1bc7ae);for(const _0x193ac3 of _0x2820a0){const _0x547e8a=_0x187183['createRangeOn'](_0x193ac3),_0x2bcda7=_0x1530c0['getCellLocation'](_0x193ac3),_0x39a245=_0x193ac3['getAttribute'](_0x837482)-0x1,_0x1611b6=_0x1d3c9d[_0x47133c],_0x54286c=_0x1d3c9d[_0x4cc1ce];_0x1611b6<=_0x2bcda7[_0x5517d3]&&_0x2bcda7[_0x5517d3]+_0x39a245<=_0x54286c&&_0x1bc7ae['addRange'](_0x547e8a);}}});});}function _0x22ccb7(_0x82666a){const _0x9ac345=Array['from'](_0x41a324['getRanges']())['map'](_0x478571=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x478571));_0x53585b['model']['change'](_0x4f4e68=>{const _0x17183d=_0x4f4e68['batch'];_0x82666a=_0x82666a['filter'](_0x24580f=>'$graveyard'!=_0x24580f['root']['rootName']),_0x4f4e68['setSelection'](_0x82666a),_0x53585b['commands']['get']('removeTableRow')['refresh'](),_0x53585b['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x53585b['model']['enqueueChange'](()=>{_0x53585b['model']['enqueueChange'](_0x17183d,_0x5234e2=>{const _0x4e64f2=_0x9ac345['filter'](_0x24b051=>'$graveyard'!=_0x24b051['root']['rootName']);_0x4e64f2['length']>0x0&&_0x5234e2['setSelection'](_0x4e64f2);for(const _0x129155 of _0x9ac345)_0x129155['detach']();});});});}function _0x26f9af(_0x1f30a1){_0x53585b['model']['change'](_0x455e62=>{const _0x55c3b9=Array['from'](_0x41a324['getRanges']())['map'](_0x915787=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x915787)),_0xc482e1=[];for(const _0x22fcd3 of _0x1f30a1)for(const _0x40e753 of _0x22fcd3['getItems']({'shallow':!0x0}))_0xc482e1['push'](_0x40e753);for(const _0x25e01e of _0xc482e1)'$graveyard'!=_0x25e01e['root']['rootName']&&(_0x455e62['setSelection'](_0x455e62['createPositionAt'](_0x25e01e,0x0)),_0x53585b['commands']['get']('removeTableColumn')['refresh'](),_0x53585b['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x2d3411=_0x55c3b9['filter'](_0x227367=>'$graveyard'!=_0x227367['root']['rootName']);_0x2d3411['length']>0x0&&_0x455e62['setSelection'](_0x2d3411);for(const _0x3f5e5b of _0x55c3b9)_0x3f5e5b['detach']();});}function _0x4db9d7(_0x3d8ac6,_0x5a02d4){return _0x5a02d4['every'](_0x133a69=>_0x3d8ac6['some'](_0x5c26fd=>_0x5c26fd['end']['isEqual'](_0x133a69['start'])||_0x133a69['end']['isEqual'](_0x5c26fd['start'])));}function _0xf1c344(_0x368120,_0x3c0e2d){return!_0x368120['some'](_0x265306=>_0x3c0e2d['some'](_0x3f5a1c=>_0x265306['isIntersecting'](_0x3f5a1c)))&&_0x368120['some'](_0x37548b=>_0x3c0e2d['some'](_0x1b2938=>_0x37548b['end']['isTouching'](_0x1b2938['start'])));}_0x1c2e8c['descriptionFactory']['registerDescriptionCallback'](_0x4db61d=>{if('insertion'!=_0x4db61d['type']&&'deletion'!=_0x4db61d['type'])return;const _0x41c04a=_0x4db61d['getContainedElement']();if(null!=_0x41c04a&&_0x41c04a['is']('element','table')){if('insertion'==_0x4db61d['type']){const _0x363ac6=_0x4db61d['getItems']()['filter'](_0x3e2388=>_0x3e2388['is']('$textProxy'))['map'](_0x377989=>_0x377989['data']);if(_0x363ac6['length'])return{'type':'insertion','content':_0x56c4dc(_0x251ce4,'*Insert:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x363ac6['join']('\x20')+'\x22'))};}if('deletion'==_0x4db61d['type']){const _0x30691b=_0x4db61d['getItems']()['filter'](_0x5ee842=>_0x5ee842['is']('$textProxy'))['map'](_0x4ec0bf=>_0x4ec0bf['data']);if(_0x30691b['length'])return{'type':'deletion','content':_0x56c4dc(_0x251ce4,'*Remove:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x30691b['join']('\x20')+'\x22'))};}}}),_0x1c2e8c['descriptionFactory']['registerDescriptionCallback'](_0x247c1=>{if('tableRow'==_0x247c1['subType']){const _0x39e5db=_0x247c1['getItems']()['filter'](_0x14b834=>_0x14b834['is']('$textProxy'))['map'](_0x13a7e7=>_0x13a7e7['data']),_0xd80b8c=this['_getSuggestionCoords'](_0x247c1),_0xa987cf=_0xd80b8c['maxRow']-_0xd80b8c['minRow']+0x1;if('insertion'==_0x247c1['type'])return _0x39e5db['length']?{'type':'insertion','content':_0x56c4dc(_0x251ce4,'*Insert:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0xa987cf,'\x22'+_0x39e5db['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x56c4dc(_0x251ce4,'*Insert:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_ROW',_0xa987cf))};if('deletion'==_0x247c1['type'])return _0x39e5db['length']?{'type':'deletion','content':_0x56c4dc(_0x251ce4,'*Remove:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0xa987cf,'\x22'+_0x39e5db['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x56c4dc(_0x251ce4,'*Remove:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_ROW',_0xa987cf))};}if('tableColumn'==_0x247c1['subType']){const _0x458a6a=_0x247c1['getItems']()['filter'](_0x323405=>_0x323405['is']('$textProxy'))['map'](_0x375dfe=>_0x375dfe['data']),_0x15ef6e=this['_getSuggestionCoords'](_0x247c1),_0x5cb967=_0x15ef6e['maxColumn']-_0x15ef6e['minColumn']+0x1;if('insertion'==_0x247c1['type'])return _0x458a6a['length']?{'type':'insertion','content':_0x56c4dc(_0x251ce4,'*Insert:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5cb967,'\x22'+_0x458a6a['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x56c4dc(_0x251ce4,'*Insert:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_COLUMN',_0x5cb967))};if('deletion'==_0x247c1['type'])return _0x458a6a['length']?{'type':'deletion','content':_0x56c4dc(_0x251ce4,'*Remove:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5cb967,'\x22'+_0x458a6a['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x56c4dc(_0x251ce4,'*Remove:*\x20%0',_0x56c4dc(_0x251ce4,'ELEMENT_TABLE_COLUMN',_0x5cb967))};}}),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x22ccb7),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x22ccb7),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x26f9af),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x26f9af),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x4db9d7),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x4db9d7),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0xf1c344),_0x1c2e8c['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0xf1c344);}['_acceptFormatSuggestionCallbackFactory'](){const _0x4f3d31=this['editor'],_0x446c00=_0x4f3d31['model']['document']['selection'];return(_0xcc425d,_0x12b65)=>{_0x4f3d31['model']['change'](_0x4a8cf=>{const {commandName:_0x53e4f6,commandParams:_0x50e6a0}=_0x12b65;let _0x385a4b=_0xcc425d[0x0]['end']['nodeBefore'];_0x50e6a0&&_0x50e6a0[0x0]&&!0x1===_0x50e6a0[0x0]['forceValue']&&(_0x385a4b=_0xcc425d[0x0]['start']['nodeAfter']);const _0xf853bc=_0x4a8cf['createRangeIn'](_0x385a4b);if('$graveyard'==_0xf853bc['root']['rootName'])return;const _0x1e9263=Array['from'](_0x446c00['getRanges']())['map'](_0x4eb4f4=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x4eb4f4));_0x4a8cf['setSelection'](_0xf853bc),_0x4f3d31['commands']['get'](_0x53e4f6)['refresh'](),_0x50e6a0['push']({'forceDefaultExecution':!0x0}),_0x4f3d31['execute'](_0x53e4f6,..._0x50e6a0);const _0x7dad1b=_0x1e9263['filter'](_0x51d256=>'$graveyard'!=_0x51d256['root']['rootName']);_0x7dad1b['length']>0x0&&_0x4a8cf['setSelection'](_0x7dad1b);for(const _0x8108ac of _0x1e9263)_0x8108ac['detach']();});};}['_getCoordsForCells'](_0xccbf64){const _0x484100=this['editor']['plugins']['get']('TableUtils');let _0x221f03=Number['MAX_SAFE_INTEGER'],_0x5337b8=Number['MIN_SAFE_INTEGER'],_0x41cf60=Number['MAX_SAFE_INTEGER'],_0x575f40=Number['MIN_SAFE_INTEGER'];for(const _0x54d100 of _0xccbf64){if('$graveyard'==_0x54d100['root']['rootName'])continue;const {row:_0x279683,column:_0x2939e9}=_0x484100['getCellLocation'](_0x54d100),_0x4ff030=_0x54d100['hasAttribute']('rowspan')?_0x54d100['getAttribute']('rowspan')-0x1:0x0,_0x2a8d45=_0x54d100['hasAttribute']('colspan')?_0x54d100['getAttribute']('colspan')-0x1:0x0;_0x221f03=_0x279683<_0x221f03?_0x279683:_0x221f03,_0x5337b8=_0x279683+_0x4ff030>_0x5337b8?_0x279683+_0x4ff030:_0x5337b8,_0x41cf60=_0x2939e9<_0x41cf60?_0x2939e9:_0x41cf60,_0x575f40=_0x2939e9+_0x2a8d45>_0x575f40?_0x2939e9+_0x2a8d45:_0x575f40;}return{'minRow':_0x221f03,'maxRow':_0x5337b8,'minColumn':_0x41cf60,'maxColumn':_0x575f40};}['_setupColumnsRowsFixing'](){const _0x32eb58=this['editor'],_0x5c0413=_0x32eb58['plugins']['get']('TrackChangesEditing'),_0x1c591e=_0x32eb58['plugins']['get']('TableUtils');_0x32eb58['model']['document']['on']('change:data',()=>{const _0x2a3d06=Array['from'](_0x32eb58['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4edf11,data:_0x1c2c60}of _0x2a3d06){const {group:_0x2c3b17,id:_0x5ccd37,subType:_0x3ad1f8}=_0x5c0413['_splitMarkerName'](_0x4edf11);if('suggestion'!=_0x2c3b17)continue;if(null!=_0x1c2c60['oldRange'])continue;const _0x3f8181=_0x5c0413['getSuggestion'](_0x5ccd37);this['_tablePostFixingSubtypes']['includes'](_0x3ad1f8)&&this['_tableSuggestions']['add'](_0x3f8181);}},{'priority':'low'});const _0x54d3e2=(_0xa5a0a5,_0x17d224)=>{let _0x40f981=!0x1;const _0x8e453b=_0x17d224['createRangeOn'](_0xa5a0a5),_0x20c50e=_0xa5a0a5['findAncestor']('table'),_0x2b350f=_0x1c591e['getCellLocation'](_0xa5a0a5);for(const _0x50845e of this['_tableSuggestions']){const _0x2993d2=_0x50845e['subType'],_0x1c5241=_0x2993d2['startsWith']('tablePaste'),_0x4eeb79=_0x2993d2['substr'](_0x1c5241?0xa:0x5),_0x24ae4a=_0x4eeb79['toLowerCase'](),_0x561711=_0x24ae4a['substr'](0x0,0x3)+'span',_0xd028e3='min'+_0x4eeb79,_0x4bb5b6='max'+_0x4eeb79;if(!_0x50845e['isInContent'])continue;if(_0x20c50e!=_0x50845e['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x50845e['isIntersectingWithRange'](_0x8e453b))continue;const _0x18b6e2=_0xa5a0a5['hasAttribute'](_0x561711)?_0xa5a0a5['getAttribute'](_0x561711)-0x1:0x0,_0x5adfaa=this['_getSuggestionCoords'](_0x50845e),_0x451623=_0x5adfaa[_0xd028e3],_0x43fe39=_0x5adfaa[_0x4bb5b6];_0x451623<=_0x2b350f[_0x24ae4a]&&_0x2b350f[_0x24ae4a]+_0x18b6e2<=_0x43fe39&&(_0x50845e['addRange'](_0x8e453b),_0x40f981=!0x0);}return _0x40f981;};_0x32eb58['model']['document']['registerPostFixer'](_0x27864a=>{let _0x2913ee=!0x1;for(const _0x1d174b of _0x32eb58['model']['document']['differ']['getChanges']())if('insert'==_0x1d174b['type']){if('tableRow'==_0x1d174b['name']){for(const _0x2e6f3a of _0x1d174b['position']['nodeAfter']['getChildren']())_0x2913ee=_0x2913ee||_0x54d3e2(_0x2e6f3a,_0x27864a);}else'tableCell'==_0x1d174b['name']&&(_0x2913ee=_0x2913ee||_0x54d3e2(_0x1d174b['position']['nodeAfter'],_0x27864a));}return _0x2913ee;});}['_getSuggestionCoords'](_0x36e39f){return this['_getCoordsForCells'](_0x36e39f['getRanges']()['map'](_0x139c88=>_0x139c88['start']['nodeAfter']));}}function _0x4d1afb(_0x2420d0){return Array['from'](new Set(_0x2420d0)['values']());}class TrackChangesTableMergeSplit extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x1d07cc];}['afterInit'](){const _0x8ff12b=this['editor'],_0x550af3=_0x8ff12b['model']['document']['selection'],_0x20f58b=_0x8ff12b['locale'];if(!_0x8ff12b['plugins']['has']('TableEditing'))return;const _0x38b772=_0x8ff12b['plugins']['get']('TrackChangesEditing'),_0x36741c=_0x8ff12b['plugins']['get']('TableUtils'),_0x5e448a=_0x8ff12b['plugins']['get'](_0x1d07cc);_0x5e448a['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x38b772['enableCommand']('mergeTableCells',()=>{const _0xb4f9b8=_0x36741c['getSelectionAffectedTableCells'](_0x8ff12b['model']['document']['selection']);_0x8ff12b['model']['change'](()=>{_0x38b772['markMultiRangeBlockFormat'](_0xb4f9b8,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x8ff12b['commands']['get']('mergeTableCells')['on']('execute',(_0x5e1c43,_0x45078c)=>{_0x8ff12b['commands']['get']('trackChanges')['value']&&(_0x45078c['length']>0x0&&_0x45078c[_0x45078c['length']-0x1]&&_0x45078c[_0x45078c['length']-0x1]['forceDefaultExecution']||_0x38b772['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x5e1c43['stop']());},{'priority':'highest'});for(const _0x16cbe4 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0xebc888=_0x8ff12b['commands']['get'](_0x16cbe4);_0x38b772['enableCommand'](_0x16cbe4,()=>{const _0x52320b=_0x8ff12b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x16b994=>_0x16b994['is']('element','tableCell')),_0x3f7dda=_0xebc888['value'];_0x8ff12b['model']['change'](()=>{_0x38b772['markMultiRangeBlockFormat']([_0x52320b,_0x3f7dda],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x5cdee2 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x47ff3f=_0x8ff12b['commands']['get'](_0x5cdee2);_0x38b772['enableCommand'](_0x5cdee2,()=>{const _0x314992=_0x36741c['getSelectionAffectedTableCells'](_0x8ff12b['model']['document']['selection'])[0x0],_0x133d03=_0x314992['findAncestor']('table'),{column:_0x4f5080,row:_0x543909}=_0x36741c['getCellLocation'](_0x314992);let _0x1658c0=[];if('horizontally'==_0x47ff3f['direction']){const _0x3bf429=_0x36741c['createTableWalker'](_0x133d03,{'startRow':_0x543909,'endRow':_0x543909,'includeAllSlots':!0x0});_0x1658c0=Array['from'](_0x3bf429)['map'](_0x1b846b=>_0x1b846b['cell']);}else{const _0x51f5dd=_0x36741c['createTableWalker'](_0x133d03,{'column':_0x4f5080,'includeAllSlots':!0x0});_0x1658c0=Array['from'](_0x51f5dd)['map'](_0x49fb22=>_0x49fb22['cell']);}_0x8ff12b['model']['change'](_0x24e6f6=>{_0x38b772['markBlockFormat'](_0x24e6f6['createRangeOn'](_0x314992),{'commandName':_0x5cdee2,'commandParams':[]},_0x1658c0,_0x5cdee2);});});}_0x38b772['descriptionFactory']['registerDescriptionCallback'](_0x5a12b2=>{if('formatBlock'!=_0x5a12b2['type']&&'formatInline'!=_0x5a12b2['type'])return;const {data:_0x4afeec}=_0x5a12b2;return _0x4afeec&&'mergeTableCells'==_0x4afeec['commandName']?{'type':'format','content':_0x56c4dc(_0x20f58b,'*Merge\x20cells*')}:void 0x0;}),_0x38b772['descriptionFactory']['registerDescriptionCallback'](_0x459276=>{if('formatBlock'!=_0x459276['type']&&'formatInline'!=_0x459276['type'])return;const {data:_0x3b0ec}=_0x459276;return _0x3b0ec?'splitTableCellVertically'==_0x3b0ec['commandName']?{'type':'format','content':_0x56c4dc(_0x20f58b,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x3b0ec['commandName']?{'type':'format','content':_0x56c4dc(_0x20f58b,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x1cf7d1=_0x5e448a['_acceptFormatSuggestionCallbackFactory']();for(const _0x2ee226 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x38b772['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2ee226,'accept',_0x1cf7d1);for(const _0x1e92d5 of['splitTableCellVertically','splitTableCellHorizontally'])_0x38b772['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1e92d5,'accept',_0x1cf7d1);_0x38b772['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x1adeaf=>{_0x8ff12b['model']['change'](_0x1036b6=>{const _0x37e476=Array['from'](_0x550af3['getRanges']())['map'](_0x40aad6=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x40aad6));_0x1036b6['setSelection'](_0x1adeaf),_0x8ff12b['commands']['get']('mergeTableCells')['refresh'](),_0x8ff12b['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0xf6d224=_0x37e476['filter'](_0x36ebc1=>'$graveyard'!=_0x36ebc1['root']['rootName']);_0xf6d224['length']>0x0&&_0x1036b6['setSelection'](_0xf6d224);for(const _0x1676eb of _0x37e476)_0x1676eb['detach']();});});for(const _0x39dd19 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x3d10ce=_0x8ff12b['commands']['get'](_0x39dd19);_0x3d10ce['on']('set:isEnabled',(_0x13a8f3,_0x3f5bc0,_0x49bd12)=>{if(_0x49bd12){const _0x1dd49d=_0x8ff12b['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x2cbb49=>_0x2cbb49['is']('element','tableCell'));this['_areMergableCells'](_0x3d10ce['value'],_0x1dd49d)||(_0x13a8f3['return']=!0x1,_0x13a8f3['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x49065c=this['editor']['commands']['get']('mergeTableCells'),_0x4c6cf2=this['editor']['plugins']['get']('TableUtils');if(!_0x49065c['isEnabled'])return!0x1;const _0x28da58=_0x4c6cf2['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x20b087 of _0x28da58)for(const _0x43a018 of _0x28da58)if(_0x20b087!=_0x43a018&&!this['_areMergableCells'](_0x20b087,_0x43a018))return!0x1;return!0x0;}['_areMergableCells'](_0x37600e,_0x40f5e){const _0x52bd9d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x32713f=this['editor']['model']['createRangeOn'](_0x37600e),_0x44cac8=this['editor']['model']['createRangeOn'](_0x40f5e),_0x1164d7=new Set(),_0xc1eda0=new Set();for(const _0xd02fe8 of _0x52bd9d['getSuggestions']())if(('insertion'==_0xd02fe8['type']||'deletion'==_0xd02fe8['type']||'mergeTableCells'==_0xd02fe8['subType'])&&_0xd02fe8['isInContent']){for(const _0x227dbf of _0xd02fe8['getRanges']())_0x227dbf['containsRange'](_0x32713f,!0x0)&&_0x1164d7['add'](_0xd02fe8['type']+':'+_0xd02fe8['author']['id']),_0x227dbf['containsRange'](_0x44cac8,!0x0)&&_0xc1eda0['add'](_0xd02fe8['type']+':'+_0xd02fe8['author']['id']);}if(_0x1164d7['size']!=_0xc1eda0['size'])return!0x1;for(const _0x1504bc of _0x1164d7)if(!_0xc1eda0['has'](_0x1504bc))return!0x1;return!0x0;}}class _0x35094e extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x1d07cc];}['afterInit'](){const _0x1c4dd2=this['editor'];if(!_0x1c4dd2['plugins']['has']('TableEditing'))return;const _0x53f064=_0x1c4dd2['locale'],_0x3d1a55=_0x1c4dd2['plugins']['get']('TrackChangesEditing');_0x3d1a55['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x3d1a55['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x3d1a55['descriptionFactory']['registerAttributeLabel']('headingRows',_0x56c4dc(_0x53f064,'FORMAT_HEADER_ROW')),_0x3d1a55['descriptionFactory']['registerAttributeLabel']('headingColumns',_0x56c4dc(_0x53f064,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x2c64de=this['editor']['plugins']['get']('TrackChangesEditing'),_0x500419=this['editor']['plugins']['get'](_0x1d07cc)['_acceptFormatSuggestionCallbackFactory']();_0x2c64de['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x500419),_0x2c64de['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x500419),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x2bbdef=this['editor']['plugins']['get']('TrackChangesEditing'),_0xaec901=this['editor']['plugins']['get']('TableUtils');function _0x16c517({showActiveMarker:_0x4d6825=!0x0,setDataAttribute:_0x26a3ce=!0x0}={}){return(_0x3617f2,_0x830a15,_0xcbb7fd)=>{const {type:_0x4183a9,id:_0x22bb26}=_0x2bbdef['_splitMarkerName'](_0x830a15['markerName']);if(!_0x2bbdef['hasSuggestion'](_0x22bb26))return;const _0xc58a21=_0x2bbdef['getSuggestion'](_0x22bb26),_0x11bc34=_0xc58a21['data'];if('formatBlock'!=_0xc58a21['type']||!_0x11bc34||'setTableColumnHeader'!=_0x11bc34['commandName'])return;if(_0x830a15['item'])return void _0x3617f2['stop']();if(!_0xcbb7fd['consumable']['consume'](_0x830a15['markerRange'],_0x3617f2['name']))return;const _0x5c6b1c=_0x830a15['markerRange']['start']['nodeAfter'],_0x2f6366=_0x830a15['markerRange']['end']['nodeBefore'],_0x2f77f0=_0x5c6b1c['parent']['parent'],{column:_0x28ab97}=_0xaec901['getCellLocation'](_0x5c6b1c),{column:_0xc055a}=_0xaec901['getCellLocation'](_0x2f6366);for(let _0x1f3833=_0x28ab97;_0x1f3833<=_0xc055a;_0x1f3833++){const _0x4b04b9=_0xaec901['createTableWalker'](_0x2f77f0,{'column':_0x1f3833,'includeAllSlots':!0x1});for(const _0x55bf0d of _0x4b04b9){const _0x4e250a=_0x55bf0d['cell'],_0x22f9de=_0xcbb7fd['mapper']['toViewElement'](_0x4e250a);_0xcbb7fd['writer']['addClass']('ck-suggestion-marker-'+_0x4183a9,_0x22f9de),_0x26a3ce&&_0xcbb7fd['writer']['setAttribute']('data-suggestion',_0x22bb26,_0x22f9de),_0xcbb7fd['mapper']['bindElementToMarker'](_0x22f9de,_0x830a15['markerName']),_0x4d6825&&(_0x2bbdef['activeMarkers']['includes'](_0x830a15['markerName'])?_0xcbb7fd['writer']['addClass']('ck-suggestion-marker--active',_0x22f9de):_0xcbb7fd['writer']['removeClass']('ck-suggestion-marker--active',_0x22f9de));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x16c517(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x44f3a9,_0x2e8d91,_0x33187f)=>{_0x33187f['options']['showSuggestionHighlights']&&_0x16c517({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x44f3a9,_0x2e8d91,_0x33187f);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x43bdb0,_0x15fe96,_0x1cd56f)=>{const {type:_0x564e33,id:_0x32b5aa}=_0x2bbdef['_splitMarkerName'](_0x15fe96['markerName']);if(!_0x2bbdef['hasSuggestion'](_0x32b5aa))return;const _0x2b5a39=_0x2bbdef['getSuggestion'](_0x32b5aa),_0x407edf=_0x2b5a39['data'];if('formatBlock'!=_0x2b5a39['type']||!_0x407edf||'setTableColumnHeader'!=_0x407edf['commandName'])return;const _0x6f62d9=_0x1cd56f['mapper']['markerNameToElements'](_0x15fe96['markerName']);if(_0x6f62d9){for(const _0xe35901 of _0x6f62d9)_0x1cd56f['writer']['removeClass']('ck-suggestion-marker-'+_0x564e33,_0xe35901),_0x1cd56f['writer']['removeClass']('ck-suggestion-marker--active',_0xe35901),_0x1cd56f['writer']['removeAttribute']('data-suggestion',_0xe35901),_0x1cd56f['mapper']['unbindElementFromMarkerName'](_0xe35901,_0x15fe96['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x166eb8=this['editor'],_0x24e112=_0x166eb8['locale'];function _0x51d4c9(_0x23b27c){return{'type':'format','content':_0x56c4dc(_0x24e112,'*Format:*\x20%0',_0x23b27c)};}_0x166eb8['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x750388=>{if('formatBlock'!=_0x750388['type'])return;const {data:_0x1200a4}=_0x750388;if(_0x1200a4){if('setTableRowHeader'==_0x1200a4['commandName']){const _0x1c6a2d=_0x1200a4['commandParams'][0x0]['forceValue'];return _0x51d4c9(_0x56c4dc(_0x24e112,_0x1c6a2d?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x1200a4['commandName']){const _0x2cdf9c=_0x1200a4['commandParams'][0x0]['forceValue'];return _0x51d4c9(_0x56c4dc(_0x24e112,_0x2cdf9c?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4627e9=this['editor'],_0x3abd65=_0x4627e9['locale'],_0x44ab53=_0x4627e9['plugins']['get']('TrackChangesEditing');function _0x56ad8e(_0x2ec943){return{'type':'format','content':''+_0x56c4dc(_0x3abd65,'*Set\x20table\x20type:*\x20%0',_0x2ec943)};}_0x4627e9['plugins']['has']('TableLayout')&&(_0x44ab53['enableCommand']('insertTableLayout'),_0x44ab53['enableDefaultAttributesIntegration']('tableType'),_0x44ab53['descriptionFactory']['registerElementLabel'](_0x1d8b94=>_0x1d8b94['is']('element','table')&&'layout'===_0x1d8b94['getAttribute']('tableType'),_0x2ed48d=>_0x56c4dc(_0x3abd65,'ELEMENT_LAYOUT_TABLE',_0x2ed48d)),_0x44ab53['descriptionFactory']['registerDescriptionCallback'](_0x5f4c14=>{const {data:_0x593120}=_0x5f4c14;if(_0x593120&&'tableType'==_0x593120['key'])switch(_0x593120['newValue']){case'layout':return _0x56ad8e(_0x56c4dc(_0x3abd65,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x56ad8e(_0x56c4dc(_0x3abd65,'ELEMENT_CONTENT_TABLE'));}}));}}const _0x1dabe6=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x241c40=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x1dabe6['map'](_0x54c8c5=>[_0x54c8c5,null]));class _0x90602e extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x1d07cc];}['afterInit'](){const _0x272c93=this['editor'];if(!_0x272c93['plugins']['has']('TableClipboard'))return;const _0x1ef862=_0x272c93['plugins']['get']('TrackChangesEditing'),_0x475a9e=_0x272c93['plugins']['get']('TableUtils'),_0x8088ed=_0x272c93['plugins']['get'](_0x1d07cc),_0x806a43=_0x272c93['plugins']['get']('TableClipboard'),_0x4aa3d8=_0x272c93['plugins']['get']('TableSelection'),_0x3db989=_0x272c93['plugins']['get'](_0xa0ed63['ClipboardPipeline']);_0x8088ed['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x272c93['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x272c93['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x4470e1=null,_0x360dde=!0x1;_0x3db989['on']('contentInsertion',(_0x406a8c,_0x20e74a)=>{_0x360dde='paste'===_0x20e74a['method'];}),_0x272c93['model']['on']('insertContent',(_0x574589,_0x271738)=>{if(!_0x360dde&&null===_0x4aa3d8['getSelectedTableCells']())return;const [_0x3fe236,_0x40902b]=_0x271738,_0x189d5c=_0x271738[_0x271738['length']-0x1];_0x189d5c&&_0x189d5c['forceDefaultExecution']||_0x1ef862['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x492a3b,_0xa357ba,_0xde6573,_0x2a7eed,_0xff272f){if(_0xa357ba&&!_0xa357ba['is']('documentSelection'))return!0x1;const _0x270b0f=_0xff272f['getTableIfOnlyTableInContent'](_0x492a3b,_0xde6573);if(!_0x270b0f||!_0x3d8caa(_0x270b0f,void 0x0,_0x2a7eed))return!0x1;const _0x4b80b9=_0x2a7eed['getSelectionAffectedTableCells'](_0xde6573['document']['selection']);if(!_0x4b80b9['length'])return!0x1;const _0x1e92f6=_0x4b80b9[0x0]['findAncestor']('table'),_0x112b04=_0x2a7eed['getRowIndexes'](_0x4b80b9),_0x56e9fc=_0x2a7eed['getColumnIndexes'](_0x4b80b9),_0x18e5de={'startRow':_0x112b04['first'],'endRow':_0x112b04['last'],'startColumn':_0x56e9fc['first'],'endColumn':_0x56e9fc['last']};return 0x1==_0x4b80b9['length']&&(_0x18e5de['endRow']+=_0x2a7eed['getRows'](_0x270b0f)-0x1,_0x18e5de['endColumn']+=_0x2a7eed['getColumns'](_0x270b0f)-0x1),_0x3d8caa(_0x1e92f6,_0x18e5de,_0x2a7eed);}(_0x3fe236,_0x40902b,_0x272c93['model'],_0x475a9e,_0x806a43)&&(_0x574589['stop'](),_0x4470e1={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x272c93['model']['change'](()=>{_0x272c93['model']['insertContent'](_0x271738[0x0],_0x271738[0x1],_0x271738[0x2],{'forceDefaultExecution':!0x0});const _0x33d576=_0xa0ed63['uid'](),{rowInsertionRanges:_0x268a63,columnInsertionRanges:_0x1aaffc,insertionRanges:_0xdad822,deletionRanges:_0x3bf183,cells:_0x41e34a}=_0x4470e1;_0x268a63['length']&&_0x1ef862['markMultiRangeInsertion'](_0x268a63,'tablePasteRow',{'tablePasteChainId':_0x33d576}),_0x1aaffc['length']&&_0x1ef862['markMultiRangeInsertion'](_0x1aaffc,'tablePasteColumn',{'tablePasteChainId':_0x33d576}),_0xdad822['length']&&(_0x1ef862['markMultiRangeInsertion'](_0xdad822,'tablePaste',{'tablePasteChainId':_0x33d576,'skipNestingCheck':!0x0}),_0xdad822['forEach'](_0x4b15a3=>_0x4b15a3['detach']?.())),_0x3bf183['length']&&(_0x1ef862['markMultiRangeDeletion'](_0x3bf183,'tablePaste',{'tablePasteChainId':_0x33d576,'skipNestingCheck':!0x0}),_0x3bf183['forEach'](_0x323b79=>_0x323b79['detach']?.()));const _0x2c92f2=_0x1ef862['markMultiRangeBlockFormat'](_0x41e34a['map'](({element:_0x23ec46})=>_0x23ec46),{'formatGroupId':_0xa0ed63['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x33d576});if(_0x2c92f2){const _0x179f83=_0x2c92f2['getMarkers'](),_0x1e9b2e=[];for(const {element:_0x3eaa59,attributes:_0x38fed7}of _0x41e34a){if(!_0x38fed7)continue;const _0x215288=_0x272c93['model']['createRangeOn'](_0x3eaa59),_0x20c633=_0x179f83['find'](_0xa36ab0=>_0xa36ab0['getRange']()['isEqual'](_0x215288));_0x20c633&&_0x1e9b2e['push']([_0x20c633['name'],_0x38fed7]);}_0x1e9b2e['length']&&_0x2c92f2['setAttribute']('markerAttributes',Object['fromEntries'](_0x1e9b2e));}_0x4470e1=null;}));},{'priority':_0xa0ed63['priorities']['high']+0xa}),_0x3db989['on']('contentInsertion',()=>{_0x360dde=!0x1;},{'priority':'lowest'}),_0x272c93['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x4b831d,_0x256e8b)=>{const [_0xa76247,_0xb478dd,,_0x4af52b]=_0x256e8b;if(!_0x4470e1)return;_0x4b831d['stop']();const _0x51f217=_0xa76247['cell'],_0x1d2fda=_0xb478dd,_0x12e228=_0x3b21e6(_0x51f217),_0x41d502=_0x3b21e6(_0x1d2fda);_0x4b831d['return']=_0x51f217;let _0x2dc30e=null,_0x986a09=null;if(_0x41d502||_0x12e228){if(_0x12e228&&!_0x41d502){_0x4af52b['remove'](_0x51f217['getChild'](0x0));for(const _0x1f5e2b of Array['from'](_0x1d2fda['getChildren']()))_0x4af52b['insert'](_0x1f5e2b,_0x51f217,'end');const _0x204497=_0x4470e1['rowInsertionIndexes']['includes'](_0xa76247['row']),_0x2c66d1=_0x4470e1['columnInsertionIndexes']['includes'](_0xa76247['column']);_0x204497||_0x2c66d1||(_0x2dc30e=_0xa0ed63['ModelLiveRange']['fromRange'](_0x4af52b['createRangeIn'](_0x51f217)));}else _0x41d502&&!_0x12e228&&(_0x986a09=_0x4af52b['createRangeIn'](_0x51f217));}else{const _0x4a56f7=_0x4af52b['createElement']('tableCellSuggestion'),_0x333358=_0x4af52b['createElement']('tableCellSuggestion');_0x4af52b['wrap'](_0x4af52b['createRangeIn'](_0x51f217),_0x333358),_0x4af52b['insert'](_0x4a56f7,_0x51f217,0x0);for(const _0x115304 of Array['from'](_0x1d2fda['getChildren']()))_0x4af52b['insert'](_0x115304,_0x4a56f7,'end');_0x2dc30e=_0xa0ed63['ModelLiveRange']['fromRange'](_0x4af52b['createRangeOn'](_0x4a56f7)),_0x986a09=_0xa0ed63['ModelLiveRange']['fromRange'](_0x4af52b['createRangeOn'](_0x333358));}const _0x348145=Array['from'](_0x1d2fda['getAttributes']())['filter'](([_0x4baf8e])=>_0x1dabe6['includes'](_0x4baf8e));_0x4470e1['cells']['push']({'element':_0x51f217,'attributes':_0x348145['length']?Object['fromEntries'](_0x348145):null}),_0x2dc30e&&_0x4470e1['insertionRanges']['push'](_0x2dc30e),_0x986a09&&_0x4470e1['deletionRanges']['push'](_0x986a09);},{'priority':'high'}),_0x475a9e['on']('insertColumns',(_0x999d2b,_0x247bd0)=>{const [_0x4d25d5,_0x596a76={}]=_0x247bd0;if(!_0x4470e1)return;const _0xffdadf=_0x596a76['at']||0x0,_0x226055=_0x596a76['columns']||0x1;_0x4470e1['columnInsertionIndexes']=new Array(_0x226055)['fill'](_0xffdadf)['map']((_0x7ae876,_0x2f3aaf)=>_0x7ae876+_0x2f3aaf);for(const {cell:_0x2b2224}of _0x475a9e['createTableWalker'](_0x4d25d5,{'startColumn':_0xffdadf,'endColumn':_0xffdadf+_0x226055-0x1}))_0x4470e1['columnInsertionRanges']['push'](_0x272c93['model']['createRangeOn'](_0x2b2224));},{'priority':'low'}),_0x475a9e['on']('insertRows',(_0x47e0c0,_0x21cd97)=>{const [_0x2aa3f4,_0x3473e9={}]=_0x21cd97;if(!_0x4470e1)return;const _0x319728=_0x3473e9['at']||0x0,_0x38ca01=_0x3473e9['rows']||0x1;_0x4470e1['rowInsertionIndexes']=new Array(_0x38ca01)['fill'](_0x319728)['map']((_0x31dae4,_0x32202b)=>_0x31dae4+_0x32202b);for(const {cell:_0x405b66}of _0x475a9e['createTableWalker'](_0x2aa3f4,{'startRow':_0x319728,'endRow':_0x319728+_0x38ca01-0x1}))_0x4470e1['rowInsertionRanges']['push'](_0x272c93['model']['createRangeOn'](_0x405b66));},{'priority':'low'}),_0x1ef862['descriptionFactory']['registerDescriptionCallback'](_0x2b8987=>{if(_0x2b8987['subType']&&_0x2b8987['subType']['startsWith']('tablePaste'))return _0x2b8987['previous']?{}:{'type':'insertion','content':_0x56c4dc(_0x272c93['locale'],'*Replace\x20table\x20cells*')};});const _0x43ae79=()=>!0x1;for(const _0x17848a of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x1ef862['_suggestionFactory']['registerCustomCallback']('insertion',_0x17848a,'join',_0x43ae79),_0x1ef862['_suggestionFactory']['registerCustomCallback']('deletion',_0x17848a,'join',_0x43ae79),_0x1ef862['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x17848a,'join',_0x43ae79);_0x1ef862['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x43ae79),_0x1ef862['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x1c4b49,_0x5b2d6e,_0x7e62ee)=>{const _0x3642de=_0x1c4b49['map'](_0x52f8f7=>_0x52f8f7['getContainedElement']())['filter'](_0x5254e=>_0x5254e),_0x3b709d=new Map(_0x3642de['map'](_0x4025a9=>[_0x4025a9,null]));if(_0x4470e1){for(const {element:_0x12ed60,attributes:_0x1af0c3}of _0x4470e1['cells'])_0x1af0c3&&_0x3b709d['set'](_0x12ed60,_0x1af0c3);}else{if(_0x7e62ee&&_0x7e62ee['markerAttributes'])for(const [_0x2bf604,_0x901cd1]of Object['entries'](_0x7e62ee['markerAttributes'])){const _0x221bcf=_0x272c93['model']['markers']['get'](_0x2bf604),_0x4320ff=_0x221bcf?_0x221bcf['getRange']()['getContainedElement']():null;_0x4320ff&&_0x3b709d['set'](_0x4320ff,_0x901cd1);}}_0x272c93['model']['change'](_0x31a38c=>{for(const [_0x4836ff,_0x44c2ad]of _0x3b709d)_0x31a38c['setAttributes']({..._0x241c40,..._0x44c2ad},_0x4836ff);});});const _0x41b09f=(_0x5c95c2,_0x1aef78)=>{_0x1ef862['_suggestionFactory']['registerCustomCallback'](_0x5c95c2,'tablePaste',_0x1aef78,(_0x5943eb,_0x90996,_0x12aba2)=>{_0x272c93['model']['change'](_0x56d5ba=>{const _0xf72c1e=[];for(const _0x26713d of _0x5943eb){const _0x4e6b9b=_0x26713d['start']['nodeAfter'];_0x4e6b9b['is']('element','tableCellSuggestion')&&_0xf72c1e['push'](_0x4e6b9b);}_0x1ef862['_suggestionFactory']['getSuggestionCallback'](_0x5c95c2,null,_0x1aef78)(_0x5943eb,_0x90996,_0x12aba2);for(const _0x1c8825 of _0xf72c1e)'$graveyard'!=_0x1c8825['root']['rootName']&&_0x56d5ba['unwrap'](_0x1c8825);});});};_0x41b09f('insertion','accept'),_0x41b09f('insertion','discard'),_0x41b09f('deletion','accept'),_0x41b09f('deletion','discard'),_0x1ef862['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x55a119=>{const _0x15991a=_0x55a119['map'](_0x4e028a=>_0x4e028a['getContainedElement']()),_0x24bf43=_0x15991a[0x0]['findAncestor']('table'),{minRow:_0x12ab6b,maxRow:_0x4fb794}=_0x8088ed['_getCoordsForCells'](_0x15991a);_0x475a9e['removeRows'](_0x24bf43,{'at':_0x12ab6b,'rows':_0x4fb794-_0x12ab6b+0x1});}),_0x1ef862['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x482fa1=>{const _0x1a906b=_0x482fa1['map'](_0x509619=>_0x509619['getContainedElement']()),_0x9cb5e=_0x1a906b[0x0]['findAncestor']('table'),{minColumn:_0x58f2f7,maxColumn:_0xe6995b}=_0x8088ed['_getCoordsForCells'](_0x1a906b);_0x475a9e['removeColumns'](_0x9cb5e,{'at':_0x58f2f7,'columns':_0xe6995b-_0x58f2f7+0x1});});const _0x2927a9=(_0x1e2b33,_0x34537c)=>{if(!_0x34537c['subType']||!_0x34537c['subType']['startsWith']('tablePaste'))return;const _0x4ca6bc=_0x34537c['attributes']['tablePasteChainId'],_0x531b51=_0x1ef862['getSuggestions']()['filter'](_0x3c09ad=>_0x3c09ad['isInContent']&&_0x3c09ad['attributes']&&_0x3c09ad['attributes']['tablePasteChainId']==_0x4ca6bc);_0x531b51['length']&&_0x34537c['getAllAdjacentSuggestions']()['length']!=_0x531b51['length']&&_0x531b51['reduce']((_0x54cad7,_0x442bff)=>(_0x54cad7['next']=_0x442bff,_0x442bff['previous']=_0x54cad7,_0x442bff));};function _0x123326(_0x31c3b2,_0x55ed8c=!0x0){const {id:_0x462695,authorId:_0x25777d}=_0x1ef862['_splitMarkerName'](_0x31c3b2['markerName']),_0xd1ba1c=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x59b5df=_0x1ef862['activeMarkers']['includes'](_0x31c3b2['markerName']);return _0x59b5df&&_0xd1ba1c['push']('ck-suggestion-marker--active'),{'classes':_0xd1ba1c,'attributes':{'data-suggestion':_0x462695,'data-author-id':_0x25777d},'priority':_0x59b5df&&_0x55ed8c?0xbc2:0xbb8};}_0x1ef862['on']('suggestionLoaded',_0x2927a9,{'priority':'high'}),_0x1ef862['on']('suggestionUnloaded',_0x2927a9,{'priority':'high'}),_0x272c93['model']['document']['registerPostFixer'](()=>{let _0x28aed7=!0x1;const _0xabde53=Array['from'](_0x272c93['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3dd42f,data:_0x5aa0f3}of _0xabde53){const {group:_0x15bd6f,type:_0x366ecb,id:_0x554372}=_0x1ef862['_splitMarkerName'](_0x3dd42f);if('suggestion'!=_0x15bd6f||'deletion'!=_0x366ecb||_0x5aa0f3['oldRange'])continue;if(!_0x1ef862['hasSuggestion'](_0x554372))continue;const _0x1edbfc=_0x1ef862['getSuggestion'](_0x554372)['getRanges'](),_0x18316b=_0x272c93['plugins']['get']('Users')['me'];for(const _0x4454f6 of _0x1ef862['getSuggestions']()){if(!_0x4454f6['isInContent']||_0x4454f6['author']!=_0x18316b)continue;if('formatBlock'!=_0x4454f6['type']||'tablePasteCell'!=_0x4454f6['subType'])continue;if(_0x4454f6['getRanges']()['every'](_0x360899=>_0x1edbfc['some'](_0x165749=>_0x165749['containsRange'](_0x360899,!0x0)))){for(const _0x2ca616 of _0x4454f6['getAllAdjacentSuggestions']())_0x2ca616['isInContent']&&(_0x2ca616['discard'](),_0x28aed7=!0x0);}}}return _0x28aed7;}),_0x272c93['model']['document']['registerPostFixer'](_0x5c0536=>{const _0xa3f58b=_0x272c93['commands']['get']('redo');if(!_0xa3f58b||!_0xa3f58b['_createdBatches']['has'](_0x5c0536['batch']))return!0x1;let _0x18d3b6=!0x1;const _0x3d780c=_0x272c93['plugins']['get']('Users')['me'],_0x394b48=_0x272c93['model']['document']['differ']['getChanges'](),_0x124d61=Array['from'](_0x272c93['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x51a075,data:_0xbf6026})=>{const {group:_0x4ee45b,subType:_0x167a13,authorId:_0x2d08cd}=_0x1ef862['_splitMarkerName'](_0x51a075);return'suggestion'==_0x4ee45b&&'tablePaste'==_0x167a13&&_0x2d08cd==_0x3d780c['id']&&!_0xbf6026['oldRange'];});for(const _0xcd7c94 of _0x394b48){if('insert'!=_0xcd7c94['type']||'tableCellSuggestion'!=_0xcd7c94['name']||0x1!=_0xcd7c94['length'])continue;const _0x2c28ce=_0x5c0536['createRange'](_0xcd7c94['position'],_0xcd7c94['position']['getShiftedBy'](0x1)),_0x3143bc=_0x124d61['find'](({data:_0x3cebcc})=>_0x3cebcc['newRange']['isEqual'](_0x2c28ce));if(!_0x3143bc){for(const {name:_0x4c0ce2,data:_0x1f4e8d}of _0x124d61)if(_0x2c28ce['containsRange'](_0x1f4e8d['newRange'])){_0x5c0536['updateMarker'](_0x4c0ce2,{'range':_0x2c28ce}),_0x18d3b6=!0x0;break;}}}return _0x18d3b6;}),_0x272c93['model']['document']['registerPostFixer'](_0x7b86a9=>{let _0x507f62=!0x1;const _0x275de7=_0x272c93['plugins']['get']('Users')['me'],_0x31b9b4=_0x1ef862['getSuggestions']()['filter'](_0x31700a=>_0x31700a['isInContent']&&_0x31700a['author']==_0x275de7),_0x56fc54=new Set(),_0x4d20da=new Set();for(const _0x23d968 of _0x31b9b4)if('tablePaste'==_0x23d968['subType'])for(const _0x530ce0 of _0x23d968['getMarkers']()){const _0x1f7856=_0x530ce0['getRange']()['getContainedElement']();if(_0x1f7856){if(_0x1f7856['is']('element','tableCellSuggestion')&&_0x3b21e6(_0x1f7856)){_0x23d968['removeMarker'](_0x530ce0['name']),_0x56fc54['add'](_0x1f7856),_0x507f62=!0x0;const _0x2c921f=_0x1f7856['nextSibling'],_0x4cd6ae=_0x1f7856['previousSibling'],_0x32ebda=_0x2c921f&&_0x2c921f['is']('element','tableCellSuggestion'),_0x380cd0=_0x4cd6ae&&_0x4cd6ae['is']('element','tableCellSuggestion');_0x32ebda&&!_0x56fc54['has'](_0x2c921f)&&_0x4d20da['add'](_0x2c921f),_0x380cd0&&!_0x56fc54['has'](_0x4cd6ae)&&_0x4d20da['add'](_0x4cd6ae);}else _0x1f7856['is']('element','paragraph')&&_0x1f7856['isEmpty']&&(_0x23d968['removeMarker'](_0x530ce0['name']),_0x507f62=!0x0);}}else{if('tablePasteCell'==_0x23d968['subType']){if(!_0x23d968['attributes']||!_0x23d968['attributes']['tablePasteChainId'])continue;const _0x25af10=_0x23d968['attributes']['markerAttributes'];if(_0x25af10&&Object['keys'](_0x25af10)['length'])continue;const _0x5bd95a=_0x23d968['attributes']['tablePasteChainId'];let _0x5208c9=!0x0,_0x462cb5=!0x0;for(const _0x1a8072 of _0x31b9b4)if(_0x1a8072['subType']&&_0x1a8072['subType']['startsWith']('tablePaste')){if(!_0x1a8072['attributes']['tablePasteChainId']){_0x462cb5=!0x1;break;}if(_0x1a8072['id']!=_0x23d968['id']&&_0x1a8072['attributes']['tablePasteChainId']==_0x5bd95a){_0x5208c9=!0x1;break;}}_0x462cb5&&_0x5208c9&&(_0x23d968['removeMarkers'](),_0x507f62=!0x0);}}for(const _0x251ba7 of _0x56fc54)_0x7b86a9['remove'](_0x251ba7);for(const _0x11a918 of _0x4d20da)_0x7b86a9['unwrap'](_0x11a918);return _0x507f62;}),_0x272c93['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x37480c=>_0x123326(_0x37480c),'converterPriority':'high'}),_0x272c93['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x418e44,_0x2227da)=>_0x2227da['options']['showSuggestionHighlights']?_0x123326(_0x418e44,!0x1):null,'converterPriority':'high'});const _0x4bc3ec=_0x272c93['editing']['view'];this['listenTo'](_0x4bc3ec['document'],'clipboardOutput',(_0x500a66,_0x491146)=>{const _0x4e9ead=[];for(const _0x3ac12e of _0x4bc3ec['createRangeIn'](_0x491146['content'])['getItems']())_0x3ac12e['is']('element','suggestion-td')&&_0x4e9ead['push'](_0x3ac12e);_0x4bc3ec['change'](_0x1b1752=>{for(const _0x4a1794 of _0x4e9ead)_0x1b1752['move'](_0x1b1752['createRangeIn'](_0x4a1794),_0x1b1752['createPositionBefore'](_0x4a1794)),_0x1b1752['remove'](_0x4a1794);});});}}function _0x3b21e6(_0x4ee464){if(_0x4ee464['isEmpty'])return!0x0;const _0x5c5b67=_0x4ee464['getChild'](0x0);return _0x5c5b67['is']('element','paragraph')&&_0x5c5b67['isEmpty'];}function _0x3d8caa(_0x5c6b2f,_0x5a0679={},_0x49cfaa){for(const {isAnchor:_0x528bec,cellHeight:_0x1c448e,cellWidth:_0x5b19b0}of _0x49cfaa['createTableWalker'](_0x5c6b2f,{'includeAllSlots':!0x0,..._0x5a0679}))if(!_0x528bec||0x1!=_0x1c448e||0x1!=_0x5b19b0)return!0x1;return!0x0;}class _0x3ed06c extends _0xa0ed63['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0xa04a6f=this['editor']['plugins']['get']('TrackChangesEditing');_0xa04a6f['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0xa04a6f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0xa04a6f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0xa04a6f['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0xa04a6f['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0xa04a6f['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x32cca1,_0x1d6292){const _0x3513a7=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3c57e7=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x443ca5=_0x1d6292['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x1ab226=_0x3c57e7['getColumnGroupElement'](_0x443ca5);let _0x3f7cc2=_0x1ab226?_0x3c57e7['getTableColumnsWidths'](_0x1ab226):null,_0x296bce=_0x443ca5['getAttribute']('tableWidth')||null;const _0x16cab8=_0x1d6292['tableWidth']||_0x296bce,_0x5a57b1=_0x1d6292['columnWidths']||_0x3f7cc2,_0x14520f=this['editor']['plugins']['get']('Users')['me'];for(const _0x25f173 of _0x3513a7['getSuggestions']()){const _0x4c507f=_0x25f173['getContainedElement']();if('resizeTable'===_0x25f173['subType']&&_0x4c507f===_0x443ca5){_0x25f173['author']!==_0x14520f&&_0x25f173['discard']();const _0x3c711a=_0x25f173['data']['commandParams'];_0x296bce=_0x3c711a[0x0]['tableWidth'],_0x3f7cc2=_0x3c711a[0x0]['columnWidths'];break;}}_0x32cca1({'table':_0x443ca5,'tableWidth':_0x16cab8,'columnWidths':_0x5a57b1}),_0x3513a7['markBlockFormat'](_0x443ca5,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x296bce,'columnWidths':_0x3f7cc2}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5e7040){if('formatBlock'!=_0x5e7040['type']&&'formatInline'!=_0x5e7040['type'])return;const {data:_0x86b86f}=_0x5e7040;if(_0x86b86f&&'resizeTable'===_0x86b86f['formatGroupId']){const _0x39805a='*Format:*\x20resize\x20table';return{'type':'format','content':_0x56c4dc(this['editor']['locale'],_0x39805a)};}}}class TrackChangesTemplate extends _0xa0ed63['Plugin']{['afterInit'](){const _0x142ca5=this['editor'];_0x142ca5['plugins']['has']('Template')&&_0x142ca5['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0xa0ed63['Plugin']{['afterInit'](){const _0x4693e8=this['editor'];if(!_0x4693e8['commands']['get']('insertTableOfContents'))return;_0x4693e8['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x14e579=_0x4693e8['plugins']['get']('TrackChangesEditing'),_0x261c24=_0x4693e8['locale'];_0x14e579['descriptionFactory']['registerElementLabel']('tableOfContents',_0x498c87=>_0x56c4dc(_0x261c24,'ELEMENT_TABLE_OF_CONTENTS',_0x498c87));}}class TrackChangesTitle extends _0xa0ed63['Plugin']{['afterInit'](){const _0x35989a=this['editor'];if(!_0x35989a['plugins']['has']('Title'))return;const _0x1a8b1e=_0x35989a['plugins']['get']('TrackChangesEditing');_0x1a8b1e['descriptionFactory']['registerElementLabel']('title-content',()=>_0x56c4dc(_0x35989a['locale'],'ELEMENT_TITLE')),_0x35989a['model']['document']['registerPostFixer'](_0x1747ef=>{let _0x4050af=!0x1;const _0x5520ce=Array['from'](_0x35989a['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x2f141f,data:_0x493fc1}of _0x5520ce){const {group:_0x15f0f1}=_0x1a8b1e['_splitMarkerName'](_0x2f141f);if('suggestion'!==_0x15f0f1||!_0x493fc1['newRange'])continue;const _0x151bcd=_0x493fc1['newRange'],_0x3872a6=_0x151bcd['end']['nodeBefore'];if(!_0x3872a6||!_0x3872a6['is']('element','title-content'))continue;if(!_0x151bcd['start']['isTouching'](_0x151bcd['end']))continue;const _0x2ccda4=_0x35989a['model']['schema']['getNearestSelectionRange'](_0x151bcd['end'],'forward');if(_0x2ccda4&&_0x2ccda4['isCollapsed']){const _0x3ff6db=_0x1747ef['createRange'](_0x151bcd['start'],_0x2ccda4['start']);_0x3ff6db['isEqual'](_0x151bcd)||(_0x1747ef['updateMarker'](_0x2f141f,{'range':_0x3ff6db}),_0x4050af=!0x0);}_0x4050af||(_0x1747ef['removeMarker'](_0x2f141f),_0x4050af=!0x0);}return _0x4050af;});}}class _0x5af655 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x397dd5=this['editor'],_0x30b38c=_0x397dd5['plugins']['get']('TrackChangesEditing');_0x397dd5['plugins']['has']('Uploadcare')&&(_0x30b38c['enableCommand']('uploadcare'),_0x397dd5['plugins']['has']('UploadcareImageEdit')&&(_0x30b38c['enableCommand']('uploadcareImageEdit'),_0x30b38c['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x30b38c['descriptionFactory']['registerDescriptionCallback'](_0xe0cbdb=>{if('attribute'!=_0xe0cbdb['type'])return;const {data:_0x19b4d4}=_0xe0cbdb;return _0x19b4d4&&'uploadcareImageId'==_0x19b4d4['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x3b27a6 extends _0xa0ed63['Plugin']{['afterInit'](){const _0x51a92e=this['editor'],_0x3382e7=_0x51a92e['plugins']['get']('TrackChangesEditing');_0x51a92e['plugins']['has']('UndoEditing')&&(_0x3382e7['enableCommand']('undo'),_0x3382e7['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0xa0ed63['Plugin']{static get['requires'](){return[_0x1d07cc];}['afterInit'](){const _0x369fe7=this['editor'];if(!_0x369fe7['plugins']['has']('TableCaptionEditing'))return;_0x369fe7['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0xa0ed63['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x508030){super(_0x508030),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x508030['config']['get']('experimentalFlags.tableCellTypeSupport')&&this['tableCellProperties']['push']('tableCellType');}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1d6b00=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x228b0e of this['tableProperties'])_0x1d6b00['enableCommand'](_0x228b0e,(_0x47c952,_0x9eb067)=>{const _0x43b33a=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x228b0e,[_0x43b33a],this['tableProperties'],'tableProperties',_0x47c952,_0x9eb067);});_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x1d6b00['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0xcccafe,_0x5b38d3)=>this['handleDiscardAction'](this['tableProperties'],_0xcccafe,_0x5b38d3)),_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x4d045c of this['tableCellProperties'])this['editor']['commands']['get'](_0x4d045c)&&_0x1d6b00['enableCommand'](_0x4d045c,(_0x5082e1,_0xa16ddc)=>{const _0x2735a7=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x4d045c,_0x2735a7,this['tableCellProperties'],'tableCellProperties',_0x5082e1,_0xa16ddc);});_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x1d6b00['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x26cda9,_0x42c080)=>this['handleDiscardAction'](this['tableCellProperties'],_0x26cda9,_0x42c080)),_0x1d6b00['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x1d6b00['descriptionFactory']['registerAttributeLabel']('tableCellType',_0x56c4dc(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x1d6b00['descriptionFactory']['registerDescriptionCallback'](_0xe2e294=>this['handleSuggestionDescription'](_0xe2e294)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x174a2a,_0x3e4e38,_0x54678c,_0x336174,_0x4cc0bc,_0x4a8b82){const _0x52594e=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x4a8b82['batch'],()=>{for(const _0x20bfc5 of _0x3e4e38){if(this['_getSuggestion'](_0x20bfc5,_0x336174))_0x4cc0bc(_0x4a8b82);else{const _0x758314={};for(const _0x4cd4ef of _0x54678c){const _0x129cc3=_0x20bfc5['getAttribute'](_0x4cd4ef);void 0x0!==_0x129cc3&&(_0x758314[_0x4cd4ef]=_0x129cc3);}_0x4cc0bc(_0x4a8b82),_0x52594e['markBlockFormat'](_0x20bfc5,{'commandParams':[_0x758314]},[],_0x336174);}}});}['handleDiscardAction'](_0x11ac98,_0x4f6125,_0x51e792){const _0x1feb2b=_0x4f6125[0x0]['start']['nodeAfter'],_0x2a79f9=_0x51e792['commandParams'][0x0];this['editor']['model']['change'](_0xf31d71=>{for(const _0x463c28 of _0x11ac98)void 0x0!==_0x2a79f9[_0x463c28]?_0xf31d71['setAttribute'](_0x463c28,_0x2a79f9[_0x463c28],_0x1feb2b):_0xf31d71['removeAttribute'](_0x463c28,_0x1feb2b);});}['handleSuggestionDescription'](_0x1681b4){if(_0x1681b4['data'])switch(_0x1681b4['subType']){case'tableProperties':return{'type':'format','content':_0x56c4dc(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x56c4dc(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0xaaafe1,_0x4531d2){const _0x1099d0=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x4e852f of _0x1099d0['getSuggestions']({'skipNotAttached':!0x0})){const _0x41ed03=_0x4e852f['getContainedElement']();if(_0x4e852f['subType']===_0x4531d2&&_0x41ed03===_0xaaafe1)return _0x4e852f;}return null;}['_registerTablePropertiesAttributes'](){const _0x59e60d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x23ce31=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x1dae71 of _0x23ce31){const _0x27e1c3=_0x1dae71['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x59e60d['descriptionFactory']['registerAttributeLabel'](_0x1dae71,_0x56c4dc(this['editor']['locale'],'FORMAT_'+_0x27e1c3));}}}class TrackChangesLineHeight extends _0xa0ed63['Plugin']{['afterInit'](){const _0xda5a11=this['editor'];if(!_0xda5a11['plugins']['has']('LineHeight'))return;const _0x2b86f8=_0xda5a11['plugins']['get']('TrackChangesEditing'),_0x179ca3=_0xda5a11['locale'];_0x2b86f8['enableDefaultAttributesIntegration']('lineHeight'),_0x2b86f8['descriptionFactory']['registerAttributeLabel']('lineHeight',_0x56c4dc(_0x179ca3,'FORMAT_LINE_HEIGHT'));}}const _0x37899b='$elementName';class TrackChangesEditing extends _0xa0ed63['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,_0x16ef47,_0xa0ed63['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x5a12d4,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x53122a,_0x3b5b90,_0x5db768,_0x5a8462,TrackChangesComments,TrackChangesDeleteCommand,_0x40f931,TrackChangesEnterCommand,_0x553f04,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x362e06,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x13e722,TrackChangesImageStyle,_0x4a0b9b,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x291203,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x56987d,TrackChangesMention,_0x191e08,_0x521cb5,_0x3e2123,_0x2ee675,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x1d07cc,TrackChangesTableMergeSplit,_0x35094e,TrackChangesTableLayout,TrackChangesTableCaption,_0x90602e,_0x3ed06c,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x5af655,_0x3b27a6];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4edd00){super(_0x4edd00),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x4c0c82,_0x1938e9,_0x1656d0,_0x45de5a)=>{this['_model']['change'](()=>{for(const _0x129445 of[..._0x45de5a,..._0x1656d0])this['_model']['markers']['has'](_0x129445)&&_0x4edd00['editing']['reconvertMarker'](_0x129445);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x4edd00['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x4edd00['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x4edd00['config']['get']('trackChanges.trackFormatChanges'),_0x4edd00['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x4edd00['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x4430a0(_0x4edd00,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x3e46ff=this['editor'];_0x3e46ff['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x28e0f2,{writer:_0xbd0849})=>{let _0x57216e='suggestion:'+_0x28e0f2['getAttribute']('suggestion-type')+':'+_0x28e0f2['getAttribute']('id');return _0x28e0f2['getAttribute']('marker-count')&&(_0x57216e+=':'+_0x28e0f2['getAttribute']('marker-count')),_0xbd0849['createElement']('$marker',{'data-name':_0x57216e});}}),_0x3e46ff['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x3e46ff['model']['document']['registerPostFixer'](_0x1b042c=>{let _0x5f31e4=!0x1;const _0x1b3304=Array['from'](_0x3e46ff['model']['document']['differ']['getChangedMarkers']()),_0x56a1fd=new Set();for(const {name:_0x4397c0,data:_0xe68f6c}of _0x1b3304){const {group:_0x534b52,type:_0x1abdc7,subType:_0x26ede8,id:_0x100576}=this['_splitMarkerName'](_0x4397c0);if('suggestion'!==_0x534b52)continue;const _0x4f320b=_0x26ede8?'suggestion:'+_0x1abdc7+':'+_0x26ede8+':'+_0x100576:'suggestion:'+_0x1abdc7+':'+_0x100576,_0x5eb834=_0x3e46ff['model']['markers']['getMarkersGroup'](_0x4f320b),_0x4e7021=_0x3e46ff['model']['markers']['get'](_0x4397c0),_0x18ab32=this['_suggestions']['get'](_0x100576);if(null!=_0xe68f6c['newRange']){'formatInline'==_0x1abdc7&&(_0x5f31e4=_0x5f31e4||_0x3b9b37(_0xe68f6c['newRange'],_0x4397c0,_0x1b042c,_0x3e46ff['model']['schema']));const _0x57e85b='attribute'==_0x1abdc7&&this['_isBlockAttribute'](_0x26ede8['split']('|')[0x0]),_0x2538eb='attribute'==_0x1abdc7&&this['_isInlineAttribute'](_0x26ede8['split']('|')[0x0]);if(_0xe68f6c['newRange']['isCollapsed']||'$graveyard'==_0xe68f6c['newRange']['root']['rootName']||'formatBlock'==_0x1abdc7&&!_0x137c82(_0xe68f6c['newRange'])||_0x57e85b&&!_0x137c82(_0xe68f6c['newRange'])||_0x2538eb&&_0x5efdef(_0xe68f6c['newRange'])||'deletion'==_0x1abdc7&&_0x5efdef(_0xe68f6c['newRange'])||_0x4e7021&&_0x414dd2(_0x4e7021,_0x5eb834))_0x1b042c['removeMarker'](_0x4397c0),_0x5f31e4=!0x0;else{if(!_0x18ab32||!_0x18ab32['isInContent'])continue;if(_0xe68f6c['newRange']&&_0xe68f6c['oldRange']&&_0xe68f6c['newRange']['isEqual'](_0xe68f6c['oldRange']))continue;_0x56a1fd['add'](_0x18ab32);}}}return _0x56a1fd['size']>0x0&&(_0x5f31e4=!!this['_joinWithAdjacentSuggestions'](_0x56a1fd)||_0x5f31e4),_0x5f31e4;}),_0x3e46ff['model']['document']['registerPostFixer'](_0x15590f=>{let _0x1dfe2a=!0x1;for(const _0xa5bb23 of _0x3e46ff['model']['document']['differ']['getChanges']())if('insert'==_0xa5bb23['type'])for(const _0x6db1b4 of this['_suggestions']['values']()){if(_0x6db1b4['isMultiRange']||!_0x6db1b4['isInContent'])continue;const _0x4fd792='formatBlock'==_0x6db1b4['type'],_0x34f852=this['_getAttributeKey'](_0x6db1b4),_0x505440=_0x34f852&&this['_isBlockAttribute'](_0x34f852);if(!_0x4fd792&&!_0x505440)continue;const _0x47cee9=_0x6db1b4['getFirstRange']();if(_0x47cee9['start']['parent']!=_0x47cee9['end']['parent']&&!_0x47cee9['end']['isAtEnd']){const _0x359969=_0x3e46ff['model']['createPositionAt'](_0x47cee9['start']['nodeAfter'],'end'),_0xdf2da5=_0x3e46ff['model']['createRange'](_0x47cee9['start'],_0x359969);_0x15590f['updateMarker'](_0x6db1b4['getFirstMarker'](),{'range':_0xdf2da5}),_0x1dfe2a=!0x0;}}return _0x1dfe2a;}),_0x3e46ff['model']['document']['registerPostFixer'](_0x568343=>this['_processAttributeChanges'](_0x568343)),_0x3e46ff['model']['document']['registerPostFixer'](_0x2eeb7e=>!_0x2eeb7e['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x2eeb7e)),_0x3e46ff['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x3e46ff['model']['document']['on']('change:data',(_0x4a44c9,_0x79d0ed)=>{if(!_0x79d0ed['isLocal']||_0x79d0ed['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x48e619=_0x3e46ff['model']['document']['differ']['getChanges']();if(0x0==_0x48e619['length'])return;const _0x24ced8=[],_0x5cd5cb=_0x48e619['filter'](_0x3093cd=>'attribute'==_0x3093cd['type']),_0x1c98ad=_0x48e619['filter'](_0x59b249=>'insert'==_0x59b249['type']&&'$text'!=_0x59b249['name']);for(const _0xd7661d of _0x5cd5cb)this['_isRegisteredAttribute'](_0xd7661d['attributeKey'])&&_0x24ced8['push']({'key':_0xd7661d['attributeKey'],'newValue':_0xd7661d['attributeNewValue'],'oldValue':_0xd7661d['attributeOldValue'],'range':_0x504305(_0xd7661d['range'],_0x3e46ff['model'])});for(const _0x29c159 of _0x1c98ad){if('rename'!=_0x29c159['action']&&'refresh'!=_0x29c159['action'])continue;const _0x3dd231=_0x27efdf(_0x29c159['position']['nodeAfter'],_0x3e46ff['model']),_0x4aaeaf=_0x29c159['before'];'rename'==_0x29c159['action']&&_0x24ced8['push']({'key':_0x37899b,'newValue':_0x29c159['name'],'oldValue':_0x4aaeaf['name'],'range':_0x3dd231});for(const [_0x108c0a,_0x48cce6]of _0x4aaeaf['attributes']){if(!this['_isRegisteredAttribute'](_0x108c0a))continue;const _0x1dfc0e=_0x29c159['attributes']['get'](_0x108c0a);_0x48cce6!==_0x1dfc0e&&_0x24ced8['push']({'key':_0x108c0a,'newValue':_0x1dfc0e,'oldValue':_0x48cce6,'range':_0x3dd231});}for(const [_0x275139,_0x2eeb90]of _0x29c159['attributes'])this['_isRegisteredAttribute'](_0x275139)&&(_0x4aaeaf['attributes']['has'](_0x275139)||_0x24ced8['push']({'key':_0x275139,'newValue':_0x2eeb90,'oldValue':null,'range':_0x3dd231}));}0x0!=_0x24ced8['length']&&_0x3e46ff['model']['enqueueChange'](_0x79d0ed,_0xf6f2ae=>{const _0x24242a=_0xa0ed63['uid']();for(const {range:_0x3e3c5c,key:_0x2687af,oldValue:_0x24018d,newValue:_0xedf890}of _0x24ced8)this['markAttributeChange'](_0x3e3c5c,_0x2687af,_0x24018d,_0xedf890,{'groupId':_0x24242a});this['_reduceExistingSuggestions'](_0xf6f2ae,_0x24ced8);});},{'priority':'lowest'}),_0x3e46ff['model']['markers']['on']('update:suggestion',(_0x43681d,_0x4873c5,_0x405674)=>{if(null==_0x405674){const {id:_0x3a8786}=this['_splitMarkerName'](_0x4873c5['name']),_0x522b07=this['_suggestions']['get'](_0x3a8786);_0x522b07&&_0x522b07['addMarkerName'](_0x4873c5['name']);}}),_0x3e46ff['model']['document']['on']('change:data',()=>{const _0x2dd508=Array['from'](_0x3e46ff['model']['document']['differ']['getChangedMarkers']())['filter'](_0x4c6727=>'suggestion'===this['_splitMarkerName'](_0x4c6727['name'])['group']);if(0x0===_0x2dd508['length'])return;_0x2dd508['sort']((_0x2c5210,_0x390d55)=>{const _0x336d19=_0x2c5210['data']['oldRange'],_0x4f33ef=_0x390d55['data']['oldRange'];return null===_0x336d19&&null===_0x4f33ef?0x0:null===_0x336d19&&null!==_0x4f33ef?-0x1:null!==_0x336d19&&null===_0x4f33ef?0x1:_0x336d19['start']['isBefore'](_0x4f33ef['start'])?-0x1:0x1;});const _0xa6488a=new Set(),_0x34a8f9=new Set();for(const {name:_0x3f3e9c,data:_0xdc30d6}of _0x2dd508){const {id:_0x587382}=this['_splitMarkerName'](_0x3f3e9c);if(null===_0xdc30d6['oldRange']){const _0x26c4ed=this['_handleNewSuggestionMarker'](_0x3f3e9c);_0x34a8f9['add'](_0x26c4ed);}else{const _0x38754c=this['_suggestions']['get'](_0x587382);null!==_0xdc30d6['newRange']||_0x38754c['isInContent']?(_0xa6488a['add'](_0x38754c['head']),_0x34a8f9['add'](_0x38754c)):this['_removeSuggestion'](_0x38754c);}}_0x34a8f9['size']>0x0&&this['_refreshSuggestionsChain'](_0x34a8f9);for(const _0x4407dc of _0xa6488a)this['fire']('suggestionChanged',_0x4407dc);}),_0x3e46ff['model']['on']('applyOperation',(_0x57438d,_0x181213)=>{const _0x594dba=_0x181213[0x0];if(!this['_suggestions']['size'])return;if(!_0x594dba['isDocumentOperation'])return;if(_0x594dba['batch']['isUndo']||!_0x594dba['batch']['isLocal'])return;let _0x4b4c94,_0x167e29;switch(_0x594dba['type']){case'insert':_0x4b4c94=_0x3e46ff['model']['createPositionAt'](_0x594dba['position']),_0x167e29=_0x4b4c94['getShiftedBy'](_0x594dba['howMany']);break;case'split':_0x4b4c94=_0x3e46ff['model']['createPositionAt'](_0x594dba['splitPosition']),_0x167e29=_0x3e46ff['model']['createPositionAt'](_0x594dba['moveTargetPosition']);break;case'move':_0x4b4c94=_0x3e46ff['model']['createPositionAt'](_0x594dba['targetPosition']),_0x167e29=_0x4b4c94['getShiftedBy'](_0x594dba['howMany']);break;default:return;}const _0x5dceae=_0x3e46ff['model']['createRange'](_0x4b4c94,_0x167e29);_0x3e46ff['model']['change'](()=>{for(const {suggestion:_0x170e0d,meta:_0x1de132}of this['_findSuggestions'](_0x5dceae)){if(_0x170e0d['isMultiRange'])continue;if('formatInline'==_0x170e0d['type'])continue;const _0x5b4819=this['_getAttributeKey'](_0x170e0d);if(_0x5b4819&&this['_isBlockAttribute'](_0x5b4819)&&'split'!=_0x594dba['type'])continue;const _0x48efe0=_0x170e0d['data']&&_0x170e0d['data']['multipleBlocks'];('formatBlock'!=_0x170e0d['type']||'split'==_0x594dba['type']&&!_0x48efe0)&&(_0x1de132['containsRangeInObject']||'insertion'==_0x170e0d['type']&&_0x1de132['isOwn']||_0x170e0d['getFirstRange']()['containsRange'](_0x5dceae)&&this['_breakSuggestionMarker'](_0x170e0d,_0x4b4c94,_0x167e29));}});},{'priority':'lowest'}),_0x3e46ff['model']['on']('deleteContent',(_0x1a7f36,_0x590679)=>{const _0x5cc0e9=_0x590679[0x0],_0x31659b=_0x590679[0x1];if(_0x31659b&&_0x31659b['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x5cc0e9['isCollapsed'])return;const _0x5dc444=_0x3e46ff['model']['schema'],{start:_0xf516e4,end:_0x4c0e2e}=_0x5cc0e9['getFirstRange'](),_0x230eb6=_0xf516e4['nodeAfter']&&_0x5dc444['isLimit'](_0xf516e4['nodeAfter'])?null:_0x5dc444['getNearestSelectionRange'](_0xf516e4,'forward'),_0x318227=_0x4c0e2e['nodeBefore']&&_0x5dc444['isLimit'](_0x4c0e2e['nodeBefore'])?null:_0x5dc444['getNearestSelectionRange'](_0x4c0e2e,'backward'),_0x2d6baf=_0x3e46ff['model']['createRange'](_0x230eb6?_0x230eb6['start']:_0xf516e4,_0x318227?_0x318227['end']:_0x4c0e2e);_0x3e46ff['model']['change'](_0x2089c8=>{this['markDeletion'](_0x2d6baf);const _0x6a8c0a=_0x3e46ff['model']['schema']['getNearestSelectionRange'](_0x2d6baf['start']);_0x5cc0e9['is']('documentSelection')?_0x2089c8['setSelection'](_0x6a8c0a):_0x5cc0e9['setTo'](_0x6a8c0a);}),_0x1a7f36['stop']();},{'priority':_0xa0ed63['priorities']['normal']+0xa}),_0x3e46ff['model']['on']('insertContent',(_0x1aea21,_0x4963b2)=>{const _0x25db61=_0x4963b2[_0x4963b2['length']-0x1];_0x25db61&&_0x25db61['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x3e46ff['model']['change'](()=>{let _0x1e4c0f=_0x3e46ff['model']['insertContent'](_0x4963b2[0x0],_0x4963b2[0x1],_0x4963b2[0x2],{'forceDefaultExecution':!0x0});if(!_0x1e4c0f)return;_0x1aea21['return']=_0x1e4c0f['clone']();const _0x1da8b8=_0x1e4c0f['end']['nodeBefore'],_0x1341a9=_0x3e46ff['model']['schema'];_0x1da8b8&&_0x1341a9['isBlock'](_0x1da8b8)&&!_0x1341a9['isObject'](_0x1da8b8)&&(_0x1e4c0f=_0x3e46ff['model']['createRange'](_0x1e4c0f['start'],_0x3e46ff['model']['createPositionAt'](_0x1da8b8,'end'))),this['markInsertion'](_0x1e4c0f);}),_0x1aea21['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x65ec19=new AcceptSuggestionCommand(_0x3e46ff,this['_suggestions']);_0x3e46ff['commands']['add']('acceptSuggestion',_0x65ec19),this['enableCommand']('acceptSuggestion');const _0x1b6439=new DiscardSuggestionCommand(_0x3e46ff,this['_suggestions']);_0x3e46ff['commands']['add']('discardSuggestion',_0x1b6439),this['enableCommand']('discardSuggestion'),_0x3e46ff['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3e46ff,_0x65ec19,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x3e46ff['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x3e46ff,_0x1b6439,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x3e46ff['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3e46ff,_0x65ec19,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x3e46ff['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x3e46ff,_0x1b6439,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x5e88ff=_0x3e46ff['plugins']['get']('CommentsRepository');this['listenTo'](_0x5e88ff,'addComment',(_0x757f9b,{threadId:_0x5b3a00})=>{const _0x10769f=this['_suggestions']['get'](_0x5b3a00);_0x10769f&&_0x10769f['commentThread']&&0x1===_0x10769f['commentThread']['length']&&this['_updateSuggestionData'](_0x5b3a00,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x5e88ff,'removeComment',(_0x23d6b0,{threadId:_0x588522})=>{const _0xe3bb89=this['_suggestions']['get'](_0x588522);_0xe3bb89&&_0xe3bb89['commentThread']&&!_0xe3bb89['commentThread']['length']&&this['_updateSuggestionData'](_0x588522,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x10da8d){const _0x589c95=_0x2270f1([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x551d3d=0x3d8d0df,_0x204acf=0x3df5f1f^_0x551d3d,_0x260d7e=window[_0x2270f1([0x44,0x61,0x74,0x65])][_0x2270f1([0x6e,0x6f,0x77])](),_0xc5bf6e=_0x10da8d[_0x2270f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x375f92=new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45fde1=>{_0xc5bf6e[_0x2270f1([0x6f,0x6e,0x63,0x65])](_0x2270f1([0x72,0x65,0x61,0x64,0x79]),_0x45fde1);}),_0x28d515={[_0x2270f1([0x6b,0x74,0x79])]:_0x2270f1([0x45,0x43]),[_0x2270f1([0x75,0x73,0x65])]:_0x2270f1([0x73,0x69,0x67]),[_0x2270f1([0x63,0x72,0x76])]:_0x2270f1([0x50,0x2d,0x32,0x35,0x36]),[_0x2270f1([0x78])]:_0x2270f1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2270f1([0x79])]:_0x2270f1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2270f1([0x61,0x6c,0x67])]:_0x2270f1([0x45,0x53,0x32,0x35,0x36])},_0x180398=_0xc5bf6e[_0x2270f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2270f1([0x67,0x65,0x74])](_0x2270f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40915e(){let _0x1a31f7,_0x3c944c=null,_0x14824e=null;try{if(_0x180398==_0x2270f1([0x47,0x50,0x4c]))return _0x2270f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a31f7=_0x4c847c(),!_0x1a31f7)return _0x2270f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a31f7[_0x2270f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14824e=_0x16347d(_0x1a31f7[_0x2270f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a31f7[_0x2270f1([0x6a,0x74,0x69])])),await _0x2f799c()?_0x39ae77()?_0xcfb587()?_0x2270f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29fdf2()?(_0x1a31f7[_0x2270f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2270f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c944c=_0x10176f(_0x2270f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc12800()):_0x2270f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2270f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2270f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2270f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xcfb587(){const _0x53bac4=[_0x2270f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2270f1([0x74,0x72,0x69,0x61,0x6c])][_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a31f7[_0x2270f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x260d7e/0x3e8:0xe10*_0x204acf;return _0x1a31f7[_0x2270f1([0x65,0x78,0x70])]<_0x53bac4;}function _0x39ae77(){const _0x4ebf81=_0x1a31f7[_0x2270f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4ebf81)return!0x1;if(_0x4ebf81[_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270f1([0x2a])))return!0x0;if(_0x4ebf81[_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270f1([0x54,0x43])))return!0x0;if(_0x4ebf81[_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270f1([0x52,0x54,0x43]))){if(_0x5d2cc7())return!0x0;if(_0x28c9db()||_0x257c15())return!0x0;}return!0x1;}function _0x29fdf2(){const _0xf9af93=_0x1a31f7[_0x2270f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf9af93||0x0==_0xf9af93[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42e1ad}=new URL(window[_0x2270f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf9af93[_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42e1ad))return!0x0;const _0x5dc9b6=_0x42e1ad[_0x2270f1([0x73,0x70,0x6c,0x69,0x74])](_0x2270f1([0x2e]));return _0xf9af93[_0x2270f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xffc9a6=>_0xffc9a6[_0x2270f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270f1([0x2a])))[_0x2270f1([0x6d,0x61,0x70])](_0xb5d240=>_0xb5d240[_0x2270f1([0x73,0x70,0x6c,0x69,0x74])](_0x2270f1([0x2e])))[_0x2270f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x305935=>_0x305935[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5dc9b6[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2270f1([0x6d,0x61,0x70])](_0x4e730d=>Array(_0x5dc9b6[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e730d[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2270f1([0x66,0x69,0x6c,0x6c])](_0x4e730d[0x0]===_0x2270f1([0x2a])?_0x2270f1([0x2a]):'')[_0x2270f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e730d))[_0x2270f1([0x73,0x6f,0x6d,0x65])](_0xbcac1c=>_0x5dc9b6[_0x2270f1([0x65,0x76,0x65,0x72,0x79])]((_0x3c2585,_0x42bd0b)=>_0xbcac1c[_0x42bd0b]===_0x3c2585||_0xbcac1c[_0x42bd0b]===_0x2270f1([0x2a])));}function _0xc12800(){return _0x3c944c&&_0x14824e?new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x183b22,_0x49d8f8)=>{_0x3c944c[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x183b22,_0x49d8f8),_0x14824e[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x24436a=>{_0x24436a!=_0x2270f1([0x56,0x61,0x6c,0x69,0x64])&&_0x183b22(_0x24436a);},_0x49d8f8);}):_0x3c944c||_0x14824e||_0x2270f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16347d(_0x4773a5,_0x774f84){return new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19a3c8=>{if(_0x491150())return _0x19a3c8(_0x2270f1([0x56,0x61,0x6c,0x69,0x64]));_0x48a872(),_0xc5bf6e[_0x2270f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2270f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe21a0f=!0x1;const _0x1ebf93=_0xa0ed63['uid']();function _0x30e78f(_0x211826){return!!_0x211826&&(typeof _0x211826===_0x2270f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x211826===_0x2270f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x211826[_0x2270f1([0x74,0x68,0x65,0x6e])]===_0x2270f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x211826[_0x2270f1([0x63,0x61,0x74,0x63,0x68])]===_0x2270f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x395a53(_0x2e9698){_0x1c4b6a(_0x2e9698)[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x23b1b6=>{if(!_0x23b1b6||_0x23b1b6[_0x2270f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2270f1([0x6f,0x6b]))return _0x2270f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xde5c7(_0x150309(_0x1ebf93+_0x774f84))!=_0x23b1b6[_0x2270f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2270f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2270f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x224eef=>(_0x163b0(),_0x224eef),()=>{const _0x1dfe5e=_0xa99115();return null==_0x1dfe5e?(_0x163b0(),_0x2270f1([0x56,0x61,0x6c,0x69,0x64])):_0x2270f1(_0x260d7e-_0x1dfe5e>(0x27d454df^_0x551d3d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x19a3c8)[_0x2270f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19a3c8(_0x2270f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x337937=0x3ee3e5f^_0x551d3d;function _0x163b0(){const _0x4a0044=_0x2270f1([0x6c,0x6c,0x63,0x74,0x2d])+_0xde5c7(_0x150309(_0x4773a5)),_0x50dfcc=_0x491f29(_0xde5c7(window[_0x2270f1([0x4d,0x61,0x74,0x68])][_0x2270f1([0x63,0x65,0x69,0x6c])](_0x260d7e/_0x337937)));window[_0x2270f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2270f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a0044,_0x50dfcc);}function _0xa99115(){const _0x41a6c7=_0x2270f1([0x6c,0x6c,0x63,0x74,0x2d])+_0xde5c7(_0x150309(_0x4773a5)),_0x282722=window[_0x2270f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2270f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a6c7);return _0x282722?window[_0x2270f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x491f29(_0x282722),0x10)*_0x337937:null;}function _0x1c4b6a(_0x418449){return new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b28cf,_0x1a6414)=>{_0x418449[_0x2270f1([0x74,0x68,0x65,0x6e])](_0x3b28cf,_0x1a6414),window[_0x2270f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6414,0x3d9041f^_0x551d3d);});}}_0xc5bf6e[_0x2270f1([0x6f,0x6e])](_0x2270f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21bd48,_0x41533a)=>{if(_0x41533a[0x0]!=_0x4773a5)return _0x19a3c8(_0x2270f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41533a[0x1]={..._0x41533a[0x1],[_0x2270f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ebf93};},{[_0x2270f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2270f1([0x68,0x69,0x67,0x68])}),_0xc5bf6e[_0x2270f1([0x6f,0x6e])](_0x2270f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x433dca=>{_0x30e78f(_0x433dca[_0x2270f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe21a0f=!0x0,_0x395a53(_0x433dca[_0x2270f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2270f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2270f1([0x6c,0x6f,0x77])}),_0x375f92[_0x2270f1([0x74,0x68,0x65,0x6e])](()=>{_0xe21a0f||_0x19a3c8(_0x2270f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x491150(){return _0xc5bf6e[_0x2270f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2270f1([0x76,0x69,0x65,0x77])][_0x2270f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2270f1([0x61,0x75,0x74,0x6f]);}function _0x48a872(){_0xc5bf6e[_0x2270f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2270f1([0x76,0x69,0x65,0x77])][_0x2270f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2270f1([0x61,0x75,0x74,0x6f]);}}function _0x10176f(_0x13f6eb){const _0x35182a=[new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2676ea=>setTimeout(_0x2676ea,0x3d1ee13^_0x551d3d)),_0x375f92[_0x2270f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1add25=>{let _0x565f3f=0x0;_0xc5bf6e[_0x2270f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270f1([0x6f,0x6e])](_0x2270f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a436f,_0x12b2fc)=>{_0x12b2fc[0x0][_0x2270f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x565f3f++,_0x565f3f==(0x3d8d537^_0x551d3d)&&(_0x1add25(),_0x3a436f[_0x2270f1([0x6f,0x66,0x66])]());});}))];return window[_0x2270f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2270f1([0x72,0x61,0x63,0x65])](_0x35182a)[_0x2270f1([0x74,0x68,0x65,0x6e])](()=>_0x13f6eb);}async function _0x468134(){await _0x375f92,_0xc5bf6e[_0x2270f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x509dc4,_0xc5bf6e[_0x2270f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x509dc4,_0xc5bf6e[_0x2270f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2270f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d2cc7(){return _0x4f9a95(_0x2270f1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4bcb9d(_0x2270f1([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2270f1([0x73,0x74,0x61,0x74,0x65])]==_0x2270f1([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x28c9db(){return _0x4f9a95(_0x2270f1([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x257c15(){return _0x4f9a95(_0x2270f1([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x117606(_0x4c2423){const _0x201ffe=_0x10792e();_0xc5bf6e[_0x201ffe]=_0x2270f1([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c2423,_0x4c2423!=_0x2270f1([0x56,0x61,0x6c,0x69,0x64])&&_0x468134();}function _0x10792e(){const _0x1abc47=window[_0x2270f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2270f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2270f1([0x6e,0x6f,0x77])]())[_0x2270f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2270f1([0x2e]),'');let _0xb3aaa3=_0x2270f1([0x52]);for(let _0x3f63c3=0x0;_0x3f63c3<_0x1abc47[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f63c3+=0x2){let _0x5a4c1d=window[_0x2270f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abc47[_0x2270f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f63c3,_0x3f63c3+0x2));_0x5a4c1d>=_0x589c95[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a4c1d-=_0x589c95[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb3aaa3+=_0x589c95[_0x5a4c1d];}return _0xb3aaa3;}function _0x4c847c(){const _0x38387a=_0x180398[_0x2270f1([0x73,0x70,0x6c,0x69,0x74])](_0x2270f1([0x2e]));if(0x3!=_0x38387a[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b1851(_0x38387a[0x1]);function _0x2b1851(_0x44a6ba){const _0x5d5f36=_0x56217e(_0x44a6ba);return _0x5d5f36&&_0x39c413()?_0x5d5f36:null;function _0x39c413(){const _0x25bace=_0x5d5f36[_0x2270f1([0x6a,0x74,0x69])],_0x5f4c04=window[_0x2270f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25bace[_0x2270f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25bace[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53d568={..._0x5d5f36,[_0x2270f1([0x6a,0x74,0x69])]:_0x25bace[_0x2270f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25bace[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53d568[_0x2270f1([0x76,0x63])],_0x150309(_0x53d568)==_0x5f4c04;}}}async function _0x2f799c(){let _0x322d88=!0x0;try{const _0xa089c6=_0x180398[_0x2270f1([0x73,0x70,0x6c,0x69,0x74])](_0x2270f1([0x2e])),[_0xff592d,_0x8e265d,_0x3e97a8]=_0xa089c6;return _0x2fce57(_0xff592d),await _0xc8a166(_0xff592d,_0x8e265d,_0x3e97a8),_0x322d88;}catch{return!0x1;}function _0x2fce57(_0x32b8ff){const _0x1cbf2b=_0x56217e(_0x32b8ff);_0x1cbf2b&&_0x1cbf2b[_0x2270f1([0x61,0x6c,0x67])]==_0x2270f1([0x45,0x53,0x32,0x35,0x36])||(_0x322d88=!0x1);}async function _0xc8a166(_0x38fcec,_0x5636e4,_0x469e5a){const _0x3bf823=window[_0x2270f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2270f1([0x66,0x72,0x6f,0x6d])](_0x99ba07(_0x469e5a),_0x210d4d=>_0x210d4d[_0x2270f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16fafc=new window[(_0x2270f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2270f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38fcec+_0x2270f1([0x2e])+_0x5636e4),_0x1b4d13=window[_0x2270f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2270f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b4d13)return;const _0xafba93=await _0x1b4d13[_0x2270f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2270f1([0x6a,0x77,0x6b]),_0x28d515,{[_0x2270f1([0x6e,0x61,0x6d,0x65])]:_0x2270f1([0x45,0x43,0x44,0x53,0x41]),[_0x2270f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2270f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2270f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b4d13[_0x2270f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2270f1([0x6e,0x61,0x6d,0x65])]:_0x2270f1([0x45,0x43,0x44,0x53,0x41]),[_0x2270f1([0x68,0x61,0x73,0x68])]:{[_0x2270f1([0x6e,0x61,0x6d,0x65])]:_0x2270f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xafba93,_0x3bf823,_0x16fafc)||(_0x322d88=!0x1);}}function _0x56217e(_0x4023b5){return _0x4023b5[_0x2270f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2270f1([0x65,0x79]))?JSON[_0x2270f1([0x70,0x61,0x72,0x73,0x65])](_0x99ba07(_0x4023b5)):null;}function _0x99ba07(_0x1bf845){return window[_0x2270f1([0x61,0x74,0x6f,0x62])](_0x1bf845[_0x2270f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2270f1([0x2b]))[_0x2270f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2270f1([0x2f])));}function _0x150309(_0x178ff5){let _0x3dcba3=0x1505;function _0x57a832(_0x58a71d){for(let _0x2611e9=0x0;_0x2611e9<_0x58a71d[_0x2270f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2611e9++){const _0x176eab=_0x58a71d[_0x2270f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2611e9);_0x3dcba3=(_0x3dcba3<<0x5)+_0x3dcba3+_0x176eab,_0x3dcba3&=_0x3dcba3;}}function _0x37f645(_0x182fbc){Array[_0x2270f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x182fbc)?_0x182fbc[_0x2270f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37f645):_0x182fbc&&typeof _0x182fbc==_0x2270f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2270f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x182fbc)[_0x2270f1([0x73,0x6f,0x72,0x74])]()[_0x2270f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ef36e,_0x1124e0])=>{_0x57a832(_0x4ef36e),_0x37f645(_0x1124e0);}):_0x57a832(window[_0x2270f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x182fbc));}return _0x37f645(_0x178ff5),_0x3dcba3>>>0x0;}function _0xde5c7(_0x16869d){return _0x16869d[_0x2270f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2270f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2270f1([0x30]));}function _0x491f29(_0x4f69c7){return _0x4f69c7[_0x2270f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2270f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2270f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f9a95(_0x5dbe02){return _0xc5bf6e[_0x2270f1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2270f1([0x68,0x61,0x73])](_0x5dbe02);}function _0x4bcb9d(_0x20bce5){return _0xc5bf6e[_0x2270f1([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2270f1([0x67,0x65,0x74])](_0x20bce5);}function _0x509dc4(){}function _0x2270f1(_0x47280a){return _0x47280a['map'](_0x1b06c7=>String['fromCharCode'](_0x1b06c7))['join']('');}_0x117606(await _0x40915e());}(this);}set['adapter'](_0x126699){if(this['_adapter'])throw new _0xa0ed63['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x126699;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x53a868=!0x1,toJSON:_0x34b432=!0x1}={}){const _0x2703cd=[];for(const _0x3de6da of this['_suggestions']['values']())_0x53a868&&!_0x3de6da['isInContent']||_0x2703cd['push'](_0x3de6da);return _0x34b432?_0x2703cd['map'](_0x52b5e0=>_0x52b5e0['toJSON']()):_0x2703cd;}['getSuggestion'](_0x27fad0){const _0x1b3f8f=this['_suggestions']['get'](_0x27fad0);if(!_0x1b3f8f)throw new _0xa0ed63['CKEditorError']('track-changes-suggestion-not-found',this);return _0x1b3f8f;}['hasSuggestion'](_0x41edab){return this['_suggestions']['has'](_0x41edab);}['addSuggestionData'](_0x5b8e61){const {authorId:_0x54881d,id:_0x43150e,originalSuggestionId:_0x1b4900,attributes:_0x1f824a}=_0x5b8e61,[_0x7202a,_0x505ef7]=_0x5b8e61['type']['split'](':'),_0x2e44a4=this['_suggestions']['get'](_0x43150e)||this['_createSuggestion'](_0x7202a,_0x505ef7,_0x43150e,_0x54881d,_0x1f824a,_0x1b4900);if(this['_addThreadToSuggestion'](_0x2e44a4),this['_checkSuggestionCorrectness'](_0x2e44a4,_0x7202a,_0x505ef7||null,_0x54881d),_0x2e44a4['createdAt']=_0x5b8e61['createdAt'],_0x2e44a4['_isDataLoaded']=!0x0,_0x1f824a&&_0x1f824a['@external']){const _0x1fe2f3=_0x1f824a['@external'],_0x90da2b=this['_getExternalAuthor'](_0x1fe2f3['authorName']);_0x2e44a4['authoredAt']=_0x1fe2f3['createdAt'],_0x2e44a4['author']=_0x90da2b,_0x2e44a4['isExternal']=!0x0;}else _0x2e44a4['authoredAt']=_0x5b8e61['createdAt'];switch(_0x5b8e61['data']&&(_0x2e44a4['data']=_0x5b8e61['data']),_0x5b8e61['attributes']&&(_0x2e44a4['attributes']=_0x5b8e61['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x2e44a4['_saved']=!0x0),this['_suggestionState']['get'](_0x2e44a4)){case'notReady':this['_suggestionState']['set'](_0x2e44a4,'dataReady');break;case'markerReady':_0x2e44a4['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x2e44a4])),this['_refreshSuggestionsChain'](new Set([_0x2e44a4])),this['_suggestionState']['set'](_0x2e44a4,'ready'),this['fire']('suggestionLoaded',_0x2e44a4)):this['_suggestionState']['set'](_0x2e44a4,'removed');}return _0x2e44a4;}['acceptSuggestion'](_0x5654b3){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x4b809c of _0x5654b3['getAllAdjacentSuggestions']())_0x4b809c['accept']();});});}['discardSuggestion'](_0x507e4b){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x27e48a of _0x507e4b['getAllAdjacentSuggestions']())_0x27e48a['discard']();});});}['enableCommand'](_0x3c21e,_0x27b0a3){const _0x5bf628=this['editor']['commands']['get'](_0x3c21e);if(!_0x5bf628)throw new _0xa0ed63['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x3c21e});if(this['_enabledCommands']['has'](_0x5bf628))throw new _0xa0ed63['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x3c21e});this['_enabledCommands']['add'](_0x5bf628),_0x27b0a3&&_0x5bf628['on']('execute',(_0x59883d,_0x17ff60)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x17ff60['length']>0x0&&_0x17ff60[_0x17ff60['length']-0x1]&&_0x17ff60[_0x17ff60['length']-0x1]['forceDefaultExecution']?_0x17ff60['pop']():(_0x59883d['return']=_0x27b0a3((..._0x36204b)=>_0x5bf628['execute'](..._0x36204b,{'forceDefaultExecution':!0x0}),..._0x17ff60),_0x59883d['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x550645){let _0x530c7a,_0x5143be;const _0x32d044=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x530c7a=_0x550645();}catch(_0x176adb){_0x5143be=_0x176adb;}return _0x32d044||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x5143be&&_0xa0ed63['CKEditorError']['rethrowUnexpectedError'](_0x5143be,this),_0x530c7a;}['markInsertion'](_0x24cc5a,_0x4dbcf3=null,_0x1a4717={}){if(_0x24cc5a['isCollapsed'])return null;const _0x56deda=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x1a4717['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x24dd98,meta:_0x143eb7}of this['_findSuggestions'](_0x24cc5a,'insertion'))if(_0x143eb7['isOwn']){if(!_0x143eb7['isNextTo']){if(_0x143eb7['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x47d356(_0x24dd98,_0x1a4717))continue;return _0x24dd98;}if(_0x47d356(_0x24dd98,_0x1a4717))return _0x24dd98;this['_breakSuggestionMarker'](_0x24dd98,_0x24cc5a['start'],_0x24cc5a['end']);break;}if(_0x4dbcf3==_0x24dd98['subType']&&_0x47d356(_0x24dd98,_0x1a4717)){const _0x3e2e08=_0x24dd98['getFirstRange']();return _0x3e2e08['start']['isEqual'](_0x24cc5a['end'])?this['_setSuggestionRange'](_0x24dd98,this['_model']['createRange'](_0x24cc5a['start'],_0x3e2e08['end'])):this['_setSuggestionRange'](_0x24dd98,this['_model']['createRange'](_0x3e2e08['start'],_0x24cc5a['end'])),_0x24dd98;}}const _0x3cac4a=_0xa0ed63['uid'](),_0x367f07=_0x56deda['id'],_0x4db633=_0x4dbcf3?'insertion:'+_0x4dbcf3:'insertion',_0x10df87=this['_setSuggestionData']({'id':_0x3cac4a,'type':_0x4db633,'createdAt':new Date(),'authorId':_0x367f07,'attributes':_0x1a4717});return this['_addSuggestionMarker'](_0x4db633,_0x3cac4a,_0x367f07,_0x24cc5a),_0x10df87;}['markMultiRangeInsertion'](_0x3a5c68,_0x4843ef='multi',_0x48f717={}){const _0x1c9494=this['editor']['plugins']['get']('Users')['me'],_0x7b3539=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x4843ef,'join');this['_trackingSessionId']&&(_0x48f717['trackingSessionId']=this['_trackingSessionId']);for(const _0x3d0198 of this['getSuggestions']())if(_0x3d0198['author']['id']==_0x1c9494['id']&&'insertion'==_0x3d0198['type']&&_0x3d0198['subType']==_0x4843ef&&_0x47d356(_0x3d0198,_0x48f717)&&(_0x7b3539(_0x3d0198['getRanges'](),_0x3a5c68)||_0x7b3539(_0x3a5c68,_0x3d0198['getRanges']()))){for(const _0x11095c of _0x3a5c68)_0x3d0198['addRange'](_0x11095c);return _0x3d0198;}for(const {suggestion:_0x22dfc4,meta:_0x2a75ec}of this['_findSuggestions'](_0x3a5c68,'insertion')){if(!_0x2a75ec['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x2a75ec['containsRangeInObject'])continue;if(!_0x47d356(_0x22dfc4,_0x48f717))continue;let _0x1f929f=!0x0;for(const _0x424cca of _0x22dfc4['getRanges']())for(const _0x5a0634 of _0x3a5c68)if(!_0x424cca['containsRange'](_0x5a0634)){_0x1f929f=!0x1;break;}if(_0x1f929f)return _0x22dfc4;}const _0x50da0f=_0xa0ed63['uid'](),_0x1a2889=_0x1c9494['id'],_0x5a7bc9='insertion:'+_0x4843ef,_0x5795e5=this['_setSuggestionData']({'id':_0x50da0f,'type':_0x5a7bc9,'createdAt':new Date(),'authorId':_0x1a2889,'attributes':_0x48f717});for(const _0x4cdc55 of _0x3a5c68)this['_addSuggestionMarker'](_0x5a7bc9,_0x50da0f,_0x1a2889,_0x4cdc55,Suggestion['getMultiRangeId']());return _0x5795e5;}['markInlineFormat'](_0x186b4a,_0x4e0b9f,_0x1dfb97=null,_0x85b222={}){if(_0x1dfb97=_0x1dfb97||_0x2406ba(_0x4e0b9f),_0x186b4a['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x85b222['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x480313=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x1dfb97,'accept');return this['forceDefaultExecution'](()=>_0x480313([_0x186b4a],_0x4e0b9f,_0x85b222)),null;}const _0xb949a1=this['editor']['plugins']['get']('Users')['me'],_0x24c7af=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x2ec4b1,meta:_0x599225}of this['_findSuggestions'](_0x186b4a,'insertion'))_0x599225['isOwn']&&!_0x599225['isInsideObject']&&_0x24c7af['push'](..._0x2ec4b1['getRanges']());}const _0xa850a2=function(_0xc212f5,_0x45456e){const _0x44199b=[];for(const _0x589525 of _0x45456e){const _0x4c0fe0=_0xc212f5['getIntersection'](_0x589525);_0x4c0fe0&&_0x44199b['push'](_0x4c0fe0);}return _0x44199b;}(_0x186b4a,_0x24c7af),_0x3ee2d7=function(_0xae9bae,_0x41120c){const _0x30da3b=[_0xae9bae];for(const _0x27bdf4 of _0x41120c){let _0x243f97=0x0;for(;_0x243f97<_0x30da3b['length'];){const _0x30f7fa=_0x30da3b[_0x243f97]['getDifference'](_0x27bdf4);_0x30da3b['splice'](_0x243f97,0x1,..._0x30f7fa),_0x243f97+=_0x30f7fa['length'];}}return _0x30da3b;}(_0x186b4a,_0x24c7af);_0xa850a2['length']&&this['_model']['change'](()=>{for(const _0xbaef76 of _0xa850a2){const _0xf4901b=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x1dfb97,'accept');this['forceDefaultExecution'](()=>_0xf4901b([_0xbaef76],_0x4e0b9f,_0x85b222));}});for(const _0x59e8ee of _0x3ee2d7){let _0x5d6ccc=null,_0x1df735=_0x59e8ee['start'],_0x3fbb05=_0x59e8ee['end'];for(const {suggestion:_0x3c61b3,meta:_0x3a2cbe}of this['_findSuggestions'](_0x59e8ee,'formatInline')){if(!_0x3a2cbe['isOwn'])continue;if(_0x3c61b3['subType']!=_0x1dfb97)continue;if(!_0x47d356(_0x3c61b3,_0x85b222))continue;const _0x11bb19=_0x3c61b3['getFirstRange']();if(_0x11bb19['containsRange'](_0x59e8ee,!0x0))return null;_0x1df735=_0x1df735['isBefore'](_0x11bb19['start'])?_0x1df735:_0x11bb19['start'],_0x3fbb05=_0x3fbb05['isAfter'](_0x11bb19['end'])?_0x3fbb05:_0x11bb19['end'],_0x5d6ccc?_0x11bb19['start']['isBefore'](_0x5d6ccc['getFirstRange']()['start'])?(_0x5d6ccc['removeMarkers'](),_0x5d6ccc=_0x3c61b3):_0x3c61b3['removeMarkers']():_0x5d6ccc=_0x3c61b3;}const _0x3a72b4=this['_model']['createRange'](_0x1df735,_0x3fbb05);if(_0x5d6ccc)this['_setSuggestionRange'](_0x5d6ccc,_0x3a72b4);else{const _0x557978=_0xa0ed63['uid'](),_0x2de92f=_0xb949a1['id'];this['_setSuggestionData']({'id':_0x557978,'type':'formatInline:'+_0x1dfb97,'data':_0x4e0b9f,'createdAt':new Date(),'authorId':_0x2de92f,'attributes':_0x85b222}),this['_addSuggestionMarker']('formatInline:'+_0x1dfb97,_0x557978,_0x2de92f,_0x3a72b4);}}return null;}['markBlockFormat'](_0x5d5298,_0xb366ea,_0x413d93=[],_0x53bfc2=null,_0x4f2bd5={}){_0xb366ea['formatGroupId']||(_0xb366ea['formatGroupId']=_0xb366ea['commandName']),_0xb366ea['multipleBlocks']=_0x5d5298['is']('range'),_0x53bfc2=_0x53bfc2||_0x2406ba(_0xb366ea);const _0x598956=_0x413d93['map'](_0x511398=>_0x27efdf(_0x511398,this['_model'])),_0x1113d2=_0x5d5298['is']('range')?_0x5d5298:_0x27efdf(_0x5d5298,this['_model']);if(this['_trackingSessionId']&&(_0x4f2bd5['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5cb0bb=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x53bfc2,'accept');return this['forceDefaultExecution'](()=>_0x5cb0bb([_0x1113d2],_0xb366ea,_0x4f2bd5)),null;}_0x598956['push'](_0x1113d2);let _0xf22c2f=!0x0;for(const _0x2def95 of _0x598956)if(!this['_rangeIsInLocalUserInsertion'](_0x2def95)){_0xf22c2f=!0x1;break;}if(_0xf22c2f&&'always'!==this['_trackFormatChanges']){const _0x34fd86=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x53bfc2,'accept');return this['forceDefaultExecution'](()=>_0x34fd86([_0x1113d2],_0xb366ea,_0x4f2bd5)),null;}let _0x5cb5c5=null,_0x5c0817=_0x1113d2['start'],_0x33bef5=_0x1113d2['end'];for(const {suggestion:_0x587e97,meta:_0x2e8656}of this['_findSuggestions'](_0x1113d2,'formatBlock')){if(!_0x2e8656['isOwn'])continue;if(_0x2e8656['isNextTo']||_0x2e8656['containsRangeInObject']||_0x2e8656['isInsideObject'])continue;if(_0x587e97['data']['formatGroupId']!=_0xb366ea['formatGroupId'])continue;if(!_0x47d356(_0x587e97,_0x4f2bd5))continue;const _0xbb9792=_0x587e97['getFirstRange']();if(_0x587e97['subType']==_0x53bfc2){if(_0xbb9792['containsRange'](_0x1113d2,!0x0))return null;_0x5c0817=_0x5c0817['isBefore'](_0xbb9792['start'])?_0x5c0817:_0xbb9792['start'],_0x33bef5=_0x33bef5['isAfter'](_0xbb9792['end'])?_0x33bef5:_0xbb9792['end'],_0x5cb5c5?_0xbb9792['start']['isBefore'](_0x5cb5c5['getFirstRange']()['start'])?(_0x5cb5c5['removeMarkers'](),_0x5cb5c5=_0x587e97):_0x587e97['removeMarkers']():_0x5cb5c5=_0x587e97;}else{const _0x185b4b=_0x1113d2['getIntersection'](_0xbb9792);this['_cutOutSuggestionMarker'](_0x587e97,_0x185b4b);}}const _0x136532=this['editor']['plugins']['get']('Users')['me'],_0x37a74e=_0xa0ed63['uid'](),_0x45bcaa=_0x136532['id'];if(_0x5cb5c5)return this['_setSuggestionRange'](_0x5cb5c5,this['_model']['createRange'](_0x5c0817,_0x33bef5)),_0x5cb5c5;{const _0x4d65fb=this['_setSuggestionData']({'id':_0x37a74e,'type':'formatBlock:'+_0x53bfc2,'data':_0xb366ea,'createdAt':new Date(),'authorId':_0x45bcaa,'attributes':_0x4f2bd5});return this['_addSuggestionMarker']('formatBlock:'+_0x53bfc2,_0x37a74e,_0x45bcaa,this['_model']['createRange'](_0x5c0817,_0x33bef5)),_0x4d65fb;}}['markMultiRangeBlockFormat'](_0x3641b2,_0x502e6f,_0x409e31=[],_0x5a824b=null,_0x22bca2={}){_0x502e6f['formatGroupId']||(_0x502e6f['formatGroupId']=_0x502e6f['commandName']);const _0x44a2cb=_0x3641b2[0x0];_0x502e6f['multipleBlocks']=_0x44a2cb['is']('range'),_0x5a824b=_0x5a824b||_0x2406ba(_0x502e6f);const _0x348c2=_0x409e31['map'](_0x4384aa=>_0x27efdf(_0x4384aa,this['_model'])),_0x1ec48c=_0x44a2cb['is']('range')?_0x3641b2:_0x3641b2['map'](_0x3cadbd=>_0x27efdf(_0x3cadbd,this['_model']));if(this['_trackingSessionId']&&(_0x22bca2['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x53d8a0=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5a824b,'accept');return this['forceDefaultExecution'](()=>_0x53d8a0(_0x1ec48c,_0x502e6f,_0x22bca2)),null;}_0x348c2['push'](..._0x1ec48c);let _0x54e4cc=!0x0;for(const _0x31646c of _0x348c2)if(!this['_rangeIsInLocalUserInsertion'](_0x31646c)){_0x54e4cc=!0x1;break;}if(_0x54e4cc&&'always'!==this['_trackFormatChanges']){const _0x28e45f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5a824b,'accept');return this['forceDefaultExecution'](()=>_0x28e45f(_0x1ec48c,_0x502e6f,_0x22bca2)),null;}const _0x51033d=this['editor']['plugins']['get']('Users')['me'];for(const _0x3b14af of this['getSuggestions']()){const _0x9021b5=_0x3b14af['data'];if(_0x3b14af['author']['id']!=_0x51033d['id'])continue;if('formatBlock'!=_0x3b14af['type']||_0x9021b5['formatGroupId']!=_0x502e6f['formatGroupId'])continue;if(!_0x47d356(_0x3b14af,_0x22bca2))continue;const _0x3f7f8f=_0x3b14af['subType']==_0x5a824b;for(let _0x474807=0x0;_0x474807<_0x1ec48c['length'];_0x474807++){const _0x98a5d5=_0x1ec48c[_0x474807];for(const _0x423de9 of _0x3b14af['getMarkers']()){const _0x5e780c=_0x423de9['getRange']();if(_0x98a5d5['isEqual'](_0x5e780c)){_0x3f7f8f?(_0x1ec48c['splice'](_0x474807,0x1),_0x474807--):_0x3b14af['removeMarker'](_0x423de9['name']);break;}}}}if(0x0==_0x1ec48c['length'])return null;const _0x4cbe6f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5a824b,'join');for(const _0x5a76da of this['getSuggestions']()){const _0x469e2c=_0x5a76da['data'];if(_0x5a76da['author']['id']==_0x51033d['id']&&('formatBlock'==_0x5a76da['type']&&_0x469e2c['formatGroupId']==_0x502e6f['formatGroupId']&&_0x5a76da['subType']==_0x5a824b&&_0x47d356(_0x5a76da,_0x22bca2)&&(_0x4cbe6f(_0x5a76da['getRanges'](),_0x1ec48c)||_0x4cbe6f(_0x1ec48c,_0x5a76da['getRanges']())))){for(const _0x36e236 of _0x1ec48c)_0x5a76da['addRange'](_0x36e236);return _0x5a76da;}}const _0x5b6222=_0xa0ed63['uid'](),_0x5b40bd=_0x51033d['id'],_0x541c0d='formatBlock:'+_0x5a824b,_0x947ad6=this['_setSuggestionData']({'id':_0x5b6222,'type':_0x541c0d,'data':_0x502e6f,'createdAt':new Date(),'authorId':_0x5b40bd,'attributes':_0x22bca2});for(const _0xcfb92c of _0x1ec48c)this['_addSuggestionMarker'](_0x541c0d,_0x5b6222,_0x5b40bd,_0xcfb92c,Suggestion['getMultiRangeId']());return _0x947ad6;}['markDeletion'](_0x1274d0,_0x5a5f5b=null,_0x25ed99={}){if(_0x1274d0['isCollapsed'])return null;const _0xf76d57=this['editor']['plugins']['get']('Users')['me'],_0x26f508=new _0xa0ed63['ModelLiveRange'](_0x1274d0['start'],_0x1274d0['end']);this['_trackingSessionId']&&(_0x25ed99['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x3de09f,meta:_0x380aa4}of this['_findSuggestions'](_0x26f508,'insertion'))if(_0x380aa4['isOwn']&&!_0x380aa4['isNextTo']){if(_0x3de09f['isMultiRange']){const _0x32541b=_0x3de09f['getRanges']()['filter'](_0x569cd4=>'$graveyard'!=_0x569cd4['root']['rootName']);_0x32541b['every'](_0x28e6ea=>_0x26f508['containsRange'](_0x28e6ea,!0x0))&&_0x3de09f['discard']();if(_0x32541b['some'](_0x20c623=>_0x20c623['containsRange'](_0x26f508,!0x0))){const _0x3c1512=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5a5f5b,'accept');return this['forceDefaultExecution'](()=>_0x3c1512([_0x26f508],null,_0x25ed99)),null;}}else{const _0x3e431f=_0x26f508['getIntersection'](_0x3de09f['getFirstRange']());null!==_0x3e431f&&_0x3de09f['_onDiscard']([_0x3e431f],null,_0x25ed99);}}if(_0x26f508['detach'](),_0x26f508['isCollapsed']||'$graveyard'==_0x26f508['root']['rootName'])return null;let _0x36aef7=null,_0x403b50=_0x26f508['start'],_0x159b25=_0x26f508['end'];const _0x1a18c3=this['_findSuggestions'](_0x26f508,'deletion');for(const {suggestion:_0x42dca3,meta:_0x9dd10e}of _0x1a18c3){const _0x440c5e=this['_model']['createRange'](_0x403b50,_0x159b25);if(_0x9dd10e['isOwn']&&(this['_mergeNestedSuggestions']||!_0x9dd10e['containsRangeInObject']&&!_0x9dd10e['isInsideObject'])){if(_0x42dca3['isMultiRange']){if(!_0x47d356(_0x42dca3,_0x25ed99))continue;let _0x3f20fd=!0x0;for(const _0x27d41a of _0x42dca3['getRanges']()){if(_0x27d41a['containsRange'](_0x440c5e,!0x0))return _0x42dca3;_0x440c5e['containsRange'](_0x27d41a)||(_0x3f20fd=!0x1);}_0x3f20fd&&_0x42dca3['discard']();}else{const _0x313d02=_0x42dca3['getFirstRange']();if(_0x313d02['containsRange'](_0x440c5e,!0x0))return _0x42dca3;if(!_0x47d356(_0x42dca3,_0x25ed99)){_0x440c5e['containsRange'](_0x313d02)?_0x42dca3['removeMarkers']():_0x313d02['containsPosition'](_0x403b50)?_0x403b50=_0x313d02['end']:_0x313d02['containsPosition'](_0x159b25)&&(_0x159b25=_0x313d02['start']);continue;}_0x403b50=_0x403b50['isBefore'](_0x313d02['start'])?_0x403b50:_0x313d02['start'],_0x159b25=_0x159b25['isAfter'](_0x313d02['end'])?_0x159b25:_0x313d02['end'],_0x25ed99=Object['assign']({},_0x42dca3['attributes']),_0x36aef7?_0x313d02['start']['isBefore'](_0x36aef7['getFirstRange']()['start'])?(_0x36aef7['removeMarkers'](),_0x36aef7=_0x42dca3):_0x42dca3['removeMarkers']():_0x36aef7=_0x42dca3;}}}if(_0x36aef7)return this['_setSuggestionRange'](_0x36aef7,this['_model']['createRange'](_0x403b50,_0x159b25)),_0x36aef7;{const _0x3210c3=_0xa0ed63['uid'](),_0x55cb1e=this['_model']['createRange'](_0x403b50,_0x159b25),_0x3ed1c2=_0xf76d57['id'],_0x3fb1eb=_0x5a5f5b?'deletion:'+_0x5a5f5b:'deletion',_0x5b4a3d=this['_setSuggestionData']({'id':_0x3210c3,'type':_0x3fb1eb,'createdAt':new Date(),'authorId':_0x3ed1c2,'attributes':_0x25ed99});return this['_addSuggestionMarker'](_0x3fb1eb,_0x3210c3,_0x3ed1c2,_0x55cb1e),_0x5b4a3d;}}['markMultiRangeDeletion'](_0x5980e0,_0x5e4948='multi',_0x1085ff={}){const _0x38ef11=this['editor']['plugins']['get']('Users')['me'],_0x21395d=_0x5980e0['map'](_0x4f66d9=>new _0xa0ed63['ModelLiveRange'](_0x4f66d9['start'],_0x4f66d9['end'])),_0x375b17=new Set();this['_trackingSessionId']&&(_0x1085ff['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x5beaa9,meta:_0x133c0a}of this['_findSuggestions'](_0x21395d,'insertion'))_0x133c0a['isOwn']&&!_0x133c0a['isNextTo']&&_0x375b17['add'](_0x5beaa9);for(const _0x34eb06 of _0x375b17)if(_0x34eb06['isMultiRange']){const _0x30d507=_0x34eb06['getRanges']();(!_0x34eb06['attributes']||!_0x34eb06['attributes']['skipNestingCheck'])&&(_0x30d507['every'](_0x57766a=>_0x21395d['some'](_0x1e9fc7=>_0x1e9fc7['containsRange'](_0x57766a,!0x0)))&&_0x34eb06['discard']());if(_0x21395d['every'](_0x29ab8e=>_0x30d507['some'](_0x8903b9=>_0x8903b9['containsRange'](_0x29ab8e,!0x0)))){const _0x453878=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5e4948,'accept');return this['forceDefaultExecution'](()=>_0x453878(_0x5980e0,null,_0x1085ff)),null;}}else{const _0x8db06a=_0x34eb06['getFirstRange']();_0x21395d['some'](_0x2644d2=>_0x2644d2['containsRange'](_0x8db06a,!0x0))&&_0x34eb06['discard']();if(_0x21395d['every'](_0x52f345=>_0x8db06a['containsRange'](_0x52f345,!0x0))){const _0x3ca99e=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5e4948,'accept');return this['forceDefaultExecution'](()=>_0x3ca99e(_0x21395d,null,_0x1085ff)),null;}}const _0x4bbf09=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5e4948,'join');let _0x2c1350=null;for(const _0x100703 of this['getSuggestions']())if(_0x100703['author']['id']==_0x38ef11['id']&&_0x100703['isInContent']&&'deletion'==_0x100703['type']&&_0x100703['subType']==_0x5e4948&&_0x47d356(_0x100703,_0x1085ff)&&(_0x4bbf09(_0x100703['getRanges'](),_0x21395d)||_0x4bbf09(_0x21395d,_0x100703['getRanges']()))){if(_0x2c1350){if(_0x100703['commentThread']&&_0x100703['commentThread']['length'])continue;for(const _0xf72a76 of _0x100703['getRanges']())_0x2c1350['isIntersectingWithRange'](_0xf72a76)||_0x2c1350['addRange'](_0xf72a76);_0x100703['removeMarkers']();}else{_0x2c1350=_0x100703;for(const _0x46dfac of _0x21395d)_0x100703['isIntersectingWithRange'](_0x46dfac)||_0x100703['addRange'](_0x46dfac);}}if(_0x2c1350)return _0x2c1350;_0x375b17['clear']();for(const {suggestion:_0x439c62,meta:_0x372151}of this['_findSuggestions'](_0x21395d,'deletion'))_0x372151['isOwn']&&(this['_mergeNestedSuggestions']||!_0x372151['containsRangeInObject']&&!_0x372151['isInsideObject'])&&_0x47d356(_0x439c62,_0x1085ff)&&_0x375b17['add'](_0x439c62);for(const _0x9d0945 of _0x375b17){const _0x11a99a=_0x9d0945['getRanges']();if(!_0x1085ff||!_0x1085ff['skipNestingCheck']){if(_0x21395d['every'](_0x24d5b2=>_0x11a99a['some'](_0x36545f=>_0x36545f['containsRange'](_0x24d5b2,!0x0))))return _0x9d0945;}(!_0x9d0945['attributes']||!_0x9d0945['attributes']['skipNestingCheck'])&&(_0x11a99a['every'](_0x634a5b=>_0x21395d['some'](_0x1e75d1=>_0x1e75d1['containsRange'](_0x634a5b,!0x0)))&&_0x9d0945['discard']());}const _0x4d9cb8=_0xa0ed63['uid'](),_0x397f68=_0x38ef11['id'],_0x42ae0c='deletion:'+_0x5e4948,_0x317186=this['_setSuggestionData']({'id':_0x4d9cb8,'type':_0x42ae0c,'createdAt':new Date(),'authorId':_0x397f68,'attributes':_0x1085ff});for(const _0x58ac42 of _0x21395d)_0x58ac42['detach'](),_0x58ac42['isCollapsed']||'$graveyard'==_0x58ac42['root']['rootName']||this['_addSuggestionMarker'](_0x42ae0c,_0x4d9cb8,_0x397f68,_0x58ac42,Suggestion['getMultiRangeId']());return _0x317186;}['markAttributeChange'](_0x4f326a,_0x5cd890,_0x388b9a,_0x13a6d1,_0x56f463){if(_0x4f326a['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x461bb1=this['editor']['plugins']['get']('Users')['me']['id'],_0x33552a=Array['from'](this['_suggestions']['values']())['filter'](_0x1f4f9e=>'attribute'==_0x1f4f9e['type']&&_0x1f4f9e['data']['key']==_0x5cd890&&_0x1f4f9e['isIntersectingWithRange'](_0x4f326a));if(this['_trackingSessionId']&&(_0x56f463['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x2a6523=this['_findSuggestions'](_0x4f326a,'insertion')['filter'](({meta:_0x44f18b})=>_0x44f18b['isOwn']&&!_0x44f18b['isInsideObject']&&!_0x44f18b['isNextTo'])['map'](({suggestion:_0x460ae5})=>_0x460ae5);_0x33552a['unshift'](..._0x2a6523);}const _0x320215=new Map([[_0x4f326a,_0x388b9a]]);for(const _0x526e7c of _0x33552a){const _0x16f79e='attribute'==_0x526e7c['type']?_0x526e7c['data']['oldValue']:void 0x0,_0x515895=_0x526e7c['getFirstRange'](),_0x1b8e8c=Array['from'](_0x320215['keys']())['find'](_0x1a2fb3=>_0x1a2fb3['isIntersecting'](_0x515895));if(!_0x1b8e8c)continue;const _0x3fdaa9=_0x1b8e8c['getDifference'](_0x515895);this['_isBlockAttribute'](_0x5cd890)&&'insertion'==_0x526e7c['type']&&0x0!=_0x3fdaa9['length']||(_0x320215['delete'](_0x1b8e8c),_0x3fdaa9['forEach'](_0x186416=>{_0x320215['set'](_0x186416,_0x388b9a);}),'insertion'!=_0x526e7c['type']&&_0x16f79e!=_0x13a6d1&&_0x320215['set'](_0x1b8e8c['getIntersection'](_0x515895),_0x16f79e));}const _0x5814b7=[];for(const [_0x354d00,_0x202b04]of _0x320215){const _0x3c5242=_0xa0ed63['uid'](),_0xe16c8d={'key':_0x5cd890,'oldValue':_0x202b04,'newValue':_0x13a6d1};_0x5cd890['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':_0x5cd890});const _0x11c7c8=('attribute:'+(_0x5cd890+'|'+_0x2406ba({'newValue':_0x13a6d1})))['substring'](0x0,0x3c),_0x17f3e4=this['_setSuggestionData']({'id':_0x3c5242,'type':_0x11c7c8,'data':_0xe16c8d,'createdAt':new Date(),'authorId':_0x461bb1,'attributes':_0x56f463});_0x5814b7['push'](_0x17f3e4),this['_addSuggestionMarker'](_0x11c7c8,_0x3c5242,_0x461bb1,_0x354d00);}return _0x5814b7;}['enableDefaultAttributesIntegration'](_0x5cbd6e){this['enableCommand'](_0x5cbd6e,(_0x4b16a7,..._0x4a4e68)=>{this['recordAttributeChanges'](()=>{_0x4b16a7(..._0x4a4e68);});});}['registerBlockAttribute'](_0x2b93b3){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x2b93b3);}['registerInlineAttribute'](_0x3754d2){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x3754d2);}['startTrackingSession'](_0x5ee428){return this['_trackingSessionId']=void 0x0!==_0x5ee428?_0x5ee428:_0xa0ed63['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x232c7d){return'attribute'==_0x232c7d['type']?_0x232c7d['subType']['split']('|')[0x0]:null;}['_applyOperationsAsSuggestions'](_0x27ea14){if(0x0==_0x27ea14['length'])return;const _0x115779=this['editor'],_0x363c21=_0x115779['plugins']['get'](DocumentCompare),_0x38bdd4=[];_0x115779['model']['change'](_0x3fe168=>{for(let _0xfbeca0=0x0;_0xfbeca0<_0x27ea14['length'];_0xfbeca0++){const _0x38fc84=_0x27ea14[_0xfbeca0];if(_0x38fc84['baseVersion']=_0x115779['model']['document']['version'],_0x38fc84['isDocumentOperation']=!0x0,_0x363c21['isMarkedRemoveOperation'](_0x38fc84)){const _0x47f332=_0x41d4e4(_0x38fc84['newRange'],_0x115779['model']);_0x38bdd4['unshift'](_0xa0ed63['ModelLiveRange']['fromRange'](_0x47f332));}else switch(_0x38fc84['type']){case'rename':{const _0x21c567=_0x38fc84['oldName'],_0x13421e=_0x38fc84['newName'];if(_0x21c567==_0x13421e)break;_0x3fe168['batch']['addOperation'](_0x38fc84),_0x115779['model']['applyOperation'](_0x38fc84);const _0x3c1daf='$elementName',_0xaf2f8e=_0x38fc84['position'],_0x5152a1=_0x115779['model']['createRange'](_0xaf2f8e,_0x115779['model']['createPositionAt'](_0xaf2f8e['nodeAfter'],'end'));this['markAttributeChange'](_0x5152a1,_0x3c1daf,_0x21c567,_0x13421e,{'groupId':_0xa0ed63['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x535fff=_0x38fc84['oldValue'],_0x23de60=_0x38fc84['newValue'];if(_0x535fff==_0x23de60)break;_0x3fe168['batch']['addOperation'](_0x38fc84),_0x115779['model']['applyOperation'](_0x38fc84);const _0xa787d2=_0x38fc84['key'];if(!this['_isRegisteredAttribute'](_0xa787d2))break;const _0x3f42af=_0x41d4e4(_0x38fc84['range'],_0x115779['model']);this['markAttributeChange'](_0x3f42af,_0xa787d2,_0x535fff,_0x23de60,{'groupId':_0xa0ed63['uid']()});break;}case'insert':{_0x3fe168['batch']['addOperation'](_0x38fc84),_0x115779['model']['applyOperation'](_0x38fc84);if(_0x27ea14[_0xfbeca0+0x1]&&'move'==_0x27ea14[_0xfbeca0+0x1]['type'])break;const _0xfc0229=_0x38fc84['position'],_0x417957=_0x38fc84['howMany'],_0x2a9ef1=_0x41d4e4(_0x115779['model']['createRange'](_0xfc0229,_0xfc0229['getShiftedBy'](_0x417957)),_0x115779['model']);this['markInsertion'](_0x2a9ef1);break;}case'split':{_0x3fe168['batch']['addOperation'](_0x38fc84),_0x115779['model']['applyOperation'](_0x38fc84);const _0x125fd1=_0x38fc84['splitPosition'],_0x149706=_0x38fc84['moveTargetPosition'];this['markInsertion'](_0x115779['model']['createRange'](_0x125fd1,_0x149706));break;}case'move':case'remove':_0x3fe168['batch']['addOperation'](_0x38fc84),_0x115779['model']['applyOperation'](_0x38fc84);}}for(const _0x822313 of _0x38bdd4)_0x822313['detach'](),this['markDeletion'](_0x822313);});}['_setSuggestionRange'](_0x4e0f7b,_0x5210b3){const _0x332530=_0x4e0f7b['getFirstMarker']();this['_model']['change'](_0x246806=>{_0x246806['updateMarker'](_0x332530,{'range':_0x5210b3});});}['_addThreadToSuggestion'](_0x5ac1cc){const _0x53a3c2=_0x5ac1cc['id'],_0xf1808a=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x53a3c2)||this['_commentsRepository']['addCommentThread']({'channelId':_0xf1808a,'threadId':_0x53a3c2,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4f6a22=this['_commentsRepository']['getCommentThread'](_0x53a3c2);_0x4f6a22['unbind']('isRemovable'),_0x4f6a22['isRemovable']=!0x1,_0x5ac1cc['commentThread']=_0x4f6a22;}['_checkSuggestionCorrectness'](_0x2187b6,_0x27f3ef,_0x279893,_0x78e112){if(_0x2187b6['type']!=_0x27f3ef||_0x2187b6['subType']!=_0x279893||_0x2187b6['creator']['id']!=_0x78e112)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0xa0ed63['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x527adc,_0x55a0bb){const _0x28358d=_0x527adc['getFirstRange']();if(_0x55a0bb['isEqual'](_0x28358d))_0x527adc['removeMarkers']();else{if(_0x28358d['containsRange'](_0x55a0bb)){const _0x544501=this['_model']['createPositionAt'](_0x55a0bb['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x527adc,this['_model']['createRange'](_0x28358d['start'],_0x544501));const _0x1b65c1=_0xa0ed63['uid'](),_0x4cc5fb=_0x527adc['creator']['id'],_0x3baf3d=_0x527adc['type']+':'+_0x527adc['subType'];this['_setSuggestionData']({'id':_0x1b65c1,'type':_0x3baf3d,'createdAt':new Date(),'authorId':_0x4cc5fb,'data':_0x527adc['data'],'attributes':_0x527adc['attributes']});const _0x345184=this['_model']['createPositionAt'](_0x55a0bb['end']['parent'],'after'),_0x5124d0=this['_model']['createRange'](_0x345184,_0x28358d['end']);this['_addSuggestionMarker'](_0x3baf3d,_0x1b65c1,_0x4cc5fb,_0x5124d0);}else{if(_0x28358d['containsPosition'](_0x55a0bb['start'])){const _0x50db9a=this['_model']['createPositionAt'](_0x55a0bb['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x527adc,this['_model']['createRange'](_0x28358d['start'],_0x50db9a));}else{const _0x1f098c=this['_model']['createPositionAt'](_0x55a0bb['end']['parent'],'after');this['_setSuggestionRange'](_0x527adc,this['_model']['createRange'](_0x1f098c,_0x28358d['end']));}}}}['_rangeIsInLocalUserInsertion'](_0xcde5ad){for(const {suggestion:_0x39b09a,meta:_0x258508}of this['_findSuggestions'](_0xcde5ad,'insertion')){if(!_0x258508['isOwn'])continue;const _0x21bd79=_0x39b09a['getRanges']();for(const _0x3ad9a4 of _0x21bd79)if(!_0xcde5ad['getDifference'](_0x3ad9a4)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x3d9a8b){return this['editor']['plugins']['get']('Users')['getUser'](_0x3d9a8b);}['_getExternalAuthor'](_0x5d1f44){const _0x4d6661=this['editor']['plugins']['get']('Users'),_0x559493=_0x4854f3('external:'+_0x5d1f44),_0x1c2b44=_0x4d6661['getUser'](_0x559493);return _0x1c2b44||_0x4d6661['addUser']({'id':_0x559493,'name':_0x5d1f44});}['_createSuggestion'](_0x4d97b9,_0x52ecb3,_0x176c2d,_0x49e297,_0x4c4b94,_0x86f1d1){const _0x1b768e=this['_getAuthorFromId'](_0x49e297);if(!_0x1b768e)throw new _0xa0ed63['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x49e297,'suggestionId':_0x176c2d});const _0x5363ae=this['_suggestionFactory']['buildSuggestion'](_0x4d97b9,_0x52ecb3,_0x176c2d,_0x1b768e,_0x4c4b94,_0x51f0be=>{this['_updateSuggestionData'](_0x176c2d,{'attributes':_0x51f0be});const _0x4b30fa=this['getSuggestion'](_0x176c2d);this['_joinWithAdjacentSuggestions'](new Set([_0x4b30fa])),this['_refreshSuggestionsChain'](new Set([_0x4b30fa]));},_0x86f1d1);return this['listenTo'](_0x5363ae,'accept',()=>{this['_updateSuggestionData'](_0x176c2d,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x5363ae,'discard',()=>{this['_updateSuggestionData'](_0x176c2d,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x176c2d,_0x5363ae),this['_suggestionState']['set'](_0x5363ae,'notReady'),_0x5363ae;}['_splitMarkerName'](_0x464144){return _0x2c5b20(_0x464144);}['_breakSuggestionMarker'](_0x23f5fd,_0xe50872,_0x37bff7){const _0x2e2887=_0x23f5fd['getFirstRange'](),_0x3728cb=_0x2e2887['start'],_0x3e2a51=_0x2e2887['end'];this['_setSuggestionRange'](_0x23f5fd,this['_model']['createRange'](_0x3728cb,_0xe50872));const _0x1a45b9=_0xa0ed63['uid'](),_0x37d53d=_0x23f5fd['creator']['id'],_0x3d8d18=_0x23f5fd['type']+(_0x23f5fd['subType']?':'+_0x23f5fd['subType']:'');this['_setSuggestionData']({'id':_0x1a45b9,'type':_0x3d8d18,'createdAt':new Date(),'authorId':_0x37d53d,'originalSuggestionId':_0x23f5fd['_originalSuggestionId']||_0x23f5fd['id'],'attributes':_0x23f5fd['attributes'],'data':_0x23f5fd['data']});const _0x3084f4=this['_getAttributeKey'](_0x23f5fd);('formatBlock'==_0x23f5fd['type']||_0x3084f4&&this['_isBlockAttribute'](_0x3084f4))&&(_0x37bff7=this['_model']['createPositionBefore'](_0x37bff7['parent'])),this['_addSuggestionMarker'](_0x3d8d18,_0x1a45b9,_0x37d53d,this['_model']['createRange'](_0x37bff7,_0x3e2a51));}['_findSuggestions'](_0x2ca487,_0x2c444d=null){const _0x1cb5c5=[],_0x27c864=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x2ca487)||(_0x2ca487=[_0x2ca487]);for(const _0x2d1512 of this['getSuggestions']()){if(!_0x2d1512['isInContent'])continue;if(_0x2c444d&&_0x2d1512['type']!=_0x2c444d)continue;let _0xeff9a1=!0x1;for(const _0x28b1a3 of _0x2d1512['getRanges']()){for(const _0x2e9189 of _0x2ca487){const _0x3c564=_0x2e9189['start']['isEqual'](_0x28b1a3['end'])||_0x2e9189['end']['isEqual'](_0x28b1a3['start']);if(_0x3c564||_0x2e9189['getIntersection'](_0x28b1a3)){const _0x78579f=_0x2e9189['containsRange'](_0x28b1a3)&&_0x38da51(this['_model']['schema'],_0x28b1a3['start'],_0x2e9189),_0x507922=_0x28b1a3['containsRange'](_0x2e9189)&&_0x38da51(this['_model']['schema'],_0x2e9189['start'],_0x28b1a3);_0x1cb5c5['push']({'suggestion':_0x2d1512,'meta':{'isOwn':_0x27c864==_0x2d1512['author'],'isNextTo':_0x3c564,'isInsideObject':_0x78579f,'containsRangeInObject':_0x507922}}),_0xeff9a1=!0x0;break;}}if(_0xeff9a1)break;}}return _0x1cb5c5;}['_addSuggestionMarker'](_0x117156,_0x408820,_0x107b6f,_0x319d98,_0x52cd8b){this['_model']['change'](_0x40ba30=>{let _0x770d60='suggestion:'+_0x117156+':'+_0x408820+':'+_0x107b6f;_0x52cd8b&&(_0x770d60=_0x770d60+':'+_0x52cd8b),_0x40ba30['addMarker'](_0x770d60,{'range':_0x319d98,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x1fca90){const _0x2b90c2=_0x1fca90['previous'],_0x469208=_0x1fca90['next'];_0x1fca90['previous']=null,_0x1fca90['next']=null,null!=_0x2b90c2&&_0x2b90c2['next']==_0x1fca90&&(_0x2b90c2['next']=_0x469208),null!=_0x469208&&_0x469208['previous']==_0x1fca90&&(_0x469208['previous']=_0x2b90c2),'ready'==this['_suggestionState']['get'](_0x1fca90)&&(this['_suggestionState']['set'](_0x1fca90,'removed'),this['fire']('suggestionUnloaded',_0x1fca90,_0x2b90c2,_0x469208));}['_setSuggestionData'](_0x476254){const _0x598855=_0x476254['id'],_0x2094f0=this['addSuggestionData'](_0x476254);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x115ba=this['editor']['plugins']['get']('PendingActions'),_0x2273a0=_0x2094f0['hasComments'],_0x9d9d5=_0x2094f0['subType']?_0x2094f0['type']+':'+_0x2094f0['subType']:_0x2094f0['type'],_0x390343=this['editor']['locale'],_0x5f1ac9=_0x115ba['add'](_0x56c4dc(_0x390343,'PENDING_ACTION_SUGGESTION')),_0x1d0459={'id':_0x598855,'type':_0x9d9d5,'hasComments':_0x2273a0,'data':_0x476254['data']||null,'originalSuggestionId':_0x476254['originalSuggestionId']||null,'attributes':_0x2094f0['attributes']};this['_adapter']['addSuggestion'](_0x1d0459)['then'](_0x179e4c=>{_0x2094f0['_saved']=!0x0,_0x115ba['remove'](_0x5f1ac9),_0x179e4c&&_0x179e4c['createdAt']&&(this['_suggestions']['get'](_0x598855)['createdAt']=_0x179e4c['createdAt']);})['catch'](_0x25673c=>{throw _0xa0ed63['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x2094f0['discard']();}),_0x2094f0['stopListening'](),this['_suggestions']['delete'](_0x2094f0['id']),this['_suggestionState']['delete'](_0x2094f0),_0x25673c;});}return _0x2094f0;}['_isBlockAttribute'](_0x2d6e4a){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x2d6e4a);}['_isInlineAttribute'](_0x375a5a){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x375a5a);}['_updateSuggestionData'](_0x4b3a9d,_0xf33a50){const _0x4a2d3b=this['editor']['plugins']['get']('PendingActions'),_0x4023bc=this['getSuggestion'](_0x4b3a9d);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x4023bc['_saved']){const _0x2afc50=_0x4a2d3b['add'](_0x56c4dc(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x4b3a9d,_0xf33a50)['then'](()=>{_0x4a2d3b['remove'](_0x2afc50);});}else _0x4023bc['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x4b3a9d,_0xf33a50);});}}['_getSuggestionData'](_0x640911){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0xa0ed63['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x640911);}['_handleNewSuggestionMarker'](_0xfc3799){const {id:_0x4bb7a2,type:_0x525028,subType:_0x754df8,authorId:_0x1fb270}=this['_splitMarkerName'](_0xfc3799),_0x261b78=this['_suggestions']['get'](_0x4bb7a2)||this['_createSuggestion'](_0x525028,_0x754df8,_0x4bb7a2,_0x1fb270,{});switch(this['_checkSuggestionCorrectness'](_0x261b78,_0x525028,_0x754df8,_0x1fb270),this['_suggestionState']['get'](_0x261b78)){case'notReady':this['_getSuggestionData'](_0x4bb7a2)['then'](_0x2053d4=>{let _0x31a8af=Promise['resolve']();_0x2053d4['hasComments']&&(_0x31a8af=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x4bb7a2})),_0x31a8af['then'](()=>{this['addSuggestionData'](_0x2053d4)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x261b78,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x4bb7a2,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x261b78,'ready'),this['fire']('suggestionLoaded',_0x261b78);break;case'ready':this['fire']('suggestionChanged',_0x261b78);}return _0x261b78['addMarkerName'](_0xfc3799),_0x261b78;}['_refreshSuggestionsChain'](_0x330c80){const _0xb27e0e=Array['from'](_0x330c80),_0x4e71a5=_0xb27e0e['filter'](_0x94aa80=>'attribute'==_0x94aa80['type']);this['_refreshAttributeSuggestionsChain'](_0x4e71a5);const _0x22e881=_0xb27e0e['filter'](_0x2e3259=>!_0x2e3259['isMultiRange']&&'attribute'!=_0x2e3259['type']),_0x1dc2b5=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x4a99d0=>!_0x4a99d0['isMultiRange']&&'attribute'!=_0x4a99d0['type']),_0x56ed43=_0x1dc2b5['filter'](_0x48abbc=>!_0x330c80['has'](_0x48abbc)),_0x2a2a09=new Map(_0x1dc2b5['map'](_0xa6e2ec=>[_0xa6e2ec,this['_suggestionFactory']['getSuggestionCallback'](_0xa6e2ec['type'],_0xa6e2ec['subType'],'chain')])),_0x5ebe3c=new Map(_0x1dc2b5['map'](_0x236371=>[_0x236371,_0x236371['getFirstRange']()])),_0x183406=new Set(),_0xb057f2=new Set();for(let _0x4647e1=0x0;_0x4647e1<_0x22e881['length'];_0x4647e1++)_0x287321(_0x22e881[_0x4647e1],_0x22e881,_0x4647e1+0x1);for(let _0x2feafb=0x0;_0x2feafb<_0x22e881['length'];_0x2feafb++)_0x287321(_0x22e881[_0x2feafb],_0x56ed43,0x0);const _0x44f641=new Set();for(let _0x1e79e0=0x0;_0x1e79e0<_0x22e881['length'];_0x1e79e0++){const _0x3be623=_0x22e881[_0x1e79e0];!_0xb057f2['has'](_0x3be623)&&_0x3be623['previous']&&(_0x44f641['add'](_0x3be623['previous']),_0x3be623['previous']['next']===_0x3be623&&(_0x3be623['previous']['next']=null),_0x3be623['previous']=null),!_0x183406['has'](_0x3be623)&&_0x3be623['next']&&(_0x44f641['add'](_0x3be623['next']),_0x3be623['next']['previous']===_0x3be623&&(_0x3be623['next']['previous']=null),_0x3be623['next']=null);}function _0x287321(_0x6ea1f5,_0x5e66f2,_0x30a39b){for(let _0x587246=_0x30a39b;_0x587246<_0x5e66f2['length'];_0x587246++){const _0x2c25d2=_0x29e150(_0x6ea1f5,_0x5e66f2[_0x587246]);_0x2c25d2&&(_0x2c25d2[0x0]['next']=_0x2c25d2[0x1],_0x2c25d2[0x1]['previous']=_0x2c25d2[0x0],_0x183406['add'](_0x2c25d2[0x0]),_0xb057f2['add'](_0x2c25d2[0x1]));}}function _0x29e150(_0x70240,_0x4d73fe){if(_0x70240['author']['id']!==_0x4d73fe['author']['id'])return null;const _0x41ef8f=_0x2a2a09['get'](_0x70240)(_0x70240,_0x4d73fe,_0x5ebe3c['get'](_0x70240),_0x5ebe3c['get'](_0x4d73fe));if(!_0x41ef8f)return null;return _0x2a2a09['get'](_0x4d73fe)(_0x70240,_0x4d73fe,_0x5ebe3c['get'](_0x70240),_0x5ebe3c['get'](_0x4d73fe))?_0x41ef8f[0x1]['commentThread']&&_0x41ef8f[0x1]['commentThread']['length']?null:_0x41ef8f:null;}_0x44f641['size']&&this['_refreshSuggestionsChain'](_0x44f641);}['_refreshAttributeSuggestionsChain'](_0x14ac2f){if(0x0==_0x14ac2f['length'])return;const _0xf8bade=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x558adf=>'attribute'==_0x558adf['type']&&_0x558adf['_isDataLoaded']),_0x59ad41=[],_0x2b0b3e=new Map();for(const _0xb7d966 of _0xf8bade){const _0x35ffed=_0x4854f3(_0xb7d966['attributes']);_0x2b0b3e['has'](_0x35ffed)||(_0x2b0b3e['set'](_0x35ffed,_0x59ad41['length']),_0x59ad41['push']([]));const _0x25676d=_0x2b0b3e['get'](_0x35ffed);_0x59ad41[_0x25676d]['push'](_0xb7d966);}!(function(){_0x59ad41['sort']((_0x20d227,_0x5de1cb)=>{const _0x3ce1b3=_0x20d227[0x0]['createdAt'],_0xc98820=_0x5de1cb[0x0]['createdAt'];return _0x3ce1b3==_0xc98820?_0x20d227[0x0]['attributes']['groupId']<_0x5de1cb[0x0]['attributes']['groupId']?-0x1:0x1:_0x3ce1b3<_0xc98820?-0x1:0x1;});for(const _0x1f2fbf of _0x59ad41)_0x1f2fbf['sort']((_0x47be55,_0x306a3b)=>_0x47be55['id']<_0x306a3b['id']?-0x1:0x1);}());for(let _0x538756=0x0;_0x538756<_0x59ad41['length'];_0x538756++){if(0x0==_0x59ad41[_0x538756]['length'])continue;const _0x2a1b16=[];for(let _0x152057=_0x538756+0x1;_0x152057<_0x59ad41['length'];_0x152057++)0x0!=_0x59ad41[_0x152057]['length']&&_0x2b52b4(_0x59ad41[_0x538756],_0x59ad41[_0x152057])&&_0x2a1b16['push'](_0x152057);for(const _0x34af0e of _0x2a1b16)_0x59ad41[_0x538756]=_0x59ad41[_0x538756]['concat'](_0x59ad41[_0x34af0e]),_0x59ad41[_0x34af0e]=[];}for(const _0x24702f of _0x59ad41)for(let _0x39d45a=0x0;_0x39d45a<_0x24702f['length'];_0x39d45a++){const _0x2125ab=_0x24702f[_0x39d45a+0x1]||null;_0x24702f[_0x39d45a]['next']!==_0x2125ab&&(_0x24702f[_0x39d45a]['next']=_0x2125ab);}for(const _0x14a35c of _0x59ad41)for(let _0x35c8c3=0x0;_0x35c8c3<_0x14a35c['length'];_0x35c8c3++){const _0x14c8b7=_0x14a35c[_0x35c8c3-0x1]||null;_0x14a35c[_0x35c8c3]['previous']!==_0x14c8b7&&(_0x14a35c[_0x35c8c3]['previous']=_0x14c8b7);}function _0x2b52b4(_0x2c84ff,_0x21fa30){if(_0x2c84ff[0x0]['attributes']['groupId']!==_0x21fa30[0x0]['attributes']['groupId']&&_0x2c84ff[0x0]['author']!==_0x21fa30[0x0]['author'])return!0x1;if(!function(_0x13edff,_0x378af0){if(!_0x13edff['hasComments']&&!_0x378af0['hasComments'])return!0x0;if(_0x13edff['hasComments']&&_0x378af0['hasComments'])return!0x1;if(_0x13edff['hasComments']&&_0x378af0['createdAt']<_0x13edff['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x378af0['hasComments']&&_0x13edff['createdAt']<_0x378af0['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x2c84ff[0x0],_0x21fa30[0x0]))return!0x1;if(!dt(ft(_0x2c84ff[0x0]['attributes'],['groupId','trackingSessionId']),ft(_0x21fa30[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x2c84ff[0x0]['attributes']['groupId']==_0x21fa30[0x0]['attributes']['groupId'])return!0x0;if(_0x2c84ff[0x0]['attributes']['trackingSessionId']!==_0x21fa30[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x2c84ff['every'](_0x5a1502=>_0x21fa30['some'](_0x3a02ad=>_0x5a1502['getFirstRange']()['isEqual'](_0x3a02ad['getFirstRange']())))&&_0x21fa30['every'](_0x7a8235=>_0x2c84ff['some'](_0x5acb80=>_0x7a8235['getFirstRange']()['isEqual'](_0x5acb80['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x59b30d){const _0x3b0e59=Array['from'](_0x59b30d),_0x477469=this['getSuggestions']({'skipNotAttached':!0x0}),_0x2bd7a4=_0x477469['filter'](_0x3135e4=>!_0x59b30d['has'](_0x3135e4)),_0x4dd773=new Map(_0x3b0e59['map'](_0x265f7c=>[_0x265f7c,this['_suggestionFactory']['getSuggestionCallback'](_0x265f7c['type'],_0x265f7c['subType'],'join')])),_0x4c6005=new Map(_0x477469['map'](_0x3f3b84=>[_0x3f3b84,_0x3f3b84['getRanges']()]));for(let _0x8154a2=0x0;_0x8154a2<_0x3b0e59['length'];_0x8154a2++){if(_0x2282b3(this,_0x3b0e59[_0x8154a2],_0x3b0e59,_0x8154a2+0x1))return!0x0;}for(let _0x5d0089=0x0;_0x5d0089<_0x3b0e59['length'];_0x5d0089++){if(_0x2282b3(this,_0x3b0e59[_0x5d0089],_0x2bd7a4,0x0))return!0x0;}return!0x1;function _0x2282b3(_0x4732ae,_0x57c411,_0x458b97,_0x475c4d){for(let _0x1ed656=_0x475c4d;_0x1ed656<_0x458b97['length'];_0x1ed656++){const _0x1776af=_0x458b97[_0x1ed656];if(_0x1776af['type']!==_0x57c411['type']||_0x1776af['author']['id']!==_0x57c411['author']['id']||_0x1776af['subType']!==_0x57c411['subType'])continue;if(!_0xe3a579(_0x57c411,_0x1776af))continue;if('attribute'==_0x57c411['type']&&_0x57c411['data']['oldValue']!=_0x1776af['data']['oldValue'])continue;if('attribute'==_0x57c411['type']&&_0x4732ae['_isBlockAttribute'](_0x57c411['data']['key']))continue;if('formatBlock'==_0x57c411['type']){const _0xe5ae4b=_0x4732ae['editor']['model'],_0x531c08=_0x57c411['getContainedElement']();if(_0x531c08&&(_0xe5ae4b['schema']['isObject'](_0x531c08)||_0xe5ae4b['schema']['isLimit'](_0x531c08)))continue;}const _0x2539e3=_0x4dd773['get'](_0x57c411),_0x45b255=_0x4c6005['get'](_0x57c411),_0x136218=_0x4c6005['get'](_0x1776af),_0x169556=_0x57c411['commentThread']&&_0x57c411['commentThread']['length'],_0x3fd6cd=_0x1776af['commentThread']&&_0x1776af['commentThread']['length'];if(!_0x169556&&_0x2539e3(_0x136218,_0x45b255))return _0x4732ae['_joinSuggestions'](_0x1776af,_0x57c411),_0x4c6005['delete'](_0x57c411),!0x0;if(!_0x3fd6cd&&_0x2539e3(_0x45b255,_0x136218))return _0x4732ae['_joinSuggestions'](_0x57c411,_0x1776af),_0x4c6005['delete'](_0x1776af),!0x0;}return!0x1;}}['_joinSuggestions'](_0x13e919,_0x3f65af){if(_0x13e919['isMultiRange']){for(const _0x134c90 of _0x3f65af['getRanges']())_0x13e919['addRange'](_0x134c90);}else{const _0x1ab54e=_0x3f65af['getFirstRange']()['end'];this['_setSuggestionRange'](_0x13e919,this['_model']['createRange'](_0x13e919['getFirstRange']()['start'],_0x1ab54e));}_0x3f65af['removeMarkers']();}['_getMarkerAnnouncementText'](_0x3f6eac,_0x33e677,_0x41bbea){const _0x2d67c7=_0x3f6eac['startsWith']('format')||_0x3f6eac['startsWith']('attribute')?'FORMATTING':_0x3f6eac['toUpperCase']();return _0x56c4dc(this['editor']['locale'],_0x33e677+'_'+_0x2d67c7+'_SUGGESTION_ANNOUNCEMENT',_0x41bbea);}['_initAriaMarkerChangeAnnouncements'](){const _0x1196b0=this['editor'];if(!_0x1196b0['ui'])return;const {ariaLiveAnnouncer:_0x5a3a31}=_0x1196b0['ui'];_0x117c09(this['_model'],({left:_0x16e4d3,entered:_0x1f17c4})=>{for(const _0x224abb of _0x16e4d3){const {group:_0x2fbe21,type:_0x10970d}=this['_splitMarkerName'](_0x224abb['name']);if('suggestion'===_0x2fbe21){_0x5a3a31['announce'](this['_getMarkerAnnouncementText'](_0x10970d,'LEAVE'));break;}}for(const _0x3c11ea of _0x1f17c4){const {group:_0x14019c,type:_0x1d39cb}=this['_splitMarkerName'](_0x3c11ea['name']);if('suggestion'===_0x14019c){_0x5a3a31['announce'](this['_getMarkerAnnouncementText'](_0x1d39cb,'ENTER',_0xa0ed63['getEnvKeystrokeText'](_0x524ab6)));break;}}});}['_processAttributeChanges'](_0x364d3f){if(this['_recordAttributeSuggestions'])return!0x1;const _0x2a86a7=this['editor'],_0x5c2a65=_0x2a86a7['model']['document']['differ']['getChanges']();if(0x0==_0x5c2a65['length'])return!0x1;const _0x3b6673=[],_0x5a66b7=_0x5c2a65['filter'](_0x9172bf=>'attribute'==_0x9172bf['type']),_0x17ee4b=_0x5c2a65['filter'](_0x18b77e=>'insert'==_0x18b77e['type']&&'$text'!=_0x18b77e['name']),_0x4726ec=_0x5c2a65['filter'](_0x5b65a1=>'remove'==_0x5b65a1['type']&&'$text'!=_0x5b65a1['name']);for(const _0x1dfbc8 of _0x5a66b7)_0x3b6673['push']({'key':_0x1dfbc8['attributeKey'],'newValue':_0x1dfbc8['attributeNewValue'],'oldValue':_0x1dfbc8['attributeOldValue'],'range':_0x504305(_0x1dfbc8['range'],_0x2a86a7['model'])});for(const _0x5377d3 of _0x17ee4b){const _0xeb8623=_0x4726ec['find'](_0x18b1b7=>_0x18b1b7['position']['isEqual'](_0x5377d3['position']));_0xeb8623&&_0x3b6673['push']({'key':_0x37899b,'newValue':_0x5377d3['name'],'oldValue':_0xeb8623['name'],'range':_0x2a86a7['model']['createRangeOn'](_0x5377d3['position']['nodeAfter'])});}return 0x0!=_0x3b6673['length']&&this['_reduceExistingSuggestions'](_0x364d3f,_0x3b6673);}['_processAttributeSuggestions'](_0x2fb826){let _0x25814d=!0x1;const _0xfc86ef=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x229eaf=>_0x229eaf['data']['newRange']&&_0x229eaf['name']['startsWith']('suggestion:attribute:'));for(const _0x32fc13 of _0xfc86ef){const {subType:_0xc840e6,id:_0x29be69}=this['_splitMarkerName'](_0x32fc13['name']),_0x5f5e08=_0xc840e6['split']('|')[0x0];for(const _0x2a7279 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x2a7279['id']!=_0x29be69&&'attribute'==_0x2a7279['type']&&_0x2a7279['data']&&_0x2a7279['data']['key']==_0x5f5e08&&_0x2a7279['getFirstRange']()['isIntersecting'](_0x32fc13['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x2a7279,_0x32fc13['data']['newRange'],_0x2fb826),_0x25814d=!0x0);}return _0x25814d;}['recordAttributeChanges'](_0x2cda78){this['_recordAttributeSuggestions']=!0x0,_0x2cda78();}['_isRegisteredAttribute'](_0x53ae4a){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x53ae4a);}['_reduceExistingSuggestions'](_0x1201f1,_0xa21f9b){if(0x0==_0xa21f9b['length'])return!0x1;let _0x241eb1=!0x1;for(const _0x10729b of _0xa21f9b){const _0x134acf=this['_findSuggestions'](_0x10729b['range'],'attribute')['filter'](_0x426e47=>!_0x426e47['meta']['isNextTo'])['map'](_0x2dadb2=>_0x2dadb2['suggestion']),_0x4f26ee=_0x4854f3({'newValue':_0x10729b['newValue']});_0x134acf['filter'](_0x2c9c5e=>{const [_0x45807b,_0x31d0c5]=_0x2c9c5e['subType']['split']('|');return _0x45807b==_0x10729b['key']&&_0x31d0c5!=_0x4f26ee;})['forEach'](_0x2e447b=>{this['_reduceSuggestionAttributeRange'](_0x2e447b,_0x10729b['range'],_0x1201f1),_0x241eb1=!0x0;});}return _0x241eb1;}['_reduceSuggestionAttributeRange'](_0x5b632a,_0x579204,_0x3b6558){const _0x5cb026=_0x5b632a['getFirstRange']()['getDifference'](_0x579204);0x0!==_0x5cb026['length']?0x1!==_0x5cb026['length']?this['_breakSuggestionMarker'](_0x5b632a,_0x579204['start'],_0x579204['end']):this['_setSuggestionRange'](_0x5b632a,_0x5cb026[0x0]):_0x3b6558['removeMarker'](_0x5b632a['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x2bdde5){this['_editor']=_0x2bdde5,this['_model']=_0x2bdde5['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x6ffc1d,_0x30ec85,_0x45e8b8,_0x2c9dbd,_0x54bf9f,_0xacfe0,_0x3b00e8){return new Suggestion(this['_model'],{'type':_0x6ffc1d,'subType':_0x30ec85,'id':_0x45e8b8,'originalSuggestionId':_0x3b00e8,'author':_0x2c9dbd,'creator':_0x2c9dbd,'attributes':_0x54bf9f,'onAttributesChange':_0xacfe0,'onAccept':(..._0x1c18ae)=>this['getSuggestionCallback'](_0x6ffc1d,_0x30ec85,'accept')(..._0x1c18ae),'onDiscard':(..._0x5be190)=>this['getSuggestionCallback'](_0x6ffc1d,_0x30ec85,'discard')(..._0x5be190)});}['registerCustomCallback'](_0x594dbb,_0x242d9e,_0xb98543,_0x314aa5){const _0x3f2408=_0x594dbb+':'+_0x242d9e+':'+_0xb98543;this['_customCallbacks']['set'](_0x3f2408,_0x314aa5);}['getSuggestionCallback'](_0x4375e3,_0x4b3718,_0x3aabad){const _0x4a2b84=_0x4375e3+':'+_0x4b3718+':'+_0x3aabad;return this['_customCallbacks']['get'](_0x4a2b84)||this['_defaultCallbacks']['get'](_0x4375e3+':'+_0x3aabad);}['_registerDefaultCallbacks'](){const _0x16cd99=()=>!0x1,_0x4d2cf2=_0x47e193=>{_0x47e193['sort']((_0x1728e8,_0xc0fddf)=>_0x1728e8['start']['isBefore'](_0xc0fddf['start'])?0x1:-0x1),this['_model']['change'](_0x3a7f9f=>{for(const _0xb287f3 of _0x47e193){let _0x43760a;_0x43760a=_0xb287f3['end']['isAtEnd']&&_0xb287f3['end']['parent']==_0xb287f3['start']['nodeAfter']?_0x3a7f9f['createSelection'](_0xb287f3['start']['nodeAfter'],'on'):_0x3a7f9f['createSelection'](_0xb287f3),this['_model']['deleteContent'](_0x43760a,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x3c79d9=(_0x3a02ca,_0x218f6c)=>{_0x218f6c&&this['_model']['change'](_0x1c7e37=>{const {commandName:_0x1fd40a,commandParams:_0x155966=[]}=_0x218f6c,_0x47ea85=_0x3a02ca['map'](_0x427f31=>(_0x47cdc2(_0x427f31)&&(_0x427f31=this['_model']['createRange'](_0x427f31['end'])),_0x427f31))['filter'](_0xf3f95a=>'$graveyard'!==_0xf3f95a['root']['rootName']);if(_0x47ea85['length']<0x1)return;const _0x5adbaa=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x255e78=>_0xa0ed63['ModelLiveRange']['fromRange'](_0x255e78));_0x1c7e37['setSelection'](_0x47ea85);for(const _0x4c3e43 of this['_editor']['commands']['commands']())_0x4c3e43['refresh']();_0x155966['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x1fd40a,..._0x155966);const _0x70ca96=_0x5adbaa['filter'](_0x59ae7a=>'$graveyard'!=_0x59ae7a['root']['rootName']);_0x70ca96['length']>0x0&&_0x1c7e37['setSelection'](_0x70ca96);for(const _0x1f1e67 of _0x5adbaa)_0x1f1e67['detach']();});},_0x146dd6=(_0x5f1bd2,_0x5a8706)=>0x1==_0x5f1bd2['length']&&0x1==_0x5a8706['length']&&_0x5f1bd2[0x0]['end']['isEqual'](_0x5a8706[0x0]['start']),_0xfdc41d=(_0x1eadfa,_0x28bcda,_0x1d862f,_0x37710a)=>_0x5d14cc(_0x1eadfa,_0x28bcda,_0x1d862f,_0x37710a)?[_0x1eadfa,_0x28bcda]:_0x5d14cc(_0x28bcda,_0x1eadfa,_0x37710a,_0x1d862f)?[_0x28bcda,_0x1eadfa]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x16cd99),this['_defaultCallbacks']['set']('insertion:discard',_0x4d2cf2),this['_defaultCallbacks']['set']('insertion:join',_0x146dd6),this['_defaultCallbacks']['set']('insertion:chain',_0xfdc41d),this['_defaultCallbacks']['set']('deletion:accept',_0x4d2cf2),this['_defaultCallbacks']['set']('deletion:discard',_0x16cd99),this['_defaultCallbacks']['set']('deletion:join',_0x146dd6),this['_defaultCallbacks']['set']('deletion:chain',_0xfdc41d),this['_defaultCallbacks']['set']('formatInline:accept',_0x3c79d9),this['_defaultCallbacks']['set']('formatInline:discard',_0x16cd99),this['_defaultCallbacks']['set']('formatInline:join',_0x146dd6),this['_defaultCallbacks']['set']('formatInline:chain',_0x16cd99),this['_defaultCallbacks']['set']('formatBlock:accept',_0x3c79d9),this['_defaultCallbacks']['set']('formatBlock:discard',_0x16cd99),this['_defaultCallbacks']['set']('formatBlock:join',_0x146dd6),this['_defaultCallbacks']['set']('formatBlock:chain',_0x16cd99),this['_defaultCallbacks']['set']('attribute:accept',_0x16cd99),this['_defaultCallbacks']['set']('attribute:discard',(_0x16a5b5,_0x46578b)=>{if(!_0x46578b)return;const _0x58c93c=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0x52c9ec=>{if(_0x46578b['key']==_0x37899b)for(const _0xae5550 of _0x16a5b5){const _0x12bced=_0xae5550['start']['nodeAfter'],_0x1780d1=_0x46578b['oldValue'];_0x52c9ec['rename'](_0x12bced,_0x1780d1);}else{if(_0x58c93c['_isBlockAttribute'](_0x46578b['key'])){for(const _0x5f51ac of _0x16a5b5)void 0x0!==_0x46578b['oldValue']?_0x52c9ec['setAttribute'](_0x46578b['key'],_0x46578b['oldValue'],_0x5f51ac['start']['nodeAfter']):_0x52c9ec['removeAttribute'](_0x46578b['key'],_0x5f51ac['start']['nodeAfter']);}else{for(const _0x955bd of _0x16a5b5)_0x46578b['oldValue']?_0x52c9ec['setAttribute'](_0x46578b['key'],_0x46578b['oldValue'],_0x955bd):_0x52c9ec['removeAttribute'](_0x46578b['key'],_0x955bd);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x146dd6);}}function _0x38da51(_0x508154,_0x1fa752,_0x566f00){for(const _0x5703e2 of _0x1fa752['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5703e2['root']==_0x5703e2)return!0x1;if(!_0x566f00['containsItem'](_0x5703e2))return!0x1;if(_0x508154['isObject'](_0x5703e2)||_0x508154['isLimit'](_0x5703e2))return!0x0;}return!0x1;}function _0x47cdc2(_0x316627){return _0x316627['end']['parent']==_0x316627['start']['nodeAfter']&&_0x316627['end']['isAtStart'];}function _0x3b9b37(_0x5d47ef,_0x32c8f9,_0x514a47,_0x212913){const _0x2556d9=_0x345a91=>!_0x345a91['item']['is']('$textProxy')&&!_0x212913['isObject'](_0x345a91['item']),_0x4228fa=_0x5d47ef['start']['getLastMatchingPosition'](_0x2556d9),_0x2b7c31=_0x5d47ef['end']['getLastMatchingPosition'](_0x2556d9,{'direction':'backward'});return(!_0x5d47ef['start']['isEqual'](_0x4228fa)||!_0x5d47ef['end']['isEqual'](_0x2b7c31))&&(_0x4228fa['isBefore'](_0x2b7c31)?_0x514a47['updateMarker'](_0x32c8f9,{'range':_0x514a47['createRange'](_0x4228fa,_0x2b7c31)}):_0x514a47['removeMarker'](_0x32c8f9),!0x0);}function _0x2406ba(_0x300b1b){return _0x4854f3(_0x300b1b);}function _0x137c82(_0x5b7d89){const _0x3f368b=_0x5b7d89['start']['nodeAfter'];return _0x3f368b&&_0x3f368b['is']('element');}function _0x5efdef(_0xf22857){return _0x47cdc2(_0xf22857)||function(_0x2bdcf0){return _0x2bdcf0['start']['parent']==_0x2bdcf0['end']['nodeBefore']&&_0x2bdcf0['start']['isAtEnd'];}(_0xf22857);}function _0x414dd2(_0x2c513f,_0x2e9843){try{const _0x381ae1=_0x2c513f['getRange']();for(const _0x5583ea of _0x2e9843)if(_0x2c513f!==_0x5583ea&&_0x381ae1&&_0x381ae1['isIntersecting'](_0x5583ea['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0x504305(_0x584811,_0x4ef994){return null==_0x584811['end']['nodeBefore']&&_0x584811['end']['parent']==_0x584811['start']['nodeAfter']?_0x27efdf(_0x584811['start']['nodeAfter'],_0x4ef994):_0x584811;}function _0x27efdf(_0x418e5a,_0x486956){const _0x30160b=_0x486956['schema']['isObject'](_0x418e5a)||_0x486956['schema']['isSelectable'](_0x418e5a);return _0x486956['createRange'](_0x486956['createPositionAt'](_0x418e5a,'before'),_0x30160b?_0x486956['createPositionAfter'](_0x418e5a):_0x486956['createPositionAt'](_0x418e5a,'end'));}function _0x5d14cc(_0x339cb2,_0x4a1fa1,_0x1194b6,_0x3503d5){return!!_0xe3a579(_0x339cb2,_0x4a1fa1)&&_0x1194b6['end']['isEqual'](_0x3503d5['start']);}function _0xe3a579(_0x1bf398,_0x75a7f){if(!_0x1bf398['_isDataLoaded']||!_0x75a7f['_isDataLoaded'])return!0x1;const _0x2da956=new Set(Object['keys'](_0x1bf398['attributes'])),_0x7f06a8=new Set(Object['keys'](_0x75a7f['attributes']));if(_0x2da956['delete']('groupId'),_0x7f06a8['delete']('groupId'),0x0==_0x2da956['size']&&0x0==_0x7f06a8['size'])return!0x0;if(_0x2da956['size']!=_0x7f06a8['size'])return!0x1;const _0x458d7a={..._0x1bf398['attributes']},_0x865465={..._0x75a7f['attributes']};return delete _0x458d7a['groupId'],delete _0x865465['groupId'],JSON['stringify'](_0x458d7a)==JSON['stringify'](_0x865465);}function _0x47d356(_0x5a0247,_0x295c90){const _0x3afcab=_0x3bcf5e(_0x5a0247['attributes']),_0x539b1b=_0x3bcf5e(_0x295c90);if(!_0x5a0247['_isDataLoaded'])return!0x1;for(const _0x3c597e of Object['keys'](_0x539b1b))if(!dt(_0x3afcab[_0x3c597e],_0x539b1b[_0x3c597e]))return!0x1;return!0x0;}function _0x3bcf5e(_0x16e429){const _0x4d69d1=Object['assign']({},_0x16e429);return delete _0x4d69d1['skipNestingCheck'],delete _0x4d69d1['tablePasteChainId'],_0x4d69d1;}class SuggestionController extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x4b0ffe,_0x503219,_0x31b152,_0x466595){super(),this['model']=_0x503219,this['view']=_0x31b152,this['commentThreadController']=_0x466595,this['_editor']=_0x4b0ffe,this['_acceptCommand']=_0x4b0ffe['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x4b0ffe['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x1ebd2b,_0x1cd6ae)=>_0x1ebd2b||_0x1cd6ae),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x28625e=>_0x28625e&&this['_editor']['model']['canEditAt'](_0x503219['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x1ed0dc=>_0x1ed0dc&&this['_editor']['model']['canEditAt'](_0x503219['getRanges']())),this['_pendingAction']=null,_0x31b152['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x31b152,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x31b152,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x31b152,'change:isDirty',()=>{_0x31b152['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 _0x2ddd2d=_0x56c4dc(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x2ddd2d);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0xa0ed63['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x5242cd,_0x46ec80,_0x16902b,_0x4de7bb){super(_0x5242cd),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x5242cd,_0x56c4dc(_0x5242cd,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x46ec80['authoredAt']),this['bind']('authoredAt')['to'](_0x46ec80),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',_0x46ec80,'authoredAt',this,'descriptionParts',(_0x1c214c,_0x2bb0bc,_0x4ee316)=>{const _0x55e63c=_0x4ee316['map'](_0x24e2ec=>_0x301a67(_0x24e2ec['content']))['join']('.\x20')+'.';return _0x56c4dc(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x1c214c-0x1,_0x46ec80['author']['name'],_0x2bb0bc?_0x4de7bb['formatDateTime'](_0x2bb0bc):'',new DOMParser()['parseFromString'](_0x55e63c,'text/html')['body']['textContent']]);}),this['focusables']=new _0xa0ed63['ViewCollection'](),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5b88e2=>_0x5b88e2['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x46ec80,this['_localUser']=_0x16902b,this['_config']=_0x4de7bb,_0x4de7bb['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0x383895(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x320756}=this['_config'];this['commentsListView']=new _0x320756(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',_0x3548aa=>_0x3548aa+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x2dc03c,_0x3fc47b)=>_0x2dc03c||!!_0x3fc47b);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x5c379f}=this['_config'],_0x245f1f=new _0x5c379f(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x19551a=_0x245f1f['commentInputView'];return _0x245f1f['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x19551a,'value',(_0x584206,_0x5d67a9,_0x1c6f97)=>!!_0x1c6f97||_0x584206&&!_0x5d67a9),_0x19551a['on']('submit',(_0x38127e,_0x4650be)=>{this['fire']('addComment',_0x4650be),_0x19551a['editor']['setData']('');}),_0x19551a['on']('cancel',()=>this['focus']()),_0x19551a['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x245f1f;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x252d94,_0x2902a0,_0x185d87,_0x3d3084){super(_0x252d94,_0x2902a0,_0x185d87,_0x3d3084),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x5306fb=>_0x5306fb&&_0x5306fb[0x0]?_0x5306fb[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x3005d3,_0x4931d8)=>{let _0x5f28f5='';for(const _0x3d9479 of _0x3005d3)_0x5f28f5+='<p>'+_0x301a67(_0x3d9479['content'],_0x3d9479['color'])+'</p>';return _0x4931d8?_0x5f28f5:_0x50dc1d(_0x5f28f5,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x3d3084['SuggestionView'](_0x252d94,_0x2902a0,{'formatDateTime':_0x3d3084['formatDateTime']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x4efc34=this['bindTemplate'],_0x466758=[this['suggestionView']];this['commentsListView']&&_0x466758['push'](this['commentsListView']),this['commentThreadInputView']&&_0x466758['push'](this['commentThreadInputView']),_0x466758['push'](this['ariaDescriptionView']);const _0x5273ed={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x4efc34['if']('isActive','ck-suggestion-wrapper--active'),_0x4efc34['to']('type',_0x1ac641=>'ck-suggestion-'+_0x1ac641),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':_0x4efc34['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x466758};return _0x5273ed;}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}}class SuggestionView extends _0xa0ed63['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x4eaeb5,_0xdfc8c4,_0x56d851){super(_0x4eaeb5),this['_model']=_0xdfc8c4,this['_config']=_0x56d851,this['set']('description',''),this['bind']('authoredAt')['to'](_0xdfc8c4),this['acceptButton']=this['_createButton'](_0x56c4dc(_0x4eaeb5,'Accept\x20suggestion'),_0xa0ed63['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](_0x56c4dc(_0x4eaeb5,'Discard\x20suggestion'),_0xa0ed63['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x2edd05(_0x4eaeb5,_0xdfc8c4['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0xa0ed63['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['keystrokes']=new _0xa0ed63['KeystrokeHandler'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x213503=>_0x213503['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x5c1dec=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x5c1dec['innerHTML']=this['description'],this['on']('change:description',(_0x5b60c6,_0x119ebe,_0x2d7f97)=>{_0x5c1dec['innerHTML']=_0x2d7f97;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x5c9104=this['bindTemplate'],_0x527c31=[{'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':_0x5c9104['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x5c9104['to']('authoredAt',_0xa31398=>this['_config']['formatDateTime'](_0xa31398))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0x527c31['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x527c31}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x56c4dc(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x56c4dc(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?_0x56c4dc(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x56c4dc(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x45f635,_0x1bb2ae,_0x157020,_0x539ad7,_0x10610c){const _0x5ef15e=new LateFocusButtonView(this['locale']);return _0x5ef15e['set']({'label':_0x45f635,'icon':_0x1bb2ae,'tooltip':!0x0,'tooltipPosition':_0x10610c}),_0x5ef15e['extendTemplate']({'attributes':{'class':_0x157020}}),_0x5ef15e['on']('execute',()=>{this['fire'](_0x539ad7,this['_model']['id']);}),_0x5ef15e;}['_setupKeyboardNavigation'](){const _0x3be439=this['element'];this['keystrokes']['listenTo'](_0x3be439);for(const _0x21a8ac of this['focusables'])this['focusTracker']['add'](_0x21a8ac['element']),this['keystrokes']['listenTo'](_0x21a8ac['element']);this['keystrokes']['set']('enter',(_0x638e6c,_0x5a98d3)=>{_0x3be439===_0x638e6c['target']&&(this['focusCycler']['focusFirst'](),_0x5a98d3());}),this['keystrokes']['set']('esc',(_0x515a71,_0x2e5b92)=>{_0x3be439!==_0x515a71['target']&&(this['focus'](),_0x2e5b92());});}}class _0x31f903 extends _0xa0ed63['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x16ef47,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4bea15){super(_0x4bea15),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x3af203=this['editor']['config'];_0x3af203['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x3af203['define']('trackChanges.SuggestionView',SuggestionView),_0x3af203['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x3af203['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x4ecaee,_0x14fc0e){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x103897,_0x2f043e]of this['_handleControllerBuffer']){const _0x584c0a=this['_suggestionToController']['has'](_0x103897);_0x584c0a||_0x2f043e?_0x584c0a&&_0x2f043e&&this['_destroyController'](_0x103897):this['_initializeController'](_0x103897);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x4ecaee,_0x14fc0e);}['init'](){const _0x5907ef=this['editor'],_0x4f53e5=_0x5907ef['plugins']['get']('TrackChangesEditing'),_0x23bc34=_0x5907ef['plugins']['get']('Annotations'),_0x4ae9f1=_0x5907ef['plugins']['get']('EditorAnnotations'),_0x5a7a8e=_0x5907ef['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x4ae9f1['addSourceCollector'](()=>{const _0x258f42=[];for(const [_0x422baf,_0x56bc38]of Array['from'](this['_suggestionToController'])){const _0xafa9c1=_0x422baf['getAllAdjacentSuggestions'](),_0x4fe9b5=[];for(const _0x402801 of _0xafa9c1){if(!_0x402801['isInContent'])continue;if(_0x402801['isMultiRange']){_0x4fe9b5['push'](..._0x402801['getRanges']());continue;}const _0x201e55=_0x402801['getFirstRange']();if(_0x4fe9b5['length']>0x0){const _0x174e93=_0x4fe9b5[0x0]['getJoined'](_0x201e55);if(_0x174e93){_0x4fe9b5[0x0]=_0x174e93;continue;}}_0x4fe9b5['push'](_0x201e55);}_0x258f42['push']([_0x56bc38['view'],_0x4fe9b5]);}return _0x258f42;}),this['listenTo'](_0x4f53e5,'suggestionLoaded',(_0x933e58,_0x3fb2d7)=>{this['listenTo'](_0x3fb2d7,'change:previous',(_0x2812d4,_0x428ff5,_0x379240,_0x54af5b)=>{_0x3fb2d7['isInContent']&&(null==_0x379240?(this['_updateController'](_0x54af5b['head']),this['_handleSuggestionControllerDelayed'](_0x3fb2d7,!0x1)):(this['_updateController'](_0x379240['head']),null==_0x54af5b&&this['_handleSuggestionControllerDelayed'](_0x3fb2d7,!0x0)));}),null!==_0x3fb2d7['previous']?this['_updateController'](_0x3fb2d7['head']):this['_handleSuggestionControllerDelayed'](_0x3fb2d7,!0x1);}),this['listenTo'](_0x4f53e5,'suggestionUnloaded',(_0x34a774,_0x560587,_0x1350d4)=>{this['stopListening'](_0x560587,'change:previous'),this['_handleControllerBuffer']['delete'](_0x560587),this['_suggestionToController']['has'](_0x560587)&&this['_destroyController'](_0x560587),_0x1350d4&&this['_updateController'](_0x1350d4['head']);}),this['listenTo'](_0x4f53e5,'suggestionChanged',(_0x2b7ea9,_0x2b67c2)=>{this['_updateController'](_0x2b67c2);}),this['listenTo'](_0x23bc34,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x5a7a8e,'addComment',(_0x5b5051,{threadId:_0x479611,isFromAdapter:_0x86a9d0})=>{if(_0x86a9d0||!_0x4f53e5['hasSuggestion'](_0x479611))return;const _0x249c28=_0x4f53e5['getSuggestion'](_0x479611);this['_suggestionToController']['get'](_0x249c28)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x63bf42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f9378;for(const _0x9db619 in _0x63bf42){const _0x2805f3=_0x9db619,_0x57e6b6=_0x63bf42[_0x2805f3];if('trackChangesLicenseKeyValid'==_0x57e6b6||'trackChangesLicenseKeyInvalid'==_0x57e6b6||'trackChangesLicenseKeyExpired'==_0x57e6b6||'trackChangesLicenseKeyDomainLimit'==_0x57e6b6||'trackChangesLicenseKeyNotAllowed'==_0x57e6b6||'trackChangesLicenseKeyEvaluationLimit'==_0x57e6b6||'trackChangesLicenseKeyUsageLimit'==_0x57e6b6){delete _0x63bf42[_0x2805f3],_0x1f9378=_0x57e6b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x1f9378&&_0x63bf42['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x1f9378&&_0x63bf42['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x1f9378&&_0x63bf42['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x1f9378&&_0x63bf42['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x1f9378&&_0x63bf42['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x1f9378&&_0x63bf42['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x41e7){const _0x27f15c=this['_suggestionToController']['get'](_0x41e7);if(!_0x27f15c)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x27f15c['view'])||null;}['getSuggestionForAnnotation'](_0x385889){const _0x1a12e1=this['_viewToController']['get'](_0x385889['innerView']);return _0x1a12e1?_0x1a12e1['model']:null;}['_refreshActiveMarkers'](){const _0x49d194=this['editor']['plugins']['get']('Annotations'),_0x1aefc6=this['editor']['plugins']['get']('TrackChangesEditing'),_0x46e3b0=Array['from'](_0x49d194['activeAnnotations'],_0x42f89=>_0x42f89['innerView'])['filter'](_0x15420d=>this['_viewToController']['has'](_0x15420d)),_0x1a86bd=[];for(const _0x307d93 of _0x46e3b0){const _0x27703e=this['_viewToController']['get'](_0x307d93)['model']['getAllAdjacentSuggestions']();_0x1a86bd['push'](..._0x27703e['reduce']((_0x4a7c46,_0x55caf4)=>[..._0x4a7c46,..._0x55caf4['getMarkerNames']()],[]));}_0x1aefc6['activeMarkers']=_0x1a86bd;}['_addUIComponentsToFactory'](){const _0x42b1da=this['editor'],_0x349e27=_0x42b1da['locale'],_0x494d90=_0x56c4dc(_0x349e27,'Track\x20changes'),_0x12a392=new _0xa0ed63['Collection']([{'type':'switchbutton','model':new _0xa0ed63['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x494d90,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x56c4dc(_0x349e27,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x56c4dc(_0x349e27,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x56c4dc(_0x349e27,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x56c4dc(_0x349e27,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x42b1da['plugins']['has']('TrackChangesPreview')&&_0x12a392['addMany']([{'type':'separator'},{'type':'button','model':new _0xa0ed63['UIModel']({'withText':!0x0,'label':_0x56c4dc(_0x349e27,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x1568bd of _0x12a392)if(_0xa13b37(_0x1568bd)){const _0x113450=_0x42b1da['commands']['get'](_0x1568bd['model']['commandName']);_0x1568bd['model']['bind']('isOn','isEnabled')['to'](_0x113450,'value','isEnabled');}_0x42b1da['ui']['componentFactory']['add']('trackChanges',_0x17f680=>this['_createToolbarButton'](_0x17f680,_0x12a392,_0x494d90)),_0x42b1da['ui']['componentFactory']['add']('menuBar:trackChanges',_0x3ca0a4=>this['_createMenuBarMenu'](_0x3ca0a4,_0x12a392,_0x494d90));}['_createToolbarButton'](_0x1c8bda,_0x4176cf,_0x103353){const _0x549ecc=_0xa0ed63['createDropdown'](_0x1c8bda,_0xa0ed63['SplitButtonView']),_0x3a45ce=this['editor']['commands']['get']('trackChanges');_0x549ecc['buttonView']['set']({'tooltip':_0x103353,'label':_0x103353,'icon':_0xa0ed63['IconTrackChanges']}),_0x549ecc['buttonView']['bind']('isOn')['to'](_0x3a45ce,'value'),_0x549ecc['buttonView']['on']('execute',()=>{_0x3a45ce['execute'](),this['editor']['editing']['view']['focus']();}),_0xa0ed63['addListToDropdown'](_0x549ecc,_0x4176cf,{'role':'menu'});const _0xcac63b=[];for(const _0x10fc0d of _0x4176cf)_0xa13b37(_0x10fc0d)&&_0xcac63b['push'](this['editor']['commands']['get'](_0x10fc0d['model']['commandName']));const _0x3041e3=_0x549ecc['buttonView'];return _0x3041e3['actionView']['unbind']('isEnabled'),_0x3041e3['arrowView']['unbind']('isEnabled'),_0x3041e3['actionView']['bind']('isEnabled')['to'](_0x3a45ce,'isEnabled'),_0x3041e3['arrowView']['bind']('isEnabled')['toMany'](_0xcac63b,'isEnabled',(..._0x550478)=>_0x550478['some'](_0x50dc03=>_0x50dc03)),_0x549ecc['on']('execute',_0x42d73b=>{this['editor']['execute'](_0x42d73b['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x549ecc;}['_createMenuBarMenu'](_0x42e1f5,_0x46cb99,_0x153313){const _0x3f5fdf=new _0xa0ed63['MenuBarMenuView'](_0x42e1f5),_0x56e582=this['editor']['commands']['get']('trackChanges');_0x3f5fdf['buttonView']['set']({'label':_0x153313,'icon':_0xa0ed63['IconTrackChanges']});const _0x4e1467=new _0xa0ed63['MenuBarMenuListView'](_0x42e1f5);for(const _0x405a11 of _0x46cb99){if('separator'==_0x405a11['type']){_0x4e1467['items']['add'](new _0xa0ed63['ListSeparatorView'](_0x42e1f5));continue;}const _0x2cae2d=new _0xa0ed63['MenuBarMenuListItemView'](_0x42e1f5,_0x3f5fdf),_0x4b3501=new _0xa0ed63['MenuBarMenuListItemButtonView'](_0x42e1f5),_0x2ccf09=_0x405a11['model'];_0x4b3501['bind'](...Object['keys'](_0x2ccf09))['to'](_0x2ccf09),_0x4b3501['delegate']('execute')['to'](_0x3f5fdf),_0x4b3501['on']('execute',()=>{this['editor']['execute'](_0x2ccf09['commandName']),this['editor']['editing']['view']['focus']();}),_0x2cae2d['children']['add'](_0x4b3501),_0x4e1467['items']['add'](_0x2cae2d);}return _0x3f5fdf['bind']('isEnabled')['to'](_0x56e582,'isEnabled'),_0x3f5fdf['panelView']['children']['add'](_0x4e1467),_0x3f5fdf;}['_initializeController'](_0x5b8aa9){const _0x1ecc04=this['editor'],_0x362155=_0x1ecc04['config'],_0x2f688e=_0x1ecc04['plugins']['get']('Annotations'),_0x301633=_0x1ecc04['plugins']['get']('CommentsRepository'),_0x54a937=_0x1ecc04['plugins']['get']('EditorAnnotations'),_0x3dedac=_0x1ecc04['plugins']['get'](_0x16ef47)['me'],_0x1df4f0=_0x362155['get']('trackChanges')['SuggestionThreadView'],_0x4a0383=_0x362155['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x232e75,CommentThreadInputView:_0x3700e5}=_0x1ecc04['plugins']['get']('CommentsUI');let _0x2f5d80,_0x360915,_0x58b2a0;this['_annotationViews']['has'](_0x5b8aa9['id'])?(_0x360915=this['_annotationViews']['get'](_0x5b8aa9['id']),_0x2f5d80=_0x360915['mainView']):(_0x2f5d80=new _0x1df4f0(_0x1ecc04['locale'],_0x5b8aa9,_0x3dedac,{'disableComments':this['_disableComments'],'editorConfig':{..._0x362155['get']('comments.editorConfig'),'licenseKey':_0x362155['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x362155['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x362155['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x362155['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x17c219(_0x362155['get']('locale'),_0x1ecc04['locale']),'CommentView':_0x362155['get']('comments')['CommentView'],'CommentsListView':_0x232e75,'CommentThreadInputView':_0x3700e5,'SuggestionView':_0x4a0383}),_0x2f5d80['suggestionView']['acceptButton']['on']('execute',()=>{_0x1ecc04['editing']['view']['focus']();}),_0x2f5d80['suggestionView']['discardButton']['on']('execute',()=>{_0x1ecc04['editing']['view']['focus']();}),_0x360915=_0x2f688e['createAnnotationView'](this['editor']['locale'],_0x2f5d80),_0x360915['bind']('isDirty')['to'](_0x2f5d80,'isDirty'),_0x360915['bind']('length')['to'](_0x2f5d80),_0x360915['bind']('type')['to'](_0x2f5d80,'type',_0x1e51ca=>'suggestion-'+_0x1e51ca),_0x2f5d80['on']('escape',()=>{_0x58b2a0['fire']('escape');}),this['_annotationViews']['set'](_0x5b8aa9['id'],_0x360915));const _0x111c8d=_0x301633['createCommentThreadController'](_0x5b8aa9['commentThread'],_0x2f5d80),_0x2cbc0f=new SuggestionController(_0x1ecc04,_0x5b8aa9,_0x2f5d80,_0x111c8d),_0x43b538=_0x5b8aa9['getAllAdjacentSuggestions']()['filter'](_0x47fc50=>_0x47fc50['isInContent']);_0x2f5d80['descriptionParts']=_0x1ecc04['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x43b538),this['_suggestionToController']['set'](_0x5b8aa9,_0x2cbc0f),this['_viewToController']['set'](_0x2f5d80,_0x2cbc0f);const _0x356204=()=>{const _0x20d796=[],_0x2516b2=_0x5b8aa9['getAllAdjacentSuggestions']()['filter'](_0x31520c=>_0x31520c['isInContent']);for(const _0x59637a of _0x2516b2)_0x20d796['push'](..._0x59637a['getMarkers']());return _0x39c902(_0x1ecc04['editing'],_0x20d796);};_0x58b2a0=_0x2f688e['createAnnotation']({'view':_0x360915,'target':_0x356204,'type':()=>'suggestion-'+_0x2cbc0f['view']['type'],'isVisible':!!_0x356204()}),_0x301633['_bindAnnotationToEditors'](_0x2f5d80,_0x58b2a0),_0x2f688e['add'](_0x58b2a0),_0x54a937['registerAnnotation'](_0x58b2a0);}['_destroyController'](_0x11657a){const _0x5235ec=this['editor']['plugins']['get']('CommentsRepository'),_0xc1b99b=this['editor']['plugins']['get']('Annotations'),_0x315154=this['_suggestionToController']['get'](_0x11657a),_0x3df4e6=_0x315154['view'],_0x803826=_0xc1b99b['getByInnerView'](_0x3df4e6);_0x5235ec['_unbindEditors'](_0x3df4e6),_0x803826&&_0xc1b99b['remove'](_0x803826),this['_suggestionToController']['delete'](_0x11657a),this['_viewToController']['delete'](_0x3df4e6),_0x315154['destroy']();}['_updateController'](_0x24c4ea){if(!_0x24c4ea['isInContent']||!this['_suggestionToController']['has'](_0x24c4ea))return;const _0x34b726=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2590ab=this['_suggestionToController']['get'](_0x24c4ea),_0x342c20=_0x24c4ea['getAllAdjacentSuggestions']();_0x2590ab['view']['descriptionParts']=_0x34b726['descriptionFactory']['getDescriptions'](_0x342c20);}['destroy'](){for(const _0x5a67a3 of this['_suggestionToController']['keys']())this['_destroyController'](_0x5a67a3);for(const _0x2038c1 of this['_annotationViews']['values']())_0x2038c1['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0xa13b37(_0x3ec646){return'model'in _0x3ec646;}class _0x379333 extends _0xa0ed63['Plugin']{static get['requires'](){return[TrackChangesEditing,_0x31f903,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x4685bc){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x4685bc;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x53ce68){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x53ce68);}['getSuggestions']({skipNotAttached:_0x985066=!0x1,toJSON:_0x2e0f4f=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x985066,'toJSON':_0x2e0f4f});}['getSuggestion'](_0x128e68){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x128e68);}}const _0x229570=['Pagination'];class TrackChangesData extends _0xa0ed63['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2e69db=this['editor'];if(_0x2e69db['config']['define']('trackChangesData.editorCreator',_0x49f451=>{const _0x5bedc7=_0x2e69db['model']['document']['getRootNames']()['reduce']((_0x2279fc,_0x1fd056)=>(_0x2279fc[_0x1fd056]='',_0x2279fc),{});return _0x2e69db['constructor']['create'](_0x5bedc7,_0x49f451);}),'function'!=typeof _0x2e69db['config']['get']('trackChangesData')['editorCreator'])throw new _0xa0ed63['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x21de02){return _0x40f2d6(this['editor'],!0x0,_0x21de02);}['getDataWithDiscardedSuggestions'](_0x5671f0){return _0x40f2d6(this['editor'],!0x1,_0x5671f0);}}class TrackChangesDataGetter extends _0xa0ed63['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x267c6f){function _0x1a7b55(_0x561f69){return _0x561f69['map'](_0x1ec57f=>String['fromCharCode'](_0x1ec57f))['join']('');}super(_0x267c6f),this['result']='end',_0x267c6f[_0x1a7b55([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a7b55([0x76,0x69,0x65,0x77])][_0x1a7b55([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a7b55([0x61,0x75,0x74,0x6f]),_0x267c6f[_0x1a7b55([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x1a7b55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a7b55([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x1a7b55([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x1a7b55([0x6f,0x6b])});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}}function _0x31ec7e(_0xaf81d2){return void 0x0!==_0xaf81d2['getRootsAttributes'];}async function _0x40f2d6(_0x48e8db,_0x447fe0,_0x56f629){const _0x4afe6e=_0x14b9a3(_0x48e8db,_0x229570);_0x4afe6e['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x4afe6e['rootsAttributes']=_0x31ec7e(_0x48e8db)?_0x48e8db['getRootsAttributes']():void 0x0;const _0x5bbb32=document['createDocumentFragment'](),_0x4c19f7=_0x48e8db['config']['get']('trackChangesData')['editorCreator'],_0x198495=await _0x4c19f7(_0x4afe6e,()=>function(_0x3a570a){const _0x21b51d=document['createElement']('div');return _0x3a570a['appendChild'](_0x21b51d),_0x21b51d;}(_0x5bbb32));!function(_0x1090b0,_0x10611b){const _0x1419b9=_0x1090b0['model']['document']['getRootNames']()['reduce']((_0x353fa1,_0x3fab98)=>(_0x353fa1[_0x3fab98]=_0x1090b0['data']['get']({'rootName':_0x3fab98}),_0x353fa1),{}),_0x553f40=_0x1090b0['plugins']['get']('Users')['users']['map'](_0x18c4cf=>({'id':_0x18c4cf['id'],'name':_0x18c4cf['name']})),_0x406602=_0x1090b0['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x185e98=_0x1090b0['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x29b63e=_0x10611b['plugins']['get']('Users'),_0x1e1793=_0x10611b['plugins']['get']('TrackChangesEditing'),_0xffb2a9=_0x10611b['plugins']['get']('CommentsRepository');for(const _0x50ad83 of _0xffb2a9['getCommentThreads']())_0x50ad83['remove']();for(const _0x1629a9 of _0x553f40)_0x29b63e['getUser'](_0x1629a9['id'])||_0x29b63e['addUser'](_0x1629a9);_0x29b63e['me']||_0x29b63e['useAnonymousUser']();for(const _0x3338fb of _0x185e98)_0xffb2a9['addCommentThread'](_0x3338fb);for(const _0x482595 of _0x406602)_0x1e1793['addSuggestionData'](_0x482595);_0x10611b['data']['set'](_0x1419b9);}(_0x48e8db,_0x198495),_0x198495['execute'](_0x447fe0?'acceptAllSuggestions':'discardAllSuggestions');const _0x4eb81c=_0x31ec7e(_0x198495)?_0x198495['getFullData'](_0x56f629):_0x198495['data']['get'](_0x56f629);return await _0x198495['destroy'](),_0x4eb81c;}class _0x3931d3 extends _0xa0ed63['View']{['options'];constructor(_0x4d8a01,_0x43a4c0){super(_0x4d8a01),this['options']=_0x43a4c0,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'](_0x488950,_0x10a821){if(!this['element'])return;const _0x35a6b2=[];for(const [_0x289fa4,_0x4260e9]of _0x488950){const _0x551eb8=document['createElement']('div');_0x551eb8['setAttribute']('data-ck-root-name',_0x289fa4),_0x551eb8['className']=_0x4260e9['classes']+'\x20ck-track-changes-preview__root-container',_0x551eb8['innerHTML']=_0x4260e9['content'],_0x35a6b2['push'](_0x551eb8);}_0x10a821(this['element'],_0x35a6b2),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0xa0ed63['Command']{constructor(_0x412609){super(_0x412609),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x4d2424=this['editor'],_0x42e820=_0x4d2424['locale'],_0x327348=_0x4d2424['plugins']['get']('Dialog');let _0x4d4ce4;const _0x460580=function(_0x2a5167){const _0x12caf8={};if('editables'in _0x2a5167['ui']['view']){for(const [_0x2e6e6e,_0x2d1fb6]of Object['entries'](_0x2a5167['ui']['view']['editables']))_0x12caf8[_0x2e6e6e]=_0x2d1fb6['element'];}else _0x12caf8[_0x2a5167['model']['document']['getRootNames']()[0x0]]=_0x2a5167['ui']['view']['editable']['element'];return _0x12caf8;}(_0x4d2424),_0x42874d=function(_0x474cdb){let _0x5a7691=0x0;for(const _0x9bd1ae of Object['values'](_0x474cdb))_0x5a7691=Math['max'](_0x5a7691,_0x9bd1ae['getBoundingClientRect']()['width']);let _0x2694a5=0x0;for(const _0x101d36 of Object['values'](_0x474cdb))_0x2694a5+=_0x101d36['getBoundingClientRect']()['height'];const _0xb0c10d=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x8a095c=Math['min'](_0x2694a5,_0xb0c10d);return{'width':_0x5a7691,'height':_0x8a095c};}(_0x460580);_0x327348['show']({'id':'finalContentPreview','title':_0x56c4dc(_0x42e820,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x3931d3(_0x42e820,{'dialogRects':_0x42874d}),'onHide':()=>{_0x4d4ce4['detachFromDom']();},'onShow':()=>{_0x4d2424['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x26bfce=>{const _0x561844=this['_standarizeRootsData'](_0x26bfce,_0x4d2424,_0x460580);_0x327348['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x561844,_0x4d2424['config']['get']('trackChanges.preview.renderFunction'));}),_0x4d4ce4=new _0xa0ed63['BodyCollection'](_0x42e820,[_0x327348['view']]),_0x4d4ce4['attachToDom'](),_0x4d4ce4['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x4d2424['once']('destroy',()=>{_0x4d4ce4['detachFromDom']();});const _0x4faf3f=_0x327348['view']['headerView']['class'];_0x327348['view']['headerView']['class']=_0x4faf3f?_0x4faf3f+'\x20ck-reset_all':'ck-reset_all',_0x327348['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x327348['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x4ba87b=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x4079cd=_0x4ba87b['previewMode'],_0x4a8ace={};if('$labels'===_0x4079cd){for(const _0x16abb4 of _0x4ba87b['getMergeFieldsIds']())_0x4a8ace[_0x16abb4]=_0x4ba87b['getLabel'](_0x16abb4)||_0x16abb4;}else{const _0x206888='$defaultValues'===_0x4079cd?_0x4ba87b['getDefaultValues']():_0x4ba87b['getDataSetValues'](_0x4079cd,!0x0);for(const _0x33ec26 of Object['entries'](_0x206888)){const [_0x32e83e,_0x511555]=_0x33ec26;_0x4a8ace[_0x32e83e]=null!==_0x511555?_0x511555:_0x4ba87b['getLabel'](_0x32e83e)||_0x32e83e;}}return{'mergeFieldsData':_0x4a8ace};}['_standarizeRootsData'](_0x1a8a0d,_0x469fe7,_0x3f8268){let _0x3fdadb;if('string'==typeof _0x1a8a0d){const _0x4d2655=_0x469fe7['model']['document']['getRootNames']()[0x0];_0x3fdadb={[_0x4d2655]:_0x1a8a0d};}else _0x3fdadb=_0x1a8a0d;const _0x2406e3=this['_fixMediaEmbeds'](_0x3fdadb,_0x469fe7),_0x58f2c0=function(_0x60ed8c,_0x24d110){for(const [_0x1761f4,_0x32f290]of _0x60ed8c)_0x32f290['classes']=_0x24d110[_0x1761f4]['classList']['value']['replace']('ck-focused','');return _0x60ed8c;}(this['_sortRoots'](_0x469fe7)['reduce']((_0x359e21,_0x2afd95)=>(_0x359e21['push']([_0x2afd95,{'content':_0x2406e3[_0x2afd95],'classes':''}]),_0x359e21),[]),_0x3f8268);return _0x58f2c0;}['_fixMediaEmbeds'](_0x3d9820,_0xf74d69){if(!_0xf74d69['plugins']['has']('MediaEmbedEditing'))return _0x3d9820;const _0x47400b=_0xf74d69['plugins']['get']('MediaEmbedEditing');for(const [_0x561142,_0xc27db5]of Object['entries'](_0x3d9820)){const _0x3625fd=document['createElement']('div');_0x3625fd['innerHTML']=_0xc27db5,(_0x3625fd['querySelectorAll']('figure.media')['forEach'](_0x4715ce=>{const _0x38eaff=_0x4715ce['querySelector']('oembed');if(_0x38eaff){const _0xa30caa=_0x38eaff['getAttribute']('url');if(_0xa30caa){const _0x5777f2=_0x47400b['registry']['getMediaViewElement'](new _0xa0ed63['ViewDowncastWriter'](_0xf74d69['editing']['view']['document']),_0xa30caa,{'elementName':'','renderForEditingView':!0x0}),_0x2ab71a=document['createElement']('div');_0x2ab71a['classList']['add']('ck-media__wrapper'),_0x5777f2['render'](_0x2ab71a,_0xf74d69['editing']['view']['domConverter']),_0x38eaff['replaceWith'](_0x2ab71a);}}}),_0x3d9820[_0x561142]=_0x3625fd['innerHTML']);}return _0x3d9820;}['_sortRoots'](_0x34bec3){if(!function(_0x34ef12){return void 0x0!==_0x34ef12['getRootsAttributes'];}(_0x34bec3))return _0x34bec3['model']['document']['getRootNames']();const _0x36970e=[],_0x12243e=new Map();for(const _0x35b7d4 of _0x34bec3['model']['document']['getRootNames']()){const _0x4947a3=_0x34bec3['editing']['view']['getDomRoot'](_0x35b7d4)['getClientRects']()['item'](0x0);_0x36970e['push'](_0x35b7d4),_0x12243e['set'](_0x35b7d4,_0x4947a3);}return _0x36970e['sort']((_0x4e2779,_0x447004)=>{const _0x38c5a2=_0x12243e['get'](_0x4e2779),_0x51f433=_0x12243e['get'](_0x447004);return _0x38c5a2['y']-_0x51f433['y']||_0x38c5a2['x']-_0x51f433['x'];}),_0x36970e;}}class _0x2745b8 extends _0xa0ed63['Plugin']{static get['requires'](){return[TrackChangesData,_0xa0ed63['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x587ee4){super(_0x587ee4),_0x587ee4['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x587ee4['config']['define']('trackChanges.preview.renderFunction',(_0x5cdbc2,_0x50f52c)=>{for(const _0xb0d822 of _0x50f52c)_0x5cdbc2['appendChild'](_0xb0d822);});}}var _0x46892e=function(_0x1f5509){return _0x1f5509['Local']='local',_0x1f5509['URL']='url',_0x1f5509['Dropbox']='dropbox',_0x1f5509['GDrive']='gdrive',_0x1f5509['Facebook']='facebook',_0x1f5509['GPhotos']='gphotos',_0x1f5509['OneDrive']='onedrive',_0x1f5509;}({});function _0x169bdf(_0x4c73e7,_0x6afff1,_0x333e57){const t=_0x4c73e7['t'],_0x431843=_0x4c73e7['t'];switch(_0x6afff1){case _0x46892e['Local']:return{'text':_0x431843('Insert'===_0x333e57?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x431843('From\x20computer')};case _0x46892e['URL']:return{'text':'Insert'===_0x333e57?_0x431843('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x431843('Via\x20URL')};case _0x46892e['Dropbox']:return{'text':t('Insert'===_0x333e57?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x46892e['Facebook']:return{'text':t('Insert'===_0x333e57?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x46892e['GDrive']:return{'text':t('Insert'===_0x333e57?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x46892e['GPhotos']:return{'text':t('Insert'===_0x333e57?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x46892e['OneDrive']:return{'text':t('Insert'===_0x333e57?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x6afff1;}}class _0xbbfcc2 extends _0xa0ed63['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 _0x58e038=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1748ab;for(const _0x1a192f in _0x58e038){const _0x4fd1c4=_0x1a192f,_0xc9d4a9=_0x58e038[_0x4fd1c4];if('uploadcareLicenseKeyValid'==_0xc9d4a9||'uploadcareLicenseKeyInvalid'==_0xc9d4a9||'uploadcareLicenseKeyExpired'==_0xc9d4a9||'uploadcareLicenseKeyDomainLimit'==_0xc9d4a9||'uploadcareLicenseKeyNotAllowed'==_0xc9d4a9||'uploadcareLicenseKeyEvaluationLimit'==_0xc9d4a9||'uploadcareLicenseKeyUsageLimit'==_0xc9d4a9){delete _0x58e038[_0x4fd1c4],_0x1748ab=_0xc9d4a9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1748ab&&_0x58e038['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1748ab&&_0x58e038['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1748ab&&_0x58e038['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1748ab&&_0x58e038['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1748ab&&_0x58e038['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1748ab&&_0x58e038['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1b74bf}=this,_0x5224ec=_0x1b74bf['commands']['get']('uploadcare');if(!_0x5224ec)return;const _0x2b1f27=this['_normalizeConfigSourceList'](_0x1b74bf['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x189daa,_0x42f640)=>{const _0x2079b9=this['_getIntegrationKey'](_0x42f640['type']);return _0x189daa[_0x2079b9]||(_0x189daa[_0x2079b9]=[]),_0x189daa[_0x2079b9]['push'](_0x42f640),_0x189daa;},{});_0x1b74bf['plugins']['has']('ImageInsertUI')&&_0x1b74bf['commands']['get']('uploadcare')&&Object['entries'](_0x2b1f27)['forEach'](([_0x4617e5,_0x5f17d3])=>{_0x1b74bf['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4617e5,'observable':()=>_0x5224ec,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5f17d3),'formViewCreator':()=>this['_createDropdownButtons'](_0x5f17d3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5f17d3),'override':'assetManager'!==_0x4617e5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5b9556){const {locale:_0x34a207}=this['editor'];return _0x5b9556['map'](_0x159fab=>{const _0x120514=_0x169bdf(_0x34a207,_0x159fab,'Insert');switch(_0x159fab){case _0x46892e['Local']:return{'icon':_0xa0ed63['IconUploadcareImageUpload'],'type':_0x46892e['Local'],..._0x120514};case _0x46892e['URL']:return{'icon':_0xa0ed63['IconUploadcareLink'],'type':_0x46892e['URL'],..._0x120514};case _0x46892e['Dropbox']:return{'icon':_0xa0ed63['IconDropbox'],'type':_0x46892e['Dropbox'],..._0x120514};case _0x46892e['Facebook']:return{'icon':_0xa0ed63['IconFacebook'],'type':_0x46892e['Facebook'],..._0x120514};case _0x46892e['GDrive']:return{'icon':_0xa0ed63['IconGoogleDrive'],'type':_0x46892e['GDrive'],..._0x120514};case _0x46892e['GPhotos']:return{'icon':_0xa0ed63['IconGooglePhotos'],'type':_0x46892e['GPhotos'],..._0x120514};case _0x46892e['OneDrive']:return{'icon':_0xa0ed63['IconOneDrive'],'type':_0x46892e['OneDrive'],..._0x120514};}});}['_getIntegrationKey'](_0x54dd27){switch(_0x54dd27){case _0x46892e['Local']:return'upload';case _0x46892e['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x577425,_0x192180){const _0x2b01ce=this['editor'],_0x5b91d4=new _0x577425(_0x2b01ce['locale']),_0x505409=_0x2b01ce['commands']['get']('uploadcare');return _0x5b91d4['bind']('isEnabled')['to'](_0x505409),_0x5b91d4['on']('execute',()=>{_0x505409['execute'](_0x192180);}),_0x5b91d4;}['_createToolbarButton'](_0x57da6c){const {locale:_0x16c5cb}=this['editor'],_0x1cce08=this['editor']['plugins']['get']('ImageInsertUI'),_0x1721c7=_0x57da6c[0x0],_0x5f5585=this['_createButton'](_0xa0ed63['ButtonView'],_0x1721c7['type']);return _0x5f5585['icon']=_0x1721c7['icon'],_0x5f5585['bind']('label')['to'](_0x1cce08,'isImageSelected',_0x1370b8=>_0x169bdf(_0x16c5cb,_0x1721c7['type'],_0x1370b8?'Replace':'Insert')['text']),_0x5f5585['tooltip']=!0x0,_0x5f5585;}['_createDropdownButtons'](_0x241ce3){const {locale:_0xfdb16c}=this['editor'],_0x3de121=this['editor']['plugins']['get']('ImageInsertUI');return _0x241ce3['map'](_0x5c779a=>{const _0x16c523=this['_createButton'](_0xa0ed63['ButtonView'],_0x5c779a['type']);return _0x16c523['withText']=!0x0,_0x16c523['icon']=_0x5c779a['icon'],_0x16c523['bind']('label')['to'](_0x3de121,'isImageSelected',_0x2613ca=>_0x169bdf(_0xfdb16c,_0x5c779a['type'],_0x2613ca?'Replace':'Insert')['text']),_0x16c523;});}['_createMenuBarButtons'](_0x4ecdd7){return _0x4ecdd7['map'](_0x5e184d=>{const _0x1480b4=this['_createButton'](_0xa0ed63['MenuBarMenuListItemButtonView'],_0x5e184d['type']);return _0x1480b4['icon']=_0x5e184d['icon'],_0x1480b4['label']=_0x5e184d['shortText'],_0x1480b4;});}}class _0x16f825 extends _0xa0ed63['View']{['focusTracker'];['focusCycler'];constructor(_0x236b04){super(_0x236b04),this['focusTracker']=new _0xa0ed63['FocusTracker'](),this['focusCycler']=new _0xa0ed63['FocusCycler']({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class _0x58d609 extends _0x16f825{constructor(_0x544564,_0x102d01){super(_0x544564),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-'+_0x102d01}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function _0x208a4d(_0x433f50,_0x1992af){const _0x2868ec=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x25e06e=>_0x25e06e<=_0x1992af)['map'](_0x42fbfb=>_0x433f50['replace'](/\/$/,'')+'/-/resize/'+_0x42fbfb+'x/\x20'+_0x42fbfb+'w');return{'imageFallbackUrl':_0x433f50,'imageSources':[{'srcset':_0x2868ec['join'](',\x20'),'sizes':'(max-width:\x20'+_0x1992af+'px)\x20100vw,\x20'+_0x1992af+'px','type':'image/webp'}]};}function _0x1c14e9(_0x592d70,_0x304d5f,_0x19c067){const _0xaa50e2=_0x592d70['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xaa50e2?parseInt(_0xaa50e2[0x1],0xa):_0x304d5f,'height':_0xaa50e2?parseInt(_0xaa50e2[0x2],0xa):_0x19c067};}function _0x3db45d(_0x171aca,_0x2b6712){const _0xb7a492=new(_0xa0ed63['DomEmitterMixin']())(),_0x1e75a0=_0x171aca['plugins']['get']('ImageUtils'),_0xd9b39d=_0x171aca['editing']['mapper']['toViewElement'](_0x2b6712),_0x412243=_0x1e75a0['findViewImgElement'](_0xd9b39d),_0x244419=_0x171aca['editing']['view']['domConverter']['viewToDom'](_0x412243),_0x178074=_0x2b6712['getAttribute']('width'),_0x393c29=_0x2b6712['getAttribute']('height'),_0x537c30='image-processing';_0x171aca['editing']['view']['change'](_0xa8dd0c=>{_0xa8dd0c['addClass'](_0x537c30,_0xd9b39d),_0xa8dd0c['setStyle']('aspect-ratio',_0x178074+'/'+_0x393c29,_0x412243);}),_0xb7a492['listenTo'](_0x244419,'load',()=>{_0xb7a492['stopListening'](_0x244419,'load'),_0x171aca['editing']['view']['change'](_0x1f1468=>{_0x1f1468['removeClass'](_0x537c30,_0xd9b39d),_0x1f1468['removeStyle']('aspect-ratio',_0x412243);});});}function _0x680ce1(_0x2c1bd2){if(Array['isArray'](_0x2c1bd2)){const _0x15a2c5=_0x2c1bd2['map'](_0x680ce1);return _0x38c9a2=>_0x15a2c5['some'](_0x3d45b0=>_0x3d45b0(_0x38c9a2));}if('origin'==_0x2c1bd2){const _0x1f1db0=_0xa0ed63['global']['window']['location']['origin'];return _0x25e0e5=>new URL(_0x25e0e5,_0xa0ed63['global']['document']['baseURI'])['origin']==_0x1f1db0;}return'function'==typeof _0x2c1bd2?_0x2c1bd2:_0x2c1bd2 instanceof RegExp?_0x26bbfb=>!(!_0x26bbfb['match'](_0x2c1bd2)&&!_0x26bbfb['replace'](/^https?:\/\//,'')['match'](_0x2c1bd2)):()=>!0x1;}function _0x565127(_0x4ca77d,_0x230655){return _0xa0ed63['getAncestors'](_0x4ca77d['target'])['includes'](_0x230655);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2e41a9,_0xa8ed2b,_0x306da9){super(),this['_editor']=_0x2e41a9,this['_editing']=_0xa8ed2b,this['_dialog']=_0x2e41a9['plugins']['get'](_0xa0ed63['Dialog']),this['_api']=_0xa8ed2b['ctxElement']['getAPI'](),this['_type']=_0x306da9,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:_0x41b10d,model:_0x35265c}=this['_editor'],_0x28d2ec=_0x35265c['document']['selection']['getSelectedElement'](),_0x107820=_0x28d2ec&&(_0x28d2ec['is']('element','imageBlock')||_0x28d2ec['is']('element','imageInline'));this['_formView']=new _0x58d609(_0x41b10d,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xa0ed63['IconUploadcareImageUpload'],'title':_0x169bdf(_0x41b10d,this['_type'],_0x107820?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xa0ed63['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5263da=>!_0x565127(_0x5263da,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x11e62e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3e85f1=>{const _0x13ce54=_0x11e62e['length'];for(const _0xec8036 of _0x11e62e){const _0x496bdf=_0xec8036===_0x11e62e[_0x13ce54-0x1],{cdnUrl:_0xb6b39,fileInfo:_0x31efb3}=_0xec8036;if(!_0xb6b39||!_0x31efb3)continue;const {width:_0x52ce10,height:_0x329ed5}=_0x31efb3['imageInfo'],_0x5de93d=_0x1c14e9(_0xb6b39,_0x52ce10,_0x329ed5),_0x3cde72=_0x208a4d(_0xb6b39,_0x5de93d['width']),_0x1cfe78={'id':_0x31efb3['uuid'],'type':'image','attributes':{'imageDimension':_0x5de93d,..._0x3cde72}};this['_insertAsset'](_0x1cfe78,_0x496bdf,_0x3e85f1);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x247ff1=>{'idle'===_0x247ff1['detail']['status']&&!_0x247ff1['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x46892e['Local']?this['_api']['setCurrentActivity'](_0x46892e['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5a90b9,_0x4d79bf,_0x276388){const _0x3ac279=this['_editor']['model']['document']['selection'],_0x2c0954=_0x3ac279['getSelectedElement'](),_0x57a7f9=!(!_0x2c0954||!_0x2c0954['is']('element','imageInline'));_0x276388['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5a90b9,_0x57a7f9),_0x4d79bf||_0x276388['setSelection'](_0x3ac279['getLastPosition']());}['_insertImage'](_0x4ebce9,_0x2fd8e8){const _0x11681a=this['_editor'],{imageDimension:_0x3d0fd1,imageFallbackUrl:_0x20e3d4,imageSources:_0x59b7b5}=_0x4ebce9['attributes'];_0x11681a['execute']('insertImage',{'imageType':_0x2fd8e8?'imageInline':null,'source':{'uploadcareImageId':_0x4ebce9['id'],'src':_0x20e3d4,'sources':_0x59b7b5,..._0x3d0fd1}});}}class _0x2ce4aa extends _0xa0ed63['Command']{['_editing'];['_controller']=null;static get['requires'](){return[_0xa0ed63['Dialog'],UploadcareEditing];}constructor(_0x571ad6){super(_0x571ad6),this['_editing']=_0x571ad6['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xcdf11f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0xcdf11f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function _0x300f37(_0x3f6fd4){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3f6fd4);}const _0x1b08b3=/\W|_/g;function _0x27b864(_0xe3d6ca){return _0xe3d6ca['split'](_0x1b08b3)['map']((_0x4deec0,_0x246d09)=>_0x4deec0['charAt'](0x0)[_0x246d09>0x0?'toUpperCase':'toLowerCase']()+_0x4deec0['slice'](0x1))['join']('');}function _0x3660a3(_0x4c80a2,{ignoreKeys:_0x3de733}={'ignoreKeys':[]}){return Array['isArray'](_0x4c80a2)?_0x4c80a2['map'](_0xcf8ca1=>_0x3f5737(_0xcf8ca1,{'ignoreKeys':_0x3de733})):_0x4c80a2;}function _0x3f5737(_0x57ec9b,{ignoreKeys:_0x4cf861}={'ignoreKeys':[]}){if(Array['isArray'](_0x57ec9b))return _0x3660a3(_0x57ec9b,{'ignoreKeys':_0x4cf861});if(!_0x300f37(_0x57ec9b))return _0x57ec9b;const _0xb96e50={};for(const _0x318a59 of Object['keys'](_0x57ec9b)){let _0x3a2a4b=_0x57ec9b[_0x318a59];_0x4cf861['includes'](_0x318a59)?_0xb96e50[_0x318a59]=_0x3a2a4b:(_0x300f37(_0x3a2a4b)?_0x3a2a4b=_0x3f5737(_0x3a2a4b,{'ignoreKeys':_0x4cf861}):Array['isArray'](_0x3a2a4b)&&(_0x3a2a4b=_0x3660a3(_0x3a2a4b,{'ignoreKeys':_0x4cf861})),_0xb96e50[_0x27b864(_0x318a59)]=_0x3a2a4b);}return _0xb96e50;}const _0x312a26={'factor':0x2,'time':0x64};function _0x1357e6(_0x4e2d27,_0x3ffcdc=_0x312a26){let _0x32aba8=0x0;return function _0x1a6801(_0x175784){const _0x2d8d5d=Math['round'](_0x3ffcdc['time']*_0x3ffcdc['factor']**_0x32aba8);return _0x175784({'attempt':_0x32aba8,'retry':_0x3f3e91=>(_0x3f3adc=>new Promise(_0x54f649=>setTimeout(_0x54f649,_0x3f3adc)))(_0x3f3e91??_0x2d8d5d)['then'](()=>(_0x32aba8+=0x1,_0x1a6801(_0x175784)))});}(_0x4e2d27);}let _0x4ea5cc=class _0x20c940 extends Error{},_0x42a104=class NetworkError extends _0x4ea5cc{['originalProgressEvent'];constructor(_0x37d162){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x37d162;}};const _0x1f4a2c=(_0x37e6f2,_0xc69c2f)=>{_0x37e6f2&&(_0x37e6f2['aborted']?Promise['resolve']()['then'](_0xc69c2f):_0x37e6f2['addEventListener']('abort',()=>_0xc69c2f(),{'once':!0x0}));};let _0xe80a90=class _0x2ad18c extends _0x4ea5cc{['isCancel']=!0x0;constructor(_0x148a23='Request\x20canceled'){super(_0x148a23),this['name']='CancelError',Object['setPrototypeOf'](this,_0x2ad18c['prototype']);}};const _0x1dd59c=({check:_0x54b9ca,interval:_0x486a53=0x1f4,timeout:_0x442426,signal:_0x254337})=>new Promise((_0x21ad7d,_0x581fdc)=>{let _0x57eaaa,_0x4e93e0;_0x1f4a2c(_0x254337,()=>{_0x57eaaa&&clearTimeout(_0x57eaaa),_0x581fdc(new _0xe80a90('Poll\x20cancelled'));}),_0x442426&&(_0x4e93e0=setTimeout(()=>{_0x57eaaa&&clearTimeout(_0x57eaaa),_0x581fdc(new _0xe80a90('Timed\x20out'));},_0x442426));const _0x1b68dc=()=>{try{Promise['resolve'](_0x54b9ca(_0x254337))['then'](_0x1c26d=>{_0x1c26d?(_0x4e93e0&&clearTimeout(_0x4e93e0),_0x21ad7d(_0x1c26d)):_0x57eaaa=setTimeout(_0x1b68dc,_0x486a53);})['catch'](_0x13190c=>{_0x4e93e0&&clearTimeout(_0x4e93e0),_0x581fdc(_0x13190c);});}catch(_0x3a2500){_0x4e93e0&&clearTimeout(_0x4e93e0),_0x581fdc(_0x3a2500);}};_0x57eaaa=setTimeout(_0x1b68dc,0x0);}),_0x47821a='https://ucarecdn.com',_0x33b445='https://upload.uploadcare.com',_0x174337=0x1,tR=0x3,_0x35d34a=0x1900000,_0x75f104=0x500000,_0x548903=0x4,_0x5e9851='79ae88bd931ea68464d9',_0x3bad1b='application/octet-stream',_0x36f096=({method:_0x25c05a,url:_0x177076,data:_0x1629f5,headers:_0x3d524a={},signal:_0xdc74dd,onProgress:_0x33ca34})=>new Promise((_0x216dc3,_0xb6d9b9)=>{const _0x31daf8=new XMLHttpRequest(),_0x2037b8=_0x25c05a?.['toUpperCase']()||'GET';let _0x25e9f1=!0x1;_0x31daf8['open'](_0x2037b8,_0x177076,!0x0),_0x3d524a&&Object['entries'](_0x3d524a)['forEach'](_0x8dec4c=>{const [_0x2dca34,_0x516528]=_0x8dec4c;void 0x0!==_0x516528&&!Array['isArray'](_0x516528)&&_0x31daf8['setRequestHeader'](_0x2dca34,_0x516528);}),_0x31daf8['responseType']='text',_0x1f4a2c(_0xdc74dd,()=>{_0x25e9f1=!0x0,_0x31daf8['abort'](),_0xb6d9b9(new _0xe80a90());}),_0x31daf8['onload']=()=>{if(0xc8!=_0x31daf8['status'])_0xb6d9b9(new Error('Error\x20'+_0x31daf8['status']+':\x20'+_0x31daf8['statusText']));else{const _0x5e21ec={'method':_0x2037b8,'url':_0x177076,'data':_0x1629f5,'headers':_0x3d524a||void 0x0,'signal':_0xdc74dd,'onProgress':_0x33ca34},_0x589d60=_0x31daf8['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x3d99ec={};_0x589d60['forEach'](function(_0x3fa8ec){const _0x55f9f7=_0x3fa8ec['split'](':\x20'),_0x2d105a=_0x55f9f7['shift'](),_0x11bce9=_0x55f9f7['join'](':\x20');_0x2d105a&&void 0x0!==_0x2d105a&&(_0x3d99ec[_0x2d105a]=_0x11bce9);});const _0x325ad3=_0x31daf8['response'],_0xe30ff8=_0x31daf8['status'];_0x216dc3({'request':_0x5e21ec,'data':_0x325ad3,'headers':_0x3d99ec,'status':_0xe30ff8});}},_0x31daf8['onerror']=_0x4901dc=>{_0x25e9f1||_0xb6d9b9(new _0x42a104(_0x4901dc));},_0x33ca34&&'function'==typeof _0x33ca34&&(_0x31daf8['upload']['onprogress']=_0x56d1cb=>{_0x56d1cb['lengthComputable']?_0x33ca34({'isComputable':!0x0,'value':_0x56d1cb['loaded']/_0x56d1cb['total']}):_0x33ca34({'isComputable':!0x1});}),_0x1629f5?_0x31daf8['send'](_0x1629f5):_0x31daf8['send']();}),_0x25c99d=function(_0x77280a,..._0x236a7e){return _0x77280a;},_0x1c15da=_0x1a4837=>'undefined'!=typeof Blob&&_0x1a4837 instanceof Blob,_0x518e14=_0x1c03f3=>'undefined'!=typeof File&&_0x1c03f3 instanceof File,_0x4b4a81=_0x5e51bf=>!!_0x5e51bf&&'object'==typeof _0x5e51bf&&!Array['isArray'](_0x5e51bf)&&'uri'in _0x5e51bf&&'string'==typeof _0x5e51bf['uri'],_0xcd8c20=_0x516771=>_0x1c15da(_0x516771)||_0x518e14(_0x516771)||_0x4b4a81(_0x516771);function _0x1c1d14(_0x5238a5,_0x36a062,_0x2a856c){if(Array['isArray'](_0x2a856c)){for(const _0x75cb03 of _0x2a856c)_0x1c1d14(_0x5238a5,_0x36a062+'[]',_0x75cb03);}else{if((_0x2f3b37=>!!_0x2f3b37&&'object'==typeof _0x2f3b37&&'data'in _0x2f3b37&&_0xcd8c20(_0x2f3b37['data']))(_0x2a856c)){const {name:_0x29610d,contentType:_0x2d562b}=_0x2a856c,_0x1b093d=_0x25c99d(_0x2a856c['data'],_0x29610d,_0x2d562b??_0x3bad1b),_0x426c29=(({name:_0x4b8319})=>_0x4b8319?[_0x4b8319]:[])({'name':_0x29610d});_0x5238a5['push']([_0x36a062,_0x1b093d,..._0x426c29]);}else{if((_0x22b3a2=>!!_0x22b3a2&&'object'==typeof _0x22b3a2&&!Array['isArray'](_0x22b3a2))(_0x2a856c)){for(const [_0x594ce1,_0x5c93b9]of Object['entries'](_0x2a856c))void 0x0!==_0x5c93b9&&_0x5238a5['push']([_0x36a062+'['+_0x594ce1+']',String(_0x5c93b9)]);}else(_0x498f1a=>'string'==typeof _0x498f1a||'number'==typeof _0x498f1a||void 0x0===_0x498f1a)(_0x2a856c)&&_0x2a856c&&_0x5238a5['push']([_0x36a062,_0x2a856c['toString']()]);}}}function _0x10a32e(_0x18a184){const _0x16d4d6=new FormData(),_0x58259e=function(_0x5c153e){const _0xaa95c=[];for(const [_0x3d66f5,_0x4faf1e]of Object['entries'](_0x5c153e))_0x1c1d14(_0xaa95c,_0x3d66f5,_0x4faf1e);return _0xaa95c;}(_0x18a184);for(const _0x120eb7 of _0x58259e){const [_0x22a3ed,_0x3747a4,..._0x2d8a9e]=_0x120eb7;_0x16d4d6['append'](_0x22a3ed,_0x3747a4,..._0x2d8a9e);}return _0x16d4d6;}let _0x32c567=class _0x4ed52d extends _0x4ea5cc{['code'];['request'];['response'];['headers'];constructor(_0x517649,_0x3022f3,_0x58a7af,_0x1b2ae3,_0x1ec196){super(),this['name']='UploadError',this['message']=_0x517649,this['code']=_0x3022f3,this['request']=_0x58a7af,this['response']=_0x1b2ae3,this['headers']=_0x1ec196,Object['setPrototypeOf'](this,_0x4ed52d['prototype']);}};const _0x3d814f=(_0xe534eb,_0x13091e,_0x5dead6)=>{const _0x136a70=new URL(_0xe534eb);return _0x136a70['pathname']=(_0x136a70['pathname']+_0x13091e)['replace']('//','/'),_0x5dead6&&(_0x136a70['search']=(_0x1a67e2=>{const _0x3bc3d4=new URLSearchParams();for(const [_0x2deeb0,_0x45ee7f]of Object['entries'](_0x1a67e2))_0x45ee7f&&'object'==typeof _0x45ee7f&&!Array['isArray'](_0x45ee7f)?Object['entries'](_0x45ee7f)['filter'](_0x4187d2=>_0x4187d2[0x1]??!0x1)['forEach'](_0x3effa2=>_0x3bc3d4['set'](_0x2deeb0+'['+_0x3effa2[0x0]+']',String(_0x3effa2[0x1]))):Array['isArray'](_0x45ee7f)?_0x45ee7f['forEach'](_0x5a7c43=>{_0x3bc3d4['append'](_0x2deeb0+'[]',_0x5a7c43);}):'string'==typeof _0x45ee7f&&_0x45ee7f?_0x3bc3d4['set'](_0x2deeb0,_0x45ee7f):'number'==typeof _0x45ee7f&&_0x3bc3d4['set'](_0x2deeb0,_0x45ee7f['toString']());return _0x3bc3d4['toString']();})(_0x5dead6)),_0x136a70['toString']();};function _0x239fe9(_0xd61b68){return function({libraryName:_0x45f098,libraryVersion:_0x34e179,userAgent:_0x4221e9,publicKey:_0x5774d5='',integration:_0x5c15ea=''}){const _0x409fd9='JavaScript';return'string'==typeof _0x4221e9?_0x4221e9:'function'==typeof _0x4221e9?_0x4221e9({'publicKey':_0x5774d5,'libraryName':_0x45f098,'libraryVersion':_0x34e179,'languageName':_0x409fd9,'integration':_0x5c15ea}):[_0x45f098,_0x34e179,_0x5774d5]['filter'](Boolean)['join']('/')+'\x20('+[_0x409fd9,_0x5c15ea]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0xd61b68});}function _0x5f4d8d(_0x510d9a,_0x52afa3){const {retryThrottledRequestMaxTimes:_0x84b55d,retryNetworkErrorMaxTimes:_0xaf763b}=_0x52afa3;return _0x1357e6(({attempt:_0x435394,retry:_0x3ad1e3})=>_0x510d9a()['catch'](_0x503f6c=>{if('response'in _0x503f6c&&'RequestThrottledError'===_0x503f6c?.['code']&&_0x435394<_0x84b55d)return _0x3ad1e3(function(_0xd64057){const {headers:_0x17834a}=_0xd64057||{};if(!_0x17834a||'string'!=typeof _0x17834a['retry-after'])return 0x3a98;const _0x14a782=parseInt(_0x17834a['retry-after'],0xa);return Number['isFinite'](_0x14a782)?0x3e8*_0x14a782:0x3a98;}(_0x503f6c));if(_0x503f6c instanceof _0x42a104&&_0x435394<_0xaf763b)return _0x3ad1e3(0x3e8*(_0x435394+0x1));throw _0x503f6c;}));}const _0xf863e9=_0x50792d=>{let _0x3250d7='';return(_0x1c15da(_0x50792d)||_0x518e14(_0x50792d)||_0x4b4a81(_0x50792d))&&(_0x3250d7=_0x50792d['type']),_0x3250d7||_0x3bad1b;},_0x3871c1=_0x508201=>{let _0x14680='';return _0x518e14(_0x508201)&&_0x508201['name']?_0x14680=_0x508201['name']:_0x1c15da(_0x508201)?_0x14680='':_0x4b4a81(_0x508201)&&_0x508201['name']&&(_0x14680=_0x508201['name']),_0x14680||'original';};function _0x17e289(_0x43f82c){return void 0x0===_0x43f82c||'auto'===_0x43f82c?'auto':_0x43f82c?'1':'0';}var _0x4db436,_0x181bc;!function(_0x2affcd){_0x2affcd['Token']='token',_0x2affcd['FileInfo']='file_info';}(_0x4db436||(_0x4db436={})),function(_0x1462e4){_0x1462e4['Unknown']='unknown',_0x1462e4['Waiting']='waiting',_0x1462e4['Progress']='progress',_0x1462e4['Error']='error',_0x1462e4['Success']='success';}(_0x181bc||(_0x181bc={}));function _0x37df06(_0x3d508f,{publicKey:_0x143ab0,baseURL:_0xc9f37a=_0x33b445,signal:_0x1e2223,integration:_0x30da2e,userAgent:_0xbcb7f6,retryThrottledRequestMaxTimes:_0x2d2d27=_0x174337,retryNetworkErrorMaxTimes:_0x5f493a=tR}={}){return _0x5f4d8d(()=>_0x36f096({'method':'GET','headers':_0x143ab0?{'X-UC-User-Agent':_0x239fe9({'publicKey':_0x143ab0,'integration':_0x30da2e,'userAgent':_0xbcb7f6})}:void 0x0,'url':_0x3d814f(_0xc9f37a,'/from_url/status/',{'jsonerrors':0x1,'token':_0x3d508f}),'signal':_0x1e2223})['then'](({data:_0x353f4c,headers:_0x2476e4,request:_0x2a59b1})=>{const _0xd25831=_0x3f5737(JSON['parse'](_0x353f4c));if('error'in _0xd25831&&!(_0x372212=>'status'in _0x372212&&_0x372212['status']===_0x181bc['Error'])(_0xd25831))throw new _0x32c567(_0xd25831['error']['content'],_0xd25831['error']['errorCode'],_0x2a59b1,_0xd25831,_0x2476e4);return _0xd25831;}),{'retryNetworkErrorMaxTimes':_0x5f493a,'retryThrottledRequestMaxTimes':_0x2d2d27});}function _0x36743e(_0x855bd0,{publicKey:_0x4b6b21,baseURL:_0x1b2594=_0x33b445,signal:_0x1c9c33,source:_0x429a1e,integration:_0x51d0b6,userAgent:_0x21a6de,retryThrottledRequestMaxTimes:_0x41bde4=_0x174337,retryNetworkErrorMaxTimes:_0x5b5462=tR}){return _0x5f4d8d(()=>_0x36f096({'method':'GET','headers':{'X-UC-User-Agent':_0x239fe9({'publicKey':_0x4b6b21,'integration':_0x51d0b6,'userAgent':_0x21a6de})},'url':_0x3d814f(_0x1b2594,'/info/',{'jsonerrors':0x1,'pub_key':_0x4b6b21,'file_id':_0x855bd0,'source':_0x429a1e}),'signal':_0x1c9c33})['then'](({data:_0x1a1665,headers:_0x4ee97f,request:_0x2c3e30})=>{const _0x53e487=_0x3f5737(JSON['parse'](_0x1a1665));if('error'in _0x53e487)throw new _0x32c567(_0x53e487['error']['content'],_0x53e487['error']['errorCode'],_0x2c3e30,_0x53e487,_0x4ee97f);return _0x53e487;}),{'retryThrottledRequestMaxTimes':_0x41bde4,'retryNetworkErrorMaxTimes':_0x5b5462});}function _0x444efd(_0x2730f8,{publicKey:_0x10a629,baseURL:_0x5401ed,source:_0x35eee9,integration:_0x2d4352,userAgent:_0x4c5c03,retryThrottledRequestMaxTimes:_0x464cad,retryNetworkErrorMaxTimes:_0x5c1f3a,signal:_0x4171c7,onProgress:_0x2c1407}){return _0x1dd59c({'check':_0x44eace=>_0x36743e(_0x2730f8,{'publicKey':_0x10a629,'baseURL':_0x5401ed,'signal':_0x44eace,'source':_0x35eee9,'integration':_0x2d4352,'userAgent':_0x4c5c03,'retryThrottledRequestMaxTimes':_0x464cad,'retryNetworkErrorMaxTimes':_0x5c1f3a})['then'](_0x3e5fe3=>_0x3e5fe3['isReady']?_0x3e5fe3:(_0x2c1407&&_0x2c1407({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x4171c7});}let _0x4ce755=class _0x1873eb{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x1fb9b4,{baseCDN:_0x21467b=_0x47821a,fileName:_0xc28dca}={}){const {uuid:_0x371bf4,s3Bucket:_0x193d1e}=_0x1fb9b4,_0x3ac0c6=_0x3d814f(_0x21467b,_0x371bf4+'/'),_0x3c10bc=_0x193d1e?_0x3d814f('https://'+_0x193d1e+'.s3.amazonaws.com/',_0x371bf4+'/'+_0x1fb9b4['filename']):null;this['uuid']=_0x371bf4,this['name']=_0xc28dca||_0x1fb9b4['filename'],this['size']=_0x1fb9b4['size'],this['isStored']=_0x1fb9b4['isStored'],this['isImage']=_0x1fb9b4['isImage'],this['mimeType']=_0x1fb9b4['mimeType'],this['cdnUrl']=_0x3ac0c6,this['originalFilename']=_0x1fb9b4['originalFilename'],this['imageInfo']=_0x1fb9b4['imageInfo'],this['videoInfo']=_0x1fb9b4['videoInfo'],this['contentInfo']=_0x1fb9b4['contentInfo'],this['metadata']=_0x1fb9b4['metadata']||null,this['s3Bucket']=_0x193d1e||null,this['s3Url']=_0x3c10bc,function(_0x33bbe2){return'defaultEffects'in _0x33bbe2;}(_0x1fb9b4)&&(this['defaultEffects']=_0x1fb9b4['defaultEffects']);}};const _0x5b453c=(_0x4a9d7a,{publicKey:_0x6f508,fileName:_0x521526,baseURL:_0x549ccd,secureSignature:_0x49d691,secureExpire:_0x3434e8,store:_0x5c9552,contentType:_0x3d83e2,signal:_0x15effe,onProgress:_0x153368,source:_0x2833e0,integration:_0x2040ae,userAgent:_0x4033df,retryThrottledRequestMaxTimes:_0x51aa80,retryNetworkErrorMaxTimes:_0x3a9f10,baseCDN:_0x3d71ed,metadata:_0x557ea5})=>function(_0x7bd9ed,{publicKey:_0xbf2034,fileName:_0x480b2a,contentType:_0xf17799,baseURL:_0x4f4029=_0x33b445,secureSignature:_0x54507e,secureExpire:_0x162167,store:_0x5b7271,signal:_0x3b25d4,onProgress:_0x260984,source:_0x5c6823='local',integration:_0x28e5c8,userAgent:_0x145771,retryThrottledRequestMaxTimes:_0x530cd6=_0x174337,retryNetworkErrorMaxTimes:_0x5b79fb=tR,metadata:_0x34fd66}){return _0x5f4d8d(()=>_0x36f096({'method':'POST','url':_0x3d814f(_0x4f4029,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x239fe9({'publicKey':_0xbf2034,'integration':_0x28e5c8,'userAgent':_0x145771})},'data':_0x10a32e({'file':{'data':_0x7bd9ed,'name':_0x480b2a||_0x3871c1(_0x7bd9ed),'contentType':_0xf17799||_0xf863e9(_0x7bd9ed)},'UPLOADCARE_PUB_KEY':_0xbf2034,'UPLOADCARE_STORE':_0x17e289(_0x5b7271),'signature':_0x54507e,'expire':_0x162167,'source':_0x5c6823,'metadata':_0x34fd66}),'signal':_0x3b25d4,'onProgress':_0x260984})['then'](({data:_0x2641c1,headers:_0x5c81a5,request:_0x5ae7cd})=>{const _0x330103=_0x3f5737(JSON['parse'](_0x2641c1));if('error'in _0x330103)throw new _0x32c567(_0x330103['error']['content'],_0x330103['error']['errorCode'],_0x5ae7cd,_0x330103,_0x5c81a5);return _0x330103;}),{'retryNetworkErrorMaxTimes':_0x5b79fb,'retryThrottledRequestMaxTimes':_0x530cd6});}(_0x4a9d7a,{'publicKey':_0x6f508,'fileName':_0x521526,'contentType':_0x3d83e2,'baseURL':_0x549ccd,'secureSignature':_0x49d691,'secureExpire':_0x3434e8,'store':_0x5c9552,'signal':_0x15effe,'onProgress':_0x153368,'source':_0x2833e0,'integration':_0x2040ae,'userAgent':_0x4033df,'retryThrottledRequestMaxTimes':_0x51aa80,'retryNetworkErrorMaxTimes':_0x3a9f10,'metadata':_0x557ea5})['then'](({file:_0x1bf317})=>_0x444efd(_0x1bf317,{'publicKey':_0x6f508,'baseURL':_0x549ccd,'source':_0x2833e0,'integration':_0x2040ae,'userAgent':_0x4033df,'retryThrottledRequestMaxTimes':_0x51aa80,'retryNetworkErrorMaxTimes':_0x3a9f10,'onProgress':_0x153368,'signal':_0x15effe}))['then'](_0x283954=>new _0x4ce755(_0x283954,{'baseCDN':_0x3d71ed})),_0x16d960=(_0x508446,{signal:_0x12ee4d}={})=>{let _0x3667a7=null,_0x26a835=null;const _0xd5d3a4=_0x508446['map'](()=>new AbortController());return _0x1f4a2c(_0x12ee4d,()=>{_0xd5d3a4['forEach'](_0x2b2e37=>_0x2b2e37['abort']());}),Promise['all'](_0x508446['map']((_0x5d1b21,_0x5bd617)=>{const _0x42bc2a=(_0x1baca9=>()=>{_0x26a835=_0x1baca9,_0xd5d3a4['forEach']((_0x383a3a,_0x5de89b)=>_0x5de89b!==_0x1baca9&&_0x383a3a['abort']());})(_0x5bd617);return Promise['resolve']()['then'](()=>_0x5d1b21({'stopRace':_0x42bc2a,'signal':_0xd5d3a4[_0x5bd617]['signal']}))['then'](_0xf2a38a=>(_0x42bc2a(),_0xf2a38a))['catch'](_0x435bc0=>(_0x3667a7=_0x435bc0,null));}))['then'](_0x1d90a5=>{if(null===_0x26a835)throw _0x3667a7;return _0x1d90a5[_0x26a835];});};var _0x36591c=window['WebSocket'];let _0x11a169=class Events{['events']=Object['create']({});['emit'](_0x12f178,_0x3cd7cd){this['events'][_0x12f178]?.['forEach'](_0x20592d=>_0x20592d(_0x3cd7cd));}['on'](_0x3115e6,_0xe1f1bc){this['events'][_0x3115e6]=this['events'][_0x3115e6]||[],this['events'][_0x3115e6]['push'](_0xe1f1bc);}['off'](_0x3a554c,_0xd55d5f){this['events'][_0x3a554c]=_0xd55d5f?this['events'][_0x3a554c]['filter'](_0x457d56=>_0x457d56!==_0xd55d5f):[];}},_0x5f1359=class _0x41c0db{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x11a169();['disconnectTimeoutId']=null;constructor(_0x1727f6,_0x26b4e6=0x7530){this['key']=_0x1727f6,this['disconnectTime']=_0x26b4e6;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x187a12='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x36591c(_0x187a12),this['ws']['addEventListener']('error',_0x1f7e92=>{this['emmitter']['emit']('error',new Error(_0x1f7e92['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x4b33f6=>this['send'](_0x4b33f6['event'],_0x4b33f6['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x3b2967=>{const _0xf29d8e=JSON['parse'](_0x3b2967['data']['toString']());switch(_0xf29d8e['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'](_0xf29d8e['channel'],((_0x57107b,_0x438266)=>'success'===_0x57107b?{'status':_0x181bc['Success'],..._0x438266}:'progress'===_0x57107b?{'status':_0x181bc['Progress'],..._0x438266}:{'status':_0x181bc['Error'],..._0x438266})(_0xf29d8e['event'],JSON['parse'](_0xf29d8e['data'])));}});}}['disconnect'](){const _0x329b05=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x329b05();},this['disconnectTime']):_0x329b05();}['send'](_0x17e51b,_0x357322){const _0x2d05f5=JSON['stringify']({'event':_0x17e51b,'data':_0x357322});this['ws']?.['send'](_0x2d05f5);}['subscribe'](_0x24e76f,_0x9d5c41){this['subscribers']+=0x1,this['connect']();const _0x5c2e93='task-status-'+_0x24e76f,_0x350bab={'event':'pusher:subscribe','data':{'channel':_0x5c2e93}};this['emmitter']['on'](_0x5c2e93,_0x9d5c41),this['isConnected']?this['send'](_0x350bab['event'],_0x350bab['data']):this['queue']['push'](_0x350bab);}['unsubscribe'](_0x2506e1){this['subscribers']-=0x1;const _0x1671f1='task-status-'+_0x2506e1,_0x113930={'event':'pusher:unsubscribe','data':{'channel':_0x1671f1}};this['emmitter']['off'](_0x1671f1),this['isConnected']?this['send'](_0x113930['event'],_0x113930['data']):this['queue']=this['queue']['filter'](_0x3adf4d=>_0x3adf4d['data']['channel']!==_0x1671f1),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x174cc5){return this['emmitter']['on']('error',_0x174cc5),()=>this['emmitter']['off']('error',_0x174cc5);}},_0x3f2e03=null;const _0x184fb5=_0x21d759=>{if(!_0x3f2e03){const _0x34b1a4='undefined'==typeof window?0x0:0x7530;_0x3f2e03=new _0x5f1359(_0x21d759,_0x34b1a4);}return _0x3f2e03;},_0x407f29=(_0x56e6f3,{publicKey:_0xe8c9ad,fileName:_0x5143f4,baseURL:_0x399745,baseCDN:_0x93301c,checkForUrlDuplicates:_0x18f485,saveUrlForRecurrentUploads:_0x1cd3ec,secureSignature:_0x47d260,secureExpire:_0x458bfa,store:_0x3df106,signal:_0x294bf0,onProgress:_0x1c3523,source:_0x3bb403,integration:_0x203ff1,userAgent:_0x3b4c49,retryThrottledRequestMaxTimes:_0x140bee,pusherKey:_0x2b4845=_0x5e9851,metadata:_0x5de060})=>{return Promise['resolve']((_0x1a7a57=_0x2b4845,void _0x184fb5(_0x1a7a57)['connect']()))['then'](()=>function(_0x2baf19,{publicKey:_0xef1ba,baseURL:_0x131269=_0x33b445,store:_0x312af3,fileName:_0x263312,checkForUrlDuplicates:_0x49428b,saveUrlForRecurrentUploads:_0x21802e,secureSignature:_0x5d87ce,secureExpire:_0x438f44,source:_0x6814ec='url',signal:_0x4fefcd,integration:_0x37c525,userAgent:_0x4c35b0,retryThrottledRequestMaxTimes:_0x35ab44=_0x174337,retryNetworkErrorMaxTimes:_0x560260=tR,metadata:_0x190d6b}){return _0x5f4d8d(()=>_0x36f096({'method':'POST','headers':{'X-UC-User-Agent':_0x239fe9({'publicKey':_0xef1ba,'integration':_0x37c525,'userAgent':_0x4c35b0})},'url':_0x3d814f(_0x131269,'/from_url/',{'jsonerrors':0x1,'pub_key':_0xef1ba,'source_url':_0x2baf19,'store':_0x17e289(_0x312af3),'filename':_0x263312,'check_URL_duplicates':_0x49428b?0x1:void 0x0,'save_URL_duplicates':_0x21802e?0x1:void 0x0,'signature':_0x5d87ce,'expire':_0x438f44,'source':_0x6814ec,'metadata':_0x190d6b}),'signal':_0x4fefcd})['then'](({data:_0x2ff044,headers:_0xba56d2,request:_0x4d2268})=>{const _0x3a88b7=_0x3f5737(JSON['parse'](_0x2ff044));if('error'in _0x3a88b7)throw new _0x32c567(_0x3a88b7['error']['content'],_0x3a88b7['error']['errorCode'],_0x4d2268,_0x3a88b7,_0xba56d2);return _0x3a88b7;}),{'retryNetworkErrorMaxTimes':_0x560260,'retryThrottledRequestMaxTimes':_0x35ab44});}(_0x56e6f3,{'publicKey':_0xe8c9ad,'fileName':_0x5143f4,'baseURL':_0x399745,'checkForUrlDuplicates':_0x18f485,'saveUrlForRecurrentUploads':_0x1cd3ec,'secureSignature':_0x47d260,'secureExpire':_0x458bfa,'store':_0x3df106,'signal':_0x294bf0,'source':_0x3bb403,'integration':_0x203ff1,'userAgent':_0x3b4c49,'retryThrottledRequestMaxTimes':_0x140bee,'metadata':_0x5de060}))['catch'](_0x5dab6c=>{const _0x1035a2=_0x184fb5(_0x2b4845);return _0x1035a2?.['disconnect'](),Promise['reject'](_0x5dab6c);})['then'](_0x25bd7f=>_0x25bd7f['type']===_0x4db436['FileInfo']?_0x25bd7f:_0x16d960([({signal:_0x54a9e7})=>function({token:_0x4ca959,publicKey:_0x5db3c1,baseURL:_0x56bfdb,integration:_0x23cae6,userAgent:_0x4c2b23,retryThrottledRequestMaxTimes:_0x1b9302,retryNetworkErrorMaxTimes:_0x49096d,onProgress:_0x5604eb,signal:_0x3ad842}){return _0x1dd59c({'check':_0x4263d5=>_0x37df06(_0x4ca959,{'publicKey':_0x5db3c1,'baseURL':_0x56bfdb,'integration':_0x23cae6,'userAgent':_0x4c2b23,'retryThrottledRequestMaxTimes':_0x1b9302,'retryNetworkErrorMaxTimes':_0x49096d,'signal':_0x4263d5})['then'](_0x394450=>{switch(_0x394450['status']){case _0x181bc['Error']:return new _0x32c567(_0x394450['error'],_0x394450['errorCode']);case _0x181bc['Waiting']:return!0x1;case _0x181bc['Unknown']:return new _0x32c567('Token\x20\x22'+_0x4ca959+'\x22\x20was\x20not\x20found.');case _0x181bc['Progress']:return _0x5604eb&&('unknown'===_0x394450['total']?_0x5604eb({'isComputable':!0x1}):_0x5604eb({'isComputable':!0x0,'value':_0x394450['done']/_0x394450['total']})),!0x1;case _0x181bc['Success']:return _0x5604eb&&_0x5604eb({'isComputable':!0x0,'value':_0x394450['done']/_0x394450['total']}),_0x394450;default:throw new Error('Unknown\x20status');}}),'signal':_0x3ad842});}({'token':_0x25bd7f['token'],'publicKey':_0xe8c9ad,'baseURL':_0x399745,'integration':_0x203ff1,'userAgent':_0x3b4c49,'retryThrottledRequestMaxTimes':_0x140bee,'onProgress':_0x1c3523,'signal':_0x54a9e7}),({signal:_0x4701b7})=>(({token:_0x560940,pusherKey:_0x1595ff,signal:_0x3368bf,onProgress:_0x157409})=>new Promise((_0x10e13b,_0x1f0b9d)=>{const _0x3683b9=_0x184fb5(_0x1595ff),_0xbaa568=_0x3683b9['onError'](_0x1f0b9d),_0x4406ed=()=>{_0xbaa568(),_0x3683b9['unsubscribe'](_0x560940);};_0x1f4a2c(_0x3368bf,()=>{_0x4406ed(),_0x1f0b9d(new _0xe80a90('pusher\x20cancelled'));}),_0x3683b9['subscribe'](_0x560940,_0x3a0d4a=>{switch(_0x3a0d4a['status']){case _0x181bc['Progress']:_0x157409&&('unknown'===_0x3a0d4a['total']?_0x157409({'isComputable':!0x1}):_0x157409({'isComputable':!0x0,'value':_0x3a0d4a['done']/_0x3a0d4a['total']}));break;case _0x181bc['Success']:_0x4406ed(),_0x157409&&_0x157409({'isComputable':!0x0,'value':_0x3a0d4a['done']/_0x3a0d4a['total']}),_0x10e13b(_0x3a0d4a);break;case _0x181bc['Error']:_0x4406ed(),_0x1f0b9d(new _0x32c567(_0x3a0d4a['msg'],_0x3a0d4a['error_code']));}});}))({'token':_0x25bd7f['token'],'pusherKey':_0x2b4845,'signal':_0x4701b7,'onProgress':_0x1c3523})],{'signal':_0x294bf0}))['then'](_0x2a25d4=>{if(_0x2a25d4 instanceof _0x32c567)throw _0x2a25d4;return _0x2a25d4;})['then'](_0x68d201=>_0x444efd(_0x68d201['uuid'],{'publicKey':_0xe8c9ad,'baseURL':_0x399745,'integration':_0x203ff1,'userAgent':_0x3b4c49,'retryThrottledRequestMaxTimes':_0x140bee,'onProgress':_0x1c3523,'signal':_0x294bf0}))['then'](_0x589eed=>new _0x4ce755(_0x589eed,{'baseCDN':_0x93301c}));var _0x1a7a57;},_0x4ff6e0=new WeakMap(),_0x3ed90c=async _0xd50c67=>{if(_0x518e14(_0xd50c67)||_0x1c15da(_0xd50c67))return _0xd50c67['size'];if(_0x4b4a81(_0xd50c67))return(await(async _0x4d5fe1=>{if(_0x4ff6e0['has'](_0x4d5fe1))return _0x4ff6e0['get'](_0x4d5fe1);const _0x46f632=await fetch(_0x4d5fe1['uri'])['then'](_0x122fe4=>_0x122fe4['blob']());return _0x4ff6e0['set'](_0x4d5fe1,_0x46f632),_0x46f632;})(_0xd50c67))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0xfdb711=async(_0x46c2be,_0x57516e,_0x27f1f0)=>_0x5e4b0f=>((_0x23f6a5,_0x1b9199,_0x84144,_0x470a3f)=>{const _0x5cbcbb=_0x470a3f*_0x1b9199,_0x496fde=Math['min'](_0x5cbcbb+_0x470a3f,_0x84144);return _0x23f6a5['slice'](_0x5cbcbb,_0x496fde);})(_0x46c2be,_0x5e4b0f,_0x57516e,_0x27f1f0),_0x46b3d1=(_0x5e23ad,_0x2f7291,{publicKey:_0x35e651,contentType:_0xa7785e,onProgress:_0x1bc79c,signal:_0x49548a,integration:_0x4ad1c0,retryThrottledRequestMaxTimes:_0x302f10,retryNetworkErrorMaxTimes:_0x11260f})=>function(_0x18b2ee,_0x370d7a,{contentType:_0x55ef15,signal:_0x30095d,onProgress:_0x5b3d63,retryThrottledRequestMaxTimes:_0x3ba6b6=_0x174337,retryNetworkErrorMaxTimes:_0x34da1f=tR}){return _0x5f4d8d(()=>_0x36f096({'method':'PUT','url':_0x370d7a,'data':_0x18b2ee,'onProgress':_0x5b3d63,'signal':_0x30095d,'headers':{'Content-Type':_0x55ef15||_0x3bad1b}})['then'](_0x436a80=>(_0x5b3d63&&_0x5b3d63({'isComputable':!0x0,'value':0x1}),_0x436a80))['then'](({status:_0x3e28dd})=>({'code':_0x3e28dd})),{'retryThrottledRequestMaxTimes':_0x3ba6b6,'retryNetworkErrorMaxTimes':_0x34da1f});}(_0x5e23ad,_0x2f7291,{'contentType':_0xa7785e,'onProgress':_0x1bc79c,'signal':_0x49548a,'retryThrottledRequestMaxTimes':_0x302f10,'retryNetworkErrorMaxTimes':_0x11260f}),_0x3bdaf8=async(_0x1eae73,{publicKey:_0x40e304,fileName:_0x26306b,fileSize:_0x392d95,baseURL:_0x42e4f3,secureSignature:_0x4655e2,secureExpire:_0x2bc932,store:_0x3b0895,signal:_0x2f9c3c,onProgress:_0x1d7549,source:_0x4c61d7,integration:_0x56102f,userAgent:_0x406b09,retryThrottledRequestMaxTimes:_0x5ba5ac,retryNetworkErrorMaxTimes:_0x5175d5,contentType:_0x7b95d5,multipartChunkSize:_0x498a7b=_0x75f104,maxConcurrentRequests:_0x3e9fb1=_0x548903,baseCDN:_0x2b08cc,metadata:_0x4aa4ee})=>{const _0x2be514=_0x392d95??await _0x3ed90c(_0x1eae73);let _0x501621;const _0x5e56a6=(_0x359f76,_0x575ef7)=>{if(!_0x1d7549)return;_0x501621||(_0x501621=Array(_0x359f76)['fill'](0x0));const _0x37368d=_0x1f5cbc=>_0x1f5cbc['reduce']((_0x585dbe,_0x4316bb)=>_0x585dbe+_0x4316bb,0x0);return _0x2ff2e3=>{_0x2ff2e3['isComputable']&&(_0x501621[_0x575ef7]=_0x2ff2e3['value'],_0x1d7549({'isComputable':!0x0,'value':_0x37368d(_0x501621)/_0x359f76}));};};return _0x7b95d5||=_0xf863e9(_0x1eae73),function(_0x62ad03,{publicKey:_0x18830a,contentType:_0x12634d,fileName:_0xed166a,multipartChunkSize:_0x341433=_0x75f104,baseURL:_0x1c0699='',secureSignature:_0x1a0230,secureExpire:_0x17c602,store:_0x27e961,signal:_0x40ca40,source:_0x29a8f5='local',integration:_0x265ffb,userAgent:_0x25c05e,retryThrottledRequestMaxTimes:_0x27fd65=_0x174337,retryNetworkErrorMaxTimes:_0x2cc3fb=tR,metadata:_0x58928b}){return _0x5f4d8d(()=>_0x36f096({'method':'POST','url':_0x3d814f(_0x1c0699,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x239fe9({'publicKey':_0x18830a,'integration':_0x265ffb,'userAgent':_0x25c05e})},'data':_0x10a32e({'filename':_0xed166a,'size':_0x62ad03,'content_type':_0x12634d||_0x3bad1b,'part_size':_0x341433,'UPLOADCARE_STORE':_0x17e289(_0x27e961),'UPLOADCARE_PUB_KEY':_0x18830a,'signature':_0x1a0230,'expire':_0x17c602,'source':_0x29a8f5,'metadata':_0x58928b}),'signal':_0x40ca40})['then'](({data:_0x52bbe9,headers:_0x30e0a7,request:_0x4ac3bb})=>{const _0x4b4f25=_0x3f5737(JSON['parse'](_0x52bbe9));if('error'in _0x4b4f25)throw new _0x32c567(_0x4b4f25['error']['content'],_0x4b4f25['error']['errorCode'],_0x4ac3bb,_0x4b4f25,_0x30e0a7);return _0x4b4f25['parts']=Object['keys'](_0x4b4f25['parts'])['map'](_0x233f72=>_0x4b4f25['parts'][Number(_0x233f72)]),_0x4b4f25;}),{'retryThrottledRequestMaxTimes':_0x27fd65,'retryNetworkErrorMaxTimes':_0x2cc3fb});}(_0x2be514,{'publicKey':_0x40e304,'contentType':_0x7b95d5,'fileName':_0x26306b||_0x3871c1(_0x1eae73),'baseURL':_0x42e4f3,'secureSignature':_0x4655e2,'secureExpire':_0x2bc932,'store':_0x3b0895,'signal':_0x2f9c3c,'source':_0x4c61d7,'integration':_0x56102f,'userAgent':_0x406b09,'retryThrottledRequestMaxTimes':_0x5ba5ac,'retryNetworkErrorMaxTimes':_0x5175d5,'metadata':_0x4aa4ee,'multipartChunkSize':_0x498a7b})['then'](async({uuid:_0x1d80c5,parts:_0x506b42})=>{const _0xb83700=await _0xfdb711(_0x1eae73,_0x2be514,_0x498a7b);return Promise['all']([_0x1d80c5,(_0x128024=_0x3e9fb1,_0x32e5d1=_0x506b42['map']((_0x1d5c31,_0x54d0d9)=>()=>_0x46b3d1(_0xb83700(_0x54d0d9),_0x1d5c31,{'publicKey':_0x40e304,'contentType':_0x7b95d5,'onProgress':_0x5e56a6(_0x506b42['length'],_0x54d0d9),'signal':_0x2f9c3c,'integration':_0x56102f,'retryThrottledRequestMaxTimes':_0x5ba5ac,'retryNetworkErrorMaxTimes':_0x5175d5})),new Promise((_0x5eefd2,_0x181c36)=>{const _0x5aa4a5=[];let _0x120770=!0x1,_0x150520=_0x32e5d1['length'];const _0x581091=[..._0x32e5d1],_0xc311d1=()=>{const _0x12f720=_0x32e5d1['length']-_0x581091['length'],_0x215677=_0x581091['shift']();_0x215677&&_0x215677()['then'](_0x4f51f8=>{_0x120770||(_0x5aa4a5[_0x12f720]=_0x4f51f8,_0x150520-=0x1,_0x150520?_0xc311d1():_0x5eefd2(_0x5aa4a5));})['catch'](_0x4fc9a9=>{_0x120770=!0x0,_0x181c36(_0x4fc9a9);});};for(let _0x3f5ccf=0x0;_0x3f5ccf<_0x128024;_0x3f5ccf++)_0xc311d1();}))]);var _0x128024,_0x32e5d1;})['then'](([_0x3f5196])=>function(_0x512aea,{publicKey:_0x107c21,baseURL:_0x2ae42d=_0x33b445,source:_0x13ce70='local',signal:_0x3cb56c,integration:_0x389402,userAgent:_0x5185d5,retryThrottledRequestMaxTimes:_0x1a9ff8=_0x174337,retryNetworkErrorMaxTimes:_0x54e0ed=tR}){return _0x5f4d8d(()=>_0x36f096({'method':'POST','url':_0x3d814f(_0x2ae42d,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x239fe9({'publicKey':_0x107c21,'integration':_0x389402,'userAgent':_0x5185d5})},'data':_0x10a32e({'uuid':_0x512aea,'UPLOADCARE_PUB_KEY':_0x107c21,'source':_0x13ce70}),'signal':_0x3cb56c})['then'](({data:_0x468e5d,headers:_0x58efda,request:_0x14c1c7})=>{const _0x459b9d=_0x3f5737(JSON['parse'](_0x468e5d));if('error'in _0x459b9d)throw new _0x32c567(_0x459b9d['error']['content'],_0x459b9d['error']['errorCode'],_0x14c1c7,_0x459b9d,_0x58efda);return _0x459b9d;}),{'retryThrottledRequestMaxTimes':_0x1a9ff8,'retryNetworkErrorMaxTimes':_0x54e0ed});}(_0x3f5196,{'publicKey':_0x40e304,'baseURL':_0x42e4f3,'source':_0x4c61d7,'integration':_0x56102f,'userAgent':_0x406b09,'retryThrottledRequestMaxTimes':_0x5ba5ac,'retryNetworkErrorMaxTimes':_0x5175d5}))['then'](_0xc9e33a=>_0xc9e33a['isReady']?_0xc9e33a:_0x444efd(_0xc9e33a['uuid'],{'publicKey':_0x40e304,'baseURL':_0x42e4f3,'source':_0x4c61d7,'integration':_0x56102f,'userAgent':_0x406b09,'retryThrottledRequestMaxTimes':_0x5ba5ac,'retryNetworkErrorMaxTimes':_0x5175d5,'onProgress':_0x1d7549,'signal':_0x2f9c3c}))['then'](_0x1d5a4b=>new _0x4ce755(_0x1d5a4b,{'baseCDN':_0x2b08cc}));};async function _0x304fcd(_0x54e750,{publicKey:_0x3e9bab,fileName:_0x1b5896,baseURL:_0x131c3f=_0x33b445,secureSignature:_0x7201e9,secureExpire:_0x51ad0a,store:_0x3ff1cd,signal:_0x482c9f,onProgress:_0x460678,source:_0x295958,integration:_0x355105,userAgent:_0x4cca8a,retryThrottledRequestMaxTimes:_0x480449,retryNetworkErrorMaxTimes:_0x143a44,contentType:_0x39c289,multipartMinFileSize:_0x25ad3b,multipartChunkSize:_0x313a9f,maxConcurrentRequests:_0x1e0550,baseCDN:_0x5c6bc7=_0x47821a,checkForUrlDuplicates:_0x406e47,saveUrlForRecurrentUploads:_0x162255,pusherKey:_0x9edaf0,metadata:_0x147444}){if(_0xcd8c20(_0x54e750)){const _0x5782f9=await _0x3ed90c(_0x54e750);return((_0x24975a,_0x1d2908=_0x35d34a)=>_0x24975a>=_0x1d2908)(_0x5782f9,_0x25ad3b)?_0x3bdaf8(_0x54e750,{'publicKey':_0x3e9bab,'contentType':_0x39c289,'multipartChunkSize':_0x313a9f,'fileSize':_0x5782f9,'fileName':_0x1b5896,'baseURL':_0x131c3f,'secureSignature':_0x7201e9,'secureExpire':_0x51ad0a,'store':_0x3ff1cd,'signal':_0x482c9f,'onProgress':_0x460678,'source':_0x295958,'integration':_0x355105,'userAgent':_0x4cca8a,'maxConcurrentRequests':_0x1e0550,'retryThrottledRequestMaxTimes':_0x480449,'retryNetworkErrorMaxTimes':_0x143a44,'baseCDN':_0x5c6bc7,'metadata':_0x147444}):_0x5b453c(_0x54e750,{'publicKey':_0x3e9bab,'fileName':_0x1b5896,'contentType':_0x39c289,'baseURL':_0x131c3f,'secureSignature':_0x7201e9,'secureExpire':_0x51ad0a,'store':_0x3ff1cd,'signal':_0x482c9f,'onProgress':_0x460678,'source':_0x295958,'integration':_0x355105,'userAgent':_0x4cca8a,'retryThrottledRequestMaxTimes':_0x480449,'retryNetworkErrorMaxTimes':_0x143a44,'baseCDN':_0x5c6bc7,'metadata':_0x147444});}if((_0x4502c4=>{const _0x534b46=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0xcd8c20(_0x4502c4)&&_0x534b46['test'](_0x4502c4);})(_0x54e750))return _0x407f29(_0x54e750,{'publicKey':_0x3e9bab,'fileName':_0x1b5896,'baseURL':_0x131c3f,'baseCDN':_0x5c6bc7,'checkForUrlDuplicates':_0x406e47,'saveUrlForRecurrentUploads':_0x162255,'secureSignature':_0x7201e9,'secureExpire':_0x51ad0a,'store':_0x3ff1cd,'signal':_0x482c9f,'onProgress':_0x460678,'source':_0x295958,'integration':_0x355105,'userAgent':_0x4cca8a,'retryThrottledRequestMaxTimes':_0x480449,'pusherKey':_0x9edaf0,'metadata':_0x147444});if((_0x1dec4e=>{const _0xaa520=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0xcd8c20(_0x1dec4e)&&_0xaa520['test'](_0x1dec4e);})(_0x54e750))return((_0x3193b4,{publicKey:_0x504a4e,fileName:_0x53e98d,baseURL:_0x3878dd,signal:_0x58ffa0,onProgress:_0x513f75,source:_0x17060e,integration:_0x422b35,userAgent:_0x55fd57,retryThrottledRequestMaxTimes:_0x3c7dec,retryNetworkErrorMaxTimes:_0x42e1ec,baseCDN:_0x1097a2})=>_0x36743e(_0x3193b4,{'publicKey':_0x504a4e,'baseURL':_0x3878dd,'signal':_0x58ffa0,'source':_0x17060e,'integration':_0x422b35,'userAgent':_0x55fd57,'retryThrottledRequestMaxTimes':_0x3c7dec,'retryNetworkErrorMaxTimes':_0x42e1ec})['then'](_0x339394=>new _0x4ce755(_0x339394,{'baseCDN':_0x1097a2,'fileName':_0x53e98d}))['then'](_0x17094f=>(_0x513f75&&_0x513f75({'isComputable':!0x0,'value':0x1}),_0x17094f)))(_0x54e750,{'publicKey':_0x3e9bab,'fileName':_0x1b5896,'baseURL':_0x131c3f,'signal':_0x482c9f,'onProgress':_0x460678,'source':_0x295958,'integration':_0x355105,'userAgent':_0x4cca8a,'retryThrottledRequestMaxTimes':_0x480449,'retryNetworkErrorMaxTimes':_0x143a44,'baseCDN':_0x5c6bc7});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x54e750+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x4449a8,..._0x129e8f}){return _0x304fcd(_0x4449a8,_0x129e8f);}static['getInfo'](_0x3c9158,_0x5f366e){return _0x36743e(_0x3c9158,_0x5f366e);}}class UploadcareUploadAdapter extends _0xa0ed63['Plugin']{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xa0ed63['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x24df4e=this['editor'];if(!!!_0x24df4e['config']['get']('uploadcare'))return;_0x24df4e['plugins']['get'](_0xa0ed63['FileRepository'])['createUploadAdapter']=_0x3a3f66=>new Adapter(_0x3a3f66,_0x24df4e),_0x24df4e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x490a3b,{imageElement:_0x5c43c1,data:_0x383587})=>{_0x24df4e['model']['change'](_0x25c2e6=>{_0x25c2e6['setAttribute']('uploadcareImageId',_0x383587['uploadcareImageId'],_0x5c43c1);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0xef973d,_0x373873){this['loader']=_0xef973d,this['editor']=_0x373873,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3186b2=await this['loader']['file'];return UploadUtils['upload']({'file':_0x3186b2,'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':_0x4b8825=>{_0x4b8825&&_0x4b8825['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4b8825['value']);}})['then'](async _0x1f7640=>{const {imageFallbackUrl:_0x1c42f2,imageSources:_0x2a560a}=_0x208a4d(_0x1f7640['cdnUrl'],_0x1f7640['imageInfo']['width']);return{'uploadcareImageId':_0x1f7640['uuid'],'default':_0x1c42f2,'sources':_0x2a560a};})['catch'](()=>{const _0x3bd27d=t('Cannot\x20upload\x20file:')+('\x20'+_0x3186b2['name']+'.');return Promise['reject'](_0x3bd27d);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0xa0ed63['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,_0xa0ed63['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x358c9f){super(_0x358c9f),this['ucContextId']=_0xa0ed63['uid']();}['init'](){const _0x7b4e17=this['editor'];_0x7b4e17['commands']['add']('uploadcare',new _0x2ce4aa(_0x7b4e17));}['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 _0x456a54=_0xa0ed63['global']['document']['querySelector']('input[uploadcare-file-input]');_0x456a54&&_0x456a54['remove']();}),async function(_0x329062){const _0x2eda34=_0x243459([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x6664af=0x535f8c3a,_0x5e0221=0x535803fa^_0x6664af,_0xe85cdb=window[_0x243459([0x44,0x61,0x74,0x65])][_0x243459([0x6e,0x6f,0x77])](),_0x4a63be=_0x329062[_0x243459([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x477e70=new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2abbec=>{_0x4a63be[_0x243459([0x6f,0x6e,0x63,0x65])](_0x243459([0x72,0x65,0x61,0x64,0x79]),_0x2abbec);}),_0x1e3281={[_0x243459([0x6b,0x74,0x79])]:_0x243459([0x45,0x43]),[_0x243459([0x75,0x73,0x65])]:_0x243459([0x73,0x69,0x67]),[_0x243459([0x63,0x72,0x76])]:_0x243459([0x50,0x2d,0x32,0x35,0x36]),[_0x243459([0x78])]:_0x243459([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x243459([0x79])]:_0x243459([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x243459([0x61,0x6c,0x67])]:_0x243459([0x45,0x53,0x32,0x35,0x36])},_0x47246c=_0x4a63be[_0x243459([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x243459([0x67,0x65,0x74])](_0x243459([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x476bd3(){let _0x2a398b,_0x31ea0f=null,_0x2f8d3e=null;try{if(_0x47246c==_0x243459([0x47,0x50,0x4c]))return _0x243459([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a398b=_0xa9bd2d(),!_0x2a398b)return _0x243459([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a398b[_0x243459([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f8d3e=_0x1d288b(_0x2a398b[_0x243459([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a398b[_0x243459([0x6a,0x74,0x69])])),await _0xcc8a43()?_0x4c268c()?_0xe9ed10()?_0x243459([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54713e()?(_0x2a398b[_0x243459([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x243459([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31ea0f=_0x1ce37f(_0x243459([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59f616()):_0x243459([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x243459([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x243459([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x243459([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe9ed10(){const _0x2e126c=[_0x243459([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x243459([0x74,0x72,0x69,0x61,0x6c])][_0x243459([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a398b[_0x243459([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe85cdb/0x3e8:0xe10*_0x5e0221;return _0x2a398b[_0x243459([0x65,0x78,0x70])]<_0x2e126c;}function _0x4c268c(){const _0x7ec01=_0x2a398b[_0x243459([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7ec01&&(!!_0x7ec01[_0x243459([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243459([0x2a]))||!!_0x7ec01[_0x243459([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243459([0x55,0x50,0x4c,0x43])));}function _0x54713e(){const _0xd26315=_0x2a398b[_0x243459([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd26315||0x0==_0xd26315[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b801e}=new URL(window[_0x243459([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd26315[_0x243459([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b801e))return!0x0;const _0xc23683=_0x1b801e[_0x243459([0x73,0x70,0x6c,0x69,0x74])](_0x243459([0x2e]));return _0xd26315[_0x243459([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e2882=>_0x3e2882[_0x243459([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243459([0x2a])))[_0x243459([0x6d,0x61,0x70])](_0x3c457e=>_0x3c457e[_0x243459([0x73,0x70,0x6c,0x69,0x74])](_0x243459([0x2e])))[_0x243459([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46c41f=>_0x46c41f[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc23683[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x243459([0x6d,0x61,0x70])](_0x47b701=>Array(_0xc23683[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47b701[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x243459([0x66,0x69,0x6c,0x6c])](_0x47b701[0x0]===_0x243459([0x2a])?_0x243459([0x2a]):'')[_0x243459([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47b701))[_0x243459([0x73,0x6f,0x6d,0x65])](_0x29deb4=>_0xc23683[_0x243459([0x65,0x76,0x65,0x72,0x79])]((_0x50866c,_0x53a538)=>_0x29deb4[_0x53a538]===_0x50866c||_0x29deb4[_0x53a538]===_0x243459([0x2a])));}function _0x59f616(){return _0x31ea0f&&_0x2f8d3e?new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2423db,_0x59ad3)=>{_0x31ea0f[_0x243459([0x74,0x68,0x65,0x6e])](_0x2423db,_0x59ad3),_0x2f8d3e[_0x243459([0x74,0x68,0x65,0x6e])](_0x3740a2=>{_0x3740a2!=_0x243459([0x56,0x61,0x6c,0x69,0x64])&&_0x2423db(_0x3740a2);},_0x59ad3);}):_0x31ea0f||_0x2f8d3e||_0x243459([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d288b(_0x5d2abe,_0x3a1680){return new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x193f16=>{if(_0xd9c924())return _0x193f16(_0x243459([0x56,0x61,0x6c,0x69,0x64]));_0x2c9584(),_0x4a63be[_0x243459([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x243459([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57adf0=!0x1;const _0x144e13=_0xa0ed63['uid']();function _0x1f8475(_0x12fc28){return!!_0x12fc28&&(typeof _0x12fc28===_0x243459([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12fc28===_0x243459([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12fc28[_0x243459([0x74,0x68,0x65,0x6e])]===_0x243459([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12fc28[_0x243459([0x63,0x61,0x74,0x63,0x68])]===_0x243459([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ccec5(_0x4a82c7){_0x535fa3(_0x4a82c7)[_0x243459([0x74,0x68,0x65,0x6e])](_0x129c66=>{if(!_0x129c66||_0x129c66[_0x243459([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x243459([0x6f,0x6b]))return _0x243459([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a1af3(_0xbf0dc1(_0x144e13+_0x3a1680))!=_0x129c66[_0x243459([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x243459([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x243459([0x56,0x61,0x6c,0x69,0x64]);})[_0x243459([0x74,0x68,0x65,0x6e])](_0x12f1f3=>(_0x1e5a4a(),_0x12f1f3),()=>{const _0x15e083=_0xe8a39d();return null==_0x15e083?(_0x1e5a4a(),_0x243459([0x56,0x61,0x6c,0x69,0x64])):_0x243459(_0xe85cdb-_0x15e083>(0x7753083a^_0x6664af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x243459([0x74,0x68,0x65,0x6e])](_0x193f16)[_0x243459([0x63,0x61,0x74,0x63,0x68])](()=>{_0x193f16(_0x243459([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a6d1e=0x536962ba^_0x6664af;function _0x1e5a4a(){const _0x4d2c27=_0x243459([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a1af3(_0xbf0dc1(_0x5d2abe)),_0x4737de=_0x28c146(_0x5a1af3(window[_0x243459([0x4d,0x61,0x74,0x68])][_0x243459([0x63,0x65,0x69,0x6c])](_0xe85cdb/_0x5a6d1e)));window[_0x243459([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x243459([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d2c27,_0x4737de);}function _0xe8a39d(){const _0x479c5e=_0x243459([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a1af3(_0xbf0dc1(_0x5d2abe)),_0x227ce6=window[_0x243459([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x243459([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x479c5e);return _0x227ce6?window[_0x243459([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28c146(_0x227ce6),0x10)*_0x5a6d1e:null;}function _0x535fa3(_0x216c99){return new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ab30b,_0x7bfbb4)=>{_0x216c99[_0x243459([0x74,0x68,0x65,0x6e])](_0x4ab30b,_0x7bfbb4),window[_0x243459([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7bfbb4,0x535e58fa^_0x6664af);});}}_0x4a63be[_0x243459([0x6f,0x6e])](_0x243459([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14435c,_0x3d5af6)=>{if(_0x3d5af6[0x0]!=_0x5d2abe)return _0x193f16(_0x243459([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d5af6[0x1]={..._0x3d5af6[0x1],[_0x243459([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x144e13};},{[_0x243459([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x243459([0x68,0x69,0x67,0x68])}),_0x4a63be[_0x243459([0x6f,0x6e])](_0x243459([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40271c=>{_0x1f8475(_0x40271c[_0x243459([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57adf0=!0x0,_0x5ccec5(_0x40271c[_0x243459([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x243459([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x243459([0x6c,0x6f,0x77])}),_0x477e70[_0x243459([0x74,0x68,0x65,0x6e])](()=>{_0x57adf0||_0x193f16(_0x243459([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd9c924(){return _0x4a63be[_0x243459([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x243459([0x76,0x69,0x65,0x77])][_0x243459([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x243459([0x61,0x75,0x74,0x6f]);}function _0x2c9584(){_0x4a63be[_0x243459([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x243459([0x76,0x69,0x65,0x77])][_0x243459([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x243459([0x61,0x75,0x74,0x6f]);}}function _0x1ce37f(_0xdbd941){const _0x22de41=[new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x126146=>setTimeout(_0x126146,0x5356b2f6^_0x6664af)),_0x477e70[_0x243459([0x74,0x68,0x65,0x6e])](()=>new window[(_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a9cd7=>{let _0x3ca0bc=0x0;_0x4a63be[_0x243459([0x6d,0x6f,0x64,0x65,0x6c])][_0x243459([0x6f,0x6e])](_0x243459([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5661fe,_0xaa2575)=>{_0xaa2575[0x0][_0x243459([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ca0bc++,_0x3ca0bc==(0x535f89d2^_0x6664af)&&(_0x1a9cd7(),_0x5661fe[_0x243459([0x6f,0x66,0x66])]());});}))];return window[_0x243459([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x243459([0x72,0x61,0x63,0x65])](_0x22de41)[_0x243459([0x74,0x68,0x65,0x6e])](()=>_0xdbd941);}async function _0x378213(){await _0x477e70,_0x4a63be[_0x243459([0x6d,0x6f,0x64,0x65,0x6c])][_0x243459([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a5f7,_0x4a63be[_0x243459([0x6d,0x6f,0x64,0x65,0x6c])][_0x243459([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a5f7,_0x4a63be[_0x243459([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x243459([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ab90b(_0x560a8b){const _0x2aec01=_0x32bab6();_0x4a63be[_0x2aec01]=_0x243459([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x560a8b,_0x560a8b!=_0x243459([0x56,0x61,0x6c,0x69,0x64])&&_0x378213();}function _0x32bab6(){const _0x4341a2=window[_0x243459([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x243459([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x243459([0x6e,0x6f,0x77])]())[_0x243459([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x243459([0x2e]),'');let _0x3657f6=_0x243459([0x68]);for(let _0x3b5abb=0x0;_0x3b5abb<_0x4341a2[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b5abb+=0x2){let _0x5ac11c=window[_0x243459([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4341a2[_0x243459([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b5abb,_0x3b5abb+0x2));_0x5ac11c>=_0x2eda34[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ac11c-=_0x2eda34[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3657f6+=_0x2eda34[_0x5ac11c];}return _0x3657f6;}function _0xa9bd2d(){const _0x11e6d1=_0x47246c[_0x243459([0x73,0x70,0x6c,0x69,0x74])](_0x243459([0x2e]));if(0x3!=_0x11e6d1[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x203da1(_0x11e6d1[0x1]);function _0x203da1(_0x47eab5){const _0x44f311=_0xfe3097(_0x47eab5);return _0x44f311&&_0x1c596c()?_0x44f311:null;function _0x1c596c(){const _0x5ef156=_0x44f311[_0x243459([0x6a,0x74,0x69])],_0x4afe19=window[_0x243459([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ef156[_0x243459([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ef156[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f8ef1={..._0x44f311,[_0x243459([0x6a,0x74,0x69])]:_0x5ef156[_0x243459([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ef156[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f8ef1[_0x243459([0x76,0x63])],_0xbf0dc1(_0x4f8ef1)==_0x4afe19;}}}async function _0xcc8a43(){let _0x35fd32=!0x0;try{const _0x26908c=_0x47246c[_0x243459([0x73,0x70,0x6c,0x69,0x74])](_0x243459([0x2e])),[_0x176657,_0x3c9ec7,_0x25951a]=_0x26908c;return _0x328b34(_0x176657),await _0x31a7f2(_0x176657,_0x3c9ec7,_0x25951a),_0x35fd32;}catch{return!0x1;}function _0x328b34(_0x183609){const _0x23a903=_0xfe3097(_0x183609);_0x23a903&&_0x23a903[_0x243459([0x61,0x6c,0x67])]==_0x243459([0x45,0x53,0x32,0x35,0x36])||(_0x35fd32=!0x1);}async function _0x31a7f2(_0x1a32ae,_0x1fc6a7,_0x19db8d){const _0x5397cb=window[_0x243459([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x243459([0x66,0x72,0x6f,0x6d])](_0x644757(_0x19db8d),_0x1acccd=>_0x1acccd[_0x243459([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x422262=new window[(_0x243459([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x243459([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a32ae+_0x243459([0x2e])+_0x1fc6a7),_0x3fb450=window[_0x243459([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x243459([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3fb450)return;const _0x45ff4f=await _0x3fb450[_0x243459([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x243459([0x6a,0x77,0x6b]),_0x1e3281,{[_0x243459([0x6e,0x61,0x6d,0x65])]:_0x243459([0x45,0x43,0x44,0x53,0x41]),[_0x243459([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x243459([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x243459([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3fb450[_0x243459([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x243459([0x6e,0x61,0x6d,0x65])]:_0x243459([0x45,0x43,0x44,0x53,0x41]),[_0x243459([0x68,0x61,0x73,0x68])]:{[_0x243459([0x6e,0x61,0x6d,0x65])]:_0x243459([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45ff4f,_0x5397cb,_0x422262)||(_0x35fd32=!0x1);}}function _0xfe3097(_0x19ff91){return _0x19ff91[_0x243459([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x243459([0x65,0x79]))?JSON[_0x243459([0x70,0x61,0x72,0x73,0x65])](_0x644757(_0x19ff91)):null;}function _0x644757(_0x4515e1){return window[_0x243459([0x61,0x74,0x6f,0x62])](_0x4515e1[_0x243459([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x243459([0x2b]))[_0x243459([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x243459([0x2f])));}function _0xbf0dc1(_0x1441d8){let _0x2f029e=0x1505;function _0x56a14f(_0xf5b459){for(let _0x3d6a5a=0x0;_0x3d6a5a<_0xf5b459[_0x243459([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d6a5a++){const _0x38d3a3=_0xf5b459[_0x243459([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d6a5a);_0x2f029e=(_0x2f029e<<0x5)+_0x2f029e+_0x38d3a3,_0x2f029e&=_0x2f029e;}}function _0x3a92dc(_0x514efa){Array[_0x243459([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x514efa)?_0x514efa[_0x243459([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a92dc):_0x514efa&&typeof _0x514efa==_0x243459([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x243459([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x514efa)[_0x243459([0x73,0x6f,0x72,0x74])]()[_0x243459([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22cc1b,_0x63e2c])=>{_0x56a14f(_0x22cc1b),_0x3a92dc(_0x63e2c);}):_0x56a14f(window[_0x243459([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x514efa));}return _0x3a92dc(_0x1441d8),_0x2f029e>>>0x0;}function _0x5a1af3(_0x332aac){return _0x332aac[_0x243459([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x243459([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x243459([0x30]));}function _0x28c146(_0x4df906){return _0x4df906[_0x243459([0x73,0x70,0x6c,0x69,0x74])]('')[_0x243459([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x243459([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a5f7(){}function _0x243459(_0x3ef18c){return _0x3ef18c['map'](_0x3f59b3=>String['fromCharCode'](_0x3f59b3))['join']('');}_0x2ab90b(await _0x476bd3());}(this);}['_initSchema'](){const _0x1ba2a0=this['editor']['model']['schema'];_0x1ba2a0['isRegistered']('imageBlock')&&_0x1ba2a0['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x1ba2a0['isRegistered']('imageInline')&&_0x1ba2a0['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5e836e=this['editor'];_0x5e836e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5e836e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x41397f=>_0x41397f['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5e0579=_0x5e836e['commands']['get']('replaceImageSource');_0x5e0579&&this['listenTo'](_0x5e0579,'cleanupImage',(_0x7aecc,[_0x22b71e,_0x19b2b0])=>{_0x22b71e['removeAttribute']('uploadcareImageId',_0x19b2b0);});}['_initConfig'](){const _0x5e3f02=this['editor']['config']['get']('uploadcare.uploader')||{},_0x398bde=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xa0ed63['createElement'](_0xa0ed63['global']['document'],'uc-config',{..._0x5e3f02,'pubkey':_0x398bde,'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']=_0x5b5400=>{if('closeMax'==_0x5b5400)return'#uc-icon-arrow-down';},_0xa0ed63['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xa0ed63['createElement'](_0xa0ed63['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xa0ed63['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4a283c=this['editor']['commands']['get']('insertImage');_0x4a283c&&this['listenTo'](_0x4a283c,'execute',()=>{const _0x560acf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x560acf&&_0x560acf['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x3db45d(this['editor'],_0x560acf);});});const _0x2906ea=this['editor']['commands']['get']('uploadcareImageReplace');_0x2906ea&&this['listenTo'](_0x2906ea,'execute',()=>{const _0x461bc4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x461bc4&&_0x461bc4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x3db45d(this['editor'],_0x461bc4);});});}}var _0x17ff9c=Object['defineProperty'],_0x3d02e9=(_0x41cf19,_0x16e68c,_0x57f989)=>(((_0x1e6082,_0x2a0ec3,_0x5cf622)=>{_0x2a0ec3 in _0x1e6082?_0x17ff9c(_0x1e6082,_0x2a0ec3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cf622}):_0x1e6082[_0x2a0ec3]=_0x5cf622;})(_0x41cf19,'symbol'!=typeof _0x16e68c?_0x16e68c+'':_0x16e68c,_0x57f989),_0x57f989),_0x58010a=class{constructor(_0x1dbbea){_0x1dbbea['constructor']===Object?this['store']=function(_0x442b2d){let _0x5a6135=_0xbb225=>{var _0x167d85;for(let _0x51d39f in _0xbb225)(null==(_0x167d85=_0xbb225[_0x51d39f])?void 0x0:_0x167d85['constructor'])===Object&&(_0xbb225[_0x51d39f]=_0x5a6135(_0xbb225[_0x51d39f]));return{..._0xbb225};};return _0x5a6135(_0x442b2d);}(_0x1dbbea):(this['_storeIsProxy']=!0x0,this['store']=_0x1dbbea),this['callbackMap']=Object['create'](null);}static['warn'](_0x347f7f,_0x2a9af3){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x347f7f+'.\x20Prop\x20name:\x20'+_0x2a9af3);}['read'](_0xcb5c1a){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0xcb5c1a)?this['store'][_0xcb5c1a]:(_0x58010a['warn']('read',_0xcb5c1a),null);}['has'](_0xbb559){return this['_storeIsProxy']?void 0x0!==this['store'][_0xbb559]:this['store']['hasOwnProperty'](_0xbb559);}['add'](_0x5bdefc,_0x281f9b,_0x16f354=!0x1){!_0x16f354&&Object['keys'](this['store'])['includes'](_0x5bdefc)||(this['store'][_0x5bdefc]=_0x281f9b,this['notify'](_0x5bdefc));}['pub'](_0x38bdd3,_0x169580){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x38bdd3)?(this['store'][_0x38bdd3]=_0x169580,this['notify'](_0x38bdd3)):_0x58010a['warn']('publish',_0x38bdd3);}['multiPub'](_0x546fdb){for(let _0x12dc88 in _0x546fdb)this['pub'](_0x12dc88,_0x546fdb[_0x12dc88]);}['notify'](_0x256d0a){this['callbackMap'][_0x256d0a]&&this['callbackMap'][_0x256d0a]['forEach'](_0x15884f=>{_0x15884f(this['store'][_0x256d0a]);});}['sub'](_0x4bda73,_0x584d60,_0x491b3d=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x4bda73)?(this['callbackMap'][_0x4bda73]||(this['callbackMap'][_0x4bda73]=new Set()),this['callbackMap'][_0x4bda73]['add'](_0x584d60),_0x491b3d&&_0x584d60(this['store'][_0x4bda73]),{'remove':()=>{this['callbackMap'][_0x4bda73]['delete'](_0x584d60),this['callbackMap'][_0x4bda73]['size']||delete this['callbackMap'][_0x4bda73];},'callback':_0x584d60}):(_0x58010a['warn']('subscribe',_0x4bda73),null);}static['registerCtx'](_0x5ea6ae,_0x45f8ab=Symbol()){let _0x1a3d11=_0x58010a['globalStore']['get'](_0x45f8ab);return _0x1a3d11?console['warn']('State:\x20context\x20UID\x20\x22'+_0x45f8ab+'\x22\x20already\x20in\x20use'):(_0x1a3d11=new _0x58010a(_0x5ea6ae),_0x58010a['globalStore']['set'](_0x45f8ab,_0x1a3d11)),_0x1a3d11;}static['deleteCtx'](_0xce06f0){_0x58010a['globalStore']['delete'](_0xce06f0);}static['getCtx'](_0x21bdac,_0x30b41d=!0x0){return _0x58010a['globalStore']['get'](_0x21bdac)||(_0x30b41d&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x21bdac+'\x22'),null);}};_0x58010a['globalStore']=new Map();var _0x4bb8a6=Object['freeze']({'BIND_ATTR':'set','ATTR_BIND_PRFX':'@','EXT_DATA_CTX_PRFX':'*','NAMED_DATA_CTX_SPLTR':'/','CTX_NAME_ATTR':'ctx-name','CTX_OWNER_ATTR':'ctx-owner','CSS_CTX_PROP':'--ctx-name','EL_REF_ATTR':'ref','AUTO_TAG_PRFX':'sym','REPEAT_ATTR':'repeat','REPEAT_ITEM_TAG_ATTR':'repeat-item-tag','SET_LATER_KEY':'__toSetLater__','USE_TPL':'use-template','ROOT_STYLE_ATTR_NAME':'sym-component'}),_0x526ab7='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0xb7b042=class{static['generate'](_0x4264ef='XXXXXXXXX-XXX'){let _0x280194='';for(let _0x10d0d5=0x0;_0x10d0d5<_0x4264ef['length'];_0x10d0d5++)_0x280194+='-'===_0x4264ef[_0x10d0d5]?_0x4264ef[_0x10d0d5]:_0x526ab7['charAt'](0x3d*Math['random']());return _0x280194;}};function _0x2632f6(_0x3d5dd2,_0x43e5c8,_0x396cbd){let _0xfc3630,_0x2d0ada=!0x0,_0x11d348=_0x43e5c8['split']('.');return _0x11d348['forEach']((_0x4d4133,_0x46797f)=>{_0x46797f<_0x11d348['length']-0x1?_0x3d5dd2=_0x3d5dd2[_0x4d4133]:_0xfc3630=_0x4d4133;}),_0x3d5dd2?_0x3d5dd2[_0xfc3630]=_0x396cbd:_0x2d0ada=!0x1,_0x2d0ada;}var _0x3782c2='__default__',_0x7a6100='{{',_0x3db28b='}}',_0x626018=[function(_0x175d24,_0x263eb6){[..._0x175d24['querySelectorAll']('['+_0x4bb8a6['REPEAT_ATTR']+']')]['forEach'](_0xeb32d6=>{let _0x405de5,_0x3be4c7=_0xeb32d6['getAttribute'](_0x4bb8a6['REPEAT_ITEM_TAG_ATTR']);if(_0x3be4c7&&(_0x405de5=window['customElements']['get'](_0x3be4c7)),!_0x405de5){_0x405de5=class extends _0x263eb6['BaseComponent']{constructor(){super(),_0x3be4c7||(this['style']['display']='contents');}};let _0x41d935=_0xeb32d6['innerHTML'];_0x405de5['template']=_0x41d935,_0x405de5['reg'](_0x3be4c7);}for(;_0xeb32d6['firstChild'];)_0xeb32d6['firstChild']['remove']();let _0x5da972=_0xeb32d6['getAttribute'](_0x4bb8a6['REPEAT_ATTR']);_0x263eb6['sub'](_0x5da972,_0x39b670=>{if(!_0x39b670){for(;_0xeb32d6['firstChild'];)_0xeb32d6['firstChild']['remove']();return;}let _0x2e8a94,_0x68671b=[..._0xeb32d6['children']],_0x1111ed=_0x5967e3=>{_0x5967e3['forEach']((_0x44c766,_0x2f239e)=>{if(_0x68671b[_0x2f239e]){if(_0x68671b[_0x2f239e]['set$'])setTimeout(()=>{_0x68671b[_0x2f239e]['set$'](_0x44c766);});else{for(let _0x5eb877 in _0x44c766)_0x68671b[_0x2f239e][_0x5eb877]=_0x44c766[_0x5eb877];}}else{_0x2e8a94||(_0x2e8a94=new DocumentFragment());let _0x3d4e67=new _0x405de5();Object['assign'](_0x3d4e67['init$'],_0x44c766),_0x2e8a94['appendChild'](_0x3d4e67);}}),_0x2e8a94&&_0xeb32d6['appendChild'](_0x2e8a94);let _0x4ca826=_0x68671b['slice'](_0x5967e3['length'],_0x68671b['length']);for(let _0x389ae8 of _0x4ca826)_0x389ae8['remove']();};if(_0x39b670['constructor']===Array)_0x1111ed(_0x39b670);else{if(_0x39b670['constructor']===Object){let _0x2da40e=[];for(let _0x39d9aa in _0x39b670){let _0x2b9b8a=_0x39b670[_0x39d9aa];Object['defineProperty'](_0x2b9b8a,'_KEY_',{'value':_0x39d9aa,'enumerable':!0x0}),_0x2da40e['push'](_0x2b9b8a);}_0x1111ed(_0x2da40e);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x39b670);}}),_0xeb32d6['removeAttribute'](_0x4bb8a6['REPEAT_ATTR']),_0xeb32d6['removeAttribute'](_0x4bb8a6['REPEAT_ITEM_TAG_ATTR']);});},function(_0xfefe50,_0x2661b0){if(_0x2661b0['shadowRoot'])return;let _0x1fc487=[..._0xfefe50['querySelectorAll']('slot')];if(!_0x1fc487['length'])return;let _0x3f1844={};_0x1fc487['forEach'](_0x49159a=>{let _0x35d1eb=_0x49159a['getAttribute']('name')||_0x3782c2;_0x3f1844[_0x35d1eb]={'slot':_0x49159a,'fr':document['createDocumentFragment']()};}),_0x2661b0['initChildren']['forEach'](_0x27bf18=>{var _0x53d807;let _0x202667=_0x3782c2;_0x27bf18 instanceof Element&&_0x27bf18['hasAttribute']('slot')&&(_0x202667=_0x27bf18['getAttribute']('slot'),_0x27bf18['removeAttribute']('slot')),null==(_0x53d807=_0x3f1844[_0x202667])||_0x53d807['fr']['appendChild'](_0x27bf18);}),Object['values'](_0x3f1844)['forEach'](_0x2119b9=>{if(_0x2119b9['fr']['childNodes']['length'])_0x2119b9['slot']['parentNode']['replaceChild'](_0x2119b9['fr'],_0x2119b9['slot']);else{if(_0x2119b9['slot']['childNodes']['length']){let _0x560b5b=document['createDocumentFragment']();_0x560b5b['append'](..._0x2119b9['slot']['childNodes']),_0x2119b9['slot']['parentNode']['replaceChild'](_0x560b5b,_0x2119b9['slot']);}else _0x2119b9['slot']['remove']();}});},function(_0x1c7e3a,_0x3099f8){[..._0x1c7e3a['querySelectorAll']('['+_0x4bb8a6['EL_REF_ATTR']+']')]['forEach'](_0x3702bd=>{let _0x18a300=_0x3702bd['getAttribute'](_0x4bb8a6['EL_REF_ATTR']);_0x3099f8['ref'][_0x18a300]=_0x3702bd,_0x3702bd['removeAttribute'](_0x4bb8a6['EL_REF_ATTR']);});},function(_0x397b37,_0x4d1b79){[..._0x397b37['querySelectorAll']('['+_0x4bb8a6['BIND_ATTR']+']')]['forEach'](_0x48593f=>{let _0x2ca655=_0x48593f['getAttribute'](_0x4bb8a6['BIND_ATTR'])['split'](';');[..._0x48593f['attributes']]['forEach'](_0x1c2d06=>{if(_0x1c2d06['name']['startsWith']('-')&&_0x1c2d06['value']){let _0x16139f=function(_0x12f51a){return _0x12f51a['split']('-')['map']((_0x24421b,_0x21a102)=>_0x24421b&&_0x21a102?_0x24421b[0x0]['toUpperCase']()+_0x24421b['slice'](0x1):_0x24421b)['join']('')['split']('_')['map']((_0x4c66cb,_0x1dd5f2)=>_0x4c66cb&&_0x1dd5f2?_0x4c66cb['toUpperCase']():_0x4c66cb)['join']('');}(_0x1c2d06['name']['replace']('-',''));_0x2ca655['push'](_0x16139f+':'+_0x1c2d06['value']),_0x48593f['removeAttribute'](_0x1c2d06['name']);}}),_0x2ca655['forEach'](_0x2162fc=>{if(!_0x2162fc)return;let _0xab5747,_0x46921a=_0x2162fc['split'](':')['map'](_0xc77d01=>_0xc77d01['trim']()),_0xdf613=_0x46921a[0x0];0x0===_0xdf613['indexOf'](_0x4bb8a6['ATTR_BIND_PRFX'])&&(_0xab5747=!0x0,_0xdf613=_0xdf613['replace'](_0x4bb8a6['ATTR_BIND_PRFX'],''));let _0xf53d68=_0x46921a[0x1]['split'](',')['map'](_0x32f902=>_0x32f902['trim']());for(let _0x507a06 of _0xf53d68){let _0x17986f;_0x507a06['startsWith']('!!')?(_0x17986f='double',_0x507a06=_0x507a06['replace']('!!','')):_0x507a06['startsWith']('!')&&(_0x17986f='single',_0x507a06=_0x507a06['replace']('!','')),_0x4d1b79['sub'](_0x507a06,_0x5ea39f=>{'double'===_0x17986f?_0x5ea39f=!!_0x5ea39f:'single'===_0x17986f&&(_0x5ea39f=!_0x5ea39f),_0xab5747?(null==_0x5ea39f?void 0x0:_0x5ea39f['constructor'])===Boolean?_0x5ea39f?_0x48593f['setAttribute'](_0xdf613,''):_0x48593f['removeAttribute'](_0xdf613):_0x48593f['setAttribute'](_0xdf613,_0x5ea39f):_0x2632f6(_0x48593f,_0xdf613,_0x5ea39f)||(_0x48593f[_0x4bb8a6['SET_LATER_KEY']]||(_0x48593f[_0x4bb8a6['SET_LATER_KEY']]=Object['create'](null)),_0x48593f[_0x4bb8a6['SET_LATER_KEY']][_0xdf613]=_0x5ea39f);});}}),_0x48593f['removeAttribute'](_0x4bb8a6['BIND_ATTR']);});},function(_0x4c8ac1,_0x59da43){let _0x2d9cca=function(_0x5b58b3){let _0x4fc838,_0x444828=[],_0x48214e=document['createTreeWalker'](_0x5b58b3,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x259f8d=>{var _0x3cae29;return!(null==(_0x3cae29=_0x259f8d['parentElement'])?void 0x0:_0x3cae29['hasAttribute']('skip-text'))&&_0x259f8d['textContent']['includes'](_0x7a6100)&&_0x259f8d['textContent']['includes'](_0x3db28b)&&0x1;}});for(;_0x4fc838=_0x48214e['nextNode']();)_0x444828['push'](_0x4fc838);return _0x444828;}(_0x4c8ac1);_0x2d9cca['forEach'](_0x56f51f=>{let _0x359037,_0x3c526e=[];for(;_0x56f51f['textContent']['includes'](_0x3db28b);)_0x56f51f['textContent']['startsWith'](_0x7a6100)?(_0x359037=_0x56f51f['textContent']['indexOf'](_0x3db28b)+0x2,_0x56f51f['splitText'](_0x359037),_0x3c526e['push'](_0x56f51f)):(_0x359037=_0x56f51f['textContent']['indexOf'](_0x7a6100),_0x56f51f['splitText'](_0x359037)),_0x56f51f=_0x56f51f['nextSibling'];_0x3c526e['forEach'](_0x216583=>{let _0x221607=_0x216583['textContent']['replace'](_0x7a6100,'')['replace'](_0x3db28b,'');_0x216583['textContent']='',_0x59da43['sub'](_0x221607,_0x19d221=>{_0x216583['textContent']=_0x19d221;});});});}],_0x107861='\x27',_0x10f151='\x22',tP=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x16a4af(_0xad9ebb){let _0x4f9909=_0xad9ebb;var _0x573122;(_0x573122=_0xad9ebb)[0x0]!==_0x10f151&&_0x573122[0x0]!==_0x107861||_0x573122[_0x573122['length']-0x1]!==_0x10f151&&_0x573122[_0x573122['length']-0x1]!==_0x107861||(_0x4f9909=function(_0x49d2c7){return _0x49d2c7[0x0]!==_0x10f151&&_0x49d2c7[0x0]!==_0x107861||(_0x49d2c7=_0x49d2c7['slice'](0x1)),_0x49d2c7[_0x49d2c7['length']-0x1]!==_0x10f151&&_0x49d2c7[_0x49d2c7['length']-0x1]!==_0x107861||(_0x49d2c7=_0x49d2c7['slice'](0x0,-0x1)),_0x49d2c7;}(_0x4f9909),_0x4f9909=_0x4f9909['replace'](tP,(_0x4d163a,_0x2e9f79)=>String['fromCodePoint'](parseInt(_0x2e9f79['trim'](),0x10))),_0x4f9909=_0x4f9909['replaceAll']('\x5c\x0a','\x5cn'),_0x4f9909=function(_0x485226){let _0x48d0d0='',_0x3c3941='';for(var _0x296e3b=0x0;_0x296e3b<_0x485226['length'];_0x296e3b++){const _0x5aba2d=_0x485226[_0x296e3b+0x1];'\x5c'===_0x485226[_0x296e3b]&&'\x22'===_0x5aba2d?(_0x48d0d0+='\x5c\x22',_0x296e3b++):'\x22'===_0x485226[_0x296e3b]&&'\x5c'!==_0x3c3941?_0x48d0d0+='\x5c\x22':_0x48d0d0+=_0x485226[_0x296e3b],_0x3c3941=_0x485226[_0x296e3b];}return _0x48d0d0;}(_0x4f9909),_0x4f9909=_0x10f151+_0x4f9909+_0x10f151);try{return JSON['parse'](_0x4f9909);}catch(_0x637833){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x4f9909+'.\x20Original\x20input:\x20'+_0xad9ebb);}}var _0x38c4b3=0x0,_0x36e5f5=null,_0x7d3356=null,_0x3da7a0=class extends HTMLElement{constructor(){super(),_0x3d02e9(this,'updateCssData',()=>{var _0x1fa3c2;this['dropCssDataCache'](),null==(_0x1fa3c2=this['__boundCssProps'])||_0x1fa3c2['forEach'](_0x1171bc=>{let _0x416e8d=this['getCssData'](this['__extractCssName'](_0x1171bc),!0x0);null!==_0x416e8d&&this['$'][_0x1171bc]!==_0x416e8d&&(this['$'][_0x1171bc]=_0x416e8d);});}),this['init$']=Object['create'](null),this['cssInit$']=Object['create'](null),this['tplProcessors']=new Set(),this['ref']=Object['create'](null),this['allSubs']=new Set(),this['pauseRender']=!0x1,this['renderShadow']=!0x1,this['readyToDestroy']=!0x0,this['processInnerHtml']=!0x1,this['allowCustomTemplate']=!0x1,this['ctxOwner']=!0x1;}get['BaseComponent'](){return _0x3da7a0;}['initCallback'](){}['__initCallback'](){var _0x1a36ff;this['__initialized']||(this['__initialized']=!0x0,null==(_0x1a36ff=this['initCallback'])||_0x1a36ff['call'](this));}['render'](_0x59ff05,_0xe904f8=this['renderShadow']){let _0xccb33;if(!_0xe904f8&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x5268a4=this['getAttribute'](_0x4bb8a6['USE_TPL']);if(_0x5268a4){let _0x4eacc4=this['getRootNode'](),_0x5afdeb=(null==_0x4eacc4?void 0x0:_0x4eacc4['querySelector'](_0x5268a4))||document['querySelector'](_0x5268a4);_0x5afdeb?_0x59ff05=_0x5afdeb['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x5268a4+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x45c6b8 of this['tplProcessors'])_0x45c6b8(this,this);}if(_0x59ff05||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x59ff05?void 0x0:_0x59ff05['constructor'])===DocumentFragment)_0xccb33=_0x59ff05;else{if((null==_0x59ff05?void 0x0:_0x59ff05['constructor'])===String){let _0xa02f31=document['createElement']('template');_0xa02f31['innerHTML']=_0x59ff05,_0xccb33=_0xa02f31['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0xccb33=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0x2e98ba of this['tplProcessors'])_0x2e98ba(_0xccb33,this);}let _0x5378ba=()=>{_0xccb33&&(_0xe904f8&&this['shadowRoot']['appendChild'](_0xccb33)||this['appendChild'](_0xccb33)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0xe904f8=!0x0;let _0x35a429=document['createElement']('link');_0x35a429['rel']='stylesheet',_0x35a429['href']=this['constructor']['__shadowStylesUrl'],_0x35a429['onload']=_0x5378ba,this['shadowRoot']['prepend'](_0x35a429);}else _0x5378ba();}['addTemplateProcessor'](_0x1da2b2){this['tplProcessors']['add'](_0x1da2b2);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0xb7b042['generate'](),this['style']['setProperty'](_0x4bb8a6['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x4bb8a6['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x404cb6;let _0x5058b9=(null==(_0x404cb6=this['getAttribute'](_0x4bb8a6['CTX_NAME_ATTR']))?void 0x0:_0x404cb6['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x5058b9,_0x5058b9;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=_0x58010a['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return _0x58010a['getCtx'](this['ctxName'],!0x1)||_0x58010a['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x1b4f93,_0x196c51){let _0x21819d,_0x37cb95;if(_0x1b4f93['startsWith'](_0x4bb8a6['EXT_DATA_CTX_PRFX']))_0x21819d=_0x196c51['nodeCtx'],_0x37cb95=_0x1b4f93['replace'](_0x4bb8a6['EXT_DATA_CTX_PRFX'],'');else{if(_0x1b4f93['includes'](_0x4bb8a6['NAMED_DATA_CTX_SPLTR'])){let _0x360419=_0x1b4f93['split'](_0x4bb8a6['NAMED_DATA_CTX_SPLTR']);_0x21819d=_0x58010a['getCtx'](_0x360419[0x0]),_0x37cb95=_0x360419[0x1];}else _0x21819d=_0x196c51['localCtx'],_0x37cb95=_0x1b4f93;}return{'ctx':_0x21819d,'name':_0x37cb95};}['sub'](_0x4fd60a,_0x442c2c,_0x59504b=!0x0){let _0x28d7b4=_0xc8b9ea=>{this['isConnected']&&_0x442c2c(_0xc8b9ea);},_0x273e0f=_0x3da7a0['__parseProp'](_0x4fd60a,this);_0x273e0f['ctx']['has'](_0x273e0f['name'])?this['allSubs']['add'](_0x273e0f['ctx']['sub'](_0x273e0f['name'],_0x28d7b4,_0x59504b)):window['setTimeout'](()=>{this['allSubs']['add'](_0x273e0f['ctx']['sub'](_0x273e0f['name'],_0x28d7b4,_0x59504b));});}['notify'](_0x3912b2){let _0x338230=_0x3da7a0['__parseProp'](_0x3912b2,this);_0x338230['ctx']['notify'](_0x338230['name']);}['has'](_0x2a1f33){let _0x425c8f=_0x3da7a0['__parseProp'](_0x2a1f33,this);return _0x425c8f['ctx']['has'](_0x425c8f['name']);}['add'](_0x56a749,_0x3539cf,_0x42fc43=!0x1){let _0x30828a=_0x3da7a0['__parseProp'](_0x56a749,this);_0x30828a['ctx']['add'](_0x30828a['name'],_0x3539cf,_0x42fc43);}['add$'](_0x467b98,_0x328ed3=!0x1){for(let _0x45b07d in _0x467b98)this['add'](_0x45b07d,_0x467b98[_0x45b07d],_0x328ed3);}get['$'](){if(!this['__stateProxy']){let _0x5cfb33=Object['create'](null);this['__stateProxy']=new Proxy(_0x5cfb33,{'set':(_0x25e1eb,_0x46d6d7,_0x127d5b)=>{let _0x3d2114=_0x3da7a0['__parseProp'](_0x46d6d7,this);return _0x3d2114['ctx']['pub'](_0x3d2114['name'],_0x127d5b),!0x0;},'get':(_0x2198f6,_0x477712)=>{let _0x4926d1=_0x3da7a0['__parseProp'](_0x477712,this);return _0x4926d1['ctx']['read'](_0x4926d1['name']);}});}return this['__stateProxy'];}['set$'](_0x244492,_0x13b674=!0x1){for(let _0x53fc22 in _0x244492){let _0x4d7c70=_0x244492[_0x53fc22],_0x4bc31b=[String,Number,Boolean];(_0x13b674||!_0x4bc31b['includes'](null==_0x4d7c70?void 0x0:_0x4d7c70['constructor'])||this['$'][_0x53fc22]!==_0x4d7c70)&&(this['$'][_0x53fc22]=_0x4d7c70);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x4bb8a6['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x4bb8a6['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x153073=this['constructor']['__attrDesc'];if(_0x153073){for(let _0x123388 of Object['values'](_0x153073))Object['keys'](this['init$'])['includes'](_0x123388)||(this['init$'][_0x123388]='');}for(let _0x5dbfa7 in this['init$'])if(_0x5dbfa7['startsWith'](_0x4bb8a6['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x5dbfa7['replace'](_0x4bb8a6['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x5dbfa7],this['__ctxOwner']);else{if(_0x5dbfa7['includes'](_0x4bb8a6['NAMED_DATA_CTX_SPLTR'])){let _0x57a72f=_0x5dbfa7['split'](_0x4bb8a6['NAMED_DATA_CTX_SPLTR']),_0x40b652=_0x57a72f[0x0]['trim'](),_0x4f8079=_0x57a72f[0x1]['trim']();if(_0x40b652&&_0x4f8079){let _0x838210=_0x58010a['getCtx'](_0x40b652,!0x1);_0x838210||(_0x838210=_0x58010a['registerCtx']({},_0x40b652)),_0x838210['add'](_0x4f8079,this['init$'][_0x5dbfa7]);}}else this['localCtx']['add'](_0x5dbfa7,this['init$'][_0x5dbfa7]);}for(let _0x185ef6 in this['cssInit$'])this['bindCssData'](_0x185ef6,this['cssInit$'][_0x185ef6]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x5f42b8;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x5b43c1=null==(_0x5f42b8=this['getAttribute'](_0x4bb8a6['CTX_NAME_ATTR']))?void 0x0:_0x5f42b8['trim']();if(_0x5b43c1&&this['style']['setProperty'](_0x4bb8a6['CSS_CTX_PROP'],'\x27'+_0x5b43c1+'\x27'),this['__initDataCtx'](),this[_0x4bb8a6['SET_LATER_KEY']]){for(let _0x32fb28 in this[_0x4bb8a6['SET_LATER_KEY']])_0x2632f6(this,_0x32fb28,this[_0x4bb8a6['SET_LATER_KEY']][_0x32fb28]);delete this[_0x4bb8a6['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x198fb4 of _0x626018)this['addTemplateProcessor'](_0x198fb4);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x5997fd=this['getRootNode']();if(!_0x5997fd)return;if(null==_0x5997fd?void 0x0:_0x5997fd['querySelector']('link['+_0x4bb8a6['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x904a25=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x904a25['setAttribute'](_0x4bb8a6['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x904a25['onload']=()=>{this['render']();},_0x5997fd['nodeType']===Node['DOCUMENT_NODE']?_0x5997fd['head']['appendChild'](_0x904a25):_0x5997fd['prepend'](_0x904a25);}else this['render']();}}this['connectedOnce']=!0x0;}}['destroyCallback'](){}['disconnectedCallback'](){this['connectedOnce']&&(this['dropCssDataCache'](),this['readyToDestroy']&&(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),this['__disconnectTimeout']=window['setTimeout'](()=>{this['destroyCallback']();for(let _0x47b752 of this['allSubs'])_0x47b752['remove'](),this['allSubs']['delete'](_0x47b752);for(let _0x2f5d8d of this['tplProcessors'])this['tplProcessors']['delete'](_0x2f5d8d);null==_0x7d3356||_0x7d3356['delete'](this['updateCssData']),(null==_0x7d3356?void 0x0:_0x7d3356['size'])||(null==_0x36e5f5||_0x36e5f5['disconnect'](),_0x36e5f5=null,_0x7d3356=null);},0x64)));}static['reg'](_0x6824f5,_0x4a9599=!0x1){_0x6824f5||(_0x38c4b3++,_0x6824f5=_0x4bb8a6['AUTO_TAG_PRFX']+'-'+_0x38c4b3),this['__tag']=_0x6824f5;let _0x41e1e6=window['customElements']['get'](_0x6824f5);_0x41e1e6?_0x4a9599||_0x41e1e6===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x6824f5+'\x22\x20already\x20registered.','You\x27re\x20trying\x20to\x20override\x20it\x20with\x20another\x20class\x20\x22'+this['name']+'\x22.','This\x20is\x20most\x20likely\x20a\x20mistake.','New\x20element\x20will\x20not\x20be\x20registered.']['join']('\x0a')):window['customElements']['define'](_0x6824f5,_0x4a9599?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0xe795a2){this['observedAttributes']=Object['keys'](_0xe795a2),this['__attrDesc']=_0xe795a2;}['attributeChangedCallback'](_0x1676c8,_0x261576,_0x3289ce){var _0xca5c69;if(_0x261576===_0x3289ce)return;let _0x33268a=null==(_0xca5c69=this['constructor']['__attrDesc'])?void 0x0:_0xca5c69[_0x1676c8];_0x33268a?this['__dataCtxInitialized']?this['$'][_0x33268a]=_0x3289ce:this['init$'][_0x33268a]=_0x3289ce:this[_0x1676c8]=_0x3289ce;}['getCssData'](_0x4d2345,_0x5b656a=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x4d2345)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x4d50ec=this['__computedStyle']['getPropertyValue'](_0x4d2345)['trim']();try{this['__cssDataCache'][_0x4d2345]=_0x16a4af(_0x4d50ec);}catch(_0x44969e){!_0x5b656a&&console['warn']('CSS\x20Data\x20error:\x20'+_0x4d2345),this['__cssDataCache'][_0x4d2345]=null;}}return this['__cssDataCache'][_0x4d2345];}['__extractCssName'](_0x5ece0b){return _0x5ece0b['split']('--')['map']((_0x1fd704,_0xb55cd8)=>0x0===_0xb55cd8?'':_0x1fd704)['join']('--');}['__initStyleAttrObserver'](){_0x7d3356||(_0x7d3356=new Set()),_0x7d3356['add'](this['updateCssData']),_0x36e5f5||(_0x36e5f5=new MutationObserver(_0x77585f=>{'attributes'===_0x77585f[0x0]['type']&&_0x7d3356['forEach'](_0x36c814=>{_0x36c814();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x51e193,_0x37ca46=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x51e193);let _0x2e54af=this['getCssData'](this['__extractCssName'](_0x51e193),!0x0);null===_0x2e54af&&(_0x2e54af=_0x37ca46),this['add'](_0x51e193,_0x2e54af),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x149f80,_0x481725,_0x5bd48e){let _0x1aa696='__'+_0x149f80;this[_0x1aa696]=this[_0x149f80],Object['defineProperty'](this,_0x149f80,{'set':_0x38c34b=>{this[_0x1aa696]=_0x38c34b,_0x5bd48e?window['setTimeout'](()=>{null==_0x481725||_0x481725(_0x38c34b);}):null==_0x481725||_0x481725(_0x38c34b);},'get':()=>this[_0x1aa696]}),this[_0x149f80]=this[_0x1aa696];}static set['shadowStyles'](_0x56e240){let _0xb34160=new Blob([_0x56e240],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0xb34160);}static set['rootStyles'](_0x2c96e7){if(!this['__rootStylesLink']){let _0x4f6d36=new Blob([_0x2c96e7],{'type':'text/css'}),_0x547ab1=URL['createObjectURL'](_0x4f6d36),_0x447014=document['createElement']('link');_0x447014['href']=_0x547ab1,_0x447014['rel']='stylesheet',this['__rootStylesLink']=_0x447014;}}},_0x4fac32=_0x3da7a0;function _0x1d22dd(_0x1e840d,_0x54cecb){for(let _0x4740a5 in _0x54cecb)_0x4740a5['includes']('-')?_0x1e840d['style']['setProperty'](_0x4740a5,_0x54cecb[_0x4740a5]):_0x1e840d['style'][_0x4740a5]=_0x54cecb[_0x4740a5];}function _0x5eb1ab(_0x1d5e64={'tag':'div'}){let _0x2c8b4e=document['createElement'](_0x1d5e64['tag']);if(_0x1d5e64['attributes']&&function(_0x49caac,_0x4ef664){for(let _0x68d315 in _0x4ef664)_0x4ef664[_0x68d315]['constructor']===Boolean?_0x4ef664[_0x68d315]?_0x49caac['setAttribute'](_0x68d315,''):_0x49caac['removeAttribute'](_0x68d315):_0x49caac['setAttribute'](_0x68d315,_0x4ef664[_0x68d315]);}(_0x2c8b4e,_0x1d5e64['attributes']),_0x1d5e64['styles']&&_0x1d22dd(_0x2c8b4e,_0x1d5e64['styles']),_0x1d5e64['properties']){for(let _0x1b74d9 in _0x1d5e64['properties'])_0x2c8b4e[_0x1b74d9]=_0x1d5e64['properties'][_0x1b74d9];}return _0x1d5e64['processors']&&_0x1d5e64['processors']['forEach'](_0x29176e=>{_0x29176e(_0x2c8b4e);}),_0x1d5e64['children']&&_0x1d5e64['children']['forEach'](_0x5212c4=>{let _0x58ffc2=_0x5eb1ab(_0x5212c4);_0x2c8b4e['appendChild'](_0x58ffc2);}),_0x2c8b4e;}_0x3d02e9(_0x4fac32,'template');var _0x4761e5='idb-store-ready',_0x20e551=class{['_notifyWhenReady'](_0xd93f1b=null){window['dispatchEvent'](new CustomEvent(_0x4761e5,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0xd93f1b}}));}get['_updEventName'](){return'symbiote-idb-update_'+this['name'];}['_getUpdateEvent'](_0x571060){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x571060}});}['_notifySubscribers'](_0x313a08){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x313a08),window['dispatchEvent'](this['_getUpdateEvent'](_0x313a08));}constructor(_0x1099dc,_0x1b039d){this['name']=_0x1099dc,this['storeName']=_0x1b039d,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x2800f9=>{this['db']=_0x2800f9['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x1b039d,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x185f90=>{this['_notifyWhenReady'](_0x185f90);};},this['request']['onsuccess']=_0x5735ba=>{this['db']=_0x5735ba['target']['result'],this['_notifyWhenReady'](_0x5735ba);},this['request']['onerror']=_0x4dc717=>{console['error'](_0x4dc717);},this['_subscriptionsMap']={},this['_updateHandler']=_0x3c5f79=>{_0x3c5f79['key']===this['name']&&this['_subscriptionsMap'][_0x3c5f79['newValue']]&&this['_subscriptionsMap'][_0x3c5f79['newValue']]['forEach'](async _0x2f46a0=>{_0x2f46a0(await this['read'](_0x3c5f79['newValue']));});},this['_localUpdateHandler']=_0x2ea8c5=>{this['_updateHandler'](_0x2ea8c5['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x3a75e7){let _0x135431=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x3a75e7);return new Promise((_0x5a79d9,_0x19d44d)=>{_0x135431['onsuccess']=_0xe5f169=>{var _0x3e7fb4;(null==(_0x3e7fb4=_0xe5f169['target']['result'])?void 0x0:_0x3e7fb4['_value'])?_0x5a79d9(_0xe5f169['target']['result']['_value']):(_0x5a79d9(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x3a75e7+'\x22'));},_0x135431['onerror']=_0x1f4bf3=>{_0x19d44d(_0x1f4bf3);};});}['write'](_0x42e954,_0x4445c4,_0x11b6bc=!0x1){let _0x2c5d96={'_key':_0x42e954,'_value':_0x4445c4},_0x1fa8fd=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x2c5d96);return new Promise((_0x593c63,_0x48a74c)=>{_0x1fa8fd['onsuccess']=_0x243a07=>{_0x11b6bc||this['_notifySubscribers'](_0x42e954),_0x593c63(_0x243a07['target']['result']);},_0x1fa8fd['onerror']=_0x6960b0=>{_0x48a74c(_0x6960b0);};});}['delete'](_0x23ea5e,_0x2a1221=!0x1){let _0x1761d9=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x23ea5e);return new Promise((_0x4731fd,_0x1958be)=>{_0x1761d9['onsuccess']=_0x5e3fbb=>{_0x2a1221||this['_notifySubscribers'](_0x23ea5e),_0x4731fd(_0x5e3fbb);},_0x1761d9['onerror']=_0x16e07d=>{_0x1958be(_0x16e07d);};});}['getAll'](){let _0x8725d0=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x40a46d,_0x449922)=>{_0x8725d0['onsuccess']=_0x4afde2=>{let _0x3c3aba=_0x4afde2['target']['result'];_0x40a46d(_0x3c3aba['map'](_0x39750b=>_0x39750b['_value']));},_0x8725d0['onerror']=_0x3ac596=>{_0x449922(_0x3ac596);};});}['subscribe'](_0x27ccd3,_0x2f333f){this['_subscriptionsMap'][_0x27ccd3]||(this['_subscriptionsMap'][_0x27ccd3]=new Set());let _0x435306=this['_subscriptionsMap'][_0x27ccd3];return _0x435306['add'](_0x2f333f),{'remove':()=>{_0x435306['delete'](_0x2f333f),_0x435306['size']||delete this['_subscriptionsMap'][_0x27ccd3];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x2c7dd7['clear'](this['name']);}},_0x2c7dd7=class{static get['readyEventName'](){return _0x4761e5;}static['open'](_0x1915e2='symbiote-db',_0x4483d7='store'){let _0x4cd428=_0x1915e2+'/'+_0x4483d7;return this['_reg'][_0x4cd428]||(this['_reg'][_0x4cd428]=new _0x20e551(_0x1915e2,_0x4483d7)),this['_reg'][_0x4cd428];}static['clear'](_0x5e12e8){window['indexedDB']['deleteDatabase'](_0x5e12e8);for(let _0x14702b in this['_reg'])_0x14702b['split']('/')[0x0]===_0x5e12e8&&delete this['_reg'][_0x14702b];}};function _0x240a88(_0x19e8c7){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x19e8c7);}_0x3d02e9(_0x2c7dd7,'_reg',Object['create'](null));const _0x5f1cc6=/\W|_/g;function _0x3c95cc(_0x566d07){return _0x566d07['split'](_0x5f1cc6)['map']((_0x589947,_0x34aff9)=>_0x589947['charAt'](0x0)[_0x34aff9>0x0?'toUpperCase':'toLowerCase']()+_0x589947['slice'](0x1))['join']('');}function _0x1773a2(_0x5193b6,{ignoreKeys:_0x1b9947}={'ignoreKeys':[]}){return Array['isArray'](_0x5193b6)?_0x5193b6['map'](_0x1bc8c4=>_0x3e4495(_0x1bc8c4,{'ignoreKeys':_0x1b9947})):_0x5193b6;}function _0x3e4495(_0xe14ddc,{ignoreKeys:_0x1172d5}={'ignoreKeys':[]}){if(Array['isArray'](_0xe14ddc))return _0x1773a2(_0xe14ddc,{'ignoreKeys':_0x1172d5});if(!_0x240a88(_0xe14ddc))return _0xe14ddc;const _0x17b5a6={};for(const _0x3abec1 of Object['keys'](_0xe14ddc)){let _0x2e1988=_0xe14ddc[_0x3abec1];_0x1172d5['includes'](_0x3abec1)?_0x17b5a6[_0x3abec1]=_0x2e1988:(_0x240a88(_0x2e1988)?_0x2e1988=_0x3e4495(_0x2e1988,{'ignoreKeys':_0x1172d5}):Array['isArray'](_0x2e1988)&&(_0x2e1988=_0x1773a2(_0x2e1988,{'ignoreKeys':_0x1172d5})),_0x17b5a6[_0x3c95cc(_0x3abec1)]=_0x2e1988);}return _0x17b5a6;}function _0x200eba({libraryName:_0x5c088a,libraryVersion:_0x52ea34,userAgent:_0x304f24,publicKey:_0x412503='',integration:_0x611290=''}){const _0x32bdc8='JavaScript';if('string'==typeof _0x304f24)return _0x304f24;if('function'==typeof _0x304f24)return _0x304f24({'publicKey':_0x412503,'libraryName':_0x5c088a,'libraryVersion':_0x52ea34,'languageName':_0x32bdc8,'integration':_0x611290});return[_0x5c088a,_0x52ea34,_0x412503]['filter'](Boolean)['join']('/')+'\x20('+[_0x32bdc8,_0x611290]['filter'](Boolean)['join'](';\x20')+')';}const _0x1b5106={'factor':0x2,'time':0x64};function _0x2c5225(_0x32533d,_0x48ea81=_0x1b5106){let _0x2f0d88=0x0;return function _0x2889c5(_0x36f965){const _0x201c95=Math['round'](_0x48ea81['time']*_0x48ea81['factor']**_0x2f0d88);return _0x36f965({'attempt':_0x2f0d88,'retry':_0x50c684=>(_0x2c3c9a=>new Promise(_0x7e4497=>setTimeout(_0x7e4497,_0x2c3c9a)))(_0x50c684??_0x201c95)['then'](()=>(_0x2f0d88+=0x1,_0x2889c5(_0x36f965)))});}(_0x32533d);}class _0x37e4ec extends Error{}class NetworkError extends _0x37e4ec{['originalProgressEvent'];constructor(_0x547427){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x547427;}}const _0x43c2a7=(_0x257b88,_0x1b67f5)=>{_0x257b88&&(_0x257b88['aborted']?Promise['resolve']()['then'](_0x1b67f5):_0x257b88['addEventListener']('abort',()=>_0x1b67f5(),{'once':!0x0}));};class _0x326ab5 extends _0x37e4ec{['isCancel']=!0x0;constructor(_0x163323='Request\x20canceled'){super(_0x163323),this['name']='CancelError',Object['setPrototypeOf'](this,_0x326ab5['prototype']);}}const _0x32fa58=({check:_0x5da24d,interval:_0x4cecd3=0x1f4,timeout:_0x5d8c67,signal:_0x3e0e79})=>new Promise((_0x192d53,_0x3b7a9e)=>{let _0x162d93,_0x5bca78;_0x43c2a7(_0x3e0e79,()=>{_0x162d93&&clearTimeout(_0x162d93),_0x3b7a9e(new _0x326ab5('Poll\x20cancelled'));}),_0x5d8c67&&(_0x5bca78=setTimeout(()=>{_0x162d93&&clearTimeout(_0x162d93),_0x3b7a9e(new _0x326ab5('Timed\x20out'));},_0x5d8c67));const _0x1f3684=()=>{try{Promise['resolve'](_0x5da24d(_0x3e0e79))['then'](_0x52e269=>{_0x52e269?(_0x5bca78&&clearTimeout(_0x5bca78),_0x192d53(_0x52e269)):_0x162d93=setTimeout(_0x1f3684,_0x4cecd3);})['catch'](_0x2e9082=>{_0x5bca78&&clearTimeout(_0x5bca78),_0x3b7a9e(_0x2e9082);});}catch(_0x428585){_0x5bca78&&clearTimeout(_0x5bca78),_0x3b7a9e(_0x428585);}};_0x162d93=setTimeout(_0x1f3684,0x0);}),_0x3197ca='https://ucarecdn.com',_0x161615='https://upload.uploadcare.com',_0x201f67=0x1,_0x4b8ddc=0x3,_0x2e3ef8=0x1900000,_0x55ce6b=0x500000,_0x55de41=0x4,_0x59e15e='79ae88bd931ea68464d9',_0x3d781f='application/octet-stream',_0x46c432='original',_0x31f6eb=({method:_0x4db025,url:_0x45e411,data:_0x5c9604,headers:_0x47a49d={},signal:_0x466fc2,onProgress:_0x3f0083})=>new Promise((_0x386b83,_0x5cd0cd)=>{const _0x2e1749=new XMLHttpRequest(),_0x5ba737=_0x4db025?.['toUpperCase']()||'GET';let _0xd00d5e=!0x1;_0x2e1749['open'](_0x5ba737,_0x45e411,!0x0),_0x47a49d&&Object['entries'](_0x47a49d)['forEach'](_0x202650=>{const [_0x202423,_0x2be6d7]=_0x202650;void 0x0!==_0x2be6d7&&!Array['isArray'](_0x2be6d7)&&_0x2e1749['setRequestHeader'](_0x202423,_0x2be6d7);}),_0x2e1749['responseType']='text',_0x43c2a7(_0x466fc2,()=>{_0xd00d5e=!0x0,_0x2e1749['abort'](),_0x5cd0cd(new _0x326ab5());}),_0x2e1749['onload']=()=>{if(0xc8!=_0x2e1749['status'])_0x5cd0cd(new Error('Error\x20'+_0x2e1749['status']+':\x20'+_0x2e1749['statusText']));else{const _0x3224da={'method':_0x5ba737,'url':_0x45e411,'data':_0x5c9604,'headers':_0x47a49d||void 0x0,'signal':_0x466fc2,'onProgress':_0x3f0083},_0xf85540=_0x2e1749['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x3bb2d3={};_0xf85540['forEach'](function(_0x29997b){const _0x596669=_0x29997b['split'](':\x20'),_0x398412=_0x596669['shift'](),_0x3d2128=_0x596669['join'](':\x20');_0x398412&&void 0x0!==_0x398412&&(_0x3bb2d3[_0x398412]=_0x3d2128);});const _0x4b9763=_0x2e1749['response'],_0x3c0770=_0x2e1749['status'];_0x386b83({'request':_0x3224da,'data':_0x4b9763,'headers':_0x3bb2d3,'status':_0x3c0770});}},_0x2e1749['onerror']=_0x5e6e05=>{_0xd00d5e||_0x5cd0cd(new NetworkError(_0x5e6e05));},_0x3f0083&&'function'==typeof _0x3f0083&&(_0x2e1749['upload']['onprogress']=_0x2bd42c=>{_0x2bd42c['lengthComputable']?_0x3f0083({'isComputable':!0x0,'value':_0x2bd42c['loaded']/_0x2bd42c['total']}):_0x3f0083({'isComputable':!0x1});}),_0x5c9604?_0x2e1749['send'](_0x5c9604):_0x2e1749['send']();}),_0x19755f=function(_0x3c3333,..._0x14b75f){return _0x3c3333;},_0x46283f=_0x2fc726=>'undefined'!=typeof Blob&&_0x2fc726 instanceof Blob,_0xfb6e29=_0x29268c=>'undefined'!=typeof File&&_0x29268c instanceof File,_0x2e8430=_0x1d427f=>!!_0x1d427f&&'object'==typeof _0x1d427f&&!Array['isArray'](_0x1d427f)&&'uri'in _0x1d427f&&'string'==typeof _0x1d427f['uri'],_0x52014c=_0x4ef641=>_0x46283f(_0x4ef641)||_0xfb6e29(_0x4ef641)||_0x2e8430(_0x4ef641);function _0x2356b4(_0x9fb871,_0x30f803,_0x5974c0){if(Array['isArray'](_0x5974c0)){for(const _0xfb0854 of _0x5974c0)_0x2356b4(_0x9fb871,_0x30f803+'[]',_0xfb0854);}else{if((_0x42d011=>!!_0x42d011&&'object'==typeof _0x42d011&&'data'in _0x42d011&&_0x52014c(_0x42d011['data']))(_0x5974c0)){const {name:_0x50fdb5,contentType:_0x59d8c2}=_0x5974c0,_0x31c3a2=_0x19755f(_0x5974c0['data'],_0x50fdb5,_0x59d8c2??_0x3d781f),_0x57ebfe=(({name:_0xcfa089})=>_0xcfa089?[_0xcfa089]:[])({'name':_0x50fdb5});_0x9fb871['push']([_0x30f803,_0x31c3a2,..._0x57ebfe]);}else{if((_0x251468=>!!_0x251468&&'object'==typeof _0x251468&&!Array['isArray'](_0x251468))(_0x5974c0)){for(const [_0x45d324,_0x5966a0]of Object['entries'](_0x5974c0))void 0x0!==_0x5966a0&&_0x9fb871['push']([_0x30f803+'['+_0x45d324+']',String(_0x5966a0)]);}else(_0x565391=>'string'==typeof _0x565391||'number'==typeof _0x565391||void 0x0===_0x565391)(_0x5974c0)&&_0x5974c0&&_0x9fb871['push']([_0x30f803,_0x5974c0['toString']()]);}}}function _0x4ee11e(_0x8c30b8){const _0x159013=new FormData(),_0x2dda3b=function(_0x188592){const _0x1b3a73=[];for(const [_0x1f6f48,_0x347581]of Object['entries'](_0x188592))_0x2356b4(_0x1b3a73,_0x1f6f48,_0x347581);return _0x1b3a73;}(_0x8c30b8);for(const _0x446554 of _0x2dda3b){const [_0x7ac73c,_0x32f2b9,..._0x2f55bd]=_0x446554;_0x159013['append'](_0x7ac73c,_0x32f2b9,..._0x2f55bd);}return _0x159013;}class _0x52086c extends _0x37e4ec{['code'];['request'];['response'];['headers'];constructor(_0xf032e3,_0x40ec9d,_0x4b9644,_0x51eaec,_0x55fdf3){super(),this['name']='UploadError',this['message']=_0xf032e3,this['code']=_0x40ec9d,this['request']=_0x4b9644,this['response']=_0x51eaec,this['headers']=_0x55fdf3,Object['setPrototypeOf'](this,_0x52086c['prototype']);}}const _0x2da658=(_0x51f5cc,_0x179f33,_0x593969)=>{const _0x2d8178=new URL(_0x51f5cc);return _0x2d8178['pathname']=(_0x2d8178['pathname']+_0x179f33)['replace']('//','/'),_0x593969&&(_0x2d8178['search']=(_0x489ec1=>{const _0x24472b=new URLSearchParams();for(const [_0x3088dd,_0x3d8d16]of Object['entries'](_0x489ec1))_0x3d8d16&&'object'==typeof _0x3d8d16&&!Array['isArray'](_0x3d8d16)?Object['entries'](_0x3d8d16)['filter'](_0x435561=>_0x435561[0x1]??!0x1)['forEach'](_0x4ad720=>_0x24472b['set'](_0x3088dd+'['+_0x4ad720[0x0]+']',String(_0x4ad720[0x1]))):Array['isArray'](_0x3d8d16)?_0x3d8d16['forEach'](_0x5e2db4=>{_0x24472b['append'](_0x3088dd+'[]',_0x5e2db4);}):'string'==typeof _0x3d8d16&&_0x3d8d16?_0x24472b['set'](_0x3088dd,_0x3d8d16):'number'==typeof _0x3d8d16&&_0x24472b['set'](_0x3088dd,_0x3d8d16['toString']());return _0x24472b['toString']();})(_0x593969)),_0x2d8178['toString']();};function _0x4ce25c(_0x1614c1){return _0x200eba({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.2',..._0x1614c1});}function _0x42ffbf(_0x4cb950,_0x20e08c){const {retryThrottledRequestMaxTimes:_0x20e0df,retryNetworkErrorMaxTimes:_0x276ae8}=_0x20e08c;return _0x2c5225(({attempt:_0x3c42e5,retry:_0x239cb0})=>_0x4cb950()['catch'](_0x5a86e5=>{if('response'in _0x5a86e5&&'RequestThrottledError'===_0x5a86e5?.['code']&&_0x3c42e5<_0x20e0df)return _0x239cb0(function(_0x42a088){const {headers:_0xef070f}=_0x42a088||{};if(!_0xef070f||'string'!=typeof _0xef070f['retry-after'])return 0x3a98;const _0x4e5f48=parseInt(_0xef070f['retry-after'],0xa);return Number['isFinite'](_0x4e5f48)?0x3e8*_0x4e5f48:0x3a98;}(_0x5a86e5));if(_0x5a86e5 instanceof NetworkError&&_0x3c42e5<_0x276ae8)return _0x239cb0(0x3e8*(_0x3c42e5+0x1));throw _0x5a86e5;}));}const _0x6f2abb=_0x487573=>{let _0x332aea='';return(_0x46283f(_0x487573)||_0xfb6e29(_0x487573)||_0x2e8430(_0x487573))&&(_0x332aea=_0x487573['type']),_0x332aea||_0x3d781f;},_0x5cd2d3=_0x394a88=>{let _0x204852='';return _0xfb6e29(_0x394a88)&&_0x394a88['name']?_0x204852=_0x394a88['name']:_0x46283f(_0x394a88)?_0x204852='':_0x2e8430(_0x394a88)&&_0x394a88['name']&&(_0x204852=_0x394a88['name']),_0x204852||_0x46c432;};function _0x439ed3(_0x1ab3c5){return void 0x0===_0x1ab3c5||'auto'===_0x1ab3c5?'auto':_0x1ab3c5?'1':'0';}var _0x465dc4,_0x180518;!function(_0x3324a6){_0x3324a6['Token']='token',_0x3324a6['FileInfo']='file_info';}(_0x465dc4||(_0x465dc4={})),function(_0x259459){_0x259459['Unknown']='unknown',_0x259459['Waiting']='waiting',_0x259459['Progress']='progress',_0x259459['Error']='error',_0x259459['Success']='success';}(_0x180518||(_0x180518={}));function _0xef4831(_0x374830,{publicKey:_0x4d6b7a,baseURL:_0x29a38c=_0x161615,signal:_0xbee86d,integration:_0x433778,userAgent:_0x50d26c,retryThrottledRequestMaxTimes:_0x503bee=_0x201f67,retryNetworkErrorMaxTimes:_0x496d52=_0x4b8ddc}={}){return _0x42ffbf(()=>_0x31f6eb({'method':'GET','headers':_0x4d6b7a?{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x4d6b7a,'integration':_0x433778,'userAgent':_0x50d26c})}:void 0x0,'url':_0x2da658(_0x29a38c,'/from_url/status/',{'jsonerrors':0x1,'token':_0x374830}),'signal':_0xbee86d})['then'](({data:_0x4249ce,headers:_0x4c5c8e,request:_0xd9fb9d})=>{const _0x122f4f=_0x3e4495(JSON['parse'](_0x4249ce));if('error'in _0x122f4f&&!(_0x615286=>'status'in _0x615286&&_0x615286['status']===_0x180518['Error'])(_0x122f4f))throw new _0x52086c(_0x122f4f['error']['content'],_0x122f4f['error']['errorCode'],_0xd9fb9d,_0x122f4f,_0x4c5c8e);return _0x122f4f;}),{'retryNetworkErrorMaxTimes':_0x496d52,'retryThrottledRequestMaxTimes':_0x503bee});}function _0xf131b6(_0x54816c,{publicKey:_0x5ca5ee,baseURL:_0x54b10b=_0x161615,signal:_0x5d1782,source:_0x5200b9,integration:_0x2def13,userAgent:_0x408243,retryThrottledRequestMaxTimes:_0x182567=_0x201f67,retryNetworkErrorMaxTimes:_0x42db5e=_0x4b8ddc}){return _0x42ffbf(()=>_0x31f6eb({'method':'GET','headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x5ca5ee,'integration':_0x2def13,'userAgent':_0x408243})},'url':_0x2da658(_0x54b10b,'/info/',{'jsonerrors':0x1,'pub_key':_0x5ca5ee,'file_id':_0x54816c,'source':_0x5200b9}),'signal':_0x5d1782})['then'](({data:_0x1da5d2,headers:_0x1ecfbb,request:_0x4ab4a4})=>{const _0x3252de=_0x3e4495(JSON['parse'](_0x1da5d2));if('error'in _0x3252de)throw new _0x52086c(_0x3252de['error']['content'],_0x3252de['error']['errorCode'],_0x4ab4a4,_0x3252de,_0x1ecfbb);return _0x3252de;}),{'retryThrottledRequestMaxTimes':_0x182567,'retryNetworkErrorMaxTimes':_0x42db5e});}function _0x187405(_0x179a1b,{publicKey:_0x18de59,baseURL:_0x17ee5f,source:_0x9ebf4f,integration:_0x603e21,userAgent:_0x4456d4,retryThrottledRequestMaxTimes:_0x111c61,retryNetworkErrorMaxTimes:_0xb22437,signal:_0x109ec5,onProgress:_0x3f5f4a}){return _0x32fa58({'check':_0x2f642c=>_0xf131b6(_0x179a1b,{'publicKey':_0x18de59,'baseURL':_0x17ee5f,'signal':_0x2f642c,'source':_0x9ebf4f,'integration':_0x603e21,'userAgent':_0x4456d4,'retryThrottledRequestMaxTimes':_0x111c61,'retryNetworkErrorMaxTimes':_0xb22437})['then'](_0xf8b260=>_0xf8b260['isReady']?_0xf8b260:(_0x3f5f4a&&_0x3f5f4a({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x109ec5});}class _0x306bb0{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x331b7c,{baseCDN:_0x27182d=_0x3197ca,fileName:_0xe70689}={}){const {uuid:_0xc1a275,s3Bucket:_0x43aef5}=_0x331b7c,_0x13e9be=_0x2da658(_0x27182d,_0xc1a275+'/'),_0x130226=_0x43aef5?_0x2da658('https://'+_0x43aef5+'.s3.amazonaws.com/',_0xc1a275+'/'+_0x331b7c['filename']):null;this['uuid']=_0xc1a275,this['name']=_0xe70689||_0x331b7c['filename'],this['size']=_0x331b7c['size'],this['isStored']=_0x331b7c['isStored'],this['isImage']=_0x331b7c['isImage'],this['mimeType']=_0x331b7c['mimeType'],this['cdnUrl']=_0x13e9be,this['originalFilename']=_0x331b7c['originalFilename'],this['imageInfo']=_0x331b7c['imageInfo'],this['videoInfo']=_0x331b7c['videoInfo'],this['contentInfo']=_0x331b7c['contentInfo'],this['metadata']=_0x331b7c['metadata']||null,this['s3Bucket']=_0x43aef5||null,this['s3Url']=_0x130226,function(_0x5de131){return'defaultEffects'in _0x5de131;}(_0x331b7c)&&(this['defaultEffects']=_0x331b7c['defaultEffects']);}}const _0x3e1f4b=(_0x1259d5,{publicKey:_0x20da44,fileName:_0x5b2c4e,baseURL:_0x5f2893,secureSignature:_0x2b51fe,secureExpire:_0x4729ae,store:_0x20902e,contentType:_0x36a566,signal:_0x32c448,onProgress:_0x5b85e8,source:_0x598849,integration:_0x2fac18,userAgent:_0x1b6d54,retryThrottledRequestMaxTimes:_0x5e5bbf,retryNetworkErrorMaxTimes:_0x4042a5,baseCDN:_0x1b27d2,metadata:_0xc0a943})=>function(_0x4f1455,{publicKey:_0x19542b,fileName:_0x36a14b,contentType:_0x194bb5,baseURL:_0x3907d7=_0x161615,secureSignature:_0x5ef2f1,secureExpire:_0x399d49,store:_0x40483b,signal:_0x50d91f,onProgress:_0x59a9ce,source:_0x5995b9='local',integration:_0x259861,userAgent:_0x3db069,retryThrottledRequestMaxTimes:_0x3e546b=_0x201f67,retryNetworkErrorMaxTimes:_0xb35e1=_0x4b8ddc,metadata:_0x806648}){return _0x42ffbf(()=>_0x31f6eb({'method':'POST','url':_0x2da658(_0x3907d7,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x19542b,'integration':_0x259861,'userAgent':_0x3db069})},'data':_0x4ee11e({'file':{'data':_0x4f1455,'name':_0x36a14b||_0x5cd2d3(_0x4f1455),'contentType':_0x194bb5||_0x6f2abb(_0x4f1455)},'UPLOADCARE_PUB_KEY':_0x19542b,'UPLOADCARE_STORE':_0x439ed3(_0x40483b),'signature':_0x5ef2f1,'expire':_0x399d49,'source':_0x5995b9,'metadata':_0x806648}),'signal':_0x50d91f,'onProgress':_0x59a9ce})['then'](({data:_0x23f5f2,headers:_0xd4e5fa,request:_0x4cb154})=>{const _0x2edefd=_0x3e4495(JSON['parse'](_0x23f5f2));if('error'in _0x2edefd)throw new _0x52086c(_0x2edefd['error']['content'],_0x2edefd['error']['errorCode'],_0x4cb154,_0x2edefd,_0xd4e5fa);return _0x2edefd;}),{'retryNetworkErrorMaxTimes':_0xb35e1,'retryThrottledRequestMaxTimes':_0x3e546b});}(_0x1259d5,{'publicKey':_0x20da44,'fileName':_0x5b2c4e,'contentType':_0x36a566,'baseURL':_0x5f2893,'secureSignature':_0x2b51fe,'secureExpire':_0x4729ae,'store':_0x20902e,'signal':_0x32c448,'onProgress':_0x5b85e8,'source':_0x598849,'integration':_0x2fac18,'userAgent':_0x1b6d54,'retryThrottledRequestMaxTimes':_0x5e5bbf,'retryNetworkErrorMaxTimes':_0x4042a5,'metadata':_0xc0a943})['then'](({file:_0x4e2865})=>_0x187405(_0x4e2865,{'publicKey':_0x20da44,'baseURL':_0x5f2893,'source':_0x598849,'integration':_0x2fac18,'userAgent':_0x1b6d54,'retryThrottledRequestMaxTimes':_0x5e5bbf,'retryNetworkErrorMaxTimes':_0x4042a5,'onProgress':_0x5b85e8,'signal':_0x32c448}))['then'](_0x235fbf=>new _0x306bb0(_0x235fbf,{'baseCDN':_0x1b27d2})),_0x37e881=(_0x29847a,{signal:_0x1b6613}={})=>{let _0x83c66d=null,_0x2fea84=null;const _0x1385c2=_0x29847a['map'](()=>new AbortController());return _0x43c2a7(_0x1b6613,()=>{_0x1385c2['forEach'](_0x22655d=>_0x22655d['abort']());}),Promise['all'](_0x29847a['map']((_0x90af8e,_0x4ee4c5)=>{const _0xbc8a3a=(_0x3c8d81=>()=>{_0x2fea84=_0x3c8d81,_0x1385c2['forEach']((_0x514198,_0x4207f8)=>_0x4207f8!==_0x3c8d81&&_0x514198['abort']());})(_0x4ee4c5);return Promise['resolve']()['then'](()=>_0x90af8e({'stopRace':_0xbc8a3a,'signal':_0x1385c2[_0x4ee4c5]['signal']}))['then'](_0x1d1004=>(_0xbc8a3a(),_0x1d1004))['catch'](_0x33bfbd=>(_0x83c66d=_0x33bfbd,null));}))['then'](_0x14deeb=>{if(null===_0x2fea84)throw _0x83c66d;return _0x14deeb[_0x2fea84];});};var _0xba0c61=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x352661,_0x32f5b0){this['events'][_0x352661]?.['forEach'](_0x4747cf=>_0x4747cf(_0x32f5b0));}['on'](_0x237da4,_0x3518d4){this['events'][_0x237da4]=this['events'][_0x237da4]||[],this['events'][_0x237da4]['push'](_0x3518d4);}['off'](_0x2b7b1c,_0x150fd0){this['events'][_0x2b7b1c]=_0x150fd0?this['events'][_0x2b7b1c]['filter'](_0x1c0a61=>_0x1c0a61!==_0x150fd0):[];}}class _0xc9be4d{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x17eefc,_0x5548f2=0x7530){this['key']=_0x17eefc,this['disconnectTime']=_0x5548f2;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x11b68c='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0xba0c61(_0x11b68c),this['ws']['addEventListener']('error',_0x55854b=>{this['emmitter']['emit']('error',new Error(_0x55854b['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x52c98b=>this['send'](_0x52c98b['event'],_0x52c98b['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0xa34583=>{const _0x1d6a79=JSON['parse'](_0xa34583['data']['toString']());switch(_0x1d6a79['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'](_0x1d6a79['channel'],((_0x3fb712,_0x17745b)=>'success'===_0x3fb712?{'status':_0x180518['Success'],..._0x17745b}:'progress'===_0x3fb712?{'status':_0x180518['Progress'],..._0x17745b}:{'status':_0x180518['Error'],..._0x17745b})(_0x1d6a79['event'],JSON['parse'](_0x1d6a79['data'])));}});}}['disconnect'](){const _0x239e33=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x239e33();},this['disconnectTime']):_0x239e33();}['send'](_0x201909,_0x3b8c76){const _0x56f50b=JSON['stringify']({'event':_0x201909,'data':_0x3b8c76});this['ws']?.['send'](_0x56f50b);}['subscribe'](_0x26b181,_0x34af25){this['subscribers']+=0x1,this['connect']();const _0x4e646f='task-status-'+_0x26b181,_0x5e84d0={'event':'pusher:subscribe','data':{'channel':_0x4e646f}};this['emmitter']['on'](_0x4e646f,_0x34af25),this['isConnected']?this['send'](_0x5e84d0['event'],_0x5e84d0['data']):this['queue']['push'](_0x5e84d0);}['unsubscribe'](_0x4c8092){this['subscribers']-=0x1;const _0x17c476='task-status-'+_0x4c8092,_0x111f86={'event':'pusher:unsubscribe','data':{'channel':_0x17c476}};this['emmitter']['off'](_0x17c476),this['isConnected']?this['send'](_0x111f86['event'],_0x111f86['data']):this['queue']=this['queue']['filter'](_0x42e967=>_0x42e967['data']['channel']!==_0x17c476),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0xab06a6){return this['emmitter']['on']('error',_0xab06a6),()=>this['emmitter']['off']('error',_0xab06a6);}}let tM=null;const _0x589668=_0x4eee60=>{if(!tM){const _0x2d831a='undefined'==typeof window?0x0:0x7530;tM=new _0xc9be4d(_0x4eee60,_0x2d831a);}return tM;},_0x4d1957=(_0x37abc5,{publicKey:_0x2b2287,fileName:_0x32d8f6,baseURL:_0x342094,baseCDN:_0x521383,checkForUrlDuplicates:_0x363d60,saveUrlForRecurrentUploads:_0x200d7a,secureSignature:_0x3a175e,secureExpire:_0xb3faf8,store:_0x52561a,signal:_0x1cd554,onProgress:_0x13d705,source:_0x43e1fd,integration:_0x3645cf,userAgent:_0x3cc975,retryThrottledRequestMaxTimes:_0xa5ca72,pusherKey:_0x1f8ec6=_0x59e15e,metadata:_0x45270b})=>{return Promise['resolve']((_0x370789=_0x1f8ec6,void _0x589668(_0x370789)['connect']()))['then'](()=>function(_0x437f5f,{publicKey:_0x218d52,baseURL:_0x4af9d1=_0x161615,store:_0x5412b4,fileName:_0x3248b2,checkForUrlDuplicates:_0x27e3f8,saveUrlForRecurrentUploads:_0x4e6457,secureSignature:_0x426bf2,secureExpire:_0xcbab35,source:_0x454bc7='url',signal:_0x18935c,integration:_0x36ef9e,userAgent:_0x27e0d7,retryThrottledRequestMaxTimes:_0x3d3a54=_0x201f67,retryNetworkErrorMaxTimes:_0x22304e=_0x4b8ddc,metadata:_0x41e6de}){return _0x42ffbf(()=>_0x31f6eb({'method':'POST','headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x218d52,'integration':_0x36ef9e,'userAgent':_0x27e0d7})},'url':_0x2da658(_0x4af9d1,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x218d52,'source_url':_0x437f5f,'store':_0x439ed3(_0x5412b4),'filename':_0x3248b2,'check_URL_duplicates':_0x27e3f8?0x1:void 0x0,'save_URL_duplicates':_0x4e6457?0x1:void 0x0,'signature':_0x426bf2,'expire':_0xcbab35,'source':_0x454bc7,'metadata':_0x41e6de}),'signal':_0x18935c})['then'](({data:_0x10a496,headers:_0x524057,request:_0x50e840})=>{const _0x548d1b=_0x3e4495(JSON['parse'](_0x10a496));if('error'in _0x548d1b)throw new _0x52086c(_0x548d1b['error']['content'],_0x548d1b['error']['errorCode'],_0x50e840,_0x548d1b,_0x524057);return _0x548d1b;}),{'retryNetworkErrorMaxTimes':_0x22304e,'retryThrottledRequestMaxTimes':_0x3d3a54});}(_0x37abc5,{'publicKey':_0x2b2287,'fileName':_0x32d8f6,'baseURL':_0x342094,'checkForUrlDuplicates':_0x363d60,'saveUrlForRecurrentUploads':_0x200d7a,'secureSignature':_0x3a175e,'secureExpire':_0xb3faf8,'store':_0x52561a,'signal':_0x1cd554,'source':_0x43e1fd,'integration':_0x3645cf,'userAgent':_0x3cc975,'retryThrottledRequestMaxTimes':_0xa5ca72,'metadata':_0x45270b}))['catch'](_0x3d3e88=>{const _0x593b62=_0x589668(_0x1f8ec6);return _0x593b62?.['disconnect'](),Promise['reject'](_0x3d3e88);})['then'](_0x2293cd=>_0x2293cd['type']===_0x465dc4['FileInfo']?_0x2293cd:_0x37e881([({signal:_0x55ab10})=>function({token:_0x136e44,publicKey:_0xb0bb4d,baseURL:_0x12c7ba,integration:_0x9f961d,userAgent:_0x235d38,retryThrottledRequestMaxTimes:_0xf658bb,retryNetworkErrorMaxTimes:_0x5f4a0f,onProgress:_0x468b8d,signal:_0x486518}){return _0x32fa58({'check':_0x1f1bbb=>_0xef4831(_0x136e44,{'publicKey':_0xb0bb4d,'baseURL':_0x12c7ba,'integration':_0x9f961d,'userAgent':_0x235d38,'retryThrottledRequestMaxTimes':_0xf658bb,'retryNetworkErrorMaxTimes':_0x5f4a0f,'signal':_0x1f1bbb})['then'](_0x227853=>{switch(_0x227853['status']){case _0x180518['Error']:return new _0x52086c(_0x227853['error'],_0x227853['errorCode']);case _0x180518['Waiting']:return!0x1;case _0x180518['Unknown']:return new _0x52086c('Token\x20\x22'+_0x136e44+'\x22\x20was\x20not\x20found.');case _0x180518['Progress']:return _0x468b8d&&('unknown'===_0x227853['total']?_0x468b8d({'isComputable':!0x1}):_0x468b8d({'isComputable':!0x0,'value':_0x227853['done']/_0x227853['total']})),!0x1;case _0x180518['Success']:return _0x468b8d&&_0x468b8d({'isComputable':!0x0,'value':_0x227853['done']/_0x227853['total']}),_0x227853;default:throw new Error('Unknown\x20status');}}),'signal':_0x486518});}({'token':_0x2293cd['token'],'publicKey':_0x2b2287,'baseURL':_0x342094,'integration':_0x3645cf,'userAgent':_0x3cc975,'retryThrottledRequestMaxTimes':_0xa5ca72,'onProgress':_0x13d705,'signal':_0x55ab10}),({signal:_0xdf45a0})=>(({token:_0x969161,pusherKey:_0x22cf8d,signal:_0x26a0d2,onProgress:_0x2da88e})=>new Promise((_0x49dacc,_0xf26053)=>{const _0x26cafa=_0x589668(_0x22cf8d),_0x16903a=_0x26cafa['onError'](_0xf26053),_0x422220=()=>{_0x16903a(),_0x26cafa['unsubscribe'](_0x969161);};_0x43c2a7(_0x26a0d2,()=>{_0x422220(),_0xf26053(new _0x326ab5('pusher\x20cancelled'));}),_0x26cafa['subscribe'](_0x969161,_0x1d569=>{switch(_0x1d569['status']){case _0x180518['Progress']:_0x2da88e&&('unknown'===_0x1d569['total']?_0x2da88e({'isComputable':!0x1}):_0x2da88e({'isComputable':!0x0,'value':_0x1d569['done']/_0x1d569['total']}));break;case _0x180518['Success']:_0x422220(),_0x2da88e&&_0x2da88e({'isComputable':!0x0,'value':_0x1d569['done']/_0x1d569['total']}),_0x49dacc(_0x1d569);break;case _0x180518['Error']:_0x422220(),_0xf26053(new _0x52086c(_0x1d569['msg'],_0x1d569['error_code']));}});}))({'token':_0x2293cd['token'],'pusherKey':_0x1f8ec6,'signal':_0xdf45a0,'onProgress':_0x13d705})],{'signal':_0x1cd554}))['then'](_0x37a28c=>{if(_0x37a28c instanceof _0x52086c)throw _0x37a28c;return _0x37a28c;})['then'](_0x123128=>_0x187405(_0x123128['uuid'],{'publicKey':_0x2b2287,'baseURL':_0x342094,'integration':_0x3645cf,'userAgent':_0x3cc975,'retryThrottledRequestMaxTimes':_0xa5ca72,'onProgress':_0x13d705,'signal':_0x1cd554}))['then'](_0x20c80f=>new _0x306bb0(_0x20c80f,{'baseCDN':_0x521383}));var _0x370789;},_0x33a389=new WeakMap(),_0x257828=async _0x3ef49a=>{if(_0xfb6e29(_0x3ef49a)||_0x46283f(_0x3ef49a))return _0x3ef49a['size'];if(_0x2e8430(_0x3ef49a))return(await(async _0x59429c=>{if(_0x33a389['has'](_0x59429c))return _0x33a389['get'](_0x59429c);const _0x30c617=await fetch(_0x59429c['uri'])['then'](_0x25e3ce=>_0x25e3ce['blob']());return _0x33a389['set'](_0x59429c,_0x30c617),_0x30c617;})(_0x3ef49a))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x3a666a=_0x2bcdd5=>{const _0x480458=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x52014c(_0x2bcdd5)&&_0x480458['test'](_0x2bcdd5);},_0x31dbb7=_0x5ea15d=>{const _0x242172=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x52014c(_0x5ea15d)&&_0x242172['test'](_0x5ea15d);},_0x1eb83b=async(_0x356ee0,_0x2d268,_0x134bcc)=>_0x25384e=>((_0x581bb7,_0x5dde4f,_0x203a7c,_0x49bc1d)=>{const _0x4ee709=_0x49bc1d*_0x5dde4f,_0x366bc9=Math['min'](_0x4ee709+_0x49bc1d,_0x203a7c);return _0x581bb7['slice'](_0x4ee709,_0x366bc9);})(_0x356ee0,_0x25384e,_0x2d268,_0x134bcc),_0x13a65e=(_0x1f2ba5,_0x45bad7,{publicKey:_0x4e4f6b,contentType:_0x3e65eb,onProgress:_0x7c0b68,signal:_0x282cd4,integration:_0x8ce19c,retryThrottledRequestMaxTimes:_0x4156a1,retryNetworkErrorMaxTimes:_0x5ea682})=>function(_0x273253,_0x356fb2,{contentType:_0x52e213,signal:_0x23340a,onProgress:_0x5e190a,retryThrottledRequestMaxTimes:_0x3b81f0=_0x201f67,retryNetworkErrorMaxTimes:_0x42beac=_0x4b8ddc}){return _0x42ffbf(()=>_0x31f6eb({'method':'PUT','url':_0x356fb2,'data':_0x273253,'onProgress':_0x5e190a,'signal':_0x23340a,'headers':{'Content-Type':_0x52e213||_0x3d781f}})['then'](_0x466cbd=>(_0x5e190a&&_0x5e190a({'isComputable':!0x0,'value':0x1}),_0x466cbd))['then'](({status:_0x53dd05})=>({'code':_0x53dd05})),{'retryThrottledRequestMaxTimes':_0x3b81f0,'retryNetworkErrorMaxTimes':_0x42beac});}(_0x1f2ba5,_0x45bad7,{'contentType':_0x3e65eb,'onProgress':_0x7c0b68,'signal':_0x282cd4,'retryThrottledRequestMaxTimes':_0x4156a1,'retryNetworkErrorMaxTimes':_0x5ea682}),_0x3f10aa=async(_0x1d4564,{publicKey:_0x319449,fileName:_0x245892,fileSize:_0x133867,baseURL:_0x2ccb2b,secureSignature:_0x21db9c,secureExpire:_0x49c536,store:_0x27de38,signal:_0x2e5f09,onProgress:_0x4df838,source:_0x34b3e1,integration:_0x50f75e,userAgent:_0x37561b,retryThrottledRequestMaxTimes:_0x43104a,retryNetworkErrorMaxTimes:_0x299ced,contentType:_0xe1ccc8,multipartChunkSize:_0x445820=_0x55ce6b,maxConcurrentRequests:_0x5e60fb=_0x55de41,baseCDN:_0x56ac0b,metadata:_0x2483c5})=>{const _0x11679b=_0x133867??await _0x257828(_0x1d4564);let _0x6a7dbb;const _0x49a502=(_0x5d92f5,_0x306c13)=>{if(!_0x4df838)return;_0x6a7dbb||(_0x6a7dbb=Array(_0x5d92f5)['fill'](0x0));const _0x25deab=_0x1c9896=>_0x1c9896['reduce']((_0x400f66,_0x314889)=>_0x400f66+_0x314889,0x0);return _0x26a321=>{_0x26a321['isComputable']&&(_0x6a7dbb[_0x306c13]=_0x26a321['value'],_0x4df838({'isComputable':!0x0,'value':_0x25deab(_0x6a7dbb)/_0x5d92f5}));};};return _0xe1ccc8||=_0x6f2abb(_0x1d4564),function(_0x36aed3,{publicKey:_0x4638a9,contentType:_0x2da86a,fileName:_0x506eb7,multipartChunkSize:_0x32df10=_0x55ce6b,baseURL:_0x2c1ccf='',secureSignature:_0x3425ee,secureExpire:_0x1a35a8,store:_0x17904b,signal:_0x378462,source:_0x539d30='local',integration:_0xc8a2fe,userAgent:_0x39572e,retryThrottledRequestMaxTimes:_0x3f710b=_0x201f67,retryNetworkErrorMaxTimes:_0xf5457d=_0x4b8ddc,metadata:_0x271471}){return _0x42ffbf(()=>_0x31f6eb({'method':'POST','url':_0x2da658(_0x2c1ccf,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x4638a9,'integration':_0xc8a2fe,'userAgent':_0x39572e})},'data':_0x4ee11e({'filename':_0x506eb7||_0x46c432,'size':_0x36aed3,'content_type':_0x2da86a||_0x3d781f,'part_size':_0x32df10,'UPLOADCARE_STORE':_0x439ed3(_0x17904b),'UPLOADCARE_PUB_KEY':_0x4638a9,'signature':_0x3425ee,'expire':_0x1a35a8,'source':_0x539d30,'metadata':_0x271471}),'signal':_0x378462})['then'](({data:_0x1fc3b1,headers:_0x38bd6e,request:_0x3bd271})=>{const _0x2a6ea2=_0x3e4495(JSON['parse'](_0x1fc3b1));if('error'in _0x2a6ea2)throw new _0x52086c(_0x2a6ea2['error']['content'],_0x2a6ea2['error']['errorCode'],_0x3bd271,_0x2a6ea2,_0x38bd6e);return _0x2a6ea2['parts']=Object['keys'](_0x2a6ea2['parts'])['map'](_0x6de23f=>_0x2a6ea2['parts'][Number(_0x6de23f)]),_0x2a6ea2;}),{'retryThrottledRequestMaxTimes':_0x3f710b,'retryNetworkErrorMaxTimes':_0xf5457d});}(_0x11679b,{'publicKey':_0x319449,'contentType':_0xe1ccc8,'fileName':_0x245892||_0x5cd2d3(_0x1d4564),'baseURL':_0x2ccb2b,'secureSignature':_0x21db9c,'secureExpire':_0x49c536,'store':_0x27de38,'signal':_0x2e5f09,'source':_0x34b3e1,'integration':_0x50f75e,'userAgent':_0x37561b,'retryThrottledRequestMaxTimes':_0x43104a,'retryNetworkErrorMaxTimes':_0x299ced,'metadata':_0x2483c5,'multipartChunkSize':_0x445820})['then'](async({uuid:_0x175007,parts:_0x5d7c40})=>{const _0x295e61=await _0x1eb83b(_0x1d4564,_0x11679b,_0x445820);return Promise['all']([_0x175007,(_0x3a1587=_0x5e60fb,_0x3aada8=_0x5d7c40['map']((_0x116416,_0x46f3d9)=>()=>_0x13a65e(_0x295e61(_0x46f3d9),_0x116416,{'publicKey':_0x319449,'contentType':_0xe1ccc8,'onProgress':_0x49a502(_0x5d7c40['length'],_0x46f3d9),'signal':_0x2e5f09,'integration':_0x50f75e,'retryThrottledRequestMaxTimes':_0x43104a,'retryNetworkErrorMaxTimes':_0x299ced})),new Promise((_0x2f7f2c,_0x5cf606)=>{const _0xfd7c1f=[];let _0x1639f2=!0x1,_0x47f753=_0x3aada8['length'];const _0x13adec=[..._0x3aada8],_0x2d0f8d=()=>{const _0x18d0f3=_0x3aada8['length']-_0x13adec['length'],_0x5584b3=_0x13adec['shift']();_0x5584b3&&_0x5584b3()['then'](_0x24ef3a=>{_0x1639f2||(_0xfd7c1f[_0x18d0f3]=_0x24ef3a,_0x47f753-=0x1,_0x47f753?_0x2d0f8d():_0x2f7f2c(_0xfd7c1f));})['catch'](_0x48a556=>{_0x1639f2=!0x0,_0x5cf606(_0x48a556);});};for(let _0x278316=0x0;_0x278316<_0x3a1587;_0x278316++)_0x2d0f8d();}))]);var _0x3a1587,_0x3aada8;})['then'](([_0x43fbd6])=>function(_0x59e700,{publicKey:_0x44d43c,baseURL:_0x5abb6c=_0x161615,source:_0x1926d8='local',signal:_0x9adbc5,integration:_0x50999c,userAgent:_0x1ba1d6,retryThrottledRequestMaxTimes:_0x1112e0=_0x201f67,retryNetworkErrorMaxTimes:_0x5af95c=_0x4b8ddc}){return _0x42ffbf(()=>_0x31f6eb({'method':'POST','url':_0x2da658(_0x5abb6c,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x44d43c,'integration':_0x50999c,'userAgent':_0x1ba1d6})},'data':_0x4ee11e({'uuid':_0x59e700,'UPLOADCARE_PUB_KEY':_0x44d43c,'source':_0x1926d8}),'signal':_0x9adbc5})['then'](({data:_0x4cc65a,headers:_0x26b97b,request:_0x403fc0})=>{const _0x185c5e=_0x3e4495(JSON['parse'](_0x4cc65a));if('error'in _0x185c5e)throw new _0x52086c(_0x185c5e['error']['content'],_0x185c5e['error']['errorCode'],_0x403fc0,_0x185c5e,_0x26b97b);return _0x185c5e;}),{'retryThrottledRequestMaxTimes':_0x1112e0,'retryNetworkErrorMaxTimes':_0x5af95c});}(_0x43fbd6,{'publicKey':_0x319449,'baseURL':_0x2ccb2b,'source':_0x34b3e1,'integration':_0x50f75e,'userAgent':_0x37561b,'retryThrottledRequestMaxTimes':_0x43104a,'retryNetworkErrorMaxTimes':_0x299ced}))['then'](_0x2640a2=>_0x2640a2['isReady']?_0x2640a2:_0x187405(_0x2640a2['uuid'],{'publicKey':_0x319449,'baseURL':_0x2ccb2b,'source':_0x34b3e1,'integration':_0x50f75e,'userAgent':_0x37561b,'retryThrottledRequestMaxTimes':_0x43104a,'retryNetworkErrorMaxTimes':_0x299ced,'onProgress':_0x4df838,'signal':_0x2e5f09}))['then'](_0x5248f5=>new _0x306bb0(_0x5248f5,{'baseCDN':_0x56ac0b}));};async function _0x3cda08(_0x366aaa,{publicKey:_0x68cc6,fileName:_0x34e34f,baseURL:_0x44009e=_0x161615,secureSignature:_0x4b5242,secureExpire:_0x20bddd,store:_0x1d93be,signal:_0x219635,onProgress:_0x3be7bd,source:_0xad0186,integration:_0x1b0bb,userAgent:_0x303821,retryThrottledRequestMaxTimes:_0x23349e,retryNetworkErrorMaxTimes:_0x32830e,contentType:_0x24e706,multipartMinFileSize:_0x26243d,multipartChunkSize:_0x43022a,maxConcurrentRequests:_0x182ba6,baseCDN:_0x37718a=_0x3197ca,checkForUrlDuplicates:_0x48790e,saveUrlForRecurrentUploads:_0x11c78c,pusherKey:_0x71393e,metadata:_0xed4374}){if(_0x52014c(_0x366aaa)){const _0x323168=await _0x257828(_0x366aaa);return((_0x36f1ac,_0x3063d1=_0x2e3ef8)=>_0x36f1ac>=_0x3063d1)(_0x323168,_0x26243d)?_0x3f10aa(_0x366aaa,{'publicKey':_0x68cc6,'contentType':_0x24e706,'multipartChunkSize':_0x43022a,'fileSize':_0x323168,'fileName':_0x34e34f,'baseURL':_0x44009e,'secureSignature':_0x4b5242,'secureExpire':_0x20bddd,'store':_0x1d93be,'signal':_0x219635,'onProgress':_0x3be7bd,'source':_0xad0186,'integration':_0x1b0bb,'userAgent':_0x303821,'maxConcurrentRequests':_0x182ba6,'retryThrottledRequestMaxTimes':_0x23349e,'retryNetworkErrorMaxTimes':_0x32830e,'baseCDN':_0x37718a,'metadata':_0xed4374}):_0x3e1f4b(_0x366aaa,{'publicKey':_0x68cc6,'fileName':_0x34e34f,'contentType':_0x24e706,'baseURL':_0x44009e,'secureSignature':_0x4b5242,'secureExpire':_0x20bddd,'store':_0x1d93be,'signal':_0x219635,'onProgress':_0x3be7bd,'source':_0xad0186,'integration':_0x1b0bb,'userAgent':_0x303821,'retryThrottledRequestMaxTimes':_0x23349e,'retryNetworkErrorMaxTimes':_0x32830e,'baseCDN':_0x37718a,'metadata':_0xed4374});}if(_0x31dbb7(_0x366aaa))return _0x4d1957(_0x366aaa,{'publicKey':_0x68cc6,'fileName':_0x34e34f,'baseURL':_0x44009e,'baseCDN':_0x37718a,'checkForUrlDuplicates':_0x48790e,'saveUrlForRecurrentUploads':_0x11c78c,'secureSignature':_0x4b5242,'secureExpire':_0x20bddd,'store':_0x1d93be,'signal':_0x219635,'onProgress':_0x3be7bd,'source':_0xad0186,'integration':_0x1b0bb,'userAgent':_0x303821,'retryThrottledRequestMaxTimes':_0x23349e,'pusherKey':_0x71393e,'metadata':_0xed4374});if(_0x3a666a(_0x366aaa))return((_0x57d2e9,{publicKey:_0x1185a3,fileName:_0x5f2753,baseURL:_0x51df43,signal:_0x3a90a8,onProgress:_0x1e8c28,source:_0x2a1ebc,integration:_0x39943a,userAgent:_0x3e5690,retryThrottledRequestMaxTimes:_0x32bceb,retryNetworkErrorMaxTimes:_0x2188fe,baseCDN:_0x143de7})=>_0xf131b6(_0x57d2e9,{'publicKey':_0x1185a3,'baseURL':_0x51df43,'signal':_0x3a90a8,'source':_0x2a1ebc,'integration':_0x39943a,'userAgent':_0x3e5690,'retryThrottledRequestMaxTimes':_0x32bceb,'retryNetworkErrorMaxTimes':_0x2188fe})['then'](_0x2c7682=>new _0x306bb0(_0x2c7682,{'baseCDN':_0x143de7,'fileName':_0x5f2753}))['then'](_0x3df9fd=>(_0x1e8c28&&_0x1e8c28({'isComputable':!0x0,'value':0x1}),_0x3df9fd)))(_0x366aaa,{'publicKey':_0x68cc6,'fileName':_0x34e34f,'baseURL':_0x44009e,'signal':_0x219635,'onProgress':_0x3be7bd,'source':_0xad0186,'integration':_0x1b0bb,'userAgent':_0x303821,'retryThrottledRequestMaxTimes':_0x23349e,'retryNetworkErrorMaxTimes':_0x32830e,'baseCDN':_0x37718a});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x366aaa+'\x22\x20is\x20not\x20supported');}class _0x47ee99{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0xa589ed,{baseCDN:_0xc23f5e=_0x3197ca}={}){this['uuid']=_0xa589ed['id'],this['filesCount']=_0xa589ed['filesCount'];const _0x53759f=_0xa589ed['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x53759f)['reduce']((_0x44e76f,_0x903c51)=>_0x44e76f+_0x903c51['size'],0x0),this['isStored']=!!_0xa589ed['datetimeStored'],this['isImage']=!!Object['values'](_0x53759f)['filter'](_0xce0b8b=>_0xce0b8b['isImage'])['length'],this['cdnUrl']=_0xa589ed['cdnUrl'],this['files']=_0x53759f['map'](_0x2cad44=>new _0x306bb0(_0x2cad44,{'baseCDN':_0xc23f5e})),this['createdAt']=_0xa589ed['datetimeCreated'],this['storedAt']=_0xa589ed['datetimeStored'];}}function _0x5adddc(_0x475c12,{publicKey:_0x54adaa,fileName:_0x241b52,baseURL:_0x3f0e62=_0x161615,secureSignature:_0x296803,secureExpire:_0x1b9c0e,store:_0x45a0b6,signal:_0x4abd30,onProgress:_0x39361d,source:_0x12b7a4,integration:_0x2926e2,userAgent:_0x46c11c,retryThrottledRequestMaxTimes:_0x898862,retryNetworkErrorMaxTimes:_0x1723b0,contentType:_0x5c15,multipartChunkSize:_0x3721ec=_0x55ce6b,baseCDN:_0x553838=_0x3197ca,checkForUrlDuplicates:_0x2d3780,saveUrlForRecurrentUploads:_0x2ff74f,jsonpCallback:_0x43213a}){if(!(_0x21a80e=>{for(const _0x56d6ca of _0x21a80e)if(!_0x52014c(_0x56d6ca))return!0x1;return!0x0;})(_0x475c12)&&!(_0x54de95=>{for(const _0x3e3b7c of _0x54de95)if(!_0x31dbb7(_0x3e3b7c))return!0x1;return!0x0;})(_0x475c12)&&!(_0x384ccc=>{for(const _0x41f8fd of _0x384ccc)if(!_0x3a666a(_0x41f8fd))return!0x1;return!0x0;})(_0x475c12))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x475c12+'\x22\x20is\x20not\x20supported');let _0x18ff6a,_0x5810ef=!0x0;const _0x30deb5=_0x475c12['length'],_0x28f396=(_0x5a8e6c,_0x1c81f9)=>{if(!_0x39361d)return;_0x18ff6a||(_0x18ff6a=Array(_0x5a8e6c)['fill'](0x0));const _0x185ded=_0x244d96=>_0x244d96['reduce']((_0x1fea57,_0x216999)=>_0x1fea57+_0x216999)/_0x5a8e6c;return _0x2e9b6b=>{if(!_0x2e9b6b['isComputable']||!_0x5810ef)return _0x5810ef=!0x1,void _0x39361d({'isComputable':!0x1});_0x18ff6a[_0x1c81f9]=_0x2e9b6b['value'],_0x39361d({'isComputable':!0x0,'value':_0x185ded(_0x18ff6a)});};};return Promise['all'](_0x475c12['map']((_0x226cf1,_0x14a674)=>_0x52014c(_0x226cf1)||_0x31dbb7(_0x226cf1)?_0x3cda08(_0x226cf1,{'publicKey':_0x54adaa,'fileName':_0x241b52,'baseURL':_0x3f0e62,'secureSignature':_0x296803,'secureExpire':_0x1b9c0e,'store':_0x45a0b6,'signal':_0x4abd30,'onProgress':_0x28f396(_0x30deb5,_0x14a674),'source':_0x12b7a4,'integration':_0x2926e2,'userAgent':_0x46c11c,'retryThrottledRequestMaxTimes':_0x898862,'retryNetworkErrorMaxTimes':_0x1723b0,'contentType':_0x5c15,'multipartChunkSize':_0x3721ec,'baseCDN':_0x553838,'checkForUrlDuplicates':_0x2d3780,'saveUrlForRecurrentUploads':_0x2ff74f})['then'](_0x57067a=>_0x57067a['uuid']):_0x226cf1))['then'](_0x1217f3=>function(_0x20e13e,{publicKey:_0x586d0f,baseURL:_0x25662c=_0x161615,jsonpCallback:_0x371f61,secureSignature:_0x17d9c4,secureExpire:_0x42cb9c,signal:_0x7fdf0e,source:_0x5ec75d,integration:_0x70290,userAgent:_0x152b00,retryThrottledRequestMaxTimes:_0x69e787=_0x201f67,retryNetworkErrorMaxTimes:_0x234d23=_0x4b8ddc}){return _0x42ffbf(()=>_0x31f6eb({'method':'POST','headers':{'X-UC-User-Agent':_0x4ce25c({'publicKey':_0x586d0f,'integration':_0x70290,'userAgent':_0x152b00})},'url':_0x2da658(_0x25662c,'/group/',{'jsonerrors':0x1}),'data':_0x4ee11e({'files':_0x20e13e,'callback':_0x371f61,'pub_key':_0x586d0f,'signature':_0x17d9c4,'expire':_0x42cb9c,'source':_0x5ec75d}),'signal':_0x7fdf0e})['then'](({data:_0x204764,headers:_0x473518,request:_0x35acab})=>{const _0x567f0c=_0x3e4495(JSON['parse'](_0x204764));if('error'in _0x567f0c)throw new _0x52086c(_0x567f0c['error']['content'],_0x567f0c['error']['errorCode'],_0x35acab,_0x567f0c,_0x473518);return _0x567f0c;}),{'retryNetworkErrorMaxTimes':_0x234d23,'retryThrottledRequestMaxTimes':_0x69e787});}(_0x1217f3,{'publicKey':_0x54adaa,'baseURL':_0x3f0e62,'jsonpCallback':_0x43213a,'secureSignature':_0x296803,'secureExpire':_0x1b9c0e,'signal':_0x4abd30,'source':_0x12b7a4,'integration':_0x2926e2,'userAgent':_0x46c11c,'retryThrottledRequestMaxTimes':_0x898862,'retryNetworkErrorMaxTimes':_0x1723b0})['then'](_0x1ee096=>new _0x47ee99(_0x1ee096,{'baseCDN':_0x553838}))['then'](_0x302875=>(_0x39361d&&_0x39361d({'isComputable':!0x0,'value':0x1}),_0x302875)));}class _0x18ad93{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x794ba3){this['_concurrency']=_0x794ba3;}['run'](){const _0x15966f=this['_concurrency']-this['_running'];for(let _0x2dc618=0x0;_0x2dc618<_0x15966f;_0x2dc618++){const _0x5956f3=this['_pending']['shift']();if(!_0x5956f3)return;const _0x11d7bb=this['_resolvers']['get'](_0x5956f3),_0x4b9a91=this['_rejectors']['get'](_0x5956f3);if(!_0x11d7bb||!_0x4b9a91)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x5956f3()['finally'](()=>{this['_resolvers']['delete'](_0x5956f3),this['_rejectors']['delete'](_0x5956f3),this['_running']-=0x1,this['run']();})['then'](_0x41d4c1=>_0x11d7bb(_0x41d4c1))['catch'](_0x160f11=>_0x4b9a91(_0x160f11));}}['add'](_0x10f9ca,{autoRun:_0x2a1935}={'autoRun':!0x0}){return new Promise((_0x403dcb,_0x43f256)=>{this['_resolvers']['set'](_0x10f9ca,_0x403dcb),this['_rejectors']['set'](_0x10f9ca,_0x43f256),this['_pending']['push'](_0x10f9ca),_0x2a1935&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x20b403){this['_concurrency']=_0x20b403,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x3e0ac8={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x456313(_0x57efe3,_0x5e56c5){_0x5e56c5['tabIndex']=0x0,_0x5e56c5['focus'](),_0x57efe3['tabIndex']=-0x1;}function _0x584f94(_0x38fc30){let _0x1243f6=_0x38fc30['role']||_0x38fc30['type']||_0x38fc30['tagName'];if(!_0x1243f6)return null;let _0x547725=_0x3e0ac8[_0x1243f6['toLowerCase']()];if(!_0x547725)return null;for(let _0x4b472f of _0x547725){let _0x35066c=_0x38fc30['closest']('[role='+_0x4b472f+']');if(_0x35066c)return _0x35066c;}}function _0x3e3a8c(_0xf4c1c6,_0x5c9dcb){return'toolbar'===_0x5c9dcb['role']?function(_0x4bac33){let _0x2834ad=[..._0x4bac33['querySelectorAll']('*')];return _0x2834ad['filter'](_0x3d57c0=>'button'===_0x3d57c0['role']||'button'===_0x3d57c0['type']||'checkbox'===_0x3d57c0['role']||'checkbox'===_0x3d57c0['type']);}(_0x5c9dcb):_0x5c9dcb['querySelectorAll']('[role='+_0xf4c1c6['role']+']');}function _0x32814f(){return _0x33ad15=>{let _0x42d4d1=[];function _0x56a350(){let _0x28f2f2=_0x42d4d1['pop']();if(!_0x28f2f2)return void _0x33ad15['document']['activeElement']['blur']();let _0x4b15ae=_0x28f2f2['deref']();_0x4b15ae&&_0x4b15ae['isConnected']?_0x4b15ae['focus']():_0x56a350();}let _0x5b6cc2,_0x44b4da=0x0;function _0x2f6b50(_0x389320){clearInterval(_0x5b6cc2);let _0x567679=_0x389320['getAttribute']('aria-controls');_0x5b6cc2=setInterval(()=>{if(_0x44b4da++>0x32)return void clearInterval(_0x5b6cc2);let _0x457a61=_0x33ad15['document']['getElementById'](_0x567679);if(_0x457a61){let _0x1b16b8=_0x457a61['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x1b16b8&&(clearInterval(_0x5b6cc2),_0x457a61['dispatchEvent'](new _0x33ad15['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x21d132){let _0x27a967=_0x33ad15['document']['activeElement'];_0x27a967&&_0x27a967!==_0x33ad15['document']['body']&&_0x42d4d1['push'](new WeakRef(_0x27a967)),_0x21d132['focus']({'focusVisible':!0x0});}(_0x1b16b8));}},0x32);}function _0x259d9b(_0xf14636){_0xf14636['target']['getAttribute']('aria-controls')&&'Enter'===_0xf14636['key']&&_0x2f6b50(_0xf14636['target']),'Escape'===_0xf14636['key']&&_0x56a350();}return _0x33ad15['addEventListener']('keydown',_0x259d9b),()=>{_0x33ad15['removeEventListener']('keydown',_0x259d9b);};};}function _0x58999a(_0xb26d6a){let _0x99596b,_0x4c8e0e,_0x5de52c=_0xb26d6a['split']('\x20');function _0x57cf47(_0x3ff9ba){'Enter'!==_0x3ff9ba['key']||'BUTTON'!==_0x3ff9ba['target']['tagName']&&'A'!==_0x3ff9ba['target']['tagName']||(_0x49b958(),_0x3ff9ba['target']['classList']['add'](..._0x5de52c),_0x99596b=_0x3ff9ba['target'],_0x4c8e0e=_0x3ff9ba['target']);}function _0x49b958(){_0x99596b&&_0x99596b['classList']['remove'](..._0x5de52c),_0x4c8e0e=null;}function _0x197e84(_0x3c2bcf){0x0===_0x3c2bcf['clientX']&&0x0===_0x3c2bcf['clientY']&&_0x4c8e0e!==_0x3c2bcf['target']&&(_0x49b958(),_0x3c2bcf['target']['classList']['add'](..._0x5de52c),_0x99596b=_0x3c2bcf['target']);}return _0x513141=>(_0x513141['addEventListener']('click',_0x197e84),_0x513141['addEventListener']('keydown',_0x57cf47),_0x513141['addEventListener']('keyup',_0x49b958),()=>{_0x513141['removeEventListener']('click',_0x197e84),_0x513141['removeEventListener']('keydown',_0x57cf47),_0x513141['removeEventListener']('keyup',_0x49b958);});}function _0x290497(_0x5024fe){return Array['isArray'](_0x5024fe)?_0x5024fe['map'](_0x5c33a6=>'object'==typeof _0x5c33a6&&null!==_0x5c33a6?_0x290497(_0x5c33a6):_0x5c33a6):'object'!=typeof _0x5024fe||null===_0x5024fe?_0x5024fe:Object['fromEntries'](Object['entries'](_0x5024fe)['map'](([_0x4c6de9,_0xc9eb04])=>{const t=function(_0x118c10){return _0x118c10['replace'](/[A-Z]/g,_0x30acc6=>'_'+_0x30acc6['toLowerCase']())['replace'](/__/g,'_');}(_0x4c6de9);return'object'==typeof _0xc9eb04&&null!==_0xc9eb04?[t,_0x290497(_0xc9eb04)]:[t,_0xc9eb04];}));}function _0x73b7bc(_0x2e043c){return{'ok':!0x1,'error':_0x2e043c};}class _0x3a3b22{constructor(_0x1721d6='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x1721d6;}async['base'](_0xe25dfd,_0x1339f0={}){const t=''+this['baseUrl']+_0xe25dfd;try{const _0x2aee6c=await fetch(t,_0x1339f0);if(!_0x2aee6c['ok'])return _0x73b7bc(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0x2aee6c['status']['toString']()));try{const _0xe232e1=await _0x2aee6c['json']();return{'ok':!0x0,'value':_0xe232e1};}catch(_0x3b37f4){return _0x73b7bc(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x3b37f4));}}catch(_0x456e96){return _0x73b7bc(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x456e96));}}async['post'](_0x56dc49,_0x52f0bb,t={}){return await this['base'](_0x56dc49,{...t,'method':'POST','body':JSON['stringify'](_0x290497(_0x52f0bb)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x1dfb3b,_0x2049d4={}){return await this['base'](_0x1dfb3b,{'method':'GET',..._0x2049d4});}}class _0x20edd3 extends _0x3a3b22{constructor(){super();}async['sendEvent'](_0x1d219c,_0x565255){const t=await(async(_0x36822d,_0x2e4b9d)=>({'success':!0x0,'data':_0x2e4b9d}))(0x0,_0x1d219c);if(!t['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',t['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x1d219c,_0x565255);}}const _0x243a7a=_0x17506d=>{if(_0x17506d<=0x0n)return'0';let _0x45feed='';for(;_0x17506d>0x0n;){_0x45feed='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x17506d%0x24n)]+_0x45feed,_0x17506d/=0x24n;}return _0x45feed;},_0x12d2a0=async _0x51ee99=>{const _0x34323b=await(async _0x500755=>{const _0x1a2e1f=new TextEncoder()['encode'](_0x500755),t=await window['crypto']['subtle']['digest']('SHA-256',_0x1a2e1f),_0x3f9155=Array['from'](new Uint8Array(t))['map'](_0x28811d=>_0x28811d['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x3f9155);})(_0x51ee99);return _0x243a7a(_0x34323b)['slice'](0x0,0xa);},_0x35a62b=async(_0x117344,_0x1e037f)=>((_0x413d54,_0xa75c14)=>{const _0x1ba420=new URL(_0xa75c14);return _0x1ba420['hostname']=_0x413d54+'.'+_0x1ba420['hostname'],_0x1ba420['toString']()['replace'](/\/$/,'');})(await _0x12d2a0(_0x117344),_0x1e037f),_0x1b2293=()=>{const _0x514011=[];return{'stack':_0x514011,'promiseReadJpegChunks':_0x46fe2c=>new Promise((_0x2b1104,_0x46105a)=>{let _0xabde70=0x2;const _0x59a85c=(_0x2108f1,_0x42e548)=>{const _0x2f882a=new FileReader();_0x2f882a['addEventListener']('load',()=>{_0x42e548(new DataView(_0x2f882a['result']));}),_0x2f882a['addEventListener']('error',_0x244777=>{_0x46105a('Reader\x20error:\x20'+_0x244777);}),_0x2f882a['readAsArrayBuffer'](_0x2108f1);},_0x37745c=()=>_0x59a85c(_0x46fe2c['slice'](_0xabde70,_0xabde70+0x80),_0x1eb354=>{let _0x301c0d,_0x30f292,_0x2ebc5d;for(_0x301c0d=_0x30f292=0x0,_0x2ebc5d=_0x1eb354['byteLength'];_0x2ebc5d>=0x0?_0x30f292<_0x2ebc5d:_0x30f292>_0x2ebc5d;_0x301c0d=_0x2ebc5d>=0x0?++_0x30f292:--_0x30f292)if(0xff===_0x1eb354['getUint8'](_0x301c0d)){_0xabde70+=_0x301c0d;break;}_0x257ed1();}),_0x257ed1=()=>{const _0x57b711=_0xabde70;return _0x59a85c(_0x46fe2c['slice'](_0xabde70,_0xabde70+=0x4),_0x1b0008=>{if(0x4!==_0x1b0008['byteLength']||0xff!==_0x1b0008['getUint8'](0x0))return void _0x46105a('Corrupted');const _0xb3be24=_0x1b0008['getUint8'](0x1);if(0xda===_0xb3be24)return void _0x2b1104(!0x0);const _0x30e859=_0x1b0008['getUint16'](0x2)-0x2;return _0x59a85c(_0x46fe2c['slice'](_0xabde70,_0xabde70+=_0x30e859),_0x5c6950=>{_0x5c6950['byteLength']===_0x30e859?(_0x514011['push']({'startPos':_0x57b711,'length':_0x30e859,'marker':_0xb3be24,'view':_0x5c6950}),_0x37745c()):_0x46105a('Corrupted');});});};FileReader&&DataView||_0x46105a('Not\x20Support'),_0x59a85c(_0x46fe2c['slice'](0x0,0x2),_0x219484=>{0xffd8!==_0x219484['getUint16'](0x0)&&_0x46105a('Not\x20jpeg'),_0x37745c();});})};},_0xea47cc=async _0x3e57c1=>{const _0x4be5ec=[],{promiseReadJpegChunks:_0x41212a,stack:_0x4ce6c0}=_0x1b2293();return await _0x41212a(_0x3e57c1),_0x4ce6c0['forEach'](({marker:_0x48f928,view:_0xfe1a3f})=>{0xe2===_0x48f928&&0x4943435f===_0xfe1a3f['getUint32'](0x0)&&0x50524f46===_0xfe1a3f['getUint32'](0x4)&&0x494c4500===_0xfe1a3f['getUint32'](0x8)&&_0x4be5ec['push'](_0xfe1a3f);}),_0x4be5ec;},_0xed4d29=async(_0x3244b5,_0x38a7ef,_0x4368bf)=>{{const _0x21910a=[],_0x4c0985=[],{promiseReadJpegChunks:_0x350d25,stack:_0x4e6a9a}=_0x1b2293();await _0x350d25(_0x3244b5),_0x4e6a9a['forEach'](_0xc34d3b=>{if(_0xc34d3b['marker']===_0x38a7ef)return _0x21910a['push'](_0xc34d3b['startPos']),_0x4c0985['push'](_0xc34d3b['length']);});const _0x5ebb52=[_0x3244b5['slice'](0x0,0x2)];for(const _0x26d6a6 of _0x4368bf){const _0x106ab0=new DataView(new ArrayBuffer(0x4));_0x106ab0['setUint16'](0x0,0xff00+_0x38a7ef),_0x106ab0['setUint16'](0x2,_0x26d6a6['byteLength']+0x2),_0x5ebb52['push'](_0x106ab0['buffer']),_0x5ebb52['push'](_0x26d6a6);}let _0x4dcd38=0x2;for(let _0x14d0ab=0x0;_0x14d0ab<_0x21910a['length'];_0x14d0ab++)_0x21910a[_0x14d0ab]>_0x4dcd38&&_0x5ebb52['push'](_0x3244b5['slice'](_0x4dcd38,_0x21910a[_0x14d0ab])),_0x4dcd38=_0x21910a[_0x14d0ab]+_0x4c0985[_0x14d0ab]+0x4;return _0x5ebb52['push'](_0x3244b5['slice'](_0x4dcd38,_0x3244b5['size'])),new Blob(_0x5ebb52,{'type':_0x3244b5['type']});}},_0x4af63f=(_0x4fdbfc,_0x2cd990)=>_0xed4d29(_0x4fdbfc,0xe2,_0x2cd990['map'](_0x4c1510=>_0x4c1510['buffer'])),_0xed760c=()=>{const _0x329ab4=document['createElement']('canvas'),_0x106c96=_0x329ab4['getContext']('2d');return{'canvas':_0x329ab4,'ctx':_0x106c96};},_0x4530b7=async _0x1f407c=>{let _0x36c410=null;const {promiseReadJpegChunks:_0x5de920,stack:_0x1c921d}=_0x1b2293();return await _0x5de920(_0x1f407c),_0x1c921d['forEach'](({marker:_0x53b511,view:_0x1a3520})=>{!_0x36c410&&0xe1===_0x53b511&&_0x1a3520['byteLength']>=0xe&&0x45786966===_0x1a3520['getUint32'](0x0)&&0x0===_0x1a3520['getUint16'](0x4)&&(_0x36c410=_0x1a3520);}),_0x36c410;};let _0x2dfcab;const _0x57c451=_0x861e54=>((_0x1a2fd2,_0x4450f4)=>new Promise((_0x15e271,_0x5512b8)=>{_0x4450f4&&(_0x1a2fd2['src']=_0x4450f4),_0x1a2fd2['complete']?_0x15e271(_0x1a2fd2):(_0x1a2fd2['addEventListener']('load',()=>{_0x15e271(_0x1a2fd2);}),_0x1a2fd2['addEventListener']('error',()=>{_0x5512b8(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x861e54),_0x5bead9=[0x1,0x3],_0x2cde5c=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x302538={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x3bec65=(_0x1ac812,_0x2cf4f8)=>{const _0x2bd05d={};return(..._0xb3ec5e)=>{const _0x5f2df9=_0x2cf4f8(_0xb3ec5e,_0x2bd05d);return _0x5f2df9 in _0x2bd05d?_0x2bd05d[_0x5f2df9]:_0x2bd05d[_0x5f2df9]=_0x1ac812(..._0xb3ec5e);};},_0x5c8f22=(_0x166ee0,_0x284a25)=>{const [_0x4eca07]=_0x166ee0,_0x1adacb=Object['keys'](_0x284a25)['map'](_0x201a1f=>parseInt(_0x201a1f,0xa))['sort']((_0xb0956e,_0x8f35d)=>_0xb0956e-_0x8f35d);for(let _0x3e5b97=0x0;_0x3e5b97<_0x1adacb['length'];_0x3e5b97++){const _0x1c9dc1=_0x1adacb[_0x3e5b97],_0x58c16b=!!_0x284a25[_0x1c9dc1];if(_0x1c9dc1>_0x4eca07&&_0x58c16b)return _0x1c9dc1;if(_0x1c9dc1<_0x4eca07&&!_0x58c16b)return _0x1c9dc1;}return _0x4eca07;},_0x4a3e5b=0x37,_0x315e46=0x6e,_0x3f400b=0xa5,_0x3cf0d1=0xff,_0x35d62b='rgba('+_0x4a3e5b+',\x20'+_0x315e46+',\x20'+_0x3f400b+',\x20'+_0x3cf0d1/0xff+')',_0x15b437=(_0x599a9e,_0x39ac6b)=>{try{const _0xd22d0a=[_0x599a9e-0x1,_0x39ac6b-0x1,0x1,0x1],{canvas:_0x59fa62,ctx:_0x559270}=_0xed760c();_0x59fa62['width']=0x1,_0x59fa62['height']=0x1;const {canvas:_0x494dcc,ctx:_0x1d0c8c}=_0xed760c();_0x494dcc['width']=_0x599a9e,_0x494dcc['height']=_0x39ac6b,_0x1d0c8c&&(_0x1d0c8c['fillStyle']=_0x35d62b,_0x1d0c8c['fillRect'](..._0xd22d0a),_0x559270['drawImage'](_0x494dcc,_0x599a9e-0x1,_0x39ac6b-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0xf53b29=_0x559270&&_0x559270['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x5ad67a=!0x1;return _0xf53b29&&(_0x5ad67a=_0xf53b29[0x0]===_0x4a3e5b&&_0xf53b29[0x1]===_0x315e46&&_0xf53b29[0x2]===_0x3f400b&&_0xf53b29[0x3]===_0x3cf0d1),_0x494dcc['width']=_0x494dcc['height']=0x1,_0x5ad67a;}catch(_0x255db9){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x599a9e+'x'+_0x39ac6b+'.'),!0x1;}};function _0x39ee95(_0x452e84){return(..._0x1d12c6)=>new Promise(_0x49af97=>{setTimeout(()=>{const _0x5601e4=_0x452e84(..._0x1d12c6);_0x49af97(_0x5601e4);},0x0);});}const _0x69a41f=_0x39ee95(_0x3bec65(_0x15b437,_0x5c8f22)),_0x40b052=_0x39ee95(_0x3bec65(_0x15b437,_0x5c8f22)),_0x419ee3=async(_0x2ad8a6,_0x16d7e8)=>{const _0x3d6d49=_0x302538['squareSide']['find'](_0x1d9541=>_0x1d9541*_0x1d9541>=_0x2ad8a6*_0x16d7e8),_0x55d7bc=_0x302538['dimension']['find'](_0x19c26e=>_0x19c26e>=_0x2ad8a6&&_0x19c26e>=_0x16d7e8);if(!_0x3d6d49||!_0x55d7bc)throw new Error('Not\x20supported');const [_0x1df358,_0xb8fd39]=await Promise['all']([_0x69a41f(_0x3d6d49,_0x3d6d49),_0x40b052(_0x55d7bc,0x1)]);if(_0x1df358&&_0xb8fd39)return!0x0;throw new Error('Not\x20supported');},_0x5598a0=async(_0xd59f13,_0x1019b0,_0xd3afa4)=>{try{const {ctx:_0x7acc6,canvas:_0x26a657}=_0xed760c();return _0x26a657['width']=_0x1019b0,_0x26a657['height']=_0xd3afa4,_0x7acc6['imageSmoothingQuality']='high',_0x7acc6['drawImage'](_0xd59f13,0x0,0x0,_0x1019b0,_0xd3afa4),_0xd59f13 instanceof HTMLImageElement&&(_0xd59f13['src']='//:0'),_0xd59f13 instanceof HTMLCanvasElement&&(_0xd59f13['width']=_0xd59f13['height']=0x1),_0x26a657;}catch(_0x1e5682){throw new Error('Canvas\x20resize\x20error',{'cause':_0x1e5682});}},_0x2b8d66=({img:_0x5757b6,sourceW:_0x554bae,targetW:_0x4ae75b,targetH:_0x50d0fb,step:_0x732fb1})=>{const _0x2fdd47=function({sourceW:_0x391ea0,targetW:_0xafe8a6,targetH:_0x44103c,step:_0x463af6}){const _0xb4d3c2=[];let _0x45823c=_0xafe8a6,_0x221daf=_0x44103c;do{_0xb4d3c2['push']([_0x45823c,_0x221daf]),_0x45823c=Math['round'](_0x45823c/_0x463af6),_0x221daf=Math['round'](_0x221daf/_0x463af6);}while(_0x45823c<_0x391ea0*_0x463af6);return _0xb4d3c2['reverse']();}({'sourceW':_0x554bae,'targetW':_0x4ae75b,'targetH':_0x50d0fb,'step':_0x732fb1});return _0x2fdd47['reduce']((_0x2904ec,[_0x563d06,_0x325ad1],_0x2b34ba)=>_0x2904ec['then'](_0x7497bf=>_0x419ee3(_0x563d06,_0x325ad1)['then'](()=>_0x5598a0(_0x7497bf,_0x563d06,_0x325ad1))['catch'](()=>{if(_0x2b34ba===_0x2fdd47['length']-0x1)throw new Error('Not\x20supported');return _0x7497bf;})),Promise['resolve'](_0x5757b6));},_0x5bdcee=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x2058ea=0.71,_0x5f41f9=(_0xa8238c,_0x182d6c)=>{if(_0xa8238c['width']*_0x2058ea*_0xa8238c['height']*_0x2058ea<_0x182d6c['size'])throw new Error('Not\x20required');const _0x558828=_0xa8238c['width'],_0x44d7c4=_0xa8238c['height'],_0x36263e=_0x558828/_0x44d7c4,_0x1d4f42=Math['floor'](Math['sqrt'](_0x182d6c['size']*_0x36263e)),_0x3598d4=Math['floor'](_0x182d6c['size']/Math['sqrt'](_0x182d6c['size']*_0x36263e));return _0x419ee3(_0x1d4f42,_0x3598d4)['then'](()=>{const {ctx:_0x5acf49}=_0xed760c();return'imageSmoothingQuality'in _0x5acf49&&!(/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']))&&!_0x5bdcee?(({img:_0x48179f,targetW:_0x3b9079,targetH:_0x864da0})=>_0x5598a0(_0x48179f,_0x3b9079,_0x864da0))({'img':_0xa8238c,'targetW':_0x1d4f42,'targetH':_0x3598d4}):_0x2b8d66({'img':_0xa8238c,'sourceW':_0x558828,'targetW':_0x1d4f42,'targetH':_0x3598d4,'step':_0x2058ea});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x318b80=async(_0x12d2db,_0x3ed6eb)=>{try{const _0x3df101=await(async _0x112720=>{let _0x4397aa=!0x1;const {promiseReadJpegChunks:_0xfad880,stack:_0x6cb6b4}=_0x1b2293();return await _0xfad880(_0x112720)['then'](()=>(_0x6cb6b4['forEach'](({marker:_0x57031e,view:_0x290222})=>{if(!_0x4397aa&&_0x2cde5c['indexOf'](_0x57031e)>=0x0){const _0x584a26=_0x290222['getUint8'](0x5);_0x5bead9['indexOf'](_0x584a26)<0x0&&(_0x4397aa=!0x0);}}),_0x4397aa))['catch'](()=>_0x4397aa);})(_0x12d2db);if(_0x3df101)throw new Error('Should\x20skipped');const _0x2499f0=await Promise['allSettled']([_0x4530b7(_0x12d2db),new Promise(_0x41cd84=>{if(void 0x0!==_0x2dfcab)_0x41cd84(_0x2dfcab);else{const _0x2011ee=new Image();_0x2011ee['addEventListener']('load',()=>{_0x2dfcab=_0x2011ee['naturalWidth']<_0x2011ee['naturalHeight'],_0x2011ee['src']='//:0',_0x41cd84(_0x2dfcab);}),_0x2011ee['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0xea47cc(_0x12d2db)]),_0x267c3e=!_0x2499f0['some'](_0x52e36b=>'rejected'===_0x52e36b['status']),[_0x2e79fe,_0x5b269c,_0x4d89e0]=_0x2499f0,_0x3173e4=await(async _0x382ff4=>{try{return await _0x4af63f(_0x382ff4,[]);}catch(_0x21666c){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x21666c);}})(_0x12d2db)['catch'](()=>_0x12d2db),_0x238d8a=await _0x57c451(URL['createObjectURL'](_0x3173e4));URL['revokeObjectURL'](_0x238d8a['src']);const _0x4aab59=await _0x5f41f9(_0x238d8a,_0x3ed6eb);let _0x4cac0b='image/jpeg',_0x399ca1=_0x3ed6eb?.['quality']||0.8;!_0x267c3e&&(_0x30f0df=>{const {ctx:_0x4a4b9e,canvas:_0x23ba55}=_0xed760c();_0x23ba55['width']=_0x23ba55['height']=0x32,_0x4a4b9e['drawImage'](_0x30f0df,0x0,0x0,0x32,0x32);const _0x43473f=_0x4a4b9e['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x23ba55['width']=_0x23ba55['height']=0x1;for(let _0x1eba4e=0x3;_0x1eba4e<_0x43473f['length'];_0x1eba4e+=0x4)if(_0x43473f[_0x1eba4e]<0xfe)return!0x0;return!0x1;})(_0x4aab59)&&(_0x4cac0b='image/png',_0x399ca1=void 0x0);let _0x5628fb=await((_0x2bd2e3,_0x4d8a0b,_0x381206)=>new Promise((_0x559500,_0x59bed4)=>{_0x2bd2e3['toBlob'](_0xd49673=>{_0xd49673?_0x559500(_0xd49673):_0x59bed4('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x4d8a0b,_0x381206),_0x2bd2e3['width']=_0x2bd2e3['height']=0x1;}))(_0x4aab59,_0x4cac0b,_0x399ca1);if(_0x267c3e&&'fulfilled'===_0x2e79fe['status']&&_0x2e79fe['value']){const _0x432aca=_0x2e79fe['value'],_0x4f9465='fulfilled'===_0x5b269c['status']&&_0x5b269c['value'];_0x5628fb=await(async(_0xa4f8b9,_0x4b2f40,_0x1c7858)=>(_0x1c7858&&((_0x5cff4a,_0x5be8da)=>{((_0xd21f7a,_0x453bb8)=>{let _0x452cea,_0x2758f8,_0xaf7f4c,_0x1b8d49;if(_0xd21f7a&&!(_0xd21f7a['byteLength']<0xe)&&0x45786966===_0xd21f7a['getUint32'](0x0)&&0x0===_0xd21f7a['getUint16'](0x4)){if(0x4949===_0xd21f7a['getUint16'](0x6))_0x2758f8=!0x0;else{if(0x4d4d!==_0xd21f7a['getUint16'](0x6))return;_0x2758f8=!0x1;}if(0x2a===_0xd21f7a['getUint16'](0x8,_0x2758f8))for(_0xaf7f4c=0x8+_0xd21f7a['getUint32'](0xa,_0x2758f8),_0x452cea=0x0,_0x1b8d49=_0xd21f7a['getUint16'](_0xaf7f4c-0x2,_0x2758f8);_0x1b8d49>=0x0?_0x452cea<_0x1b8d49:_0x452cea>_0x1b8d49;_0x1b8d49>=0x0?++_0x452cea:--_0x452cea){if(_0xd21f7a['byteLength']<_0xaf7f4c+0xa)return;0x112===_0xd21f7a['getUint16'](_0xaf7f4c,_0x2758f8)&&_0x453bb8(_0xaf7f4c+0x8,_0x2758f8),_0xaf7f4c+=0xc;}}})(_0x5cff4a,(_0x5270cd,_0x3221be)=>_0x5cff4a['setUint16'](_0x5270cd,_0x5be8da,_0x3221be));})(_0x4b2f40,0x1),_0xed4d29(_0xa4f8b9,0xe1,[_0x4b2f40['buffer']])))(_0x5628fb,_0x432aca,_0x4f9465);}return _0x267c3e&&'fulfilled'===_0x4d89e0['status']&&_0x4d89e0['value']['length']>0x0&&(_0x5628fb=await _0x4af63f(_0x5628fb,_0x4d89e0['value'])),_0x5628fb;}catch(_0x2ec0b5){let _0x189615;throw _0x2ec0b5 instanceof Error&&(_0x189615=_0x2ec0b5['message']),'string'==typeof _0x2ec0b5&&(_0x189615=_0x2ec0b5),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x189615?'Message:\x20\x22'+_0x189615+'\x22.':''),{'cause':_0x2ec0b5});}};var _0x589844=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x566487=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'}),tN=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x324c34){this['_debugPrint']=_0x324c34;}['bindTarget'](_0x3a688e){this['_targets']['add'](_0x3a688e);}['unbindTarget'](_0x11853e){this['_targets']['delete'](_0x11853e);}['_dispatch'](_0x57e52d,_0x38b026){for(const _0xd71fd5 of this['_targets'])_0xd71fd5['dispatchEvent'](new CustomEvent(_0x57e52d,{'detail':_0x38b026}));this['_debugPrint']?.(()=>{const _0x1d7fe4=_0x38b026&&'object'==typeof _0x38b026?{..._0x38b026}:_0x38b026;return['event\x20\x22'+_0x57e52d+'\x22',_0x1d7fe4];});}['emit'](_0x12dcbd,_0x28343f,_0x39eb1a={}){const {debounce:_0x274493}=_0x39eb1a;if('number'!=typeof _0x274493&&!_0x274493)return void this['_dispatch'](_0x12dcbd,'function'==typeof _0x28343f?_0x28343f():_0x28343f);this['_timeoutStore']['has'](_0x12dcbd)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x12dcbd));const _0x4084eb='number'==typeof _0x274493?_0x274493:0x14,_0x5c1330=window['setTimeout'](()=>{this['_dispatch'](_0x12dcbd,'function'==typeof _0x28343f?_0x28343f():_0x28343f),this['_timeoutStore']['delete'](_0x12dcbd);},_0x4084eb);this['_timeoutStore']['set'](_0x12dcbd,_0x5c1330);}};function _0x23052c(_0xff8baf,_0x22bec6){let _0x26f37b;const _0x4951cb=(..._0x1bd0d7)=>{_0x26f37b&&clearTimeout(_0x26f37b),_0x26f37b=setTimeout(()=>_0xff8baf(..._0x1bd0d7),_0x22bec6);};return _0x4951cb['cancel']=()=>{_0x26f37b&&clearTimeout(_0x26f37b);},_0x4951cb;}var _0x4c7c3d=_0x1887fd=>_0x1887fd?_0x1887fd['split'](',')['map'](_0x231c34=>_0x231c34['trim']())['filter'](Boolean):[],_0x3c7eed=_0x19b83d=>_0x19b83d['join'](','),_0x9c72d8=_0x32d6fc=>{if('string'!=typeof _0x32d6fc||!_0x32d6fc)return'';let _0x28bb9c=_0x32d6fc['trim']();return _0x28bb9c['startsWith']('-/')?_0x28bb9c=_0x28bb9c['slice'](0x2):_0x28bb9c['startsWith']('/')&&(_0x28bb9c=_0x28bb9c['slice'](0x1)),_0x28bb9c['endsWith']('/')&&(_0x28bb9c=_0x28bb9c['slice'](0x0,_0x28bb9c['length']-0x1)),_0x28bb9c;},_0x507e8c=(..._0x12b1bb)=>_0x12b1bb['filter'](_0x5352b2=>'string'==typeof _0x5352b2&&!!_0x5352b2)['map'](_0x4ba70e=>_0x9c72d8(_0x4ba70e))['join']('/-/'),_0x233a2c=(..._0x26922c)=>{const _0x47c0d2=_0x507e8c(..._0x26922c);return _0x47c0d2?'-/'+_0x47c0d2+'/':'';};function _0x5780e5(_0xc2cb5d){const _0x5d4391=new URL(_0xc2cb5d),_0x27fe7e=_0x5d4391['pathname']+_0x5d4391['search']+_0x5d4391['hash'],_0x12c01f=_0x27fe7e['lastIndexOf']('http'),_0x1df17f=_0x27fe7e['lastIndexOf']('/');let _0x3cc6e4='';return _0x12c01f>=0x0?_0x3cc6e4=_0x27fe7e['slice'](_0x12c01f):_0x1df17f>=0x0&&(_0x3cc6e4=_0x27fe7e['slice'](_0x1df17f+0x1)),_0x3cc6e4;}function _0x57f9ea(_0x48fb9a){const _0x7222f9=new URL(_0x48fb9a),{pathname:_0x4a7c8a}=_0x7222f9,_0x4fed57=_0x4a7c8a['indexOf']('/'),_0x43b9f4=_0x4a7c8a['indexOf']('/',_0x4fed57+0x1);return _0x4a7c8a['substring'](_0x4fed57+0x1,_0x43b9f4);}function _0x32c7d1(_0x593787){const _0x518336=_0x1e3819(_0x593787),_0x27f20b=new URL(_0x518336),_0x5609bd=_0x27f20b['pathname']['indexOf']('/-/');if(-0x1===_0x5609bd)return'';return _0x27f20b['pathname']['substring'](_0x5609bd)['slice'](0x1);}function _0x2193a0(_0x45915e){return _0x32c7d1(_0x45915e)['split']('/-/')['filter'](Boolean)['map'](_0x5599d7=>_0x9c72d8(_0x5599d7));}function _0x1e3819(_0x2127bd){const _0x266af6=new URL(_0x2127bd),_0x525257=_0x5780e5(_0x2127bd),_0xa01f65=_0x15a8fb(_0x525257)?_0x141c2d(_0x525257)['pathname']:_0x525257;return _0x266af6['pathname']=_0x266af6['pathname']['replace'](_0xa01f65,''),_0x266af6['search']='',_0x266af6['hash']='',_0x266af6['toString']();}function _0x15a8fb(_0x370866){return _0x370866['startsWith']('http');}function _0x141c2d(_0xa62f07){const _0x51bcea=new URL(_0xa62f07);return{'pathname':''+_0x51bcea['origin']+(_0x51bcea['pathname']??''),'search':_0x51bcea['search']??'','hash':_0x51bcea['hash']??''};}var _0x3c4f8e=(_0xbe1a0f,_0x455cde,_0x322cc1)=>{const _0x258834=new URL(_0x1e3819(_0xbe1a0f)),_0x2630ff=_0x322cc1??_0x5780e5(_0xbe1a0f),_0x4b9908=_0x455cde??'';if(_0x258834['pathname']['startsWith']('//')&&(_0x258834['pathname']=_0x258834['pathname']['replace']('//','/')),_0x2630ff&&_0x15a8fb(_0x2630ff)){const _0x3cf604=_0x141c2d(_0x2630ff);_0x258834['pathname']=''+_0x258834['pathname']+_0x4b9908+(_0x3cf604['pathname']||''),_0x258834['search']=_0x3cf604['search'],_0x258834['hash']=_0x3cf604['hash'];}else _0x258834['pathname']=''+_0x258834['pathname']+_0x4b9908+(_0x2630ff||'');return _0x258834['toString']();},_0x31db49=(_0x1d30d6,_0x32f79c)=>{const _0x29f5c5=new URL(_0x1d30d6);return _0x29f5c5['pathname']=_0x32f79c+'/',_0x29f5c5['toString']();},_0x900720=(_0x1b08dd,_0x4fb45f=',')=>_0x1b08dd['trim']()['split'](_0x4fb45f)['map'](_0x36558a=>_0x36558a['trim']())['filter'](_0x241c86=>_0x241c86['length']>0x0),_0x136059=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}),_0x14a697=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x47e6d0(_0x269746){return _0x507e8c(..._0x14a697['filter'](_0x917c16=>void 0x0!==_0x269746[_0x917c16]&&null!==_0x269746[_0x917c16])['map'](_0x5d19ea=>function(_0x35ca8a,_0x18f2ca){if('number'==typeof _0x18f2ca){const _0x44b53d=_0x18f2ca;return _0x136059[_0x35ca8a]!==_0x44b53d?_0x35ca8a+'/'+_0x44b53d:'';}if('boolean'==typeof _0x18f2ca){const _0x3b0688=_0x18f2ca;return _0x136059[_0x35ca8a]!==_0x3b0688?''+_0x35ca8a:'';}if('filter'===_0x35ca8a&&_0x18f2ca){const {name:_0x7ad578,amount:_0x2e0336}=_0x18f2ca;return _0x136059['filter']===_0x2e0336?'':_0x35ca8a+'/'+_0x7ad578+'/'+_0x2e0336;}if('crop'===_0x35ca8a&&_0x18f2ca){const {dimensions:_0x322371,coords:_0x584f5f}=_0x18f2ca;return _0x35ca8a+'/'+_0x322371['join']('x')+'/'+_0x584f5f['join'](',');}return'';}(_0x5d19ea,_0x269746[_0x5d19ea]))['filter'](_0x1423bc=>!!_0x1423bc));}var _0x21760b=_0x507e8c('format/auto','progressive/yes'),_0x3f2e2a=([_0x4670eb])=>void 0x0!==_0x4670eb?Number(_0x4670eb):void 0x0,_0x5daa23=()=>!0x0,_0x402e76=Object['freeze']({'enhance':_0x3f2e2a,'brightness':_0x3f2e2a,'exposure':_0x3f2e2a,'gamma':_0x3f2e2a,'contrast':_0x3f2e2a,'saturation':_0x3f2e2a,'vibrance':_0x3f2e2a,'warmth':_0x3f2e2a,'filter':([_0x9ebbc,_0x1b9da9])=>({'name':_0x9ebbc,'amount':void 0x0!==_0x1b9da9?Number(_0x1b9da9):0x64}),'mirror':_0x5daa23,'flip':_0x5daa23,'rotate':_0x3f2e2a,'crop':_0x51b920=>{const [_0x2f820a,_0x3667e8]=_0x51b920,{dimensions:_0x16ef99,coords:_0x415a78}=(([_0x21382a,_0x1eb0ec])=>{if(!/\d+x\d+/['test'](_0x21382a)||!/\d+,\d+/['test'](_0x1eb0ec))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x900720(_0x21382a,'x')['map'](Number),'coords':_0x900720(_0x1eb0ec)['map'](Number)};})([_0x2f820a,_0x3667e8]);return{'dimensions':_0x16ef99,'coords':_0x415a78};}});function _0x5d108a(_0x3ae747){const _0x1a5e3a={};for(const _0x8d52f0 of _0x3ae747){const [_0x502adf,..._0x53efe1]=_0x8d52f0['split']('/');if(!_0x502adf||!_0x14a697['includes'](_0x502adf))continue;const _0x57e23d=_0x502adf,_0x46da64=_0x402e76[_0x57e23d];try{const _0x515960=_0x46da64(_0x53efe1);_0x1a5e3a[_0x57e23d]=_0x515960;}catch(_0x1fc23d){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x8d52f0+'\x22.\x20It\x20will\x20be\x20ignored.',_0x1fc23d instanceof Error?'Error\x20message:\x20\x22'+_0x1fc23d['message']+'\x22':_0x1fc23d,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x1a5e3a;}var _0x354800=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x1cc345=Object['freeze']([_0x354800['CROP'],_0x354800['TUNING'],_0x354800['FILTERS']]),_0x262e7f=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x2caf06=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']),_0x1394f7=Object['freeze'](['rotate','mirror','flip']),_0x3e1161=_0x136059,_0x58cce2=Object['freeze']({'brightness':{'zero':_0x3e1161['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x3e1161['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x3e1161['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x3e1161['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x3e1161['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x3e1161['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x3e1161['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x3e1161['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x3e1161['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0xe1eaf='https://ucarecdn.com',_0x248e0d={'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':'','cloudImageEditorTabs':_0x3c7eed(_0x1cc345),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0xe1eaf,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0xa,'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,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0},_0x543c72=Object['freeze'](_0x248e0d),_0x12fba0=(_0x1c36bc,_0x3aff93)=>new Intl['PluralRules'](_0x1c36bc)['select'](_0x3aff93),_0x410544=_0x3eecd5=>_0x3eecd5,_0x399585='{{',_0x3858ab='}}',_0x574d9c='plural:';function _0x4c497b(_0x2e44c4,_0x471fd2={},_0x5df560={}){const {openToken:_0x2fe340=_0x399585,closeToken:_0x27f8c7=_0x3858ab,transform:_0x4e3158=_0x410544}=_0x5df560;for(const _0x172833 in _0x471fd2){const _0x4163e4=_0x471fd2[_0x172833],_0x1dd7a0=null!=_0x4163e4?_0x4163e4['toString']():void 0x0,_0x48fd54='string'==typeof _0x1dd7a0?_0x4e3158(_0x1dd7a0):String(_0x1dd7a0);_0x2e44c4=_0x2e44c4['replaceAll'](_0x2fe340+_0x172833+_0x27f8c7,_0x48fd54);}return _0x2e44c4;}var _0x12e131='--uploadcare-blocks-window-height',_0x5f5cf4=class _WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=_0x23052c(()=>{document['documentElement']['style']['setProperty'](_0x12e131,window['innerHeight']+'px');},0x64);static['registerClient'](_0x5c6064){0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['attachTracker'](),_WindowHeightTracker['clientsRegistry']['add'](_0x5c6064);}static['unregisterClient'](_0x51a86f){_WindowHeightTracker['clientsRegistry']['delete'](_0x51a86f),0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_WindowHeightTracker['flush'],{'passive':!0x0,'capture':!0x0}),_WindowHeightTracker['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_WindowHeightTracker['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x12e131);}},_0x30cd83=_0x5dd35b=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x5dd35b['modalManager']?.['close'](_0x5dd35b['$']['*currentActivity']),_0x5dd35b['set$']({'*currentActivity':null});}}),_0x6012aa=_0x3e1f7b=>({..._0x30cd83(_0x3e1f7b),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x18ad93(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),_0x3d308a={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-draw':'Draw','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-draw':'Draw','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\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'},_0x467973=new Map(),_0x2bd6d6=new Map(),_0x5236d9=(_0xf456e,_0x21b942)=>{_0x467973['has'](_0xf456e)&&console['log']('Locale\x20'+_0xf456e+'\x20is\x20already\x20defined.\x20Overwriting...'),_0x467973['set'](_0xf456e,{..._0x3d308a,..._0x21b942});},_0x3b4937=(_0x467c63,_0x13e6d3)=>{'function'==typeof _0x13e6d3?((_0x44c770,_0x160f59)=>{_0x2bd6d6['set'](_0x44c770,_0x160f59);})(_0x467c63,_0x13e6d3):_0x5236d9(_0x467c63,_0x13e6d3);};_0x3b4937('en',_0x3d308a);var _0x31d1bc=_0x55441a=>'*l10n/'+_0x55441a,_0xfc9425=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0xc6f345){this['_blockInstance']=_0xc6f345;for(const [_0x2ea5b1,_0x3a9127]of Object['entries'](_0x3d308a)){const _0x57d593=!this['_blockInstance']['has'](_0x31d1bc(_0x2ea5b1))||!this['_blockInstance']['$'][_0x31d1bc(_0x2ea5b1)];this['_blockInstance']['add'](_0x31d1bc(_0x2ea5b1),_0x3a9127,_0x57d593);}setTimeout(()=>{_0xc6f345['subConfigValue']('localeName',async _0x4f8910=>{if(!this['_blockInstance']||!_0x4f8910)return;this['_localeName']=_0x4f8910;const _0x436101=await(async _0x1adbf9=>{if(!_0x467973['has'](_0x1adbf9)){if(!_0x2bd6d6['has'](_0x1adbf9))throw new Error('Locale\x20'+_0x1adbf9+'\x20is\x20not\x20defined');const _0x14cb12=_0x2bd6d6['get'](_0x1adbf9),_0x5c1a13=await _0x14cb12();_0x5236d9(_0x1adbf9,_0x5c1a13);}return _0x467973['get'](_0x1adbf9);})(_0x4f8910);if('en'!==_0x4f8910&&this['_localeName']!==_0x4f8910)return;const _0x5e5a9b=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x4f8910];for(const [_0x2f804c,_0x505b43]of Object['entries'](_0x436101)){const _0x1cbd4b=_0x5e5a9b?.[_0x2f804c];this['_blockInstance']['add'](_0x31d1bc(_0x2f804c),_0x1cbd4b??_0x505b43,!0x0);for(const _0x3f8a32 of this['_callbacks'])_0x3f8a32();}}),_0xc6f345['subConfigValue']('localeDefinitionOverride',_0x5f4db1=>{if(!_0x5f4db1)return;const _0x5a48b0=_0x5f4db1[this['_localeName']];if(_0x5a48b0)for(const [_0x2f085d,_0x111dad]of Object['entries'](_0x5a48b0)){this['_blockInstance']?.['add'](_0x31d1bc(_0x2f085d),_0x111dad,!0x0);for(const _0x2cf006 of this['_callbacks'])_0x2cf006();}});});}['onLocaleChange'](_0x55aff7){const _0x1a1b90=_0x23052c(_0x55aff7,0x0);return this['_callbacks']['add'](_0x1a1b90),()=>{this['_callbacks']['delete'](_0x1a1b90);};}['bindL10n'](_0x4cffce,_0x5c1d4b,_0xbcf1b8){_0x4cffce['$'][_0x5c1d4b]=_0xbcf1b8(),this['_boundBlocks']['has'](_0x4cffce)||this['_boundBlocks']['set'](_0x4cffce,new Map()),this['_boundBlocks']['get'](_0x4cffce)?.['get'](_0x5c1d4b)?.();const _0x79a77b=this['onLocaleChange'](()=>{_0x4cffce['$'][_0x5c1d4b]=_0xbcf1b8();});this['_boundBlocks']['get'](_0x4cffce)?.['set'](_0x5c1d4b,_0x79a77b);}['destroyL10nBindings'](_0x15ecd9){const _0xd372bb=this['_boundBlocks']['get'](_0x15ecd9);if(_0xd372bb){for(const _0x8decd8 of _0xd372bb['values']())_0x8decd8();this['_boundBlocks']['delete'](_0x15ecd9);}}['destroy'](){this['_callbacks']['clear']();}};function _0x6bebf(_0x294569,_0x98dd58){[..._0x294569['querySelectorAll']('[l10n]')]['forEach'](_0x45847f=>{const _0x53263f=_0x45847f['getAttribute']('l10n');if(!_0x53263f)return;const _0x17e7a6=_0x53263f['split'](';');for(const _0x3add8b of _0x17e7a6)_0x3add8b&&_0x36af92(_0x45847f,_0x3add8b,_0x98dd58);});}var _0x36af92=(_0x321aff,_0x2a45d4,_0x5b66a3)=>{let _0xd27427='textContent',_0x20eafb=!0x1;if(_0x2a45d4['includes'](':')){const _0x2806da=_0x2a45d4['split'](':');if(0x2!==_0x2806da['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x2a45d4);const _0x5f3839=_0x2806da;_0xd27427=_0x5f3839[0x0],_0x2a45d4=_0x5f3839[0x1],_0xd27427['startsWith']('@')&&(_0xd27427=_0xd27427['slice'](0x1),_0x20eafb=!0x0);}const _0xad08d5=_0x2a45d4;_0x5b66a3['has'](_0xad08d5)&&_0x5b66a3['sub'](_0xad08d5,_0x39ac26=>{if(!_0x39ac26)return;_0x5b66a3['l10nProcessorSubs']['has'](_0xad08d5)||_0x5b66a3['l10nProcessorSubs']['set'](_0xad08d5,new Set());const _0xc03511=_0x5b66a3['l10nProcessorSubs']['get'](_0xad08d5);_0xc03511?.['forEach'](_0x22d781=>{_0x22d781['remove'](),_0xc03511['delete'](_0x22d781),_0x5b66a3['allSubs']['delete'](_0x22d781);});const _0x296daf=_0x31d1bc(_0x39ac26)['replace']('*','');_0x5b66a3['nodeCtx']['has'](_0x296daf)||_0x5b66a3['nodeCtx']['add'](_0x296daf,_0x39ac26);const _0x5f2cec=_0x5b66a3['nodeCtx']['sub'](_0x296daf,()=>{_0x321aff[_0xd27427]=_0x5b66a3['l10n'](_0x39ac26);});_0xc03511?.['add'](_0x5f2cec),_0x5b66a3['allSubs']['add'](_0x5f2cec),_0x321aff['removeAttribute']('l10n');});const _0x161911=_0x31d1bc(_0x2a45d4);_0x5b66a3['has'](_0x161911)||_0x5b66a3['add'](_0x161911,''),_0x5b66a3['sub'](_0x161911,()=>{_0x20eafb?_0x321aff['setAttribute'](_0xd27427,_0x5b66a3['l10n'](_0x2a45d4)):_0x321aff[_0xd27427]=_0x5b66a3['l10n'](_0x2a45d4);}),_0x321aff['removeAttribute']('l10n');},tL=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x550d7b,_0x2602b7){const _0xfa635=_0x18c553=>{const _0x732965=_0x18c553['target'];_0x732965 instanceof Node&&this['_scope']['some'](_0x48c6ba=>_0x48c6ba===_0x732965||_0x48c6ba['contains'](_0x732965))&&_0x2602b7(_0x18c553);};this['_listeners']['set'](_0x2602b7,_0xfa635),window['addEventListener'](_0x550d7b,_0xfa635);}['removeEventListener'](_0x3eb0b3,_0x4c3600){const _0x15b9b9=this['_listeners']['get'](_0x4c3600);_0x15b9b9&&window['removeEventListener'](_0x3eb0b3,_0x15b9b9),this['_listeners']['delete'](_0x4c3600);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x311ae2){this['_scope']['push'](_0x311ae2);}['destroy'](){this['_scope']=[];for(const _0x3d074c of this['_listeners']['values']())window['removeEventListener']('keydown',_0x3d074c),window['removeEventListener']('keyup',_0x3d074c);this['_listeners']['clear']();}},_0x3b8581=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new tL(),this['_destroyKeyUX']=function(_0x5d8ec2,_0x5111f1){let _0x2b6892=_0x5111f1['map'](_0x4b167=>_0x4b167(_0x5d8ec2));return()=>{_0x2b6892['forEach'](_0xcf3d76=>_0xcf3d76());};}(this['_scopedWindow'],[_0x9c08cc=>{let _0x33ec25=!0x1,_0x6b06db=0x0,_0x5dcb83='';function _0x59d063(_0x45e47b){let _0x146d15=_0x584f94(_0x45e47b['target']);if(!_0x146d15)return void _0xaf53ef();let _0x5a08ae=_0x3e3a8c(_0x45e47b['target'],_0x146d15),_0x44858b=Array['from'](_0x5a08ae)['indexOf'](_0x45e47b['target']),_0x4b2e18='ArrowDown',_0x109808='ArrowUp';if(function(_0x5be359){let _0x1664e5=_0x5be359['getAttribute']('aria-orientation');if('vertical'===_0x1664e5)return!0x1;if('horizontal'===_0x1664e5)return!0x0;let _0x9198e1=_0x5be359['role'];return'menubar'===_0x9198e1||'tablist'===_0x9198e1||'toolbar'===_0x9198e1;}(_0x146d15)&&('rtl'===_0x9c08cc['document']['dir']?(_0x4b2e18='ArrowLeft',_0x109808='ArrowRight'):(_0x4b2e18='ArrowRight',_0x109808='ArrowLeft')),_0x45e47b['key']===_0x4b2e18)_0x45e47b['preventDefault'](),_0x456313(_0x45e47b['target'],_0x5a08ae[_0x44858b+0x1]||_0x5a08ae[0x0]);else{if(_0x45e47b['key']===_0x109808)_0x45e47b['preventDefault'](),_0x456313(_0x45e47b['target'],_0x5a08ae[_0x44858b-0x1]||_0x5a08ae[_0x5a08ae['length']-0x1]);else{if('Home'===_0x45e47b['key'])_0x45e47b['preventDefault'](),_0x456313(_0x45e47b['target'],_0x5a08ae[0x0]);else{if('End'===_0x45e47b['key'])_0x45e47b['preventDefault'](),_0x456313(_0x45e47b['target'],_0x5a08ae[_0x5a08ae['length']-0x1]);else{if(0x1===_0x45e47b['key']['length']&&'tablist'!==_0x146d15['role']){let _0x5838b1=Date['now']();_0x5838b1-_0x6b06db<=0x12c?_0x5dcb83+=_0x45e47b['key']['toLowerCase']():_0x5dcb83=_0x45e47b['key']['toLowerCase'](),_0x6b06db=_0x5838b1;let _0x4927e3=Array['from'](_0x5a08ae)['find'](_0x2fed40=>_0x2fed40['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x5dcb83));_0x4927e3&&(_0x45e47b['preventDefault'](),_0x456313(_0x45e47b['target'],_0x4927e3));}}}}}}function _0xaf53ef(){_0x33ec25=!0x1,_0x9c08cc['removeEventListener']('keydown',_0x59d063);}function _0x1557cd(_0x303fd3){let _0x33db2b=_0x584f94(_0x303fd3['target']);if(_0x33db2b){_0x33ec25||(_0x33ec25=!0x0,_0x9c08cc['addEventListener']('keydown',_0x59d063));let _0x4c4d56=_0x3e3a8c(_0x303fd3['target'],_0x33db2b);for(let _0xb05ebf of _0x4c4d56)_0xb05ebf!==_0x303fd3['target']&&_0xb05ebf['setAttribute']('tabindex',-0x1);}else _0x33ec25&&_0xaf53ef();}function _0x7c6e1(_0x5baa3a){_0x5baa3a['relatedTarget']&&_0x5baa3a['relatedTarget']!==_0x9c08cc['document']||_0xaf53ef();}function _0x21eec7(_0x5cd52a){let _0x4d54aa=_0x584f94(_0x5cd52a['target']);if(_0x4d54aa){let _0x20f054=_0x3e3a8c(_0x5cd52a['target'],_0x4d54aa);for(let _0x14377b of _0x20f054)_0x14377b!==_0x5cd52a['target']&&_0x14377b['setAttribute']('tabindex',-0x1);_0x5cd52a['target']['setAttribute']('tabindex',0x0);}}return _0x9c08cc['addEventListener']('click',_0x21eec7),_0x9c08cc['addEventListener']('focusin',_0x1557cd),_0x9c08cc['addEventListener']('focusout',_0x7c6e1),()=>{_0xaf53ef(),_0x9c08cc['removeEventListener']('click',_0x21eec7),_0x9c08cc['removeEventListener']('focusin',_0x1557cd),_0x9c08cc['removeEventListener']('focusout',_0x7c6e1);};},_0x58999a('is-pressed'),_0x32814f(),_0x5d2010=>{let _0x273489,_0x176a4c;function _0x2ec65f(_0x111bd8){if('true'===_0x111bd8['target']['getAttribute']('aria-hidden')){_0x273489=_0x111bd8['target'],_0x273489['setAttribute']('aria-hidden','false'),_0x176a4c=_0x273489['hidden'],_0x176a4c&&(_0x273489['hidden']=!0x1);let _0x230d9b=_0x111bd8['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x230d9b&&(_0x230d9b['tabIndex']=0x0);}}function _0x57bf4e(_0x56163e){!_0x273489||!_0x273489['contains'](_0x56163e['target'])||_0x56163e['relatedTarget']&&_0x273489['contains'](_0x56163e['relatedTarget'])||(_0x56163e['target']['tabIndex']=-0x1,_0x273489['setAttribute']('aria-hidden','true'),_0x176a4c&&(_0x273489['hidden']=!0x0),_0x273489=null);}return _0x5d2010['addEventListener']('keyuxJump',_0x2ec65f),_0x5d2010['addEventListener']('focusout',_0x57bf4e),()=>{_0x5d2010['removeEventListener']('keyuxJump',_0x2ec65f),_0x5d2010['removeEventListener']('focusout',_0x57bf4e);};}]);}['registerBlock'](_0x4a65ec){this['_scopedWindow']['registerScope'](_0x4a65ec);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},_0x2c2bb9=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x17d62d=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x19fbb7){this['_block']=_0x19fbb7;}['_debugPrint'](..._0x5eddcd){this['_block']['debugPrint']('[modal-manager]',..._0x5eddcd);}['registerModal'](_0x5c8aec,_0x28f8c6){this['_modals']['set'](_0x5c8aec,_0x28f8c6),this['_notify'](_0x2c2bb9['ADD'],{'id':_0x5c8aec,'modal':_0x28f8c6});}['deleteModal'](_0x35592f){if(!this['_modals']['has'](_0x35592f))return!0x1;const _0x31d3b1=this['_modals']['get'](_0x35592f);return this['_modals']['delete'](_0x35592f),this['_activeModals']['delete'](_0x35592f),this['_notify'](_0x2c2bb9['DELETE'],{'id':_0x35592f,'modal':_0x31d3b1}),!0x0;}['open'](_0x2db974){if(!this['_modals']['has'](_0x2db974))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x2db974+'\x22\x20not\x20found'),!0x1;const _0x247a07=this['_modals']['get'](_0x2db974);return this['_activeModals']['add'](_0x2db974),this['_notify'](_0x2c2bb9['OPEN'],{'modal':_0x247a07,'id':_0x2db974}),!0x0;}['close'](_0x4eb58a){if(!this['_modals']['has'](_0x4eb58a)||!this['_activeModals']['has'](_0x4eb58a))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x4eb58a+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0x5dd016=this['_modals']['get'](_0x4eb58a);return this['_activeModals']['delete'](_0x4eb58a),this['_notify'](_0x2c2bb9['CLOSE'],{'id':_0x4eb58a,'modal':_0x5dd016}),!0x0;}['toggle'](_0x2fd974){return this['_modals']['has'](_0x2fd974)?this['_activeModals']['has'](_0x2fd974)?this['close'](_0x2fd974):this['open'](_0x2fd974):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x2fd974+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['_activeModals']['size']>0x0;}['back'](){if(0x0===this['_activeModals']['size'])return this['_debugPrint']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;const _0x255f40=Array['from'](this['_activeModals'])['pop']();return!!_0x255f40&&this['close'](_0x255f40);}['closeAll'](){const _0x5ed481=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](_0x2c2bb9['CLOSE_ALL'],{}),_0x5ed481;}['subscribe'](_0x470b9d,_0x25146e){return this['_subscribers']['has'](_0x470b9d)||this['_subscribers']['set'](_0x470b9d,new Set()),this['_subscribers']['get'](_0x470b9d)?.['add'](_0x25146e),()=>this['unsubscribe'](_0x470b9d,_0x25146e);}['unsubscribe'](_0x5f48f8,_0x5f5d94){this['_subscribers']['has'](_0x5f48f8)&&this['_subscribers']['get'](_0x5f48f8)?.['delete'](_0x5f5d94);}['_notify'](_0x316d38,_0x31003b){if(this['_subscribers']['has'](_0x316d38)){for(const _0x42c8a6 of this['_subscribers']['get'](_0x316d38)??new Set())try{_0x42c8a6(_0x31003b);}catch(_0x18fc7c){this['_block']['telemetryManager']['sendEventError'](_0x18fc7c,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0x18fc7c);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](_0x2c2bb9['DESTROY'],{});}},_0x57d861='blocks',_0x42298a='1.24.5',_0x51b596=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(_0x543c72);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x23040a){this['_block']=_0x23040a,this['_telemetryInstance']=new _0x20edd3(),this['_queue']=new _0x18ad93(0xa);for(const _0x99f1ed of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x99f1ed,_0x29265f=>{this['_initialized']&&this['_config'][_0x99f1ed]!==_0x29265f&&this['sendEvent']({'eventType':_0x589844['CHANGE_CONFIG']}),this['_setConfig'](_0x99f1ed,_0x29265f);});}['_init'](_0x5667aa){_0x5667aa!==_0x589844['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0xe5f360,_0x74332c){this['_config'][_0xe5f360]!==_0x74332c&&(this['_config'][_0xe5f360]=_0x74332c);}['_formattingPayload'](_0x4513d1){const _0x499652=_0x4513d1['payload']?{..._0x4513d1['payload']}:{};_0x499652['activity']&&(_0x499652['activity']=void 0x0);const _0x27f568={..._0x4513d1};return _0x4513d1['eventType']!==_0x589844['INIT_SOLUTION']&&_0x4513d1['eventType']!==_0x589844['CHANGE_CONFIG']||(_0x27f568['config']=this['_config']),{..._0x27f568,'appVersion':_0x42298a,'appName':_0x57d861,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x27f568['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0x499652}};}['_excludedEvents'](_0x25ac44){return!(!_0x25ac44||![_0x566487['CHANGE'],_0x566487['COMMON_UPLOAD_PROGRESS'],_0x566487['FILE_ADDED'],_0x566487['FILE_REMOVED'],_0x566487['FILE_UPLOAD_START'],_0x566487['FILE_UPLOAD_PROGRESS'],_0x566487['FILE_UPLOAD_SUCCESS'],_0x566487['FILE_UPLOAD_FAILED']]['includes'](_0x25ac44));}['sendEvent'](_0x165db8){const _0x5b04dc=this['_formattingPayload']({'eventType':_0x165db8['eventType'],'payload':_0x165db8['payload'],'config':_0x165db8['config']});this['_init'](_0x165db8['eventType']);if(this['_excludedEvents'](_0x165db8['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x5b04dc)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x5b04dc,await this['_telemetryInstance']['sendEvent'](_0x5b04dc);});}['sendEventError'](_0x46560c,_0x2a761a='unknown'){this['sendEvent']({'eventType':_0x589844['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x2a761a,'error':_0x46560c['message']}}});}['sendEventCloudImageEditor'](_0x23a483,_0x18bca5,_0x3d9121={}){this['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x18bca5,'node':_0x23a483['currentTarget']?.['tagName'],'event':_0x23a483['type'],..._0x3d9121}}});}['_checkObj'](_0x422435,_0x5c2e9c){if(JSON['stringify'](_0x422435)===JSON['stringify'](_0x5c2e9c))return!0x0;if('object'!=typeof _0x422435||'object'!=typeof _0x5c2e9c||null==_0x422435||null==_0x5c2e9c)return!0x1;const _0x1f29b2=Object['keys'](_0x422435),_0x3287df=Object['keys'](_0x5c2e9c);if(_0x1f29b2['length']!==_0x3287df['length'])return!0x1;for(const _0x3dedde of _0x1f29b2){if(!Object['hasOwn'](_0x5c2e9c,_0x3dedde))return!0x1;if(!this['_checkObj'](_0x422435[_0x3dedde],_0x5c2e9c[_0x3dedde]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x163b15=this['_block']['$']['*solution'];return _0x163b15?_0x163b15['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x3ba48e=_0x2b75ec=>'*cfg/'+_0x2b75ec;function _0x32bd07(_0x2ac733,_0x417fa8){const _0x1a2bd5=_0x2ac733['querySelectorAll']('[data-testid]');if(0x0===_0x1a2bd5['length'])return;const _0x3f21a2=new WeakMap();for(const _0xcfbb57 of _0x1a2bd5){const _0x14defd=_0xcfbb57['getAttribute']('data-testid');_0x14defd&&_0x3f21a2['set'](_0xcfbb57,_0x14defd);}_0x417fa8['subConfigValue']('testMode',_0x3ba865=>{if(!_0x3ba865){for(const _0x301cde of _0x1a2bd5)_0x301cde['removeAttribute']('data-testid');return;}const _0xcd5e9d=_0x417fa8['testId'];for(const _0xa4d36 of _0x1a2bd5){const _0x1b64e4=_0x3f21a2['get'](_0xa4d36);_0x1b64e4&&_0xa4d36['setAttribute']('data-testid',_0xcd5e9d+'--'+_0x1b64e4);}});}var _0x1ebb01=class extends _0x4fac32{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']={};['l10n'](_0x12768b,_0x44ea1e={}){if(!_0x12768b)return'';const _0x12a080=this['$'][_0x31d1bc(_0x12768b)]||_0x12768b,_0x431edd=function(_0x23dd48){const _0x19aa00=[];let _0x48dac7=_0x23dd48['indexOf'](_0x399585);for(;-0x1!==_0x48dac7;){const _0x5289f4=_0x23dd48['indexOf'](_0x3858ab,_0x48dac7);if(-0x1===_0x5289f4)break;const _0x253c73=_0x23dd48['substring'](_0x48dac7+0x2,_0x5289f4);if(_0x253c73['startsWith'](_0x574d9c)){const _0x95533c=_0x23dd48['substring'](_0x48dac7+0x2,_0x5289f4)['replace'](_0x574d9c,''),_0x22ee47=_0x95533c['substring'](0x0,_0x95533c['indexOf']('(')),_0x2559c6=_0x95533c['substring'](_0x95533c['indexOf']('(')+0x1,_0x95533c['indexOf'](')'));_0x19aa00['push']({'variable':_0x253c73,'pluralKey':_0x22ee47,'countVariable':_0x2559c6});}_0x48dac7=_0x23dd48['indexOf'](_0x399585,_0x5289f4);}return _0x19aa00;}(_0x12a080);for(const _0x2a9d62 of _0x431edd)_0x44ea1e[_0x2a9d62['variable']]=this['pluralize'](_0x2a9d62['pluralKey'],Number(_0x44ea1e[_0x2a9d62['countVariable']]));return _0x4c497b(_0x12a080,_0x44ea1e);}['pluralize'](_0x4a95e0,_0x316488){const _0x278eed=this['l10n']('locale-id')||'en',_0x379bc6=_0x12fba0(_0x278eed,_0x316488);return this['l10n'](_0x4a95e0+'__'+_0x379bc6);}['bindL10n'](_0x504b0d,_0x5f5aa4){this['localeManager']?.['bindL10n'](this,_0x504b0d,_0x5f5aa4);}constructor(){super(),this['addTemplateProcessor'](_0x6bebf),this['addTemplateProcessor'](_0x32bd07);}['emit'](_0x418f15,_0x386fb2,_0x5e3a17){const _0x5d118e=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x5d118e&&(_0x5d118e['emit'](_0x418f15,_0x386fb2,_0x5e3a17),this['telemetryManager']['sendEvent']({'eventType':_0x418f15,'payload':'function'==typeof _0x386fb2?_0x386fb2():_0x386fb2}));}['hasBlockInCtx'](_0x39d713){for(const _0xb1afe9 of this['blocksRegistry'])if(_0x39d713(_0xb1afe9))return!0x0;return!0x1;}['setOrAddState'](_0x344c5f,_0x3f2802){this['add$']({[_0x344c5f]:_0x3f2802},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x10dd6d=>{this['setAttribute'](_0x10dd6d,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?(({element:_0x545037,attribute:_0x2bad2a,onSuccess:_0x2b1728,onTimeout:_0x57fa9d,timeout:_0x23230c=0x12c})=>{const _0x33d620=_0x545037['getAttribute'](_0x2bad2a);if(null!==_0x33d620)return void _0x2b1728(_0x33d620);const _0x4c3039=new MutationObserver(_0x4a0da3=>{const _0xd60d40=_0x4a0da3[_0x4a0da3['length']-0x1];_0xd60d40&&_0x518e67(_0xd60d40);});_0x4c3039['observe'](_0x545037,{'attributes':!0x0,'attributeFilter':[_0x2bad2a]});const _0x3bf22c=window['setTimeout'](()=>{_0x4c3039['disconnect'](),_0x57fa9d();},_0x23230c),_0x518e67=_0x2b60cb=>{const _0x1ee96a=_0x545037['getAttribute'](_0x2bad2a);'attributes'===_0x2b60cb['type']&&_0x2b60cb['attributeName']===_0x2bad2a&&null!==_0x1ee96a&&(window['clearTimeout'](_0x3bf22c),_0x4c3039['disconnect'](),_0x2b1728(_0x1ee96a));};})({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),_0x5f5cf4['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),_0x5f5cf4['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new tN(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new _0xfc9425(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new _0x51b596(this)),this['has']('*a11y')||this['add']('*a11y',new _0x3b8581()),this['has']('*modalManager')||this['add']('*modalManager',new _0x17d62d(this)),this['sub'](_0x31d1bc('locale-id'),_0x4aee36=>{const _0x8e98ee=(_0x31f7ac=>{const _0x2563ee=new Intl['Locale'](_0x31f7ac);let _0xea73ac='ltr';const _0x88487e=_0x2563ee['getTextInfo']?.()['direction'];return _0x88487e?_0xea73ac=_0x88487e:_0x2563ee['textInfo']?.['direction']&&(_0xea73ac=_0x2563ee['textInfo']['direction']),_0xea73ac;})(_0x4aee36);this['style']['direction']='ltr'===_0x8e98ee?'':_0x8e98ee;}),this['subConfigValue']('testMode',_0x2839d1=>{_0x2839d1&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}));}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['has']('*modalManager')?this['$']['*modalManager']:void 0x0;}get['telemetryManager'](){return this['cfg']['qualityInsights']?this['has']('*telemetryManager')&&this['$']['*telemetryManager']:{'sendEvent':()=>{},'sendEventCloudImageEditor':()=>{},'sendEventError':()=>{}};}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();const _0x54cb5b=this['blocksRegistry'];_0x54cb5b?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),_0x58010a['deleteCtx'](this),0x0===_0x54cb5b?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){_0x58010a['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x4e3c90){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'](_0x4e3c90,{'uuid':_0x57f9ea(_0x4e3c90),'cdnUrlModifiers':_0x32c7d1(_0x4e3c90),'fileName':_0x5780e5(_0x4e3c90)});}catch(_0x30c7f7){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x30c7f7),this['telemetryManager']['sendEventError'](_0x30c7f7,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x4e3c90;}return this['cfg']['secureDeliveryProxy']?_0x4c497b(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x4e3c90},{'transform':_0x3365e6=>window['encodeURIComponent'](_0x3365e6)}):_0x4e3c90;}get['cfg'](){if(!this['__cfgProxy']){const _0x3b574e=Object['create'](null);this['__cfgProxy']=new Proxy(_0x3b574e,{'set':(_0x2e3459,_0x430db4,_0x5d5ab8)=>{if('string'!=typeof _0x430db4)return!0x1;const _0x318fa4=_0x3ba48e(_0x430db4);return this['has'](_0x318fa4)||this['add'](_0x318fa4,_0x543c72[_0x430db4]),this['$'][_0x318fa4]=_0x5d5ab8,!0x0;},'get':(_0x49ae47,_0xa4f32)=>{const _0xe5810c=_0x3ba48e(_0xa4f32);return this['has'](_0xe5810c)||this['add'](_0xe5810c,_0x543c72[_0xa4f32]),this['$'][_0x3ba48e(_0xa4f32)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x27f690,_0x3092e5){const _0x2fc08e=_0x3ba48e(_0x27f690);this['has'](_0x2fc08e)||this['add'](_0x2fc08e,_0x543c72[_0x27f690]),this['sub'](_0x2fc08e,_0x3092e5);}['debugPrint'](..._0x4c0c72){if(!this['cfg']['debug'])return;let _0x28e9a4=_0x4c0c72;'function'==typeof _0x4c0c72?.[0x0]&&(_0x28e9a4=(0x0,_0x4c0c72[0x0])()),console['log']('['+this['ctxName']+']',..._0x28e9a4);}static['reg'](_0x4cb85b){_0x4cb85b?_0x4cb85b['startsWith']('uc-')&&super['reg'](_0x4cb85b):super['reg']();}},_0x37baa7='active',_0x5d9a16='___ACTIVITY_IS_ACTIVE___',_0x415f03=class _ActivityBlock extends _0x1ebb01{['historyTracked']=!0x1;[_0x5d9a16];['init$']=_0x30cd83(this);['_debouncedHistoryFlush']=_0x23052c(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x30884a=_ActivityBlock['_activityCallbacks']['get'](this);this[_0x5d9a16]=!0x1,this['removeAttribute'](_0x37baa7),_0x30884a?.['deactivateCallback']?.();}['_activate'](){const _0x1ededf=_ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x5d9a16]=!0x0,this['setAttribute'](_0x37baa7,''),_0x1ededf?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](_0x566487['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x1681e2=>{try{this['activityType']!==_0x1681e2&&this[_0x5d9a16]?this['_deactivate']():this['activityType']!==_0x1681e2||this[_0x5d9a16]||this['_activate']();}catch(_0x14f835){this['telemetryManager']['sendEventError'](_0x14f835,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x14f835),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x1681e2||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x2d825a=this['$']['*history'];_0x2d825a&&(_0x2d825a['length']>0xa&&(_0x2d825a=_0x2d825a['slice'](_0x2d825a['length']-0xb,_0x2d825a['length']-0x1)),this['historyTracked']&&_0x2d825a[_0x2d825a['length']-0x1]!==this['activityType']&&_0x2d825a['push'](this['activityType']),this['$']['*history']=_0x2d825a);}['_isActivityRegistered'](){return!!this['activityType']&&_ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x5d9a16];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x33bb77,_0x4fe5f3={}){const {onActivate:_0x1abcff,onDeactivate:_0x1ee731}=_0x4fe5f3;_ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x1abcff,'deactivateCallback':_0x1ee731});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x5947e1=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x5b72a2=>_0x5b72a2 instanceof _ActivityBlock&&_0x5b72a2['activityType']===_0x5947e1)||(this['$']['*currentActivity']=null,this['modalManager']?.['closeAll']());}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){const _0x2b5af2=this['$']['*history'];if(_0x2b5af2){let _0x16781e=_0x2b5af2['pop']();for(;_0x16781e===this['activityType'];)_0x16781e=_0x2b5af2['pop']();let _0x3cb596=!!_0x16781e;if(_0x16781e){const _0x74aa2a=[...this['blocksRegistry']]['find'](_0x4e94c5=>_0x4e94c5['activityType']===_0x16781e);_0x3cb596=_0x74aa2a?.['couldOpenActivity']??!0x1;}_0x16781e=_0x3cb596?_0x16781e:void 0x0,_0x16781e&&this['modalManager']?.['open'](_0x16781e),this['$']['*currentActivity']=_0x16781e,this['$']['*history']=_0x2b5af2,_0x16781e||this['modalManager']?.['closeAll']();}}};function _0xe3d984(_0x1e9e56){for(const _0x35a4a6 in _0x1e9e56){let _0x14f4c4=[..._0x35a4a6]['reduce']((_0x527612,_0x21825a)=>(_0x21825a['toUpperCase']()===_0x21825a&&(_0x21825a='-'+_0x21825a['toLowerCase']()),_0x527612+=_0x21825a),'');_0x14f4c4['startsWith']('-')&&(_0x14f4c4=_0x14f4c4['replace']('-','')),_0x14f4c4['startsWith']('uc-')||(_0x14f4c4='uc-'+_0x14f4c4),_0x1e9e56[_0x35a4a6]['reg']&&_0x1e9e56[_0x35a4a6]['reg'](_0x14f4c4);}}_0x415f03['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});var _0x31d777='UC',_0x516956=class extends _0x1ebb01{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=(e=>({..._0x6012aa(e),'*solution':null}))(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x2aefe4){this['_template']='<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>'+_0x2aefe4+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x194838=1.5,_0x9966b6=0x64/0x3;function _0x4aa8f3(_0x224154,_0xf9ace){for(const [_0x412d10,_0xa7baec]of Object['entries'](_0xf9ace))_0x224154['setAttributeNS'](null,_0x412d10,_0xa7baec['toString']());}function _0x221308(_0x2b6c94,_0x14600d={}){const _0xf2705=document['createElementNS']('http://www.w3.org/2000/svg',_0x2b6c94);return _0x4aa8f3(_0xf2705,_0x14600d),_0xf2705;}function _0x1af76c(_0x17b110,_0x54d066,_0x173f7a){const {x:_0x53c4a7,y:_0x490877,width:_0x5c4980,height:_0x5842a4}=_0x17b110,_0x35c67b=_0x54d066['includes']('w')?0x0:0x1,_0x1dae5f=_0x54d066['includes']('n')?0x0:0x1,_0x4fd00c=0x0===_0x35c67b?-0x1:0x1,_0x20283d=0x0===_0x1dae5f?-0x1:0x1,_0x4acf12=[_0x53c4a7+_0x35c67b*_0x5c4980+_0x194838*_0x4fd00c,_0x490877+_0x1dae5f*_0x5842a4+_0x194838*_0x20283d-0x18*_0x173f7a*_0x20283d],_0xa704ed=[_0x53c4a7+_0x35c67b*_0x5c4980+_0x194838*_0x4fd00c,_0x490877+_0x1dae5f*_0x5842a4+_0x194838*_0x20283d],_0x530b70=[_0x53c4a7+_0x35c67b*_0x5c4980-0x18*_0x173f7a*_0x4fd00c+_0x194838*_0x4fd00c,_0x490877+_0x1dae5f*_0x5842a4+_0x194838*_0x20283d];return{'d':'M\x20'+_0x4acf12[0x0]+'\x20'+_0x4acf12[0x1]+'\x20L\x20'+_0xa704ed[0x0]+'\x20'+_0xa704ed[0x1]+'\x20L\x20'+_0x530b70[0x0]+'\x20'+_0x530b70[0x1],'center':[_0xa704ed[0x0],_0xa704ed[0x1]]};}function _0x16380b(_0x58d643,_0xe39ab0,_0x2a58bd){const {x:_0x53a5a9,y:_0x8f84c3,width:_0x533f02,height:_0x314c2a}=_0x58d643,_0x13c17e='n'===_0xe39ab0||'s'===_0xe39ab0,_0x3c9c7b=_0x13c17e?0.5:'w'===_0xe39ab0?0x0:0x1,_0x1f868a='w'===_0xe39ab0||'e'===_0xe39ab0?0.5:'n'===_0xe39ab0?0x0:0x1,_0x407b7b='w'===_0xe39ab0?-0x1:'e'===_0xe39ab0?0x1:0x0,_0x37a466='n'===_0xe39ab0?-0x1:'s'===_0xe39ab0?0x1:0x0;let _0x4db168,_0x3b6f82;return _0x13c17e?(_0x4db168=[_0x53a5a9+_0x3c9c7b*_0x533f02-0x22*_0x2a58bd/0x2,_0x8f84c3+_0x1f868a*_0x314c2a+_0x194838*_0x37a466],_0x3b6f82=[_0x53a5a9+_0x3c9c7b*_0x533f02+0x22*_0x2a58bd/0x2,_0x8f84c3+_0x1f868a*_0x314c2a+_0x194838*_0x37a466]):(_0x4db168=[_0x53a5a9+_0x3c9c7b*_0x533f02+_0x194838*_0x407b7b,_0x8f84c3+_0x1f868a*_0x314c2a-0x22*_0x2a58bd/0x2],_0x3b6f82=[_0x53a5a9+_0x3c9c7b*_0x533f02+_0x194838*_0x407b7b,_0x8f84c3+_0x1f868a*_0x314c2a+0x22*_0x2a58bd/0x2]),{'d':'M\x20'+_0x4db168[0x0]+'\x20'+_0x4db168[0x1]+'\x20L\x20'+_0x3b6f82[0x0]+'\x20'+_0x3b6f82[0x1],'center':[(_0x4db168[0x0]+_0x3b6f82[0x0])/0x2,(_0x4db168[0x1]+_0x3b6f82[0x1])/0x2]};}function _0x19e73e(_0x2a31c4,_0x2f5706){let {x:_0x26e2a0}=_0x2a31c4,{y:_0x3cd081}=_0x2a31c4;return _0x2a31c4['x']<_0x2f5706['x']?_0x26e2a0=_0x2f5706['x']:_0x2a31c4['x']+_0x2a31c4['width']>_0x2f5706['x']+_0x2f5706['width']&&(_0x26e2a0=_0x2f5706['x']+_0x2f5706['width']-_0x2a31c4['width']),_0x2a31c4['y']<_0x2f5706['y']?_0x3cd081=_0x2f5706['y']:_0x2a31c4['y']+_0x2a31c4['height']>_0x2f5706['y']+_0x2f5706['height']&&(_0x3cd081=_0x2f5706['y']+_0x2f5706['height']-_0x2a31c4['height']),{..._0x2a31c4,'x':_0x26e2a0,'y':_0x3cd081};}function _0x5b6c78({direction:_0x34bfc5,..._0x1ac189}){switch(_0x34bfc5){case'n':return function({rect:_0x5ac58e,delta:_0x5a9955,aspectRatio:_0x59bd64,imageBox:_0x432792}){const [,_0x266f19]=_0x5a9955;let {y:_0x1f3d89,width:_0x4ae288,height:_0x556511}=_0x5ac58e;_0x1f3d89+=_0x266f19,_0x556511-=_0x266f19,_0x59bd64&&(_0x4ae288=_0x556511*_0x59bd64);let _0x4752c4=_0x5ac58e['x']+_0x5ac58e['width']/0x2-_0x4ae288/0x2;return _0x1f3d89<=_0x432792['y']&&(_0x1f3d89=_0x432792['y'],_0x556511=_0x5ac58e['y']+_0x5ac58e['height']-_0x1f3d89,_0x59bd64&&(_0x4ae288=_0x556511*_0x59bd64,_0x4752c4=_0x5ac58e['x']+_0x5ac58e['width']/0x2-_0x4ae288/0x2)),_0x4752c4<=_0x432792['x']&&(_0x4752c4=_0x432792['x'],_0x1f3d89=_0x5ac58e['y']+_0x5ac58e['height']-_0x556511),_0x4752c4+_0x4ae288>=_0x432792['x']+_0x432792['width']&&(_0x4752c4=Math['max'](_0x432792['x'],_0x432792['x']+_0x432792['width']-_0x4ae288),_0x4ae288=_0x432792['x']+_0x432792['width']-_0x4752c4,_0x59bd64&&(_0x556511=_0x4ae288/_0x59bd64),_0x1f3d89=_0x5ac58e['y']+_0x5ac58e['height']-_0x556511),_0x556511<0x1&&(_0x556511=0x1,_0x59bd64&&(_0x4ae288=_0x556511*_0x59bd64,_0x4752c4=_0x5ac58e['x']+_0x5ac58e['width']/0x2-_0x4ae288/0x2),_0x1f3d89=_0x5ac58e['y']+_0x5ac58e['height']-_0x556511),_0x4ae288<0x1&&(_0x4ae288=0x1,_0x59bd64&&(_0x556511=_0x4ae288/_0x59bd64,_0x4752c4=_0x5ac58e['x']+_0x5ac58e['width']/0x2-_0x4ae288/0x2),_0x1f3d89=_0x5ac58e['y']+_0x5ac58e['height']-_0x556511),{'x':_0x4752c4,'y':_0x1f3d89,'width':_0x4ae288,'height':_0x556511};}(_0x1ac189);case'w':return function({rect:_0x199cde,delta:_0x29dab4,aspectRatio:_0x131c25,imageBox:_0x2feeac}){const [_0x204ef5]=_0x29dab4;let {x:_0x4b367a,width:_0x23b870,height:_0x2cfe24}=_0x199cde;_0x4b367a+=_0x204ef5,_0x23b870-=_0x204ef5,_0x131c25&&(_0x2cfe24=_0x23b870/_0x131c25);let _0x29c959=_0x199cde['y']+_0x199cde['height']/0x2-_0x2cfe24/0x2;return _0x4b367a<=_0x2feeac['x']&&(_0x4b367a=_0x2feeac['x'],_0x23b870=_0x199cde['x']+_0x199cde['width']-_0x4b367a,_0x131c25&&(_0x2cfe24=_0x23b870/_0x131c25,_0x29c959=_0x199cde['y']+_0x199cde['height']/0x2-_0x2cfe24/0x2)),_0x29c959<=_0x2feeac['y']&&(_0x29c959=_0x2feeac['y'],_0x4b367a=_0x199cde['x']+_0x199cde['width']-_0x23b870),_0x29c959+_0x2cfe24>=_0x2feeac['y']+_0x2feeac['height']&&(_0x29c959=Math['max'](_0x2feeac['y'],_0x2feeac['y']+_0x2feeac['height']-_0x2cfe24),_0x2cfe24=_0x2feeac['y']+_0x2feeac['height']-_0x29c959,_0x131c25&&(_0x23b870=_0x2cfe24*_0x131c25),_0x4b367a=_0x199cde['x']+_0x199cde['width']-_0x23b870),_0x2cfe24<0x1&&(_0x2cfe24=0x1,_0x131c25&&(_0x23b870=_0x2cfe24*_0x131c25),_0x29c959=_0x199cde['y']+_0x199cde['height']/0x2-_0x2cfe24/0x2,_0x4b367a=_0x199cde['x']+_0x199cde['width']-_0x23b870),_0x23b870<0x1&&(_0x23b870=0x1,_0x131c25&&(_0x2cfe24=_0x23b870/_0x131c25),_0x29c959=_0x199cde['y']+_0x199cde['height']/0x2-_0x2cfe24/0x2,_0x4b367a=_0x199cde['x']+_0x199cde['width']-_0x23b870),{'x':_0x4b367a,'y':_0x29c959,'width':_0x23b870,'height':_0x2cfe24};}(_0x1ac189);case's':return function({rect:_0x1473c2,delta:_0x47a99e,aspectRatio:_0x24ac83,imageBox:_0x718d0d}){const [,_0x55bc6b]=_0x47a99e;let {y:_0x22f77f,width:_0x17faf4,height:_0x5526a2}=_0x1473c2;_0x5526a2+=_0x55bc6b,_0x24ac83&&(_0x17faf4=_0x5526a2*_0x24ac83);let _0x1801ce=_0x1473c2['x']+_0x1473c2['width']/0x2-_0x17faf4/0x2;return _0x22f77f+_0x5526a2>=_0x718d0d['y']+_0x718d0d['height']&&(_0x5526a2=_0x718d0d['y']+_0x718d0d['height']-_0x22f77f,_0x24ac83&&(_0x17faf4=_0x5526a2*_0x24ac83),_0x1801ce=_0x1473c2['x']+_0x1473c2['width']/0x2-_0x17faf4/0x2),_0x1801ce<=_0x718d0d['x']&&(_0x1801ce=_0x718d0d['x'],_0x22f77f=_0x1473c2['y']),_0x1801ce+_0x17faf4>=_0x718d0d['x']+_0x718d0d['width']&&(_0x1801ce=Math['max'](_0x718d0d['x'],_0x718d0d['x']+_0x718d0d['width']-_0x17faf4),_0x17faf4=_0x718d0d['x']+_0x718d0d['width']-_0x1801ce,_0x24ac83&&(_0x5526a2=_0x17faf4/_0x24ac83),_0x22f77f=_0x1473c2['y']),_0x5526a2<0x1&&(_0x5526a2=0x1,_0x24ac83&&(_0x17faf4=_0x5526a2*_0x24ac83),_0x1801ce=_0x1473c2['x']+_0x1473c2['width']/0x2-_0x17faf4/0x2),_0x17faf4<0x1&&(_0x17faf4=0x1,_0x24ac83&&(_0x5526a2=_0x17faf4/_0x24ac83),_0x1801ce=_0x1473c2['x']+_0x1473c2['width']/0x2-_0x17faf4/0x2),{'x':_0x1801ce,'y':_0x22f77f,'width':_0x17faf4,'height':_0x5526a2};}(_0x1ac189);case'e':return function({rect:_0x5b7962,delta:_0x77f671,aspectRatio:_0x366c12,imageBox:_0x23fc74}){const [_0x3859b0]=_0x77f671;let {x:_0x301784,width:_0x18c433,height:_0x328deb}=_0x5b7962;_0x18c433+=_0x3859b0,_0x366c12&&(_0x328deb=_0x18c433/_0x366c12);let _0x3e9121=_0x5b7962['y']+_0x5b7962['height']/0x2-_0x328deb/0x2;return _0x301784+_0x18c433>=_0x23fc74['x']+_0x23fc74['width']&&(_0x18c433=_0x23fc74['x']+_0x23fc74['width']-_0x301784,_0x366c12&&(_0x328deb=_0x18c433/_0x366c12),_0x3e9121=_0x5b7962['y']+_0x5b7962['height']/0x2-_0x328deb/0x2),_0x3e9121<=_0x23fc74['y']&&(_0x3e9121=_0x23fc74['y'],_0x301784=_0x5b7962['x']),_0x3e9121+_0x328deb>=_0x23fc74['y']+_0x23fc74['height']&&(_0x3e9121=Math['max'](_0x23fc74['y'],_0x23fc74['y']+_0x23fc74['height']-_0x328deb),_0x328deb=_0x23fc74['y']+_0x23fc74['height']-_0x3e9121,_0x366c12&&(_0x18c433=_0x328deb*_0x366c12),_0x301784=_0x5b7962['x']),_0x328deb<0x1&&(_0x328deb=0x1,_0x366c12&&(_0x18c433=_0x328deb*_0x366c12),_0x3e9121=_0x5b7962['y']+_0x5b7962['height']/0x2-_0x328deb/0x2),_0x18c433<0x1&&(_0x18c433=0x1,_0x366c12&&(_0x328deb=_0x18c433/_0x366c12),_0x3e9121=_0x5b7962['y']+_0x5b7962['height']/0x2-_0x328deb/0x2),{'x':_0x301784,'y':_0x3e9121,'width':_0x18c433,'height':_0x328deb};}(_0x1ac189);case'nw':return function({rect:_0x1c6365,delta:_0x6a5379,aspectRatio:_0x560add,imageBox:_0x6a5fc0}){let [_0x5e6a1c,_0x30ad12]=_0x6a5379,{x:_0x59fcd0,y:_0x1bbd9b,width:_0x4c0883,height:_0x307fd3}=_0x1c6365;return _0x59fcd0+_0x5e6a1c<_0x6a5fc0['x']&&(_0x5e6a1c=_0x6a5fc0['x']-_0x59fcd0),_0x1bbd9b+_0x30ad12<_0x6a5fc0['y']&&(_0x30ad12=_0x6a5fc0['y']-_0x1bbd9b),_0x59fcd0+=_0x5e6a1c,_0x4c0883-=_0x5e6a1c,_0x1bbd9b+=_0x30ad12,_0x307fd3-=_0x30ad12,_0x560add&&Math['abs'](_0x4c0883/_0x307fd3)>_0x560add?(_0x30ad12=_0x4c0883/_0x560add-_0x307fd3,_0x307fd3+=_0x30ad12,_0x1bbd9b-=_0x30ad12,_0x1bbd9b<=_0x6a5fc0['y']&&(_0x307fd3-=_0x6a5fc0['y']-_0x1bbd9b,_0x4c0883=_0x307fd3*_0x560add,_0x59fcd0=_0x1c6365['x']+_0x1c6365['width']-_0x4c0883,_0x1bbd9b=_0x6a5fc0['y'])):_0x560add&&(_0x5e6a1c=_0x307fd3*_0x560add-_0x4c0883,_0x4c0883+=_0x5e6a1c,_0x59fcd0-=_0x5e6a1c,_0x59fcd0<=_0x6a5fc0['x']&&(_0x4c0883-=_0x6a5fc0['x']-_0x59fcd0,_0x307fd3=_0x4c0883/_0x560add,_0x59fcd0=_0x6a5fc0['x'],_0x1bbd9b=_0x1c6365['y']+_0x1c6365['height']-_0x307fd3)),_0x307fd3<0x1&&(_0x307fd3=0x1,_0x560add&&(_0x4c0883=_0x307fd3*_0x560add),_0x59fcd0=_0x1c6365['x']+_0x1c6365['width']-_0x4c0883,_0x1bbd9b=_0x1c6365['y']+_0x1c6365['height']-_0x307fd3),_0x4c0883<0x1&&(_0x4c0883=0x1,_0x560add&&(_0x307fd3=_0x4c0883/_0x560add),_0x59fcd0=_0x1c6365['x']+_0x1c6365['width']-_0x4c0883,_0x1bbd9b=_0x1c6365['y']+_0x1c6365['height']-_0x307fd3),{'x':_0x59fcd0,'y':_0x1bbd9b,'width':_0x4c0883,'height':_0x307fd3};}(_0x1ac189);case'ne':return function({rect:_0x2b8c9d,delta:_0x5be0ae,aspectRatio:_0x2567bc,imageBox:_0xf5eca7}){let [_0x2f2b80,_0x54e2b2]=_0x5be0ae,{x:_0x68032c,y:_0x5e1a78,width:_0x1112e7,height:_0x5b400d}=_0x2b8c9d;return _0x68032c+_0x1112e7+_0x2f2b80>_0xf5eca7['x']+_0xf5eca7['width']&&(_0x2f2b80=_0xf5eca7['x']+_0xf5eca7['width']-_0x68032c-_0x1112e7),_0x5e1a78+_0x54e2b2<_0xf5eca7['y']&&(_0x54e2b2=_0xf5eca7['y']-_0x5e1a78),_0x1112e7+=_0x2f2b80,_0x5e1a78+=_0x54e2b2,_0x5b400d-=_0x54e2b2,_0x2567bc&&Math['abs'](_0x1112e7/_0x5b400d)>_0x2567bc?(_0x54e2b2=_0x1112e7/_0x2567bc-_0x5b400d,_0x5b400d+=_0x54e2b2,_0x5e1a78-=_0x54e2b2,_0x5e1a78<=_0xf5eca7['y']&&(_0x5b400d-=_0xf5eca7['y']-_0x5e1a78,_0x1112e7=_0x5b400d*_0x2567bc,_0x68032c=_0x2b8c9d['x'],_0x5e1a78=_0xf5eca7['y'])):_0x2567bc&&(_0x2f2b80=_0x5b400d*_0x2567bc-_0x1112e7,_0x1112e7+=_0x2f2b80,_0x68032c+_0x1112e7>=_0xf5eca7['x']+_0xf5eca7['width']&&(_0x1112e7=_0xf5eca7['x']+_0xf5eca7['width']-_0x68032c,_0x5b400d=_0x1112e7/_0x2567bc,_0x68032c=_0xf5eca7['x']+_0xf5eca7['width']-_0x1112e7,_0x5e1a78=_0x2b8c9d['y']+_0x2b8c9d['height']-_0x5b400d)),_0x5b400d<0x1&&(_0x5b400d=0x1,_0x2567bc&&(_0x1112e7=_0x5b400d*_0x2567bc),_0x5e1a78=_0x2b8c9d['y']+_0x2b8c9d['height']-_0x5b400d),_0x1112e7<0x1&&(_0x1112e7=0x1,_0x2567bc&&(_0x5b400d=_0x1112e7/_0x2567bc),_0x5e1a78=_0x2b8c9d['y']+_0x2b8c9d['height']-_0x5b400d),{'x':_0x68032c,'y':_0x5e1a78,'width':_0x1112e7,'height':_0x5b400d};}(_0x1ac189);case'sw':return function({rect:_0x21a2af,delta:_0x567120,aspectRatio:_0x44c2a6,imageBox:_0x353d88}){let [_0x144c3c,_0x2ed0f8]=_0x567120,{x:_0x221921,y:_0x579295,width:_0x55919d,height:_0x4e2c48}=_0x21a2af;return _0x221921+_0x144c3c<_0x353d88['x']&&(_0x144c3c=_0x353d88['x']-_0x221921),_0x579295+_0x4e2c48+_0x2ed0f8>_0x353d88['y']+_0x353d88['height']&&(_0x2ed0f8=_0x353d88['y']+_0x353d88['height']-_0x579295-_0x4e2c48),_0x221921+=_0x144c3c,_0x55919d-=_0x144c3c,_0x4e2c48+=_0x2ed0f8,_0x44c2a6&&Math['abs'](_0x55919d/_0x4e2c48)>_0x44c2a6?(_0x2ed0f8=_0x55919d/_0x44c2a6-_0x4e2c48,_0x4e2c48+=_0x2ed0f8,_0x579295+_0x4e2c48>=_0x353d88['y']+_0x353d88['height']&&(_0x4e2c48=_0x353d88['y']+_0x353d88['height']-_0x579295,_0x55919d=_0x4e2c48*_0x44c2a6,_0x221921=_0x21a2af['x']+_0x21a2af['width']-_0x55919d,_0x579295=_0x353d88['y']+_0x353d88['height']-_0x4e2c48)):_0x44c2a6&&(_0x144c3c=_0x4e2c48*_0x44c2a6-_0x55919d,_0x55919d+=_0x144c3c,_0x221921-=_0x144c3c,_0x221921<=_0x353d88['x']&&(_0x55919d-=_0x353d88['x']-_0x221921,_0x4e2c48=_0x55919d/_0x44c2a6,_0x221921=_0x353d88['x'],_0x579295=_0x21a2af['y'])),_0x4e2c48<0x1&&(_0x4e2c48=0x1,_0x44c2a6&&(_0x55919d=_0x4e2c48*_0x44c2a6),_0x221921=_0x21a2af['x']+_0x21a2af['width']-_0x55919d),_0x55919d<0x1&&(_0x55919d=0x1,_0x44c2a6&&(_0x4e2c48=_0x55919d/_0x44c2a6),_0x221921=_0x21a2af['x']+_0x21a2af['width']-_0x55919d),{'x':_0x221921,'y':_0x579295,'width':_0x55919d,'height':_0x4e2c48};}(_0x1ac189);case'se':return function({rect:_0x5420a6,delta:_0x55630f,aspectRatio:_0x277673,imageBox:_0x2b6a31}){let [_0x4fcf61,_0x3066f5]=_0x55630f,{x:_0x23937b,y:_0x43ec69,width:_0x19b6d1,height:_0x33dcef}=_0x5420a6;return _0x23937b+_0x19b6d1+_0x4fcf61>_0x2b6a31['x']+_0x2b6a31['width']&&(_0x4fcf61=_0x2b6a31['x']+_0x2b6a31['width']-_0x23937b-_0x19b6d1),_0x43ec69+_0x33dcef+_0x3066f5>_0x2b6a31['y']+_0x2b6a31['height']&&(_0x3066f5=_0x2b6a31['y']+_0x2b6a31['height']-_0x43ec69-_0x33dcef),_0x19b6d1+=_0x4fcf61,_0x33dcef+=_0x3066f5,_0x277673&&Math['abs'](_0x19b6d1/_0x33dcef)>_0x277673?(_0x3066f5=_0x19b6d1/_0x277673-_0x33dcef,_0x33dcef+=_0x3066f5,_0x43ec69+_0x33dcef>=_0x2b6a31['y']+_0x2b6a31['height']&&(_0x33dcef=_0x2b6a31['y']+_0x2b6a31['height']-_0x43ec69,_0x19b6d1=_0x33dcef*_0x277673,_0x23937b=_0x5420a6['x'],_0x43ec69=_0x2b6a31['y']+_0x2b6a31['height']-_0x33dcef)):_0x277673&&(_0x4fcf61=_0x33dcef*_0x277673-_0x19b6d1,_0x19b6d1+=_0x4fcf61,_0x23937b+_0x19b6d1>=_0x2b6a31['x']+_0x2b6a31['width']&&(_0x19b6d1=_0x2b6a31['x']+_0x2b6a31['width']-_0x23937b,_0x33dcef=_0x19b6d1/_0x277673,_0x23937b=_0x2b6a31['x']+_0x2b6a31['width']-_0x19b6d1,_0x43ec69=_0x5420a6['y'])),_0x33dcef<0x1&&(_0x33dcef=0x1,_0x277673&&(_0x19b6d1=_0x33dcef*_0x277673)),_0x19b6d1<0x1&&(_0x19b6d1=0x1,_0x277673&&(_0x33dcef=_0x19b6d1/_0x277673)),{'x':_0x23937b,'y':_0x43ec69,'width':_0x19b6d1,'height':_0x33dcef};}(_0x1ac189);default:return _0x1ac189['rect'];}}function _0x3dc589({width:_0x2f24f3,height:_0x4ca3ad},_0x5779fa){const _0x26afbd=_0x5779fa/0x5a%0x2!=0x0;return{'width':_0x26afbd?_0x4ca3ad:_0x2f24f3,'height':_0x26afbd?_0x2f24f3:_0x4ca3ad};}function _0x1bf46b(_0x44e77,_0x1f93d7,_0x2c149e){let _0x4c43b6,_0x3f341b;_0x44e77/_0x1f93d7>_0x2c149e?(_0x4c43b6=Math['round'](_0x1f93d7*_0x2c149e),_0x3f341b=_0x1f93d7):(_0x4c43b6=_0x44e77,_0x3f341b=Math['round'](_0x44e77/_0x2c149e));const _0x17f428=Math['round']((_0x44e77-_0x4c43b6)/0x2),_0x1a98be=Math['round']((_0x1f93d7-_0x3f341b)/0x2);return _0x17f428+_0x4c43b6>_0x44e77&&(_0x4c43b6=_0x44e77-_0x17f428),_0x1a98be+_0x3f341b>_0x1f93d7&&(_0x3f341b=_0x1f93d7-_0x1a98be),{'x':_0x17f428,'y':_0x1a98be,'width':_0x4c43b6,'height':_0x3f341b};}function _0x4fc0f7(_0x496172){return{'x':Math['round'](_0x496172['x']),'y':Math['round'](_0x496172['y']),'width':Math['round'](_0x496172['width']),'height':Math['round'](_0x496172['height'])};}function _0x2b9a26(_0x4e5d6a,_0x2bb10e,_0x959a4e){return Math['min'](Math['max'](_0x4e5d6a,_0x2bb10e),_0x959a4e);}var _0x3febcb=['free'],_0x1ce447=_0x4215d0=>{const _0x47902e=_0x900720(_0x4215d0);if(!_0x47902e||0x0===_0x47902e['length'])return[];const _0x5e2716=[];for(const _0x39caa3 of _0x47902e){const _0xd24d5f=_0x39caa3['trim']();if(!_0xd24d5f)continue;const _0x3dc729=_0xd24d5f['indexOf'](':');if(-0x1===_0x3dc729&&!_0x3febcb['includes'](_0xd24d5f)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0xd24d5f);continue;}const _0x563126=Number(_0xd24d5f['slice'](0x0,_0x3dc729)),_0x434d7a=Number(_0xd24d5f['slice'](_0x3dc729+0x1));!(!Number['isFinite'](_0x563126)||!Number['isFinite'](_0x434d7a)||_0x563126<=0x0||_0x434d7a<=0x0)||_0x3febcb['includes'](_0xd24d5f)?_0x5e2716['push']({'id':_0xb7b042['generate'](),'type':'aspect-ratio','width':_0x3febcb['includes'](_0xd24d5f)?0x0:_0x563126,'height':_0x3febcb['includes'](_0xd24d5f)?0x0:_0x434d7a,'hasFreeform':_0x3febcb['includes'](_0xd24d5f)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0xd24d5f);}return _0x5e2716;},_0x3a5c51=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x5e5b14=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x3ca01d=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x5e5b14,..._0x3a5c51});function _0x3f4ea3(_0x1ad957){return _0x200eba({..._0x1ad957,'libraryName':_0x57d861,'libraryVersion':_0x42298a});}var _0x509515=_0x5487cb=>'number'!=typeof _0x5487cb?0x0:Math['floor'](_0x5487cb/0x3e8),_0x1fcdf5=class{['_block'];['_secureToken']=null;constructor(_0x50fc29){this['_block']=_0x50fc29;}['_debugPrint'](..._0x356f67){this['_block']['debugPrint']('[secure-uploads]',..._0x356f67);}async['getSecureToken'](){const {secureSignature:_0x5ddca5,secureExpire:_0x3faf37,secureUploadsSignatureResolver:_0x581ec7}=this['_block']['cfg'];if((_0x5ddca5||_0x3faf37)&&_0x581ec7&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x581ec7){if(!this['_secureToken']||((_0x3444a1,{threshold:_0x2e70b9})=>{const {secureExpire:_0x47bfcf}=_0x3444a1,_0x94fa16=_0x509515(Date['now']()),_0x103f25=Number(_0x47bfcf);return _0x94fa16+_0x509515(_0x2e70b9)>=_0x103f25;})(this['_secureToken'],{'threshold':this['_block']['cfg']['secureUploadsExpireThreshold']})){this['_secureToken']?this['_debugPrint']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['_debugPrint']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{const _0xebbe02=await _0x581ec7();_0xebbe02?_0xebbe02['secureSignature']&&_0xebbe02['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0xebbe02),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0xebbe02['secureExpire']))['toISOString']()),this['_secureToken']=_0xebbe02):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0xebbe02):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x3368a7){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x3368a7),this['_block']['telemetryManager']['sendEventError'](_0x3368a7,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x5ddca5&&_0x3faf37?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x5ddca5,'secureExpire':_0x3faf37}),{'secureSignature':_0x5ddca5,'secureExpire':_0x3faf37}):null;}},_0x3baf68=(_0x15a6c5,_0x1db73d)=>{if(_0x15a6c5['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x1db73d['l10n']('some-files-were-not-uploaded')};},_0x5b1c45=(_0x3fd0d7,_0x3ed5dd)=>{const _0x33b213=_0x3fd0d7['totalCount'],_0x26bf8d=_0x3ed5dd['cfg']['multiple']?_0x3ed5dd['cfg']['multipleMin']:0x0,_0x46eb67=_0x3ed5dd['cfg']['multiple']?_0x3ed5dd['cfg']['multipleMax']:0x1;if(_0x26bf8d&&_0x33b213<_0x26bf8d)return{'type':'TOO_FEW_FILES','message':_0x3ed5dd['l10n']('files-count-limit-error-too-few',{'min':_0x26bf8d,'max':_0x46eb67,'total':_0x33b213}),'payload':{'total':_0x33b213,'min':_0x26bf8d,'max':_0x46eb67}};if(_0x46eb67&&_0x33b213>_0x46eb67)return{'type':'TOO_MANY_FILES','message':_0x3ed5dd['l10n']('files-count-limit-error-too-many',{'min':_0x26bf8d,'max':_0x46eb67,'total':_0x33b213}),'payload':{'total':_0x33b213,'min':_0x26bf8d,'max':_0x46eb67}};},_0x198b17={'safariDesktop':((()=>{const _0x25e498=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x25e498)&&/Version\/[\d.]+.*Safari/['test'](_0x25e498)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x25e498);})())},_0x5632bd={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x40ea29='image/*',_0x16619a='video/*',_0x3708db=_0x198b17['safariDesktop']?[_0x40ea29]:[_0x40ea29,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x439f56=_0x4c3119=>_0x4c3119?_0x4c3119['filter'](_0x3e58c6=>'string'==typeof _0x3e58c6)['flatMap'](_0x51c17c=>_0x900720(_0x51c17c)):[],_0x510ae8=(_0x29a725,_0x25a0c3)=>_0x25a0c3['some'](_0x296c1f=>{if(_0x296c1f['endsWith']('*')){const _0x59aa9e=_0x296c1f['replace']('*','');return _0x29a725['startsWith'](_0x59aa9e);}return _0x29a725===_0x296c1f;}),_0x115428=_0x3692ab=>{const _0x74ee5=_0x3692ab?.['type'];return!!_0x74ee5&&_0x510ae8(_0x74ee5,_0x3708db);},_0x5ab9c4=(_0x241544,_0x5882eb)=>{const _0x70e547=_0x5882eb['cfg']['imgOnly'],_0x4fa2f0=_0x5882eb['cfg']['accept'],_0x1bf89f=_0x439f56([..._0x70e547?_0x3708db:[],_0x4fa2f0]);if(!_0x1bf89f['length'])return;const _0x1b54d6=_0x241544['mimeType'],_0x35a046=_0x241544['name'];if(!_0x1b54d6||!_0x35a046)return;const _0x4481d2=_0x510ae8(_0x1b54d6,_0x1bf89f),_0x4766a1=((_0x50dcf8,_0x4aa238)=>_0x4aa238['some'](_0xea6204=>!!_0xea6204['startsWith']('.')&&_0x50dcf8['toLowerCase']()['endsWith'](_0xea6204['toLowerCase']())))(_0x35a046,_0x1bf89f);return _0x4481d2||_0x4766a1?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x5882eb['l10n']('file-type-not-allowed'),'payload':{'entry':_0x241544}};},_0x4fa899=(_0x43fc3d,_0x3d54b4)=>{const _0x216a9c=_0x3d54b4['cfg']['imgOnly'],_0x2431cc=_0x43fc3d['isImage'];if(_0x216a9c&&!_0x2431cc&&(_0x43fc3d['fileInfo']||!_0x43fc3d['externalUrl'])&&(_0x43fc3d['fileInfo']||_0x43fc3d['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x3d54b4['l10n']('images-only-accepted'),'payload':{'entry':_0x43fc3d}};},_0x368e91=0x3e8,_0xc530cd=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x48fec8=_0x169dd6=>Math['ceil'](0x64*_0x169dd6)/0x64,_0x4b82ea=(_0x15d65f,_0x5f17dd=_0xc530cd['AUTO'])=>{const _0x2410ba=_0x5f17dd===_0xc530cd['AUTO'];if(_0x5f17dd===_0xc530cd['BYTE']||_0x2410ba&&_0x15d65f<0x3e8)return _0x15d65f+'\x20'+('one'===_0x12fba0('en-US',_0x15d65f)?'byte':'bytes');return _0x5f17dd===_0xc530cd['KB']||_0x2410ba&&_0x15d65f<0xf4240?_0x48fec8(_0x15d65f/0x3e8)+'\x20KB':_0x5f17dd===_0xc530cd['MB']||_0x2410ba&&_0x15d65f<_0x368e91**0x3?_0x48fec8(_0x15d65f/0xf4240)+'\x20MB':_0x5f17dd===_0xc530cd['GB']||_0x2410ba&&_0x15d65f<_0x368e91**0x4?_0x48fec8(_0x15d65f/_0x368e91**0x3)+'\x20GB':_0x5f17dd===_0xc530cd['TB']||_0x2410ba&&_0x15d65f<_0x368e91**0x5?_0x48fec8(_0x15d65f/_0x368e91**0x4)+'\x20TB':_0x48fec8(_0x15d65f/_0x368e91**0x5)+'\x20PB';},_0x2a300c=(_0x1692a4,_0x12ec56)=>{const _0x591fa6=_0x12ec56['cfg']['maxLocalFileSizeBytes'],_0xfafc8e=_0x1692a4['size'];if(_0x591fa6&&_0xfafc8e&&_0xfafc8e>_0x591fa6)return{'type':'FILE_SIZE_EXCEEDED','message':_0x12ec56['l10n']('files-max-size-limit-error',{'maxFileSize':_0x4b82ea(_0x591fa6)}),'payload':{'entry':_0x1692a4}};},_0x2aa1b2=(_0x519d08,_0x59e52f)=>{const {internalId:_0x588fd9}=_0x519d08,_0x199276=_0x59e52f['_uploadCollection']['read'](_0x588fd9),_0x87bd99=_0x199276?.['getValue']('uploadError');if(!_0x87bd99)return;if(_0x87bd99 instanceof _0x52086c)return{'type':'UPLOAD_ERROR','message':_0x87bd99['message'],'payload':{'entry':_0x519d08,'error':_0x87bd99}};if(_0x87bd99 instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x87bd99['message'],'payload':{'entry':_0x519d08,'error':_0x87bd99}};const _0xc432cd=_0x87bd99 instanceof Error?_0x87bd99:new Error('Unknown\x20error',{'cause':_0x87bd99});return{'type':'UNKNOWN_ERROR','message':_0xc432cd['message'],'payload':{'entry':_0x519d08,'error':_0xc432cd}};},tD='File\x20validator\x20execution\x20has\x20failed',_0x2b9532='File\x20validator\x20execution\x20has\x20timed\x20out',_0x3735ed='Collection\x20validator\x20execution\x20has\x20failed',_0x425789='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x413f80=_0x5c75c1=>'function'==typeof _0x5c75c1?{'runOn':'change','validator':_0x5c75c1}:_0x5c75c1,_0x2f4854=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[_0x4fa899,_0x5ab9c4,_0x2a300c,_0x2aa1b2];['_commonCollectionValidators']=[_0x5b1c45,_0x3baf68];['_queue']=new _0x18ad93(0x14);['_runQueueDebounced']=_0x23052c(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0xe23ad3){this['_blockInstance']=_0xe23ad3,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x1f6efe=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x1f6efe),this['_blockInstance']['subConfigValue']('multipleMin',_0x1f6efe),this['_blockInstance']['subConfigValue']('multipleMax',_0x1f6efe),this['_blockInstance']['subConfigValue']('multiple',_0x1f6efe),this['_blockInstance']['subConfigValue']('imgOnly',_0x1f6efe),this['_blockInstance']['subConfigValue']('accept',_0x1f6efe),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x15477e=>{this['_queue']['concurrency']=_0x15477e;});}['runFileValidators'](_0x4f6ab9,_0x31bb11){const _0x37b857=_0x31bb11??this['_uploadCollection']['items']();for(const _0x3cd5d1 of _0x37b857){const _0x47d0b8=this['_uploadCollection']['read'](_0x3cd5d1);_0x47d0b8&&this['_runFileValidatorsForEntry'](_0x47d0b8,_0x4f6ab9);}}['runCollectionValidators'](){const _0x57dff1=this['_blockInstance']['api']['getOutputCollectionState'](),_0x1d15ce=[];for(const _0x6e3b63 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x3ba018=_0x6e3b63(_0x57dff1,this['_blockInstance']['api']);if(!_0x3ba018)continue;_0x3ba018&&(_0x1d15ce['push'](this['_addCustomTypeToValidationError'](_0x3ba018)),_0x3ba018['message']||console['warn'](_0x425789));}catch(_0x35847a){console['warn'](_0x3735ed,_0x35847a);}this['_blockInstance']['$']['*collectionErrors']=_0x1d15ce,_0x1d15ce['length']>0x0&&this['_blockInstance']['emit'](_0x566487['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x9de05a){const _0x506f83=this['_entryValidationState']['get'](_0x9de05a['uid']);_0x506f83&&(_0x506f83['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x9de05a['uid']));}async['_runFileValidatorsForEntry'](_0x347767,_0x4c6b40){const _0x535e5b=this['_getValidatorDescriptorsForEntry'](_0x347767,_0x4c6b40);if(0x0===_0x535e5b['length'])return;_0x347767['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0xfe466e=this['_blockInstance']['api']['getOutputItem'](_0x347767['uid']),_0x512621=this['_getEntryValidationState'](_0x347767);_0x512621['promise']&&await _0x512621['promise'];const {promise:_0x165c0c,resolve:_0x1dd8b3}=((()=>{let _0x4f3e3a=()=>{},_0x1b9729=()=>{};return{'promise':new Promise((_0xfa6d81,_0xaaa540)=>{_0x4f3e3a=_0xfa6d81,_0x1b9729=_0xaaa540;}),'resolve':_0x4f3e3a,'reject':_0x1b9729};})());_0x512621['promise']=_0x165c0c;const _0x266012=new AbortController();_0x512621['abortController']=_0x266012;const _0x473b92=this['_blockInstance']['cfg']['validationTimeout'],_0x6c8254=this['_getValidatorDescriptors'](),_0x52aee1=new Set(_0x535e5b['map'](_0x160cbe=>_0x160cbe['validator'])),_0x1d9fdf=[];for(const _0x21240e of _0x6c8254)if(!_0x52aee1['has'](_0x21240e['validator'])){const _0x523f3b=_0x512621['lastErrorThrownByValidator']['get'](_0x21240e['validator']);_0x523f3b&&_0x1d9fdf['push'](_0x523f3b);}const _0x559fac=_0x535e5b['map'](_0x5de569=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x381841=setTimeout(()=>{_0x512621['skippedValidators']['add'](_0x5de569['validator']),_0x266012['abort'](),console['warn'](_0x2b9532);},_0x473b92);try{const _0x169d53=await _0x5de569['validator'](_0xfe466e,this['_blockInstance']['api'],{'signal':_0x266012['signal']});if(!_0x169d53||_0x266012['signal']['aborted'])return void _0x512621['lastErrorThrownByValidator']['set'](_0x5de569['validator'],void 0x0);const _0x1e1c50=this['_addCustomTypeToValidationError'](_0x169d53);_0x512621['lastErrorThrownByValidator']['set'](_0x5de569['validator'],_0x1e1c50),_0x1d9fdf['push'](_0x1e1c50),_0x169d53['message']||console['warn'](_0x425789);}catch(_0x4b6b68){_0x266012['signal']['aborted']||(_0x512621['skippedValidators']['add'](_0x5de569['validator']),console['warn'](tD,_0x4b6b68),this['_blockInstance']['telemetryManager']['sendEventError'](_0x4b6b68,'file\x20validator.\x20'+tD));}finally{clearTimeout(_0x381841),'change'!==_0x5de569['runOn']&&_0x512621['skippedValidators']['add'](_0x5de569['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x347767['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x559fac['map'](_0x3f660c=>_0x3f660c()))['catch'](()=>{});},{'autoRun':!0x1}),_0x266012['signal']['aborted'])return _0x347767['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x1dd8b3();_0x347767['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x1d9fdf}),_0x1dd8b3();}['_addCustomTypeToValidationError'](_0x5abe6a){return{..._0x5abe6a,'type':_0x5abe6a['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x3b6366){const _0x3fca56=this['_entryValidationState']['get'](_0x3b6366['uid']);if(_0x3fca56)return _0x3fca56;const _0x2607a7={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x3b6366['uid'],_0x2607a7),_0x2607a7;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](_0x413f80);}['_getValidatorDescriptorsForEntry'](_0x53031f,_0x31c990){const _0x5bd4cd=this['_getEntryValidationState'](_0x53031f);return this['_getValidatorDescriptors']()['filter'](_0x2441b0=>!_0x5bd4cd['skippedValidators']['has'](_0x2441b0['validator']))['filter'](_0x148beb=>_0x148beb['runOn']===_0x31c990);}},_0x7e53d9='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x32818f=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x36ce3e,_0x1448f9){this['__typedSchema']=_0x36ce3e,this['__ctxId']=_0x1448f9||_0xb7b042['generate'](),this['__schema']=Object['keys'](_0x36ce3e)['reduce']((_0x2a3846,_0xeb7b75)=>(_0x36ce3e[_0xeb7b75]&&(_0x2a3846[_0xeb7b75]=_0x36ce3e[_0xeb7b75]['value']),_0x2a3846),{}),this['__data']=_0x58010a['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x1b18e7,_0x2d3653){if(!Object['hasOwn'](this['__typedSchema'],_0x1b18e7)||!this['__typedSchema'][_0x1b18e7])return void console['warn'](_0x7e53d9+_0x1b18e7);const _0x14ef9a=this['__typedSchema'][_0x1b18e7],_0x46e6d6=_0x2d3653?.['constructor']===_0x14ef9a['type'],_0x3d3e5c=_0x2d3653 instanceof _0x14ef9a['type'],_0x359c2a=_0x14ef9a['nullable']&&null===_0x2d3653;_0x46e6d6||_0x3d3e5c||_0x359c2a?this['__data']['pub'](_0x1b18e7,_0x2d3653):console['warn']('[Typed\x20State]\x20Wrong\x20property\x20type:\x20'+_0x1b18e7);}['setMultipleValues'](_0x88f3c9){for(const [_0x2833d0,_0x57c543]of Object['entries'](_0x88f3c9))this['setValue'](_0x2833d0,_0x57c543);}['getValue'](_0x1b0e78){return Object['hasOwn'](this['__typedSchema'],_0x1b0e78)||console['warn'](_0x7e53d9+_0x1b0e78),this['__data']['read'](_0x1b0e78);}['subscribe'](_0x5b44cd,_0x10f81d){return this['__data']['sub'](_0x5b44cd,_0x10f81d);}['remove'](){_0x58010a['deleteCtx'](this['__ctxId']);}},_0x5ef307=class{['__typedSchema'];['__ctxId'];['__data'];['__watchList'];['__subsMap']=Object['create'](null);['__propertyObservers']=new Set();['__collectionObservers']=new Set();['__items']=new Set();['__removed']=new Set();['__added']=new Set();['__observeTimeout'];['__notifyTimeout'];['__notifyObservers'];constructor(_0x38d6f2){this['__typedSchema']=_0x38d6f2['typedSchema'],this['__ctxId']=_0x38d6f2['ctxName']||_0xb7b042['generate'](),this['__data']=_0x58010a['registerCtx']({},this['__ctxId']),this['__watchList']=_0x38d6f2['watchList']||[];let _0x5a1503=Object['create'](null);this['__notifyObservers']=(_0x5e8fe2,_0x5a43a8)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x5a1503[_0x5e8fe2]||(_0x5a1503[_0x5e8fe2]=new Set()),_0x5a1503[_0x5e8fe2]['add'](_0x5a43a8),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x5a1503)['length']&&(this['__propertyObservers']['forEach'](_0x3173a2=>{_0x3173a2({..._0x5a1503});}),_0x5a1503=Object['create'](null));});},_0x38d6f2['handler']&&this['observeCollection'](_0x38d6f2['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x480618=new Set(this['__added']),_0x5f2021=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x2a07be of this['__collectionObservers'])_0x2a07be?.([...this['__items']],_0x480618,_0x5f2021);});}['observeCollection'](_0x1319ed){return this['__collectionObservers']['add'](_0x1319ed),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x1319ed);};}['unobserveCollection'](_0x336234){this['__collectionObservers']['delete'](_0x336234);}['add'](_0x56b7d5){const _0x5574f3=new _0x32818f(this['__typedSchema']);for(const [_0x230deb,_0x37db9d]of Object['entries'](_0x56b7d5))void 0x0!==_0x37db9d&&_0x5574f3['setValue'](_0x230deb,_0x37db9d);return this['__items']['add'](_0x5574f3['uid']),this['notify'](),this['__data']['add'](_0x5574f3['uid'],_0x5574f3),this['__added']['add'](_0x5574f3),this['__watchList']['forEach'](_0x2513b9=>{this['__subsMap'][_0x5574f3['uid']]||(this['__subsMap'][_0x5574f3['uid']]=[]),this['__subsMap'][_0x5574f3['uid']]?.['push'](_0x5574f3['subscribe'](_0x2513b9,()=>{this['__notifyObservers'](_0x2513b9,_0x5574f3['uid']);}));}),_0x5574f3['uid'];}['read'](_0x4db48e){return this['__data']['read'](_0x4db48e);}['readProp'](_0x511c2d,_0x2edb1d){const _0x55a9c1=this['read'](_0x511c2d);return _0x55a9c1?_0x55a9c1['getValue'](_0x2edb1d):(console['warn']('Item\x20with\x20id\x20'+_0x511c2d+'\x20not\x20found'),null);}['publishProp'](_0x110ade,_0xb252a5,_0x2ac328){const _0x25f637=this['read'](_0x110ade);_0x25f637?_0x25f637['setValue'](_0xb252a5,_0x2ac328):console['warn']('Item\x20with\x20id\x20'+_0x110ade+'\x20not\x20found');}['remove'](_0xc8dd5a){const _0x441e39=this['read'](_0xc8dd5a);_0x441e39&&this['__removed']['add'](_0x441e39),this['__items']['delete'](_0xc8dd5a),this['notify'](),this['__data']['pub'](_0xc8dd5a,null),delete this['__subsMap'][_0xc8dd5a];}['clearAll'](){this['__items']['forEach'](_0x2e9284=>{this['remove'](_0x2e9284);});}['observeProperties'](_0x2e80ae){return this['__propertyObservers']['add'](_0x2e80ae),()=>{this['unobserveProperties'](_0x2e80ae);};}['unobserveProperties'](_0x3bb4d2){this['__propertyObservers']['delete'](_0x3bb4d2);}['findItems'](_0x213e50){const _0x5123e3=[];return this['__items']['forEach'](_0x2ebad0=>{const _0x3cba6e=this['read'](_0x2ebad0);_0x3cba6e&&_0x213e50(_0x3cba6e)&&_0x5123e3['push'](_0x2ebad0);}),_0x5123e3;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){_0x58010a['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x16b4bb in this['__subsMap'])this['__subsMap'][_0x16b4bb]?.['forEach'](_0x14e164=>{_0x14e164['remove']();}),delete this['__subsMap'][_0x16b4bb];}},_0x2ce99c=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x38d016=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x12badd=_0x1154d2=>({'isVideoRecordingEnabled':_0x4c7c3d(_0x1154d2['cameraModes'])['includes'](_0x2ce99c['VIDEO']),'isPhotoEnabled':_0x4c7c3d(_0x1154d2['cameraModes'])['includes'](_0x2ce99c['PHOTO'])}),_0x3e66f2=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');function _0x3d8738(_0x3426e2){const _0xda9511=new Map();return(..._0x37948f)=>{const _0x3cdd2c=JSON['stringify'](_0x37948f);if(_0xda9511['has'](_0x3cdd2c))return _0xda9511['get'](_0x3cdd2c);const _0x4264ae=_0x3426e2(..._0x37948f);return _0xda9511['set'](_0x3cdd2c,_0x4264ae),_0x4264ae;};}var _0x4f031f=new Set();function _0xdfcfed(_0x3e4d72){_0x4f031f['has'](_0x3e4d72)||(_0x4f031f['add'](_0x3e4d72),console['warn'](_0x3e4d72));}function _0x319c3a(_0x138cef){const _0x3aad44={},_0x47f5cc={'progress':()=>_0x138cef['$']['*commonProgress'],'errors':()=>_0x138cef['$']['*collectionErrors'],'group':()=>_0x138cef['$']['*groupInfo'],'totalCount':()=>_0x138cef['uploadCollection']['size'],'failedCount':()=>_0x3aad44['failedEntries']['length'],'successCount':()=>_0x3aad44['successEntries']['length'],'uploadingCount':()=>_0x3aad44['uploadingEntries']['length'],'status':()=>_0x3aad44['isFailed']?'failed':_0x3aad44['isUploading']?'uploading':_0x3aad44['isSuccess']?'success':'idle','isSuccess':()=>_0x3aad44['allEntries']['length']>0x0&&0x0===_0x3aad44['errors']['length']&&_0x3aad44['successEntries']['length']===_0x3aad44['allEntries']['length'],'isUploading':()=>_0x3aad44['allEntries']['some'](_0xe5ae73=>'uploading'===_0xe5ae73['status']),'isFailed':()=>_0x3aad44['errors']['length']>0x0||_0x3aad44['failedEntries']['length']>0x0,'allEntries':()=>_0x138cef['getOutputData'](),'successEntries':()=>_0x3aad44['allEntries']['filter'](_0x3d59af=>'success'===_0x3d59af['status']),'failedEntries':()=>_0x3aad44['allEntries']['filter'](_0x5c74e2=>'failed'===_0x5c74e2['status']),'uploadingEntries':()=>_0x3aad44['allEntries']['filter'](_0x467bd7=>'uploading'===_0x467bd7['status']),'idleEntries':()=>_0x3aad44['allEntries']['filter'](_0x5adf41=>'idle'===_0x5adf41['status'])},_0x2c6c9c=function(_0x30ef69){let _0x39cbe4=!0x1;return setTimeout(()=>{_0x39cbe4=!0x0;},0x0),_0x23f8c5=>(..._0x35493a)=>(_0x39cbe4&&_0xdfcfed(_0x30ef69),_0x23f8c5(..._0x35493a));}('You\x27re\x20trying\x20to\x20access\x20the\x20OutputCollectionState\x20asynchronously.\x20In\x20this\x20case,\x20the\x20data\x20you\x20retrieve\x20will\x20be\x20newer\x20than\x20it\x20was\x20when\x20the\x20OutputCollectionState\x20was\x20created\x20or\x20when\x20the\x20event\x20was\x20dispatched.\x20If\x20you\x20want\x20to\x20retain\x20the\x20state\x20at\x20a\x20specific\x20moment\x20in\x20time,\x20you\x20should\x20use\x20the\x20spread\x20operator\x20like\x20this:\x20`{...outputCollectionState}`\x20or\x20`{...e.detail}`');for(const [_0x214e9d,_0x1a57a1]of Object['entries'](_0x47f5cc)){const _0x14c7cd=_0x214e9d,_0x3a3e3e=_0x3d8738(_0x2c6c9c(_0x1a57a1));Object['defineProperty'](_0x3aad44,_0x14c7cd,{'get':_0x3a3e3e,'enumerable':!0x0});}return _0x3aad44;}var _0x538de6=class{['_ctx'];constructor(_0x564b40){this['_ctx']=_0x564b40;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0xbe1179,{silent:_0x5c9676,fileName:_0x267587,source:_0x2081ec}={})=>{const _0x2063a7=this['_uploadCollection']['add']({'externalUrl':_0xbe1179,'fileName':_0x267587??null,'silent':_0x5c9676??!0x1,'source':_0x2081ec??_0x3ca01d['API']});return this['getOutputItem'](_0x2063a7);};['addFileFromUuid']=(_0x1b11a6,{silent:_0x9f13af,fileName:_0x345b4b,source:_0x276498}={})=>{const _0x5be86e=this['_uploadCollection']['add']({'uuid':_0x1b11a6,'fileName':_0x345b4b??null,'silent':_0x9f13af??!0x1,'source':_0x276498??_0x3ca01d['API']});return this['getOutputItem'](_0x5be86e);};['addFileFromCdnUrl']=(_0xc013ea,{silent:_0x2d28cd,fileName:_0x272923,source:_0x205104}={})=>{const _0x45da99=(({url:_0x363cf5,cdnBase:_0x360ee3})=>{const _0x200c40=new URL(_0x360ee3),_0x5161e7=new URL(_0xe1eaf),_0x378dbe=new URL(_0x363cf5);if(_0x200c40['host']!==_0x378dbe['host']&&_0x5161e7['host']!==_0x378dbe['host'])return null;const _0x238c7a=_0x3e66f2['exec'](_0x378dbe['pathname']);if(!_0x238c7a)return null;const [,_0x503908,_0x195012,_0x1ac0bf]=_0x238c7a;return _0x503908?{'uuid':_0x503908,'cdnUrlModifiers':_0x195012||'','filename':_0x1ac0bf||null}:null;})({'url':_0xc013ea,'cdnBase':this['cfg']['cdnCname']});if(!_0x45da99)throw new Error('Invalid\x20CDN\x20URL');const _0x423028=this['_uploadCollection']['add']({'uuid':_0x45da99['uuid'],'cdnUrl':_0xc013ea,'cdnUrlModifiers':_0x45da99['cdnUrlModifiers'],'fileName':_0x272923??_0x45da99['filename']??null,'silent':_0x2d28cd??!0x1,'source':_0x205104??_0x3ca01d['API']});return this['getOutputItem'](_0x423028);};['addFileFromObject']=(_0x3bb31d,{silent:_0xc0f669,fileName:_0x2cf820,source:_0x9a14c,fullPath:_0x36fa29}={})=>{const _0x36d646=this['_uploadCollection']['add']({'file':_0x3bb31d,'isImage':_0x115428(_0x3bb31d),'mimeType':_0x3bb31d['type'],'fileName':_0x2cf820??_0x3bb31d['name'],'fileSize':_0x3bb31d['size'],'silent':_0xc0f669??!0x1,'source':_0x9a14c??_0x3ca01d['API'],'fullPath':_0x36fa29??null});return this['getOutputItem'](_0x36d646);};['removeFileByInternalId']=_0x50274f=>{if(!this['_uploadCollection']['read'](_0x50274f))throw new Error('File\x20with\x20internalId\x20'+_0x50274f+'\x20not\x20found');this['_uploadCollection']['remove'](_0x50274f);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x5c4ae2=this['_uploadCollection']['items']()['filter'](_0x1a0b5c=>{const _0x5aa835=this['_uploadCollection']['read'](_0x1a0b5c);return!!_0x5aa835&&!(_0x5aa835['getValue']('isRemoved')||_0x5aa835['getValue']('isUploading')||_0x5aa835['getValue']('fileInfo')||0x0!==_0x5aa835['getValue']('errors')['length']||_0x5aa835['getValue']('isValidationPending')||_0x5aa835['getValue']('isQueuedForValidation'));});0x0!==_0x5c4ae2['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x5c4ae2),this['_ctx']['emit'](_0x566487['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x186a94={})=>{const _0x56d06d=_0x3c7eed(_0x439f56([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x3708db:[]])),_0x17397a='uploadcare-file-input',_0x4255a0=document['createElement']('input');if(_0x4255a0['setAttribute'](_0x17397a,''),_0x1d22dd(_0x4255a0,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x4255a0['type']='file',_0x4255a0['multiple']=this['cfg']['multiple'],_0x186a94['captureCamera']){_0x4255a0['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x16afd8,isVideoRecordingEnabled:_0xd83558}=_0x12badd(this['cfg']);_0x186a94['modeCamera']===_0x2ce99c['PHOTO']&&_0x16afd8?_0x4255a0['accept']=_0x40ea29:_0x186a94['modeCamera']===_0x2ce99c['VIDEO']&&_0xd83558?_0x4255a0['accept']=_0x16619a:_0x4255a0['accept']=[_0x40ea29,_0xd83558&&_0x16619a]['filter'](Boolean)['join'](',');}else _0x4255a0['accept']=_0x56d06d;_0x4255a0['addEventListener']('change',()=>{_0x4255a0['files']&&([..._0x4255a0['files']]['forEach'](_0x273586=>{this['addFileFromObject'](_0x273586,{'source':_0x186a94['captureCamera']?_0x3ca01d['CAMERA']:_0x3ca01d['LOCAL']});}),this['_ctx']['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'],_0x4255a0['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x17397a+']')['forEach'](_0x2e2d48=>{_0x2e2d48['remove']();}),document['body']['appendChild'](_0x4255a0),_0x4255a0['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0xea06cc){const _0x13b865=_0x58010a['getCtx'](_0xea06cc)['store'],_0x1a70fd=_0x13b865['fileInfo'],_0x49ba6c=_0x13b865['isRemoved']?'removed':_0x13b865['errors']['length']>0x0?'failed':_0x13b865['fileInfo']?'success':_0x13b865['isUploading']?'uploading':'idle';return{'uuid':_0x1a70fd?.['uuid']??_0x13b865['uuid']??null,'internalId':_0xea06cc,'name':_0x1a70fd?.['originalFilename']??_0x13b865['fileName'],'size':_0x1a70fd?.['size']??_0x13b865['fileSize'],'isImage':_0x1a70fd?.['isImage']??_0x13b865['isImage'],'mimeType':_0x1a70fd?.['mimeType']??_0x13b865['mimeType'],'file':_0x13b865['file'],'externalUrl':_0x13b865['externalUrl'],'cdnUrlModifiers':_0x13b865['cdnUrlModifiers'],'cdnUrl':_0x13b865['cdnUrl']??_0x1a70fd?.['cdnUrl']??null,'fullPath':_0x13b865['fullPath'],'uploadProgress':_0x13b865['uploadProgress'],'fileInfo':_0x1a70fd??null,'metadata':_0x13b865['metadata']??_0x1a70fd?.['metadata']??null,'isSuccess':'success'===_0x49ba6c,'isUploading':'uploading'===_0x49ba6c,'isFailed':'failed'===_0x49ba6c,'isRemoved':'removed'===_0x49ba6c,'isValidationPending':_0x13b865['isValidationPending'],'errors':_0x13b865['errors'],'status':_0x49ba6c,'source':_0x13b865?.['source']};}['getOutputCollectionState'](){return _0x319c3a(this['_ctx']);}['initFlow']=(_0x2e91ea=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x2e91ea)this['_ctx']['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':_0x415f03['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x38a929=this['_sourceList'][0x0];if('local'===_0x38a929)return this['_ctx']['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x38a929&&_0x5632bd['htmlMediaCapture']){const {isPhotoEnabled:_0x384702,isVideoRecordingEnabled:_0x1f3459}=_0x12badd(this['cfg']);if(_0x384702&&_0x1f3459)return void this['_ctx']['set$']({'*currentActivity':_0x415f03['activities']['START_FROM']});if(_0x384702||_0x1f3459)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x384702?_0x2ce99c['PHOTO']:_0x2ce99c['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x2ce99c['PHOTO']});}const _0x2870f6=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x120692=>'type'in _0x120692&&_0x120692['type']===_0x38a929);_0x2870f6?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](_0x415f03['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':_0x415f03['activities']['START_FROM']});}};['doneFlow']=()=>{this['_ctx']['set$']({'*currentActivity':this['_ctx']['doneActivity'],'*history':this['_ctx']['doneActivity']?[this['_ctx']['doneActivity']]:[]}),this['_ctx']['$']['*currentActivity']||this['_ctx']['modalManager']?.['closeAll']();};['setCurrentActivity']=(_0xe2b969,..._0x2657b5)=>{this['_ctx']['hasBlockInCtx'](_0x129788=>_0x129788['activityType']===_0xe2b969)?this['_ctx']['set$']({'*currentActivityParams':_0x2657b5??{},'*currentActivity':_0xe2b969}):console['warn']('Activity\x20type\x20\x22'+_0xe2b969+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0x2ca0d2=>{!_0x2ca0d2||this['_ctx']['$']['*currentActivity']?_0x2ca0d2?this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']):(this['_ctx']['modalManager']?.['close'](this['_ctx']['$']['*currentActivity']),this['_ctx']['$']['*currentActivity']=null):console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');};get['_sourceList'](){let _0x454ebb=[];return this['cfg']['sourceList']&&(_0x454ebb=_0x900720(this['cfg']['sourceList'])),_0x454ebb;}},_0x420eb3=Object['freeze']({'file':Object['freeze']({'type':File,'value':null,'nullable':!0x0}),'externalUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileSize':Object['freeze']({'type':Number,'value':null,'nullable':!0x0}),'lastModified':Object['freeze']({'type':Number,'value':Date['now']()}),'uploadProgress':Object['freeze']({'type':Number,'value':0x0}),'uuid':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'isImage':Object['freeze']({'type':Boolean,'value':!0x1}),'mimeType':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'ctxName':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'cdnUrlModifiers':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fileInfo':Object['freeze']({'type':_0x306bb0,'value':null,'nullable':!0x0}),'isUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'abortController':Object['freeze']({'type':AbortController,'value':null,'nullable':!0x0}),'thumbUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'silent':Object['freeze']({'type':Boolean,'value':!0x1}),'source':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fullPath':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'metadata':Object['freeze']({'type':Object,'value':null,'nullable':!0x0}),'errors':Object['freeze']({'type':Array,'value':[]}),'uploadError':Object['freeze']({'type':Error,'value':null,'nullable':!0x0}),'isRemoved':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'isValidationPending':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForValidation':Object['freeze']({'type':Boolean,'value':!0x1})}),_0x2efe71=class _0xc49db8 extends _0x415f03{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=_0x6012aa(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x92b66d=>_0x92b66d instanceof _0xc49db8&&(_0x92b66d['isCtxOwner']&&_0x92b66d['isConnected']&&_0x92b66d!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x50cdce=new _0x5ef307({'typedSchema':_0x420eb3,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x50cdce);}this['has']('*publicApi')||this['add']('*publicApi',new _0x538de6(this)),this['has']('*validationManager')||this['add']('*validationManager',new _0x2f4854(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['_initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['isCtxOwner']&&this['_unobserveUploadCollection']();}['connectedCallback'](){super['connectedCallback'](),this['isCtxOwner']&&this['_observeUploadCollection']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['_initCtxOwner'](){this['isCtxOwner']=!0x0,this['_observeUploadCollection'](),this['subConfigValue']('maxConcurrentRequests',_0x551e13=>{this['$']['*uploadQueue']['concurrency']=Number(_0x551e13)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x1fcdf5(this));}['_observeUploadCollection'](){this['_unobserveUploadCollection'](),this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']);}['_unobserveUploadCollection'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['_unobserveCollectionProperties']=void 0x0,this['_unobserveCollection']=void 0x0;}async['_createGroup'](_0x4c915c){const _0x15f892=await this['getUploadClientOptions'](),_0x1d75a4=_0x4c915c['allEntries']['map'](_0x2918c4=>_0x2918c4['uuid']+(_0x2918c4['cdnUrlModifiers']?'/'+_0x2918c4['cdnUrlModifiers']:'')),_0x3f3b0b=new AbortController(),_0x250a97=await _0x5adddc(_0x1d75a4,{..._0x15f892,'signal':_0x3f3b0b['signal']});if(this['$']['*collectionState']!==_0x4c915c)return void _0x3f3b0b['abort']();this['$']['*groupInfo']=_0x250a97;const _0x141c8e=this['api']['getOutputCollectionState']();this['emit'](_0x566487['GROUP_CREATED'],_0x141c8e),this['emit'](_0x566487['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x141c8e;}['_flushOutputItems']=_0x23052c(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](_0x566487['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0x1818f7,_0x3cfbce,_0x3fb5f0)=>{(_0x3cfbce['size']||_0x3fb5f0['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x3cfbce]['map'](_0x4ecb36=>_0x4ecb36['uid']));for(const _0xf880c of _0x3cfbce)_0xf880c['getValue']('silent')||this['emit'](_0x566487['FILE_ADDED'],this['api']['getOutputItem'](_0xf880c['uid']));this['validationManager']['runCollectionValidators']();for(const _0x14af46 of _0x3fb5f0){this['$']['*uploadTrigger']['delete'](_0x14af46['uid']),this['validationManager']['cleanupValidationForEntry'](_0x14af46),_0x14af46['getValue']('abortController')?.['abort'](),_0x14af46['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0xa1b72f=_0x14af46?.['getValue']('thumbUrl');_0xa1b72f&&URL['revokeObjectURL'](_0xa1b72f),this['emit'](_0x566487['FILE_REMOVED'],this['api']['getOutputItem'](_0x14af46['uid']));}this['$']['*uploadList']=_0x1818f7['map'](_0x327624=>({'uid':_0x327624})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x4fed0e=>{this['_flushOutputItems']();const _0x16ff9a=this['uploadCollection'],_0x529ed2=[...new Set(Object['entries'](_0x4fed0e)['filter'](([_0x879872])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x879872))['flatMap'](([,_0x3d1bc2])=>[..._0x3d1bc2]))];if(_0x529ed2['length']>0x0&&setTimeout(()=>{const _0x5a3d79=_0x529ed2['filter'](_0x7d97c1=>_0x4fed0e['fileInfo']?.['has'](_0x7d97c1)&&!!_0x58010a['getCtx'](_0x7d97c1)['store']['fileInfo']);_0x5a3d79['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x5a3d79),this['validationManager']['runFileValidators']('change',_0x529ed2);}),_0x4fed0e['uploadProgress']){for(const _0xaa828d of _0x4fed0e['uploadProgress']){const {isUploading:_0x2f93a5,silent:_0x4e4de5}=_0x58010a['getCtx'](_0xaa828d)['store'];_0x2f93a5&&!_0x4e4de5&&this['emit'](_0x566487['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0xaa828d));}this['_flushCommonUploadProgress']();}if(_0x4fed0e['isUploading'])for(const _0x3f21e8 of _0x4fed0e['isUploading']){const {isUploading:_0x39aa36,silent:_0x56d4d5}=_0x58010a['getCtx'](_0x3f21e8)['store'];_0x39aa36&&!_0x56d4d5&&this['emit'](_0x566487['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x3f21e8));}if(_0x4fed0e['fileInfo']){for(const _0x4e78ce of _0x4fed0e['fileInfo']){const {fileInfo:_0x269707,silent:_0xb05d96}=_0x58010a['getCtx'](_0x4e78ce)['store'];_0x269707&&!_0xb05d96&&this['emit'](_0x566487['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x4e78ce));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x4fed0e['errors']){this['validationManager']['runCollectionValidators']();for(const _0x463430 of _0x4fed0e['errors']){const {errors:_0x5b0df5}=_0x58010a['getCtx'](_0x463430)['store'];_0x5b0df5['length']>0x0&&(this['emit'](_0x566487['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x463430)),this['emit'](_0x566487['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x3272ba=_0x16ff9a['findItems'](_0x20c995=>!!_0x20c995['getValue']('fileInfo')),_0x154a8c=_0x16ff9a['findItems'](_0x9310df=>_0x9310df['getValue']('errors')['length']>0x0);_0x16ff9a['size']>0x0&&0x0===_0x154a8c['length']&&_0x16ff9a['size']===_0x3272ba['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x566487['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x4fed0e['cdnUrl']&&([..._0x4fed0e['cdnUrl']]['filter'](_0x57a054=>!!this['uploadCollection']['read'](_0x57a054)?.['getValue']('cdnUrl'))['forEach'](_0x3d5a1e=>{this['emit'](_0x566487['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x3d5a1e));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x15ace4=0x0;const _0x586587=[...this['$']['*uploadTrigger']]['filter'](_0x56fce0=>!!this['uploadCollection']['read'](_0x56fce0));_0x586587['forEach'](_0x560706=>{const _0x2f8529=this['uploadCollection']['readProp'](_0x560706,'uploadProgress');'number'==typeof _0x2f8529&&(_0x15ace4+=_0x2f8529);});const _0x23808d=_0x586587['length']?Math['round'](_0x15ace4/_0x586587['length']):0x0;this['$']['*commonProgress']!==_0x23808d&&(this['$']['*commonProgress']=_0x23808d,this['emit'](_0x566487['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0xc3c8e8]=this['uploadCollection']['findItems'](_0x3c27df=>!!_0x3c27df['getValue']('fileInfo')&&_0x3c27df['getValue']('isImage'))['map'](_0x57c131=>this['uploadCollection']['read'](_0x57c131));_0xc3c8e8&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x3d7a10=>_0x3d7a10['activityType']===_0x415f03['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0xc3c8e8['uid']},this['$']['*currentActivity']=_0x415f03['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](_0x415f03['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x26eb7a=_0x1ce447(this['cfg']['cropPreset']);if(_0x26eb7a){const [_0x5dfd16]=_0x26eb7a,_0x4ba75a=this['uploadCollection']['findItems'](_0x53050a=>!!_0x53050a['getValue']('fileInfo')&&_0x53050a['getValue']('isImage')&&!_0x53050a['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x51e5d7=>this['uploadCollection']['read'](_0x51e5d7))['filter'](Boolean);for(const _0xb53558 of _0x4ba75a){const _0x4a02ac=_0xb53558['getValue']('fileInfo');if(!_0x4a02ac||!_0x4a02ac['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0xb53558['uid']);continue;}const {width:_0x19caa6,height:_0x1dcbc1}=_0x4a02ac['imageInfo'],_0x446d4f=_0x1bf46b(_0x19caa6,_0x1dcbc1,'number'==typeof _0x5dfd16?.['width']&&'number'==typeof _0x5dfd16?.['height']&&_0x5dfd16['width']>0x0&&_0x5dfd16['height']>0x0?_0x5dfd16['width']/_0x5dfd16['height']:0x1),_0x20d754=_0x233a2c('crop/'+_0x446d4f['width']+'x'+_0x446d4f['height']+'/'+_0x446d4f['x']+','+_0x446d4f['y'],'preview'),_0x2a1d9d=_0xb53558['getValue']('cdnUrl');_0x2a1d9d?(_0xb53558['setMultipleValues']({'cdnUrlModifiers':_0x20d754,'cdnUrl':_0x3c4f8e(_0x2a1d9d,_0x20d754)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x207fcc=>_0x207fcc['activityType']===_0x415f03['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0xb53558['uid']},this['$']['*currentActivity']=_0x415f03['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](_0x415f03['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0xb53558['uid']);}}}async['getMetadataFor'](_0x357ec8){const _0x5de464=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x5de464){const _0x44691d=this['api']['getOutputItem'](_0x357ec8);return await _0x5de464(_0x44691d);}return _0x5de464;}async['getUploadClientOptions'](){const _0x232803=this['$']['*secureUploadsManager'],_0x4a2ad8=await _0x232803['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':_0x3f4ea3,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x4a2ad8?.['secureSignature'],'secureExpire':_0x4a2ad8?.['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 this['uploadCollection']['items']()['map'](_0x3fbdc7=>this['api']['getOutputItem'](_0x3fbdc7));}};_0x2efe71['extSrcList']=Object['freeze']({..._0x3a5c51}),_0x2efe71['sourceTypes']=Object['freeze']({..._0x3ca01d});var _0x592e22={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x515fc1=['camera','microphone'];function _0x3d1283(_0x51290e){return Math['floor'](_0x51290e/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x51290e%0x3c)['toString']()['padStart'](0x2,'0');}var _0x5971aa='image/jpeg',_0x340d92='video/webm',_0x306651=class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['activityType']=_0x415f03['activities']['CAMERA'];['_unsubPermissions']=null;['_capturing']=!0x1;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;['_activeTab']=null;['_options']={};['_canvas']=null;['_ctx']=null;['_cameraDevices']=[];['_audioDevices']=[];['_permissionResponses']={};constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':void 0x0!==navigator['permissions'],'cameraSelectOptions':null,'cameraSelectHidden':!0x0,'l10nMessage':'','switcher':null,'panels':null,'timer':null,'timerHidden':!0x0,'cameraHidden':!0x0,'cameraActionsHidden':!0x0,'audioSelectOptions':null,'audioSelectHidden':!0x0,'audioSelectDisabled':!0x0,'audioToggleMicrophoneHidden':!0x0,'tabCameraHidden':!0x0,'tabVideoHidden':!0x0,'currentIcon':'camera-full','currentTimelineIcon':'play','toggleMicrophoneIcon':'microphone','_startTime':0x0,'_elapsedTime':0x0,'_animationFrameId':null,'mutableClassButton':'uc-shot-btn\x20uc-camera-action','onCameraSelectChange':_0x36925c=>{const _0xe4bbe6=_0x36925c['target'];_0xe4bbe6&&(this['_selectedCameraId']=_0xe4bbe6['value'],this['_capture']());},'onAudioSelectChange':_0x30e69a=>{const _0x4ebc7c=_0x30e69a['target'];_0x4ebc7c&&(this['_selectedAudioId']=_0x4ebc7c['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_chooseActionWithCamera']();},'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x53ef34=>{const _0x528b47=_0x53ef34['currentTarget'],_0x30641e=_0x528b47?.['getAttribute']('data-id');_0x30641e&&this['_handleActiveTab'](_0x30641e);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x2ce99c['PHOTO']&&this['_shot'](),this['_activeTab']===_0x2ce99c['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x1eaceb=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x2d8973=this['cfg']['maxVideoRecordingDuration']-_0x1eaceb;if(_0x2d8973<=0x0){const _0x4a0add=this['ref']['timer'];return _0x4a0add&&(_0x4a0add['textContent']=_0x3d1283(_0x2d8973)),void this['_stopRecording']();}const _0x543dc2=this['ref']['timer'];_0x543dc2&&(_0x543dc2['textContent']=_0x3d1283(_0x2d8973));}else{const _0x1183b3=this['ref']['timer'];_0x1183b3&&(_0x1183b3['textContent']=_0x3d1283(_0x1eaceb));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x5746b7=this['ref']['video'];if(!_0x5746b7)return;const _0x4481ed=_0x5746b7['currentTime'],_0xf83160=_0x5746b7['duration']||0x1,_0x5db853=this['ref']['line'];_0x5db853&&(_0x5db853['style']['transform']='scaleX('+_0x4481ed/_0xf83160+')');const _0x68fa9c=this['ref']['timer'];_0x68fa9c&&(_0x68fa9c['textContent']=_0x3d1283(_0x4481ed)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x5f1582}=this['cfg']['mediaRecorderOptions']||{};_0x5f1582&&MediaRecorder['isTypeSupported'](_0x5f1582)?this['_options']['mimeType']=_0x5f1582:MediaRecorder['isTypeSupported'](_0x340d92)?this['_options']['mimeType']=_0x340d92:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x4d7afe=>{this['_chunks']['push'](_0x4d7afe['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](_0x38d016['PLAY']));}catch(_0x1d9a9e){console['error']('Failed\x20to\x20start\x20recording',_0x1d9a9e),this['telemetryManager']['sendEventError'](_0x1d9a9e,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](_0x38d016['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['_activeTab']}}});};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0x1a4fa3=>{_0x1a4fa3['enabled']=!_0x1a4fa3['enabled'],this['$']['toggleMicrophoneIcon']=_0x1a4fa3['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0x1a4fa3['enabled'];});};['_previewVideo']=()=>{try{const _0x22109a=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x2082b1=URL['createObjectURL'](_0x22109a),_0xf9d5d=this['ref']['video'];if(!_0xf9d5d)return;_0xf9d5d['muted']=!0x1,_0xf9d5d['volume']=0x1,this['$']['video']=null,_0xf9d5d['src']=_0x2082b1,_0xf9d5d['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0xf9d5d['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x18a575){console['error']('Failed\x20to\x20preview\x20video',_0x18a575),this['telemetryManager']['sendEventError'](_0x18a575,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](_0x38d016['RETAKE']),this['_activeTab']===_0x2ce99c['VIDEO']){this['$']['video']=this['_stream'];const _0x10ab7f=this['ref']['video'];_0x10ab7f&&(_0x10ab7f['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](_0x38d016['ACCEPT']),this['_activeTab']===_0x2ce99c['PHOTO'])return void this['_canvas']?.['toBlob'](_0x45fe4e=>{if(!_0x45fe4e)return;const _0x2439bd=this['_createFile']('camera','jpeg',_0x5971aa,_0x45fe4e);this['_toSend'](_0x2439bd);},_0x5971aa);const _0x3dcc0e=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0xadc8ab=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x2b9d0a=this['_createFile']('video',_0xadc8ab,'video/'+_0xadc8ab,_0x3dcc0e);this['_toSend'](_0x2b9d0a),this['_chunks']=[];};['_handlePhoto']=_0x38dc87=>{_0x38dc87===_0x38d016['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x38dc87!==_0x38d016['RETAKE']&&_0x38dc87!==_0x38d016['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x2ce99c['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x2ce99c['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x49a22a=>{_0x49a22a===_0x38d016['PLAY']&&this['set$']({'timerHidden':!0x1,'tabCameraHidden':!0x0,'cameraSelectHidden':!0x0,'audioSelectHidden':!0x0,'currentTimelineIcon':'pause','currentIcon':'square','mutableClassButton':'uc-shot-btn\x20uc-camera-action\x20uc-stop-record'}),_0x49a22a===_0x38d016['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x49a22a!==_0x38d016['RETAKE']&&_0x49a22a!==_0x38d016['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x2ce99c['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x2ce99c['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording'],'currentIcon':'video-camera-full','mutableClassButton':'uc-shot-btn\x20uc-camera-action','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_setCameraState']=_0xe74382=>{this['_activeTab']!==_0x2ce99c['PHOTO']||'shot'!==_0xe74382&&'retake'!==_0xe74382&&'accept'!==_0xe74382||this['_handlePhoto'](_0xe74382),this['_activeTab']!==_0x2ce99c['VIDEO']||'play'!==_0xe74382&&'stop'!==_0xe74382&&'retake'!==_0xe74382&&'accept'!==_0xe74382&&'pause'!==_0xe74382&&'resume'!==_0xe74382||this['_handleVideo'](_0xe74382);};['_shot'](){if(this['_setCameraState']('shot'),this['_canvas']=document['createElement']('canvas'),this['_ctx']=this['_canvas']['getContext']('2d'),!this['_ctx'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');this['_canvas']['height']=this['ref']['video']['videoHeight'],this['_canvas']['width']=this['ref']['video']['videoWidth'],this['cfg']['cameraMirror']&&(this['_ctx']['translate'](this['_canvas']['width'],0x0),this['_ctx']['scale'](-0x1,0x1)),this['_ctx']['drawImage'](this['ref']['video'],0x0,0x0),this['ref']['video']['pause']();}['_handleActiveTab']=_0x1b408e=>{const _0x23f82a=this['ref']['switcher'];_0x23f82a?.['querySelectorAll']('button')['forEach'](_0x2842b6=>{_0x2842b6['classList']['toggle']('uc-active',_0x2842b6['getAttribute']('data-id')===_0x1b408e);}),_0x1b408e===_0x2ce99c['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x1b408e===_0x2ce99c['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x1b408e}}}),this['_activeTab']=_0x1b408e;};['_createFile']=(_0x4a2914,_0x2940f4,_0xadad8a,_0x5340fe)=>{const _0x57fe99=Date['now']();return new File([_0x5340fe],_0x4a2914+'-'+_0x57fe99+'.'+_0x2940f4,{'lastModified':_0x57fe99,'type':_0xadad8a});};['_guessExtensionByMime'](_0x47805f){const _0x196144={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x47805f)return'webm';if(_0x47805f){const _0x3d6e50=_0x47805f['split']('/');if('video'===_0x3d6e50?.[0x0]){const _0x3c5d30=_0x3d6e50['slice'](0x1)['join']('/'),_0x2ccae2=_0x3c5d30?.['split'](';')[0x0];if(_0x2ccae2&&_0x196144[_0x2ccae2])return _0x196144[_0x2ccae2];}}return'avi';}['_toSend']=_0x15a8a5=>{this['api']['addFileFromObject'](_0x15a8a5,{'source':_0x3ca01d['CAMERA']}),this['set$']({'*currentActivity':_0x415f03['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return _0x900720(this['cfg']['cameraModes'])['filter'](_0x1273c3=>_0x1273c3===_0x2ce99c['PHOTO']||_0x1273c3===_0x2ce99c['VIDEO']);}['_setPermissionsState']=_0x23052c(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x2ce99c['VIDEO']&&this['cfg']['enableAudioRecording'],s=this['_activeTab']===_0x2ce99c['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x2ce99c['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x2ce99c['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':s,'audioToggleMicrophoneHidden':!i,'audioSelectHidden':!i}):'prompt'===e?(this['$']['l10nMessage']='camera-permissions-prompt',this['set$']({'videoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'messageHidden':!0x1}),this['_stopCapture']()):(this['$']['l10nMessage']='camera-permissions-denied',this['set$']({'videoHidden':!0x0,'messageHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x2ce99c['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x2ce99c['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x168376=this['_stream']?.['getAudioTracks'](),_0x1d739e=this['_stream']?.['getVideoTracks']();return _0x168376['forEach'](_0x34873a=>{_0x34873a['stop']();}),_0x1d739e['forEach'](_0x494178=>{_0x494178['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x4f77a9=this['$']['video']?.['getTracks']?.();_0x4f77a9?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x1e4c88={'video':{..._0x592e22},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x1e4c88['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x1e4c88['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x1e4c88),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x485a69){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x485a69),this['telemetryManager']['sendEventError'](_0x485a69,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x51b56b of _0x515fc1){const _0x32f18c=await navigator['permissions']['query']({'name':_0x51b56b});this['_permissionResponses'][_0x51b56b]=_0x32f18c,_0x32f18c['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x1733ee){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x1733ee),this['telemetryManager']['sendEventError'](_0x1733ee,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x59b2e0){this['telemetryManager']['sendEventError'](_0x59b2e0,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x59b2e0);}};['_getDevices']=async()=>{try{const _0x1dccd7=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x1dccd7['filter'](_0x360244=>'videoinput'===_0x360244['kind'])['map']((_0x3dd95d,_0x10c4b9)=>({'text':_0x3dd95d['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x10c4b9+0x1),'value':_0x3dd95d['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x1dccd7['filter'](_0x2626ec=>'audioinput'===_0x2626ec['kind'])['map'](_0x2a917c=>({'text':_0x2a917c['label']['trim'](),'value':_0x2a917c['deviceId']})):[],this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value']??null,this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value']??null;}catch(_0x17d628){this['telemetryManager']['sendEventError'](_0x17d628,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x17d628);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(Boolean(window['chrome'])||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0x475c81=>{this['$']['tabVideoHidden']=!_0x475c81['includes'](_0x2ce99c['VIDEO']),this['$']['tabCameraHidden']=!_0x475c81['includes'](_0x2ce99c['PHOTO']);const _0x43d875=_0x475c81[0x0];!_0x43d875||this['_activeTab']&&_0x475c81['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x43d875);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0xb83a19=>{this['$']['videoTransformCss']=_0xb83a19?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x53a818=>{this['$']['audioToggleMicrophoneHidden']=!_0x53a818,this['$']['audioSelectDisabled']=!_0x53a818;}),this['subConfigValue']('cameraModes',_0x3eeb49=>{if(!this['isActivityActive'])return;const _0x467d03=_0x4c7c3d(_0x3eeb49);this['_handleCameraModes'](_0x467d03['filter'](_0x23163d=>_0x23163d===_0x2ce99c['PHOTO']||_0x23163d===_0x2ce99c['VIDEO']));});}['_destroy'](){for(const _0x5711b8 of _0x515fc1)this['_permissionResponses'][_0x5711b8]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x306651['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:back\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20cameraActionsHidden\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Retake\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAccept\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-testid=\x22accept\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Accept\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20data-testid=\x22shot\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicrophoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x504f75='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x32c9f9(..._0x32b758){return _0x32b758['reduce']((_0x5090b9,_0x32352f)=>{if('string'==typeof _0x32352f)return _0x5090b9[_0x32352f]=!0x0,_0x5090b9;for(const _0x28b676 of Object['keys'](_0x32352f))_0x5090b9[_0x28b676]=_0x32352f[_0x28b676];return _0x5090b9;},{});}function _0x35bbc6(..._0x5a0dd5){const _0x17d4d8=_0x32c9f9(..._0x5a0dd5);return Object['keys'](_0x17d4d8)['reduce']((_0x3a32cb,_0x4edeb8)=>(_0x17d4d8[_0x4edeb8]&&_0x3a32cb['push'](_0x4edeb8),_0x3a32cb),[])['join']('\x20');}var _0xbbe202=_0x378101=>_0x1cc345['includes'](_0x378101),_0x3767f3='\x0a\x20\x20<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>\x0a\x20\x20<div\x20class=\x22uc-wrapper\x20uc-wrapper_desktop\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x20class=\x22uc-network_problems_splash\x22\x20set=\x22visible:\x20presence.networkProblems;\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_icon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22sad\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_text\x22>Network\x20error</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-network_problems_footer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20text=\x22Retry\x22\x20set=\x22onclick:\x20*on.retryNetwork\x22></uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-viewport\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type_outer\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-file_type\x22>{{fileType}}</div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-image_container\x22\x20ref=\x22img-container-el\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22'+_0x504f75+'\x22\x20class=\x22uc-image\x20uc-image_visible_from_editor\x22\x20ref=\x22img-el\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-cropper\x20ref=\x22cropper-el\x22></uc-editor-image-cropper>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-image-fader\x20ref=\x22fader-el\x22></uc-editor-image-fader>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-info_pan\x22>{{msg}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-toolbar_content\x20uc-toolbar_content__editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-toolbar></uc-editor-toolbar>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',_0x11815a=class extends _0x1ebb01{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x23052c(this['_showLoader']['bind'](this),0x12c);constructor(){var _0x4f885c;super(),this['init$']={...this['init$'],...(_0x4f885c=this,{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x1cc345,'*tabId':_0x354800['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x504f75,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0x3c7eed([..._0x1cc345]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x57a825=_0x4f885c['querySelectorAll']('img');for(const _0x5d9fff of _0x57a825){const _0x43bf7c=_0x5d9fff['src'];_0x5d9fff['src']=_0x504f75,_0x5d9fff['src']=_0x43bf7c;}_0x4f885c['$']['*networkProblems']=!0x1;},'*on.apply':_0x462e0c=>{if(!_0x462e0c)return;const _0x264434=_0x4f885c['$']['*originalUrl'],_0x1adec0=_0x233a2c(_0x47e6d0(_0x462e0c),'preview'),_0x5a91c0={'originalUrl':_0x264434,'cdnUrlModifiers':_0x1adec0,'cdnUrl':_0x3c4f8e(_0x264434,_0x1adec0),'transformations':_0x462e0c};_0x4f885c['dispatchEvent'](new CustomEvent('apply',{'detail':_0x5a91c0,'bubbles':!0x0,'composed':!0x0})),_0x4f885c['remove']();},'*on.cancel':()=>{_0x4f885c['remove'](),_0x4f885c['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}})};}['_showLoader'](_0x1fccd6){this['$']['showLoader']=_0x1fccd6;}['_waitForSize'](){return new Promise((_0x2c6313,_0xd33bd3)=>{const _0x48a1ac=window['setTimeout'](()=>{_0xd33bd3(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0xd5d52=new ResizeObserver(_0x1435f5=>{const [_0x439548]=_0x1435f5;_0x439548&&_0x439548['contentRect']['width']>0x0&&_0x439548['contentRect']['height']>0x0&&(window['clearTimeout'](_0x48a1ac),_0xd5d52['disconnect'](),window['setTimeout'](()=>_0x2c6313(),0x0));});_0xd5d52['observe'](this);});}['initCallback'](){super['initCallback'](),this['$']['*faderEl']=this['ref']['fader-el'],this['$']['*cropperEl']=this['ref']['cropper-el'],this['$']['*imgContainerEl']=this['ref']['img-container-el'],this['initEditor']();}async['updateImage'](){if(this['isConnected']){if(await this['_waitForSize'](),this['$']['cdnUrl']){const _0x47683f=this['$']['cdnUrl'],_0x173093=_0x57f9ea(_0x47683f),_0x2c94ce=_0x31db49(_0x47683f,_0x173093);if(_0x2c94ce===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x2c94ce;const _0x4ffb06=_0x5d108a(_0x2193a0(_0x47683f));this['$']['*editorTransformations']=_0x4ffb06;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x667cca=_0x31db49(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x667cca===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x667cca,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x354800['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x53cb6b=this['$']['*originalUrl'],_0x44a033=await this['proxyUrl'](_0x3c4f8e(_0x53cb6b,_0x233a2c('json'))),_0x3b8284=await fetch(_0x44a033)['then'](_0x1edb0c=>_0x1edb0c['json']()),{width:_0x27460d,height:_0x516643}=_0x3b8284;this['$']['*imageSize']={'width':_0x27460d,'height':_0x516643},this['$']['*tabId']===_0x354800['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x53cb6b});}catch(_0x4caae9){_0x4caae9&&(this['telemetryManager']['sendEventError'](_0x4caae9,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x4caae9));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x288d7f){return void(this['isConnected']&&console['error'](_0x288d7f['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x504f75&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x31c228=>{const _0x4f5c68=this['ref']['img-el'];_0x4f5c68['src']!==_0x31c228&&(_0x4f5c68['src']=_0x31c228||_0x504f75);}),this['sub']('tabs',_0x42dfdd=>{this['$']['*tabList']=(_0x14d15f=>{if(!_0x14d15f)return _0x1cc345;const _0xa20a7f=_0x4c7c3d(_0x14d15f)['filter'](_0xbbe202);return 0x0===_0xa20a7f['length']?_0x1cc345:_0xa20a7f;})(_0x42dfdd);}),this['sub']('*tabId',_0x7d96bd=>{this['ref']['img-el']['className']=_0x35bbc6('uc-image',{'uc-image_hidden_to_cropper':_0x7d96bd===_0x354800['CROP'],'uc-image_hidden_effects':_0x7d96bd!==_0x354800['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x61bf89=>{this['$']['presence.networkProblems']=_0x61bf89,this['$']['presence.modalCaption']=!_0x61bf89;}),this['sub']('*editorTransformations',_0x4f1bf5=>{if(0x0===Object['keys'](_0x4f1bf5)['length'])return;const _0x11dcbd=this['$']['*originalUrl'],_0x13c65c=_0x233a2c(_0x47e6d0(_0x4f1bf5),'preview'),_0x4545ab={'originalUrl':_0x11dcbd,'cdnUrlModifiers':_0x13c65c,'cdnUrl':_0x3c4f8e(_0x11dcbd,_0x13c65c),'transformations':_0x4f1bf5};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x4545ab,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x458263=>_0x458263&&this['updateImage']()),this['sub']('cdnUrl',_0x51c603=>_0x51c603&&this['updateImage']()),this['sub']('cropPreset',_0xfa3937=>{const _0x45e998=_0x1ce447(_0xfa3937);let _0x17d856=null;if(this['$']['cdnUrl']){const _0x12f5c4=_0x5d108a(_0x2193a0(this['$']['cdnUrl']));if(Array['isArray'](_0x12f5c4?.['crop']?.['dimensions'])){const [_0x2d2093,_0x1cce5f]=_0x12f5c4['crop']['dimensions'];_0x17d856=((_0x554c42,_0x39996b,_0x16b550,_0x9931c7=0.1)=>{const _0x4d40ba=_0x554c42/_0x39996b;let _0xf02a49=null,_0x49758f=0x1/0x0;for(const _0x16cd59 of _0x16b550){const [_0x5c2559,_0x259585]=[_0x16cd59['width'],_0x16cd59['height']],_0x49e17c=_0x5c2559/_0x259585,_0xaddca0=Math['abs'](_0x4d40ba-_0x49e17c);_0xaddca0<_0x49758f&&(_0x49758f=_0xaddca0,_0xf02a49=_0x16cd59);}if(_0xf02a49){const [_0x4b42d9,_0x47b198]=[_0xf02a49['width'],_0xf02a49['height']],_0x3f2613=_0x4b42d9/_0x47b198;if(Math['abs'](_0x4d40ba-_0x3f2613)/_0x3f2613>_0x9931c7)return null;}return _0xf02a49;})(_0x2d2093,_0x1cce5f,_0x45e998,0.1);}}this['$']['*cropPresetList']=_0x45e998,this['$']['*currentAspectRatio']=_0x17d856??_0x45e998?.[0x0]??null;});}};_0x11815a['template']=_0x3767f3,_0x11815a['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x5c8a7b=class extends _0x1ebb01{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0xb7b042['generate']();['_backdropMask'];['_backdropMaskInner'];['_frameThumbs'];['_frameGuides'];['_draggingThumb'];['_hoverThumb'];['_dragStartPoint'];['_dragStartCrop'];['_frameImage'];['_guidesHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x304804){const _0x41b7fd=this['$']['*imageBox'];if(!_0x41b7fd)return!0x1;if(''===_0x304804&&_0x41b7fd['height']<=0x1&&_0x41b7fd['width']<=0x1)return!0x0;const _0x530c81=_0x41b7fd['height']<=0x1&&(_0x304804['includes']('n')||_0x304804['includes']('s')),_0x4f67be=_0x41b7fd['width']<=0x1&&(_0x304804['includes']('e')||_0x304804['includes']('w'));return _0x530c81||_0x4f67be;}['_createBackdrop'](){const _0x1cc430=this['$']['*cropBox'];if(!_0x1cc430)return;const {x:_0x5912ec,y:_0x4650c1,width:_0x441870,height:_0x58bbb7}=_0x1cc430,_0x46fd88=this['ref']['svg-el'],_0x231b77=_0x221308('mask',{'id':this['_backdropMaskId']}),_0x563aed=_0x221308('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x16cfb0=_0x221308('rect',{'x':_0x5912ec,'y':_0x4650c1,'width':_0x441870,'height':_0x58bbb7,'fill':'black'});_0x231b77['appendChild'](_0x563aed),_0x231b77['appendChild'](_0x16cfb0);const _0x966294=_0x221308('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x46fd88['appendChild'](_0x966294),_0x46fd88['appendChild'](_0x231b77),this['_backdropMask']=_0x231b77,this['_backdropMaskInner']=_0x16cfb0;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x3b4491=this['$']['*cropBox'];if(!_0x3b4491)return;const {x:_0x5291aa,y:_0x1e6115,width:_0x158d7a,height:_0x4e3b87}=_0x3b4491;this['_backdropMaskInner']&&_0x4aa8f3(this['_backdropMaskInner'],{'x':_0x5291aa,'y':_0x1e6115,'width':_0x158d7a,'height':_0x4e3b87});}['_updateFrame'](){const _0x83a813=this['$']['*cropBox'];if(_0x83a813&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x4baf9f of Object['values'](this['_frameThumbs'])){if(!_0x4baf9f)continue;const {direction:_0x5299be,pathNode:_0x395831,interactionNode:_0x9c1dad,groupNode:_0x111a0d}=_0x4baf9f,_0xba177f=''===_0x5299be,_0x38bd77=0x2===_0x5299be['length'],{x:_0x6ec07e,y:_0xb06454,width:_0x1ce336,height:_0x2824ba}=_0x83a813;if(_0xba177f)_0x4aa8f3(_0x9c1dad,{'x':_0x6ec07e,'y':_0xb06454,'width':_0x1ce336,'height':_0x2824ba});else{const _0xc41d1a=_0x2b9a26(Math['min'](_0x1ce336,_0x2824ba)/0x52/0x2,0x0,0x1),_0x45e2f5=_0x38bd77?_0x1af76c(_0x83a813,_0x5299be,_0xc41d1a):_0x16380b(_0x83a813,_0x5299be,_0xc41d1a),_0x192727=_0x45e2f5['center'];if(!_0x192727)continue;const _0x589189=Math['max'](0x18*_0x2b9a26(Math['min'](_0x1ce336,_0x2824ba)/0x18/0x3,0x0,0x1),0x6);_0x4aa8f3(_0x9c1dad,{'x':_0x192727[0x0]-_0x589189,'y':_0x192727[0x1]-_0x589189,'width':0x2*_0x589189,'height':0x2*_0x589189}),_0x4aa8f3(_0x395831,{'d':_0x45e2f5['d']});}const _0x1edceb=this['_shouldThumbBeDisabled'](_0x5299be);_0x111a0d['setAttribute']('class',_0x35bbc6('uc-thumb',{'uc-thumb--hidden':_0x1edceb,'uc-thumb--visible':!_0x1edceb}));}_0x4aa8f3(this['_frameGuides'],{'x':_0x83a813['x']-0.5,'y':_0x83a813['y']-0.5,'width':_0x83a813['width']+0x1,'height':_0x83a813['height']+0x1});}}['_createThumb'](_0x50cf59,_0x243c86){const _0x9ecdf9=_0x221308('g');_0x9ecdf9['classList']['add']('uc-thumb'),_0x9ecdf9['setAttribute']('with-effects','');const _0x1b3ec7=_0x221308('rect',{'fill':'transparent'}),_0x5beef2=_0x221308('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x9ecdf9['appendChild'](_0x5beef2),_0x9ecdf9['appendChild'](_0x1b3ec7),_0x50cf59[_0x243c86]={'direction':_0x243c86,'pathNode':_0x5beef2,'interactionNode':_0x1b3ec7,'groupNode':_0x9ecdf9},''===_0x243c86&&(_0x9ecdf9['style']['cursor']='move'),_0x1b3ec7['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x243c86));}['_createThumbs'](){const _0x16a482={};for(let _0x27e4cd=0x0;_0x27e4cd<0x3;_0x27e4cd++)for(let _0x50e293=0x0;_0x50e293<0x3;_0x50e293++){const _0x553eec=''+['n','','s'][_0x27e4cd]+['w','','e'][_0x50e293];''!==_0x553eec&&this['_createThumb'](_0x16a482,_0x553eec);}return this['_createThumb'](_0x16a482,''),_0x16a482;}['_createGuides'](){const _0x59097e=_0x221308('svg'),_0x408760=_0x221308('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});_0x59097e['appendChild'](_0x408760);for(let _0x4496b4=0x1;_0x4496b4<=0x2;_0x4496b4++){const _0x29eced=_0x221308('line',{'x1':_0x9966b6*_0x4496b4+'%','y1':'0%','x2':_0x9966b6*_0x4496b4+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x59097e['appendChild'](_0x29eced);}for(let _0x841df7=0x1;_0x841df7<=0x2;_0x841df7++){const _0x34c851=_0x221308('line',{'x1':'0%','y1':_0x9966b6*_0x841df7+'%','x2':'100%','y2':_0x9966b6*_0x841df7+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0x59097e['appendChild'](_0x34c851);}return _0x59097e['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0x59097e;}['_createFrame'](){const _0x1aed16=this['ref']['svg-el'],_0x37d8de=document['createDocumentFragment'](),_0x1e61da=this['_createGuides']();_0x37d8de['appendChild'](_0x1e61da);const _0x2503a3=this['_createThumbs']();for(const {groupNode:_0x3ff396}of Object['values'](_0x2503a3))_0x37d8de['appendChild'](_0x3ff396);_0x1aed16['appendChild'](_0x37d8de),this['_frameThumbs']=_0x2503a3,this['_frameGuides']=_0x1e61da;}['_handlePointerDown'](_0x213dbb,_0x2b2fab){if(!this['_frameThumbs'])return;const _0x567fb7=this['_frameThumbs'][_0x213dbb];if(!_0x567fb7)return;if(this['_shouldThumbBeDisabled'](_0x213dbb))return;const _0x4da854=this['$']['*cropBox'],_0x3111ed=this['ref']['svg-el'],{x:_0x74fc25,y:_0x599ca1}=_0x3111ed['getBoundingClientRect'](),_0x33a3e2=_0x2b2fab['x']-_0x74fc25,_0x1626c1=_0x2b2fab['y']-_0x599ca1;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x567fb7,this['_dragStartPoint']=[_0x33a3e2,_0x1626c1],this['_dragStartCrop']={..._0x4da854};}['_handlePointerUp_'](_0x32101e){this['_updateCursor'](),this['$']['dragging']&&(_0x32101e['stopPropagation'](),_0x32101e['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x2b73c6){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x2b73c6['stopPropagation'](),_0x2b73c6['preventDefault']();const _0x1bf812=this['ref']['svg-el'],{x:_0x599e75,y:_0x259145}=_0x1bf812['getBoundingClientRect'](),_0x154bc1=_0x2b73c6['x']-_0x599e75,_0x188b61=_0x2b73c6['y']-_0x259145,_0x469588=_0x154bc1-this['_dragStartPoint'][0x0],_0x262751=_0x188b61-this['_dragStartPoint'][0x1],{direction:_0x20c115}=this['_draggingThumb'],_0x1f8d11=this['_calcCropBox'](_0x20c115,[_0x469588,_0x262751]);_0x1f8d11&&(this['$']['*cropBox']=_0x1f8d11);}['_calcCropBox'](_0x3ef28b,_0x176b85){const [_0x15c4a6,_0x5623b5]=_0x176b85,_0x199f2a=this['$']['*imageBox'];let _0x5e06ed=this['_dragStartCrop']??this['$']['*cropBox'];const _0x2e9bf6=this['$']['*currentAspectRatio'],_0x16c3ff=_0x2e9bf6?_0x2e9bf6['width']/_0x2e9bf6['height']:void 0x0;if(_0x5e06ed=''===_0x3ef28b?function({rect:_0xfa60ff,delta:[_0x5772aa,_0xb3f88b],imageBox:_0x15e4f6}){return _0x19e73e({..._0xfa60ff,'x':_0xfa60ff['x']+_0x5772aa,'y':_0xfa60ff['y']+_0xb3f88b},_0x15e4f6);}({'rect':_0x5e06ed,'delta':[_0x15c4a6,_0x5623b5],'imageBox':_0x199f2a}):_0x5b6c78({'rect':_0x5e06ed,'delta':[_0x15c4a6,_0x5623b5],'direction':_0x3ef28b,'aspectRatio':_0x16c3ff,'imageBox':_0x199f2a}),Object['values'](_0x5e06ed)['every'](_0x17ca41=>Number['isFinite'](_0x17ca41)&&_0x17ca41>=0x0))return _0x19e73e(_0x4fc0f7(_0x5e06ed),_0x199f2a);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x5e06ed});}['_handleSvgPointerMove_'](_0x332858){if(!this['_frameThumbs'])return;const _0x158a29=Object['values'](this['_frameThumbs'])['find'](_0x13e4a3=>{if(!_0x13e4a3)return!0x1;if(this['_shouldThumbBeDisabled'](_0x13e4a3['direction']))return!0x1;const _0x265009=_0x13e4a3['interactionNode']['getBoundingClientRect'](),_0x49599e=function(_0x3b370e,[_0x3e21f2,_0x55b065]){return _0x3b370e['x']<=_0x3e21f2&&_0x3e21f2<=_0x3b370e['x']+_0x3b370e['width']&&_0x3b370e['y']<=_0x55b065&&_0x55b065<=_0x3b370e['y']+_0x3b370e['height'];}({'x':_0x265009['x'],'y':_0x265009['y'],'width':_0x265009['width'],'height':_0x265009['height']},[_0x332858['x'],_0x332858['y']]);return _0x49599e;});this['_hoverThumb']=_0x158a29,this['_updateCursor']();}['_updateCursor'](){const _0x4e964c=this['_hoverThumb'];var _0x35c460;this['ref']['svg-el']['style']['cursor']=_0x4e964c?''===(_0x35c460=_0x4e964c['direction'])?'move':['e','w']['includes'](_0x35c460)?'ew-resize':['n','s']['includes'](_0x35c460)?'ns-resize':['nw','se']['includes'](_0x35c460)?'nwse-resize':'nesw-resize':'initial';}['_createMask'](_0x4d13d6){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x4d13d6);const _0x40ba8a=this['ref']['svg-el'],_0x5c1a53=document['createDocumentFragment'](),_0x13f50d=_0x221308('image',{'href':_0x4d13d6});_0x13f50d['setAttribute']('class','uc-cloud-mask'),_0x5c1a53['appendChild'](_0x13f50d),_0x40ba8a['appendChild'](_0x5c1a53),this['_frameImage']=_0x13f50d;}['_updateMask'](){const _0x318592=this['$']['*cropBox'];if(!_0x318592||!this['_frameImage'])return;const {x:_0x13af16,y:_0x4db3bd,width:_0x50ad47,height:_0x2bdc1d}=_0x318592;_0x4aa8f3(this['_frameImage'],{'x':_0x13af16,'y':_0x4db3bd,'height':_0x2bdc1d,'width':_0x50ad47});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x3e9362){if(this['_frameThumbs'])for(const _0x2484d2 of Object['values'](this['_frameThumbs'])){if(!_0x2484d2)continue;const {groupNode:_0xcaa3b1}=_0x2484d2;_0xcaa3b1['setAttribute']('class',_0x35bbc6('uc-thumb',{'uc-thumb--hidden':!_0x3e9362,'uc-thumb--visible':_0x3e9362}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x12c932=>{_0x12c932&&(this['_guidesHidden']=_0x12c932['height']<=0x1||_0x12c932['width']<=0x1,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x23be70=>{_0x23be70&&this['_createMask'](_0x23be70);}),this['sub']('dragging',_0x2b4aea=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x35bbc6({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x2b4aea,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x2b4aea}));}),(this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0));}['destroyCallback'](){super['destroyCallback'](),(this['ref']['svg-el']['removeEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']));}};_0x5c8a7b['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var _0x34be8e=class extends _0x1ebb01{['_titleEl'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};}['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['sub']('title',_0x4ffaae=>{const _0x62882f=this['_titleEl'];_0x62882f&&(_0x62882f['style']['display']=_0x4ffaae?'block':'none');}),this['sub']('active',_0x1fd2c6=>{this['className']=_0x35bbc6({'uc-active':_0x1fd2c6,'uc-not_active':!_0x1fd2c6});}),this['sub']('on.click',_0x742f8a=>{this['onclick']=_0x742f8a??null;});}};_0x34be8e['template']='\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';var _0x3c7db1=class extends _0x34be8e{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x3f522c=>{this['$']['title']=_0x3f522c['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x3f522c['width']+':'+_0x3f522c['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};_0x3c7db1['template']='\x20\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20</button>\x20\x0a';var _0xc515cc=class extends _0x34be8e{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x393a58=>{if(!_0x393a58)return;const _0x410a8b=!!_0x393a58['hasFreeform'];this['$']['title']=_0x410a8b?this['l10n']('custom'):_0x393a58['width']+':'+_0x393a58['height'],_0x410a8b||this['_renderRectBasedOnAspectRatio'](_0x393a58),_0x410a8b&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x393a58,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x410a8b?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x393a58['width']+':'+_0x393a58['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x49c097=>{this['$']['active']=_0x49c097&&_0x49c097['id']===this['_aspectRatio']?.['id']||_0x49c097?.['width']===this['_aspectRatio']?.['width']&&_0x49c097?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x55421f=this['$']['*currentAspectRatio'];_0x55421f?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x9e99f5){const {width:_0x2f2860,height:_0x5d6124}=(_0x3a6121=>{let _0x249ce9=0xc,_0x5ac288=0xc;return _0x3a6121['width']/_0x3a6121['height']>=0x1?(_0x249ce9=0xc,_0x5ac288=Math['round'](0xc*_0x3a6121['height']/_0x3a6121['width'])):(_0x5ac288=0xc,_0x249ce9=Math['round'](0xc*_0x3a6121['width']/_0x3a6121['height'])),{'width':_0x249ce9,'height':_0x5ac288};})(_0x9e99f5),_0x32b3da=_0x221308('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(0x10-_0x2f2860)/0x2,'y':(0x10-_0x5d6124)/0x2,'rx':0x2,'width':_0x2f2860,'height':_0x5d6124}),_0x5d2332=this['ref']['icon-el']?.['ref']?.['svg'];_0x5d2332&&(_0x5d2332['innerHTML']='',_0x5d2332['appendChild'](_0x32b3da));}['_aspectRatio'];},_0x2c27ae=class extends _0x34be8e{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x478ac0=>{_0x478ac0&&(this['_operation']=_0x478ac0,this['$']['icon']=_0x478ac0,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x478ac0)['toLowerCase']()})));}),this['$']['on.click']=_0x498949=>{if(!this['_operation'])return;const _0x453ed5=this['$']['*cropperEl'],_0x49c8f6=_0x453ed5['getValue'](this['_operation']),_0x52abcb=function(_0x5c0e0f,_0xbd2d6){if('rotate'===_0x5c0e0f)return function(_0x25bc38){let _0x2b3f87=_0x25bc38+0x5a;return _0x2b3f87=_0x2b3f87>=0x168?0x0:_0x2b3f87,_0x2b3f87;}('number'==typeof _0xbd2d6?_0xbd2d6:0x0);if('mirror'===_0x5c0e0f||'flip'===_0x5c0e0f)return!_0xbd2d6;throw new Error('Unsupported\x20operation:\x20'+_0x5c0e0f);}(this['_operation'],_0x49c8f6);this['telemetryManager']['sendEventCloudImageEditor'](_0x498949,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x52abcb,'prev':_0x49c8f6}),_0x453ed5['setValue'](this['_operation'],_0x52abcb);};}};function _0x52b87e(_0x35aba5){const _0x587f85=new Image();return{'promise':new Promise((_0x43e8c7,_0x394c42)=>{_0x587f85['src']=_0x35aba5,_0x587f85['onload']=()=>_0x43e8c7(),_0x587f85['onerror']=_0x49a4f4=>_0x394c42(_0x49a4f4);}),'image':_0x587f85,'cancel':()=>{0x0===_0x587f85['naturalWidth']&&(_0x587f85['src']=_0x504f75);}};}function _0x4c36e5(_0x217763){const _0x39f928=[];for(const _0x190b9d of _0x217763){const _0x33fd46=_0x52b87e(_0x190b9d);_0x39f928['push'](_0x33fd46);}const _0xa2e648=_0x39f928['map'](_0x38a8cb=>_0x38a8cb['image']);return{'promise':Promise['allSettled'](_0x39f928['map'](_0x1d3b96=>_0x1d3b96['promise'])),'images':_0xa2e648,'cancel':()=>{_0x39f928['forEach'](_0x31758f=>{_0x31758f['cancel']();});}};}var _0x50c002='original',_0xe5f5d3=class extends _0x1ebb01{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0x10973c=>{const _0x56c80f=this['$']['*faderEl'];_0x56c80f?.['set'](_0x10973c),this['$']['value']=_0x10973c;}};}['setOperation'](_0x1b531b,_0x59e7ce){this['_operation']=_0x1b531b,this['_filter']=_0x59e7ce,this['_initializeValues']();const _0xc796ca=this['$']['*faderEl'],_0xafb91b=this['_originalUrl']||this['$']['*originalUrl'];_0xc796ca&&_0xafb91b&&_0xc796ca['activate']({'url':_0xafb91b,'operation':this['_operation'],'value':this['_filter']===_0x50c002?void 0x0:this['$']['value'],'filter':this['_filter']===_0x50c002?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0xf3b67e=this['_operation'],{range:_0x4d9899,zero:_0x13b604}=_0x58cce2[_0xf3b67e],[_0x418404,_0xccd093]=_0x4d9899;this['$']['min']=_0x418404,this['$']['max']=_0xccd093,this['$']['zero']=_0x13b604;const _0x1c9087=this['$']['*editorTransformations'][_0xf3b67e];if('filter'===_0xf3b67e){let _0x52d187=Number(_0xccd093);const _0x40e7a3=_0x1c9087;if(_0x40e7a3){const {name:_0x23c92f,amount:_0x377925}=_0x40e7a3;_0x52d187=_0x23c92f===this['_filter']?_0x377925:_0xccd093;}return this['$']['value']=_0x52d187,void(this['$']['defaultValue']=_0x52d187);}const _0x53bf98=void 0x0!==_0x1c9087?_0x1c9087:_0x13b604;this['$']['value']=_0x53bf98,this['$']['defaultValue']=_0x53bf98;}['apply'](){const _0xd1cfe2={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0x50c002?_0xd1cfe2['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0xd1cfe2['filter']:_0xd1cfe2[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0xd1cfe2;}['cancel'](){const _0x293b08=this['$']['*faderEl'];_0x293b08?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x2d48b4=>{this['_originalUrl']=_0x2d48b4;}),this['sub']('value',_0x54e5e3=>{const _0x28bf3c=(this['_filter']??this['_operation'])+'\x20'+_0x54e5e3;this['$']['*operationTooltip']=_0x28bf3c;});}};function _0x26c61f(_0x454bee){const _0x50725c=_0x454bee['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x50725c)return null;const [,_0x50ddd8,_0x2855ce]=_0x50725c;return _0x50ddd8&&void 0x0!==_0x2855ce?{'filter':_0x50ddd8,'value':Number(_0x2855ce)}:null;}_0xe5f5d3['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';var _0x29b97c=class extends _0x34be8e{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x273303=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x328ea3=window['devicePixelRatio'],_0x3e5c87=Math['ceil'](_0x328ea3*_0x273303),_0x1300d6=_0x328ea3>=0x2?'lightest':'normal',_0x1a3c1a={...this['$']['*editorTransformations']};return _0x1a3c1a[this['_operation']]=this['_filter']!==_0x50c002?{'name':this['_filter'],'amount':0x64}:void 0x0,_0x3c4f8e(this['_originalUrl'],_0x233a2c(_0x21760b,_0x47e6d0(_0x1a3c1a),'quality/'+_0x1300d6,'scale_crop/'+_0x3e5c87+'x'+_0x3e5c87+'/center'));}async['_observerCallback'](_0x4848ad,_0x34bf96){const _0x120abd=_0x4848ad[0x0];if(_0x120abd?.['isIntersecting']){const _0x4d692c=await this['proxyUrl'](this['_previewSrc']()),_0x5e4cc9=this['ref']['preview-el'],{promise:_0x337443,cancel:_0x165c47}=_0x52b87e(_0x4d692c);this['_cancelPreload']=_0x165c47,_0x337443['catch'](_0xdceda7=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0xdceda7});})['finally'](()=>{_0x5e4cc9['style']['backgroundImage']='url('+_0x4d692c+')',_0x5e4cc9['setAttribute']('loaded',''),_0x34bf96['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x56fc40=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x14fc79=this['$']['*sliderEl'];_0x14fc79['setOperation'](this['_operation'],this['_filter']),_0x14fc79['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x56fc40,this['$']['*tabId'],{'operation':_0x26c61f(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x739643=>{this['_operation']='filter',this['_filter']=_0x739643,this['$']['isOriginal']=_0x739643===_0x50c002,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x739643['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x573d19=this['$']['*originalUrl'];if(this['_originalUrl']=_0x573d19,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x10ef4a=>{this['$']['active']=_0x10ef4a&&_0x10ef4a===this['_filter'];}),this['sub']('isOriginal',_0x53b491=>{this['$']['iconSize']=_0x53b491?0x28:0x14;}),this['sub']('active',_0x1340d9=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x1340d9?'1':'0';const _0x1e1842=this['ref']['preview-el'];_0x1340d9?_0x1e1842['style']['opacity']='0':_0x1e1842['style']['backgroundImage']&&(_0x1e1842['style']['opacity']='1');}),this['sub']('*networkProblems',async _0xec0efc=>{if(!_0xec0efc){const _0x128c75=await this['proxyUrl'](this['_previewSrc']()),_0x34bc89=this['ref']['preview-el'];_0x34bc89['style']['backgroundImage']&&(_0x34bc89['style']['backgroundImage']='none',_0x34bc89['style']['backgroundImage']='url('+_0x128c75+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};_0x29b97c['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop;@aria-label:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';var _0xcb5aeb=(_0x4e7a30,_0x3d7170)=>{let _0x5dc636,_0x59c590=!0x1,_0x2243e2=0x0;const _0x746a90=(..._0x242964)=>{_0x59c590?(_0x5dc636&&clearTimeout(_0x5dc636),_0x5dc636=setTimeout(()=>{Date['now']()-_0x2243e2>=_0x3d7170&&(_0x4e7a30(..._0x242964),_0x2243e2=Date['now']());},Math['max'](_0x3d7170-(Date['now']()-_0x2243e2),0x0))):(_0x4e7a30(..._0x242964),_0x2243e2=Date['now'](),_0x59c590=!0x0);};return Object['defineProperty'](_0x746a90,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x5dc636&&clearTimeout(_0x5dc636);}}),_0x746a90;};function _0x2b0a64(_0x3f1dfe,_0x392345,_0x162073){const _0xc72d3f=window['devicePixelRatio'],_0x4bb08e=Math['min'](Math['ceil'](_0x392345*_0xc72d3f),0xbb8),_0xa869=_0xc72d3f>=0x2?'lightest':'normal';return _0x3c4f8e(_0x3f1dfe,_0x233a2c(_0x21760b,_0x47e6d0(_0x162073),'quality/'+_0xa869,'stretch/off/-/resize/'+_0x4bb08e+'x','@clib/'+_0x57d861+'/'+_0x42298a+'/uc-cloud-image-editor/'));}var _0x197e2e=class extends _0x1ebb01{['ctxOwner']=!0x0;['_commitDebounced'];['_handleResizeThrottled'];['_imageSize']={'width':0x0,'height':0x0};['_canvas'];['_ctx']=null;['_isActive']=!0x1;['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'image':null,'*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['_commitDebounced']=_0x23052c(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=_0xcb5aeb(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x23bed0=function(_0x44c9cd,_0x555a2a){const _0x4baa6={};for(const _0x5ea5c7 of _0x555a2a){const _0x3a41d0=_0x44c9cd[_0x5ea5c7];(Object['hasOwn'](_0x44c9cd,_0x5ea5c7)||void 0x0!==_0x3a41d0)&&(_0x4baa6[_0x5ea5c7]=_0x3a41d0);}return _0x4baa6;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x57e5bd={...this['$']['*operations'],..._0x23bed0};this['$']['*operations']=_0x57e5bd;}['_initCanvas'](){const _0x1892c3=this['ref']['canvas-el'],_0x127ec9=_0x1892c3['getContext']('2d'),_0x350769=this['offsetWidth'],_0x1f07f3=this['offsetHeight'],_0x217483=window['devicePixelRatio'];_0x1892c3['style']['width']=_0x350769+'px',_0x1892c3['style']['height']=_0x1f07f3+'px',_0x1892c3['width']=_0x350769*_0x217483,_0x1892c3['height']=_0x1f07f3*_0x217483,_0x127ec9?.['scale'](_0x217483,_0x217483),this['_canvas']=_0x1892c3,this['_ctx']=_0x127ec9;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x9fbd3f=this['$']['image'],_0x33eb46=this['$']['*padding'],_0x2826e7=this['$']['*operations'],{rotate:_0x3ee9f1}=_0x2826e7,_0x347e21=this['offsetWidth'],_0x4459a8=this['offsetHeight'],_0x1c1e82=_0x3dc589({'width':_0x9fbd3f['naturalWidth'],'height':_0x9fbd3f['naturalHeight']},_0x3ee9f1);let _0x2442ca;if(_0x1c1e82['width']>_0x347e21-0x2*_0x33eb46||_0x1c1e82['height']>_0x4459a8-0x2*_0x33eb46){const _0x23eeb0=_0x1c1e82['width']/_0x1c1e82['height'];if(_0x23eeb0>_0x347e21/_0x4459a8){const _0xb1ef44=_0x347e21-0x2*_0x33eb46,_0x51482a=_0xb1ef44/_0x23eeb0;_0x2442ca={'x':0x0+_0x33eb46,'y':_0x33eb46+(_0x4459a8-0x2*_0x33eb46)/0x2-_0x51482a/0x2,'width':_0xb1ef44,'height':_0x51482a};}else{const _0x5c768c=_0x4459a8-0x2*_0x33eb46,_0x4761d0=_0x5c768c*_0x23eeb0;_0x2442ca={'x':_0x33eb46+(_0x347e21-0x2*_0x33eb46)/0x2-_0x4761d0/0x2,'y':0x0+_0x33eb46,'width':_0x4761d0,'height':_0x5c768c};}}else{const {width:_0x15b55c,height:_0x68b18f}=_0x1c1e82;_0x2442ca={'x':_0x33eb46+(_0x347e21-0x2*_0x33eb46)/0x2-_0x15b55c/0x2,'y':_0x33eb46+(_0x4459a8-0x2*_0x33eb46)/0x2-_0x68b18f/0x2,'width':_0x15b55c,'height':_0x68b18f};}this['$']['*imageBox']=_0x4fc0f7(_0x2442ca);}['_alignCrop'](){let _0x327162=this['$']['*cropBox'];const _0x46aebb=this['$']['*imageBox'],_0x31ba33=this['$']['*operations'],{rotate:_0x3c74ad}=_0x31ba33,_0x5861d8=this['$']['*editorTransformations']['crop'],{width:_0x2c3919,x:_0x17c1d9,y:_0x3f53f0}=_0x46aebb;if(_0x5861d8){const {dimensions:[_0x4abfd1,_0x50f316],coords:[_0x54e634,_0x41b7da]}=_0x5861d8,{width:_0x4430a4}=_0x3dc589(this['_imageSize'],_0x3c74ad),_0x43eb61=_0x2c3919/_0x4430a4;_0x327162=_0x19e73e(_0x4fc0f7({'x':_0x17c1d9+_0x54e634*_0x43eb61,'y':_0x3f53f0+_0x41b7da*_0x43eb61,'width':_0x4abfd1*_0x43eb61,'height':_0x50f316*_0x43eb61}),_0x46aebb);}const _0x2bca95=this['$']['*currentAspectRatio'],_0xb1f725=_0x2bca95?_0x2bca95['width']/_0x2bca95['height']:void 0x0;if(_0x170615=_0x46aebb,!((_0x47ee03=_0x327162)['x']>=_0x170615['x']&&_0x47ee03['y']>=_0x170615['y']&&_0x47ee03['x']+_0x47ee03['width']<=_0x170615['x']+_0x170615['width']&&_0x47ee03['y']+_0x47ee03['height']<=_0x170615['y']+_0x170615['height'])||_0xb1f725&&(_0x358f75=_0x327162,_0xa142cd=_0xb1f725,!(Math['abs'](_0x358f75['width']/_0x358f75['height']-_0xa142cd)<0.1))){const _0x2ed5f1=_0x46aebb['width']/_0x46aebb['height'];let _0x49d06e=_0x46aebb['width'],_0x4bbc13=_0x46aebb['height'];_0xb1f725&&(_0x2ed5f1>_0xb1f725?_0x49d06e=Math['min'](_0x46aebb['height']*_0xb1f725,_0x46aebb['width']):_0x4bbc13=Math['min'](_0x46aebb['width']/_0xb1f725,_0x46aebb['height'])),_0x327162={'x':_0x46aebb['x']+_0x46aebb['width']/0x2-_0x49d06e/0x2,'y':_0x46aebb['y']+_0x46aebb['height']/0x2-_0x4bbc13/0x2,'width':_0x49d06e,'height':_0x4bbc13};}var _0x358f75,_0xa142cd,_0x47ee03,_0x170615;this['$']['*cropBox']=_0x19e73e(_0x4fc0f7(_0x327162),_0x46aebb);}['_drawImage'](){const _0x571402=this['_ctx'];if(!_0x571402)return;const _0x5b7ab3=this['$']['image'],_0x2f6ba1=this['$']['*imageBox'],_0x322076=this['$']['*operations'],{mirror:_0x4a7da5,flip:_0x1cab1e,rotate:_0x1f0ece}=_0x322076,_0x250331=_0x3dc589({'width':_0x2f6ba1['width'],'height':_0x2f6ba1['height']},_0x1f0ece);_0x571402['save'](),_0x571402['translate'](_0x2f6ba1['x']+_0x2f6ba1['width']/0x2,_0x2f6ba1['y']+_0x2f6ba1['height']/0x2),_0x571402['rotate'](_0x1f0ece*Math['PI']*-0x1/0xb4),_0x571402['scale'](_0x4a7da5?-0x1:0x1,_0x1cab1e?-0x1:0x1),_0x571402['drawImage'](_0x5b7ab3,-_0x250331['width']/0x2,-_0x250331['height']/0x2,_0x250331['width'],_0x250331['height']),_0x571402['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x3d7b31=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x3d7b31['width'],_0x3d7b31['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x462022}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x35bbc6({'uc-active_from_viewer':_0x462022,'uc-active_from_editor':!_0x462022,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x2057e2=this['$']['*cropBox'],_0x5b413b=this['$']['*imageBox'],_0x258a65=this['$']['*operations'],{rotate:_0x1027b1}=_0x258a65,{width:_0x2fe2fe,height:_0x585e95}=_0x5b413b,{width:_0x1e9fc6,height:_0x1f31ec}=_0x3dc589(this['_imageSize'],_0x1027b1),{width:_0x3c6354,height:_0x5caaa0}=_0x2057e2,_0x1337c3=_0x2fe2fe/_0x1e9fc6,_0x28ee09=_0x585e95/_0x1f31ec;return[_0x2b9a26(Math['round'](_0x3c6354/_0x1337c3),0x1,_0x1e9fc6),_0x2b9a26(Math['round'](_0x5caaa0/_0x28ee09),0x1,_0x1f31ec)];}['_getCropTransformation'](){const _0x1809d0=this['$']['*cropBox'],_0x249048=this['$']['*imageBox'],_0x194d0f=this['$']['*operations'],{rotate:_0x2a7fa9}=_0x194d0f,{width:_0x16513d,height:_0x182eb8,x:_0x34776d,y:_0x2d5cf2}=_0x249048,{width:_0x4c0c87,height:_0x1f4dc3}=_0x3dc589(this['_imageSize'],_0x2a7fa9),{x:_0x116637,y:_0x3669e3}=_0x1809d0,_0x4147cf=_0x16513d/_0x4c0c87,_0x494b99=_0x182eb8/_0x1f4dc3,_0x2b7d22=this['_getCropDimensions'](),_0x29d2e5={'dimensions':_0x2b7d22,'coords':[_0x2b9a26(Math['round']((_0x116637-_0x34776d)/_0x4147cf),0x0,_0x4c0c87-_0x2b7d22[0x0]),_0x2b9a26(Math['round']((_0x3669e3-_0x2d5cf2)/_0x494b99),0x0,_0x1f4dc3-_0x2b7d22[0x1])]};if(function(_0x263100){if(!_0x263100)return!0x0;const _0x1808d2=[({dimensions:_0x1166f1,coords:_0x7c7b48})=>[..._0x1166f1,..._0x7c7b48]['every'](_0x40eef8=>Number['isInteger'](_0x40eef8)&&Number['isFinite'](_0x40eef8)),({dimensions:_0x404782,coords:_0xd0b9db})=>_0x404782['every'](_0x1227ca=>_0x1227ca>0x0)&&_0xd0b9db['every'](_0x483a8c=>_0x483a8c>=0x0)];return _0x1808d2['every'](_0x277951=>_0x277951(_0x263100));}(_0x29d2e5)){if(_0x2b7d22[0x0]!==_0x4c0c87||_0x2b7d22[0x1]!==_0x1f4dc3)return _0x29d2e5;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x29d2e5});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x4b9758=this['$']['*operations'],{rotate:_0x3fd278,mirror:_0x4d0c0b,flip:_0x45ce08}=_0x4b9758,_0x4c5e73=this['_getCropTransformation'](),_0x445232={...this['$']['*editorTransformations'],'crop':_0x4c5e73,'rotate':_0x3fd278,'mirror':_0x4d0c0b,'flip':_0x45ce08};this['$']['*editorTransformations']=_0x445232;}['setValue'](_0x500e9d,_0x1b0f71){this['$']['*operations']={...this['$']['*operations'],[_0x500e9d]:_0x1b0f71},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x6dcbdd){return this['$']['*operations'][_0x6dcbdd];}async['activate'](_0x55d00a,{fromViewer:_0x5acb45}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x55d00a,this['removeEventListener']('transitionend',this['_reset']);try{const _0x58a2c9=this['$']['*originalUrl'],_0x295ae7=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x58a2c9,_0x295ae7),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x5acb45});}catch(_0x58e4f1){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x58e4f1}),this['telemetryManager']['sendEventError'](_0x58e4f1,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x2fa543=>{const [_0x162efd]=_0x2fa543;if(!_0x162efd)return;_0x162efd['contentRect']['width']>0x0&&_0x162efd['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x3d1a85=!0x1}={}){this['_isActive']&&(!_0x3d1a85&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x35bbc6({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){const _0x406658=this['_getCropDimensions'](),_0x29e4e2=this['$']['*cropBox'],_0x2b027d=Math['min'](this['offsetWidth'],_0x406658[0x0])/_0x29e4e2['width'],_0x740914=Math['min'](this['offsetHeight'],_0x406658[0x1])/_0x29e4e2['height'],_0x1dfaf7=Math['min'](_0x2b027d,_0x740914),_0x1838c4=_0x29e4e2['x']+_0x29e4e2['width']/0x2,_0x33e7bc=_0x29e4e2['y']+_0x29e4e2['height']/0x2;this['style']['transform']='scale('+_0x1dfaf7+')\x20translate('+(this['offsetWidth']/0x2-_0x1838c4)/_0x1dfaf7+'px,\x20'+(this['offsetHeight']/0x2-_0x33e7bc)/_0x1dfaf7+'px)',this['style']['transformOrigin']=_0x1838c4+'px\x20'+_0x33e7bc+'px';}['_transitionToImage'](){const _0x21aa03=this['$']['*cropBox'],_0x3cbc97=_0x21aa03['x']+_0x21aa03['width']/0x2,_0x4796df=_0x21aa03['y']+_0x21aa03['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x3cbc97+'px\x20'+_0x4796df+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x261759,_0x3e770b){const _0x4beb83=this['offsetWidth'];_0x3e770b={..._0x3e770b,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x505226=await this['proxyUrl'](_0x2b0a64(_0x261759,_0x4beb83,_0x3e770b)),{promise:_0x2b0e9f,cancel:_0x12fd57,image:_0x18a38a}=_0x52b87e(_0x505226),_0x5b5ba5=this['_handleImageLoading'](_0x505226);return _0x18a38a['addEventListener']('load',_0x5b5ba5,{'once':!0x0}),_0x18a38a['addEventListener']('error',_0x5b5ba5,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x12fd57,_0x2b0e9f['then'](()=>_0x18a38a)['catch'](_0x25c63c=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x25c63c}),this['$']['*networkProblems']=!0x0,_0x18a38a));}['_handleImageLoading'](_0x410fe8){const _0x226650='crop',_0x44b478=this['$']['*loadingOperations'];let _0xb3d6c3=_0x44b478['get'](_0x226650);return _0xb3d6c3||(_0xb3d6c3=new Map(),_0x44b478['set'](_0x226650,_0xb3d6c3)),_0xb3d6c3['get'](_0x410fe8)||(_0xb3d6c3['set'](_0x410fe8,!0x0),this['$']['*loadingOperations']=_0x44b478),()=>{const _0x3d0d31=_0x44b478['get'](_0x226650);_0x3d0d31?.['has'](_0x410fe8)&&(_0x3d0d31['delete'](_0x410fe8),this['$']['*loadingOperations']=_0x44b478);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x18760a=>{_0x18760a||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x497d98(_0x2a8614,_0x558d4c,_0x44e45f){const _0x141aeb=_0x44e45f-0x1,_0x1754c4=new Array(_0x44e45f);for(let _0x1e37f6=_0x141aeb;_0x1e37f6>=0x0;_0x1e37f6-=0x1)_0x1754c4[_0x1e37f6]=Math['ceil']((_0x1e37f6*_0x558d4c+(_0x141aeb-_0x1e37f6)*_0x2a8614)/_0x141aeb);return _0x1754c4;}function _0x4724cd(_0x4c7933,_0xb32f03){const _0x507b63=_0x58cce2[_0x4c7933]['keypointsNumber'],{range:_0x1affee,zero:_0x440f5f}=_0x58cce2[_0x4c7933];return[...new Set([..._0x497d98(_0x1affee[0x0],_0x440f5f,_0x507b63+0x1),..._0x497d98(_0x440f5f,_0x1affee[0x1],_0x507b63+0x1),_0x440f5f,_0xb32f03])]['sort']((_0x2748ac,_0x99232c)=>_0x2748ac-_0x99232c);}_0x197e2e['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';var _0x31b40c=class extends _0x34be8e{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x4e51da=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x4e51da,this['$']['*tabId'],{'operation':_0x26c61f(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0xd66322=>{_0xd66322&&(this['_operation']=_0xd66322,this['$']['icon']=_0xd66322,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0xd66322)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0xd66322)));}),this['sub']('*editorTransformations',_0x528f78=>{if(!this['_operation'])return;const {zero:_0xea1bb3}=_0x58cce2[this['_operation']],_0x1bc74c=_0x528f78[this['_operation']],_0x648e7=void 0x0!==_0x1bc74c&&_0x1bc74c!==_0xea1bb3;this['$']['active']=_0x648e7;});}},_0x3de126=class extends _0x1ebb01{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x5d7b4c=>{_0x5d7b4c['preventDefault']();const {deltaY:_0x4b680a,deltaX:_0x3784d0}=_0x5d7b4c;Math['abs'](_0x3784d0)>0x1?this['scrollLeft']+=_0x3784d0:this['scrollLeft']+=_0x4b680a;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};_0x3de126['template']='\x20<slot></slot>\x20';var _0x34c4ce=class extends _0x1ebb01{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0x50c002,'*currentOperation':null,'showLoader':!0x1,'filters':_0x2caf06,'colorOperations':_0x262e7f,'cropOperations':_0x1394f7,'*operationTooltip':null,'presence.mainToolbar':!0x0,'presence.subToolbar':!0x1,'presence.tabToggles':!0x0,'presence.tabContent.crop':!0x1,'presence.tabContent.tuning':!0x1,'presence.tabContent.filters':!0x1,'presence.tabToggle.crop':!0x0,'presence.tabToggle.tuning':!0x0,'presence.tabToggle.filters':!0x0,'presence.subTopToolbarStyles':{'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},'presence.subBottomToolbarStyles':{'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},'presence.tabContentStyles':{'hidden':'uc-tab-content--hidden','visible':'uc-tab-content--visible'},'presence.tabToggleStyles':{'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},'presence.tabTogglesStyles':{'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},'on.cancel':_0x5b7a55=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x5b7a55,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0xd2a978=>{this['telemetryManager']['sendEventCloudImageEditor'](_0xd2a978,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x1865ff=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x1865ff,this['$']['*tabId'],{'action':'apply-slider','operation':_0x26c61f(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x142406=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x142406,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x26bd66=>{const _0x5b821a=_0x26bd66['currentTarget'],_0x334e18=_0x5b821a?.['getAttribute']('data-id');_0x334e18&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x26bd66,_0x334e18),this['_activateTab'](_0x334e18,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x354800['TUNING']]:'tab_'+_0x354800['TUNING'],['tab_'+_0x354800['CROP']]:'tab_'+_0x354800['CROP'],['tab_'+_0x354800['FILTERS']]:'tab_'+_0x354800['FILTERS'],'cancel':'cancel','apply':'apply','a11y-editor-tab-filters':'a11y-editor-tab-filters','a11y-editor-tab-tuning':'a11y-editor-tab-tuning','a11y-editor-tab-crop':'a11y-editor-tab-crop'},this['_debouncedShowLoader']=_0x23052c(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x23052c(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x354800['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x354800['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x5488ca){const _0x2dcb7d=new _0x31b40c();return _0x2dcb7d['operation']=_0x5488ca,_0x2dcb7d;}['_createFilterControl'](_0x1256f4){const _0x2522cd=new _0x29b97c();return _0x2522cd['filter']=_0x1256f4,_0x2522cd;}['_createToggleControl'](_0x1cbce5){const _0x555c8a=new _0x2c27ae();return _0x555c8a['operation']=_0x1cbce5,_0x555c8a;}['_createAspectRatioControl'](_0x201e35){const _0x3b1740=new _0xc515cc();return _0x3b1740['aspectRatio']=_0x201e35,_0x3b1740;}['_createFreeformControl'](){return new _0x3c7db1();}['_clearListAspectRatio'](){const _0x1f5327=this['$']['*listAspectRatioEl'];_0x1f5327&&(_0x1f5327['innerHTML']='');}['_renderControlsList'](_0x54598c){const _0x2d6e56=this['ref']['controls-list-'+_0x54598c],_0x3a562b=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x54598c===_0x354800['CROP']){const _0x4d23ce=this['$']['*cropPresetList'],_0xbd3b64=_0x4d23ce['length']>=0x3;if(_0xbd3b64){const _0x45a8cd=this['_createFreeformControl']();_0x3a562b['appendChild'](_0x45a8cd);}for(const _0x3f8e60 of _0x4d23ce){const _0x36b254=this['_createAspectRatioControl'](_0x3f8e60);if(_0x3a562b['appendChild'](_0x36b254),_0xbd3b64){const _0x119a5a=this['$']['*listAspectRatioEl'];_0x119a5a?.['appendChild'](_0x36b254);}}for(const _0x283576 of this['$']['cropOperations']){const _0xb79ed2=this['_createToggleControl'](_0x283576);_0x3a562b['appendChild'](_0xb79ed2);}}else{if(_0x54598c===_0x354800['FILTERS']){const _0x75487e=this['$']['filters'];[_0x50c002,..._0x75487e]['forEach'](_0x5b4ba3=>{const _0x49cc82=this['_createFilterControl'](_0x5b4ba3);_0x3a562b['appendChild'](_0x49cc82);});}else{if(_0x54598c===_0x354800['TUNING'])for(const _0x176868 of this['$']['colorOperations']){const _0x1e2513=this['_createOperationControl'](_0x176868);_0x3a562b['appendChild'](_0x1e2513);}}}[..._0x3a562b['children']]['forEach']((_0x185d40,_0x4227d9)=>{_0x4227d9===_0x3a562b['childNodes']['length']-0x1&&_0x185d40['classList']['add']('uc-controls-list_last-item');}),_0x2d6e56['innerHTML']='',_0x2d6e56['appendChild'](_0x3a562b);}['_activateTab'](_0x8a1ecc,{fromViewer:_0x5a0d9b}={}){this['$']['*tabId']=_0x8a1ecc;const _0x589bc7=this['$']['*faderEl'],_0x2a0b4e=this['$']['*cropperEl'];_0x8a1ecc===_0x354800['CROP']?(_0x589bc7?.['deactivate'](),_0x2a0b4e?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x5a0d9b})):(_0x589bc7?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x5a0d9b}),_0x2a0b4e?.['deactivate']());for(const _0xfa794 of _0x1cc345){const _0x2da7b0=_0xfa794===_0x8a1ecc;this['ref']['tab-toggle-'+_0xfa794]['active']=_0x2da7b0,_0x2da7b0?(this['_renderControlsList'](_0x8a1ecc),this['_syncTabIndicator']()):this['_unmountTabControls'](_0xfa794),this['$']['presence.tabContent.'+_0xfa794]=_0x2da7b0;}}['_unmountTabControls'](_0x320889){const _0x33a7f8=this['ref']['controls-list-'+_0x320889];_0x33a7f8&&(_0x33a7f8['innerHTML']='');}['_syncTabIndicator'](){const _0x198827=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x198827['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x1bfeb0=this['$']['*imgContainerEl']['offsetWidth'],_0x5f23df=await this['proxyUrl'](_0x2b0a64(this['$']['*originalUrl'],_0x1bfeb0,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x1f8a06}=_0x4c36e5([_0x5f23df]);this['_cancelPreload']=()=>{_0x1f8a06(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x2113dd){this['$']['showLoader']=_0x2113dd;}['_updateInfoTooltipHandler'](){const _0x1b703=this['$']['*editorTransformations'],_0x5b3b51=this['$']['*currentOperation'];let _0x2100e5='',_0x287580=!0x1;if(this['$']['*tabId']===_0x354800['FILTERS']){if(_0x287580=!0x0,this['$']['*currentFilter']&&_0x1b703?.['filter']?.['name']===this['$']['*currentFilter']){const _0x2c3b90=_0x1b703?.['filter']?.['amount']||0x64;_0x2100e5=this['$']['*currentFilter']+'\x20'+_0x2c3b90;}else _0x2100e5=this['l10n'](_0x50c002);}else{if(this['$']['*tabId']===_0x354800['TUNING']&&_0x5b3b51){_0x287580=!0x0;const _0x2391fb=_0x1b703?.[_0x5b3b51]||_0x58cce2[_0x5b3b51]['zero'];_0x2100e5=this['l10n'](_0x5b3b51)+'\x20'+_0x2391fb;}}_0x287580&&(this['$']['*operationTooltip']=_0x2100e5),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x287580);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0xc9ffcf=>{_0xc9ffcf&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x281e5c=>{const _0x2baa95=_0x281e5c?.['filter']?.['name'];this['$']['*currentFilter']!==_0x2baa95&&(this['$']['*currentFilter']=_0x2baa95);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x20f11c=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x20f11c);}),this['sub']('*loadingOperations',_0x5aef86=>{let _0x1cedcb=!0x1;for(const [,_0x45fb43]of _0x5aef86['entries']()){if(_0x1cedcb)break;for(const [,_0x2766a5]of _0x45fb43['entries']())if(_0x2766a5){_0x1cedcb=!0x0;break;}}this['_debouncedShowLoader'](_0x1cedcb);}),this['sub']('*showSlider',_0x495955=>{this['$']['presence.subToolbar']=_0x495955,this['$']['presence.mainToolbar']=!_0x495955,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0xf99e2d=>{this['$']['presence.subToolbar']=_0xf99e2d,this['$']['presence.mainToolbar']=!_0xf99e2d,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x1f4a65=>{this['$']['presence.tabToggles']=_0x1f4a65['length']>0x1;for(const _0x274b1c of _0x1cc345){this['$']['presence.tabToggle.'+_0x274b1c]=_0x1f4a65['includes'](_0x274b1c),this['ref']['tab-toggle-'+_0x274b1c]['style']['gridColumn']=''+(_0x1f4a65['indexOf'](_0x274b1c)+0x1);}if(!_0x1f4a65['includes'](this['$']['*tabId'])&&_0x1f4a65['length']>0x0){const [_0x580b80]=_0x1f4a65;_0x580b80&&this['_activateTab'](_0x580b80,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};_0x34c4ce['template']='\x0a\x20\x20<uc-line-loader-ui\x20set=\x22active:\x20showLoader\x22></uc-line-loader-ui>\x0a\x20\x20<div\x20class=\x22uc-info-tooltip_container\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-info-tooltip_wrapper\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tooltip-el\x22\x20class=\x22uc-info-tooltip\x20uc-info-tooltip_hidden\x22>{{*operationTooltip}}</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x20\x20<div\x20class=\x22uc-toolbar-container\x22>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20role=\x22tablist\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.mainToolbar;\x20styles:\x20presence.subTopToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-tab-content-row\x22>'+_0x1cc345['map'](function(_0x174645){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x174645+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x174645+';\x20styles:\x20presence.tabContentStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-editor-scroller\x20hidden-scrollbar>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-list_align\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22listbox\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-orientation=\x22horizontal\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-controls-list_inner\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22controls-list-'+_0x174645+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20</uc-editor-scroller>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';})['join']('')+'</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggles;\x20styles:\x20presence.tabTogglesStyles\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ref=\x22tabs-indicator\x22\x20class=\x22uc-tab-toggles_indicator\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1cc345['map'](function(_0x1b5d48){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-toggle\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabToggle.'+_0x1b5d48+';\x20styles:\x20presence.tabToggleStyles;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-btn-ui\x0a\x20\x20\x20\x20\x20\x20\x20\x20theme=\x22tab\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20ref=\x22tab-toggle-'+_0x1b5d48+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x1b5d48+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x1b5d48+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x1b5d48+';\x20title-prop:\x20a11y-editor-tab-'+_0x1b5d48+'\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20';})['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22\x20set=\x22@hidden:!hideSliderOrList\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:hideSliderOrList\x22\x20class=\x22uc-list-aspect-ratio-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-list-aspect-ratio\x22\x20ref=\x22list-el\x22></div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';var _0x52a40a=class extends _0x1ebb01{['_iconReversed']=!0x1;['_iconSingle']=!0x1;['_iconHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x357746=>{_0x357746?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x35bbc6('uc-icon',{'uc-icon_left':!this['_iconReversed'],'uc-icon_right':this['_iconReversed'],'uc-icon_hidden':this['_iconHidden'],'uc-icon_single':this['_iconSingle']});}['initCallback'](){super['initCallback'](),this['sub']('icon',_0x530f9b=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x530f9b,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x38f41f=>{_0x38f41f&&'custom'!==_0x38f41f&&(this['className']='uc-'+_0x38f41f);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x8a5cb5=>{this['$']['aria-role']=_0x8a5cb5||'';}),this['defineAccessor']('aria-controls',_0x11efa0=>{this['$']['aria-controls']=_0x11efa0||'';}),this['defineAccessor']('title-prop',_0x6cc6d7=>{this['$']['title-prop']=_0x6cc6d7||'';});}set['reverse'](_0x36ea46){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};_0x52a40a['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),_0x52a40a['template']='\x0a\x20\x20<button\x0a\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x20@aria-label:title-prop\x22\x0a\x20\x20\x20\x20l10n=\x22@title:title-prop;\x22\x0a\x20\x20>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';var _0x219817=class extends _0x1ebb01{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x39302f=this['ref']['line-el'];_0x39302f['style']['transition']='initial',_0x39302f['style']['opacity']='0',_0x39302f['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x45d696=>{'boolean'==typeof _0x45d696&&(_0x45d696?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x1f6174}=this['getBoundingClientRect'](),_0x8bb2e=this['ref']['line-el'];_0x8bb2e['style']['transition']='transform\x201s',_0x8bb2e['style']['opacity']='1',_0x8bb2e['style']['transform']='translateX('+_0x1f6174+'px)',_0x8bb2e['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x219817['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';var _0x4dbafc='uc-transition',tQ='uc-visible',_0x5c1903='uc-hidden',_0x60a3b3=class extends _0x1ebb01{['_visible']=!0x1;['_visibleStyle']=tQ;['_hiddenStyle']=_0x5c1903;['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x29fd1e=>{_0x29fd1e&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x29fd1e['visible']??tQ,this['_hiddenStyle']=_0x29fd1e['hidden']??_0x5c1903);}),this['defineAccessor']('visible',_0x9d1c8f=>{'boolean'==typeof _0x9d1c8f&&(this['_visible']=_0x9d1c8f,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',function(_0x3504fe,..._0x5d80b3){const _0x19446f=_0x32c9f9(..._0x5d80b3);for(const _0x1fdd6e of Object['keys'](_0x19446f))_0x3504fe['classList']['toggle'](_0x1fdd6e,Boolean(_0x19446f[_0x1fdd6e]));}(this,{[_0x4dbafc]:!this['_externalTransitions'],[this['_visibleStyle']]:this['_visible'],[this['_hiddenStyle']]:!this['_visible']}),this['setAttribute']('aria-hidden',this['_visible']?'false':'true');}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['_externalTransitions']||this['classList']['add'](_0x4dbafc),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x60a3b3['template']='<slot></slot>\x20';var _0x2918e1=class extends _0x1ebb01{['_observer'];['_thumbSize']=0x0;['_zero']=0x0;['_zeroDotEl'];['_stepsCount'];constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':0x0,'on.sliderInput':()=>{const _0x1d948a=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x1d948a),this['$']['onInput']?.(_0x1d948a);},'on.sliderChange':()=>{const _0x454927=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x454927);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x573758=>{this['$']['disabled']=_0x573758;}),this['defineAccessor']('min',_0x232f0f=>{this['$']['min']=_0x232f0f;}),this['defineAccessor']('max',_0x43658c=>{this['$']['max']=_0x43658c;}),this['defineAccessor']('defaultValue',_0x545c1c=>{this['$']['defaultValue']=_0x545c1c,(this['_inputEl']()['value']=String(_0x545c1c),this['_updateValue'](_0x545c1c));}),this['defineAccessor']('zero',_0x27612b=>{this['_zero']=_0x27612b;}),this['defineAccessor']('onInput',_0x39ecd0=>{_0x39ecd0&&(this['$']['onInput']=_0x39ecd0);}),this['defineAccessor']('onChange',_0x1f1b4c=>{_0x1f1b4c&&(this['$']['onChange']=_0x1f1b4c);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x55c383=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x55c383);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x131a82=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x131a82);},0x0),this['sub']('disabled',_0x373793=>{const _0x3b41f4=this['_inputEl']();_0x373793?_0x3b41f4['setAttribute']('disabled','disabled'):_0x3b41f4['removeAttribute']('disabled');});const _0x135be8=this['_inputEl']();_0x135be8['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x135be8['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_inputEl'](){return this['ref']['input-el'];}['_thumbEl'](){return this['ref']['thumb-el'];}['_stepsEl'](){return this['ref']['steps-el'];}['_updateValue'](_0x58c6ed){this['_updateZeroDot'](_0x58c6ed);const {width:_0x113fd5}=this['getBoundingClientRect'](),_0x18fa25=0x64/(this['$']['max']-this['$']['min'])*(_0x58c6ed-this['$']['min'])*(_0x113fd5-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x18fa25+'px)';});}['_updateZeroDot'](_0x1a4e9e){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x1a4e9e===this['_zero']?'0':'1';const {width:_0x160663}=this['getBoundingClientRect'](),_0x2ff06a=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x160663-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x2ff06a+'px)');});}['_updateSteps'](){const _0x31e757=this['_stepsEl'](),{width:_0x59fa57}=_0x31e757['getBoundingClientRect'](),_0x59dc7e=Math['ceil'](_0x59fa57/0x2),_0x51c9d9=Math['ceil'](_0x59dc7e/0xf)-0x2;if(this['_stepsCount']===_0x51c9d9)return;const _0x17a08c=document['createDocumentFragment'](),_0x56f5c8=document['createElement']('div'),_0x1cb2cf=document['createElement']('div');_0x56f5c8['className']='uc-minor-step',_0x1cb2cf['className']='uc-border-step',_0x17a08c['appendChild'](_0x1cb2cf);for(let _0x234aee=0x0;_0x234aee<_0x51c9d9;_0x234aee+=0x1)_0x17a08c['appendChild'](_0x56f5c8['cloneNode']());_0x17a08c['appendChild'](_0x1cb2cf['cloneNode']());for(let _0x182e59=0x0;_0x182e59<_0x51c9d9;_0x182e59+=0x1)_0x17a08c['appendChild'](_0x56f5c8['cloneNode']());_0x17a08c['appendChild'](_0x1cb2cf['cloneNode']());const _0x3c6371=document['createElement']('div');_0x3c6371['className']='uc-zero-dot',_0x17a08c['appendChild'](_0x3c6371),this['_zeroDotEl']=_0x3c6371,_0x31e757['innerHTML']='',_0x31e757['appendChild'](_0x17a08c),this['_stepsCount']=_0x51c9d9;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x2918e1['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';var _0x13287c=_0x3931f0=>_0x3931f0['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x24a33f=>_0x24a33f['toLowerCase']())['join']('-'),_0x57e8b5=[{'test':_0x4f211d=>!!_0x4f211d['accept']&&!!_0x4f211d['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':_0x3c47e0=>null!==_0x3c47e0['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':_0x4a6284=>null!==_0x4a6284['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x3ddb8f=_0x23052c(_0x16a2d6=>{for(const {test:_0x4605a7,message:_0x57b7ad}of _0x57e8b5)_0x4605a7(_0x16a2d6)&&_0xdfcfed(_0x57b7ad);},0x0),_0x2db83a=_0x1f24a0=>_0x1f24a0 instanceof Promise||Boolean(_0x1f24a0&&'object'==typeof _0x1f24a0&&'then'in _0x1f24a0&&'function'==typeof _0x1f24a0['then']),_0x3aba7c=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x3072e6,enableVideoRecording:_0x1df054})=>{if(null===_0x1df054)return _0x3072e6;let _0x5dd9d1=_0x4c7c3d(_0x3072e6);return _0x1df054&&!_0x5dd9d1['includes']('video')?_0x5dd9d1=_0x5dd9d1['concat']('video'):_0x1df054||(_0x5dd9d1=_0x5dd9d1['filter'](_0x29e29b=>'video'!==_0x29e29b)),_0x3c7eed(_0x5dd9d1);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x110322,defaultCameraMode:_0x1bfe6f})=>{if(null===_0x1bfe6f)return _0x110322;let _0x3bd108=_0x4c7c3d(_0x110322);return _0x3bd108=_0x3bd108['sort']((_0x3d51cd,_0x43c716)=>_0x3d51cd===_0x1bfe6f?-0x1:_0x43c716===_0x1bfe6f?0x1:0x0),_0x3c7eed(_0x3bd108);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x50d4d1,cdnCname:_0x4a8d2d,cdnCnamePrefixed:_0x50c06d})=>_0x50d4d1&&(_0x4a8d2d===_0xe1eaf||((_0x1a089c,_0x415388)=>{try{const _0x42f329=new URL(_0x1a089c),t=new URL(_0x415388);return _0x42f329['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}})(_0x4a8d2d,_0x50c06d))?_0x35a62b(_0x50d4d1,_0x50c06d):_0x4a8d2d}],_0x1a3c88=({key:_0x12959c,setValue:_0x4663d1,getValue:_0x387487,computationControllers:_0x49b9db})=>{for(const _0x41c68e of _0x3aba7c)if(_0x41c68e['deps']['includes'](_0x12959c)){const _0x33f8ae={[_0x41c68e['key']]:_0x387487(_0x41c68e['key'])};for(const _0x23f8e6 of _0x41c68e['deps'])_0x33f8ae[_0x23f8e6]=_0x387487(_0x23f8e6);const _0x5b2425=new AbortController();let _0x541024;_0x49b9db['get'](_0x41c68e['key'])?.['abort'](),_0x49b9db['set'](_0x41c68e['key'],_0x5b2425);try{_0x541024=_0x41c68e['fn'](_0x33f8ae,{'signal':_0x5b2425['signal']});}catch(_0x3e0808){return _0x49b9db['get'](_0x41c68e['key'])===_0x5b2425&&_0x49b9db['delete'](_0x41c68e['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x41c68e['key']+'\x22',_0x3e0808);}_0x2db83a(_0x541024)?_0x541024['then'](_0x30b7b0=>{_0x5b2425['signal']['aborted']||_0x4663d1(_0x41c68e['key'],_0x30b7b0);})['catch'](_0x12d0b7=>{_0x5b2425['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x41c68e['key']+'\x22',_0x12d0b7);})['finally'](()=>{_0x49b9db['get'](_0x41c68e['key'])===_0x5b2425&&_0x49b9db['delete'](_0x41c68e['key']);}):_0x4663d1(_0x41c68e['key'],_0x541024);}},_0x13b7b2=_0x3fad8d=>String(_0x3fad8d),_0x24969d=_0x38ad66=>{const _0x1c080c=Number(_0x38ad66);if(Number['isNaN'](_0x1c080c))throw new Error('Invalid\x20number:\x20\x22'+_0x38ad66+'\x22');return _0x1c080c;},_0x471045=_0xd3928a=>{if(null==_0xd3928a)return!0x1;if('boolean'==typeof _0xd3928a)return _0xd3928a;if('true'===_0xd3928a)return!0x0;if(''===_0xd3928a)return!0x0;if('false'===_0xd3928a)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0xd3928a+'\x22');},_0x143052=_0x4355a2=>{if('object'==typeof _0x4355a2)return _0x4355a2;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x5526b4=_0x127a96=>{if('function'==typeof _0x127a96)return _0x127a96;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x591bdb=_0x450a6e=>{if(Array['isArray'](_0x450a6e))return _0x450a6e;throw new Error('Must\x20be\x20an\x20array.');},_0x208b47={'pubkey':_0x13b7b2,'multiple':_0x471045,'multipleMin':_0x24969d,'multipleMax':_0x24969d,'confirmUpload':_0x471045,'imgOnly':_0x471045,'accept':_0x13b7b2,'externalSourcesPreferredTypes':_0x13b7b2,'externalSourcesEmbedCss':_0x13b7b2,'store':_0x1e6650=>'auto'===_0x1e6650?_0x1e6650:_0x471045(_0x1e6650),'cameraMirror':_0x471045,'cameraCapture':_0x290b9d=>{const _0x4ed681=_0x13b7b2(_0x290b9d);if('user'!==_0x4ed681&&'environment'!==_0x4ed681&&''!==_0x4ed681)throw new Error('Invalid\x20value:\x20\x22'+_0x4ed681+'\x22');return _0x4ed681;},'sourceList':_0x13b7b2,'topLevelOrigin':_0x13b7b2,'maxLocalFileSizeBytes':_0x24969d,'thumbSize':_0x24969d,'showEmptyList':_0x471045,'useLocalImageEditor':_0x471045,'useCloudImageEditor':_0x471045,'cloudImageEditorTabs':_0x13b7b2,'removeCopyright':_0x471045,'cropPreset':_0x13b7b2,'imageShrink':_0x13b7b2,'modalScrollLock':_0x471045,'modalBackdropStrokes':_0x471045,'sourceListWrap':_0x471045,'remoteTabSessionKey':_0x13b7b2,'cdnCname':_0x13b7b2,'cdnCnamePrefixed':_0x13b7b2,'baseUrl':_0x13b7b2,'socialBaseUrl':_0x13b7b2,'secureSignature':_0x13b7b2,'secureExpire':_0x13b7b2,'secureDeliveryProxy':_0x13b7b2,'retryThrottledRequestMaxTimes':_0x24969d,'retryNetworkErrorMaxTimes':_0x24969d,'multipartMinFileSize':_0x24969d,'multipartChunkSize':_0x24969d,'maxConcurrentRequests':_0x24969d,'multipartMaxConcurrentRequests':_0x24969d,'multipartMaxAttempts':_0x24969d,'checkForUrlDuplicates':_0x471045,'saveUrlForRecurrentUploads':_0x471045,'groupOutput':_0x471045,'userAgentIntegration':_0x13b7b2,'debug':_0x471045,'localeName':_0x13b7b2,'metadata':_0x28bdfb=>{if('object'==typeof _0x28bdfb&&!Array['isArray'](_0x28bdfb))return _0x28bdfb;if('function'==typeof _0x28bdfb)return _0x28bdfb;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x24969d,'localeDefinitionOverride':_0x173120=>_0x143052(_0x173120),'secureUploadsSignatureResolver':_0x52529b=>_0x5526b4(_0x52529b),'secureDeliveryProxyUrlResolver':_0x58380b=>_0x5526b4(_0x58380b),'iconHrefResolver':_0x2dcc38=>_0x5526b4(_0x2dcc38),'fileValidators':_0x591bdb,'collectionValidators':_0x591bdb,'validationTimeout':_0x24969d,'validationConcurrency':_0x24969d,'cameraModes':_0x4ad32d=>{const _0x20bfe8=_0x13b7b2(_0x4ad32d),_0x4af2ee=_0x4c7c3d(_0x20bfe8);if(_0x4af2ee['some'](_0x26ad63=>!Object['values'](_0x2ce99c)['includes'](_0x26ad63)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x4af2ee)+'\x22');return _0x20bfe8;},'defaultCameraMode':_0x416eb3=>{const _0x29f1a7=_0x13b7b2(_0x416eb3);if(!Object['values'](_0x2ce99c)['includes'](_0x29f1a7))throw new Error('Invalid\x20value:\x20\x22'+_0x29f1a7+'\x22');return _0x29f1a7;},'enableAudioRecording':_0x471045,'enableVideoRecording':_0x471045,'mediaRecorderOptions':_0x143052,'maxVideoRecordingDuration':_0x24969d,'filesViewMode':_0x2c0d6b=>{const _0x291dcb=_0x13b7b2(_0x2c0d6b);if(['grid','list']['includes'](_0x291dcb))return _0x291dcb;throw new Error('Invalid\x20value:\x20\x22'+_0x291dcb+'\x22');},'gridShowFileNames':_0x471045,'cloudImageEditorAutoOpen':_0x471045,'cloudImageEditorMaskHref':_0x13b7b2,'testMode':_0x471045,'qualityInsights':_0x471045},_0x57cb6d=[...new Set(['debug',...Object['keys'](_0x543c72)])],_0x114bc9=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x1c06d7=_0x252508=>_0x114bc9['includes'](_0x252508),_0x5484d8=_0x57cb6d['filter'](_0x41282f=>!_0x1c06d7(_0x41282f)),_0x312e7e={...Object['fromEntries'](_0x5484d8['map'](_0x21fa03=>[_0x13287c(_0x21fa03),_0x21fa03])),...Object['fromEntries'](_0x5484d8['map'](_0x5b1e3a=>[_0x5b1e3a['toLowerCase'](),_0x5b1e3a]))},_0x38acca={...Object['fromEntries'](_0x5484d8['map'](_0x5017b6=>[_0x13287c(_0x5017b6),_0x3ba48e(_0x5017b6)])),...Object['fromEntries'](_0x5484d8['map'](_0xfbc9aa=>[_0xfbc9aa['toLowerCase'](),_0x3ba48e(_0xfbc9aa)]))},_0x5c6e97=_0x284ac7=>'__'+_0x284ac7,_0x498112=class extends _0x1ebb01{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x543c72)['map'](([_0x247bda,_0x2c2af3])=>[_0x3ba48e(_0x247bda),_0x2c2af3])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0xdd561f,_0x34608b){if(!_0x1c06d7(_0xdd561f)){const _0x37d35d=[...new Set([_0x13287c(_0xdd561f),_0xdd561f['toLowerCase']()])];for(const _0x4bc211 of _0x37d35d)null==_0x34608b?this['removeAttribute'](_0x4bc211):this['getAttribute'](_0x4bc211)!==_0x34608b['toString']()&&this['setAttribute'](_0x4bc211,_0x34608b['toString']());}}['_flushValueToState'](_0x391447,_0x388977){this['$'][_0x3ba48e(_0x391447)]!==_0x388977&&(this['$'][_0x3ba48e(_0x391447)]=null==_0x388977?_0x543c72[_0x391447]:_0x388977);}['_setValue'](_0x3ae4b1,_0x3cdba2){const _0x2cb656=this,_0x5ed83f=((_0x3f20b6,_0x3646d1)=>{if(null!=_0x3646d1)try{return _0x208b47[_0x3f20b6](_0x3646d1);}catch(_0x314bd9){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x3f20b6+'\x22.',_0x314bd9),_0x543c72[_0x3f20b6];}})(_0x3ae4b1,_0x3cdba2),_0x3f56fc=_0x5c6e97(_0x3ae4b1);_0x2cb656[_0x3f56fc]!==_0x5ed83f&&(this['_assertSameValueDifferentReference'](_0x3ae4b1,_0x2cb656[_0x3f56fc],_0x5ed83f),_0x2cb656[_0x3f56fc]=_0x5ed83f,this['_flushValueToAttribute'](_0x3ae4b1,_0x5ed83f),this['_flushValueToState'](_0x3ae4b1,_0x5ed83f),this['debugPrint']('[uc-config]\x20\x22'+_0x3ae4b1+'\x22',_0x5ed83f),_0x3ddb8f(this['cfg']));}['_getValue'](_0x768bd4){return this[_0x5c6e97(_0x768bd4)]??this['$'][_0x3ba48e(_0x768bd4)];}['_assertSameValueDifferentReference'](_0x6fecad,_0x5142dd,_0x392869){this['cfg']['debug']&&_0x392869!==_0x5142dd&&'object'==typeof _0x392869&&'object'==typeof _0x5142dd&&JSON['stringify'](_0x392869)===JSON['stringify'](_0x5142dd)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x6fecad+'\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'+_0x6fecad+'\x22\x20previous\x20value:',_0x5142dd),console['warn']('[uc-config]\x20\x22'+_0x6fecad+'\x22\x20new\x20value:',_0x392869));}['initCallback'](){super['initCallback']();const _0x2b4388=this;for(const _0xe96977 of _0x5484d8)this['sub'](_0x3ba48e(_0xe96977),_0x3bb2bd=>{this['_setValue'](_0xe96977,_0x3bb2bd);},!0x1);for(const _0xd578ab of _0x57cb6d){const _0x134681=_0x2b4388[_0xd578ab]??this['$'][_0x3ba48e(_0xd578ab)];_0x134681!==_0x543c72[_0xd578ab]&&this['_setValue'](_0xd578ab,_0x134681),Object['defineProperty'](this,_0xd578ab,{'set':_0x10cff4=>{this['_setValue'](_0xd578ab,_0x10cff4);},'get':()=>this['_getValue'](_0xd578ab)});}for(const _0x9bada3 of _0x57cb6d)this['sub'](_0x3ba48e(_0x9bada3),()=>{_0x1a3c88({'key':_0x9bada3,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x65d934,_0xe62654,_0x445477){if(_0xe62654===_0x445477)return;const _0x1826e0=this,_0x15a00a=_0x312e7e[_0x65d934];_0x15a00a&&(_0x1826e0[_0x15a00a]=_0x445477);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x498112['bindAttributes'](_0x38acca);for(const _0x2016d2 of _0x57cb6d)_0x498112['prototype'][_0x2016d2]=void 0x0;function _0x2cd6d5(_0x339659){return new Promise(_0x258f88=>{'function'!=typeof window['FileReader']&&_0x258f88(!0x1);try{const _0x4a6ea2=new FileReader();_0x4a6ea2['onerror']=()=>{_0x258f88(!0x0);};const _0x5327a0=_0x9f0415=>{'loadend'!==_0x9f0415['type']&&_0x4a6ea2['abort'](),_0x258f88(!0x1);};_0x4a6ea2['onloadend']=_0x5327a0,_0x4a6ea2['onprogress']=_0x5327a0,_0x4a6ea2['readAsDataURL'](_0x339659);}catch{_0x258f88(!0x1);}});}function _0x3fade0(_0x2bf2c0,_0x4adeee){return new Promise(_0x46a06c=>{let _0x2c04e1=0x0;const _0xfe2a77=[],_0x34edad=_0xd705b6=>{if(!_0xd705b6)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x46a06c(null);_0xd705b6['isFile']?(_0x2c04e1++,_0xd705b6['file'](_0x4c7e1e=>{_0x2c04e1--;const _0x404a0f=new File([_0x4c7e1e],_0x4c7e1e['name'],{'type':_0x4c7e1e['type']||_0x4adeee});_0xfe2a77['push']({'type':'file','file':_0x404a0f,'fullPath':_0xd705b6['fullPath']}),0x0===_0x2c04e1&&_0x46a06c(_0xfe2a77);})):_0xd705b6['isDirectory']&&_0x4ff35b(_0xd705b6['createReader']());},_0x4ff35b=_0x5b008f=>{_0x2c04e1++,_0x5b008f['readEntries'](_0x56148c=>{_0x2c04e1--;for(const _0x194158 of _0x56148c)_0x34edad(_0x194158);0x0===_0x2c04e1&&_0x46a06c(_0xfe2a77);});};_0x34edad(_0x2bf2c0);});}var _0x2bc1f2=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x16c6ed=['focus'],_0x5ce8dc=new Map();function _0x10d5aa(_0x3546a0){let _0x4c27b6=0x0;const _0x5ed282=document['body'],_0x22bbd7=new Set();let _0x4e911a=_0x2bc1f2['INACTIVE'];const _0x56c950=_0x14ee94=>{_0x3546a0['shouldIgnore']()&&_0x14ee94!==_0x2bc1f2['INACTIVE']||(_0x4e911a!==_0x14ee94&&_0x22bbd7['forEach'](_0x467d57=>{_0x467d57(_0x14ee94);}),_0x4e911a=_0x14ee94);},_0x2f56b9=()=>_0x4c27b6>0x0;var _0x5da073;_0x5da073=_0x454599=>_0x3546a0['onChange'](_0x454599),_0x22bbd7['add'](_0x5da073);const _0x2fcc17=()=>{_0x4c27b6=0x0,_0x56c950(_0x2bc1f2['INACTIVE']);},_0x51922d=()=>{_0x4c27b6+=0x1,_0x4e911a===_0x2bc1f2['INACTIVE']&&_0x56c950(_0x2bc1f2['ACTIVE']);},_0x3bc80d=()=>{_0x4c27b6-=0x1,_0x2f56b9()||_0x56c950(_0x2bc1f2['INACTIVE']);},_0x120a54=_0x39c275=>{_0x39c275['preventDefault'](),_0x4c27b6=0x0,_0x56c950(_0x2bc1f2['INACTIVE']);},_0x1c9824=_0x4e3b76=>{if(_0x3546a0['shouldIgnore']())return;_0x2f56b9()||(_0x4c27b6+=0x1);const _0x4e7308=[_0x4e3b76['x'],_0x4e3b76['y']],_0xf84599=_0x3546a0['element']['getBoundingClientRect'](),_0xf8ec0a=Math['floor'](function(_0x50b87b,_0x533c35){const _0x586b5e=Math['max'](Math['min'](_0x50b87b[0x0],_0x533c35['x']+_0x533c35['width']),_0x533c35['x']),_0x5991c7=Math['max'](Math['min'](_0x50b87b[0x1],_0x533c35['y']+_0x533c35['height']),_0x533c35['y']);return Math['sqrt']((_0x50b87b[0x0]-_0x586b5e)*(_0x50b87b[0x0]-_0x586b5e)+(_0x50b87b[0x1]-_0x5991c7)*(_0x50b87b[0x1]-_0x5991c7));}(_0x4e7308,_0xf84599)),_0x1d6650=_0xf8ec0a<0x64,_0x36d45a=_0x4e3b76['composedPath']()['includes'](_0x3546a0['element']);_0x5ce8dc['set'](_0x3546a0['element'],_0xf8ec0a);const _0x544301=Math['min'](..._0x5ce8dc['values']())===_0xf8ec0a;_0x36d45a&&_0x544301?(_0x4e3b76['preventDefault'](),_0x56c950(_0x2bc1f2['OVER'])):_0x56c950(_0x1d6650&&_0x544301?_0x2bc1f2['NEAR']:_0x2bc1f2['ACTIVE']);},_0x40f8e5=async _0x40fbe1=>{if(_0x3546a0['shouldIgnore']())return;_0x40fbe1['preventDefault']();const {dataTransfer:_0x4d59c9}=_0x40fbe1;if(!_0x4d59c9)return;const _0x1ca4f0=await function(_0x978e0e){const _0x1fcc56=[],_0x5bc7d4=[];for(let _0x1b4578=0x0;_0x1b4578<_0x978e0e['items']['length'];_0x1b4578++){const _0xef86d6=_0x978e0e['items'][_0x1b4578];if(_0xef86d6){if('file'===_0xef86d6['kind']){const _0x3649c7=_0xef86d6['type'],_0x3e7b47=_0xef86d6;if('function'==typeof _0x3e7b47['webkitGetAsEntry']||'function'==typeof _0x3e7b47['getAsEntry']){const _0x320792='function'==typeof _0x3e7b47['webkitGetAsEntry']?_0x3e7b47['webkitGetAsEntry']():_0x3e7b47['getAsEntry']?.();_0x320792&&_0x5bc7d4['push'](_0x3fade0(_0x320792,_0x3649c7)['then'](_0x4223ce=>{_0x4223ce&&_0x1fcc56['push'](..._0x4223ce);}));continue;}const _0x1a063e=_0xef86d6['getAsFile']();_0x1a063e&&_0x5bc7d4['push'](_0x2cd6d5(_0x1a063e)['then'](_0x26041c=>{_0x26041c||_0x1fcc56['push']({'type':'file','file':_0x1a063e});}));}else'string'===_0xef86d6['kind']&&/^text\/uri-list/['test'](_0xef86d6['type'])&&_0x5bc7d4['push'](new Promise(_0x5d32f6=>{_0xef86d6['getAsString'](_0x67db02=>{_0x1fcc56['push']({'type':'url','url':_0x67db02}),_0x5d32f6();});}));}}return Promise['all'](_0x5bc7d4)['then'](()=>_0x1fcc56);}(_0x4d59c9);_0x3546a0['onItems'](_0x1ca4f0),_0x56c950(_0x2bc1f2['INACTIVE']);};return _0x5ed282['addEventListener']('drop',_0x120a54),_0x5ed282['addEventListener']('dragleave',_0x3bc80d),_0x5ed282['addEventListener']('dragenter',_0x51922d),_0x5ed282['addEventListener']('dragover',_0x1c9824),_0x3546a0['element']['addEventListener']('drop',_0x40f8e5),_0x16c6ed['forEach'](_0x377520=>{window['addEventListener'](_0x377520,_0x2fcc17);}),()=>{_0x5ce8dc['delete'](_0x3546a0['element']),_0x5ed282['removeEventListener']('drop',_0x120a54),_0x5ed282['removeEventListener']('dragleave',_0x3bc80d),_0x5ed282['removeEventListener']('dragenter',_0x51922d),_0x5ed282['removeEventListener']('dragover',_0x1c9824),_0x3546a0['element']['removeEventListener']('drop',_0x40f8e5),_0x16c6ed['forEach'](_0x59d648=>{window['removeEventListener'](_0x59d648,_0x2fcc17);});};}var _0x1e30bd='uc-drop-area',_0x39bd18=_0x1e30bd+'/registry',_0x5bf412=class extends _0x2efe71{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':_0x2bc1f2['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x39bd18]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x2b6d07=this['getBoundingClientRect'](),_0x163c43=_0x2b6d07['width']>0x0&&_0x2b6d07['height']>0x0,_0x500485=_0x2b6d07['top']>=0x0&&_0x2b6d07['left']>=0x0&&_0x2b6d07['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x2b6d07['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x2ede79=window['getComputedStyle'](this),_0x5b5f56='hidden'!==_0x2ede79['visibility']&&'none'!==_0x2ede79['display'];return _0x163c43&&_0x5b5f56&&_0x500485;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x39bd18]['add'](this),this['defineAccessor']('disabled',_0x5d2ead=>{this['set$']({'isEnabled':!_0x471045(_0x5d2ead)});}),this['defineAccessor']('clickable',_0x1df793=>{this['set$']({'isClickable':_0x471045(_0x1df793)});}),this['defineAccessor']('initflow',_0x1f360e=>{this['set$']({'isInitFlow':_0x471045(_0x1f360e)});}),this['defineAccessor']('with-icon',_0x509310=>{this['set$']({'withIcon':_0x471045(_0x509310)});}),this['defineAccessor']('fullscreen',_0x548e93=>{this['set$']({'isFullscreen':_0x471045(_0x548e93)});}),this['defineAccessor']('text',_0x31e0d5=>{'string'==typeof _0x31e0d5?this['bindL10n']('text',()=>this['l10n'](_0x31e0d5)||_0x31e0d5):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x10d5aa({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x241fd5=>{this['$']['state']=_0x241fd5;},'onItems':_0x154924=>{_0x154924['length']&&(_0x154924['forEach'](_0x27bf3f=>{'url'===_0x27bf3f['type']?this['api']['addFileFromUrl'](_0x27bf3f['url'],{'source':_0x3ca01d['DROP_AREA']}):'file'===_0x27bf3f['type']&&this['api']['addFileFromObject'](_0x27bf3f['file'],{'source':_0x3ca01d['DROP_AREA'],'fullPath':_0x27bf3f['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':_0x415f03['activities']['UPLOAD_LIST']})));}}));const _0x39ee7d=this['ref']['content-wrapper'];if(_0x39ee7d&&(this['_destroyContentWrapperDropzone']=_0x10d5aa({'element':_0x39ee7d,'onChange':_0x4e6104=>{const _0x451c67=Object['entries'](_0x2bc1f2)['find'](([,_0x4841d7])=>_0x4841d7===_0x4e6104)?.[0x0]['toLowerCase']();_0x451c67&&_0x39ee7d['setAttribute']('drag-state',_0x451c67);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x283e0c=>{const _0x4ee232=Object['entries'](_0x2bc1f2)['find'](([,_0x9a07d4])=>_0x9a07d4===_0x283e0c)?.[0x0]['toLowerCase']();_0x4ee232&&this['setAttribute']('drag-state',_0x4ee232);}),this['subConfigValue']('sourceList',_0x1458df=>{const _0x3f118e=_0x900720(_0x1458df);this['$']['isEnabled']=_0x3f118e['includes'](_0x3ca01d['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x4554eb=>{this['toggleAttribute']('hidden',!_0x4554eb);}),this['sub']('isClickable',_0xa6b1e0=>{this['toggleAttribute']('clickable',_0xa6b1e0);}),this['$']['isClickable']){const _0xad5218=_0x1896c9=>{if(_0x1896c9 instanceof KeyboardEvent){if('Space'===_0x1896c9['code']||'Enter'===_0x1896c9['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x1896c9 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0xad5218,this['addEventListener']('keydown',_0xad5218),this['addEventListener']('click',_0xad5218);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0xb758fb=this['$'][_0x39bd18];if(0x0===_0xb758fb['size'])return!0x1;return[..._0xb758fb]['filter'](_0x180df3=>_0x180df3!==this)['filter'](_0x495b0c=>_0x495b0c['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x17f42e=this['cfg']['multiple'],_0x2b68e8=this['cfg']['multipleMax'],_0xb5ea1e=this['uploadCollection']['size'];return!(_0x17f42e&&_0x2b68e8&&_0xb5ea1e>=_0x2b68e8)&&!(!_0x17f42e&&_0xb5ea1e>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x371a58=this['$'][_0x39bd18];_0x371a58['delete'](this),0x0===_0x371a58['size']&&_0x58010a['deleteCtx'](_0x1e30bd),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0x5bf412['template']='\x0a\x20\x20<slot>\x0a\x20\x20\x20\x20<div\x20data-default-slot\x20hidden></div>\x0a\x20\x20\x20\x20<div\x20ref=\x22content-wrapper\x22\x20class=\x22uc-content-wrapper\x22\x20set=\x22@hidden:\x20!isVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-icon-container\x22\x20set=\x22@hidden:\x20!withIcon\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22default\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22arrow-down\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-text\x22>{{text}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</slot>\x0a',_0x5bf412['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var _0x4b9153=()=>{const _0x195cef=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x195cef['location']['origin'];}catch(_0x1d7732){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x1d7732),globalThis['location']['origin'];}},_0x5578a4=_0x148185=>_0x148185['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x26aa89=(_0x30dd33,_0x3ae1cf='i')=>{const _0x38dfd1=_0x30dd33['split']('*')['map'](_0x5578a4);return new RegExp('^'+_0x38dfd1['join']('.+')+'$',_0x3ae1cf);},_0x4b3171=['--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'],_0x4bb77d=(_0x5ea706,_0x1854a7)=>window['getComputedStyle'](_0x5ea706)['getPropertyValue'](_0x1854a7)['trim'](),_0x2eaf32=_0x439321=>{const _0x5a5210={};for(const _0x225476 of _0x4b3171){const _0xab1ce7=_0x4bb77d(_0x439321,_0x225476);_0xab1ce7&&(_0x5a5210[_0x225476]=_0xab1ce7);}return _0x5a5210;},_0x254ba6=['selected-files-change','toolbar-state-change'],_0x285ea2=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x5d0e62,_0x207a5c){this['_context']=_0x5d0e62,this['_getTargetOrigin']=_0x207a5c,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x39ea6c=>{if(_0x39ea6c['source']!==this['_context'])return;const _0x36c3cd=_0x39ea6c['data'];if(!(_0x4d5341=>{if(!_0x4d5341)return!0x1;if('object'!=typeof _0x4d5341)return!0x1;if(!('type'in _0x4d5341))return!0x1;const _0x374ff2=_0x4d5341['type'];return'string'==typeof _0x374ff2&&!!_0x254ba6['includes'](_0x374ff2);})(_0x36c3cd))return;const _0xc9a98=this['_handlerMap']['get'](_0x36c3cd['type']);if(_0xc9a98){for(const _0x3ff243 of _0xc9a98)_0x3ff243(_0x36c3cd);}};['on'](_0x46e3c5,_0x3486f2){const _0x5ad8b0=this['_handlerMap']['get'](_0x46e3c5)??new Set();this['_handlerMap']['has'](_0x46e3c5)||this['_handlerMap']['set'](_0x46e3c5,_0x5ad8b0),_0x5ad8b0['add'](_0x3486f2);}['send'](_0x95910c){const _0x43919b=this['_getTargetOrigin']();this['_context']['postMessage'](_0x95910c,_0x43919b);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}},_0x37772b={[_0x3a5c51['GDRIVE']]:'ngdrive'},_0x525ece=class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['activityType']=_0x415f03['activities']['EXTERNAL'];['_messageBridge'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x302eb8 of this['$']['selectedList']){const _0x57221b=this['extractUrlFromSelectedFile'](_0x302eb8),{filename:_0x48267e}=_0x302eb8,{externalSourceType:_0x24254c}=this['activityParams'];this['api']['addFileFromUrl'](_0x57221b,{'fileName':_0x48267e,'source':_0x24254c});}this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0x31c5bd=super['activityParams'];if('externalSourceType'in _0x31c5bd)return _0x31c5bd;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x4676c7}=this['activityParams'];if(!_0x4676c7)return this['modalManager']?.['close'](this['$']['*currentActivity']),this['$']['*currentActivity']=null,void console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20activity\x20\x22'+this['activityType']+'\x22');this['set$']({'activityCaption':''+_0x4676c7[0x0]?.['toUpperCase']()+_0x4676c7?.['slice'](0x1),'activityIcon':_0x4676c7}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x4bc1be=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x5bd03e=>{_0x5bd03e!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x5a51d5=>{this['$']['showSelectionStatus']=_0x5a51d5;}),this['subConfigValue']('localeName',_0x307104=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0xb7428c=>{this['applyEmbedCss'](_0xb7428c);});}['extractUrlFromSelectedFile'](_0x20ff19){if(_0x20ff19['alternatives']){const _0x4fcff2=_0x900720(this['cfg']['externalSourcesPreferredTypes']);for(const _0x54b337 of _0x4fcff2){const _0x58d953=_0x26aa89(_0x54b337);for(const [_0x49f972,_0x169cc2]of Object['entries'](_0x20ff19['alternatives']))if(_0x58d953['test'](_0x49f972))return _0x169cc2;}}return _0x20ff19['url'];}['handleToolbarStateChange'](_0xf32424){this['set$']({'toolbarVisible':_0xf32424['isVisible']});}async['handleSelectedFilesChange'](_0x55bc6a){this['cfg']['multiple']===_0x55bc6a['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x55bc6a['selectedCount'],'total':_0x55bc6a['total']})),this['set$']({'doneBtnTextClass':_0x55bc6a['isReady']?'':'uc-hidden','isSelectionReady':_0x55bc6a['isReady'],'isDoneBtnEnabled':_0x55bc6a['isReady']&&_0x55bc6a['selectedFiles']['length']>0x0,'showSelectionStatus':_0x55bc6a['isMultipleMode']&&_0x55bc6a['total']>0x0,'couldSelectAll':_0x55bc6a['selectedCount']<_0x55bc6a['total'],'couldDeselectAll':_0x55bc6a['selectedCount']===_0x55bc6a['total'],'selectedList':_0x55bc6a['selectedFiles'],'showDoneBtn':_0x55bc6a['total']>0x0})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':_0x2eaf32(this)});}['applyEmbedCss'](_0x3274d8){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x3274d8});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x1c7996,remoteTabSessionKey:_0x4b1268,socialBaseUrl:_0x5be103,multiple:_0x12a68a}=this['cfg'],{externalSourceType:_0x4a0ce0}=this['activityParams'],_0x167802=_0x37772b[_0x4a0ce0]??_0x4a0ce0,_0x267f94={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x1c7996,'images_only':(!0x1)['toString'](),'session_key':_0x4b1268,'wait_for_theme':!0x0,'multiple':_0x12a68a['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x4b9153(),'debug':this['cfg']['debug']},_0x294139=new URL('/window4/'+_0x167802,_0x5be103);return _0x294139['search']=function(_0x5d7f3d){const _0x529245=[];for(const [_0x39cd3e,_0x233f98]of Object['entries'](_0x5d7f3d))null==_0x233f98||'string'==typeof _0x233f98&&0x0===_0x233f98['length']||_0x529245['push'](_0x39cd3e+'='+encodeURIComponent(_0x233f98));return _0x529245['join']('&');}(_0x267f94),_0x294139['toString']();}['mountIframe'](){const _0x3964f2=_0x5eb1ab({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x3964f2['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x3964f2),_0x3964f2['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x285ea2(_0x3964f2['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['_messageBridge']['on']('toolbar-state-change',this['handleToolbarStateChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1});}};_0x525ece['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22\x20set=\x22@hidden:\x20!toolbarVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x20@hidden:\x20!showDoneBtn\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x451901=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x24f339=class extends _0x2efe71{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x584ae7){return(..._0x58b313)=>{const _0x17b1c4=this['_entry'];if(_0x17b1c4)return _0x584ae7(_0x17b1c4,..._0x58b313);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x1fc7f2,_0x3d78a1){this['_withEntry']((_0x50ebc0,_0x235336,_0x5aeb79)=>{const _0x32c82d=_0x50ebc0['subscribe'](_0x235336,_0x2e4f61=>{this['isConnected']&&_0x5aeb79(_0x2e4f61);});this['_entrySubs']['add'](_0x32c82d);})(_0x1fc7f2,_0x3d78a1);}['_reset'](){for(const _0xc5b8a4 of this['_entrySubs'])_0xc5b8a4['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},_0x2e2ca4=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')}),_0x507a27=class extends _0x1ebb01{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x1c5a45=>{if(!_0x1c5a45)return;let _0x3e704c='#uc-icon-'+_0x1c5a45;this['subConfigValue']('iconHrefResolver',_0x2ef7cc=>{if(_0x2ef7cc){const _0x55f639=_0x2ef7cc(_0x1c5a45);_0x3e704c=_0x55f639??_0x3e704c;}this['$']['href']=_0x3e704c;});}),this['setAttribute']('aria-hidden','true');}};_0x507a27['template']='\x0a\x20\x20<svg\x20ref=\x22svg\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<use\x20set=\x22@href:\x20href;\x22></use>\x0a\x20\x20</svg>\x0a',_0x507a27['bindAttributes']({'name':'name'});var _0x25c8c7='--uc-img-',_0x220fc9='unresolved',_0x5b0d45=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x1ea293=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x3ebe3e=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}}),_0x3feef7=Object['create'](null);for(const _0x10a8c0 in _0x3ebe3e)_0x3feef7[_0x25c8c7+_0x10a8c0]=_0x3ebe3e[_0x10a8c0]?.['default']||'';var t$=class extends _0x4fac32{['cssInit$']=_0x3feef7;['$$'](_0x4ff955){return this['$'][_0x25c8c7+_0x4ff955];}['set$$'](_0xf18d6){for(const _0x4df84e in _0xf18d6)this['$'][_0x25c8c7+_0x4df84e]=_0xf18d6[_0x4df84e];}['sub$$'](_0x246848,_0x21dd0b){this['sub'](_0x25c8c7+_0x246848,_0x1eeae9=>{null!==_0x1eeae9&&''!==_0x1eeae9&&_0x21dd0b(_0x1eeae9);});}['analyticsParams'](){return'-/@clib/'+_0x57d861+'/'+_0x42298a+'/uc-img/';}['initAttributes'](_0x1f5b4f){[...this['attributes']]['forEach'](_0xeb4a1a=>{_0x3ebe3e[_0xeb4a1a['name']]||_0x1f5b4f['setAttribute'](_0xeb4a1a['name'],_0xeb4a1a['value']);});}['initIntersection'](_0x52061d,_0x4f195e){this['_isnObserver']=new IntersectionObserver(_0x17db47=>{_0x17db47['forEach'](_0x2612e5=>{_0x2612e5['isIntersecting']&&(_0x4f195e(),this['_isnObserver']['unobserve'](_0x52061d));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x52061d),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x52061d);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x14895d=>{this['_isnObserver']['unobserve'](_0x14895d);}),this['_isnObserver']=null),_0x58010a['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x3ebe3e);}['attributeChangedCallback'](_0xe11191,_0x20192b,_0x2ef1de){window['setTimeout'](()=>{this['$'][_0x25c8c7+_0xe11191]=_0x2ef1de;});}},_0x1fc1bd=class extends t${['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0x23d243){return!_0x23d243['includes']('//')&&!_0x5b0d45&&(_0x23d243=new URL(_0x23d243,document['baseURI'])['href']),_0x23d243;}['_validateSize'](_0x4fe3d7){if(''!==_0x4fe3d7?.['trim']()){const _0x5a13a6=_0x4fe3d7['match'](/\d+/)[0x0],_0x53cfd8=_0x4fe3d7['match'](/[a-zA-Z]+/)[0x0],_0x1409f2=parseInt(_0x5a13a6,0xa);if(Number(_0x1409f2)>0x1388&&this['hasFormatJPG'])return 0x1388+_0x53cfd8;if(Number(_0x1409f2)>0xbb8&&!this['hasFormatJPG'])return 0xbb8+_0x53cfd8;}return _0x4fe3d7;}['_getCdnModifiers'](_0x57af57,_0x32000f){const _0x5cc858={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x57af57),'blur':_0x32000f,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return _0x233a2c(...(_0x34a1ab=>Object['entries'](_0x34a1ab)['filter'](([_0x19c774,_0x2dc852])=>void 0x0!==_0x2dc852&&''!==_0x2dc852)['map'](([_0x4f5d14,_0x762e7a])=>'cdn-operations'===_0x4f5d14||'analytics'===_0x4f5d14?_0x762e7a:_0x4f5d14+'/'+_0x762e7a))(_0x5cc858));}['_getUrlBase'](_0x35875f='',_0x40ceb2=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x5b0d45&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x4c3870=this['_getCdnModifiers'](_0x35875f,_0x40ceb2);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?_0x3c4f8e(this['$$']('src'),_0x4c3870):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](_0x3c4f8e(_0x31db49(this['$$']('cdn-cname'),this['$$']('uuid')),_0x4c3870)):this['$$']('proxy-cname')?this['_proxyUrl'](_0x3c4f8e(this['$$']('proxy-cname'),_0x4c3870,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](_0x3c4f8e('https://'+this['$$']('pubkey')+'.ucr.io/',_0x4c3870,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x53075d){return this['$$']('secure-delivery-proxy')?_0x4c497b(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x53075d},{'transform':_0x4af407=>window['encodeURIComponent'](_0x4af407)}):_0x53075d;}['_getElSize'](_0x1eec38,_0xef094c=0x1,_0x559961=!0x0){const _0x41bc22=_0x1eec38['getBoundingClientRect'](),_0x3b8be1=_0xef094c*Math['round'](_0x41bc22['width']),_0x46ea0c=_0x559961?'':_0xef094c*Math['round'](_0x41bc22['height']);return _0x3b8be1||_0x46ea0c?(_0x3b8be1||'')+'x'+(_0x46ea0c||''):null;}['_setupEventProxy'](_0x11e7d1){const _0x3081dd=_0x58726f=>{_0x58726f['stopPropagation']();const _0x2fb92f=new Event(_0x58726f['type'],_0x58726f);this['dispatchEvent'](_0x2fb92f);},_0x2b6f3a=['load','error'];for(const _0x37a16c of _0x2b6f3a)_0x11e7d1['addEventListener'](_0x37a16c,_0x3081dd);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':_0x1ea293['PREVIEW'],'img':this['_imgPreview']}:{'type':_0x1ea293['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x36150b=_0x900720(this['$$']('breakpoints'));return _0x5ce661=_0x36150b['map'](_0x324a5b=>parseInt(_0x324a5b,0xa)),[...new Set(_0x5ce661)];}return null;var _0x5ce661;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x2f52cd){const _0x41ae0a=new Set();_0x41ae0a['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f52cd))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x41ae0a['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f52cd,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x41ae0a['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x2f52cd,0x3))+'\x22)\x203x');const _0x568b0b='image-set('+[..._0x41ae0a]['join'](',\x20')+')';_0x2f52cd['style']['setProperty']('background-image',_0x568b0b),_0x2f52cd['style']['setProperty']('background-image','-webkit-'+_0x568b0b);}['getSrcset'](){const _0x67321c=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x5c9cdb=>{_0x67321c['add'](this['_getUrlBase'](_0x5c9cdb+'x')+('\x20'+this['_validateSize'](_0x5c9cdb+'w'))),this['$$']('hi-res-support')&&_0x67321c['add'](this['_getUrlBase'](0x2*_0x5c9cdb+'x')+('\x20'+this['_validateSize'](0x2*_0x5c9cdb+'w'))),this['$$']('ultra-res-support')&&_0x67321c['add'](this['_getUrlBase'](0x3*_0x5c9cdb+'x')+('\x20'+this['_validateSize'](0x3*_0x5c9cdb+'w')));}):(_0x67321c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x67321c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x67321c['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x67321c]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x22d19b=>{this['$$']('intersection')?this['initIntersection'](_0x22d19b,()=>{this['renderBg'](_0x22d19b);}):this['renderBg'](_0x22d19b);});}['_appendURL']({elNode:_0x1413dd,src:_0x4dbe5e,srcset:_0x469e17}){_0x4dbe5e&&(_0x1413dd['src']=_0x4dbe5e),_0x469e17&&(_0x1413dd['srcset']=_0x469e17);}['_setupConfigForImage']({elNode:_0x5abd30}){this['_setupEventProxy'](_0x5abd30),this['initAttributes'](_0x5abd30);}['loaderImage']({src:_0x2b4a5f,srcset:_0x5a8b21,elNode:_0x368424}){return new Promise((_0x5ae9b1,_0xf9b179)=>{this['_setupConfigForImage']({'elNode':_0x368424}),_0x368424['setAttribute'](_0x220fc9,''),_0x368424['addEventListener']('load',()=>{_0x368424['removeAttribute'](_0x220fc9),_0x5ae9b1(_0x368424);}),_0x368424['addEventListener']('error',()=>{_0xf9b179(!0x1);}),this['_appendURL']({'elNode':_0x368424,'src':_0x2b4a5f,'srcset':_0x5a8b21});});}async['renderImage'](){if(this['$$']('intersection'))return this['hasPreviewImage']&&(this['_setupConfigForImage']({'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),void this['initIntersection'](this['currentImg']['img'],async()=>{this['hasPreviewImage']&&(this['_imgPreview']['src']=this['srcUrlPreview']);try{await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']['remove'](),this['appendChild'](this['_img']);}catch(_0x513889){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}});try{this['hasPreviewImage']&&(await this['loaderImage']({'src':this['srcUrlPreview'],'elNode':this['_imgPreview']}),this['appendChild'](this['_imgPreview'])),await this['loaderImage']({'src':this['getSrc'](),'srcset':this['getSrcset'](),'elNode':this['_img']}),this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}catch(_0x2471dd){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x379145=null,_0x3dcc96=class extends _0x1ebb01{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';['_mouseDownTarget'];['handleModalOpen'];['handleModalClose'];['handleModalCloseAll'];constructor(){super(),this['init$']={...this['init$'],'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='');};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0x563555=>{this['_mouseDownTarget']=_0x563555['target'];};['_handleDialogMouseUp']=_0x2b9239=>{const _0x1db7ac=_0x2b9239['target'];_0x1db7ac===this['ref']['dialog']&&_0x1db7ac===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x49eb40=this['ref']['dialog'];'function'==typeof _0x49eb40['showModal']?(this['setAttribute']('aria-modal','true'),_0x49eb40['showModal']()):_0x49eb40['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x58d871=this['ref']['dialog'];'function'==typeof _0x58d871['close']?(this['setAttribute']('aria-modal','false'),_0x58d871['close']()):_0x58d871['removeAttribute']('open');}['_handleModalOpen']({id:_0x1a32e4}){_0x1a32e4===this['id']?(_0x379145=_0x1a32e4,this['show'](),this['emit'](_0x566487['MODAL_OPEN'],{'modalId':_0x1a32e4},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x58fee3}){_0x58fee3===this['id']&&(this['hide'](),this['emit'](_0x566487['MODAL_CLOSE'],{'modalId':_0x58fee3,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x36095f){this['hide'](),_0x379145===this['id']&&this['emit'](_0x566487['MODAL_CLOSE'],{'modalId':_0x379145,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x20f3e1=this['ref']['dialog'];_0x20f3e1['addEventListener']('close',this['_handleDialogClose']),_0x20f3e1['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x20f3e1['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x3defef=>{_0x3defef?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['handleModalOpen']=this['_handleModalOpen']['bind'](this),this['handleModalClose']=this['_handleModalClose']['bind'](this),this['handleModalCloseAll']=this['_handleModalCloseAll']['bind'](this),this['modalManager']?.['subscribe'](_0x2c2bb9['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](_0x2c2bb9['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](_0x2c2bb9['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x543c7b=this['ref']['dialog'];_0x543c7b['removeEventListener']('close',this['_handleDialogClose']),_0x543c7b['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x543c7b['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](_0x2c2bb9['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](_0x2c2bb9['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](_0x2c2bb9['CLOSE_ALL'],this['handleModalCloseAll']);}};_0x3dcc96['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x3e2766=class extends _0x1ebb01{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x391e17=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x391e17['classList']['add']('uc-fake-progress--hidden'):_0x391e17['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x314c18=>{null!=_0x314c18&&(this['_value']=_0x314c18,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0x38ae1c=>{this['_visible']=_0x38ae1c,this['classList']['toggle']('uc-progress-bar--hidden',!_0x38ae1c);}));}};_0x3e2766['template']='\x0a\x20\x20<div\x20ref=\x22fakeProgressLine\x22\x20class=\x22uc-fake-progress\x22></div>\x0a\x20\x20<div\x20ref=\x22realProgressLine\x22\x20class=\x22uc-progress\x22></div>\x0a';var _0x5cdd83=class extends _0x2efe71{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x528d3d=this['uploadCollection']['items']()['some'](_0x3f3a12=>{const _0x4f6c0a=this['uploadCollection']['read'](_0x3f3a12);return _0x4f6c0a?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x528d3d;}),this['sub']('visible',_0x5f38dd=>{_0x5f38dd?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x4d65c=>{this['$']['value']=_0x4d65c;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x5cdd83['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var _0x58520a=class extends _0x1ebb01{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x587d62=>{_0x587d62['preventDefault'](),_0x587d62['stopPropagation']();const _0x6e5eaf=this['ref']['select'];this['value']=_0x6e5eaf['value'],this['$']['currentText']=this['$']['options']['find'](_0x4caf73=>_0x4caf73['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x2f0edc=>{this['$']['currentText']=_0x2f0edc?.[0x0]?.['text']||'';let _0x136fd9='';_0x2f0edc?.['forEach'](_0x89a7ad=>{_0x136fd9+='<option\x20value=\x22'+_0x89a7ad['value']+'\x22>'+_0x89a7ad['text']+'</option>';}),this['$']['selectHtml']=_0x136fd9;});}};_0x58520a['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var _0x40d3f9=class extends _0x2efe71{static ['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];['couldBeCtxOwner']=!0x0;constructor(){super(),this['init$']={...this['init$'],'withDropZone':!0x0,'onClick':()=>{this['api']['initFlow']();},'button-text':''};}['initCallback'](){super['initCallback'](),this['defineAccessor']('dropzone',_0x4c3143=>{void 0x0!==_0x4c3143&&(this['$']['withDropZone']=_0x471045(_0x4c3143));}),this['subConfigValue']('multiple',_0x414f4f=>{this['$']['button-text']=_0x414f4f?'upload-files':'upload-file';});}};_0x40d3f9['template']='\x0a\x20\x20<uc-drop-area\x20set=\x22@disabled:\x20!withDropZone\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onClick\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22button-text\x22></span>\x0a\x20\x20\x20\x20\x20\x20<slot></slot>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-visual-drop-area\x22\x20l10n=\x22drop-files-here\x22></div>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-drop-area>\x0a',_0x40d3f9['bindAttributes']({'dropzone':null});var _0x154a03=class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x3ca01d['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x3ca01d['URL'],'activity':_0x415f03['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x3ca01d['CAMERA'],'activity':_0x415f03['activities']['CAMERA'],'activate':()=>{const _0x1683c9=_0x5632bd['htmlMediaCapture'];return _0x1683c9&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x1683c9;}}),this['registerType']({'type':'draw','activity':_0x415f03['activities']['DRAW'],'icon':'edit-draw'});for(const _0x1a9e23 of Object['values'](_0x5e5b14))this['registerType']({'type':_0x1a9e23,'activity':_0x415f03['activities']['CAMERA'],'activate':()=>{const _0x58d439=_0x5632bd['htmlMediaCapture'];return _0x58d439&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x1a9e23?_0x2ce99c['PHOTO']:_0x2ce99c['VIDEO']}),!_0x58d439;}});for(const _0xbcf0b5 of Object['values'](_0x3a5c51))this['registerType']({'type':_0xbcf0b5,'activity':_0x415f03['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0xbcf0b5}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x119559=>{_0x119559&&this['applyType'](_0x119559);});}['registerType'](_0xa2c296){this['_registeredTypes'][_0xa2c296['type']]=_0xa2c296;}['getType'](_0x5a401f){return this['_registeredTypes'][_0x5a401f];}['activate'](){if(!this['type'])return;const _0x154ad2=this['_registeredTypes'][this['type']];if(!_0x154ad2)return;const {activity:_0x31bc13,activate:_0xe254c7,activityParams:_0x4cfded={}}=_0x154ad2;(_0xe254c7?_0xe254c7():!!_0x31bc13)&&_0x31bc13&&(this['modalManager']?.['open'](_0x31bc13),this['set$']({'*currentActivityParams':_0x4cfded,'*currentActivity':_0x31bc13}));}['applyType'](_0x2ac2b0){const _0x9f8d57=this['_registeredTypes'][_0x2ac2b0];if(!_0x9f8d57)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x2ac2b0);const {textKey:_0x2f43a2=_0x2ac2b0,icon:_0x51873e=_0x2ac2b0}=_0x9f8d57;this['$']['src-type']='src-type-'+_0x2f43a2,this['$']['iconName']=_0x51873e,this['onclick']=()=>{this['activate']();};}};_0x154a03['template']='\x0a\x20\x20<button\x20type=\x22button\x22>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20iconName\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-txt\x22\x20l10n=\x22src-type\x22></div>\x0a\x20\x20</button>\x0a',_0x154a03['bindAttributes']({'type':null});var _0x4133d9=class extends _0x4fac32{};_0x4133d9['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var _0x5e0fe3=class extends _0x415f03{['historyTracked']=!0x0;['activityType']=_0x415f03['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function _0x5f4ba3(_0x19b5be,_0x345fb8=0x28){if('image/svg+xml'===_0x19b5be['type'])return URL['createObjectURL'](_0x19b5be);const _0x502630=document['createElement']('canvas'),_0x199f9e=_0x502630['getContext']('2d');if(!_0x199f9e)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x406d7b=new Image(),_0x3c23d1=new Promise((_0x19bc93,_0x397cb7)=>{_0x406d7b['onload']=()=>{const _0x578e6e=_0x406d7b['height']/_0x406d7b['width'];_0x578e6e>0x1?(_0x502630['width']=_0x345fb8,_0x502630['height']=_0x345fb8*_0x578e6e):(_0x502630['height']=_0x345fb8,_0x502630['width']=_0x345fb8/_0x578e6e),_0x199f9e['fillStyle']='rgb(240,\x20240,\x20240)',_0x199f9e['fillRect'](0x0,0x0,_0x502630['width'],_0x502630['height']),_0x199f9e['drawImage'](_0x406d7b,0x0,0x0,_0x502630['width'],_0x502630['height']),_0x502630['toBlob'](_0x4d5cba=>{if(!_0x4d5cba)return void _0x397cb7();const _0x37e4ff=URL['createObjectURL'](_0x4d5cba);_0x19bc93(_0x37e4ff);});},_0x406d7b['onerror']=_0x5f3ff0=>{_0x397cb7(_0x5f3ff0);};});return _0x406d7b['src']=URL['createObjectURL'](_0x19b5be),_0x3c23d1;}function _0x52a361(_0x5cc296='hsl(209,\x2021%,\x2065%)',_0x35f048=0x20,_0x437ffb=0x20){return function(_0x21e3cb){const _0x1b62b8=new Blob([_0x21e3cb],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x1b62b8);}('\x0a\x20\x20<svg\x20width=\x22'+_0x35f048+'\x22\x20height=\x22'+_0x437ffb+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20<path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x5cc296+'\x22\x20d=\x22M9.68848\x208.70068C9.68848\x208.42454\x209.91233\x208.20068\x2010.1885\x208.20068H15.0885C15.2211\x208.20068\x2015.3483\x208.25336\x2015.442\x208.34713L20.342\x2013.2471C20.4358\x2013.3409\x2020.4885\x2013.4681\x2020.4885\x2013.6007V21.3007C20.4885\x2021.5768\x2020.2646\x2021.8007\x2019.9885\x2021.8007H10.1885C9.91233\x2021.8007\x209.68848\x2021.5768\x209.68848\x2021.3007V8.70068ZM10.6885\x209.20068V20.8007H19.4885V14.1007L15.0885\x2014.1007C14.8123\x2014.1007\x2014.5885\x2013.8768\x2014.5885\x2013.6007L14.5885\x209.20068H10.6885ZM15.5885\x209.90779L18.7814\x2013.1007L15.5885\x2013.1007L15.5885\x209.90779Z\x22/>\x0a\x20\x20</svg>\x0a\x20\x20');}_0x5e0fe3['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var _0x596197=class extends _0x24f339{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x1cc3f6=!0x1){_0x1cc3f6&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x1c3c45=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x1c3c45*=window['devicePixelRatio']),Math['min'](_0x1c3c45,0xbb8);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const s=e['getValue']('fileInfo'),n=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(s&&n&&r){const i=await this['proxyUrl'](_0x3c4f8e(_0x31db49(this['cfg']['cdnCname'],r),_0x233a2c(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:s}=_0x52b87e(i);return void s['then'](()=>{e['setValue']('thumbUrl',i),o?.['startsWith']('blob:')&&URL['revokeObjectURL'](o);})['catch'](async()=>{if(!o?.['startsWith']('blob:'))try{const i=e['getValue']('file');if(!i)return;const s=await _0x5f4ba3(i,a);e['setValue']('thumbUrl',s);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x52a361(s));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await _0x5f4ba3(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x52a361(s));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x52a361(i));}});['_debouncedGenerateThumb']=_0x23052c(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x280200){const [_0x345d38]=_0x280200;_0x345d38&&(this['_isIntersecting']=_0x345d38['isIntersecting'],_0x345d38['isIntersecting']&&(this['_thumbRect']=_0x345d38['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x345d38['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x202a3e){this['_reset']();const _0x3106e=this['uploadCollection']?.['read'](_0x202a3e);this['_entry']=_0x3106e,_0x3106e&&(this['_subEntry']('fileInfo',_0x330c04=>{_0x330c04?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x398983=>{this['$']['thumbUrl']=_0x398983?'url('+_0x398983+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x32e859=>{this['$']['badgeIcon']=_0x32e859;}),this['defineAccessor']('uid',_0x36948c=>{this['set$']({'uid':_0x36948c});}),this['sub']('uid',_0x27f61f=>{this['_handleEntryId'](_0x27f61f);}),this['subConfigValue']('filesViewMode',_0x40730c=>{'grid'!==_0x40730c||this['_renderedGridOnce']||('list'===this['_firstViewMode']&&this['_debouncedGenerateThumb'](!0x0),this['_renderedGridOnce']=!0x0);}),this['setAttribute']('role','img');}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':0.1}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set(),this['_debouncedGenerateThumb']['cancel'](),this['_observer']?.['disconnect']();}};_0x596197['template']='\x0a\x20\x20<div\x20class=\x22uc-thumb\x22\x20set=\x22style.backgroundImage:\x20thumbUrl\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-badge\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20badgeIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a',_0x596197['bindAttributes']({'badgeIcon':null,'uid':null});var _0xddcb33=class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=_0x415f03['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](_0x566487['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](_0x566487['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=_0xcb5aeb(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x76bb86=this['api']['getOutputCollectionState'](),_0x248fd8={'total':_0x76bb86['totalCount'],'succeed':_0x76bb86['successCount'],'uploading':_0x76bb86['uploadingCount'],'failed':_0x76bb86['failedCount'],'validatingBeforeUploading':_0x76bb86['idleEntries']['filter'](_0xa29c9a=>_0xa29c9a['isValidationPending'])['length']},_0x237162=!_0x76bb86['errors']['some'](_0x3cbf47=>'TOO_MANY_FILES'===_0x3cbf47['type']||'TOO_FEW_FILES'===_0x3cbf47['type']),_0x1f855c=_0x76bb86['errors']['some'](_0x5b5645=>'TOO_MANY_FILES'===_0x5b5645['type']),_0x3593d5=_0x76bb86['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x198834=_0x76bb86['allEntries']['some'](_0x72f005=>_0x72f005['isValidationPending']),_0x36ec8a=0x0===_0x248fd8['failed']&&0x0===_0x76bb86['errors']['length']&&!_0x198834;let _0x4ccf98=!0x1,_0x3851b3=!0x1,_0x123b20=!0x1;if(_0x248fd8['total']-_0x248fd8['succeed']-_0x248fd8['uploading']-_0x248fd8['failed']>0x0&&_0x237162&&_0x36ec8a)_0x4ccf98=!0x0;else{_0x3851b3=!0x0;const _0x24bbac=!this['cfg']['groupOutput']||!!_0x76bb86['group'];_0x123b20=_0x248fd8['total']===_0x248fd8['succeed']&&_0x237162&&_0x36ec8a&&_0x24bbac;}this['set$']({'doneBtnVisible':_0x3851b3,'doneBtnEnabled':_0x123b20,'uploadBtnVisible':_0x4ccf98,'addMoreBtnEnabled':0x0===_0x248fd8['total']||!_0x1f855c&&!_0x3593d5,'addMoreBtnVisible':!_0x3593d5||this['cfg']['multiple'],'hasFiles':_0x248fd8['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x248fd8));}['_getHeaderText'](_0x558927){const _0xde8214=_0x2d8a8e=>{let _0x39bd4a=_0x558927[_0x2d8a8e];return'uploading'===_0x2d8a8e&&(_0x39bd4a+=_0x558927['validatingBeforeUploading']),this['l10n']('header-'+_0x2d8a8e,{'count':_0x39bd4a});};return _0x558927['uploading']>0x0||_0x558927['validatingBeforeUploading']>0x0?_0xde8214('uploading'):_0x558927['failed']>0x0?_0xde8214('failed'):_0x558927['succeed']>0x0?_0xde8214('succeed'):_0xde8214('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMin',this['_throttledHandleCollectionUpdate']),this['subConfigValue']('multipleMax',this['_throttledHandleCollectionUpdate']),this['sub']('*groupInfo',_0x50933b=>{_0x50933b&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x4f7b9c=>{this['setAttribute']('mode',_0x4f7b9c);}),this['sub']('*currentActivity',_0x4f53b1=>{this['couldOpenActivity']||_0x4f53b1!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x429928=>{const _0x10de0e=_0x429928['filter'](_0x3fa8fd=>'SOME_FILES_HAS_ERRORS'!==_0x3fa8fd['type'])[0x0];_0x10de0e?this['set$']({'commonErrorMessage':_0x10de0e['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};_0xddcb33['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-files-wrapper\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';var _0x45864b=class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['activityType']=_0x415f03['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x2a87d0=>{_0x2a87d0['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x37e2ec=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x37e2ec,{'source':_0x3ca01d['URL']}),this['modalManager']?.['open'](_0x415f03['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0xd4961a=>{const _0x46aec4=_0xd4961a['target']?.['value']??'';this['set$']({'importDisabled':!_0x46aec4});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0x1a59c5=this['ref']['input'];_0x1a59c5['value']='',_0x1a59c5['focus']();}});}};_0x45864b['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back;@aria-label:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<label>\x0a\x20\x20\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20</label>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';var _0x74469a=class extends _0x11815a{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x589844['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x41aad2=class extends _0x516956{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x49fc0f=this['$']['*historyBack'];return void _0x49fc0f?.();}this['couldShowList']&&(this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x302d5a=this['$']['*history'];return!(!_0x302d5a||_0x302d5a['length']<=0x1)&&_0x302d5a[_0x302d5a['length']-0x1]!==_0x415f03['activities']['START_FROM'];}get['couldShowList'](){const _0x36c51d=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x36c51d)&&_0x36c51d['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x589844['INIT_SOLUTION']});const _0x154655=this['ref']['uBlock'];_0x154655&&(this['sub']('*currentActivity',_0xe1e7d4=>{_0xe1e7d4||(this['$']['*currentActivity']=_0x154655['initActivity']||_0x415f03['activities']['START_FROM']);}),this['sub']('*uploadList',_0x595734=>{Array['isArray'](_0x595734)&&_0x595734['length']>0x0&&this['$']['*currentActivity']===(_0x154655['initActivity']||_0x415f03['activities']['START_FROM'])&&(this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x41aad2['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';var _0x20916e='active',_0x3370a9=class extends _0x516956{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':'','classStartFrom':'','*solution':this['tagName']};}['_handleModalOpen'](_0x51e91b){_0x51e91b['id']===_0x415f03['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x20916e}),this['$']['*currentActivity']===_0x415f03['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x20916e,'isHiddenStartFrom':!0x0});const _0x49519d=this['$']['*uploadList'];(!_0x49519d||_0x49519d['length']<=0x0)&&this['set$']({'classStartFrom':_0x20916e});}['_handleModalClose'](_0x93377a){_0x93377a['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x93377a['id']===_0x415f03['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x589844['INIT_SOLUTION']});const _0x197c6f=this['ref']['uBlock'];_0x197c6f&&(this['sub']('*currentActivity',_0x20c723=>{_0x20c723===_0x415f03['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x20c723||(this['$']['*currentActivity']=_0x197c6f['initActivity']||_0x415f03['activities']['START_FROM']);}),this['sub']('*uploadList',_0x4a6a2a=>{Array['isArray'](_0x4a6a2a)&&_0x4a6a2a['length']>0x0?(this['$']['*currentActivity']=_0x415f03['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':''})):(this['set$']({'classUploadList':'','isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x197c6f['initActivity']||_0x415f03['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x45d2ef=>{!0x1!==_0x45d2ef&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x183a79=>{this['setAttribute']('mode',_0x183a79),this['subConfigValue']('multiple',_0xddafc=>{'grid'===_0x183a79?(_0xddafc?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0xddafc):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x16a13f=>{this['_handleModalOpen'](_0x16a13f);},this['handleModalClose']=_0xa77ee0=>{this['_handleModalClose'](_0xa77ee0);},this['modalManager']?.['subscribe'](_0x2c2bb9['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](_0x2c2bb9['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](_0x2c2bb9['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](_0x2c2bb9['CLOSE'],this['handleModalClose']);}};_0x3370a9['template']='\x0a\x20\x20<uc-start-from\x20set=\x22@hidden:\x20isHiddenStartFrom;\x20@class:classStartFrom\x22>\x0a\x20\x20\x20\x20<uc-drop-area\x20set=\x22@single:singleUpload;\x22\x20initflow\x20clickable\x20tabindex=\x220\x22\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20set=\x22@class:classUploadList\x22\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a';var _0x54212c=class extends _0x516956{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x138364={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x138364;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x589844['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x361afb=>{this['set$']({'isHidden':_0x471045(_0x361afb)});});}};_0x54212c['template']='\x0a\x20\x20<uc-simple-btn\x20set=\x22@hidden:\x20isHidden\x22></uc-simple-btn>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22upload-list\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-upload-list></uc-upload-list>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a',_0x54212c['bindAttributes']({'headless':null});var _0x5a3560=Object['freeze']({'__proto__':null,'ActivityBlock':_0x415f03,'ActivityHeader':class extends _0x415f03{},'BaseComponent':_0x4fac32,'Block':_0x1ebb01,'BtnUi':_0x52a40a,'CameraSource':_0x306651,'CloudImageEditor':_0x74469a,'CloudImageEditorActivity':class extends _0x2efe71{['couldBeCtxOwner']=!0x0;['activityType']=_0x415f03['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0x13ded3=super['activityParams'];if('internalId'in _0x13ded3)return _0x13ded3;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>this['mountEditor'](),'onDeactivate':()=>this['unmountEditor']()}),this['subConfigValue']('cropPreset',_0x683dfe=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x683dfe&&this['_instance']['setAttribute']('crop-preset',_0x683dfe);}),this['subConfigValue']('cloudImageEditorTabs',_0x1b2da9=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x1b2da9&&this['_instance']['setAttribute']('tabs',_0x1b2da9);});}['handleApply'](_0x4dc404){if(!this['_entry'])return;const _0x239156=_0x4dc404['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x239156['cdnUrl'],'cdnUrlModifiers':_0x239156['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x415f03['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](_0x415f03['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x42dfd7}=this['activityParams'],_0x493e14=this['uploadCollection']['read'](_0x42dfd7);if(!_0x493e14)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x42dfd7+'\x22\x20not\x20found');this['_entry']=_0x493e14;const _0x1f627d=this['_entry']['getValue']('cdnUrl');if(!_0x1f627d)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x42dfd7+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0xed4a0b=new _0x11815a(),_0x1d0d0d=this['cfg']['cropPreset'],_0x1f14c2=this['cfg']['cloudImageEditorTabs'];_0xed4a0b['setAttribute']('ctx-name',this['ctxName']),_0xed4a0b['setAttribute']('cdn-url',_0x1f627d),_0x1d0d0d&&_0xed4a0b['setAttribute']('crop-preset',_0x1d0d0d),_0x1f14c2&&_0xed4a0b['setAttribute']('tabs',_0x1f14c2),_0xed4a0b['addEventListener']('apply',_0x5cbfb5=>{const _0x476a42=_0x5cbfb5;this['handleApply'](_0x476a42),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x476a42['detail']);}),_0xed4a0b['addEventListener']('cancel',_0x30db5a=>{const _0x1e1034=_0x30db5a;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1e1034['detail']);}),_0xed4a0b['addEventListener']('change',_0x44324f=>{const _0xb27f44=_0x44324f;this['debugPrint']('editor\x20event\x20\x22change\x22',_0xb27f44['detail']);}),this['innerHTML']='',this['appendChild'](_0xed4a0b),this['_instance']=_0xed4a0b;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},'CloudImageEditorBlock':_0x11815a,'Config':_0x498112,'Copyright':class extends _0x1ebb01{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x21df6a=>{this['toggleAttribute']('hidden',!!_0x21df6a);});}static ['template']='\x0a\x20\x20\x20\x20<a\x0a\x20\x20\x20\x20\x20\x20href=\x22https://uploadcare.com/?utm_source=copyright&utm_medium=referral&utm_campaign=v4\x22\x0a\x20\x20\x20\x20\x20\x20target=\x22_blank\x20noopener\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-credits\x22\x0a\x20\x20\x20\x20\x20\x20>Powered\x20by\x20Uploadcare</a\x0a\x20\x20\x20\x20>\x0a\x20\x20';},'CropFrame':_0x5c8a7b,'Data':_0x58010a,'DropArea':_0x5bf412,'EditorAspectRatioButtonControl':_0xc515cc,'EditorCropButtonControl':_0x2c27ae,'EditorFilterControl':_0x29b97c,'EditorFreeformButtonControl':_0x3c7db1,'EditorImageCropper':_0x197e2e,'EditorImageFader':class extends _0x1ebb01{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x23052c(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x4629e1){const _0x46733e=this['_operation'],_0x294bdf=this['$']['*loadingOperations'];_0x294bdf['has'](_0x46733e)||_0x294bdf['set'](_0x46733e,new Map());const _0x4ba468=_0x294bdf['get'](_0x46733e);return _0x4ba468&&!_0x4ba468['get'](_0x4629e1)&&(_0x4ba468['set'](_0x4629e1,!0x0),this['$']['*loadingOperations']=_0x294bdf),()=>{const _0x39efd1=_0x294bdf['get'](_0x46733e);_0x39efd1?.['has'](_0x4629e1)&&(_0x39efd1['delete'](_0x4629e1),this['$']['*loadingOperations']=_0x294bdf);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x5dd563 of this['_keypoints']){const {image:_0x13d501}=_0x5dd563;_0x13d501&&(_0x13d501['style']['opacity']=_0x5dd563['opacity']['toString'](),_0x13d501['style']['zIndex']=_0x5dd563['zIndex']['toString']());}});}['_imageSrc']({url:_0x5afb8e=this['_url'],filter:_0x4eb033=this['_filter']??void 0x0,operation:_0x318874,value:_0x494fa9}={}){if(!_0x5afb8e)throw new Error('URL\x20is\x20not\x20defined');const _0x49b52f={...this['_transformations']};_0x318874&&('filter'===_0x318874?_0x4eb033&&'number'==typeof _0x494fa9&&(_0x49b52f['filter']={'name':_0x4eb033,'amount':_0x494fa9}):'number'==typeof _0x494fa9&&(_0x49b52f[_0x318874]=_0x494fa9));const _0x29c3b3=this['offsetWidth'];return this['proxyUrl'](_0x2b0a64(_0x5afb8e,_0x29c3b3,_0x49b52f));}async['_constructKeypoint'](_0x3f609c,_0x306a7b){return{'src':await this['_imageSrc']({'operation':_0x3f609c,'value':_0x306a7b}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x306a7b};}['_isSame'](_0x1e67a9,_0x4aa611){return this['_operation']===_0x1e67a9&&this['_filter']===_0x4aa611;}async['_addKeypoint'](_0x4d576f,_0x31af52,_0x41aac1){const _0x38a845=()=>!this['_isSame'](_0x4d576f,_0x31af52)||this['_value']!==_0x41aac1||!!this['_keypoints']['find'](_0x484e3e=>_0x484e3e['value']===_0x41aac1);if(_0x38a845())return;const _0x3860e0=await this['_constructKeypoint'](_0x4d576f,_0x41aac1),_0x47ab0d=new Image();_0x47ab0d['src']=_0x3860e0['src'];const _0x52eeab=this['_handleImageLoading'](_0x3860e0['src']);_0x47ab0d['addEventListener']('load',_0x52eeab,{'once':!0x0}),_0x47ab0d['addEventListener']('error',_0x52eeab,{'once':!0x0}),_0x3860e0['image']=_0x47ab0d,_0x47ab0d['classList']['add']('uc-fader-image'),_0x47ab0d['addEventListener']('load',()=>{if(_0x38a845())return;const _0x58f5ca=this['_keypoints'];let _0x5753cb=_0x58f5ca['findIndex'](_0x1ea7f8=>_0x1ea7f8['value']>_0x41aac1);-0x1===_0x5753cb&&(_0x5753cb=_0x58f5ca['length']);const _0x463438=_0x58f5ca[_0x5753cb],_0x550836=_0x463438?.['image'],_0x1f2075=this['_container'];!_0x1f2075||_0x550836&&!_0x1f2075['contains'](_0x550836)||(_0x58f5ca['splice'](_0x5753cb,0x0,_0x3860e0),_0x550836&&_0x1f2075['insertBefore'](_0x47ab0d,_0x550836),this['_update'](_0x4d576f,_0x41aac1));},{'once':!0x0}),_0x47ab0d['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0xd18a59){const _0x1c07f9='string'==typeof _0xd18a59?parseInt(_0xd18a59,0xa):_0xd18a59;(function(_0x901877){return'string'==typeof _0x901877&&_0x901877 in _0x58cce2;}(this['_operation'])&&Number['isFinite'](_0x1c07f9)&&(this['_update'](this['_operation'],_0x1c07f9),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x1c07f9)));}['_update'](_0x10f2f0,_0x57289f){this['_operation']=_0x10f2f0,this['_value']=_0x57289f;const {zero:_0x367aa3}=_0x58cce2[_0x10f2f0],_0x187779=this['_keypoints']['map'](_0x5866e4=>_0x5866e4['value']),_0x54d11d=function(_0x9fb17e,_0x2874e7,_0x5bf150){const _0x2ba28a=function(_0x5c731b){const _0x1bd29b=[];for(let _0x4da005=0x0;_0x4da005<_0x5c731b['length']-0x1;_0x4da005+=0x1){const _0x358d94=_0x5c731b[_0x4da005],_0x24dc42=_0x5c731b[_0x4da005+0x1];'number'==typeof _0x358d94&&'number'==typeof _0x24dc42&&_0x1bd29b['push']([_0x358d94,_0x24dc42]);}return _0x1bd29b;}(_0x9fb17e)['find'](([_0x3e17b0,_0x4a125f])=>_0x3e17b0<=_0x2874e7&&_0x2874e7<=_0x4a125f);if(!_0x2ba28a)return _0x9fb17e['map'](()=>0x0);const [_0x49ef40,_0x468a2e]=_0x2ba28a;return _0x9fb17e['map'](_0x5f598b=>{const _0x54d63c=Math['abs'](_0x49ef40-_0x468a2e)||0x1,_0x55fddd=Math['abs'](_0x2874e7-_0x49ef40)/_0x54d63c;return _0x49ef40===_0x5f598b?_0x2874e7>_0x5bf150?0x1:0x1-_0x55fddd:_0x468a2e===_0x5f598b?_0x2874e7>=_0x5bf150?_0x55fddd:0x1:0x0;});}(_0x187779,_0x57289f,_0x367aa3),_0x5ef12f=function(_0x13b9ad,_0x35f300){return _0x13b9ad['map']((_0x58161b,_0xcd1d0c)=>_0x58161b<_0x35f300?_0x13b9ad['length']-_0xcd1d0c:_0xcd1d0c);}(_0x187779,_0x367aa3);this['_keypoints']['forEach']((_0x4d7ed0,_0x58aa44)=>{const _0x23e38f=_0x54d11d[_0x58aa44],_0x18ff52=_0x5ef12f[_0x58aa44];'number'==typeof _0x23e38f&&(_0x4d7ed0['opacity']=_0x23e38f),'number'==typeof _0x18ff52&&(_0x4d7ed0['zIndex']=_0x18ff52);}),this['_flush']();}['_createPreviewImage'](){const _0x1a6141=new Image();return _0x1a6141['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x1a6141['style']['opacity']='0',_0x1a6141;}async['_initNodes'](){const _0x40a173=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0xbed8f1=this['_previewImage'];this['contains'](_0xbed8f1)||_0x40a173['appendChild'](_0xbed8f1);const _0x4ad460=document['createElement']('div');_0x40a173['appendChild'](_0x4ad460);const _0x434601=this['_keypoints']['map'](_0x2b320a=>_0x2b320a['src']),{images:_0x50d1e3,promise:_0x139926,cancel:_0x5dc693}=_0x4c36e5(_0x434601);_0x50d1e3['forEach'](_0x53c06b=>{const _0x4e9e74=this['_handleImageLoading'](_0x53c06b['src']);_0x53c06b['addEventListener']('load',_0x4e9e74),_0x53c06b['addEventListener']('error',_0x4e9e74);}),this['_cancelLastImages']=()=>{_0x5dc693(),this['_cancelLastImages']=void 0x0;};const _0x8f81c9=this['_operation'],_0x55839f=this['_filter'];await _0x139926,this['_isActive']&&this['_isSame'](_0x8f81c9,_0x55839f)&&(this['_container']?.['remove'](),this['_container']=_0x4ad460,this['_keypoints']['forEach']((_0x546ae7,_0x2c3c01)=>{const _0x4ea0e4=_0x50d1e3[_0x2c3c01];_0x4ea0e4&&(_0x4ea0e4['classList']['add']('uc-fader-image'),_0x546ae7['image']=_0x4ea0e4,this['_container']?.['appendChild'](_0x4ea0e4));}),this['appendChild'](_0x40a173),this['_flush']());}async['setTransformations'](_0x53ab58){if(this['_transformations']=_0x53ab58,this['_previewImage']){const _0x1cd461=await this['_imageSrc'](),_0x7680ea=this['_handleImageLoading'](_0x1cd461);this['_previewImage']['src']=_0x1cd461,this['_previewImage']['addEventListener']('load',_0x7680ea,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x7680ea,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0xff6a6e,filter:_0x257253,operation:_0x2e17d1,value:_0x4e9398}){if(!_0x2e17d1||'number'!=typeof _0x4e9398)return;this['_cancelBatchPreload']?.();const _0x19a94f=_0x4724cd(_0x2e17d1,_0x4e9398),_0x2c22a6=await Promise['all'](_0x19a94f['map'](_0x2ad0d8=>this['_imageSrc']({'url':_0xff6a6e,'filter':_0x257253,'operation':_0x2e17d1,'value':_0x2ad0d8}))),{cancel:_0x3ce255}=_0x4c36e5(_0x2c22a6);this['_cancelBatchPreload']=_0x3ce255;}['_setOriginalSrc'](_0x258569){const _0x235634=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x235634)||this['appendChild'](_0x235634),this['_previewImage']=_0x235634,_0x235634['src']===_0x258569)return _0x235634['style']['opacity']='1',_0x235634['style']['transform']='scale(1)',void(this['className']=_0x35bbc6({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x235634['style']['opacity']='0';const _0xc20866=this['_handleImageLoading'](_0x258569);_0x235634['addEventListener']('error',_0xc20866,{'once':!0x0}),_0x235634['src']=_0x258569,_0x235634['addEventListener']('load',()=>{_0xc20866(),_0x235634&&(_0x235634['style']['opacity']='1',_0x235634['style']['transform']='scale(1)',this['className']=_0x35bbc6({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x235634['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x2773d0,operation:_0x120de1,value:_0x394352,filter:_0x25ec49,fromViewer:_0x471d32}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x2773d0,this['_operation']=_0x120de1??'initial',this['_value']=_0x394352,this['_filter']=_0x25ec49,this['_fromViewer']=_0x471d32;if('number'!=typeof _0x394352&&!_0x25ec49){const _0x5e8945=await this['_imageSrc']({'operation':_0x120de1,'value':_0x394352});return this['_setOriginalSrc'](_0x5e8945),void this['_container']?.['remove']();}_0x120de1&&'number'==typeof _0x394352&&(this['_keypoints']=await Promise['all'](_0x4724cd(_0x120de1,_0x394352)['map'](_0x29c662=>this['_constructKeypoint'](_0x120de1,_0x29c662))),this['_update'](_0x120de1,_0x394352),this['_initNodes']());}['deactivate']({hide:_0x23b7ba=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x23b7ba&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x35bbc6({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']?.['remove']();},{'once':!0x0})):this['_container']?.['remove']();}},'EditorOperationControl':_0x31b40c,'EditorScroller':_0x3de126,'EditorSlider':_0xe5f5d3,'EditorToolbar':_0x34c4ce,'ExternalSource':_0x525ece,'ExternalUploadSource':_0x3a5c51,'FileItem':class _FileItem extends _0x24f339{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;['_observer'];['_isIntersecting']=!0x1;['_thumbRect'];constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','hint':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'showFileNames':!0x1,'state':_0x2e2ca4['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x4b4ea5=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x4b4ea5['uid']},this['modalManager']?.['open'](_0x415f03['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=_0x415f03['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x589844['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=_0x2e2ca4['IDLE'];e['getValue']('errors')['length']>0x0?i=_0x2e2ca4['FAILED']:e['getValue']('isQueuedForUploading')?i=_0x2e2ca4['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=_0x2e2ca4['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=_0x2e2ca4['VALIDATION']:e['getValue']('isUploading')?i=_0x2e2ca4['UPLOADING']:e['getValue']('fileInfo')&&(i=_0x2e2ca4['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x23052c(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](_0xcb5aeb((e,i)=>{const s=e['getValue']('errors')?.[0x0]?.['message'],n=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===_0x2e2ca4['FINISHED'],a=i===_0x2e2ca4['UPLOADING'],c=i===_0x2e2ca4['QUEUED_UPLOADING'],l=i===_0x2e2ca4['QUEUED_VALIDATION'],h=i===_0x2e2ca4['VALIDATION'],u=e['getValue']('fileName');let d='';s?d='':!o&&r&&n&&Object['values'](_0x3a5c51)['includes'](n)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+n)})),this['set$']({'hint':d,'errorText':s,'progressVisible':a||c||l||h,'progressValue':l||h?0x0:e['getValue']('uploadProgress'),'ariaLabelStatusFile':u&&this['l10n']('a11y-file-item-status',{'fileName':u,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});},0x64));['_handleState']=this['_withEntry']((e,i)=>{i===_0x2e2ca4['FAILED']?this['$']['badgeIcon']='badge-error':i===_0x2e2ca4['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===_0x2e2ca4['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===_0x2e2ca4['FAILED'],'isUploading':i===_0x2e2ca4['UPLOADING'],'isFinished':i===_0x2e2ca4['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x7cae70){const [_0x4ecf8a]=_0x7cae70;_0x4ecf8a&&(this['_isIntersecting']=_0x4ecf8a['isIntersecting'],this['_thumbRect']=_0x4ecf8a['boundingClientRect'],_0x4ecf8a['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x7d5aa1){this['_reset']();const _0x69848d=this['uploadCollection']?.['read'](_0x7d5aa1);this['_entry']=_0x69848d,_0x69848d&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x2619c4=>{this['$']['itemName']=_0x2619c4||_0x69848d['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x40b3b2=>{this['$']['itemName']=_0x69848d['getValue']('fileName')||_0x40b3b2||this['l10n']('file-no-name');}),this['_subEntry']('fileInfo',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('errors',()=>this['_debouncedCalculateState']()),this['_subEntry']('isUploading',()=>this['_debouncedCalculateState']()),this['_subEntry']('fileSize',()=>this['_debouncedCalculateState']()),this['_subEntry']('mimeType',()=>this['_debouncedCalculateState']()),this['_subEntry']('isImage',()=>this['_debouncedCalculateState']()));}['_updateShowFileNames'](_0xfc52e3){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0xfc52e3;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x5254ed=>{this['_handleEntryId'](_0x5254ed);}),this['sub']('state',_0x42ad78=>{this['_handleState'](_0x42ad78);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0x54cf7d=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x54cf7d);}),this['subConfigValue']('gridShowFileNames',_0x4f07c1=>{this['_updateShowFileNames'](_0x4f07c1);}),this['onclick']=()=>{_FileItem['activeInstances']['forEach'](_0x21ab95=>{_0x21ab95===this?_0x21ab95['setAttribute']('focused',''):_0x21ab95['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x1eb7cd=>{this['_entry']&&!_0x1eb7cd['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_FileItem['activeInstances']['add'](this);}['destroyCallback'](){super['destroyCallback'](),_FileItem['activeInstances']['delete'](this),this['_reset']();}['connectedCallback'](){super['connectedCallback'](),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]}),this['_observer']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['_observer']?.['disconnect']();}['_settingsOfShrink'](){return(_0xd92e5b=>{if('string'!=typeof _0xd92e5b)return!0x1;const _0x461aee=_0x451901['exec'](_0xd92e5b['toLocaleLowerCase']())??[];if(0x0===_0x461aee['length'])return!0x1;const _0x26aa10=Number(_0x461aee[0x1])*Number(_0x461aee[0x2]);return _0x26aa10>0x10000000?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x461aee[0x1]+'x'+_0x461aee[0x2]+'\x20('+Math['ceil'](_0x26aa10/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x461aee[0x3]?Number(_0x461aee[0x3])/0x64:void 0x0,'size':_0x26aa10};})(this['cfg']['imageShrink']);}async['_processShrink'](_0x2b7b5a){const _0x556b11=this['_settingsOfShrink']();return _0x556b11?await _0x318b80(_0x2b7b5a,_0x556b11):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x2b7b5a);}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0||e['getValue']('isValidationPending'))return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['_debouncedCalculateState']();try{const i=new AbortController();e['setValue']('abortController',i);const s=async()=>{e['setValue']('isQueuedForUploading',!0x1);let s=e['getValue']('file');if(s instanceof File&&this['cfg']['imageShrink'])try{s=await this['_processShrink'](s);}catch{}const n=s||e['getValue']('externalUrl')||e['getValue']('uuid');if(!n)throw new Error('No\x20file\x20input');const r={...await this['getUploadClientOptions'](),'fileName':e['getValue']('fileName')??void 0x0,'source':e['getValue']('source')??void 0x0,'onProgress':i=>{if(i['isComputable']){const s=0x64*i['value'];e['setValue']('uploadProgress',s);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',n,r),_0x3cda08(n,r);},n=await this['$']['*uploadQueue']['add'](s);e['setMultipleValues']({'fileInfo':n,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':n['originalFilename'],'fileSize':n['size'],'isImage':n['isImage']??!0x1,'mimeType':n['contentInfo']?.['mime']?.['mime']??n['mimeType'],'uuid':n['uuid'],'cdnUrl':e['getValue']('cdnUrl')??n['cdnUrl'],'cdnUrlModifiers':e['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':e['getValue']('source')??null}),e===this['_entry']&&this['_debouncedCalculateState']();}catch(i){this['telemetryManager']['sendEventError'](i,'file\x20upload.\x20Failed\x20to\x20upload\x20file'),i instanceof _0x326ab5&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x37e4ec?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':i}):(console['error']('Unknown\x20upload\x20error',i),e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':i})})),e===this['_entry']&&this['_debouncedCalculateState']();}}});static ['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<uc-thumb\x20set=\x22uid:uid;badgeIcon:badgeIcon\x22></uc-thumb>\x0a\x0a\x20\x20\x20\x20<div\x20aria-atomic=\x22true\x22\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@hidden:\x20!showFileNames\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText;\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-hint\x22\x20set=\x22@hidden:\x20!hint\x22>{{hint}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button;@aria-label:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button;@aria-label:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-progress-bar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x20@hasFileName:\x20showFileNames;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a';static ['activeInstances']=new Set();},'FileUploaderInline':_0x41aad2,'FileUploaderMinimal':_0x3370a9,'FileUploaderRegular':_0x54212c,'FormInput':class extends _0x2efe71{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x45f533=document['createElement']('input');return _0x45f533['type']='text',_0x45f533['name']=this['ctxName'],_0x45f533['required']=this['cfg']['multipleMin']>0x0,_0x45f533['tabIndex']=-0x1,_0x1d22dd(_0x45f533,{'opacity':0x0,'height':0x0,'width':0x0}),_0x45f533;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x13b483=>{{if(!this['_dynamicInputsContainer']){const _0x5cdda2=document['createElement']('div');this['appendChild'](_0x5cdda2),this['_dynamicInputsContainer']=_0x5cdda2;}if(!this['_validationInputElement']){const _0x5a402e=this['_createValidationInput']();this['appendChild'](_0x5a402e),this['_validationInputElement']=_0x5a402e;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x13b483['status']||'idle'===_0x13b483['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x13b483['status']){const _0x5792b7=_0x13b483['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x5792b7??'');}const _0x18810b=_0x13b483['group']?_0x13b483['group']:null;if(_0x18810b)return this['_validationInputElement']['value']=_0x18810b['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x4828e9=_0x13b483['allEntries']['map'](_0x4aab2e=>_0x4aab2e['cdnUrl'])['filter'](_0x3a55a4=>'string'==typeof _0x3a55a4);if(!this['cfg']['multiple']&&0x1===_0x4828e9['length']&&_0x4828e9[0x0])return this['_validationInputElement']['value']=_0x4828e9[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x1153e9=new DocumentFragment();for(const _0xbb7f96 of _0x4828e9){const _0x3f11a2=document['createElement']('input');_0x3f11a2['type']='hidden',_0x3f11a2['name']=this['ctxName']+'[]',_0x3f11a2['value']=_0xbb7f96,_0x1153e9['appendChild'](_0x3f11a2);}this['_dynamicInputsContainer']['replaceChildren'](_0x1153e9);}},!0x1);}},'Icon':_0x507a27,'Img':class extends _0x1fc1bd{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x5564e5=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x5564e5?'lazy':'eager');});}},'LineLoaderUi':_0x219817,'Modal':_0x3dcc96,'ModalEvents':_0x2c2bb9,'PACKAGE_NAME':_0x57d861,'PACKAGE_VERSION':_0x42298a,'PresenceToggle':_0x60a3b3,'ProgressBar':_0x3e2766,'ProgressBarCommon':_0x5cdd83,'Select':_0x58520a,'SimpleBtn':_0x40d3f9,'SliderUi':_0x2918e1,'SolutionBlock':_0x516956,'SourceBtn':_0x154a03,'SourceList':class extends _0x1ebb01{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x8142ee=>{const _0x591da8=_0x900720(_0x8142ee);let _0x2c4970='';_0x591da8['forEach'](_0x526a33=>{'instagram'!==_0x526a33?'camera'===_0x526a33&&_0x5632bd['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x2e207d=>{const _0x45f7cd=_0x4c7c3d(_0x2e207d);_0x45f7cd['forEach'](_0x1ad7e8=>{_0x2c4970+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x1ad7e8+'-camera\x22></uc-source-btn>';}),0x0===_0x45f7cd['length']&&(_0x2c4970+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x2c4970+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x526a33+'\x22></uc-source-btn>':console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US');}),this['cfg']['sourceListWrap']?this['innerHTML']=_0x2c4970:this['outerHTML']=_0x2c4970;});}},'Spinner':_0x4133d9,'StartFrom':_0x5e0fe3,'Thumb':_0x596197,'UID':_0xb7b042,'UploadCtxProvider':class extends _0x2efe71{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=_0x566487;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},'UploadList':_0xddcb33,'UploadSource':_0x3ca01d,'UploaderBlock':_0x2efe71,'UrlSource':_0x45864b,'defineComponents':_0xe3d984,'defineLocale':_0x3b4937,'loadFileUploaderFrom':function(_0x52cf3c,_0x43bbba=!0x1){return new Promise((_0x143143,_0x392df8)=>{if('object'!=typeof document)return void _0x143143(null);if('object'==typeof window&&window[_0x31d777])return void _0x143143(window[_0x31d777]);const _0x1c5fb9=document['createElement']('script');_0x1c5fb9['async']=!0x0,_0x1c5fb9['src']=_0x52cf3c,_0x1c5fb9['onerror']=()=>{_0x392df8();},_0x1c5fb9['onload']=()=>{const _0x1cab85=window[_0x31d777];_0x43bbba&&_0xe3d984(_0x1cab85),_0x143143(_0x1cab85);},document['head']['appendChild'](_0x1c5fb9);});},'toKebabCase':_0x13287c});class _0x59e65e extends _0xa0ed63['Plugin']{static get['requires'](){return[UploadcareEditing,_0xbbfcc2];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2433fb){super(_0x2433fb),_0x2433fb['config']['define']('uploadcare.uploader.sourceList',[_0x46892e['Local'],_0x46892e['URL']]),_0xe3d984(_0x5a3560),this['_defineLocale']();}['_defineLocale'](){const _0x25fb7c=this['editor']['config']['get']('uploadcare.locale'),_0x4532d6=this['editor']['locale']['contentLanguage'];_0x25fb7c&&_0x3b4937(_0x4532d6,_0x25fb7c);}}class UploadcareImageEditFormLoadingView extends _0xa0ed63['View']{constructor(_0x230a96){super(_0x230a96);const t=_0x230a96['t'],_0x453408=this['bindTemplate'],_0x860367=new _0xa0ed63['SpinnerView']();_0x860367['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':[_0x860367,{'text':_0x453408['to']('imageUploadProgress',_0x4e3016=>t('Loading\x20image...')+'\x20('+(_0x4e3016||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'}]}]}]});}}class UploadcareImageEditFormErrorView extends _0xa0ed63['View']{constructor(_0x1ff2cd){super(_0x1ff2cd);const t=_0x1ff2cd['t'];this['set']('errorType',null);const _0x345b03=new _0xa0ed63['ButtonView'](_0x1ff2cd);_0x345b03['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x345b03['withText']=!0x0,_0x345b03['class']='ck-button-action',_0x345b03['on']('execute',()=>{this['fire']('retry');}),_0x345b03['bind']('isVisible')['to'](this,'errorType',_0x4d4ede=>'NotFound'!==_0x4d4ede);const _0x4ebe68=new _0xa0ed63['IconView']();_0x4ebe68['content']=_0xa0ed63['IconError'],_0x4ebe68['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xb0af70=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':[_0x4ebe68,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xb0af70['to']('errorType',_0x40edfc=>t('NotFound'!==_0x40edfc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x345b03]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormEditingView extends _0xa0ed63['View']{constructor(_0x50eaa2,_0x30534a){super(_0x50eaa2);const _0x481d54=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x30534a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x481d54['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x16f825{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x48e603,_0x2a0b69,_0x4cd15e){super(_0x48e603),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x48e603),this['_errorView']=new UploadcareImageEditFormErrorView(_0x48e603),this['_editingView']=new UploadcareImageEditFormEditingView(_0x48e603,_0x4cd15e),this['_focusableView']=new _0xa0ed63['View'](_0x48e603),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2a0b69),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'],_0x157ea8=>{this['_addUploadcareImageEditorListeners'](_0x157ea8);});}),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'](_0x5ed9de,_0x140bc5){const _0x3d66cb='uc-cloud-image-editor',_0xba859c=_0x5ed9de['querySelector'](_0x3d66cb);if(_0xba859c)return _0x140bc5(_0xba859c);const _0x4d235a=new MutationObserver(_0x3be17b=>{const _0x558d0b=_0x3be17b['filter'](_0xc2062a=>_0xc2062a['target']===_0x5ed9de&&_0xc2062a['addedNodes']['length']>0x0&&_0xc2062a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x3d66cb);_0x558d0b['length']&&(_0x4d235a['disconnect'](),_0x140bc5(_0x558d0b[0x0]['addedNodes'][0x0]));});_0x4d235a['observe'](_0x5ed9de,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d5504){_0x3d5504['addEventListener']('apply',_0x266ce2=>{this['fire']('apply',{'imageSrc':_0x266ce2['detail']['cdnUrl']});}),_0x3d5504['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0xa0ed63['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2ec602,_0x9575a2,_0x34a979){super(),this['_editor']=_0x2ec602,this['_dialog']=_0x9575a2,this['_imageElement']=_0x34a979,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 _0x57c2fd=this['_imageElement'],_0x21cc3e=_0x57c2fd['getAttribute']('uploadcareImageId'),_0x23eae2=_0x57c2fd['getAttribute']('src');if(_0x21cc3e)await this['_loadImageInfo'](_0x21cc3e,_0x23eae2);else{if(this['_imageCache']['has'](_0x23eae2)){const _0x2a3569=this['_imageCache']['get'](_0x23eae2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a3569['url'],this['imageDimension']=_0x2a3569['dimension'],this['imageId']=_0x2a3569['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51f5de}=this['_editor'],t=_0x51f5de['t'],_0x5e7225=new UploadcareImageEditFormView(_0x51f5de,this['imageStatus'],this['_attributes']);_0x5e7225['bind']('status')['to'](this,'imageStatus'),_0x5e7225['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5e7225['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5e7225['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5e7225,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xa0ed63['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5e7225,'position':_0xa0ed63['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5e7225['focus']();},'onHide':()=>{_0x5e7225['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4de50c=>!_0x565127(_0x4de50c,_0x5e7225['element'])}});}['_loadImageInfo'](_0x376835,_0x51b7e5){return UploadUtils['getInfo'](_0x376835,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2161ab=>{const {width:_0x566081,height:_0x24c505}=_0x2161ab['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51b7e5,this['imageDimension']={'width':_0x566081,'height':_0x24c505},this['imageId']=_0x376835;})['catch'](_0x58cd16=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58cd16['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x263b11,_0x5b35f2){return this['_getImageAsFile'](_0x263b11)['then'](_0x54ac0e=>UploadUtils['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':_0x5b35f2['signal'],'file':_0x54ac0e,'onProgress':_0x404555=>{_0x404555&&_0x404555['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x404555['value']));}}))['then'](_0x25e8ad=>{const {width:_0x3cb212,height:_0x4ad7b0}=_0x25e8ad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e8ad['cdnUrl'],this['imageDimension']={'width':_0x3cb212,'height':_0x4ad7b0},this['imageId']=_0x25e8ad['uuid'],this['imageUploadProgress']=null;const _0x204841=_0x263b11['getAttribute']('src');this['_imageCache']['set'](_0x204841,{'id':_0x25e8ad['uuid'],'url':_0x25e8ad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x43b9b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x43b9b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xe036e7,_0x5d812b){_0xe036e7['on']('apply',(_0x372089,_0x1acd73)=>{this['_replaceImage'](_0x5d812b,_0x1acd73['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xe036e7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xe036e7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x25b7d8,_0x35e2c1,_0x3bf387){const _0x2dbdbc=this['_editor'],{width:_0x43eace,height:_0x56bfae}=_0x1c14e9(_0x35e2c1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2749eb,imageSources:_0x3c3791}=_0x208a4d(_0x35e2c1,_0x43eace);_0x2dbdbc['model']['change'](_0x22a54b=>{if('$graveyard'===_0x25b7d8['root']['rootName']){_0x2dbdbc['execute']('insertImage',{'imageType':_0x25b7d8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x25b7d8['getAttributes']()),'uploadcareImageId':_0x3bf387,'src':_0x2749eb,'sources':_0x3c3791,'width':_0x43eace,'height':_0x56bfae}});const _0x551f0e=_0x25b7d8['getChildren']();_0x25b7d8=_0x2dbdbc['model']['document']['selection']['getSelectedElement']();for(const _0x271362 of _0x551f0e)_0x22a54b['append'](_0x22a54b['cloneElement'](_0x271362),_0x25b7d8);}else _0x22a54b['setSelection'](_0x25b7d8,'on'),_0x2dbdbc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x25b7d8['getAttributes']()),'uploadcareImageId':_0x3bf387,'src':_0x2749eb,'sources':_0x3c3791,'width':_0x43eace,'height':_0x56bfae},_0x25b7d8);_0x22a54b['setSelection'](_0x25b7d8,'on');});}async['_getImageAsFile'](_0x5520e6){const _0x198ee0=_0xa0ed63['global']['window'],_0x234181=_0xa0ed63['global']['document']['location']['href'],_0x1e529c=new _0x198ee0['URL'](_0x5520e6['getAttribute']('src'),_0x234181);if('data:'===_0x1e529c['protocol']){const _0xf1fc70=_0x1e529c['href']['split'](','),_0x4897bd=_0xf1fc70[0x0]['match'](/:(.*?);/)[0x1],_0x28e53a=_0x4897bd['split']('/')[0x1],_0x3420e4=_0x198ee0['atob'](_0xf1fc70[_0xf1fc70['length']-0x1]);let _0x4d0868=_0x3420e4['length'];const _0xbf594a=new _0x198ee0['Uint8Array'](_0x4d0868);for(;_0x4d0868--;)_0xbf594a[_0x4d0868]=_0x3420e4['charCodeAt'](_0x4d0868);return new _0x198ee0['File']([_0xbf594a],'image.'+_0x28e53a,{'type':_0x4897bd});}const _0x3a9fb6=_0x1e529c['href']['split']('/'),_0x264869=_0x3a9fb6[_0x3a9fb6['length']-0x1],_0x286829=_0x264869['split']('.')[0x1];return _0x198ee0['fetch'](_0x1e529c['href'])['then'](_0x15d2a8=>_0x15d2a8['clone']()['blob']())['then'](_0x283374=>new _0x198ee0['File']([_0x283374],_0x264869,{'type':'image/'+_0x286829}));}}class UploadcareImageEditCommand extends _0xa0ed63['Command']{['imageEditController'];static get['requires'](){return[_0xa0ed63['Dialog']];}['_isEditable'];constructor(_0x3e0d5c){super(_0x3e0d5c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xe8f0e3){const _0x273365=_0x680ce1(_0xe8f0e3);return _0x339390=>!(!_0x339390||!_0x339390['is']('element','imageBlock')&&!_0x339390['is']('element','imageInline'))&&(!!_0x339390['hasAttribute']('uploadcareImageId')||!!_0x339390['hasAttribute']('src')&&_0x273365(_0x339390['getAttribute']('src')));}(_0x3e0d5c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x47c920=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x47c920);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1caa5c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1caa5c&&(_0x1caa5c['is']('element','imageBlock')||_0x1caa5c['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](_0xa0ed63['Dialog']),_0x1caa5c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x1abfac extends _0xa0ed63['Command']{['refresh'](){const _0xef3c6c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xef3c6c&&(_0xef3c6c['is']('element','imageBlock')||_0xef3c6c['is']('element','imageInline')));}['execute'](_0x1c2e93){const _0x559c1e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2131a3=>{_0x2131a3['setAttributes'](_0x1c2e93,_0x559c1e),_0x2131a3['removeAttribute']('srcset',_0x559c1e),_0x2131a3['removeAttribute']('sizes',_0x559c1e);});}}class UploadcareImageEditEditing extends _0xa0ed63['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,_0xa0ed63['Notification'],'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41e91e}=this;_0x41e91e['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x41e91e)),_0x41e91e['commands']['add']('uploadcareImageReplace',new _0x1abfac(_0x41e91e));}}class UploadcareImageEditUI extends _0xa0ed63['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 _0x435ddd=this['editor'];_0x435ddd['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa47e68=>{const _0x51a84f=_0x435ddd['commands']['get']('uploadcareImageEdit'),_0x72448b=new _0xa0ed63['ButtonView'](_0xa47e68),t=_0xa47e68['t'];return _0x72448b['set']({'icon':_0xa0ed63['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x72448b['bind']('isEnabled')['to'](_0x51a84f),_0x72448b['bind']('isOn')['to'](_0x51a84f,'isActive'),this['listenTo'](_0x72448b,'execute',()=>{_0x435ddd['execute']('uploadcareImageEdit'),_0x435ddd['editing']['view']['focus']();}),_0x72448b;}),this['_initConfig']();}['_initConfig'](){const _0x3a89fa=_0xa0ed63['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a89fa),this['listenTo'](this['editor'],'destroy',()=>{_0x3a89fa['remove']();});}}class UploadcareImageEdit extends _0xa0ed63['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}_0x49828a['AIActions']=AIActions,_0x49828a['AIAdapter']=AIAdapter,_0x49828a['AIAssistant']=AIAssistant,_0x49828a['AIAssistantUI']=AIAssistantUI,_0x49828a['AIBalloon']=_0x31c07d,_0x49828a['AIChat']=AIChat,_0x49828a['AIChatController']=AIChatController,_0x49828a['AIChatHistory']=AIChatHistory,_0x49828a['AIChatHistoryController']=AIChatHistoryController,_0x49828a['AIChatHistoryUI']=AIChatHistoryUI,_0x49828a['AIChatShortcuts']=AIChatShortcuts,_0x49828a['AIChatUI']=AIChatUI,_0x49828a['AIConnector']=AIConnector,_0x49828a['AIEditing']=AIEditing,_0x49828a['AIEditorIntegration']=AIEditorIntegration,_0x49828a['AIQuickActionType']=_0x301460,_0x49828a['AIQuickActions']=AIQuickActions,_0x49828a['AIQuickActionsUI']=AIQuickActionsUI,_0x49828a['AIRequestError']=AIRequestError,_0x49828a['AIReviewCheck']=_0x523469,_0x49828a['AIReviewCheckResult']=AIReviewCheckResult,_0x49828a['AIReviewCheckRun']=_0x4eeb41,_0x49828a['AIReviewMode']=_0x4a7cae,_0x49828a['AIReviewModeController']=AIReviewCoreController,_0x49828a['AIReviewModeEditing']=AIReviewCoreEditing,_0x49828a['AIReviewModeUI']=_0x782385,_0x49828a['AITabs']=_0x5c6477,_0x49828a['AITextAdapter']=AITextAdapter,_0x49828a['AIToggleButtonUI']=AIToggleButtonUI,_0x49828a['AITranslate']=AITranslate,_0x49828a['AITranslateController']=AITranslateController,_0x49828a['AITranslateUI']=AITranslateUI,_0x49828a['AWSTextAdapter']=class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0xa0ed63['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x23ad02){throw _0xa0ed63['logError']('ai-aws-adapter-not-supported'),new AIRequestError(_0x420730(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0x49828a['AcceptSuggestionCommand']=AcceptSuggestionCommand,_0x49828a['AddCommentThreadCommand']=AddCommentThreadCommand,_0x49828a['Annotation']=_0x416d6d,_0x49828a['AnnotationCollection']=AnnotationCollection,_0x49828a['AnnotationCounterButtonView']=AnnotationCounterButtonView,_0x49828a['AnnotationView']=AnnotationView,_0x49828a['Annotations']=Annotations,_0x49828a['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,_0x49828a['AnnotationsSidebarView']=AnnotationsSidebarView,_0x49828a['AnnotationsUIs']=AnnotationsUIs,_0x49828a['AriaDescriptionView']=AriaDescriptionView,_0x49828a['BaseCommentThreadView']=BaseCommentThreadView,_0x49828a['BaseCommentView']=BaseCommentView,_0x49828a['BaseSuggestionThreadView']=BaseSuggestionThreadView,_0x49828a['CaseChange']=_0xbdc9fe,_0x49828a['CaseChangeCommand']=_0x3d8821,_0x49828a['CaseChangeEditing']=CaseChangeEditing,_0x49828a['CaseChangeUI']=_0x459990,_0x49828a['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,_0x49828a['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,_0x49828a['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,_0x49828a['Comment']=Comment,_0x49828a['CommentThread']=CommentThread,_0x49828a['CommentThreadController']=CommentThreadController,_0x49828a['CommentThreadInputView']=CommentThreadInputView,_0x49828a['CommentThreadView']=CommentThreadView,_0x49828a['CommentView']=CommentView,_0x49828a['Comments']=Comments,_0x49828a['CommentsArchive']=CommentsArchive,_0x49828a['CommentsArchiveUI']=CommentsArchiveUI,_0x49828a['CommentsEditing']=CommentsEditing,_0x49828a['CommentsListView']=CommentsListView,_0x49828a['CommentsOnly']=CommentsOnly,_0x49828a['CommentsRepository']=CommentsRepository,_0x49828a['CommentsUI']=CommentsUI,_0x49828a['ConfirmMixin']=_0x37545e,_0x49828a['CopyFormatCommand']=CopyFormatCommand,_0x49828a['DATA_ID_MODEL_ATTRIBUTE']=_0x51f885,_0x49828a['DATA_ID_VIEW_ATTRIBUTE']=_0x26dcd0,_0x49828a['DiscardSuggestionCommand']=DiscardSuggestionCommand,_0x49828a['DocumentCompare']=DocumentCompare,_0x49828a['DocumentOutline']=DocumentOutline,_0x49828a['DocumentOutlineUI']=DocumentOutlineUI,_0x49828a['DocumentOutlineUtils']=DocumentOutlineUtils,_0x49828a['EditSourceCommand']=EditSourceCommand,_0x49828a['EditorAnnotations']=EditorAnnotations,_0x49828a['EmailConfigurationHelper']=EmailConfigurationHelper,_0x49828a['EmailConfigurationLogger']=EmailConfigurationLogger,_0x49828a['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,_0x49828a['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,_0x49828a['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,_0x49828a['ExportInlineStyles']=ExportInlineStyles,_0x49828a['ExportInlineStylesCommand']=ExportInlineStylesCommand,_0x49828a['ExportInlineStylesEditing']=ExportInlineStylesEditing,_0x49828a['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,_0x49828a['ExportPdf']=ExportPdf,_0x49828a['ExportPdfCommand']=ExportPdfCommand,_0x49828a['ExportWord']=ExportWord,_0x49828a['ExportWordCommand']=ExportWordCommand,_0x49828a['FOCUS_ANNOTATION_KEYSTROKE']=_0x524ab6,_0x49828a['FontEmailIntegration']=FontEmailIntegration,_0x49828a['Footnotes']=Footnotes,_0x49828a['FootnotesClipboard']=FootnotesClipboard,_0x49828a['FootnotesEditing']=FootnotesEditing,_0x49828a['FootnotesProperties']=FootnotesProperties,_0x49828a['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,_0x49828a['FootnotesPropertiesUI']=FootnotesPropertiesUI,_0x49828a['FootnotesStartCommand']=FootnotesStartCommand,_0x49828a['FootnotesStyleCommand']=FootnotesStyleCommand,_0x49828a['FootnotesTracker']=FootnotesTracker,_0x49828a['FootnotesUI']=FootnotesUI,_0x49828a['FormatPainter']=FormatPainter,_0x49828a['FormatPainterEditing']=FormatPainterEditing,_0x49828a['FormatPainterUI']=FormatPainterUI,_0x49828a['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,_0x49828a['HeadingId']=_0x9cd5bc,_0x49828a['HighlightEmailIntegration']=HighlightEmailIntegration,_0x49828a['ImageEmailIntegration']=ImageEmailIntegration,_0x49828a['ImportWord']=ImportWord,_0x49828a['ImportWordCommand']=ImportWordCommand,_0x49828a['ImportWordEditing']=ImportWordEditing,_0x49828a['ImportWordUI']=ImportWordUI,_0x49828a['InlineAnnotations']=InlineAnnotations,_0x49828a['InsertFootnoteCommand']=InsertFootnoteCommand,_0x49828a['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,_0x49828a['InsertMergeFieldCommand']=InsertMergeFieldCommand,_0x49828a['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,_0x49828a['LateFocusButtonView']=LateFocusButtonView,_0x49828a['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,_0x49828a['LineHeight']=LineHeight,_0x49828a['LineHeightCommand']=LineHeightCommand,_0x49828a['LineHeightEditing']=LineHeightEditing,_0x49828a['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,_0x49828a['LineHeightUI']=LineHeightUI,_0x49828a['LinkEmailIntegration']=LinkEmailIntegration,_0x49828a['ListEmailIntegration']=ListEmailIntegration,_0x49828a['MarkdownEmailIntegration']=MarkdownEmailIntegration,_0x49828a['MathTypeEmailIntegration']=MathTypeEmailIntegration,_0x49828a['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,_0x49828a['MergeFields']=_0x2a9ff9,_0x49828a['MergeFieldsEditing']=MergeFieldsEditing,_0x49828a['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,_0x49828a['MergeFieldsUI']=_0x5606ca,_0x49828a['MultiLevelList']=MultiLevelList,_0x49828a['MultiLevelListCommand']=MultiLevelListCommand,_0x49828a['MultiLevelListEditing']=MultiLevelListEditing,_0x49828a['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,_0x49828a['MultiLevelListUI']=MultiLevelListUI,_0x49828a['NarrowSidebar']=_0x5aa0e8,_0x49828a['OpenAITextAdapter']=class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x4f9787){super(_0x4f9787),_0x4f9787['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x4f9787['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x4f9787['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x4f9787['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x4f9787['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x4f9787['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x8a5c7a,context:_0x8376e9,onData:_0x5f09dd,actionId:_0x251973}){const _0x4e2c4b=this['editor']['locale'],_0x3abbd9=await this['prepareMessages'](_0x8a5c7a,_0x8376e9,_0x251973),_0x435f07=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x251973),_0xf11c9a=await this['_prepareRequestParameters'](this['_requestParameters'],_0x251973),_0x565040={'messages':_0x3abbd9,..._0xf11c9a},_0x41a9f5={'method':'POST','headers':_0x435f07,'body':JSON['stringify'](_0x565040),'signal':this['abortController']['signal']},_0x181cfb=await fetch(this['_apiUrl'],_0x41a9f5);if(_0x181cfb['ok'])return _0xf11c9a['stream']?await this['_readStreamableResponse'](_0x181cfb,_0x5f09dd):await this['_readStaticResponse'](_0x181cfb,_0x5f09dd),Promise['resolve']();{const _0x387c11=await _0x181cfb['text']();return _0x387c11['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(_0x420730(_0x4e2c4b,'AI_ERROR_CONTEXT_LENGTH'))):_0x387c11['includes']('Moderation')?Promise['reject'](new AIRequestError(_0x420730(_0x4e2c4b,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x387c11));}}async['prepareMessages'](_0x3386e8,_0x1dd6e7,_0xc9cb80){let _0x59346a,_0x14cdac;return _0x1dd6e7?(_0x59346a='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.',_0x14cdac='Instruction:\x0a'+_0x3386e8+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x1dd6e7):(_0x59346a='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.',_0x14cdac=_0x3386e8),[{'role':'system','content':_0x59346a},{'role':'user','content':_0x14cdac}];}async['_readStreamableResponse'](_0x341f5d,_0x4c174a){const _0x3f64a3=_0x341f5d['body']['getReader'](),_0x31c784=new TextDecoder();let _0x5bbf98='',_0x4f2851='',_0x37087c='',_0x10a5c6=!0x1;for(;!_0x10a5c6;){const {done:_0x24ef96,value:_0x254f13}=await _0x3f64a3['read'](),_0x542a63=_0x5bbf98+_0x31c784['decode'](_0x254f13);let _0x585a16='';_0x10a5c6=_0x24ef96;try{_0x585a16=this['_cleanUpData'](_0x542a63),_0x5bbf98='';}catch{_0x5bbf98=_0x542a63;continue;}_0x4f2851+=_0x585a16,!_0x10a5c6&&this['_isBufferIncomplete'](_0x4f2851)||_0x4f2851&&(_0x37087c+=_0x4f2851,_0x4f2851='',_0x4c174a(_0x37087c));}return Promise['resolve']();}async['_readStaticResponse'](_0x45c3eb,_0x5b893e){return _0x5b893e((await _0x45c3eb['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x39a45c){const _0x2878f8=_0x39a45c['split']('<')['length']!==_0x39a45c['split']('>')['length'],_0x585ed2=_0x39a45c['length']<0x1e;return _0x2878f8&&_0x585ed2;}['_cleanUpData'](_0x3abb58){return _0x3abb58['split'](/\n(?![^{]*\})/g)['map'](_0x99c3fd=>_0x99c3fd['replace']('data:\x20',''))['filter'](_0x2324b8=>_0x2324b8&&_0x2324b8['length']>0x0&&'[DONE]'!==_0x2324b8)['map'](_0x5e2f97=>{const {choices:_0x10aa37}=JSON['parse'](_0x5e2f97);if(_0x10aa37[0x0]?.['delta']?.['content'])return _0x10aa37[0x0]['delta']['content'];})['filter'](_0x520107=>_0x520107)['join']('');}},_0x49828a['Pagination']=Pagination,_0x49828a['PaginationRenderer']=PaginationRenderer,_0x49828a['PasteFormatCommand']=PasteFormatCommand,_0x49828a['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,_0x49828a['Permissions']=_0x3e482e,_0x49828a['PresenceList']=PresenceList,_0x49828a['PresenceListUI']=PresenceListUI,_0x49828a['PreviewFinalContentCommand']=PreviewFinalContentCommand,_0x49828a['PreviewMergeFieldsCommand']=_0x3c444f,_0x49828a['RealTimeCollaborationClient']=RealTimeCollaborationClient,_0x49828a['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,_0x49828a['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,_0x49828a['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,_0x49828a['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,_0x49828a['ReplaceSourceCommand']=_0x590eb7,_0x49828a['RestoreRevisionCommand']=RestoreRevisionCommand,_0x49828a['Revision']=_0x11420b,_0x49828a['RevisionHistory']=RevisionHistory,_0x49828a['RevisionHistoryUI']=RevisionHistoryUI,_0x49828a['RevisionHistoryUtils']=RevisionHistoryUtils,_0x49828a['RevisionTracker']=_0x19f525,_0x49828a['RevisionViewer']=_0x41b773,_0x49828a['RevisionViewerEditor']=RevisionViewerEditor,_0x49828a['RevisionViewerIntegration']=RevisionViewerIntegration,_0x49828a['RevisionViewerLoadingOverlay']=_0x48baea,_0x49828a['RevisionViewerUI']=_0x1fde30,_0x49828a['RevisionsRepository']=RevisionsRepository,_0x49828a['RevisionsSidebar']=_0x5a838d,_0x49828a['Sessions']=_0x3a6531,_0x49828a['ShowAIAssistantCommand']=ShowAIAssistantCommand,_0x49828a['ShowChangeCommand']=_0x3954f2,_0x49828a['Sidebar']=_0x4124e7,_0x49828a['SlashCommand']=_0x509ca9,_0x49828a['SlashCommandConfig']=_0x38207a,_0x49828a['SlashCommandEditing']=SlashCommandEditing,_0x49828a['SlashCommandUI']=_0x495bc5,_0x49828a['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,_0x49828a['SourceEditingEnhanced']=SourceEditingEnhanced,_0x49828a['Suggestion']=Suggestion,_0x49828a['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,_0x49828a['SuggestionThreadView']=SuggestionThreadView,_0x49828a['SuggestionView']=SuggestionView,_0x49828a['SuggestionsConversion']=SuggestionsConversion,_0x49828a['TableEmailIntegration']=TableEmailIntegration,_0x49828a['TableOfContents']=TableOfContents,_0x49828a['TableOfContentsCommand']=TableOfContentsCommand,_0x49828a['TableOfContentsEditing']=TableOfContentsEditing,_0x49828a['TableOfContentsUI']=TableOfContentsUI,_0x49828a['Template']=Template,_0x49828a['TemplateCommand']=TemplateCommand,_0x49828a['TemplateEditing']=TemplateEditing,_0x49828a['TemplateEmailIntegration']=TemplateEmailIntegration,_0x49828a['TemplateUI']=TemplateUI,_0x49828a['TodoListEmailIntegration']=TodoListEmailIntegration,_0x49828a['ToggleAICommand']=_0x75e32c,_0x49828a['TrackChanges']=_0x379333,_0x49828a['TrackChangesCommand']=_0x4430a0,_0x49828a['TrackChangesData']=TrackChangesData,_0x49828a['TrackChangesDataGetter']=TrackChangesDataGetter,_0x49828a['TrackChangesEditing']=TrackChangesEditing,_0x49828a['TrackChangesPreview']=_0x2745b8,_0x49828a['TrackChangesUI']=_0x31f903,_0x49828a['UploadEmailIntegration']=UploadEmailIntegration,_0x49828a['Uploadcare']=_0x59e65e,_0x49828a['UploadcareCommand']=_0x2ce4aa,_0x49828a['UploadcareEditing']=UploadcareEditing,_0x49828a['UploadcareImageEdit']=UploadcareImageEdit,_0x49828a['UploadcareImageEditCommand']=UploadcareImageEditCommand,_0x49828a['UploadcareImageEditEditing']=UploadcareImageEditEditing,_0x49828a['UploadcareImageEditUI']=UploadcareImageEditUI,_0x49828a['UploadcareUI']=_0xbbfcc2,_0x49828a['UploadcareUploadAdapter']=UploadcareUploadAdapter,_0x49828a['UserView']=_0x2edd05,_0x49828a['Users']=_0x16ef47,_0x49828a['WebSocketGateway']=WebSocketGateway,_0x49828a['WideSidebar']=_0x59801b,_0x49828a['bindAnnotationCollections']=_0x3d4875,_0x49828a['createResizeButton']=Rt,_0x49828a['dropImportantStyleSuffix']=_0x5df341,_0x49828a['fixElementSuggestionRange']=_0x41d4e4,_0x49828a['getAllMarkersDomElementsSorted']=_0x39c902,_0x49828a['getDateTimeFormatter']=_0x17c219,_0x49828a['getDefaultAICommands']=At,_0x49828a['getEmailInlineStylesTransformations']=function(_0x4b4f3c={}){const _0x247e50=[_0x393fe3,_0x41786a,_0x3da912];return _0x4b4f3c['useFigureToTableFallback']&&_0x247e50['push'](_0x5d813a,_0x13ef0c),_0x247e50;},_0x49828a['getMarkerDomElement']=_0xf4366a,_0x49828a['hashObject']=_0x4854f3,_0x49828a['isUnsupportedEmailColorFormat']=_0x13e12e,_0x49828a['isUnsupportedEmailColorValue']=_0x55e594,_0x49828a['sanitizeEditorConfig']=_0x14b9a3,_0x49828a['setupThreadKeyboardNavigation']=_0x383895,_0x49828a['splitSuggestionMarkerName']=_0x2c5b20,_0x49828a['surroundingMarkersDetector']=_0x117c09,_0x49828a['transformEmailFigcaptionToDiv']=_0x13ef0c,_0x49828a['transformEmailFigureToTable']=_0x5d813a,_0x49828a['transformEmailFloatToAlign']=_0x393fe3,_0x49828a['transformEmailImageWidthAttributes']=_0x3da912,_0x49828a['transformEmailMarginToAlign']=_0x41786a,_0x49828a['trimHtml']=_0x50dc1d;});