@ckeditor/ckeditor5-uploadcare 47.0.0-alpha.7 → 47.0.0-alpha.9

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 _0x126f8e,Command as _0x47ad33}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x49689a,IconGooglePhotos as _0x14f07b,IconGoogleDrive as _0x417f4f,IconFacebook as _0x2e69bf,IconDropbox as _0x55b87a,IconUploadcareLink as _0x549fbe,IconUploadcareImageUpload as _0x4bd1ec,IconError as _0x5130d2,IconUploadcareImageEdit as _0x300b4e}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x148e3a,MenuBarMenuListItemButtonView as _0x19e9c9,View as _0x5ba71a,FocusCycler as _0x1edd3d,Dialog as _0x552899,DialogViewPosition as _0x514bde,SpinnerView as _0xfec0ea,IconView as _0x552c9d,Notification as _0x5a9acd}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2b8916,DomEmitterMixin as _0x511661,global as _0x1bbee0,getAncestors as _0x4f0dec,ObservableMixin as _0x368121,uid as _0x1713c5,createElement as _0x1bc7f4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x59f17f}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x455eac,info as _0xba14fb}from'@uploadcare/upload-client';import*as _0x4394f3 from'@uploadcare/file-uploader';var i=function(_0x573688){return _0x573688['Local']='local',_0x573688['URL']='url',_0x573688['Dropbox']='dropbox',_0x573688['GDrive']='gdrive',_0x573688['Facebook']='facebook',_0x573688['GPhotos']='gphotos',_0x573688['OneDrive']='onedrive',_0x573688;}({});function _(_0x415ce3,_0x38c72e,_0x2e8496){const t=_0x415ce3['t'],_0x3dbd87=_0x415ce3['t'];switch(_0x38c72e){case i['Local']:return{'text':_0x3dbd87('Insert'===_0x2e8496?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3dbd87('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x2e8496?_0x3dbd87('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3dbd87('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x2e8496?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x2e8496?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x2e8496?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x2e8496?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x2e8496?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x38c72e;}}class e extends _0x126f8e{['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 _0x2c7d84=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4742bb;for(const _0x28af24 in _0x2c7d84){const _0x48d914=_0x28af24,_0x5a9d4c=_0x2c7d84[_0x48d914];if('uploadcareLicenseKeyValid'==_0x5a9d4c||'uploadcareLicenseKeyInvalid'==_0x5a9d4c||'uploadcareLicenseKeyExpired'==_0x5a9d4c||'uploadcareLicenseKeyDomainLimit'==_0x5a9d4c||'uploadcareLicenseKeyNotAllowed'==_0x5a9d4c||'uploadcareLicenseKeyEvaluationLimit'==_0x5a9d4c||'uploadcareLicenseKeyTrialLimit'==_0x5a9d4c||'uploadcareLicenseKeyUsageLimit'==_0x5a9d4c){delete _0x2c7d84[_0x48d914],_0x4742bb=_0x5a9d4c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4742bb&&_0x2c7d84['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4742bb&&_0x2c7d84['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4742bb&&_0x2c7d84['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4742bb&&_0x2c7d84['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4742bb&&_0x2c7d84['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x4742bb&&_0x2c7d84['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4742bb&&_0x2c7d84['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x14a05a}=this,_0x4947be=_0x14a05a['commands']['get']('uploadcare');if(!_0x4947be)return;const _0x4ba82e=this['_normalizeConfigSourceList'](_0x14a05a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x25d82d,_0x1ea550)=>{const _0x3135a3=this['_getIntegrationKey'](_0x1ea550['type']);return _0x25d82d[_0x3135a3]||(_0x25d82d[_0x3135a3]=[]),_0x25d82d[_0x3135a3]['push'](_0x1ea550),_0x25d82d;},{});_0x14a05a['plugins']['has']('ImageInsertUI')&&_0x14a05a['commands']['get']('uploadcare')&&Object['entries'](_0x4ba82e)['forEach'](([_0x638d4c,_0x3bcd0f])=>{_0x14a05a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x638d4c,'observable':()=>_0x4947be,'buttonViewCreator':()=>this['_createToolbarButton'](_0x3bcd0f),'formViewCreator':()=>this['_createDropdownButtons'](_0x3bcd0f),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x3bcd0f),'override':'assetManager'!==_0x638d4c});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x41db19){const {locale:_0x576faf}=this['editor'];return _0x41db19['map'](_0x97499b=>{const _0x5bf81d=_(_0x576faf,_0x97499b,'Insert');switch(_0x97499b){case i['Local']:return{'icon':_0x4bd1ec,'type':i['Local'],..._0x5bf81d};case i['URL']:return{'icon':_0x549fbe,'type':i['URL'],..._0x5bf81d};case i['Dropbox']:return{'icon':_0x55b87a,'type':i['Dropbox'],..._0x5bf81d};case i['Facebook']:return{'icon':_0x2e69bf,'type':i['Facebook'],..._0x5bf81d};case i['GDrive']:return{'icon':_0x417f4f,'type':i['GDrive'],..._0x5bf81d};case i['GPhotos']:return{'icon':_0x14f07b,'type':i['GPhotos'],..._0x5bf81d};case i['OneDrive']:return{'icon':_0x49689a,'type':i['OneDrive'],..._0x5bf81d};}});}['_getIntegrationKey'](_0x479559){switch(_0x479559){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x506571,_0x1f5630){const _0x33c0c3=this['editor'],_0x28564c=new _0x506571(_0x33c0c3['locale']),_0x20a053=_0x33c0c3['commands']['get']('uploadcare');return _0x28564c['bind']('isEnabled')['to'](_0x20a053),_0x28564c['on']('execute',()=>{_0x20a053['execute'](_0x1f5630);}),_0x28564c;}['_createToolbarButton'](_0x2d69aa){const {locale:_0x3a09fe}=this['editor'],_0x5cae66=this['editor']['plugins']['get']('ImageInsertUI'),_0x218bb1=_0x2d69aa[0x0],_0x269805=this['_createButton'](_0x148e3a,_0x218bb1['type']);return _0x269805['icon']=_0x218bb1['icon'],_0x269805['bind']('label')['to'](_0x5cae66,'isImageSelected',_0x1196e=>_(_0x3a09fe,_0x218bb1['type'],_0x1196e?'Replace':'Insert')['text']),_0x269805['tooltip']=!0x0,_0x269805;}['_createDropdownButtons'](_0x34251d){const {locale:_0x53b8a8}=this['editor'],_0x12b628=this['editor']['plugins']['get']('ImageInsertUI');return _0x34251d['map'](_0x1840b2=>{const _0x581f60=this['_createButton'](_0x148e3a,_0x1840b2['type']);return _0x581f60['withText']=!0x0,_0x581f60['icon']=_0x1840b2['icon'],_0x581f60['bind']('label')['to'](_0x12b628,'isImageSelected',_0x20be15=>_(_0x53b8a8,_0x1840b2['type'],_0x20be15?'Replace':'Insert')['text']),_0x581f60;});}['_createMenuBarButtons'](_0x2dffaa){return _0x2dffaa['map'](_0x345a6e=>{const _0x408475=this['_createButton'](_0x19e9c9,_0x345a6e['type']);return _0x408475['icon']=_0x345a6e['icon'],_0x408475['label']=_0x345a6e['shortText'],_0x408475;});}}class V extends _0x5ba71a{['focusTracker'];['focusCycler'];constructor(_0x4a7652){super(_0x4a7652),this['focusTracker']=new _0x2b8916(),this['focusCycler']=new _0x1edd3d({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends V{constructor(_0x536fa8,_0x55a2a6){super(_0x536fa8),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-'+_0x55a2a6}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xaa41d7,_0x49fbfa){const _0x3e4012=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x55a2a3=>_0x55a2a3<=_0x49fbfa)['map'](_0x3d62dd=>_0xaa41d7['replace'](/\/$/,'')+'/-/resize/'+_0x3d62dd+'x/\x20'+_0x3d62dd+'w');return{'imageFallbackUrl':_0xaa41d7,'imageSources':[{'srcset':_0x3e4012['join'](',\x20'),'sizes':'(max-width:\x20'+_0x49fbfa+'px)\x20100vw,\x20'+_0x49fbfa+'px','type':'image/webp'}]};}function F(_0x270d24,_0x3a2512,_0x13bf35){const _0x4d19cd=_0x270d24['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4d19cd?parseInt(_0x4d19cd[0x1],0xa):_0x3a2512,'height':_0x4d19cd?parseInt(_0x4d19cd[0x2],0xa):_0x13bf35};}function p(_0x3b9e1a,_0x3c0e6d){const _0x39b986=new(_0x511661())(),_0xfca23a=_0x3b9e1a['plugins']['get']('ImageUtils'),_0x17e338=_0x3b9e1a['editing']['mapper']['toViewElement'](_0x3c0e6d),_0x58b2f6=_0xfca23a['findViewImgElement'](_0x17e338),_0x3a6ebb=_0x3b9e1a['editing']['view']['domConverter']['viewToDom'](_0x58b2f6),_0x6d456c=_0x3c0e6d['getAttribute']('width'),_0x33f7ff=_0x3c0e6d['getAttribute']('height'),_0x250e0d='image-processing';_0x3b9e1a['editing']['view']['change'](_0x4c6e6b=>{_0x4c6e6b['addClass'](_0x250e0d,_0x17e338),_0x4c6e6b['setStyle']('aspect-ratio',_0x6d456c+'/'+_0x33f7ff,_0x58b2f6);}),_0x39b986['listenTo'](_0x3a6ebb,'load',()=>{_0x39b986['stopListening'](_0x3a6ebb,'load'),_0x3b9e1a['editing']['view']['change'](_0x3161ed=>{_0x3161ed['removeClass'](_0x250e0d,_0x17e338),_0x3161ed['removeStyle']('aspect-ratio',_0x58b2f6);});});}function R(_0x33a16b){if(Array['isArray'](_0x33a16b)){const _0x3d005a=_0x33a16b['map'](R);return _0xc9fd05=>_0x3d005a['some'](_0x246573=>_0x246573(_0xc9fd05));}if('origin'==_0x33a16b){const _0x214ab0=_0x1bbee0['window']['location']['origin'];return _0x54ea69=>new URL(_0x54ea69,_0x1bbee0['document']['baseURI'])['origin']==_0x214ab0;}return'function'==typeof _0x33a16b?_0x33a16b:_0x33a16b instanceof RegExp?_0x4d9c09=>!(!_0x4d9c09['match'](_0x33a16b)&&!_0x4d9c09['replace'](/^https?:\/\//,'')['match'](_0x33a16b)):()=>!0x1;}function M(_0xf74670,_0x41d9be){return _0x4f0dec(_0xf74670['target'])['includes'](_0x41d9be);}class n extends/* #__PURE__ -- @preserve */
24
- _0x368121(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0xdae317,_0xd35552,_0x29ad2c){super(),this['_editor']=_0xdae317,this['_editing']=_0xd35552,this['_dialog']=_0xdae317['plugins']['get'](_0x552899),this['_api']=_0xd35552['ctxElement']['getAPI'](),this['_type']=_0x29ad2c,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:_0xc0a93c,model:_0x4f1e89}=this['_editor'],_0x3079c7=_0x4f1e89['document']['selection']['getSelectedElement'](),_0xc6e091=_0x3079c7&&(_0x3079c7['is']('element','imageBlock')||_0x3079c7['is']('element','imageInline'));this['_formView']=new S(_0xc0a93c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4bd1ec,'title':_(_0xc0a93c,this['_type'],_0xc6e091?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x514bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3b66ee=>!M(_0x3b66ee,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1382d1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x6466c9=>{const _0x281019=_0x1382d1['length'];for(const _0x280d3e of _0x1382d1){const _0x320466=_0x280d3e===_0x1382d1[_0x281019-0x1],{cdnUrl:_0x22edbf,fileInfo:_0x506196}=_0x280d3e;if(!_0x22edbf||!_0x506196)continue;const {width:_0x51d4f8,height:_0x664e25}=_0x506196['imageInfo'],_0x4dfbbf=F(_0x22edbf,_0x51d4f8,_0x664e25),_0xf3bbcd=C(_0x22edbf,_0x4dfbbf['width']),_0x5b5be9={'id':_0x506196['uuid'],'type':'image','attributes':{'imageDimension':_0x4dfbbf,..._0xf3bbcd}};this['_insertAsset'](_0x5b5be9,_0x320466,_0x6466c9);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x318f85=>{'idle'===_0x318f85['detail']['status']&&!_0x318f85['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2b1201,_0x3226d2,_0x28a29a){const _0x55c561=this['_editor']['model']['document']['selection'],_0x470f99=_0x55c561['getSelectedElement'](),_0x29f766=!(!_0x470f99||!_0x470f99['is']('element','imageInline'));_0x28a29a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2b1201,_0x29f766),_0x3226d2||_0x28a29a['setSelection'](_0x55c561['getLastPosition']());}['_insertImage'](_0x4efbef,_0x522cc8){const _0x4dc18d=this['_editor'],{imageDimension:_0x322ace,imageFallbackUrl:_0x1a1b15,imageSources:_0x2450a8}=_0x4efbef['attributes'];_0x4dc18d['execute']('insertImage',{'imageType':_0x522cc8?'imageInline':null,'source':{'uploadcareImageId':_0x4efbef['id'],'src':_0x1a1b15,'sources':_0x2450a8,..._0x322ace}});}}class w extends _0x47ad33{['_editing'];['_controller']=null;static get['requires'](){return[_0x552899,o];}constructor(_0x328e21){super(_0x328e21),this['_editing']=_0x328e21['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x46fce0){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x46fce0);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x43adca,..._0x2dd3c1}){return _0x455eac(_0x43adca,_0x2dd3c1);}static['getInfo'](_0x205ed7,_0x1f69c2){return _0xba14fb(_0x205ed7,_0x1f69c2);}}class f extends _0x126f8e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x59f17f,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x38a54f=this['editor'];if(!!!_0x38a54f['config']['get']('uploadcare'))return;_0x38a54f['plugins']['get'](_0x59f17f)['createUploadAdapter']=_0x16409d=>new k(_0x16409d,_0x38a54f),_0x38a54f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x170211,{imageElement:_0x3d8b64,data:_0x3d3a89})=>{_0x38a54f['model']['change'](_0x352d04=>{_0x352d04['setAttribute']('uploadcareImageId',_0x3d3a89['uploadcareImageId'],_0x3d8b64);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x38f30d,_0x4a8c11){this['loader']=_0x38f30d,this['editor']=_0x4a8c11,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41d638=await this['loader']['file'];return j['upload']({'file':_0x41d638,'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':_0x4a4139=>{_0x4a4139&&_0x4a4139['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4a4139['value']);}})['then'](async _0x5599b8=>{const {imageFallbackUrl:_0x34bc48,imageSources:_0x277aa7}=C(_0x5599b8['cdnUrl'],_0x5599b8['imageInfo']['width']);return{'uploadcareImageId':_0x5599b8['uuid'],'default':_0x34bc48,'sources':_0x277aa7};})['catch'](()=>{const _0x2867e9=t('Cannot\x20upload\x20file:')+('\x20'+_0x41d638['name']+'.');return Promise['reject'](_0x2867e9);});}['abort'](){this['controller']['abort']();}}class o extends _0x126f8e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x552899];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5e6411){super(_0x5e6411),this['ucContextId']=_0x1713c5();}['init'](){const _0x51166e=this['editor'];_0x51166e['commands']['add']('uploadcare',new w(_0x51166e));}['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 _0x5d3235=_0x1bbee0['document']['querySelector']('input[uploadcare-file-input]');_0x5d3235&&_0x5d3235['remove']();}),async function(_0x4ca98b){const _0x3e7a96=_0x3b0add([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x10c342=0x3d8d0df,_0x238617=0x3dfa407^_0x10c342,_0x3e5d8a=window[_0x3b0add([0x44,0x61,0x74,0x65])][_0x3b0add([0x6e,0x6f,0x77])](),_0x4778c6=_0x4ca98b[_0x3b0add([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x101bf4=new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x214407=>{_0x4778c6[_0x3b0add([0x6f,0x6e,0x63,0x65])](_0x3b0add([0x72,0x65,0x61,0x64,0x79]),_0x214407);}),_0x5a2f1d={[_0x3b0add([0x6b,0x74,0x79])]:_0x3b0add([0x45,0x43]),[_0x3b0add([0x75,0x73,0x65])]:_0x3b0add([0x73,0x69,0x67]),[_0x3b0add([0x63,0x72,0x76])]:_0x3b0add([0x50,0x2d,0x32,0x35,0x36]),[_0x3b0add([0x78])]:_0x3b0add([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]),[_0x3b0add([0x79])]:_0x3b0add([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]),[_0x3b0add([0x61,0x6c,0x67])]:_0x3b0add([0x45,0x53,0x32,0x35,0x36])},_0x6dd25e=_0x4778c6[_0x3b0add([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b0add([0x67,0x65,0x74])](_0x3b0add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c37ae(){let _0x5692e8,_0x268370=null,_0xc45562=null;try{if(_0x6dd25e==_0x3b0add([0x47,0x50,0x4c]))return _0x3b0add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5692e8=_0x334524(),!_0x5692e8)return _0x3b0add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5692e8[_0x3b0add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc45562=_0x3c522c(_0x5692e8[_0x3b0add([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5692e8[_0x3b0add([0x6a,0x74,0x69])])),await _0x53c775()?_0x53890f()?_0x343e0e()?_0x3b0add([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc81a19()?(_0x5692e8[_0x3b0add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b0add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x268370=_0x1c018a(_0x3b0add([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5692e8[_0x3b0add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b0add([0x74,0x72,0x69,0x61,0x6c])&&(_0x268370=_0x1c018a(_0x3b0add([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc81602()):_0x3b0add([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b0add([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b0add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b0add([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x343e0e(){const _0x5098b7=[_0x3b0add([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b0add([0x74,0x72,0x69,0x61,0x6c])][_0x3b0add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5692e8[_0x3b0add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e5d8a/0x3e8:0xe10*_0x238617;return _0x5692e8[_0x3b0add([0x65,0x78,0x70])]<_0x5098b7;}function _0x53890f(){const _0x22509c=_0x5692e8[_0x3b0add([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22509c&&(!!_0x22509c[_0x3b0add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0add([0x2a]))||!!_0x22509c[_0x3b0add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0add([0x55,0x50,0x4c,0x43])));}function _0xc81a19(){const _0x3ef9be=_0x5692e8[_0x3b0add([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ef9be||0x0==_0x3ef9be[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42668b}=new URL(window[_0x3b0add([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ef9be[_0x3b0add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42668b))return!0x0;const _0x233eba=_0x42668b[_0x3b0add([0x73,0x70,0x6c,0x69,0x74])](_0x3b0add([0x2e]));return _0x3ef9be[_0x3b0add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x577ba8=>_0x577ba8[_0x3b0add([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0add([0x2a])))[_0x3b0add([0x6d,0x61,0x70])](_0x31d662=>_0x31d662[_0x3b0add([0x73,0x70,0x6c,0x69,0x74])](_0x3b0add([0x2e])))[_0x3b0add([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e7767=>_0x4e7767[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x233eba[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b0add([0x6d,0x61,0x70])](_0xe46226=>Array(_0x233eba[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe46226[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b0add([0x66,0x69,0x6c,0x6c])](_0xe46226[0x0]===_0x3b0add([0x2a])?_0x3b0add([0x2a]):'')[_0x3b0add([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe46226))[_0x3b0add([0x73,0x6f,0x6d,0x65])](_0x4826db=>_0x233eba[_0x3b0add([0x65,0x76,0x65,0x72,0x79])]((_0xe73576,_0x54d04c)=>_0x4826db[_0x54d04c]===_0xe73576||_0x4826db[_0x54d04c]===_0x3b0add([0x2a])));}function _0xc81602(){return _0x268370&&_0xc45562?new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17a6c8,_0x1ae5b9)=>{_0x268370[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x17a6c8,_0x1ae5b9),_0xc45562[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x426176=>{_0x426176!=_0x3b0add([0x56,0x61,0x6c,0x69,0x64])&&_0x17a6c8(_0x426176);},_0x1ae5b9);}):_0x268370||_0xc45562||_0x3b0add([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c522c(_0x272ac7,_0xe1f7a9){return new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54daa0=>{if(_0x18956a())return _0x54daa0(_0x3b0add([0x56,0x61,0x6c,0x69,0x64]));_0x4ef1ea(),_0x4778c6[_0x3b0add([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b0add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb6d8bf=!0x1;const _0x569b3b=_0x1713c5();function _0x493815(_0x3be3a6){return!!_0x3be3a6&&(typeof _0x3be3a6===_0x3b0add([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3be3a6===_0x3b0add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3be3a6[_0x3b0add([0x74,0x68,0x65,0x6e])]===_0x3b0add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3be3a6[_0x3b0add([0x63,0x61,0x74,0x63,0x68])]===_0x3b0add([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d9af7(_0xc66d8a){_0x478376(_0xc66d8a)[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x1f52a1=>{if(!_0x1f52a1||_0x1f52a1[_0x3b0add([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b0add([0x6f,0x6b]))return _0x3b0add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x129d59(_0x507cd8(_0x569b3b+_0xe1f7a9))!=_0x1f52a1[_0x3b0add([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b0add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b0add([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x3157c8=>(_0x253b8e(),_0x3157c8),()=>{const _0x3c47df=_0x26c051();return null==_0x3c47df?(_0x253b8e(),_0x3b0add([0x56,0x61,0x6c,0x69,0x64])):_0x3b0add(_0x3e5d8a-_0x3c47df>(0x27d454df^_0x10c342)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x54daa0)[_0x3b0add([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54daa0(_0x3b0add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a09b5=0x3ee3e5f^_0x10c342;function _0x253b8e(){const _0x46c0c6=_0x3b0add([0x6c,0x6c,0x63,0x74,0x2d])+_0x129d59(_0x507cd8(_0x272ac7)),_0x22c841=_0x1626fa(_0x129d59(window[_0x3b0add([0x4d,0x61,0x74,0x68])][_0x3b0add([0x63,0x65,0x69,0x6c])](_0x3e5d8a/_0x2a09b5)));window[_0x3b0add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b0add([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46c0c6,_0x22c841);}function _0x26c051(){const _0x5d6331=_0x3b0add([0x6c,0x6c,0x63,0x74,0x2d])+_0x129d59(_0x507cd8(_0x272ac7)),_0x98f012=window[_0x3b0add([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b0add([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d6331);return _0x98f012?window[_0x3b0add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1626fa(_0x98f012),0x10)*_0x2a09b5:null;}function _0x478376(_0x3a3f9b){return new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21093e,_0x313da6)=>{_0x3a3f9b[_0x3b0add([0x74,0x68,0x65,0x6e])](_0x21093e,_0x313da6),window[_0x3b0add([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x313da6,0x3d9041f^_0x10c342);});}}_0x4778c6[_0x3b0add([0x6f,0x6e])](_0x3b0add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x557cda,_0x2e33a5)=>{if(_0x2e33a5[0x0]!=_0x272ac7)return _0x54daa0(_0x3b0add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e33a5[0x1]={..._0x2e33a5[0x1],[_0x3b0add([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x569b3b};},{[_0x3b0add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b0add([0x68,0x69,0x67,0x68])}),_0x4778c6[_0x3b0add([0x6f,0x6e])](_0x3b0add([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c8432=>{_0x493815(_0x4c8432[_0x3b0add([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb6d8bf=!0x0,_0x3d9af7(_0x4c8432[_0x3b0add([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b0add([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b0add([0x6c,0x6f,0x77])}),_0x101bf4[_0x3b0add([0x74,0x68,0x65,0x6e])](()=>{_0xb6d8bf||_0x54daa0(_0x3b0add([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18956a(){return _0x4778c6[_0x3b0add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b0add([0x76,0x69,0x65,0x77])][_0x3b0add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b0add([0x61,0x75,0x74,0x6f]);}function _0x4ef1ea(){_0x4778c6[_0x3b0add([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b0add([0x76,0x69,0x65,0x77])][_0x3b0add([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b0add([0x61,0x75,0x74,0x6f]);}}function _0x1c018a(_0x57302f){const _0x5d7157=[new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369dc9=>setTimeout(_0x369dc9,0x3d1ee13^_0x10c342)),_0x101bf4[_0x3b0add([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9af625=>{let _0x1b344b=0x0;_0x4778c6[_0x3b0add([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0add([0x6f,0x6e])](_0x3b0add([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30a926,_0x41b2db)=>{_0x41b2db[0x0][_0x3b0add([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b344b++,_0x1b344b==(0x3d8d127^_0x10c342)&&(_0x9af625(),_0x30a926[_0x3b0add([0x6f,0x66,0x66])]());});}))];return window[_0x3b0add([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b0add([0x72,0x61,0x63,0x65])](_0x5d7157)[_0x3b0add([0x74,0x68,0x65,0x6e])](()=>_0x57302f);}async function _0x46f8f8(){await _0x101bf4,_0x4778c6[_0x3b0add([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0add([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x426006,_0x4778c6[_0x3b0add([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b0add([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x426006,_0x4778c6[_0x3b0add([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b0add([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bbe19(_0x44b9c9){const _0x2dcbe6=_0x56be8c();_0x4778c6[_0x2dcbe6]=_0x3b0add([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44b9c9,_0x44b9c9!=_0x3b0add([0x56,0x61,0x6c,0x69,0x64])&&_0x46f8f8();}function _0x56be8c(){const _0x168d8f=window[_0x3b0add([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b0add([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b0add([0x6e,0x6f,0x77])]())[_0x3b0add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b0add([0x2e]),'');let _0x1b8cd9=_0x3b0add([0x52]);for(let _0x479202=0x0;_0x479202<_0x168d8f[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x479202+=0x2){let _0x29fe92=window[_0x3b0add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168d8f[_0x3b0add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479202,_0x479202+0x2));_0x29fe92>=_0x3e7a96[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29fe92-=_0x3e7a96[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b8cd9+=_0x3e7a96[_0x29fe92];}return _0x1b8cd9;}function _0x334524(){const _0x473e3d=_0x6dd25e[_0x3b0add([0x73,0x70,0x6c,0x69,0x74])](_0x3b0add([0x2e]));if(0x3!=_0x473e3d[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x463731(_0x473e3d[0x1]);function _0x463731(_0x19a2e5){const _0x103e1e=_0x3fc4a3(_0x19a2e5);return _0x103e1e&&_0x30d031()?_0x103e1e:null;function _0x30d031(){const _0x9daf3d=_0x103e1e[_0x3b0add([0x6a,0x74,0x69])],_0x3448d6=window[_0x3b0add([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9daf3d[_0x3b0add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9daf3d[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4680b4={..._0x103e1e,[_0x3b0add([0x6a,0x74,0x69])]:_0x9daf3d[_0x3b0add([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9daf3d[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4680b4[_0x3b0add([0x76,0x63])],_0x507cd8(_0x4680b4)==_0x3448d6;}}}async function _0x53c775(){let _0xa141e7=!0x0;try{const _0x32ec42=_0x6dd25e[_0x3b0add([0x73,0x70,0x6c,0x69,0x74])](_0x3b0add([0x2e])),[_0x2960a5,_0x130cb3,_0x3abf7b]=_0x32ec42;return _0xb91c4b(_0x2960a5),await _0x1f63c6(_0x2960a5,_0x130cb3,_0x3abf7b),_0xa141e7;}catch{return!0x1;}function _0xb91c4b(_0x2b0c79){const _0x127649=_0x3fc4a3(_0x2b0c79);_0x127649&&_0x127649[_0x3b0add([0x61,0x6c,0x67])]==_0x3b0add([0x45,0x53,0x32,0x35,0x36])||(_0xa141e7=!0x1);}async function _0x1f63c6(_0x40a631,_0x148606,_0x1c895c){const _0x275653=window[_0x3b0add([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b0add([0x66,0x72,0x6f,0x6d])](_0x316527(_0x1c895c),_0x3125cd=>_0x3125cd[_0x3b0add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x157175=new window[(_0x3b0add([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b0add([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40a631+_0x3b0add([0x2e])+_0x148606),_0x14507e=window[_0x3b0add([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b0add([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14507e)return;const _0x40a889=await _0x14507e[_0x3b0add([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b0add([0x6a,0x77,0x6b]),_0x5a2f1d,{[_0x3b0add([0x6e,0x61,0x6d,0x65])]:_0x3b0add([0x45,0x43,0x44,0x53,0x41]),[_0x3b0add([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b0add([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b0add([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14507e[_0x3b0add([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b0add([0x6e,0x61,0x6d,0x65])]:_0x3b0add([0x45,0x43,0x44,0x53,0x41]),[_0x3b0add([0x68,0x61,0x73,0x68])]:{[_0x3b0add([0x6e,0x61,0x6d,0x65])]:_0x3b0add([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40a889,_0x275653,_0x157175)||(_0xa141e7=!0x1);}}function _0x3fc4a3(_0x14130b){return _0x14130b[_0x3b0add([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b0add([0x65,0x79]))?JSON[_0x3b0add([0x70,0x61,0x72,0x73,0x65])](_0x316527(_0x14130b)):null;}function _0x316527(_0x446c9b){return window[_0x3b0add([0x61,0x74,0x6f,0x62])](_0x446c9b[_0x3b0add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b0add([0x2b]))[_0x3b0add([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b0add([0x2f])));}function _0x507cd8(_0x18c1e5){let _0x216c9d=0x1505;function _0x3093b0(_0x5c30ce){for(let _0x125869=0x0;_0x125869<_0x5c30ce[_0x3b0add([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x125869++){const _0x14e4dc=_0x5c30ce[_0x3b0add([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x125869);_0x216c9d=(_0x216c9d<<0x5)+_0x216c9d+_0x14e4dc,_0x216c9d&=_0x216c9d;}}function _0x4512e3(_0x5b1d59){Array[_0x3b0add([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b1d59)?_0x5b1d59[_0x3b0add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4512e3):_0x5b1d59&&typeof _0x5b1d59==_0x3b0add([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b0add([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b1d59)[_0x3b0add([0x73,0x6f,0x72,0x74])]()[_0x3b0add([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e2c6b,_0xc74b4])=>{_0x3093b0(_0x1e2c6b),_0x4512e3(_0xc74b4);}):_0x3093b0(window[_0x3b0add([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b1d59));}return _0x4512e3(_0x18c1e5),_0x216c9d>>>0x0;}function _0x129d59(_0x4d1edb){return _0x4d1edb[_0x3b0add([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b0add([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b0add([0x30]));}function _0x1626fa(_0xadda4f){return _0xadda4f[_0x3b0add([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b0add([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b0add([0x6a,0x6f,0x69,0x6e])]('');}function _0x426006(){}function _0x3b0add(_0x11630b){return _0x11630b['map'](_0x37026a=>String['fromCharCode'](_0x37026a))['join']('');}_0x3bbe19(await _0x4c37ae());}(this);}['_initSchema'](){const _0x49ae90=this['editor']['model']['schema'];_0x49ae90['isRegistered']('imageBlock')&&_0x49ae90['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x49ae90['isRegistered']('imageInline')&&_0x49ae90['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x7d51a7=this['editor'];_0x7d51a7['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x7d51a7['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5e1bdd=>_0x5e1bdd['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xea315c=_0x7d51a7['commands']['get']('replaceImageSource');_0xea315c&&this['listenTo'](_0xea315c,'cleanupImage',(_0x511799,[_0x2441d0,_0xf2417e])=>{_0x2441d0['removeAttribute']('uploadcareImageId',_0xf2417e);});}['_initConfig'](){const _0x3ec340=this['editor']['config']['get']('uploadcare.uploader')||{},_0x55b008=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1bc7f4(_0x1bbee0['document'],'uc-config',{..._0x3ec340,'pubkey':_0x55b008,'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']=_0x457e34=>{if('closeMax'==_0x457e34)return'#uc-icon-arrow-down';},_0x1bbee0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1bc7f4(_0x1bbee0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1bbee0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x13cfa1=this['editor']['commands']['get']('insertImage');_0x13cfa1&&this['listenTo'](_0x13cfa1,'execute',()=>{const _0x17c390=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17c390&&_0x17c390['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x17c390);});});const _0x412b82=this['editor']['commands']['get']('uploadcareImageReplace');_0x412b82&&this['listenTo'](_0x412b82,'execute',()=>{const _0x3c2614=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3c2614&&_0x3c2614['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3c2614);});});}}class tt extends _0x126f8e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2eaed0){super(_0x2eaed0),_0x2eaed0['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x4394f3['defineComponents'](_0x4394f3);}}class ii extends _0x5ba71a{constructor(_0x20aee7){super(_0x20aee7);const t=_0x20aee7['t'],_0x5ae43d=this['bindTemplate'],_0x161311=new _0xfec0ea();_0x161311['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':[_0x161311,{'text':_0x5ae43d['to']('imageUploadProgress',_0x2c4e30=>t('Loading\x20image...')+'\x20('+(_0x2c4e30||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 _0x5ba71a{constructor(_0x2f85a7){super(_0x2f85a7);const t=_0x2f85a7['t'];this['set']('errorType',null);const _0x2e3333=new _0x148e3a(_0x2f85a7);_0x2e3333['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2e3333['withText']=!0x0,_0x2e3333['class']='ck-button-action',_0x2e3333['on']('execute',()=>{this['fire']('retry');}),_0x2e3333['bind']('isVisible')['to'](this,'errorType',_0x514ebb=>'NotFound'!==_0x514ebb);const _0xfdf227=new _0x552c9d();_0xfdf227['content']=_0x5130d2,_0xfdf227['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5a2f01=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':[_0xfdf227,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5a2f01['to']('errorType',_0x161d2a=>t('NotFound'!==_0x161d2a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2e3333]},{'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 _0x5ba71a{constructor(_0x49c591,_0x12ba8c){super(_0x49c591);const _0x4c7738=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x12ba8c,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4c7738['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x484dc4,_0x4e1d5a,_0x3b7e){super(_0x484dc4),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x484dc4),this['_errorView']=new ti(_0x484dc4),this['_editingView']=new ei(_0x484dc4,_0x3b7e),this['_focusableView']=new _0x5ba71a(_0x484dc4),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x4e1d5a),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'],_0x4a8092=>{this['_addUploadcareImageEditorListeners'](_0x4a8092);});}),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'](_0x504973,_0x499f29){const _0x4a590b='uc-cloud-image-editor',_0xf53603=_0x504973['querySelector'](_0x4a590b);if(_0xf53603)return _0x499f29(_0xf53603);const _0x46967b=new MutationObserver(_0x5bfc64=>{const _0x5ea02f=_0x5bfc64['filter'](_0x332fbc=>_0x332fbc['target']===_0x504973&&_0x332fbc['addedNodes']['length']>0x0&&_0x332fbc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4a590b);_0x5ea02f['length']&&(_0x46967b['disconnect'](),_0x499f29(_0x5ea02f[0x0]['addedNodes'][0x0]));});_0x46967b['observe'](_0x504973,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x45ebec){_0x45ebec['addEventListener']('apply',_0xd5ab6d=>{this['fire']('apply',{'imageSrc':_0xd5ab6d['detail']['cdnUrl']});}),_0x45ebec['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x368121(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x13827d,_0x5203d4,_0x557526){super(),this['_editor']=_0x13827d,this['_dialog']=_0x5203d4,this['_imageElement']=_0x557526,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 _0x17fdec=this['_imageElement'],_0x471dd2=_0x17fdec['getAttribute']('uploadcareImageId'),_0x581ccb=_0x17fdec['getAttribute']('src');if(_0x471dd2)await this['_loadImageInfo'](_0x471dd2,_0x581ccb);else{if(this['_imageCache']['has'](_0x581ccb)){const _0x16842f=this['_imageCache']['get'](_0x581ccb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16842f['url'],this['imageDimension']=_0x16842f['dimension'],this['imageId']=_0x16842f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x44105f}=this['_editor'],t=_0x44105f['t'],_0x300e0f=new X(_0x44105f,this['imageStatus'],this['_attributes']);_0x300e0f['bind']('status')['to'](this,'imageStatus'),_0x300e0f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x300e0f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x300e0f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x300e0f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x300b4e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x300e0f,'position':_0x514bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x300e0f['focus']();},'onHide':()=>{_0x300e0f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x706392=>!M(_0x706392,_0x300e0f['element'])}});}['_loadImageInfo'](_0x5a4c78,_0x4ca2b5){return j['getInfo'](_0x5a4c78,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x272d13=>{const {width:_0x194fb9,height:_0x30fe4a}=_0x272d13['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4ca2b5,this['imageDimension']={'width':_0x194fb9,'height':_0x30fe4a},this['imageId']=_0x5a4c78;})['catch'](_0x45b8ed=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45b8ed['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4dcca6,_0x106538){return this['_getImageAsFile'](_0x4dcca6)['then'](_0x49efd2=>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':_0x106538['signal'],'file':_0x49efd2,'onProgress':_0x2fd714=>{_0x2fd714&&_0x2fd714['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fd714['value']));}}))['then'](_0x1a1e05=>{const {width:_0x18562b,height:_0x15c296}=_0x1a1e05['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a1e05['cdnUrl'],this['imageDimension']={'width':_0x18562b,'height':_0x15c296},this['imageId']=_0x1a1e05['uuid'],this['imageUploadProgress']=null;const _0x3acf9a=_0x4dcca6['getAttribute']('src');this['_imageCache']['set'](_0x3acf9a,{'id':_0x1a1e05['uuid'],'url':_0x1a1e05['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x48bf8d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x48bf8d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2eb712,_0x597b79){_0x2eb712['on']('apply',(_0x5292ad,_0x4e46a4)=>{this['_replaceImage'](_0x597b79,_0x4e46a4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2eb712['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2eb712['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xbfb046,_0x3b7e92,_0x4f34e9){const _0x2a27ba=this['_editor'],{width:_0x329cd0,height:_0x3909ea}=F(_0x3b7e92,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3091d2,imageSources:_0x2995f7}=C(_0x3b7e92,_0x329cd0);_0x2a27ba['model']['change'](_0x1dbe7d=>{if('$graveyard'===_0xbfb046['root']['rootName']){_0x2a27ba['execute']('insertImage',{'imageType':_0xbfb046['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xbfb046['getAttributes']()),'uploadcareImageId':_0x4f34e9,'src':_0x3091d2,'sources':_0x2995f7,'width':_0x329cd0,'height':_0x3909ea}});const _0x527ba8=_0xbfb046['getChildren']();_0xbfb046=_0x2a27ba['model']['document']['selection']['getSelectedElement']();for(const _0x20f523 of _0x527ba8)_0x1dbe7d['append'](_0x1dbe7d['cloneElement'](_0x20f523),_0xbfb046);}else _0x1dbe7d['setSelection'](_0xbfb046,'on'),_0x2a27ba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xbfb046['getAttributes']()),'uploadcareImageId':_0x4f34e9,'src':_0x3091d2,'sources':_0x2995f7,'width':_0x329cd0,'height':_0x3909ea},_0xbfb046);_0x1dbe7d['setSelection'](_0xbfb046,'on');});}async['_getImageAsFile'](_0x50fcf8){const _0x1ca19e=_0x1bbee0['window'],_0x5cd7fe=_0x1bbee0['document']['location']['href'],_0x134aa4=new _0x1ca19e['URL'](_0x50fcf8['getAttribute']('src'),_0x5cd7fe);if('data:'===_0x134aa4['protocol']){const _0x8d280=_0x134aa4['href']['split'](','),_0x405df1=_0x8d280[0x0]['match'](/:(.*?);/)[0x1],_0x46340c=_0x405df1['split']('/')[0x1],_0x4b9c88=_0x1ca19e['atob'](_0x8d280[_0x8d280['length']-0x1]);let _0x4171f1=_0x4b9c88['length'];const _0x387a75=new _0x1ca19e['Uint8Array'](_0x4171f1);for(;_0x4171f1--;)_0x387a75[_0x4171f1]=_0x4b9c88['charCodeAt'](_0x4171f1);return new _0x1ca19e['File']([_0x387a75],'image.'+_0x46340c,{'type':_0x405df1});}const _0xe44f2a=_0x134aa4['href']['split']('/'),_0x57564f=_0xe44f2a[_0xe44f2a['length']-0x1],_0x5537d9=_0x57564f['split']('.')[0x1];return _0x1ca19e['fetch'](_0x134aa4['href'])['then'](_0xe42643=>_0xe42643['clone']()['blob']())['then'](_0x366944=>new _0x1ca19e['File']([_0x366944],_0x57564f,{'type':'image/'+_0x5537d9}));}}class N extends _0x47ad33{['imageEditController'];static get['requires'](){return[_0x552899];}['_isEditable'];constructor(_0x463130){super(_0x463130),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x218aff){const _0x319c42=R(_0x218aff);return _0x4942ea=>!(!_0x4942ea||!_0x4942ea['is']('element','imageBlock')&&!_0x4942ea['is']('element','imageInline'))&&(!!_0x4942ea['hasAttribute']('uploadcareImageId')||!!_0x4942ea['hasAttribute']('src')&&_0x319c42(_0x4942ea['getAttribute']('src')));}(_0x463130['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x4e4f5b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x4e4f5b);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x371167=this['editor']['model']['document']['selection']['getSelectedElement']();_0x371167&&(_0x371167['is']('element','imageBlock')||_0x371167['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x552899),_0x371167),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x47ad33{['refresh'](){const _0x2d9811=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x2d9811&&(_0x2d9811['is']('element','imageBlock')||_0x2d9811['is']('element','imageInline')));}['execute'](_0x271498){const _0x5c7365=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x19e532=>{_0x19e532['setAttributes'](_0x271498,_0x5c7365),_0x19e532['removeAttribute']('srcset',_0x5c7365),_0x19e532['removeAttribute']('sizes',_0x5c7365);});}}class m extends _0x126f8e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x5a9acd,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5139f5}=this;_0x5139f5['commands']['add']('uploadcareImageEdit',new N(_0x5139f5)),_0x5139f5['commands']['add']('uploadcareImageReplace',new O(_0x5139f5));}}class g extends _0x126f8e{['_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 _0x31d49d=this['editor'];_0x31d49d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b2993=>{const _0x31526a=_0x31d49d['commands']['get']('uploadcareImageEdit'),_0x9b1df8=new _0x148e3a(_0x2b2993),t=_0x2b2993['t'];return _0x9b1df8['set']({'icon':_0x300b4e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x9b1df8['bind']('isEnabled')['to'](_0x31526a),_0x9b1df8['bind']('isOn')['to'](_0x31526a,'isActive'),this['listenTo'](_0x9b1df8,'execute',()=>{_0x31d49d['execute']('uploadcareImageEdit'),_0x31d49d['editing']['view']['focus']();}),_0x9b1df8;}),this['_initConfig']();}['_initConfig'](){const _0x528444=_0x1bc7f4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x528444),this['listenTo'](this['editor'],'destroy',()=>{_0x528444['remove']();});}}class et extends _0x126f8e{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,N as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x212eed,Command as _0x14d6c3}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x62ee11,IconGooglePhotos as _0x449d2f,IconGoogleDrive as _0x507ce8,IconFacebook as _0x1a7152,IconDropbox as _0x55d6b9,IconUploadcareLink as _0xcfe089,IconUploadcareImageUpload as _0x2b5b10,IconError as _0x1b1e66,IconUploadcareImageEdit as _0x2b2c62}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xf752b,MenuBarMenuListItemButtonView as _0x278d25,View as _0x1d3ac5,FocusCycler as _0x481d50,Dialog as _0xe84605,DialogViewPosition as _0x138b5a,SpinnerView as _0x5cb9fc,IconView as _0x3f5515,Notification as _0x16830c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x131869,DomEmitterMixin as _0x2b50e7,global as _0x147924,getAncestors as _0x4e8a22,ObservableMixin as _0x478f17,uid as _0x222cea,createElement as _0x3b9c8c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x5412bf}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x25b681,info as _0x58f2ce}from'@uploadcare/upload-client';import*as _0x444962 from'@uploadcare/file-uploader';var i=function(_0xf9cd0e){return _0xf9cd0e['Local']='local',_0xf9cd0e['URL']='url',_0xf9cd0e['Dropbox']='dropbox',_0xf9cd0e['GDrive']='gdrive',_0xf9cd0e['Facebook']='facebook',_0xf9cd0e['GPhotos']='gphotos',_0xf9cd0e['OneDrive']='onedrive',_0xf9cd0e;}({});function _(_0x248bbc,_0x158787,_0x20304f){const t=_0x248bbc['t'],_0x4f9f4b=_0x248bbc['t'];switch(_0x158787){case i['Local']:return{'text':_0x4f9f4b('Insert'===_0x20304f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f9f4b('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x20304f?_0x4f9f4b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f9f4b('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x20304f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x20304f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x20304f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x20304f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x20304f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x158787;}}class e extends _0x212eed{['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 _0x56d8c2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11bff7;for(const _0x18c412 in _0x56d8c2){const _0x11ffd0=_0x18c412,_0x57bbd6=_0x56d8c2[_0x11ffd0];if('uploadcareLicenseKeyValid'==_0x57bbd6||'uploadcareLicenseKeyInvalid'==_0x57bbd6||'uploadcareLicenseKeyExpired'==_0x57bbd6||'uploadcareLicenseKeyDomainLimit'==_0x57bbd6||'uploadcareLicenseKeyNotAllowed'==_0x57bbd6||'uploadcareLicenseKeyEvaluationLimit'==_0x57bbd6||'uploadcareLicenseKeyTrialLimit'==_0x57bbd6||'uploadcareLicenseKeyUsageLimit'==_0x57bbd6){delete _0x56d8c2[_0x11ffd0],_0x11bff7=_0x57bbd6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x11bff7&&_0x56d8c2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x11bff7&&_0x56d8c2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x11bff7&&_0x56d8c2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x11bff7&&_0x56d8c2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x11bff7&&_0x56d8c2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x11bff7&&_0x56d8c2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x11bff7&&_0x56d8c2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1b1411}=this,_0x199452=_0x1b1411['commands']['get']('uploadcare');if(!_0x199452)return;const _0x46e8a3=this['_normalizeConfigSourceList'](_0x1b1411['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x36fcf7,_0x4d416d)=>{const _0x30b3fd=this['_getIntegrationKey'](_0x4d416d['type']);return _0x36fcf7[_0x30b3fd]||(_0x36fcf7[_0x30b3fd]=[]),_0x36fcf7[_0x30b3fd]['push'](_0x4d416d),_0x36fcf7;},{});_0x1b1411['plugins']['has']('ImageInsertUI')&&_0x1b1411['commands']['get']('uploadcare')&&Object['entries'](_0x46e8a3)['forEach'](([_0x29c6b7,_0x47f0a7])=>{_0x1b1411['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x29c6b7,'observable':()=>_0x199452,'buttonViewCreator':()=>this['_createToolbarButton'](_0x47f0a7),'formViewCreator':()=>this['_createDropdownButtons'](_0x47f0a7),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x47f0a7),'override':'assetManager'!==_0x29c6b7});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x19f0ea){const {locale:_0x48f210}=this['editor'];return _0x19f0ea['map'](_0x4ebdf5=>{const _0x444182=_(_0x48f210,_0x4ebdf5,'Insert');switch(_0x4ebdf5){case i['Local']:return{'icon':_0x2b5b10,'type':i['Local'],..._0x444182};case i['URL']:return{'icon':_0xcfe089,'type':i['URL'],..._0x444182};case i['Dropbox']:return{'icon':_0x55d6b9,'type':i['Dropbox'],..._0x444182};case i['Facebook']:return{'icon':_0x1a7152,'type':i['Facebook'],..._0x444182};case i['GDrive']:return{'icon':_0x507ce8,'type':i['GDrive'],..._0x444182};case i['GPhotos']:return{'icon':_0x449d2f,'type':i['GPhotos'],..._0x444182};case i['OneDrive']:return{'icon':_0x62ee11,'type':i['OneDrive'],..._0x444182};}});}['_getIntegrationKey'](_0x411bbe){switch(_0x411bbe){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3280b1,_0x12380d){const _0x355ab2=this['editor'],_0x18cedd=new _0x3280b1(_0x355ab2['locale']),_0x41565e=_0x355ab2['commands']['get']('uploadcare');return _0x18cedd['bind']('isEnabled')['to'](_0x41565e),_0x18cedd['on']('execute',()=>{_0x41565e['execute'](_0x12380d);}),_0x18cedd;}['_createToolbarButton'](_0x457888){const {locale:_0x2a94b1}=this['editor'],_0x48ed2e=this['editor']['plugins']['get']('ImageInsertUI'),_0x583333=_0x457888[0x0],_0xffe683=this['_createButton'](_0xf752b,_0x583333['type']);return _0xffe683['icon']=_0x583333['icon'],_0xffe683['bind']('label')['to'](_0x48ed2e,'isImageSelected',_0x38a831=>_(_0x2a94b1,_0x583333['type'],_0x38a831?'Replace':'Insert')['text']),_0xffe683['tooltip']=!0x0,_0xffe683;}['_createDropdownButtons'](_0x59f751){const {locale:_0x187e1a}=this['editor'],_0x4b9290=this['editor']['plugins']['get']('ImageInsertUI');return _0x59f751['map'](_0x5a5f98=>{const _0x432426=this['_createButton'](_0xf752b,_0x5a5f98['type']);return _0x432426['withText']=!0x0,_0x432426['icon']=_0x5a5f98['icon'],_0x432426['bind']('label')['to'](_0x4b9290,'isImageSelected',_0x56742d=>_(_0x187e1a,_0x5a5f98['type'],_0x56742d?'Replace':'Insert')['text']),_0x432426;});}['_createMenuBarButtons'](_0x2cabc8){return _0x2cabc8['map'](_0x35d4d1=>{const _0x13bab4=this['_createButton'](_0x278d25,_0x35d4d1['type']);return _0x13bab4['icon']=_0x35d4d1['icon'],_0x13bab4['label']=_0x35d4d1['shortText'],_0x13bab4;});}}class F extends _0x1d3ac5{['focusTracker'];['focusCycler'];constructor(_0x22d744){super(_0x22d744),this['focusTracker']=new _0x131869(),this['focusCycler']=new _0x481d50({'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(_0x3a220f,_0x35f440){super(_0x3a220f),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-'+_0x35f440}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x161e2e,_0x338998){const _0x32d32b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1b34e1=>_0x1b34e1<=_0x338998)['map'](_0xfb532f=>_0x161e2e['replace'](/\/$/,'')+'/-/resize/'+_0xfb532f+'x/\x20'+_0xfb532f+'w');return{'imageFallbackUrl':_0x161e2e,'imageSources':[{'srcset':_0x32d32b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x338998+'px)\x20100vw,\x20'+_0x338998+'px','type':'image/webp'}]};}function S(_0x11fc51,_0x286506,_0x2a0a3e){const _0x507e97=_0x11fc51['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x507e97?parseInt(_0x507e97[0x1],0xa):_0x286506,'height':_0x507e97?parseInt(_0x507e97[0x2],0xa):_0x2a0a3e};}function p(_0x4a8856,_0x5dc04e){const _0x6c8eb1=new(_0x2b50e7())(),_0x2ac17c=_0x4a8856['plugins']['get']('ImageUtils'),_0x1aa18a=_0x4a8856['editing']['mapper']['toViewElement'](_0x5dc04e),_0x4cbe44=_0x2ac17c['findViewImgElement'](_0x1aa18a),_0x4058b4=_0x4a8856['editing']['view']['domConverter']['viewToDom'](_0x4cbe44),_0x54bd82=_0x5dc04e['getAttribute']('width'),_0x1ddb5b=_0x5dc04e['getAttribute']('height'),_0x36fa7b='image-processing';_0x4a8856['editing']['view']['change'](_0x2ef9d4=>{_0x2ef9d4['addClass'](_0x36fa7b,_0x1aa18a),_0x2ef9d4['setStyle']('aspect-ratio',_0x54bd82+'/'+_0x1ddb5b,_0x4cbe44);}),_0x6c8eb1['listenTo'](_0x4058b4,'load',()=>{_0x6c8eb1['stopListening'](_0x4058b4,'load'),_0x4a8856['editing']['view']['change'](_0x12867a=>{_0x12867a['removeClass'](_0x36fa7b,_0x1aa18a),_0x12867a['removeStyle']('aspect-ratio',_0x4cbe44);});});}function z(_0x52f79a){if(Array['isArray'](_0x52f79a)){const _0xf5653c=_0x52f79a['map'](z);return _0x513270=>_0xf5653c['some'](_0x1522f6=>_0x1522f6(_0x513270));}if('origin'==_0x52f79a){const _0x37cffb=_0x147924['window']['location']['origin'];return _0x5a40c9=>new URL(_0x5a40c9,_0x147924['document']['baseURI'])['origin']==_0x37cffb;}return'function'==typeof _0x52f79a?_0x52f79a:_0x52f79a instanceof RegExp?_0x3dffc8=>!(!_0x3dffc8['match'](_0x52f79a)&&!_0x3dffc8['replace'](/^https?:\/\//,'')['match'](_0x52f79a)):()=>!0x1;}function A(_0x2eca6b,_0x50af07){return _0x4e8a22(_0x2eca6b['target'])['includes'](_0x50af07);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x478f17(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x363c5f,_0x3fc849,_0x50ecfd){super(),this['_editor']=_0x363c5f,this['_editing']=_0x3fc849,this['_dialog']=_0x363c5f['plugins']['get'](_0xe84605),this['_api']=_0x3fc849['ctxElement']['getAPI'](),this['_type']=_0x50ecfd,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:_0x17491b,model:_0x5412ba}=this['_editor'],_0x390531=_0x5412ba['document']['selection']['getSelectedElement'](),_0x1f7e0b=_0x390531&&(_0x390531['is']('element','imageBlock')||_0x390531['is']('element','imageInline'));this['_formView']=new x(_0x17491b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2b5b10,'title':_(_0x17491b,this['_type'],_0x1f7e0b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x138b5a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5046c6=>!A(_0x5046c6,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x198570}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x15da35=>{const _0x32748b=_0x198570['length'];for(const _0x4657f3 of _0x198570){const _0x3e5ac8=_0x4657f3===_0x198570[_0x32748b-0x1],{cdnUrl:_0x48c2e5,fileInfo:_0x53663f}=_0x4657f3;if(!_0x48c2e5||!_0x53663f)continue;const {width:_0x187c6f,height:_0x16903b}=_0x53663f['imageInfo'],_0x44a003=S(_0x48c2e5,_0x187c6f,_0x16903b),_0x334797=C(_0x48c2e5,_0x44a003['width']),_0x345300={'id':_0x53663f['uuid'],'type':'image','attributes':{'imageDimension':_0x44a003,..._0x334797}};this['_insertAsset'](_0x345300,_0x3e5ac8,_0x15da35);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x20ace6=>{'idle'===_0x20ace6['detail']['status']&&!_0x20ace6['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x152f68,_0x5c5a3f,_0x141a7a){const _0x16d9e6=this['_editor']['model']['document']['selection'],_0x3fe2d8=_0x16d9e6['getSelectedElement'](),_0x4d52b2=!(!_0x3fe2d8||!_0x3fe2d8['is']('element','imageInline'));_0x141a7a['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x152f68,_0x4d52b2),_0x5c5a3f||_0x141a7a['setSelection'](_0x16d9e6['getLastPosition']());}['_insertImage'](_0x4acbb0,_0x3e9e7f){const _0x201823=this['_editor'],{imageDimension:_0xe64a0a,imageFallbackUrl:_0x4db4e5,imageSources:_0x5ab45a}=_0x4acbb0['attributes'];_0x201823['execute']('insertImage',{'imageType':_0x3e9e7f?'imageInline':null,'source':{'uploadcareImageId':_0x4acbb0['id'],'src':_0x4db4e5,'sources':_0x5ab45a,..._0xe64a0a}});}}class w extends _0x14d6c3{['_editing'];['_controller']=null;static get['requires'](){return[_0xe84605,o];}constructor(_0x144bef){super(_0x144bef),this['_editing']=_0x144bef['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1090ee){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x1090ee);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x4d5ee8,..._0x4e56fc}){return _0x25b681(_0x4d5ee8,_0x4e56fc);}static['getInfo'](_0x142407,_0x584e88){return _0x58f2ce(_0x142407,_0x584e88);}}class f extends _0x212eed{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5412bf,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5c8bf6=this['editor'];if(!!!_0x5c8bf6['config']['get']('uploadcare'))return;_0x5c8bf6['plugins']['get'](_0x5412bf)['createUploadAdapter']=_0x39389a=>new k(_0x39389a,_0x5c8bf6),_0x5c8bf6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x162a41,{imageElement:_0xf3daf2,data:_0x34716b})=>{_0x5c8bf6['model']['change'](_0x130280=>{_0x130280['setAttribute']('uploadcareImageId',_0x34716b['uploadcareImageId'],_0xf3daf2);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x11288d,_0x385ac2){this['loader']=_0x11288d,this['editor']=_0x385ac2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3ec77e=await this['loader']['file'];return j['upload']({'file':_0x3ec77e,'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':_0x2e89de=>{_0x2e89de&&_0x2e89de['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2e89de['value']);}})['then'](async _0x48e8db=>{const {imageFallbackUrl:_0x529a23,imageSources:_0x2c4102}=C(_0x48e8db['cdnUrl'],_0x48e8db['imageInfo']['width']);return{'uploadcareImageId':_0x48e8db['uuid'],'default':_0x529a23,'sources':_0x2c4102};})['catch'](()=>{const _0x5bec29=t('Cannot\x20upload\x20file:')+('\x20'+_0x3ec77e['name']+'.');return Promise['reject'](_0x5bec29);});}['abort'](){this['controller']['abort']();}}class o extends _0x212eed{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0xe84605];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x106e6e){super(_0x106e6e),this['ucContextId']=_0x222cea();}['init'](){const _0x19f5b=this['editor'];_0x19f5b['commands']['add']('uploadcare',new w(_0x19f5b));}['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 _0x1abc88=_0x147924['document']['querySelector']('input[uploadcare-file-input]');_0x1abc88&&_0x1abc88['remove']();}),async function(_0x3ae484){const _0x5b823b=_0x1585e7([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4ae7b2=0x3d8d0df,_0x597c62=0x3dfa42f^_0x4ae7b2,_0x460058=window[_0x1585e7([0x44,0x61,0x74,0x65])][_0x1585e7([0x6e,0x6f,0x77])](),_0x2cbf1d=_0x3ae484[_0x1585e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17f7c1=new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45409c=>{_0x2cbf1d[_0x1585e7([0x6f,0x6e,0x63,0x65])](_0x1585e7([0x72,0x65,0x61,0x64,0x79]),_0x45409c);}),_0x79a2fc={[_0x1585e7([0x6b,0x74,0x79])]:_0x1585e7([0x45,0x43]),[_0x1585e7([0x75,0x73,0x65])]:_0x1585e7([0x73,0x69,0x67]),[_0x1585e7([0x63,0x72,0x76])]:_0x1585e7([0x50,0x2d,0x32,0x35,0x36]),[_0x1585e7([0x78])]:_0x1585e7([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]),[_0x1585e7([0x79])]:_0x1585e7([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]),[_0x1585e7([0x61,0x6c,0x67])]:_0x1585e7([0x45,0x53,0x32,0x35,0x36])},_0x413fc6=_0x2cbf1d[_0x1585e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1585e7([0x67,0x65,0x74])](_0x1585e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30c3ed(){let _0x326823,_0x1560af=null,_0x1147f3=null;try{if(_0x413fc6==_0x1585e7([0x47,0x50,0x4c]))return _0x1585e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x326823=_0x4da96c(),!_0x326823)return _0x1585e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x326823[_0x1585e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1147f3=_0x3163d2(_0x326823[_0x1585e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x326823[_0x1585e7([0x6a,0x74,0x69])])),await _0x55c9fd()?_0x11277c()?_0xc5d2eb()?_0x1585e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x74b5e()?(_0x326823[_0x1585e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1585e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1560af=_0x3522e4(_0x1585e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x326823[_0x1585e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1585e7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1560af=_0x3522e4(_0x1585e7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e294f()):_0x1585e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1585e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1585e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1585e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc5d2eb(){const _0x1810cb=[_0x1585e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1585e7([0x74,0x72,0x69,0x61,0x6c])][_0x1585e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326823[_0x1585e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x460058/0x3e8:0xe10*_0x597c62;return _0x326823[_0x1585e7([0x65,0x78,0x70])]<_0x1810cb;}function _0x11277c(){const _0x3be59d=_0x326823[_0x1585e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3be59d&&(!!_0x3be59d[_0x1585e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1585e7([0x2a]))||!!_0x3be59d[_0x1585e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1585e7([0x55,0x50,0x4c,0x43])));}function _0x74b5e(){const _0x2f5e35=_0x326823[_0x1585e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f5e35||0x0==_0x2f5e35[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x157611}=new URL(window[_0x1585e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2f5e35[_0x1585e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157611))return!0x0;const _0x1cb4b6=_0x157611[_0x1585e7([0x73,0x70,0x6c,0x69,0x74])](_0x1585e7([0x2e]));return _0x2f5e35[_0x1585e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x169dda=>_0x169dda[_0x1585e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1585e7([0x2a])))[_0x1585e7([0x6d,0x61,0x70])](_0x5b37ce=>_0x5b37ce[_0x1585e7([0x73,0x70,0x6c,0x69,0x74])](_0x1585e7([0x2e])))[_0x1585e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbfaa17=>_0xbfaa17[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cb4b6[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1585e7([0x6d,0x61,0x70])](_0x80c0ed=>Array(_0x1cb4b6[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x80c0ed[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1585e7([0x66,0x69,0x6c,0x6c])](_0x80c0ed[0x0]===_0x1585e7([0x2a])?_0x1585e7([0x2a]):'')[_0x1585e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x80c0ed))[_0x1585e7([0x73,0x6f,0x6d,0x65])](_0x3c8673=>_0x1cb4b6[_0x1585e7([0x65,0x76,0x65,0x72,0x79])]((_0x37fd85,_0xfcbca)=>_0x3c8673[_0xfcbca]===_0x37fd85||_0x3c8673[_0xfcbca]===_0x1585e7([0x2a])));}function _0x2e294f(){return _0x1560af&&_0x1147f3?new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47a1f8,_0x5da54c)=>{_0x1560af[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x47a1f8,_0x5da54c),_0x1147f3[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x1177fb=>{_0x1177fb!=_0x1585e7([0x56,0x61,0x6c,0x69,0x64])&&_0x47a1f8(_0x1177fb);},_0x5da54c);}):_0x1560af||_0x1147f3||_0x1585e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3163d2(_0x350fd7,_0x578a6d){return new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e05f9=>{if(_0x209d00())return _0x3e05f9(_0x1585e7([0x56,0x61,0x6c,0x69,0x64]));_0x220a03(),_0x2cbf1d[_0x1585e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1585e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b6976=!0x1;const _0x4dae09=_0x222cea();function _0xe4bda0(_0x111e9b){return!!_0x111e9b&&(typeof _0x111e9b===_0x1585e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x111e9b===_0x1585e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x111e9b[_0x1585e7([0x74,0x68,0x65,0x6e])]===_0x1585e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x111e9b[_0x1585e7([0x63,0x61,0x74,0x63,0x68])]===_0x1585e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xba0446(_0x4c209a){_0x1ebdb4(_0x4c209a)[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x546251=>{if(!_0x546251||_0x546251[_0x1585e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1585e7([0x6f,0x6b]))return _0x1585e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45dc35(_0x4847fc(_0x4dae09+_0x578a6d))!=_0x546251[_0x1585e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1585e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1585e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x44c7fb=>(_0x291435(),_0x44c7fb),()=>{const _0x94761c=_0x550c26();return null==_0x94761c?(_0x291435(),_0x1585e7([0x56,0x61,0x6c,0x69,0x64])):_0x1585e7(_0x460058-_0x94761c>(0x27d454df^_0x4ae7b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x3e05f9)[_0x1585e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e05f9(_0x1585e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45c4cd=0x3ee3e5f^_0x4ae7b2;function _0x291435(){const _0x28f678=_0x1585e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x45dc35(_0x4847fc(_0x350fd7)),_0x2b99cc=_0xb719fa(_0x45dc35(window[_0x1585e7([0x4d,0x61,0x74,0x68])][_0x1585e7([0x63,0x65,0x69,0x6c])](_0x460058/_0x45c4cd)));window[_0x1585e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1585e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28f678,_0x2b99cc);}function _0x550c26(){const _0x3eb5e6=_0x1585e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x45dc35(_0x4847fc(_0x350fd7)),_0x3a30f2=window[_0x1585e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1585e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3eb5e6);return _0x3a30f2?window[_0x1585e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb719fa(_0x3a30f2),0x10)*_0x45c4cd:null;}function _0x1ebdb4(_0x11c3bd){return new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e329f,_0x4bcbfa)=>{_0x11c3bd[_0x1585e7([0x74,0x68,0x65,0x6e])](_0x5e329f,_0x4bcbfa),window[_0x1585e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bcbfa,0x3d9041f^_0x4ae7b2);});}}_0x2cbf1d[_0x1585e7([0x6f,0x6e])](_0x1585e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x125538,_0x4922be)=>{if(_0x4922be[0x0]!=_0x350fd7)return _0x3e05f9(_0x1585e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4922be[0x1]={..._0x4922be[0x1],[_0x1585e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dae09};},{[_0x1585e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1585e7([0x68,0x69,0x67,0x68])}),_0x2cbf1d[_0x1585e7([0x6f,0x6e])](_0x1585e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4782b2=>{_0xe4bda0(_0x4782b2[_0x1585e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b6976=!0x0,_0xba0446(_0x4782b2[_0x1585e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1585e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1585e7([0x6c,0x6f,0x77])}),_0x17f7c1[_0x1585e7([0x74,0x68,0x65,0x6e])](()=>{_0x4b6976||_0x3e05f9(_0x1585e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x209d00(){return _0x2cbf1d[_0x1585e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1585e7([0x76,0x69,0x65,0x77])][_0x1585e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1585e7([0x61,0x75,0x74,0x6f]);}function _0x220a03(){_0x2cbf1d[_0x1585e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1585e7([0x76,0x69,0x65,0x77])][_0x1585e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1585e7([0x61,0x75,0x74,0x6f]);}}function _0x3522e4(_0x22466b){const _0x37841c=[new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8fd7a1=>setTimeout(_0x8fd7a1,0x3d1ee13^_0x4ae7b2)),_0x17f7c1[_0x1585e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469936=>{let _0x551463=0x0;_0x2cbf1d[_0x1585e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1585e7([0x6f,0x6e])](_0x1585e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x390fc3,_0x32312d)=>{_0x32312d[0x0][_0x1585e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x551463++,_0x551463==(0x3d8d127^_0x4ae7b2)&&(_0x469936(),_0x390fc3[_0x1585e7([0x6f,0x66,0x66])]());});}))];return window[_0x1585e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1585e7([0x72,0x61,0x63,0x65])](_0x37841c)[_0x1585e7([0x74,0x68,0x65,0x6e])](()=>_0x22466b);}async function _0x58bc86(){await _0x17f7c1,_0x2cbf1d[_0x1585e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1585e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43c65b,_0x2cbf1d[_0x1585e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1585e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43c65b,_0x2cbf1d[_0x1585e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1585e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x354504(_0x4067f4){const _0x31463b=_0x12da7a();_0x2cbf1d[_0x31463b]=_0x1585e7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4067f4,_0x4067f4!=_0x1585e7([0x56,0x61,0x6c,0x69,0x64])&&_0x58bc86();}function _0x12da7a(){const _0x231aa9=window[_0x1585e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1585e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1585e7([0x6e,0x6f,0x77])]())[_0x1585e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1585e7([0x2e]),'');let _0x18b0f5=_0x1585e7([0x52]);for(let _0x3b0ed0=0x0;_0x3b0ed0<_0x231aa9[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b0ed0+=0x2){let _0x3ad57f=window[_0x1585e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x231aa9[_0x1585e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b0ed0,_0x3b0ed0+0x2));_0x3ad57f>=_0x5b823b[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ad57f-=_0x5b823b[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18b0f5+=_0x5b823b[_0x3ad57f];}return _0x18b0f5;}function _0x4da96c(){const _0x4890ea=_0x413fc6[_0x1585e7([0x73,0x70,0x6c,0x69,0x74])](_0x1585e7([0x2e]));if(0x3!=_0x4890ea[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e8a88(_0x4890ea[0x1]);function _0x2e8a88(_0x1f6710){const _0x2af630=_0x423b49(_0x1f6710);return _0x2af630&&_0x277e84()?_0x2af630:null;function _0x277e84(){const _0x59c68f=_0x2af630[_0x1585e7([0x6a,0x74,0x69])],_0x33826f=window[_0x1585e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c68f[_0x1585e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59c68f[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21d8d6={..._0x2af630,[_0x1585e7([0x6a,0x74,0x69])]:_0x59c68f[_0x1585e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59c68f[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21d8d6[_0x1585e7([0x76,0x63])],_0x4847fc(_0x21d8d6)==_0x33826f;}}}async function _0x55c9fd(){let _0x274713=!0x0;try{const _0x2e9cf1=_0x413fc6[_0x1585e7([0x73,0x70,0x6c,0x69,0x74])](_0x1585e7([0x2e])),[_0x41db02,_0x25189e,_0x50f73a]=_0x2e9cf1;return _0x15b03a(_0x41db02),await _0x3378d6(_0x41db02,_0x25189e,_0x50f73a),_0x274713;}catch{return!0x1;}function _0x15b03a(_0x43cee8){const _0x170b33=_0x423b49(_0x43cee8);_0x170b33&&_0x170b33[_0x1585e7([0x61,0x6c,0x67])]==_0x1585e7([0x45,0x53,0x32,0x35,0x36])||(_0x274713=!0x1);}async function _0x3378d6(_0x2aa347,_0x3f8a33,_0x2ed6be){const _0x50ed25=window[_0x1585e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1585e7([0x66,0x72,0x6f,0x6d])](_0x2a5e40(_0x2ed6be),_0x239777=>_0x239777[_0x1585e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f834b=new window[(_0x1585e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1585e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2aa347+_0x1585e7([0x2e])+_0x3f8a33),_0x415c15=window[_0x1585e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1585e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x415c15)return;const _0x4a7dd9=await _0x415c15[_0x1585e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1585e7([0x6a,0x77,0x6b]),_0x79a2fc,{[_0x1585e7([0x6e,0x61,0x6d,0x65])]:_0x1585e7([0x45,0x43,0x44,0x53,0x41]),[_0x1585e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1585e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1585e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x415c15[_0x1585e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1585e7([0x6e,0x61,0x6d,0x65])]:_0x1585e7([0x45,0x43,0x44,0x53,0x41]),[_0x1585e7([0x68,0x61,0x73,0x68])]:{[_0x1585e7([0x6e,0x61,0x6d,0x65])]:_0x1585e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a7dd9,_0x50ed25,_0x4f834b)||(_0x274713=!0x1);}}function _0x423b49(_0x15be9c){return _0x15be9c[_0x1585e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1585e7([0x65,0x79]))?JSON[_0x1585e7([0x70,0x61,0x72,0x73,0x65])](_0x2a5e40(_0x15be9c)):null;}function _0x2a5e40(_0x3e8d54){return window[_0x1585e7([0x61,0x74,0x6f,0x62])](_0x3e8d54[_0x1585e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1585e7([0x2b]))[_0x1585e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1585e7([0x2f])));}function _0x4847fc(_0x2c7963){let _0x257ca0=0x1505;function _0xafc41d(_0x5c4d00){for(let _0x200931=0x0;_0x200931<_0x5c4d00[_0x1585e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x200931++){const _0x16e55f=_0x5c4d00[_0x1585e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x200931);_0x257ca0=(_0x257ca0<<0x5)+_0x257ca0+_0x16e55f,_0x257ca0&=_0x257ca0;}}function _0x33b0c0(_0x41676f){Array[_0x1585e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41676f)?_0x41676f[_0x1585e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33b0c0):_0x41676f&&typeof _0x41676f==_0x1585e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1585e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41676f)[_0x1585e7([0x73,0x6f,0x72,0x74])]()[_0x1585e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bfa79,_0x30afd6])=>{_0xafc41d(_0x5bfa79),_0x33b0c0(_0x30afd6);}):_0xafc41d(window[_0x1585e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41676f));}return _0x33b0c0(_0x2c7963),_0x257ca0>>>0x0;}function _0x45dc35(_0x5f555c){return _0x5f555c[_0x1585e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1585e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1585e7([0x30]));}function _0xb719fa(_0x3924e9){return _0x3924e9[_0x1585e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1585e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1585e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x43c65b(){}function _0x1585e7(_0x1f92fa){return _0x1f92fa['map'](_0x5f23bb=>String['fromCharCode'](_0x5f23bb))['join']('');}_0x354504(await _0x30c3ed());}(this);}['_initSchema'](){const _0xf79994=this['editor']['model']['schema'];_0xf79994['isRegistered']('imageBlock')&&_0xf79994['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xf79994['isRegistered']('imageInline')&&_0xf79994['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x323d90=this['editor'];_0x323d90['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x323d90['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3f2c14=>_0x3f2c14['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x29ce9b=_0x323d90['commands']['get']('replaceImageSource');_0x29ce9b&&this['listenTo'](_0x29ce9b,'cleanupImage',(_0x1df97f,[_0x4aa385,_0x1069a0])=>{_0x4aa385['removeAttribute']('uploadcareImageId',_0x1069a0);});}['_initConfig'](){const _0xf9e050=this['editor']['config']['get']('uploadcare.uploader')||{},_0x3a174a=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3b9c8c(_0x147924['document'],'uc-config',{..._0xf9e050,'pubkey':_0x3a174a,'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']=_0x12c1c7=>{if('closeMax'==_0x12c1c7)return'#uc-icon-arrow-down';},_0x147924['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3b9c8c(_0x147924['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x147924['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2e69df=this['editor']['commands']['get']('insertImage');_0x2e69df&&this['listenTo'](_0x2e69df,'execute',()=>{const _0x1d8e9d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1d8e9d&&_0x1d8e9d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x1d8e9d);});});const _0x4c7af4=this['editor']['commands']['get']('uploadcareImageReplace');_0x4c7af4&&this['listenTo'](_0x4c7af4,'execute',()=>{const _0x3b9761=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b9761&&_0x3b9761['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x3b9761);});});}}class tt extends _0x212eed{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d8ba0){super(_0x4d8ba0),_0x4d8ba0['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x444962['defineComponents'](_0x444962);}}class ii extends _0x1d3ac5{constructor(_0x25b792){super(_0x25b792);const t=_0x25b792['t'],_0x3be308=this['bindTemplate'],_0x3eb9c0=new _0x5cb9fc();_0x3eb9c0['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':[_0x3eb9c0,{'text':_0x3be308['to']('imageUploadProgress',_0x53a8dc=>t('Loading\x20image...')+'\x20('+(_0x53a8dc||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 _0x1d3ac5{constructor(_0x549f3c){super(_0x549f3c);const t=_0x549f3c['t'];this['set']('errorType',null);const _0x151ec0=new _0xf752b(_0x549f3c);_0x151ec0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x151ec0['withText']=!0x0,_0x151ec0['class']='ck-button-action',_0x151ec0['on']('execute',()=>{this['fire']('retry');}),_0x151ec0['bind']('isVisible')['to'](this,'errorType',_0x37cdca=>'NotFound'!==_0x37cdca);const _0x5db680=new _0x3f5515();_0x5db680['content']=_0x1b1e66,_0x5db680['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x418000=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':[_0x5db680,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x418000['to']('errorType',_0x26302a=>t('NotFound'!==_0x26302a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x151ec0]},{'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 _0x1d3ac5{constructor(_0x193c2b,_0x182e7f){super(_0x193c2b);const _0x31d454=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x182e7f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x31d454['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x20c1b2,_0x52b02e,_0x132d21){super(_0x20c1b2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x20c1b2),this['_errorView']=new ti(_0x20c1b2),this['_editingView']=new ei(_0x20c1b2,_0x132d21),this['_focusableView']=new _0x1d3ac5(_0x20c1b2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x52b02e),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'],_0x5d9aa0=>{this['_addUploadcareImageEditorListeners'](_0x5d9aa0);});}),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'](_0x3663af,_0x1494a6){const _0x5a0c1f='uc-cloud-image-editor',_0x5ee368=_0x3663af['querySelector'](_0x5a0c1f);if(_0x5ee368)return _0x1494a6(_0x5ee368);const _0x24c9bc=new MutationObserver(_0x90784b=>{const _0xf68276=_0x90784b['filter'](_0x3d6318=>_0x3d6318['target']===_0x3663af&&_0x3d6318['addedNodes']['length']>0x0&&_0x3d6318['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5a0c1f);_0xf68276['length']&&(_0x24c9bc['disconnect'](),_0x1494a6(_0xf68276[0x0]['addedNodes'][0x0]));});_0x24c9bc['observe'](_0x3663af,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x455b71){_0x455b71['addEventListener']('apply',_0x6c2848=>{this['fire']('apply',{'imageSrc':_0x6c2848['detail']['cdnUrl']});}),_0x455b71['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class N extends/* #__PURE__ -- @preserve */
25
+ _0x478f17(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x18994b,_0x371394,_0x5a3780){super(),this['_editor']=_0x18994b,this['_dialog']=_0x371394,this['_imageElement']=_0x5a3780,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 _0x3ffd1f=this['_imageElement'],_0x245561=_0x3ffd1f['getAttribute']('uploadcareImageId'),_0x5d76c7=_0x3ffd1f['getAttribute']('src');if(_0x245561)await this['_loadImageInfo'](_0x245561,_0x5d76c7);else{if(this['_imageCache']['has'](_0x5d76c7)){const _0x3222ad=this['_imageCache']['get'](_0x5d76c7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3222ad['url'],this['imageDimension']=_0x3222ad['dimension'],this['imageId']=_0x3222ad['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4ec8a3}=this['_editor'],t=_0x4ec8a3['t'],_0x4db065=new X(_0x4ec8a3,this['imageStatus'],this['_attributes']);_0x4db065['bind']('status')['to'](this,'imageStatus'),_0x4db065['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4db065['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4db065['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4db065,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b2c62,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4db065,'position':_0x138b5a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4db065['focus']();},'onHide':()=>{_0x4db065['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd909d3=>!A(_0xd909d3,_0x4db065['element'])}});}['_loadImageInfo'](_0x4c6b4b,_0x289e78){return j['getInfo'](_0x4c6b4b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x214285=>{const {width:_0x408790,height:_0x10ad2b}=_0x214285['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x289e78,this['imageDimension']={'width':_0x408790,'height':_0x10ad2b},this['imageId']=_0x4c6b4b;})['catch'](_0x3b700b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b700b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3848e4,_0x2f4c06){return this['_getImageAsFile'](_0x3848e4)['then'](_0x2552a8=>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':_0x2f4c06['signal'],'file':_0x2552a8,'onProgress':_0x40deb2=>{_0x40deb2&&_0x40deb2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x40deb2['value']));}}))['then'](_0x3fd37e=>{const {width:_0x2bfedd,height:_0x16ec60}=_0x3fd37e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3fd37e['cdnUrl'],this['imageDimension']={'width':_0x2bfedd,'height':_0x16ec60},this['imageId']=_0x3fd37e['uuid'],this['imageUploadProgress']=null;const _0x4bd194=_0x3848e4['getAttribute']('src');this['_imageCache']['set'](_0x4bd194,{'id':_0x3fd37e['uuid'],'url':_0x3fd37e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5111d6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5111d6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x389862,_0xcccac2){_0x389862['on']('apply',(_0x1865d1,_0x151bc1)=>{this['_replaceImage'](_0xcccac2,_0x151bc1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x389862['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x389862['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1545cd,_0x44df3a,_0x4244b7){const _0x3e14bb=this['_editor'],{width:_0x298ba5,height:_0x2cb0a3}=S(_0x44df3a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xb1b78e,imageSources:_0x57f44e}=C(_0x44df3a,_0x298ba5);_0x3e14bb['model']['change'](_0x15bbb9=>{if('$graveyard'===_0x1545cd['root']['rootName']){_0x3e14bb['execute']('insertImage',{'imageType':_0x1545cd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1545cd['getAttributes']()),'uploadcareImageId':_0x4244b7,'src':_0xb1b78e,'sources':_0x57f44e,'width':_0x298ba5,'height':_0x2cb0a3}});const _0x35ef19=_0x1545cd['getChildren']();_0x1545cd=_0x3e14bb['model']['document']['selection']['getSelectedElement']();for(const _0x44d8e1 of _0x35ef19)_0x15bbb9['append'](_0x15bbb9['cloneElement'](_0x44d8e1),_0x1545cd);}else _0x15bbb9['setSelection'](_0x1545cd,'on'),_0x3e14bb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1545cd['getAttributes']()),'uploadcareImageId':_0x4244b7,'src':_0xb1b78e,'sources':_0x57f44e,'width':_0x298ba5,'height':_0x2cb0a3},_0x1545cd);_0x15bbb9['setSelection'](_0x1545cd,'on');});}async['_getImageAsFile'](_0x2ccb0e){const _0x1fb5b6=_0x147924['window'],_0x4a22a8=_0x147924['document']['location']['href'],_0x401642=new _0x1fb5b6['URL'](_0x2ccb0e['getAttribute']('src'),_0x4a22a8);if('data:'===_0x401642['protocol']){const _0x883cd5=_0x401642['href']['split'](','),_0x1f2881=_0x883cd5[0x0]['match'](/:(.*?);/)[0x1],_0x583745=_0x1f2881['split']('/')[0x1],_0x28094b=_0x1fb5b6['atob'](_0x883cd5[_0x883cd5['length']-0x1]);let _0x4126cc=_0x28094b['length'];const _0x5b2732=new _0x1fb5b6['Uint8Array'](_0x4126cc);for(;_0x4126cc--;)_0x5b2732[_0x4126cc]=_0x28094b['charCodeAt'](_0x4126cc);return new _0x1fb5b6['File']([_0x5b2732],'image.'+_0x583745,{'type':_0x1f2881});}const _0x49596d=_0x401642['href']['split']('/'),_0xd0eaea=_0x49596d[_0x49596d['length']-0x1],_0x1e66fe=_0xd0eaea['split']('.')[0x1];return _0x1fb5b6['fetch'](_0x401642['href'])['then'](_0x50595c=>_0x50595c['clone']()['blob']())['then'](_0x5536c4=>new _0x1fb5b6['File']([_0x5536c4],_0xd0eaea,{'type':'image/'+_0x1e66fe}));}}class Q extends _0x14d6c3{['imageEditController'];static get['requires'](){return[_0xe84605];}['_isEditable'];constructor(_0x2894e0){super(_0x2894e0),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x48c0f5){const _0x74b8c0=z(_0x48c0f5);return _0x532a52=>!(!_0x532a52||!_0x532a52['is']('element','imageBlock')&&!_0x532a52['is']('element','imageInline'))&&(!!_0x532a52['hasAttribute']('uploadcareImageId')||!!_0x532a52['hasAttribute']('src')&&_0x74b8c0(_0x532a52['getAttribute']('src')));}(_0x2894e0['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x15e313=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x15e313);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x40002e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x40002e&&(_0x40002e['is']('element','imageBlock')||_0x40002e['is']('element','imageInline'))&&(this['imageEditController']=new N(this['editor'],this['editor']['plugins']['get'](_0xe84605),_0x40002e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class V extends _0x14d6c3{['refresh'](){const _0x986604=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x986604&&(_0x986604['is']('element','imageBlock')||_0x986604['is']('element','imageInline')));}['execute'](_0x32d802){const _0x2bdce3=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xfbcda6=>{_0xfbcda6['setAttributes'](_0x32d802,_0x2bdce3),_0xfbcda6['removeAttribute']('srcset',_0x2bdce3),_0xfbcda6['removeAttribute']('sizes',_0x2bdce3);});}}class m extends _0x212eed{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x16830c,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c1fd0}=this;_0x2c1fd0['commands']['add']('uploadcareImageEdit',new Q(_0x2c1fd0)),_0x2c1fd0['commands']['add']('uploadcareImageReplace',new V(_0x2c1fd0));}}class g extends _0x212eed{['_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 _0x5b18ba=this['editor'];_0x5b18ba['ui']['componentFactory']['add']('uploadcareImageEdit',_0xe5e4d0=>{const _0x3bd275=_0x5b18ba['commands']['get']('uploadcareImageEdit'),_0x40741b=new _0xf752b(_0xe5e4d0),t=_0xe5e4d0['t'];return _0x40741b['set']({'icon':_0x2b2c62,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x40741b['bind']('isEnabled')['to'](_0x3bd275),_0x40741b['bind']('isOn')['to'](_0x3bd275,'isActive'),this['listenTo'](_0x40741b,'execute',()=>{_0x5b18ba['execute']('uploadcareImageEdit'),_0x5b18ba['editing']['view']['focus']();}),_0x40741b;}),this['_initConfig']();}['_initConfig'](){const _0xf7be22=_0x3b9c8c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf7be22),this['listenTo'](this['editor'],'destroy',()=>{_0xf7be22['remove']();});}}class et extends _0x212eed{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,Q as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
@@ -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':_0x4c9d04=>0x1!=_0x4c9d04}};
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':_0x58a0fb=>0x1!=_0x58a0fb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x41b4be=>{const {af:{dictionary:_0x5acf9d,getPluralForm:_0x246d5d}}={'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':_0x10f854=>0x1!=_0x10f854}};_0x41b4be['af']||={'dictionary':{},'getPluralForm':null},_0x41b4be['af']['dictionary']=Object['assign'](_0x41b4be['af']['dictionary'],_0x5acf9d),_0x41b4be['af']['getPluralForm']=_0x246d5d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x46e206=>{const {af:{dictionary:_0x44ce98,getPluralForm:_0x27ee1c}}={'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':_0x2c4486=>0x1!=_0x2c4486}};_0x46e206['af']||={'dictionary':{},'getPluralForm':null},_0x46e206['af']['dictionary']=Object['assign'](_0x46e206['af']['dictionary'],_0x44ce98),_0x46e206['af']['getPluralForm']=_0x27ee1c;})(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':_0x54822e=>0x0==_0x54822e?0x0:0x1==_0x54822e?0x1:0x2==_0x54822e?0x2:_0x54822e%0x64>=0x3&&_0x54822e%0x64<=0xa?0x3:_0x54822e%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':_0x1fa2b8=>0x0==_0x1fa2b8?0x0:0x1==_0x1fa2b8?0x1:0x2==_0x1fa2b8?0x2:_0x1fa2b8%0x64>=0x3&&_0x1fa2b8%0x64<=0xa?0x3:_0x1fa2b8%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x126a6b=>{const {ar:{dictionary:_0x5144f9,getPluralForm:_0xd55bd}}={'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':_0x11a147=>0x0==_0x11a147?0x0:0x1==_0x11a147?0x1:0x2==_0x11a147?0x2:_0x11a147%0x64>=0x3&&_0x11a147%0x64<=0xa?0x3:_0x11a147%0x64>=0xb?0x4:0x5}};_0x126a6b['ar']||={'dictionary':{},'getPluralForm':null},_0x126a6b['ar']['dictionary']=Object['assign'](_0x126a6b['ar']['dictionary'],_0x5144f9),_0x126a6b['ar']['getPluralForm']=_0xd55bd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d4e03=>{const {ar:{dictionary:_0x48e2a0,getPluralForm:_0x43ca60}}={'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':_0x4aef14=>0x0==_0x4aef14?0x0:0x1==_0x4aef14?0x1:0x2==_0x4aef14?0x2:_0x4aef14%0x64>=0x3&&_0x4aef14%0x64<=0xa?0x3:_0x4aef14%0x64>=0xb?0x4:0x5}};_0x1d4e03['ar']||={'dictionary':{},'getPluralForm':null},_0x1d4e03['ar']['dictionary']=Object['assign'](_0x1d4e03['ar']['dictionary'],_0x48e2a0),_0x1d4e03['ar']['getPluralForm']=_0x43ca60;})(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':_0x321814=>0x1!=_0x321814}};
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':_0x4789c9=>0x1!=_0x4789c9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x299c90=>{const {ast:{dictionary:_0x448d24,getPluralForm:_0xbc0bf8}}={'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':_0x42f2f4=>0x1!=_0x42f2f4}};_0x299c90['ast']||={'dictionary':{},'getPluralForm':null},_0x299c90['ast']['dictionary']=Object['assign'](_0x299c90['ast']['dictionary'],_0x448d24),_0x299c90['ast']['getPluralForm']=_0xbc0bf8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22f77b=>{const {ast:{dictionary:_0x52875f,getPluralForm:_0x64d0dd}}={'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':_0x2c9ad9=>0x1!=_0x2c9ad9}};_0x22f77b['ast']||={'dictionary':{},'getPluralForm':null},_0x22f77b['ast']['dictionary']=Object['assign'](_0x22f77b['ast']['dictionary'],_0x52875f),_0x22f77b['ast']['getPluralForm']=_0x64d0dd;})(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':_0x33b395=>0x1!=_0x33b395}};
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':_0x1dcec6=>0x1!=_0x1dcec6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53a769=>{const {az:{dictionary:_0xc9b14d,getPluralForm:_0x1d9e8f}}={'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':_0x2fc798=>0x1!=_0x2fc798}};_0x53a769['az']||={'dictionary':{},'getPluralForm':null},_0x53a769['az']['dictionary']=Object['assign'](_0x53a769['az']['dictionary'],_0xc9b14d),_0x53a769['az']['getPluralForm']=_0x1d9e8f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb1e9be=>{const {az:{dictionary:_0x4b8dd2,getPluralForm:_0x4eb925}}={'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':_0x51833b=>0x1!=_0x51833b}};_0xb1e9be['az']||={'dictionary':{},'getPluralForm':null},_0xb1e9be['az']['dictionary']=Object['assign'](_0xb1e9be['az']['dictionary'],_0x4b8dd2),_0xb1e9be['az']['getPluralForm']=_0x4eb925;})(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':_0x40fb74=>_0x40fb74%0xa==0x1&&_0x40fb74%0x64!=0xb?0x0:_0x40fb74%0xa>=0x2&&_0x40fb74%0xa<=0x4&&(_0x40fb74%0x64<0xa||_0x40fb74%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':_0x46cdcf=>_0x46cdcf%0xa==0x1&&_0x46cdcf%0x64!=0xb?0x0:_0x46cdcf%0xa>=0x2&&_0x46cdcf%0xa<=0x4&&(_0x46cdcf%0x64<0xa||_0x46cdcf%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38c968=>{const {be:{dictionary:_0x18e244,getPluralForm:_0x17b828}}={'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':_0x7fe582=>_0x7fe582%0xa==0x1&&_0x7fe582%0x64!=0xb?0x0:_0x7fe582%0xa>=0x2&&_0x7fe582%0xa<=0x4&&(_0x7fe582%0x64<0xa||_0x7fe582%0x64>=0x14)?0x1:0x2}};_0x38c968['be']||={'dictionary':{},'getPluralForm':null},_0x38c968['be']['dictionary']=Object['assign'](_0x38c968['be']['dictionary'],_0x18e244),_0x38c968['be']['getPluralForm']=_0x17b828;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x280705=>{const {be:{dictionary:_0x242cee,getPluralForm:_0x36bbbd}}={'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':_0xf629d5=>_0xf629d5%0xa==0x1&&_0xf629d5%0x64!=0xb?0x0:_0xf629d5%0xa>=0x2&&_0xf629d5%0xa<=0x4&&(_0xf629d5%0x64<0xa||_0xf629d5%0x64>=0x14)?0x1:0x2}};_0x280705['be']||={'dictionary':{},'getPluralForm':null},_0x280705['be']['dictionary']=Object['assign'](_0x280705['be']['dictionary'],_0x242cee),_0x280705['be']['getPluralForm']=_0x36bbbd;})(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':_0x1f77fd=>0x1!=_0x1f77fd}};
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':_0x15d427=>0x1!=_0x15d427}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x59a74f=>{const {bg:{dictionary:_0x19cd79,getPluralForm:_0x4eb965}}={'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':_0x3528e4=>0x1!=_0x3528e4}};_0x59a74f['bg']||={'dictionary':{},'getPluralForm':null},_0x59a74f['bg']['dictionary']=Object['assign'](_0x59a74f['bg']['dictionary'],_0x19cd79),_0x59a74f['bg']['getPluralForm']=_0x4eb965;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d696a=>{const {bg:{dictionary:_0x40be19,getPluralForm:_0x44789d}}={'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':_0x342ab4=>0x1!=_0x342ab4}};_0x1d696a['bg']||={'dictionary':{},'getPluralForm':null},_0x1d696a['bg']['dictionary']=Object['assign'](_0x1d696a['bg']['dictionary'],_0x40be19),_0x1d696a['bg']['getPluralForm']=_0x44789d;})(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':_0x29c787=>0x1!=_0x29c787}};
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':_0x14cc4b=>0x1!=_0x14cc4b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ffe27=>{const {bn:{dictionary:_0x3289a1,getPluralForm:_0x466ef9}}={'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':_0x3a849f=>0x1!=_0x3a849f}};_0x1ffe27['bn']||={'dictionary':{},'getPluralForm':null},_0x1ffe27['bn']['dictionary']=Object['assign'](_0x1ffe27['bn']['dictionary'],_0x3289a1),_0x1ffe27['bn']['getPluralForm']=_0x466ef9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x379902=>{const {bn:{dictionary:_0x55e582,getPluralForm:_0x351faa}}={'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':_0x46be5b=>0x1!=_0x46be5b}};_0x379902['bn']||={'dictionary':{},'getPluralForm':null},_0x379902['bn']['dictionary']=Object['assign'](_0x379902['bn']['dictionary'],_0x55e582),_0x379902['bn']['getPluralForm']=_0x351faa;})(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':_0x261c56=>_0x261c56%0xa==0x1&&_0x261c56%0x64!=0xb?0x0:_0x261c56%0xa>=0x2&&_0x261c56%0xa<=0x4&&(_0x261c56%0x64<0xa||_0x261c56%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':_0x25674=>_0x25674%0xa==0x1&&_0x25674%0x64!=0xb?0x0:_0x25674%0xa>=0x2&&_0x25674%0xa<=0x4&&(_0x25674%0x64<0xa||_0x25674%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x42303f=>{const {bs:{dictionary:_0x27597e,getPluralForm:_0x49d786}}={'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':_0x6e7dcc=>_0x6e7dcc%0xa==0x1&&_0x6e7dcc%0x64!=0xb?0x0:_0x6e7dcc%0xa>=0x2&&_0x6e7dcc%0xa<=0x4&&(_0x6e7dcc%0x64<0xa||_0x6e7dcc%0x64>=0x14)?0x1:0x2}};_0x42303f['bs']||={'dictionary':{},'getPluralForm':null},_0x42303f['bs']['dictionary']=Object['assign'](_0x42303f['bs']['dictionary'],_0x27597e),_0x42303f['bs']['getPluralForm']=_0x49d786;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33ea96=>{const {bs:{dictionary:_0x22b32c,getPluralForm:_0x3e719b}}={'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':_0x1a91e6=>_0x1a91e6%0xa==0x1&&_0x1a91e6%0x64!=0xb?0x0:_0x1a91e6%0xa>=0x2&&_0x1a91e6%0xa<=0x4&&(_0x1a91e6%0x64<0xa||_0x1a91e6%0x64>=0x14)?0x1:0x2}};_0x33ea96['bs']||={'dictionary':{},'getPluralForm':null},_0x33ea96['bs']['dictionary']=Object['assign'](_0x33ea96['bs']['dictionary'],_0x22b32c),_0x33ea96['bs']['getPluralForm']=_0x3e719b;})(window['CKEDITOR_TRANSLATIONS']||={});