@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.7 → 45.2.1-alpha.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 _0x183f64,Command as _0x5ece4c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xc080a4,IconGooglePhotos as _0x5d2513,IconGoogleDrive as _0x35c032,IconFacebook as _0x167d41,IconDropbox as _0x285176,IconUploadcareLink as _0x1a6b3d,IconUploadcareImageUpload as _0x508613,IconError as et,IconUploadcareImageEdit as _0x4840fb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x169520,MenuBarMenuListItemButtonView as _0x10114d,View as _0xcd41b8,FocusCycler as _0x40dd75,Dialog as _0x2ecccb,DialogViewPosition as _0xfe3bdd,SpinnerView as _0x4994a4,IconView as at,Notification as _0xb3d9f5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x14ea46,DomEmitterMixin as _0x53ba96,global as _0x85069e,getAncestors as _0x51ae77,ObservableMixin as _0x4038f4,createElement as _0x363592,uid as _0x5e2093}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x533c89}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x333960,info as _0x1253a3}from'@uploadcare/upload-client';import*as _0x2d88a2 from'@uploadcare/file-uploader';var o=function(_0x42b9b5){return _0x42b9b5['Local']='local',_0x42b9b5['URL']='url',_0x42b9b5['Dropbox']='dropbox',_0x42b9b5['GDrive']='gdrive',_0x42b9b5['Facebook']='facebook',_0x42b9b5['GPhotos']='gphotos',_0x42b9b5['OneDrive']='onedrive',_0x42b9b5;}({});function _(_0x2440d7,_0x20d1ae,_0x370941){const t=_0x2440d7['t'],_0x17e8cd=_0x2440d7['t'];switch(_0x20d1ae){case o['Local']:return{'text':_0x17e8cd('Insert'===_0x370941?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x17e8cd('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x370941?_0x17e8cd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x17e8cd('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x370941?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x370941?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x370941?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x370941?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x370941?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x20d1ae;}}class e extends _0x183f64{['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 _0x19c370=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1002c6;for(const _0x1c3ad8 in _0x19c370){const _0x33e168=_0x1c3ad8,_0x240747=_0x19c370[_0x33e168];if('uploadcareLicenseKeyValid'==_0x240747||'uploadcareLicenseKeyInvalid'==_0x240747||'uploadcareLicenseKeyExpired'==_0x240747||'uploadcareLicenseKeyDomainLimit'==_0x240747||'uploadcareLicenseKeyNotAllowed'==_0x240747||'uploadcareLicenseKeyEvaluationLimit'==_0x240747||'uploadcareLicenseKeyTrialLimit'==_0x240747||'uploadcareLicenseKeyUsageLimit'==_0x240747){delete _0x19c370[_0x33e168],_0x1002c6=_0x240747,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1002c6&&_0x19c370['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1002c6&&_0x19c370['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1002c6&&_0x19c370['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1002c6&&_0x19c370['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1002c6&&_0x19c370['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x1002c6&&_0x19c370['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1002c6&&_0x19c370['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x13c1cf}=this,_0x4a4a42=_0x13c1cf['commands']['get']('uploadcare');if(!_0x4a4a42)return;const _0x3460bd=this['_normalizeConfigSourceList'](_0x13c1cf['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x11cd5e,_0x1eb4af)=>{const _0x5d0cbe=this['_getIntegrationKey'](_0x1eb4af['type']);return _0x11cd5e[_0x5d0cbe]||(_0x11cd5e[_0x5d0cbe]=[]),_0x11cd5e[_0x5d0cbe]['push'](_0x1eb4af),_0x11cd5e;},{});_0x13c1cf['plugins']['has']('ImageInsertUI')&&_0x13c1cf['commands']['get']('uploadcare')&&Object['entries'](_0x3460bd)['forEach'](([_0x3e5ad9,_0x93c8ba])=>{_0x13c1cf['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3e5ad9,'observable':()=>_0x4a4a42,'buttonViewCreator':()=>this['_createToolbarButton'](_0x93c8ba),'formViewCreator':()=>this['_createDropdownButtons'](_0x93c8ba),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x93c8ba),'override':'assetManager'!==_0x3e5ad9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x389e8b){const {locale:_0x540f3e}=this['editor'];return _0x389e8b['map'](_0x490289=>{const _0x469942=_(_0x540f3e,_0x490289,'Insert');switch(_0x490289){case o['Local']:return{'icon':_0x508613,'type':o['Local'],..._0x469942};case o['URL']:return{'icon':_0x1a6b3d,'type':o['URL'],..._0x469942};case o['Dropbox']:return{'icon':_0x285176,'type':o['Dropbox'],..._0x469942};case o['Facebook']:return{'icon':_0x167d41,'type':o['Facebook'],..._0x469942};case o['GDrive']:return{'icon':_0x35c032,'type':o['GDrive'],..._0x469942};case o['GPhotos']:return{'icon':_0x5d2513,'type':o['GPhotos'],..._0x469942};case o['OneDrive']:return{'icon':_0xc080a4,'type':o['OneDrive'],..._0x469942};}});}['_getIntegrationKey'](_0x157234){switch(_0x157234){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc3a5de,_0x59c49e){const _0x46db2e=this['editor'],_0x17b5e2=new _0xc3a5de(_0x46db2e['locale']),_0x5f3474=_0x46db2e['commands']['get']('uploadcare');return _0x17b5e2['bind']('isEnabled')['to'](_0x5f3474),_0x17b5e2['on']('execute',()=>{_0x5f3474['execute'](_0x59c49e);}),_0x17b5e2;}['_createToolbarButton'](_0x33ee87){const {locale:_0x1f0c91}=this['editor'],_0x230328=this['editor']['plugins']['get']('ImageInsertUI'),_0x4b780a=_0x33ee87[0x0],_0x27071c=this['_createButton'](_0x169520,_0x4b780a['type']);return _0x27071c['icon']=_0x4b780a['icon'],_0x27071c['bind']('label')['to'](_0x230328,'isImageSelected',_0x102729=>_(_0x1f0c91,_0x4b780a['type'],_0x102729?'Replace':'Insert')['text']),_0x27071c['tooltip']=!0x0,_0x27071c;}['_createDropdownButtons'](_0x42d200){const {locale:_0x5c07d5}=this['editor'],_0xad572e=this['editor']['plugins']['get']('ImageInsertUI');return _0x42d200['map'](_0x5320b2=>{const _0x50015f=this['_createButton'](_0x169520,_0x5320b2['type']);return _0x50015f['withText']=!0x0,_0x50015f['icon']=_0x5320b2['icon'],_0x50015f['bind']('label')['to'](_0xad572e,'isImageSelected',_0x2d4445=>_(_0x5c07d5,_0x5320b2['type'],_0x2d4445?'Replace':'Insert')['text']),_0x50015f;});}['_createMenuBarButtons'](_0x2d4579){return _0x2d4579['map'](_0x16d208=>{const _0x495b05=this['_createButton'](_0x10114d,_0x16d208['type']);return _0x495b05['icon']=_0x16d208['icon'],_0x495b05['label']=_0x16d208['shortText'],_0x495b05;});}}class q extends _0xcd41b8{['focusTracker'];['focusCycler'];constructor(_0x4b8b69){super(_0x4b8b69),this['focusTracker']=new _0x14ea46(),this['focusCycler']=new _0x40dd75({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0xdc1deb){super(_0xdc1deb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x383da9,_0x2aa041){const _0x59ff90=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x219f34=>_0x219f34<=_0x2aa041)['map'](_0x3d7bb9=>_0x383da9['replace'](/\/$/,'')+'/-/resize/'+_0x3d7bb9+'x/\x20'+_0x3d7bb9+'w');return{'imageFallbackUrl':_0x383da9,'imageSources':[{'srcset':_0x59ff90['join'](',\x20'),'sizes':'(max-width:\x20'+_0x2aa041+'px)\x20100vw,\x20'+_0x2aa041+'px','type':'image/webp'}]};}function A(_0x37799e,_0x131feb,_0x2366c0){const _0x5c246d=_0x37799e['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5c246d?parseInt(_0x5c246d[0x1],0xa):_0x131feb,'height':_0x5c246d?parseInt(_0x5c246d[0x2],0xa):_0x2366c0};}function m(_0x49981a,_0xf62c){const _0x4574a3=Object['create'](_0x53ba96),_0x182a7e=_0x49981a['plugins']['get']('ImageUtils'),_0x29fb52=_0x49981a['editing']['mapper']['toViewElement'](_0xf62c),_0x3bbb86=_0x182a7e['findViewImgElement'](_0x29fb52),_0x3ad804=_0x49981a['editing']['view']['domConverter']['viewToDom'](_0x3bbb86),_0x11d0b5=_0xf62c['getAttribute']('width'),_0xb0184=_0xf62c['getAttribute']('height'),_0x5e9df4='image-processing';_0x49981a['editing']['view']['change'](_0x1d535b=>{_0x1d535b['addClass'](_0x5e9df4,_0x29fb52),_0x1d535b['setStyle']('aspect-ratio',_0x11d0b5+'/'+_0xb0184,_0x3bbb86);}),_0x4574a3['listenTo'](_0x3ad804,'load',()=>{_0x4574a3['stopListening'](_0x3ad804,'load'),_0x49981a['editing']['view']['change'](_0x1d5821=>{_0x1d5821['removeClass'](_0x5e9df4,_0x29fb52),_0x1d5821['removeStyle']('aspect-ratio',_0x3bbb86);});});}function V(_0x5ae5c5){if(Array['isArray'](_0x5ae5c5)){const _0x492a54=_0x5ae5c5['map'](V);return _0x44d4ca=>_0x492a54['some'](_0x2c5b8e=>_0x2c5b8e(_0x44d4ca));}if('origin'==_0x5ae5c5){const _0xb932ac=_0x85069e['window']['location']['origin'];return _0x3c431d=>new URL(_0x3c431d,_0x85069e['document']['baseURI'])['origin']==_0xb932ac;}return'function'==typeof _0x5ae5c5?_0x5ae5c5:_0x5ae5c5 instanceof RegExp?_0x5265b3=>!(!_0x5265b3['match'](_0x5ae5c5)&&!_0x5265b3['replace'](/^https?:\/\//,'')['match'](_0x5ae5c5)):()=>!0x1;}function F(_0x74a683,_0x530d6d){return _0x51ae77(_0x74a683['target'])['includes'](_0x530d6d);}class l extends/* #__PURE__ -- @preserve */
24
- _0x4038f4(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x42e868,_0xfef307,_0x58159f){super(),this['_editor']=_0x42e868,this['_editing']=_0xfef307,this['_dialog']=_0x42e868['plugins']['get'](_0x2ecccb),this['_api']=_0xfef307['ctxElement']['getAPI'](),this['_type']=_0x58159f,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:_0x320a67,model:_0x26aaa6}=this['_editor'],_0x4e0f31=_0x26aaa6['document']['selection']['getSelectedElement'](),_0xe9a22f=_0x4e0f31&&(_0x4e0f31['is']('element','imageBlock')||_0x4e0f31['is']('element','imageInline'));this['_formView']=new S(_0x320a67),this['_dialog']['show']({'id':'uploadCare','icon':_0x508613,'title':_(_0x320a67,this['_type'],_0xe9a22f?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xfe3bdd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x34c40c=>!F(_0x34c40c,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x341b29}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4bddf3=>{const _0x1db9c9=_0x341b29['length'];for(const _0x3d24bd of _0x341b29){const _0x432298=_0x3d24bd===_0x341b29[_0x1db9c9-0x1],{cdnUrl:_0xa2c867,fileInfo:_0xa6e54b}=_0x3d24bd;if(!_0xa2c867||!_0xa6e54b)continue;const {width:_0x9dd2da,height:_0x56c827}=_0xa6e54b['imageInfo'],_0x828359=A(_0xa2c867,_0x9dd2da,_0x56c827),_0x3e7a2b=E(_0xa2c867,_0x828359['width']),_0x4d1fb1={'id':_0xa6e54b['uuid'],'type':'image','attributes':{'imageDimension':_0x828359,..._0x3e7a2b}};this['_insertAsset'](_0x4d1fb1,_0x432298,_0x4bddf3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x305215=>{'idle'===_0x305215['detail']['status']&&!_0x305215['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x457a37,_0x16d5f6,_0xc62232){const _0x34b667=this['_editor']['model']['document']['selection'],_0x3eff55=_0x34b667['getSelectedElement'](),_0x229dd2=!(!_0x3eff55||!_0x3eff55['is']('element','imageInline'));_0xc62232['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x457a37,_0x229dd2),_0x16d5f6||_0xc62232['setSelection'](_0x34b667['getLastPosition']());}['_insertImage'](_0x5c183a,_0x55e414){const _0x4fd3dd=this['_editor'],{imageDimension:_0x440f19,imageFallbackUrl:_0x1d5049,imageSources:_0x244288}=_0x5c183a['attributes'];_0x4fd3dd['execute']('insertImage',{'imageType':_0x55e414?'imageInline':null,'source':{'uploadcareImageId':_0x5c183a['id'],'src':_0x1d5049,'sources':_0x244288,..._0x440f19}});}}class n extends _0x5ece4c{['_editing'];['_controller']=null;static get['requires'](){return[_0x2ecccb,i];}constructor(_0x3c219b){super(_0x3c219b),this['_editing']=_0x3c219b['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1da3ef){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1da3ef);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x559811,publicKey:_0x3d5044,signal:_0x3b9179,onProgress:_0x5a4b75}){return _0x333960(_0x559811,{'publicKey':_0x3d5044,'store':'auto','signal':_0x3b9179,'onProgress':_0x5a4b75});}static['getInfo'](_0x217699,_0x116d6f){return _0x1253a3(_0x217699,_0x116d6f);}}class p extends _0x183f64{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x533c89,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x20c853=this['editor'];if(!!!_0x20c853['config']['get']('uploadcare'))return;_0x20c853['plugins']['get'](_0x533c89)['createUploadAdapter']=_0x44b5c1=>new x(_0x44b5c1,_0x20c853),_0x20c853['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x80a514,{imageElement:_0x208a78,data:_0x5914a5})=>{_0x20c853['model']['change'](_0x193ddf=>{_0x193ddf['setAttribute']('uploadcareImageId',_0x5914a5['uploadcareImageId'],_0x208a78);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x45b6d7,_0x32686d){this['loader']=_0x45b6d7,this['editor']=_0x32686d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x425157=this['editor']['config']['get']('uploadcare.pubkey'),_0x69182f=await this['loader']['file'];return C['upload']({'file':_0x69182f,'publicKey':_0x425157,'signal':this['controller']['signal'],'onProgress':_0x548cb4=>{_0x548cb4&&_0x548cb4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x548cb4['value']);}})['then'](async _0x1e1b68=>{const {imageFallbackUrl:_0x2af46b,imageSources:_0x57c4b9}=E(_0x1e1b68['cdnUrl'],_0x1e1b68['imageInfo']['width']);return{'uploadcareImageId':_0x1e1b68['uuid'],'default':_0x2af46b,'sources':_0x57c4b9};})['catch'](()=>{const _0x512372=t('Cannot\x20upload\x20file:')+('\x20'+_0x69182f['name']+'.');return Promise['reject'](_0x512372);});}['abort'](){this['controller']['abort']();}}class i extends _0x183f64{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x2ecccb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x20fe4e=this['editor'];_0x20fe4e['commands']['add']('uploadcare',new n(_0x20fe4e));}['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 _0x204324=_0x85069e['document']['querySelector']('input[uploadcare-file-input]');_0x204324&&_0x204324['remove']();}),async function(_0x4e9dcd){const _0x7ae513=_0x366bf9([0x4d,0x5a,0x54,0x6a,0x37,0x34,0x35,0x6f,0x4f,0x68,0x73,0x75,0x59,0x6c,0x79,0x48,0x76,0x49,0x44,0x43,0x62,0x52,0x47,0x4b,0x56,0x53,0x51,0x78,0x45,0x67,0x57,0x32,0x65,0x46,0x39,0x4c,0x4a,0x55,0x6e,0x6d,0x36,0x74,0x6b,0x70,0x42,0x50,0x30,0x38,0x41,0x77,0x63,0x61,0x66,0x69,0x71,0x72,0x64,0x7a,0x31,0x4e,0x33,0x58]),_0x419cb5=0x257ad847,_0x48aaa5=0x257db18f^_0x419cb5,_0x5ed1f1=window[_0x366bf9([0x44,0x61,0x74,0x65])][_0x366bf9([0x6e,0x6f,0x77])](),_0x2f483a=_0x4e9dcd[_0x366bf9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7ee951=new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7417=>{_0x2f483a[_0x366bf9([0x6f,0x6e,0x63,0x65])](_0x366bf9([0x72,0x65,0x61,0x64,0x79]),_0x4b7417);}),_0x5c4ddf={[_0x366bf9([0x6b,0x74,0x79])]:_0x366bf9([0x45,0x43]),[_0x366bf9([0x75,0x73,0x65])]:_0x366bf9([0x73,0x69,0x67]),[_0x366bf9([0x63,0x72,0x76])]:_0x366bf9([0x50,0x2d,0x32,0x35,0x36]),[_0x366bf9([0x78])]:_0x366bf9([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]),[_0x366bf9([0x79])]:_0x366bf9([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]),[_0x366bf9([0x61,0x6c,0x67])]:_0x366bf9([0x45,0x53,0x32,0x35,0x36])},_0x1488a8=_0x2f483a[_0x366bf9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x366bf9([0x67,0x65,0x74])](_0x366bf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x416f7e(){let _0x5073e1,_0x5745c4=null,_0x50c26e=null;try{if(_0x1488a8==_0x366bf9([0x47,0x50,0x4c]))return _0x366bf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5073e1=_0x6f5510(),!_0x5073e1)return _0x366bf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5073e1[_0x366bf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c26e=_0x3e0beb(_0x5073e1[_0x366bf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5073e1[_0x366bf9([0x6a,0x74,0x69])])),await _0x44d296()?_0x1af509()?_0x52e72c()?_0x366bf9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39a8c9()?(_0x5073e1[_0x366bf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x366bf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5745c4=_0x22fecb(_0x366bf9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5073e1[_0x366bf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x366bf9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5745c4=_0x22fecb(_0x366bf9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x202fdf()):_0x366bf9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x366bf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x366bf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x366bf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x52e72c(){const _0x114fff=[_0x366bf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x366bf9([0x74,0x72,0x69,0x61,0x6c])][_0x366bf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5073e1[_0x366bf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ed1f1/0x3e8:0xe10*_0x48aaa5;return _0x5073e1[_0x366bf9([0x65,0x78,0x70])]<_0x114fff;}function _0x1af509(){const _0x535c11=_0x5073e1[_0x366bf9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x535c11&&(!!_0x535c11[_0x366bf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366bf9([0x2a]))||!!_0x535c11[_0x366bf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366bf9([0x55,0x50,0x4c,0x43])));}function _0x39a8c9(){const _0x33dd55=_0x5073e1[_0x366bf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33dd55||0x0==_0x33dd55[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5361c1}=new URL(window[_0x366bf9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x33dd55[_0x366bf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5361c1))return!0x0;const _0x50572b=_0x5361c1[_0x366bf9([0x73,0x70,0x6c,0x69,0x74])](_0x366bf9([0x2e]));return _0x33dd55[_0x366bf9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e4ee6=>_0x1e4ee6[_0x366bf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x366bf9([0x2a])))[_0x366bf9([0x6d,0x61,0x70])](_0x338387=>_0x338387[_0x366bf9([0x73,0x70,0x6c,0x69,0x74])](_0x366bf9([0x2e])))[_0x366bf9([0x73,0x6f,0x6d,0x65])](_0x291a6f=>_0x50572b[_0x366bf9([0x65,0x76,0x65,0x72,0x79])]((_0x1ed31b,_0x1607f7)=>_0x291a6f[_0x1607f7]===_0x1ed31b||_0x291a6f[_0x1607f7]===_0x366bf9([0x2a])));}function _0x202fdf(){return _0x5745c4&&_0x50c26e?new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30ce66,_0x630c84)=>{_0x5745c4[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x30ce66,_0x630c84),_0x50c26e[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x2fd6cf=>{_0x2fd6cf!=_0x366bf9([0x56,0x61,0x6c,0x69,0x64])&&_0x30ce66(_0x2fd6cf);},_0x630c84);}):_0x5745c4||_0x50c26e||_0x366bf9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e0beb(_0x23eb43,_0x58c7f0){return new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9bcb07=>{if(_0x6b9769())return _0x9bcb07(_0x366bf9([0x56,0x61,0x6c,0x69,0x64]));_0x2ff874(),_0x2f483a[_0x366bf9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x366bf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2903b7=!0x1;const _0x53644f=_0x5e2093();function _0x5efad2(_0x560c04){return!!_0x560c04&&(typeof _0x560c04===_0x366bf9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x560c04===_0x366bf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x560c04[_0x366bf9([0x74,0x68,0x65,0x6e])]===_0x366bf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x560c04[_0x366bf9([0x63,0x61,0x74,0x63,0x68])]===_0x366bf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52bfce(_0x4c5322){_0x5566fa(_0x4c5322)[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x162f2c=>{if(!_0x162f2c||_0x162f2c[_0x366bf9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x366bf9([0x6f,0x6b]))return _0x366bf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc4905f(_0x18d6a0(_0x53644f+_0x58c7f0))!=_0x162f2c[_0x366bf9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x366bf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x366bf9([0x56,0x61,0x6c,0x69,0x64]);})[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x50182e=>(_0x281621(),_0x50182e),()=>{const _0x17d7d1=_0x354344();return null==_0x17d7d1?(_0x281621(),_0x366bf9([0x56,0x61,0x6c,0x69,0x64])):_0x366bf9(_0x5ed1f1-_0x17d7d1>(0x1765c47^_0x419cb5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x9bcb07)[_0x366bf9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9bcb07(_0x366bf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e9d67=0x254c36c7^_0x419cb5;function _0x281621(){const _0x4cfbe7=_0x366bf9([0x6c,0x6c,0x63,0x74,0x2d])+_0xc4905f(_0x18d6a0(_0x23eb43)),_0x7e615e=_0x36ec84(_0xc4905f(window[_0x366bf9([0x4d,0x61,0x74,0x68])][_0x366bf9([0x63,0x65,0x69,0x6c])](_0x5ed1f1/_0x3e9d67)));window[_0x366bf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366bf9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cfbe7,_0x7e615e);}function _0x354344(){const _0x437831=_0x366bf9([0x6c,0x6c,0x63,0x74,0x2d])+_0xc4905f(_0x18d6a0(_0x23eb43)),_0x5b17f1=window[_0x366bf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x366bf9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x437831);return _0x5b17f1?window[_0x366bf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36ec84(_0x5b17f1),0x10)*_0x3e9d67:null;}function _0x5566fa(_0x346bb6){return new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x112b6a,_0x360227)=>{_0x346bb6[_0x366bf9([0x74,0x68,0x65,0x6e])](_0x112b6a,_0x360227),window[_0x366bf9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x360227,0x257b0c87^_0x419cb5);});}}_0x2f483a[_0x366bf9([0x6f,0x6e])](_0x366bf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ed2c4,_0x21794c)=>{if(_0x21794c[0x0]!=_0x23eb43)return _0x9bcb07(_0x366bf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21794c[0x1]={..._0x21794c[0x1],[_0x366bf9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53644f};},{[_0x366bf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366bf9([0x68,0x69,0x67,0x68])}),_0x2f483a[_0x366bf9([0x6f,0x6e])](_0x366bf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x145c12=>{_0x5efad2(_0x145c12[_0x366bf9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2903b7=!0x0,_0x52bfce(_0x145c12[_0x366bf9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x366bf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x366bf9([0x6c,0x6f,0x77])}),_0x7ee951[_0x366bf9([0x74,0x68,0x65,0x6e])](()=>{_0x2903b7||_0x9bcb07(_0x366bf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6b9769(){return _0x2f483a[_0x366bf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366bf9([0x76,0x69,0x65,0x77])][_0x366bf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x366bf9([0x61,0x75,0x74,0x6f]);}function _0x2ff874(){_0x2f483a[_0x366bf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x366bf9([0x76,0x69,0x65,0x77])][_0x366bf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x366bf9([0x61,0x75,0x74,0x6f]);}}function _0x22fecb(_0x8f9a24){const _0x3c2d54=[new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x504792=>setTimeout(_0x504792,0x2573e68b^_0x419cb5)),_0x7ee951[_0x366bf9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x242a55=>{let _0x1752ca=0x0;_0x2f483a[_0x366bf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x366bf9([0x6f,0x6e])](_0x366bf9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfa9dc2,_0x4d5ee6)=>{_0x4d5ee6[0x0][_0x366bf9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1752ca++,_0x1752ca==(0x257ad9bf^_0x419cb5)&&(_0x242a55(),_0xfa9dc2[_0x366bf9([0x6f,0x66,0x66])]());});}))];return window[_0x366bf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x366bf9([0x72,0x61,0x63,0x65])](_0x3c2d54)[_0x366bf9([0x74,0x68,0x65,0x6e])](()=>_0x8f9a24);}async function _0x18dfa9(){await _0x7ee951,_0x2f483a[_0x366bf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x366bf9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe7e7,_0x2f483a[_0x366bf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x366bf9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe7e7,_0x2f483a[_0x366bf9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x366bf9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e660e(_0x1b48bf){const _0x2a5df5=_0x24594c();_0x2f483a[_0x2a5df5]=_0x366bf9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b48bf,_0x1b48bf!=_0x366bf9([0x56,0x61,0x6c,0x69,0x64])&&_0x18dfa9();}function _0x24594c(){const _0x25397b=window[_0x366bf9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x366bf9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x366bf9([0x6e,0x6f,0x77])]())[_0x366bf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x366bf9([0x2e]),'');let _0x2c41cc=_0x366bf9([0x4d]);for(let _0x37d3c5=0x0;_0x37d3c5<_0x25397b[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37d3c5+=0x2){let _0x93e6b0=window[_0x366bf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25397b[_0x366bf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37d3c5,_0x37d3c5+0x2));_0x93e6b0>=_0x7ae513[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x93e6b0-=_0x7ae513[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c41cc+=_0x7ae513[_0x93e6b0];}return _0x2c41cc;}function _0x6f5510(){const _0x42325b=_0x1488a8[_0x366bf9([0x73,0x70,0x6c,0x69,0x74])](_0x366bf9([0x2e]));if(0x3!=_0x42325b[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ed366(_0x42325b[0x1]);function _0x1ed366(_0x21bf46){const _0x5d6900=_0x40ba72(_0x21bf46);return _0x5d6900&&_0x36164c()?_0x5d6900:null;function _0x36164c(){const _0x3f6315=_0x5d6900[_0x366bf9([0x6a,0x74,0x69])],_0x37dc73=window[_0x366bf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6315[_0x366bf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f6315[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f98f6={..._0x5d6900,[_0x366bf9([0x6a,0x74,0x69])]:_0x3f6315[_0x366bf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f6315[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f98f6[_0x366bf9([0x76,0x63])],_0x18d6a0(_0x2f98f6)==_0x37dc73;}}}async function _0x44d296(){let _0x3b14b0=!0x0;try{const _0x11829f=_0x1488a8[_0x366bf9([0x73,0x70,0x6c,0x69,0x74])](_0x366bf9([0x2e])),[_0x4fe28c,_0x3fc995,_0x1229b4]=_0x11829f;return _0x5350ec(_0x4fe28c),await _0x29505e(_0x4fe28c,_0x3fc995,_0x1229b4),_0x3b14b0;}catch{return!0x1;}function _0x5350ec(_0x2cc102){const _0x506a5d=_0x40ba72(_0x2cc102);_0x506a5d&&_0x506a5d[_0x366bf9([0x61,0x6c,0x67])]==_0x366bf9([0x45,0x53,0x32,0x35,0x36])||(_0x3b14b0=!0x1);}async function _0x29505e(_0x23c65b,_0x11249a,_0x49ac6b){const _0x5077ae=window[_0x366bf9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x366bf9([0x66,0x72,0x6f,0x6d])](_0x3e61a1(_0x49ac6b),_0x264fa6=>_0x264fa6[_0x366bf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x409180=new window[(_0x366bf9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x366bf9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23c65b+_0x366bf9([0x2e])+_0x11249a),_0x25601e=window[_0x366bf9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x366bf9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25601e)return;const _0x3d7289=await _0x25601e[_0x366bf9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x366bf9([0x6a,0x77,0x6b]),_0x5c4ddf,{[_0x366bf9([0x6e,0x61,0x6d,0x65])]:_0x366bf9([0x45,0x43,0x44,0x53,0x41]),[_0x366bf9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x366bf9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x366bf9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25601e[_0x366bf9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x366bf9([0x6e,0x61,0x6d,0x65])]:_0x366bf9([0x45,0x43,0x44,0x53,0x41]),[_0x366bf9([0x68,0x61,0x73,0x68])]:{[_0x366bf9([0x6e,0x61,0x6d,0x65])]:_0x366bf9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d7289,_0x5077ae,_0x409180)||(_0x3b14b0=!0x1);}}function _0x40ba72(_0x171f58){return _0x171f58[_0x366bf9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x366bf9([0x65,0x79]))?JSON[_0x366bf9([0x70,0x61,0x72,0x73,0x65])](_0x3e61a1(_0x171f58)):null;}function _0x3e61a1(_0x180b37){return window[_0x366bf9([0x61,0x74,0x6f,0x62])](_0x180b37[_0x366bf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x366bf9([0x2b]))[_0x366bf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x366bf9([0x2f])));}function _0x18d6a0(_0x2ef6c2){let _0x3b8621=0x1505;function _0x1030cc(_0x534ea4){for(let _0x3b489d=0x0;_0x3b489d<_0x534ea4[_0x366bf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b489d++){const _0x3bf57d=_0x534ea4[_0x366bf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b489d);_0x3b8621=(_0x3b8621<<0x5)+_0x3b8621+_0x3bf57d,_0x3b8621&=_0x3b8621;}}function _0x230883(_0x5a309f){Array[_0x366bf9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a309f)?_0x5a309f[_0x366bf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x230883):_0x5a309f&&typeof _0x5a309f==_0x366bf9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x366bf9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a309f)[_0x366bf9([0x73,0x6f,0x72,0x74])]()[_0x366bf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51d9ae,_0x255e18])=>{_0x1030cc(_0x51d9ae),_0x230883(_0x255e18);}):_0x1030cc(window[_0x366bf9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a309f));}return _0x230883(_0x2ef6c2),_0x3b8621>>>0x0;}function _0xc4905f(_0x340324){return _0x340324[_0x366bf9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x366bf9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x366bf9([0x30]));}function _0x36ec84(_0x352893){return _0x352893[_0x366bf9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x366bf9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x366bf9([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe7e7(){}function _0x366bf9(_0x2be3f7){return _0x2be3f7['map'](_0x477a40=>String['fromCharCode'](_0x477a40))['join']('');}_0x3e660e(await _0x416f7e());}(this);}['_initSchema'](){const _0x2b20c8=this['editor']['model']['schema'];_0x2b20c8['isRegistered']('imageBlock')&&_0x2b20c8['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2b20c8['isRegistered']('imageInline')&&_0x2b20c8['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x30a653=this['editor'];_0x30a653['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x30a653['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x13a7bf=>_0x13a7bf['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xd78e5e=_0x30a653['commands']['get']('replaceImageSource');_0xd78e5e&&this['listenTo'](_0xd78e5e,'cleanupImage',(_0x4c3195,[_0x287a0b,_0x2ed0b2])=>{_0x287a0b['removeAttribute']('uploadcareImageId',_0x2ed0b2);});}['_initConfig'](){const _0x59ee35=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4645fb=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x363592(_0x85069e['document'],'uc-config',{..._0x59ee35,'pubkey':_0x4645fb,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x1ffed4=>{if('closeMax'==_0x1ffed4)return'#uc-icon-arrow-down';},_0x85069e['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x363592(_0x85069e['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x85069e['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc70b30=this['editor']['commands']['get']('insertImage');_0xc70b30&&this['listenTo'](_0xc70b30,'execute',()=>{const _0xe4c724=this['editor']['model']['document']['selection']['getSelectedElement']();_0xe4c724&&_0xe4c724['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xe4c724);});});const _0x3bd948=this['editor']['commands']['get']('uploadcareImageReplace');_0x3bd948&&this['listenTo'](_0x3bd948,'execute',()=>{const _0x59c036=this['editor']['model']['document']['selection']['getSelectedElement']();_0x59c036&&_0x59c036['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x59c036);});});}}class u extends _0x183f64{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56ef40){super(_0x56ef40),_0x56ef40['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x2d88a2['defineComponents'](_0x2d88a2);}}class ta extends _0xcd41b8{constructor(_0xf826c6){super(_0xf826c6);const t=_0xf826c6['t'],_0x167bb9=this['bindTemplate'],_0x523a3d=new _0x4994a4();_0x523a3d['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':[_0x523a3d,{'text':_0x167bb9['to']('imageUploadProgress',_0x4e60fc=>t('Loading\x20image...')+'\x20('+(_0x4e60fc||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0xcd41b8{constructor(_0x19f6ad){super(_0x19f6ad);const t=_0x19f6ad['t'];this['set']('errorType',null);const _0x3aff8b=new _0x169520(_0x19f6ad);_0x3aff8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3aff8b['withText']=!0x0,_0x3aff8b['class']='ck-button-action',_0x3aff8b['on']('execute',()=>{this['fire']('retry');}),_0x3aff8b['bind']('isVisible')['to'](this,'errorType',_0x1e1eab=>'NotFound'!==_0x1e1eab);const _0x2e664d=new at();_0x2e664d['content']=et,_0x2e664d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1cc639=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':[_0x2e664d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1cc639['to']('errorType',_0x4c7d3f=>t('NotFound'!==_0x4c7d3f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3aff8b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0xcd41b8{constructor(_0x4a881d,_0x35f9f0){super(_0x4a881d);const _0x108dca=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x35f9f0,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x108dca['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x163119,_0x1030b5,_0x48872a){super(_0x163119),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x163119),this['_errorView']=new rt(_0x163119),this['_editingView']=new tt(_0x163119,_0x48872a),this['_focusableView']=new _0xcd41b8(_0x163119),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x1030b5),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'],_0x484e6a=>{this['_addUploadcareImageEditorListeners'](_0x484e6a);});}),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'](_0x4dd151,_0x53f728){const _0x5def98='uc-cloud-image-editor',_0xf973bc=_0x4dd151['querySelector'](_0x5def98);if(_0xf973bc)return _0x53f728(_0xf973bc);const _0x7d6fed=new MutationObserver(_0x55b66a=>{const _0x37c850=_0x55b66a['filter'](_0x54be50=>_0x54be50['target']===_0x4dd151&&_0x54be50['addedNodes']['length']>0x0&&_0x54be50['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5def98);_0x37c850['length']&&(_0x7d6fed['disconnect'](),_0x53f728(_0x37c850[0x0]['addedNodes'][0x0]));});_0x7d6fed['observe'](_0x4dd151,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x21bf3f){_0x21bf3f['addEventListener']('apply',_0x3721dd=>{this['fire']('apply',{'imageSrc':_0x3721dd['detail']['cdnUrl']});}),_0x21bf3f['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x4038f4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4231f1,_0x5df40c,_0x55d220){super(),this['_editor']=_0x4231f1,this['_dialog']=_0x5df40c,this['_imageElement']=_0x55d220,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 _0x4bce16=this['_imageElement'],_0x3686da=_0x4bce16['getAttribute']('uploadcareImageId'),_0x41d9a4=_0x4bce16['getAttribute']('src');if(_0x3686da)await this['_loadImageInfo'](_0x3686da,_0x41d9a4);else{if(this['_imageCache']['has'](_0x41d9a4)){const _0x33f791=this['_imageCache']['get'](_0x41d9a4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33f791['url'],this['imageDimension']=_0x33f791['dimension'],this['imageId']=_0x33f791['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5bd3a5}=this['_editor'],t=_0x5bd3a5['t'],_0x2ed97e=new Z(_0x5bd3a5,this['imageStatus'],this['_attributes']);_0x2ed97e['bind']('status')['to'](this,'imageStatus'),_0x2ed97e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2ed97e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2ed97e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2ed97e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4840fb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2ed97e,'position':_0xfe3bdd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2ed97e['focus']();},'onHide':()=>{_0x2ed97e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x43aff1=>!F(_0x43aff1,_0x2ed97e['element'])}});}['_loadImageInfo'](_0x4976a0,_0x17f21a){return C['getInfo'](_0x4976a0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x34f2d1=>{const {width:_0x3b31d5,height:_0x1db5ba}=_0x34f2d1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17f21a,this['imageDimension']={'width':_0x3b31d5,'height':_0x1db5ba},this['imageId']=_0x4976a0;})['catch'](_0x479c9c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x479c9c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a09f3,_0x5334d7){return this['_getImageAsFile'](_0x4a09f3)['then'](_0x1ea089=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5334d7['signal'],'file':_0x1ea089,'onProgress':_0x2e3807=>{_0x2e3807&&_0x2e3807['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2e3807['value']));}}))['then'](_0x38bc9c=>{const {width:_0x56931e,height:_0x49b935}=_0x38bc9c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38bc9c['cdnUrl'],this['imageDimension']={'width':_0x56931e,'height':_0x49b935},this['imageId']=_0x38bc9c['uuid'],this['imageUploadProgress']=null;const _0x153b4b=_0x4a09f3['getAttribute']('src');this['_imageCache']['set'](_0x153b4b,{'id':_0x38bc9c['uuid'],'url':_0x38bc9c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x53e5ec=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53e5ec['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x339435,_0x580a60){_0x339435['on']('apply',(_0x30fe2c,_0x2413f5)=>{this['_replaceImage'](_0x580a60,_0x2413f5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x339435['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x339435['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2f3196,_0x23cbc4,_0x467ecf){const _0x6e09b2=this['_editor'],{width:_0x545fb0,height:_0xe74a0a}=A(_0x23cbc4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5935e8,imageSources:_0x1ae280}=E(_0x23cbc4,_0x545fb0);_0x6e09b2['model']['change'](_0x268c1a=>{if('$graveyard'===_0x2f3196['root']['rootName']){_0x6e09b2['execute']('insertImage',{'imageType':_0x2f3196['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2f3196['getAttributes']()),'uploadcareImageId':_0x467ecf,'src':_0x5935e8,'sources':_0x1ae280,'width':_0x545fb0,'height':_0xe74a0a}});const _0x4efada=_0x2f3196['getChildren']();_0x2f3196=_0x6e09b2['model']['document']['selection']['getSelectedElement']();for(const _0x5d18a7 of _0x4efada)_0x268c1a['append'](_0x268c1a['cloneElement'](_0x5d18a7),_0x2f3196);}else _0x268c1a['setSelection'](_0x2f3196,'on'),_0x6e09b2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2f3196['getAttributes']()),'uploadcareImageId':_0x467ecf,'src':_0x5935e8,'sources':_0x1ae280,'width':_0x545fb0,'height':_0xe74a0a},_0x2f3196);_0x268c1a['setSelection'](_0x2f3196,'on');});}async['_getImageAsFile'](_0x3fe178){const _0x4d22e4=_0x85069e['window'],_0x2219a5=_0x85069e['document']['location']['href'],_0x13acb5=new _0x4d22e4['URL'](_0x3fe178['getAttribute']('src'),_0x2219a5);if('data:'===_0x13acb5['protocol']){const _0x22ff25=_0x13acb5['href']['split'](','),_0x3b9f01=_0x22ff25[0x0]['match'](/:(.*?);/)[0x1],_0x3a8dbb=_0x3b9f01['split']('/')[0x1],_0x3aacdb=_0x4d22e4['atob'](_0x22ff25[_0x22ff25['length']-0x1]);let _0x31b7d2=_0x3aacdb['length'];const _0xf2e98f=new _0x4d22e4['Uint8Array'](_0x31b7d2);for(;_0x31b7d2--;)_0xf2e98f[_0x31b7d2]=_0x3aacdb['charCodeAt'](_0x31b7d2);return new _0x4d22e4['File']([_0xf2e98f],'image.'+_0x3a8dbb,{'type':_0x3b9f01});}const _0x479d0f=_0x13acb5['href']['split']('/'),_0x57ce6c=_0x479d0f[_0x479d0f['length']-0x1],_0x5e88e7=_0x57ce6c['split']('.')[0x1];return _0x4d22e4['fetch'](_0x13acb5['href'])['then'](_0x697a08=>_0x697a08['clone']()['blob']())['then'](_0x206cb4=>new _0x4d22e4['File']([_0x206cb4],_0x57ce6c,{'type':'image/'+_0x5e88e7}));}}class J extends _0x5ece4c{['imageEditController'];static get['requires'](){return[_0x2ecccb];}['_isEditable'];constructor(_0x431f7c){super(_0x431f7c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x488ce3){const _0x380c50=V(_0x488ce3);return _0xdf0f3b=>!(!_0xdf0f3b||!_0xdf0f3b['is']('element','imageBlock')&&!_0xdf0f3b['is']('element','imageInline'))&&(!!_0xdf0f3b['hasAttribute']('uploadcareImageId')||!!_0xdf0f3b['hasAttribute']('src')&&_0x380c50(_0xdf0f3b['getAttribute']('src')));}(_0x431f7c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2b4bb2=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2b4bb2);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1debd8=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1debd8&&(_0x1debd8['is']('element','imageBlock')||_0x1debd8['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x2ecccb),_0x1debd8),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x5ece4c{['refresh'](){const _0xf4b77e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xf4b77e&&(_0xf4b77e['is']('element','imageBlock')||_0xf4b77e['is']('element','imageInline')));}['execute'](_0x262940){const _0x2e379b=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4a9474=>{_0x4a9474['setAttributes'](_0x262940,_0x2e379b),_0x4a9474['removeAttribute']('srcset',_0x2e379b),_0x4a9474['removeAttribute']('sizes',_0x2e379b);});}}class g extends _0x183f64{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0xb3d9f5,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x392675}=this;_0x392675['commands']['add']('uploadcareImageEdit',new J(_0x392675)),_0x392675['commands']['add']('uploadcareImageReplace',new O(_0x392675));}}class j extends _0x183f64{['_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 _0x2e52eb=this['editor'];_0x2e52eb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x100371=>{const _0x41d73f=_0x2e52eb['commands']['get']('uploadcareImageEdit'),_0x2a14d6=new _0x169520(_0x100371),t=_0x100371['t'];return _0x2a14d6['set']({'icon':_0x4840fb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a14d6['bind']('isEnabled')['to'](_0x41d73f),_0x2a14d6['bind']('isOn')['to'](_0x41d73f,'isActive'),this['listenTo'](_0x2a14d6,'execute',()=>{_0x2e52eb['execute']('uploadcareImageEdit'),_0x2e52eb['editing']['view']['focus']();}),_0x2a14d6;}),this['_initConfig']();}['_initConfig'](){const _0x122a21=_0x363592(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x122a21),this['listenTo'](this['editor'],'destroy',()=>{_0x122a21['remove']();});}}class P extends _0x183f64{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
23
+ import{Plugin as _0x2f0502,Command as _0x32f960}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x6d91f,IconGooglePhotos as _0x4314a5,IconGoogleDrive as _0x217bec,IconFacebook as _0x7d29db,IconDropbox as _0x46211f,IconUploadcareLink as _0x4fc8c7,IconUploadcareImageUpload as _0x146036,IconError as et,IconUploadcareImageEdit as _0x5c9616}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x30d839,MenuBarMenuListItemButtonView as _0x3c901c,View as _0x327d3a,FocusCycler as _0x16f59e,Dialog as _0xffb8bb,DialogViewPosition as _0x5c0732,SpinnerView as _0x38ace9,IconView as at,Notification as _0x3caf17}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x1086ad,DomEmitterMixin as _0x4fa12b,global as _0xabb74b,getAncestors as _0x28569a,ObservableMixin as _0x17e33a,createElement as _0x11e85d,uid as _0x5abadf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1780bc}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x88b3ef,info as _0x48777c}from'@uploadcare/upload-client';import*as _0x2bb86f from'@uploadcare/file-uploader';var o=function(_0x1be6bc){return _0x1be6bc['Local']='local',_0x1be6bc['URL']='url',_0x1be6bc['Dropbox']='dropbox',_0x1be6bc['GDrive']='gdrive',_0x1be6bc['Facebook']='facebook',_0x1be6bc['GPhotos']='gphotos',_0x1be6bc['OneDrive']='onedrive',_0x1be6bc;}({});function _(_0x5b56bb,_0x5565c7,_0x4fc2b6){const t=_0x5b56bb['t'],_0x775242=_0x5b56bb['t'];switch(_0x5565c7){case o['Local']:return{'text':_0x775242('Insert'===_0x4fc2b6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x775242('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x4fc2b6?_0x775242('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x775242('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x4fc2b6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x4fc2b6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x4fc2b6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x4fc2b6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x4fc2b6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5565c7;}}class e extends _0x2f0502{['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 _0x2cc50b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x151dc3;for(const _0x3f5ffe in _0x2cc50b){const _0x57eb2f=_0x3f5ffe,_0x6daa7e=_0x2cc50b[_0x57eb2f];if('uploadcareLicenseKeyValid'==_0x6daa7e||'uploadcareLicenseKeyInvalid'==_0x6daa7e||'uploadcareLicenseKeyExpired'==_0x6daa7e||'uploadcareLicenseKeyDomainLimit'==_0x6daa7e||'uploadcareLicenseKeyNotAllowed'==_0x6daa7e||'uploadcareLicenseKeyEvaluationLimit'==_0x6daa7e||'uploadcareLicenseKeyTrialLimit'==_0x6daa7e||'uploadcareLicenseKeyUsageLimit'==_0x6daa7e){delete _0x2cc50b[_0x57eb2f],_0x151dc3=_0x6daa7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x151dc3&&_0x2cc50b['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x151dc3&&_0x2cc50b['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x151dc3&&_0x2cc50b['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x151dc3&&_0x2cc50b['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x151dc3&&_0x2cc50b['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x151dc3&&_0x2cc50b['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x151dc3&&_0x2cc50b['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x1870eb}=this,_0x393444=_0x1870eb['commands']['get']('uploadcare');if(!_0x393444)return;const _0x218ca4=this['_normalizeConfigSourceList'](_0x1870eb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x91b930,_0x26146a)=>{const _0x1426fe=this['_getIntegrationKey'](_0x26146a['type']);return _0x91b930[_0x1426fe]||(_0x91b930[_0x1426fe]=[]),_0x91b930[_0x1426fe]['push'](_0x26146a),_0x91b930;},{});_0x1870eb['plugins']['has']('ImageInsertUI')&&_0x1870eb['commands']['get']('uploadcare')&&Object['entries'](_0x218ca4)['forEach'](([_0x3eb54d,_0x5dd5d3])=>{_0x1870eb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x3eb54d,'observable':()=>_0x393444,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5dd5d3),'formViewCreator':()=>this['_createDropdownButtons'](_0x5dd5d3),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5dd5d3),'override':'assetManager'!==_0x3eb54d});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1569bd){const {locale:_0xf63748}=this['editor'];return _0x1569bd['map'](_0x113b1a=>{const _0x3c1916=_(_0xf63748,_0x113b1a,'Insert');switch(_0x113b1a){case o['Local']:return{'icon':_0x146036,'type':o['Local'],..._0x3c1916};case o['URL']:return{'icon':_0x4fc8c7,'type':o['URL'],..._0x3c1916};case o['Dropbox']:return{'icon':_0x46211f,'type':o['Dropbox'],..._0x3c1916};case o['Facebook']:return{'icon':_0x7d29db,'type':o['Facebook'],..._0x3c1916};case o['GDrive']:return{'icon':_0x217bec,'type':o['GDrive'],..._0x3c1916};case o['GPhotos']:return{'icon':_0x4314a5,'type':o['GPhotos'],..._0x3c1916};case o['OneDrive']:return{'icon':_0x6d91f,'type':o['OneDrive'],..._0x3c1916};}});}['_getIntegrationKey'](_0xdb87e8){switch(_0xdb87e8){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xc00e90,_0x586c76){const _0x9f2e03=this['editor'],_0x24c971=new _0xc00e90(_0x9f2e03['locale']),_0x52f557=_0x9f2e03['commands']['get']('uploadcare');return _0x24c971['bind']('isEnabled')['to'](_0x52f557),_0x24c971['on']('execute',()=>{_0x52f557['execute'](_0x586c76);}),_0x24c971;}['_createToolbarButton'](_0x4107f4){const {locale:_0x1f8805}=this['editor'],_0x47b834=this['editor']['plugins']['get']('ImageInsertUI'),_0x5e7375=_0x4107f4[0x0],_0x4d8915=this['_createButton'](_0x30d839,_0x5e7375['type']);return _0x4d8915['icon']=_0x5e7375['icon'],_0x4d8915['bind']('label')['to'](_0x47b834,'isImageSelected',_0x4f915c=>_(_0x1f8805,_0x5e7375['type'],_0x4f915c?'Replace':'Insert')['text']),_0x4d8915['tooltip']=!0x0,_0x4d8915;}['_createDropdownButtons'](_0x4fffb2){const {locale:_0xacbea7}=this['editor'],_0x2dce22=this['editor']['plugins']['get']('ImageInsertUI');return _0x4fffb2['map'](_0x7d2a46=>{const _0x4bb036=this['_createButton'](_0x30d839,_0x7d2a46['type']);return _0x4bb036['withText']=!0x0,_0x4bb036['icon']=_0x7d2a46['icon'],_0x4bb036['bind']('label')['to'](_0x2dce22,'isImageSelected',_0x5c0e1a=>_(_0xacbea7,_0x7d2a46['type'],_0x5c0e1a?'Replace':'Insert')['text']),_0x4bb036;});}['_createMenuBarButtons'](_0x405f58){return _0x405f58['map'](_0x18ceb4=>{const _0x550dd8=this['_createButton'](_0x3c901c,_0x18ceb4['type']);return _0x550dd8['icon']=_0x18ceb4['icon'],_0x550dd8['label']=_0x18ceb4['shortText'],_0x550dd8;});}}class q extends _0x327d3a{['focusTracker'];['focusCycler'];constructor(_0x4d0dff){super(_0x4d0dff),this['focusTracker']=new _0x1086ad(),this['focusCycler']=new _0x16f59e({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class S extends q{constructor(_0x5d09b9){super(_0x5d09b9),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-uploadcare-form'],'tabindex':'-1'},'children':[{'tag':'uc-file-uploader-inline','attributes':{'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'uploader'}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function E(_0x352b07,_0x32821b){const _0x415378=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x3ba460=>_0x3ba460<=_0x32821b)['map'](_0x10027e=>_0x352b07['replace'](/\/$/,'')+'/-/resize/'+_0x10027e+'x/\x20'+_0x10027e+'w');return{'imageFallbackUrl':_0x352b07,'imageSources':[{'srcset':_0x415378['join'](',\x20'),'sizes':'(max-width:\x20'+_0x32821b+'px)\x20100vw,\x20'+_0x32821b+'px','type':'image/webp'}]};}function A(_0x5e685b,_0x460c3d,_0x443ae3){const _0x390666=_0x5e685b['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x390666?parseInt(_0x390666[0x1],0xa):_0x460c3d,'height':_0x390666?parseInt(_0x390666[0x2],0xa):_0x443ae3};}function m(_0x39a6b7,_0x29e34e){const _0x50f1d7=Object['create'](_0x4fa12b),_0x1c1d0c=_0x39a6b7['plugins']['get']('ImageUtils'),_0x1e5636=_0x39a6b7['editing']['mapper']['toViewElement'](_0x29e34e),_0x198d4b=_0x1c1d0c['findViewImgElement'](_0x1e5636),_0xf35c7b=_0x39a6b7['editing']['view']['domConverter']['viewToDom'](_0x198d4b),_0x37ed24=_0x29e34e['getAttribute']('width'),_0x5f551a=_0x29e34e['getAttribute']('height'),_0x229b00='image-processing';_0x39a6b7['editing']['view']['change'](_0x1f1684=>{_0x1f1684['addClass'](_0x229b00,_0x1e5636),_0x1f1684['setStyle']('aspect-ratio',_0x37ed24+'/'+_0x5f551a,_0x198d4b);}),_0x50f1d7['listenTo'](_0xf35c7b,'load',()=>{_0x50f1d7['stopListening'](_0xf35c7b,'load'),_0x39a6b7['editing']['view']['change'](_0x50fa96=>{_0x50fa96['removeClass'](_0x229b00,_0x1e5636),_0x50fa96['removeStyle']('aspect-ratio',_0x198d4b);});});}function V(_0x1256fb){if(Array['isArray'](_0x1256fb)){const _0x532311=_0x1256fb['map'](V);return _0x5a0794=>_0x532311['some'](_0x78adbd=>_0x78adbd(_0x5a0794));}if('origin'==_0x1256fb){const _0x6f71f=_0xabb74b['window']['location']['origin'];return _0x4cc9e9=>new URL(_0x4cc9e9,_0xabb74b['document']['baseURI'])['origin']==_0x6f71f;}return'function'==typeof _0x1256fb?_0x1256fb:_0x1256fb instanceof RegExp?_0x4a526a=>!(!_0x4a526a['match'](_0x1256fb)&&!_0x4a526a['replace'](/^https?:\/\//,'')['match'](_0x1256fb)):()=>!0x1;}function F(_0x3ed567,_0x581458){return _0x28569a(_0x3ed567['target'])['includes'](_0x581458);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x17e33a(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2374fa,_0x442dc8,_0x1efff7){super(),this['_editor']=_0x2374fa,this['_editing']=_0x442dc8,this['_dialog']=_0x2374fa['plugins']['get'](_0xffb8bb),this['_api']=_0x442dc8['ctxElement']['getAPI'](),this['_type']=_0x1efff7,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:_0xbdbe7a,model:_0x3b3b5a}=this['_editor'],_0x1953eb=_0x3b3b5a['document']['selection']['getSelectedElement'](),_0x1b15f0=_0x1953eb&&(_0x1953eb['is']('element','imageBlock')||_0x1953eb['is']('element','imageInline'));this['_formView']=new S(_0xbdbe7a),this['_dialog']['show']({'id':'uploadCare','icon':_0x146036,'title':_(_0xbdbe7a,this['_type'],_0x1b15f0?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5c0732['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x338d91=>!F(_0x338d91,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x5da5f1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1d9a7c=>{const _0x578e3d=_0x5da5f1['length'];for(const _0x2df4e1 of _0x5da5f1){const _0x578f6a=_0x2df4e1===_0x5da5f1[_0x578e3d-0x1],{cdnUrl:_0x13e9ce,fileInfo:_0x23a391}=_0x2df4e1;if(!_0x13e9ce||!_0x23a391)continue;const {width:_0x3865a2,height:_0x1191f4}=_0x23a391['imageInfo'],_0x42cd99=A(_0x13e9ce,_0x3865a2,_0x1191f4),_0x51ea0f=E(_0x13e9ce,_0x42cd99['width']),_0x54aef6={'id':_0x23a391['uuid'],'type':'image','attributes':{'imageDimension':_0x42cd99,..._0x51ea0f}};this['_insertAsset'](_0x54aef6,_0x578f6a,_0x1d9a7c);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3a74d0=>{'idle'===_0x3a74d0['detail']['status']&&!_0x3a74d0['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x357012,_0x144105,_0x4db60d){const _0x15a132=this['_editor']['model']['document']['selection'],_0x760ae7=_0x15a132['getSelectedElement'](),_0x4ee53b=!(!_0x760ae7||!_0x760ae7['is']('element','imageInline'));_0x4db60d['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x357012,_0x4ee53b),_0x144105||_0x4db60d['setSelection'](_0x15a132['getLastPosition']());}['_insertImage'](_0x44e6f6,_0x35f087){const _0x48b253=this['_editor'],{imageDimension:_0x1546b8,imageFallbackUrl:_0xc6a0d0,imageSources:_0x43b7aa}=_0x44e6f6['attributes'];_0x48b253['execute']('insertImage',{'imageType':_0x35f087?'imageInline':null,'source':{'uploadcareImageId':_0x44e6f6['id'],'src':_0xc6a0d0,'sources':_0x43b7aa,..._0x1546b8}});}}class n extends _0x32f960{['_editing'];['_controller']=null;static get['requires'](){return[_0xffb8bb,i];}constructor(_0x872f59){super(_0x872f59),this['_editing']=_0x872f59['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x454763){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x454763);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5878e9,publicKey:_0x494358,signal:_0x3cd50f,onProgress:_0x4091dd}){return _0x88b3ef(_0x5878e9,{'publicKey':_0x494358,'store':'auto','signal':_0x3cd50f,'onProgress':_0x4091dd});}static['getInfo'](_0x2158c6,_0x2ccc56){return _0x48777c(_0x2158c6,_0x2ccc56);}}class p extends _0x2f0502{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1780bc,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c3a39=this['editor'];if(!!!_0x4c3a39['config']['get']('uploadcare'))return;_0x4c3a39['plugins']['get'](_0x1780bc)['createUploadAdapter']=_0x3c2baf=>new x(_0x3c2baf,_0x4c3a39),_0x4c3a39['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3f6b68,{imageElement:_0x1b96bc,data:_0x5a2418})=>{_0x4c3a39['model']['change'](_0x3b35a1=>{_0x3b35a1['setAttribute']('uploadcareImageId',_0x5a2418['uploadcareImageId'],_0x1b96bc);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x527d0a,_0x15aed3){this['loader']=_0x527d0a,this['editor']=_0x15aed3,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30c1a5=this['editor']['config']['get']('uploadcare.pubkey'),_0x333e5e=await this['loader']['file'];return C['upload']({'file':_0x333e5e,'publicKey':_0x30c1a5,'signal':this['controller']['signal'],'onProgress':_0x5f35ab=>{_0x5f35ab&&_0x5f35ab['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5f35ab['value']);}})['then'](async _0x4bde6b=>{const {imageFallbackUrl:_0x1bd1e6,imageSources:_0x41f737}=E(_0x4bde6b['cdnUrl'],_0x4bde6b['imageInfo']['width']);return{'uploadcareImageId':_0x4bde6b['uuid'],'default':_0x1bd1e6,'sources':_0x41f737};})['catch'](()=>{const _0x24e31c=t('Cannot\x20upload\x20file:')+('\x20'+_0x333e5e['name']+'.');return Promise['reject'](_0x24e31c);});}['abort'](){this['controller']['abort']();}}class i extends _0x2f0502{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0xffb8bb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x5d54bf=this['editor'];_0x5d54bf['commands']['add']('uploadcare',new n(_0x5d54bf));}['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 _0xd4726d=_0xabb74b['document']['querySelector']('input[uploadcare-file-input]');_0xd4726d&&_0xd4726d['remove']();}),async function(_0x4cb0be){const _0x35761c=_0xd6cad4([0x44,0x39,0x69,0x33,0x62,0x43,0x77,0x61,0x6a,0x46,0x42,0x66,0x59,0x6d,0x74,0x36,0x45,0x6e,0x47,0x6f,0x48,0x71,0x4c,0x4d,0x31,0x30,0x50,0x68,0x6c,0x4f,0x54,0x37,0x73,0x65,0x72,0x57,0x38,0x4b,0x32,0x78,0x58,0x52,0x51,0x76,0x70,0x67,0x79,0x35,0x4e,0x34,0x75,0x41,0x6b,0x63,0x56,0x49,0x64,0x53,0x5a,0x7a,0x4a,0x55]),_0x1b5e0c=0x615dc614,_0x26fe6e=0x615aacb4^_0x1b5e0c,_0x3992e9=window[_0xd6cad4([0x44,0x61,0x74,0x65])][_0xd6cad4([0x6e,0x6f,0x77])](),_0x2d87bf=_0x4cb0be[_0xd6cad4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ad14a=new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be41e=>{_0x2d87bf[_0xd6cad4([0x6f,0x6e,0x63,0x65])](_0xd6cad4([0x72,0x65,0x61,0x64,0x79]),_0x1be41e);}),_0x4110e5={[_0xd6cad4([0x6b,0x74,0x79])]:_0xd6cad4([0x45,0x43]),[_0xd6cad4([0x75,0x73,0x65])]:_0xd6cad4([0x73,0x69,0x67]),[_0xd6cad4([0x63,0x72,0x76])]:_0xd6cad4([0x50,0x2d,0x32,0x35,0x36]),[_0xd6cad4([0x78])]:_0xd6cad4([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]),[_0xd6cad4([0x79])]:_0xd6cad4([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]),[_0xd6cad4([0x61,0x6c,0x67])]:_0xd6cad4([0x45,0x53,0x32,0x35,0x36])},_0x378af8=_0x2d87bf[_0xd6cad4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd6cad4([0x67,0x65,0x74])](_0xd6cad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14d4eb(){let _0x4fbc6f,_0x6cac20=null,_0x5167f4=null;try{if(_0x378af8==_0xd6cad4([0x47,0x50,0x4c]))return _0xd6cad4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4fbc6f=_0x10d175(),!_0x4fbc6f)return _0xd6cad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4fbc6f[_0xd6cad4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5167f4=_0x1a3fa8(_0x4fbc6f[_0xd6cad4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4fbc6f[_0xd6cad4([0x6a,0x74,0x69])])),await _0x21af3e()?_0xc11ec4()?_0x26eee1()?_0xd6cad4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c0341()?(_0x4fbc6f[_0xd6cad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd6cad4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6cac20=_0x501a97(_0xd6cad4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4fbc6f[_0xd6cad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd6cad4([0x74,0x72,0x69,0x61,0x6c])&&(_0x6cac20=_0x501a97(_0xd6cad4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2964c2()):_0xd6cad4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd6cad4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd6cad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd6cad4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26eee1(){const _0x1d2b41=[_0xd6cad4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd6cad4([0x74,0x72,0x69,0x61,0x6c])][_0xd6cad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fbc6f[_0xd6cad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3992e9/0x3e8:0xe10*_0x26fe6e;return _0x4fbc6f[_0xd6cad4([0x65,0x78,0x70])]<_0x1d2b41;}function _0xc11ec4(){const _0x2e4563=_0x4fbc6f[_0xd6cad4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e4563&&(!!_0x2e4563[_0xd6cad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6cad4([0x2a]))||!!_0x2e4563[_0xd6cad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6cad4([0x55,0x50,0x4c,0x43])));}function _0x1c0341(){const _0x483c79=_0x4fbc6f[_0xd6cad4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x483c79||0x0==_0x483c79[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26fb9f}=new URL(window[_0xd6cad4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x483c79[_0xd6cad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26fb9f))return!0x0;const _0x206124=_0x26fb9f[_0xd6cad4([0x73,0x70,0x6c,0x69,0x74])](_0xd6cad4([0x2e]));return _0x483c79[_0xd6cad4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e48df=>_0x4e48df[_0xd6cad4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd6cad4([0x2a])))[_0xd6cad4([0x6d,0x61,0x70])](_0x267659=>_0x267659[_0xd6cad4([0x73,0x70,0x6c,0x69,0x74])](_0xd6cad4([0x2e])))[_0xd6cad4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1569ab=>_0x1569ab[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x206124[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd6cad4([0x6d,0x61,0x70])](_0x18f981=>Array(_0x206124[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18f981[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd6cad4([0x66,0x69,0x6c,0x6c])](_0x18f981[0x0]===_0xd6cad4([0x2a])?_0xd6cad4([0x2a]):'')[_0xd6cad4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18f981))[_0xd6cad4([0x73,0x6f,0x6d,0x65])](_0x5be222=>_0x206124[_0xd6cad4([0x65,0x76,0x65,0x72,0x79])]((_0x13d3c9,_0x24333f)=>_0x5be222[_0x24333f]===_0x13d3c9||_0x5be222[_0x24333f]===_0xd6cad4([0x2a])));}function _0x2964c2(){return _0x6cac20&&_0x5167f4?new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b9ccd,_0x4cc5f3)=>{_0x6cac20[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x1b9ccd,_0x4cc5f3),_0x5167f4[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x1c11b6=>{_0x1c11b6!=_0xd6cad4([0x56,0x61,0x6c,0x69,0x64])&&_0x1b9ccd(_0x1c11b6);},_0x4cc5f3);}):_0x6cac20||_0x5167f4||_0xd6cad4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a3fa8(_0x41afb1,_0x196ae4){return new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43cd6f=>{if(_0x3743b6())return _0x43cd6f(_0xd6cad4([0x56,0x61,0x6c,0x69,0x64]));_0x5ce3ae(),_0x2d87bf[_0xd6cad4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd6cad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ec5ca=!0x1;const _0x2d87a4=_0x5abadf();function _0x29fa7e(_0x524ae6){return!!_0x524ae6&&(typeof _0x524ae6===_0xd6cad4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x524ae6===_0xd6cad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x524ae6[_0xd6cad4([0x74,0x68,0x65,0x6e])]===_0xd6cad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x524ae6[_0xd6cad4([0x63,0x61,0x74,0x63,0x68])]===_0xd6cad4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c379b(_0x333561){_0x44fe66(_0x333561)[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x16cf24=>{if(!_0x16cf24||_0x16cf24[_0xd6cad4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd6cad4([0x6f,0x6b]))return _0xd6cad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd1bff0(_0x19fa70(_0x2d87a4+_0x196ae4))!=_0x16cf24[_0xd6cad4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd6cad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd6cad4([0x56,0x61,0x6c,0x69,0x64]);})[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x175dfc=>(_0xa455b3(),_0x175dfc),()=>{const _0x35f4ed=_0x1d67f9();return null==_0x35f4ed?(_0xa455b3(),_0xd6cad4([0x56,0x61,0x6c,0x69,0x64])):_0xd6cad4(_0x3992e9-_0x35f4ed>(0x45514214^_0x1b5e0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x43cd6f)[_0xd6cad4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43cd6f(_0xd6cad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x572e35=0x616b2894^_0x1b5e0c;function _0xa455b3(){const _0x580a63=_0xd6cad4([0x6c,0x6c,0x63,0x74,0x2d])+_0xd1bff0(_0x19fa70(_0x41afb1)),_0x308c4c=_0x134c12(_0xd1bff0(window[_0xd6cad4([0x4d,0x61,0x74,0x68])][_0xd6cad4([0x63,0x65,0x69,0x6c])](_0x3992e9/_0x572e35)));window[_0xd6cad4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd6cad4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580a63,_0x308c4c);}function _0x1d67f9(){const _0x1ab635=_0xd6cad4([0x6c,0x6c,0x63,0x74,0x2d])+_0xd1bff0(_0x19fa70(_0x41afb1)),_0xa69f92=window[_0xd6cad4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd6cad4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ab635);return _0xa69f92?window[_0xd6cad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134c12(_0xa69f92),0x10)*_0x572e35:null;}function _0x44fe66(_0x40f51a){return new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x223426,_0x5b8318)=>{_0x40f51a[_0xd6cad4([0x74,0x68,0x65,0x6e])](_0x223426,_0x5b8318),window[_0xd6cad4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8318,0x615c12d4^_0x1b5e0c);});}}_0x2d87bf[_0xd6cad4([0x6f,0x6e])](_0xd6cad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1110fd,_0x5804ed)=>{if(_0x5804ed[0x0]!=_0x41afb1)return _0x43cd6f(_0xd6cad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5804ed[0x1]={..._0x5804ed[0x1],[_0xd6cad4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d87a4};},{[_0xd6cad4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd6cad4([0x68,0x69,0x67,0x68])}),_0x2d87bf[_0xd6cad4([0x6f,0x6e])](_0xd6cad4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5bdab8=>{_0x29fa7e(_0x5bdab8[_0xd6cad4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ec5ca=!0x0,_0x1c379b(_0x5bdab8[_0xd6cad4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd6cad4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd6cad4([0x6c,0x6f,0x77])}),_0x1ad14a[_0xd6cad4([0x74,0x68,0x65,0x6e])](()=>{_0x2ec5ca||_0x43cd6f(_0xd6cad4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3743b6(){return _0x2d87bf[_0xd6cad4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd6cad4([0x76,0x69,0x65,0x77])][_0xd6cad4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd6cad4([0x61,0x75,0x74,0x6f]);}function _0x5ce3ae(){_0x2d87bf[_0xd6cad4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd6cad4([0x76,0x69,0x65,0x77])][_0xd6cad4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd6cad4([0x61,0x75,0x74,0x6f]);}}function _0x501a97(_0xa49611){const _0x20a0a6=[new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11df8b=>setTimeout(_0x11df8b,0x6154f8d8^_0x1b5e0c)),_0x1ad14a[_0xd6cad4([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d1e0b=>{let _0x147b96=0x0;_0x2d87bf[_0xd6cad4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6cad4([0x6f,0x6e])](_0xd6cad4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ce06a,_0x53fb55)=>{_0x53fb55[0x0][_0xd6cad4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x147b96++,_0x147b96==(0x615dc7ec^_0x1b5e0c)&&(_0x4d1e0b(),_0x5ce06a[_0xd6cad4([0x6f,0x66,0x66])]());});}))];return window[_0xd6cad4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd6cad4([0x72,0x61,0x63,0x65])](_0x20a0a6)[_0xd6cad4([0x74,0x68,0x65,0x6e])](()=>_0xa49611);}async function _0x56de3c(){await _0x1ad14a,_0x2d87bf[_0xd6cad4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6cad4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a9f22,_0x2d87bf[_0xd6cad4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd6cad4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a9f22,_0x2d87bf[_0xd6cad4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd6cad4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c8ba2(_0x49d36e){const _0x50e374=_0x187551();_0x2d87bf[_0x50e374]=_0xd6cad4([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49d36e,_0x49d36e!=_0xd6cad4([0x56,0x61,0x6c,0x69,0x64])&&_0x56de3c();}function _0x187551(){const _0x3a4a30=window[_0xd6cad4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd6cad4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd6cad4([0x6e,0x6f,0x77])]())[_0xd6cad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd6cad4([0x2e]),'');let _0x53c2aa=_0xd6cad4([0x44]);for(let _0x3de406=0x0;_0x3de406<_0x3a4a30[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3de406+=0x2){let _0xacea3d=window[_0xd6cad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a4a30[_0xd6cad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3de406,_0x3de406+0x2));_0xacea3d>=_0x35761c[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xacea3d-=_0x35761c[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53c2aa+=_0x35761c[_0xacea3d];}return _0x53c2aa;}function _0x10d175(){const _0x3cc3f8=_0x378af8[_0xd6cad4([0x73,0x70,0x6c,0x69,0x74])](_0xd6cad4([0x2e]));if(0x3!=_0x3cc3f8[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2a2fc1(_0x3cc3f8[0x1]);function _0x2a2fc1(_0x2f4ac6){const _0x203f3f=_0x49f862(_0x2f4ac6);return _0x203f3f&&_0x462659()?_0x203f3f:null;function _0x462659(){const _0x479d36=_0x203f3f[_0xd6cad4([0x6a,0x74,0x69])],_0x59cc9c=window[_0xd6cad4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479d36[_0xd6cad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479d36[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5814cc={..._0x203f3f,[_0xd6cad4([0x6a,0x74,0x69])]:_0x479d36[_0xd6cad4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479d36[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5814cc[_0xd6cad4([0x76,0x63])],_0x19fa70(_0x5814cc)==_0x59cc9c;}}}async function _0x21af3e(){let _0x443618=!0x0;try{const _0x1d43bf=_0x378af8[_0xd6cad4([0x73,0x70,0x6c,0x69,0x74])](_0xd6cad4([0x2e])),[_0x31878a,_0x19fba8,_0x23b9fc]=_0x1d43bf;return _0x37420f(_0x31878a),await _0x562b89(_0x31878a,_0x19fba8,_0x23b9fc),_0x443618;}catch{return!0x1;}function _0x37420f(_0x5c475d){const _0x452ee3=_0x49f862(_0x5c475d);_0x452ee3&&_0x452ee3[_0xd6cad4([0x61,0x6c,0x67])]==_0xd6cad4([0x45,0x53,0x32,0x35,0x36])||(_0x443618=!0x1);}async function _0x562b89(_0x12f7d0,_0x419a22,_0x57d58f){const _0x5b33e6=window[_0xd6cad4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd6cad4([0x66,0x72,0x6f,0x6d])](_0x349e97(_0x57d58f),_0x3a9a2f=>_0x3a9a2f[_0xd6cad4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe896d3=new window[(_0xd6cad4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd6cad4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12f7d0+_0xd6cad4([0x2e])+_0x419a22),_0xdfa644=window[_0xd6cad4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd6cad4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdfa644)return;const _0x5755d9=await _0xdfa644[_0xd6cad4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd6cad4([0x6a,0x77,0x6b]),_0x4110e5,{[_0xd6cad4([0x6e,0x61,0x6d,0x65])]:_0xd6cad4([0x45,0x43,0x44,0x53,0x41]),[_0xd6cad4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd6cad4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd6cad4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdfa644[_0xd6cad4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd6cad4([0x6e,0x61,0x6d,0x65])]:_0xd6cad4([0x45,0x43,0x44,0x53,0x41]),[_0xd6cad4([0x68,0x61,0x73,0x68])]:{[_0xd6cad4([0x6e,0x61,0x6d,0x65])]:_0xd6cad4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5755d9,_0x5b33e6,_0xe896d3)||(_0x443618=!0x1);}}function _0x49f862(_0x3b4e0a){return _0x3b4e0a[_0xd6cad4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd6cad4([0x65,0x79]))?JSON[_0xd6cad4([0x70,0x61,0x72,0x73,0x65])](_0x349e97(_0x3b4e0a)):null;}function _0x349e97(_0x24a2b0){return window[_0xd6cad4([0x61,0x74,0x6f,0x62])](_0x24a2b0[_0xd6cad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd6cad4([0x2b]))[_0xd6cad4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd6cad4([0x2f])));}function _0x19fa70(_0x75104a){let _0xa4d01c=0x1505;function _0x578246(_0x3297f1){for(let _0xcd0fe2=0x0;_0xcd0fe2<_0x3297f1[_0xd6cad4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcd0fe2++){const _0x1f23c0=_0x3297f1[_0xd6cad4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcd0fe2);_0xa4d01c=(_0xa4d01c<<0x5)+_0xa4d01c+_0x1f23c0,_0xa4d01c&=_0xa4d01c;}}function _0x5430a8(_0x2208ac){Array[_0xd6cad4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2208ac)?_0x2208ac[_0xd6cad4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5430a8):_0x2208ac&&typeof _0x2208ac==_0xd6cad4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd6cad4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2208ac)[_0xd6cad4([0x73,0x6f,0x72,0x74])]()[_0xd6cad4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x414afc,_0x16783b])=>{_0x578246(_0x414afc),_0x5430a8(_0x16783b);}):_0x578246(window[_0xd6cad4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2208ac));}return _0x5430a8(_0x75104a),_0xa4d01c>>>0x0;}function _0xd1bff0(_0x2b1cbe){return _0x2b1cbe[_0xd6cad4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd6cad4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd6cad4([0x30]));}function _0x134c12(_0x3a62b3){return _0x3a62b3[_0xd6cad4([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd6cad4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd6cad4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a9f22(){}function _0xd6cad4(_0x38e55a){return _0x38e55a['map'](_0x193761=>String['fromCharCode'](_0x193761))['join']('');}_0x1c8ba2(await _0x14d4eb());}(this);}['_initSchema'](){const _0x4c1831=this['editor']['model']['schema'];_0x4c1831['isRegistered']('imageBlock')&&_0x4c1831['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4c1831['isRegistered']('imageInline')&&_0x4c1831['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4c6d41=this['editor'];_0x4c6d41['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4c6d41['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x405a4c=>_0x405a4c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3e031d=_0x4c6d41['commands']['get']('replaceImageSource');_0x3e031d&&this['listenTo'](_0x3e031d,'cleanupImage',(_0x5d467c,[_0x20cd44,_0x3162a9])=>{_0x20cd44['removeAttribute']('uploadcareImageId',_0x3162a9);});}['_initConfig'](){const _0x27fdd2=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4b0631=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x11e85d(_0xabb74b['document'],'uc-config',{..._0x27fdd2,'pubkey':_0x4b0631,'ctx-name':'uploader','sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x584d13=>{if('closeMax'==_0x584d13)return'#uc-icon-arrow-down';},_0xabb74b['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x11e85d(_0xabb74b['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0xabb74b['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x3caceb=this['editor']['commands']['get']('insertImage');_0x3caceb&&this['listenTo'](_0x3caceb,'execute',()=>{const _0x2be395=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2be395&&_0x2be395['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2be395);});});const _0x5d49ac=this['editor']['commands']['get']('uploadcareImageReplace');_0x5d49ac&&this['listenTo'](_0x5d49ac,'execute',()=>{const _0x27dea9=this['editor']['model']['document']['selection']['getSelectedElement']();_0x27dea9&&_0x27dea9['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x27dea9);});});}}class u extends _0x2f0502{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x582b86){super(_0x582b86),_0x582b86['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x2bb86f['defineComponents'](_0x2bb86f);}}class ta extends _0x327d3a{constructor(_0x329299){super(_0x329299);const t=_0x329299['t'],_0x236348=this['bindTemplate'],_0x269615=new _0x38ace9();_0x269615['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':[_0x269615,{'text':_0x236348['to']('imageUploadProgress',_0x4ce214=>t('Loading\x20image...')+'\x20('+(_0x4ce214||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class rt extends _0x327d3a{constructor(_0x4ef748){super(_0x4ef748);const t=_0x4ef748['t'];this['set']('errorType',null);const _0x319716=new _0x30d839(_0x4ef748);_0x319716['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x319716['withText']=!0x0,_0x319716['class']='ck-button-action',_0x319716['on']('execute',()=>{this['fire']('retry');}),_0x319716['bind']('isVisible')['to'](this,'errorType',_0xaa5a76=>'NotFound'!==_0xaa5a76);const _0x1e5f83=new at();_0x1e5f83['content']=et,_0x1e5f83['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13b91b=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':[_0x1e5f83,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13b91b['to']('errorType',_0xe3d8c9=>t('NotFound'!==_0xe3d8c9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x319716]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class tt extends _0x327d3a{constructor(_0x150e63,_0x392006){super(_0x150e63);const _0x3d051a=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x392006,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3d051a['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x585c6c,_0x2cb3c6,_0x563dca){super(_0x585c6c),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x585c6c),this['_errorView']=new rt(_0x585c6c),this['_editingView']=new tt(_0x585c6c,_0x563dca),this['_focusableView']=new _0x327d3a(_0x585c6c),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2cb3c6),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'],_0x3be943=>{this['_addUploadcareImageEditorListeners'](_0x3be943);});}),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'](_0xff5078,_0x564101){const _0x185382='uc-cloud-image-editor',_0x18358d=_0xff5078['querySelector'](_0x185382);if(_0x18358d)return _0x564101(_0x18358d);const _0x1e2db3=new MutationObserver(_0x40f793=>{const _0x4d848d=_0x40f793['filter'](_0x1b890a=>_0x1b890a['target']===_0xff5078&&_0x1b890a['addedNodes']['length']>0x0&&_0x1b890a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x185382);_0x4d848d['length']&&(_0x1e2db3['disconnect'](),_0x564101(_0x4d848d[0x0]['addedNodes'][0x0]));});_0x1e2db3['observe'](_0xff5078,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x409f05){_0x409f05['addEventListener']('apply',_0x1f01e8=>{this['fire']('apply',{'imageSrc':_0x1f01e8['detail']['cdnUrl']});}),_0x409f05['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x17e33a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x40446a,_0x4f4da0,_0x568f8a){super(),this['_editor']=_0x40446a,this['_dialog']=_0x4f4da0,this['_imageElement']=_0x568f8a,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 _0x5c0fc2=this['_imageElement'],_0x19d155=_0x5c0fc2['getAttribute']('uploadcareImageId'),_0x24e215=_0x5c0fc2['getAttribute']('src');if(_0x19d155)await this['_loadImageInfo'](_0x19d155,_0x24e215);else{if(this['_imageCache']['has'](_0x24e215)){const _0x26bf4f=this['_imageCache']['get'](_0x24e215);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26bf4f['url'],this['imageDimension']=_0x26bf4f['dimension'],this['imageId']=_0x26bf4f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x471c81}=this['_editor'],t=_0x471c81['t'],_0x20c226=new Z(_0x471c81,this['imageStatus'],this['_attributes']);_0x20c226['bind']('status')['to'](this,'imageStatus'),_0x20c226['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x20c226['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x20c226['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x20c226,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5c9616,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x20c226,'position':_0x5c0732['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x20c226['focus']();},'onHide':()=>{_0x20c226['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x429f29=>!F(_0x429f29,_0x20c226['element'])}});}['_loadImageInfo'](_0x22d189,_0x3d0116){return C['getInfo'](_0x22d189,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x15892d=>{const {width:_0x46b482,height:_0x729940}=_0x15892d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d0116,this['imageDimension']={'width':_0x46b482,'height':_0x729940},this['imageId']=_0x22d189;})['catch'](_0x15bfc3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15bfc3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x342392,_0x46b090){return this['_getImageAsFile'](_0x342392)['then'](_0x4253a4=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x46b090['signal'],'file':_0x4253a4,'onProgress':_0x1412f3=>{_0x1412f3&&_0x1412f3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1412f3['value']));}}))['then'](_0x2382d2=>{const {width:_0x438293,height:_0x180057}=_0x2382d2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2382d2['cdnUrl'],this['imageDimension']={'width':_0x438293,'height':_0x180057},this['imageId']=_0x2382d2['uuid'],this['imageUploadProgress']=null;const _0x3ac283=_0x342392['getAttribute']('src');this['_imageCache']['set'](_0x3ac283,{'id':_0x2382d2['uuid'],'url':_0x2382d2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4e6751=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e6751['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x269203,_0x786e4){_0x269203['on']('apply',(_0x476b67,_0x4478e4)=>{this['_replaceImage'](_0x786e4,_0x4478e4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x269203['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x269203['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4f579e,_0x68a66c,_0x1543c6){const _0x57c7ff=this['_editor'],{width:_0x143e44,height:_0x19acab}=A(_0x68a66c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x415ba0,imageSources:_0x104a7c}=E(_0x68a66c,_0x143e44);_0x57c7ff['model']['change'](_0xf52680=>{if('$graveyard'===_0x4f579e['root']['rootName']){_0x57c7ff['execute']('insertImage',{'imageType':_0x4f579e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4f579e['getAttributes']()),'uploadcareImageId':_0x1543c6,'src':_0x415ba0,'sources':_0x104a7c,'width':_0x143e44,'height':_0x19acab}});const _0x16af40=_0x4f579e['getChildren']();_0x4f579e=_0x57c7ff['model']['document']['selection']['getSelectedElement']();for(const _0x43fa7d of _0x16af40)_0xf52680['append'](_0xf52680['cloneElement'](_0x43fa7d),_0x4f579e);}else _0xf52680['setSelection'](_0x4f579e,'on'),_0x57c7ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4f579e['getAttributes']()),'uploadcareImageId':_0x1543c6,'src':_0x415ba0,'sources':_0x104a7c,'width':_0x143e44,'height':_0x19acab},_0x4f579e);_0xf52680['setSelection'](_0x4f579e,'on');});}async['_getImageAsFile'](_0x45f56c){const _0x71ad6e=_0xabb74b['window'],_0x51f795=_0xabb74b['document']['location']['href'],_0x364ebf=new _0x71ad6e['URL'](_0x45f56c['getAttribute']('src'),_0x51f795);if('data:'===_0x364ebf['protocol']){const _0x29fdf7=_0x364ebf['href']['split'](','),_0x412f4c=_0x29fdf7[0x0]['match'](/:(.*?);/)[0x1],_0x16cc64=_0x412f4c['split']('/')[0x1],_0x2c3ff1=_0x71ad6e['atob'](_0x29fdf7[_0x29fdf7['length']-0x1]);let _0x19f940=_0x2c3ff1['length'];const _0x211371=new _0x71ad6e['Uint8Array'](_0x19f940);for(;_0x19f940--;)_0x211371[_0x19f940]=_0x2c3ff1['charCodeAt'](_0x19f940);return new _0x71ad6e['File']([_0x211371],'image.'+_0x16cc64,{'type':_0x412f4c});}const _0x2f83ef=_0x364ebf['href']['split']('/'),_0x42aee7=_0x2f83ef[_0x2f83ef['length']-0x1],_0x58b041=_0x42aee7['split']('.')[0x1];return _0x71ad6e['fetch'](_0x364ebf['href'])['then'](_0xef64c4=>_0xef64c4['clone']()['blob']())['then'](_0x239732=>new _0x71ad6e['File']([_0x239732],_0x42aee7,{'type':'image/'+_0x58b041}));}}class J extends _0x32f960{['imageEditController'];static get['requires'](){return[_0xffb8bb];}['_isEditable'];constructor(_0x40b658){super(_0x40b658),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x29a067){const _0x3ea5d5=V(_0x29a067);return _0x1e5a6a=>!(!_0x1e5a6a||!_0x1e5a6a['is']('element','imageBlock')&&!_0x1e5a6a['is']('element','imageInline'))&&(!!_0x1e5a6a['hasAttribute']('uploadcareImageId')||!!_0x1e5a6a['hasAttribute']('src')&&_0x3ea5d5(_0x1e5a6a['getAttribute']('src')));}(_0x40b658['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x1e0fdc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x1e0fdc);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x19c051=this['editor']['model']['document']['selection']['getSelectedElement']();_0x19c051&&(_0x19c051['is']('element','imageBlock')||_0x19c051['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0xffb8bb),_0x19c051),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x32f960{['refresh'](){const _0x281f98=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x281f98&&(_0x281f98['is']('element','imageBlock')||_0x281f98['is']('element','imageInline')));}['execute'](_0x24bb75){const _0x16bea4=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x54423d=>{_0x54423d['setAttributes'](_0x24bb75,_0x16bea4),_0x54423d['removeAttribute']('srcset',_0x16bea4),_0x54423d['removeAttribute']('sizes',_0x16bea4);});}}class g extends _0x2f0502{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3caf17,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x311ab2}=this;_0x311ab2['commands']['add']('uploadcareImageEdit',new J(_0x311ab2)),_0x311ab2['commands']['add']('uploadcareImageReplace',new O(_0x311ab2));}}class j extends _0x2f0502{['_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 _0x3fa906=this['editor'];_0x3fa906['ui']['componentFactory']['add']('uploadcareImageEdit',_0x30969f=>{const _0x189963=_0x3fa906['commands']['get']('uploadcareImageEdit'),_0x579f0c=new _0x30d839(_0x30969f),t=_0x30969f['t'];return _0x579f0c['set']({'icon':_0x5c9616,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x579f0c['bind']('isEnabled')['to'](_0x189963),_0x579f0c['bind']('isOn')['to'](_0x189963,'isActive'),this['listenTo'](_0x579f0c,'execute',()=>{_0x3fa906['execute']('uploadcareImageEdit'),_0x3fa906['editing']['view']['focus']();}),_0x579f0c;}),this['_initConfig']();}['_initConfig'](){const _0x31dc8b=_0x11e85d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x31dc8b),this['listenTo'](this['editor'],'destroy',()=>{_0x31dc8b['remove']();});}}class P extends _0x2f0502{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[g,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as Uploadcare,i as UploadcareEditing,P as UploadcareImageEdit,g as UploadcareImageEditEditing,j as UploadcareImageEditUI,e as UploadcareUI};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4d422a=>0x1!=_0x4d422a}};
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':_0x364a31=>0x1!=_0x364a31}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x253ccf=>{const {af:{dictionary:_0x865b6d,getPluralForm:_0x98256}}={'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':_0x3d785e=>0x1!=_0x3d785e}};_0x253ccf['af']||={'dictionary':{},'getPluralForm':null},_0x253ccf['af']['dictionary']=Object['assign'](_0x253ccf['af']['dictionary'],_0x865b6d),_0x253ccf['af']['getPluralForm']=_0x98256;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40ae36=>{const {af:{dictionary:_0x3b7007,getPluralForm:_0x2abb77}}={'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':_0x56c5b3=>0x1!=_0x56c5b3}};_0x40ae36['af']||={'dictionary':{},'getPluralForm':null},_0x40ae36['af']['dictionary']=Object['assign'](_0x40ae36['af']['dictionary'],_0x3b7007),_0x40ae36['af']['getPluralForm']=_0x2abb77;})(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':_0x2b8349=>0x0==_0x2b8349?0x0:0x1==_0x2b8349?0x1:0x2==_0x2b8349?0x2:_0x2b8349%0x64>=0x3&&_0x2b8349%0x64<=0xa?0x3:_0x2b8349%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':_0x408652=>0x0==_0x408652?0x0:0x1==_0x408652?0x1:0x2==_0x408652?0x2:_0x408652%0x64>=0x3&&_0x408652%0x64<=0xa?0x3:_0x408652%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2aa508=>{const {ar:{dictionary:_0x1123f3,getPluralForm:_0x4155b2}}={'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':_0x1e7857=>0x0==_0x1e7857?0x0:0x1==_0x1e7857?0x1:0x2==_0x1e7857?0x2:_0x1e7857%0x64>=0x3&&_0x1e7857%0x64<=0xa?0x3:_0x1e7857%0x64>=0xb?0x4:0x5}};_0x2aa508['ar']||={'dictionary':{},'getPluralForm':null},_0x2aa508['ar']['dictionary']=Object['assign'](_0x2aa508['ar']['dictionary'],_0x1123f3),_0x2aa508['ar']['getPluralForm']=_0x4155b2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b964a=>{const {ar:{dictionary:_0xe9f35a,getPluralForm:_0xfe7a8c}}={'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':_0x237ff6=>0x0==_0x237ff6?0x0:0x1==_0x237ff6?0x1:0x2==_0x237ff6?0x2:_0x237ff6%0x64>=0x3&&_0x237ff6%0x64<=0xa?0x3:_0x237ff6%0x64>=0xb?0x4:0x5}};_0x1b964a['ar']||={'dictionary':{},'getPluralForm':null},_0x1b964a['ar']['dictionary']=Object['assign'](_0x1b964a['ar']['dictionary'],_0xe9f35a),_0x1b964a['ar']['getPluralForm']=_0xfe7a8c;})(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':_0x423b05=>0x1!=_0x423b05}};
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':_0x2fed79=>0x1!=_0x2fed79}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x13a9ca=>{const {ast:{dictionary:_0x346e8d,getPluralForm:_0x59db95}}={'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':_0x52da5d=>0x1!=_0x52da5d}};_0x13a9ca['ast']||={'dictionary':{},'getPluralForm':null},_0x13a9ca['ast']['dictionary']=Object['assign'](_0x13a9ca['ast']['dictionary'],_0x346e8d),_0x13a9ca['ast']['getPluralForm']=_0x59db95;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d99ff=>{const {ast:{dictionary:_0x18d9ca,getPluralForm:_0x39c179}}={'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':_0x12ac84=>0x1!=_0x12ac84}};_0x4d99ff['ast']||={'dictionary':{},'getPluralForm':null},_0x4d99ff['ast']['dictionary']=Object['assign'](_0x4d99ff['ast']['dictionary'],_0x18d9ca),_0x4d99ff['ast']['getPluralForm']=_0x39c179;})(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':_0x4336eb=>0x1!=_0x4336eb}};
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':_0x475b0d=>0x1!=_0x475b0d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5965f6=>{const {az:{dictionary:_0x354fa9,getPluralForm:_0x1e2faa}}={'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':_0x1edf70=>0x1!=_0x1edf70}};_0x5965f6['az']||={'dictionary':{},'getPluralForm':null},_0x5965f6['az']['dictionary']=Object['assign'](_0x5965f6['az']['dictionary'],_0x354fa9),_0x5965f6['az']['getPluralForm']=_0x1e2faa;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a513c=>{const {az:{dictionary:_0x316615,getPluralForm:_0x4462f0}}={'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':_0x122249=>0x1!=_0x122249}};_0x2a513c['az']||={'dictionary':{},'getPluralForm':null},_0x2a513c['az']['dictionary']=Object['assign'](_0x2a513c['az']['dictionary'],_0x316615),_0x2a513c['az']['getPluralForm']=_0x4462f0;})(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':_0x2845d9=>_0x2845d9%0xa==0x1&&_0x2845d9%0x64!=0xb?0x0:_0x2845d9%0xa>=0x2&&_0x2845d9%0xa<=0x4&&(_0x2845d9%0x64<0xa||_0x2845d9%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':_0x38650a=>_0x38650a%0xa==0x1&&_0x38650a%0x64!=0xb?0x0:_0x38650a%0xa>=0x2&&_0x38650a%0xa<=0x4&&(_0x38650a%0x64<0xa||_0x38650a%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2f24cc=>{const {be:{dictionary:_0x5ea103,getPluralForm:_0x31a625}}={'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':_0x53077c=>_0x53077c%0xa==0x1&&_0x53077c%0x64!=0xb?0x0:_0x53077c%0xa>=0x2&&_0x53077c%0xa<=0x4&&(_0x53077c%0x64<0xa||_0x53077c%0x64>=0x14)?0x1:0x2}};_0x2f24cc['be']||={'dictionary':{},'getPluralForm':null},_0x2f24cc['be']['dictionary']=Object['assign'](_0x2f24cc['be']['dictionary'],_0x5ea103),_0x2f24cc['be']['getPluralForm']=_0x31a625;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d210e=>{const {be:{dictionary:_0x16bf36,getPluralForm:_0x3bd9fb}}={'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':_0x9a5d65=>_0x9a5d65%0xa==0x1&&_0x9a5d65%0x64!=0xb?0x0:_0x9a5d65%0xa>=0x2&&_0x9a5d65%0xa<=0x4&&(_0x9a5d65%0x64<0xa||_0x9a5d65%0x64>=0x14)?0x1:0x2}};_0x1d210e['be']||={'dictionary':{},'getPluralForm':null},_0x1d210e['be']['dictionary']=Object['assign'](_0x1d210e['be']['dictionary'],_0x16bf36),_0x1d210e['be']['getPluralForm']=_0x3bd9fb;})(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':_0x5d0e26=>0x1!=_0x5d0e26}};
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':_0x5420ac=>0x1!=_0x5420ac}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1aa6aa=>{const {bg:{dictionary:_0x2de9d2,getPluralForm:_0x45670d}}={'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':_0x2289f3=>0x1!=_0x2289f3}};_0x1aa6aa['bg']||={'dictionary':{},'getPluralForm':null},_0x1aa6aa['bg']['dictionary']=Object['assign'](_0x1aa6aa['bg']['dictionary'],_0x2de9d2),_0x1aa6aa['bg']['getPluralForm']=_0x45670d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f2a56=>{const {bg:{dictionary:_0x559dcc,getPluralForm:_0x569c88}}={'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':_0x3bc0bb=>0x1!=_0x3bc0bb}};_0x3f2a56['bg']||={'dictionary':{},'getPluralForm':null},_0x3f2a56['bg']['dictionary']=Object['assign'](_0x3f2a56['bg']['dictionary'],_0x559dcc),_0x3f2a56['bg']['getPluralForm']=_0x569c88;})(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':_0x1a0b25=>0x1!=_0x1a0b25}};
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':_0x347494=>0x1!=_0x347494}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xee82fb=>{const {bn:{dictionary:_0x4c48c3,getPluralForm:_0x2ffab7}}={'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':_0xc4751d=>0x1!=_0xc4751d}};_0xee82fb['bn']||={'dictionary':{},'getPluralForm':null},_0xee82fb['bn']['dictionary']=Object['assign'](_0xee82fb['bn']['dictionary'],_0x4c48c3),_0xee82fb['bn']['getPluralForm']=_0x2ffab7;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48b934=>{const {bn:{dictionary:_0xb6aa2b,getPluralForm:_0x433967}}={'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':_0x430cb6=>0x1!=_0x430cb6}};_0x48b934['bn']||={'dictionary':{},'getPluralForm':null},_0x48b934['bn']['dictionary']=Object['assign'](_0x48b934['bn']['dictionary'],_0xb6aa2b),_0x48b934['bn']['getPluralForm']=_0x433967;})(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':_0x517686=>_0x517686%0xa==0x1&&_0x517686%0x64!=0xb?0x0:_0x517686%0xa>=0x2&&_0x517686%0xa<=0x4&&(_0x517686%0x64<0xa||_0x517686%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':_0xe7ee07=>_0xe7ee07%0xa==0x1&&_0xe7ee07%0x64!=0xb?0x0:_0xe7ee07%0xa>=0x2&&_0xe7ee07%0xa<=0x4&&(_0xe7ee07%0x64<0xa||_0xe7ee07%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c101e=>{const {bs:{dictionary:_0x4ab900,getPluralForm:_0x965b5c}}={'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':_0x487589=>_0x487589%0xa==0x1&&_0x487589%0x64!=0xb?0x0:_0x487589%0xa>=0x2&&_0x487589%0xa<=0x4&&(_0x487589%0x64<0xa||_0x487589%0x64>=0x14)?0x1:0x2}};_0x2c101e['bs']||={'dictionary':{},'getPluralForm':null},_0x2c101e['bs']['dictionary']=Object['assign'](_0x2c101e['bs']['dictionary'],_0x4ab900),_0x2c101e['bs']['getPluralForm']=_0x965b5c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36d66f=>{const {bs:{dictionary:_0x3e1129,getPluralForm:_0x55583b}}={'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':_0x35f57e=>_0x35f57e%0xa==0x1&&_0x35f57e%0x64!=0xb?0x0:_0x35f57e%0xa>=0x2&&_0x35f57e%0xa<=0x4&&(_0x35f57e%0x64<0xa||_0x35f57e%0x64>=0x14)?0x1:0x2}};_0x36d66f['bs']||={'dictionary':{},'getPluralForm':null},_0x36d66f['bs']['dictionary']=Object['assign'](_0x36d66f['bs']['dictionary'],_0x3e1129),_0x36d66f['bs']['getPluralForm']=_0x55583b;})(window['CKEDITOR_TRANSLATIONS']||={});