@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260128.0 → 0.0.0-nightly-20260129.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x375934,Command as _0x53d112}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5ac3fc,IconGooglePhotos as _0x21549f,IconGoogleDrive as _0x529c2e,IconFacebook as _0x20a02a,IconDropbox as _0x35b471,IconUploadcareLink as _0x4af346,IconUploadcareImageUpload as _0x596b34,IconError as _0x481c66,IconUploadcareImageEdit as _0x7c637a}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x158c81,MenuBarMenuListItemButtonView as _0x2a3a24,View as _0x275224,FocusCycler as _0x895934,Dialog as _0x4925ab,DialogViewPosition as _0x39f1d8,SpinnerView as _0x24bae1,IconView as _0x1449ef,Notification as _0x72885e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x122ef6,DomEmitterMixin as _0x413c20,global as _0x5f53c6,getAncestors as _0x4c15b9,ObservableMixin as _0x37bb2d,uid as _0x358ae0,createElement as _0xaf3768}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x27fd0f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xdf1ed6,info as _0x51421c}from'@uploadcare/upload-client';import*as _0x4d13fe from'@uploadcare/file-uploader';var i=function(_0x35b84a){return _0x35b84a['Local']='local',_0x35b84a['URL']='url',_0x35b84a['Dropbox']='dropbox',_0x35b84a['GDrive']='gdrive',_0x35b84a['Facebook']='facebook',_0x35b84a['GPhotos']='gphotos',_0x35b84a['OneDrive']='onedrive',_0x35b84a;}({});function _(_0x86ec1e,_0x40ba8c,_0x3d7950){const t=_0x86ec1e['t'],_0x3d8399=_0x86ec1e['t'];switch(_0x40ba8c){case i['Local']:return{'text':_0x3d8399('Insert'===_0x3d7950?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3d8399('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x3d7950?_0x3d8399('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3d8399('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x3d7950?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x3d7950?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x3d7950?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x3d7950?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x3d7950?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x40ba8c;}}class e extends _0x375934{['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 _0x40391e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3db74e;for(const _0xea84d in _0x40391e){const _0x15e6b6=_0xea84d,_0x1c3dba=_0x40391e[_0x15e6b6];if('uploadcareLicenseKeyValid'==_0x1c3dba||'uploadcareLicenseKeyInvalid'==_0x1c3dba||'uploadcareLicenseKeyExpired'==_0x1c3dba||'uploadcareLicenseKeyDomainLimit'==_0x1c3dba||'uploadcareLicenseKeyNotAllowed'==_0x1c3dba||'uploadcareLicenseKeyEvaluationLimit'==_0x1c3dba||'uploadcareLicenseKeyUsageLimit'==_0x1c3dba){delete _0x40391e[_0x15e6b6],_0x3db74e=_0x1c3dba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3db74e&&_0x40391e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3db74e&&_0x40391e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3db74e&&_0x40391e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3db74e&&_0x40391e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3db74e&&_0x40391e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3db74e&&_0x40391e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x4f8846}=this,_0x33c771=_0x4f8846['commands']['get']('uploadcare');if(!_0x33c771)return;const _0x2ef7b7=this['_normalizeConfigSourceList'](_0x4f8846['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0xc6ec2e,_0x5636d8)=>{const _0x121d23=this['_getIntegrationKey'](_0x5636d8['type']);return _0xc6ec2e[_0x121d23]||(_0xc6ec2e[_0x121d23]=[]),_0xc6ec2e[_0x121d23]['push'](_0x5636d8),_0xc6ec2e;},{});_0x4f8846['plugins']['has']('ImageInsertUI')&&_0x4f8846['commands']['get']('uploadcare')&&Object['entries'](_0x2ef7b7)['forEach'](([_0x37a0b4,_0x2194c])=>{_0x4f8846['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x37a0b4,'observable':()=>_0x33c771,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2194c),'formViewCreator':()=>this['_createDropdownButtons'](_0x2194c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2194c),'override':'assetManager'!==_0x37a0b4});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x20f6b3){const {locale:_0x2ce1c1}=this['editor'];return _0x20f6b3['map'](_0x556ca5=>{const _0x5cd307=_(_0x2ce1c1,_0x556ca5,'Insert');switch(_0x556ca5){case i['Local']:return{'icon':_0x596b34,'type':i['Local'],..._0x5cd307};case i['URL']:return{'icon':_0x4af346,'type':i['URL'],..._0x5cd307};case i['Dropbox']:return{'icon':_0x35b471,'type':i['Dropbox'],..._0x5cd307};case i['Facebook']:return{'icon':_0x20a02a,'type':i['Facebook'],..._0x5cd307};case i['GDrive']:return{'icon':_0x529c2e,'type':i['GDrive'],..._0x5cd307};case i['GPhotos']:return{'icon':_0x21549f,'type':i['GPhotos'],..._0x5cd307};case i['OneDrive']:return{'icon':_0x5ac3fc,'type':i['OneDrive'],..._0x5cd307};}});}['_getIntegrationKey'](_0x581e05){switch(_0x581e05){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xd37b23,_0x2ca146){const _0x8fbc6b=this['editor'],_0x2ca4a3=new _0xd37b23(_0x8fbc6b['locale']),_0x5175f2=_0x8fbc6b['commands']['get']('uploadcare');return _0x2ca4a3['bind']('isEnabled')['to'](_0x5175f2),_0x2ca4a3['on']('execute',()=>{_0x5175f2['execute'](_0x2ca146);}),_0x2ca4a3;}['_createToolbarButton'](_0x40acff){const {locale:_0x115332}=this['editor'],_0x52e2e9=this['editor']['plugins']['get']('ImageInsertUI'),_0x1281d9=_0x40acff[0x0],_0x49f134=this['_createButton'](_0x158c81,_0x1281d9['type']);return _0x49f134['icon']=_0x1281d9['icon'],_0x49f134['bind']('label')['to'](_0x52e2e9,'isImageSelected',_0x54e5f4=>_(_0x115332,_0x1281d9['type'],_0x54e5f4?'Replace':'Insert')['text']),_0x49f134['tooltip']=!0x0,_0x49f134;}['_createDropdownButtons'](_0x5af068){const {locale:_0x5f3240}=this['editor'],_0x19de7d=this['editor']['plugins']['get']('ImageInsertUI');return _0x5af068['map'](_0x1b8eea=>{const _0x22c916=this['_createButton'](_0x158c81,_0x1b8eea['type']);return _0x22c916['withText']=!0x0,_0x22c916['icon']=_0x1b8eea['icon'],_0x22c916['bind']('label')['to'](_0x19de7d,'isImageSelected',_0x29d4ae=>_(_0x5f3240,_0x1b8eea['type'],_0x29d4ae?'Replace':'Insert')['text']),_0x22c916;});}['_createMenuBarButtons'](_0x5dc16f){return _0x5dc16f['map'](_0x24eeba=>{const _0xf95a72=this['_createButton'](_0x2a3a24,_0x24eeba['type']);return _0xf95a72['icon']=_0x24eeba['icon'],_0xf95a72['label']=_0x24eeba['shortText'],_0xf95a72;});}}class F extends _0x275224{['focusTracker'];['focusCycler'];constructor(_0xbf56c7){super(_0xbf56c7),this['focusTracker']=new _0x122ef6(),this['focusCycler']=new _0x895934({'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 x extends F{constructor(_0x412354,_0xa3f89f){super(_0x412354),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-'+_0xa3f89f}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x36f66e,_0x5223e7){const _0x2d4898=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x40021b=>_0x40021b<=_0x5223e7)['map'](_0x10fadc=>_0x36f66e['replace'](/\/$/,'')+'/-/resize/'+_0x10fadc+'x/\x20'+_0x10fadc+'w');return{'imageFallbackUrl':_0x36f66e,'imageSources':[{'srcset':_0x2d4898['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5223e7+'px)\x20100vw,\x20'+_0x5223e7+'px','type':'image/webp'}]};}function S(_0x16b89c,_0xe0f1d9,_0x342b95){const _0x4d0698=_0x16b89c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4d0698?parseInt(_0x4d0698[0x1],0xa):_0xe0f1d9,'height':_0x4d0698?parseInt(_0x4d0698[0x2],0xa):_0x342b95};}function p(_0x5ee16b,_0x198c01){const _0x59fbad=new(_0x413c20())(),_0x5d6016=_0x5ee16b['plugins']['get']('ImageUtils'),_0x3a9e32=_0x5ee16b['editing']['mapper']['toViewElement'](_0x198c01),_0x196540=_0x5d6016['findViewImgElement'](_0x3a9e32),_0x214874=_0x5ee16b['editing']['view']['domConverter']['viewToDom'](_0x196540),_0x46fa17=_0x198c01['getAttribute']('width'),_0x1a5bba=_0x198c01['getAttribute']('height'),_0x1e1e80='image-processing';_0x5ee16b['editing']['view']['change'](_0x48fb2e=>{_0x48fb2e['addClass'](_0x1e1e80,_0x3a9e32),_0x48fb2e['setStyle']('aspect-ratio',_0x46fa17+'/'+_0x1a5bba,_0x196540);}),_0x59fbad['listenTo'](_0x214874,'load',()=>{_0x59fbad['stopListening'](_0x214874,'load'),_0x5ee16b['editing']['view']['change'](_0x2d6c67=>{_0x2d6c67['removeClass'](_0x1e1e80,_0x3a9e32),_0x2d6c67['removeStyle']('aspect-ratio',_0x196540);});});}function z(_0x272751){if(Array['isArray'](_0x272751)){const _0x53be0c=_0x272751['map'](z);return _0x839f8f=>_0x53be0c['some'](_0x3c70e8=>_0x3c70e8(_0x839f8f));}if('origin'==_0x272751){const _0x1a28e7=_0x5f53c6['window']['location']['origin'];return _0x3d0457=>new URL(_0x3d0457,_0x5f53c6['document']['baseURI'])['origin']==_0x1a28e7;}return'function'==typeof _0x272751?_0x272751:_0x272751 instanceof RegExp?_0x379c6d=>!(!_0x379c6d['match'](_0x272751)&&!_0x379c6d['replace'](/^https?:\/\//,'')['match'](_0x272751)):()=>!0x1;}function A(_0x3d2a3f,_0x4f5a84){return _0x4c15b9(_0x3d2a3f['target'])['includes'](_0x4f5a84);}class n extends/* #__PURE__ -- @preserve */
24
- _0x37bb2d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x1ed0c3,_0x4bb481,_0x3ca62a){super(),this['_editor']=_0x1ed0c3,this['_editing']=_0x4bb481,this['_dialog']=_0x1ed0c3['plugins']['get'](_0x4925ab),this['_api']=_0x4bb481['ctxElement']['getAPI'](),this['_type']=_0x3ca62a,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:_0x2ebee5,model:_0x35e653}=this['_editor'],_0x1ce0ce=_0x35e653['document']['selection']['getSelectedElement'](),_0xa4a58d=_0x1ce0ce&&(_0x1ce0ce['is']('element','imageBlock')||_0x1ce0ce['is']('element','imageInline'));this['_formView']=new x(_0x2ebee5,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x596b34,'title':_(_0x2ebee5,this['_type'],_0xa4a58d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x39f1d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x555a7c=>!A(_0x555a7c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x855a54}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0xa3cf55=>{const _0xec1ead=_0x855a54['length'];for(const _0x249805 of _0x855a54){const _0x50ca9b=_0x249805===_0x855a54[_0xec1ead-0x1],{cdnUrl:_0x4beae8,fileInfo:_0x2f25a4}=_0x249805;if(!_0x4beae8||!_0x2f25a4)continue;const {width:_0x4fdf24,height:_0xe4a67f}=_0x2f25a4['imageInfo'],_0x40b72f=S(_0x4beae8,_0x4fdf24,_0xe4a67f),_0x408f13=C(_0x4beae8,_0x40b72f['width']),_0x5b7d5c={'id':_0x2f25a4['uuid'],'type':'image','attributes':{'imageDimension':_0x40b72f,..._0x408f13}};this['_insertAsset'](_0x5b7d5c,_0x50ca9b,_0xa3cf55);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x32dc97=>{'idle'===_0x32dc97['detail']['status']&&!_0x32dc97['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4e77e8,_0x4a1e2f,_0x206175){const _0x43e57c=this['_editor']['model']['document']['selection'],_0x1012b5=_0x43e57c['getSelectedElement'](),_0x30049a=!(!_0x1012b5||!_0x1012b5['is']('element','imageInline'));_0x206175['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4e77e8,_0x30049a),_0x4a1e2f||_0x206175['setSelection'](_0x43e57c['getLastPosition']());}['_insertImage'](_0x132d68,_0x5bbf4e){const _0xa3131e=this['_editor'],{imageDimension:_0x240492,imageFallbackUrl:_0x378779,imageSources:_0x4126e8}=_0x132d68['attributes'];_0xa3131e['execute']('insertImage',{'imageType':_0x5bbf4e?'imageInline':null,'source':{'uploadcareImageId':_0x132d68['id'],'src':_0x378779,'sources':_0x4126e8,..._0x240492}});}}class w extends _0x53d112{['_editing'];['_controller']=null;static get['requires'](){return[_0x4925ab,o];}constructor(_0x9ae32e){super(_0x9ae32e),this['_editing']=_0x9ae32e['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x58f391){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x58f391);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x41e07d,..._0x3ae97f}){return _0xdf1ed6(_0x41e07d,_0x3ae97f);}static['getInfo'](_0x54b4b4,_0x3cde9e){return _0x51421c(_0x54b4b4,_0x3cde9e);}}class f extends _0x375934{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x27fd0f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x43ae9d=this['editor'];if(!!!_0x43ae9d['config']['get']('uploadcare'))return;_0x43ae9d['plugins']['get'](_0x27fd0f)['createUploadAdapter']=_0x5b32e9=>new k(_0x5b32e9,_0x43ae9d),_0x43ae9d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57adea,{imageElement:_0x571284,data:_0x2d787a})=>{_0x43ae9d['model']['change'](_0x4dbf4c=>{_0x4dbf4c['setAttribute']('uploadcareImageId',_0x2d787a['uploadcareImageId'],_0x571284);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x824fc,_0x236d67){this['loader']=_0x824fc,this['editor']=_0x236d67,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x33e0ad=await this['loader']['file'];return j['upload']({'file':_0x33e0ad,'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':_0x9d5be4=>{_0x9d5be4&&_0x9d5be4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9d5be4['value']);}})['then'](async _0x58cc63=>{const {imageFallbackUrl:_0x31be3b,imageSources:_0x1b56c9}=C(_0x58cc63['cdnUrl'],_0x58cc63['imageInfo']['width']);return{'uploadcareImageId':_0x58cc63['uuid'],'default':_0x31be3b,'sources':_0x1b56c9};})['catch'](()=>{const _0x1bb853=t('Cannot\x20upload\x20file:')+('\x20'+_0x33e0ad['name']+'.');return Promise['reject'](_0x1bb853);});}['abort'](){this['controller']['abort']();}}class o extends _0x375934{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x4925ab];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x53fad5){super(_0x53fad5),this['ucContextId']=_0x358ae0();}['init'](){const _0x5c737a=this['editor'];_0x5c737a['commands']['add']('uploadcare',new w(_0x5c737a));}['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 _0x1b09d6=_0x5f53c6['document']['querySelector']('input[uploadcare-file-input]');_0x1b09d6&&_0x1b09d6['remove']();}),async function(_0xebceea){const _0x59454f=_0x40c365([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]),_0x547433=0x535f8c3a,_0x1ebec4=0x53580c22^_0x547433,_0x1c01f3=window[_0x40c365([0x44,0x61,0x74,0x65])][_0x40c365([0x6e,0x6f,0x77])](),_0x485fa4=_0xebceea[_0x40c365([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x179eda=new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c66f=>{_0x485fa4[_0x40c365([0x6f,0x6e,0x63,0x65])](_0x40c365([0x72,0x65,0x61,0x64,0x79]),_0x26c66f);}),_0x5c4a69={[_0x40c365([0x6b,0x74,0x79])]:_0x40c365([0x45,0x43]),[_0x40c365([0x75,0x73,0x65])]:_0x40c365([0x73,0x69,0x67]),[_0x40c365([0x63,0x72,0x76])]:_0x40c365([0x50,0x2d,0x32,0x35,0x36]),[_0x40c365([0x78])]:_0x40c365([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]),[_0x40c365([0x79])]:_0x40c365([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]),[_0x40c365([0x61,0x6c,0x67])]:_0x40c365([0x45,0x53,0x32,0x35,0x36])},_0x47b5a3=_0x485fa4[_0x40c365([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40c365([0x67,0x65,0x74])](_0x40c365([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ffc68(){let _0x17dcc5,_0x2e2e6d=null,_0x42240e=null;try{if(_0x47b5a3==_0x40c365([0x47,0x50,0x4c]))return _0x40c365([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17dcc5=_0x11a745(),!_0x17dcc5)return _0x40c365([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17dcc5[_0x40c365([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42240e=_0x26dff9(_0x17dcc5[_0x40c365([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17dcc5[_0x40c365([0x6a,0x74,0x69])])),await _0x5b8819()?_0x5e0a04()?_0x27556b()?_0x40c365([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x326bf3()?(_0x17dcc5[_0x40c365([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40c365([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e2e6d=_0x1aea1f(_0x40c365([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46b70a()):_0x40c365([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40c365([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40c365([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40c365([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27556b(){const _0x20cc71=[_0x40c365([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40c365([0x74,0x72,0x69,0x61,0x6c])][_0x40c365([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17dcc5[_0x40c365([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c01f3/0x3e8:0xe10*_0x1ebec4;return _0x17dcc5[_0x40c365([0x65,0x78,0x70])]<_0x20cc71;}function _0x5e0a04(){const _0x107a51=_0x17dcc5[_0x40c365([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x107a51&&(!!_0x107a51[_0x40c365([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c365([0x2a]))||!!_0x107a51[_0x40c365([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c365([0x55,0x50,0x4c,0x43])));}function _0x326bf3(){const _0x4eaca6=_0x17dcc5[_0x40c365([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eaca6||0x0==_0x4eaca6[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d12a7}=new URL(window[_0x40c365([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4eaca6[_0x40c365([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d12a7))return!0x0;const _0x439093=_0x5d12a7[_0x40c365([0x73,0x70,0x6c,0x69,0x74])](_0x40c365([0x2e]));return _0x4eaca6[_0x40c365([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x118254=>_0x118254[_0x40c365([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40c365([0x2a])))[_0x40c365([0x6d,0x61,0x70])](_0x54a2ec=>_0x54a2ec[_0x40c365([0x73,0x70,0x6c,0x69,0x74])](_0x40c365([0x2e])))[_0x40c365([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dcfe0=>_0x5dcfe0[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x439093[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c365([0x6d,0x61,0x70])](_0x3f27ea=>Array(_0x439093[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f27ea[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40c365([0x66,0x69,0x6c,0x6c])](_0x3f27ea[0x0]===_0x40c365([0x2a])?_0x40c365([0x2a]):'')[_0x40c365([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f27ea))[_0x40c365([0x73,0x6f,0x6d,0x65])](_0x41df94=>_0x439093[_0x40c365([0x65,0x76,0x65,0x72,0x79])]((_0x1c442c,_0x11ec4b)=>_0x41df94[_0x11ec4b]===_0x1c442c||_0x41df94[_0x11ec4b]===_0x40c365([0x2a])));}function _0x46b70a(){return _0x2e2e6d&&_0x42240e?new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x556adf,_0x334694)=>{_0x2e2e6d[_0x40c365([0x74,0x68,0x65,0x6e])](_0x556adf,_0x334694),_0x42240e[_0x40c365([0x74,0x68,0x65,0x6e])](_0x23be33=>{_0x23be33!=_0x40c365([0x56,0x61,0x6c,0x69,0x64])&&_0x556adf(_0x23be33);},_0x334694);}):_0x2e2e6d||_0x42240e||_0x40c365([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26dff9(_0x3d0ede,_0x12e974){return new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f4783=>{if(_0x1ca5ad())return _0x2f4783(_0x40c365([0x56,0x61,0x6c,0x69,0x64]));_0x3e3495(),_0x485fa4[_0x40c365([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40c365([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x540fea=!0x1;const _0x474fd9=_0x358ae0();function _0x196108(_0x2a2b3e){return!!_0x2a2b3e&&(typeof _0x2a2b3e===_0x40c365([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a2b3e===_0x40c365([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a2b3e[_0x40c365([0x74,0x68,0x65,0x6e])]===_0x40c365([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a2b3e[_0x40c365([0x63,0x61,0x74,0x63,0x68])]===_0x40c365([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x477ce2(_0x48f2ce){_0x206ce7(_0x48f2ce)[_0x40c365([0x74,0x68,0x65,0x6e])](_0x3197e2=>{if(!_0x3197e2||_0x3197e2[_0x40c365([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40c365([0x6f,0x6b]))return _0x40c365([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4baafd(_0x4f692b(_0x474fd9+_0x12e974))!=_0x3197e2[_0x40c365([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40c365([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40c365([0x56,0x61,0x6c,0x69,0x64]);})[_0x40c365([0x74,0x68,0x65,0x6e])](_0x506e1a=>(_0x467ce7(),_0x506e1a),()=>{const _0x40b663=_0x17fc8a();return null==_0x40b663?(_0x467ce7(),_0x40c365([0x56,0x61,0x6c,0x69,0x64])):_0x40c365(_0x1c01f3-_0x40b663>(0x7753083a^_0x547433)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40c365([0x74,0x68,0x65,0x6e])](_0x2f4783)[_0x40c365([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f4783(_0x40c365([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cc9b5=0x536962ba^_0x547433;function _0x467ce7(){const _0x45d835=_0x40c365([0x6c,0x6c,0x63,0x74,0x2d])+_0x4baafd(_0x4f692b(_0x3d0ede)),_0x45d83c=_0x2ef893(_0x4baafd(window[_0x40c365([0x4d,0x61,0x74,0x68])][_0x40c365([0x63,0x65,0x69,0x6c])](_0x1c01f3/_0x1cc9b5)));window[_0x40c365([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c365([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45d835,_0x45d83c);}function _0x17fc8a(){const _0x4e27bb=_0x40c365([0x6c,0x6c,0x63,0x74,0x2d])+_0x4baafd(_0x4f692b(_0x3d0ede)),_0x3f5cc0=window[_0x40c365([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40c365([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e27bb);return _0x3f5cc0?window[_0x40c365([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ef893(_0x3f5cc0),0x10)*_0x1cc9b5:null;}function _0x206ce7(_0x3b26a9){return new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b23b0,_0x433204)=>{_0x3b26a9[_0x40c365([0x74,0x68,0x65,0x6e])](_0x4b23b0,_0x433204),window[_0x40c365([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x433204,0x535e58fa^_0x547433);});}}_0x485fa4[_0x40c365([0x6f,0x6e])](_0x40c365([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29922e,_0x29dcb3)=>{if(_0x29dcb3[0x0]!=_0x3d0ede)return _0x2f4783(_0x40c365([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29dcb3[0x1]={..._0x29dcb3[0x1],[_0x40c365([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x474fd9};},{[_0x40c365([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c365([0x68,0x69,0x67,0x68])}),_0x485fa4[_0x40c365([0x6f,0x6e])](_0x40c365([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x409616=>{_0x196108(_0x409616[_0x40c365([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x540fea=!0x0,_0x477ce2(_0x409616[_0x40c365([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40c365([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40c365([0x6c,0x6f,0x77])}),_0x179eda[_0x40c365([0x74,0x68,0x65,0x6e])](()=>{_0x540fea||_0x2f4783(_0x40c365([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ca5ad(){return _0x485fa4[_0x40c365([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c365([0x76,0x69,0x65,0x77])][_0x40c365([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40c365([0x61,0x75,0x74,0x6f]);}function _0x3e3495(){_0x485fa4[_0x40c365([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40c365([0x76,0x69,0x65,0x77])][_0x40c365([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40c365([0x61,0x75,0x74,0x6f]);}}function _0x1aea1f(_0x57771b){const _0x333327=[new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148a27=>setTimeout(_0x148a27,0x5356b2f6^_0x547433)),_0x179eda[_0x40c365([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3045=>{let _0x49966c=0x0;_0x485fa4[_0x40c365([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c365([0x6f,0x6e])](_0x40c365([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174bd9,_0x3a2527)=>{_0x3a2527[0x0][_0x40c365([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49966c++,_0x49966c==(0x535f89d2^_0x547433)&&(_0x4a3045(),_0x174bd9[_0x40c365([0x6f,0x66,0x66])]());});}))];return window[_0x40c365([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40c365([0x72,0x61,0x63,0x65])](_0x333327)[_0x40c365([0x74,0x68,0x65,0x6e])](()=>_0x57771b);}async function _0x19eb66(){await _0x179eda,_0x485fa4[_0x40c365([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c365([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x361d25,_0x485fa4[_0x40c365([0x6d,0x6f,0x64,0x65,0x6c])][_0x40c365([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x361d25,_0x485fa4[_0x40c365([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40c365([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ee8c7(_0x4f4d28){const _0x4a6930=_0x1f06c8();_0x485fa4[_0x4a6930]=_0x40c365([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f4d28,_0x4f4d28!=_0x40c365([0x56,0x61,0x6c,0x69,0x64])&&_0x19eb66();}function _0x1f06c8(){const _0x344d48=window[_0x40c365([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40c365([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40c365([0x6e,0x6f,0x77])]())[_0x40c365([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40c365([0x2e]),'');let _0x287c02=_0x40c365([0x68]);for(let _0x3e266a=0x0;_0x3e266a<_0x344d48[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e266a+=0x2){let _0xa20636=window[_0x40c365([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x344d48[_0x40c365([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e266a,_0x3e266a+0x2));_0xa20636>=_0x59454f[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa20636-=_0x59454f[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x287c02+=_0x59454f[_0xa20636];}return _0x287c02;}function _0x11a745(){const _0x20729f=_0x47b5a3[_0x40c365([0x73,0x70,0x6c,0x69,0x74])](_0x40c365([0x2e]));if(0x3!=_0x20729f[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cf2d6(_0x20729f[0x1]);function _0x4cf2d6(_0x5cd7c7){const _0x45cd15=_0xe3766f(_0x5cd7c7);return _0x45cd15&&_0x34ed16()?_0x45cd15:null;function _0x34ed16(){const _0x33a9d3=_0x45cd15[_0x40c365([0x6a,0x74,0x69])],_0x5d151a=window[_0x40c365([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33a9d3[_0x40c365([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33a9d3[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d12b5={..._0x45cd15,[_0x40c365([0x6a,0x74,0x69])]:_0x33a9d3[_0x40c365([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33a9d3[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d12b5[_0x40c365([0x76,0x63])],_0x4f692b(_0x4d12b5)==_0x5d151a;}}}async function _0x5b8819(){let _0x1d6840=!0x0;try{const _0x54150f=_0x47b5a3[_0x40c365([0x73,0x70,0x6c,0x69,0x74])](_0x40c365([0x2e])),[_0x304f76,_0xe0a650,_0x1cabff]=_0x54150f;return _0x24688d(_0x304f76),await _0xba7ea9(_0x304f76,_0xe0a650,_0x1cabff),_0x1d6840;}catch{return!0x1;}function _0x24688d(_0x25e828){const _0x3ad075=_0xe3766f(_0x25e828);_0x3ad075&&_0x3ad075[_0x40c365([0x61,0x6c,0x67])]==_0x40c365([0x45,0x53,0x32,0x35,0x36])||(_0x1d6840=!0x1);}async function _0xba7ea9(_0xbd2bdd,_0x439b1f,_0x168164){const _0x18ffad=window[_0x40c365([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40c365([0x66,0x72,0x6f,0x6d])](_0x642376(_0x168164),_0x650cc4=>_0x650cc4[_0x40c365([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x332c97=new window[(_0x40c365([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40c365([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbd2bdd+_0x40c365([0x2e])+_0x439b1f),_0x1158ea=window[_0x40c365([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40c365([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1158ea)return;const _0x34ae0f=await _0x1158ea[_0x40c365([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40c365([0x6a,0x77,0x6b]),_0x5c4a69,{[_0x40c365([0x6e,0x61,0x6d,0x65])]:_0x40c365([0x45,0x43,0x44,0x53,0x41]),[_0x40c365([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40c365([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40c365([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1158ea[_0x40c365([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40c365([0x6e,0x61,0x6d,0x65])]:_0x40c365([0x45,0x43,0x44,0x53,0x41]),[_0x40c365([0x68,0x61,0x73,0x68])]:{[_0x40c365([0x6e,0x61,0x6d,0x65])]:_0x40c365([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34ae0f,_0x18ffad,_0x332c97)||(_0x1d6840=!0x1);}}function _0xe3766f(_0xa8bc11){return _0xa8bc11[_0x40c365([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40c365([0x65,0x79]))?JSON[_0x40c365([0x70,0x61,0x72,0x73,0x65])](_0x642376(_0xa8bc11)):null;}function _0x642376(_0x38ec77){return window[_0x40c365([0x61,0x74,0x6f,0x62])](_0x38ec77[_0x40c365([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40c365([0x2b]))[_0x40c365([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40c365([0x2f])));}function _0x4f692b(_0xc85119){let _0x45ce5b=0x1505;function _0x367f84(_0x757f83){for(let _0x4e591d=0x0;_0x4e591d<_0x757f83[_0x40c365([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e591d++){const _0x8ee688=_0x757f83[_0x40c365([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e591d);_0x45ce5b=(_0x45ce5b<<0x5)+_0x45ce5b+_0x8ee688,_0x45ce5b&=_0x45ce5b;}}function _0x5d27ec(_0x4221db){Array[_0x40c365([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4221db)?_0x4221db[_0x40c365([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d27ec):_0x4221db&&typeof _0x4221db==_0x40c365([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40c365([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4221db)[_0x40c365([0x73,0x6f,0x72,0x74])]()[_0x40c365([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c7d8c,_0x1fac37])=>{_0x367f84(_0x4c7d8c),_0x5d27ec(_0x1fac37);}):_0x367f84(window[_0x40c365([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4221db));}return _0x5d27ec(_0xc85119),_0x45ce5b>>>0x0;}function _0x4baafd(_0x4809e6){return _0x4809e6[_0x40c365([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40c365([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40c365([0x30]));}function _0x2ef893(_0x258ee2){return _0x258ee2[_0x40c365([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40c365([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40c365([0x6a,0x6f,0x69,0x6e])]('');}function _0x361d25(){}function _0x40c365(_0x202b7d){return _0x202b7d['map'](_0x352450=>String['fromCharCode'](_0x352450))['join']('');}_0x1ee8c7(await _0x1ffc68());}(this);}['_initSchema'](){const _0x49d64a=this['editor']['model']['schema'];_0x49d64a['isRegistered']('imageBlock')&&_0x49d64a['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x49d64a['isRegistered']('imageInline')&&_0x49d64a['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x17fb2e=this['editor'];_0x17fb2e['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x17fb2e['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xb99e17=>_0xb99e17['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4b3d4e=_0x17fb2e['commands']['get']('replaceImageSource');_0x4b3d4e&&this['listenTo'](_0x4b3d4e,'cleanupImage',(_0x2f2791,[_0x1f2f37,_0x456a2c])=>{_0x1f2f37['removeAttribute']('uploadcareImageId',_0x456a2c);});}['_initConfig'](){const _0x2f7131=this['editor']['config']['get']('uploadcare.uploader')||{},_0x281659=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xaf3768(_0x5f53c6['document'],'uc-config',{..._0x2f7131,'pubkey':_0x281659,'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']=_0x1c2bb2=>{if('closeMax'==_0x1c2bb2)return'#uc-icon-arrow-down';},_0x5f53c6['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xaf3768(_0x5f53c6['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5f53c6['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x12b7b8=this['editor']['commands']['get']('insertImage');_0x12b7b8&&this['listenTo'](_0x12b7b8,'execute',()=>{const _0x52a9bf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x52a9bf&&_0x52a9bf['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x52a9bf);});});const _0x3ca54a=this['editor']['commands']['get']('uploadcareImageReplace');_0x3ca54a&&this['listenTo'](_0x3ca54a,'execute',()=>{const _0x46b5c5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x46b5c5&&_0x46b5c5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x46b5c5);});});}}class tt extends _0x375934{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5753ea){super(_0x5753ea),_0x5753ea['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4d13fe['defineComponents'](_0x4d13fe),this['_defineLocale']();}['_defineLocale'](){const _0x23b0e1=this['editor']['config']['get']('uploadcare.locale'),_0x565072=this['editor']['locale']['contentLanguage'];_0x23b0e1&&_0x4d13fe['defineLocale'](_0x565072,_0x23b0e1);}}class ii extends _0x275224{constructor(_0x26ebbb){super(_0x26ebbb);const t=_0x26ebbb['t'],_0x34e924=this['bindTemplate'],_0x953114=new _0x24bae1();_0x953114['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':[_0x953114,{'text':_0x34e924['to']('imageUploadProgress',_0x1876d8=>t('Loading\x20image...')+'\x20('+(_0x1876d8||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 ti extends _0x275224{constructor(_0x35efb0){super(_0x35efb0);const t=_0x35efb0['t'];this['set']('errorType',null);const _0x3a8c8c=new _0x158c81(_0x35efb0);_0x3a8c8c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3a8c8c['withText']=!0x0,_0x3a8c8c['class']='ck-button-action',_0x3a8c8c['on']('execute',()=>{this['fire']('retry');}),_0x3a8c8c['bind']('isVisible')['to'](this,'errorType',_0x498b6d=>'NotFound'!==_0x498b6d);const _0x59d4d2=new _0x1449ef();_0x59d4d2['content']=_0x481c66,_0x59d4d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1630ee=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':[_0x59d4d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1630ee['to']('errorType',_0x587e4c=>t('NotFound'!==_0x587e4c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3a8c8c]},{'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 ei extends _0x275224{constructor(_0xadcfb2,_0x215b3c){super(_0xadcfb2);const _0x4a1365=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x215b3c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4a1365['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x41ffb9,_0x583db5,_0x305c4a){super(_0x41ffb9),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x41ffb9),this['_errorView']=new ti(_0x41ffb9),this['_editingView']=new ei(_0x41ffb9,_0x305c4a),this['_focusableView']=new _0x275224(_0x41ffb9),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x583db5),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'],_0x482363=>{this['_addUploadcareImageEditorListeners'](_0x482363);});}),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'](_0x5eb21f,_0x132ea4){const _0x113860='uc-cloud-image-editor',_0x423141=_0x5eb21f['querySelector'](_0x113860);if(_0x423141)return _0x132ea4(_0x423141);const _0x39be37=new MutationObserver(_0x5e6f6b=>{const _0x58fb94=_0x5e6f6b['filter'](_0x1d6d5f=>_0x1d6d5f['target']===_0x5eb21f&&_0x1d6d5f['addedNodes']['length']>0x0&&_0x1d6d5f['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x113860);_0x58fb94['length']&&(_0x39be37['disconnect'](),_0x132ea4(_0x58fb94[0x0]['addedNodes'][0x0]));});_0x39be37['observe'](_0x5eb21f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x575588){_0x575588['addEventListener']('apply',_0x221ca1=>{this['fire']('apply',{'imageSrc':_0x221ca1['detail']['cdnUrl']});}),_0x575588['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
- _0x37bb2d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x120988,_0xb58d10,_0x4cf2da){super(),this['_editor']=_0x120988,this['_dialog']=_0xb58d10,this['_imageElement']=_0x4cf2da,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 _0x1e3b26=this['_imageElement'],_0x4b9a3c=_0x1e3b26['getAttribute']('uploadcareImageId'),_0x331691=_0x1e3b26['getAttribute']('src');if(_0x4b9a3c)await this['_loadImageInfo'](_0x4b9a3c,_0x331691);else{if(this['_imageCache']['has'](_0x331691)){const _0x4c75f0=this['_imageCache']['get'](_0x331691);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c75f0['url'],this['imageDimension']=_0x4c75f0['dimension'],this['imageId']=_0x4c75f0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10fd63}=this['_editor'],t=_0x10fd63['t'],_0x503aff=new X(_0x10fd63,this['imageStatus'],this['_attributes']);_0x503aff['bind']('status')['to'](this,'imageStatus'),_0x503aff['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x503aff['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x503aff['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x503aff,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x7c637a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x503aff,'position':_0x39f1d8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x503aff['focus']();},'onHide':()=>{_0x503aff['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x20ed44=>!A(_0x20ed44,_0x503aff['element'])}});}['_loadImageInfo'](_0x583508,_0xdc52fb){return j['getInfo'](_0x583508,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x45e3bd=>{const {width:_0x27234d,height:_0x4a8806}=_0x45e3bd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xdc52fb,this['imageDimension']={'width':_0x27234d,'height':_0x4a8806},this['imageId']=_0x583508;})['catch'](_0x14a64e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14a64e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5a2722,_0x4541d2){return this['_getImageAsFile'](_0x5a2722)['then'](_0x4cf4f4=>j['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':_0x4541d2['signal'],'file':_0x4cf4f4,'onProgress':_0x5aba52=>{_0x5aba52&&_0x5aba52['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5aba52['value']));}}))['then'](_0x312ea6=>{const {width:_0x21279d,height:_0x5a372c}=_0x312ea6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x312ea6['cdnUrl'],this['imageDimension']={'width':_0x21279d,'height':_0x5a372c},this['imageId']=_0x312ea6['uuid'],this['imageUploadProgress']=null;const _0x18f0ad=_0x5a2722['getAttribute']('src');this['_imageCache']['set'](_0x18f0ad,{'id':_0x312ea6['uuid'],'url':_0x312ea6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x44fee8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x44fee8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4dfdef,_0x55b50b){_0x4dfdef['on']('apply',(_0x3b950d,_0x253084)=>{this['_replaceImage'](_0x55b50b,_0x253084['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4dfdef['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4dfdef['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4b03d2,_0x577a18,_0x2a27cc){const _0x19a173=this['_editor'],{width:_0x37b429,height:_0x16c25c}=S(_0x577a18,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x192a36,imageSources:_0x3997e2}=C(_0x577a18,_0x37b429);_0x19a173['model']['change'](_0xf1324d=>{if('$graveyard'===_0x4b03d2['root']['rootName']){_0x19a173['execute']('insertImage',{'imageType':_0x4b03d2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4b03d2['getAttributes']()),'uploadcareImageId':_0x2a27cc,'src':_0x192a36,'sources':_0x3997e2,'width':_0x37b429,'height':_0x16c25c}});const _0x1e3892=_0x4b03d2['getChildren']();_0x4b03d2=_0x19a173['model']['document']['selection']['getSelectedElement']();for(const _0x2995dd of _0x1e3892)_0xf1324d['append'](_0xf1324d['cloneElement'](_0x2995dd),_0x4b03d2);}else _0xf1324d['setSelection'](_0x4b03d2,'on'),_0x19a173['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4b03d2['getAttributes']()),'uploadcareImageId':_0x2a27cc,'src':_0x192a36,'sources':_0x3997e2,'width':_0x37b429,'height':_0x16c25c},_0x4b03d2);_0xf1324d['setSelection'](_0x4b03d2,'on');});}async['_getImageAsFile'](_0x5296cb){const _0x1a4422=_0x5f53c6['window'],_0x1a7be4=_0x5f53c6['document']['location']['href'],_0x1e9470=new _0x1a4422['URL'](_0x5296cb['getAttribute']('src'),_0x1a7be4);if('data:'===_0x1e9470['protocol']){const _0x880e2c=_0x1e9470['href']['split'](','),_0x3b51b5=_0x880e2c[0x0]['match'](/:(.*?);/)[0x1],_0x3ebb63=_0x3b51b5['split']('/')[0x1],_0x480795=_0x1a4422['atob'](_0x880e2c[_0x880e2c['length']-0x1]);let _0x4db5d8=_0x480795['length'];const _0x57d38a=new _0x1a4422['Uint8Array'](_0x4db5d8);for(;_0x4db5d8--;)_0x57d38a[_0x4db5d8]=_0x480795['charCodeAt'](_0x4db5d8);return new _0x1a4422['File']([_0x57d38a],'image.'+_0x3ebb63,{'type':_0x3b51b5});}const _0x482c81=_0x1e9470['href']['split']('/'),_0x42b528=_0x482c81[_0x482c81['length']-0x1],_0x74203a=_0x42b528['split']('.')[0x1];return _0x1a4422['fetch'](_0x1e9470['href'])['then'](_0x1c1695=>_0x1c1695['clone']()['blob']())['then'](_0x3d9e13=>new _0x1a4422['File']([_0x3d9e13],_0x42b528,{'type':'image/'+_0x74203a}));}}class Q extends _0x53d112{['imageEditController'];static get['requires'](){return[_0x4925ab];}['_isEditable'];constructor(_0x4d7d4d){super(_0x4d7d4d),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4c6627){const _0x61157=z(_0x4c6627);return _0x2665f9=>!(!_0x2665f9||!_0x2665f9['is']('element','imageBlock')&&!_0x2665f9['is']('element','imageInline'))&&(!!_0x2665f9['hasAttribute']('uploadcareImageId')||!!_0x2665f9['hasAttribute']('src')&&_0x61157(_0x2665f9['getAttribute']('src')));}(_0x4d7d4d['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4f662f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4f662f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0xdb8278=this['editor']['model']['document']['selection']['getSelectedElement']();_0xdb8278&&(_0xdb8278['is']('element','imageBlock')||_0xdb8278['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0x4925ab),_0xdb8278),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x53d112{['refresh'](){const _0x20a559=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x20a559&&(_0x20a559['is']('element','imageBlock')||_0x20a559['is']('element','imageInline')));}['execute'](_0x920d3){const _0x1ffa2b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x10d41c=>{_0x10d41c['setAttributes'](_0x920d3,_0x1ffa2b),_0x10d41c['removeAttribute']('srcset',_0x1ffa2b),_0x10d41c['removeAttribute']('sizes',_0x1ffa2b);});}}class m extends _0x375934{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x72885e,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15b76d}=this;_0x15b76d['commands']['add']('uploadcareImageEdit',new Q(_0x15b76d)),_0x15b76d['commands']['add']('uploadcareImageReplace',new V(_0x15b76d));}}class g extends _0x375934{['_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 _0x334cb9=this['editor'];_0x334cb9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x38ffe4=>{const _0x1ebe90=_0x334cb9['commands']['get']('uploadcareImageEdit'),_0x49a33d=new _0x158c81(_0x38ffe4),t=_0x38ffe4['t'];return _0x49a33d['set']({'icon':_0x7c637a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x49a33d['bind']('isEnabled')['to'](_0x1ebe90),_0x49a33d['bind']('isOn')['to'](_0x1ebe90,'isActive'),this['listenTo'](_0x49a33d,'execute',()=>{_0x334cb9['execute']('uploadcareImageEdit'),_0x334cb9['editing']['view']['focus']();}),_0x49a33d;}),this['_initConfig']();}['_initConfig'](){const _0x581240=_0xaf3768(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x581240),this['listenTo'](this['editor'],'destroy',()=>{_0x581240['remove']();});}}class et extends _0x375934{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0xe8bdc5,Command as _0x28f721}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x37d4fa,IconGooglePhotos as _0x49304c,IconGoogleDrive as _0x4d148f,IconFacebook as _0x8ad1a,IconDropbox as _0x3ec074,IconUploadcareLink as _0x24e19f,IconUploadcareImageUpload as _0x138ce5,IconError as _0x4cebd7,IconUploadcareImageEdit as _0x1622ff}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x15459a,MenuBarMenuListItemButtonView as _0x15d9dd,View as _0x1cff23,FocusCycler as _0x57dab4,Dialog as _0x416390,DialogViewPosition as _0x4a81b7,SpinnerView as _0x5ce92a,IconView as _0x3c4890,Notification as _0x2fdeba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x464aa0,DomEmitterMixin as _0x39590c,global as _0x14cc3d,getAncestors as _0x5db068,ObservableMixin as _0x50591d,uid as _0x46a54d,createElement as _0x2813bd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x23eb5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x490bf5,info as _0x166a18}from'@uploadcare/upload-client';import*as _0x2a0a48 from'@uploadcare/file-uploader';var i=function(_0x45d091){return _0x45d091['Local']='local',_0x45d091['URL']='url',_0x45d091['Dropbox']='dropbox',_0x45d091['GDrive']='gdrive',_0x45d091['Facebook']='facebook',_0x45d091['GPhotos']='gphotos',_0x45d091['OneDrive']='onedrive',_0x45d091;}({});function _(_0x7b3771,_0x44f2c1,_0x4e45ff){const t=_0x7b3771['t'],_0x25ff69=_0x7b3771['t'];switch(_0x44f2c1){case i['Local']:return{'text':_0x25ff69('Insert'===_0x4e45ff?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x25ff69('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x4e45ff?_0x25ff69('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x25ff69('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x4e45ff?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x4e45ff?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x4e45ff?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x4e45ff?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x4e45ff?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x44f2c1;}}class e extends _0xe8bdc5{['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 _0x187edd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x499a8b;for(const _0x6b1db0 in _0x187edd){const _0x35dbe9=_0x6b1db0,_0x3396bf=_0x187edd[_0x35dbe9];if('uploadcareLicenseKeyValid'==_0x3396bf||'uploadcareLicenseKeyInvalid'==_0x3396bf||'uploadcareLicenseKeyExpired'==_0x3396bf||'uploadcareLicenseKeyDomainLimit'==_0x3396bf||'uploadcareLicenseKeyNotAllowed'==_0x3396bf||'uploadcareLicenseKeyEvaluationLimit'==_0x3396bf||'uploadcareLicenseKeyUsageLimit'==_0x3396bf){delete _0x187edd[_0x35dbe9],_0x499a8b=_0x3396bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x499a8b&&_0x187edd['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x499a8b&&_0x187edd['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x499a8b&&_0x187edd['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x499a8b&&_0x187edd['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x499a8b&&_0x187edd['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x499a8b&&_0x187edd['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x11efaf}=this,_0x902ca4=_0x11efaf['commands']['get']('uploadcare');if(!_0x902ca4)return;const _0x20cf5d=this['_normalizeConfigSourceList'](_0x11efaf['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x44a1ea,_0x3aea07)=>{const _0x5e2570=this['_getIntegrationKey'](_0x3aea07['type']);return _0x44a1ea[_0x5e2570]||(_0x44a1ea[_0x5e2570]=[]),_0x44a1ea[_0x5e2570]['push'](_0x3aea07),_0x44a1ea;},{});_0x11efaf['plugins']['has']('ImageInsertUI')&&_0x11efaf['commands']['get']('uploadcare')&&Object['entries'](_0x20cf5d)['forEach'](([_0x755e02,_0x4f4fdb])=>{_0x11efaf['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x755e02,'observable':()=>_0x902ca4,'buttonViewCreator':()=>this['_createToolbarButton'](_0x4f4fdb),'formViewCreator':()=>this['_createDropdownButtons'](_0x4f4fdb),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x4f4fdb),'override':'assetManager'!==_0x755e02});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x46cb9f){const {locale:_0x580026}=this['editor'];return _0x46cb9f['map'](_0x4d27af=>{const _0x2f06d1=_(_0x580026,_0x4d27af,'Insert');switch(_0x4d27af){case i['Local']:return{'icon':_0x138ce5,'type':i['Local'],..._0x2f06d1};case i['URL']:return{'icon':_0x24e19f,'type':i['URL'],..._0x2f06d1};case i['Dropbox']:return{'icon':_0x3ec074,'type':i['Dropbox'],..._0x2f06d1};case i['Facebook']:return{'icon':_0x8ad1a,'type':i['Facebook'],..._0x2f06d1};case i['GDrive']:return{'icon':_0x4d148f,'type':i['GDrive'],..._0x2f06d1};case i['GPhotos']:return{'icon':_0x49304c,'type':i['GPhotos'],..._0x2f06d1};case i['OneDrive']:return{'icon':_0x37d4fa,'type':i['OneDrive'],..._0x2f06d1};}});}['_getIntegrationKey'](_0x50e443){switch(_0x50e443){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x754fea,_0x8006a5){const _0x2b348d=this['editor'],_0x296e06=new _0x754fea(_0x2b348d['locale']),_0x12064a=_0x2b348d['commands']['get']('uploadcare');return _0x296e06['bind']('isEnabled')['to'](_0x12064a),_0x296e06['on']('execute',()=>{_0x12064a['execute'](_0x8006a5);}),_0x296e06;}['_createToolbarButton'](_0x5a86df){const {locale:_0x3eba64}=this['editor'],_0x4580ce=this['editor']['plugins']['get']('ImageInsertUI'),_0x351fb7=_0x5a86df[0x0],_0x4f556e=this['_createButton'](_0x15459a,_0x351fb7['type']);return _0x4f556e['icon']=_0x351fb7['icon'],_0x4f556e['bind']('label')['to'](_0x4580ce,'isImageSelected',_0x1a43bb=>_(_0x3eba64,_0x351fb7['type'],_0x1a43bb?'Replace':'Insert')['text']),_0x4f556e['tooltip']=!0x0,_0x4f556e;}['_createDropdownButtons'](_0x383407){const {locale:_0x399137}=this['editor'],_0x16cff3=this['editor']['plugins']['get']('ImageInsertUI');return _0x383407['map'](_0x1c2bcc=>{const _0x393824=this['_createButton'](_0x15459a,_0x1c2bcc['type']);return _0x393824['withText']=!0x0,_0x393824['icon']=_0x1c2bcc['icon'],_0x393824['bind']('label')['to'](_0x16cff3,'isImageSelected',_0x4eb70c=>_(_0x399137,_0x1c2bcc['type'],_0x4eb70c?'Replace':'Insert')['text']),_0x393824;});}['_createMenuBarButtons'](_0x507f14){return _0x507f14['map'](_0x35347d=>{const _0xd8306a=this['_createButton'](_0x15d9dd,_0x35347d['type']);return _0xd8306a['icon']=_0x35347d['icon'],_0xd8306a['label']=_0x35347d['shortText'],_0xd8306a;});}}class F extends _0x1cff23{['focusTracker'];['focusCycler'];constructor(_0x5aaadd){super(_0x5aaadd),this['focusTracker']=new _0x464aa0(),this['focusCycler']=new _0x57dab4({'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 x extends F{constructor(_0x4cf807,_0x166e78){super(_0x4cf807),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-'+_0x166e78}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x4d8111,_0x3bec68){const _0x525bd8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5673a8=>_0x5673a8<=_0x3bec68)['map'](_0x165333=>_0x4d8111['replace'](/\/$/,'')+'/-/resize/'+_0x165333+'x/\x20'+_0x165333+'w');return{'imageFallbackUrl':_0x4d8111,'imageSources':[{'srcset':_0x525bd8['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3bec68+'px)\x20100vw,\x20'+_0x3bec68+'px','type':'image/webp'}]};}function S(_0x25e9e2,_0x3a8bb1,_0x4fcc8f){const _0x47b301=_0x25e9e2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x47b301?parseInt(_0x47b301[0x1],0xa):_0x3a8bb1,'height':_0x47b301?parseInt(_0x47b301[0x2],0xa):_0x4fcc8f};}function p(_0x5cb33f,_0x1ccc18){const _0x5c1ab2=new(_0x39590c())(),_0x348ec7=_0x5cb33f['plugins']['get']('ImageUtils'),_0x43ac04=_0x5cb33f['editing']['mapper']['toViewElement'](_0x1ccc18),_0x54a1de=_0x348ec7['findViewImgElement'](_0x43ac04),_0x384ed0=_0x5cb33f['editing']['view']['domConverter']['viewToDom'](_0x54a1de),_0x366ab2=_0x1ccc18['getAttribute']('width'),_0x4cd6d3=_0x1ccc18['getAttribute']('height'),_0x5d406a='image-processing';_0x5cb33f['editing']['view']['change'](_0x2f0c2d=>{_0x2f0c2d['addClass'](_0x5d406a,_0x43ac04),_0x2f0c2d['setStyle']('aspect-ratio',_0x366ab2+'/'+_0x4cd6d3,_0x54a1de);}),_0x5c1ab2['listenTo'](_0x384ed0,'load',()=>{_0x5c1ab2['stopListening'](_0x384ed0,'load'),_0x5cb33f['editing']['view']['change'](_0x575648=>{_0x575648['removeClass'](_0x5d406a,_0x43ac04),_0x575648['removeStyle']('aspect-ratio',_0x54a1de);});});}function G(_0x18dbd4){if(Array['isArray'](_0x18dbd4)){const _0x4b5cc5=_0x18dbd4['map'](G);return _0x2fd7c7=>_0x4b5cc5['some'](_0x3a4e17=>_0x3a4e17(_0x2fd7c7));}if('origin'==_0x18dbd4){const _0x2cf71e=_0x14cc3d['window']['location']['origin'];return _0x52485f=>new URL(_0x52485f,_0x14cc3d['document']['baseURI'])['origin']==_0x2cf71e;}return'function'==typeof _0x18dbd4?_0x18dbd4:_0x18dbd4 instanceof RegExp?_0x4ca803=>!(!_0x4ca803['match'](_0x18dbd4)&&!_0x4ca803['replace'](/^https?:\/\//,'')['match'](_0x18dbd4)):()=>!0x1;}function A(_0x278252,_0x3ece4d){return _0x5db068(_0x278252['target'])['includes'](_0x3ece4d);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x50591d(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4ffeec,_0x36a5b8,_0x2110fc){super(),this['_editor']=_0x4ffeec,this['_editing']=_0x36a5b8,this['_dialog']=_0x4ffeec['plugins']['get'](_0x416390),this['_api']=_0x36a5b8['ctxElement']['getAPI'](),this['_type']=_0x2110fc,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:_0x44e01b,model:_0x49de46}=this['_editor'],_0x5455d2=_0x49de46['document']['selection']['getSelectedElement'](),_0x551c4f=_0x5455d2&&(_0x5455d2['is']('element','imageBlock')||_0x5455d2['is']('element','imageInline'));this['_formView']=new x(_0x44e01b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x138ce5,'title':_(_0x44e01b,this['_type'],_0x551c4f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4a81b7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x43602c=>!A(_0x43602c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5998f8}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1d914e=>{const _0x24f8e5=_0x5998f8['length'];for(const _0x39e32e of _0x5998f8){const _0x46164b=_0x39e32e===_0x5998f8[_0x24f8e5-0x1],{cdnUrl:_0x24f6cb,fileInfo:_0x38bc52}=_0x39e32e;if(!_0x24f6cb||!_0x38bc52)continue;const {width:_0x8269f7,height:_0x3822ac}=_0x38bc52['imageInfo'],_0x428a2f=S(_0x24f6cb,_0x8269f7,_0x3822ac),_0x3f31bd=C(_0x24f6cb,_0x428a2f['width']),_0x550e52={'id':_0x38bc52['uuid'],'type':'image','attributes':{'imageDimension':_0x428a2f,..._0x3f31bd}};this['_insertAsset'](_0x550e52,_0x46164b,_0x1d914e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xd7f296=>{'idle'===_0xd7f296['detail']['status']&&!_0xd7f296['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x232fb7,_0x1d02ae,_0x3e1619){const _0x4fc60c=this['_editor']['model']['document']['selection'],_0x581e7d=_0x4fc60c['getSelectedElement'](),_0x476342=!(!_0x581e7d||!_0x581e7d['is']('element','imageInline'));_0x3e1619['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x232fb7,_0x476342),_0x1d02ae||_0x3e1619['setSelection'](_0x4fc60c['getLastPosition']());}['_insertImage'](_0x28f885,_0x49d8cf){const _0x4c116c=this['_editor'],{imageDimension:_0x174e7d,imageFallbackUrl:_0x268c27,imageSources:_0x33aa43}=_0x28f885['attributes'];_0x4c116c['execute']('insertImage',{'imageType':_0x49d8cf?'imageInline':null,'source':{'uploadcareImageId':_0x28f885['id'],'src':_0x268c27,'sources':_0x33aa43,..._0x174e7d}});}}class w extends _0x28f721{['_editing'];['_controller']=null;static get['requires'](){return[_0x416390,o];}constructor(_0x151664){super(_0x151664),this['_editing']=_0x151664['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x17eba4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x17eba4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5421ba,..._0x1c486d}){return _0x490bf5(_0x5421ba,_0x1c486d);}static['getInfo'](_0x83cb17,_0x49a1e9){return _0x166a18(_0x83cb17,_0x49a1e9);}}class f extends _0xe8bdc5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x23eb5,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x474e44=this['editor'];if(!!!_0x474e44['config']['get']('uploadcare'))return;_0x474e44['plugins']['get'](_0x23eb5)['createUploadAdapter']=_0x5b50e0=>new k(_0x5b50e0,_0x474e44),_0x474e44['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x364fb5,{imageElement:_0x42b359,data:_0x50a16f})=>{_0x474e44['model']['change'](_0x82353d=>{_0x82353d['setAttribute']('uploadcareImageId',_0x50a16f['uploadcareImageId'],_0x42b359);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x37c9dc,_0x1b90a1){this['loader']=_0x37c9dc,this['editor']=_0x1b90a1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4093a0=await this['loader']['file'];return j['upload']({'file':_0x4093a0,'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':_0x47c38d=>{_0x47c38d&&_0x47c38d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47c38d['value']);}})['then'](async _0x56e1da=>{const {imageFallbackUrl:_0xa63383,imageSources:_0x5e998a}=C(_0x56e1da['cdnUrl'],_0x56e1da['imageInfo']['width']);return{'uploadcareImageId':_0x56e1da['uuid'],'default':_0xa63383,'sources':_0x5e998a};})['catch'](()=>{const _0x28c719=t('Cannot\x20upload\x20file:')+('\x20'+_0x4093a0['name']+'.');return Promise['reject'](_0x28c719);});}['abort'](){this['controller']['abort']();}}class o extends _0xe8bdc5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x416390];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5cc61b){super(_0x5cc61b),this['ucContextId']=_0x46a54d();}['init'](){const _0x436766=this['editor'];_0x436766['commands']['add']('uploadcare',new w(_0x436766));}['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 _0x426180=_0x14cc3d['document']['querySelector']('input[uploadcare-file-input]');_0x426180&&_0x426180['remove']();}),async function(_0x50c1c0){const _0x2ede10=_0x28302c([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]),_0x253378=0x535f8c3a,_0x1ea78e=0x53580c0a^_0x253378,_0x3b300d=window[_0x28302c([0x44,0x61,0x74,0x65])][_0x28302c([0x6e,0x6f,0x77])](),_0x342d3b=_0x50c1c0[_0x28302c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x737685=new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d6d4a=>{_0x342d3b[_0x28302c([0x6f,0x6e,0x63,0x65])](_0x28302c([0x72,0x65,0x61,0x64,0x79]),_0x3d6d4a);}),_0x4e49c0={[_0x28302c([0x6b,0x74,0x79])]:_0x28302c([0x45,0x43]),[_0x28302c([0x75,0x73,0x65])]:_0x28302c([0x73,0x69,0x67]),[_0x28302c([0x63,0x72,0x76])]:_0x28302c([0x50,0x2d,0x32,0x35,0x36]),[_0x28302c([0x78])]:_0x28302c([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]),[_0x28302c([0x79])]:_0x28302c([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]),[_0x28302c([0x61,0x6c,0x67])]:_0x28302c([0x45,0x53,0x32,0x35,0x36])},_0x4443e0=_0x342d3b[_0x28302c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28302c([0x67,0x65,0x74])](_0x28302c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2202aa(){let _0x4f6eec,_0x3788fd=null,_0x5925c7=null;try{if(_0x4443e0==_0x28302c([0x47,0x50,0x4c]))return _0x28302c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f6eec=_0x1a4cc9(),!_0x4f6eec)return _0x28302c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f6eec[_0x28302c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5925c7=_0x5f57df(_0x4f6eec[_0x28302c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f6eec[_0x28302c([0x6a,0x74,0x69])])),await _0x16998c()?_0x159a85()?_0x44cf02()?_0x28302c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd15c54()?(_0x4f6eec[_0x28302c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28302c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3788fd=_0x37566f(_0x28302c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53c03d()):_0x28302c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28302c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28302c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28302c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44cf02(){const _0x2a0a3c=[_0x28302c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28302c([0x74,0x72,0x69,0x61,0x6c])][_0x28302c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f6eec[_0x28302c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b300d/0x3e8:0xe10*_0x1ea78e;return _0x4f6eec[_0x28302c([0x65,0x78,0x70])]<_0x2a0a3c;}function _0x159a85(){const _0x3dae1d=_0x4f6eec[_0x28302c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3dae1d&&(!!_0x3dae1d[_0x28302c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28302c([0x2a]))||!!_0x3dae1d[_0x28302c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28302c([0x55,0x50,0x4c,0x43])));}function _0xd15c54(){const _0xae4496=_0x4f6eec[_0x28302c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xae4496||0x0==_0xae4496[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4162e3}=new URL(window[_0x28302c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xae4496[_0x28302c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4162e3))return!0x0;const _0x5ebd2b=_0x4162e3[_0x28302c([0x73,0x70,0x6c,0x69,0x74])](_0x28302c([0x2e]));return _0xae4496[_0x28302c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27bc20=>_0x27bc20[_0x28302c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28302c([0x2a])))[_0x28302c([0x6d,0x61,0x70])](_0x58b5ef=>_0x58b5ef[_0x28302c([0x73,0x70,0x6c,0x69,0x74])](_0x28302c([0x2e])))[_0x28302c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a9173=>_0x3a9173[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ebd2b[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28302c([0x6d,0x61,0x70])](_0x4ea0f2=>Array(_0x5ebd2b[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ea0f2[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28302c([0x66,0x69,0x6c,0x6c])](_0x4ea0f2[0x0]===_0x28302c([0x2a])?_0x28302c([0x2a]):'')[_0x28302c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ea0f2))[_0x28302c([0x73,0x6f,0x6d,0x65])](_0x38103e=>_0x5ebd2b[_0x28302c([0x65,0x76,0x65,0x72,0x79])]((_0x47a628,_0x1d6ff6)=>_0x38103e[_0x1d6ff6]===_0x47a628||_0x38103e[_0x1d6ff6]===_0x28302c([0x2a])));}function _0x53c03d(){return _0x3788fd&&_0x5925c7?new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b76d7,_0x319102)=>{_0x3788fd[_0x28302c([0x74,0x68,0x65,0x6e])](_0x3b76d7,_0x319102),_0x5925c7[_0x28302c([0x74,0x68,0x65,0x6e])](_0x11340d=>{_0x11340d!=_0x28302c([0x56,0x61,0x6c,0x69,0x64])&&_0x3b76d7(_0x11340d);},_0x319102);}):_0x3788fd||_0x5925c7||_0x28302c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f57df(_0x14fa73,_0x153493){return new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b61a=>{if(_0x1fb7e1())return _0x43b61a(_0x28302c([0x56,0x61,0x6c,0x69,0x64]));_0x5386b9(),_0x342d3b[_0x28302c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28302c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x363f2d=!0x1;const _0x54190c=_0x46a54d();function _0x381618(_0x58f913){return!!_0x58f913&&(typeof _0x58f913===_0x28302c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58f913===_0x28302c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58f913[_0x28302c([0x74,0x68,0x65,0x6e])]===_0x28302c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58f913[_0x28302c([0x63,0x61,0x74,0x63,0x68])]===_0x28302c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ea828(_0xfb04e7){_0x54c44b(_0xfb04e7)[_0x28302c([0x74,0x68,0x65,0x6e])](_0x2578ed=>{if(!_0x2578ed||_0x2578ed[_0x28302c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28302c([0x6f,0x6b]))return _0x28302c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc9c75(_0x20a613(_0x54190c+_0x153493))!=_0x2578ed[_0x28302c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28302c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28302c([0x56,0x61,0x6c,0x69,0x64]);})[_0x28302c([0x74,0x68,0x65,0x6e])](_0x40c5f4=>(_0x3077d0(),_0x40c5f4),()=>{const _0x3be363=_0x2075a7();return null==_0x3be363?(_0x3077d0(),_0x28302c([0x56,0x61,0x6c,0x69,0x64])):_0x28302c(_0x3b300d-_0x3be363>(0x7753083a^_0x253378)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28302c([0x74,0x68,0x65,0x6e])](_0x43b61a)[_0x28302c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43b61a(_0x28302c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x311b13=0x536962ba^_0x253378;function _0x3077d0(){const _0x45d485=_0x28302c([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9c75(_0x20a613(_0x14fa73)),_0x216303=_0x157f6c(_0xc9c75(window[_0x28302c([0x4d,0x61,0x74,0x68])][_0x28302c([0x63,0x65,0x69,0x6c])](_0x3b300d/_0x311b13)));window[_0x28302c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28302c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45d485,_0x216303);}function _0x2075a7(){const _0x4a2f8a=_0x28302c([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9c75(_0x20a613(_0x14fa73)),_0x1cd019=window[_0x28302c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28302c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a2f8a);return _0x1cd019?window[_0x28302c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x157f6c(_0x1cd019),0x10)*_0x311b13:null;}function _0x54c44b(_0x4441ea){return new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32f4e7,_0x412734)=>{_0x4441ea[_0x28302c([0x74,0x68,0x65,0x6e])](_0x32f4e7,_0x412734),window[_0x28302c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x412734,0x535e58fa^_0x253378);});}}_0x342d3b[_0x28302c([0x6f,0x6e])](_0x28302c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdfc10b,_0x53ec09)=>{if(_0x53ec09[0x0]!=_0x14fa73)return _0x43b61a(_0x28302c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x53ec09[0x1]={..._0x53ec09[0x1],[_0x28302c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54190c};},{[_0x28302c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28302c([0x68,0x69,0x67,0x68])}),_0x342d3b[_0x28302c([0x6f,0x6e])](_0x28302c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57c0b5=>{_0x381618(_0x57c0b5[_0x28302c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x363f2d=!0x0,_0x3ea828(_0x57c0b5[_0x28302c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28302c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28302c([0x6c,0x6f,0x77])}),_0x737685[_0x28302c([0x74,0x68,0x65,0x6e])](()=>{_0x363f2d||_0x43b61a(_0x28302c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fb7e1(){return _0x342d3b[_0x28302c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28302c([0x76,0x69,0x65,0x77])][_0x28302c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28302c([0x61,0x75,0x74,0x6f]);}function _0x5386b9(){_0x342d3b[_0x28302c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28302c([0x76,0x69,0x65,0x77])][_0x28302c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28302c([0x61,0x75,0x74,0x6f]);}}function _0x37566f(_0x78c413){const _0x162597=[new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169a78=>setTimeout(_0x169a78,0x5356b2f6^_0x253378)),_0x737685[_0x28302c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x79c945=>{let _0x35f94a=0x0;_0x342d3b[_0x28302c([0x6d,0x6f,0x64,0x65,0x6c])][_0x28302c([0x6f,0x6e])](_0x28302c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa8a048,_0x40afbf)=>{_0x40afbf[0x0][_0x28302c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x35f94a++,_0x35f94a==(0x535f89d2^_0x253378)&&(_0x79c945(),_0xa8a048[_0x28302c([0x6f,0x66,0x66])]());});}))];return window[_0x28302c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28302c([0x72,0x61,0x63,0x65])](_0x162597)[_0x28302c([0x74,0x68,0x65,0x6e])](()=>_0x78c413);}async function _0x8fcc5f(){await _0x737685,_0x342d3b[_0x28302c([0x6d,0x6f,0x64,0x65,0x6c])][_0x28302c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a2680,_0x342d3b[_0x28302c([0x6d,0x6f,0x64,0x65,0x6c])][_0x28302c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a2680,_0x342d3b[_0x28302c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28302c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59d9a8(_0xb4cf90){const _0x5e7c96=_0x1c8391();_0x342d3b[_0x5e7c96]=_0x28302c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb4cf90,_0xb4cf90!=_0x28302c([0x56,0x61,0x6c,0x69,0x64])&&_0x8fcc5f();}function _0x1c8391(){const _0x149774=window[_0x28302c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28302c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28302c([0x6e,0x6f,0x77])]())[_0x28302c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28302c([0x2e]),'');let _0x2e1f38=_0x28302c([0x68]);for(let _0x1276e4=0x0;_0x1276e4<_0x149774[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1276e4+=0x2){let _0x18cb72=window[_0x28302c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x149774[_0x28302c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1276e4,_0x1276e4+0x2));_0x18cb72>=_0x2ede10[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x18cb72-=_0x2ede10[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e1f38+=_0x2ede10[_0x18cb72];}return _0x2e1f38;}function _0x1a4cc9(){const _0x99c90f=_0x4443e0[_0x28302c([0x73,0x70,0x6c,0x69,0x74])](_0x28302c([0x2e]));if(0x3!=_0x99c90f[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x50f5d8(_0x99c90f[0x1]);function _0x50f5d8(_0x349fdd){const _0x4000c2=_0x378841(_0x349fdd);return _0x4000c2&&_0x44bfd5()?_0x4000c2:null;function _0x44bfd5(){const _0x2316e6=_0x4000c2[_0x28302c([0x6a,0x74,0x69])],_0x521d87=window[_0x28302c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2316e6[_0x28302c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2316e6[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5735de={..._0x4000c2,[_0x28302c([0x6a,0x74,0x69])]:_0x2316e6[_0x28302c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2316e6[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5735de[_0x28302c([0x76,0x63])],_0x20a613(_0x5735de)==_0x521d87;}}}async function _0x16998c(){let _0x161edf=!0x0;try{const _0x4dad21=_0x4443e0[_0x28302c([0x73,0x70,0x6c,0x69,0x74])](_0x28302c([0x2e])),[_0x27e09e,_0x56f453,_0x39152a]=_0x4dad21;return _0x43be94(_0x27e09e),await _0x1de08f(_0x27e09e,_0x56f453,_0x39152a),_0x161edf;}catch{return!0x1;}function _0x43be94(_0x16de62){const _0x11375a=_0x378841(_0x16de62);_0x11375a&&_0x11375a[_0x28302c([0x61,0x6c,0x67])]==_0x28302c([0x45,0x53,0x32,0x35,0x36])||(_0x161edf=!0x1);}async function _0x1de08f(_0x288e58,_0x505c60,_0x586dee){const _0xd2ff21=window[_0x28302c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28302c([0x66,0x72,0x6f,0x6d])](_0x5411e7(_0x586dee),_0x528cd7=>_0x528cd7[_0x28302c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x502ecd=new window[(_0x28302c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28302c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x288e58+_0x28302c([0x2e])+_0x505c60),_0x403ec4=window[_0x28302c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28302c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x403ec4)return;const _0x6e9082=await _0x403ec4[_0x28302c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28302c([0x6a,0x77,0x6b]),_0x4e49c0,{[_0x28302c([0x6e,0x61,0x6d,0x65])]:_0x28302c([0x45,0x43,0x44,0x53,0x41]),[_0x28302c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28302c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28302c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x403ec4[_0x28302c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28302c([0x6e,0x61,0x6d,0x65])]:_0x28302c([0x45,0x43,0x44,0x53,0x41]),[_0x28302c([0x68,0x61,0x73,0x68])]:{[_0x28302c([0x6e,0x61,0x6d,0x65])]:_0x28302c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6e9082,_0xd2ff21,_0x502ecd)||(_0x161edf=!0x1);}}function _0x378841(_0x26d0a4){return _0x26d0a4[_0x28302c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28302c([0x65,0x79]))?JSON[_0x28302c([0x70,0x61,0x72,0x73,0x65])](_0x5411e7(_0x26d0a4)):null;}function _0x5411e7(_0x1cb8d5){return window[_0x28302c([0x61,0x74,0x6f,0x62])](_0x1cb8d5[_0x28302c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28302c([0x2b]))[_0x28302c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28302c([0x2f])));}function _0x20a613(_0x23540a){let _0x34034f=0x1505;function _0x17fbca(_0xd29831){for(let _0x2e199a=0x0;_0x2e199a<_0xd29831[_0x28302c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e199a++){const _0xdce22d=_0xd29831[_0x28302c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e199a);_0x34034f=(_0x34034f<<0x5)+_0x34034f+_0xdce22d,_0x34034f&=_0x34034f;}}function _0x1c0df7(_0xfc967c){Array[_0x28302c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfc967c)?_0xfc967c[_0x28302c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c0df7):_0xfc967c&&typeof _0xfc967c==_0x28302c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28302c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfc967c)[_0x28302c([0x73,0x6f,0x72,0x74])]()[_0x28302c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fc55a,_0x216612])=>{_0x17fbca(_0x4fc55a),_0x1c0df7(_0x216612);}):_0x17fbca(window[_0x28302c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfc967c));}return _0x1c0df7(_0x23540a),_0x34034f>>>0x0;}function _0xc9c75(_0x27c5ed){return _0x27c5ed[_0x28302c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28302c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28302c([0x30]));}function _0x157f6c(_0x59eb4c){return _0x59eb4c[_0x28302c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28302c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28302c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a2680(){}function _0x28302c(_0x194050){return _0x194050['map'](_0x10b68d=>String['fromCharCode'](_0x10b68d))['join']('');}_0x59d9a8(await _0x2202aa());}(this);}['_initSchema'](){const _0xf715e2=this['editor']['model']['schema'];_0xf715e2['isRegistered']('imageBlock')&&_0xf715e2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xf715e2['isRegistered']('imageInline')&&_0xf715e2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x154c06=this['editor'];_0x154c06['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x154c06['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4b8353=>_0x4b8353['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x168c47=_0x154c06['commands']['get']('replaceImageSource');_0x168c47&&this['listenTo'](_0x168c47,'cleanupImage',(_0x4ae686,[_0x1a8a3c,_0x6090db])=>{_0x1a8a3c['removeAttribute']('uploadcareImageId',_0x6090db);});}['_initConfig'](){const _0x3c2dcb=this['editor']['config']['get']('uploadcare.uploader')||{},_0xd6c209=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2813bd(_0x14cc3d['document'],'uc-config',{..._0x3c2dcb,'pubkey':_0xd6c209,'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']=_0x1bd071=>{if('closeMax'==_0x1bd071)return'#uc-icon-arrow-down';},_0x14cc3d['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2813bd(_0x14cc3d['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x14cc3d['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x1ae901=this['editor']['commands']['get']('insertImage');_0x1ae901&&this['listenTo'](_0x1ae901,'execute',()=>{const _0x1f923b=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1f923b&&_0x1f923b['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1f923b);});});const _0x27b714=this['editor']['commands']['get']('uploadcareImageReplace');_0x27b714&&this['listenTo'](_0x27b714,'execute',()=>{const _0x38ac0d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38ac0d&&_0x38ac0d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x38ac0d);});});}}class tt extends _0xe8bdc5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18f319){super(_0x18f319),_0x18f319['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x2a0a48['defineComponents'](_0x2a0a48),this['_defineLocale']();}['_defineLocale'](){const _0xdd2f2=this['editor']['config']['get']('uploadcare.locale'),_0x245440=this['editor']['locale']['contentLanguage'];_0xdd2f2&&_0x2a0a48['defineLocale'](_0x245440,_0xdd2f2);}}class ii extends _0x1cff23{constructor(_0x19abff){super(_0x19abff);const t=_0x19abff['t'],_0x18ccbe=this['bindTemplate'],_0x2de8e3=new _0x5ce92a();_0x2de8e3['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':[_0x2de8e3,{'text':_0x18ccbe['to']('imageUploadProgress',_0x4b42cd=>t('Loading\x20image...')+'\x20('+(_0x4b42cd||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 ti extends _0x1cff23{constructor(_0x3ea3de){super(_0x3ea3de);const t=_0x3ea3de['t'];this['set']('errorType',null);const _0x27d390=new _0x15459a(_0x3ea3de);_0x27d390['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x27d390['withText']=!0x0,_0x27d390['class']='ck-button-action',_0x27d390['on']('execute',()=>{this['fire']('retry');}),_0x27d390['bind']('isVisible')['to'](this,'errorType',_0x3cdcac=>'NotFound'!==_0x3cdcac);const _0x1d1f6a=new _0x3c4890();_0x1d1f6a['content']=_0x4cebd7,_0x1d1f6a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5bccf5=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':[_0x1d1f6a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5bccf5['to']('errorType',_0x3de476=>t('NotFound'!==_0x3de476?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x27d390]},{'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 ei extends _0x1cff23{constructor(_0x377f08,_0x1d2fb2){super(_0x377f08);const _0x56edb3=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x1d2fb2,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x56edb3['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3a1e2e,_0x3a7752,_0x47192f){super(_0x3a1e2e),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x3a1e2e),this['_errorView']=new ti(_0x3a1e2e),this['_editingView']=new ei(_0x3a1e2e,_0x47192f),this['_focusableView']=new _0x1cff23(_0x3a1e2e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3a7752),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'],_0x47a66f=>{this['_addUploadcareImageEditorListeners'](_0x47a66f);});}),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'](_0x906f3,_0x4467f0){const _0x33ab14='uc-cloud-image-editor',_0x1ede03=_0x906f3['querySelector'](_0x33ab14);if(_0x1ede03)return _0x4467f0(_0x1ede03);const _0x24c7ba=new MutationObserver(_0x135c28=>{const _0xcc418b=_0x135c28['filter'](_0x3b627d=>_0x3b627d['target']===_0x906f3&&_0x3b627d['addedNodes']['length']>0x0&&_0x3b627d['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x33ab14);_0xcc418b['length']&&(_0x24c7ba['disconnect'](),_0x4467f0(_0xcc418b[0x0]['addedNodes'][0x0]));});_0x24c7ba['observe'](_0x906f3,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4cb5f6){_0x4cb5f6['addEventListener']('apply',_0x1ad7fb=>{this['fire']('apply',{'imageSrc':_0x1ad7fb['detail']['cdnUrl']});}),_0x4cb5f6['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x50591d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507831,_0x146714,_0x4400b9){super(),this['_editor']=_0x507831,this['_dialog']=_0x146714,this['_imageElement']=_0x4400b9,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 _0x243912=this['_imageElement'],_0x5d8457=_0x243912['getAttribute']('uploadcareImageId'),_0x5e9413=_0x243912['getAttribute']('src');if(_0x5d8457)await this['_loadImageInfo'](_0x5d8457,_0x5e9413);else{if(this['_imageCache']['has'](_0x5e9413)){const _0x370586=this['_imageCache']['get'](_0x5e9413);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x370586['url'],this['imageDimension']=_0x370586['dimension'],this['imageId']=_0x370586['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3945e4}=this['_editor'],t=_0x3945e4['t'],_0x3af325=new X(_0x3945e4,this['imageStatus'],this['_attributes']);_0x3af325['bind']('status')['to'](this,'imageStatus'),_0x3af325['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3af325['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3af325['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3af325,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1622ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3af325,'position':_0x4a81b7['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3af325['focus']();},'onHide':()=>{_0x3af325['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d18ca=>!A(_0x4d18ca,_0x3af325['element'])}});}['_loadImageInfo'](_0x5e4213,_0x53005d){return j['getInfo'](_0x5e4213,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x245fc4=>{const {width:_0x8d02f2,height:_0x4d184d}=_0x245fc4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53005d,this['imageDimension']={'width':_0x8d02f2,'height':_0x4d184d},this['imageId']=_0x5e4213;})['catch'](_0x57f274=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57f274['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x306337,_0x4ef5c8){return this['_getImageAsFile'](_0x306337)['then'](_0x26abee=>j['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':_0x4ef5c8['signal'],'file':_0x26abee,'onProgress':_0x1086ba=>{_0x1086ba&&_0x1086ba['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1086ba['value']));}}))['then'](_0x7e7f25=>{const {width:_0x29d538,height:_0x380913}=_0x7e7f25['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7e7f25['cdnUrl'],this['imageDimension']={'width':_0x29d538,'height':_0x380913},this['imageId']=_0x7e7f25['uuid'],this['imageUploadProgress']=null;const _0x5dab2e=_0x306337['getAttribute']('src');this['_imageCache']['set'](_0x5dab2e,{'id':_0x7e7f25['uuid'],'url':_0x7e7f25['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ea997=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ea997['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3c5ef4,_0x2b5db3){_0x3c5ef4['on']('apply',(_0x8cc076,_0x237527)=>{this['_replaceImage'](_0x2b5db3,_0x237527['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3c5ef4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3c5ef4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x348dfc,_0x21ba74,_0x15f87f){const _0x473d36=this['_editor'],{width:_0x587a64,height:_0x49a6fc}=S(_0x21ba74,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xdc0598,imageSources:_0x2f98ed}=C(_0x21ba74,_0x587a64);_0x473d36['model']['change'](_0x2f61a0=>{if('$graveyard'===_0x348dfc['root']['rootName']){_0x473d36['execute']('insertImage',{'imageType':_0x348dfc['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x348dfc['getAttributes']()),'uploadcareImageId':_0x15f87f,'src':_0xdc0598,'sources':_0x2f98ed,'width':_0x587a64,'height':_0x49a6fc}});const _0x11ef5a=_0x348dfc['getChildren']();_0x348dfc=_0x473d36['model']['document']['selection']['getSelectedElement']();for(const _0x59913e of _0x11ef5a)_0x2f61a0['append'](_0x2f61a0['cloneElement'](_0x59913e),_0x348dfc);}else _0x2f61a0['setSelection'](_0x348dfc,'on'),_0x473d36['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x348dfc['getAttributes']()),'uploadcareImageId':_0x15f87f,'src':_0xdc0598,'sources':_0x2f98ed,'width':_0x587a64,'height':_0x49a6fc},_0x348dfc);_0x2f61a0['setSelection'](_0x348dfc,'on');});}async['_getImageAsFile'](_0x1a4f1b){const _0x4f6937=_0x14cc3d['window'],_0x5589db=_0x14cc3d['document']['location']['href'],_0x598f4b=new _0x4f6937['URL'](_0x1a4f1b['getAttribute']('src'),_0x5589db);if('data:'===_0x598f4b['protocol']){const _0x29d74e=_0x598f4b['href']['split'](','),_0x1c1926=_0x29d74e[0x0]['match'](/:(.*?);/)[0x1],_0x4a3d63=_0x1c1926['split']('/')[0x1],_0x9622ad=_0x4f6937['atob'](_0x29d74e[_0x29d74e['length']-0x1]);let _0x5b1d1c=_0x9622ad['length'];const _0x4d185a=new _0x4f6937['Uint8Array'](_0x5b1d1c);for(;_0x5b1d1c--;)_0x4d185a[_0x5b1d1c]=_0x9622ad['charCodeAt'](_0x5b1d1c);return new _0x4f6937['File']([_0x4d185a],'image.'+_0x4a3d63,{'type':_0x1c1926});}const _0x36bff0=_0x598f4b['href']['split']('/'),_0x587cd3=_0x36bff0[_0x36bff0['length']-0x1],_0x17e8d6=_0x587cd3['split']('.')[0x1];return _0x4f6937['fetch'](_0x598f4b['href'])['then'](_0x3b83a6=>_0x3b83a6['clone']()['blob']())['then'](_0x35052b=>new _0x4f6937['File']([_0x35052b],_0x587cd3,{'type':'image/'+_0x17e8d6}));}}class O extends _0x28f721{['imageEditController'];static get['requires'](){return[_0x416390];}['_isEditable'];constructor(_0x442d93){super(_0x442d93),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x29cc41){const _0x2256ab=G(_0x29cc41);return _0x5c4e03=>!(!_0x5c4e03||!_0x5c4e03['is']('element','imageBlock')&&!_0x5c4e03['is']('element','imageInline'))&&(!!_0x5c4e03['hasAttribute']('uploadcareImageId')||!!_0x5c4e03['hasAttribute']('src')&&_0x2256ab(_0x5c4e03['getAttribute']('src')));}(_0x442d93['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x24d84c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x24d84c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5cec40=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5cec40&&(_0x5cec40['is']('element','imageBlock')||_0x5cec40['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x416390),_0x5cec40),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x28f721{['refresh'](){const _0x4d918b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4d918b&&(_0x4d918b['is']('element','imageBlock')||_0x4d918b['is']('element','imageInline')));}['execute'](_0x542bcf){const _0x1b74ee=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x439a6e=>{_0x439a6e['setAttributes'](_0x542bcf,_0x1b74ee),_0x439a6e['removeAttribute']('srcset',_0x1b74ee),_0x439a6e['removeAttribute']('sizes',_0x1b74ee);});}}class m extends _0xe8bdc5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x2fdeba,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a55c1}=this;_0x5a55c1['commands']['add']('uploadcareImageEdit',new O(_0x5a55c1)),_0x5a55c1['commands']['add']('uploadcareImageReplace',new R(_0x5a55c1));}}class g extends _0xe8bdc5{['_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 _0x3eba5c=this['editor'];_0x3eba5c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4379e2=>{const _0x2e8b95=_0x3eba5c['commands']['get']('uploadcareImageEdit'),_0x9c993a=new _0x15459a(_0x4379e2),t=_0x4379e2['t'];return _0x9c993a['set']({'icon':_0x1622ff,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x9c993a['bind']('isEnabled')['to'](_0x2e8b95),_0x9c993a['bind']('isOn')['to'](_0x2e8b95,'isActive'),this['listenTo'](_0x9c993a,'execute',()=>{_0x3eba5c['execute']('uploadcareImageEdit'),_0x3eba5c['editing']['view']['focus']();}),_0x9c993a;}),this['_initConfig']();}['_initConfig'](){const _0x4a2d8f=_0x2813bd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4a2d8f),this['listenTo'](this['editor'],'destroy',()=>{_0x4a2d8f['remove']();});}}class et extends _0xe8bdc5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2be6db=>0x1!=_0x2be6db}};
23
+ export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x572718=>0x1!=_0x572718}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x17df6a=>{const {af:{dictionary:_0x909918,getPluralForm:_0x5a9522}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0xc2a3a0=>0x1!=_0xc2a3a0}};_0x17df6a['af']||={'dictionary':{},'getPluralForm':null},_0x17df6a['af']['dictionary']=Object['assign'](_0x17df6a['af']['dictionary'],_0x909918),_0x17df6a['af']['getPluralForm']=_0x5a9522;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3bedc4=>{const {af:{dictionary:_0x42aaf1,getPluralForm:_0x207580}}={'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x318fee=>0x1!=_0x318fee}};_0x3bedc4['af']||={'dictionary':{},'getPluralForm':null},_0x3bedc4['af']['dictionary']=Object['assign'](_0x3bedc4['af']['dictionary'],_0x42aaf1),_0x3bedc4['af']['getPluralForm']=_0x207580;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x199965=>0x0==_0x199965?0x0:0x1==_0x199965?0x1:0x2==_0x199965?0x2:_0x199965%0x64>=0x3&&_0x199965%0x64<=0xa?0x3:_0x199965%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x488670=>0x0==_0x488670?0x0:0x1==_0x488670?0x1:0x2==_0x488670?0x2:_0x488670%0x64>=0x3&&_0x488670%0x64<=0xa?0x3:_0x488670%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x804121=>{const {ar:{dictionary:_0x13e25d,getPluralForm:_0x3c76f8}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0xb8621a=>0x0==_0xb8621a?0x0:0x1==_0xb8621a?0x1:0x2==_0xb8621a?0x2:_0xb8621a%0x64>=0x3&&_0xb8621a%0x64<=0xa?0x3:_0xb8621a%0x64>=0xb?0x4:0x5}};_0x804121['ar']||={'dictionary':{},'getPluralForm':null},_0x804121['ar']['dictionary']=Object['assign'](_0x804121['ar']['dictionary'],_0x13e25d),_0x804121['ar']['getPluralForm']=_0x3c76f8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37dbf4=>{const {ar:{dictionary:_0xc0cbbd,getPluralForm:_0x172ca2}}={'ar':{'dictionary':{'Insert\x20with\x20Dropbox':'إدراج\x20باستخدام\x20Dropbox','Replace\x20with\x20Dropbox':'استبدال\x20باستخدام\x20Dropbox','With\x20Dropbox':'باستخدام\x20Dropbox','Insert\x20with\x20Facebook':'إدراج\x20باستخدام\x20Facebook','Replace\x20with\x20Facebook':'استبدال\x20باستخدام\x20Facebook','With\x20Facebook':'باستخدام\x20Facebook','Insert\x20with\x20Google\x20Drive':'إدراج\x20باستخدام\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'استبدال\x20باستخدام\x20Google\x20Drive','With\x20Google\x20Drive':'باستخدام\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'إدراج\x20باستخدام\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'استبدال\x20باستخدام\x20Google\x20Photos','With\x20Google\x20Photos':'باستخدام\x20Google\x20Photos','Insert\x20with\x20OneDrive':'إدراج\x20باستخدام\x20OneDrive','Replace\x20with\x20OneDrive':'استبدال\x20باستخدام\x20OneDrive','With\x20OneDrive':'باستخدام\x20OneDrive','Replace\x20via\x20URL':'استبدال\x20باستخدام\x20رابط','Edit\x20Image\x20(Uploadcare)':'تحرير\x20الصورة','Loading\x20image...':'جارٍ\x20تحميل\x20الصورة...','Unable\x20to\x20load':'تعذر\x20التحميل','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'تعذّر\x20علينا\x20تحميل\x20الصورة\x20بسبب\x20مشكلات\x20في\x20اتصال\x20الشبكة.','Try\x20again\x20(Uploadcare)':'حاول\x20مجددًا','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'لم\x20نعثر\x20على\x20الصورة.\x20ربما\x20حُذف\x20مصدرها.'},'getPluralForm':_0x42ae1a=>0x0==_0x42ae1a?0x0:0x1==_0x42ae1a?0x1:0x2==_0x42ae1a?0x2:_0x42ae1a%0x64>=0x3&&_0x42ae1a%0x64<=0xa?0x3:_0x42ae1a%0x64>=0xb?0x4:0x5}};_0x37dbf4['ar']||={'dictionary':{},'getPluralForm':null},_0x37dbf4['ar']['dictionary']=Object['assign'](_0x37dbf4['ar']['dictionary'],_0xc0cbbd),_0x37dbf4['ar']['getPluralForm']=_0x172ca2;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x232716=>0x1!=_0x232716}};
23
+ export default{'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x581e35=>0x1!=_0x581e35}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3739f7=>{const {ast:{dictionary:_0x384432,getPluralForm:_0xbc46a4}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1208bd=>0x1!=_0x1208bd}};_0x3739f7['ast']||={'dictionary':{},'getPluralForm':null},_0x3739f7['ast']['dictionary']=Object['assign'](_0x3739f7['ast']['dictionary'],_0x384432),_0x3739f7['ast']['getPluralForm']=_0xbc46a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b09d5=>{const {ast:{dictionary:_0x1d0d19,getPluralForm:_0x511d68}}={'ast':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x299c2c=>0x1!=_0x299c2c}};_0x4b09d5['ast']||={'dictionary':{},'getPluralForm':null},_0x4b09d5['ast']['dictionary']=Object['assign'](_0x4b09d5['ast']['dictionary'],_0x1d0d19),_0x4b09d5['ast']['getPluralForm']=_0x511d68;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x29cf7f=>0x1!=_0x29cf7f}};
23
+ export default{'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5c8f2d=>0x1!=_0x5c8f2d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa9a7a9=>{const {az:{dictionary:_0x3c6afd,getPluralForm:_0x228810}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2a92ec=>0x1!=_0x2a92ec}};_0xa9a7a9['az']||={'dictionary':{},'getPluralForm':null},_0xa9a7a9['az']['dictionary']=Object['assign'](_0xa9a7a9['az']['dictionary'],_0x3c6afd),_0xa9a7a9['az']['getPluralForm']=_0x228810;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x447bc3=>{const {az:{dictionary:_0x427333,getPluralForm:_0x5835b9}}={'az':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x52637d=>0x1!=_0x52637d}};_0x447bc3['az']||={'dictionary':{},'getPluralForm':null},_0x447bc3['az']['dictionary']=Object['assign'](_0x447bc3['az']['dictionary'],_0x427333),_0x447bc3['az']['getPluralForm']=_0x5835b9;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1c6764=>_0x1c6764%0xa==0x1&&_0x1c6764%0x64!=0xb?0x0:_0x1c6764%0xa>=0x2&&_0x1c6764%0xa<=0x4&&(_0x1c6764%0x64<0xa||_0x1c6764%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2e7d5b=>_0x2e7d5b%0xa==0x1&&_0x2e7d5b%0x64!=0xb?0x0:_0x2e7d5b%0xa>=0x2&&_0x2e7d5b%0xa<=0x4&&(_0x2e7d5b%0x64<0xa||_0x2e7d5b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c8456=>{const {be:{dictionary:_0x191a6e,getPluralForm:_0x440b1f}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x22211c=>_0x22211c%0xa==0x1&&_0x22211c%0x64!=0xb?0x0:_0x22211c%0xa>=0x2&&_0x22211c%0xa<=0x4&&(_0x22211c%0x64<0xa||_0x22211c%0x64>=0x14)?0x1:0x2}};_0x1c8456['be']||={'dictionary':{},'getPluralForm':null},_0x1c8456['be']['dictionary']=Object['assign'](_0x1c8456['be']['dictionary'],_0x191a6e),_0x1c8456['be']['getPluralForm']=_0x440b1f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5362c9=>{const {be:{dictionary:_0x5587a4,getPluralForm:_0x43bec4}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x2a035d=>_0x2a035d%0xa==0x1&&_0x2a035d%0x64!=0xb?0x0:_0x2a035d%0xa>=0x2&&_0x2a035d%0xa<=0x4&&(_0x2a035d%0x64<0xa||_0x2a035d%0x64>=0x14)?0x1:0x2}};_0x5362c9['be']||={'dictionary':{},'getPluralForm':null},_0x5362c9['be']['dictionary']=Object['assign'](_0x5362c9['be']['dictionary'],_0x5587a4),_0x5362c9['be']['getPluralForm']=_0x43bec4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x56f6c8=>0x1!=_0x56f6c8}};
23
+ export default{'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x39b849=>0x1!=_0x39b849}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c521f=>{const {bg:{dictionary:_0x58aa84,getPluralForm:_0x498c1d}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x3ba175=>0x1!=_0x3ba175}};_0x2c521f['bg']||={'dictionary':{},'getPluralForm':null},_0x2c521f['bg']['dictionary']=Object['assign'](_0x2c521f['bg']['dictionary'],_0x58aa84),_0x2c521f['bg']['getPluralForm']=_0x498c1d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b449a=>{const {bg:{dictionary:_0x9175c2,getPluralForm:_0x50badb}}={'bg':{'dictionary':{'Insert\x20with\x20Dropbox':'Вмъкни\x20с\x20Dropbox','Replace\x20with\x20Dropbox':'Замени\x20с\x20Dropbox','With\x20Dropbox':'С\x20Dropbox','Insert\x20with\x20Facebook':'Вмъкни\x20с\x20Facebook','Replace\x20with\x20Facebook':'Замени\x20с\x20Facebook','With\x20Facebook':'С\x20Facebook','Insert\x20with\x20Google\x20Drive':'Вмъкни\x20с\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Замени\x20с\x20Google\x20Drive','With\x20Google\x20Drive':'С\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Вмъкни\x20с\x20Google\x20Photos','Replace\x20with\x20Google\x20Photos':'Замени\x20с\x20Google\x20Photos','With\x20Google\x20Photos':'С\x20Google\x20Photos','Insert\x20with\x20OneDrive':'Вмъкни\x20с\x20OneDrive','Replace\x20with\x20OneDrive':'Замени\x20с\x20OneDrive','With\x20OneDrive':'С\x20OneDrive','Replace\x20via\x20URL':'Замени\x20през\x20URL','Edit\x20Image\x20(Uploadcare)':'Редактиране\x20на\x20изображението','Loading\x20image...':'Изображението\x20се\x20зарежда...','Unable\x20to\x20load':'Не\x20може\x20да\x20зареди','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'Не\x20успяхме\x20да\x20заредим\x20изображението\x20поради\x20проблем\x20с\x20интернет\x20връзката.','Try\x20again\x20(Uploadcare)':'Опитайте\x20отново','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'Изображението\x20не\x20беше\x20намерено.\x20Източникът\x20му\x20може\x20да\x20е\x20премахнат.'},'getPluralForm':_0x270560=>0x1!=_0x270560}};_0x1b449a['bg']||={'dictionary':{},'getPluralForm':null},_0x1b449a['bg']['dictionary']=Object['assign'](_0x1b449a['bg']['dictionary'],_0x9175c2),_0x1b449a['bg']['getPluralForm']=_0x50badb;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0xd25a54=>0x1!=_0xd25a54}};
23
+ export default{'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x1283b4=>0x1!=_0x1283b4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b2a69=>{const {bn:{dictionary:_0x2ac8cb,getPluralForm:_0x861c2d}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x5835c4=>0x1!=_0x5835c4}};_0x3b2a69['bn']||={'dictionary':{},'getPluralForm':null},_0x3b2a69['bn']['dictionary']=Object['assign'](_0x3b2a69['bn']['dictionary'],_0x2ac8cb),_0x3b2a69['bn']['getPluralForm']=_0x861c2d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4dc835=>{const {bn:{dictionary:_0x592036,getPluralForm:_0xaccca3}}={'bn':{'dictionary':{'Insert\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Dropbox':'Dropbox\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Dropbox':'Dropbox\x20দিয়ে','Insert\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Facebook':'Facebook\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Facebook':'Facebook\x20দিয়ে','Insert\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Drive':'Google\x20Drive\x20দিয়ে','Insert\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20Google\x20Photos':'Google\x20Photos\x20দিয়ে','Insert\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রবেশ\x20করান','Replace\x20with\x20OneDrive':'OneDrive\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','With\x20OneDrive':'OneDrive\x20দিয়ে','Replace\x20via\x20URL':'URL\x20দিয়ে\x20প্রতিস্থাপন\x20করুন','Edit\x20Image\x20(Uploadcare)':'ছবি\x20এডিট\x20করুন','Loading\x20image...':'ছবি\x20লোড\x20হচ্ছে...','Unable\x20to\x20load':'লোড\x20করা\x20যাচ্ছে\x20না','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'নেটওয়ার্ক\x20সংযোগের\x20সমস্যার\x20কারণে\x20আমরা\x20ছবিটি\x20লোড\x20করতে\x20পারিনি।','Try\x20again\x20(Uploadcare)':'আবার\x20চেষ্টা\x20করুন','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'ছবিটি\x20পাওয়া\x20যায়নি।\x20এর\x20উৎস\x20হয়তো\x20মুছে\x20ফেলা\x20হয়েছে।'},'getPluralForm':_0x2c0915=>0x1!=_0x2c0915}};_0x4dc835['bn']||={'dictionary':{},'getPluralForm':null},_0x4dc835['bn']['dictionary']=Object['assign'](_0x4dc835['bn']['dictionary'],_0x592036),_0x4dc835['bn']['getPluralForm']=_0xaccca3;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1d2485=>_0x1d2485%0xa==0x1&&_0x1d2485%0x64!=0xb?0x0:_0x1d2485%0xa>=0x2&&_0x1d2485%0xa<=0x4&&(_0x1d2485%0x64<0xa||_0x1d2485%0x64>=0x14)?0x1:0x2}};
23
+ export default{'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5d3904=>_0x5d3904%0xa==0x1&&_0x5d3904%0x64!=0xb?0x0:_0x5d3904%0xa>=0x2&&_0x5d3904%0xa<=0x4&&(_0x5d3904%0x64<0xa||_0x5d3904%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c8233=>{const {bs:{dictionary:_0x494eb2,getPluralForm:_0x38dbf6}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x31cb89=>_0x31cb89%0xa==0x1&&_0x31cb89%0x64!=0xb?0x0:_0x31cb89%0xa>=0x2&&_0x31cb89%0xa<=0x4&&(_0x31cb89%0x64<0xa||_0x31cb89%0x64>=0x14)?0x1:0x2}};_0x3c8233['bs']||={'dictionary':{},'getPluralForm':null},_0x3c8233['bs']['dictionary']=Object['assign'](_0x3c8233['bs']['dictionary'],_0x494eb2),_0x3c8233['bs']['getPluralForm']=_0x38dbf6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x53785b=>{const {bs:{dictionary:_0x3e3ded,getPluralForm:_0x4e2892}}={'bs':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x31b553=>_0x31b553%0xa==0x1&&_0x31b553%0x64!=0xb?0x0:_0x31b553%0xa>=0x2&&_0x31b553%0xa<=0x4&&(_0x31b553%0x64<0xa||_0x31b553%0x64>=0x14)?0x1:0x2}};_0x53785b['bs']||={'dictionary':{},'getPluralForm':null},_0x53785b['bs']['dictionary']=Object['assign'](_0x53785b['bs']['dictionary'],_0x3e3ded),_0x53785b['bs']['getPluralForm']=_0x4e2892;})(window['CKEDITOR_TRANSLATIONS']||={});