@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251201.0 → 0.0.0-nightly-20251202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +10 -10
  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 _0x2f77e5,Command as _0x331d01}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x18cb1f,IconGooglePhotos as _0x17c309,IconGoogleDrive as _0x58c5b5,IconFacebook as _0x52fb6f,IconDropbox as _0x5cad13,IconUploadcareLink as _0xfcb526,IconUploadcareImageUpload as _0x7c2c5f,IconError as _0x475554,IconUploadcareImageEdit as _0x5a249f}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x51a914,MenuBarMenuListItemButtonView as _0xbf69df,View as _0x178ac9,FocusCycler as _0x406826,Dialog as _0x51643a,DialogViewPosition as _0x136fe8,SpinnerView as _0x7b70d3,IconView as _0x5cf7bc,Notification as _0xb0e3c9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x41bca7,DomEmitterMixin as _0x3c6164,global as _0x49f1eb,getAncestors as _0x4a7880,ObservableMixin as _0x40249e,uid as _0x2a311a,createElement as _0xdce142}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x4c4e66}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x5c8d28,info as _0x4caba5}from'@uploadcare/upload-client';import*as _0x3225ce from'@uploadcare/file-uploader';var i=function(_0x38feb2){return _0x38feb2['Local']='local',_0x38feb2['URL']='url',_0x38feb2['Dropbox']='dropbox',_0x38feb2['GDrive']='gdrive',_0x38feb2['Facebook']='facebook',_0x38feb2['GPhotos']='gphotos',_0x38feb2['OneDrive']='onedrive',_0x38feb2;}({});function _(_0x2206b9,_0x5305dc,_0x1e3dc8){const t=_0x2206b9['t'],_0x26dccb=_0x2206b9['t'];switch(_0x5305dc){case i['Local']:return{'text':_0x26dccb('Insert'===_0x1e3dc8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x26dccb('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1e3dc8?_0x26dccb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x26dccb('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1e3dc8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1e3dc8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1e3dc8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1e3dc8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1e3dc8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5305dc;}}class e extends _0x2f77e5{['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 _0x41f67e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1988de;for(const _0x22f8f4 in _0x41f67e){const _0x172da5=_0x22f8f4,_0xcc001b=_0x41f67e[_0x172da5];if('uploadcareLicenseKeyValid'==_0xcc001b||'uploadcareLicenseKeyInvalid'==_0xcc001b||'uploadcareLicenseKeyExpired'==_0xcc001b||'uploadcareLicenseKeyDomainLimit'==_0xcc001b||'uploadcareLicenseKeyNotAllowed'==_0xcc001b||'uploadcareLicenseKeyEvaluationLimit'==_0xcc001b||'uploadcareLicenseKeyTrialLimit'==_0xcc001b||'uploadcareLicenseKeyUsageLimit'==_0xcc001b){delete _0x41f67e[_0x172da5],_0x1988de=_0xcc001b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1988de&&_0x41f67e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1988de&&_0x41f67e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1988de&&_0x41f67e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1988de&&_0x41f67e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1988de&&_0x41f67e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1988de&&_0x41f67e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1988de&&_0x41f67e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x586d68}=this,_0x231f87=_0x586d68['commands']['get']('uploadcare');if(!_0x231f87)return;const _0x36538c=this['_normalizeConfigSourceList'](_0x586d68['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x52cd2d,_0x4930ae)=>{const _0x2730af=this['_getIntegrationKey'](_0x4930ae['type']);return _0x52cd2d[_0x2730af]||(_0x52cd2d[_0x2730af]=[]),_0x52cd2d[_0x2730af]['push'](_0x4930ae),_0x52cd2d;},{});_0x586d68['plugins']['has']('ImageInsertUI')&&_0x586d68['commands']['get']('uploadcare')&&Object['entries'](_0x36538c)['forEach'](([_0x40deb6,_0x2aa5dd])=>{_0x586d68['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x40deb6,'observable':()=>_0x231f87,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2aa5dd),'formViewCreator':()=>this['_createDropdownButtons'](_0x2aa5dd),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2aa5dd),'override':'assetManager'!==_0x40deb6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x312e0c){const {locale:_0x1040b9}=this['editor'];return _0x312e0c['map'](_0x494bfe=>{const _0x5800dd=_(_0x1040b9,_0x494bfe,'Insert');switch(_0x494bfe){case i['Local']:return{'icon':_0x7c2c5f,'type':i['Local'],..._0x5800dd};case i['URL']:return{'icon':_0xfcb526,'type':i['URL'],..._0x5800dd};case i['Dropbox']:return{'icon':_0x5cad13,'type':i['Dropbox'],..._0x5800dd};case i['Facebook']:return{'icon':_0x52fb6f,'type':i['Facebook'],..._0x5800dd};case i['GDrive']:return{'icon':_0x58c5b5,'type':i['GDrive'],..._0x5800dd};case i['GPhotos']:return{'icon':_0x17c309,'type':i['GPhotos'],..._0x5800dd};case i['OneDrive']:return{'icon':_0x18cb1f,'type':i['OneDrive'],..._0x5800dd};}});}['_getIntegrationKey'](_0x4319f9){switch(_0x4319f9){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x56435f,_0x5bb91e){const _0x199f41=this['editor'],_0x55a9d5=new _0x56435f(_0x199f41['locale']),_0x397523=_0x199f41['commands']['get']('uploadcare');return _0x55a9d5['bind']('isEnabled')['to'](_0x397523),_0x55a9d5['on']('execute',()=>{_0x397523['execute'](_0x5bb91e);}),_0x55a9d5;}['_createToolbarButton'](_0xdb5798){const {locale:_0x329cf7}=this['editor'],_0x2572a7=this['editor']['plugins']['get']('ImageInsertUI'),_0x3273d3=_0xdb5798[0x0],_0xb57ab2=this['_createButton'](_0x51a914,_0x3273d3['type']);return _0xb57ab2['icon']=_0x3273d3['icon'],_0xb57ab2['bind']('label')['to'](_0x2572a7,'isImageSelected',_0x8d2bfd=>_(_0x329cf7,_0x3273d3['type'],_0x8d2bfd?'Replace':'Insert')['text']),_0xb57ab2['tooltip']=!0x0,_0xb57ab2;}['_createDropdownButtons'](_0x5ea72d){const {locale:_0x28a1e1}=this['editor'],_0x45243f=this['editor']['plugins']['get']('ImageInsertUI');return _0x5ea72d['map'](_0x2e6ef6=>{const _0x4fde38=this['_createButton'](_0x51a914,_0x2e6ef6['type']);return _0x4fde38['withText']=!0x0,_0x4fde38['icon']=_0x2e6ef6['icon'],_0x4fde38['bind']('label')['to'](_0x45243f,'isImageSelected',_0x528154=>_(_0x28a1e1,_0x2e6ef6['type'],_0x528154?'Replace':'Insert')['text']),_0x4fde38;});}['_createMenuBarButtons'](_0x2780b7){return _0x2780b7['map'](_0xe3aa74=>{const _0x269791=this['_createButton'](_0xbf69df,_0xe3aa74['type']);return _0x269791['icon']=_0xe3aa74['icon'],_0x269791['label']=_0xe3aa74['shortText'],_0x269791;});}}class F extends _0x178ac9{['focusTracker'];['focusCycler'];constructor(_0x594852){super(_0x594852),this['focusTracker']=new _0x41bca7(),this['focusCycler']=new _0x406826({'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(_0x436ec6,_0xf7b62d){super(_0x436ec6),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-'+_0xf7b62d}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0xb2ad8,_0x3d9a8e){const _0x5351e0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x559fd9=>_0x559fd9<=_0x3d9a8e)['map'](_0x58971c=>_0xb2ad8['replace'](/\/$/,'')+'/-/resize/'+_0x58971c+'x/\x20'+_0x58971c+'w');return{'imageFallbackUrl':_0xb2ad8,'imageSources':[{'srcset':_0x5351e0['join'](',\x20'),'sizes':'(max-width:\x20'+_0x3d9a8e+'px)\x20100vw,\x20'+_0x3d9a8e+'px','type':'image/webp'}]};}function S(_0x46cfc1,_0xe13dc3,_0x2907a9){const _0x347f72=_0x46cfc1['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x347f72?parseInt(_0x347f72[0x1],0xa):_0xe13dc3,'height':_0x347f72?parseInt(_0x347f72[0x2],0xa):_0x2907a9};}function p(_0x1dc4ed,_0xcb9c1e){const _0x5d0234=new(_0x3c6164())(),_0x360aa3=_0x1dc4ed['plugins']['get']('ImageUtils'),_0x170796=_0x1dc4ed['editing']['mapper']['toViewElement'](_0xcb9c1e),_0x52121c=_0x360aa3['findViewImgElement'](_0x170796),_0x1e8dde=_0x1dc4ed['editing']['view']['domConverter']['viewToDom'](_0x52121c),_0x229f02=_0xcb9c1e['getAttribute']('width'),_0x2c42a2=_0xcb9c1e['getAttribute']('height'),_0x59d430='image-processing';_0x1dc4ed['editing']['view']['change'](_0x2b3fe2=>{_0x2b3fe2['addClass'](_0x59d430,_0x170796),_0x2b3fe2['setStyle']('aspect-ratio',_0x229f02+'/'+_0x2c42a2,_0x52121c);}),_0x5d0234['listenTo'](_0x1e8dde,'load',()=>{_0x5d0234['stopListening'](_0x1e8dde,'load'),_0x1dc4ed['editing']['view']['change'](_0x4353fd=>{_0x4353fd['removeClass'](_0x59d430,_0x170796),_0x4353fd['removeStyle']('aspect-ratio',_0x52121c);});});}function G(_0x15b2ef){if(Array['isArray'](_0x15b2ef)){const _0x10caf3=_0x15b2ef['map'](G);return _0x2ee219=>_0x10caf3['some'](_0x5aa224=>_0x5aa224(_0x2ee219));}if('origin'==_0x15b2ef){const _0x12c2a2=_0x49f1eb['window']['location']['origin'];return _0x338363=>new URL(_0x338363,_0x49f1eb['document']['baseURI'])['origin']==_0x12c2a2;}return'function'==typeof _0x15b2ef?_0x15b2ef:_0x15b2ef instanceof RegExp?_0x5a3fae=>!(!_0x5a3fae['match'](_0x15b2ef)&&!_0x5a3fae['replace'](/^https?:\/\//,'')['match'](_0x15b2ef)):()=>!0x1;}function A(_0x342da2,_0x3387c6){return _0x4a7880(_0x342da2['target'])['includes'](_0x3387c6);}class n extends/* #__PURE__ -- @preserve */
24
- _0x40249e(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x20a318,_0x45e4c9,_0x5bd77f){super(),this['_editor']=_0x20a318,this['_editing']=_0x45e4c9,this['_dialog']=_0x20a318['plugins']['get'](_0x51643a),this['_api']=_0x45e4c9['ctxElement']['getAPI'](),this['_type']=_0x5bd77f,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:_0xd2ca47,model:_0x518405}=this['_editor'],_0x3c1129=_0x518405['document']['selection']['getSelectedElement'](),_0x570778=_0x3c1129&&(_0x3c1129['is']('element','imageBlock')||_0x3c1129['is']('element','imageInline'));this['_formView']=new x(_0xd2ca47,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x7c2c5f,'title':_(_0xd2ca47,this['_type'],_0x570778?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x136fe8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c5d7d=>!A(_0x1c5d7d,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3dff93}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x213c62=>{const _0xfb8833=_0x3dff93['length'];for(const _0x19aea2 of _0x3dff93){const _0x42e89e=_0x19aea2===_0x3dff93[_0xfb8833-0x1],{cdnUrl:_0x4bc774,fileInfo:_0x1575b9}=_0x19aea2;if(!_0x4bc774||!_0x1575b9)continue;const {width:_0x1ce0c6,height:_0x599acc}=_0x1575b9['imageInfo'],_0x2cd559=S(_0x4bc774,_0x1ce0c6,_0x599acc),_0x1c01ea=C(_0x4bc774,_0x2cd559['width']),_0x685ee0={'id':_0x1575b9['uuid'],'type':'image','attributes':{'imageDimension':_0x2cd559,..._0x1c01ea}};this['_insertAsset'](_0x685ee0,_0x42e89e,_0x213c62);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1c3f9e=>{'idle'===_0x1c3f9e['detail']['status']&&!_0x1c3f9e['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x20a6f2,_0x2b1aab,_0x5dc7b5){const _0x276f8b=this['_editor']['model']['document']['selection'],_0x261ece=_0x276f8b['getSelectedElement'](),_0x20ff37=!(!_0x261ece||!_0x261ece['is']('element','imageInline'));_0x5dc7b5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x20a6f2,_0x20ff37),_0x2b1aab||_0x5dc7b5['setSelection'](_0x276f8b['getLastPosition']());}['_insertImage'](_0x39a02b,_0x400bb1){const _0xb02c66=this['_editor'],{imageDimension:_0x280174,imageFallbackUrl:_0x5cc824,imageSources:_0xf888ca}=_0x39a02b['attributes'];_0xb02c66['execute']('insertImage',{'imageType':_0x400bb1?'imageInline':null,'source':{'uploadcareImageId':_0x39a02b['id'],'src':_0x5cc824,'sources':_0xf888ca,..._0x280174}});}}class w extends _0x331d01{['_editing'];['_controller']=null;static get['requires'](){return[_0x51643a,o];}constructor(_0x117a9a){super(_0x117a9a),this['_editing']=_0x117a9a['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2bc67c){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x2bc67c);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5bc8ea,..._0x150875}){return _0x5c8d28(_0x5bc8ea,_0x150875);}static['getInfo'](_0x22523b,_0x13bcd5){return _0x4caba5(_0x22523b,_0x13bcd5);}}class f extends _0x2f77e5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4c4e66,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x287c96=this['editor'];if(!!!_0x287c96['config']['get']('uploadcare'))return;_0x287c96['plugins']['get'](_0x4c4e66)['createUploadAdapter']=_0x2f217b=>new k(_0x2f217b,_0x287c96),_0x287c96['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3d4b8b,{imageElement:_0x513752,data:_0x2a667e})=>{_0x287c96['model']['change'](_0x4597c7=>{_0x4597c7['setAttribute']('uploadcareImageId',_0x2a667e['uploadcareImageId'],_0x513752);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x533f31,_0x524f55){this['loader']=_0x533f31,this['editor']=_0x524f55,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2a9f30=await this['loader']['file'];return j['upload']({'file':_0x2a9f30,'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':_0x4bdc51=>{_0x4bdc51&&_0x4bdc51['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4bdc51['value']);}})['then'](async _0x43cd82=>{const {imageFallbackUrl:_0x51ca29,imageSources:_0x333817}=C(_0x43cd82['cdnUrl'],_0x43cd82['imageInfo']['width']);return{'uploadcareImageId':_0x43cd82['uuid'],'default':_0x51ca29,'sources':_0x333817};})['catch'](()=>{const _0x5aaed3=t('Cannot\x20upload\x20file:')+('\x20'+_0x2a9f30['name']+'.');return Promise['reject'](_0x5aaed3);});}['abort'](){this['controller']['abort']();}}class o extends _0x2f77e5{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x51643a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x580fc3){super(_0x580fc3),this['ucContextId']=_0x2a311a();}['init'](){const _0x25c0d0=this['editor'];_0x25c0d0['commands']['add']('uploadcare',new w(_0x25c0d0));}['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 _0x433aa4=_0x49f1eb['document']['querySelector']('input[uploadcare-file-input]');_0x433aa4&&_0x433aa4['remove']();}),async function(_0x1e5c2a){const _0x47d75e=_0x56acbf([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x485465=0x535f8c3a,_0x5aa92a=0x5358f692^_0x485465,_0x13294c=window[_0x56acbf([0x44,0x61,0x74,0x65])][_0x56acbf([0x6e,0x6f,0x77])](),_0x4b5956=_0x1e5c2a[_0x56acbf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b2720=new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cf2d0=>{_0x4b5956[_0x56acbf([0x6f,0x6e,0x63,0x65])](_0x56acbf([0x72,0x65,0x61,0x64,0x79]),_0x5cf2d0);}),_0x174419={[_0x56acbf([0x6b,0x74,0x79])]:_0x56acbf([0x45,0x43]),[_0x56acbf([0x75,0x73,0x65])]:_0x56acbf([0x73,0x69,0x67]),[_0x56acbf([0x63,0x72,0x76])]:_0x56acbf([0x50,0x2d,0x32,0x35,0x36]),[_0x56acbf([0x78])]:_0x56acbf([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]),[_0x56acbf([0x79])]:_0x56acbf([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]),[_0x56acbf([0x61,0x6c,0x67])]:_0x56acbf([0x45,0x53,0x32,0x35,0x36])},_0x50cf0c=_0x4b5956[_0x56acbf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56acbf([0x67,0x65,0x74])](_0x56acbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x30639f(){let _0x1812a6,_0x2221fb=null,_0x535257=null;try{if(_0x50cf0c==_0x56acbf([0x47,0x50,0x4c]))return _0x56acbf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1812a6=_0x364f72(),!_0x1812a6)return _0x56acbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1812a6[_0x56acbf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x535257=_0xc0942c(_0x1812a6[_0x56acbf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1812a6[_0x56acbf([0x6a,0x74,0x69])])),await _0xe8c9f3()?_0x4bff9b()?_0x3ceacc()?_0x56acbf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35b91e()?(_0x1812a6[_0x56acbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56acbf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2221fb=_0x239187(_0x56acbf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1812a6[_0x56acbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56acbf([0x74,0x72,0x69,0x61,0x6c])&&(_0x2221fb=_0x239187(_0x56acbf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46648f()):_0x56acbf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56acbf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56acbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56acbf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ceacc(){const _0x12d5dc=[_0x56acbf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56acbf([0x74,0x72,0x69,0x61,0x6c])][_0x56acbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1812a6[_0x56acbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13294c/0x3e8:0xe10*_0x5aa92a;return _0x1812a6[_0x56acbf([0x65,0x78,0x70])]<_0x12d5dc;}function _0x4bff9b(){const _0x47086d=_0x1812a6[_0x56acbf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47086d&&(!!_0x47086d[_0x56acbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56acbf([0x2a]))||!!_0x47086d[_0x56acbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56acbf([0x55,0x50,0x4c,0x43])));}function _0x35b91e(){const _0x47ac8a=_0x1812a6[_0x56acbf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47ac8a||0x0==_0x47ac8a[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3077c3}=new URL(window[_0x56acbf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47ac8a[_0x56acbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3077c3))return!0x0;const _0x2270b0=_0x3077c3[_0x56acbf([0x73,0x70,0x6c,0x69,0x74])](_0x56acbf([0x2e]));return _0x47ac8a[_0x56acbf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20f2af=>_0x20f2af[_0x56acbf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56acbf([0x2a])))[_0x56acbf([0x6d,0x61,0x70])](_0x40566b=>_0x40566b[_0x56acbf([0x73,0x70,0x6c,0x69,0x74])](_0x56acbf([0x2e])))[_0x56acbf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ea67e=>_0x3ea67e[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2270b0[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56acbf([0x6d,0x61,0x70])](_0x2ead7d=>Array(_0x2270b0[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ead7d[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56acbf([0x66,0x69,0x6c,0x6c])](_0x2ead7d[0x0]===_0x56acbf([0x2a])?_0x56acbf([0x2a]):'')[_0x56acbf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ead7d))[_0x56acbf([0x73,0x6f,0x6d,0x65])](_0x5ce995=>_0x2270b0[_0x56acbf([0x65,0x76,0x65,0x72,0x79])]((_0x551ab8,_0x54faee)=>_0x5ce995[_0x54faee]===_0x551ab8||_0x5ce995[_0x54faee]===_0x56acbf([0x2a])));}function _0x46648f(){return _0x2221fb&&_0x535257?new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x383bb2,_0x278b4f)=>{_0x2221fb[_0x56acbf([0x74,0x68,0x65,0x6e])](_0x383bb2,_0x278b4f),_0x535257[_0x56acbf([0x74,0x68,0x65,0x6e])](_0x47e4ee=>{_0x47e4ee!=_0x56acbf([0x56,0x61,0x6c,0x69,0x64])&&_0x383bb2(_0x47e4ee);},_0x278b4f);}):_0x2221fb||_0x535257||_0x56acbf([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc0942c(_0x5966e3,_0xa7d627){return new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d793=>{if(_0x5b50de())return _0x14d793(_0x56acbf([0x56,0x61,0x6c,0x69,0x64]));_0x598be2(),_0x4b5956[_0x56acbf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56acbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x568f39=!0x1;const _0x6795ca=_0x2a311a();function _0x2a2402(_0x381ca6){return!!_0x381ca6&&(typeof _0x381ca6===_0x56acbf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x381ca6===_0x56acbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x381ca6[_0x56acbf([0x74,0x68,0x65,0x6e])]===_0x56acbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x381ca6[_0x56acbf([0x63,0x61,0x74,0x63,0x68])]===_0x56acbf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30e722(_0xb851b6){_0x5894e5(_0xb851b6)[_0x56acbf([0x74,0x68,0x65,0x6e])](_0xdbce7c=>{if(!_0xdbce7c||_0xdbce7c[_0x56acbf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56acbf([0x6f,0x6b]))return _0x56acbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x299120(_0x5cba20(_0x6795ca+_0xa7d627))!=_0xdbce7c[_0x56acbf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56acbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56acbf([0x56,0x61,0x6c,0x69,0x64]);})[_0x56acbf([0x74,0x68,0x65,0x6e])](_0x5d9a25=>(_0x494abb(),_0x5d9a25),()=>{const _0x4cda49=_0x5a30a2();return null==_0x4cda49?(_0x494abb(),_0x56acbf([0x56,0x61,0x6c,0x69,0x64])):_0x56acbf(_0x13294c-_0x4cda49>(0x7753083a^_0x485465)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56acbf([0x74,0x68,0x65,0x6e])](_0x14d793)[_0x56acbf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14d793(_0x56acbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a194f=0x536962ba^_0x485465;function _0x494abb(){const _0x4a6f31=_0x56acbf([0x6c,0x6c,0x63,0x74,0x2d])+_0x299120(_0x5cba20(_0x5966e3)),_0x4439e1=_0x9acf3d(_0x299120(window[_0x56acbf([0x4d,0x61,0x74,0x68])][_0x56acbf([0x63,0x65,0x69,0x6c])](_0x13294c/_0x5a194f)));window[_0x56acbf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56acbf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a6f31,_0x4439e1);}function _0x5a30a2(){const _0x3c8438=_0x56acbf([0x6c,0x6c,0x63,0x74,0x2d])+_0x299120(_0x5cba20(_0x5966e3)),_0x1b2b12=window[_0x56acbf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56acbf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c8438);return _0x1b2b12?window[_0x56acbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9acf3d(_0x1b2b12),0x10)*_0x5a194f:null;}function _0x5894e5(_0x4986c1){return new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b24b2,_0x437062)=>{_0x4986c1[_0x56acbf([0x74,0x68,0x65,0x6e])](_0x4b24b2,_0x437062),window[_0x56acbf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x437062,0x535e58fa^_0x485465);});}}_0x4b5956[_0x56acbf([0x6f,0x6e])](_0x56acbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3564aa,_0x10d517)=>{if(_0x10d517[0x0]!=_0x5966e3)return _0x14d793(_0x56acbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10d517[0x1]={..._0x10d517[0x1],[_0x56acbf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6795ca};},{[_0x56acbf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56acbf([0x68,0x69,0x67,0x68])}),_0x4b5956[_0x56acbf([0x6f,0x6e])](_0x56acbf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b5aac=>{_0x2a2402(_0x4b5aac[_0x56acbf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x568f39=!0x0,_0x30e722(_0x4b5aac[_0x56acbf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56acbf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56acbf([0x6c,0x6f,0x77])}),_0x2b2720[_0x56acbf([0x74,0x68,0x65,0x6e])](()=>{_0x568f39||_0x14d793(_0x56acbf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b50de(){return _0x4b5956[_0x56acbf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56acbf([0x76,0x69,0x65,0x77])][_0x56acbf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56acbf([0x61,0x75,0x74,0x6f]);}function _0x598be2(){_0x4b5956[_0x56acbf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56acbf([0x76,0x69,0x65,0x77])][_0x56acbf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56acbf([0x61,0x75,0x74,0x6f]);}}function _0x239187(_0x47d674){const _0x57f007=[new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x386cd1=>setTimeout(_0x386cd1,0x5356b2f6^_0x485465)),_0x2b2720[_0x56acbf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4d3d=>{let _0x4ee7bc=0x0;_0x4b5956[_0x56acbf([0x6d,0x6f,0x64,0x65,0x6c])][_0x56acbf([0x6f,0x6e])](_0x56acbf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e5188,_0x5de5a0)=>{_0x5de5a0[0x0][_0x56acbf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ee7bc++,_0x4ee7bc==(0x535f8dc2^_0x485465)&&(_0x4a4d3d(),_0x5e5188[_0x56acbf([0x6f,0x66,0x66])]());});}))];return window[_0x56acbf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56acbf([0x72,0x61,0x63,0x65])](_0x57f007)[_0x56acbf([0x74,0x68,0x65,0x6e])](()=>_0x47d674);}async function _0xec79f4(){await _0x2b2720,_0x4b5956[_0x56acbf([0x6d,0x6f,0x64,0x65,0x6c])][_0x56acbf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x476c76,_0x4b5956[_0x56acbf([0x6d,0x6f,0x64,0x65,0x6c])][_0x56acbf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x476c76,_0x4b5956[_0x56acbf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56acbf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x910c13(_0x213319){const _0x2e8077=_0x14b7b4();_0x4b5956[_0x2e8077]=_0x56acbf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x213319,_0x213319!=_0x56acbf([0x56,0x61,0x6c,0x69,0x64])&&_0xec79f4();}function _0x14b7b4(){const _0x2a8629=window[_0x56acbf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56acbf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56acbf([0x6e,0x6f,0x77])]())[_0x56acbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56acbf([0x2e]),'');let _0x869643=_0x56acbf([0x68]);for(let _0x36b3d0=0x0;_0x36b3d0<_0x2a8629[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36b3d0+=0x2){let _0x383183=window[_0x56acbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a8629[_0x56acbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36b3d0,_0x36b3d0+0x2));_0x383183>=_0x47d75e[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x383183-=_0x47d75e[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x869643+=_0x47d75e[_0x383183];}return _0x869643;}function _0x364f72(){const _0x55f180=_0x50cf0c[_0x56acbf([0x73,0x70,0x6c,0x69,0x74])](_0x56acbf([0x2e]));if(0x3!=_0x55f180[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa136e8(_0x55f180[0x1]);function _0xa136e8(_0xf53983){const _0x29cb9f=_0x1f2ee3(_0xf53983);return _0x29cb9f&&_0x17c487()?_0x29cb9f:null;function _0x17c487(){const _0x35f251=_0x29cb9f[_0x56acbf([0x6a,0x74,0x69])],_0x42764b=window[_0x56acbf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35f251[_0x56acbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35f251[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19da14={..._0x29cb9f,[_0x56acbf([0x6a,0x74,0x69])]:_0x35f251[_0x56acbf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35f251[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19da14[_0x56acbf([0x76,0x63])],_0x5cba20(_0x19da14)==_0x42764b;}}}async function _0xe8c9f3(){let _0x82f783=!0x0;try{const _0x18519a=_0x50cf0c[_0x56acbf([0x73,0x70,0x6c,0x69,0x74])](_0x56acbf([0x2e])),[_0x3a99ca,_0x412215,_0x3d2a94]=_0x18519a;return _0x5b9a9c(_0x3a99ca),await _0x118e87(_0x3a99ca,_0x412215,_0x3d2a94),_0x82f783;}catch{return!0x1;}function _0x5b9a9c(_0x3991c2){const _0x9c72f1=_0x1f2ee3(_0x3991c2);_0x9c72f1&&_0x9c72f1[_0x56acbf([0x61,0x6c,0x67])]==_0x56acbf([0x45,0x53,0x32,0x35,0x36])||(_0x82f783=!0x1);}async function _0x118e87(_0xabbe48,_0x18fb07,_0x630d9b){const _0x4a5124=window[_0x56acbf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56acbf([0x66,0x72,0x6f,0x6d])](_0x34eea5(_0x630d9b),_0x32c19c=>_0x32c19c[_0x56acbf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x270eef=new window[(_0x56acbf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56acbf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xabbe48+_0x56acbf([0x2e])+_0x18fb07),_0x4a3edb=window[_0x56acbf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56acbf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a3edb)return;const _0x55faae=await _0x4a3edb[_0x56acbf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56acbf([0x6a,0x77,0x6b]),_0x174419,{[_0x56acbf([0x6e,0x61,0x6d,0x65])]:_0x56acbf([0x45,0x43,0x44,0x53,0x41]),[_0x56acbf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56acbf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56acbf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a3edb[_0x56acbf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56acbf([0x6e,0x61,0x6d,0x65])]:_0x56acbf([0x45,0x43,0x44,0x53,0x41]),[_0x56acbf([0x68,0x61,0x73,0x68])]:{[_0x56acbf([0x6e,0x61,0x6d,0x65])]:_0x56acbf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55faae,_0x4a5124,_0x270eef)||(_0x82f783=!0x1);}}function _0x1f2ee3(_0x1ce7a2){return _0x1ce7a2[_0x56acbf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56acbf([0x65,0x79]))?JSON[_0x56acbf([0x70,0x61,0x72,0x73,0x65])](_0x34eea5(_0x1ce7a2)):null;}function _0x34eea5(_0x3bffc1){return window[_0x56acbf([0x61,0x74,0x6f,0x62])](_0x3bffc1[_0x56acbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56acbf([0x2b]))[_0x56acbf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56acbf([0x2f])));}function _0x5cba20(_0x1c7e87){let _0x437dab=0x1505;function _0x4ffa0d(_0x45a3fa){for(let _0x4ff49c=0x0;_0x4ff49c<_0x45a3fa[_0x56acbf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ff49c++){const _0x7417cd=_0x45a3fa[_0x56acbf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ff49c);_0x437dab=(_0x437dab<<0x5)+_0x437dab+_0x7417cd,_0x437dab&=_0x437dab;}}function _0x5a8851(_0x5d935c){Array[_0x56acbf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d935c)?_0x5d935c[_0x56acbf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a8851):_0x5d935c&&typeof _0x5d935c==_0x56acbf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56acbf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d935c)[_0x56acbf([0x73,0x6f,0x72,0x74])]()[_0x56acbf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c2c90,_0xae17fa])=>{_0x4ffa0d(_0x2c2c90),_0x5a8851(_0xae17fa);}):_0x4ffa0d(window[_0x56acbf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d935c));}return _0x5a8851(_0x1c7e87),_0x437dab>>>0x0;}function _0x299120(_0x5703ba){return _0x5703ba[_0x56acbf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56acbf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56acbf([0x30]));}function _0x9acf3d(_0x5338ad){return _0x5338ad[_0x56acbf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56acbf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56acbf([0x6a,0x6f,0x69,0x6e])]('');}function _0x476c76(){}function _0x56acbf(_0x5b1b44){return _0x5b1b44['map'](_0x4bcef0=>String['fromCharCode'](_0x4bcef0))['join']('');}_0x910c13(await _0x30639f());}(this);}['_initSchema'](){const _0x4a00f3=this['editor']['model']['schema'];_0x4a00f3['isRegistered']('imageBlock')&&_0x4a00f3['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4a00f3['isRegistered']('imageInline')&&_0x4a00f3['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xfbdaf6=this['editor'];_0xfbdaf6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xfbdaf6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0xb37e4a=>_0xb37e4a['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x15ce10=_0xfbdaf6['commands']['get']('replaceImageSource');_0x15ce10&&this['listenTo'](_0x15ce10,'cleanupImage',(_0x1ac75a,[_0x4cd310,_0x7d555d])=>{_0x4cd310['removeAttribute']('uploadcareImageId',_0x7d555d);});}['_initConfig'](){const _0xcdf1bc=this['editor']['config']['get']('uploadcare.uploader')||{},_0x28f7cc=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xdce142(_0x49f1eb['document'],'uc-config',{..._0xcdf1bc,'pubkey':_0x28f7cc,'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']=_0xbcdea=>{if('closeMax'==_0xbcdea)return'#uc-icon-arrow-down';},_0x49f1eb['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xdce142(_0x49f1eb['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x49f1eb['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x4e4460=this['editor']['commands']['get']('insertImage');_0x4e4460&&this['listenTo'](_0x4e4460,'execute',()=>{const _0x38ecbd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38ecbd&&_0x38ecbd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x38ecbd);});});const _0x1a9557=this['editor']['commands']['get']('uploadcareImageReplace');_0x1a9557&&this['listenTo'](_0x1a9557,'execute',()=>{const _0x36b4eb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x36b4eb&&_0x36b4eb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x36b4eb);});});}}class tt extends _0x2f77e5{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x634679){super(_0x634679),_0x634679['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x3225ce['defineComponents'](_0x3225ce),this['_defineLocale']();}['_defineLocale'](){const _0x3d2127=this['editor']['config']['get']('uploadcare.locale'),_0x249980=this['editor']['locale']['contentLanguage'];_0x3d2127&&_0x3225ce['defineLocale'](_0x249980,_0x3d2127);}}class ii extends _0x178ac9{constructor(_0x2b94de){super(_0x2b94de);const t=_0x2b94de['t'],_0x557af4=this['bindTemplate'],_0x47e9da=new _0x7b70d3();_0x47e9da['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':[_0x47e9da,{'text':_0x557af4['to']('imageUploadProgress',_0x2af2f8=>t('Loading\x20image...')+'\x20('+(_0x2af2f8||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 _0x178ac9{constructor(_0x30cf9f){super(_0x30cf9f);const t=_0x30cf9f['t'];this['set']('errorType',null);const _0x3023dc=new _0x51a914(_0x30cf9f);_0x3023dc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3023dc['withText']=!0x0,_0x3023dc['class']='ck-button-action',_0x3023dc['on']('execute',()=>{this['fire']('retry');}),_0x3023dc['bind']('isVisible')['to'](this,'errorType',_0x40302f=>'NotFound'!==_0x40302f);const _0x1c7e25=new _0x5cf7bc();_0x1c7e25['content']=_0x475554,_0x1c7e25['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3d15e5=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':[_0x1c7e25,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3d15e5['to']('errorType',_0x3a7001=>t('NotFound'!==_0x3a7001?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3023dc]},{'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 _0x178ac9{constructor(_0x45fcd3,_0x20947e){super(_0x45fcd3);const _0x20cbc0=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x20947e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x20cbc0['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4a03b8,_0x1781ea,_0xea4c2c){super(_0x4a03b8),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4a03b8),this['_errorView']=new ti(_0x4a03b8),this['_editingView']=new ei(_0x4a03b8,_0xea4c2c),this['_focusableView']=new _0x178ac9(_0x4a03b8),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1781ea),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'],_0x2c0299=>{this['_addUploadcareImageEditorListeners'](_0x2c0299);});}),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'](_0x23c912,_0x121851){const _0x99873b='uc-cloud-image-editor',_0x22f64f=_0x23c912['querySelector'](_0x99873b);if(_0x22f64f)return _0x121851(_0x22f64f);const _0x428bb5=new MutationObserver(_0x4526e8=>{const _0x5c1b5f=_0x4526e8['filter'](_0x4b7d8a=>_0x4b7d8a['target']===_0x23c912&&_0x4b7d8a['addedNodes']['length']>0x0&&_0x4b7d8a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x99873b);_0x5c1b5f['length']&&(_0x428bb5['disconnect'](),_0x121851(_0x5c1b5f[0x0]['addedNodes'][0x0]));});_0x428bb5['observe'](_0x23c912,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x13c37f){_0x13c37f['addEventListener']('apply',_0x1787a4=>{this['fire']('apply',{'imageSrc':_0x1787a4['detail']['cdnUrl']});}),_0x13c37f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x40249e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x32742d,_0x7aaddb,_0x45a164){super(),this['_editor']=_0x32742d,this['_dialog']=_0x7aaddb,this['_imageElement']=_0x45a164,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 _0x59e16c=this['_imageElement'],_0x428e82=_0x59e16c['getAttribute']('uploadcareImageId'),_0x207ab0=_0x59e16c['getAttribute']('src');if(_0x428e82)await this['_loadImageInfo'](_0x428e82,_0x207ab0);else{if(this['_imageCache']['has'](_0x207ab0)){const _0x4f8f68=this['_imageCache']['get'](_0x207ab0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f8f68['url'],this['imageDimension']=_0x4f8f68['dimension'],this['imageId']=_0x4f8f68['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x20efbf}=this['_editor'],t=_0x20efbf['t'],_0x538216=new X(_0x20efbf,this['imageStatus'],this['_attributes']);_0x538216['bind']('status')['to'](this,'imageStatus'),_0x538216['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x538216['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x538216['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x538216,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a249f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x538216,'position':_0x136fe8['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x538216['focus']();},'onHide':()=>{_0x538216['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c6310=>!A(_0x4c6310,_0x538216['element'])}});}['_loadImageInfo'](_0x2e8dff,_0x3bd8bc){return j['getInfo'](_0x2e8dff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x275988=>{const {width:_0x275f33,height:_0x58188d}=_0x275988['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bd8bc,this['imageDimension']={'width':_0x275f33,'height':_0x58188d},this['imageId']=_0x2e8dff;})['catch'](_0x5a2982=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a2982['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x131cb3,_0x2261d9){return this['_getImageAsFile'](_0x131cb3)['then'](_0x223492=>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':_0x2261d9['signal'],'file':_0x223492,'onProgress':_0x7a3a6d=>{_0x7a3a6d&&_0x7a3a6d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x7a3a6d['value']));}}))['then'](_0x4c176b=>{const {width:_0x38a2f1,height:_0x5de7ad}=_0x4c176b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c176b['cdnUrl'],this['imageDimension']={'width':_0x38a2f1,'height':_0x5de7ad},this['imageId']=_0x4c176b['uuid'],this['imageUploadProgress']=null;const _0x53bc9b=_0x131cb3['getAttribute']('src');this['_imageCache']['set'](_0x53bc9b,{'id':_0x4c176b['uuid'],'url':_0x4c176b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3e2b47=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e2b47['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x10e5cf,_0x136726){_0x10e5cf['on']('apply',(_0x2b2517,_0x268c28)=>{this['_replaceImage'](_0x136726,_0x268c28['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x10e5cf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x10e5cf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2406d2,_0x430fd8,_0x146e12){const _0x2b3bfb=this['_editor'],{width:_0x118843,height:_0x283133}=S(_0x430fd8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x402a69,imageSources:_0x5228df}=C(_0x430fd8,_0x118843);_0x2b3bfb['model']['change'](_0x41b2bc=>{if('$graveyard'===_0x2406d2['root']['rootName']){_0x2b3bfb['execute']('insertImage',{'imageType':_0x2406d2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2406d2['getAttributes']()),'uploadcareImageId':_0x146e12,'src':_0x402a69,'sources':_0x5228df,'width':_0x118843,'height':_0x283133}});const _0x3876e1=_0x2406d2['getChildren']();_0x2406d2=_0x2b3bfb['model']['document']['selection']['getSelectedElement']();for(const _0x3bca53 of _0x3876e1)_0x41b2bc['append'](_0x41b2bc['cloneElement'](_0x3bca53),_0x2406d2);}else _0x41b2bc['setSelection'](_0x2406d2,'on'),_0x2b3bfb['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2406d2['getAttributes']()),'uploadcareImageId':_0x146e12,'src':_0x402a69,'sources':_0x5228df,'width':_0x118843,'height':_0x283133},_0x2406d2);_0x41b2bc['setSelection'](_0x2406d2,'on');});}async['_getImageAsFile'](_0xbd51ac){const _0x35c633=_0x49f1eb['window'],_0x20f253=_0x49f1eb['document']['location']['href'],_0x7a3fca=new _0x35c633['URL'](_0xbd51ac['getAttribute']('src'),_0x20f253);if('data:'===_0x7a3fca['protocol']){const _0xcacf10=_0x7a3fca['href']['split'](','),_0x1e5bbc=_0xcacf10[0x0]['match'](/:(.*?);/)[0x1],_0x52259e=_0x1e5bbc['split']('/')[0x1],_0x4a7cae=_0x35c633['atob'](_0xcacf10[_0xcacf10['length']-0x1]);let _0x2199f0=_0x4a7cae['length'];const _0xc970d8=new _0x35c633['Uint8Array'](_0x2199f0);for(;_0x2199f0--;)_0xc970d8[_0x2199f0]=_0x4a7cae['charCodeAt'](_0x2199f0);return new _0x35c633['File']([_0xc970d8],'image.'+_0x52259e,{'type':_0x1e5bbc});}const _0x4b1d31=_0x7a3fca['href']['split']('/'),_0x3548e5=_0x4b1d31[_0x4b1d31['length']-0x1],_0x9b90de=_0x3548e5['split']('.')[0x1];return _0x35c633['fetch'](_0x7a3fca['href'])['then'](_0x53edb0=>_0x53edb0['clone']()['blob']())['then'](_0x941748=>new _0x35c633['File']([_0x941748],_0x3548e5,{'type':'image/'+_0x9b90de}));}}class O extends _0x331d01{['imageEditController'];static get['requires'](){return[_0x51643a];}['_isEditable'];constructor(_0x4f2096){super(_0x4f2096),this['imageEditController']=void 0x0,this['_isEditable']=function(_0xe3442){const _0x10bbff=G(_0xe3442);return _0x1bf6a1=>!(!_0x1bf6a1||!_0x1bf6a1['is']('element','imageBlock')&&!_0x1bf6a1['is']('element','imageInline'))&&(!!_0x1bf6a1['hasAttribute']('uploadcareImageId')||!!_0x1bf6a1['hasAttribute']('src')&&_0x10bbff(_0x1bf6a1['getAttribute']('src')));}(_0x4f2096['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xc18893=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xc18893);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3f423e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3f423e&&(_0x3f423e['is']('element','imageBlock')||_0x3f423e['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x51643a),_0x3f423e),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x331d01{['refresh'](){const _0x161008=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x161008&&(_0x161008['is']('element','imageBlock')||_0x161008['is']('element','imageInline')));}['execute'](_0x141578){const _0x31c5af=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x5c3a9e=>{_0x5c3a9e['setAttributes'](_0x141578,_0x31c5af),_0x5c3a9e['removeAttribute']('srcset',_0x31c5af),_0x5c3a9e['removeAttribute']('sizes',_0x31c5af);});}}class m extends _0x2f77e5{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0xb0e3c9,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf28d2}=this;_0xf28d2['commands']['add']('uploadcareImageEdit',new O(_0xf28d2)),_0xf28d2['commands']['add']('uploadcareImageReplace',new R(_0xf28d2));}}class g extends _0x2f77e5{['_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 _0x259148=this['editor'];_0x259148['ui']['componentFactory']['add']('uploadcareImageEdit',_0x163583=>{const _0x3ded03=_0x259148['commands']['get']('uploadcareImageEdit'),_0x14c7cd=new _0x51a914(_0x163583),t=_0x163583['t'];return _0x14c7cd['set']({'icon':_0x5a249f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x14c7cd['bind']('isEnabled')['to'](_0x3ded03),_0x14c7cd['bind']('isOn')['to'](_0x3ded03,'isActive'),this['listenTo'](_0x14c7cd,'execute',()=>{_0x259148['execute']('uploadcareImageEdit'),_0x259148['editing']['view']['focus']();}),_0x14c7cd;}),this['_initConfig']();}['_initConfig'](){const _0xef7938=_0xdce142(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xef7938),this['listenTo'](this['editor'],'destroy',()=>{_0xef7938['remove']();});}}class et extends _0x2f77e5{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[m,g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{tt as Uploadcare,w as UploadcareCommand,o as UploadcareEditing,et as UploadcareImageEdit,O as UploadcareImageEditCommand,m as UploadcareImageEditEditing,g as UploadcareImageEditUI,e as UploadcareUI,f as UploadcareUploadAdapter};
23
+ import{Plugin as _0x48785e,Command as _0x42bd53}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x1272d9,IconGooglePhotos as _0x424219,IconGoogleDrive as _0x472ac5,IconFacebook as _0x5358b7,IconDropbox as _0x101a77,IconUploadcareLink as _0x37cfca,IconUploadcareImageUpload as _0x523204,IconError as _0x3283e0,IconUploadcareImageEdit as _0x55b258}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0xdcb460,MenuBarMenuListItemButtonView as _0xae84ad,View as _0x201534,FocusCycler as _0x1ad5c1,Dialog as _0x356bd9,DialogViewPosition as _0x22cd58,SpinnerView as _0x1fcde2,IconView as _0x56876d,Notification as _0x1373f0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x33b99a,DomEmitterMixin as _0x52a3fd,global as _0x435ac1,getAncestors as _0x118540,ObservableMixin as _0x5bc8a7,uid as _0x59b5d4,createElement as _0x1fae8b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x2e058e}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x9e1a63,info as _0x94039b}from'@uploadcare/upload-client';import*as _0x39dffe from'@uploadcare/file-uploader';var i=function(_0x31a59d){return _0x31a59d['Local']='local',_0x31a59d['URL']='url',_0x31a59d['Dropbox']='dropbox',_0x31a59d['GDrive']='gdrive',_0x31a59d['Facebook']='facebook',_0x31a59d['GPhotos']='gphotos',_0x31a59d['OneDrive']='onedrive',_0x31a59d;}({});function _(_0x47b938,_0xd56f31,_0x501287){const t=_0x47b938['t'],_0x3b1f76=_0x47b938['t'];switch(_0xd56f31){case i['Local']:return{'text':_0x3b1f76('Insert'===_0x501287?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b1f76('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x501287?_0x3b1f76('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b1f76('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x501287?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd56f31;}}class e extends _0x48785e{['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 _0x1749a2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x550021;for(const _0x13bb97 in _0x1749a2){const _0x2ce66d=_0x13bb97,_0x52244e=_0x1749a2[_0x2ce66d];if('uploadcareLicenseKeyValid'==_0x52244e||'uploadcareLicenseKeyInvalid'==_0x52244e||'uploadcareLicenseKeyExpired'==_0x52244e||'uploadcareLicenseKeyDomainLimit'==_0x52244e||'uploadcareLicenseKeyNotAllowed'==_0x52244e||'uploadcareLicenseKeyEvaluationLimit'==_0x52244e||'uploadcareLicenseKeyTrialLimit'==_0x52244e||'uploadcareLicenseKeyUsageLimit'==_0x52244e){delete _0x1749a2[_0x2ce66d],_0x550021=_0x52244e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x550021&&_0x1749a2['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x550021&&_0x1749a2['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x550021&&_0x1749a2['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x550021&&_0x1749a2['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x550021&&_0x1749a2['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x550021&&_0x1749a2['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x550021&&_0x1749a2['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x49c2cc}=this,_0x31d3ee=_0x49c2cc['commands']['get']('uploadcare');if(!_0x31d3ee)return;const _0x3f414f=this['_normalizeConfigSourceList'](_0x49c2cc['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x57b5ab,_0x2e3215)=>{const _0x513d65=this['_getIntegrationKey'](_0x2e3215['type']);return _0x57b5ab[_0x513d65]||(_0x57b5ab[_0x513d65]=[]),_0x57b5ab[_0x513d65]['push'](_0x2e3215),_0x57b5ab;},{});_0x49c2cc['plugins']['has']('ImageInsertUI')&&_0x49c2cc['commands']['get']('uploadcare')&&Object['entries'](_0x3f414f)['forEach'](([_0x28cff6,_0x27acb0])=>{_0x49c2cc['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x28cff6,'observable':()=>_0x31d3ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x27acb0),'formViewCreator':()=>this['_createDropdownButtons'](_0x27acb0),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x27acb0),'override':'assetManager'!==_0x28cff6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x5951fe){const {locale:_0x36fa33}=this['editor'];return _0x5951fe['map'](_0x468906=>{const _0x571b44=_(_0x36fa33,_0x468906,'Insert');switch(_0x468906){case i['Local']:return{'icon':_0x523204,'type':i['Local'],..._0x571b44};case i['URL']:return{'icon':_0x37cfca,'type':i['URL'],..._0x571b44};case i['Dropbox']:return{'icon':_0x101a77,'type':i['Dropbox'],..._0x571b44};case i['Facebook']:return{'icon':_0x5358b7,'type':i['Facebook'],..._0x571b44};case i['GDrive']:return{'icon':_0x472ac5,'type':i['GDrive'],..._0x571b44};case i['GPhotos']:return{'icon':_0x424219,'type':i['GPhotos'],..._0x571b44};case i['OneDrive']:return{'icon':_0x1272d9,'type':i['OneDrive'],..._0x571b44};}});}['_getIntegrationKey'](_0x12aa32){switch(_0x12aa32){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x32a113,_0x1b7c9a){const _0x1ed1cc=this['editor'],_0x1a388d=new _0x32a113(_0x1ed1cc['locale']),_0x4e783a=_0x1ed1cc['commands']['get']('uploadcare');return _0x1a388d['bind']('isEnabled')['to'](_0x4e783a),_0x1a388d['on']('execute',()=>{_0x4e783a['execute'](_0x1b7c9a);}),_0x1a388d;}['_createToolbarButton'](_0x45ddfb){const {locale:_0x31e716}=this['editor'],_0x11d617=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ed158=_0x45ddfb[0x0],_0x25fcd2=this['_createButton'](_0xdcb460,_0x4ed158['type']);return _0x25fcd2['icon']=_0x4ed158['icon'],_0x25fcd2['bind']('label')['to'](_0x11d617,'isImageSelected',_0x11c636=>_(_0x31e716,_0x4ed158['type'],_0x11c636?'Replace':'Insert')['text']),_0x25fcd2['tooltip']=!0x0,_0x25fcd2;}['_createDropdownButtons'](_0x4a4a6d){const {locale:_0x199a9f}=this['editor'],_0x1a1c9d=this['editor']['plugins']['get']('ImageInsertUI');return _0x4a4a6d['map'](_0xacf31f=>{const _0x3e6e87=this['_createButton'](_0xdcb460,_0xacf31f['type']);return _0x3e6e87['withText']=!0x0,_0x3e6e87['icon']=_0xacf31f['icon'],_0x3e6e87['bind']('label')['to'](_0x1a1c9d,'isImageSelected',_0x11c7c2=>_(_0x199a9f,_0xacf31f['type'],_0x11c7c2?'Replace':'Insert')['text']),_0x3e6e87;});}['_createMenuBarButtons'](_0x244ac3){return _0x244ac3['map'](_0xce5a68=>{const _0x2ad17d=this['_createButton'](_0xae84ad,_0xce5a68['type']);return _0x2ad17d['icon']=_0xce5a68['icon'],_0x2ad17d['label']=_0xce5a68['shortText'],_0x2ad17d;});}}class V extends _0x201534{['focusTracker'];['focusCycler'];constructor(_0x1cd135){super(_0x1cd135),this['focusTracker']=new _0x33b99a(),this['focusCycler']=new _0x1ad5c1({'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(_0x47ede9,_0x174bf0){super(_0x47ede9),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-'+_0x174bf0}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x44d1d3,_0x450a7f){const _0x3be8ee=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x128520=>_0x128520<=_0x450a7f)['map'](_0x4f41b8=>_0x44d1d3['replace'](/\/$/,'')+'/-/resize/'+_0x4f41b8+'x/\x20'+_0x4f41b8+'w');return{'imageFallbackUrl':_0x44d1d3,'imageSources':[{'srcset':_0x3be8ee['join'](',\x20'),'sizes':'(max-width:\x20'+_0x450a7f+'px)\x20100vw,\x20'+_0x450a7f+'px','type':'image/webp'}]};}function F(_0x1d3fcd,_0x49bd97,_0x4a2407){const _0xf26ed5=_0x1d3fcd['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf26ed5?parseInt(_0xf26ed5[0x1],0xa):_0x49bd97,'height':_0xf26ed5?parseInt(_0xf26ed5[0x2],0xa):_0x4a2407};}function p(_0x1acac7,_0x57cda1){const _0x48bb6f=new(_0x52a3fd())(),_0x3883ba=_0x1acac7['plugins']['get']('ImageUtils'),_0x4b3e81=_0x1acac7['editing']['mapper']['toViewElement'](_0x57cda1),_0x4a278b=_0x3883ba['findViewImgElement'](_0x4b3e81),_0x134c85=_0x1acac7['editing']['view']['domConverter']['viewToDom'](_0x4a278b),_0xe80fb6=_0x57cda1['getAttribute']('width'),_0xd31a83=_0x57cda1['getAttribute']('height'),_0x22ef6c='image-processing';_0x1acac7['editing']['view']['change'](_0x40b374=>{_0x40b374['addClass'](_0x22ef6c,_0x4b3e81),_0x40b374['setStyle']('aspect-ratio',_0xe80fb6+'/'+_0xd31a83,_0x4a278b);}),_0x48bb6f['listenTo'](_0x134c85,'load',()=>{_0x48bb6f['stopListening'](_0x134c85,'load'),_0x1acac7['editing']['view']['change'](_0x38f141=>{_0x38f141['removeClass'](_0x22ef6c,_0x4b3e81),_0x38f141['removeStyle']('aspect-ratio',_0x4a278b);});});}function R(_0x530734){if(Array['isArray'](_0x530734)){const _0x4cd87b=_0x530734['map'](R);return _0x3d413c=>_0x4cd87b['some'](_0x39d3fc=>_0x39d3fc(_0x3d413c));}if('origin'==_0x530734){const _0x550812=_0x435ac1['window']['location']['origin'];return _0x26e8eb=>new URL(_0x26e8eb,_0x435ac1['document']['baseURI'])['origin']==_0x550812;}return'function'==typeof _0x530734?_0x530734:_0x530734 instanceof RegExp?_0x20db2a=>!(!_0x20db2a['match'](_0x530734)&&!_0x20db2a['replace'](/^https?:\/\//,'')['match'](_0x530734)):()=>!0x1;}function M(_0x4ea269,_0x50bcab){return _0x118540(_0x4ea269['target'])['includes'](_0x50bcab);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x5bc8a7(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x30bc51,_0x4436d3,_0x2ab688){super(),this['_editor']=_0x30bc51,this['_editing']=_0x4436d3,this['_dialog']=_0x30bc51['plugins']['get'](_0x356bd9),this['_api']=_0x4436d3['ctxElement']['getAPI'](),this['_type']=_0x2ab688,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:_0x331f3b,model:_0x571fce}=this['_editor'],_0x2bcef1=_0x571fce['document']['selection']['getSelectedElement'](),_0x3097e0=_0x2bcef1&&(_0x2bcef1['is']('element','imageBlock')||_0x2bcef1['is']('element','imageInline'));this['_formView']=new S(_0x331f3b,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x523204,'title':_(_0x331f3b,this['_type'],_0x3097e0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x311908=>!M(_0x311908,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4fb5bb}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4a8723=>{const _0x7ae168=_0x4fb5bb['length'];for(const _0x403d7c of _0x4fb5bb){const _0x235327=_0x403d7c===_0x4fb5bb[_0x7ae168-0x1],{cdnUrl:_0x583639,fileInfo:_0x143793}=_0x403d7c;if(!_0x583639||!_0x143793)continue;const {width:_0x15bc44,height:_0x2db89e}=_0x143793['imageInfo'],_0x3ef66f=F(_0x583639,_0x15bc44,_0x2db89e),_0x15011c=C(_0x583639,_0x3ef66f['width']),_0x18dc98={'id':_0x143793['uuid'],'type':'image','attributes':{'imageDimension':_0x3ef66f,..._0x15011c}};this['_insertAsset'](_0x18dc98,_0x235327,_0x4a8723);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x484ce9=>{'idle'===_0x484ce9['detail']['status']&&!_0x484ce9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x2433df,_0x1feda7,_0x30674f){const _0x486536=this['_editor']['model']['document']['selection'],_0x9de851=_0x486536['getSelectedElement'](),_0x507b9d=!(!_0x9de851||!_0x9de851['is']('element','imageInline'));_0x30674f['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2433df,_0x507b9d),_0x1feda7||_0x30674f['setSelection'](_0x486536['getLastPosition']());}['_insertImage'](_0x30ab7e,_0x53b76e){const _0x337202=this['_editor'],{imageDimension:_0x2d47ff,imageFallbackUrl:_0x20b7f9,imageSources:_0x385054}=_0x30ab7e['attributes'];_0x337202['execute']('insertImage',{'imageType':_0x53b76e?'imageInline':null,'source':{'uploadcareImageId':_0x30ab7e['id'],'src':_0x20b7f9,'sources':_0x385054,..._0x2d47ff}});}}class w extends _0x42bd53{['_editing'];['_controller']=null;static get['requires'](){return[_0x356bd9,o];}constructor(_0x3440d9){super(_0x3440d9),this['_editing']=_0x3440d9['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3da1f9){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x3da1f9);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x554ac2,..._0x2131cd}){return _0x9e1a63(_0x554ac2,_0x2131cd);}static['getInfo'](_0x40c73b,_0x1e6fe2){return _0x94039b(_0x40c73b,_0x1e6fe2);}}class f extends _0x48785e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2e058e,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x521888=this['editor'];if(!!!_0x521888['config']['get']('uploadcare'))return;_0x521888['plugins']['get'](_0x2e058e)['createUploadAdapter']=_0x2393fc=>new k(_0x2393fc,_0x521888),_0x521888['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ca727,{imageElement:_0x2cb846,data:_0x4f6193})=>{_0x521888['model']['change'](_0x9b432c=>{_0x9b432c['setAttribute']('uploadcareImageId',_0x4f6193['uploadcareImageId'],_0x2cb846);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2f4a90,_0x5a57cb){this['loader']=_0x2f4a90,this['editor']=_0x5a57cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x15db05=await this['loader']['file'];return j['upload']({'file':_0x15db05,'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':_0x42b506=>{_0x42b506&&_0x42b506['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x42b506['value']);}})['then'](async _0x11bb8f=>{const {imageFallbackUrl:_0xf616a8,imageSources:_0x2d40d2}=C(_0x11bb8f['cdnUrl'],_0x11bb8f['imageInfo']['width']);return{'uploadcareImageId':_0x11bb8f['uuid'],'default':_0xf616a8,'sources':_0x2d40d2};})['catch'](()=>{const _0x45e2bb=t('Cannot\x20upload\x20file:')+('\x20'+_0x15db05['name']+'.');return Promise['reject'](_0x45e2bb);});}['abort'](){this['controller']['abort']();}}class o extends _0x48785e{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x356bd9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x18c9c0){super(_0x18c9c0),this['ucContextId']=_0x59b5d4();}['init'](){const _0x660535=this['editor'];_0x660535['commands']['add']('uploadcare',new w(_0x660535));}['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 _0x471a24=_0x435ac1['document']['querySelector']('input[uploadcare-file-input]');_0x471a24&&_0x471a24['remove']();}),async function(_0x16cdd){const _0x413e38=_0x5db2df([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2e0a4c=0x535f8c3a,_0x1970e7=0x5358f6fa^_0x2e0a4c,_0x46d345=window[_0x5db2df([0x44,0x61,0x74,0x65])][_0x5db2df([0x6e,0x6f,0x77])](),_0x3af88d=_0x16cdd[_0x5db2df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb53299=new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x882a32=>{_0x3af88d[_0x5db2df([0x6f,0x6e,0x63,0x65])](_0x5db2df([0x72,0x65,0x61,0x64,0x79]),_0x882a32);}),_0x43bf02={[_0x5db2df([0x6b,0x74,0x79])]:_0x5db2df([0x45,0x43]),[_0x5db2df([0x75,0x73,0x65])]:_0x5db2df([0x73,0x69,0x67]),[_0x5db2df([0x63,0x72,0x76])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36]),[_0x5db2df([0x78])]:_0x5db2df([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]),[_0x5db2df([0x79])]:_0x5db2df([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]),[_0x5db2df([0x61,0x6c,0x67])]:_0x5db2df([0x45,0x53,0x32,0x35,0x36])},_0x5daab7=_0x3af88d[_0x5db2df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5db2df([0x67,0x65,0x74])](_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122b76(){let _0x1047ee,_0x2bcf80=null,_0x5ef985=null;try{if(_0x5daab7==_0x5db2df([0x47,0x50,0x4c]))return _0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1047ee=_0x26519d(),!_0x1047ee)return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ef985=_0x2951c4(_0x1047ee[_0x5db2df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1047ee[_0x5db2df([0x6a,0x74,0x69])])),await _0x140d34()?_0x11f45d()?_0x4129eb()?_0x5db2df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17de88()?(_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5db2df([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bcf80=_0x5d5e1b(_0x5db2df([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x377835()):_0x5db2df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5db2df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4129eb(){const _0x284fad=[_0x5db2df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5db2df([0x74,0x72,0x69,0x61,0x6c])][_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x46d345/0x3e8:0xe10*_0x1970e7;return _0x1047ee[_0x5db2df([0x65,0x78,0x70])]<_0x284fad;}function _0x11f45d(){const _0x35a26b=_0x1047ee[_0x5db2df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35a26b&&(!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a]))||!!_0x35a26b[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x55,0x50,0x4c,0x43])));}function _0x17de88(){const _0x3df018=_0x1047ee[_0x5db2df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3df018||0x0==_0x3df018[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3603db}=new URL(window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3df018[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3603db))return!0x0;const _0x1b17e5=_0x3603db[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));return _0x3df018[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x586d37=>_0x586d37[_0x5db2df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5db2df([0x2a])))[_0x5db2df([0x6d,0x61,0x70])](_0x14440f=>_0x14440f[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])))[_0x5db2df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510674=>_0x510674[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x6d,0x61,0x70])](_0x5d90bf=>Array(_0x1b17e5[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d90bf[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5db2df([0x66,0x69,0x6c,0x6c])](_0x5d90bf[0x0]===_0x5db2df([0x2a])?_0x5db2df([0x2a]):'')[_0x5db2df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d90bf))[_0x5db2df([0x73,0x6f,0x6d,0x65])](_0x473aad=>_0x1b17e5[_0x5db2df([0x65,0x76,0x65,0x72,0x79])]((_0x228800,_0x14bc3f)=>_0x473aad[_0x14bc3f]===_0x228800||_0x473aad[_0x14bc3f]===_0x5db2df([0x2a])));}function _0x377835(){return _0x2bcf80&&_0x5ef985?new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ebee3,_0x30a571)=>{_0x2bcf80[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x4ebee3,_0x30a571),_0x5ef985[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x226941=>{_0x226941!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x4ebee3(_0x226941);},_0x30a571);}):_0x2bcf80||_0x5ef985||_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2951c4(_0x4d5814,_0x362f1b){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d31d1=>{if(_0x3e204a())return _0x3d31d1(_0x5db2df([0x56,0x61,0x6c,0x69,0x64]));_0x2d9558(),_0x3af88d[_0x5db2df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55e702=!0x1;const _0x15c761=_0x59b5d4();function _0x3e7f79(_0x30314a){return!!_0x30314a&&(typeof _0x30314a===_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30314a===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30314a[_0x5db2df([0x74,0x68,0x65,0x6e])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30314a[_0x5db2df([0x63,0x61,0x74,0x63,0x68])]===_0x5db2df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x268c7c(_0x5c2a15){_0xcdfbb0(_0x5c2a15)[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2c8ef4=>{if(!_0x2c8ef4||_0x2c8ef4[_0x5db2df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5db2df([0x6f,0x6b]))return _0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b27b0(_0x98e514(_0x15c761+_0x362f1b))!=_0x2c8ef4[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5db2df([0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x2ed3c8=>(_0x421dc3(),_0x2ed3c8),()=>{const _0x3578eb=_0x31ef40();return null==_0x3578eb?(_0x421dc3(),_0x5db2df([0x56,0x61,0x6c,0x69,0x64])):_0x5db2df(_0x46d345-_0x3578eb>(0x7753083a^_0x2e0a4c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x3d31d1)[_0x5db2df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47862c=0x536962ba^_0x2e0a4c;function _0x421dc3(){const _0x3858bf=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x16b25e=_0x49abcf(_0x4b27b0(window[_0x5db2df([0x4d,0x61,0x74,0x68])][_0x5db2df([0x63,0x65,0x69,0x6c])](_0x46d345/_0x47862c)));window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3858bf,_0x16b25e);}function _0x31ef40(){const _0x168162=_0x5db2df([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b27b0(_0x98e514(_0x4d5814)),_0x384662=window[_0x5db2df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5db2df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168162);return _0x384662?window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49abcf(_0x384662),0x10)*_0x47862c:null;}function _0xcdfbb0(_0x211b76){return new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16af4a,_0x400cee)=>{_0x211b76[_0x5db2df([0x74,0x68,0x65,0x6e])](_0x16af4a,_0x400cee),window[_0x5db2df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x400cee,0x535e58fa^_0x2e0a4c);});}}_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x201387,_0x2e96ac)=>{if(_0x2e96ac[0x0]!=_0x4d5814)return _0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e96ac[0x1]={..._0x2e96ac[0x1],[_0x5db2df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15c761};},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x68,0x69,0x67,0x68])}),_0x3af88d[_0x5db2df([0x6f,0x6e])](_0x5db2df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc7e460=>{_0x3e7f79(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55e702=!0x0,_0x268c7c(_0xc7e460[_0x5db2df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5db2df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5db2df([0x6c,0x6f,0x77])}),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>{_0x55e702||_0x3d31d1(_0x5db2df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e204a(){return _0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5db2df([0x61,0x75,0x74,0x6f]);}function _0x2d9558(){_0x3af88d[_0x5db2df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5db2df([0x76,0x69,0x65,0x77])][_0x5db2df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5db2df([0x61,0x75,0x74,0x6f]);}}function _0x5d5e1b(_0x30a3f5){const _0x48718f=[new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfed4=>setTimeout(_0x4cfed4,0x5356b2f6^_0x2e0a4c)),_0xb53299[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x298613=>{let _0x50559d=0x0;_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x6f,0x6e])](_0x5db2df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39f66e,_0x152a11)=>{_0x152a11[0x0][_0x5db2df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50559d++,_0x50559d==(0x535f8dc2^_0x2e0a4c)&&(_0x298613(),_0x39f66e[_0x5db2df([0x6f,0x66,0x66])]());});}))];return window[_0x5db2df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5db2df([0x72,0x61,0x63,0x65])](_0x48718f)[_0x5db2df([0x74,0x68,0x65,0x6e])](()=>_0x30a3f5);}async function _0x5674b7(){await _0xb53299,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c])][_0x5db2df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e9b2c,_0x3af88d[_0x5db2df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5db2df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x553bd8(_0x414779){const _0x14d5b4=_0x55615f();_0x3af88d[_0x14d5b4]=_0x5db2df([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x414779,_0x414779!=_0x5db2df([0x56,0x61,0x6c,0x69,0x64])&&_0x5674b7();}function _0x55615f(){const _0x368ad9=window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5db2df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5db2df([0x6e,0x6f,0x77])]())[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5db2df([0x2e]),'');let _0x4cdc32=_0x5db2df([0x68]);for(let _0x24ba2c=0x0;_0x24ba2c<_0x368ad9[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24ba2c+=0x2){let _0x8f05c=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368ad9[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24ba2c,_0x24ba2c+0x2));_0x8f05c>=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8f05c-=_0x413e38[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4cdc32+=_0x413e38[_0x8f05c];}return _0x4cdc32;}function _0x26519d(){const _0x3f5a1b=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e]));if(0x3!=_0x3f5a1b[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33ec90(_0x3f5a1b[0x1]);function _0x33ec90(_0x59f7d1){const _0x4dbe11=_0x6f13e(_0x59f7d1);return _0x4dbe11&&_0x207761()?_0x4dbe11:null;function _0x207761(){const _0x171188=_0x4dbe11[_0x5db2df([0x6a,0x74,0x69])],_0x17888b=window[_0x5db2df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1698e3={..._0x4dbe11,[_0x5db2df([0x6a,0x74,0x69])]:_0x171188[_0x5db2df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x171188[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1698e3[_0x5db2df([0x76,0x63])],_0x98e514(_0x1698e3)==_0x17888b;}}}async function _0x140d34(){let _0x3359ef=!0x0;try{const _0x483f02=_0x5daab7[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])](_0x5db2df([0x2e])),[_0x2aa9c4,_0xf19fe0,_0x5246d8]=_0x483f02;return _0x596c14(_0x2aa9c4),await _0x2d13a4(_0x2aa9c4,_0xf19fe0,_0x5246d8),_0x3359ef;}catch{return!0x1;}function _0x596c14(_0x2ff60f){const _0x415458=_0x6f13e(_0x2ff60f);_0x415458&&_0x415458[_0x5db2df([0x61,0x6c,0x67])]==_0x5db2df([0x45,0x53,0x32,0x35,0x36])||(_0x3359ef=!0x1);}async function _0x2d13a4(_0x2e332d,_0xbbafdd,_0xccc5d0){const _0x28d75d=window[_0x5db2df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5db2df([0x66,0x72,0x6f,0x6d])](_0x56da40(_0xccc5d0),_0x22c38f=>_0x22c38f[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35acd1=new window[(_0x5db2df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5db2df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e332d+_0x5db2df([0x2e])+_0xbbafdd),_0x176690=window[_0x5db2df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5db2df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x176690)return;const _0x4c9ef3=await _0x176690[_0x5db2df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5db2df([0x6a,0x77,0x6b]),_0x43bf02,{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5db2df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x176690[_0x5db2df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x45,0x43,0x44,0x53,0x41]),[_0x5db2df([0x68,0x61,0x73,0x68])]:{[_0x5db2df([0x6e,0x61,0x6d,0x65])]:_0x5db2df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c9ef3,_0x28d75d,_0x35acd1)||(_0x3359ef=!0x1);}}function _0x6f13e(_0x29fd2e){return _0x29fd2e[_0x5db2df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5db2df([0x65,0x79]))?JSON[_0x5db2df([0x70,0x61,0x72,0x73,0x65])](_0x56da40(_0x29fd2e)):null;}function _0x56da40(_0x330eaf){return window[_0x5db2df([0x61,0x74,0x6f,0x62])](_0x330eaf[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5db2df([0x2b]))[_0x5db2df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5db2df([0x2f])));}function _0x98e514(_0x1db9bb){let _0x357d89=0x1505;function _0x4160db(_0x28f24e){for(let _0x4681ff=0x0;_0x4681ff<_0x28f24e[_0x5db2df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4681ff++){const _0x4719f5=_0x28f24e[_0x5db2df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4681ff);_0x357d89=(_0x357d89<<0x5)+_0x357d89+_0x4719f5,_0x357d89&=_0x357d89;}}function _0x1dc639(_0x26dd6f){Array[_0x5db2df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26dd6f)?_0x26dd6f[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dc639):_0x26dd6f&&typeof _0x26dd6f==_0x5db2df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5db2df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26dd6f)[_0x5db2df([0x73,0x6f,0x72,0x74])]()[_0x5db2df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2abec8,_0xa097fe])=>{_0x4160db(_0x2abec8),_0x1dc639(_0xa097fe);}):_0x4160db(window[_0x5db2df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26dd6f));}return _0x1dc639(_0x1db9bb),_0x357d89>>>0x0;}function _0x4b27b0(_0x47b3cd){return _0x47b3cd[_0x5db2df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5db2df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5db2df([0x30]));}function _0x49abcf(_0x5e1c3b){return _0x5e1c3b[_0x5db2df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5db2df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5db2df([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e9b2c(){}function _0x5db2df(_0x5d1f89){return _0x5d1f89['map'](_0x47edda=>String['fromCharCode'](_0x47edda))['join']('');}_0x553bd8(await _0x122b76());}(this);}['_initSchema'](){const _0x8781d2=this['editor']['model']['schema'];_0x8781d2['isRegistered']('imageBlock')&&_0x8781d2['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x8781d2['isRegistered']('imageInline')&&_0x8781d2['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x39c477=this['editor'];_0x39c477['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x39c477['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x104828=>_0x104828['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42f817=_0x39c477['commands']['get']('replaceImageSource');_0x42f817&&this['listenTo'](_0x42f817,'cleanupImage',(_0x816dd8,[_0xe6bbd5,_0x111eb6])=>{_0xe6bbd5['removeAttribute']('uploadcareImageId',_0x111eb6);});}['_initConfig'](){const _0x100ce4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x194c26=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1fae8b(_0x435ac1['document'],'uc-config',{..._0x100ce4,'pubkey':_0x194c26,'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']=_0x562f9a=>{if('closeMax'==_0x562f9a)return'#uc-icon-arrow-down';},_0x435ac1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1fae8b(_0x435ac1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x435ac1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x14dcec=this['editor']['commands']['get']('insertImage');_0x14dcec&&this['listenTo'](_0x14dcec,'execute',()=>{const _0x60bed4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x60bed4&&_0x60bed4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x60bed4);});});const _0x1172a1=this['editor']['commands']['get']('uploadcareImageReplace');_0x1172a1&&this['listenTo'](_0x1172a1,'execute',()=>{const _0x44e55a=this['editor']['model']['document']['selection']['getSelectedElement']();_0x44e55a&&_0x44e55a['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x44e55a);});});}}class tt extends _0x48785e{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b2c8d){super(_0x5b2c8d),_0x5b2c8d['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x39dffe['defineComponents'](_0x39dffe),this['_defineLocale']();}['_defineLocale'](){const _0x353eba=this['editor']['config']['get']('uploadcare.locale'),_0x33ebf4=this['editor']['locale']['contentLanguage'];_0x353eba&&_0x39dffe['defineLocale'](_0x33ebf4,_0x353eba);}}class ii extends _0x201534{constructor(_0x4c2474){super(_0x4c2474);const t=_0x4c2474['t'],_0x3eb021=this['bindTemplate'],_0x4b1587=new _0x1fcde2();_0x4b1587['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':[_0x4b1587,{'text':_0x3eb021['to']('imageUploadProgress',_0x4d7937=>t('Loading\x20image...')+'\x20('+(_0x4d7937||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 _0x201534{constructor(_0x5b2e98){super(_0x5b2e98);const t=_0x5b2e98['t'];this['set']('errorType',null);const _0x5f789a=new _0xdcb460(_0x5b2e98);_0x5f789a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5f789a['withText']=!0x0,_0x5f789a['class']='ck-button-action',_0x5f789a['on']('execute',()=>{this['fire']('retry');}),_0x5f789a['bind']('isVisible')['to'](this,'errorType',_0x587818=>'NotFound'!==_0x587818);const _0x2a977e=new _0x56876d();_0x2a977e['content']=_0x3283e0,_0x2a977e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x51e7b7=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':[_0x2a977e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x51e7b7['to']('errorType',_0x8c7aef=>t('NotFound'!==_0x8c7aef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5f789a]},{'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 _0x201534{constructor(_0x46b214,_0x2eb9f4){super(_0x46b214);const _0xb3eae8=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x2eb9f4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xb3eae8['to']('imageSrc')}});}}class X extends V{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x49ecec,_0x31c80f,_0x43a290){super(_0x49ecec),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x49ecec),this['_errorView']=new ti(_0x49ecec),this['_editingView']=new ei(_0x49ecec,_0x43a290),this['_focusableView']=new _0x201534(_0x49ecec),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x31c80f),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'],_0xdf3b68=>{this['_addUploadcareImageEditorListeners'](_0xdf3b68);});}),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'](_0x3e92db,_0x3cfb11){const _0xd62071='uc-cloud-image-editor',_0x38926f=_0x3e92db['querySelector'](_0xd62071);if(_0x38926f)return _0x3cfb11(_0x38926f);const _0x3f7a69=new MutationObserver(_0x13ffdf=>{const _0x344d58=_0x13ffdf['filter'](_0x52f0e3=>_0x52f0e3['target']===_0x3e92db&&_0x52f0e3['addedNodes']['length']>0x0&&_0x52f0e3['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xd62071);_0x344d58['length']&&(_0x3f7a69['disconnect'](),_0x3cfb11(_0x344d58[0x0]['addedNodes'][0x0]));});_0x3f7a69['observe'](_0x3e92db,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2c4a53){_0x2c4a53['addEventListener']('apply',_0x24bff6=>{this['fire']('apply',{'imageSrc':_0x24bff6['detail']['cdnUrl']});}),_0x2c4a53['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x5bc8a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f61f6,_0x51fffb,_0xfaac34){super(),this['_editor']=_0x1f61f6,this['_dialog']=_0x51fffb,this['_imageElement']=_0xfaac34,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 _0xbe57a8=this['_imageElement'],_0x320c04=_0xbe57a8['getAttribute']('uploadcareImageId'),_0x369e5f=_0xbe57a8['getAttribute']('src');if(_0x320c04)await this['_loadImageInfo'](_0x320c04,_0x369e5f);else{if(this['_imageCache']['has'](_0x369e5f)){const _0x5e976d=this['_imageCache']['get'](_0x369e5f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e976d['url'],this['imageDimension']=_0x5e976d['dimension'],this['imageId']=_0x5e976d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5ae17e}=this['_editor'],t=_0x5ae17e['t'],_0x27444c=new X(_0x5ae17e,this['imageStatus'],this['_attributes']);_0x27444c['bind']('status')['to'](this,'imageStatus'),_0x27444c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x27444c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x27444c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x27444c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x55b258,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x27444c,'position':_0x22cd58['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x27444c['focus']();},'onHide':()=>{_0x27444c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58491f=>!M(_0x58491f,_0x27444c['element'])}});}['_loadImageInfo'](_0x21e51e,_0xa21505){return j['getInfo'](_0x21e51e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6f34=>{const {width:_0x5dd080,height:_0x3fd5c3}=_0x4c6f34['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa21505,this['imageDimension']={'width':_0x5dd080,'height':_0x3fd5c3},this['imageId']=_0x21e51e;})['catch'](_0x411eeb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x411eeb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5525a2,_0x59df41){return this['_getImageAsFile'](_0x5525a2)['then'](_0x1e8414=>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':_0x59df41['signal'],'file':_0x1e8414,'onProgress':_0x569f7a=>{_0x569f7a&&_0x569f7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x569f7a['value']));}}))['then'](_0x333baf=>{const {width:_0x5402af,height:_0x299ae7}=_0x333baf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x333baf['cdnUrl'],this['imageDimension']={'width':_0x5402af,'height':_0x299ae7},this['imageId']=_0x333baf['uuid'],this['imageUploadProgress']=null;const _0x3d895d=_0x5525a2['getAttribute']('src');this['_imageCache']['set'](_0x3d895d,{'id':_0x333baf['uuid'],'url':_0x333baf['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45df9a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45df9a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x385b8d,_0x16e2a8){_0x385b8d['on']('apply',(_0x1e3816,_0x3b5bf7)=>{this['_replaceImage'](_0x16e2a8,_0x3b5bf7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x385b8d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x385b8d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4bb24b,_0x43dda0,_0x114d75){const _0x12db99=this['_editor'],{width:_0x4ed820,height:_0x237201}=F(_0x43dda0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fb094,imageSources:_0x597c58}=C(_0x43dda0,_0x4ed820);_0x12db99['model']['change'](_0x25a742=>{if('$graveyard'===_0x4bb24b['root']['rootName']){_0x12db99['execute']('insertImage',{'imageType':_0x4bb24b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201}});const _0x1464a7=_0x4bb24b['getChildren']();_0x4bb24b=_0x12db99['model']['document']['selection']['getSelectedElement']();for(const _0x393496 of _0x1464a7)_0x25a742['append'](_0x25a742['cloneElement'](_0x393496),_0x4bb24b);}else _0x25a742['setSelection'](_0x4bb24b,'on'),_0x12db99['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4bb24b['getAttributes']()),'uploadcareImageId':_0x114d75,'src':_0x2fb094,'sources':_0x597c58,'width':_0x4ed820,'height':_0x237201},_0x4bb24b);_0x25a742['setSelection'](_0x4bb24b,'on');});}async['_getImageAsFile'](_0x4aba9a){const _0x276906=_0x435ac1['window'],_0x1f76c6=_0x435ac1['document']['location']['href'],_0x1af0ce=new _0x276906['URL'](_0x4aba9a['getAttribute']('src'),_0x1f76c6);if('data:'===_0x1af0ce['protocol']){const _0xc65d20=_0x1af0ce['href']['split'](','),_0x1d22cb=_0xc65d20[0x0]['match'](/:(.*?);/)[0x1],_0x2968ca=_0x1d22cb['split']('/')[0x1],_0x54e74d=_0x276906['atob'](_0xc65d20[_0xc65d20['length']-0x1]);let _0x5b49c9=_0x54e74d['length'];const _0x471e7c=new _0x276906['Uint8Array'](_0x5b49c9);for(;_0x5b49c9--;)_0x471e7c[_0x5b49c9]=_0x54e74d['charCodeAt'](_0x5b49c9);return new _0x276906['File']([_0x471e7c],'image.'+_0x2968ca,{'type':_0x1d22cb});}const _0x26953d=_0x1af0ce['href']['split']('/'),_0x1bb8a6=_0x26953d[_0x26953d['length']-0x1],_0x368976=_0x1bb8a6['split']('.')[0x1];return _0x276906['fetch'](_0x1af0ce['href'])['then'](_0x42a97b=>_0x42a97b['clone']()['blob']())['then'](_0xc64f86=>new _0x276906['File']([_0xc64f86],_0x1bb8a6,{'type':'image/'+_0x368976}));}}class N extends _0x42bd53{['imageEditController'];static get['requires'](){return[_0x356bd9];}['_isEditable'];constructor(_0x42378f){super(_0x42378f),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x564d70){const _0x2c1e3a=R(_0x564d70);return _0x9453d2=>!(!_0x9453d2||!_0x9453d2['is']('element','imageBlock')&&!_0x9453d2['is']('element','imageInline'))&&(!!_0x9453d2['hasAttribute']('uploadcareImageId')||!!_0x9453d2['hasAttribute']('src')&&_0x2c1e3a(_0x9453d2['getAttribute']('src')));}(_0x42378f['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x34a167=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x34a167);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x556d62=this['editor']['model']['document']['selection']['getSelectedElement']();_0x556d62&&(_0x556d62['is']('element','imageBlock')||_0x556d62['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x356bd9),_0x556d62),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x42bd53{['refresh'](){const _0x59fa90=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x59fa90&&(_0x59fa90['is']('element','imageBlock')||_0x59fa90['is']('element','imageInline')));}['execute'](_0x4480b8){const _0x33642=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x815aa2=>{_0x815aa2['setAttributes'](_0x4480b8,_0x33642),_0x815aa2['removeAttribute']('srcset',_0x33642),_0x815aa2['removeAttribute']('sizes',_0x33642);});}}class m extends _0x48785e{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x1373f0,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x73b6fa}=this;_0x73b6fa['commands']['add']('uploadcareImageEdit',new N(_0x73b6fa)),_0x73b6fa['commands']['add']('uploadcareImageReplace',new O(_0x73b6fa));}}class g extends _0x48785e{['_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 _0x466823=this['editor'];_0x466823['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dab93=>{const _0x396648=_0x466823['commands']['get']('uploadcareImageEdit'),_0x4119fa=new _0xdcb460(_0x4dab93),t=_0x4dab93['t'];return _0x4119fa['set']({'icon':_0x55b258,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4119fa['bind']('isEnabled')['to'](_0x396648),_0x4119fa['bind']('isOn')['to'](_0x396648,'isActive'),this['listenTo'](_0x4119fa,'execute',()=>{_0x466823['execute']('uploadcareImageEdit'),_0x466823['editing']['view']['focus']();}),_0x4119fa;}),this['_initConfig']();}['_initConfig'](){const _0x384692=_0x1fae8b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384692),this['listenTo'](this['editor'],'destroy',()=>{_0x384692['remove']();});}}class et extends _0x48785e{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};
@@ -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':_0x318695=>0x1!=_0x318695}};
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':_0x344fea=>0x1!=_0x344fea}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f8811=>{const {af:{dictionary:_0x59d2a5,getPluralForm:_0x79ff69}}={'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':_0x471a18=>0x1!=_0x471a18}};_0x2f8811['af']||={'dictionary':{},'getPluralForm':null},_0x2f8811['af']['dictionary']=Object['assign'](_0x2f8811['af']['dictionary'],_0x59d2a5),_0x2f8811['af']['getPluralForm']=_0x79ff69;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5c8c24=>{const {af:{dictionary:_0x2ad4b0,getPluralForm:_0x124c9e}}={'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':_0x44438e=>0x1!=_0x44438e}};_0x5c8c24['af']||={'dictionary':{},'getPluralForm':null},_0x5c8c24['af']['dictionary']=Object['assign'](_0x5c8c24['af']['dictionary'],_0x2ad4b0),_0x5c8c24['af']['getPluralForm']=_0x124c9e;})(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':_0x3c1c29=>0x0==_0x3c1c29?0x0:0x1==_0x3c1c29?0x1:0x2==_0x3c1c29?0x2:_0x3c1c29%0x64>=0x3&&_0x3c1c29%0x64<=0xa?0x3:_0x3c1c29%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':_0x48dc94=>0x0==_0x48dc94?0x0:0x1==_0x48dc94?0x1:0x2==_0x48dc94?0x2:_0x48dc94%0x64>=0x3&&_0x48dc94%0x64<=0xa?0x3:_0x48dc94%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5ebf97=>{const {ar:{dictionary:_0x34e8f8,getPluralForm:_0x4f8b82}}={'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':_0x5694d3=>0x0==_0x5694d3?0x0:0x1==_0x5694d3?0x1:0x2==_0x5694d3?0x2:_0x5694d3%0x64>=0x3&&_0x5694d3%0x64<=0xa?0x3:_0x5694d3%0x64>=0xb?0x4:0x5}};_0x5ebf97['ar']||={'dictionary':{},'getPluralForm':null},_0x5ebf97['ar']['dictionary']=Object['assign'](_0x5ebf97['ar']['dictionary'],_0x34e8f8),_0x5ebf97['ar']['getPluralForm']=_0x4f8b82;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6aa844=>{const {ar:{dictionary:_0x3bebf6,getPluralForm:_0x4a1108}}={'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':_0x4c62c2=>0x0==_0x4c62c2?0x0:0x1==_0x4c62c2?0x1:0x2==_0x4c62c2?0x2:_0x4c62c2%0x64>=0x3&&_0x4c62c2%0x64<=0xa?0x3:_0x4c62c2%0x64>=0xb?0x4:0x5}};_0x6aa844['ar']||={'dictionary':{},'getPluralForm':null},_0x6aa844['ar']['dictionary']=Object['assign'](_0x6aa844['ar']['dictionary'],_0x3bebf6),_0x6aa844['ar']['getPluralForm']=_0x4a1108;})(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':_0x32fa60=>0x1!=_0x32fa60}};
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':_0x9b5ae2=>0x1!=_0x9b5ae2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x176e91=>{const {ast:{dictionary:_0x4eb8a6,getPluralForm:_0x1612eb}}={'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':_0x4ae321=>0x1!=_0x4ae321}};_0x176e91['ast']||={'dictionary':{},'getPluralForm':null},_0x176e91['ast']['dictionary']=Object['assign'](_0x176e91['ast']['dictionary'],_0x4eb8a6),_0x176e91['ast']['getPluralForm']=_0x1612eb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21eb84=>{const {ast:{dictionary:_0x406634,getPluralForm:_0x2679d6}}={'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':_0x56b47c=>0x1!=_0x56b47c}};_0x21eb84['ast']||={'dictionary':{},'getPluralForm':null},_0x21eb84['ast']['dictionary']=Object['assign'](_0x21eb84['ast']['dictionary'],_0x406634),_0x21eb84['ast']['getPluralForm']=_0x2679d6;})(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':_0x30582c=>0x1!=_0x30582c}};
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':_0x4631b1=>0x1!=_0x4631b1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x206606=>{const {az:{dictionary:_0x3dcc58,getPluralForm:_0x5e33c6}}={'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':_0x21af0b=>0x1!=_0x21af0b}};_0x206606['az']||={'dictionary':{},'getPluralForm':null},_0x206606['az']['dictionary']=Object['assign'](_0x206606['az']['dictionary'],_0x3dcc58),_0x206606['az']['getPluralForm']=_0x5e33c6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x287e6a=>{const {az:{dictionary:_0x18cd4a,getPluralForm:_0x689c72}}={'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':_0x1fb90b=>0x1!=_0x1fb90b}};_0x287e6a['az']||={'dictionary':{},'getPluralForm':null},_0x287e6a['az']['dictionary']=Object['assign'](_0x287e6a['az']['dictionary'],_0x18cd4a),_0x287e6a['az']['getPluralForm']=_0x689c72;})(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':_0x5c048b=>_0x5c048b%0xa==0x1&&_0x5c048b%0x64!=0xb?0x0:_0x5c048b%0xa>=0x2&&_0x5c048b%0xa<=0x4&&(_0x5c048b%0x64<0xa||_0x5c048b%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':_0x4e17c5=>_0x4e17c5%0xa==0x1&&_0x4e17c5%0x64!=0xb?0x0:_0x4e17c5%0xa>=0x2&&_0x4e17c5%0xa<=0x4&&(_0x4e17c5%0x64<0xa||_0x4e17c5%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c3a4b=>{const {be:{dictionary:_0x386243,getPluralForm:_0x1326bd}}={'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':_0x21261f=>_0x21261f%0xa==0x1&&_0x21261f%0x64!=0xb?0x0:_0x21261f%0xa>=0x2&&_0x21261f%0xa<=0x4&&(_0x21261f%0x64<0xa||_0x21261f%0x64>=0x14)?0x1:0x2}};_0x4c3a4b['be']||={'dictionary':{},'getPluralForm':null},_0x4c3a4b['be']['dictionary']=Object['assign'](_0x4c3a4b['be']['dictionary'],_0x386243),_0x4c3a4b['be']['getPluralForm']=_0x1326bd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ca625=>{const {be:{dictionary:_0x1f844e,getPluralForm:_0x5ea811}}={'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':_0x5e901f=>_0x5e901f%0xa==0x1&&_0x5e901f%0x64!=0xb?0x0:_0x5e901f%0xa>=0x2&&_0x5e901f%0xa<=0x4&&(_0x5e901f%0x64<0xa||_0x5e901f%0x64>=0x14)?0x1:0x2}};_0x2ca625['be']||={'dictionary':{},'getPluralForm':null},_0x2ca625['be']['dictionary']=Object['assign'](_0x2ca625['be']['dictionary'],_0x1f844e),_0x2ca625['be']['getPluralForm']=_0x5ea811;})(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':_0x49aa69=>0x1!=_0x49aa69}};
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':_0x1408cf=>0x1!=_0x1408cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x15f74a=>{const {bg:{dictionary:_0x179fda,getPluralForm:_0x2d22b1}}={'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':_0x1a5dfe=>0x1!=_0x1a5dfe}};_0x15f74a['bg']||={'dictionary':{},'getPluralForm':null},_0x15f74a['bg']['dictionary']=Object['assign'](_0x15f74a['bg']['dictionary'],_0x179fda),_0x15f74a['bg']['getPluralForm']=_0x2d22b1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x251c52=>{const {bg:{dictionary:_0x4344da,getPluralForm:_0x345be3}}={'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':_0x2d13f7=>0x1!=_0x2d13f7}};_0x251c52['bg']||={'dictionary':{},'getPluralForm':null},_0x251c52['bg']['dictionary']=Object['assign'](_0x251c52['bg']['dictionary'],_0x4344da),_0x251c52['bg']['getPluralForm']=_0x345be3;})(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':_0x2ed49e=>0x1!=_0x2ed49e}};
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':_0x4e25a8=>0x1!=_0x4e25a8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x14088c=>{const {bn:{dictionary:_0x385ccb,getPluralForm:_0x52f789}}={'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':_0x5004c5=>0x1!=_0x5004c5}};_0x14088c['bn']||={'dictionary':{},'getPluralForm':null},_0x14088c['bn']['dictionary']=Object['assign'](_0x14088c['bn']['dictionary'],_0x385ccb),_0x14088c['bn']['getPluralForm']=_0x52f789;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f555d=>{const {bn:{dictionary:_0x4ef435,getPluralForm:_0x172fb1}}={'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':_0x1525b3=>0x1!=_0x1525b3}};_0x3f555d['bn']||={'dictionary':{},'getPluralForm':null},_0x3f555d['bn']['dictionary']=Object['assign'](_0x3f555d['bn']['dictionary'],_0x4ef435),_0x3f555d['bn']['getPluralForm']=_0x172fb1;})(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':_0x1e992d=>_0x1e992d%0xa==0x1&&_0x1e992d%0x64!=0xb?0x0:_0x1e992d%0xa>=0x2&&_0x1e992d%0xa<=0x4&&(_0x1e992d%0x64<0xa||_0x1e992d%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':_0x2839dd=>_0x2839dd%0xa==0x1&&_0x2839dd%0x64!=0xb?0x0:_0x2839dd%0xa>=0x2&&_0x2839dd%0xa<=0x4&&(_0x2839dd%0x64<0xa||_0x2839dd%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8b1741=>{const {bs:{dictionary:_0x10cecd,getPluralForm:_0x13fdad}}={'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':_0x34b881=>_0x34b881%0xa==0x1&&_0x34b881%0x64!=0xb?0x0:_0x34b881%0xa>=0x2&&_0x34b881%0xa<=0x4&&(_0x34b881%0x64<0xa||_0x34b881%0x64>=0x14)?0x1:0x2}};_0x8b1741['bs']||={'dictionary':{},'getPluralForm':null},_0x8b1741['bs']['dictionary']=Object['assign'](_0x8b1741['bs']['dictionary'],_0x10cecd),_0x8b1741['bs']['getPluralForm']=_0x13fdad;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22e7ef=>{const {bs:{dictionary:_0x5ec0ba,getPluralForm:_0x550bd1}}={'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':_0x510088=>_0x510088%0xa==0x1&&_0x510088%0x64!=0xb?0x0:_0x510088%0xa>=0x2&&_0x510088%0xa<=0x4&&(_0x510088%0x64<0xa||_0x510088%0x64>=0x14)?0x1:0x2}};_0x22e7ef['bs']||={'dictionary':{},'getPluralForm':null},_0x22e7ef['bs']['dictionary']=Object['assign'](_0x22e7ef['bs']['dictionary'],_0x5ec0ba),_0x22e7ef['bs']['getPluralForm']=_0x550bd1;})(window['CKEDITOR_TRANSLATIONS']||={});