@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250912.1 → 0.0.0-nightly-20250914.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e9a45,Command as _0x31fdab}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5894ec,IconGooglePhotos as _0x2662d4,IconGoogleDrive as _0x5906f1,IconFacebook as _0x5c3b05,IconDropbox as _0x527d5d,IconUploadcareLink as _0x165877,IconUploadcareImageUpload as _0xc4e461,IconError as _0x383a8f,IconUploadcareImageEdit as _0x345025}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x42113b,MenuBarMenuListItemButtonView as _0x3e84bc,View as _0x4ee645,FocusCycler as _0x4bbf33,Dialog as _0x56592d,DialogViewPosition as _0x5cfad9,SpinnerView as _0x92cc36,IconView as _0x2b9556,Notification as _0x403165}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x25b9a7,DomEmitterMixin as _0x42629b,global as _0x3b3c0f,getAncestors as _0x53305a,ObservableMixin as _0x51173b,uid as _0x56dfa8,createElement as _0x1823e3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x354e0d}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x4d1f73,info as _0x2677ba}from'@uploadcare/upload-client';import*as _0x167c16 from'@uploadcare/file-uploader';var i=function(_0x4aba99){return _0x4aba99['Local']='local',_0x4aba99['URL']='url',_0x4aba99['Dropbox']='dropbox',_0x4aba99['GDrive']='gdrive',_0x4aba99['Facebook']='facebook',_0x4aba99['GPhotos']='gphotos',_0x4aba99['OneDrive']='onedrive',_0x4aba99;}({});function _(_0x26f2b6,_0x439060,_0x53684a){const t=_0x26f2b6['t'],_0x306542=_0x26f2b6['t'];switch(_0x439060){case i['Local']:return{'text':_0x306542('Insert'===_0x53684a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x306542('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x53684a?_0x306542('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x306542('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x53684a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x53684a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x53684a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x53684a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x53684a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x439060;}}class e extends _0x1e9a45{['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 _0x3caed4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2957d1;for(const _0x5aa195 in _0x3caed4){const _0x139a5c=_0x5aa195,_0x3408a0=_0x3caed4[_0x139a5c];if('uploadcareLicenseKeyValid'==_0x3408a0||'uploadcareLicenseKeyInvalid'==_0x3408a0||'uploadcareLicenseKeyExpired'==_0x3408a0||'uploadcareLicenseKeyDomainLimit'==_0x3408a0||'uploadcareLicenseKeyNotAllowed'==_0x3408a0||'uploadcareLicenseKeyEvaluationLimit'==_0x3408a0||'uploadcareLicenseKeyTrialLimit'==_0x3408a0||'uploadcareLicenseKeyUsageLimit'==_0x3408a0){delete _0x3caed4[_0x139a5c],_0x2957d1=_0x3408a0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2957d1&&_0x3caed4['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2957d1&&_0x3caed4['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2957d1&&_0x3caed4['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2957d1&&_0x3caed4['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2957d1&&_0x3caed4['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2957d1&&_0x3caed4['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2957d1&&_0x3caed4['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x12d5e0}=this,_0x2650a4=_0x12d5e0['commands']['get']('uploadcare');if(!_0x2650a4)return;const _0xc8f353=this['_normalizeConfigSourceList'](_0x12d5e0['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x450482,_0x5e1c7f)=>{const _0x1c5610=this['_getIntegrationKey'](_0x5e1c7f['type']);return _0x450482[_0x1c5610]||(_0x450482[_0x1c5610]=[]),_0x450482[_0x1c5610]['push'](_0x5e1c7f),_0x450482;},{});_0x12d5e0['plugins']['has']('ImageInsertUI')&&_0x12d5e0['commands']['get']('uploadcare')&&Object['entries'](_0xc8f353)['forEach'](([_0x25cc9b,_0x13a35b])=>{_0x12d5e0['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x25cc9b,'observable':()=>_0x2650a4,'buttonViewCreator':()=>this['_createToolbarButton'](_0x13a35b),'formViewCreator':()=>this['_createDropdownButtons'](_0x13a35b),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x13a35b),'override':'assetManager'!==_0x25cc9b});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x133a87){const {locale:_0x14f2c2}=this['editor'];return _0x133a87['map'](_0x31c04c=>{const _0x2a0454=_(_0x14f2c2,_0x31c04c,'Insert');switch(_0x31c04c){case i['Local']:return{'icon':_0xc4e461,'type':i['Local'],..._0x2a0454};case i['URL']:return{'icon':_0x165877,'type':i['URL'],..._0x2a0454};case i['Dropbox']:return{'icon':_0x527d5d,'type':i['Dropbox'],..._0x2a0454};case i['Facebook']:return{'icon':_0x5c3b05,'type':i['Facebook'],..._0x2a0454};case i['GDrive']:return{'icon':_0x5906f1,'type':i['GDrive'],..._0x2a0454};case i['GPhotos']:return{'icon':_0x2662d4,'type':i['GPhotos'],..._0x2a0454};case i['OneDrive']:return{'icon':_0x5894ec,'type':i['OneDrive'],..._0x2a0454};}});}['_getIntegrationKey'](_0x13cf5d){switch(_0x13cf5d){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5d4715,_0x3f8783){const _0x31dc0b=this['editor'],_0x289ed3=new _0x5d4715(_0x31dc0b['locale']),_0x2bc1ef=_0x31dc0b['commands']['get']('uploadcare');return _0x289ed3['bind']('isEnabled')['to'](_0x2bc1ef),_0x289ed3['on']('execute',()=>{_0x2bc1ef['execute'](_0x3f8783);}),_0x289ed3;}['_createToolbarButton'](_0x3b8c10){const {locale:_0x479dd9}=this['editor'],_0x1b242d=this['editor']['plugins']['get']('ImageInsertUI'),_0x4c672a=_0x3b8c10[0x0],_0x5b012d=this['_createButton'](_0x42113b,_0x4c672a['type']);return _0x5b012d['icon']=_0x4c672a['icon'],_0x5b012d['bind']('label')['to'](_0x1b242d,'isImageSelected',_0x5be75f=>_(_0x479dd9,_0x4c672a['type'],_0x5be75f?'Replace':'Insert')['text']),_0x5b012d['tooltip']=!0x0,_0x5b012d;}['_createDropdownButtons'](_0x1553da){const {locale:_0x11128f}=this['editor'],_0x1d54af=this['editor']['plugins']['get']('ImageInsertUI');return _0x1553da['map'](_0x579cf7=>{const _0x19ba4a=this['_createButton'](_0x42113b,_0x579cf7['type']);return _0x19ba4a['withText']=!0x0,_0x19ba4a['icon']=_0x579cf7['icon'],_0x19ba4a['bind']('label')['to'](_0x1d54af,'isImageSelected',_0x480a1f=>_(_0x11128f,_0x579cf7['type'],_0x480a1f?'Replace':'Insert')['text']),_0x19ba4a;});}['_createMenuBarButtons'](_0x595c79){return _0x595c79['map'](_0x5195b1=>{const _0x2434ef=this['_createButton'](_0x3e84bc,_0x5195b1['type']);return _0x2434ef['icon']=_0x5195b1['icon'],_0x2434ef['label']=_0x5195b1['shortText'],_0x2434ef;});}}class F extends _0x4ee645{['focusTracker'];['focusCycler'];constructor(_0xd0c199){super(_0xd0c199),this['focusTracker']=new _0x25b9a7(),this['focusCycler']=new _0x4bbf33({'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(_0x3aae8a,_0x3d07e3){super(_0x3aae8a),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-'+_0x3d07e3}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x42cb08,_0x52a02a){const _0x24c398=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x6f873f=>_0x6f873f<=_0x52a02a)['map'](_0x317e78=>_0x42cb08['replace'](/\/$/,'')+'/-/resize/'+_0x317e78+'x/\x20'+_0x317e78+'w');return{'imageFallbackUrl':_0x42cb08,'imageSources':[{'srcset':_0x24c398['join'](',\x20'),'sizes':'(max-width:\x20'+_0x52a02a+'px)\x20100vw,\x20'+_0x52a02a+'px','type':'image/webp'}]};}function S(_0x2e23cc,_0x2bae76,_0x2d77d1){const _0x5dbb48=_0x2e23cc['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5dbb48?parseInt(_0x5dbb48[0x1],0xa):_0x2bae76,'height':_0x5dbb48?parseInt(_0x5dbb48[0x2],0xa):_0x2d77d1};}function p(_0x2df0a5,_0x1d50b5){const _0x1d3332=new(_0x42629b())(),_0x43b888=_0x2df0a5['plugins']['get']('ImageUtils'),_0x140d3e=_0x2df0a5['editing']['mapper']['toViewElement'](_0x1d50b5),_0x1468c1=_0x43b888['findViewImgElement'](_0x140d3e),_0x2a5c7b=_0x2df0a5['editing']['view']['domConverter']['viewToDom'](_0x1468c1),_0x25cb22=_0x1d50b5['getAttribute']('width'),_0x326633=_0x1d50b5['getAttribute']('height'),_0x5a5f7a='image-processing';_0x2df0a5['editing']['view']['change'](_0x456992=>{_0x456992['addClass'](_0x5a5f7a,_0x140d3e),_0x456992['setStyle']('aspect-ratio',_0x25cb22+'/'+_0x326633,_0x1468c1);}),_0x1d3332['listenTo'](_0x2a5c7b,'load',()=>{_0x1d3332['stopListening'](_0x2a5c7b,'load'),_0x2df0a5['editing']['view']['change'](_0x11cdad=>{_0x11cdad['removeClass'](_0x5a5f7a,_0x140d3e),_0x11cdad['removeStyle']('aspect-ratio',_0x1468c1);});});}function G(_0x3470af){if(Array['isArray'](_0x3470af)){const _0x116b0a=_0x3470af['map'](G);return _0x2c4285=>_0x116b0a['some'](_0x14c11f=>_0x14c11f(_0x2c4285));}if('origin'==_0x3470af){const _0x2dd488=_0x3b3c0f['window']['location']['origin'];return _0x5703b5=>new URL(_0x5703b5,_0x3b3c0f['document']['baseURI'])['origin']==_0x2dd488;}return'function'==typeof _0x3470af?_0x3470af:_0x3470af instanceof RegExp?_0x32cb29=>!(!_0x32cb29['match'](_0x3470af)&&!_0x32cb29['replace'](/^https?:\/\//,'')['match'](_0x3470af)):()=>!0x1;}function A(_0x12ac54,_0xbb95c4){return _0x53305a(_0x12ac54['target'])['includes'](_0xbb95c4);}class n extends/* #__PURE__ -- @preserve */
24
- _0x51173b(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x3418cd,_0x195828,_0xcfd4a9){super(),this['_editor']=_0x3418cd,this['_editing']=_0x195828,this['_dialog']=_0x3418cd['plugins']['get'](_0x56592d),this['_api']=_0x195828['ctxElement']['getAPI'](),this['_type']=_0xcfd4a9,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:_0x5228a8,model:_0x1f05ea}=this['_editor'],_0xecb67d=_0x1f05ea['document']['selection']['getSelectedElement'](),_0x28310c=_0xecb67d&&(_0xecb67d['is']('element','imageBlock')||_0xecb67d['is']('element','imageInline'));this['_formView']=new x(_0x5228a8,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xc4e461,'title':_(_0x5228a8,this['_type'],_0x28310c?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5cfad9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d32e1=>!A(_0x1d32e1,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x21ae38}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5bb052=>{const _0xc51573=_0x21ae38['length'];for(const _0xe3a02c of _0x21ae38){const _0x398cd9=_0xe3a02c===_0x21ae38[_0xc51573-0x1],{cdnUrl:_0x406a0d,fileInfo:_0x5c2e3a}=_0xe3a02c;if(!_0x406a0d||!_0x5c2e3a)continue;const {width:_0x310735,height:_0x2dc0a3}=_0x5c2e3a['imageInfo'],_0xd8dec3=S(_0x406a0d,_0x310735,_0x2dc0a3),_0x414547=C(_0x406a0d,_0xd8dec3['width']),_0x2a176a={'id':_0x5c2e3a['uuid'],'type':'image','attributes':{'imageDimension':_0xd8dec3,..._0x414547}};this['_insertAsset'](_0x2a176a,_0x398cd9,_0x5bb052);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3c5f6d=>{'idle'===_0x3c5f6d['detail']['status']&&!_0x3c5f6d['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x5167d2,_0x5b1af4,_0x476f78){const _0x58730f=this['_editor']['model']['document']['selection'],_0x48a7a8=_0x58730f['getSelectedElement'](),_0x2dd31b=!(!_0x48a7a8||!_0x48a7a8['is']('element','imageInline'));_0x476f78['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x5167d2,_0x2dd31b),_0x5b1af4||_0x476f78['setSelection'](_0x58730f['getLastPosition']());}['_insertImage'](_0x3d80b0,_0x3aa8c5){const _0x34b44e=this['_editor'],{imageDimension:_0x377e36,imageFallbackUrl:_0x40ac0f,imageSources:_0x25312a}=_0x3d80b0['attributes'];_0x34b44e['execute']('insertImage',{'imageType':_0x3aa8c5?'imageInline':null,'source':{'uploadcareImageId':_0x3d80b0['id'],'src':_0x40ac0f,'sources':_0x25312a,..._0x377e36}});}}class w extends _0x31fdab{['_editing'];['_controller']=null;static get['requires'](){return[_0x56592d,o];}constructor(_0x2c083b){super(_0x2c083b),this['_editing']=_0x2c083b['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x9398fd){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x9398fd);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x563b3e,..._0x758738}){return _0x4d1f73(_0x563b3e,_0x758738);}static['getInfo'](_0x505098,_0x5c9441){return _0x2677ba(_0x505098,_0x5c9441);}}class f extends _0x1e9a45{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x354e0d,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x52e96d=this['editor'];if(!!!_0x52e96d['config']['get']('uploadcare'))return;_0x52e96d['plugins']['get'](_0x354e0d)['createUploadAdapter']=_0x21acf0=>new k(_0x21acf0,_0x52e96d),_0x52e96d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x30f1a8,{imageElement:_0x587202,data:_0x5cbb8c})=>{_0x52e96d['model']['change'](_0x189328=>{_0x189328['setAttribute']('uploadcareImageId',_0x5cbb8c['uploadcareImageId'],_0x587202);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2d8614,_0x3c38f6){this['loader']=_0x2d8614,this['editor']=_0x3c38f6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5819e7=await this['loader']['file'];return j['upload']({'file':_0x5819e7,'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':_0x4aa9f5=>{_0x4aa9f5&&_0x4aa9f5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4aa9f5['value']);}})['then'](async _0x2027e7=>{const {imageFallbackUrl:_0x5b3a8f,imageSources:_0x43c4bf}=C(_0x2027e7['cdnUrl'],_0x2027e7['imageInfo']['width']);return{'uploadcareImageId':_0x2027e7['uuid'],'default':_0x5b3a8f,'sources':_0x43c4bf};})['catch'](()=>{const _0x3c0a65=t('Cannot\x20upload\x20file:')+('\x20'+_0x5819e7['name']+'.');return Promise['reject'](_0x3c0a65);});}['abort'](){this['controller']['abort']();}}class o extends _0x1e9a45{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x56592d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x324d31){super(_0x324d31),this['ucContextId']=_0x56dfa8();}['init'](){const _0x16635c=this['editor'];_0x16635c['commands']['add']('uploadcare',new w(_0x16635c));}['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 _0x5920e8=_0x3b3c0f['document']['querySelector']('input[uploadcare-file-input]');_0x5920e8&&_0x5920e8['remove']();}),async function(_0x2b58dd){const _0x514e20=_0x3c8b44([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x155182=0x3d8d0df,_0x289e53=0x3dfa3f7^_0x155182,_0x484016=window[_0x3c8b44([0x44,0x61,0x74,0x65])][_0x3c8b44([0x6e,0x6f,0x77])](),_0x2ae937=_0x2b58dd[_0x3c8b44([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23394a=new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fb6e7=>{_0x2ae937[_0x3c8b44([0x6f,0x6e,0x63,0x65])](_0x3c8b44([0x72,0x65,0x61,0x64,0x79]),_0x4fb6e7);}),_0x306ebf={[_0x3c8b44([0x6b,0x74,0x79])]:_0x3c8b44([0x45,0x43]),[_0x3c8b44([0x75,0x73,0x65])]:_0x3c8b44([0x73,0x69,0x67]),[_0x3c8b44([0x63,0x72,0x76])]:_0x3c8b44([0x50,0x2d,0x32,0x35,0x36]),[_0x3c8b44([0x78])]:_0x3c8b44([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]),[_0x3c8b44([0x79])]:_0x3c8b44([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]),[_0x3c8b44([0x61,0x6c,0x67])]:_0x3c8b44([0x45,0x53,0x32,0x35,0x36])},_0x1b9f67=_0x2ae937[_0x3c8b44([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c8b44([0x67,0x65,0x74])](_0x3c8b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5573fe(){let _0x568f5e,_0x840801=null,_0x57c44c=null;try{if(_0x1b9f67==_0x3c8b44([0x47,0x50,0x4c]))return _0x3c8b44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x568f5e=_0x118ecf(),!_0x568f5e)return _0x3c8b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x568f5e[_0x3c8b44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57c44c=_0x4ff67e(_0x568f5e[_0x3c8b44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x568f5e[_0x3c8b44([0x6a,0x74,0x69])])),await _0x42df0b()?_0x1b836b()?_0x405b8e()?_0x3c8b44([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13eda3()?(_0x568f5e[_0x3c8b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c8b44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x840801=_0x494d80(_0x3c8b44([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x568f5e[_0x3c8b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c8b44([0x74,0x72,0x69,0x61,0x6c])&&(_0x840801=_0x494d80(_0x3c8b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30712e()):_0x3c8b44([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c8b44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c8b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c8b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x405b8e(){const _0xb8e8c3=[_0x3c8b44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c8b44([0x74,0x72,0x69,0x61,0x6c])][_0x3c8b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568f5e[_0x3c8b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x484016/0x3e8:0xe10*_0x289e53;return _0x568f5e[_0x3c8b44([0x65,0x78,0x70])]<_0xb8e8c3;}function _0x1b836b(){const _0x240d8b=_0x568f5e[_0x3c8b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x240d8b&&(!!_0x240d8b[_0x3c8b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8b44([0x2a]))||!!_0x240d8b[_0x3c8b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8b44([0x55,0x50,0x4c,0x43])));}function _0x13eda3(){const _0x317100=_0x568f5e[_0x3c8b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x317100||0x0==_0x317100[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1be7f9}=new URL(window[_0x3c8b44([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x317100[_0x3c8b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1be7f9))return!0x0;const _0x32bff6=_0x1be7f9[_0x3c8b44([0x73,0x70,0x6c,0x69,0x74])](_0x3c8b44([0x2e]));return _0x317100[_0x3c8b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a080f=>_0x4a080f[_0x3c8b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c8b44([0x2a])))[_0x3c8b44([0x6d,0x61,0x70])](_0x4a48e7=>_0x4a48e7[_0x3c8b44([0x73,0x70,0x6c,0x69,0x74])](_0x3c8b44([0x2e])))[_0x3c8b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43591b=>_0x43591b[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32bff6[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c8b44([0x6d,0x61,0x70])](_0x47c8e2=>Array(_0x32bff6[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47c8e2[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c8b44([0x66,0x69,0x6c,0x6c])](_0x47c8e2[0x0]===_0x3c8b44([0x2a])?_0x3c8b44([0x2a]):'')[_0x3c8b44([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47c8e2))[_0x3c8b44([0x73,0x6f,0x6d,0x65])](_0x3fa586=>_0x32bff6[_0x3c8b44([0x65,0x76,0x65,0x72,0x79])]((_0x16ea67,_0x344974)=>_0x3fa586[_0x344974]===_0x16ea67||_0x3fa586[_0x344974]===_0x3c8b44([0x2a])));}function _0x30712e(){return _0x840801&&_0x57c44c?new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bf0a5,_0x3e01a7)=>{_0x840801[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x4bf0a5,_0x3e01a7),_0x57c44c[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x3cebe2=>{_0x3cebe2!=_0x3c8b44([0x56,0x61,0x6c,0x69,0x64])&&_0x4bf0a5(_0x3cebe2);},_0x3e01a7);}):_0x840801||_0x57c44c||_0x3c8b44([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ff67e(_0x317a04,_0x30bcaa){return new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349827=>{if(_0x12cc2d())return _0x349827(_0x3c8b44([0x56,0x61,0x6c,0x69,0x64]));_0x490e4c(),_0x2ae937[_0x3c8b44([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c8b44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8714ce=!0x1;const _0x2ae5a5=_0x56dfa8();function _0x454998(_0xf98785){return!!_0xf98785&&(typeof _0xf98785===_0x3c8b44([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf98785===_0x3c8b44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf98785[_0x3c8b44([0x74,0x68,0x65,0x6e])]===_0x3c8b44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf98785[_0x3c8b44([0x63,0x61,0x74,0x63,0x68])]===_0x3c8b44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x23be40(_0x4f84c1){_0x3d95d0(_0x4f84c1)[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x27e6e9=>{if(!_0x27e6e9||_0x27e6e9[_0x3c8b44([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c8b44([0x6f,0x6b]))return _0x3c8b44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42c008(_0x230feb(_0x2ae5a5+_0x30bcaa))!=_0x27e6e9[_0x3c8b44([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c8b44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c8b44([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x591301=>(_0x166e00(),_0x591301),()=>{const _0x289b72=_0xa7a13a();return null==_0x289b72?(_0x166e00(),_0x3c8b44([0x56,0x61,0x6c,0x69,0x64])):_0x3c8b44(_0x484016-_0x289b72>(0x27d454df^_0x155182)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x349827)[_0x3c8b44([0x63,0x61,0x74,0x63,0x68])](()=>{_0x349827(_0x3c8b44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x544b62=0x3ee3e5f^_0x155182;function _0x166e00(){const _0x3b6e73=_0x3c8b44([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c008(_0x230feb(_0x317a04)),_0x56bdea=_0x4bd391(_0x42c008(window[_0x3c8b44([0x4d,0x61,0x74,0x68])][_0x3c8b44([0x63,0x65,0x69,0x6c])](_0x484016/_0x544b62)));window[_0x3c8b44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c8b44([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b6e73,_0x56bdea);}function _0xa7a13a(){const _0x39bc61=_0x3c8b44([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c008(_0x230feb(_0x317a04)),_0x3b5986=window[_0x3c8b44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c8b44([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bc61);return _0x3b5986?window[_0x3c8b44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bd391(_0x3b5986),0x10)*_0x544b62:null;}function _0x3d95d0(_0x1954e4){return new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e6d79,_0x14c0f9)=>{_0x1954e4[_0x3c8b44([0x74,0x68,0x65,0x6e])](_0x3e6d79,_0x14c0f9),window[_0x3c8b44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14c0f9,0x3d9041f^_0x155182);});}}_0x2ae937[_0x3c8b44([0x6f,0x6e])](_0x3c8b44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3574cc,_0xa87383)=>{if(_0xa87383[0x0]!=_0x317a04)return _0x349827(_0x3c8b44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa87383[0x1]={..._0xa87383[0x1],[_0x3c8b44([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ae5a5};},{[_0x3c8b44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c8b44([0x68,0x69,0x67,0x68])}),_0x2ae937[_0x3c8b44([0x6f,0x6e])](_0x3c8b44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x291344=>{_0x454998(_0x291344[_0x3c8b44([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8714ce=!0x0,_0x23be40(_0x291344[_0x3c8b44([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c8b44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c8b44([0x6c,0x6f,0x77])}),_0x23394a[_0x3c8b44([0x74,0x68,0x65,0x6e])](()=>{_0x8714ce||_0x349827(_0x3c8b44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12cc2d(){return _0x2ae937[_0x3c8b44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c8b44([0x76,0x69,0x65,0x77])][_0x3c8b44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c8b44([0x61,0x75,0x74,0x6f]);}function _0x490e4c(){_0x2ae937[_0x3c8b44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c8b44([0x76,0x69,0x65,0x77])][_0x3c8b44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c8b44([0x61,0x75,0x74,0x6f]);}}function _0x494d80(_0x5f1bbc){const _0x4d513a=[new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1115c5=>setTimeout(_0x1115c5,0x3d1ee13^_0x155182)),_0x23394a[_0x3c8b44([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x68ad33=>{let _0x43836e=0x0;_0x2ae937[_0x3c8b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8b44([0x6f,0x6e])](_0x3c8b44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2859be,_0x2bebe3)=>{_0x2bebe3[0x0][_0x3c8b44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43836e++,_0x43836e==(0x3d8d127^_0x155182)&&(_0x68ad33(),_0x2859be[_0x3c8b44([0x6f,0x66,0x66])]());});}))];return window[_0x3c8b44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c8b44([0x72,0x61,0x63,0x65])](_0x4d513a)[_0x3c8b44([0x74,0x68,0x65,0x6e])](()=>_0x5f1bbc);}async function _0x22242a(){await _0x23394a,_0x2ae937[_0x3c8b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8b44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x17b443,_0x2ae937[_0x3c8b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c8b44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x17b443,_0x2ae937[_0x3c8b44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c8b44([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55925f(_0x3954cd){const _0xbdfd9=_0x49f9f5();_0x2ae937[_0xbdfd9]=_0x3c8b44([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3954cd,_0x3954cd!=_0x3c8b44([0x56,0x61,0x6c,0x69,0x64])&&_0x22242a();}function _0x49f9f5(){const _0x2be52b=window[_0x3c8b44([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c8b44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c8b44([0x6e,0x6f,0x77])]())[_0x3c8b44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c8b44([0x2e]),'');let _0x181f61=_0x3c8b44([0x52]);for(let _0x2122fa=0x0;_0x2122fa<_0x2be52b[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2122fa+=0x2){let _0x3dbaac=window[_0x3c8b44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2be52b[_0x3c8b44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2122fa,_0x2122fa+0x2));_0x3dbaac>=_0x514e20[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3dbaac-=_0x514e20[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x181f61+=_0x514e20[_0x3dbaac];}return _0x181f61;}function _0x118ecf(){const _0x488a60=_0x1b9f67[_0x3c8b44([0x73,0x70,0x6c,0x69,0x74])](_0x3c8b44([0x2e]));if(0x3!=_0x488a60[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b1caf(_0x488a60[0x1]);function _0x5b1caf(_0x4401fe){const _0x4d93a5=_0x1b0549(_0x4401fe);return _0x4d93a5&&_0x29c9b3()?_0x4d93a5:null;function _0x29c9b3(){const _0x1fbf6f=_0x4d93a5[_0x3c8b44([0x6a,0x74,0x69])],_0x729f97=window[_0x3c8b44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fbf6f[_0x3c8b44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fbf6f[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x365f8d={..._0x4d93a5,[_0x3c8b44([0x6a,0x74,0x69])]:_0x1fbf6f[_0x3c8b44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fbf6f[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x365f8d[_0x3c8b44([0x76,0x63])],_0x230feb(_0x365f8d)==_0x729f97;}}}async function _0x42df0b(){let _0x479e0b=!0x0;try{const _0xdaf08b=_0x1b9f67[_0x3c8b44([0x73,0x70,0x6c,0x69,0x74])](_0x3c8b44([0x2e])),[_0x158b49,_0x1f8d93,_0x25abbd]=_0xdaf08b;return _0x54a8f1(_0x158b49),await _0xb4b17f(_0x158b49,_0x1f8d93,_0x25abbd),_0x479e0b;}catch{return!0x1;}function _0x54a8f1(_0x47172b){const _0x55d214=_0x1b0549(_0x47172b);_0x55d214&&_0x55d214[_0x3c8b44([0x61,0x6c,0x67])]==_0x3c8b44([0x45,0x53,0x32,0x35,0x36])||(_0x479e0b=!0x1);}async function _0xb4b17f(_0x4e2aae,_0x437d6e,_0x1cd80f){const _0x12c4f7=window[_0x3c8b44([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c8b44([0x66,0x72,0x6f,0x6d])](_0x15ddf5(_0x1cd80f),_0x564e60=>_0x564e60[_0x3c8b44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23d293=new window[(_0x3c8b44([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c8b44([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e2aae+_0x3c8b44([0x2e])+_0x437d6e),_0x371b2e=window[_0x3c8b44([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c8b44([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x371b2e)return;const _0x3f6307=await _0x371b2e[_0x3c8b44([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c8b44([0x6a,0x77,0x6b]),_0x306ebf,{[_0x3c8b44([0x6e,0x61,0x6d,0x65])]:_0x3c8b44([0x45,0x43,0x44,0x53,0x41]),[_0x3c8b44([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c8b44([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c8b44([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x371b2e[_0x3c8b44([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c8b44([0x6e,0x61,0x6d,0x65])]:_0x3c8b44([0x45,0x43,0x44,0x53,0x41]),[_0x3c8b44([0x68,0x61,0x73,0x68])]:{[_0x3c8b44([0x6e,0x61,0x6d,0x65])]:_0x3c8b44([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f6307,_0x12c4f7,_0x23d293)||(_0x479e0b=!0x1);}}function _0x1b0549(_0x21ad85){return _0x21ad85[_0x3c8b44([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c8b44([0x65,0x79]))?JSON[_0x3c8b44([0x70,0x61,0x72,0x73,0x65])](_0x15ddf5(_0x21ad85)):null;}function _0x15ddf5(_0x2b8b9d){return window[_0x3c8b44([0x61,0x74,0x6f,0x62])](_0x2b8b9d[_0x3c8b44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c8b44([0x2b]))[_0x3c8b44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c8b44([0x2f])));}function _0x230feb(_0x1ddb1b){let _0x5a4a5b=0x1505;function _0x2a0c84(_0x478cc7){for(let _0x56393b=0x0;_0x56393b<_0x478cc7[_0x3c8b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56393b++){const _0x20e3ec=_0x478cc7[_0x3c8b44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56393b);_0x5a4a5b=(_0x5a4a5b<<0x5)+_0x5a4a5b+_0x20e3ec,_0x5a4a5b&=_0x5a4a5b;}}function _0x12ffba(_0x12e1aa){Array[_0x3c8b44([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12e1aa)?_0x12e1aa[_0x3c8b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12ffba):_0x12e1aa&&typeof _0x12e1aa==_0x3c8b44([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c8b44([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12e1aa)[_0x3c8b44([0x73,0x6f,0x72,0x74])]()[_0x3c8b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1804d9,_0x518e9c])=>{_0x2a0c84(_0x1804d9),_0x12ffba(_0x518e9c);}):_0x2a0c84(window[_0x3c8b44([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12e1aa));}return _0x12ffba(_0x1ddb1b),_0x5a4a5b>>>0x0;}function _0x42c008(_0x235b0e){return _0x235b0e[_0x3c8b44([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c8b44([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c8b44([0x30]));}function _0x4bd391(_0x1cce98){return _0x1cce98[_0x3c8b44([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c8b44([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c8b44([0x6a,0x6f,0x69,0x6e])]('');}function _0x17b443(){}function _0x3c8b44(_0x1ee0a7){return _0x1ee0a7['map'](_0x296b76=>String['fromCharCode'](_0x296b76))['join']('');}_0x55925f(await _0x5573fe());}(this);}['_initSchema'](){const _0x4c6621=this['editor']['model']['schema'];_0x4c6621['isRegistered']('imageBlock')&&_0x4c6621['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4c6621['isRegistered']('imageInline')&&_0x4c6621['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x3c0b1f=this['editor'];_0x3c0b1f['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x3c0b1f['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5d225e=>_0x5d225e['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4dff3e=_0x3c0b1f['commands']['get']('replaceImageSource');_0x4dff3e&&this['listenTo'](_0x4dff3e,'cleanupImage',(_0x198623,[_0x472dd3,_0x502bcf])=>{_0x472dd3['removeAttribute']('uploadcareImageId',_0x502bcf);});}['_initConfig'](){const _0x55144c=this['editor']['config']['get']('uploadcare.uploader')||{},_0x118b8e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x1823e3(_0x3b3c0f['document'],'uc-config',{..._0x55144c,'pubkey':_0x118b8e,'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']=_0x523e45=>{if('closeMax'==_0x523e45)return'#uc-icon-arrow-down';},_0x3b3c0f['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x1823e3(_0x3b3c0f['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x3b3c0f['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5ccf95=this['editor']['commands']['get']('insertImage');_0x5ccf95&&this['listenTo'](_0x5ccf95,'execute',()=>{const _0x21fadc=this['editor']['model']['document']['selection']['getSelectedElement']();_0x21fadc&&_0x21fadc['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x21fadc);});});const _0x4909ba=this['editor']['commands']['get']('uploadcareImageReplace');_0x4909ba&&this['listenTo'](_0x4909ba,'execute',()=>{const _0x4f97c9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4f97c9&&_0x4f97c9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x4f97c9);});});}}class tt extends _0x1e9a45{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x137e58){super(_0x137e58),_0x137e58['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x167c16['defineComponents'](_0x167c16);}}class ii extends _0x4ee645{constructor(_0x3b4bed){super(_0x3b4bed);const t=_0x3b4bed['t'],_0x4ae470=this['bindTemplate'],_0x40c149=new _0x92cc36();_0x40c149['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':[_0x40c149,{'text':_0x4ae470['to']('imageUploadProgress',_0x56ab9e=>t('Loading\x20image...')+'\x20('+(_0x56ab9e||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 _0x4ee645{constructor(_0x136176){super(_0x136176);const t=_0x136176['t'];this['set']('errorType',null);const _0x2e3529=new _0x42113b(_0x136176);_0x2e3529['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2e3529['withText']=!0x0,_0x2e3529['class']='ck-button-action',_0x2e3529['on']('execute',()=>{this['fire']('retry');}),_0x2e3529['bind']('isVisible')['to'](this,'errorType',_0xed88eb=>'NotFound'!==_0xed88eb);const _0x4106d7=new _0x2b9556();_0x4106d7['content']=_0x383a8f,_0x4106d7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x50424b=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':[_0x4106d7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x50424b['to']('errorType',_0x47f891=>t('NotFound'!==_0x47f891?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2e3529]},{'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 _0x4ee645{constructor(_0x12cd25,_0x474f2e){super(_0x12cd25);const _0x1b5941=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x474f2e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1b5941['to']('imageSrc')}});}}class X extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x4c22b2,_0x5a4adb,_0x80c6e7){super(_0x4c22b2),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x4c22b2),this['_errorView']=new ti(_0x4c22b2),this['_editingView']=new ei(_0x4c22b2,_0x80c6e7),this['_focusableView']=new _0x4ee645(_0x4c22b2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x5a4adb),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'],_0x55c43c=>{this['_addUploadcareImageEditorListeners'](_0x55c43c);});}),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'](_0x4f4f10,_0x53e9f2){const _0x4f1d61='uc-cloud-image-editor',_0x4834b3=_0x4f4f10['querySelector'](_0x4f1d61);if(_0x4834b3)return _0x53e9f2(_0x4834b3);const _0x2b024b=new MutationObserver(_0x58762d=>{const _0x1c2662=_0x58762d['filter'](_0x2e6359=>_0x2e6359['target']===_0x4f4f10&&_0x2e6359['addedNodes']['length']>0x0&&_0x2e6359['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4f1d61);_0x1c2662['length']&&(_0x2b024b['disconnect'](),_0x53e9f2(_0x1c2662[0x0]['addedNodes'][0x0]));});_0x2b024b['observe'](_0x4f4f10,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x5d1792){_0x5d1792['addEventListener']('apply',_0x5a4b6d=>{this['fire']('apply',{'imageSrc':_0x5a4b6d['detail']['cdnUrl']});}),_0x5d1792['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
- _0x51173b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x23ecda,_0x5eb848,_0x54a33f){super(),this['_editor']=_0x23ecda,this['_dialog']=_0x5eb848,this['_imageElement']=_0x54a33f,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 _0x3b5b72=this['_imageElement'],_0x415a1d=_0x3b5b72['getAttribute']('uploadcareImageId'),_0x4f2ba5=_0x3b5b72['getAttribute']('src');if(_0x415a1d)await this['_loadImageInfo'](_0x415a1d,_0x4f2ba5);else{if(this['_imageCache']['has'](_0x4f2ba5)){const _0x26e200=this['_imageCache']['get'](_0x4f2ba5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26e200['url'],this['imageDimension']=_0x26e200['dimension'],this['imageId']=_0x26e200['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3e08da}=this['_editor'],t=_0x3e08da['t'],_0x2780e5=new X(_0x3e08da,this['imageStatus'],this['_attributes']);_0x2780e5['bind']('status')['to'](this,'imageStatus'),_0x2780e5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2780e5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2780e5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2780e5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x345025,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2780e5,'position':_0x5cfad9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2780e5['focus']();},'onHide':()=>{_0x2780e5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2dc696=>!A(_0x2dc696,_0x2780e5['element'])}});}['_loadImageInfo'](_0x3e7b33,_0x5231d2){return j['getInfo'](_0x3e7b33,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c1283=>{const {width:_0x216d3f,height:_0x220740}=_0x4c1283['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5231d2,this['imageDimension']={'width':_0x216d3f,'height':_0x220740},this['imageId']=_0x3e7b33;})['catch'](_0x2b78f6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b78f6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x503c7f,_0x33de58){return this['_getImageAsFile'](_0x503c7f)['then'](_0x265dbd=>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':_0x33de58['signal'],'file':_0x265dbd,'onProgress':_0x5a17f8=>{_0x5a17f8&&_0x5a17f8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5a17f8['value']));}}))['then'](_0x5cbcb7=>{const {width:_0x57c365,height:_0x33e1ee}=_0x5cbcb7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5cbcb7['cdnUrl'],this['imageDimension']={'width':_0x57c365,'height':_0x33e1ee},this['imageId']=_0x5cbcb7['uuid'],this['imageUploadProgress']=null;const _0x3bfe8c=_0x503c7f['getAttribute']('src');this['_imageCache']['set'](_0x3bfe8c,{'id':_0x5cbcb7['uuid'],'url':_0x5cbcb7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x234e79=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x234e79['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38fb93,_0x370fed){_0x38fb93['on']('apply',(_0x84dbfe,_0x5af12a)=>{this['_replaceImage'](_0x370fed,_0x5af12a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38fb93['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38fb93['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4e564f,_0xd2f46f,_0x48f035){const _0xa16a51=this['_editor'],{width:_0x3c9214,height:_0x3c6c93}=S(_0xd2f46f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4faab0,imageSources:_0x420fc7}=C(_0xd2f46f,_0x3c9214);_0xa16a51['model']['change'](_0x172ddc=>{if('$graveyard'===_0x4e564f['root']['rootName']){_0xa16a51['execute']('insertImage',{'imageType':_0x4e564f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4e564f['getAttributes']()),'uploadcareImageId':_0x48f035,'src':_0x4faab0,'sources':_0x420fc7,'width':_0x3c9214,'height':_0x3c6c93}});const _0x4dfdae=_0x4e564f['getChildren']();_0x4e564f=_0xa16a51['model']['document']['selection']['getSelectedElement']();for(const _0x187c5b of _0x4dfdae)_0x172ddc['append'](_0x172ddc['cloneElement'](_0x187c5b),_0x4e564f);}else _0x172ddc['setSelection'](_0x4e564f,'on'),_0xa16a51['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4e564f['getAttributes']()),'uploadcareImageId':_0x48f035,'src':_0x4faab0,'sources':_0x420fc7,'width':_0x3c9214,'height':_0x3c6c93},_0x4e564f);_0x172ddc['setSelection'](_0x4e564f,'on');});}async['_getImageAsFile'](_0x2fa9dd){const _0x57bcb9=_0x3b3c0f['window'],_0x17ecbf=_0x3b3c0f['document']['location']['href'],_0x402054=new _0x57bcb9['URL'](_0x2fa9dd['getAttribute']('src'),_0x17ecbf);if('data:'===_0x402054['protocol']){const _0x4c1c8b=_0x402054['href']['split'](','),_0x5865c1=_0x4c1c8b[0x0]['match'](/:(.*?);/)[0x1],_0x47cd43=_0x5865c1['split']('/')[0x1],_0x19fb18=_0x57bcb9['atob'](_0x4c1c8b[_0x4c1c8b['length']-0x1]);let _0x3fe8e7=_0x19fb18['length'];const _0x3795f3=new _0x57bcb9['Uint8Array'](_0x3fe8e7);for(;_0x3fe8e7--;)_0x3795f3[_0x3fe8e7]=_0x19fb18['charCodeAt'](_0x3fe8e7);return new _0x57bcb9['File']([_0x3795f3],'image.'+_0x47cd43,{'type':_0x5865c1});}const _0x1e0697=_0x402054['href']['split']('/'),_0x26e8b1=_0x1e0697[_0x1e0697['length']-0x1],_0x3adebc=_0x26e8b1['split']('.')[0x1];return _0x57bcb9['fetch'](_0x402054['href'])['then'](_0x200b94=>_0x200b94['clone']()['blob']())['then'](_0x9f2582=>new _0x57bcb9['File']([_0x9f2582],_0x26e8b1,{'type':'image/'+_0x3adebc}));}}class O extends _0x31fdab{['imageEditController'];static get['requires'](){return[_0x56592d];}['_isEditable'];constructor(_0x3a36f5){super(_0x3a36f5),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x56077f){const _0x840b3d=G(_0x56077f);return _0x1ecf48=>!(!_0x1ecf48||!_0x1ecf48['is']('element','imageBlock')&&!_0x1ecf48['is']('element','imageInline'))&&(!!_0x1ecf48['hasAttribute']('uploadcareImageId')||!!_0x1ecf48['hasAttribute']('src')&&_0x840b3d(_0x1ecf48['getAttribute']('src')));}(_0x3a36f5['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2d67e1=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2d67e1);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x160bcb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x160bcb&&(_0x160bcb['is']('element','imageBlock')||_0x160bcb['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x56592d),_0x160bcb),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class R extends _0x31fdab{['refresh'](){const _0x4d63a8=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x4d63a8&&(_0x4d63a8['is']('element','imageBlock')||_0x4d63a8['is']('element','imageInline')));}['execute'](_0xb76b82){const _0x1a99f9=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x52c189=>{_0x52c189['setAttributes'](_0xb76b82,_0x1a99f9),_0x52c189['removeAttribute']('srcset',_0x1a99f9),_0x52c189['removeAttribute']('sizes',_0x1a99f9);});}}class m extends _0x1e9a45{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x403165,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a499d}=this;_0x1a499d['commands']['add']('uploadcareImageEdit',new O(_0x1a499d)),_0x1a499d['commands']['add']('uploadcareImageReplace',new R(_0x1a499d));}}class g extends _0x1e9a45{['_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 _0x6a6392=this['editor'];_0x6a6392['ui']['componentFactory']['add']('uploadcareImageEdit',_0x520e9c=>{const _0x46550b=_0x6a6392['commands']['get']('uploadcareImageEdit'),_0x5d6e7b=new _0x42113b(_0x520e9c),t=_0x520e9c['t'];return _0x5d6e7b['set']({'icon':_0x345025,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5d6e7b['bind']('isEnabled')['to'](_0x46550b),_0x5d6e7b['bind']('isOn')['to'](_0x46550b,'isActive'),this['listenTo'](_0x5d6e7b,'execute',()=>{_0x6a6392['execute']('uploadcareImageEdit'),_0x6a6392['editing']['view']['focus']();}),_0x5d6e7b;}),this['_initConfig']();}['_initConfig'](){const _0x3170ef=_0x1823e3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3170ef),this['listenTo'](this['editor'],'destroy',()=>{_0x3170ef['remove']();});}}class et extends _0x1e9a45{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 _0x48f386,Command as _0x291732}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x58ec5b,IconGooglePhotos as _0x110933,IconGoogleDrive as _0x26685b,IconFacebook as _0x23ce6d,IconDropbox as _0x5b44be,IconUploadcareLink as _0x1c9bd5,IconUploadcareImageUpload as _0xeaf068,IconError as _0x376cb5,IconUploadcareImageEdit as _0x1fb6d0}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x568897,MenuBarMenuListItemButtonView as _0x91b269,View as _0xb07115,FocusCycler as _0x14daae,Dialog as _0x21ec2f,DialogViewPosition as _0x4add99,SpinnerView as _0x560b47,IconView as _0x4071f6,Notification as _0x3fbf88}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x135e85,DomEmitterMixin as _0x5cfe98,global as _0x1e0274,getAncestors as _0x3a8e82,ObservableMixin as _0x3e27cb,uid as _0x34a4a7,createElement as _0x38652a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x23478b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0xbb5b2c,info as _0x7d880a}from'@uploadcare/upload-client';import*as _0x19fa08 from'@uploadcare/file-uploader';var i=function(_0x243d9c){return _0x243d9c['Local']='local',_0x243d9c['URL']='url',_0x243d9c['Dropbox']='dropbox',_0x243d9c['GDrive']='gdrive',_0x243d9c['Facebook']='facebook',_0x243d9c['GPhotos']='gphotos',_0x243d9c['OneDrive']='onedrive',_0x243d9c;}({});function _(_0x1bc0cc,_0x3a8d50,_0x1e9b92){const t=_0x1bc0cc['t'],_0x32d8d0=_0x1bc0cc['t'];switch(_0x3a8d50){case i['Local']:return{'text':_0x32d8d0('Insert'===_0x1e9b92?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x32d8d0('From\x20computer')};case i['URL']:return{'text':'Insert'===_0x1e9b92?_0x32d8d0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x32d8d0('Via\x20URL')};case i['Dropbox']:return{'text':t('Insert'===_0x1e9b92?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case i['Facebook']:return{'text':t('Insert'===_0x1e9b92?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case i['GDrive']:return{'text':t('Insert'===_0x1e9b92?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case i['GPhotos']:return{'text':t('Insert'===_0x1e9b92?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case i['OneDrive']:return{'text':t('Insert'===_0x1e9b92?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a8d50;}}class e extends _0x48f386{['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 _0x4903b6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f21ea;for(const _0x2ad8f6 in _0x4903b6){const _0x161e50=_0x2ad8f6,_0x4f5f38=_0x4903b6[_0x161e50];if('uploadcareLicenseKeyValid'==_0x4f5f38||'uploadcareLicenseKeyInvalid'==_0x4f5f38||'uploadcareLicenseKeyExpired'==_0x4f5f38||'uploadcareLicenseKeyDomainLimit'==_0x4f5f38||'uploadcareLicenseKeyNotAllowed'==_0x4f5f38||'uploadcareLicenseKeyEvaluationLimit'==_0x4f5f38||'uploadcareLicenseKeyTrialLimit'==_0x4f5f38||'uploadcareLicenseKeyUsageLimit'==_0x4f5f38){delete _0x4903b6[_0x161e50],_0x2f21ea=_0x4f5f38,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x2f21ea&&_0x4903b6['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x2f21ea&&_0x4903b6['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x2f21ea&&_0x4903b6['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x2f21ea&&_0x4903b6['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x2f21ea&&_0x4903b6['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x2f21ea&&_0x4903b6['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x2f21ea&&_0x4903b6['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1a9dba}=this,_0x548cd3=_0x1a9dba['commands']['get']('uploadcare');if(!_0x548cd3)return;const _0x408f22=this['_normalizeConfigSourceList'](_0x1a9dba['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x6ba2a4,_0x5b3ec8)=>{const _0x175caa=this['_getIntegrationKey'](_0x5b3ec8['type']);return _0x6ba2a4[_0x175caa]||(_0x6ba2a4[_0x175caa]=[]),_0x6ba2a4[_0x175caa]['push'](_0x5b3ec8),_0x6ba2a4;},{});_0x1a9dba['plugins']['has']('ImageInsertUI')&&_0x1a9dba['commands']['get']('uploadcare')&&Object['entries'](_0x408f22)['forEach'](([_0x4874e5,_0x1f5fbb])=>{_0x1a9dba['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x4874e5,'observable':()=>_0x548cd3,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1f5fbb),'formViewCreator':()=>this['_createDropdownButtons'](_0x1f5fbb),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1f5fbb),'override':'assetManager'!==_0x4874e5});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xbf0ae7){const {locale:_0xfdcac7}=this['editor'];return _0xbf0ae7['map'](_0x11c45a=>{const _0x242dd3=_(_0xfdcac7,_0x11c45a,'Insert');switch(_0x11c45a){case i['Local']:return{'icon':_0xeaf068,'type':i['Local'],..._0x242dd3};case i['URL']:return{'icon':_0x1c9bd5,'type':i['URL'],..._0x242dd3};case i['Dropbox']:return{'icon':_0x5b44be,'type':i['Dropbox'],..._0x242dd3};case i['Facebook']:return{'icon':_0x23ce6d,'type':i['Facebook'],..._0x242dd3};case i['GDrive']:return{'icon':_0x26685b,'type':i['GDrive'],..._0x242dd3};case i['GPhotos']:return{'icon':_0x110933,'type':i['GPhotos'],..._0x242dd3};case i['OneDrive']:return{'icon':_0x58ec5b,'type':i['OneDrive'],..._0x242dd3};}});}['_getIntegrationKey'](_0x37f690){switch(_0x37f690){case i['Local']:return'upload';case i['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x5255dd,_0xc4acec){const _0x4fea19=this['editor'],_0x2bdeed=new _0x5255dd(_0x4fea19['locale']),_0x2d358d=_0x4fea19['commands']['get']('uploadcare');return _0x2bdeed['bind']('isEnabled')['to'](_0x2d358d),_0x2bdeed['on']('execute',()=>{_0x2d358d['execute'](_0xc4acec);}),_0x2bdeed;}['_createToolbarButton'](_0x5d5d7f){const {locale:_0x5b4f1e}=this['editor'],_0x3a9544=this['editor']['plugins']['get']('ImageInsertUI'),_0x217443=_0x5d5d7f[0x0],_0x2e2df3=this['_createButton'](_0x568897,_0x217443['type']);return _0x2e2df3['icon']=_0x217443['icon'],_0x2e2df3['bind']('label')['to'](_0x3a9544,'isImageSelected',_0xcae182=>_(_0x5b4f1e,_0x217443['type'],_0xcae182?'Replace':'Insert')['text']),_0x2e2df3['tooltip']=!0x0,_0x2e2df3;}['_createDropdownButtons'](_0x142c87){const {locale:_0x8aa159}=this['editor'],_0x3b5b26=this['editor']['plugins']['get']('ImageInsertUI');return _0x142c87['map'](_0x577441=>{const _0x59d5fb=this['_createButton'](_0x568897,_0x577441['type']);return _0x59d5fb['withText']=!0x0,_0x59d5fb['icon']=_0x577441['icon'],_0x59d5fb['bind']('label')['to'](_0x3b5b26,'isImageSelected',_0x25bdd3=>_(_0x8aa159,_0x577441['type'],_0x25bdd3?'Replace':'Insert')['text']),_0x59d5fb;});}['_createMenuBarButtons'](_0x26e9da){return _0x26e9da['map'](_0x57649f=>{const _0x3f9437=this['_createButton'](_0x91b269,_0x57649f['type']);return _0x3f9437['icon']=_0x57649f['icon'],_0x3f9437['label']=_0x57649f['shortText'],_0x3f9437;});}}class W extends _0xb07115{['focusTracker'];['focusCycler'];constructor(_0x2eb029){super(_0x2eb029),this['focusTracker']=new _0x135e85(),this['focusCycler']=new _0x14daae({'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 R extends W{constructor(_0x408a18,_0xf3249c){super(_0x408a18),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-'+_0xf3249c}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function C(_0x46dfb9,_0x4b120d){const _0x855524=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x248404=>_0x248404<=_0x4b120d)['map'](_0x41967a=>_0x46dfb9['replace'](/\/$/,'')+'/-/resize/'+_0x41967a+'x/\x20'+_0x41967a+'w');return{'imageFallbackUrl':_0x46dfb9,'imageSources':[{'srcset':_0x855524['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4b120d+'px)\x20100vw,\x20'+_0x4b120d+'px','type':'image/webp'}]};}function V(_0x59ea45,_0x536fe2,_0x308f3c){const _0x38f586=_0x59ea45['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x38f586?parseInt(_0x38f586[0x1],0xa):_0x536fe2,'height':_0x38f586?parseInt(_0x38f586[0x2],0xa):_0x308f3c};}function p(_0x3fb762,_0x3d1d90){const _0x1b0aae=new(_0x5cfe98())(),_0x5ce489=_0x3fb762['plugins']['get']('ImageUtils'),_0x3a2bc1=_0x3fb762['editing']['mapper']['toViewElement'](_0x3d1d90),_0x3ae199=_0x5ce489['findViewImgElement'](_0x3a2bc1),_0x11cd26=_0x3fb762['editing']['view']['domConverter']['viewToDom'](_0x3ae199),_0x212ffb=_0x3d1d90['getAttribute']('width'),_0x58eaa7=_0x3d1d90['getAttribute']('height'),_0x2b6ecb='image-processing';_0x3fb762['editing']['view']['change'](_0x2c8430=>{_0x2c8430['addClass'](_0x2b6ecb,_0x3a2bc1),_0x2c8430['setStyle']('aspect-ratio',_0x212ffb+'/'+_0x58eaa7,_0x3ae199);}),_0x1b0aae['listenTo'](_0x11cd26,'load',()=>{_0x1b0aae['stopListening'](_0x11cd26,'load'),_0x3fb762['editing']['view']['change'](_0x1ab682=>{_0x1ab682['removeClass'](_0x2b6ecb,_0x3a2bc1),_0x1ab682['removeStyle']('aspect-ratio',_0x3ae199);});});}function z(_0x75ff53){if(Array['isArray'](_0x75ff53)){const _0x2c85f4=_0x75ff53['map'](z);return _0x47d3f4=>_0x2c85f4['some'](_0x1e140d=>_0x1e140d(_0x47d3f4));}if('origin'==_0x75ff53){const _0x58bf83=_0x1e0274['window']['location']['origin'];return _0x150ebd=>new URL(_0x150ebd,_0x1e0274['document']['baseURI'])['origin']==_0x58bf83;}return'function'==typeof _0x75ff53?_0x75ff53:_0x75ff53 instanceof RegExp?_0x132dca=>!(!_0x132dca['match'](_0x75ff53)&&!_0x132dca['replace'](/^https?:\/\//,'')['match'](_0x75ff53)):()=>!0x1;}function Q(_0x403cb0,_0x5692be){return _0x3a8e82(_0x403cb0['target'])['includes'](_0x5692be);}class n extends/* #__PURE__ -- @preserve */
24
+ _0x3e27cb(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x4d65de,_0x42de4c,_0x178bf5){super(),this['_editor']=_0x4d65de,this['_editing']=_0x42de4c,this['_dialog']=_0x4d65de['plugins']['get'](_0x21ec2f),this['_api']=_0x42de4c['ctxElement']['getAPI'](),this['_type']=_0x178bf5,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:_0x16b752,model:_0x4f4b50}=this['_editor'],_0x14f405=_0x4f4b50['document']['selection']['getSelectedElement'](),_0x4eee66=_0x14f405&&(_0x14f405['is']('element','imageBlock')||_0x14f405['is']('element','imageInline'));this['_formView']=new R(_0x16b752,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0xeaf068,'title':_(_0x16b752,this['_type'],_0x4eee66?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4add99['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24cc2c=>!Q(_0x24cc2c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x1313ce}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x8dab50=>{const _0x51cf29=_0x1313ce['length'];for(const _0x6aa77d of _0x1313ce){const _0x137dbd=_0x6aa77d===_0x1313ce[_0x51cf29-0x1],{cdnUrl:_0x55077e,fileInfo:_0x78fa98}=_0x6aa77d;if(!_0x55077e||!_0x78fa98)continue;const {width:_0x5784cc,height:_0x28811f}=_0x78fa98['imageInfo'],_0x4eb0ea=V(_0x55077e,_0x5784cc,_0x28811f),_0x587b1e=C(_0x55077e,_0x4eb0ea['width']),_0x4871e0={'id':_0x78fa98['uuid'],'type':'image','attributes':{'imageDimension':_0x4eb0ea,..._0x587b1e}};this['_insertAsset'](_0x4871e0,_0x137dbd,_0x8dab50);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x32def0=>{'idle'===_0x32def0['detail']['status']&&!_0x32def0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===i['Local']?this['_api']['setCurrentActivity'](i['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1e5c32,_0x1c782a,_0xab1e){const _0x73ee9e=this['_editor']['model']['document']['selection'],_0x621ec8=_0x73ee9e['getSelectedElement'](),_0x26b812=!(!_0x621ec8||!_0x621ec8['is']('element','imageInline'));_0xab1e['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1e5c32,_0x26b812),_0x1c782a||_0xab1e['setSelection'](_0x73ee9e['getLastPosition']());}['_insertImage'](_0x1f45ee,_0x5311d9){const _0xd0ee16=this['_editor'],{imageDimension:_0x5605df,imageFallbackUrl:_0x373831,imageSources:_0x374af3}=_0x1f45ee['attributes'];_0xd0ee16['execute']('insertImage',{'imageType':_0x5311d9?'imageInline':null,'source':{'uploadcareImageId':_0x1f45ee['id'],'src':_0x373831,'sources':_0x374af3,..._0x5605df}});}}class w extends _0x291732{['_editing'];['_controller']=null;static get['requires'](){return[_0x21ec2f,o];}constructor(_0x52581c){super(_0x52581c),this['_editing']=_0x52581c['plugins']['get'](o);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x286db1){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new n(this['editor'],this['_editing'],_0x286db1);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class j{static['upload']({file:_0x5999a5,..._0x22b2fe}){return _0xbb5b2c(_0x5999a5,_0x22b2fe);}static['getInfo'](_0x561297,_0xa5465c){return _0x7d880a(_0x561297,_0xa5465c);}}class f extends _0x48f386{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x23478b,o];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x44b7b5=this['editor'];if(!!!_0x44b7b5['config']['get']('uploadcare'))return;_0x44b7b5['plugins']['get'](_0x23478b)['createUploadAdapter']=_0x15f5cb=>new k(_0x15f5cb,_0x44b7b5),_0x44b7b5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5d8ef0,{imageElement:_0x24dc3e,data:_0x473b39})=>{_0x44b7b5['model']['change'](_0x57cd8b=>{_0x57cd8b['setAttribute']('uploadcareImageId',_0x473b39['uploadcareImageId'],_0x24dc3e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x20626b,_0x1dc26e){this['loader']=_0x20626b,this['editor']=_0x1dc26e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4a246f=await this['loader']['file'];return j['upload']({'file':_0x4a246f,'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':_0x374346=>{_0x374346&&_0x374346['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x374346['value']);}})['then'](async _0x188fa3=>{const {imageFallbackUrl:_0x4f0a23,imageSources:_0x54d510}=C(_0x188fa3['cdnUrl'],_0x188fa3['imageInfo']['width']);return{'uploadcareImageId':_0x188fa3['uuid'],'default':_0x4f0a23,'sources':_0x54d510};})['catch'](()=>{const _0x442a29=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a246f['name']+'.');return Promise['reject'](_0x442a29);});}['abort'](){this['controller']['abort']();}}class o extends _0x48f386{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',f,_0x21ec2f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x29abc0){super(_0x29abc0),this['ucContextId']=_0x34a4a7();}['init'](){const _0x202662=this['editor'];_0x202662['commands']['add']('uploadcare',new w(_0x202662));}['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 _0x2fbfdf=_0x1e0274['document']['querySelector']('input[uploadcare-file-input]');_0x2fbfdf&&_0x2fbfdf['remove']();}),async function(_0x3e6706){const _0x15d5b3=_0x5d1cf6([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x28eb83=0x3d8d0df,_0x1ffa44=0x3dfa387^_0x28eb83,_0x55bf95=window[_0x5d1cf6([0x44,0x61,0x74,0x65])][_0x5d1cf6([0x6e,0x6f,0x77])](),_0x2e854f=_0x3e6706[_0x5d1cf6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d8d35=new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x495fdd=>{_0x2e854f[_0x5d1cf6([0x6f,0x6e,0x63,0x65])](_0x5d1cf6([0x72,0x65,0x61,0x64,0x79]),_0x495fdd);}),_0x1d69dd={[_0x5d1cf6([0x6b,0x74,0x79])]:_0x5d1cf6([0x45,0x43]),[_0x5d1cf6([0x75,0x73,0x65])]:_0x5d1cf6([0x73,0x69,0x67]),[_0x5d1cf6([0x63,0x72,0x76])]:_0x5d1cf6([0x50,0x2d,0x32,0x35,0x36]),[_0x5d1cf6([0x78])]:_0x5d1cf6([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]),[_0x5d1cf6([0x79])]:_0x5d1cf6([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]),[_0x5d1cf6([0x61,0x6c,0x67])]:_0x5d1cf6([0x45,0x53,0x32,0x35,0x36])},_0x5326ab=_0x2e854f[_0x5d1cf6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d1cf6([0x67,0x65,0x74])](_0x5d1cf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4486aa(){let _0x512f56,_0x2c0fbe=null,_0x208dac=null;try{if(_0x5326ab==_0x5d1cf6([0x47,0x50,0x4c]))return _0x5d1cf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x512f56=_0x403f15(),!_0x512f56)return _0x5d1cf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x512f56[_0x5d1cf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x208dac=_0x26e36e(_0x512f56[_0x5d1cf6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x512f56[_0x5d1cf6([0x6a,0x74,0x69])])),await _0x36107e()?_0x4f2db4()?_0xff3c5e()?_0x5d1cf6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x450481()?(_0x512f56[_0x5d1cf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d1cf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c0fbe=_0xd17487(_0x5d1cf6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x512f56[_0x5d1cf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d1cf6([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c0fbe=_0xd17487(_0x5d1cf6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x133fd9()):_0x5d1cf6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d1cf6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d1cf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d1cf6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xff3c5e(){const _0x490999=[_0x5d1cf6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d1cf6([0x74,0x72,0x69,0x61,0x6c])][_0x5d1cf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x512f56[_0x5d1cf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55bf95/0x3e8:0xe10*_0x1ffa44;return _0x512f56[_0x5d1cf6([0x65,0x78,0x70])]<_0x490999;}function _0x4f2db4(){const _0x372d29=_0x512f56[_0x5d1cf6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x372d29&&(!!_0x372d29[_0x5d1cf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d1cf6([0x2a]))||!!_0x372d29[_0x5d1cf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d1cf6([0x55,0x50,0x4c,0x43])));}function _0x450481(){const _0x3b090a=_0x512f56[_0x5d1cf6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b090a||0x0==_0x3b090a[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e77a7}=new URL(window[_0x5d1cf6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b090a[_0x5d1cf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e77a7))return!0x0;const _0x59ae99=_0x5e77a7[_0x5d1cf6([0x73,0x70,0x6c,0x69,0x74])](_0x5d1cf6([0x2e]));return _0x3b090a[_0x5d1cf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1adf6c=>_0x1adf6c[_0x5d1cf6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d1cf6([0x2a])))[_0x5d1cf6([0x6d,0x61,0x70])](_0x498bd6=>_0x498bd6[_0x5d1cf6([0x73,0x70,0x6c,0x69,0x74])](_0x5d1cf6([0x2e])))[_0x5d1cf6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd7add5=>_0xd7add5[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59ae99[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d1cf6([0x6d,0x61,0x70])](_0x27c02e=>Array(_0x59ae99[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27c02e[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d1cf6([0x66,0x69,0x6c,0x6c])](_0x27c02e[0x0]===_0x5d1cf6([0x2a])?_0x5d1cf6([0x2a]):'')[_0x5d1cf6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27c02e))[_0x5d1cf6([0x73,0x6f,0x6d,0x65])](_0x1b6349=>_0x59ae99[_0x5d1cf6([0x65,0x76,0x65,0x72,0x79])]((_0x4bf041,_0x534d06)=>_0x1b6349[_0x534d06]===_0x4bf041||_0x1b6349[_0x534d06]===_0x5d1cf6([0x2a])));}function _0x133fd9(){return _0x2c0fbe&&_0x208dac?new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x100bbf,_0x3615f3)=>{_0x2c0fbe[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x100bbf,_0x3615f3),_0x208dac[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x199236=>{_0x199236!=_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64])&&_0x100bbf(_0x199236);},_0x3615f3);}):_0x2c0fbe||_0x208dac||_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26e36e(_0x43c4cc,_0x500d0){return new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c5fff=>{if(_0x2966a4())return _0x5c5fff(_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64]));_0x1a2756(),_0x2e854f[_0x5d1cf6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d1cf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x295008=!0x1;const _0x5029f1=_0x34a4a7();function _0x4b8692(_0x4b1cfa){return!!_0x4b1cfa&&(typeof _0x4b1cfa===_0x5d1cf6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b1cfa===_0x5d1cf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b1cfa[_0x5d1cf6([0x74,0x68,0x65,0x6e])]===_0x5d1cf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b1cfa[_0x5d1cf6([0x63,0x61,0x74,0x63,0x68])]===_0x5d1cf6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32543e(_0x162594){_0x41e8cb(_0x162594)[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x3b33b0=>{if(!_0x3b33b0||_0x3b33b0[_0x5d1cf6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d1cf6([0x6f,0x6b]))return _0x5d1cf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x543591(_0x285f2d(_0x5029f1+_0x500d0))!=_0x3b33b0[_0x5d1cf6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d1cf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x19e839=>(_0x2f75c2(),_0x19e839),()=>{const _0x495e3e=_0x553210();return null==_0x495e3e?(_0x2f75c2(),_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64])):_0x5d1cf6(_0x55bf95-_0x495e3e>(0x27d454df^_0x28eb83)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x5c5fff)[_0x5d1cf6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c5fff(_0x5d1cf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e6317=0x3ee3e5f^_0x28eb83;function _0x2f75c2(){const _0x37e1fd=_0x5d1cf6([0x6c,0x6c,0x63,0x74,0x2d])+_0x543591(_0x285f2d(_0x43c4cc)),_0x267e02=_0x2be8b3(_0x543591(window[_0x5d1cf6([0x4d,0x61,0x74,0x68])][_0x5d1cf6([0x63,0x65,0x69,0x6c])](_0x55bf95/_0x5e6317)));window[_0x5d1cf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d1cf6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37e1fd,_0x267e02);}function _0x553210(){const _0x54a733=_0x5d1cf6([0x6c,0x6c,0x63,0x74,0x2d])+_0x543591(_0x285f2d(_0x43c4cc)),_0x10a18b=window[_0x5d1cf6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d1cf6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54a733);return _0x10a18b?window[_0x5d1cf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2be8b3(_0x10a18b),0x10)*_0x5e6317:null;}function _0x41e8cb(_0x1a4c81){return new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bb203,_0x583566)=>{_0x1a4c81[_0x5d1cf6([0x74,0x68,0x65,0x6e])](_0x1bb203,_0x583566),window[_0x5d1cf6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x583566,0x3d9041f^_0x28eb83);});}}_0x2e854f[_0x5d1cf6([0x6f,0x6e])](_0x5d1cf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x435a60,_0x7441ad)=>{if(_0x7441ad[0x0]!=_0x43c4cc)return _0x5c5fff(_0x5d1cf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7441ad[0x1]={..._0x7441ad[0x1],[_0x5d1cf6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5029f1};},{[_0x5d1cf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d1cf6([0x68,0x69,0x67,0x68])}),_0x2e854f[_0x5d1cf6([0x6f,0x6e])](_0x5d1cf6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2634e6=>{_0x4b8692(_0x2634e6[_0x5d1cf6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x295008=!0x0,_0x32543e(_0x2634e6[_0x5d1cf6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d1cf6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d1cf6([0x6c,0x6f,0x77])}),_0x3d8d35[_0x5d1cf6([0x74,0x68,0x65,0x6e])](()=>{_0x295008||_0x5c5fff(_0x5d1cf6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2966a4(){return _0x2e854f[_0x5d1cf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d1cf6([0x76,0x69,0x65,0x77])][_0x5d1cf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d1cf6([0x61,0x75,0x74,0x6f]);}function _0x1a2756(){_0x2e854f[_0x5d1cf6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d1cf6([0x76,0x69,0x65,0x77])][_0x5d1cf6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d1cf6([0x61,0x75,0x74,0x6f]);}}function _0xd17487(_0x1a39e7){const _0x1ac0be=[new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fb472=>setTimeout(_0x2fb472,0x3d1ee13^_0x28eb83)),_0x3d8d35[_0x5d1cf6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456b0e=>{let _0x38ef1a=0x0;_0x2e854f[_0x5d1cf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d1cf6([0x6f,0x6e])](_0x5d1cf6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20856a,_0x414954)=>{_0x414954[0x0][_0x5d1cf6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38ef1a++,_0x38ef1a==(0x3d8d127^_0x28eb83)&&(_0x456b0e(),_0x20856a[_0x5d1cf6([0x6f,0x66,0x66])]());});}))];return window[_0x5d1cf6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d1cf6([0x72,0x61,0x63,0x65])](_0x1ac0be)[_0x5d1cf6([0x74,0x68,0x65,0x6e])](()=>_0x1a39e7);}async function _0x10a1d2(){await _0x3d8d35,_0x2e854f[_0x5d1cf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d1cf6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x292ee6,_0x2e854f[_0x5d1cf6([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d1cf6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x292ee6,_0x2e854f[_0x5d1cf6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d1cf6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c06d0(_0x3f8705){const _0x19876d=_0x10f6f5();_0x2e854f[_0x19876d]=_0x5d1cf6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f8705,_0x3f8705!=_0x5d1cf6([0x56,0x61,0x6c,0x69,0x64])&&_0x10a1d2();}function _0x10f6f5(){const _0x363280=window[_0x5d1cf6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d1cf6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d1cf6([0x6e,0x6f,0x77])]())[_0x5d1cf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d1cf6([0x2e]),'');let _0x236fa1=_0x5d1cf6([0x52]);for(let _0x27fc06=0x0;_0x27fc06<_0x363280[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27fc06+=0x2){let _0x3fe326=window[_0x5d1cf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x363280[_0x5d1cf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27fc06,_0x27fc06+0x2));_0x3fe326>=_0x15d5b3[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3fe326-=_0x15d5b3[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x236fa1+=_0x15d5b3[_0x3fe326];}return _0x236fa1;}function _0x403f15(){const _0x5cd00d=_0x5326ab[_0x5d1cf6([0x73,0x70,0x6c,0x69,0x74])](_0x5d1cf6([0x2e]));if(0x3!=_0x5cd00d[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x285b8e(_0x5cd00d[0x1]);function _0x285b8e(_0x579a84){const _0x56ac49=_0xecf4d2(_0x579a84);return _0x56ac49&&_0x16499b()?_0x56ac49:null;function _0x16499b(){const _0x57fc8a=_0x56ac49[_0x5d1cf6([0x6a,0x74,0x69])],_0x4f8bb7=window[_0x5d1cf6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57fc8a[_0x5d1cf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57fc8a[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x345988={..._0x56ac49,[_0x5d1cf6([0x6a,0x74,0x69])]:_0x57fc8a[_0x5d1cf6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57fc8a[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x345988[_0x5d1cf6([0x76,0x63])],_0x285f2d(_0x345988)==_0x4f8bb7;}}}async function _0x36107e(){let _0x2809c8=!0x0;try{const _0x24d92f=_0x5326ab[_0x5d1cf6([0x73,0x70,0x6c,0x69,0x74])](_0x5d1cf6([0x2e])),[_0x247a28,_0x4b96cf,_0x5593ab]=_0x24d92f;return _0x38def2(_0x247a28),await _0x15c7c6(_0x247a28,_0x4b96cf,_0x5593ab),_0x2809c8;}catch{return!0x1;}function _0x38def2(_0x3c5d95){const _0x16d867=_0xecf4d2(_0x3c5d95);_0x16d867&&_0x16d867[_0x5d1cf6([0x61,0x6c,0x67])]==_0x5d1cf6([0x45,0x53,0x32,0x35,0x36])||(_0x2809c8=!0x1);}async function _0x15c7c6(_0x4cf244,_0x11c8de,_0xc7b2c6){const _0x32f9f4=window[_0x5d1cf6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d1cf6([0x66,0x72,0x6f,0x6d])](_0x383d46(_0xc7b2c6),_0x5ba24d=>_0x5ba24d[_0x5d1cf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45829f=new window[(_0x5d1cf6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d1cf6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cf244+_0x5d1cf6([0x2e])+_0x11c8de),_0x1adf4f=window[_0x5d1cf6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d1cf6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1adf4f)return;const _0x1af464=await _0x1adf4f[_0x5d1cf6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d1cf6([0x6a,0x77,0x6b]),_0x1d69dd,{[_0x5d1cf6([0x6e,0x61,0x6d,0x65])]:_0x5d1cf6([0x45,0x43,0x44,0x53,0x41]),[_0x5d1cf6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d1cf6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d1cf6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1adf4f[_0x5d1cf6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d1cf6([0x6e,0x61,0x6d,0x65])]:_0x5d1cf6([0x45,0x43,0x44,0x53,0x41]),[_0x5d1cf6([0x68,0x61,0x73,0x68])]:{[_0x5d1cf6([0x6e,0x61,0x6d,0x65])]:_0x5d1cf6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1af464,_0x32f9f4,_0x45829f)||(_0x2809c8=!0x1);}}function _0xecf4d2(_0x43b7fc){return _0x43b7fc[_0x5d1cf6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d1cf6([0x65,0x79]))?JSON[_0x5d1cf6([0x70,0x61,0x72,0x73,0x65])](_0x383d46(_0x43b7fc)):null;}function _0x383d46(_0x4d5715){return window[_0x5d1cf6([0x61,0x74,0x6f,0x62])](_0x4d5715[_0x5d1cf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d1cf6([0x2b]))[_0x5d1cf6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d1cf6([0x2f])));}function _0x285f2d(_0x59b60c){let _0x26dff5=0x1505;function _0x1dddb5(_0x2d8b2d){for(let _0x2704c8=0x0;_0x2704c8<_0x2d8b2d[_0x5d1cf6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2704c8++){const _0xc862c9=_0x2d8b2d[_0x5d1cf6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2704c8);_0x26dff5=(_0x26dff5<<0x5)+_0x26dff5+_0xc862c9,_0x26dff5&=_0x26dff5;}}function _0x4288c2(_0x41f59a){Array[_0x5d1cf6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41f59a)?_0x41f59a[_0x5d1cf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4288c2):_0x41f59a&&typeof _0x41f59a==_0x5d1cf6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d1cf6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41f59a)[_0x5d1cf6([0x73,0x6f,0x72,0x74])]()[_0x5d1cf6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27dab6,_0x431104])=>{_0x1dddb5(_0x27dab6),_0x4288c2(_0x431104);}):_0x1dddb5(window[_0x5d1cf6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41f59a));}return _0x4288c2(_0x59b60c),_0x26dff5>>>0x0;}function _0x543591(_0x2f294f){return _0x2f294f[_0x5d1cf6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d1cf6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d1cf6([0x30]));}function _0x2be8b3(_0x242e11){return _0x242e11[_0x5d1cf6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d1cf6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d1cf6([0x6a,0x6f,0x69,0x6e])]('');}function _0x292ee6(){}function _0x5d1cf6(_0x3f4d5c){return _0x3f4d5c['map'](_0x1d7e77=>String['fromCharCode'](_0x1d7e77))['join']('');}_0x5c06d0(await _0x4486aa());}(this);}['_initSchema'](){const _0xeb1c02=this['editor']['model']['schema'];_0xeb1c02['isRegistered']('imageBlock')&&_0xeb1c02['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0xeb1c02['isRegistered']('imageInline')&&_0xeb1c02['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4738e8=this['editor'];_0x4738e8['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4738e8['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x5b0176=>_0x5b0176['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x165d50=_0x4738e8['commands']['get']('replaceImageSource');_0x165d50&&this['listenTo'](_0x165d50,'cleanupImage',(_0x41ecb9,[_0x2b487f,_0xd6563f])=>{_0x2b487f['removeAttribute']('uploadcareImageId',_0xd6563f);});}['_initConfig'](){const _0x5257eb=this['editor']['config']['get']('uploadcare.uploader')||{},_0x446fd7=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x38652a(_0x1e0274['document'],'uc-config',{..._0x5257eb,'pubkey':_0x446fd7,'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']=_0x26a3de=>{if('closeMax'==_0x26a3de)return'#uc-icon-arrow-down';},_0x1e0274['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x38652a(_0x1e0274['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1e0274['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x9f5cd3=this['editor']['commands']['get']('insertImage');_0x9f5cd3&&this['listenTo'](_0x9f5cd3,'execute',()=>{const _0x525cfb=this['editor']['model']['document']['selection']['getSelectedElement']();_0x525cfb&&_0x525cfb['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x525cfb);});});const _0xbdf96c=this['editor']['commands']['get']('uploadcareImageReplace');_0xbdf96c&&this['listenTo'](_0xbdf96c,'execute',()=>{const _0x17d917=this['editor']['model']['document']['selection']['getSelectedElement']();_0x17d917&&_0x17d917['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{p(this['editor'],_0x17d917);});});}}class tt extends _0x48f386{static get['requires'](){return[o,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x195b63){super(_0x195b63),_0x195b63['config']['define']('uploadcare.uploader.sourceList',[i['Local'],i['URL']]),_0x19fa08['defineComponents'](_0x19fa08);}}class ii extends _0xb07115{constructor(_0x5b646b){super(_0x5b646b);const t=_0x5b646b['t'],_0x577f0a=this['bindTemplate'],_0x389418=new _0x560b47();_0x389418['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':[_0x389418,{'text':_0x577f0a['to']('imageUploadProgress',_0x39494c=>t('Loading\x20image...')+'\x20('+(_0x39494c||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 _0xb07115{constructor(_0x53d193){super(_0x53d193);const t=_0x53d193['t'];this['set']('errorType',null);const _0x398978=new _0x568897(_0x53d193);_0x398978['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x398978['withText']=!0x0,_0x398978['class']='ck-button-action',_0x398978['on']('execute',()=>{this['fire']('retry');}),_0x398978['bind']('isVisible')['to'](this,'errorType',_0xe4b4b2=>'NotFound'!==_0xe4b4b2);const _0x1f1ba4=new _0x4071f6();_0x1f1ba4['content']=_0x376cb5,_0x1f1ba4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11ce87=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':[_0x1f1ba4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11ce87['to']('errorType',_0x32e5c2=>t('NotFound'!==_0x32e5c2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x398978]},{'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 _0xb07115{constructor(_0x592452,_0x5160be){super(_0x592452);const _0x239c0c=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x5160be,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x239c0c['to']('imageSrc')}});}}class X extends W{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x16f619,_0x32c7a5,_0x301f52){super(_0x16f619),this['_items']=this['createCollection'](),this['_loadingView']=new ii(_0x16f619),this['_errorView']=new ti(_0x16f619),this['_editingView']=new ei(_0x16f619,_0x301f52),this['_focusableView']=new _0xb07115(_0x16f619),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x32c7a5),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'],_0x37dee4=>{this['_addUploadcareImageEditorListeners'](_0x37dee4);});}),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'](_0x4eefb8,_0xec20dd){const _0x4042bd='uc-cloud-image-editor',_0x1dc01f=_0x4eefb8['querySelector'](_0x4042bd);if(_0x1dc01f)return _0xec20dd(_0x1dc01f);const _0x4f4346=new MutationObserver(_0x4c24be=>{const _0x38f4fe=_0x4c24be['filter'](_0x3b7212=>_0x3b7212['target']===_0x4eefb8&&_0x3b7212['addedNodes']['length']>0x0&&_0x3b7212['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4042bd);_0x38f4fe['length']&&(_0x4f4346['disconnect'](),_0xec20dd(_0x38f4fe[0x0]['addedNodes'][0x0]));});_0x4f4346['observe'](_0x4eefb8,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x564685){_0x564685['addEventListener']('apply',_0x1e3ee0=>{this['fire']('apply',{'imageSrc':_0x1e3ee0['detail']['cdnUrl']});}),_0x564685['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class E extends/* #__PURE__ -- @preserve */
25
+ _0x3e27cb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4d9c3e,_0x204acc,_0x25ff61){super(),this['_editor']=_0x4d9c3e,this['_dialog']=_0x204acc,this['_imageElement']=_0x25ff61,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 _0x5365d2=this['_imageElement'],_0x6660fb=_0x5365d2['getAttribute']('uploadcareImageId'),_0x44c903=_0x5365d2['getAttribute']('src');if(_0x6660fb)await this['_loadImageInfo'](_0x6660fb,_0x44c903);else{if(this['_imageCache']['has'](_0x44c903)){const _0x10728d=this['_imageCache']['get'](_0x44c903);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10728d['url'],this['imageDimension']=_0x10728d['dimension'],this['imageId']=_0x10728d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x27248a}=this['_editor'],t=_0x27248a['t'],_0x267eb0=new X(_0x27248a,this['imageStatus'],this['_attributes']);_0x267eb0['bind']('status')['to'](this,'imageStatus'),_0x267eb0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x267eb0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x267eb0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x267eb0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1fb6d0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x267eb0,'position':_0x4add99['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x267eb0['focus']();},'onHide':()=>{_0x267eb0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46bf87=>!Q(_0x46bf87,_0x267eb0['element'])}});}['_loadImageInfo'](_0xdb1fd4,_0x1444f5){return j['getInfo'](_0xdb1fd4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x6c30ac=>{const {width:_0x4f4888,height:_0x43c1da}=_0x6c30ac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1444f5,this['imageDimension']={'width':_0x4f4888,'height':_0x43c1da},this['imageId']=_0xdb1fd4;})['catch'](_0xed7af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xed7af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3a79e0,_0x549c6c){return this['_getImageAsFile'](_0x3a79e0)['then'](_0x150aa4=>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':_0x549c6c['signal'],'file':_0x150aa4,'onProgress':_0x18cd59=>{_0x18cd59&&_0x18cd59['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x18cd59['value']));}}))['then'](_0x1a8e2b=>{const {width:_0x51ca77,height:_0x204d7a}=_0x1a8e2b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a8e2b['cdnUrl'],this['imageDimension']={'width':_0x51ca77,'height':_0x204d7a},this['imageId']=_0x1a8e2b['uuid'],this['imageUploadProgress']=null;const _0x2942dc=_0x3a79e0['getAttribute']('src');this['_imageCache']['set'](_0x2942dc,{'id':_0x1a8e2b['uuid'],'url':_0x1a8e2b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26d22=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26d22['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5d4a95,_0x45d1d2){_0x5d4a95['on']('apply',(_0x3c3088,_0xcd5e7c)=>{this['_replaceImage'](_0x45d1d2,_0xcd5e7c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5d4a95['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5d4a95['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x20bb72,_0x23a8c4,_0x478c57){const _0x285a4e=this['_editor'],{width:_0x100ddb,height:_0xa1c882}=V(_0x23a8c4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4c0ce2,imageSources:_0xd9da81}=C(_0x23a8c4,_0x100ddb);_0x285a4e['model']['change'](_0x354ef1=>{if('$graveyard'===_0x20bb72['root']['rootName']){_0x285a4e['execute']('insertImage',{'imageType':_0x20bb72['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x20bb72['getAttributes']()),'uploadcareImageId':_0x478c57,'src':_0x4c0ce2,'sources':_0xd9da81,'width':_0x100ddb,'height':_0xa1c882}});const _0x1ef989=_0x20bb72['getChildren']();_0x20bb72=_0x285a4e['model']['document']['selection']['getSelectedElement']();for(const _0x215e77 of _0x1ef989)_0x354ef1['append'](_0x354ef1['cloneElement'](_0x215e77),_0x20bb72);}else _0x354ef1['setSelection'](_0x20bb72,'on'),_0x285a4e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x20bb72['getAttributes']()),'uploadcareImageId':_0x478c57,'src':_0x4c0ce2,'sources':_0xd9da81,'width':_0x100ddb,'height':_0xa1c882},_0x20bb72);_0x354ef1['setSelection'](_0x20bb72,'on');});}async['_getImageAsFile'](_0x55fb83){const _0x1a69d5=_0x1e0274['window'],_0x4bdd1a=_0x1e0274['document']['location']['href'],_0x2cd469=new _0x1a69d5['URL'](_0x55fb83['getAttribute']('src'),_0x4bdd1a);if('data:'===_0x2cd469['protocol']){const _0x1063e2=_0x2cd469['href']['split'](','),_0x32592a=_0x1063e2[0x0]['match'](/:(.*?);/)[0x1],_0x4aa773=_0x32592a['split']('/')[0x1],_0x46d87c=_0x1a69d5['atob'](_0x1063e2[_0x1063e2['length']-0x1]);let _0x3f4d53=_0x46d87c['length'];const _0x824f37=new _0x1a69d5['Uint8Array'](_0x3f4d53);for(;_0x3f4d53--;)_0x824f37[_0x3f4d53]=_0x46d87c['charCodeAt'](_0x3f4d53);return new _0x1a69d5['File']([_0x824f37],'image.'+_0x4aa773,{'type':_0x32592a});}const _0x5f35e5=_0x2cd469['href']['split']('/'),_0x28081f=_0x5f35e5[_0x5f35e5['length']-0x1],_0x56a751=_0x28081f['split']('.')[0x1];return _0x1a69d5['fetch'](_0x2cd469['href'])['then'](_0x1ee84c=>_0x1ee84c['clone']()['blob']())['then'](_0x796187=>new _0x1a69d5['File']([_0x796187],_0x28081f,{'type':'image/'+_0x56a751}));}}class N extends _0x291732{['imageEditController'];static get['requires'](){return[_0x21ec2f];}['_isEditable'];constructor(_0x5098eb){super(_0x5098eb),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5042a0){const _0x7d8a67=z(_0x5042a0);return _0x5e5de3=>!(!_0x5e5de3||!_0x5e5de3['is']('element','imageBlock')&&!_0x5e5de3['is']('element','imageInline'))&&(!!_0x5e5de3['hasAttribute']('uploadcareImageId')||!!_0x5e5de3['hasAttribute']('src')&&_0x7d8a67(_0x5e5de3['getAttribute']('src')));}(_0x5098eb['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x5e0da7=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x5e0da7);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x685149=this['editor']['model']['document']['selection']['getSelectedElement']();_0x685149&&(_0x685149['is']('element','imageBlock')||_0x685149['is']('element','imageInline'))&&(this['imageEditController']=new E(this['editor'],this['editor']['plugins']['get'](_0x21ec2f),_0x685149),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x291732{['refresh'](){const _0x3abac5=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3abac5&&(_0x3abac5['is']('element','imageBlock')||_0x3abac5['is']('element','imageInline')));}['execute'](_0x511f96){const _0x22130a=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x13010f=>{_0x13010f['setAttributes'](_0x511f96,_0x22130a),_0x13010f['removeAttribute']('srcset',_0x22130a),_0x13010f['removeAttribute']('sizes',_0x22130a);});}}class m extends _0x48f386{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[o,_0x3fbf88,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37975c}=this;_0x37975c['commands']['add']('uploadcareImageEdit',new N(_0x37975c)),_0x37975c['commands']['add']('uploadcareImageReplace',new O(_0x37975c));}}class g extends _0x48f386{['_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 _0x4120f8=this['editor'];_0x4120f8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5a633c=>{const _0x4bab47=_0x4120f8['commands']['get']('uploadcareImageEdit'),_0x515d4d=new _0x568897(_0x5a633c),t=_0x5a633c['t'];return _0x515d4d['set']({'icon':_0x1fb6d0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x515d4d['bind']('isEnabled')['to'](_0x4bab47),_0x515d4d['bind']('isOn')['to'](_0x4bab47,'isActive'),this['listenTo'](_0x515d4d,'execute',()=>{_0x4120f8['execute']('uploadcareImageEdit'),_0x4120f8['editing']['view']['focus']();}),_0x515d4d;}),this['_initConfig']();}['_initConfig'](){const _0x32e3d5=_0x38652a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x32e3d5),this['listenTo'](this['editor'],'destroy',()=>{_0x32e3d5['remove']();});}}class et extends _0x48f386{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':_0x5453c4=>0x1!=_0x5453c4}};
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':_0x522ce6=>0x1!=_0x522ce6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x921370=>{const {af:{dictionary:_0x3b65c2,getPluralForm:_0x143e38}}={'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':_0x3c1373=>0x1!=_0x3c1373}};_0x921370['af']||={'dictionary':{},'getPluralForm':null},_0x921370['af']['dictionary']=Object['assign'](_0x921370['af']['dictionary'],_0x3b65c2),_0x921370['af']['getPluralForm']=_0x143e38;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e273d=>{const {af:{dictionary:_0x5e83dc,getPluralForm:_0x1caa9a}}={'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':_0x3b2168=>0x1!=_0x3b2168}};_0x1e273d['af']||={'dictionary':{},'getPluralForm':null},_0x1e273d['af']['dictionary']=Object['assign'](_0x1e273d['af']['dictionary'],_0x5e83dc),_0x1e273d['af']['getPluralForm']=_0x1caa9a;})(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':_0x4a2d33=>0x0==_0x4a2d33?0x0:0x1==_0x4a2d33?0x1:0x2==_0x4a2d33?0x2:_0x4a2d33%0x64>=0x3&&_0x4a2d33%0x64<=0xa?0x3:_0x4a2d33%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':_0xc0686a=>0x0==_0xc0686a?0x0:0x1==_0xc0686a?0x1:0x2==_0xc0686a?0x2:_0xc0686a%0x64>=0x3&&_0xc0686a%0x64<=0xa?0x3:_0xc0686a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x309058=>{const {ar:{dictionary:_0xc99079,getPluralForm:_0x2bdfd8}}={'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':_0x1c375b=>0x0==_0x1c375b?0x0:0x1==_0x1c375b?0x1:0x2==_0x1c375b?0x2:_0x1c375b%0x64>=0x3&&_0x1c375b%0x64<=0xa?0x3:_0x1c375b%0x64>=0xb?0x4:0x5}};_0x309058['ar']||={'dictionary':{},'getPluralForm':null},_0x309058['ar']['dictionary']=Object['assign'](_0x309058['ar']['dictionary'],_0xc99079),_0x309058['ar']['getPluralForm']=_0x2bdfd8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f24ba=>{const {ar:{dictionary:_0x4b7a43,getPluralForm:_0x2d34bd}}={'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':_0x3952da=>0x0==_0x3952da?0x0:0x1==_0x3952da?0x1:0x2==_0x3952da?0x2:_0x3952da%0x64>=0x3&&_0x3952da%0x64<=0xa?0x3:_0x3952da%0x64>=0xb?0x4:0x5}};_0x1f24ba['ar']||={'dictionary':{},'getPluralForm':null},_0x1f24ba['ar']['dictionary']=Object['assign'](_0x1f24ba['ar']['dictionary'],_0x4b7a43),_0x1f24ba['ar']['getPluralForm']=_0x2d34bd;})(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':_0x3bb1b6=>0x1!=_0x3bb1b6}};
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':_0x4a883a=>0x1!=_0x4a883a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c32cb=>{const {ast:{dictionary:_0x5254c7,getPluralForm:_0x2021d7}}={'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':_0x194bbc=>0x1!=_0x194bbc}};_0x2c32cb['ast']||={'dictionary':{},'getPluralForm':null},_0x2c32cb['ast']['dictionary']=Object['assign'](_0x2c32cb['ast']['dictionary'],_0x5254c7),_0x2c32cb['ast']['getPluralForm']=_0x2021d7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2539c6=>{const {ast:{dictionary:_0x555cf3,getPluralForm:_0x576fd1}}={'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':_0x2fc28f=>0x1!=_0x2fc28f}};_0x2539c6['ast']||={'dictionary':{},'getPluralForm':null},_0x2539c6['ast']['dictionary']=Object['assign'](_0x2539c6['ast']['dictionary'],_0x555cf3),_0x2539c6['ast']['getPluralForm']=_0x576fd1;})(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':_0x3d9e31=>0x1!=_0x3d9e31}};
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':_0x289b1e=>0x1!=_0x289b1e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26b108=>{const {az:{dictionary:_0x451caa,getPluralForm:_0x57bfed}}={'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':_0x2b4d06=>0x1!=_0x2b4d06}};_0x26b108['az']||={'dictionary':{},'getPluralForm':null},_0x26b108['az']['dictionary']=Object['assign'](_0x26b108['az']['dictionary'],_0x451caa),_0x26b108['az']['getPluralForm']=_0x57bfed;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2aaf0c=>{const {az:{dictionary:_0xc873c0,getPluralForm:_0x1f3377}}={'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':_0x139f4c=>0x1!=_0x139f4c}};_0x2aaf0c['az']||={'dictionary':{},'getPluralForm':null},_0x2aaf0c['az']['dictionary']=Object['assign'](_0x2aaf0c['az']['dictionary'],_0xc873c0),_0x2aaf0c['az']['getPluralForm']=_0x1f3377;})(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':_0x1dacb3=>_0x1dacb3%0xa==0x1&&_0x1dacb3%0x64!=0xb?0x0:_0x1dacb3%0xa>=0x2&&_0x1dacb3%0xa<=0x4&&(_0x1dacb3%0x64<0xa||_0x1dacb3%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':_0x3b7a07=>_0x3b7a07%0xa==0x1&&_0x3b7a07%0x64!=0xb?0x0:_0x3b7a07%0xa>=0x2&&_0x3b7a07%0xa<=0x4&&(_0x3b7a07%0x64<0xa||_0x3b7a07%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x557fa4=>{const {be:{dictionary:_0x20a5fc,getPluralForm:_0x383b57}}={'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':_0x3af142=>_0x3af142%0xa==0x1&&_0x3af142%0x64!=0xb?0x0:_0x3af142%0xa>=0x2&&_0x3af142%0xa<=0x4&&(_0x3af142%0x64<0xa||_0x3af142%0x64>=0x14)?0x1:0x2}};_0x557fa4['be']||={'dictionary':{},'getPluralForm':null},_0x557fa4['be']['dictionary']=Object['assign'](_0x557fa4['be']['dictionary'],_0x20a5fc),_0x557fa4['be']['getPluralForm']=_0x383b57;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27d821=>{const {be:{dictionary:_0x5581f4,getPluralForm:_0x263abc}}={'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':_0x57c79a=>_0x57c79a%0xa==0x1&&_0x57c79a%0x64!=0xb?0x0:_0x57c79a%0xa>=0x2&&_0x57c79a%0xa<=0x4&&(_0x57c79a%0x64<0xa||_0x57c79a%0x64>=0x14)?0x1:0x2}};_0x27d821['be']||={'dictionary':{},'getPluralForm':null},_0x27d821['be']['dictionary']=Object['assign'](_0x27d821['be']['dictionary'],_0x5581f4),_0x27d821['be']['getPluralForm']=_0x263abc;})(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':_0x59ae16=>0x1!=_0x59ae16}};
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':_0x887ca2=>0x1!=_0x887ca2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c3175=>{const {bg:{dictionary:_0x4ec029,getPluralForm:_0x5d9912}}={'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':_0x2de343=>0x1!=_0x2de343}};_0x4c3175['bg']||={'dictionary':{},'getPluralForm':null},_0x4c3175['bg']['dictionary']=Object['assign'](_0x4c3175['bg']['dictionary'],_0x4ec029),_0x4c3175['bg']['getPluralForm']=_0x5d9912;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x461b67=>{const {bg:{dictionary:_0x35987f,getPluralForm:_0x1a5e8c}}={'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':_0x5c9eaf=>0x1!=_0x5c9eaf}};_0x461b67['bg']||={'dictionary':{},'getPluralForm':null},_0x461b67['bg']['dictionary']=Object['assign'](_0x461b67['bg']['dictionary'],_0x35987f),_0x461b67['bg']['getPluralForm']=_0x1a5e8c;})(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':_0x575266=>0x1!=_0x575266}};
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':_0x1137eb=>0x1!=_0x1137eb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x222aca=>{const {bn:{dictionary:_0x39ccd2,getPluralForm:_0x281d0f}}={'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':_0xffa499=>0x1!=_0xffa499}};_0x222aca['bn']||={'dictionary':{},'getPluralForm':null},_0x222aca['bn']['dictionary']=Object['assign'](_0x222aca['bn']['dictionary'],_0x39ccd2),_0x222aca['bn']['getPluralForm']=_0x281d0f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3fde99=>{const {bn:{dictionary:_0x51926b,getPluralForm:_0x344863}}={'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':_0x2132d5=>0x1!=_0x2132d5}};_0x3fde99['bn']||={'dictionary':{},'getPluralForm':null},_0x3fde99['bn']['dictionary']=Object['assign'](_0x3fde99['bn']['dictionary'],_0x51926b),_0x3fde99['bn']['getPluralForm']=_0x344863;})(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':_0x1b9d3c=>_0x1b9d3c%0xa==0x1&&_0x1b9d3c%0x64!=0xb?0x0:_0x1b9d3c%0xa>=0x2&&_0x1b9d3c%0xa<=0x4&&(_0x1b9d3c%0x64<0xa||_0x1b9d3c%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':_0x1e838e=>_0x1e838e%0xa==0x1&&_0x1e838e%0x64!=0xb?0x0:_0x1e838e%0xa>=0x2&&_0x1e838e%0xa<=0x4&&(_0x1e838e%0x64<0xa||_0x1e838e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x399c7d=>{const {bs:{dictionary:_0x219886,getPluralForm:_0x1c6657}}={'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':_0x4b5b4b=>_0x4b5b4b%0xa==0x1&&_0x4b5b4b%0x64!=0xb?0x0:_0x4b5b4b%0xa>=0x2&&_0x4b5b4b%0xa<=0x4&&(_0x4b5b4b%0x64<0xa||_0x4b5b4b%0x64>=0x14)?0x1:0x2}};_0x399c7d['bs']||={'dictionary':{},'getPluralForm':null},_0x399c7d['bs']['dictionary']=Object['assign'](_0x399c7d['bs']['dictionary'],_0x219886),_0x399c7d['bs']['getPluralForm']=_0x1c6657;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x164eb5=>{const {bs:{dictionary:_0x583ca4,getPluralForm:_0x4fada5}}={'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':_0x5c89d3=>_0x5c89d3%0xa==0x1&&_0x5c89d3%0x64!=0xb?0x0:_0x5c89d3%0xa>=0x2&&_0x5c89d3%0xa<=0x4&&(_0x5c89d3%0x64<0xa||_0x5c89d3%0x64>=0x14)?0x1:0x2}};_0x164eb5['bs']||={'dictionary':{},'getPluralForm':null},_0x164eb5['bs']['dictionary']=Object['assign'](_0x164eb5['bs']['dictionary'],_0x583ca4),_0x164eb5['bs']['getPluralForm']=_0x4fada5;})(window['CKEDITOR_TRANSLATIONS']||={});