@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250428.0 → 0.0.0-nightly-20250501.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 _0x28820f,Command as _0x465f3e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xf67961,IconGooglePhotos as _0x4b6074,IconGoogleDrive as _0xb0fbab,IconFacebook as _0x469fb0,IconDropbox as _0x371009,IconUploadcareLink as _0x9a28fe,IconUploadcareImageUpload as _0x1d7e4f,IconError as et,IconUploadcareImageEdit as _0x190c13}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x2a2428,MenuBarMenuListItemButtonView as _0x1cc84e,View as _0x44eb68,FocusCycler as _0x39bfa3,Dialog as _0x42c054,DialogViewPosition as _0x35468e,SpinnerView as _0x5e7759,IconView as at,Notification as _0x3616ca}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x102d2e,DomEmitterMixin as _0x57cb66,global as _0x4e8585,getAncestors as _0x15431d,ObservableMixin as _0x10eb65,createElement as _0xe57b1b,uid as _0x317352}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2d0214}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x30d847,info as _0x1f28eb}from'@uploadcare/upload-client';import*as _0x4f2d2d from'@uploadcare/file-uploader';var o=function(_0x30284c){return _0x30284c['Local']='local',_0x30284c['URL']='url',_0x30284c['Dropbox']='dropbox',_0x30284c['GDrive']='gdrive',_0x30284c['Facebook']='facebook',_0x30284c['GPhotos']='gphotos',_0x30284c['OneDrive']='onedrive',_0x30284c;}({});function _(_0x260ff4,_0xb8f319,_0x3d1e74){const t=_0x260ff4['t'],_0x3fd9fc=_0x260ff4['t'];switch(_0xb8f319){case o['Local']:return{'text':_0x3fd9fc('Insert'===_0x3d1e74?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3fd9fc('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3d1e74?_0x3fd9fc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3fd9fc('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3d1e74?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xb8f319;}}class e extends _0x28820f{['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 _0x585af1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44000e;for(const _0x10429f in _0x585af1){const _0x329da7=_0x10429f,_0x271b07=_0x585af1[_0x329da7];if('uploadcareLicenseKeyValid'==_0x271b07||'uploadcareLicenseKeyInvalid'==_0x271b07||'uploadcareLicenseKeyExpired'==_0x271b07||'uploadcareLicenseKeyDomainLimit'==_0x271b07||'uploadcareLicenseKeyNotAllowed'==_0x271b07||'uploadcareLicenseKeyEvaluationLimit'==_0x271b07||'uploadcareLicenseKeyTrialLimit'==_0x271b07||'uploadcareLicenseKeyUsageLimit'==_0x271b07){delete _0x585af1[_0x329da7],_0x44000e=_0x271b07,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x44000e&&_0x585af1['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x44000e&&_0x585af1['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x44000e&&_0x585af1['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x44000e&&_0x585af1['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x44000e&&_0x585af1['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x44000e&&_0x585af1['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x44000e&&_0x585af1['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x54915c}=this,_0x2eabef=_0x54915c['commands']['get']('uploadcare');if(!_0x2eabef)return;const _0x22cdc0=this['_normalizeConfigSourceList'](_0x54915c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x43fde2,_0x4227bc)=>{const _0x4e4b0b=this['_getIntegrationKey'](_0x4227bc['type']);return _0x43fde2[_0x4e4b0b]||(_0x43fde2[_0x4e4b0b]=[]),_0x43fde2[_0x4e4b0b]['push'](_0x4227bc),_0x43fde2;},{});_0x54915c['plugins']['has']('ImageInsertUI')&&_0x54915c['commands']['get']('uploadcare')&&Object['entries'](_0x22cdc0)['forEach'](([_0x4f35d2,_0x9fce8f])=>{_0x54915c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4f35d2,'observable':()=>_0x2eabef,'buttonViewCreator':()=>this['_createToolbarButton'](_0x9fce8f),'formViewCreator':()=>this['_createDropdownButtons'](_0x9fce8f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x9fce8f),'override':'assetManager'!==_0x4f35d2});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x426d1c){const {locale:_0x519485}=this['editor'];return _0x426d1c['map'](_0x1eaf5f=>{const _0x2a03c9=_(_0x519485,_0x1eaf5f,'Insert');switch(_0x1eaf5f){case o['Local']:return{'icon':_0x1d7e4f,'type':o['Local'],..._0x2a03c9};case o['URL']:return{'icon':_0x9a28fe,'type':o['URL'],..._0x2a03c9};case o['Dropbox']:return{'icon':_0x371009,'type':o['Dropbox'],..._0x2a03c9};case o['Facebook']:return{'icon':_0x469fb0,'type':o['Facebook'],..._0x2a03c9};case o['GDrive']:return{'icon':_0xb0fbab,'type':o['GDrive'],..._0x2a03c9};case o['GPhotos']:return{'icon':_0x4b6074,'type':o['GPhotos'],..._0x2a03c9};case o['OneDrive']:return{'icon':_0xf67961,'type':o['OneDrive'],..._0x2a03c9};}});}['_getIntegrationKey'](_0x13eeb7){switch(_0x13eeb7){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc0bc96,_0x5702d3){const _0xf07087=this['editor'],_0x5867d4=new _0xc0bc96(_0xf07087['locale']),_0x563297=_0xf07087['commands']['get']('uploadcare');return _0x5867d4['bind']('isEnabled')['to'](_0x563297),_0x5867d4['on']('execute',()=>{_0x563297['execute'](_0x5702d3);}),_0x5867d4;}['_createToolbarButton'](_0x5c6b4d){const {locale:_0x4dc0ce}=this['editor'],_0x52b75c=this['editor']['plugins']['get']('ImageInsertUI'),_0x79ae93=_0x5c6b4d[0x0],_0x7f7918=this['_createButton'](_0x2a2428,_0x79ae93['type']);return _0x7f7918['icon']=_0x79ae93['icon'],_0x7f7918['bind']('label')['to'](_0x52b75c,'isImageSelected',_0x8ee42=>_(_0x4dc0ce,_0x79ae93['type'],_0x8ee42?'Replace':'Insert')['text']),_0x7f7918['tooltip']=!0x0,_0x7f7918;}['_createDropdownButtons'](_0x168d57){const {locale:_0x3244e6}=this['editor'],_0x15f9bd=this['editor']['plugins']['get']('ImageInsertUI');return _0x168d57['map'](_0x116f81=>{const _0x54c790=this['_createButton'](_0x2a2428,_0x116f81['type']);return _0x54c790['withText']=!0x0,_0x54c790['icon']=_0x116f81['icon'],_0x54c790['bind']('label')['to'](_0x15f9bd,'isImageSelected',_0x2e7cff=>_(_0x3244e6,_0x116f81['type'],_0x2e7cff?'Replace':'Insert')['text']),_0x54c790;});}['_createMenuBarButtons'](_0x142786){return _0x142786['map'](_0x47aa6e=>{const _0x39f801=this['_createButton'](_0x1cc84e,_0x47aa6e['type']);return _0x39f801['icon']=_0x47aa6e['icon'],_0x39f801['label']=_0x47aa6e['shortText'],_0x39f801;});}}class q extends _0x44eb68{['focusTracker'];['focusCycler'];constructor(_0x1a8586){super(_0x1a8586),this['focusTracker']=new _0x102d2e(),this['focusCycler']=new _0x39bfa3({'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 S extends q{constructor(_0x4d8e3e){super(_0x4d8e3e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x470f94,_0x368cb9){const _0x41ca8a=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2419bf=>_0x2419bf<=_0x368cb9)['map'](_0x55cab0=>_0x470f94['replace'](/\/$/,'')+'/-/resize/'+_0x55cab0+'x/\x20'+_0x55cab0+'w');return{'imageFallbackUrl':_0x470f94,'imageSources':[{'srcset':_0x41ca8a['join'](',\x20'),'sizes':'(max-width:\x20'+_0x368cb9+'px)\x20100vw,\x20'+_0x368cb9+'px','type':'image/webp'}]};}function A(_0x114868,_0x1cc8eb,_0x54f2ad){const _0x4737d9=_0x114868['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4737d9?parseInt(_0x4737d9[0x1],0xa):_0x1cc8eb,'height':_0x4737d9?parseInt(_0x4737d9[0x2],0xa):_0x54f2ad};}function m(_0x4b1e7f,_0x4484b5){const _0x46de83=Object['create'](_0x57cb66),_0x58c810=_0x4b1e7f['plugins']['get']('ImageUtils'),_0x23f650=_0x4b1e7f['editing']['mapper']['toViewElement'](_0x4484b5),_0x4577d8=_0x58c810['findViewImgElement'](_0x23f650),_0x387b6d=_0x4b1e7f['editing']['view']['domConverter']['viewToDom'](_0x4577d8),_0x1d33b7=_0x4484b5['getAttribute']('width'),_0x507709=_0x4484b5['getAttribute']('height'),_0x52a111='image-processing';_0x4b1e7f['editing']['view']['change'](_0x8eaac5=>{_0x8eaac5['addClass'](_0x52a111,_0x23f650),_0x8eaac5['setStyle']('aspect-ratio',_0x1d33b7+'/'+_0x507709,_0x4577d8);}),_0x46de83['listenTo'](_0x387b6d,'load',()=>{_0x46de83['stopListening'](_0x387b6d,'load'),_0x4b1e7f['editing']['view']['change'](_0x2e86a2=>{_0x2e86a2['removeClass'](_0x52a111,_0x23f650),_0x2e86a2['removeStyle']('aspect-ratio',_0x4577d8);});});}function R(_0x1b9374){if(Array['isArray'](_0x1b9374)){const _0x525ba4=_0x1b9374['map'](R);return _0x433f9e=>_0x525ba4['some'](_0xb40892=>_0xb40892(_0x433f9e));}if('origin'==_0x1b9374){const _0x21b4e1=_0x4e8585['window']['location']['origin'];return _0x3b97a0=>new URL(_0x3b97a0,_0x4e8585['document']['baseURI'])['origin']==_0x21b4e1;}return'function'==typeof _0x1b9374?_0x1b9374:_0x1b9374 instanceof RegExp?_0x367922=>!(!_0x367922['match'](_0x1b9374)&&!_0x367922['replace'](/^https?:\/\//,'')['match'](_0x1b9374)):()=>!0x1;}function F(_0x53a375,_0x282420){return _0x15431d(_0x53a375['target'])['includes'](_0x282420);}class l extends/* #__PURE__ -- @preserve */
24
- _0x10eb65(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x27276d,_0x21b41c,_0x6e5135){super(),this['_editor']=_0x27276d,this['_editing']=_0x21b41c,this['_dialog']=_0x27276d['plugins']['get'](_0x42c054),this['_api']=_0x21b41c['ctxElement']['getAPI'](),this['_type']=_0x6e5135,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:_0x9556da,model:_0x2806e}=this['_editor'],_0x3f2235=_0x2806e['document']['selection']['getSelectedElement'](),_0x1c7a88=_0x3f2235&&(_0x3f2235['is']('element','imageBlock')||_0x3f2235['is']('element','imageInline'));this['_formView']=new S(_0x9556da),this['_dialog']['show']({'id':'uploadCare','icon':_0x1d7e4f,'title':_(_0x9556da,this['_type'],_0x1c7a88?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x35468e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x245136=>!F(_0x245136,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x2d37fb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x34bc8c=>{const _0x2f321a=_0x2d37fb['length'];for(const _0x541387 of _0x2d37fb){const _0x72dff4=_0x541387===_0x2d37fb[_0x2f321a-0x1],{cdnUrl:_0x2df3f5,fileInfo:_0x46d0fa}=_0x541387;if(!_0x2df3f5||!_0x46d0fa)continue;const {width:_0x86f1c7,height:_0x4b4aba}=_0x46d0fa['imageInfo'],_0x165bc1=A(_0x2df3f5,_0x86f1c7,_0x4b4aba),_0x42033b=E(_0x2df3f5,_0x165bc1['width']),_0x565e2f={'id':_0x46d0fa['uuid'],'type':'image','attributes':{'imageDimension':_0x165bc1,..._0x42033b}};this['_insertAsset'](_0x565e2f,_0x72dff4,_0x34bc8c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x316faa=>{'idle'===_0x316faa['detail']['status']&&!_0x316faa['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1e390a,_0x419970,_0x4c1033){const _0x3e0eb2=this['_editor']['model']['document']['selection'],_0x3e9eaa=_0x3e0eb2['getSelectedElement'](),_0x50d772=!(!_0x3e9eaa||!_0x3e9eaa['is']('element','imageInline'));_0x4c1033['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1e390a,_0x50d772),_0x419970||_0x4c1033['setSelection'](_0x3e0eb2['getLastPosition']());}['_insertImage'](_0x19f7f3,_0x27255a){const _0x33f550=this['_editor'],{imageDimension:_0xdf5fd8,imageFallbackUrl:_0x3e1ec9,imageSources:_0x27c2ec}=_0x19f7f3['attributes'];_0x33f550['execute']('insertImage',{'imageType':_0x27255a?'imageInline':null,'source':{'uploadcareImageId':_0x19f7f3['id'],'src':_0x3e1ec9,'sources':_0x27c2ec,..._0xdf5fd8}});}}class n extends _0x465f3e{['_editing'];['_controller']=null;static get['requires'](){return[_0x42c054,i];}constructor(_0x16b3d7){super(_0x16b3d7),this['_editing']=_0x16b3d7['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x336507){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x336507);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x14bd33,publicKey:_0xf1f6a0,signal:_0xb3ff30,onProgress:_0x3e6ede}){return _0x30d847(_0x14bd33,{'publicKey':_0xf1f6a0,'store':'auto','signal':_0xb3ff30,'onProgress':_0x3e6ede});}static['getInfo'](_0x17ebc2,_0x4b6393){return _0x1f28eb(_0x17ebc2,_0x4b6393);}}class p extends _0x28820f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2d0214,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x30aaf4=this['editor'];if(!!!_0x30aaf4['config']['get']('uploadcare'))return;_0x30aaf4['plugins']['get'](_0x2d0214)['createUploadAdapter']=_0xcbc5f9=>new x(_0xcbc5f9,_0x30aaf4),_0x30aaf4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xdfddcf,{imageElement:_0x2bb329,data:_0x4b2c0d})=>{_0x30aaf4['model']['change'](_0x29c93c=>{_0x29c93c['setAttribute']('uploadcareImageId',_0x4b2c0d['uploadcareImageId'],_0x2bb329);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x15127b,_0x4b4f92){this['loader']=_0x15127b,this['editor']=_0x4b4f92,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1d5583=this['editor']['config']['get']('uploadcare.pubkey'),_0x429103=await this['loader']['file'];return C['upload']({'file':_0x429103,'publicKey':_0x1d5583,'signal':this['controller']['signal'],'onProgress':_0x1f4f00=>{_0x1f4f00&&_0x1f4f00['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f4f00['value']);}})['then'](async _0x569e62=>{const {imageFallbackUrl:_0x189d5d,imageSources:_0x55b79e}=E(_0x569e62['cdnUrl'],_0x569e62['imageInfo']['width']);return{'uploadcareImageId':_0x569e62['uuid'],'default':_0x189d5d,'sources':_0x55b79e};})['catch'](()=>{const _0x5f4d9c=t('Cannot\x20upload\x20file:')+('\x20'+_0x429103['name']+'.');return Promise['reject'](_0x5f4d9c);});}['abort'](){this['controller']['abort']();}}class i extends _0x28820f{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x42c054];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x1be256=this['editor'];_0x1be256['commands']['add']('uploadcare',new n(_0x1be256));}['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 _0x3190ce=_0x4e8585['document']['querySelector']('input[uploadcare-file-input]');_0x3190ce&&_0x3190ce['remove']();}),async function(_0x579a05){const _0x4fb93c=_0x2b2ca5([0x43,0x6b,0x32,0x6d,0x54,0x46,0x59,0x44,0x45,0x4d,0x4b,0x72,0x79,0x31,0x58,0x6c,0x69,0x70,0x39,0x35,0x6f,0x47,0x78,0x61,0x33,0x55,0x4e,0x4c,0x74,0x52,0x51,0x50,0x7a,0x6a,0x64,0x4a,0x42,0x73,0x53,0x38,0x30,0x66,0x36,0x67,0x41,0x34,0x56,0x75,0x5a,0x4f,0x77,0x37,0x68,0x62,0x76,0x65,0x49,0x6e,0x48,0x71,0x57,0x63]),_0x1abafb=0x7bb9a8a,_0x1e6827=0x7bcfcda^_0x1abafb,_0x2a1a1c=window[_0x2b2ca5([0x44,0x61,0x74,0x65])][_0x2b2ca5([0x6e,0x6f,0x77])](),_0x393544=_0x579a05[_0x2b2ca5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30a5f6=new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x403c79=>{_0x393544[_0x2b2ca5([0x6f,0x6e,0x63,0x65])](_0x2b2ca5([0x72,0x65,0x61,0x64,0x79]),_0x403c79);}),_0x339f17={[_0x2b2ca5([0x6b,0x74,0x79])]:_0x2b2ca5([0x45,0x43]),[_0x2b2ca5([0x75,0x73,0x65])]:_0x2b2ca5([0x73,0x69,0x67]),[_0x2b2ca5([0x63,0x72,0x76])]:_0x2b2ca5([0x50,0x2d,0x32,0x35,0x36]),[_0x2b2ca5([0x78])]:_0x2b2ca5([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]),[_0x2b2ca5([0x79])]:_0x2b2ca5([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]),[_0x2b2ca5([0x61,0x6c,0x67])]:_0x2b2ca5([0x45,0x53,0x32,0x35,0x36])},_0x4dd796=_0x393544[_0x2b2ca5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b2ca5([0x67,0x65,0x74])](_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ca6fe(){let _0x48d404,_0x50b396=null,_0x571f29=null;try{if(_0x4dd796==_0x2b2ca5([0x47,0x50,0x4c]))return _0x2b2ca5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48d404=_0x449662(),!_0x48d404)return _0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48d404[_0x2b2ca5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x571f29=_0x1198aa(_0x48d404[_0x2b2ca5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48d404[_0x2b2ca5([0x6a,0x74,0x69])])),await _0x2b0065()?_0x42c6bf()?_0x3314eb()?_0x2b2ca5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dc714()?(_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b2ca5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50b396=_0x51f9a9(_0x2b2ca5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b2ca5([0x74,0x72,0x69,0x61,0x6c])&&(_0x50b396=_0x51f9a9(_0x2b2ca5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x138c91()):_0x2b2ca5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b2ca5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1c1c96){return _0x2b2ca5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3314eb(){const _0x4dc64a=[_0x2b2ca5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b2ca5([0x74,0x72,0x69,0x61,0x6c])][_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1a1c/0x3e8:0xe10*_0x1e6827;return _0x48d404[_0x2b2ca5([0x65,0x78,0x70])]<_0x4dc64a;}function _0x42c6bf(){const _0x50026d=_0x48d404[_0x2b2ca5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50026d&&(!!_0x50026d[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x2a]))||!!_0x50026d[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x55,0x50,0x4c,0x43])));}function _0x5dc714(){const _0x5c404a=_0x48d404[_0x2b2ca5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c404a||0x0==_0x5c404a[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49e379}=new URL(window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c404a[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e379))return!0x0;const _0x29b30b=_0x49e379[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e]));return _0x5c404a[_0x2b2ca5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e6ddf=>_0x5e6ddf[_0x2b2ca5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b2ca5([0x2a])))[_0x2b2ca5([0x6d,0x61,0x70])](_0x488463=>_0x488463[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e])))[_0x2b2ca5([0x73,0x6f,0x6d,0x65])](_0x7407d7=>_0x29b30b[_0x2b2ca5([0x65,0x76,0x65,0x72,0x79])]((_0x1b6ee6,_0x4034b1)=>_0x7407d7[_0x4034b1]===_0x1b6ee6||_0x7407d7[_0x4034b1]===_0x2b2ca5([0x2a])));}function _0x138c91(){return _0x50b396&&_0x571f29?new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42d583,_0x3a6959)=>{_0x50b396[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x42d583,_0x3a6959),_0x571f29[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x3a2015=>{_0x3a2015!=_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])&&_0x42d583(_0x3a2015);},_0x3a6959);}):_0x50b396||_0x571f29||_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1198aa(_0x3c34a7,_0xa79023){return new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382373=>{if(_0x88eadd())return _0x382373(_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]));_0x1859fc(),_0x393544[_0x2b2ca5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a63f3=!0x1;const _0xf954eb=_0x317352();function _0x1f96f5(_0x20e7d9){return!!_0x20e7d9&&(typeof _0x20e7d9===_0x2b2ca5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20e7d9===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20e7d9[_0x2b2ca5([0x74,0x68,0x65,0x6e])]===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20e7d9[_0x2b2ca5([0x63,0x61,0x74,0x63,0x68])]===_0x2b2ca5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f0aca(_0x2e6d19){_0x43fa85(_0x2e6d19)[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x41903c=>{if(!_0x41903c||_0x41903c[_0x2b2ca5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b2ca5([0x6f,0x6b]))return _0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x212cf0(_0x1e18b8(_0xf954eb+_0xa79023))!=_0x41903c[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x48b154=>(_0x180634(),_0x48b154),()=>{const _0x5ace33=_0x41d908();return null==_0x5ace33?(_0x180634(),_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])):_0x2b2ca5(_0x2a1a1c-_0x5ace33>(0x23b71e8a^_0x1abafb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x382373)[_0x2b2ca5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1637a4=0x78d740a^_0x1abafb;function _0x180634(){const _0x3291fa=_0x2b2ca5([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cf0(_0x1e18b8(_0x3c34a7)),_0x4e5905=_0x44f7aa(_0x212cf0(window[_0x2b2ca5([0x4d,0x61,0x74,0x68])][_0x2b2ca5([0x63,0x65,0x69,0x6c])](_0x2a1a1c/_0x1637a4)));window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b2ca5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3291fa,_0x4e5905);}function _0x41d908(){const _0x63c026=_0x2b2ca5([0x6c,0x6c,0x63,0x74,0x2d])+_0x212cf0(_0x1e18b8(_0x3c34a7)),_0xd18312=window[_0x2b2ca5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b2ca5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x63c026);return _0xd18312?window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44f7aa(_0xd18312),0x10)*_0x1637a4:null;}function _0x43fa85(_0x164f19){return new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ab64f,_0x549115)=>{_0x164f19[_0x2b2ca5([0x74,0x68,0x65,0x6e])](_0x1ab64f,_0x549115),window[_0x2b2ca5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x549115,0x7ba4e4a^_0x1abafb);});}}_0x393544[_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56d0a7,_0x1ef3d6)=>{if(_0x1ef3d6[0x0]!=_0x3c34a7)return _0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ef3d6[0x1]={..._0x1ef3d6[0x1],[_0x2b2ca5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf954eb};},{[_0x2b2ca5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b2ca5([0x68,0x69,0x67,0x68])}),_0x393544[_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d9e33=>{_0x1f96f5(_0x5d9e33[_0x2b2ca5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a63f3=!0x0,_0x5f0aca(_0x5d9e33[_0x2b2ca5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b2ca5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b2ca5([0x6c,0x6f,0x77])}),_0x30a5f6[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>{_0x2a63f3||_0x382373(_0x2b2ca5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x88eadd(){return _0x393544[_0x2b2ca5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b2ca5([0x76,0x69,0x65,0x77])][_0x2b2ca5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b2ca5([0x61,0x75,0x74,0x6f]);}function _0x1859fc(){_0x393544[_0x2b2ca5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b2ca5([0x76,0x69,0x65,0x77])][_0x2b2ca5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b2ca5([0x61,0x75,0x74,0x6f]);}}function _0x51f9a9(_0x2cbf42){const _0x1fafae=[new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4708e3=>setTimeout(_0x4708e3,0x7b2a446^_0x1abafb)),_0x30a5f6[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a60a=>{let _0x38b8b9=0x0;_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x6f,0x6e])](_0x2b2ca5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b2018,_0x2a96c7)=>{_0x2a96c7[0x0][_0x2b2ca5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38b8b9++,_0x38b8b9==(0x7bb9b72^_0x1abafb)&&(_0x44a60a(),_0x1b2018[_0x2b2ca5([0x6f,0x66,0x66])]());});}))];return window[_0x2b2ca5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b2ca5([0x72,0x61,0x63,0x65])](_0x1fafae)[_0x2b2ca5([0x74,0x68,0x65,0x6e])](()=>_0x2cbf42);}async function _0x38349c(){await _0x30a5f6,_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b667a,_0x393544[_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b2ca5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b667a,_0x393544[_0x2b2ca5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b2ca5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2269de(_0x5883ef){const _0x2681d6=_0x187b02();_0x393544[_0x2681d6]=_0x2b2ca5([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5883ef,_0x5883ef!=_0x2b2ca5([0x56,0x61,0x6c,0x69,0x64])&&_0x38349c();}function _0x187b02(){const _0x949476=window[_0x2b2ca5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b2ca5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b2ca5([0x6e,0x6f,0x77])]())[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b2ca5([0x2e]),'');let _0x37c316=_0x2b2ca5([0x43]);for(let _0x1bac2f=0x0;_0x1bac2f<_0x949476[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bac2f+=0x2){let _0x41d1b5=window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x949476[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bac2f,_0x1bac2f+0x2));_0x41d1b5>=_0x4fb93c[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41d1b5-=_0x4fb93c[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37c316+=_0x4fb93c[_0x41d1b5];}return _0x37c316;}function _0x449662(){const _0x3c37a2=_0x4dd796[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e]));if(0x3!=_0x3c37a2[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e9b5f(_0x3c37a2[0x1]);function _0x3e9b5f(_0x51d2a6){const _0x3e3ea2=_0x2fe201(_0x51d2a6);return _0x3e3ea2&&_0x45f9f9()?_0x3e3ea2:null;function _0x45f9f9(){const _0x1b56ef=_0x3e3ea2[_0x2b2ca5([0x6a,0x74,0x69])],_0x3b4f51=window[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b56ef[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b56ef[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3682b1={..._0x3e3ea2,[_0x2b2ca5([0x6a,0x74,0x69])]:_0x1b56ef[_0x2b2ca5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b56ef[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3682b1[_0x2b2ca5([0x76,0x63])],_0x1e18b8(_0x3682b1)==_0x3b4f51;}}}async function _0x2b0065(){let _0x5962bf=!0x0;try{const _0x8d4729=_0x4dd796[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])](_0x2b2ca5([0x2e])),[_0x3526d5,_0x364ace,_0x2ddc80]=_0x8d4729;return _0x10e32e(_0x3526d5),await _0x9c0722(_0x3526d5,_0x364ace,_0x2ddc80),_0x5962bf;}catch(_0x54cbf2){return!0x1;}function _0x10e32e(_0x4a9b30){const _0x3340e9=_0x2fe201(_0x4a9b30);_0x3340e9&&_0x3340e9[_0x2b2ca5([0x61,0x6c,0x67])]==_0x2b2ca5([0x45,0x53,0x32,0x35,0x36])||(_0x5962bf=!0x1);}async function _0x9c0722(_0x49b927,_0x279c94,_0xb3e69c){const _0x29daad=window[_0x2b2ca5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b2ca5([0x66,0x72,0x6f,0x6d])](_0x44d3ab(_0xb3e69c),_0x450af5=>_0x450af5[_0x2b2ca5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e27ae=new window[(_0x2b2ca5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b2ca5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b927+_0x2b2ca5([0x2e])+_0x279c94),_0x2262a2=window[_0x2b2ca5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b2ca5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2262a2)return;const _0x410fa2=await _0x2262a2[_0x2b2ca5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b2ca5([0x6a,0x77,0x6b]),_0x339f17,{[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x45,0x43,0x44,0x53,0x41]),[_0x2b2ca5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b2ca5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2262a2[_0x2b2ca5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x45,0x43,0x44,0x53,0x41]),[_0x2b2ca5([0x68,0x61,0x73,0x68])]:{[_0x2b2ca5([0x6e,0x61,0x6d,0x65])]:_0x2b2ca5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x410fa2,_0x29daad,_0x2e27ae)||(_0x5962bf=!0x1);}}function _0x2fe201(_0x4e1749){return _0x4e1749[_0x2b2ca5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b2ca5([0x65,0x79]))?JSON[_0x2b2ca5([0x70,0x61,0x72,0x73,0x65])](_0x44d3ab(_0x4e1749)):null;}function _0x44d3ab(_0x3fc9ab){return window[_0x2b2ca5([0x61,0x74,0x6f,0x62])](_0x3fc9ab[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b2ca5([0x2b]))[_0x2b2ca5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b2ca5([0x2f])));}function _0x1e18b8(_0x938289){let _0x1aea85=0x1505;function _0x3cdf00(_0x3290fb){for(let _0x557f9e=0x0;_0x557f9e<_0x3290fb[_0x2b2ca5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x557f9e++){const _0x291a6a=_0x3290fb[_0x2b2ca5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x557f9e);_0x1aea85=(_0x1aea85<<0x5)+_0x1aea85+_0x291a6a,_0x1aea85&=_0x1aea85;}}function _0x3c1adf(_0x5f323b){Array[_0x2b2ca5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f323b)?_0x5f323b[_0x2b2ca5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c1adf):_0x5f323b&&typeof _0x5f323b==_0x2b2ca5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b2ca5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f323b)[_0x2b2ca5([0x73,0x6f,0x72,0x74])]()[_0x2b2ca5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41adc4,_0x327f74])=>{_0x3cdf00(_0x41adc4),_0x3c1adf(_0x327f74);}):_0x3cdf00(window[_0x2b2ca5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f323b));}return _0x3c1adf(_0x938289),_0x1aea85>>>0x0;}function _0x212cf0(_0x387761){return _0x387761[_0x2b2ca5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b2ca5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b2ca5([0x30]));}function _0x44f7aa(_0x3c155b){return _0x3c155b[_0x2b2ca5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b2ca5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b2ca5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b667a(){}function _0x2b2ca5(_0xc6cc50){return _0xc6cc50['map'](_0x1674c0=>String['fromCharCode'](_0x1674c0))['join']('');}_0x2269de(await _0x5ca6fe());}(this);}['_initSchema'](){const _0x5676f9=this['editor']['model']['schema'];_0x5676f9['isRegistered']('imageBlock')&&_0x5676f9['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x5676f9['isRegistered']('imageInline')&&_0x5676f9['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x36c49a=this['editor'];_0x36c49a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x36c49a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xcfc7ef=>_0xcfc7ef['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd72e73=_0x36c49a['commands']['get']('replaceImageSource');_0xd72e73&&this['listenTo'](_0xd72e73,'cleanupImage',(_0x1690dd,[_0x33fa08,_0x42f58a])=>{_0x33fa08['removeAttribute']('uploadcareImageId',_0x42f58a);});}['_initConfig'](){const _0x2d158e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x139604=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xe57b1b(_0x4e8585['document'],'uc-config',{..._0x2d158e,'pubkey':_0x139604,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x206966=>{if('closeMax'==_0x206966)return'#uc-icon-arrow-down';},_0x4e8585['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xe57b1b(_0x4e8585['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x4e8585['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x211d7f=this['editor']['commands']['get']('insertImage');_0x211d7f&&this['listenTo'](_0x211d7f,'execute',()=>{const _0x2cf152=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2cf152&&_0x2cf152['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2cf152);});});const _0x5e62f9=this['editor']['commands']['get']('uploadcareImageReplace');_0x5e62f9&&this['listenTo'](_0x5e62f9,'execute',()=>{const _0xa2950a=this['editor']['model']['document']['selection']['getSelectedElement']();_0xa2950a&&_0xa2950a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xa2950a);});});}}class u extends _0x28820f{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x82a79b){super(_0x82a79b),_0x82a79b['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4f2d2d['defineComponents'](_0x4f2d2d);}}class ta extends _0x44eb68{constructor(_0x49d496){super(_0x49d496);const t=_0x49d496['t'],_0x461cb9=this['bindTemplate'],_0x4bf880=new _0x5e7759();_0x4bf880['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':[_0x4bf880,{'text':_0x461cb9['to']('imageUploadProgress',_0x5cdff6=>t('Loading\x20image...')+'\x20('+(_0x5cdff6||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 rt extends _0x44eb68{constructor(_0x420616){super(_0x420616);const t=_0x420616['t'];this['set']('errorType',null);const _0x3ad1c7=new _0x2a2428(_0x420616);_0x3ad1c7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3ad1c7['withText']=!0x0,_0x3ad1c7['class']='ck-button-action',_0x3ad1c7['on']('execute',()=>{this['fire']('retry');}),_0x3ad1c7['bind']('isVisible')['to'](this,'errorType',_0x16ff03=>'NotFound'!==_0x16ff03);const _0x9dba98=new at();_0x9dba98['content']=et,_0x9dba98['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3037a9=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':[_0x9dba98,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3037a9['to']('errorType',_0x452c23=>t('NotFound'!==_0x452c23?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3ad1c7]},{'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 tt extends _0x44eb68{constructor(_0xa72467,_0xcc8a9a){super(_0xa72467);const _0x5f1ac9=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xcc8a9a,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5f1ac9['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x39e5c2,_0x25650e,_0x1bc28a){super(_0x39e5c2),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x39e5c2),this['_errorView']=new rt(_0x39e5c2),this['_editingView']=new tt(_0x39e5c2,_0x1bc28a),this['_focusableView']=new _0x44eb68(_0x39e5c2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x25650e),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'],_0x37f27c=>{this['_addUploadcareImageEditorListeners'](_0x37f27c);});}),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'](_0x4ffc0d,_0x4f1d97){const _0x21d141='uc-cloud-image-editor',_0x531695=_0x4ffc0d['querySelector'](_0x21d141);if(_0x531695)return _0x4f1d97(_0x531695);const _0x26eed5=new MutationObserver(_0x147af7=>{const _0x599882=_0x147af7['filter'](_0xd09d77=>_0xd09d77['target']===_0x4ffc0d&&_0xd09d77['addedNodes']['length']>0x0&&_0xd09d77['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x21d141);_0x599882['length']&&(_0x26eed5['disconnect'](),_0x4f1d97(_0x599882[0x0]['addedNodes'][0x0]));});_0x26eed5['observe'](_0x4ffc0d,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x54acfa){_0x54acfa['addEventListener']('apply',_0x40a0a3=>{this['fire']('apply',{'imageSrc':_0x40a0a3['detail']['cdnUrl']});}),_0x54acfa['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
- _0x10eb65(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x474546,_0x4b622a,_0x1d0939){super(),this['_editor']=_0x474546,this['_dialog']=_0x4b622a,this['_imageElement']=_0x1d0939,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 _0x4fd9b0=this['_imageElement'],_0x33de97=_0x4fd9b0['getAttribute']('uploadcareImageId'),_0x194ad0=_0x4fd9b0['getAttribute']('src');if(_0x33de97)await this['_loadImageInfo'](_0x33de97,_0x194ad0);else{if(this['_imageCache']['has'](_0x194ad0)){const _0x20f784=this['_imageCache']['get'](_0x194ad0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20f784['url'],this['imageDimension']=_0x20f784['dimension'],this['imageId']=_0x20f784['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x461e66}=this['_editor'],t=_0x461e66['t'],_0x2ecde7=new Z(_0x461e66,this['imageStatus'],this['_attributes']);_0x2ecde7['bind']('status')['to'](this,'imageStatus'),_0x2ecde7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2ecde7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2ecde7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2ecde7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x190c13,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2ecde7,'position':_0x35468e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2ecde7['focus']();},'onHide':()=>{_0x2ecde7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2ec1d2=>!F(_0x2ec1d2,_0x2ecde7['element'])}});}['_loadImageInfo'](_0x13f3f4,_0x589417){return C['getInfo'](_0x13f3f4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xb7425c=>{const {width:_0xb8e51c,height:_0x2bd12b}=_0xb7425c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x589417,this['imageDimension']={'width':_0xb8e51c,'height':_0x2bd12b},this['imageId']=_0x13f3f4;})['catch'](_0x3aa7da=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3aa7da['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3ffc9a,_0x48f23a){return this['_getImageAsFile'](_0x3ffc9a)['then'](_0x15231b=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x48f23a['signal'],'file':_0x15231b,'onProgress':_0x49d2f8=>{_0x49d2f8&&_0x49d2f8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x49d2f8['value']));}}))['then'](_0x2217af=>{const {width:_0x31d96c,height:_0x27022d}=_0x2217af['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2217af['cdnUrl'],this['imageDimension']={'width':_0x31d96c,'height':_0x27022d},this['imageId']=_0x2217af['uuid'],this['imageUploadProgress']=null;const _0x34025d=_0x3ffc9a['getAttribute']('src');this['_imageCache']['set'](_0x34025d,{'id':_0x2217af['uuid'],'url':_0x2217af['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x587ea9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x587ea9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x380697,_0x2de9d9){_0x380697['on']('apply',(_0x2e786c,_0x294319)=>{this['_replaceImage'](_0x2de9d9,_0x294319['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x380697['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x380697['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xfc8dbe,_0x424fa1,_0x168c24){const _0x4027f2=this['_editor'],{width:_0x5ec8c8,height:_0x2e956c}=A(_0x424fa1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x500524,imageSources:_0x39b758}=E(_0x424fa1,_0x5ec8c8);_0x4027f2['model']['change'](_0x2475c2=>{if('$graveyard'===_0xfc8dbe['root']['rootName']){_0x4027f2['execute']('insertImage',{'imageType':_0xfc8dbe['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xfc8dbe['getAttributes']()),'uploadcareImageId':_0x168c24,'src':_0x500524,'sources':_0x39b758,'width':_0x5ec8c8,'height':_0x2e956c}});const _0x337bd3=_0xfc8dbe['getChildren']();_0xfc8dbe=_0x4027f2['model']['document']['selection']['getSelectedElement']();for(const _0x4ea052 of _0x337bd3)_0x2475c2['append'](_0x2475c2['cloneElement'](_0x4ea052),_0xfc8dbe);}else _0x2475c2['setSelection'](_0xfc8dbe,'on'),_0x4027f2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xfc8dbe['getAttributes']()),'uploadcareImageId':_0x168c24,'src':_0x500524,'sources':_0x39b758,'width':_0x5ec8c8,'height':_0x2e956c},_0xfc8dbe);_0x2475c2['setSelection'](_0xfc8dbe,'on');});}async['_getImageAsFile'](_0x102bd2){const _0x844d68=_0x4e8585['window'],_0x19a658=_0x4e8585['document']['location']['href'],_0x29039b=new _0x844d68['URL'](_0x102bd2['getAttribute']('src'),_0x19a658);if('data:'===_0x29039b['protocol']){const _0x50b60d=_0x29039b['href']['split'](','),_0x4e7d6a=_0x50b60d[0x0]['match'](/:(.*?);/)[0x1],_0x5912d0=_0x4e7d6a['split']('/')[0x1],_0x1e8501=_0x844d68['atob'](_0x50b60d[_0x50b60d['length']-0x1]);let _0x2426d9=_0x1e8501['length'];const _0xe3e562=new _0x844d68['Uint8Array'](_0x2426d9);for(;_0x2426d9--;)_0xe3e562[_0x2426d9]=_0x1e8501['charCodeAt'](_0x2426d9);return new _0x844d68['File']([_0xe3e562],'image.'+_0x5912d0,{'type':_0x4e7d6a});}const _0x346fb3=_0x29039b['href']['split']('/'),_0x11f122=_0x346fb3[_0x346fb3['length']-0x1],_0x2dbc3c=_0x11f122['split']('.')[0x1];return _0x844d68['fetch'](_0x29039b['href'])['then'](_0x5e19b3=>_0x5e19b3['clone']()['blob']())['then'](_0x4c3935=>new _0x844d68['File']([_0x4c3935],_0x11f122,{'type':'image/'+_0x2dbc3c}));}}class V extends _0x465f3e{['imageEditController'];static get['requires'](){return[_0x42c054];}['_isEditable'];constructor(_0x26acb6){super(_0x26acb6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xcfa448){const _0x32fe78=R(_0xcfa448);return _0xa1aabc=>!(!_0xa1aabc||!_0xa1aabc['is']('element','imageBlock')&&!_0xa1aabc['is']('element','imageInline'))&&(!!_0xa1aabc['hasAttribute']('uploadcareImageId')||!!_0xa1aabc['hasAttribute']('src')&&_0x32fe78(_0xa1aabc['getAttribute']('src')));}(_0x26acb6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x7af8a2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x7af8a2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x5504fb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x5504fb&&(_0x5504fb['is']('element','imageBlock')||_0x5504fb['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x42c054),_0x5504fb),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x465f3e{['refresh'](){const _0x43980f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x43980f&&(_0x43980f['is']('element','imageBlock')||_0x43980f['is']('element','imageInline')));}['execute'](_0x42dfb9){const _0x52ffd9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x211392=>{_0x211392['setAttributes'](_0x42dfb9,_0x52ffd9),_0x211392['removeAttribute']('srcset',_0x52ffd9),_0x211392['removeAttribute']('sizes',_0x52ffd9);});}}class g extends _0x28820f{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3616ca,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b2309}=this;_0x5b2309['commands']['add']('uploadcareImageEdit',new V(_0x5b2309)),_0x5b2309['commands']['add']('uploadcareImageReplace',new X(_0x5b2309));}}class j extends _0x28820f{['_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 _0x56f2a1=this['editor'];_0x56f2a1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40b084=>{const _0x41eee8=_0x56f2a1['commands']['get']('uploadcareImageEdit'),_0x444960=new _0x2a2428(_0x40b084),t=_0x40b084['t'];return _0x444960['set']({'icon':_0x190c13,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x444960['bind']('isEnabled')['to'](_0x41eee8),_0x444960['bind']('isOn')['to'](_0x41eee8,'isActive'),this['listenTo'](_0x444960,'execute',()=>{_0x56f2a1['execute']('uploadcareImageEdit'),_0x56f2a1['editing']['view']['focus']();}),_0x444960;}),this['_initConfig']();}['_initConfig'](){const _0x37248a=_0xe57b1b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37248a),this['listenTo'](this['editor'],'destroy',()=>{_0x37248a['remove']();});}}class P extends _0x28820f{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x2ce6e9,Command as _0x2c91d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x46cc72,IconGooglePhotos as _0x4f330e,IconGoogleDrive as _0x51d864,IconFacebook as _0x729aca,IconDropbox as _0x341bb1,IconUploadcareLink as _0x5dcc25,IconUploadcareImageUpload as _0x3ee2fa,IconError as et,IconUploadcareImageEdit as _0x2b9487}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x595a9c,MenuBarMenuListItemButtonView as _0x260a60,View as _0x52d5a5,FocusCycler as _0x4aa877,Dialog as _0xb26418,DialogViewPosition as _0x13a466,SpinnerView as _0x3e3f9d,IconView as at,Notification as _0x219423}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x46d91b,DomEmitterMixin as _0x2feabc,global as _0x493f5e,getAncestors as _0x105941,ObservableMixin as _0x1dc02b,createElement as _0x325d07,uid as _0x366936}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0xff2905}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5b641d,info as _0x255ab}from'@uploadcare/upload-client';import*as _0x4c8d4c from'@uploadcare/file-uploader';var o=function(_0x4948f3){return _0x4948f3['Local']='local',_0x4948f3['URL']='url',_0x4948f3['Dropbox']='dropbox',_0x4948f3['GDrive']='gdrive',_0x4948f3['Facebook']='facebook',_0x4948f3['GPhotos']='gphotos',_0x4948f3['OneDrive']='onedrive',_0x4948f3;}({});function _(_0x403529,_0x1f28d6,_0x3a42f7){const t=_0x403529['t'],_0x9e0f18=_0x403529['t'];switch(_0x1f28d6){case o['Local']:return{'text':_0x9e0f18('Insert'===_0x3a42f7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x9e0f18('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3a42f7?_0x9e0f18('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x9e0f18('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3a42f7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f28d6;}}class e extends _0x2ce6e9{['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 _0x1fd255=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xac4607;for(const _0x1aea66 in _0x1fd255){const _0x28ae30=_0x1aea66,_0x140f15=_0x1fd255[_0x28ae30];if('uploadcareLicenseKeyValid'==_0x140f15||'uploadcareLicenseKeyInvalid'==_0x140f15||'uploadcareLicenseKeyExpired'==_0x140f15||'uploadcareLicenseKeyDomainLimit'==_0x140f15||'uploadcareLicenseKeyNotAllowed'==_0x140f15||'uploadcareLicenseKeyEvaluationLimit'==_0x140f15||'uploadcareLicenseKeyTrialLimit'==_0x140f15||'uploadcareLicenseKeyUsageLimit'==_0x140f15){delete _0x1fd255[_0x28ae30],_0xac4607=_0x140f15,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0xac4607&&_0x1fd255['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0xac4607&&_0x1fd255['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0xac4607&&_0x1fd255['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0xac4607&&_0x1fd255['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x59758c}=this,_0x4b0f47=_0x59758c['commands']['get']('uploadcare');if(!_0x4b0f47)return;const _0x39bfd6=this['_normalizeConfigSourceList'](_0x59758c['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x291eff,_0x209fac)=>{const _0x4780c9=this['_getIntegrationKey'](_0x209fac['type']);return _0x291eff[_0x4780c9]||(_0x291eff[_0x4780c9]=[]),_0x291eff[_0x4780c9]['push'](_0x209fac),_0x291eff;},{});_0x59758c['plugins']['has']('ImageInsertUI')&&_0x59758c['commands']['get']('uploadcare')&&Object['entries'](_0x39bfd6)['forEach'](([_0x40dba7,_0x43264b])=>{_0x59758c['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x40dba7,'observable':()=>_0x4b0f47,'buttonViewCreator':()=>this['_createToolbarButton'](_0x43264b),'formViewCreator':()=>this['_createDropdownButtons'](_0x43264b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x43264b),'override':'assetManager'!==_0x40dba7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x332c3b){const {locale:_0x418b30}=this['editor'];return _0x332c3b['map'](_0x1850f4=>{const _0x2b5f28=_(_0x418b30,_0x1850f4,'Insert');switch(_0x1850f4){case o['Local']:return{'icon':_0x3ee2fa,'type':o['Local'],..._0x2b5f28};case o['URL']:return{'icon':_0x5dcc25,'type':o['URL'],..._0x2b5f28};case o['Dropbox']:return{'icon':_0x341bb1,'type':o['Dropbox'],..._0x2b5f28};case o['Facebook']:return{'icon':_0x729aca,'type':o['Facebook'],..._0x2b5f28};case o['GDrive']:return{'icon':_0x51d864,'type':o['GDrive'],..._0x2b5f28};case o['GPhotos']:return{'icon':_0x4f330e,'type':o['GPhotos'],..._0x2b5f28};case o['OneDrive']:return{'icon':_0x46cc72,'type':o['OneDrive'],..._0x2b5f28};}});}['_getIntegrationKey'](_0x17e32){switch(_0x17e32){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x24495a,_0x15ee37){const _0x42671d=this['editor'],_0x89800=new _0x24495a(_0x42671d['locale']),_0x44b5d0=_0x42671d['commands']['get']('uploadcare');return _0x89800['bind']('isEnabled')['to'](_0x44b5d0),_0x89800['on']('execute',()=>{_0x44b5d0['execute'](_0x15ee37);}),_0x89800;}['_createToolbarButton'](_0x22a8bf){const {locale:_0x542e04}=this['editor'],_0x423404=this['editor']['plugins']['get']('ImageInsertUI'),_0x35bca8=_0x22a8bf[0x0],_0x24d575=this['_createButton'](_0x595a9c,_0x35bca8['type']);return _0x24d575['icon']=_0x35bca8['icon'],_0x24d575['bind']('label')['to'](_0x423404,'isImageSelected',_0x533a49=>_(_0x542e04,_0x35bca8['type'],_0x533a49?'Replace':'Insert')['text']),_0x24d575['tooltip']=!0x0,_0x24d575;}['_createDropdownButtons'](_0xe67a37){const {locale:_0x412db1}=this['editor'],_0x260518=this['editor']['plugins']['get']('ImageInsertUI');return _0xe67a37['map'](_0x2a2c1e=>{const _0x1ec187=this['_createButton'](_0x595a9c,_0x2a2c1e['type']);return _0x1ec187['withText']=!0x0,_0x1ec187['icon']=_0x2a2c1e['icon'],_0x1ec187['bind']('label')['to'](_0x260518,'isImageSelected',_0x49c1de=>_(_0x412db1,_0x2a2c1e['type'],_0x49c1de?'Replace':'Insert')['text']),_0x1ec187;});}['_createMenuBarButtons'](_0x75b752){return _0x75b752['map'](_0x522a00=>{const _0x43da39=this['_createButton'](_0x260a60,_0x522a00['type']);return _0x43da39['icon']=_0x522a00['icon'],_0x43da39['label']=_0x522a00['shortText'],_0x43da39;});}}class q extends _0x52d5a5{['focusTracker'];['focusCycler'];constructor(_0x3b943a){super(_0x3b943a),this['focusTracker']=new _0x46d91b(),this['focusCycler']=new _0x4aa877({'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 S extends q{constructor(_0x3667b9){super(_0x3667b9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x4520b3,_0x21bdb1){const _0x1db3a4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x173edd=>_0x173edd<=_0x21bdb1)['map'](_0x102796=>_0x4520b3['replace'](/\/$/,'')+'/-/resize/'+_0x102796+'x/\x20'+_0x102796+'w');return{'imageFallbackUrl':_0x4520b3,'imageSources':[{'srcset':_0x1db3a4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x21bdb1+'px)\x20100vw,\x20'+_0x21bdb1+'px','type':'image/webp'}]};}function A(_0xcd1c4b,_0x27493a,_0x57419f){const _0x121057=_0xcd1c4b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x121057?parseInt(_0x121057[0x1],0xa):_0x27493a,'height':_0x121057?parseInt(_0x121057[0x2],0xa):_0x57419f};}function m(_0x3115a4,_0xf04645){const _0x4e9424=Object['create'](_0x2feabc),_0x34782e=_0x3115a4['plugins']['get']('ImageUtils'),_0x4250b7=_0x3115a4['editing']['mapper']['toViewElement'](_0xf04645),_0x33b3a1=_0x34782e['findViewImgElement'](_0x4250b7),_0x2cefd6=_0x3115a4['editing']['view']['domConverter']['viewToDom'](_0x33b3a1),_0x4e3d42=_0xf04645['getAttribute']('width'),_0x2f692e=_0xf04645['getAttribute']('height'),_0x1b3d2a='image-processing';_0x3115a4['editing']['view']['change'](_0x353315=>{_0x353315['addClass'](_0x1b3d2a,_0x4250b7),_0x353315['setStyle']('aspect-ratio',_0x4e3d42+'/'+_0x2f692e,_0x33b3a1);}),_0x4e9424['listenTo'](_0x2cefd6,'load',()=>{_0x4e9424['stopListening'](_0x2cefd6,'load'),_0x3115a4['editing']['view']['change'](_0x52b492=>{_0x52b492['removeClass'](_0x1b3d2a,_0x4250b7),_0x52b492['removeStyle']('aspect-ratio',_0x33b3a1);});});}function V(_0xb771f8){if(Array['isArray'](_0xb771f8)){const _0x59787c=_0xb771f8['map'](V);return _0x44efdb=>_0x59787c['some'](_0x336070=>_0x336070(_0x44efdb));}if('origin'==_0xb771f8){const _0x1a5ca5=_0x493f5e['window']['location']['origin'];return _0x132332=>new URL(_0x132332,_0x493f5e['document']['baseURI'])['origin']==_0x1a5ca5;}return'function'==typeof _0xb771f8?_0xb771f8:_0xb771f8 instanceof RegExp?_0x5c2524=>!(!_0x5c2524['match'](_0xb771f8)&&!_0x5c2524['replace'](/^https?:\/\//,'')['match'](_0xb771f8)):()=>!0x1;}function F(_0x1cec59,_0x534ce1){return _0x105941(_0x1cec59['target'])['includes'](_0x534ce1);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x1dc02b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x466e5c,_0x28cb83,_0x3c2f26){super(),this['_editor']=_0x466e5c,this['_editing']=_0x28cb83,this['_dialog']=_0x466e5c['plugins']['get'](_0xb26418),this['_api']=_0x28cb83['ctxElement']['getAPI'](),this['_type']=_0x3c2f26,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:_0x2e19d5,model:_0x4b3a03}=this['_editor'],_0x5e323b=_0x4b3a03['document']['selection']['getSelectedElement'](),_0x32c1ac=_0x5e323b&&(_0x5e323b['is']('element','imageBlock')||_0x5e323b['is']('element','imageInline'));this['_formView']=new S(_0x2e19d5),this['_dialog']['show']({'id':'uploadCare','icon':_0x3ee2fa,'title':_(_0x2e19d5,this['_type'],_0x32c1ac?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x13a466['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xab4c85=>!F(_0xab4c85,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4d76f1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x2ed0aa=>{const _0x49f1ea=_0x4d76f1['length'];for(const _0x1e185b of _0x4d76f1){const _0xa88fad=_0x1e185b===_0x4d76f1[_0x49f1ea-0x1],{cdnUrl:_0x2afa4f,fileInfo:_0x4a8643}=_0x1e185b;if(!_0x2afa4f||!_0x4a8643)continue;const {width:_0x52b1cd,height:_0x35870f}=_0x4a8643['imageInfo'],_0x4fe576=A(_0x2afa4f,_0x52b1cd,_0x35870f),_0x17dd6c=E(_0x2afa4f,_0x4fe576['width']),_0x3654cd={'id':_0x4a8643['uuid'],'type':'image','attributes':{'imageDimension':_0x4fe576,..._0x17dd6c}};this['_insertAsset'](_0x3654cd,_0xa88fad,_0x2ed0aa);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5b87e7=>{'idle'===_0x5b87e7['detail']['status']&&!_0x5b87e7['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x164e6d,_0x5d213f,_0x66ef0a){const _0x31082d=this['_editor']['model']['document']['selection'],_0x187793=_0x31082d['getSelectedElement'](),_0x145b31=!(!_0x187793||!_0x187793['is']('element','imageInline'));_0x66ef0a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x164e6d,_0x145b31),_0x5d213f||_0x66ef0a['setSelection'](_0x31082d['getLastPosition']());}['_insertImage'](_0x2ec4a3,_0x5ad560){const _0xab96c7=this['_editor'],{imageDimension:_0xfa5de,imageFallbackUrl:_0xa669fe,imageSources:_0xa6fc91}=_0x2ec4a3['attributes'];_0xab96c7['execute']('insertImage',{'imageType':_0x5ad560?'imageInline':null,'source':{'uploadcareImageId':_0x2ec4a3['id'],'src':_0xa669fe,'sources':_0xa6fc91,..._0xfa5de}});}}class n extends _0x2c91d4{['_editing'];['_controller']=null;static get['requires'](){return[_0xb26418,i];}constructor(_0x2eb6ae){super(_0x2eb6ae),this['_editing']=_0x2eb6ae['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2b5f6c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2b5f6c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x231720,publicKey:_0x4cdebb,signal:_0x4068b3,onProgress:_0x2fde1b}){return _0x5b641d(_0x231720,{'publicKey':_0x4cdebb,'store':'auto','signal':_0x4068b3,'onProgress':_0x2fde1b});}static['getInfo'](_0x4b96d9,_0x3ea6f3){return _0x255ab(_0x4b96d9,_0x3ea6f3);}}class p extends _0x2ce6e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xff2905,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2ec06f=this['editor'];if(!!!_0x2ec06f['config']['get']('uploadcare'))return;_0x2ec06f['plugins']['get'](_0xff2905)['createUploadAdapter']=_0x4cab38=>new x(_0x4cab38,_0x2ec06f),_0x2ec06f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x378d59,{imageElement:_0x37971a,data:_0x5b126f})=>{_0x2ec06f['model']['change'](_0x2e6fe6=>{_0x2e6fe6['setAttribute']('uploadcareImageId',_0x5b126f['uploadcareImageId'],_0x37971a);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x21fa13,_0x4a1ef1){this['loader']=_0x21fa13,this['editor']=_0x4a1ef1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4aa217=this['editor']['config']['get']('uploadcare.pubkey'),_0x1963c6=await this['loader']['file'];return C['upload']({'file':_0x1963c6,'publicKey':_0x4aa217,'signal':this['controller']['signal'],'onProgress':_0x1f7cf0=>{_0x1f7cf0&&_0x1f7cf0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f7cf0['value']);}})['then'](async _0x14b008=>{const {imageFallbackUrl:_0x487c59,imageSources:_0x51d06c}=E(_0x14b008['cdnUrl'],_0x14b008['imageInfo']['width']);return{'uploadcareImageId':_0x14b008['uuid'],'default':_0x487c59,'sources':_0x51d06c};})['catch'](()=>{const _0x22fd8e=t('Cannot\x20upload\x20file:')+('\x20'+_0x1963c6['name']+'.');return Promise['reject'](_0x22fd8e);});}['abort'](){this['controller']['abort']();}}class i extends _0x2ce6e9{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0xb26418];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x349739=this['editor'];_0x349739['commands']['add']('uploadcare',new n(_0x349739));}['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 _0x58ef2d=_0x493f5e['document']['querySelector']('input[uploadcare-file-input]');_0x58ef2d&&_0x58ef2d['remove']();}),async function(_0x3a5e0a){const _0x23a3af=_0x41b776([0x6d,0x37,0x68,0x63,0x62,0x39,0x72,0x32,0x4c,0x53,0x76,0x6f,0x43,0x30,0x69,0x58,0x59,0x34,0x46,0x64,0x78,0x41,0x61,0x50,0x5a,0x48,0x45,0x33,0x35,0x4e,0x38,0x75,0x7a,0x4d,0x4f,0x67,0x51,0x54,0x71,0x66,0x56,0x36,0x42,0x31,0x6a,0x73,0x55,0x44,0x52,0x4a,0x70,0x6b,0x49,0x47,0x79,0x74,0x77,0x57,0x4b,0x65,0x6e,0x6c]),_0x903fb=0x1a06e2bb,_0x2487c4=0x1a018423^_0x903fb,_0x3295ba=window[_0x41b776([0x44,0x61,0x74,0x65])][_0x41b776([0x6e,0x6f,0x77])](),_0x4abc8f=_0x3a5e0a[_0x41b776([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fdc5f=new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x413ccc=>{_0x4abc8f[_0x41b776([0x6f,0x6e,0x63,0x65])](_0x41b776([0x72,0x65,0x61,0x64,0x79]),_0x413ccc);}),_0x170c78={[_0x41b776([0x6b,0x74,0x79])]:_0x41b776([0x45,0x43]),[_0x41b776([0x75,0x73,0x65])]:_0x41b776([0x73,0x69,0x67]),[_0x41b776([0x63,0x72,0x76])]:_0x41b776([0x50,0x2d,0x32,0x35,0x36]),[_0x41b776([0x78])]:_0x41b776([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]),[_0x41b776([0x79])]:_0x41b776([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]),[_0x41b776([0x61,0x6c,0x67])]:_0x41b776([0x45,0x53,0x32,0x35,0x36])},_0x437afd=_0x4abc8f[_0x41b776([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41b776([0x67,0x65,0x74])](_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d943e(){let _0x50d641,_0x427a02=null,_0xf2632a=null;try{if(_0x437afd==_0x41b776([0x47,0x50,0x4c]))return _0x41b776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50d641=_0x1043ba(),!_0x50d641)return _0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50d641[_0x41b776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf2632a=_0x41adbe(_0x50d641[_0x41b776([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50d641[_0x41b776([0x6a,0x74,0x69])])),await _0x39d0cc()?_0x263bce()?_0x2a21b3()?_0x41b776([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31edf7()?(_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41b776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x427a02=_0x29f154(_0x41b776([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41b776([0x74,0x72,0x69,0x61,0x6c])&&(_0x427a02=_0x29f154(_0x41b776([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55d2b0()):_0x41b776([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41b776([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x690b36){return _0x41b776([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a21b3(){const _0x5658a0=[_0x41b776([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41b776([0x74,0x72,0x69,0x61,0x6c])][_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3295ba/0x3e8:0xe10*_0x2487c4;return _0x50d641[_0x41b776([0x65,0x78,0x70])]<_0x5658a0;}function _0x263bce(){const _0x5d8ae0=_0x50d641[_0x41b776([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d8ae0&&(!!_0x5d8ae0[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x2a]))||!!_0x5d8ae0[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x55,0x50,0x4c,0x43])));}function _0x31edf7(){const _0x3df9db=_0x50d641[_0x41b776([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df9db||0x0==_0x3df9db[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd31c56}=new URL(window[_0x41b776([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df9db[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd31c56))return!0x0;const _0xb98c51=_0xd31c56[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e]));return _0x3df9db[_0x41b776([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ae706=>_0x4ae706[_0x41b776([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41b776([0x2a])))[_0x41b776([0x6d,0x61,0x70])](_0x3d3ea1=>_0x3d3ea1[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e])))[_0x41b776([0x73,0x6f,0x6d,0x65])](_0x1ea8ed=>_0xb98c51[_0x41b776([0x65,0x76,0x65,0x72,0x79])]((_0x2c6fc7,_0x2e31de)=>_0x1ea8ed[_0x2e31de]===_0x2c6fc7||_0x1ea8ed[_0x2e31de]===_0x41b776([0x2a])));}function _0x55d2b0(){return _0x427a02&&_0xf2632a?new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c35ae,_0x2654c5)=>{_0x427a02[_0x41b776([0x74,0x68,0x65,0x6e])](_0x3c35ae,_0x2654c5),_0xf2632a[_0x41b776([0x74,0x68,0x65,0x6e])](_0x10e6fb=>{_0x10e6fb!=_0x41b776([0x56,0x61,0x6c,0x69,0x64])&&_0x3c35ae(_0x10e6fb);},_0x2654c5);}):_0x427a02||_0xf2632a||_0x41b776([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41adbe(_0x14b587,_0x44a400){return new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2918a0=>{if(_0x5d42b9())return _0x2918a0(_0x41b776([0x56,0x61,0x6c,0x69,0x64]));_0x12a543(),_0x4abc8f[_0x41b776([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f97dc=!0x1;const _0x18aa9a=_0x366936();function _0x571e37(_0x5557e0){return!!_0x5557e0&&(typeof _0x5557e0===_0x41b776([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5557e0===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5557e0[_0x41b776([0x74,0x68,0x65,0x6e])]===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5557e0[_0x41b776([0x63,0x61,0x74,0x63,0x68])]===_0x41b776([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ee229(_0x442d84){_0x41403e(_0x442d84)[_0x41b776([0x74,0x68,0x65,0x6e])](_0x127c86=>{if(!_0x127c86||_0x127c86[_0x41b776([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41b776([0x6f,0x6b]))return _0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ca9e7(_0x4521de(_0x18aa9a+_0x44a400))!=_0x127c86[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41b776([0x56,0x61,0x6c,0x69,0x64]);})[_0x41b776([0x74,0x68,0x65,0x6e])](_0x30447b=>(_0x10871e(),_0x30447b),()=>{const _0x34bb3f=_0x37c9f5();return null==_0x34bb3f?(_0x10871e(),_0x41b776([0x56,0x61,0x6c,0x69,0x64])):_0x41b776(_0x3295ba-_0x34bb3f>(0x3e0a66bb^_0x903fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41b776([0x74,0x68,0x65,0x6e])](_0x2918a0)[_0x41b776([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1af05f=0x1a300c3b^_0x903fb;function _0x10871e(){const _0x46154b=_0x41b776([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca9e7(_0x4521de(_0x14b587)),_0x3ac9b3=_0x45f02a(_0x5ca9e7(window[_0x41b776([0x4d,0x61,0x74,0x68])][_0x41b776([0x63,0x65,0x69,0x6c])](_0x3295ba/_0x1af05f)));window[_0x41b776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b776([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46154b,_0x3ac9b3);}function _0x37c9f5(){const _0x14d891=_0x41b776([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ca9e7(_0x4521de(_0x14b587)),_0x3bc673=window[_0x41b776([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41b776([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14d891);return _0x3bc673?window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45f02a(_0x3bc673),0x10)*_0x1af05f:null;}function _0x41403e(_0x53625e){return new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3778,_0x110845)=>{_0x53625e[_0x41b776([0x74,0x68,0x65,0x6e])](_0x5d3778,_0x110845),window[_0x41b776([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x110845,0x1a07367b^_0x903fb);});}}_0x4abc8f[_0x41b776([0x6f,0x6e])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29ac48,_0x1a3509)=>{if(_0x1a3509[0x0]!=_0x14b587)return _0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a3509[0x1]={..._0x1a3509[0x1],[_0x41b776([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18aa9a};},{[_0x41b776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b776([0x68,0x69,0x67,0x68])}),_0x4abc8f[_0x41b776([0x6f,0x6e])](_0x41b776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bcaf7=>{_0x571e37(_0x2bcaf7[_0x41b776([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f97dc=!0x0,_0x3ee229(_0x2bcaf7[_0x41b776([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41b776([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41b776([0x6c,0x6f,0x77])}),_0x3fdc5f[_0x41b776([0x74,0x68,0x65,0x6e])](()=>{_0x2f97dc||_0x2918a0(_0x41b776([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d42b9(){return _0x4abc8f[_0x41b776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b776([0x76,0x69,0x65,0x77])][_0x41b776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41b776([0x61,0x75,0x74,0x6f]);}function _0x12a543(){_0x4abc8f[_0x41b776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41b776([0x76,0x69,0x65,0x77])][_0x41b776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41b776([0x61,0x75,0x74,0x6f]);}}function _0x29f154(_0x516bb9){const _0x3f7079=[new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1466=>setTimeout(_0x3e1466,0x1a0fdc77^_0x903fb)),_0x3fdc5f[_0x41b776([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aa017=>{let _0x555532=0x0;_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x6f,0x6e])](_0x41b776([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x277867,_0x5ac800)=>{_0x5ac800[0x0][_0x41b776([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x555532++,_0x555532==(0x1a06e343^_0x903fb)&&(_0x4aa017(),_0x277867[_0x41b776([0x6f,0x66,0x66])]());});}))];return window[_0x41b776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41b776([0x72,0x61,0x63,0x65])](_0x3f7079)[_0x41b776([0x74,0x68,0x65,0x6e])](()=>_0x516bb9);}async function _0x4e0b65(){await _0x3fdc5f,_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xfc345f,_0x4abc8f[_0x41b776([0x6d,0x6f,0x64,0x65,0x6c])][_0x41b776([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xfc345f,_0x4abc8f[_0x41b776([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41b776([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ef763(_0x345fbf){const _0x35a358=_0x990ad0();_0x4abc8f[_0x35a358]=_0x41b776([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x345fbf,_0x345fbf!=_0x41b776([0x56,0x61,0x6c,0x69,0x64])&&_0x4e0b65();}function _0x990ad0(){const _0xa1daf6=window[_0x41b776([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41b776([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41b776([0x6e,0x6f,0x77])]())[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41b776([0x2e]),'');let _0xcad76b=_0x41b776([0x6d]);for(let _0x4f2de6=0x0;_0x4f2de6<_0xa1daf6[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2de6+=0x2){let _0x139573=window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa1daf6[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2de6,_0x4f2de6+0x2));_0x139573>=_0x23a3af[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x139573-=_0x23a3af[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xcad76b+=_0x23a3af[_0x139573];}return _0xcad76b;}function _0x1043ba(){const _0x6b0f9e=_0x437afd[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e]));if(0x3!=_0x6b0f9e[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc9a2e4(_0x6b0f9e[0x1]);function _0xc9a2e4(_0x97c686){const _0x2c8efb=_0x504ffc(_0x97c686);return _0x2c8efb&&_0x1b12ba()?_0x2c8efb:null;function _0x1b12ba(){const _0x526aeb=_0x2c8efb[_0x41b776([0x6a,0x74,0x69])],_0x4ea616=window[_0x41b776([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x526aeb[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x526aeb[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34e67d={..._0x2c8efb,[_0x41b776([0x6a,0x74,0x69])]:_0x526aeb[_0x41b776([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x526aeb[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34e67d[_0x41b776([0x76,0x63])],_0x4521de(_0x34e67d)==_0x4ea616;}}}async function _0x39d0cc(){let _0x2f206e=!0x0;try{const _0x5a6208=_0x437afd[_0x41b776([0x73,0x70,0x6c,0x69,0x74])](_0x41b776([0x2e])),[_0x1f8d7f,_0x5b8a46,_0x3c5a3f]=_0x5a6208;return _0x5089c3(_0x1f8d7f),await _0x51dc22(_0x1f8d7f,_0x5b8a46,_0x3c5a3f),_0x2f206e;}catch(_0x148396){return!0x1;}function _0x5089c3(_0x594ec4){const _0x3fe914=_0x504ffc(_0x594ec4);_0x3fe914&&_0x3fe914[_0x41b776([0x61,0x6c,0x67])]==_0x41b776([0x45,0x53,0x32,0x35,0x36])||(_0x2f206e=!0x1);}async function _0x51dc22(_0x1f38ac,_0x129227,_0x29b96f){const _0x53d67a=window[_0x41b776([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41b776([0x66,0x72,0x6f,0x6d])](_0x2258fc(_0x29b96f),_0x338e60=>_0x338e60[_0x41b776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe33fac=new window[(_0x41b776([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41b776([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f38ac+_0x41b776([0x2e])+_0x129227),_0x5d0570=window[_0x41b776([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41b776([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d0570)return;const _0x54c30d=await _0x5d0570[_0x41b776([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41b776([0x6a,0x77,0x6b]),_0x170c78,{[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x45,0x43,0x44,0x53,0x41]),[_0x41b776([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41b776([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d0570[_0x41b776([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x45,0x43,0x44,0x53,0x41]),[_0x41b776([0x68,0x61,0x73,0x68])]:{[_0x41b776([0x6e,0x61,0x6d,0x65])]:_0x41b776([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54c30d,_0x53d67a,_0xe33fac)||(_0x2f206e=!0x1);}}function _0x504ffc(_0x5c7c0f){return _0x5c7c0f[_0x41b776([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41b776([0x65,0x79]))?JSON[_0x41b776([0x70,0x61,0x72,0x73,0x65])](_0x2258fc(_0x5c7c0f)):null;}function _0x2258fc(_0x491700){return window[_0x41b776([0x61,0x74,0x6f,0x62])](_0x491700[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41b776([0x2b]))[_0x41b776([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41b776([0x2f])));}function _0x4521de(_0x11b6e6){let _0x32db6f=0x1505;function _0x1bedc1(_0x4f38ac){for(let _0x3fb090=0x0;_0x3fb090<_0x4f38ac[_0x41b776([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fb090++){const _0x39a21d=_0x4f38ac[_0x41b776([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fb090);_0x32db6f=(_0x32db6f<<0x5)+_0x32db6f+_0x39a21d,_0x32db6f&=_0x32db6f;}}function _0x1097dc(_0x118f5e){Array[_0x41b776([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x118f5e)?_0x118f5e[_0x41b776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1097dc):_0x118f5e&&typeof _0x118f5e==_0x41b776([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41b776([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x118f5e)[_0x41b776([0x73,0x6f,0x72,0x74])]()[_0x41b776([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc157a1,_0x997772])=>{_0x1bedc1(_0xc157a1),_0x1097dc(_0x997772);}):_0x1bedc1(window[_0x41b776([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x118f5e));}return _0x1097dc(_0x11b6e6),_0x32db6f>>>0x0;}function _0x5ca9e7(_0x370fe6){return _0x370fe6[_0x41b776([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41b776([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41b776([0x30]));}function _0x45f02a(_0x3b311c){return _0x3b311c[_0x41b776([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41b776([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41b776([0x6a,0x6f,0x69,0x6e])]('');}function _0xfc345f(){}function _0x41b776(_0x1ebf7d){return _0x1ebf7d['map'](_0x41e6a5=>String['fromCharCode'](_0x41e6a5))['join']('');}_0x3ef763(await _0x4d943e());}(this);}['_initSchema'](){const _0x348d83=this['editor']['model']['schema'];_0x348d83['isRegistered']('imageBlock')&&_0x348d83['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x348d83['isRegistered']('imageInline')&&_0x348d83['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4f9685=this['editor'];_0x4f9685['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4f9685['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x2fc0b0=>_0x2fc0b0['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4dc57d=_0x4f9685['commands']['get']('replaceImageSource');_0x4dc57d&&this['listenTo'](_0x4dc57d,'cleanupImage',(_0x2c2dee,[_0x57be25,_0x362603])=>{_0x57be25['removeAttribute']('uploadcareImageId',_0x362603);});}['_initConfig'](){const _0x54f43a=this['editor']['config']['get']('uploadcare.uploader')||{},_0x29d760=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x325d07(_0x493f5e['document'],'uc-config',{..._0x54f43a,'pubkey':_0x29d760,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x5767af=>{if('closeMax'==_0x5767af)return'#uc-icon-arrow-down';},_0x493f5e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x325d07(_0x493f5e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x493f5e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x18ad53=this['editor']['commands']['get']('insertImage');_0x18ad53&&this['listenTo'](_0x18ad53,'execute',()=>{const _0x326f9d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x326f9d&&_0x326f9d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x326f9d);});});const _0x439302=this['editor']['commands']['get']('uploadcareImageReplace');_0x439302&&this['listenTo'](_0x439302,'execute',()=>{const _0x4f9a45=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f9a45&&_0x4f9a45['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x4f9a45);});});}}class u extends _0x2ce6e9{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8ce885){super(_0x8ce885),_0x8ce885['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x4c8d4c['defineComponents'](_0x4c8d4c);}}class ta extends _0x52d5a5{constructor(_0xccfe07){super(_0xccfe07);const t=_0xccfe07['t'],_0x1a973b=this['bindTemplate'],_0x51dd8a=new _0x3e3f9d();_0x51dd8a['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':[_0x51dd8a,{'text':_0x1a973b['to']('imageUploadProgress',_0x2cc7eb=>t('Loading\x20image...')+'\x20('+(_0x2cc7eb||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 rt extends _0x52d5a5{constructor(_0x10fd40){super(_0x10fd40);const t=_0x10fd40['t'];this['set']('errorType',null);const _0x26eaf9=new _0x595a9c(_0x10fd40);_0x26eaf9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26eaf9['withText']=!0x0,_0x26eaf9['class']='ck-button-action',_0x26eaf9['on']('execute',()=>{this['fire']('retry');}),_0x26eaf9['bind']('isVisible')['to'](this,'errorType',_0x2d122b=>'NotFound'!==_0x2d122b);const _0xb0ac52=new at();_0xb0ac52['content']=et,_0xb0ac52['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3701b2=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':[_0xb0ac52,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3701b2['to']('errorType',_0x5b3c22=>t('NotFound'!==_0x5b3c22?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26eaf9]},{'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 tt extends _0x52d5a5{constructor(_0x44aeae,_0x33689d){super(_0x44aeae);const _0x1f5c17=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x33689d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1f5c17['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4cd868,_0x5068e2,_0x3985f6){super(_0x4cd868),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x4cd868),this['_errorView']=new rt(_0x4cd868),this['_editingView']=new tt(_0x4cd868,_0x3985f6),this['_focusableView']=new _0x52d5a5(_0x4cd868),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5068e2),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'],_0x1a805b=>{this['_addUploadcareImageEditorListeners'](_0x1a805b);});}),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'](_0x41e5f6,_0x583b8c){const _0x1c104e='uc-cloud-image-editor',_0x643137=_0x41e5f6['querySelector'](_0x1c104e);if(_0x643137)return _0x583b8c(_0x643137);const _0x26b06d=new MutationObserver(_0x32443a=>{const _0x4a07c1=_0x32443a['filter'](_0x38b29d=>_0x38b29d['target']===_0x41e5f6&&_0x38b29d['addedNodes']['length']>0x0&&_0x38b29d['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1c104e);_0x4a07c1['length']&&(_0x26b06d['disconnect'](),_0x583b8c(_0x4a07c1[0x0]['addedNodes'][0x0]));});_0x26b06d['observe'](_0x41e5f6,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3d3979){_0x3d3979['addEventListener']('apply',_0x338c4f=>{this['fire']('apply',{'imageSrc':_0x338c4f['detail']['cdnUrl']});}),_0x3d3979['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x1dc02b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x782878,_0x24d957,_0x3f6cf1){super(),this['_editor']=_0x782878,this['_dialog']=_0x24d957,this['_imageElement']=_0x3f6cf1,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 _0x49bf16=this['_imageElement'],_0x3b24a8=_0x49bf16['getAttribute']('uploadcareImageId'),_0x1ba967=_0x49bf16['getAttribute']('src');if(_0x3b24a8)await this['_loadImageInfo'](_0x3b24a8,_0x1ba967);else{if(this['_imageCache']['has'](_0x1ba967)){const _0x88404b=this['_imageCache']['get'](_0x1ba967);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x88404b['url'],this['imageDimension']=_0x88404b['dimension'],this['imageId']=_0x88404b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x52a6f5}=this['_editor'],t=_0x52a6f5['t'],_0x1e59d2=new Z(_0x52a6f5,this['imageStatus'],this['_attributes']);_0x1e59d2['bind']('status')['to'](this,'imageStatus'),_0x1e59d2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1e59d2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1e59d2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1e59d2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b9487,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1e59d2,'position':_0x13a466['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1e59d2['focus']();},'onHide':()=>{_0x1e59d2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51b607=>!F(_0x51b607,_0x1e59d2['element'])}});}['_loadImageInfo'](_0x3d5eb4,_0x550a8f){return C['getInfo'](_0x3d5eb4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x43a354=>{const {width:_0x1f2ffa,height:_0x4413b3}=_0x43a354['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x550a8f,this['imageDimension']={'width':_0x1f2ffa,'height':_0x4413b3},this['imageId']=_0x3d5eb4;})['catch'](_0x3f9a67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f9a67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x27ab3e,_0x106fa4){return this['_getImageAsFile'](_0x27ab3e)['then'](_0x1bfa93=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x106fa4['signal'],'file':_0x1bfa93,'onProgress':_0x529fc7=>{_0x529fc7&&_0x529fc7['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x529fc7['value']));}}))['then'](_0x9deed4=>{const {width:_0x432662,height:_0x373adc}=_0x9deed4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x9deed4['cdnUrl'],this['imageDimension']={'width':_0x432662,'height':_0x373adc},this['imageId']=_0x9deed4['uuid'],this['imageUploadProgress']=null;const _0x27b30c=_0x27ab3e['getAttribute']('src');this['_imageCache']['set'](_0x27b30c,{'id':_0x9deed4['uuid'],'url':_0x9deed4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x28e93d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28e93d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24c97c,_0x34b2c4){_0x24c97c['on']('apply',(_0x5ae7c0,_0x57a4fb)=>{this['_replaceImage'](_0x34b2c4,_0x57a4fb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24c97c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24c97c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xf61c70,_0x23d4b0,_0x5eb6af){const _0x4c6ff9=this['_editor'],{width:_0x84d480,height:_0x48fd01}=A(_0x23d4b0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3021e4,imageSources:_0x8eadba}=E(_0x23d4b0,_0x84d480);_0x4c6ff9['model']['change'](_0x5c594d=>{if('$graveyard'===_0xf61c70['root']['rootName']){_0x4c6ff9['execute']('insertImage',{'imageType':_0xf61c70['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xf61c70['getAttributes']()),'uploadcareImageId':_0x5eb6af,'src':_0x3021e4,'sources':_0x8eadba,'width':_0x84d480,'height':_0x48fd01}});const _0x3f9495=_0xf61c70['getChildren']();_0xf61c70=_0x4c6ff9['model']['document']['selection']['getSelectedElement']();for(const _0x132f9a of _0x3f9495)_0x5c594d['append'](_0x5c594d['cloneElement'](_0x132f9a),_0xf61c70);}else _0x5c594d['setSelection'](_0xf61c70,'on'),_0x4c6ff9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xf61c70['getAttributes']()),'uploadcareImageId':_0x5eb6af,'src':_0x3021e4,'sources':_0x8eadba,'width':_0x84d480,'height':_0x48fd01},_0xf61c70);_0x5c594d['setSelection'](_0xf61c70,'on');});}async['_getImageAsFile'](_0x2e5a16){const _0xeffa06=_0x493f5e['window'],_0x3454c5=_0x493f5e['document']['location']['href'],_0x50e30e=new _0xeffa06['URL'](_0x2e5a16['getAttribute']('src'),_0x3454c5);if('data:'===_0x50e30e['protocol']){const _0x56bf23=_0x50e30e['href']['split'](','),_0x386475=_0x56bf23[0x0]['match'](/:(.*?);/)[0x1],_0x506afd=_0x386475['split']('/')[0x1],_0x357a30=_0xeffa06['atob'](_0x56bf23[_0x56bf23['length']-0x1]);let _0x3ea5d7=_0x357a30['length'];const _0xac6340=new _0xeffa06['Uint8Array'](_0x3ea5d7);for(;_0x3ea5d7--;)_0xac6340[_0x3ea5d7]=_0x357a30['charCodeAt'](_0x3ea5d7);return new _0xeffa06['File']([_0xac6340],'image.'+_0x506afd,{'type':_0x386475});}const _0x3ce1ee=_0x50e30e['href']['split']('/'),_0x453f2f=_0x3ce1ee[_0x3ce1ee['length']-0x1],_0x409a80=_0x453f2f['split']('.')[0x1];return _0xeffa06['fetch'](_0x50e30e['href'])['then'](_0x1a40f3=>_0x1a40f3['clone']()['blob']())['then'](_0x472e9a=>new _0xeffa06['File']([_0x472e9a],_0x453f2f,{'type':'image/'+_0x409a80}));}}class J extends _0x2c91d4{['imageEditController'];static get['requires'](){return[_0xb26418];}['_isEditable'];constructor(_0x5e18d1){super(_0x5e18d1),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x4e4c48){const _0x2ae280=V(_0x4e4c48);return _0x43ce41=>!(!_0x43ce41||!_0x43ce41['is']('element','imageBlock')&&!_0x43ce41['is']('element','imageInline'))&&(!!_0x43ce41['hasAttribute']('uploadcareImageId')||!!_0x43ce41['hasAttribute']('src')&&_0x2ae280(_0x43ce41['getAttribute']('src')));}(_0x5e18d1['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x347a5c=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x347a5c);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x33a3d8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x33a3d8&&(_0x33a3d8['is']('element','imageBlock')||_0x33a3d8['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0xb26418),_0x33a3d8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x2c91d4{['refresh'](){const _0x5938d9=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5938d9&&(_0x5938d9['is']('element','imageBlock')||_0x5938d9['is']('element','imageInline')));}['execute'](_0x5d7b4b){const _0x1dbb3e=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1e806e=>{_0x1e806e['setAttributes'](_0x5d7b4b,_0x1dbb3e),_0x1e806e['removeAttribute']('srcset',_0x1dbb3e),_0x1e806e['removeAttribute']('sizes',_0x1dbb3e);});}}class g extends _0x2ce6e9{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x219423,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bd4d2}=this;_0x2bd4d2['commands']['add']('uploadcareImageEdit',new J(_0x2bd4d2)),_0x2bd4d2['commands']['add']('uploadcareImageReplace',new O(_0x2bd4d2));}}class j extends _0x2ce6e9{['_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 _0x489e66=this['editor'];_0x489e66['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4df903=>{const _0x9fbd50=_0x489e66['commands']['get']('uploadcareImageEdit'),_0x50998f=new _0x595a9c(_0x4df903),t=_0x4df903['t'];return _0x50998f['set']({'icon':_0x2b9487,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x50998f['bind']('isEnabled')['to'](_0x9fbd50),_0x50998f['bind']('isOn')['to'](_0x9fbd50,'isActive'),this['listenTo'](_0x50998f,'execute',()=>{_0x489e66['execute']('uploadcareImageEdit'),_0x489e66['editing']['view']['focus']();}),_0x50998f;}),this['_initConfig']();}['_initConfig'](){const _0x4a83fc=_0x325d07(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4a83fc),this['listenTo'](this['editor'],'destroy',()=>{_0x4a83fc['remove']();});}}class P extends _0x2ce6e9{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -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':_0x51ff78=>0x1!=_0x51ff78}};
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':_0x374187=>0x1!=_0x374187}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x9d1a60=>{const {af:{dictionary:_0x236c5b,getPluralForm:_0x419811}}={'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':_0x4e74b1=>0x1!=_0x4e74b1}};_0x9d1a60['af']||={'dictionary':{},'getPluralForm':null},_0x9d1a60['af']['dictionary']=Object['assign'](_0x9d1a60['af']['dictionary'],_0x236c5b),_0x9d1a60['af']['getPluralForm']=_0x419811;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x418190=>{const {af:{dictionary:_0x186e50,getPluralForm:_0x475142}}={'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':_0xa9024=>0x1!=_0xa9024}};_0x418190['af']||={'dictionary':{},'getPluralForm':null},_0x418190['af']['dictionary']=Object['assign'](_0x418190['af']['dictionary'],_0x186e50),_0x418190['af']['getPluralForm']=_0x475142;})(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':_0x1ee0b2=>0x0==_0x1ee0b2?0x0:0x1==_0x1ee0b2?0x1:0x2==_0x1ee0b2?0x2:_0x1ee0b2%0x64>=0x3&&_0x1ee0b2%0x64<=0xa?0x3:_0x1ee0b2%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':_0x2111b4=>0x0==_0x2111b4?0x0:0x1==_0x2111b4?0x1:0x2==_0x2111b4?0x2:_0x2111b4%0x64>=0x3&&_0x2111b4%0x64<=0xa?0x3:_0x2111b4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6dc66e=>{const {ar:{dictionary:_0xb632c7,getPluralForm:_0x2e263c}}={'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':_0x58336e=>0x0==_0x58336e?0x0:0x1==_0x58336e?0x1:0x2==_0x58336e?0x2:_0x58336e%0x64>=0x3&&_0x58336e%0x64<=0xa?0x3:_0x58336e%0x64>=0xb?0x4:0x5}};_0x6dc66e['ar']||={'dictionary':{},'getPluralForm':null},_0x6dc66e['ar']['dictionary']=Object['assign'](_0x6dc66e['ar']['dictionary'],_0xb632c7),_0x6dc66e['ar']['getPluralForm']=_0x2e263c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa58aeb=>{const {ar:{dictionary:_0x2cdf7a,getPluralForm:_0x4925d2}}={'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':_0x1301bc=>0x0==_0x1301bc?0x0:0x1==_0x1301bc?0x1:0x2==_0x1301bc?0x2:_0x1301bc%0x64>=0x3&&_0x1301bc%0x64<=0xa?0x3:_0x1301bc%0x64>=0xb?0x4:0x5}};_0xa58aeb['ar']||={'dictionary':{},'getPluralForm':null},_0xa58aeb['ar']['dictionary']=Object['assign'](_0xa58aeb['ar']['dictionary'],_0x2cdf7a),_0xa58aeb['ar']['getPluralForm']=_0x4925d2;})(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':_0x31eb1b=>0x1!=_0x31eb1b}};
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':_0x427b59=>0x1!=_0x427b59}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24c453=>{const {ast:{dictionary:_0x12c6d3,getPluralForm:_0x2e781a}}={'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':_0x371ba7=>0x1!=_0x371ba7}};_0x24c453['ast']||={'dictionary':{},'getPluralForm':null},_0x24c453['ast']['dictionary']=Object['assign'](_0x24c453['ast']['dictionary'],_0x12c6d3),_0x24c453['ast']['getPluralForm']=_0x2e781a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48c616=>{const {ast:{dictionary:_0x5a8f6d,getPluralForm:_0x159d7b}}={'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':_0x3f3c53=>0x1!=_0x3f3c53}};_0x48c616['ast']||={'dictionary':{},'getPluralForm':null},_0x48c616['ast']['dictionary']=Object['assign'](_0x48c616['ast']['dictionary'],_0x5a8f6d),_0x48c616['ast']['getPluralForm']=_0x159d7b;})(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':_0xff4f03=>0x1!=_0xff4f03}};
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':_0x3b92cc=>0x1!=_0x3b92cc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x428d30=>{const {az:{dictionary:_0x2bc268,getPluralForm:_0x59cc72}}={'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':_0x1e591e=>0x1!=_0x1e591e}};_0x428d30['az']||={'dictionary':{},'getPluralForm':null},_0x428d30['az']['dictionary']=Object['assign'](_0x428d30['az']['dictionary'],_0x2bc268),_0x428d30['az']['getPluralForm']=_0x59cc72;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2f17a2=>{const {az:{dictionary:_0x4d96af,getPluralForm:_0x59ff14}}={'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':_0x4092bd=>0x1!=_0x4092bd}};_0x2f17a2['az']||={'dictionary':{},'getPluralForm':null},_0x2f17a2['az']['dictionary']=Object['assign'](_0x2f17a2['az']['dictionary'],_0x4d96af),_0x2f17a2['az']['getPluralForm']=_0x59ff14;})(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':_0x52b670=>_0x52b670%0xa==0x1&&_0x52b670%0x64!=0xb?0x0:_0x52b670%0xa>=0x2&&_0x52b670%0xa<=0x4&&(_0x52b670%0x64<0xa||_0x52b670%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':_0x537bf2=>_0x537bf2%0xa==0x1&&_0x537bf2%0x64!=0xb?0x0:_0x537bf2%0xa>=0x2&&_0x537bf2%0xa<=0x4&&(_0x537bf2%0x64<0xa||_0x537bf2%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x7017e0=>{const {be:{dictionary:_0x3aa78b,getPluralForm:_0x3bce0e}}={'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':_0x562cf5=>_0x562cf5%0xa==0x1&&_0x562cf5%0x64!=0xb?0x0:_0x562cf5%0xa>=0x2&&_0x562cf5%0xa<=0x4&&(_0x562cf5%0x64<0xa||_0x562cf5%0x64>=0x14)?0x1:0x2}};_0x7017e0['be']||={'dictionary':{},'getPluralForm':null},_0x7017e0['be']['dictionary']=Object['assign'](_0x7017e0['be']['dictionary'],_0x3aa78b),_0x7017e0['be']['getPluralForm']=_0x3bce0e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d3d78=>{const {be:{dictionary:_0x1dc916,getPluralForm:_0xee2be1}}={'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':_0x4dfe90=>_0x4dfe90%0xa==0x1&&_0x4dfe90%0x64!=0xb?0x0:_0x4dfe90%0xa>=0x2&&_0x4dfe90%0xa<=0x4&&(_0x4dfe90%0x64<0xa||_0x4dfe90%0x64>=0x14)?0x1:0x2}};_0x5d3d78['be']||={'dictionary':{},'getPluralForm':null},_0x5d3d78['be']['dictionary']=Object['assign'](_0x5d3d78['be']['dictionary'],_0x1dc916),_0x5d3d78['be']['getPluralForm']=_0xee2be1;})(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':_0x1a6a6c=>0x1!=_0x1a6a6c}};
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':_0x3c378d=>0x1!=_0x3c378d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x162f32=>{const {bg:{dictionary:_0x5e1b3a,getPluralForm:_0x537cb0}}={'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':_0x485d05=>0x1!=_0x485d05}};_0x162f32['bg']||={'dictionary':{},'getPluralForm':null},_0x162f32['bg']['dictionary']=Object['assign'](_0x162f32['bg']['dictionary'],_0x5e1b3a),_0x162f32['bg']['getPluralForm']=_0x537cb0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22ed87=>{const {bg:{dictionary:_0x49f9b7,getPluralForm:_0x2c1334}}={'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':_0x20cf31=>0x1!=_0x20cf31}};_0x22ed87['bg']||={'dictionary':{},'getPluralForm':null},_0x22ed87['bg']['dictionary']=Object['assign'](_0x22ed87['bg']['dictionary'],_0x49f9b7),_0x22ed87['bg']['getPluralForm']=_0x2c1334;})(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':_0x34f057=>0x1!=_0x34f057}};
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':_0x3bca43=>0x1!=_0x3bca43}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4bb311=>{const {bn:{dictionary:_0x15ac61,getPluralForm:_0x3dcd9d}}={'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':_0x40065d=>0x1!=_0x40065d}};_0x4bb311['bn']||={'dictionary':{},'getPluralForm':null},_0x4bb311['bn']['dictionary']=Object['assign'](_0x4bb311['bn']['dictionary'],_0x15ac61),_0x4bb311['bn']['getPluralForm']=_0x3dcd9d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31e9ad=>{const {bn:{dictionary:_0x576a7b,getPluralForm:_0x1edb74}}={'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':_0x459600=>0x1!=_0x459600}};_0x31e9ad['bn']||={'dictionary':{},'getPluralForm':null},_0x31e9ad['bn']['dictionary']=Object['assign'](_0x31e9ad['bn']['dictionary'],_0x576a7b),_0x31e9ad['bn']['getPluralForm']=_0x1edb74;})(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':_0x24ff78=>_0x24ff78%0xa==0x1&&_0x24ff78%0x64!=0xb?0x0:_0x24ff78%0xa>=0x2&&_0x24ff78%0xa<=0x4&&(_0x24ff78%0x64<0xa||_0x24ff78%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':_0x8b501a=>_0x8b501a%0xa==0x1&&_0x8b501a%0x64!=0xb?0x0:_0x8b501a%0xa>=0x2&&_0x8b501a%0xa<=0x4&&(_0x8b501a%0x64<0xa||_0x8b501a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50c39f=>{const {bs:{dictionary:_0x27ba28,getPluralForm:_0x377275}}={'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':_0x5aa85f=>_0x5aa85f%0xa==0x1&&_0x5aa85f%0x64!=0xb?0x0:_0x5aa85f%0xa>=0x2&&_0x5aa85f%0xa<=0x4&&(_0x5aa85f%0x64<0xa||_0x5aa85f%0x64>=0x14)?0x1:0x2}};_0x50c39f['bs']||={'dictionary':{},'getPluralForm':null},_0x50c39f['bs']['dictionary']=Object['assign'](_0x50c39f['bs']['dictionary'],_0x27ba28),_0x50c39f['bs']['getPluralForm']=_0x377275;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x12daca=>{const {bs:{dictionary:_0x5622c4,getPluralForm:_0x238f09}}={'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':_0x494641=>_0x494641%0xa==0x1&&_0x494641%0x64!=0xb?0x0:_0x494641%0xa>=0x2&&_0x494641%0xa<=0x4&&(_0x494641%0x64<0xa||_0x494641%0x64>=0x14)?0x1:0x2}};_0x12daca['bs']||={'dictionary':{},'getPluralForm':null},_0x12daca['bs']['dictionary']=Object['assign'](_0x12daca['bs']['dictionary'],_0x5622c4),_0x12daca['bs']['getPluralForm']=_0x238f09;})(window['CKEDITOR_TRANSLATIONS']||={});