@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251225.0 → 0.0.0-nightly-next-20251225.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 _0x1b3829,Command as _0x249e8e}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5d8f1c,IconGooglePhotos as _0x31b286,IconGoogleDrive as _0xef5885,IconFacebook as _0x1b9f08,IconDropbox as _0x223513,IconUploadcareLink as _0x4c4788,IconUploadcareImageUpload as _0xdddccd,IconError as _0x520dc8,IconUploadcareImageEdit as _0x4fcded}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x51727c,MenuBarMenuListItemButtonView as _0x1d005b,View as _0x52e260,FocusCycler as _0x4fefb2,Dialog as _0xa099cb,DialogViewPosition as _0x18bb53,SpinnerView as _0x346673,IconView as _0xeca87b,Notification as _0x29da43}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x519499,DomEmitterMixin as _0x1583f7,global as _0x26140e,getAncestors as _0x7c5489,ObservableMixin as _0x3c83f0,uid as _0x4fe74c,createElement as _0x1dc68e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x493b6c}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x1f63da,info as _0x5a972b}from'@uploadcare/upload-client';import*as _0x3f2e00 from'@uploadcare/file-uploader';var i=function(_0x47e837){return _0x47e837['Local']='local',_0x47e837['URL']='url',_0x47e837['Dropbox']='dropbox',_0x47e837['GDrive']='gdrive',_0x47e837['Facebook']='facebook',_0x47e837['GPhotos']='gphotos',_0x47e837['OneDrive']='onedrive',_0x47e837;}({});function _(_0x343f15,_0x12df5c,_0x67db76){const t=_0x343f15['t'],_0x389dc6=_0x343f15['t'];switch(_0x12df5c){case i['Local']:return{'text':_0x389dc6('Insert'===_0x67db76?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x389dc6('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x67db76?_0x389dc6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x389dc6('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x67db76?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x67db76?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x67db76?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x67db76?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x67db76?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12df5c;}}class e extends _0x1b3829{['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 _0x5324fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52baff;for(const _0x581055 in _0x5324fb){const _0x2c3310=_0x581055,_0x5f5a87=_0x5324fb[_0x2c3310];if('uploadcareLicenseKeyValid'==_0x5f5a87||'uploadcareLicenseKeyInvalid'==_0x5f5a87||'uploadcareLicenseKeyExpired'==_0x5f5a87||'uploadcareLicenseKeyDomainLimit'==_0x5f5a87||'uploadcareLicenseKeyNotAllowed'==_0x5f5a87||'uploadcareLicenseKeyEvaluationLimit'==_0x5f5a87||'uploadcareLicenseKeyTrialLimit'==_0x5f5a87||'uploadcareLicenseKeyUsageLimit'==_0x5f5a87){delete _0x5324fb[_0x2c3310],_0x52baff=_0x5f5a87,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x52baff&&_0x5324fb['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x52baff&&_0x5324fb['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x52baff&&_0x5324fb['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x52baff&&_0x5324fb['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x52baff&&_0x5324fb['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x52baff&&_0x5324fb['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x52baff&&_0x5324fb['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3c6e8b}=this,_0x455e57=_0x3c6e8b['commands']['get']('uploadcare');if(!_0x455e57)return;const _0x124733=this['_normalizeConfigSourceList'](_0x3c6e8b['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x27710e,_0x37b161)=>{const _0x29c9cb=this['_getIntegrationKey'](_0x37b161['type']);return _0x27710e[_0x29c9cb]||(_0x27710e[_0x29c9cb]=[]),_0x27710e[_0x29c9cb]['push'](_0x37b161),_0x27710e;},{});_0x3c6e8b['plugins']['has']('ImageInsertUI')&&_0x3c6e8b['commands']['get']('uploadcare')&&Object['entries'](_0x124733)['forEach'](([_0x5f5ae5,_0x5dd357])=>{_0x3c6e8b['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5f5ae5,'observable':()=>_0x455e57,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5dd357),'formViewCreator':()=>this['_createDropdownButtons'](_0x5dd357),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5dd357),'override':'assetManager'!==_0x5f5ae5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x343658){const {locale:_0x1c7d14}=this['editor'];return _0x343658['map'](_0x1e8d78=>{const _0x5dab72=_(_0x1c7d14,_0x1e8d78,'Insert');switch(_0x1e8d78){case i['Local']:return{'icon':_0xdddccd,'type':i['Local'],..._0x5dab72};case i['URL']:return{'icon':_0x4c4788,'type':i['URL'],..._0x5dab72};case i['Dropbox']:return{'icon':_0x223513,'type':i['Dropbox'],..._0x5dab72};case i['Facebook']:return{'icon':_0x1b9f08,'type':i['Facebook'],..._0x5dab72};case i['GDrive']:return{'icon':_0xef5885,'type':i['GDrive'],..._0x5dab72};case i['GPhotos']:return{'icon':_0x31b286,'type':i['GPhotos'],..._0x5dab72};case i['OneDrive']:return{'icon':_0x5d8f1c,'type':i['OneDrive'],..._0x5dab72};}});}['_getIntegrationKey'](_0x3ca47e){switch(_0x3ca47e){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x48c42f,_0x966109){const _0x361049=this['editor'],_0x5d9d4f=new _0x48c42f(_0x361049['locale']),_0x433d7d=_0x361049['commands']['get']('uploadcare');return _0x5d9d4f['bind']('isEnabled')['to'](_0x433d7d),_0x5d9d4f['on']('execute',()=>{_0x433d7d['execute'](_0x966109);}),_0x5d9d4f;}['_createToolbarButton'](_0xd6fe01){const {locale:_0x3dda22}=this['editor'],_0x52bf96=this['editor']['plugins']['get']('ImageInsertUI'),_0xed4982=_0xd6fe01[0x0],_0x4fb9bd=this['_createButton'](_0x51727c,_0xed4982['type']);return _0x4fb9bd['icon']=_0xed4982['icon'],_0x4fb9bd['bind']('label')['to'](_0x52bf96,'isImageSelected',_0x41c6aa=>_(_0x3dda22,_0xed4982['type'],_0x41c6aa?'Replace':'Insert')['text']),_0x4fb9bd['tooltip']=!0x0,_0x4fb9bd;}['_createDropdownButtons'](_0x3fbc5f){const {locale:_0x205560}=this['editor'],_0x489e61=this['editor']['plugins']['get']('ImageInsertUI');return _0x3fbc5f['map'](_0x4f0508=>{const _0x2543df=this['_createButton'](_0x51727c,_0x4f0508['type']);return _0x2543df['withText']=!0x0,_0x2543df['icon']=_0x4f0508['icon'],_0x2543df['bind']('label')['to'](_0x489e61,'isImageSelected',_0x5a7972=>_(_0x205560,_0x4f0508['type'],_0x5a7972?'Replace':'Insert')['text']),_0x2543df;});}['_createMenuBarButtons'](_0x372f94){return _0x372f94['map'](_0x2a8a0d=>{const _0x33f435=this['_createButton'](_0x1d005b,_0x2a8a0d['type']);return _0x33f435['icon']=_0x2a8a0d['icon'],_0x33f435['label']=_0x2a8a0d['shortText'],_0x33f435;});}}class V extends _0x52e260{['focusTracker'];['focusCycler'];constructor(_0x31684c){super(_0x31684c),this['focusTracker']=new _0x519499(),this['focusCycler']=new _0x4fefb2({'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 E extends V{constructor(_0x19626a,_0xde8fa4){super(_0x19626a),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-'+_0xde8fa4}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x3ae564,_0x97d8f1){const _0x4c3b85=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2bacf0=>_0x2bacf0<=_0x97d8f1)['map'](_0x3875db=>_0x3ae564['replace'](/\/$/,'')+'/-/resize/'+_0x3875db+'x/\x20'+_0x3875db+'w');return{'imageFallbackUrl':_0x3ae564,'imageSources':[{'srcset':_0x4c3b85['join'](',\x20'),'sizes':'(max-width:\x20'+_0x97d8f1+'px)\x20100vw,\x20'+_0x97d8f1+'px','type':'image/webp'}]};}function M(_0x5afec2,_0x304f1,_0x3553b6){const _0x311020=_0x5afec2['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x311020?parseInt(_0x311020[0x1],0xa):_0x304f1,'height':_0x311020?parseInt(_0x311020[0x2],0xa):_0x3553b6};}function p(_0x20778d,_0x1df79c){const _0x193451=new(_0x1583f7())(),_0x78737c=_0x20778d['plugins']['get']('ImageUtils'),_0x295813=_0x20778d['editing']['mapper']['toViewElement'](_0x1df79c),_0x1563ca=_0x78737c['findViewImgElement'](_0x295813),_0x4f0efb=_0x20778d['editing']['view']['domConverter']['viewToDom'](_0x1563ca),_0x3b320b=_0x1df79c['getAttribute']('width'),_0x555391=_0x1df79c['getAttribute']('height'),_0xfe7b7e='image-processing';_0x20778d['editing']['view']['change'](_0x4be537=>{_0x4be537['addClass'](_0xfe7b7e,_0x295813),_0x4be537['setStyle']('aspect-ratio',_0x3b320b+'/'+_0x555391,_0x1563ca);}),_0x193451['listenTo'](_0x4f0efb,'load',()=>{_0x193451['stopListening'](_0x4f0efb,'load'),_0x20778d['editing']['view']['change'](_0x2c5d29=>{_0x2c5d29['removeClass'](_0xfe7b7e,_0x295813),_0x2c5d29['removeStyle']('aspect-ratio',_0x1563ca);});});}function z(_0x131910){if(Array['isArray'](_0x131910)){const _0x66e76a=_0x131910['map'](z);return _0x5872b1=>_0x66e76a['some'](_0x2b8294=>_0x2b8294(_0x5872b1));}if('origin'==_0x131910){const _0x360f5c=_0x26140e['window']['location']['origin'];return _0x2661fc=>new URL(_0x2661fc,_0x26140e['document']['baseURI'])['origin']==_0x360f5c;}return'function'==typeof _0x131910?_0x131910:_0x131910 instanceof RegExp?_0x4b4fab=>!(!_0x4b4fab['match'](_0x131910)&&!_0x4b4fab['replace'](/^https?:\/\//,'')['match'](_0x131910)):()=>!0x1;}function O(_0x114c54,_0x2f5964){return _0x7c5489(_0x114c54['target'])['includes'](_0x2f5964);}class n extends/* #__PURE__ -- @preserve */
24
- _0x3c83f0(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x39b0d1,_0x4ef2ad,_0x217fd7){super(),this['_editor']=_0x39b0d1,this['_editing']=_0x4ef2ad,this['_dialog']=_0x39b0d1['plugins']['get'](_0xa099cb),this['_api']=_0x4ef2ad['ctxElement']['getAPI'](),this['_type']=_0x217fd7,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:_0x3bb2c7,model:_0x3cc408}=this['_editor'],_0x431c65=_0x3cc408['document']['selection']['getSelectedElement'](),_0x39af10=_0x431c65&&(_0x431c65['is']('element','imageBlock')||_0x431c65['is']('element','imageInline'));this['_formView']=new E(_0x3bb2c7,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xdddccd,'title':_(_0x3bb2c7,this['_type'],_0x39af10?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x18bb53['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x525508=>!O(_0x525508,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x40622a}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3e7c86=>{const _0x5bcbed=_0x40622a['length'];for(const _0x21a65a of _0x40622a){const _0x3aed3a=_0x21a65a===_0x40622a[_0x5bcbed-0x1],{cdnUrl:_0x5890f5,fileInfo:_0x4258e4}=_0x21a65a;if(!_0x5890f5||!_0x4258e4)continue;const {width:_0x398a5e,height:_0x3571c3}=_0x4258e4['imageInfo'],_0x54edfd=M(_0x5890f5,_0x398a5e,_0x3571c3),_0x12a70a=C(_0x5890f5,_0x54edfd['width']),_0x581f48={'id':_0x4258e4['uuid'],'type':'image','attributes':{'imageDimension':_0x54edfd,..._0x12a70a}};this['_insertAsset'](_0x581f48,_0x3aed3a,_0x3e7c86);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xaa0f97=>{'idle'===_0xaa0f97['detail']['status']&&!_0xaa0f97['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x49cef3,_0x141e31,_0x4df0d4){const _0x517eb7=this['_editor']['model']['document']['selection'],_0x4c71ea=_0x517eb7['getSelectedElement'](),_0x13f8c6=!(!_0x4c71ea||!_0x4c71ea['is']('element','imageInline'));_0x4df0d4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x49cef3,_0x13f8c6),_0x141e31||_0x4df0d4['setSelection'](_0x517eb7['getLastPosition']());}['_insertImage'](_0x48d1fd,_0x2378ca){const _0x34a663=this['_editor'],{imageDimension:_0x50d4f5,imageFallbackUrl:_0x98b0a8,imageSources:_0x272303}=_0x48d1fd['attributes'];_0x34a663['execute']('insertImage',{'imageType':_0x2378ca?'imageInline':null,'source':{'uploadcareImageId':_0x48d1fd['id'],'src':_0x98b0a8,'sources':_0x272303,..._0x50d4f5}});}}class w extends _0x249e8e{['_editing'];['_controller']=null;static get['requires'](){return[_0xa099cb,o];}constructor(_0xc92d21){super(_0xc92d21),this['_editing']=_0xc92d21['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x24cb27){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x24cb27);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4bb5c5,..._0x592beb}){return _0x1f63da(_0x4bb5c5,_0x592beb);}static['getInfo'](_0x72ef9f,_0x5b15e1){return _0x5a972b(_0x72ef9f,_0x5b15e1);}}class f extends _0x1b3829{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x493b6c,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x112dd4=this['editor'];if(!!!_0x112dd4['config']['get']('uploadcare'))return;_0x112dd4['plugins']['get'](_0x493b6c)['createUploadAdapter']=_0x368e4c=>new k(_0x368e4c,_0x112dd4),_0x112dd4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x207b03,{imageElement:_0x9cda77,data:_0x1d2b27})=>{_0x112dd4['model']['change'](_0x26cdbf=>{_0x26cdbf['setAttribute']('uploadcareImageId',_0x1d2b27['uploadcareImageId'],_0x9cda77);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xf22b1a,_0x164e93){this['loader']=_0xf22b1a,this['editor']=_0x164e93,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x26d9e4=await this['loader']['file'];return j['upload']({'file':_0x26d9e4,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x25895b=>{_0x25895b&&_0x25895b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x25895b['value']);}})['then'](async _0x135bb3=>{const {imageFallbackUrl:_0x4de49f,imageSources:_0x3c9da5}=C(_0x135bb3['cdnUrl'],_0x135bb3['imageInfo']['width']);return{'uploadcareImageId':_0x135bb3['uuid'],'default':_0x4de49f,'sources':_0x3c9da5};})['catch'](()=>{const _0x3229f2=t('Cannot\x20upload\x20file:')+('\x20'+_0x26d9e4['name']+'.');return Promise['reject'](_0x3229f2);});}['abort'](){this['controller']['abort']();}}class o extends _0x1b3829{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xa099cb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x633404){super(_0x633404),this['ucContextId']=_0x4fe74c();}['init'](){const _0xf906df=this['editor'];_0xf906df['commands']['add']('uploadcare',new w(_0xf906df));}['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 _0xddcb78=_0x26140e['document']['querySelector']('input[uploadcare-file-input]');_0xddcb78&&_0xddcb78['remove']();}),async function(_0x43e83a){const _0x4424d7=_0x3b8d80([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1ffa40=0x535f8c3a,_0x4a7616=0x5358f0d2^_0x1ffa40,_0x242b98=window[_0x3b8d80([0x44,0x61,0x74,0x65])][_0x3b8d80([0x6e,0x6f,0x77])](),_0x1898b3=_0x43e83a[_0x3b8d80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x285aba=new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a23db=>{_0x1898b3[_0x3b8d80([0x6f,0x6e,0x63,0x65])](_0x3b8d80([0x72,0x65,0x61,0x64,0x79]),_0x3a23db);}),_0x18fb1e={[_0x3b8d80([0x6b,0x74,0x79])]:_0x3b8d80([0x45,0x43]),[_0x3b8d80([0x75,0x73,0x65])]:_0x3b8d80([0x73,0x69,0x67]),[_0x3b8d80([0x63,0x72,0x76])]:_0x3b8d80([0x50,0x2d,0x32,0x35,0x36]),[_0x3b8d80([0x78])]:_0x3b8d80([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]),[_0x3b8d80([0x79])]:_0x3b8d80([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]),[_0x3b8d80([0x61,0x6c,0x67])]:_0x3b8d80([0x45,0x53,0x32,0x35,0x36])},_0x4a8888=_0x1898b3[_0x3b8d80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b8d80([0x67,0x65,0x74])](_0x3b8d80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4622f1(){let _0xf05f5e,_0x6ab3ce=null,_0x5e6c89=null;try{if(_0x4a8888==_0x3b8d80([0x47,0x50,0x4c]))return _0x3b8d80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf05f5e=_0x5b043e(),!_0xf05f5e)return _0x3b8d80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf05f5e[_0x3b8d80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e6c89=_0x5f0082(_0xf05f5e[_0x3b8d80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf05f5e[_0x3b8d80([0x6a,0x74,0x69])])),await _0x26ee49()?_0x2e6c27()?_0x482b6e()?_0x3b8d80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x455153()?(_0xf05f5e[_0x3b8d80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b8d80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6ab3ce=_0x1e656b(_0x3b8d80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf05f5e[_0x3b8d80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b8d80([0x74,0x72,0x69,0x61,0x6c])&&(_0x6ab3ce=_0x1e656b(_0x3b8d80([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x243578()):_0x3b8d80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b8d80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b8d80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b8d80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x482b6e(){const _0x1b50f8=[_0x3b8d80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b8d80([0x74,0x72,0x69,0x61,0x6c])][_0x3b8d80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf05f5e[_0x3b8d80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x242b98/0x3e8:0xe10*_0x4a7616;return _0xf05f5e[_0x3b8d80([0x65,0x78,0x70])]<_0x1b50f8;}function _0x2e6c27(){const _0xd5bcc1=_0xf05f5e[_0x3b8d80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd5bcc1&&(!!_0xd5bcc1[_0x3b8d80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8d80([0x2a]))||!!_0xd5bcc1[_0x3b8d80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8d80([0x55,0x50,0x4c,0x43])));}function _0x455153(){const _0x37ca06=_0xf05f5e[_0x3b8d80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37ca06||0x0==_0x37ca06[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x175255}=new URL(window[_0x3b8d80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37ca06[_0x3b8d80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x175255))return!0x0;const _0x4c023b=_0x175255[_0x3b8d80([0x73,0x70,0x6c,0x69,0x74])](_0x3b8d80([0x2e]));return _0x37ca06[_0x3b8d80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d031a=>_0x4d031a[_0x3b8d80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b8d80([0x2a])))[_0x3b8d80([0x6d,0x61,0x70])](_0x33fcc2=>_0x33fcc2[_0x3b8d80([0x73,0x70,0x6c,0x69,0x74])](_0x3b8d80([0x2e])))[_0x3b8d80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c2e80=>_0x2c2e80[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c023b[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b8d80([0x6d,0x61,0x70])](_0x33d907=>Array(_0x4c023b[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33d907[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b8d80([0x66,0x69,0x6c,0x6c])](_0x33d907[0x0]===_0x3b8d80([0x2a])?_0x3b8d80([0x2a]):'')[_0x3b8d80([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33d907))[_0x3b8d80([0x73,0x6f,0x6d,0x65])](_0xf62373=>_0x4c023b[_0x3b8d80([0x65,0x76,0x65,0x72,0x79])]((_0x4d9457,_0x42cfa2)=>_0xf62373[_0x42cfa2]===_0x4d9457||_0xf62373[_0x42cfa2]===_0x3b8d80([0x2a])));}function _0x243578(){return _0x6ab3ce&&_0x5e6c89?new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dff0d,_0x58f6c9)=>{_0x6ab3ce[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x1dff0d,_0x58f6c9),_0x5e6c89[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x391878=>{_0x391878!=_0x3b8d80([0x56,0x61,0x6c,0x69,0x64])&&_0x1dff0d(_0x391878);},_0x58f6c9);}):_0x6ab3ce||_0x5e6c89||_0x3b8d80([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5f0082(_0x3930d8,_0x2a599f){return new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5922=>{if(_0x537de2())return _0x5c5922(_0x3b8d80([0x56,0x61,0x6c,0x69,0x64]));_0x1a98fc(),_0x1898b3[_0x3b8d80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b8d80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2650e7=!0x1;const _0x1441e6=_0x4fe74c();function _0x47a46a(_0x31c235){return!!_0x31c235&&(typeof _0x31c235===_0x3b8d80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31c235===_0x3b8d80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31c235[_0x3b8d80([0x74,0x68,0x65,0x6e])]===_0x3b8d80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31c235[_0x3b8d80([0x63,0x61,0x74,0x63,0x68])]===_0x3b8d80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x56b4c1(_0xa8dba9){_0x2d2ee7(_0xa8dba9)[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x4ef0e6=>{if(!_0x4ef0e6||_0x4ef0e6[_0x3b8d80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b8d80([0x6f,0x6b]))return _0x3b8d80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb6fe6(_0x495f8f(_0x1441e6+_0x2a599f))!=_0x4ef0e6[_0x3b8d80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b8d80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b8d80([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x3dd3a2=>(_0x3b640d(),_0x3dd3a2),()=>{const _0x40074e=_0x2fe3f0();return null==_0x40074e?(_0x3b640d(),_0x3b8d80([0x56,0x61,0x6c,0x69,0x64])):_0x3b8d80(_0x242b98-_0x40074e>(0x7753083a^_0x1ffa40)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x5c5922)[_0x3b8d80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c5922(_0x3b8d80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16f2b1=0x536962ba^_0x1ffa40;function _0x3b640d(){const _0x296ec7=_0x3b8d80([0x6c,0x6c,0x63,0x74,0x2d])+_0xb6fe6(_0x495f8f(_0x3930d8)),_0x6ee908=_0x16715c(_0xb6fe6(window[_0x3b8d80([0x4d,0x61,0x74,0x68])][_0x3b8d80([0x63,0x65,0x69,0x6c])](_0x242b98/_0x16f2b1)));window[_0x3b8d80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b8d80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x296ec7,_0x6ee908);}function _0x2fe3f0(){const _0x26c239=_0x3b8d80([0x6c,0x6c,0x63,0x74,0x2d])+_0xb6fe6(_0x495f8f(_0x3930d8)),_0x59b7d6=window[_0x3b8d80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b8d80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c239);return _0x59b7d6?window[_0x3b8d80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16715c(_0x59b7d6),0x10)*_0x16f2b1:null;}function _0x2d2ee7(_0x2a8488){return new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d69ea,_0x18954b)=>{_0x2a8488[_0x3b8d80([0x74,0x68,0x65,0x6e])](_0x1d69ea,_0x18954b),window[_0x3b8d80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18954b,0x535e58fa^_0x1ffa40);});}}_0x1898b3[_0x3b8d80([0x6f,0x6e])](_0x3b8d80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c84c0,_0x2f5115)=>{if(_0x2f5115[0x0]!=_0x3930d8)return _0x5c5922(_0x3b8d80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f5115[0x1]={..._0x2f5115[0x1],[_0x3b8d80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1441e6};},{[_0x3b8d80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b8d80([0x68,0x69,0x67,0x68])}),_0x1898b3[_0x3b8d80([0x6f,0x6e])](_0x3b8d80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b3639=>{_0x47a46a(_0x3b3639[_0x3b8d80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2650e7=!0x0,_0x56b4c1(_0x3b3639[_0x3b8d80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b8d80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b8d80([0x6c,0x6f,0x77])}),_0x285aba[_0x3b8d80([0x74,0x68,0x65,0x6e])](()=>{_0x2650e7||_0x5c5922(_0x3b8d80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x537de2(){return _0x1898b3[_0x3b8d80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b8d80([0x76,0x69,0x65,0x77])][_0x3b8d80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b8d80([0x61,0x75,0x74,0x6f]);}function _0x1a98fc(){_0x1898b3[_0x3b8d80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b8d80([0x76,0x69,0x65,0x77])][_0x3b8d80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b8d80([0x61,0x75,0x74,0x6f]);}}function _0x1e656b(_0x7ce3a7){const _0x134c4a=[new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb65c=>setTimeout(_0x3fb65c,0x5356b2f6^_0x1ffa40)),_0x285aba[_0x3b8d80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x475cba=>{let _0x146cd5=0x0;_0x1898b3[_0x3b8d80([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8d80([0x6f,0x6e])](_0x3b8d80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b281f,_0x975aa0)=>{_0x975aa0[0x0][_0x3b8d80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x146cd5++,_0x146cd5==(0x535f89d2^_0x1ffa40)&&(_0x475cba(),_0x3b281f[_0x3b8d80([0x6f,0x66,0x66])]());});}))];return window[_0x3b8d80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b8d80([0x72,0x61,0x63,0x65])](_0x134c4a)[_0x3b8d80([0x74,0x68,0x65,0x6e])](()=>_0x7ce3a7);}async function _0x139f7b(){await _0x285aba,_0x1898b3[_0x3b8d80([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8d80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2725a5,_0x1898b3[_0x3b8d80([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b8d80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2725a5,_0x1898b3[_0x3b8d80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b8d80([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10c1d7(_0x585eaa){const _0x2aafd6=_0x5f1530();_0x1898b3[_0x2aafd6]=_0x3b8d80([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x585eaa,_0x585eaa!=_0x3b8d80([0x56,0x61,0x6c,0x69,0x64])&&_0x139f7b();}function _0x5f1530(){const _0x287322=window[_0x3b8d80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b8d80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b8d80([0x6e,0x6f,0x77])]())[_0x3b8d80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b8d80([0x2e]),'');let _0x2f2c36=_0x3b8d80([0x68]);for(let _0x86f1d9=0x0;_0x86f1d9<_0x287322[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x86f1d9+=0x2){let _0xff50c8=window[_0x3b8d80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x287322[_0x3b8d80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x86f1d9,_0x86f1d9+0x2));_0xff50c8>=_0x4424d7[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xff50c8-=_0x4424d7[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f2c36+=_0x4424d7[_0xff50c8];}return _0x2f2c36;}function _0x5b043e(){const _0x53d448=_0x4a8888[_0x3b8d80([0x73,0x70,0x6c,0x69,0x74])](_0x3b8d80([0x2e]));if(0x3!=_0x53d448[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57685c(_0x53d448[0x1]);function _0x57685c(_0x698713){const _0x5dce61=_0x537341(_0x698713);return _0x5dce61&&_0x3450c3()?_0x5dce61:null;function _0x3450c3(){const _0x39e836=_0x5dce61[_0x3b8d80([0x6a,0x74,0x69])],_0x32fba5=window[_0x3b8d80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39e836[_0x3b8d80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39e836[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b2fe5={..._0x5dce61,[_0x3b8d80([0x6a,0x74,0x69])]:_0x39e836[_0x3b8d80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39e836[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b2fe5[_0x3b8d80([0x76,0x63])],_0x495f8f(_0x4b2fe5)==_0x32fba5;}}}async function _0x26ee49(){let _0x2cb39a=!0x0;try{const _0x4b37cf=_0x4a8888[_0x3b8d80([0x73,0x70,0x6c,0x69,0x74])](_0x3b8d80([0x2e])),[_0x2b9516,_0x2059fa,_0xbb2d02]=_0x4b37cf;return _0x52bea5(_0x2b9516),await _0x2c9009(_0x2b9516,_0x2059fa,_0xbb2d02),_0x2cb39a;}catch{return!0x1;}function _0x52bea5(_0x33dddd){const _0xf994f0=_0x537341(_0x33dddd);_0xf994f0&&_0xf994f0[_0x3b8d80([0x61,0x6c,0x67])]==_0x3b8d80([0x45,0x53,0x32,0x35,0x36])||(_0x2cb39a=!0x1);}async function _0x2c9009(_0x5d3744,_0x209b4f,_0x396cd4){const _0x1fca65=window[_0x3b8d80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b8d80([0x66,0x72,0x6f,0x6d])](_0x4bb6d2(_0x396cd4),_0x1b362d=>_0x1b362d[_0x3b8d80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x24717f=new window[(_0x3b8d80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b8d80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d3744+_0x3b8d80([0x2e])+_0x209b4f),_0x3bd683=window[_0x3b8d80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b8d80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3bd683)return;const _0x64618d=await _0x3bd683[_0x3b8d80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b8d80([0x6a,0x77,0x6b]),_0x18fb1e,{[_0x3b8d80([0x6e,0x61,0x6d,0x65])]:_0x3b8d80([0x45,0x43,0x44,0x53,0x41]),[_0x3b8d80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b8d80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b8d80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3bd683[_0x3b8d80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b8d80([0x6e,0x61,0x6d,0x65])]:_0x3b8d80([0x45,0x43,0x44,0x53,0x41]),[_0x3b8d80([0x68,0x61,0x73,0x68])]:{[_0x3b8d80([0x6e,0x61,0x6d,0x65])]:_0x3b8d80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x64618d,_0x1fca65,_0x24717f)||(_0x2cb39a=!0x1);}}function _0x537341(_0x5c373f){return _0x5c373f[_0x3b8d80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b8d80([0x65,0x79]))?JSON[_0x3b8d80([0x70,0x61,0x72,0x73,0x65])](_0x4bb6d2(_0x5c373f)):null;}function _0x4bb6d2(_0x4116f8){return window[_0x3b8d80([0x61,0x74,0x6f,0x62])](_0x4116f8[_0x3b8d80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b8d80([0x2b]))[_0x3b8d80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b8d80([0x2f])));}function _0x495f8f(_0x4cc3ef){let _0x44b74e=0x1505;function _0x27f459(_0x1ac4d6){for(let _0x21f46a=0x0;_0x21f46a<_0x1ac4d6[_0x3b8d80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21f46a++){const _0x3946ab=_0x1ac4d6[_0x3b8d80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21f46a);_0x44b74e=(_0x44b74e<<0x5)+_0x44b74e+_0x3946ab,_0x44b74e&=_0x44b74e;}}function _0x2ab8bd(_0x2fc960){Array[_0x3b8d80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fc960)?_0x2fc960[_0x3b8d80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ab8bd):_0x2fc960&&typeof _0x2fc960==_0x3b8d80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b8d80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fc960)[_0x3b8d80([0x73,0x6f,0x72,0x74])]()[_0x3b8d80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35db63,_0x2fa4de])=>{_0x27f459(_0x35db63),_0x2ab8bd(_0x2fa4de);}):_0x27f459(window[_0x3b8d80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fc960));}return _0x2ab8bd(_0x4cc3ef),_0x44b74e>>>0x0;}function _0xb6fe6(_0x45b692){return _0x45b692[_0x3b8d80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b8d80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b8d80([0x30]));}function _0x16715c(_0x5dfa53){return _0x5dfa53[_0x3b8d80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b8d80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b8d80([0x6a,0x6f,0x69,0x6e])]('');}function _0x2725a5(){}function _0x3b8d80(_0x39096c){return _0x39096c['map'](_0x11fd82=>String['fromCharCode'](_0x11fd82))['join']('');}_0x10c1d7(await _0x4622f1());}(this);}['_initSchema'](){const _0x485bf8=this['editor']['model']['schema'];_0x485bf8['isRegistered']('imageBlock')&&_0x485bf8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x485bf8['isRegistered']('imageInline')&&_0x485bf8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4a8116=this['editor'];_0x4a8116['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4a8116['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x1bc639=>_0x1bc639['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2c6f16=_0x4a8116['commands']['get']('replaceImageSource');_0x2c6f16&&this['listenTo'](_0x2c6f16,'cleanupImage',(_0x48b36e,[_0xdb4ab,_0xba4df8])=>{_0xdb4ab['removeAttribute']('uploadcareImageId',_0xba4df8);});}['_initConfig'](){const _0x56fc20=this['editor']['config']['get']('uploadcare.uploader')||{},_0x37262a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1dc68e(_0x26140e['document'],'uc-config',{..._0x56fc20,'pubkey':_0x37262a,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1b42ce=>{if('closeMax'==_0x1b42ce)return'#uc-icon-arrow-down';},_0x26140e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1dc68e(_0x26140e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x26140e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2866eb=this['editor']['commands']['get']('insertImage');_0x2866eb&&this['listenTo'](_0x2866eb,'execute',()=>{const _0x25a2c8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x25a2c8&&_0x25a2c8['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x25a2c8);});});const _0x2db682=this['editor']['commands']['get']('uploadcareImageReplace');_0x2db682&&this['listenTo'](_0x2db682,'execute',()=>{const _0x4e69af=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e69af&&_0x4e69af['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4e69af);});});}}class tt extends _0x1b3829{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e517c){super(_0x2e517c),_0x2e517c['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3f2e00['defineComponents'](_0x3f2e00),this['_defineLocale']();}['_defineLocale'](){const _0x438eb3=this['editor']['config']['get']('uploadcare.locale'),_0x47a29b=this['editor']['locale']['contentLanguage'];_0x438eb3&&_0x3f2e00['defineLocale'](_0x47a29b,_0x438eb3);}}class ii extends _0x52e260{constructor(_0x2f1c30){super(_0x2f1c30);const t=_0x2f1c30['t'],_0x6d33d7=this['bindTemplate'],_0x272124=new _0x346673();_0x272124['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':[_0x272124,{'text':_0x6d33d7['to']('imageUploadProgress',_0x521362=>t('Loading\x20image...')+'\x20('+(_0x521362||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x52e260{constructor(_0x455144){super(_0x455144);const t=_0x455144['t'];this['set']('errorType',null);const _0x43308f=new _0x51727c(_0x455144);_0x43308f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x43308f['withText']=!0x0,_0x43308f['class']='ck-button-action',_0x43308f['on']('execute',()=>{this['fire']('retry');}),_0x43308f['bind']('isVisible')['to'](this,'errorType',_0x15c584=>'NotFound'!==_0x15c584);const _0x49086e=new _0xeca87b();_0x49086e['content']=_0x520dc8,_0x49086e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x9bc82=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':[_0x49086e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x9bc82['to']('errorType',_0x5f543b=>t('NotFound'!==_0x5f543b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x43308f]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x52e260{constructor(_0x1ed437,_0x3d2db6){super(_0x1ed437);const _0x12aa12=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x3d2db6,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x12aa12['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x218454,_0x224cce,_0x175bf5){super(_0x218454),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x218454),this['_errorView']=new ti(_0x218454),this['_editingView']=new ei(_0x218454,_0x175bf5),this['_focusableView']=new _0x52e260(_0x218454),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x224cce),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'],_0x1ec356=>{this['_addUploadcareImageEditorListeners'](_0x1ec356);});}),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'](_0x3eab98,_0x2eca51){const _0x51f102='uc-cloud-image-editor',_0x431ac4=_0x3eab98['querySelector'](_0x51f102);if(_0x431ac4)return _0x2eca51(_0x431ac4);const _0xc66283=new MutationObserver(_0x516112=>{const _0xe2a7c8=_0x516112['filter'](_0x297a2a=>_0x297a2a['target']===_0x3eab98&&_0x297a2a['addedNodes']['length']>0x0&&_0x297a2a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x51f102);_0xe2a7c8['length']&&(_0xc66283['disconnect'](),_0x2eca51(_0xe2a7c8[0x0]['addedNodes'][0x0]));});_0xc66283['observe'](_0x3eab98,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5c88dd){_0x5c88dd['addEventListener']('apply',_0x46532e=>{this['fire']('apply',{'imageSrc':_0x46532e['detail']['cdnUrl']});}),_0x5c88dd['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class G extends/* #__PURE__ -- @preserve */
25
- _0x3c83f0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x167e63,_0x511f54,_0x3a5679){super(),this['_editor']=_0x167e63,this['_dialog']=_0x511f54,this['_imageElement']=_0x3a5679,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 _0x4d841f=this['_imageElement'],_0x5ef91b=_0x4d841f['getAttribute']('uploadcareImageId'),_0x22efe3=_0x4d841f['getAttribute']('src');if(_0x5ef91b)await this['_loadImageInfo'](_0x5ef91b,_0x22efe3);else{if(this['_imageCache']['has'](_0x22efe3)){const _0x23c842=this['_imageCache']['get'](_0x22efe3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23c842['url'],this['imageDimension']=_0x23c842['dimension'],this['imageId']=_0x23c842['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x929e87}=this['_editor'],t=_0x929e87['t'],_0x409156=new X(_0x929e87,this['imageStatus'],this['_attributes']);_0x409156['bind']('status')['to'](this,'imageStatus'),_0x409156['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x409156['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x409156['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x409156,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fcded,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x409156,'position':_0x18bb53['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x409156['focus']();},'onHide':()=>{_0x409156['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e5b77=>!O(_0x4e5b77,_0x409156['element'])}});}['_loadImageInfo'](_0x27887c,_0xae979){return j['getInfo'](_0x27887c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2ba24a=>{const {width:_0x58cd31,height:_0x15fb83}=_0x2ba24a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xae979,this['imageDimension']={'width':_0x58cd31,'height':_0x15fb83},this['imageId']=_0x27887c;})['catch'](_0x13aa56=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13aa56['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3fb967,_0x5d1417){return this['_getImageAsFile'](_0x3fb967)['then'](_0x36c828=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5d1417['signal'],'file':_0x36c828,'onProgress':_0x41b7ac=>{_0x41b7ac&&_0x41b7ac['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x41b7ac['value']));}}))['then'](_0x15bcf2=>{const {width:_0x5a2e14,height:_0x2bebd1}=_0x15bcf2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15bcf2['cdnUrl'],this['imageDimension']={'width':_0x5a2e14,'height':_0x2bebd1},this['imageId']=_0x15bcf2['uuid'],this['imageUploadProgress']=null;const _0x154a45=_0x3fb967['getAttribute']('src');this['_imageCache']['set'](_0x154a45,{'id':_0x15bcf2['uuid'],'url':_0x15bcf2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x108509=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x108509['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x314d4b,_0x19c55b){_0x314d4b['on']('apply',(_0x4c7423,_0x552556)=>{this['_replaceImage'](_0x19c55b,_0x552556['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x314d4b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x314d4b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x17055f,_0x4dfb79,_0x288fd8){const _0x3c8d63=this['_editor'],{width:_0x354079,height:_0x2c1a44}=M(_0x4dfb79,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x596a85,imageSources:_0x1eba23}=C(_0x4dfb79,_0x354079);_0x3c8d63['model']['change'](_0x24877a=>{if('$graveyard'===_0x17055f['root']['rootName']){_0x3c8d63['execute']('insertImage',{'imageType':_0x17055f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x17055f['getAttributes']()),'uploadcareImageId':_0x288fd8,'src':_0x596a85,'sources':_0x1eba23,'width':_0x354079,'height':_0x2c1a44}});const _0x4a5084=_0x17055f['getChildren']();_0x17055f=_0x3c8d63['model']['document']['selection']['getSelectedElement']();for(const _0x5415cd of _0x4a5084)_0x24877a['append'](_0x24877a['cloneElement'](_0x5415cd),_0x17055f);}else _0x24877a['setSelection'](_0x17055f,'on'),_0x3c8d63['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x17055f['getAttributes']()),'uploadcareImageId':_0x288fd8,'src':_0x596a85,'sources':_0x1eba23,'width':_0x354079,'height':_0x2c1a44},_0x17055f);_0x24877a['setSelection'](_0x17055f,'on');});}async['_getImageAsFile'](_0x5f2a9a){const _0x393524=_0x26140e['window'],_0x1f1901=_0x26140e['document']['location']['href'],_0x414e0b=new _0x393524['URL'](_0x5f2a9a['getAttribute']('src'),_0x1f1901);if('data:'===_0x414e0b['protocol']){const _0x1c6375=_0x414e0b['href']['split'](','),_0x228a2b=_0x1c6375[0x0]['match'](/:(.*?);/)[0x1],_0x4c6cc3=_0x228a2b['split']('/')[0x1],_0x46fa27=_0x393524['atob'](_0x1c6375[_0x1c6375['length']-0x1]);let _0x134f10=_0x46fa27['length'];const _0x1e0239=new _0x393524['Uint8Array'](_0x134f10);for(;_0x134f10--;)_0x1e0239[_0x134f10]=_0x46fa27['charCodeAt'](_0x134f10);return new _0x393524['File']([_0x1e0239],'image.'+_0x4c6cc3,{'type':_0x228a2b});}const _0x2618ee=_0x414e0b['href']['split']('/'),_0x15fa70=_0x2618ee[_0x2618ee['length']-0x1],_0x529213=_0x15fa70['split']('.')[0x1];return _0x393524['fetch'](_0x414e0b['href'])['then'](_0x53427c=>_0x53427c['clone']()['blob']())['then'](_0x361e76=>new _0x393524['File']([_0x361e76],_0x15fa70,{'type':'image/'+_0x529213}));}}class R extends _0x249e8e{['imageEditController'];static get['requires'](){return[_0xa099cb];}['_isEditable'];constructor(_0x2cb523){super(_0x2cb523),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x445562){const _0x435e37=z(_0x445562);return _0x40c4a4=>!(!_0x40c4a4||!_0x40c4a4['is']('element','imageBlock')&&!_0x40c4a4['is']('element','imageInline'))&&(!!_0x40c4a4['hasAttribute']('uploadcareImageId')||!!_0x40c4a4['hasAttribute']('src')&&_0x435e37(_0x40c4a4['getAttribute']('src')));}(_0x2cb523['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5a9f06=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5a9f06);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x58ae26=this['editor']['model']['document']['selection']['getSelectedElement']();_0x58ae26&&(_0x58ae26['is']('element','imageBlock')||_0x58ae26['is']('element','imageInline'))&&(this['imageEditController']=new G(this['editor'],this['editor']['plugins']['get'](_0xa099cb),_0x58ae26),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class Q extends _0x249e8e{['refresh'](){const _0x1eaa22=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x1eaa22&&(_0x1eaa22['is']('element','imageBlock')||_0x1eaa22['is']('element','imageInline')));}['execute'](_0x1601df){const _0xaec326=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x187ff2=>{_0x187ff2['setAttributes'](_0x1601df,_0xaec326),_0x187ff2['removeAttribute']('srcset',_0xaec326),_0x187ff2['removeAttribute']('sizes',_0xaec326);});}}class m extends _0x1b3829{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x29da43,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x264e6e}=this;_0x264e6e['commands']['add']('uploadcareImageEdit',new R(_0x264e6e)),_0x264e6e['commands']['add']('uploadcareImageReplace',new Q(_0x264e6e));}}class g extends _0x1b3829{['_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 _0x18b6fc=this['editor'];_0x18b6fc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x31e1d9=>{const _0x1e5d7c=_0x18b6fc['commands']['get']('uploadcareImageEdit'),_0x34ef56=new _0x51727c(_0x31e1d9),t=_0x31e1d9['t'];return _0x34ef56['set']({'icon':_0x4fcded,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x34ef56['bind']('isEnabled')['to'](_0x1e5d7c),_0x34ef56['bind']('isOn')['to'](_0x1e5d7c,'isActive'),this['listenTo'](_0x34ef56,'execute',()=>{_0x18b6fc['execute']('uploadcareImageEdit'),_0x18b6fc['editing']['view']['focus']();}),_0x34ef56;}),this['_initConfig']();}['_initConfig'](){const _0x506f3d=_0x1dc68e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x506f3d),this['listenTo'](this['editor'],'destroy',()=>{_0x506f3d['remove']();});}}class et extends _0x1b3829{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,R as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x185545,Command as _0x7579d8}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x59c3c5,IconGooglePhotos as _0x284a26,IconGoogleDrive as _0x4bdc98,IconFacebook as _0x42a1cd,IconDropbox as _0x47f62c,IconUploadcareLink as _0x12a7de,IconUploadcareImageUpload as _0x59323,IconError as _0x47d799,IconUploadcareImageEdit as _0x214805}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x346bd7,MenuBarMenuListItemButtonView as _0x332cb5,View as _0x26bb6f,FocusCycler as _0x477e28,Dialog as _0x66662a,DialogViewPosition as _0x2a850d,SpinnerView as _0x4f8135,IconView as _0x212f64,Notification as _0x1aafb3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x556d24,DomEmitterMixin as _0x97d326,global as _0xf5db7e,getAncestors as _0x45328d,ObservableMixin as _0x3a0571,uid as _0x3cade6,createElement as _0x1eb9c3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x9839b2}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x494e68,info as _0x534141}from'@uploadcare/upload-client';import*as _0x185374 from'@uploadcare/file-uploader';var i=function(_0x2afde5){return _0x2afde5['Local']='local',_0x2afde5['URL']='url',_0x2afde5['Dropbox']='dropbox',_0x2afde5['GDrive']='gdrive',_0x2afde5['Facebook']='facebook',_0x2afde5['GPhotos']='gphotos',_0x2afde5['OneDrive']='onedrive',_0x2afde5;}({});function _(_0x5a62d7,_0x139f90,_0x26ff5e){const t=_0x5a62d7['t'],_0x20e1a7=_0x5a62d7['t'];switch(_0x139f90){case i['Local']:return{'text':_0x20e1a7('Insert'===_0x26ff5e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x20e1a7('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x26ff5e?_0x20e1a7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x20e1a7('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x26ff5e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x26ff5e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x26ff5e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x26ff5e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x26ff5e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x139f90;}}class e extends _0x185545{['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 _0x21bffe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fc100;for(const _0x2248e5 in _0x21bffe){const _0x17a915=_0x2248e5,_0xf5bdce=_0x21bffe[_0x17a915];if('uploadcareLicenseKeyValid'==_0xf5bdce||'uploadcareLicenseKeyInvalid'==_0xf5bdce||'uploadcareLicenseKeyExpired'==_0xf5bdce||'uploadcareLicenseKeyDomainLimit'==_0xf5bdce||'uploadcareLicenseKeyNotAllowed'==_0xf5bdce||'uploadcareLicenseKeyEvaluationLimit'==_0xf5bdce||'uploadcareLicenseKeyTrialLimit'==_0xf5bdce||'uploadcareLicenseKeyUsageLimit'==_0xf5bdce){delete _0x21bffe[_0x17a915],_0x1fc100=_0xf5bdce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1fc100&&_0x21bffe['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1fc100&&_0x21bffe['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1fc100&&_0x21bffe['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1fc100&&_0x21bffe['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1fc100&&_0x21bffe['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1fc100&&_0x21bffe['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1fc100&&_0x21bffe['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x5d5d56}=this,_0x17e192=_0x5d5d56['commands']['get']('uploadcare');if(!_0x17e192)return;const _0x333f71=this['_normalizeConfigSourceList'](_0x5d5d56['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x280cc2,_0x46d969)=>{const _0x425489=this['_getIntegrationKey'](_0x46d969['type']);return _0x280cc2[_0x425489]||(_0x280cc2[_0x425489]=[]),_0x280cc2[_0x425489]['push'](_0x46d969),_0x280cc2;},{});_0x5d5d56['plugins']['has']('ImageInsertUI')&&_0x5d5d56['commands']['get']('uploadcare')&&Object['entries'](_0x333f71)['forEach'](([_0x364714,_0x5d6145])=>{_0x5d5d56['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x364714,'observable':()=>_0x17e192,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5d6145),'formViewCreator':()=>this['_createDropdownButtons'](_0x5d6145),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5d6145),'override':'assetManager'!==_0x364714});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x4ed2e5){const {locale:_0x122f3a}=this['editor'];return _0x4ed2e5['map'](_0x118616=>{const _0x5a9d3f=_(_0x122f3a,_0x118616,'Insert');switch(_0x118616){case i['Local']:return{'icon':_0x59323,'type':i['Local'],..._0x5a9d3f};case i['URL']:return{'icon':_0x12a7de,'type':i['URL'],..._0x5a9d3f};case i['Dropbox']:return{'icon':_0x47f62c,'type':i['Dropbox'],..._0x5a9d3f};case i['Facebook']:return{'icon':_0x42a1cd,'type':i['Facebook'],..._0x5a9d3f};case i['GDrive']:return{'icon':_0x4bdc98,'type':i['GDrive'],..._0x5a9d3f};case i['GPhotos']:return{'icon':_0x284a26,'type':i['GPhotos'],..._0x5a9d3f};case i['OneDrive']:return{'icon':_0x59c3c5,'type':i['OneDrive'],..._0x5a9d3f};}});}['_getIntegrationKey'](_0x4f4177){switch(_0x4f4177){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x1cfe3f,_0x35650d){const _0x17e7af=this['editor'],_0xd803d8=new _0x1cfe3f(_0x17e7af['locale']),_0x1c9eb8=_0x17e7af['commands']['get']('uploadcare');return _0xd803d8['bind']('isEnabled')['to'](_0x1c9eb8),_0xd803d8['on']('execute',()=>{_0x1c9eb8['execute'](_0x35650d);}),_0xd803d8;}['_createToolbarButton'](_0x56f092){const {locale:_0x534612}=this['editor'],_0x20fb6b=this['editor']['plugins']['get']('ImageInsertUI'),_0x39a4b5=_0x56f092[0x0],_0x285ae9=this['_createButton'](_0x346bd7,_0x39a4b5['type']);return _0x285ae9['icon']=_0x39a4b5['icon'],_0x285ae9['bind']('label')['to'](_0x20fb6b,'isImageSelected',_0x4398a6=>_(_0x534612,_0x39a4b5['type'],_0x4398a6?'Replace':'Insert')['text']),_0x285ae9['tooltip']=!0x0,_0x285ae9;}['_createDropdownButtons'](_0xd8bef3){const {locale:_0x2fd065}=this['editor'],_0x302077=this['editor']['plugins']['get']('ImageInsertUI');return _0xd8bef3['map'](_0x47fa7d=>{const _0x37638d=this['_createButton'](_0x346bd7,_0x47fa7d['type']);return _0x37638d['withText']=!0x0,_0x37638d['icon']=_0x47fa7d['icon'],_0x37638d['bind']('label')['to'](_0x302077,'isImageSelected',_0x195ff5=>_(_0x2fd065,_0x47fa7d['type'],_0x195ff5?'Replace':'Insert')['text']),_0x37638d;});}['_createMenuBarButtons'](_0x20ea90){return _0x20ea90['map'](_0x2964d0=>{const _0x4ffb35=this['_createButton'](_0x332cb5,_0x2964d0['type']);return _0x4ffb35['icon']=_0x2964d0['icon'],_0x4ffb35['label']=_0x2964d0['shortText'],_0x4ffb35;});}}class F extends _0x26bb6f{['focusTracker'];['focusCycler'];constructor(_0x4d9957){super(_0x4d9957),this['focusTracker']=new _0x556d24(),this['focusCycler']=new _0x477e28({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class x extends F{constructor(_0x155d01,_0x49a045){super(_0x155d01),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-'+_0x49a045}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x77fce3,_0x451492){const _0x499e2e=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x269f80=>_0x269f80<=_0x451492)['map'](_0x339c04=>_0x77fce3['replace'](/\/$/,'')+'/-/resize/'+_0x339c04+'x/\x20'+_0x339c04+'w');return{'imageFallbackUrl':_0x77fce3,'imageSources':[{'srcset':_0x499e2e['join'](',\x20'),'sizes':'(max-width:\x20'+_0x451492+'px)\x20100vw,\x20'+_0x451492+'px','type':'image/webp'}]};}function S(_0x225cef,_0x62e328,_0x5d073d){const _0x4edfd7=_0x225cef['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4edfd7?parseInt(_0x4edfd7[0x1],0xa):_0x62e328,'height':_0x4edfd7?parseInt(_0x4edfd7[0x2],0xa):_0x5d073d};}function p(_0x307cdc,_0x46d592){const _0x11f1c1=new(_0x97d326())(),_0x702dee=_0x307cdc['plugins']['get']('ImageUtils'),_0x36f43b=_0x307cdc['editing']['mapper']['toViewElement'](_0x46d592),_0x132999=_0x702dee['findViewImgElement'](_0x36f43b),_0xdc4aab=_0x307cdc['editing']['view']['domConverter']['viewToDom'](_0x132999),_0x3bcd1f=_0x46d592['getAttribute']('width'),_0xfd34df=_0x46d592['getAttribute']('height'),_0x2c5e40='image-processing';_0x307cdc['editing']['view']['change'](_0x161902=>{_0x161902['addClass'](_0x2c5e40,_0x36f43b),_0x161902['setStyle']('aspect-ratio',_0x3bcd1f+'/'+_0xfd34df,_0x132999);}),_0x11f1c1['listenTo'](_0xdc4aab,'load',()=>{_0x11f1c1['stopListening'](_0xdc4aab,'load'),_0x307cdc['editing']['view']['change'](_0x2ffe70=>{_0x2ffe70['removeClass'](_0x2c5e40,_0x36f43b),_0x2ffe70['removeStyle']('aspect-ratio',_0x132999);});});}function G(_0x5a32a1){if(Array['isArray'](_0x5a32a1)){const _0x3ee123=_0x5a32a1['map'](G);return _0x3bb4b8=>_0x3ee123['some'](_0x21ad83=>_0x21ad83(_0x3bb4b8));}if('origin'==_0x5a32a1){const _0x4fa5d2=_0xf5db7e['window']['location']['origin'];return _0x3a5671=>new URL(_0x3a5671,_0xf5db7e['document']['baseURI'])['origin']==_0x4fa5d2;}return'function'==typeof _0x5a32a1?_0x5a32a1:_0x5a32a1 instanceof RegExp?_0x279d9d=>!(!_0x279d9d['match'](_0x5a32a1)&&!_0x279d9d['replace'](/^https?:\/\//,'')['match'](_0x5a32a1)):()=>!0x1;}function A(_0x590592,_0x12507a){return _0x45328d(_0x590592['target'])['includes'](_0x12507a);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3a0571(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3c080b,_0x3e4f4a,_0x386c8f){super(),this['_editor']=_0x3c080b,this['_editing']=_0x3e4f4a,this['_dialog']=_0x3c080b['plugins']['get'](_0x66662a),this['_api']=_0x3e4f4a['ctxElement']['getAPI'](),this['_type']=_0x386c8f,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:_0x5c6b20,model:_0x37d393}=this['_editor'],_0x5ea914=_0x37d393['document']['selection']['getSelectedElement'](),_0x54f473=_0x5ea914&&(_0x5ea914['is']('element','imageBlock')||_0x5ea914['is']('element','imageInline'));this['_formView']=new x(_0x5c6b20,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x59323,'title':_(_0x5c6b20,this['_type'],_0x54f473?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x2a850d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d977b=>!A(_0x1d977b,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x28d326}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x125b0e=>{const _0x46b534=_0x28d326['length'];for(const _0x2038c7 of _0x28d326){const _0xf0bf47=_0x2038c7===_0x28d326[_0x46b534-0x1],{cdnUrl:_0x52e259,fileInfo:_0x208284}=_0x2038c7;if(!_0x52e259||!_0x208284)continue;const {width:_0x4491e2,height:_0x4f8767}=_0x208284['imageInfo'],_0x44bc73=S(_0x52e259,_0x4491e2,_0x4f8767),_0x55a672=C(_0x52e259,_0x44bc73['width']),_0x1c3e19={'id':_0x208284['uuid'],'type':'image','attributes':{'imageDimension':_0x44bc73,..._0x55a672}};this['_insertAsset'](_0x1c3e19,_0xf0bf47,_0x125b0e);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x5d104b=>{'idle'===_0x5d104b['detail']['status']&&!_0x5d104b['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x4efea5,_0xdeea75,_0x5ca8ae){const _0x45b548=this['_editor']['model']['document']['selection'],_0x38515a=_0x45b548['getSelectedElement'](),_0x31c7fe=!(!_0x38515a||!_0x38515a['is']('element','imageInline'));_0x5ca8ae['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4efea5,_0x31c7fe),_0xdeea75||_0x5ca8ae['setSelection'](_0x45b548['getLastPosition']());}['_insertImage'](_0x25c9a8,_0x49d6de){const _0x34868c=this['_editor'],{imageDimension:_0x44eea8,imageFallbackUrl:_0x2d1cf0,imageSources:_0x3b47d7}=_0x25c9a8['attributes'];_0x34868c['execute']('insertImage',{'imageType':_0x49d6de?'imageInline':null,'source':{'uploadcareImageId':_0x25c9a8['id'],'src':_0x2d1cf0,'sources':_0x3b47d7,..._0x44eea8}});}}class w extends _0x7579d8{['_editing'];['_controller']=null;static get['requires'](){return[_0x66662a,o];}constructor(_0x9e7d63){super(_0x9e7d63),this['_editing']=_0x9e7d63['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x4926a2){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x4926a2);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x40dfc3,..._0x3aa5c2}){return _0x494e68(_0x40dfc3,_0x3aa5c2);}static['getInfo'](_0x3601b0,_0x2ed1bf){return _0x534141(_0x3601b0,_0x2ed1bf);}}class f extends _0x185545{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x9839b2,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5ba5ba=this['editor'];if(!!!_0x5ba5ba['config']['get']('uploadcare'))return;_0x5ba5ba['plugins']['get'](_0x9839b2)['createUploadAdapter']=_0x5535ae=>new k(_0x5535ae,_0x5ba5ba),_0x5ba5ba['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x57e784,{imageElement:_0x5a969e,data:_0x304a44})=>{_0x5ba5ba['model']['change'](_0x3178e5=>{_0x3178e5['setAttribute']('uploadcareImageId',_0x304a44['uploadcareImageId'],_0x5a969e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x23570f,_0x1d93de){this['loader']=_0x23570f,this['editor']=_0x1d93de,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4dbfd3=await this['loader']['file'];return j['upload']({'file':_0x4dbfd3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1f4561=>{_0x1f4561&&_0x1f4561['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1f4561['value']);}})['then'](async _0x5871bb=>{const {imageFallbackUrl:_0x471907,imageSources:_0x4e7d36}=C(_0x5871bb['cdnUrl'],_0x5871bb['imageInfo']['width']);return{'uploadcareImageId':_0x5871bb['uuid'],'default':_0x471907,'sources':_0x4e7d36};})['catch'](()=>{const _0x40e618=t('Cannot\x20upload\x20file:')+('\x20'+_0x4dbfd3['name']+'.');return Promise['reject'](_0x40e618);});}['abort'](){this['controller']['abort']();}}class o extends _0x185545{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x66662a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5368a2){super(_0x5368a2),this['ucContextId']=_0x3cade6();}['init'](){const _0x3e4e5e=this['editor'];_0x3e4e5e['commands']['add']('uploadcare',new w(_0x3e4e5e));}['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 _0x2fac7d=_0xf5db7e['document']['querySelector']('input[uploadcare-file-input]');_0x2fac7d&&_0x2fac7d['remove']();}),async function(_0x40af24){const _0x26f77f=_0x144be2([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x18793b=0x535f8c3a,_0xbd1c99=0x5358f0d2^_0x18793b,_0x3017bd=window[_0x144be2([0x44,0x61,0x74,0x65])][_0x144be2([0x6e,0x6f,0x77])](),_0x769cc9=_0x40af24[_0x144be2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf0a1fc=new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1677c7=>{_0x769cc9[_0x144be2([0x6f,0x6e,0x63,0x65])](_0x144be2([0x72,0x65,0x61,0x64,0x79]),_0x1677c7);}),_0x259829={[_0x144be2([0x6b,0x74,0x79])]:_0x144be2([0x45,0x43]),[_0x144be2([0x75,0x73,0x65])]:_0x144be2([0x73,0x69,0x67]),[_0x144be2([0x63,0x72,0x76])]:_0x144be2([0x50,0x2d,0x32,0x35,0x36]),[_0x144be2([0x78])]:_0x144be2([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]),[_0x144be2([0x79])]:_0x144be2([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]),[_0x144be2([0x61,0x6c,0x67])]:_0x144be2([0x45,0x53,0x32,0x35,0x36])},_0x459226=_0x769cc9[_0x144be2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x144be2([0x67,0x65,0x74])](_0x144be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xfb2543(){let _0x55b101,_0x3b2e0e=null,_0xcf22d5=null;try{if(_0x459226==_0x144be2([0x47,0x50,0x4c]))return _0x144be2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55b101=_0x540462(),!_0x55b101)return _0x144be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55b101[_0x144be2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcf22d5=_0x15ac55(_0x55b101[_0x144be2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55b101[_0x144be2([0x6a,0x74,0x69])])),await _0x2b895d()?_0x333b1e()?_0x246fac()?_0x144be2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22eb19()?(_0x55b101[_0x144be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x144be2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b2e0e=_0x55477e(_0x144be2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55b101[_0x144be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x144be2([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b2e0e=_0x55477e(_0x144be2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d850b()):_0x144be2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x144be2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x144be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x144be2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x246fac(){const _0x457f3f=[_0x144be2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x144be2([0x74,0x72,0x69,0x61,0x6c])][_0x144be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55b101[_0x144be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3017bd/0x3e8:0xe10*_0xbd1c99;return _0x55b101[_0x144be2([0x65,0x78,0x70])]<_0x457f3f;}function _0x333b1e(){const _0x1aa8c3=_0x55b101[_0x144be2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1aa8c3&&(!!_0x1aa8c3[_0x144be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x144be2([0x2a]))||!!_0x1aa8c3[_0x144be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x144be2([0x55,0x50,0x4c,0x43])));}function _0x22eb19(){const _0x11d3dc=_0x55b101[_0x144be2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11d3dc||0x0==_0x11d3dc[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4fbc27}=new URL(window[_0x144be2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11d3dc[_0x144be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fbc27))return!0x0;const _0x534000=_0x4fbc27[_0x144be2([0x73,0x70,0x6c,0x69,0x74])](_0x144be2([0x2e]));return _0x11d3dc[_0x144be2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325986=>_0x325986[_0x144be2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x144be2([0x2a])))[_0x144be2([0x6d,0x61,0x70])](_0x13c053=>_0x13c053[_0x144be2([0x73,0x70,0x6c,0x69,0x74])](_0x144be2([0x2e])))[_0x144be2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a26b5=>_0x4a26b5[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x534000[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x144be2([0x6d,0x61,0x70])](_0x4deda9=>Array(_0x534000[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4deda9[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x144be2([0x66,0x69,0x6c,0x6c])](_0x4deda9[0x0]===_0x144be2([0x2a])?_0x144be2([0x2a]):'')[_0x144be2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4deda9))[_0x144be2([0x73,0x6f,0x6d,0x65])](_0x4583b5=>_0x534000[_0x144be2([0x65,0x76,0x65,0x72,0x79])]((_0xf85051,_0x495583)=>_0x4583b5[_0x495583]===_0xf85051||_0x4583b5[_0x495583]===_0x144be2([0x2a])));}function _0x3d850b(){return _0x3b2e0e&&_0xcf22d5?new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b0cfd,_0x53df73)=>{_0x3b2e0e[_0x144be2([0x74,0x68,0x65,0x6e])](_0x3b0cfd,_0x53df73),_0xcf22d5[_0x144be2([0x74,0x68,0x65,0x6e])](_0x5f768e=>{_0x5f768e!=_0x144be2([0x56,0x61,0x6c,0x69,0x64])&&_0x3b0cfd(_0x5f768e);},_0x53df73);}):_0x3b2e0e||_0xcf22d5||_0x144be2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15ac55(_0x5437ba,_0x28aba0){return new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58ea43=>{if(_0x54694a())return _0x58ea43(_0x144be2([0x56,0x61,0x6c,0x69,0x64]));_0x8d21ac(),_0x769cc9[_0x144be2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x144be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d46ea=!0x1;const _0x113af5=_0x3cade6();function _0x1e50b9(_0x5968bf){return!!_0x5968bf&&(typeof _0x5968bf===_0x144be2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5968bf===_0x144be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5968bf[_0x144be2([0x74,0x68,0x65,0x6e])]===_0x144be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5968bf[_0x144be2([0x63,0x61,0x74,0x63,0x68])]===_0x144be2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fa90d(_0x27a57a){_0x1c5fe3(_0x27a57a)[_0x144be2([0x74,0x68,0x65,0x6e])](_0x1660b6=>{if(!_0x1660b6||_0x1660b6[_0x144be2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x144be2([0x6f,0x6b]))return _0x144be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35d208(_0x6ccdbd(_0x113af5+_0x28aba0))!=_0x1660b6[_0x144be2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x144be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x144be2([0x56,0x61,0x6c,0x69,0x64]);})[_0x144be2([0x74,0x68,0x65,0x6e])](_0x55a8d7=>(_0x23734c(),_0x55a8d7),()=>{const _0x4c0f0f=_0x43ce27();return null==_0x4c0f0f?(_0x23734c(),_0x144be2([0x56,0x61,0x6c,0x69,0x64])):_0x144be2(_0x3017bd-_0x4c0f0f>(0x7753083a^_0x18793b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x144be2([0x74,0x68,0x65,0x6e])](_0x58ea43)[_0x144be2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58ea43(_0x144be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3054ab=0x536962ba^_0x18793b;function _0x23734c(){const _0x4b461f=_0x144be2([0x6c,0x6c,0x63,0x74,0x2d])+_0x35d208(_0x6ccdbd(_0x5437ba)),_0x2798a9=_0x1185eb(_0x35d208(window[_0x144be2([0x4d,0x61,0x74,0x68])][_0x144be2([0x63,0x65,0x69,0x6c])](_0x3017bd/_0x3054ab)));window[_0x144be2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x144be2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b461f,_0x2798a9);}function _0x43ce27(){const _0x334177=_0x144be2([0x6c,0x6c,0x63,0x74,0x2d])+_0x35d208(_0x6ccdbd(_0x5437ba)),_0x3f1fc0=window[_0x144be2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x144be2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x334177);return _0x3f1fc0?window[_0x144be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1185eb(_0x3f1fc0),0x10)*_0x3054ab:null;}function _0x1c5fe3(_0x4f0669){return new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f36ec,_0x4c8251)=>{_0x4f0669[_0x144be2([0x74,0x68,0x65,0x6e])](_0x2f36ec,_0x4c8251),window[_0x144be2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c8251,0x535e58fa^_0x18793b);});}}_0x769cc9[_0x144be2([0x6f,0x6e])](_0x144be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52478d,_0x52c312)=>{if(_0x52c312[0x0]!=_0x5437ba)return _0x58ea43(_0x144be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52c312[0x1]={..._0x52c312[0x1],[_0x144be2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x113af5};},{[_0x144be2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x144be2([0x68,0x69,0x67,0x68])}),_0x769cc9[_0x144be2([0x6f,0x6e])](_0x144be2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ef48f=>{_0x1e50b9(_0x2ef48f[_0x144be2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d46ea=!0x0,_0x3fa90d(_0x2ef48f[_0x144be2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x144be2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x144be2([0x6c,0x6f,0x77])}),_0xf0a1fc[_0x144be2([0x74,0x68,0x65,0x6e])](()=>{_0x5d46ea||_0x58ea43(_0x144be2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54694a(){return _0x769cc9[_0x144be2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x144be2([0x76,0x69,0x65,0x77])][_0x144be2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x144be2([0x61,0x75,0x74,0x6f]);}function _0x8d21ac(){_0x769cc9[_0x144be2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x144be2([0x76,0x69,0x65,0x77])][_0x144be2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x144be2([0x61,0x75,0x74,0x6f]);}}function _0x55477e(_0x38de70){const _0x3e7fb7=[new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45a2e4=>setTimeout(_0x45a2e4,0x5356b2f6^_0x18793b)),_0xf0a1fc[_0x144be2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3598eb=>{let _0x1f4d16=0x0;_0x769cc9[_0x144be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x144be2([0x6f,0x6e])](_0x144be2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36c329,_0x574149)=>{_0x574149[0x0][_0x144be2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f4d16++,_0x1f4d16==(0x535f89d2^_0x18793b)&&(_0x3598eb(),_0x36c329[_0x144be2([0x6f,0x66,0x66])]());});}))];return window[_0x144be2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x144be2([0x72,0x61,0x63,0x65])](_0x3e7fb7)[_0x144be2([0x74,0x68,0x65,0x6e])](()=>_0x38de70);}async function _0x251109(){await _0xf0a1fc,_0x769cc9[_0x144be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x144be2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x68c6dc,_0x769cc9[_0x144be2([0x6d,0x6f,0x64,0x65,0x6c])][_0x144be2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x68c6dc,_0x769cc9[_0x144be2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x144be2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b4cfc(_0x3a54c7){const _0x1885c5=_0x5ea3b5();_0x769cc9[_0x1885c5]=_0x144be2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a54c7,_0x3a54c7!=_0x144be2([0x56,0x61,0x6c,0x69,0x64])&&_0x251109();}function _0x5ea3b5(){const _0x49f534=window[_0x144be2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x144be2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x144be2([0x6e,0x6f,0x77])]())[_0x144be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x144be2([0x2e]),'');let _0x32d6df=_0x144be2([0x68]);for(let _0x3fada4=0x0;_0x3fada4<_0x49f534[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fada4+=0x2){let _0x496a4f=window[_0x144be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49f534[_0x144be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fada4,_0x3fada4+0x2));_0x496a4f>=_0x26f77f[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x496a4f-=_0x26f77f[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32d6df+=_0x26f77f[_0x496a4f];}return _0x32d6df;}function _0x540462(){const _0x3f6630=_0x459226[_0x144be2([0x73,0x70,0x6c,0x69,0x74])](_0x144be2([0x2e]));if(0x3!=_0x3f6630[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40653a(_0x3f6630[0x1]);function _0x40653a(_0x2e0d0c){const _0x120213=_0x2f2b29(_0x2e0d0c);return _0x120213&&_0x2e2413()?_0x120213:null;function _0x2e2413(){const _0x45956e=_0x120213[_0x144be2([0x6a,0x74,0x69])],_0x5645eb=window[_0x144be2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45956e[_0x144be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45956e[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d077b={..._0x120213,[_0x144be2([0x6a,0x74,0x69])]:_0x45956e[_0x144be2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45956e[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d077b[_0x144be2([0x76,0x63])],_0x6ccdbd(_0x1d077b)==_0x5645eb;}}}async function _0x2b895d(){let _0x2a4d39=!0x0;try{const _0x3920c7=_0x459226[_0x144be2([0x73,0x70,0x6c,0x69,0x74])](_0x144be2([0x2e])),[_0x5d67aa,_0x4b16fc,_0x4866db]=_0x3920c7;return _0x3412d6(_0x5d67aa),await _0x3afd65(_0x5d67aa,_0x4b16fc,_0x4866db),_0x2a4d39;}catch{return!0x1;}function _0x3412d6(_0x13307e){const _0x1bc3b0=_0x2f2b29(_0x13307e);_0x1bc3b0&&_0x1bc3b0[_0x144be2([0x61,0x6c,0x67])]==_0x144be2([0x45,0x53,0x32,0x35,0x36])||(_0x2a4d39=!0x1);}async function _0x3afd65(_0x301e2f,_0xc235,_0x24bd6c){const _0x4bd217=window[_0x144be2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x144be2([0x66,0x72,0x6f,0x6d])](_0x3b6b11(_0x24bd6c),_0x43d2a4=>_0x43d2a4[_0x144be2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x175c71=new window[(_0x144be2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x144be2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x301e2f+_0x144be2([0x2e])+_0xc235),_0x47c83f=window[_0x144be2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x144be2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47c83f)return;const _0x1b2aff=await _0x47c83f[_0x144be2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x144be2([0x6a,0x77,0x6b]),_0x259829,{[_0x144be2([0x6e,0x61,0x6d,0x65])]:_0x144be2([0x45,0x43,0x44,0x53,0x41]),[_0x144be2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x144be2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x144be2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47c83f[_0x144be2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x144be2([0x6e,0x61,0x6d,0x65])]:_0x144be2([0x45,0x43,0x44,0x53,0x41]),[_0x144be2([0x68,0x61,0x73,0x68])]:{[_0x144be2([0x6e,0x61,0x6d,0x65])]:_0x144be2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b2aff,_0x4bd217,_0x175c71)||(_0x2a4d39=!0x1);}}function _0x2f2b29(_0x33dfa8){return _0x33dfa8[_0x144be2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x144be2([0x65,0x79]))?JSON[_0x144be2([0x70,0x61,0x72,0x73,0x65])](_0x3b6b11(_0x33dfa8)):null;}function _0x3b6b11(_0x512d4e){return window[_0x144be2([0x61,0x74,0x6f,0x62])](_0x512d4e[_0x144be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x144be2([0x2b]))[_0x144be2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x144be2([0x2f])));}function _0x6ccdbd(_0x1edc53){let _0x25efe3=0x1505;function _0x494ee3(_0xf62970){for(let _0x5b2e28=0x0;_0x5b2e28<_0xf62970[_0x144be2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b2e28++){const _0x1bde61=_0xf62970[_0x144be2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b2e28);_0x25efe3=(_0x25efe3<<0x5)+_0x25efe3+_0x1bde61,_0x25efe3&=_0x25efe3;}}function _0x17051a(_0x47537b){Array[_0x144be2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47537b)?_0x47537b[_0x144be2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17051a):_0x47537b&&typeof _0x47537b==_0x144be2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x144be2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47537b)[_0x144be2([0x73,0x6f,0x72,0x74])]()[_0x144be2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22cb54,_0x14a0ef])=>{_0x494ee3(_0x22cb54),_0x17051a(_0x14a0ef);}):_0x494ee3(window[_0x144be2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47537b));}return _0x17051a(_0x1edc53),_0x25efe3>>>0x0;}function _0x35d208(_0x168a8e){return _0x168a8e[_0x144be2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x144be2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x144be2([0x30]));}function _0x1185eb(_0x2c3fd7){return _0x2c3fd7[_0x144be2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x144be2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x144be2([0x6a,0x6f,0x69,0x6e])]('');}function _0x68c6dc(){}function _0x144be2(_0x4f41ff){return _0x4f41ff['map'](_0x163a11=>String['fromCharCode'](_0x163a11))['join']('');}_0x5b4cfc(await _0xfb2543());}(this);}['_initSchema'](){const _0x394f1b=this['editor']['model']['schema'];_0x394f1b['isRegistered']('imageBlock')&&_0x394f1b['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x394f1b['isRegistered']('imageInline')&&_0x394f1b['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x1fdbeb=this['editor'];_0x1fdbeb['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x1fdbeb['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5b4e52=>_0x5b4e52['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5088c0=_0x1fdbeb['commands']['get']('replaceImageSource');_0x5088c0&&this['listenTo'](_0x5088c0,'cleanupImage',(_0x5e0889,[_0x57e422,_0x2409ed])=>{_0x57e422['removeAttribute']('uploadcareImageId',_0x2409ed);});}['_initConfig'](){const _0x22a6b7=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3d3501=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1eb9c3(_0xf5db7e['document'],'uc-config',{..._0x22a6b7,'pubkey':_0x3d3501,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x3c1157=>{if('closeMax'==_0x3c1157)return'#uc-icon-arrow-down';},_0xf5db7e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1eb9c3(_0xf5db7e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0xf5db7e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x31afe5=this['editor']['commands']['get']('insertImage');_0x31afe5&&this['listenTo'](_0x31afe5,'execute',()=>{const _0x8b0b21=this['editor']['model']['document']['selection']['getSelectedElement']();_0x8b0b21&&_0x8b0b21['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x8b0b21);});});const _0x41aaf=this['editor']['commands']['get']('uploadcareImageReplace');_0x41aaf&&this['listenTo'](_0x41aaf,'execute',()=>{const _0x40becf=this['editor']['model']['document']['selection']['getSelectedElement']();_0x40becf&&_0x40becf['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x40becf);});});}}class tt extends _0x185545{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10acd0){super(_0x10acd0),_0x10acd0['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x185374['defineComponents'](_0x185374),this['_defineLocale']();}['_defineLocale'](){const _0x27848c=this['editor']['config']['get']('uploadcare.locale'),_0x148417=this['editor']['locale']['contentLanguage'];_0x27848c&&_0x185374['defineLocale'](_0x148417,_0x27848c);}}class ii extends _0x26bb6f{constructor(_0x40e94f){super(_0x40e94f);const t=_0x40e94f['t'],_0x43c8d0=this['bindTemplate'],_0x148de6=new _0x4f8135();_0x148de6['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':[_0x148de6,{'text':_0x43c8d0['to']('imageUploadProgress',_0x45b21=>t('Loading\x20image...')+'\x20('+(_0x45b21||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ti extends _0x26bb6f{constructor(_0x5478bb){super(_0x5478bb);const t=_0x5478bb['t'];this['set']('errorType',null);const _0x21fdd8=new _0x346bd7(_0x5478bb);_0x21fdd8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x21fdd8['withText']=!0x0,_0x21fdd8['class']='ck-button-action',_0x21fdd8['on']('execute',()=>{this['fire']('retry');}),_0x21fdd8['bind']('isVisible')['to'](this,'errorType',_0x99ac78=>'NotFound'!==_0x99ac78);const _0x335eed=new _0x212f64();_0x335eed['content']=_0x47d799,_0x335eed['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18de08=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':[_0x335eed,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18de08['to']('errorType',_0x308abe=>t('NotFound'!==_0x308abe?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x21fdd8]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class ei extends _0x26bb6f{constructor(_0x49c449,_0x24b7b4){super(_0x49c449);const _0x4e144f=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x24b7b4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4e144f['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x56ef0a,_0x526dd3,_0x1d54a4){super(_0x56ef0a),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x56ef0a),this['_errorView']=new ti(_0x56ef0a),this['_editingView']=new ei(_0x56ef0a,_0x1d54a4),this['_focusableView']=new _0x26bb6f(_0x56ef0a),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x526dd3),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'],_0x5dfb2f=>{this['_addUploadcareImageEditorListeners'](_0x5dfb2f);});}),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'](_0x212af1,_0x357210){const _0x9ec5c7='uc-cloud-image-editor',_0x2c03aa=_0x212af1['querySelector'](_0x9ec5c7);if(_0x2c03aa)return _0x357210(_0x2c03aa);const _0xbab8d9=new MutationObserver(_0x5e464f=>{const _0x5665c5=_0x5e464f['filter'](_0x4006c9=>_0x4006c9['target']===_0x212af1&&_0x4006c9['addedNodes']['length']>0x0&&_0x4006c9['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x9ec5c7);_0x5665c5['length']&&(_0xbab8d9['disconnect'](),_0x357210(_0x5665c5[0x0]['addedNodes'][0x0]));});_0xbab8d9['observe'](_0x212af1,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3a33bf){_0x3a33bf['addEventListener']('apply',_0x3736ed=>{this['fire']('apply',{'imageSrc':_0x3736ed['detail']['cdnUrl']});}),_0x3a33bf['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3a0571(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2eef1c,_0x4d22ed,_0x59d759){super(),this['_editor']=_0x2eef1c,this['_dialog']=_0x4d22ed,this['_imageElement']=_0x59d759,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 _0x533bf0=this['_imageElement'],_0x284d2a=_0x533bf0['getAttribute']('uploadcareImageId'),_0x44ac3d=_0x533bf0['getAttribute']('src');if(_0x284d2a)await this['_loadImageInfo'](_0x284d2a,_0x44ac3d);else{if(this['_imageCache']['has'](_0x44ac3d)){const _0x5129c3=this['_imageCache']['get'](_0x44ac3d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5129c3['url'],this['imageDimension']=_0x5129c3['dimension'],this['imageId']=_0x5129c3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x54accc}=this['_editor'],t=_0x54accc['t'],_0x11bf49=new X(_0x54accc,this['imageStatus'],this['_attributes']);_0x11bf49['bind']('status')['to'](this,'imageStatus'),_0x11bf49['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x11bf49['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x11bf49['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x11bf49,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x214805,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x11bf49,'position':_0x2a850d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x11bf49['focus']();},'onHide':()=>{_0x11bf49['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x19b2b4=>!A(_0x19b2b4,_0x11bf49['element'])}});}['_loadImageInfo'](_0x4ed0ef,_0x5e1129){return j['getInfo'](_0x4ed0ef,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2e3253=>{const {width:_0x11f8e6,height:_0x3067ac}=_0x2e3253['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e1129,this['imageDimension']={'width':_0x11f8e6,'height':_0x3067ac},this['imageId']=_0x4ed0ef;})['catch'](_0x17d8f2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x17d8f2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2c0e5b,_0x4ab59a){return this['_getImageAsFile'](_0x2c0e5b)['then'](_0x4141fa=>j['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4ab59a['signal'],'file':_0x4141fa,'onProgress':_0x5702c6=>{_0x5702c6&&_0x5702c6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5702c6['value']));}}))['then'](_0x8ee712=>{const {width:_0x2369a0,height:_0x150ac5}=_0x8ee712['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8ee712['cdnUrl'],this['imageDimension']={'width':_0x2369a0,'height':_0x150ac5},this['imageId']=_0x8ee712['uuid'],this['imageUploadProgress']=null;const _0x426aef=_0x2c0e5b['getAttribute']('src');this['_imageCache']['set'](_0x426aef,{'id':_0x8ee712['uuid'],'url':_0x8ee712['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5d444f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5d444f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4ad15f,_0x513834){_0x4ad15f['on']('apply',(_0x2a5cec,_0x17765c)=>{this['_replaceImage'](_0x513834,_0x17765c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4ad15f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4ad15f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x45f294,_0x483cf3,_0xcb164){const _0x28cf24=this['_editor'],{width:_0x1618dc,height:_0x364baf}=S(_0x483cf3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e906b,imageSources:_0x120990}=C(_0x483cf3,_0x1618dc);_0x28cf24['model']['change'](_0x3dd244=>{if('$graveyard'===_0x45f294['root']['rootName']){_0x28cf24['execute']('insertImage',{'imageType':_0x45f294['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x45f294['getAttributes']()),'uploadcareImageId':_0xcb164,'src':_0x3e906b,'sources':_0x120990,'width':_0x1618dc,'height':_0x364baf}});const _0x5b17f3=_0x45f294['getChildren']();_0x45f294=_0x28cf24['model']['document']['selection']['getSelectedElement']();for(const _0xbcb7c5 of _0x5b17f3)_0x3dd244['append'](_0x3dd244['cloneElement'](_0xbcb7c5),_0x45f294);}else _0x3dd244['setSelection'](_0x45f294,'on'),_0x28cf24['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x45f294['getAttributes']()),'uploadcareImageId':_0xcb164,'src':_0x3e906b,'sources':_0x120990,'width':_0x1618dc,'height':_0x364baf},_0x45f294);_0x3dd244['setSelection'](_0x45f294,'on');});}async['_getImageAsFile'](_0xf776d3){const _0x26404d=_0xf5db7e['window'],_0x13f1e9=_0xf5db7e['document']['location']['href'],_0x2d7145=new _0x26404d['URL'](_0xf776d3['getAttribute']('src'),_0x13f1e9);if('data:'===_0x2d7145['protocol']){const _0x57c8f9=_0x2d7145['href']['split'](','),_0x110fe2=_0x57c8f9[0x0]['match'](/:(.*?);/)[0x1],_0x27b82f=_0x110fe2['split']('/')[0x1],_0x1a97fa=_0x26404d['atob'](_0x57c8f9[_0x57c8f9['length']-0x1]);let _0x1350c3=_0x1a97fa['length'];const _0x3bc322=new _0x26404d['Uint8Array'](_0x1350c3);for(;_0x1350c3--;)_0x3bc322[_0x1350c3]=_0x1a97fa['charCodeAt'](_0x1350c3);return new _0x26404d['File']([_0x3bc322],'image.'+_0x27b82f,{'type':_0x110fe2});}const _0x26060a=_0x2d7145['href']['split']('/'),_0x84f689=_0x26060a[_0x26060a['length']-0x1],_0x5b1fa4=_0x84f689['split']('.')[0x1];return _0x26404d['fetch'](_0x2d7145['href'])['then'](_0x51840b=>_0x51840b['clone']()['blob']())['then'](_0x2aa5ad=>new _0x26404d['File']([_0x2aa5ad],_0x84f689,{'type':'image/'+_0x5b1fa4}));}}class O extends _0x7579d8{['imageEditController'];static get['requires'](){return[_0x66662a];}['_isEditable'];constructor(_0x4bc276){super(_0x4bc276),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x25ddbe){const _0x5269c2=G(_0x25ddbe);return _0x115eea=>!(!_0x115eea||!_0x115eea['is']('element','imageBlock')&&!_0x115eea['is']('element','imageInline'))&&(!!_0x115eea['hasAttribute']('uploadcareImageId')||!!_0x115eea['hasAttribute']('src')&&_0x5269c2(_0x115eea['getAttribute']('src')));}(_0x4bc276['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5849f1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5849f1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x505114=this['editor']['model']['document']['selection']['getSelectedElement']();_0x505114&&(_0x505114['is']('element','imageBlock')||_0x505114['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x66662a),_0x505114),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x7579d8{['refresh'](){const _0x5dbeaf=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5dbeaf&&(_0x5dbeaf['is']('element','imageBlock')||_0x5dbeaf['is']('element','imageInline')));}['execute'](_0x1b71d8){const _0x3989c4=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x462a1d=>{_0x462a1d['setAttributes'](_0x1b71d8,_0x3989c4),_0x462a1d['removeAttribute']('srcset',_0x3989c4),_0x462a1d['removeAttribute']('sizes',_0x3989c4);});}}class m extends _0x185545{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1aafb3,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x119f89}=this;_0x119f89['commands']['add']('uploadcareImageEdit',new O(_0x119f89)),_0x119f89['commands']['add']('uploadcareImageReplace',new R(_0x119f89));}}class g extends _0x185545{['_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 _0x114607=this['editor'];_0x114607['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5bdcf8=>{const _0x39efdc=_0x114607['commands']['get']('uploadcareImageEdit'),_0x370c14=new _0x346bd7(_0x5bdcf8),t=_0x5bdcf8['t'];return _0x370c14['set']({'icon':_0x214805,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x370c14['bind']('isEnabled')['to'](_0x39efdc),_0x370c14['bind']('isOn')['to'](_0x39efdc,'isActive'),this['listenTo'](_0x370c14,'execute',()=>{_0x114607['execute']('uploadcareImageEdit'),_0x114607['editing']['view']['focus']();}),_0x370c14;}),this['_initConfig']();}['_initConfig'](){const _0x23f214=_0x1eb9c3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x23f214),this['listenTo'](this['editor'],'destroy',()=>{_0x23f214['remove']();});}}class et extends _0x185545{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x12a3b4=>0x1!=_0x12a3b4}};
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':_0x4dc4e5=>0x1!=_0x4dc4e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x161e57=>{const {af:{dictionary:_0x258a0f,getPluralForm:_0x3c488c}}={'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':_0x1b2eb9=>0x1!=_0x1b2eb9}};_0x161e57['af']||={'dictionary':{},'getPluralForm':null},_0x161e57['af']['dictionary']=Object['assign'](_0x161e57['af']['dictionary'],_0x258a0f),_0x161e57['af']['getPluralForm']=_0x3c488c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x14293b=>{const {af:{dictionary:_0x5a5fd6,getPluralForm:_0x435a96}}={'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':_0x388443=>0x1!=_0x388443}};_0x14293b['af']||={'dictionary':{},'getPluralForm':null},_0x14293b['af']['dictionary']=Object['assign'](_0x14293b['af']['dictionary'],_0x5a5fd6),_0x14293b['af']['getPluralForm']=_0x435a96;})(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':_0x24c249=>0x0==_0x24c249?0x0:0x1==_0x24c249?0x1:0x2==_0x24c249?0x2:_0x24c249%0x64>=0x3&&_0x24c249%0x64<=0xa?0x3:_0x24c249%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':_0x113a90=>0x0==_0x113a90?0x0:0x1==_0x113a90?0x1:0x2==_0x113a90?0x2:_0x113a90%0x64>=0x3&&_0x113a90%0x64<=0xa?0x3:_0x113a90%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x236369=>{const {ar:{dictionary:_0x126399,getPluralForm:_0x43504f}}={'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':_0x3b42c6=>0x0==_0x3b42c6?0x0:0x1==_0x3b42c6?0x1:0x2==_0x3b42c6?0x2:_0x3b42c6%0x64>=0x3&&_0x3b42c6%0x64<=0xa?0x3:_0x3b42c6%0x64>=0xb?0x4:0x5}};_0x236369['ar']||={'dictionary':{},'getPluralForm':null},_0x236369['ar']['dictionary']=Object['assign'](_0x236369['ar']['dictionary'],_0x126399),_0x236369['ar']['getPluralForm']=_0x43504f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x100885=>{const {ar:{dictionary:_0x10f8e5,getPluralForm:_0x1abf04}}={'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':_0x25b575=>0x0==_0x25b575?0x0:0x1==_0x25b575?0x1:0x2==_0x25b575?0x2:_0x25b575%0x64>=0x3&&_0x25b575%0x64<=0xa?0x3:_0x25b575%0x64>=0xb?0x4:0x5}};_0x100885['ar']||={'dictionary':{},'getPluralForm':null},_0x100885['ar']['dictionary']=Object['assign'](_0x100885['ar']['dictionary'],_0x10f8e5),_0x100885['ar']['getPluralForm']=_0x1abf04;})(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':_0x34a326=>0x1!=_0x34a326}};
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':_0x289ef8=>0x1!=_0x289ef8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x366b20=>{const {ast:{dictionary:_0x19da04,getPluralForm:_0x20d2a4}}={'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':_0x3d3487=>0x1!=_0x3d3487}};_0x366b20['ast']||={'dictionary':{},'getPluralForm':null},_0x366b20['ast']['dictionary']=Object['assign'](_0x366b20['ast']['dictionary'],_0x19da04),_0x366b20['ast']['getPluralForm']=_0x20d2a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55af6d=>{const {ast:{dictionary:_0xcd205c,getPluralForm:_0x399ac9}}={'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':_0xe9c729=>0x1!=_0xe9c729}};_0x55af6d['ast']||={'dictionary':{},'getPluralForm':null},_0x55af6d['ast']['dictionary']=Object['assign'](_0x55af6d['ast']['dictionary'],_0xcd205c),_0x55af6d['ast']['getPluralForm']=_0x399ac9;})(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':_0x450fdb=>0x1!=_0x450fdb}};
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':_0x110e65=>0x1!=_0x110e65}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ac392=>{const {az:{dictionary:_0x33bfe1,getPluralForm:_0x163249}}={'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':_0x4e8d0b=>0x1!=_0x4e8d0b}};_0x5ac392['az']||={'dictionary':{},'getPluralForm':null},_0x5ac392['az']['dictionary']=Object['assign'](_0x5ac392['az']['dictionary'],_0x33bfe1),_0x5ac392['az']['getPluralForm']=_0x163249;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c213a=>{const {az:{dictionary:_0xc0302f,getPluralForm:_0x3e209b}}={'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':_0x3dd3b0=>0x1!=_0x3dd3b0}};_0x2c213a['az']||={'dictionary':{},'getPluralForm':null},_0x2c213a['az']['dictionary']=Object['assign'](_0x2c213a['az']['dictionary'],_0xc0302f),_0x2c213a['az']['getPluralForm']=_0x3e209b;})(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':_0x4b7d4b=>_0x4b7d4b%0xa==0x1&&_0x4b7d4b%0x64!=0xb?0x0:_0x4b7d4b%0xa>=0x2&&_0x4b7d4b%0xa<=0x4&&(_0x4b7d4b%0x64<0xa||_0x4b7d4b%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':_0x395dfd=>_0x395dfd%0xa==0x1&&_0x395dfd%0x64!=0xb?0x0:_0x395dfd%0xa>=0x2&&_0x395dfd%0xa<=0x4&&(_0x395dfd%0x64<0xa||_0x395dfd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2edd4d=>{const {be:{dictionary:_0x10a14c,getPluralForm:_0x197d25}}={'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':_0x5ab8f5=>_0x5ab8f5%0xa==0x1&&_0x5ab8f5%0x64!=0xb?0x0:_0x5ab8f5%0xa>=0x2&&_0x5ab8f5%0xa<=0x4&&(_0x5ab8f5%0x64<0xa||_0x5ab8f5%0x64>=0x14)?0x1:0x2}};_0x2edd4d['be']||={'dictionary':{},'getPluralForm':null},_0x2edd4d['be']['dictionary']=Object['assign'](_0x2edd4d['be']['dictionary'],_0x10a14c),_0x2edd4d['be']['getPluralForm']=_0x197d25;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x16002e=>{const {be:{dictionary:_0x3b5f7b,getPluralForm:_0x3154e5}}={'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':_0x40e6ad=>_0x40e6ad%0xa==0x1&&_0x40e6ad%0x64!=0xb?0x0:_0x40e6ad%0xa>=0x2&&_0x40e6ad%0xa<=0x4&&(_0x40e6ad%0x64<0xa||_0x40e6ad%0x64>=0x14)?0x1:0x2}};_0x16002e['be']||={'dictionary':{},'getPluralForm':null},_0x16002e['be']['dictionary']=Object['assign'](_0x16002e['be']['dictionary'],_0x3b5f7b),_0x16002e['be']['getPluralForm']=_0x3154e5;})(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':_0x20220a=>0x1!=_0x20220a}};
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':_0x5de941=>0x1!=_0x5de941}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20f068=>{const {bg:{dictionary:_0x2637a8,getPluralForm:_0x45c5a1}}={'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':_0x53c3b3=>0x1!=_0x53c3b3}};_0x20f068['bg']||={'dictionary':{},'getPluralForm':null},_0x20f068['bg']['dictionary']=Object['assign'](_0x20f068['bg']['dictionary'],_0x2637a8),_0x20f068['bg']['getPluralForm']=_0x45c5a1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a7db1=>{const {bg:{dictionary:_0xa61a04,getPluralForm:_0x34db4d}}={'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':_0x4b57a9=>0x1!=_0x4b57a9}};_0x2a7db1['bg']||={'dictionary':{},'getPluralForm':null},_0x2a7db1['bg']['dictionary']=Object['assign'](_0x2a7db1['bg']['dictionary'],_0xa61a04),_0x2a7db1['bg']['getPluralForm']=_0x34db4d;})(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':_0x55b7fc=>0x1!=_0x55b7fc}};
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':_0x2c8f34=>0x1!=_0x2c8f34}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d565d=>{const {bn:{dictionary:_0x91af8c,getPluralForm:_0x474ea0}}={'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':_0x3f9c3c=>0x1!=_0x3f9c3c}};_0x1d565d['bn']||={'dictionary':{},'getPluralForm':null},_0x1d565d['bn']['dictionary']=Object['assign'](_0x1d565d['bn']['dictionary'],_0x91af8c),_0x1d565d['bn']['getPluralForm']=_0x474ea0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4de793=>{const {bn:{dictionary:_0x32b1fb,getPluralForm:_0x5ea6bc}}={'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':_0x2fc1f4=>0x1!=_0x2fc1f4}};_0x4de793['bn']||={'dictionary':{},'getPluralForm':null},_0x4de793['bn']['dictionary']=Object['assign'](_0x4de793['bn']['dictionary'],_0x32b1fb),_0x4de793['bn']['getPluralForm']=_0x5ea6bc;})(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':_0x5dd018=>_0x5dd018%0xa==0x1&&_0x5dd018%0x64!=0xb?0x0:_0x5dd018%0xa>=0x2&&_0x5dd018%0xa<=0x4&&(_0x5dd018%0x64<0xa||_0x5dd018%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':_0x3ef0ea=>_0x3ef0ea%0xa==0x1&&_0x3ef0ea%0x64!=0xb?0x0:_0x3ef0ea%0xa>=0x2&&_0x3ef0ea%0xa<=0x4&&(_0x3ef0ea%0x64<0xa||_0x3ef0ea%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20ef72=>{const {bs:{dictionary:_0x5ca74f,getPluralForm:_0xe320df}}={'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':_0x3f60fe=>_0x3f60fe%0xa==0x1&&_0x3f60fe%0x64!=0xb?0x0:_0x3f60fe%0xa>=0x2&&_0x3f60fe%0xa<=0x4&&(_0x3f60fe%0x64<0xa||_0x3f60fe%0x64>=0x14)?0x1:0x2}};_0x20ef72['bs']||={'dictionary':{},'getPluralForm':null},_0x20ef72['bs']['dictionary']=Object['assign'](_0x20ef72['bs']['dictionary'],_0x5ca74f),_0x20ef72['bs']['getPluralForm']=_0xe320df;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4415c9=>{const {bs:{dictionary:_0x39f1f4,getPluralForm:_0x3311aa}}={'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':_0x5d2ff3=>_0x5d2ff3%0xa==0x1&&_0x5d2ff3%0x64!=0xb?0x0:_0x5d2ff3%0xa>=0x2&&_0x5d2ff3%0xa<=0x4&&(_0x5d2ff3%0x64<0xa||_0x5d2ff3%0x64>=0x14)?0x1:0x2}};_0x4415c9['bs']||={'dictionary':{},'getPluralForm':null},_0x4415c9['bs']['dictionary']=Object['assign'](_0x4415c9['bs']['dictionary'],_0x39f1f4),_0x4415c9['bs']['getPluralForm']=_0x3311aa;})(window['CKEDITOR_TRANSLATIONS']||={});