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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x18a334,Command as _0xc0a388}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x5ed29e,IconGooglePhotos as _0x2e062e,IconGoogleDrive as _0x1a1f43,IconFacebook as _0x4d8a4c,IconDropbox as _0x1e1079,IconUploadcareLink as _0x117008,IconUploadcareImageUpload as _0x38b0c9,IconError as et,IconUploadcareImageEdit as _0x4e6105}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x54bdf7,MenuBarMenuListItemButtonView as _0x344724,View as _0x138dc8,FocusCycler as _0x2a71f3,Dialog as _0x23147f,DialogViewPosition as _0xcdedd4,SpinnerView as _0x526ef3,IconView as at,Notification as _0x3c2da4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x5666bb,DomEmitterMixin as _0x3dc1bc,global as _0x1cb254,getAncestors as _0x4dc674,ObservableMixin as _0xe0b479,createElement as _0x303de7,uid as _0x2c2d6a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x51f6d5}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x479e88,info as _0x59ad7b}from'@uploadcare/upload-client';import*as _0x302ff1 from'@uploadcare/file-uploader';var o=function(_0x4ab2ed){return _0x4ab2ed['Local']='local',_0x4ab2ed['URL']='url',_0x4ab2ed['Dropbox']='dropbox',_0x4ab2ed['GDrive']='gdrive',_0x4ab2ed['Facebook']='facebook',_0x4ab2ed['GPhotos']='gphotos',_0x4ab2ed['OneDrive']='onedrive',_0x4ab2ed;}({});function _(_0x21c46a,_0x464427,_0x3d4e61){const t=_0x21c46a['t'],_0x35f702=_0x21c46a['t'];switch(_0x464427){case o['Local']:return{'text':_0x35f702('Insert'===_0x3d4e61?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x35f702('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3d4e61?_0x35f702('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x35f702('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3d4e61?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3d4e61?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3d4e61?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3d4e61?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3d4e61?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x464427;}}class e extends _0x18a334{['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 _0x5b5ec5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x345fc4;for(const _0x2392ab in _0x5b5ec5){const _0x247dba=_0x2392ab,_0x14908d=_0x5b5ec5[_0x247dba];if('uploadcareLicenseKeyValid'==_0x14908d||'uploadcareLicenseKeyInvalid'==_0x14908d||'uploadcareLicenseKeyExpired'==_0x14908d||'uploadcareLicenseKeyDomainLimit'==_0x14908d||'uploadcareLicenseKeyNotAllowed'==_0x14908d||'uploadcareLicenseKeyEvaluationLimit'==_0x14908d||'uploadcareLicenseKeyTrialLimit'==_0x14908d||'uploadcareLicenseKeyUsageLimit'==_0x14908d){delete _0x5b5ec5[_0x247dba],_0x345fc4=_0x14908d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x345fc4&&_0x5b5ec5['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x164925}=this,_0x7a506=_0x164925['commands']['get']('uploadcare');if(!_0x7a506)return;const _0x36f253=this['_normalizeConfigSourceList'](_0x164925['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x511b1d,_0x37801d)=>{const _0x595741=this['_getIntegrationKey'](_0x37801d['type']);return _0x511b1d[_0x595741]||(_0x511b1d[_0x595741]=[]),_0x511b1d[_0x595741]['push'](_0x37801d),_0x511b1d;},{});_0x164925['plugins']['has']('ImageInsertUI')&&_0x164925['commands']['get']('uploadcare')&&Object['entries'](_0x36f253)['forEach'](([_0x5f566e,_0x2a1a44])=>{_0x164925['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x5f566e,'observable':()=>_0x7a506,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2a1a44),'formViewCreator':()=>this['_createDropdownButtons'](_0x2a1a44),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2a1a44),'override':'assetManager'!==_0x5f566e});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x15b01c){const {locale:_0x4c3b70}=this['editor'];return _0x15b01c['map'](_0x1728c8=>{const _0x1edbbc=_(_0x4c3b70,_0x1728c8,'Insert');switch(_0x1728c8){case o['Local']:return{'icon':_0x38b0c9,'type':o['Local'],..._0x1edbbc};case o['URL']:return{'icon':_0x117008,'type':o['URL'],..._0x1edbbc};case o['Dropbox']:return{'icon':_0x1e1079,'type':o['Dropbox'],..._0x1edbbc};case o['Facebook']:return{'icon':_0x4d8a4c,'type':o['Facebook'],..._0x1edbbc};case o['GDrive']:return{'icon':_0x1a1f43,'type':o['GDrive'],..._0x1edbbc};case o['GPhotos']:return{'icon':_0x2e062e,'type':o['GPhotos'],..._0x1edbbc};case o['OneDrive']:return{'icon':_0x5ed29e,'type':o['OneDrive'],..._0x1edbbc};}});}['_getIntegrationKey'](_0x24a1b7){switch(_0x24a1b7){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x40fb6f,_0x33659d){const _0x434ee9=this['editor'],_0x3c1fc8=new _0x40fb6f(_0x434ee9['locale']),_0xa95f48=_0x434ee9['commands']['get']('uploadcare');return _0x3c1fc8['bind']('isEnabled')['to'](_0xa95f48),_0x3c1fc8['on']('execute',()=>{_0xa95f48['execute'](_0x33659d);}),_0x3c1fc8;}['_createToolbarButton'](_0x3fa92f){const {locale:_0x4f0688}=this['editor'],_0x52079c=this['editor']['plugins']['get']('ImageInsertUI'),_0x11f892=_0x3fa92f[0x0],_0x28d7a0=this['_createButton'](_0x54bdf7,_0x11f892['type']);return _0x28d7a0['icon']=_0x11f892['icon'],_0x28d7a0['bind']('label')['to'](_0x52079c,'isImageSelected',_0x1297ec=>_(_0x4f0688,_0x11f892['type'],_0x1297ec?'Replace':'Insert')['text']),_0x28d7a0['tooltip']=!0x0,_0x28d7a0;}['_createDropdownButtons'](_0xf26045){const {locale:_0xa13acd}=this['editor'],_0x785e8b=this['editor']['plugins']['get']('ImageInsertUI');return _0xf26045['map'](_0x3c8878=>{const _0x5686ce=this['_createButton'](_0x54bdf7,_0x3c8878['type']);return _0x5686ce['withText']=!0x0,_0x5686ce['icon']=_0x3c8878['icon'],_0x5686ce['bind']('label')['to'](_0x785e8b,'isImageSelected',_0x272b94=>_(_0xa13acd,_0x3c8878['type'],_0x272b94?'Replace':'Insert')['text']),_0x5686ce;});}['_createMenuBarButtons'](_0xb9d153){return _0xb9d153['map'](_0x58a8f6=>{const _0x1e557f=this['_createButton'](_0x344724,_0x58a8f6['type']);return _0x1e557f['icon']=_0x58a8f6['icon'],_0x1e557f['label']=_0x58a8f6['shortText'],_0x1e557f;});}}class q extends _0x138dc8{['focusTracker'];['focusCycler'];constructor(_0x4b7615){super(_0x4b7615),this['focusTracker']=new _0x5666bb(),this['focusCycler']=new _0x2a71f3({'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(_0x3655df){super(_0x3655df),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(_0x1fc26b,_0x5e0ce5){const _0x1befb4=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5769ee=>_0x5769ee<=_0x5e0ce5)['map'](_0x5cdbd2=>_0x1fc26b['replace'](/\/$/,'')+'/-/resize/'+_0x5cdbd2+'x/\x20'+_0x5cdbd2+'w');return{'imageFallbackUrl':_0x1fc26b,'imageSources':[{'srcset':_0x1befb4['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5e0ce5+'px)\x20100vw,\x20'+_0x5e0ce5+'px','type':'image/webp'}]};}function A(_0x49d868,_0x24e80c,_0x204299){const _0x33d84b=_0x49d868['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33d84b?parseInt(_0x33d84b[0x1],0xa):_0x24e80c,'height':_0x33d84b?parseInt(_0x33d84b[0x2],0xa):_0x204299};}function m(_0xa56b80,_0xc8f97f){const _0x6742dd=Object['create'](_0x3dc1bc),_0x3d6708=_0xa56b80['plugins']['get']('ImageUtils'),_0x12aaae=_0xa56b80['editing']['mapper']['toViewElement'](_0xc8f97f),_0x2a29fa=_0x3d6708['findViewImgElement'](_0x12aaae),_0x3baf8d=_0xa56b80['editing']['view']['domConverter']['viewToDom'](_0x2a29fa),_0x5d3b8b=_0xc8f97f['getAttribute']('width'),_0x2241d4=_0xc8f97f['getAttribute']('height'),_0x1328c9='image-processing';_0xa56b80['editing']['view']['change'](_0x5df03a=>{_0x5df03a['addClass'](_0x1328c9,_0x12aaae),_0x5df03a['setStyle']('aspect-ratio',_0x5d3b8b+'/'+_0x2241d4,_0x2a29fa);}),_0x6742dd['listenTo'](_0x3baf8d,'load',()=>{_0x6742dd['stopListening'](_0x3baf8d,'load'),_0xa56b80['editing']['view']['change'](_0x156b1f=>{_0x156b1f['removeClass'](_0x1328c9,_0x12aaae),_0x156b1f['removeStyle']('aspect-ratio',_0x2a29fa);});});}function V(_0x449b89){if(Array['isArray'](_0x449b89)){const _0x5ec3bc=_0x449b89['map'](V);return _0x49d30f=>_0x5ec3bc['some'](_0x385ae7=>_0x385ae7(_0x49d30f));}if('origin'==_0x449b89){const _0x2f05ae=_0x1cb254['window']['location']['origin'];return _0x6f56ff=>new URL(_0x6f56ff,_0x1cb254['document']['baseURI'])['origin']==_0x2f05ae;}return'function'==typeof _0x449b89?_0x449b89:_0x449b89 instanceof RegExp?_0xc1ea4e=>!(!_0xc1ea4e['match'](_0x449b89)&&!_0xc1ea4e['replace'](/^https?:\/\//,'')['match'](_0x449b89)):()=>!0x1;}function F(_0x234a5f,_0x47839f){return _0x4dc674(_0x234a5f['target'])['includes'](_0x47839f);}class l extends/* #__PURE__ -- @preserve */
24
- _0xe0b479(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x28e8db,_0x49d23d,_0x4309a2){super(),this['_editor']=_0x28e8db,this['_editing']=_0x49d23d,this['_dialog']=_0x28e8db['plugins']['get'](_0x23147f),this['_api']=_0x49d23d['ctxElement']['getAPI'](),this['_type']=_0x4309a2,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:_0x5d730a,model:_0x508218}=this['_editor'],_0x5e3080=_0x508218['document']['selection']['getSelectedElement'](),_0x2d9e01=_0x5e3080&&(_0x5e3080['is']('element','imageBlock')||_0x5e3080['is']('element','imageInline'));this['_formView']=new S(_0x5d730a),this['_dialog']['show']({'id':'uploadCare','icon':_0x38b0c9,'title':_(_0x5d730a,this['_type'],_0x2d9e01?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0xcdedd4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3489a2=>!F(_0x3489a2,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x55d01c}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x4da287=>{const _0x12cae6=_0x55d01c['length'];for(const _0x51b4f6 of _0x55d01c){const _0x4ac0be=_0x51b4f6===_0x55d01c[_0x12cae6-0x1],{cdnUrl:_0x3b6ea0,fileInfo:_0x2c8c0f}=_0x51b4f6;if(!_0x3b6ea0||!_0x2c8c0f)continue;const {width:_0x25aef6,height:_0x7d5c4f}=_0x2c8c0f['imageInfo'],_0x27cf6c=A(_0x3b6ea0,_0x25aef6,_0x7d5c4f),_0x6acf27=E(_0x3b6ea0,_0x27cf6c['width']),_0x433c83={'id':_0x2c8c0f['uuid'],'type':'image','attributes':{'imageDimension':_0x27cf6c,..._0x6acf27}};this['_insertAsset'](_0x433c83,_0x4ac0be,_0x4da287);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1b8bf9=>{'idle'===_0x1b8bf9['detail']['status']&&!_0x1b8bf9['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1cfbe1,_0x13a0c9,_0x245599){const _0x2a24ff=this['_editor']['model']['document']['selection'],_0x54b4db=_0x2a24ff['getSelectedElement'](),_0x47a0c4=!(!_0x54b4db||!_0x54b4db['is']('element','imageInline'));_0x245599['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1cfbe1,_0x47a0c4),_0x13a0c9||_0x245599['setSelection'](_0x2a24ff['getLastPosition']());}['_insertImage'](_0x1a50de,_0x22652c){const _0x29dad2=this['_editor'],{imageDimension:_0x204b57,imageFallbackUrl:_0x4c40c3,imageSources:_0x4595cb}=_0x1a50de['attributes'];_0x29dad2['execute']('insertImage',{'imageType':_0x22652c?'imageInline':null,'source':{'uploadcareImageId':_0x1a50de['id'],'src':_0x4c40c3,'sources':_0x4595cb,..._0x204b57}});}}class n extends _0xc0a388{['_editing'];['_controller']=null;static get['requires'](){return[_0x23147f,i];}constructor(_0x3ff102){super(_0x3ff102),this['_editing']=_0x3ff102['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2b1fd4){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x2b1fd4);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x445146,publicKey:_0x43aaa3,signal:_0x288fc4,onProgress:_0x97747}){return _0x479e88(_0x445146,{'publicKey':_0x43aaa3,'store':'auto','signal':_0x288fc4,'onProgress':_0x97747});}static['getInfo'](_0x540fde,_0x2798f2){return _0x59ad7b(_0x540fde,_0x2798f2);}}class p extends _0x18a334{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51f6d5,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5a0907=this['editor'];if(!!!_0x5a0907['config']['get']('uploadcare'))return;_0x5a0907['plugins']['get'](_0x51f6d5)['createUploadAdapter']=_0x676935=>new x(_0x676935,_0x5a0907),_0x5a0907['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16745e,{imageElement:_0x28cd41,data:_0x5a06af})=>{_0x5a0907['model']['change'](_0x5458ae=>{_0x5458ae['setAttribute']('uploadcareImageId',_0x5a06af['uploadcareImageId'],_0x28cd41);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3b6c16,_0x90eaa4){this['loader']=_0x3b6c16,this['editor']=_0x90eaa4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x31ae37=this['editor']['config']['get']('uploadcare.pubkey'),_0x51aaaa=await this['loader']['file'];return C['upload']({'file':_0x51aaaa,'publicKey':_0x31ae37,'signal':this['controller']['signal'],'onProgress':_0x2f70e4=>{_0x2f70e4&&_0x2f70e4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2f70e4['value']);}})['then'](async _0xd3c730=>{const {imageFallbackUrl:_0x41a62d,imageSources:_0x44dd24}=E(_0xd3c730['cdnUrl'],_0xd3c730['imageInfo']['width']);return{'uploadcareImageId':_0xd3c730['uuid'],'default':_0x41a62d,'sources':_0x44dd24};})['catch'](()=>{const _0x4c6dad=t('Cannot\x20upload\x20file:')+('\x20'+_0x51aaaa['name']+'.');return Promise['reject'](_0x4c6dad);});}['abort'](){this['controller']['abort']();}}class i extends _0x18a334{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x23147f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x2e9f05=this['editor'];_0x2e9f05['commands']['add']('uploadcare',new n(_0x2e9f05));}['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 _0x191034=_0x1cb254['document']['querySelector']('input[uploadcare-file-input]');_0x191034&&_0x191034['remove']();}),async function(_0x2250fb){const _0x135149=_0x3ebf03([0x48,0x4c,0x66,0x55,0x6c,0x4d,0x4e,0x33,0x34,0x7a,0x75,0x63,0x71,0x65,0x37,0x6f,0x4f,0x4a,0x4b,0x68,0x44,0x74,0x41,0x61,0x67,0x43,0x70,0x79,0x47,0x58,0x56,0x42,0x72,0x57,0x62,0x52,0x46,0x45,0x32,0x6e,0x36,0x35,0x5a,0x30,0x31,0x59,0x49,0x69,0x39,0x78,0x6b,0x73,0x6d,0x64,0x38,0x54,0x53,0x77,0x6a,0x51,0x76,0x50]),_0x286c8d=0x6324f138,_0x535043=0x632392d8^_0x286c8d,_0x1007f5=window[_0x3ebf03([0x44,0x61,0x74,0x65])][_0x3ebf03([0x6e,0x6f,0x77])](),_0x34a2bf=_0x2250fb[_0x3ebf03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fd2ce=new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3742=>{_0x34a2bf[_0x3ebf03([0x6f,0x6e,0x63,0x65])](_0x3ebf03([0x72,0x65,0x61,0x64,0x79]),_0x4a3742);}),_0x127ed2={[_0x3ebf03([0x6b,0x74,0x79])]:_0x3ebf03([0x45,0x43]),[_0x3ebf03([0x75,0x73,0x65])]:_0x3ebf03([0x73,0x69,0x67]),[_0x3ebf03([0x63,0x72,0x76])]:_0x3ebf03([0x50,0x2d,0x32,0x35,0x36]),[_0x3ebf03([0x78])]:_0x3ebf03([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]),[_0x3ebf03([0x79])]:_0x3ebf03([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]),[_0x3ebf03([0x61,0x6c,0x67])]:_0x3ebf03([0x45,0x53,0x32,0x35,0x36])},_0x286245=_0x34a2bf[_0x3ebf03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ebf03([0x67,0x65,0x74])](_0x3ebf03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3cc150(){let _0x42fc53,_0x4bf1c8=null,_0x2799f1=null;try{if(_0x286245==_0x3ebf03([0x47,0x50,0x4c]))return _0x3ebf03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42fc53=_0x4408c1(),!_0x42fc53)return _0x3ebf03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42fc53[_0x3ebf03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2799f1=_0x24b10c(_0x42fc53[_0x3ebf03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42fc53[_0x3ebf03([0x6a,0x74,0x69])])),await _0x3c2550()?_0x58f8ae()?_0x2a4453()?_0x3ebf03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20237e()?(_0x42fc53[_0x3ebf03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ebf03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bf1c8=_0x218582(_0x3ebf03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42fc53[_0x3ebf03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ebf03([0x74,0x72,0x69,0x61,0x6c])&&(_0x4bf1c8=_0x218582(_0x3ebf03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c2ba4()):_0x3ebf03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ebf03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ebf03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xdad695){return _0x3ebf03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a4453(){const _0x16588c=[_0x3ebf03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ebf03([0x74,0x72,0x69,0x61,0x6c])][_0x3ebf03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42fc53[_0x3ebf03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1007f5/0x3e8:0xe10*_0x535043;return _0x42fc53[_0x3ebf03([0x65,0x78,0x70])]<_0x16588c;}function _0x58f8ae(){const _0x3bc256=_0x42fc53[_0x3ebf03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bc256&&(!!_0x3bc256[_0x3ebf03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebf03([0x2a]))||!!_0x3bc256[_0x3ebf03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebf03([0x55,0x50,0x4c,0x43])));}function _0x20237e(){const _0x2574b2=_0x42fc53[_0x3ebf03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2574b2||0x0==_0x2574b2[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8f1f3f}=new URL(window[_0x3ebf03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2574b2[_0x3ebf03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8f1f3f))return!0x0;const _0x34ed17=_0x8f1f3f[_0x3ebf03([0x73,0x70,0x6c,0x69,0x74])](_0x3ebf03([0x2e]));return _0x2574b2[_0x3ebf03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34c663=>_0x34c663[_0x3ebf03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ebf03([0x2a])))[_0x3ebf03([0x6d,0x61,0x70])](_0x3d6579=>_0x3d6579[_0x3ebf03([0x73,0x70,0x6c,0x69,0x74])](_0x3ebf03([0x2e])))[_0x3ebf03([0x73,0x6f,0x6d,0x65])](_0x2c0bda=>_0x34ed17[_0x3ebf03([0x65,0x76,0x65,0x72,0x79])]((_0x118f8b,_0x5b732)=>_0x2c0bda[_0x5b732]===_0x118f8b||_0x2c0bda[_0x5b732]===_0x3ebf03([0x2a])));}function _0x3c2ba4(){return _0x4bf1c8&&_0x2799f1?new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58d551,_0x4f5d28)=>{_0x4bf1c8[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x58d551,_0x4f5d28),_0x2799f1[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x471cb6=>{_0x471cb6!=_0x3ebf03([0x56,0x61,0x6c,0x69,0x64])&&_0x58d551(_0x471cb6);},_0x4f5d28);}):_0x4bf1c8||_0x2799f1||_0x3ebf03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24b10c(_0x1fe26a,_0x59a46e){return new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b047d=>{if(_0xe0c9ef())return _0x4b047d(_0x3ebf03([0x56,0x61,0x6c,0x69,0x64]));_0x44f07a(),_0x34a2bf[_0x3ebf03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ebf03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x219699=!0x1;const _0x5371a5=_0x2c2d6a();function _0xdc766c(_0xa6d684){return!!_0xa6d684&&(typeof _0xa6d684===_0x3ebf03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa6d684===_0x3ebf03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa6d684[_0x3ebf03([0x74,0x68,0x65,0x6e])]===_0x3ebf03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa6d684[_0x3ebf03([0x63,0x61,0x74,0x63,0x68])]===_0x3ebf03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x568de9(_0x2e0b8f){_0x1b2acc(_0x2e0b8f)[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x1abdb6=>{if(!_0x1abdb6||_0x1abdb6[_0x3ebf03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ebf03([0x6f,0x6b]))return _0x3ebf03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ab2ac(_0x3135b9(_0x5371a5+_0x59a46e))!=_0x1abdb6[_0x3ebf03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ebf03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ebf03([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x6d34a6=>(_0x1bacf2(),_0x6d34a6),()=>{const _0x120e27=_0xfd579f();return null==_0x120e27?(_0x1bacf2(),_0x3ebf03([0x56,0x61,0x6c,0x69,0x64])):_0x3ebf03(_0x1007f5-_0x120e27>(0x47287538^_0x286c8d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x4b047d)[_0x3ebf03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b047d(_0x3ebf03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfab2=0x63121fb8^_0x286c8d;function _0x1bacf2(){const _0x3c7d2f=_0x3ebf03([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab2ac(_0x3135b9(_0x1fe26a)),_0x18058b=_0x118494(_0x5ab2ac(window[_0x3ebf03([0x4d,0x61,0x74,0x68])][_0x3ebf03([0x63,0x65,0x69,0x6c])](_0x1007f5/_0x5dfab2)));window[_0x3ebf03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ebf03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c7d2f,_0x18058b);}function _0xfd579f(){const _0x4090a3=_0x3ebf03([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab2ac(_0x3135b9(_0x1fe26a)),_0x9121=window[_0x3ebf03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ebf03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4090a3);return _0x9121?window[_0x3ebf03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x118494(_0x9121),0x10)*_0x5dfab2:null;}function _0x1b2acc(_0x151fb9){return new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b147e,_0x2fd1ca)=>{_0x151fb9[_0x3ebf03([0x74,0x68,0x65,0x6e])](_0x1b147e,_0x2fd1ca),window[_0x3ebf03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fd1ca,0x632525f8^_0x286c8d);});}}_0x34a2bf[_0x3ebf03([0x6f,0x6e])](_0x3ebf03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x87a57e,_0x38cd69)=>{if(_0x38cd69[0x0]!=_0x1fe26a)return _0x4b047d(_0x3ebf03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38cd69[0x1]={..._0x38cd69[0x1],[_0x3ebf03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5371a5};},{[_0x3ebf03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ebf03([0x68,0x69,0x67,0x68])}),_0x34a2bf[_0x3ebf03([0x6f,0x6e])](_0x3ebf03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4af15f=>{_0xdc766c(_0x4af15f[_0x3ebf03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x219699=!0x0,_0x568de9(_0x4af15f[_0x3ebf03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ebf03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ebf03([0x6c,0x6f,0x77])}),_0x3fd2ce[_0x3ebf03([0x74,0x68,0x65,0x6e])](()=>{_0x219699||_0x4b047d(_0x3ebf03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe0c9ef(){return _0x34a2bf[_0x3ebf03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ebf03([0x76,0x69,0x65,0x77])][_0x3ebf03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ebf03([0x61,0x75,0x74,0x6f]);}function _0x44f07a(){_0x34a2bf[_0x3ebf03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ebf03([0x76,0x69,0x65,0x77])][_0x3ebf03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ebf03([0x61,0x75,0x74,0x6f]);}}function _0x218582(_0x19edb1){const _0x84a3d9=[new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3836d5=>setTimeout(_0x3836d5,0x632dcff4^_0x286c8d)),_0x3fd2ce[_0x3ebf03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3d0f=>{let _0x5d92e0=0x0;_0x34a2bf[_0x3ebf03([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebf03([0x6f,0x6e])](_0x3ebf03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x448f8b,_0x3078b8)=>{_0x3078b8[0x0][_0x3ebf03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d92e0++,_0x5d92e0==(0x6324f0c0^_0x286c8d)&&(_0xf3d0f(),_0x448f8b[_0x3ebf03([0x6f,0x66,0x66])]());});}))];return window[_0x3ebf03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ebf03([0x72,0x61,0x63,0x65])](_0x84a3d9)[_0x3ebf03([0x74,0x68,0x65,0x6e])](()=>_0x19edb1);}async function _0x5907af(){await _0x3fd2ce,_0x34a2bf[_0x3ebf03([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebf03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd76db3,_0x34a2bf[_0x3ebf03([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ebf03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd76db3,_0x34a2bf[_0x3ebf03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ebf03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42486b(_0x38a272){const _0x117870=_0x11aaef();_0x34a2bf[_0x117870]=_0x3ebf03([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38a272,_0x38a272!=_0x3ebf03([0x56,0x61,0x6c,0x69,0x64])&&_0x5907af();}function _0x11aaef(){const _0x5d037a=window[_0x3ebf03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ebf03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ebf03([0x6e,0x6f,0x77])]())[_0x3ebf03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ebf03([0x2e]),'');let _0x13f302=_0x3ebf03([0x48]);for(let _0x1c60f6=0x0;_0x1c60f6<_0x5d037a[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c60f6+=0x2){let _0x2fb556=window[_0x3ebf03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d037a[_0x3ebf03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c60f6,_0x1c60f6+0x2));_0x2fb556>=_0x135149[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fb556-=_0x135149[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13f302+=_0x135149[_0x2fb556];}return _0x13f302;}function _0x4408c1(){const _0x2519bc=_0x286245[_0x3ebf03([0x73,0x70,0x6c,0x69,0x74])](_0x3ebf03([0x2e]));if(0x3!=_0x2519bc[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9619ca(_0x2519bc[0x1]);function _0x9619ca(_0x18b01e){const _0x228544=_0x18a833(_0x18b01e);return _0x228544&&_0x267ed0()?_0x228544:null;function _0x267ed0(){const _0x1536fb=_0x228544[_0x3ebf03([0x6a,0x74,0x69])],_0x391005=window[_0x3ebf03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1536fb[_0x3ebf03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1536fb[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x267924={..._0x228544,[_0x3ebf03([0x6a,0x74,0x69])]:_0x1536fb[_0x3ebf03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1536fb[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x267924[_0x3ebf03([0x76,0x63])],_0x3135b9(_0x267924)==_0x391005;}}}async function _0x3c2550(){let _0x2ee503=!0x0;try{const _0x3057b4=_0x286245[_0x3ebf03([0x73,0x70,0x6c,0x69,0x74])](_0x3ebf03([0x2e])),[_0x2e6781,_0x104e4d,_0x268d9d]=_0x3057b4;return _0x185ad5(_0x2e6781),await _0x488c72(_0x2e6781,_0x104e4d,_0x268d9d),_0x2ee503;}catch(_0x53a351){return!0x1;}function _0x185ad5(_0x1d2c25){const _0x6f8e90=_0x18a833(_0x1d2c25);_0x6f8e90&&_0x6f8e90[_0x3ebf03([0x61,0x6c,0x67])]==_0x3ebf03([0x45,0x53,0x32,0x35,0x36])||(_0x2ee503=!0x1);}async function _0x488c72(_0x20e487,_0x5cb81,_0x44e318){const _0x56a27a=window[_0x3ebf03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ebf03([0x66,0x72,0x6f,0x6d])](_0x2d959f(_0x44e318),_0x3b2eb0=>_0x3b2eb0[_0x3ebf03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a6413=new window[(_0x3ebf03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ebf03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20e487+_0x3ebf03([0x2e])+_0x5cb81),_0x3c8ec3=window[_0x3ebf03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ebf03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c8ec3)return;const _0x49b4fe=await _0x3c8ec3[_0x3ebf03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ebf03([0x6a,0x77,0x6b]),_0x127ed2,{[_0x3ebf03([0x6e,0x61,0x6d,0x65])]:_0x3ebf03([0x45,0x43,0x44,0x53,0x41]),[_0x3ebf03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ebf03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ebf03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c8ec3[_0x3ebf03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ebf03([0x6e,0x61,0x6d,0x65])]:_0x3ebf03([0x45,0x43,0x44,0x53,0x41]),[_0x3ebf03([0x68,0x61,0x73,0x68])]:{[_0x3ebf03([0x6e,0x61,0x6d,0x65])]:_0x3ebf03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49b4fe,_0x56a27a,_0x5a6413)||(_0x2ee503=!0x1);}}function _0x18a833(_0x51c48b){return _0x51c48b[_0x3ebf03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ebf03([0x65,0x79]))?JSON[_0x3ebf03([0x70,0x61,0x72,0x73,0x65])](_0x2d959f(_0x51c48b)):null;}function _0x2d959f(_0x269176){return window[_0x3ebf03([0x61,0x74,0x6f,0x62])](_0x269176[_0x3ebf03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ebf03([0x2b]))[_0x3ebf03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ebf03([0x2f])));}function _0x3135b9(_0x5e3b72){let _0x554c73=0x1505;function _0x29925(_0x1fe218){for(let _0x378353=0x0;_0x378353<_0x1fe218[_0x3ebf03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x378353++){const _0x342ec4=_0x1fe218[_0x3ebf03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x378353);_0x554c73=(_0x554c73<<0x5)+_0x554c73+_0x342ec4,_0x554c73&=_0x554c73;}}function _0x1c1956(_0x155de3){Array[_0x3ebf03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x155de3)?_0x155de3[_0x3ebf03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c1956):_0x155de3&&typeof _0x155de3==_0x3ebf03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ebf03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x155de3)[_0x3ebf03([0x73,0x6f,0x72,0x74])]()[_0x3ebf03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe9d580,_0x47a8bd])=>{_0x29925(_0xe9d580),_0x1c1956(_0x47a8bd);}):_0x29925(window[_0x3ebf03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x155de3));}return _0x1c1956(_0x5e3b72),_0x554c73>>>0x0;}function _0x5ab2ac(_0x2fdb53){return _0x2fdb53[_0x3ebf03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ebf03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ebf03([0x30]));}function _0x118494(_0x2cd635){return _0x2cd635[_0x3ebf03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ebf03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ebf03([0x6a,0x6f,0x69,0x6e])]('');}function _0xd76db3(){}function _0x3ebf03(_0x202fe7){return _0x202fe7['map'](_0x352d6d=>String['fromCharCode'](_0x352d6d))['join']('');}_0x42486b(await _0x3cc150());}(this);}['_initSchema'](){const _0x288b92=this['editor']['model']['schema'];_0x288b92['isRegistered']('imageBlock')&&_0x288b92['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x288b92['isRegistered']('imageInline')&&_0x288b92['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x595d65=this['editor'];_0x595d65['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x595d65['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x599c4c=>_0x599c4c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19a6fd=_0x595d65['commands']['get']('replaceImageSource');_0x19a6fd&&this['listenTo'](_0x19a6fd,'cleanupImage',(_0x5acc9f,[_0x161701,_0x7e653b])=>{_0x161701['removeAttribute']('uploadcareImageId',_0x7e653b);});}['_initConfig'](){const _0x5cf629=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2e3561=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x303de7(_0x1cb254['document'],'uc-config',{..._0x5cf629,'pubkey':_0x2e3561,'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']=_0x337105=>{if('closeMax'==_0x337105)return'#uc-icon-arrow-down';},_0x1cb254['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x303de7(_0x1cb254['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x1cb254['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc65ba9=this['editor']['commands']['get']('insertImage');_0xc65ba9&&this['listenTo'](_0xc65ba9,'execute',()=>{const _0x2b5de4=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b5de4&&_0x2b5de4['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2b5de4);});});const _0x4b6ed7=this['editor']['commands']['get']('uploadcareImageReplace');_0x4b6ed7&&this['listenTo'](_0x4b6ed7,'execute',()=>{const _0x38fd25=this['editor']['model']['document']['selection']['getSelectedElement']();_0x38fd25&&_0x38fd25['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x38fd25);});});}}class u extends _0x18a334{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37e1f){super(_0x37e1f),_0x37e1f['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x302ff1['defineComponents'](_0x302ff1);}}class ta extends _0x138dc8{constructor(_0x26eb82){super(_0x26eb82);const t=_0x26eb82['t'],_0x497503=this['bindTemplate'],_0x141941=new _0x526ef3();_0x141941['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':[_0x141941,{'text':_0x497503['to']('imageUploadProgress',_0x29851f=>t('Loading\x20image...')+'\x20('+(_0x29851f||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 _0x138dc8{constructor(_0xa3c893){super(_0xa3c893);const t=_0xa3c893['t'];this['set']('errorType',null);const _0x471b3a=new _0x54bdf7(_0xa3c893);_0x471b3a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x471b3a['withText']=!0x0,_0x471b3a['class']='ck-button-action',_0x471b3a['on']('execute',()=>{this['fire']('retry');}),_0x471b3a['bind']('isVisible')['to'](this,'errorType',_0xa99045=>'NotFound'!==_0xa99045);const _0x11da55=new at();_0x11da55['content']=et,_0x11da55['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3cbd2c=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':[_0x11da55,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3cbd2c['to']('errorType',_0x1fc166=>t('NotFound'!==_0x1fc166?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x471b3a]},{'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 _0x138dc8{constructor(_0x22e20a,_0x59902d){super(_0x22e20a);const _0x5070e4=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x59902d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x5070e4['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2493e1,_0x52cd8b,_0x1e1d5d){super(_0x2493e1),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2493e1),this['_errorView']=new rt(_0x2493e1),this['_editingView']=new tt(_0x2493e1,_0x1e1d5d),this['_focusableView']=new _0x138dc8(_0x2493e1),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x52cd8b),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'],_0x34e7b1=>{this['_addUploadcareImageEditorListeners'](_0x34e7b1);});}),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'](_0x18f65f,_0x471044){const _0xb24b='uc-cloud-image-editor',_0x2b38c9=_0x18f65f['querySelector'](_0xb24b);if(_0x2b38c9)return _0x471044(_0x2b38c9);const _0x225eef=new MutationObserver(_0x307076=>{const _0x12a780=_0x307076['filter'](_0x467007=>_0x467007['target']===_0x18f65f&&_0x467007['addedNodes']['length']>0x0&&_0x467007['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xb24b);_0x12a780['length']&&(_0x225eef['disconnect'](),_0x471044(_0x12a780[0x0]['addedNodes'][0x0]));});_0x225eef['observe'](_0x18f65f,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x547728){_0x547728['addEventListener']('apply',_0xf5690b=>{this['fire']('apply',{'imageSrc':_0xf5690b['detail']['cdnUrl']});}),_0x547728['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0xe0b479(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x57ba48,_0x611871,_0x5bc22b){super(),this['_editor']=_0x57ba48,this['_dialog']=_0x611871,this['_imageElement']=_0x5bc22b,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 _0x25b056=this['_imageElement'],_0x54a6b6=_0x25b056['getAttribute']('uploadcareImageId'),_0x5865d2=_0x25b056['getAttribute']('src');if(_0x54a6b6)await this['_loadImageInfo'](_0x54a6b6,_0x5865d2);else{if(this['_imageCache']['has'](_0x5865d2)){const _0x99e288=this['_imageCache']['get'](_0x5865d2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x99e288['url'],this['imageDimension']=_0x99e288['dimension'],this['imageId']=_0x99e288['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x297dd2}=this['_editor'],t=_0x297dd2['t'],_0x48a782=new Z(_0x297dd2,this['imageStatus'],this['_attributes']);_0x48a782['bind']('status')['to'](this,'imageStatus'),_0x48a782['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48a782['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48a782['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48a782,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4e6105,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48a782,'position':_0xcdedd4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48a782['focus']();},'onHide':()=>{_0x48a782['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12dbcc=>!F(_0x12dbcc,_0x48a782['element'])}});}['_loadImageInfo'](_0x1e9be3,_0x4a6bdc){return C['getInfo'](_0x1e9be3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1bf874=>{const {width:_0x546619,height:_0xef04be}=_0x1bf874['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a6bdc,this['imageDimension']={'width':_0x546619,'height':_0xef04be},this['imageId']=_0x1e9be3;})['catch'](_0x3d8dbc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3d8dbc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x921de0,_0x3fedda){return this['_getImageAsFile'](_0x921de0)['then'](_0x2410a9=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3fedda['signal'],'file':_0x2410a9,'onProgress':_0xa0ba24=>{_0xa0ba24&&_0xa0ba24['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa0ba24['value']));}}))['then'](_0x54619c=>{const {width:_0x4aa616,height:_0x24a59e}=_0x54619c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54619c['cdnUrl'],this['imageDimension']={'width':_0x4aa616,'height':_0x24a59e},this['imageId']=_0x54619c['uuid'],this['imageUploadProgress']=null;const _0x29a3a3=_0x921de0['getAttribute']('src');this['_imageCache']['set'](_0x29a3a3,{'id':_0x54619c['uuid'],'url':_0x54619c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4039bc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4039bc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3ab760,_0x455e0c){_0x3ab760['on']('apply',(_0x882dc2,_0x127e1a)=>{this['_replaceImage'](_0x455e0c,_0x127e1a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3ab760['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3ab760['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x87ca12,_0x49a056,_0x2d89bd){const _0x10cfd1=this['_editor'],{width:_0x4afca0,height:_0x466345}=A(_0x49a056,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x45fb6a,imageSources:_0x145885}=E(_0x49a056,_0x4afca0);_0x10cfd1['model']['change'](_0x17ea81=>{if('$graveyard'===_0x87ca12['root']['rootName']){_0x10cfd1['execute']('insertImage',{'imageType':_0x87ca12['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x87ca12['getAttributes']()),'uploadcareImageId':_0x2d89bd,'src':_0x45fb6a,'sources':_0x145885,'width':_0x4afca0,'height':_0x466345}});const _0x4632f7=_0x87ca12['getChildren']();_0x87ca12=_0x10cfd1['model']['document']['selection']['getSelectedElement']();for(const _0x1a1467 of _0x4632f7)_0x17ea81['append'](_0x17ea81['cloneElement'](_0x1a1467),_0x87ca12);}else _0x17ea81['setSelection'](_0x87ca12,'on'),_0x10cfd1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x87ca12['getAttributes']()),'uploadcareImageId':_0x2d89bd,'src':_0x45fb6a,'sources':_0x145885,'width':_0x4afca0,'height':_0x466345},_0x87ca12);_0x17ea81['setSelection'](_0x87ca12,'on');});}async['_getImageAsFile'](_0x3ab6fa){const _0x4f1324=_0x1cb254['window'],_0x43b4ca=_0x1cb254['document']['location']['href'],_0x763daf=new _0x4f1324['URL'](_0x3ab6fa['getAttribute']('src'),_0x43b4ca);if('data:'===_0x763daf['protocol']){const _0x28b8f8=_0x763daf['href']['split'](','),_0x2309ca=_0x28b8f8[0x0]['match'](/:(.*?);/)[0x1],_0x23ce78=_0x2309ca['split']('/')[0x1],_0x4482a9=_0x4f1324['atob'](_0x28b8f8[_0x28b8f8['length']-0x1]);let _0x22d53e=_0x4482a9['length'];const _0x1da0a8=new _0x4f1324['Uint8Array'](_0x22d53e);for(;_0x22d53e--;)_0x1da0a8[_0x22d53e]=_0x4482a9['charCodeAt'](_0x22d53e);return new _0x4f1324['File']([_0x1da0a8],'image.'+_0x23ce78,{'type':_0x2309ca});}const _0xeb1a3e=_0x763daf['href']['split']('/'),_0xfd409e=_0xeb1a3e[_0xeb1a3e['length']-0x1],_0x163c6c=_0xfd409e['split']('.')[0x1];return _0x4f1324['fetch'](_0x763daf['href'])['then'](_0x233131=>_0x233131['clone']()['blob']())['then'](_0x62c8bc=>new _0x4f1324['File']([_0x62c8bc],_0xfd409e,{'type':'image/'+_0x163c6c}));}}class J extends _0xc0a388{['imageEditController'];static get['requires'](){return[_0x23147f];}['_isEditable'];constructor(_0x1b9747){super(_0x1b9747),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x404880){const _0x5e7f5f=V(_0x404880);return _0x1edf3c=>!(!_0x1edf3c||!_0x1edf3c['is']('element','imageBlock')&&!_0x1edf3c['is']('element','imageInline'))&&(!!_0x1edf3c['hasAttribute']('uploadcareImageId')||!!_0x1edf3c['hasAttribute']('src')&&_0x5e7f5f(_0x1edf3c['getAttribute']('src')));}(_0x1b9747['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x922e2e=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x922e2e);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3868b7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3868b7&&(_0x3868b7['is']('element','imageBlock')||_0x3868b7['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x23147f),_0x3868b7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xc0a388{['refresh'](){const _0x17bc51=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x17bc51&&(_0x17bc51['is']('element','imageBlock')||_0x17bc51['is']('element','imageInline')));}['execute'](_0x4e428e){const _0xba0687=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2dd084=>{_0x2dd084['setAttributes'](_0x4e428e,_0xba0687),_0x2dd084['removeAttribute']('srcset',_0xba0687),_0x2dd084['removeAttribute']('sizes',_0xba0687);});}}class g extends _0x18a334{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x3c2da4,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1887d1}=this;_0x1887d1['commands']['add']('uploadcareImageEdit',new J(_0x1887d1)),_0x1887d1['commands']['add']('uploadcareImageReplace',new O(_0x1887d1));}}class j extends _0x18a334{['_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 _0x586452=this['editor'];_0x586452['ui']['componentFactory']['add']('uploadcareImageEdit',_0x528660=>{const _0x195a76=_0x586452['commands']['get']('uploadcareImageEdit'),_0x52b2c8=new _0x54bdf7(_0x528660),t=_0x528660['t'];return _0x52b2c8['set']({'icon':_0x4e6105,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x52b2c8['bind']('isEnabled')['to'](_0x195a76),_0x52b2c8['bind']('isOn')['to'](_0x195a76,'isActive'),this['listenTo'](_0x52b2c8,'execute',()=>{_0x586452['execute']('uploadcareImageEdit'),_0x586452['editing']['view']['focus']();}),_0x52b2c8;}),this['_initConfig']();}['_initConfig'](){const _0x596e1a=_0x303de7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x596e1a),this['listenTo'](this['editor'],'destroy',()=>{_0x596e1a['remove']();});}}class P extends _0x18a334{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 _0x3e9b03,Command as _0x3ac5a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0xd3105f,IconGooglePhotos as _0x48f2ec,IconGoogleDrive as _0x4cc50e,IconFacebook as _0x17c56c,IconDropbox as _0x11e24f,IconUploadcareLink as _0x1bf24e,IconUploadcareImageUpload as _0x3974c2,IconError as et,IconUploadcareImageEdit as _0x5343dc}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x49ae17,MenuBarMenuListItemButtonView as _0x295481,View as _0x13f9b6,FocusCycler as _0x2bc8bb,Dialog as _0x1faddd,DialogViewPosition as _0x55b218,SpinnerView as _0x101ee0,IconView as at,Notification as _0x5000a9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x2c2199,DomEmitterMixin as _0x1ac2aa,global as _0x33f6e1,getAncestors as _0x3e19a1,ObservableMixin as _0x3b1dd5,createElement as _0x47ac24,uid as _0x3b2791}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x33160b}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x2b0c5e,info as _0x3d8599}from'@uploadcare/upload-client';import*as _0x3824e9 from'@uploadcare/file-uploader';var o=function(_0x59da9d){return _0x59da9d['Local']='local',_0x59da9d['URL']='url',_0x59da9d['Dropbox']='dropbox',_0x59da9d['GDrive']='gdrive',_0x59da9d['Facebook']='facebook',_0x59da9d['GPhotos']='gphotos',_0x59da9d['OneDrive']='onedrive',_0x59da9d;}({});function _(_0x2870d4,_0x47edb7,_0x2a1669){const t=_0x2870d4['t'],_0x297669=_0x2870d4['t'];switch(_0x47edb7){case o['Local']:return{'text':_0x297669('Insert'===_0x2a1669?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x297669('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x2a1669?_0x297669('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x297669('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x2a1669?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x2a1669?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x2a1669?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x2a1669?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x2a1669?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x47edb7;}}class e extends _0x3e9b03{['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 _0x34b3cd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5dcb81;for(const _0x5d2749 in _0x34b3cd){const _0x146779=_0x5d2749,_0x461c24=_0x34b3cd[_0x146779];if('uploadcareLicenseKeyValid'==_0x461c24||'uploadcareLicenseKeyInvalid'==_0x461c24||'uploadcareLicenseKeyExpired'==_0x461c24||'uploadcareLicenseKeyDomainLimit'==_0x461c24||'uploadcareLicenseKeyNotAllowed'==_0x461c24||'uploadcareLicenseKeyEvaluationLimit'==_0x461c24||'uploadcareLicenseKeyTrialLimit'==_0x461c24||'uploadcareLicenseKeyUsageLimit'==_0x461c24){delete _0x34b3cd[_0x146779],_0x5dcb81=_0x461c24,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5dcb81&&_0x34b3cd['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x131f77}=this,_0x9c50d7=_0x131f77['commands']['get']('uploadcare');if(!_0x9c50d7)return;const _0x16f5cd=this['_normalizeConfigSourceList'](_0x131f77['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x499883,_0x2c8184)=>{const _0x43b655=this['_getIntegrationKey'](_0x2c8184['type']);return _0x499883[_0x43b655]||(_0x499883[_0x43b655]=[]),_0x499883[_0x43b655]['push'](_0x2c8184),_0x499883;},{});_0x131f77['plugins']['has']('ImageInsertUI')&&_0x131f77['commands']['get']('uploadcare')&&Object['entries'](_0x16f5cd)['forEach'](([_0x548fab,_0x49724c])=>{_0x131f77['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x548fab,'observable':()=>_0x9c50d7,'buttonViewCreator':()=>this['_createToolbarButton'](_0x49724c),'formViewCreator':()=>this['_createDropdownButtons'](_0x49724c),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x49724c),'override':'assetManager'!==_0x548fab});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x8053a){const {locale:_0x22659e}=this['editor'];return _0x8053a['map'](_0x170830=>{const _0x5bc8b5=_(_0x22659e,_0x170830,'Insert');switch(_0x170830){case o['Local']:return{'icon':_0x3974c2,'type':o['Local'],..._0x5bc8b5};case o['URL']:return{'icon':_0x1bf24e,'type':o['URL'],..._0x5bc8b5};case o['Dropbox']:return{'icon':_0x11e24f,'type':o['Dropbox'],..._0x5bc8b5};case o['Facebook']:return{'icon':_0x17c56c,'type':o['Facebook'],..._0x5bc8b5};case o['GDrive']:return{'icon':_0x4cc50e,'type':o['GDrive'],..._0x5bc8b5};case o['GPhotos']:return{'icon':_0x48f2ec,'type':o['GPhotos'],..._0x5bc8b5};case o['OneDrive']:return{'icon':_0xd3105f,'type':o['OneDrive'],..._0x5bc8b5};}});}['_getIntegrationKey'](_0x273b3a){switch(_0x273b3a){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x42ba74,_0x388fd3){const _0x291011=this['editor'],_0x4d1584=new _0x42ba74(_0x291011['locale']),_0x55f4a4=_0x291011['commands']['get']('uploadcare');return _0x4d1584['bind']('isEnabled')['to'](_0x55f4a4),_0x4d1584['on']('execute',()=>{_0x55f4a4['execute'](_0x388fd3);}),_0x4d1584;}['_createToolbarButton'](_0x81ccb0){const {locale:_0x3378c1}=this['editor'],_0x17512c=this['editor']['plugins']['get']('ImageInsertUI'),_0x2a7241=_0x81ccb0[0x0],_0xbebc69=this['_createButton'](_0x49ae17,_0x2a7241['type']);return _0xbebc69['icon']=_0x2a7241['icon'],_0xbebc69['bind']('label')['to'](_0x17512c,'isImageSelected',_0x3f6bc4=>_(_0x3378c1,_0x2a7241['type'],_0x3f6bc4?'Replace':'Insert')['text']),_0xbebc69['tooltip']=!0x0,_0xbebc69;}['_createDropdownButtons'](_0x3229d9){const {locale:_0x34df7f}=this['editor'],_0x208728=this['editor']['plugins']['get']('ImageInsertUI');return _0x3229d9['map'](_0x1992ac=>{const _0x4bbc5a=this['_createButton'](_0x49ae17,_0x1992ac['type']);return _0x4bbc5a['withText']=!0x0,_0x4bbc5a['icon']=_0x1992ac['icon'],_0x4bbc5a['bind']('label')['to'](_0x208728,'isImageSelected',_0x1295e4=>_(_0x34df7f,_0x1992ac['type'],_0x1295e4?'Replace':'Insert')['text']),_0x4bbc5a;});}['_createMenuBarButtons'](_0x146d71){return _0x146d71['map'](_0xa7dfc2=>{const _0x3bf046=this['_createButton'](_0x295481,_0xa7dfc2['type']);return _0x3bf046['icon']=_0xa7dfc2['icon'],_0x3bf046['label']=_0xa7dfc2['shortText'],_0x3bf046;});}}class q extends _0x13f9b6{['focusTracker'];['focusCycler'];constructor(_0x54be78){super(_0x54be78),this['focusTracker']=new _0x2c2199(),this['focusCycler']=new _0x2bc8bb({'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(_0x259474){super(_0x259474),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(_0x5a233c,_0x93bbc6){const _0x2ee465=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x14afb6=>_0x14afb6<=_0x93bbc6)['map'](_0x6602e3=>_0x5a233c['replace'](/\/$/,'')+'/-/resize/'+_0x6602e3+'x/\x20'+_0x6602e3+'w');return{'imageFallbackUrl':_0x5a233c,'imageSources':[{'srcset':_0x2ee465['join'](',\x20'),'sizes':'(max-width:\x20'+_0x93bbc6+'px)\x20100vw,\x20'+_0x93bbc6+'px','type':'image/webp'}]};}function A(_0x553015,_0x5c651e,_0x435d97){const _0x1d5cd5=_0x553015['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1d5cd5?parseInt(_0x1d5cd5[0x1],0xa):_0x5c651e,'height':_0x1d5cd5?parseInt(_0x1d5cd5[0x2],0xa):_0x435d97};}function m(_0x5b3a9e,_0x36c47){const _0x487ccd=Object['create'](_0x1ac2aa),_0x556706=_0x5b3a9e['plugins']['get']('ImageUtils'),_0x4c3807=_0x5b3a9e['editing']['mapper']['toViewElement'](_0x36c47),_0x72eab6=_0x556706['findViewImgElement'](_0x4c3807),_0x596132=_0x5b3a9e['editing']['view']['domConverter']['viewToDom'](_0x72eab6),_0x4b0a5c=_0x36c47['getAttribute']('width'),_0x4669e1=_0x36c47['getAttribute']('height'),_0x198643='image-processing';_0x5b3a9e['editing']['view']['change'](_0x550614=>{_0x550614['addClass'](_0x198643,_0x4c3807),_0x550614['setStyle']('aspect-ratio',_0x4b0a5c+'/'+_0x4669e1,_0x72eab6);}),_0x487ccd['listenTo'](_0x596132,'load',()=>{_0x487ccd['stopListening'](_0x596132,'load'),_0x5b3a9e['editing']['view']['change'](_0xfb36a8=>{_0xfb36a8['removeClass'](_0x198643,_0x4c3807),_0xfb36a8['removeStyle']('aspect-ratio',_0x72eab6);});});}function V(_0x329104){if(Array['isArray'](_0x329104)){const _0x3c45c7=_0x329104['map'](V);return _0x4238d4=>_0x3c45c7['some'](_0x3c87d2=>_0x3c87d2(_0x4238d4));}if('origin'==_0x329104){const _0x2f1cbe=_0x33f6e1['window']['location']['origin'];return _0x2c1a51=>new URL(_0x2c1a51,_0x33f6e1['document']['baseURI'])['origin']==_0x2f1cbe;}return'function'==typeof _0x329104?_0x329104:_0x329104 instanceof RegExp?_0x16508e=>!(!_0x16508e['match'](_0x329104)&&!_0x16508e['replace'](/^https?:\/\//,'')['match'](_0x329104)):()=>!0x1;}function F(_0x31a084,_0x81eb94){return _0x3e19a1(_0x31a084['target'])['includes'](_0x81eb94);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x3b1dd5(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x14b2ae,_0x5f0bcf,_0x17c852){super(),this['_editor']=_0x14b2ae,this['_editing']=_0x5f0bcf,this['_dialog']=_0x14b2ae['plugins']['get'](_0x1faddd),this['_api']=_0x5f0bcf['ctxElement']['getAPI'](),this['_type']=_0x17c852,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:_0x783973,model:_0x466252}=this['_editor'],_0x416c51=_0x466252['document']['selection']['getSelectedElement'](),_0x448921=_0x416c51&&(_0x416c51['is']('element','imageBlock')||_0x416c51['is']('element','imageInline'));this['_formView']=new S(_0x783973),this['_dialog']['show']({'id':'uploadCare','icon':_0x3974c2,'title':_(_0x783973,this['_type'],_0x448921?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x55b218['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c9527=>!F(_0x3c9527,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3d2000}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x51762f=>{const _0x10089d=_0x3d2000['length'];for(const _0x4e2452 of _0x3d2000){const _0x1a7887=_0x4e2452===_0x3d2000[_0x10089d-0x1],{cdnUrl:_0x5268a6,fileInfo:_0x240fc1}=_0x4e2452;if(!_0x5268a6||!_0x240fc1)continue;const {width:_0xfd4394,height:_0x1c73c6}=_0x240fc1['imageInfo'],_0x2a29d7=A(_0x5268a6,_0xfd4394,_0x1c73c6),_0x2739f3=E(_0x5268a6,_0x2a29d7['width']),_0x1e7edb={'id':_0x240fc1['uuid'],'type':'image','attributes':{'imageDimension':_0x2a29d7,..._0x2739f3}};this['_insertAsset'](_0x1e7edb,_0x1a7887,_0x51762f);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x2cd791=>{'idle'===_0x2cd791['detail']['status']&&!_0x2cd791['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3b604c,_0x41b943,_0x697933){const _0x29b9df=this['_editor']['model']['document']['selection'],_0x4b19ee=_0x29b9df['getSelectedElement'](),_0x4e3eec=!(!_0x4b19ee||!_0x4b19ee['is']('element','imageInline'));_0x697933['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3b604c,_0x4e3eec),_0x41b943||_0x697933['setSelection'](_0x29b9df['getLastPosition']());}['_insertImage'](_0x27d7b9,_0x5105d8){const _0x2a5b88=this['_editor'],{imageDimension:_0x3a336c,imageFallbackUrl:_0x157026,imageSources:_0x73dc35}=_0x27d7b9['attributes'];_0x2a5b88['execute']('insertImage',{'imageType':_0x5105d8?'imageInline':null,'source':{'uploadcareImageId':_0x27d7b9['id'],'src':_0x157026,'sources':_0x73dc35,..._0x3a336c}});}}class n extends _0x3ac5a0{['_editing'];['_controller']=null;static get['requires'](){return[_0x1faddd,i];}constructor(_0x3e3a1e){super(_0x3e3a1e),this['_editing']=_0x3e3a1e['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1aca72){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x1aca72);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x18833e,publicKey:_0x2f6535,signal:_0x7e8c46,onProgress:_0x22f864}){return _0x2b0c5e(_0x18833e,{'publicKey':_0x2f6535,'store':'auto','signal':_0x7e8c46,'onProgress':_0x22f864});}static['getInfo'](_0x47642e,_0x265d2f){return _0x3d8599(_0x47642e,_0x265d2f);}}class p extends _0x3e9b03{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x33160b,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xeb10fa=this['editor'];if(!!!_0xeb10fa['config']['get']('uploadcare'))return;_0xeb10fa['plugins']['get'](_0x33160b)['createUploadAdapter']=_0x492461=>new x(_0x492461,_0xeb10fa),_0xeb10fa['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5ca76b,{imageElement:_0x3bd583,data:_0x28776f})=>{_0xeb10fa['model']['change'](_0x42a5a4=>{_0x42a5a4['setAttribute']('uploadcareImageId',_0x28776f['uploadcareImageId'],_0x3bd583);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1fd0f2,_0x52217e){this['loader']=_0x1fd0f2,this['editor']=_0x52217e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1bd072=this['editor']['config']['get']('uploadcare.pubkey'),_0x297409=await this['loader']['file'];return C['upload']({'file':_0x297409,'publicKey':_0x1bd072,'signal':this['controller']['signal'],'onProgress':_0x8e651a=>{_0x8e651a&&_0x8e651a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x8e651a['value']);}})['then'](async _0x45078e=>{const {imageFallbackUrl:_0x5ee3c2,imageSources:_0x2b36d4}=E(_0x45078e['cdnUrl'],_0x45078e['imageInfo']['width']);return{'uploadcareImageId':_0x45078e['uuid'],'default':_0x5ee3c2,'sources':_0x2b36d4};})['catch'](()=>{const _0x254daf=t('Cannot\x20upload\x20file:')+('\x20'+_0x297409['name']+'.');return Promise['reject'](_0x254daf);});}['abort'](){this['controller']['abort']();}}class i extends _0x3e9b03{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x1faddd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x9d3b2d=this['editor'];_0x9d3b2d['commands']['add']('uploadcare',new n(_0x9d3b2d));}['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 _0x98f950=_0x33f6e1['document']['querySelector']('input[uploadcare-file-input]');_0x98f950&&_0x98f950['remove']();}),async function(_0x5f56b0){const _0x4ab87d=_0x50a895([0x30,0x4d,0x65,0x6d,0x4a,0x35,0x51,0x63,0x74,0x75,0x43,0x73,0x39,0x62,0x56,0x72,0x66,0x42,0x4c,0x79,0x64,0x61,0x4f,0x50,0x58,0x68,0x6b,0x76,0x52,0x6e,0x4e,0x49,0x33,0x71,0x6a,0x6f,0x44,0x38,0x57,0x47,0x4b,0x37,0x41,0x69,0x77,0x45,0x6c,0x53,0x31,0x7a,0x32,0x34,0x54,0x5a,0x48,0x46,0x36,0x70,0x67,0x55,0x59,0x78]),_0x196490=0x81c1f63,_0x44e7da=0x81b7b73^_0x196490,_0xbfbd7d=window[_0x50a895([0x44,0x61,0x74,0x65])][_0x50a895([0x6e,0x6f,0x77])](),_0x7fa161=_0x5f56b0[_0x50a895([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a251a=new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54be57=>{_0x7fa161[_0x50a895([0x6f,0x6e,0x63,0x65])](_0x50a895([0x72,0x65,0x61,0x64,0x79]),_0x54be57);}),_0x52baf8={[_0x50a895([0x6b,0x74,0x79])]:_0x50a895([0x45,0x43]),[_0x50a895([0x75,0x73,0x65])]:_0x50a895([0x73,0x69,0x67]),[_0x50a895([0x63,0x72,0x76])]:_0x50a895([0x50,0x2d,0x32,0x35,0x36]),[_0x50a895([0x78])]:_0x50a895([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]),[_0x50a895([0x79])]:_0x50a895([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]),[_0x50a895([0x61,0x6c,0x67])]:_0x50a895([0x45,0x53,0x32,0x35,0x36])},_0x5e9b15=_0x7fa161[_0x50a895([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50a895([0x67,0x65,0x74])](_0x50a895([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4821a5(){let _0x3b3893,_0x390d83=null,_0x36fbee=null;try{if(_0x5e9b15==_0x50a895([0x47,0x50,0x4c]))return _0x50a895([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b3893=_0x3831f8(),!_0x3b3893)return _0x50a895([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b3893[_0x50a895([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36fbee=_0x424224(_0x3b3893[_0x50a895([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b3893[_0x50a895([0x6a,0x74,0x69])])),await _0x1c7251()?_0x6d7d7a()?_0x4d5247()?_0x50a895([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f6e5f()?(_0x3b3893[_0x50a895([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50a895([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x390d83=_0x265f9e(_0x50a895([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b3893[_0x50a895([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50a895([0x74,0x72,0x69,0x61,0x6c])&&(_0x390d83=_0x265f9e(_0x50a895([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x488309()):_0x50a895([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50a895([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50a895([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57a2b5){return _0x50a895([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d5247(){const _0x5953c0=[_0x50a895([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50a895([0x74,0x72,0x69,0x61,0x6c])][_0x50a895([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3893[_0x50a895([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbfbd7d/0x3e8:0xe10*_0x44e7da;return _0x3b3893[_0x50a895([0x65,0x78,0x70])]<_0x5953c0;}function _0x6d7d7a(){const _0x4e3530=_0x3b3893[_0x50a895([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e3530&&(!!_0x4e3530[_0x50a895([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a895([0x2a]))||!!_0x4e3530[_0x50a895([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a895([0x55,0x50,0x4c,0x43])));}function _0x4f6e5f(){const _0x12e135=_0x3b3893[_0x50a895([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12e135||0x0==_0x12e135[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1dc3ff}=new URL(window[_0x50a895([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x12e135[_0x50a895([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc3ff))return!0x0;const _0x83511=_0x1dc3ff[_0x50a895([0x73,0x70,0x6c,0x69,0x74])](_0x50a895([0x2e]));return _0x12e135[_0x50a895([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565e1f=>_0x565e1f[_0x50a895([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50a895([0x2a])))[_0x50a895([0x6d,0x61,0x70])](_0x3af0c8=>_0x3af0c8[_0x50a895([0x73,0x70,0x6c,0x69,0x74])](_0x50a895([0x2e])))[_0x50a895([0x73,0x6f,0x6d,0x65])](_0x2233ee=>_0x83511[_0x50a895([0x65,0x76,0x65,0x72,0x79])]((_0x274b69,_0x41b613)=>_0x2233ee[_0x41b613]===_0x274b69||_0x2233ee[_0x41b613]===_0x50a895([0x2a])));}function _0x488309(){return _0x390d83&&_0x36fbee?new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b63d6,_0x53c557)=>{_0x390d83[_0x50a895([0x74,0x68,0x65,0x6e])](_0x4b63d6,_0x53c557),_0x36fbee[_0x50a895([0x74,0x68,0x65,0x6e])](_0x35707f=>{_0x35707f!=_0x50a895([0x56,0x61,0x6c,0x69,0x64])&&_0x4b63d6(_0x35707f);},_0x53c557);}):_0x390d83||_0x36fbee||_0x50a895([0x56,0x61,0x6c,0x69,0x64]);}}function _0x424224(_0x1ef737,_0x101e57){return new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5850c8=>{if(_0x49a219())return _0x5850c8(_0x50a895([0x56,0x61,0x6c,0x69,0x64]));_0x4b9e92(),_0x7fa161[_0x50a895([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50a895([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ee804=!0x1;const _0x5e6fb0=_0x3b2791();function _0x261865(_0x58c159){return!!_0x58c159&&(typeof _0x58c159===_0x50a895([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58c159===_0x50a895([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58c159[_0x50a895([0x74,0x68,0x65,0x6e])]===_0x50a895([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58c159[_0x50a895([0x63,0x61,0x74,0x63,0x68])]===_0x50a895([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2edc53(_0x2e0873){_0x31f6ff(_0x2e0873)[_0x50a895([0x74,0x68,0x65,0x6e])](_0x545909=>{if(!_0x545909||_0x545909[_0x50a895([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50a895([0x6f,0x6b]))return _0x50a895([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3df1be(_0x11a788(_0x5e6fb0+_0x101e57))!=_0x545909[_0x50a895([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50a895([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50a895([0x56,0x61,0x6c,0x69,0x64]);})[_0x50a895([0x74,0x68,0x65,0x6e])](_0x5a07ee=>(_0x3961d1(),_0x5a07ee),()=>{const _0x490438=_0xd24682();return null==_0x490438?(_0x3961d1(),_0x50a895([0x56,0x61,0x6c,0x69,0x64])):_0x50a895(_0xbfbd7d-_0x490438>(0x2c109b63^_0x196490)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50a895([0x74,0x68,0x65,0x6e])](_0x5850c8)[_0x50a895([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5850c8(_0x50a895([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24f6e3=0x82af1e3^_0x196490;function _0x3961d1(){const _0x13186d=_0x50a895([0x6c,0x6c,0x63,0x74,0x2d])+_0x3df1be(_0x11a788(_0x1ef737)),_0x3f932d=_0x30dd2d(_0x3df1be(window[_0x50a895([0x4d,0x61,0x74,0x68])][_0x50a895([0x63,0x65,0x69,0x6c])](_0xbfbd7d/_0x24f6e3)));window[_0x50a895([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50a895([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13186d,_0x3f932d);}function _0xd24682(){const _0x41678d=_0x50a895([0x6c,0x6c,0x63,0x74,0x2d])+_0x3df1be(_0x11a788(_0x1ef737)),_0x1796ca=window[_0x50a895([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50a895([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41678d);return _0x1796ca?window[_0x50a895([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30dd2d(_0x1796ca),0x10)*_0x24f6e3:null;}function _0x31f6ff(_0x2b2239){return new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x562c19,_0x3bd2d1)=>{_0x2b2239[_0x50a895([0x74,0x68,0x65,0x6e])](_0x562c19,_0x3bd2d1),window[_0x50a895([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3bd2d1,0x81dcba3^_0x196490);});}}_0x7fa161[_0x50a895([0x6f,0x6e])](_0x50a895([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b7594,_0x4feec0)=>{if(_0x4feec0[0x0]!=_0x1ef737)return _0x5850c8(_0x50a895([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4feec0[0x1]={..._0x4feec0[0x1],[_0x50a895([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e6fb0};},{[_0x50a895([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50a895([0x68,0x69,0x67,0x68])}),_0x7fa161[_0x50a895([0x6f,0x6e])](_0x50a895([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f8d08=>{_0x261865(_0x2f8d08[_0x50a895([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ee804=!0x0,_0x2edc53(_0x2f8d08[_0x50a895([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50a895([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50a895([0x6c,0x6f,0x77])}),_0x1a251a[_0x50a895([0x74,0x68,0x65,0x6e])](()=>{_0x5ee804||_0x5850c8(_0x50a895([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49a219(){return _0x7fa161[_0x50a895([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50a895([0x76,0x69,0x65,0x77])][_0x50a895([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50a895([0x61,0x75,0x74,0x6f]);}function _0x4b9e92(){_0x7fa161[_0x50a895([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50a895([0x76,0x69,0x65,0x77])][_0x50a895([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50a895([0x61,0x75,0x74,0x6f]);}}function _0x265f9e(_0x1e2c0e){const _0x1be1e8=[new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55f948=>setTimeout(_0x55f948,0x81521af^_0x196490)),_0x1a251a[_0x50a895([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea025=>{let _0x42e1a4=0x0;_0x7fa161[_0x50a895([0x6d,0x6f,0x64,0x65,0x6c])][_0x50a895([0x6f,0x6e])](_0x50a895([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d54c1,_0x23e168)=>{_0x23e168[0x0][_0x50a895([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42e1a4++,_0x42e1a4==(0x81c1e9b^_0x196490)&&(_0x1ea025(),_0x2d54c1[_0x50a895([0x6f,0x66,0x66])]());});}))];return window[_0x50a895([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50a895([0x72,0x61,0x63,0x65])](_0x1be1e8)[_0x50a895([0x74,0x68,0x65,0x6e])](()=>_0x1e2c0e);}async function _0x50ee81(){await _0x1a251a,_0x7fa161[_0x50a895([0x6d,0x6f,0x64,0x65,0x6c])][_0x50a895([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x449c41,_0x7fa161[_0x50a895([0x6d,0x6f,0x64,0x65,0x6c])][_0x50a895([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x449c41,_0x7fa161[_0x50a895([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50a895([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45c828(_0x376af6){const _0x278f88=_0x65784f();_0x7fa161[_0x278f88]=_0x50a895([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x376af6,_0x376af6!=_0x50a895([0x56,0x61,0x6c,0x69,0x64])&&_0x50ee81();}function _0x65784f(){const _0x45787b=window[_0x50a895([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50a895([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50a895([0x6e,0x6f,0x77])]())[_0x50a895([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50a895([0x2e]),'');let _0x148a9b=_0x50a895([0x4d]);for(let _0x1c809e=0x0;_0x1c809e<_0x45787b[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c809e+=0x2){let _0xa9bb7c=window[_0x50a895([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45787b[_0x50a895([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c809e,_0x1c809e+0x2));_0xa9bb7c>=_0x4ab87d[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa9bb7c-=_0x4ab87d[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x148a9b+=_0x4ab87d[_0xa9bb7c];}return _0x148a9b;}function _0x3831f8(){const _0x1125ca=_0x5e9b15[_0x50a895([0x73,0x70,0x6c,0x69,0x74])](_0x50a895([0x2e]));if(0x3!=_0x1125ca[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59c140(_0x1125ca[0x1]);function _0x59c140(_0x404aa2){const _0x3aafc7=_0xeea3db(_0x404aa2);return _0x3aafc7&&_0x47babe()?_0x3aafc7:null;function _0x47babe(){const _0x66e148=_0x3aafc7[_0x50a895([0x6a,0x74,0x69])],_0x236842=window[_0x50a895([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x66e148[_0x50a895([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x66e148[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c59a8={..._0x3aafc7,[_0x50a895([0x6a,0x74,0x69])]:_0x66e148[_0x50a895([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x66e148[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c59a8[_0x50a895([0x76,0x63])],_0x11a788(_0x4c59a8)==_0x236842;}}}async function _0x1c7251(){let _0x5c6461=!0x0;try{const _0x3c08a3=_0x5e9b15[_0x50a895([0x73,0x70,0x6c,0x69,0x74])](_0x50a895([0x2e])),[_0x52cac2,_0x47a3dc,_0x217a6a]=_0x3c08a3;return _0x5ce5b6(_0x52cac2),await _0x15c1a8(_0x52cac2,_0x47a3dc,_0x217a6a),_0x5c6461;}catch(_0x3e9579){return!0x1;}function _0x5ce5b6(_0x5737cf){const _0x3d4e59=_0xeea3db(_0x5737cf);_0x3d4e59&&_0x3d4e59[_0x50a895([0x61,0x6c,0x67])]==_0x50a895([0x45,0x53,0x32,0x35,0x36])||(_0x5c6461=!0x1);}async function _0x15c1a8(_0x4cba51,_0x175d1e,_0x3f4a61){const _0x3fc541=window[_0x50a895([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50a895([0x66,0x72,0x6f,0x6d])](_0x48371f(_0x3f4a61),_0x33f2b1=>_0x33f2b1[_0x50a895([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b9aa1=new window[(_0x50a895([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50a895([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cba51+_0x50a895([0x2e])+_0x175d1e),_0x3014f9=window[_0x50a895([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50a895([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3014f9)return;const _0x24619a=await _0x3014f9[_0x50a895([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50a895([0x6a,0x77,0x6b]),_0x52baf8,{[_0x50a895([0x6e,0x61,0x6d,0x65])]:_0x50a895([0x45,0x43,0x44,0x53,0x41]),[_0x50a895([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50a895([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50a895([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3014f9[_0x50a895([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50a895([0x6e,0x61,0x6d,0x65])]:_0x50a895([0x45,0x43,0x44,0x53,0x41]),[_0x50a895([0x68,0x61,0x73,0x68])]:{[_0x50a895([0x6e,0x61,0x6d,0x65])]:_0x50a895([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24619a,_0x3fc541,_0x1b9aa1)||(_0x5c6461=!0x1);}}function _0xeea3db(_0x1b04ae){return _0x1b04ae[_0x50a895([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50a895([0x65,0x79]))?JSON[_0x50a895([0x70,0x61,0x72,0x73,0x65])](_0x48371f(_0x1b04ae)):null;}function _0x48371f(_0x3b23f0){return window[_0x50a895([0x61,0x74,0x6f,0x62])](_0x3b23f0[_0x50a895([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50a895([0x2b]))[_0x50a895([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50a895([0x2f])));}function _0x11a788(_0x2fed12){let _0xa5a0ab=0x1505;function _0x6814ce(_0x50620b){for(let _0x52b213=0x0;_0x52b213<_0x50620b[_0x50a895([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52b213++){const _0x307906=_0x50620b[_0x50a895([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52b213);_0xa5a0ab=(_0xa5a0ab<<0x5)+_0xa5a0ab+_0x307906,_0xa5a0ab&=_0xa5a0ab;}}function _0x433250(_0x5e35a9){Array[_0x50a895([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e35a9)?_0x5e35a9[_0x50a895([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x433250):_0x5e35a9&&typeof _0x5e35a9==_0x50a895([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50a895([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e35a9)[_0x50a895([0x73,0x6f,0x72,0x74])]()[_0x50a895([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40c121,_0x3fde4e])=>{_0x6814ce(_0x40c121),_0x433250(_0x3fde4e);}):_0x6814ce(window[_0x50a895([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e35a9));}return _0x433250(_0x2fed12),_0xa5a0ab>>>0x0;}function _0x3df1be(_0x472d39){return _0x472d39[_0x50a895([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50a895([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50a895([0x30]));}function _0x30dd2d(_0x456607){return _0x456607[_0x50a895([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50a895([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50a895([0x6a,0x6f,0x69,0x6e])]('');}function _0x449c41(){}function _0x50a895(_0x5a0dc0){return _0x5a0dc0['map'](_0x5bf891=>String['fromCharCode'](_0x5bf891))['join']('');}_0x45c828(await _0x4821a5());}(this);}['_initSchema'](){const _0x183b62=this['editor']['model']['schema'];_0x183b62['isRegistered']('imageBlock')&&_0x183b62['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x183b62['isRegistered']('imageInline')&&_0x183b62['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5294e9=this['editor'];_0x5294e9['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5294e9['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x23f19c=>_0x23f19c['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b7dff=_0x5294e9['commands']['get']('replaceImageSource');_0x2b7dff&&this['listenTo'](_0x2b7dff,'cleanupImage',(_0x1734c7,[_0x2b34f0,_0x179d3c])=>{_0x2b34f0['removeAttribute']('uploadcareImageId',_0x179d3c);});}['_initConfig'](){const _0xa20a16=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4e1a00=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x47ac24(_0x33f6e1['document'],'uc-config',{..._0xa20a16,'pubkey':_0x4e1a00,'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']=_0x4b83b6=>{if('closeMax'==_0x4b83b6)return'#uc-icon-arrow-down';},_0x33f6e1['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x47ac24(_0x33f6e1['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x33f6e1['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2570de=this['editor']['commands']['get']('insertImage');_0x2570de&&this['listenTo'](_0x2570de,'execute',()=>{const _0x574649=this['editor']['model']['document']['selection']['getSelectedElement']();_0x574649&&_0x574649['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x574649);});});const _0x4e61cc=this['editor']['commands']['get']('uploadcareImageReplace');_0x4e61cc&&this['listenTo'](_0x4e61cc,'execute',()=>{const _0x2629a6=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2629a6&&_0x2629a6['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x2629a6);});});}}class u extends _0x3e9b03{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41cb84){super(_0x41cb84),_0x41cb84['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x3824e9['defineComponents'](_0x3824e9);}}class ta extends _0x13f9b6{constructor(_0x500c74){super(_0x500c74);const t=_0x500c74['t'],_0x1f3f10=this['bindTemplate'],_0x5546bd=new _0x101ee0();_0x5546bd['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':[_0x5546bd,{'text':_0x1f3f10['to']('imageUploadProgress',_0x1ba8df=>t('Loading\x20image...')+'\x20('+(_0x1ba8df||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 _0x13f9b6{constructor(_0xb329eb){super(_0xb329eb);const t=_0xb329eb['t'];this['set']('errorType',null);const _0x2df5d3=new _0x49ae17(_0xb329eb);_0x2df5d3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2df5d3['withText']=!0x0,_0x2df5d3['class']='ck-button-action',_0x2df5d3['on']('execute',()=>{this['fire']('retry');}),_0x2df5d3['bind']('isVisible')['to'](this,'errorType',_0x3b7f4f=>'NotFound'!==_0x3b7f4f);const _0x731c0f=new at();_0x731c0f['content']=et,_0x731c0f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x14de11=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':[_0x731c0f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x14de11['to']('errorType',_0x296f3f=>t('NotFound'!==_0x296f3f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2df5d3]},{'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 _0x13f9b6{constructor(_0x199b07,_0xf48f4b){super(_0x199b07);const _0xb6faf5=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xf48f4b,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0xb6faf5['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5c9eb2,_0x7fafca,_0x18b9ce){super(_0x5c9eb2),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x5c9eb2),this['_errorView']=new rt(_0x5c9eb2),this['_editingView']=new tt(_0x5c9eb2,_0x18b9ce),this['_focusableView']=new _0x13f9b6(_0x5c9eb2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x7fafca),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'],_0xcd3209=>{this['_addUploadcareImageEditorListeners'](_0xcd3209);});}),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'](_0x37bd34,_0x3aa261){const _0x440554='uc-cloud-image-editor',_0x47acac=_0x37bd34['querySelector'](_0x440554);if(_0x47acac)return _0x3aa261(_0x47acac);const _0x43a8b6=new MutationObserver(_0x474bc4=>{const _0x57244a=_0x474bc4['filter'](_0x18bfbc=>_0x18bfbc['target']===_0x37bd34&&_0x18bfbc['addedNodes']['length']>0x0&&_0x18bfbc['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x440554);_0x57244a['length']&&(_0x43a8b6['disconnect'](),_0x3aa261(_0x57244a[0x0]['addedNodes'][0x0]));});_0x43a8b6['observe'](_0x37bd34,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x1fedaf){_0x1fedaf['addEventListener']('apply',_0x13f1f1=>{this['fire']('apply',{'imageSrc':_0x13f1f1['detail']['cdnUrl']});}),_0x1fedaf['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
+ _0x3b1dd5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x32644c,_0x2fda80,_0x293136){super(),this['_editor']=_0x32644c,this['_dialog']=_0x2fda80,this['_imageElement']=_0x293136,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 _0x3a870c=this['_imageElement'],_0x170ffa=_0x3a870c['getAttribute']('uploadcareImageId'),_0x4570a0=_0x3a870c['getAttribute']('src');if(_0x170ffa)await this['_loadImageInfo'](_0x170ffa,_0x4570a0);else{if(this['_imageCache']['has'](_0x4570a0)){const _0x51bb86=this['_imageCache']['get'](_0x4570a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51bb86['url'],this['imageDimension']=_0x51bb86['dimension'],this['imageId']=_0x51bb86['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1576e8}=this['_editor'],t=_0x1576e8['t'],_0x3c4596=new Z(_0x1576e8,this['imageStatus'],this['_attributes']);_0x3c4596['bind']('status')['to'](this,'imageStatus'),_0x3c4596['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c4596['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c4596['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c4596,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5343dc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c4596,'position':_0x55b218['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c4596['focus']();},'onHide':()=>{_0x3c4596['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5f2900=>!F(_0x5f2900,_0x3c4596['element'])}});}['_loadImageInfo'](_0x5cbcee,_0x2014fc){return C['getInfo'](_0x5cbcee,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x208e71=>{const {width:_0x2b0050,height:_0x272cf8}=_0x208e71['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2014fc,this['imageDimension']={'width':_0x2b0050,'height':_0x272cf8},this['imageId']=_0x5cbcee;})['catch'](_0x325393=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x325393['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x474655,_0x4bfbac){return this['_getImageAsFile'](_0x474655)['then'](_0x511331=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4bfbac['signal'],'file':_0x511331,'onProgress':_0x2b8ccf=>{_0x2b8ccf&&_0x2b8ccf['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b8ccf['value']));}}))['then'](_0x2b6f94=>{const {width:_0x10ede5,height:_0x2dfbdf}=_0x2b6f94['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b6f94['cdnUrl'],this['imageDimension']={'width':_0x10ede5,'height':_0x2dfbdf},this['imageId']=_0x2b6f94['uuid'],this['imageUploadProgress']=null;const _0x178139=_0x474655['getAttribute']('src');this['_imageCache']['set'](_0x178139,{'id':_0x2b6f94['uuid'],'url':_0x2b6f94['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x9f1717=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9f1717['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3aedcf,_0xf4eb93){_0x3aedcf['on']('apply',(_0x2de4c9,_0x563af1)=>{this['_replaceImage'](_0xf4eb93,_0x563af1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3aedcf['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3aedcf['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x483779,_0x47aaef,_0x4a259e){const _0x285980=this['_editor'],{width:_0xe43bd1,height:_0x3980b2}=A(_0x47aaef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x33291f,imageSources:_0xc3928}=E(_0x47aaef,_0xe43bd1);_0x285980['model']['change'](_0x5d122d=>{if('$graveyard'===_0x483779['root']['rootName']){_0x285980['execute']('insertImage',{'imageType':_0x483779['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x483779['getAttributes']()),'uploadcareImageId':_0x4a259e,'src':_0x33291f,'sources':_0xc3928,'width':_0xe43bd1,'height':_0x3980b2}});const _0x599c7a=_0x483779['getChildren']();_0x483779=_0x285980['model']['document']['selection']['getSelectedElement']();for(const _0x3f9564 of _0x599c7a)_0x5d122d['append'](_0x5d122d['cloneElement'](_0x3f9564),_0x483779);}else _0x5d122d['setSelection'](_0x483779,'on'),_0x285980['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x483779['getAttributes']()),'uploadcareImageId':_0x4a259e,'src':_0x33291f,'sources':_0xc3928,'width':_0xe43bd1,'height':_0x3980b2},_0x483779);_0x5d122d['setSelection'](_0x483779,'on');});}async['_getImageAsFile'](_0x44fd77){const _0x160a34=_0x33f6e1['window'],_0x2ceab7=_0x33f6e1['document']['location']['href'],_0xb1a93c=new _0x160a34['URL'](_0x44fd77['getAttribute']('src'),_0x2ceab7);if('data:'===_0xb1a93c['protocol']){const _0x4d9517=_0xb1a93c['href']['split'](','),_0x1b6a9f=_0x4d9517[0x0]['match'](/:(.*?);/)[0x1],_0x2980cc=_0x1b6a9f['split']('/')[0x1],_0x15cbda=_0x160a34['atob'](_0x4d9517[_0x4d9517['length']-0x1]);let _0x4060ff=_0x15cbda['length'];const _0x2716cf=new _0x160a34['Uint8Array'](_0x4060ff);for(;_0x4060ff--;)_0x2716cf[_0x4060ff]=_0x15cbda['charCodeAt'](_0x4060ff);return new _0x160a34['File']([_0x2716cf],'image.'+_0x2980cc,{'type':_0x1b6a9f});}const _0x34cb46=_0xb1a93c['href']['split']('/'),_0x53b056=_0x34cb46[_0x34cb46['length']-0x1],_0x3b4382=_0x53b056['split']('.')[0x1];return _0x160a34['fetch'](_0xb1a93c['href'])['then'](_0x378348=>_0x378348['clone']()['blob']())['then'](_0x18bbbe=>new _0x160a34['File']([_0x18bbbe],_0x53b056,{'type':'image/'+_0x3b4382}));}}class J extends _0x3ac5a0{['imageEditController'];static get['requires'](){return[_0x1faddd];}['_isEditable'];constructor(_0x49e4cd){super(_0x49e4cd),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x505721){const _0x322110=V(_0x505721);return _0x530ad0=>!(!_0x530ad0||!_0x530ad0['is']('element','imageBlock')&&!_0x530ad0['is']('element','imageInline'))&&(!!_0x530ad0['hasAttribute']('uploadcareImageId')||!!_0x530ad0['hasAttribute']('src')&&_0x322110(_0x530ad0['getAttribute']('src')));}(_0x49e4cd['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x564b1f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x564b1f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x98a388=this['editor']['model']['document']['selection']['getSelectedElement']();_0x98a388&&(_0x98a388['is']('element','imageBlock')||_0x98a388['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x1faddd),_0x98a388),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0x3ac5a0{['refresh'](){const _0x16ee52=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x16ee52&&(_0x16ee52['is']('element','imageBlock')||_0x16ee52['is']('element','imageInline')));}['execute'](_0xdde848){const _0x5c7c32=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x10a45b=>{_0x10a45b['setAttributes'](_0xdde848,_0x5c7c32),_0x10a45b['removeAttribute']('srcset',_0x5c7c32),_0x10a45b['removeAttribute']('sizes',_0x5c7c32);});}}class g extends _0x3e9b03{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x5000a9,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52c100}=this;_0x52c100['commands']['add']('uploadcareImageEdit',new J(_0x52c100)),_0x52c100['commands']['add']('uploadcareImageReplace',new O(_0x52c100));}}class j extends _0x3e9b03{['_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 _0x3beeff=this['editor'];_0x3beeff['ui']['componentFactory']['add']('uploadcareImageEdit',_0x301b7e=>{const _0x486319=_0x3beeff['commands']['get']('uploadcareImageEdit'),_0x4bdf8d=new _0x49ae17(_0x301b7e),t=_0x301b7e['t'];return _0x4bdf8d['set']({'icon':_0x5343dc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4bdf8d['bind']('isEnabled')['to'](_0x486319),_0x4bdf8d['bind']('isOn')['to'](_0x486319,'isActive'),this['listenTo'](_0x4bdf8d,'execute',()=>{_0x3beeff['execute']('uploadcareImageEdit'),_0x3beeff['editing']['view']['focus']();}),_0x4bdf8d;}),this['_initConfig']();}['_initConfig'](){const _0x5d4ec8=_0x47ac24(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d4ec8),this['listenTo'](this['editor'],'destroy',()=>{_0x5d4ec8['remove']();});}}class P extends _0x3e9b03{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':_0x5f11b0=>0x1!=_0x5f11b0}};
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':_0x541c90=>0x1!=_0x541c90}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2478bf=>{const {af:{dictionary:_0x273b72,getPluralForm:_0x46c9da}}={'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':_0x25080b=>0x1!=_0x25080b}};_0x2478bf['af']||={'dictionary':{},'getPluralForm':null},_0x2478bf['af']['dictionary']=Object['assign'](_0x2478bf['af']['dictionary'],_0x273b72),_0x2478bf['af']['getPluralForm']=_0x46c9da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x76c7e6=>{const {af:{dictionary:_0x2de845,getPluralForm:_0x549d11}}={'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':_0x5fe4b8=>0x1!=_0x5fe4b8}};_0x76c7e6['af']||={'dictionary':{},'getPluralForm':null},_0x76c7e6['af']['dictionary']=Object['assign'](_0x76c7e6['af']['dictionary'],_0x2de845),_0x76c7e6['af']['getPluralForm']=_0x549d11;})(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':_0x27cd88=>0x0==_0x27cd88?0x0:0x1==_0x27cd88?0x1:0x2==_0x27cd88?0x2:_0x27cd88%0x64>=0x3&&_0x27cd88%0x64<=0xa?0x3:_0x27cd88%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':_0x5c37bd=>0x0==_0x5c37bd?0x0:0x1==_0x5c37bd?0x1:0x2==_0x5c37bd?0x2:_0x5c37bd%0x64>=0x3&&_0x5c37bd%0x64<=0xa?0x3:_0x5c37bd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x531ac5=>{const {ar:{dictionary:_0x1ac4e5,getPluralForm:_0x39b97e}}={'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':_0x2c2c42=>0x0==_0x2c2c42?0x0:0x1==_0x2c2c42?0x1:0x2==_0x2c2c42?0x2:_0x2c2c42%0x64>=0x3&&_0x2c2c42%0x64<=0xa?0x3:_0x2c2c42%0x64>=0xb?0x4:0x5}};_0x531ac5['ar']||={'dictionary':{},'getPluralForm':null},_0x531ac5['ar']['dictionary']=Object['assign'](_0x531ac5['ar']['dictionary'],_0x1ac4e5),_0x531ac5['ar']['getPluralForm']=_0x39b97e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4cab40=>{const {ar:{dictionary:_0x1f5d30,getPluralForm:_0x24d4c6}}={'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':_0x18189b=>0x0==_0x18189b?0x0:0x1==_0x18189b?0x1:0x2==_0x18189b?0x2:_0x18189b%0x64>=0x3&&_0x18189b%0x64<=0xa?0x3:_0x18189b%0x64>=0xb?0x4:0x5}};_0x4cab40['ar']||={'dictionary':{},'getPluralForm':null},_0x4cab40['ar']['dictionary']=Object['assign'](_0x4cab40['ar']['dictionary'],_0x1f5d30),_0x4cab40['ar']['getPluralForm']=_0x24d4c6;})(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':_0x519add=>0x1!=_0x519add}};
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':_0x7a658e=>0x1!=_0x7a658e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ad993=>{const {ast:{dictionary:_0xac54fd,getPluralForm:_0x5205a5}}={'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':_0x5b5c6b=>0x1!=_0x5b5c6b}};_0x1ad993['ast']||={'dictionary':{},'getPluralForm':null},_0x1ad993['ast']['dictionary']=Object['assign'](_0x1ad993['ast']['dictionary'],_0xac54fd),_0x1ad993['ast']['getPluralForm']=_0x5205a5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b1f00=>{const {ast:{dictionary:_0x44aa83,getPluralForm:_0x1f627f}}={'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':_0x3d40a7=>0x1!=_0x3d40a7}};_0x2b1f00['ast']||={'dictionary':{},'getPluralForm':null},_0x2b1f00['ast']['dictionary']=Object['assign'](_0x2b1f00['ast']['dictionary'],_0x44aa83),_0x2b1f00['ast']['getPluralForm']=_0x1f627f;})(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':_0x273d1b=>0x1!=_0x273d1b}};
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':_0x102cb2=>0x1!=_0x102cb2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53ca62=>{const {az:{dictionary:_0xeccc91,getPluralForm:_0x1462ef}}={'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':_0x1af1d8=>0x1!=_0x1af1d8}};_0x53ca62['az']||={'dictionary':{},'getPluralForm':null},_0x53ca62['az']['dictionary']=Object['assign'](_0x53ca62['az']['dictionary'],_0xeccc91),_0x53ca62['az']['getPluralForm']=_0x1462ef;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2971f9=>{const {az:{dictionary:_0x1b2dd1,getPluralForm:_0x187782}}={'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':_0xb4f252=>0x1!=_0xb4f252}};_0x2971f9['az']||={'dictionary':{},'getPluralForm':null},_0x2971f9['az']['dictionary']=Object['assign'](_0x2971f9['az']['dictionary'],_0x1b2dd1),_0x2971f9['az']['getPluralForm']=_0x187782;})(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':_0x4d19b0=>_0x4d19b0%0xa==0x1&&_0x4d19b0%0x64!=0xb?0x0:_0x4d19b0%0xa>=0x2&&_0x4d19b0%0xa<=0x4&&(_0x4d19b0%0x64<0xa||_0x4d19b0%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':_0x236adc=>_0x236adc%0xa==0x1&&_0x236adc%0x64!=0xb?0x0:_0x236adc%0xa>=0x2&&_0x236adc%0xa<=0x4&&(_0x236adc%0x64<0xa||_0x236adc%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x53e834=>{const {be:{dictionary:_0x2e57fe,getPluralForm:_0x5fa3ac}}={'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':_0x21a3bb=>_0x21a3bb%0xa==0x1&&_0x21a3bb%0x64!=0xb?0x0:_0x21a3bb%0xa>=0x2&&_0x21a3bb%0xa<=0x4&&(_0x21a3bb%0x64<0xa||_0x21a3bb%0x64>=0x14)?0x1:0x2}};_0x53e834['be']||={'dictionary':{},'getPluralForm':null},_0x53e834['be']['dictionary']=Object['assign'](_0x53e834['be']['dictionary'],_0x2e57fe),_0x53e834['be']['getPluralForm']=_0x5fa3ac;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x103d36=>{const {be:{dictionary:_0x6f6e75,getPluralForm:_0x417863}}={'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':_0x53aeec=>_0x53aeec%0xa==0x1&&_0x53aeec%0x64!=0xb?0x0:_0x53aeec%0xa>=0x2&&_0x53aeec%0xa<=0x4&&(_0x53aeec%0x64<0xa||_0x53aeec%0x64>=0x14)?0x1:0x2}};_0x103d36['be']||={'dictionary':{},'getPluralForm':null},_0x103d36['be']['dictionary']=Object['assign'](_0x103d36['be']['dictionary'],_0x6f6e75),_0x103d36['be']['getPluralForm']=_0x417863;})(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':_0x5877e3=>0x1!=_0x5877e3}};
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':_0x253e41=>0x1!=_0x253e41}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a410c=>{const {bg:{dictionary:_0x58f495,getPluralForm:_0x1c603c}}={'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':_0x1538c6=>0x1!=_0x1538c6}};_0x5a410c['bg']||={'dictionary':{},'getPluralForm':null},_0x5a410c['bg']['dictionary']=Object['assign'](_0x5a410c['bg']['dictionary'],_0x58f495),_0x5a410c['bg']['getPluralForm']=_0x1c603c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56c271=>{const {bg:{dictionary:_0x26d652,getPluralForm:_0x3bbffc}}={'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':_0x545316=>0x1!=_0x545316}};_0x56c271['bg']||={'dictionary':{},'getPluralForm':null},_0x56c271['bg']['dictionary']=Object['assign'](_0x56c271['bg']['dictionary'],_0x26d652),_0x56c271['bg']['getPluralForm']=_0x3bbffc;})(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':_0x2f67ff=>0x1!=_0x2f67ff}};
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':_0x1bd49e=>0x1!=_0x1bd49e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38b84d=>{const {bn:{dictionary:_0x181a8e,getPluralForm:_0x41e09d}}={'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':_0x2bd051=>0x1!=_0x2bd051}};_0x38b84d['bn']||={'dictionary':{},'getPluralForm':null},_0x38b84d['bn']['dictionary']=Object['assign'](_0x38b84d['bn']['dictionary'],_0x181a8e),_0x38b84d['bn']['getPluralForm']=_0x41e09d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x15f949=>{const {bn:{dictionary:_0x2170b8,getPluralForm:_0x1de8ec}}={'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':_0x4d5c56=>0x1!=_0x4d5c56}};_0x15f949['bn']||={'dictionary':{},'getPluralForm':null},_0x15f949['bn']['dictionary']=Object['assign'](_0x15f949['bn']['dictionary'],_0x2170b8),_0x15f949['bn']['getPluralForm']=_0x1de8ec;})(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':_0x142530=>_0x142530%0xa==0x1&&_0x142530%0x64!=0xb?0x0:_0x142530%0xa>=0x2&&_0x142530%0xa<=0x4&&(_0x142530%0x64<0xa||_0x142530%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':_0x3d9982=>_0x3d9982%0xa==0x1&&_0x3d9982%0x64!=0xb?0x0:_0x3d9982%0xa>=0x2&&_0x3d9982%0xa<=0x4&&(_0x3d9982%0x64<0xa||_0x3d9982%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x43c90c=>{const {bs:{dictionary:_0x132bf3,getPluralForm:_0x1ca622}}={'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':_0x4b1008=>_0x4b1008%0xa==0x1&&_0x4b1008%0x64!=0xb?0x0:_0x4b1008%0xa>=0x2&&_0x4b1008%0xa<=0x4&&(_0x4b1008%0x64<0xa||_0x4b1008%0x64>=0x14)?0x1:0x2}};_0x43c90c['bs']||={'dictionary':{},'getPluralForm':null},_0x43c90c['bs']['dictionary']=Object['assign'](_0x43c90c['bs']['dictionary'],_0x132bf3),_0x43c90c['bs']['getPluralForm']=_0x1ca622;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4522f2=>{const {bs:{dictionary:_0x277469,getPluralForm:_0x58c61f}}={'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':_0x41f0b0=>_0x41f0b0%0xa==0x1&&_0x41f0b0%0x64!=0xb?0x0:_0x41f0b0%0xa>=0x2&&_0x41f0b0%0xa<=0x4&&(_0x41f0b0%0x64<0xa||_0x41f0b0%0x64>=0x14)?0x1:0x2}};_0x4522f2['bs']||={'dictionary':{},'getPluralForm':null},_0x4522f2['bs']['dictionary']=Object['assign'](_0x4522f2['bs']['dictionary'],_0x277469),_0x4522f2['bs']['getPluralForm']=_0x58c61f;})(window['CKEDITOR_TRANSLATIONS']||={});