@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250402.0 → 0.0.0-nightly-20250404.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/LICENSE.md +2 -2
  2. package/build/uploadcare.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.js +2 -2
  151. package/src/ui/uploadcareformview.js +1 -1
  152. package/src/uploadcare.js +1 -1
  153. package/src/uploadcarecommand.js +1 -1
  154. package/src/uploadcareconfig.js +1 -1
  155. package/src/uploadcareediting.js +1 -1
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  165. package/src/uploadcareimageedit.js +1 -1
  166. package/src/uploadcareui.js +1 -1
  167. package/src/uploadcareuploadadapter.js +1 -1
  168. package/src/utils/common-translations.js +1 -1
  169. package/src/utils/dialogfocusmanagerview.js +1 -1
  170. package/src/utils/editingutils.js +1 -1
  171. package/src/utils/isancestor.js +1 -1
  172. 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 _0x4ea000,Command as _0xc4f8ac}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x13a1ce,IconGooglePhotos as _0x970829,IconGoogleDrive as _0x1d09e0,IconFacebook as _0x5f2a05,IconDropbox as _0x1d3c04,IconUploadcareLink as _0x3ed039,IconUploadcareImageUpload as _0x1de36c,IconError as et,IconUploadcareImageEdit as _0xcc4bda}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x4aa3de,MenuBarMenuListItemButtonView as _0xb9d8e9,View as _0x53e6cd,FocusCycler as _0x19c5e1,Dialog as _0x229546,DialogViewPosition as _0x1abee9,SpinnerView as _0x3fba93,IconView as at,Notification as _0x53017a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0x33c466,DomEmitterMixin as _0x1bba4d,global as _0x51bda0,getAncestors as _0x3fccd7,ObservableMixin as _0x4fca61,createElement as _0x3fb6af,uid as _0x3e5792}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x1036e9}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x36aecd,info as _0x293c06}from'@uploadcare/upload-client';import*as _0x270be8 from'@uploadcare/file-uploader';var o=function(_0x5c1383){return _0x5c1383['Local']='local',_0x5c1383['URL']='url',_0x5c1383['Dropbox']='dropbox',_0x5c1383['GDrive']='gdrive',_0x5c1383['Facebook']='facebook',_0x5c1383['GPhotos']='gphotos',_0x5c1383['OneDrive']='onedrive',_0x5c1383;}({});function _(_0x306f33,_0x516a10,_0x3f5c25){const t=_0x306f33['t'],_0x484c3e=_0x306f33['t'];switch(_0x516a10){case o['Local']:return{'text':_0x484c3e('Insert'===_0x3f5c25?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x484c3e('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x3f5c25?_0x484c3e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x484c3e('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x3f5c25?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x3f5c25?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x3f5c25?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x3f5c25?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x3f5c25?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x516a10;}}class e extends _0x4ea000{['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 _0x4f811e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6fc35b;for(const _0x46fa64 in _0x4f811e){const _0x2b06ea=_0x46fa64,_0x2474ff=_0x4f811e[_0x2b06ea];if('uploadcareLicenseKeyValid'==_0x2474ff||'uploadcareLicenseKeyInvalid'==_0x2474ff||'uploadcareLicenseKeyExpired'==_0x2474ff||'uploadcareLicenseKeyDomainLimit'==_0x2474ff||'uploadcareLicenseKeyNotAllowed'==_0x2474ff||'uploadcareLicenseKeyEvaluationLimit'==_0x2474ff||'uploadcareLicenseKeyTrialLimit'==_0x2474ff||'uploadcareLicenseKeyUsageLimit'==_0x2474ff){delete _0x4f811e[_0x2b06ea],_0x6fc35b=_0x2474ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x6fc35b&&_0x4f811e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x6fc35b&&_0x4f811e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x6fc35b&&_0x4f811e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x6fc35b&&_0x4f811e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x6fc35b&&_0x4f811e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x6fc35b&&_0x4f811e['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x6fc35b&&_0x4f811e['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x44f22a}=this,_0x29e2e1=_0x44f22a['commands']['get']('uploadcare');if(!_0x29e2e1)return;const _0x557480=this['_normalizeConfigSourceList'](_0x44f22a['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x33051e,_0x3bb45d)=>{const _0x247650=this['_getIntegrationKey'](_0x3bb45d['type']);return _0x33051e[_0x247650]||(_0x33051e[_0x247650]=[]),_0x33051e[_0x247650]['push'](_0x3bb45d),_0x33051e;},{});_0x44f22a['plugins']['has']('ImageInsertUI')&&_0x44f22a['commands']['get']('uploadcare')&&Object['entries'](_0x557480)['forEach'](([_0x409382,_0x1e0d61])=>{_0x44f22a['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x409382,'observable':()=>_0x29e2e1,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1e0d61),'formViewCreator':()=>this['_createDropdownButtons'](_0x1e0d61),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1e0d61),'override':'assetManager'!==_0x409382});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x36f6e7){const {locale:_0x1b388d}=this['editor'];return _0x36f6e7['map'](_0x13eb1b=>{const _0x24444c=_(_0x1b388d,_0x13eb1b,'Insert');switch(_0x13eb1b){case o['Local']:return{'icon':_0x1de36c,'type':o['Local'],..._0x24444c};case o['URL']:return{'icon':_0x3ed039,'type':o['URL'],..._0x24444c};case o['Dropbox']:return{'icon':_0x1d3c04,'type':o['Dropbox'],..._0x24444c};case o['Facebook']:return{'icon':_0x5f2a05,'type':o['Facebook'],..._0x24444c};case o['GDrive']:return{'icon':_0x1d09e0,'type':o['GDrive'],..._0x24444c};case o['GPhotos']:return{'icon':_0x970829,'type':o['GPhotos'],..._0x24444c};case o['OneDrive']:return{'icon':_0x13a1ce,'type':o['OneDrive'],..._0x24444c};}});}['_getIntegrationKey'](_0x422e58){switch(_0x422e58){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0xa4ae0d,_0x4476e5){const _0x37e8cb=this['editor'],_0x1f5174=new _0xa4ae0d(_0x37e8cb['locale']),_0x3b7121=_0x37e8cb['commands']['get']('uploadcare');return _0x1f5174['bind']('isEnabled')['to'](_0x3b7121),_0x1f5174['on']('execute',()=>{_0x3b7121['execute'](_0x4476e5);}),_0x1f5174;}['_createToolbarButton'](_0x5c12a9){const {locale:_0xe8f786}=this['editor'],_0x21945c=this['editor']['plugins']['get']('ImageInsertUI'),_0x8dee38=_0x5c12a9[0x0],_0x5cbe6c=this['_createButton'](_0x4aa3de,_0x8dee38['type']);return _0x5cbe6c['icon']=_0x8dee38['icon'],_0x5cbe6c['bind']('label')['to'](_0x21945c,'isImageSelected',_0x4af830=>_(_0xe8f786,_0x8dee38['type'],_0x4af830?'Replace':'Insert')['text']),_0x5cbe6c['tooltip']=!0x0,_0x5cbe6c;}['_createDropdownButtons'](_0x1e9a4c){const {locale:_0x237fb8}=this['editor'],_0x12fcd1=this['editor']['plugins']['get']('ImageInsertUI');return _0x1e9a4c['map'](_0x2501fd=>{const _0x378b0d=this['_createButton'](_0x4aa3de,_0x2501fd['type']);return _0x378b0d['withText']=!0x0,_0x378b0d['icon']=_0x2501fd['icon'],_0x378b0d['bind']('label')['to'](_0x12fcd1,'isImageSelected',_0x353e32=>_(_0x237fb8,_0x2501fd['type'],_0x353e32?'Replace':'Insert')['text']),_0x378b0d;});}['_createMenuBarButtons'](_0x201372){return _0x201372['map'](_0x1b198c=>{const _0x1e922b=this['_createButton'](_0xb9d8e9,_0x1b198c['type']);return _0x1e922b['icon']=_0x1b198c['icon'],_0x1e922b['label']=_0x1b198c['shortText'],_0x1e922b;});}}class q extends _0x53e6cd{['focusTracker'];['focusCycler'];constructor(_0x266849){super(_0x266849),this['focusTracker']=new _0x33c466(),this['focusCycler']=new _0x19c5e1({'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(_0x5d64c2){super(_0x5d64c2),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(_0x5eb700,_0x382a54){const _0x16abf9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x56f7a6=>_0x56f7a6<=_0x382a54)['map'](_0x141ff7=>_0x5eb700['replace'](/\/$/,'')+'/-/resize/'+_0x141ff7+'x/\x20'+_0x141ff7+'w');return{'imageFallbackUrl':_0x5eb700,'imageSources':[{'srcset':_0x16abf9['join'](',\x20'),'sizes':'(max-width:\x20'+_0x382a54+'px)\x20100vw,\x20'+_0x382a54+'px','type':'image/webp'}]};}function A(_0x5ea0db,_0x19ba6a,_0x96f1b4){const _0x391b67=_0x5ea0db['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x391b67?parseInt(_0x391b67[0x1],0xa):_0x19ba6a,'height':_0x391b67?parseInt(_0x391b67[0x2],0xa):_0x96f1b4};}function m(_0x531dd1,_0x39f516){const _0x18ab91=Object['create'](_0x1bba4d),_0x3e5df5=_0x531dd1['plugins']['get']('ImageUtils'),_0x210dbc=_0x531dd1['editing']['mapper']['toViewElement'](_0x39f516),_0x7e0343=_0x3e5df5['findViewImgElement'](_0x210dbc),_0x23b0ab=_0x531dd1['editing']['view']['domConverter']['viewToDom'](_0x7e0343),_0x22e1cb=_0x39f516['getAttribute']('width'),_0x3da679=_0x39f516['getAttribute']('height'),_0x4794f2='image-processing';_0x531dd1['editing']['view']['change'](_0x34a01c=>{_0x34a01c['addClass'](_0x4794f2,_0x210dbc),_0x34a01c['setStyle']('aspect-ratio',_0x22e1cb+'/'+_0x3da679,_0x7e0343);}),_0x18ab91['listenTo'](_0x23b0ab,'load',()=>{_0x18ab91['stopListening'](_0x23b0ab,'load'),_0x531dd1['editing']['view']['change'](_0xf6e9c3=>{_0xf6e9c3['removeClass'](_0x4794f2,_0x210dbc),_0xf6e9c3['removeStyle']('aspect-ratio',_0x7e0343);});});}function V(_0x21082b){if(Array['isArray'](_0x21082b)){const _0x737027=_0x21082b['map'](V);return _0x400e15=>_0x737027['some'](_0x20a1e1=>_0x20a1e1(_0x400e15));}if('origin'==_0x21082b){const _0x898efc=_0x51bda0['window']['location']['origin'];return _0x286058=>new URL(_0x286058,_0x51bda0['document']['baseURI'])['origin']==_0x898efc;}return'function'==typeof _0x21082b?_0x21082b:_0x21082b instanceof RegExp?_0x4f42e0=>!(!_0x4f42e0['match'](_0x21082b)&&!_0x4f42e0['replace'](/^https?:\/\//,'')['match'](_0x21082b)):()=>!0x1;}function F(_0xf57359,_0x5a6541){return _0x3fccd7(_0xf57359['target'])['includes'](_0x5a6541);}class l extends/* #__PURE__ -- @preserve */
24
- _0x4fca61(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x5aabb6,_0x46539d,_0x157a94){super(),this['_editor']=_0x5aabb6,this['_editing']=_0x46539d,this['_dialog']=_0x5aabb6['plugins']['get'](_0x229546),this['_api']=_0x46539d['ctxElement']['getAPI'](),this['_type']=_0x157a94,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:_0x4c0b77,model:_0x39eebf}=this['_editor'],_0x1b796a=_0x39eebf['document']['selection']['getSelectedElement'](),_0x5ecad6=_0x1b796a&&(_0x1b796a['is']('element','imageBlock')||_0x1b796a['is']('element','imageInline'));this['_formView']=new S(_0x4c0b77),this['_dialog']['show']({'id':'uploadCare','icon':_0x1de36c,'title':_(_0x4c0b77,this['_type'],_0x5ecad6?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1abee9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1e4ccf=>!F(_0x1e4ccf,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4e9282}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x588c8d=>{const _0x59d575=_0x4e9282['length'];for(const _0x42230e of _0x4e9282){const _0x47ffa1=_0x42230e===_0x4e9282[_0x59d575-0x1],{cdnUrl:_0x4eb8eb,fileInfo:_0x63cb9f}=_0x42230e;if(!_0x4eb8eb||!_0x63cb9f)continue;const {width:_0x428bea,height:_0x29919e}=_0x63cb9f['imageInfo'],_0x4facb8=A(_0x4eb8eb,_0x428bea,_0x29919e),_0x55bd36=E(_0x4eb8eb,_0x4facb8['width']),_0x14e19a={'id':_0x63cb9f['uuid'],'type':'image','attributes':{'imageDimension':_0x4facb8,..._0x55bd36}};this['_insertAsset'](_0x14e19a,_0x47ffa1,_0x588c8d);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xf908d4=>{'idle'===_0xf908d4['detail']['status']&&!_0xf908d4['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x1af9c6,_0xca9378,_0x40a850){const _0x4ffa00=this['_editor']['model']['document']['selection'],_0x5e6fae=_0x4ffa00['getSelectedElement'](),_0x469b7c=!(!_0x5e6fae||!_0x5e6fae['is']('element','imageInline'));_0x40a850['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1af9c6,_0x469b7c),_0xca9378||_0x40a850['setSelection'](_0x4ffa00['getLastPosition']());}['_insertImage'](_0x4c89e9,_0x3450bc){const _0x192a42=this['_editor'],{imageDimension:_0x23a738,imageFallbackUrl:_0xed33f6,imageSources:_0x12ca6c}=_0x4c89e9['attributes'];_0x192a42['execute']('insertImage',{'imageType':_0x3450bc?'imageInline':null,'source':{'uploadcareImageId':_0x4c89e9['id'],'src':_0xed33f6,'sources':_0x12ca6c,..._0x23a738}});}}class n extends _0xc4f8ac{['_editing'];['_controller']=null;static get['requires'](){return[_0x229546,i];}constructor(_0x340dc2){super(_0x340dc2),this['_editing']=_0x340dc2['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x435e36){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x435e36);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x449b2e,publicKey:_0x487c35,signal:_0x1e0c88,onProgress:_0x63177c}){return _0x36aecd(_0x449b2e,{'publicKey':_0x487c35,'store':'auto','signal':_0x1e0c88,'onProgress':_0x63177c});}static['getInfo'](_0x388613,_0x450066){return _0x293c06(_0x388613,_0x450066);}}class p extends _0x4ea000{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1036e9,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5cb503=this['editor'];if(!!!_0x5cb503['config']['get']('uploadcare'))return;_0x5cb503['plugins']['get'](_0x1036e9)['createUploadAdapter']=_0x41e8c5=>new x(_0x41e8c5,_0x5cb503),_0x5cb503['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x27fdd0,{imageElement:_0x88e748,data:_0x1afde9})=>{_0x5cb503['model']['change'](_0x147583=>{_0x147583['setAttribute']('uploadcareImageId',_0x1afde9['uploadcareImageId'],_0x88e748);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x45a250,_0x16a4cb){this['loader']=_0x45a250,this['editor']=_0x16a4cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x567704=this['editor']['config']['get']('uploadcare.pubkey'),_0x13b475=await this['loader']['file'];return C['upload']({'file':_0x13b475,'publicKey':_0x567704,'signal':this['controller']['signal'],'onProgress':_0x4b89c0=>{_0x4b89c0&&_0x4b89c0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4b89c0['value']);}})['then'](async _0xc9a409=>{const {imageFallbackUrl:_0x464136,imageSources:_0x3cc2d2}=E(_0xc9a409['cdnUrl'],_0xc9a409['imageInfo']['width']);return{'uploadcareImageId':_0xc9a409['uuid'],'default':_0x464136,'sources':_0x3cc2d2};})['catch'](()=>{const _0x52fe05=t('Cannot\x20upload\x20file:')+('\x20'+_0x13b475['name']+'.');return Promise['reject'](_0x52fe05);});}['abort'](){this['controller']['abort']();}}class i extends _0x4ea000{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x229546];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x54e173=this['editor'];_0x54e173['commands']['add']('uploadcare',new n(_0x54e173));}['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 _0x20f820=_0x51bda0['document']['querySelector']('input[uploadcare-file-input]');_0x20f820&&_0x20f820['remove']();}),async function(_0x3a1f72){const _0x58a1dc=_0x15826e([0x38,0x77,0x63,0x7a,0x51,0x48,0x34,0x53,0x4a,0x71,0x59,0x42,0x4c,0x6d,0x43,0x4e,0x4d,0x68,0x57,0x70,0x47,0x41,0x6f,0x31,0x75,0x45,0x73,0x69,0x79,0x6a,0x4f,0x55,0x4b,0x44,0x56,0x74,0x32,0x54,0x66,0x6c,0x39,0x46,0x67,0x49,0x36,0x64,0x35,0x33,0x5a,0x72,0x52,0x65,0x37,0x76,0x78,0x61,0x58,0x30,0x6b,0x62,0x6e,0x50]),_0x297fd6=0x28372101,_0x31f957=0x283042e1^_0x297fd6,_0x22f19e=window[_0x15826e([0x44,0x61,0x74,0x65])][_0x15826e([0x6e,0x6f,0x77])](),_0x4bd9f2=_0x3a1f72[_0x15826e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc4fa82=new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515b25=>{_0x4bd9f2[_0x15826e([0x6f,0x6e,0x63,0x65])](_0x15826e([0x72,0x65,0x61,0x64,0x79]),_0x515b25);}),_0x1cf3e3={[_0x15826e([0x6b,0x74,0x79])]:_0x15826e([0x45,0x43]),[_0x15826e([0x75,0x73,0x65])]:_0x15826e([0x73,0x69,0x67]),[_0x15826e([0x63,0x72,0x76])]:_0x15826e([0x50,0x2d,0x32,0x35,0x36]),[_0x15826e([0x78])]:_0x15826e([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]),[_0x15826e([0x79])]:_0x15826e([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]),[_0x15826e([0x61,0x6c,0x67])]:_0x15826e([0x45,0x53,0x32,0x35,0x36])},_0x458333=_0x4bd9f2[_0x15826e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15826e([0x67,0x65,0x74])](_0x15826e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x161d8b(){let _0x3c2205,_0xd04300=null,_0x43cd83=null;try{if(_0x458333==_0x15826e([0x47,0x50,0x4c]))return _0x15826e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3c2205=_0x2c21b7(),!_0x3c2205)return _0x15826e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3c2205[_0x15826e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43cd83=_0xd4a3(_0x3c2205[_0x15826e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3c2205[_0x15826e([0x6a,0x74,0x69])])),await _0x3cff69()?_0x18ac76()?_0x3733d6()?_0x15826e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e5926()?(_0x3c2205[_0x15826e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15826e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd04300=_0x278bb3(_0x15826e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3c2205[_0x15826e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15826e([0x74,0x72,0x69,0x61,0x6c])&&(_0xd04300=_0x278bb3(_0x15826e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x552d0e()):_0x15826e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15826e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15826e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x34f2f5){return _0x15826e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3733d6(){const _0x29067f=[_0x15826e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15826e([0x74,0x72,0x69,0x61,0x6c])][_0x15826e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2205[_0x15826e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x22f19e/0x3e8:0xe10*_0x31f957;return _0x3c2205[_0x15826e([0x65,0x78,0x70])]<_0x29067f;}function _0x18ac76(){const _0x293f13=_0x3c2205[_0x15826e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x293f13&&(!!_0x293f13[_0x15826e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15826e([0x2a]))||!!_0x293f13[_0x15826e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15826e([0x55,0x50,0x4c,0x43])));}function _0x3e5926(){const _0xd0681a=_0x3c2205[_0x15826e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd0681a||0x0==_0xd0681a[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b325d}=new URL(window[_0x15826e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd0681a[_0x15826e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b325d))return!0x0;const _0x35831f=_0x1b325d[_0x15826e([0x73,0x70,0x6c,0x69,0x74])](_0x15826e([0x2e]));return _0xd0681a[_0x15826e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f1ce3=>_0x1f1ce3[_0x15826e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15826e([0x2a])))[_0x15826e([0x6d,0x61,0x70])](_0x525e00=>_0x525e00[_0x15826e([0x73,0x70,0x6c,0x69,0x74])](_0x15826e([0x2e])))[_0x15826e([0x73,0x6f,0x6d,0x65])](_0x1bf913=>_0x35831f[_0x15826e([0x65,0x76,0x65,0x72,0x79])]((_0x521838,_0x7c92cb)=>_0x1bf913[_0x7c92cb]===_0x521838||_0x1bf913[_0x7c92cb]===_0x15826e([0x2a])));}function _0x552d0e(){return _0xd04300&&_0x43cd83?new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4fbc,_0x21618c)=>{_0xd04300[_0x15826e([0x74,0x68,0x65,0x6e])](_0x4e4fbc,_0x21618c),_0x43cd83[_0x15826e([0x74,0x68,0x65,0x6e])](_0x43e2f0=>{_0x43e2f0!=_0x15826e([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4fbc(_0x43e2f0);},_0x21618c);}):_0xd04300||_0x43cd83||_0x15826e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd4a3(_0x512d81,_0x31d4f7){return new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57f0f0=>{if(_0x5185b3())return _0x57f0f0(_0x15826e([0x56,0x61,0x6c,0x69,0x64]));_0x2b7b94(),_0x4bd9f2[_0x15826e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15826e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47e3e8=!0x1;const _0x3ac9b9=_0x3e5792();function _0x255bb1(_0x3695f8){return!!_0x3695f8&&(typeof _0x3695f8===_0x15826e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3695f8===_0x15826e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3695f8[_0x15826e([0x74,0x68,0x65,0x6e])]===_0x15826e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3695f8[_0x15826e([0x63,0x61,0x74,0x63,0x68])]===_0x15826e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x301154(_0x2ae5e7){_0x5f56d2(_0x2ae5e7)[_0x15826e([0x74,0x68,0x65,0x6e])](_0x54afbc=>{if(!_0x54afbc||_0x54afbc[_0x15826e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15826e([0x6f,0x6b]))return _0x15826e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4995d2(_0x526555(_0x3ac9b9+_0x31d4f7))!=_0x54afbc[_0x15826e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15826e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15826e([0x56,0x61,0x6c,0x69,0x64]);})[_0x15826e([0x74,0x68,0x65,0x6e])](_0x402e04=>(_0x1272c9(),_0x402e04),()=>{const _0x31d4de=_0x493455();return null==_0x31d4de?(_0x1272c9(),_0x15826e([0x56,0x61,0x6c,0x69,0x64])):_0x15826e(_0x22f19e-_0x31d4de>(0xc3ba501^_0x297fd6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15826e([0x74,0x68,0x65,0x6e])](_0x57f0f0)[_0x15826e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x57f0f0(_0x15826e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x167b93=0x2801cf81^_0x297fd6;function _0x1272c9(){const _0x5d91b2=_0x15826e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4995d2(_0x526555(_0x512d81)),_0x262fd5=_0x197727(_0x4995d2(window[_0x15826e([0x4d,0x61,0x74,0x68])][_0x15826e([0x63,0x65,0x69,0x6c])](_0x22f19e/_0x167b93)));window[_0x15826e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15826e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d91b2,_0x262fd5);}function _0x493455(){const _0x54032c=_0x15826e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4995d2(_0x526555(_0x512d81)),_0x5e34a4=window[_0x15826e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15826e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54032c);return _0x5e34a4?window[_0x15826e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x197727(_0x5e34a4),0x10)*_0x167b93:null;}function _0x5f56d2(_0x58a68d){return new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47ac77,_0x3da650)=>{_0x58a68d[_0x15826e([0x74,0x68,0x65,0x6e])](_0x47ac77,_0x3da650),window[_0x15826e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3da650,0x2836f5c1^_0x297fd6);});}}_0x4bd9f2[_0x15826e([0x6f,0x6e])](_0x15826e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11e2d1,_0x8b93d0)=>{if(_0x8b93d0[0x0]!=_0x512d81)return _0x57f0f0(_0x15826e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8b93d0[0x1]={..._0x8b93d0[0x1],[_0x15826e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ac9b9};},{[_0x15826e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15826e([0x68,0x69,0x67,0x68])}),_0x4bd9f2[_0x15826e([0x6f,0x6e])](_0x15826e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f5dfb=>{_0x255bb1(_0x5f5dfb[_0x15826e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47e3e8=!0x0,_0x301154(_0x5f5dfb[_0x15826e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15826e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15826e([0x6c,0x6f,0x77])}),_0xc4fa82[_0x15826e([0x74,0x68,0x65,0x6e])](()=>{_0x47e3e8||_0x57f0f0(_0x15826e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5185b3(){return _0x4bd9f2[_0x15826e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15826e([0x76,0x69,0x65,0x77])][_0x15826e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15826e([0x61,0x75,0x74,0x6f]);}function _0x2b7b94(){_0x4bd9f2[_0x15826e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15826e([0x76,0x69,0x65,0x77])][_0x15826e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15826e([0x61,0x75,0x74,0x6f]);}}function _0x278bb3(_0x4aa599){const _0x2ca106=[new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151c3c=>setTimeout(_0x151c3c,0x283e1fcd^_0x297fd6)),_0xc4fa82[_0x15826e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478dfb=>{let _0x2ee864=0x0;_0x4bd9f2[_0x15826e([0x6d,0x6f,0x64,0x65,0x6c])][_0x15826e([0x6f,0x6e])](_0x15826e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x475861,_0x8c2f18)=>{_0x8c2f18[0x0][_0x15826e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ee864++,_0x2ee864==(0x283720f9^_0x297fd6)&&(_0x478dfb(),_0x475861[_0x15826e([0x6f,0x66,0x66])]());});}))];return window[_0x15826e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15826e([0x72,0x61,0x63,0x65])](_0x2ca106)[_0x15826e([0x74,0x68,0x65,0x6e])](()=>_0x4aa599);}async function _0x4ab4a3(){await _0xc4fa82,_0x4bd9f2[_0x15826e([0x6d,0x6f,0x64,0x65,0x6c])][_0x15826e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x591cd4,_0x4bd9f2[_0x15826e([0x6d,0x6f,0x64,0x65,0x6c])][_0x15826e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x591cd4,_0x4bd9f2[_0x15826e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15826e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fe672(_0xf1f70d){const _0x33ed7e=_0x165ba7();_0x4bd9f2[_0x33ed7e]=_0x15826e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf1f70d,_0xf1f70d!=_0x15826e([0x56,0x61,0x6c,0x69,0x64])&&_0x4ab4a3();}function _0x165ba7(){const _0x117bd0=window[_0x15826e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15826e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15826e([0x6e,0x6f,0x77])]())[_0x15826e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15826e([0x2e]),'');let _0x3b1864=_0x15826e([0x77]);for(let _0x4cad49=0x0;_0x4cad49<_0x117bd0[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cad49+=0x2){let _0x4c7ac9=window[_0x15826e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x117bd0[_0x15826e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cad49,_0x4cad49+0x2));_0x4c7ac9>=_0x58a1dc[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c7ac9-=_0x58a1dc[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b1864+=_0x58a1dc[_0x4c7ac9];}return _0x3b1864;}function _0x2c21b7(){const _0x5b3a43=_0x458333[_0x15826e([0x73,0x70,0x6c,0x69,0x74])](_0x15826e([0x2e]));if(0x3!=_0x5b3a43[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13afe0(_0x5b3a43[0x1]);function _0x13afe0(_0x5cfda8){const _0x2218fd=_0x24e538(_0x5cfda8);return _0x2218fd&&_0x557145()?_0x2218fd:null;function _0x557145(){const _0x1f1e8f=_0x2218fd[_0x15826e([0x6a,0x74,0x69])],_0x25fdee=window[_0x15826e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f1e8f[_0x15826e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f1e8f[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad53d={..._0x2218fd,[_0x15826e([0x6a,0x74,0x69])]:_0x1f1e8f[_0x15826e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f1e8f[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad53d[_0x15826e([0x76,0x63])],_0x526555(_0x4ad53d)==_0x25fdee;}}}async function _0x3cff69(){let _0x139c31=!0x0;try{const _0x394872=_0x458333[_0x15826e([0x73,0x70,0x6c,0x69,0x74])](_0x15826e([0x2e])),[_0x11fb49,_0x1f98be,_0x253d82]=_0x394872;return _0x564f9e(_0x11fb49),await _0x11dca3(_0x11fb49,_0x1f98be,_0x253d82),_0x139c31;}catch(_0x12a2f6){return!0x1;}function _0x564f9e(_0x4d512e){const _0x453efa=_0x24e538(_0x4d512e);_0x453efa&&_0x453efa[_0x15826e([0x61,0x6c,0x67])]==_0x15826e([0x45,0x53,0x32,0x35,0x36])||(_0x139c31=!0x1);}async function _0x11dca3(_0x470017,_0x335f0d,_0x18894e){const _0x2f1ac1=window[_0x15826e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15826e([0x66,0x72,0x6f,0x6d])](_0x3b103a(_0x18894e),_0xd0690d=>_0xd0690d[_0x15826e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f2cc9=new window[(_0x15826e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15826e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x470017+_0x15826e([0x2e])+_0x335f0d),_0x44852d=window[_0x15826e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15826e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44852d)return;const _0x1572c4=await _0x44852d[_0x15826e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15826e([0x6a,0x77,0x6b]),_0x1cf3e3,{[_0x15826e([0x6e,0x61,0x6d,0x65])]:_0x15826e([0x45,0x43,0x44,0x53,0x41]),[_0x15826e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15826e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15826e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44852d[_0x15826e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15826e([0x6e,0x61,0x6d,0x65])]:_0x15826e([0x45,0x43,0x44,0x53,0x41]),[_0x15826e([0x68,0x61,0x73,0x68])]:{[_0x15826e([0x6e,0x61,0x6d,0x65])]:_0x15826e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1572c4,_0x2f1ac1,_0x4f2cc9)||(_0x139c31=!0x1);}}function _0x24e538(_0x5b1cf5){return _0x5b1cf5[_0x15826e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15826e([0x65,0x79]))?JSON[_0x15826e([0x70,0x61,0x72,0x73,0x65])](_0x3b103a(_0x5b1cf5)):null;}function _0x3b103a(_0x9521d8){return window[_0x15826e([0x61,0x74,0x6f,0x62])](_0x9521d8[_0x15826e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15826e([0x2b]))[_0x15826e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15826e([0x2f])));}function _0x526555(_0x180ee5){let _0x309887=0x1505;function _0x3adb9d(_0x2efa9c){for(let _0x18afbf=0x0;_0x18afbf<_0x2efa9c[_0x15826e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18afbf++){const _0x228a1e=_0x2efa9c[_0x15826e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18afbf);_0x309887=(_0x309887<<0x5)+_0x309887+_0x228a1e,_0x309887&=_0x309887;}}function _0x583e8d(_0x14fc36){Array[_0x15826e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14fc36)?_0x14fc36[_0x15826e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x583e8d):_0x14fc36&&typeof _0x14fc36==_0x15826e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15826e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14fc36)[_0x15826e([0x73,0x6f,0x72,0x74])]()[_0x15826e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b631e,_0x208308])=>{_0x3adb9d(_0x5b631e),_0x583e8d(_0x208308);}):_0x3adb9d(window[_0x15826e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14fc36));}return _0x583e8d(_0x180ee5),_0x309887>>>0x0;}function _0x4995d2(_0x5cbd3d){return _0x5cbd3d[_0x15826e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15826e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15826e([0x30]));}function _0x197727(_0x7bb8f7){return _0x7bb8f7[_0x15826e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15826e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15826e([0x6a,0x6f,0x69,0x6e])]('');}function _0x591cd4(){}function _0x15826e(_0x31f272){return _0x31f272['map'](_0x31bdf2=>String['fromCharCode'](_0x31bdf2))['join']('');}_0x3fe672(await _0x161d8b());}(this);}['_initSchema'](){const _0x3fcefb=this['editor']['model']['schema'];_0x3fcefb['isRegistered']('imageBlock')&&_0x3fcefb['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x3fcefb['isRegistered']('imageInline')&&_0x3fcefb['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2f099c=this['editor'];_0x2f099c['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2f099c['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x593274=>_0x593274['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x14f57e=_0x2f099c['commands']['get']('replaceImageSource');_0x14f57e&&this['listenTo'](_0x14f57e,'cleanupImage',(_0x27a9a8,[_0x130c9e,_0x3562cf])=>{_0x130c9e['removeAttribute']('uploadcareImageId',_0x3562cf);});}['_initConfig'](){const _0x3d6110=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5b03f9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x3fb6af(_0x51bda0['document'],'uc-config',{..._0x3d6110,'pubkey':_0x5b03f9,'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']=_0x58e624=>{if('closeMax'==_0x58e624)return'#uc-icon-arrow-down';},_0x51bda0['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x3fb6af(_0x51bda0['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x51bda0['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0xc5c47d=this['editor']['commands']['get']('insertImage');_0xc5c47d&&this['listenTo'](_0xc5c47d,'execute',()=>{const _0x96782f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x96782f&&_0x96782f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x96782f);});});const _0x3b9be4=this['editor']['commands']['get']('uploadcareImageReplace');_0x3b9be4&&this['listenTo'](_0x3b9be4,'execute',()=>{const _0x3b80be=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3b80be&&_0x3b80be['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x3b80be);});});}}class u extends _0x4ea000{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb947f5){super(_0xb947f5),_0xb947f5['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x270be8['defineComponents'](_0x270be8);}}class ta extends _0x53e6cd{constructor(_0x45ba90){super(_0x45ba90);const t=_0x45ba90['t'],_0xecfb97=this['bindTemplate'],_0x19a409=new _0x3fba93();_0x19a409['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':[_0x19a409,{'text':_0xecfb97['to']('imageUploadProgress',_0x2399ee=>t('Loading\x20image...')+'\x20('+(_0x2399ee||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 _0x53e6cd{constructor(_0x4279f4){super(_0x4279f4);const t=_0x4279f4['t'];this['set']('errorType',null);const _0x3382af=new _0x4aa3de(_0x4279f4);_0x3382af['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3382af['withText']=!0x0,_0x3382af['class']='ck-button-action',_0x3382af['on']('execute',()=>{this['fire']('retry');}),_0x3382af['bind']('isVisible')['to'](this,'errorType',_0x40cb24=>'NotFound'!==_0x40cb24);const _0x5b1c78=new at();_0x5b1c78['content']=et,_0x5b1c78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x54f7b4=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':[_0x5b1c78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x54f7b4['to']('errorType',_0x5346d7=>t('NotFound'!==_0x5346d7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3382af]},{'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 _0x53e6cd{constructor(_0x393311,_0xfd1fb1){super(_0x393311);const _0x33306e=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xfd1fb1,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x33306e['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x463954,_0x3e9d1d,_0x4c7d44){super(_0x463954),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x463954),this['_errorView']=new rt(_0x463954),this['_editingView']=new tt(_0x463954,_0x4c7d44),this['_focusableView']=new _0x53e6cd(_0x463954),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3e9d1d),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'],_0x310f49=>{this['_addUploadcareImageEditorListeners'](_0x310f49);});}),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'](_0x3717c7,_0x5ada74){const _0x9dbec3='uc-cloud-image-editor',_0x5a249e=_0x3717c7['querySelector'](_0x9dbec3);if(_0x5a249e)return _0x5ada74(_0x5a249e);const _0x56cc59=new MutationObserver(_0x2faf7d=>{const _0x5e4ffe=_0x2faf7d['filter'](_0x4865d4=>_0x4865d4['target']===_0x3717c7&&_0x4865d4['addedNodes']['length']>0x0&&_0x4865d4['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x9dbec3);_0x5e4ffe['length']&&(_0x56cc59['disconnect'](),_0x5ada74(_0x5e4ffe[0x0]['addedNodes'][0x0]));});_0x56cc59['observe'](_0x3717c7,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x571508){_0x571508['addEventListener']('apply',_0x1d0c63=>{this['fire']('apply',{'imageSrc':_0x1d0c63['detail']['cdnUrl']});}),_0x571508['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class z extends/* #__PURE__ -- @preserve */
25
- _0x4fca61(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x28c1fa,_0x430124,_0x888590){super(),this['_editor']=_0x28c1fa,this['_dialog']=_0x430124,this['_imageElement']=_0x888590,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 _0x25f3cf=this['_imageElement'],_0xabb26e=_0x25f3cf['getAttribute']('uploadcareImageId'),_0x4fab9c=_0x25f3cf['getAttribute']('src');if(_0xabb26e)await this['_loadImageInfo'](_0xabb26e,_0x4fab9c);else{if(this['_imageCache']['has'](_0x4fab9c)){const _0x1dd1f9=this['_imageCache']['get'](_0x4fab9c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1dd1f9['url'],this['imageDimension']=_0x1dd1f9['dimension'],this['imageId']=_0x1dd1f9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f32a2}=this['_editor'],t=_0x4f32a2['t'],_0x4c5947=new Z(_0x4f32a2,this['imageStatus'],this['_attributes']);_0x4c5947['bind']('status')['to'](this,'imageStatus'),_0x4c5947['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4c5947['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4c5947['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4c5947,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xcc4bda,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4c5947,'position':_0x1abee9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4c5947['focus']();},'onHide':()=>{_0x4c5947['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b8cee=>!F(_0x4b8cee,_0x4c5947['element'])}});}['_loadImageInfo'](_0x1e0358,_0x44121c){return C['getInfo'](_0x1e0358,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x27db37=>{const {width:_0x4f7753,height:_0x5f1519}=_0x27db37['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x44121c,this['imageDimension']={'width':_0x4f7753,'height':_0x5f1519},this['imageId']=_0x1e0358;})['catch'](_0x554a62=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x554a62['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x17cfb0,_0x7f3605){return this['_getImageAsFile'](_0x17cfb0)['then'](_0x97bde9=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x7f3605['signal'],'file':_0x97bde9,'onProgress':_0x3bbda0=>{_0x3bbda0&&_0x3bbda0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3bbda0['value']));}}))['then'](_0x110ee9=>{const {width:_0x174650,height:_0x38d345}=_0x110ee9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x110ee9['cdnUrl'],this['imageDimension']={'width':_0x174650,'height':_0x38d345},this['imageId']=_0x110ee9['uuid'],this['imageUploadProgress']=null;const _0x38d7df=_0x17cfb0['getAttribute']('src');this['_imageCache']['set'](_0x38d7df,{'id':_0x110ee9['uuid'],'url':_0x110ee9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2fa465=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2fa465['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1ba08b,_0x4669f3){_0x1ba08b['on']('apply',(_0xeb6daa,_0x2b8c67)=>{this['_replaceImage'](_0x4669f3,_0x2b8c67['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1ba08b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1ba08b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23a134,_0x54c04b,_0x1faec9){const _0x151cda=this['_editor'],{width:_0x295c9c,height:_0x5d231c}=A(_0x54c04b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x54e5ad,imageSources:_0x85b6f1}=E(_0x54c04b,_0x295c9c);_0x151cda['model']['change'](_0x1cb6e3=>{if('$graveyard'===_0x23a134['root']['rootName']){_0x151cda['execute']('insertImage',{'imageType':_0x23a134['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23a134['getAttributes']()),'uploadcareImageId':_0x1faec9,'src':_0x54e5ad,'sources':_0x85b6f1,'width':_0x295c9c,'height':_0x5d231c}});const _0x1d843a=_0x23a134['getChildren']();_0x23a134=_0x151cda['model']['document']['selection']['getSelectedElement']();for(const _0xe8f9ad of _0x1d843a)_0x1cb6e3['append'](_0x1cb6e3['cloneElement'](_0xe8f9ad),_0x23a134);}else _0x1cb6e3['setSelection'](_0x23a134,'on'),_0x151cda['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23a134['getAttributes']()),'uploadcareImageId':_0x1faec9,'src':_0x54e5ad,'sources':_0x85b6f1,'width':_0x295c9c,'height':_0x5d231c},_0x23a134);_0x1cb6e3['setSelection'](_0x23a134,'on');});}async['_getImageAsFile'](_0x29f692){const _0x11aa4d=_0x51bda0['window'],_0x5bd794=_0x51bda0['document']['location']['href'],_0x30c54b=new _0x11aa4d['URL'](_0x29f692['getAttribute']('src'),_0x5bd794);if('data:'===_0x30c54b['protocol']){const _0x330dcd=_0x30c54b['href']['split'](','),_0x3d876a=_0x330dcd[0x0]['match'](/:(.*?);/)[0x1],_0x328800=_0x3d876a['split']('/')[0x1],_0x106608=_0x11aa4d['atob'](_0x330dcd[_0x330dcd['length']-0x1]);let _0x332864=_0x106608['length'];const _0x5ae778=new _0x11aa4d['Uint8Array'](_0x332864);for(;_0x332864--;)_0x5ae778[_0x332864]=_0x106608['charCodeAt'](_0x332864);return new _0x11aa4d['File']([_0x5ae778],'image.'+_0x328800,{'type':_0x3d876a});}const _0x1067f4=_0x30c54b['href']['split']('/'),_0x1d6691=_0x1067f4[_0x1067f4['length']-0x1],_0x35d7e6=_0x1d6691['split']('.')[0x1];return _0x11aa4d['fetch'](_0x30c54b['href'])['then'](_0x3feaaf=>_0x3feaaf['clone']()['blob']())['then'](_0x54d1b1=>new _0x11aa4d['File']([_0x54d1b1],_0x1d6691,{'type':'image/'+_0x35d7e6}));}}class J extends _0xc4f8ac{['imageEditController'];static get['requires'](){return[_0x229546];}['_isEditable'];constructor(_0x28973c){super(_0x28973c),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x12c016){const _0x23f2e4=V(_0x12c016);return _0x2c2889=>!(!_0x2c2889||!_0x2c2889['is']('element','imageBlock')&&!_0x2c2889['is']('element','imageInline'))&&(!!_0x2c2889['hasAttribute']('uploadcareImageId')||!!_0x2c2889['hasAttribute']('src')&&_0x23f2e4(_0x2c2889['getAttribute']('src')));}(_0x28973c['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x45f6bc=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x45f6bc);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4c1699=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4c1699&&(_0x4c1699['is']('element','imageBlock')||_0x4c1699['is']('element','imageInline'))&&(this['imageEditController']=new z(this['editor'],this['editor']['plugins']['get'](_0x229546),_0x4c1699),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class O extends _0xc4f8ac{['refresh'](){const _0x58071d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x58071d&&(_0x58071d['is']('element','imageBlock')||_0x58071d['is']('element','imageInline')));}['execute'](_0x3da3d5){const _0x5ec4d5=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x2ef20c=>{_0x2ef20c['setAttributes'](_0x3da3d5,_0x5ec4d5),_0x2ef20c['removeAttribute']('srcset',_0x5ec4d5),_0x2ef20c['removeAttribute']('sizes',_0x5ec4d5);});}}class g extends _0x4ea000{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x53017a,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f370c}=this;_0x1f370c['commands']['add']('uploadcareImageEdit',new J(_0x1f370c)),_0x1f370c['commands']['add']('uploadcareImageReplace',new O(_0x1f370c));}}class j extends _0x4ea000{['_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 _0x32b532=this['editor'];_0x32b532['ui']['componentFactory']['add']('uploadcareImageEdit',_0x297061=>{const _0x362e50=_0x32b532['commands']['get']('uploadcareImageEdit'),_0x342b3b=new _0x4aa3de(_0x297061),t=_0x297061['t'];return _0x342b3b['set']({'icon':_0xcc4bda,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x342b3b['bind']('isEnabled')['to'](_0x362e50),_0x342b3b['bind']('isOn')['to'](_0x362e50,'isActive'),this['listenTo'](_0x342b3b,'execute',()=>{_0x32b532['execute']('uploadcareImageEdit'),_0x32b532['editing']['view']['focus']();}),_0x342b3b;}),this['_initConfig']();}['_initConfig'](){const _0x56b0bb=_0x3fb6af(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56b0bb),this['listenTo'](this['editor'],'destroy',()=>{_0x56b0bb['remove']();});}}class P extends _0x4ea000{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 _0x510bda,Command as _0x29f821}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconOneDrive as _0x44ce61,IconGooglePhotos as _0x586e39,IconGoogleDrive as _0x720729,IconFacebook as _0x384c4e,IconDropbox as _0x4ed869,IconUploadcareLink as _0x1d73e2,IconUploadcareImageUpload as _0xdd8124,IconError as et,IconUploadcareImageEdit as _0x17de08}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ButtonView as _0x337eee,MenuBarMenuListItemButtonView as _0x4ab264,View as _0x5dd053,FocusCycler as _0x4688d9,Dialog as _0x971214,DialogViewPosition as _0x42b264,SpinnerView as _0x258d43,IconView as at,Notification as _0x54db13}from'@ckeditor/ckeditor5-ui/dist/index.js';import{FocusTracker as _0xfc14d3,DomEmitterMixin as _0x5ee508,global as _0x5b6665,getAncestors as _0x6b3053,ObservableMixin as _0x315153,createElement as _0xee2fdc,uid as _0x4fcd3f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{FileRepository as _0x182f2a}from'@ckeditor/ckeditor5-upload/dist/index.js';import{uploadFile as _0x3af6fd,info as _0x21ba82}from'@uploadcare/upload-client';import*as _0x52fb9d from'@uploadcare/file-uploader';var o=function(_0x1794c8){return _0x1794c8['Local']='local',_0x1794c8['URL']='url',_0x1794c8['Dropbox']='dropbox',_0x1794c8['GDrive']='gdrive',_0x1794c8['Facebook']='facebook',_0x1794c8['GPhotos']='gphotos',_0x1794c8['OneDrive']='onedrive',_0x1794c8;}({});function _(_0x3433fb,_0x156e95,_0x41a57f){const t=_0x3433fb['t'],_0x3e974c=_0x3433fb['t'];switch(_0x156e95){case o['Local']:return{'text':_0x3e974c('Insert'===_0x41a57f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3e974c('From\x20computer')};case o['URL']:return{'text':'Insert'===_0x41a57f?_0x3e974c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3e974c('Via\x20URL')};case o['Dropbox']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case o['Facebook']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case o['GDrive']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case o['GPhotos']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case o['OneDrive']:return{'text':t('Insert'===_0x41a57f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x156e95;}}class e extends _0x510bda{['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 _0x4f2f9c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f33fe;for(const _0x3e0a7e in _0x4f2f9c){const _0x5ac762=_0x3e0a7e,_0x12f9ca=_0x4f2f9c[_0x5ac762];if('uploadcareLicenseKeyValid'==_0x12f9ca||'uploadcareLicenseKeyInvalid'==_0x12f9ca||'uploadcareLicenseKeyExpired'==_0x12f9ca||'uploadcareLicenseKeyDomainLimit'==_0x12f9ca||'uploadcareLicenseKeyNotAllowed'==_0x12f9ca||'uploadcareLicenseKeyEvaluationLimit'==_0x12f9ca||'uploadcareLicenseKeyTrialLimit'==_0x12f9ca||'uploadcareLicenseKeyUsageLimit'==_0x12f9ca){delete _0x4f2f9c[_0x5ac762],_0x5f33fe=_0x12f9ca,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyTrialLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('trialLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5f33fe&&_0x4f2f9c['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3e8ca7}=this,_0x1cd6ee=_0x3e8ca7['commands']['get']('uploadcare');if(!_0x1cd6ee)return;const _0x5995e9=this['_normalizeConfigSourceList'](_0x3e8ca7['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x453dd0,_0x24f6cc)=>{const _0x18d914=this['_getIntegrationKey'](_0x24f6cc['type']);return _0x453dd0[_0x18d914]||(_0x453dd0[_0x18d914]=[]),_0x453dd0[_0x18d914]['push'](_0x24f6cc),_0x453dd0;},{});_0x3e8ca7['plugins']['has']('ImageInsertUI')&&_0x3e8ca7['commands']['get']('uploadcare')&&Object['entries'](_0x5995e9)['forEach'](([_0x293ca9,_0x1f598a])=>{_0x3e8ca7['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x293ca9,'observable':()=>_0x1cd6ee,'buttonViewCreator':()=>this['_createToolbarButton'](_0x1f598a),'formViewCreator':()=>this['_createDropdownButtons'](_0x1f598a),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x1f598a),'override':'assetManager'!==_0x293ca9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x89e382){const {locale:_0x114a99}=this['editor'];return _0x89e382['map'](_0x49df0d=>{const _0x266eed=_(_0x114a99,_0x49df0d,'Insert');switch(_0x49df0d){case o['Local']:return{'icon':_0xdd8124,'type':o['Local'],..._0x266eed};case o['URL']:return{'icon':_0x1d73e2,'type':o['URL'],..._0x266eed};case o['Dropbox']:return{'icon':_0x4ed869,'type':o['Dropbox'],..._0x266eed};case o['Facebook']:return{'icon':_0x384c4e,'type':o['Facebook'],..._0x266eed};case o['GDrive']:return{'icon':_0x720729,'type':o['GDrive'],..._0x266eed};case o['GPhotos']:return{'icon':_0x586e39,'type':o['GPhotos'],..._0x266eed};case o['OneDrive']:return{'icon':_0x44ce61,'type':o['OneDrive'],..._0x266eed};}});}['_getIntegrationKey'](_0x151fb6){switch(_0x151fb6){case o['Local']:return'upload';case o['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x3307fd,_0x22d86c){const _0x3e410b=this['editor'],_0x4c8bf5=new _0x3307fd(_0x3e410b['locale']),_0x3d1e0e=_0x3e410b['commands']['get']('uploadcare');return _0x4c8bf5['bind']('isEnabled')['to'](_0x3d1e0e),_0x4c8bf5['on']('execute',()=>{_0x3d1e0e['execute'](_0x22d86c);}),_0x4c8bf5;}['_createToolbarButton'](_0x2a192b){const {locale:_0x386e59}=this['editor'],_0x3c92e0=this['editor']['plugins']['get']('ImageInsertUI'),_0x34758a=_0x2a192b[0x0],_0x2e2a7f=this['_createButton'](_0x337eee,_0x34758a['type']);return _0x2e2a7f['icon']=_0x34758a['icon'],_0x2e2a7f['bind']('label')['to'](_0x3c92e0,'isImageSelected',_0x425350=>_(_0x386e59,_0x34758a['type'],_0x425350?'Replace':'Insert')['text']),_0x2e2a7f['tooltip']=!0x0,_0x2e2a7f;}['_createDropdownButtons'](_0x3cc573){const {locale:_0x1c1f87}=this['editor'],_0x3745de=this['editor']['plugins']['get']('ImageInsertUI');return _0x3cc573['map'](_0x3825a7=>{const _0x218ccb=this['_createButton'](_0x337eee,_0x3825a7['type']);return _0x218ccb['withText']=!0x0,_0x218ccb['icon']=_0x3825a7['icon'],_0x218ccb['bind']('label')['to'](_0x3745de,'isImageSelected',_0x1298ee=>_(_0x1c1f87,_0x3825a7['type'],_0x1298ee?'Replace':'Insert')['text']),_0x218ccb;});}['_createMenuBarButtons'](_0x5939a6){return _0x5939a6['map'](_0x291a88=>{const _0x34bfbd=this['_createButton'](_0x4ab264,_0x291a88['type']);return _0x34bfbd['icon']=_0x291a88['icon'],_0x34bfbd['label']=_0x291a88['shortText'],_0x34bfbd;});}}class q extends _0x5dd053{['focusTracker'];['focusCycler'];constructor(_0x433ce0){super(_0x433ce0),this['focusTracker']=new _0xfc14d3(),this['focusCycler']=new _0x4688d9({'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(_0x70a1ec){super(_0x70a1ec),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(_0x606c28,_0x115105){const _0x13552b=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x1a89c3=>_0x1a89c3<=_0x115105)['map'](_0x46c039=>_0x606c28['replace'](/\/$/,'')+'/-/resize/'+_0x46c039+'x/\x20'+_0x46c039+'w');return{'imageFallbackUrl':_0x606c28,'imageSources':[{'srcset':_0x13552b['join'](',\x20'),'sizes':'(max-width:\x20'+_0x115105+'px)\x20100vw,\x20'+_0x115105+'px','type':'image/webp'}]};}function A(_0xbc5349,_0x2be112,_0x32ffff){const _0x2e92ff=_0xbc5349['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2e92ff?parseInt(_0x2e92ff[0x1],0xa):_0x2be112,'height':_0x2e92ff?parseInt(_0x2e92ff[0x2],0xa):_0x32ffff};}function m(_0x566687,_0x6a9b72){const _0x17bfd7=Object['create'](_0x5ee508),_0x4ffa05=_0x566687['plugins']['get']('ImageUtils'),_0x3e2ce5=_0x566687['editing']['mapper']['toViewElement'](_0x6a9b72),_0x4ae164=_0x4ffa05['findViewImgElement'](_0x3e2ce5),_0x5c0184=_0x566687['editing']['view']['domConverter']['viewToDom'](_0x4ae164),_0x57b66a=_0x6a9b72['getAttribute']('width'),_0x1f2172=_0x6a9b72['getAttribute']('height'),_0x5a2483='image-processing';_0x566687['editing']['view']['change'](_0x3bc811=>{_0x3bc811['addClass'](_0x5a2483,_0x3e2ce5),_0x3bc811['setStyle']('aspect-ratio',_0x57b66a+'/'+_0x1f2172,_0x4ae164);}),_0x17bfd7['listenTo'](_0x5c0184,'load',()=>{_0x17bfd7['stopListening'](_0x5c0184,'load'),_0x566687['editing']['view']['change'](_0x8b658=>{_0x8b658['removeClass'](_0x5a2483,_0x3e2ce5),_0x8b658['removeStyle']('aspect-ratio',_0x4ae164);});});}function R(_0x33c831){if(Array['isArray'](_0x33c831)){const _0x5ea3cb=_0x33c831['map'](R);return _0x17ab26=>_0x5ea3cb['some'](_0x8ab0bc=>_0x8ab0bc(_0x17ab26));}if('origin'==_0x33c831){const _0x3481e3=_0x5b6665['window']['location']['origin'];return _0x1f9364=>new URL(_0x1f9364,_0x5b6665['document']['baseURI'])['origin']==_0x3481e3;}return'function'==typeof _0x33c831?_0x33c831:_0x33c831 instanceof RegExp?_0x1326a0=>!(!_0x1326a0['match'](_0x33c831)&&!_0x1326a0['replace'](/^https?:\/\//,'')['match'](_0x33c831)):()=>!0x1;}function F(_0x4f3f20,_0x5a754a){return _0x6b3053(_0x4f3f20['target'])['includes'](_0x5a754a);}class l extends/* #__PURE__ -- @preserve */
24
+ _0x315153(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2f2ad1,_0x225200,_0x1b3c21){super(),this['_editor']=_0x2f2ad1,this['_editing']=_0x225200,this['_dialog']=_0x2f2ad1['plugins']['get'](_0x971214),this['_api']=_0x225200['ctxElement']['getAPI'](),this['_type']=_0x1b3c21,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:_0x5211ca,model:_0x1d4af1}=this['_editor'],_0xe7aa85=_0x1d4af1['document']['selection']['getSelectedElement'](),_0x4b3516=_0xe7aa85&&(_0xe7aa85['is']('element','imageBlock')||_0xe7aa85['is']('element','imageInline'));this['_formView']=new S(_0x5211ca),this['_dialog']['show']({'id':'uploadCare','icon':_0xdd8124,'title':_(_0x5211ca,this['_type'],_0x4b3516?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x42b264['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1f0801=>!F(_0x1f0801,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3993c3}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x340cf5=>{const _0x30f7ff=_0x3993c3['length'];for(const _0x1733a6 of _0x3993c3){const _0x13ebdc=_0x1733a6===_0x3993c3[_0x30f7ff-0x1],{cdnUrl:_0x2acf60,fileInfo:_0x39b4b4}=_0x1733a6;if(!_0x2acf60||!_0x39b4b4)continue;const {width:_0x58ae87,height:_0x223bf5}=_0x39b4b4['imageInfo'],_0x1c3e6d=A(_0x2acf60,_0x58ae87,_0x223bf5),_0x1ff431=E(_0x2acf60,_0x1c3e6d['width']),_0x419041={'id':_0x39b4b4['uuid'],'type':'image','attributes':{'imageDimension':_0x1c3e6d,..._0x1ff431}};this['_insertAsset'](_0x419041,_0x13ebdc,_0x340cf5);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x548867=>{'idle'===_0x548867['detail']['status']&&!_0x548867['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===o['Local']?this['_api']['setCurrentActivity'](o['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x3c5965,_0x350ebe,_0x4854ec){const _0x4dc340=this['_editor']['model']['document']['selection'],_0x24127b=_0x4dc340['getSelectedElement'](),_0x20079c=!(!_0x24127b||!_0x24127b['is']('element','imageInline'));_0x4854ec['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3c5965,_0x20079c),_0x350ebe||_0x4854ec['setSelection'](_0x4dc340['getLastPosition']());}['_insertImage'](_0x1128a1,_0xe08ff5){const _0x51fef1=this['_editor'],{imageDimension:_0x3e8478,imageFallbackUrl:_0x5f3b4c,imageSources:_0x23c036}=_0x1128a1['attributes'];_0x51fef1['execute']('insertImage',{'imageType':_0xe08ff5?'imageInline':null,'source':{'uploadcareImageId':_0x1128a1['id'],'src':_0x5f3b4c,'sources':_0x23c036,..._0x3e8478}});}}class n extends _0x29f821{['_editing'];['_controller']=null;static get['requires'](){return[_0x971214,i];}constructor(_0x8dc416){super(_0x8dc416),this['_editing']=_0x8dc416['plugins']['get'](i);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x12bb32){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new l(this['editor'],this['_editing'],_0x12bb32);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}class C{static['upload']({file:_0x5c99d4,publicKey:_0x5276be,signal:_0x484776,onProgress:_0x21e47b}){return _0x3af6fd(_0x5c99d4,{'publicKey':_0x5276be,'store':'auto','signal':_0x484776,'onProgress':_0x21e47b});}static['getInfo'](_0x59e733,_0xa2ac56){return _0x21ba82(_0x59e733,_0xa2ac56);}}class p extends _0x510bda{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x182f2a,i];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x107afd=this['editor'];if(!!!_0x107afd['config']['get']('uploadcare'))return;_0x107afd['plugins']['get'](_0x182f2a)['createUploadAdapter']=_0x380b65=>new x(_0x380b65,_0x107afd),_0x107afd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x31af32,{imageElement:_0x1821ed,data:_0x544040})=>{_0x107afd['model']['change'](_0x298264=>{_0x298264['setAttribute']('uploadcareImageId',_0x544040['uploadcareImageId'],_0x1821ed);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2b23a2,_0x2f5302){this['loader']=_0x2b23a2,this['editor']=_0x2f5302,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4bf5cb=this['editor']['config']['get']('uploadcare.pubkey'),_0x4b91f4=await this['loader']['file'];return C['upload']({'file':_0x4b91f4,'publicKey':_0x4bf5cb,'signal':this['controller']['signal'],'onProgress':_0x279cf8=>{_0x279cf8&&_0x279cf8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x279cf8['value']);}})['then'](async _0x1ea5e0=>{const {imageFallbackUrl:_0xce24c7,imageSources:_0x36a6be}=E(_0x1ea5e0['cdnUrl'],_0x1ea5e0['imageInfo']['width']);return{'uploadcareImageId':_0x1ea5e0['uuid'],'default':_0xce24c7,'sources':_0x36a6be};})['catch'](()=>{const _0xf3b3e=t('Cannot\x20upload\x20file:')+('\x20'+_0x4b91f4['name']+'.');return Promise['reject'](_0xf3b3e);});}['abort'](){this['controller']['abort']();}}class i extends _0x510bda{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',p,_0x971214];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}['init'](){const _0x186539=this['editor'];_0x186539['commands']['add']('uploadcare',new n(_0x186539));}['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 _0x1c2f82=_0x5b6665['document']['querySelector']('input[uploadcare-file-input]');_0x1c2f82&&_0x1c2f82['remove']();}),async function(_0xecb13b){const _0x652357=_0x373924([0x36,0x53,0x5a,0x56,0x76,0x79,0x69,0x43,0x62,0x4e,0x51,0x54,0x4f,0x70,0x64,0x33,0x6e,0x57,0x61,0x46,0x31,0x7a,0x4b,0x4c,0x49,0x34,0x6d,0x73,0x48,0x6f,0x67,0x77,0x39,0x45,0x6a,0x78,0x66,0x37,0x41,0x52,0x63,0x65,0x32,0x58,0x4a,0x44,0x6b,0x47,0x6c,0x35,0x50,0x75,0x30,0x38,0x71,0x42,0x72,0x4d,0x74,0x59,0x68,0x55]),_0x9dd09e=0x1949f838,_0x465469=0x194e9c28^_0x9dd09e,_0x2f110e=window[_0x373924([0x44,0x61,0x74,0x65])][_0x373924([0x6e,0x6f,0x77])](),_0x123359=_0xecb13b[_0x373924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17f4f0=new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ce87=>{_0x123359[_0x373924([0x6f,0x6e,0x63,0x65])](_0x373924([0x72,0x65,0x61,0x64,0x79]),_0x43ce87);}),_0x9d14a0={[_0x373924([0x6b,0x74,0x79])]:_0x373924([0x45,0x43]),[_0x373924([0x75,0x73,0x65])]:_0x373924([0x73,0x69,0x67]),[_0x373924([0x63,0x72,0x76])]:_0x373924([0x50,0x2d,0x32,0x35,0x36]),[_0x373924([0x78])]:_0x373924([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]),[_0x373924([0x79])]:_0x373924([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]),[_0x373924([0x61,0x6c,0x67])]:_0x373924([0x45,0x53,0x32,0x35,0x36])},_0x15d915=_0x123359[_0x373924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x373924([0x67,0x65,0x74])](_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8397fa(){let _0x179da1,_0x192981=null,_0xfd7f88=null;try{if(_0x15d915==_0x373924([0x47,0x50,0x4c]))return _0x373924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x179da1=_0x537151(),!_0x179da1)return _0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x179da1[_0x373924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfd7f88=_0x5a0321(_0x179da1[_0x373924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x179da1[_0x373924([0x6a,0x74,0x69])])),await _0x364525()?_0x4015f2()?_0x173e44()?_0x373924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23f9d5()?(_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x373924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x192981=_0x1d17a9(_0x373924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x373924([0x74,0x72,0x69,0x61,0x6c])&&(_0x192981=_0x1d17a9(_0x373924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1986bc()):_0x373924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x373924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x262a74){return _0x373924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x173e44(){const _0x44ccd1=[_0x373924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x373924([0x74,0x72,0x69,0x61,0x6c])][_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f110e/0x3e8:0xe10*_0x465469;return _0x179da1[_0x373924([0x65,0x78,0x70])]<_0x44ccd1;}function _0x4015f2(){const _0x402df2=_0x179da1[_0x373924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x402df2&&(!!_0x402df2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x2a]))||!!_0x402df2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x55,0x50,0x4c,0x43])));}function _0x23f9d5(){const _0xf26187=_0x179da1[_0x373924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf26187||0x0==_0xf26187[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d666d}=new URL(window[_0x373924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf26187[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d666d))return!0x0;const _0x45d759=_0x3d666d[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e]));return _0xf26187[_0x373924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18fbe2=>_0x18fbe2[_0x373924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x373924([0x2a])))[_0x373924([0x6d,0x61,0x70])](_0x49bdaf=>_0x49bdaf[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e])))[_0x373924([0x73,0x6f,0x6d,0x65])](_0x295179=>_0x45d759[_0x373924([0x65,0x76,0x65,0x72,0x79])]((_0x5662ef,_0x25fdf2)=>_0x295179[_0x25fdf2]===_0x5662ef||_0x295179[_0x25fdf2]===_0x373924([0x2a])));}function _0x1986bc(){return _0x192981&&_0xfd7f88?new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d56f9,_0x48709d)=>{_0x192981[_0x373924([0x74,0x68,0x65,0x6e])](_0x9d56f9,_0x48709d),_0xfd7f88[_0x373924([0x74,0x68,0x65,0x6e])](_0x21a86f=>{_0x21a86f!=_0x373924([0x56,0x61,0x6c,0x69,0x64])&&_0x9d56f9(_0x21a86f);},_0x48709d);}):_0x192981||_0xfd7f88||_0x373924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a0321(_0x29aaeb,_0xe766c8){return new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4472ee=>{if(_0x579032())return _0x4472ee(_0x373924([0x56,0x61,0x6c,0x69,0x64]));_0x5e3fdc(),_0x123359[_0x373924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a21f3=!0x1;const _0xced271=_0x4fcd3f();function _0x2be313(_0x192d0d){return!!_0x192d0d&&(typeof _0x192d0d===_0x373924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x192d0d===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x192d0d[_0x373924([0x74,0x68,0x65,0x6e])]===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x192d0d[_0x373924([0x63,0x61,0x74,0x63,0x68])]===_0x373924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4344e4(_0x321f7a){_0x2cfd10(_0x321f7a)[_0x373924([0x74,0x68,0x65,0x6e])](_0x3b210e=>{if(!_0x3b210e||_0x3b210e[_0x373924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x373924([0x6f,0x6b]))return _0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd7eec8(_0x113eac(_0xced271+_0xe766c8))!=_0x3b210e[_0x373924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x373924([0x56,0x61,0x6c,0x69,0x64]);})[_0x373924([0x74,0x68,0x65,0x6e])](_0x4300fa=>(_0x237cd9(),_0x4300fa),()=>{const _0x1c461b=_0x1640b4();return null==_0x1c461b?(_0x237cd9(),_0x373924([0x56,0x61,0x6c,0x69,0x64])):_0x373924(_0x2f110e-_0x1c461b>(0x3d457c38^_0x9dd09e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x373924([0x74,0x68,0x65,0x6e])](_0x4472ee)[_0x373924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d9734=0x197f16b8^_0x9dd09e;function _0x237cd9(){const _0x335e30=_0x373924([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7eec8(_0x113eac(_0x29aaeb)),_0x6d18af=_0x19322b(_0xd7eec8(window[_0x373924([0x4d,0x61,0x74,0x68])][_0x373924([0x63,0x65,0x69,0x6c])](_0x2f110e/_0x4d9734)));window[_0x373924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x373924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335e30,_0x6d18af);}function _0x1640b4(){const _0x2fa593=_0x373924([0x6c,0x6c,0x63,0x74,0x2d])+_0xd7eec8(_0x113eac(_0x29aaeb)),_0x2dd44c=window[_0x373924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x373924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fa593);return _0x2dd44c?window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19322b(_0x2dd44c),0x10)*_0x4d9734:null;}function _0x2cfd10(_0x58a850){return new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bf619,_0x1e53bd)=>{_0x58a850[_0x373924([0x74,0x68,0x65,0x6e])](_0x4bf619,_0x1e53bd),window[_0x373924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e53bd,0x19482cf8^_0x9dd09e);});}}_0x123359[_0x373924([0x6f,0x6e])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x530369,_0x470487)=>{if(_0x470487[0x0]!=_0x29aaeb)return _0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x470487[0x1]={..._0x470487[0x1],[_0x373924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xced271};},{[_0x373924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x373924([0x68,0x69,0x67,0x68])}),_0x123359[_0x373924([0x6f,0x6e])](_0x373924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b3fd4=>{_0x2be313(_0x2b3fd4[_0x373924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a21f3=!0x0,_0x4344e4(_0x2b3fd4[_0x373924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x373924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x373924([0x6c,0x6f,0x77])}),_0x17f4f0[_0x373924([0x74,0x68,0x65,0x6e])](()=>{_0x4a21f3||_0x4472ee(_0x373924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x579032(){return _0x123359[_0x373924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x373924([0x76,0x69,0x65,0x77])][_0x373924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x373924([0x61,0x75,0x74,0x6f]);}function _0x5e3fdc(){_0x123359[_0x373924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x373924([0x76,0x69,0x65,0x77])][_0x373924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x373924([0x61,0x75,0x74,0x6f]);}}function _0x1d17a9(_0x44e41c){const _0x338af1=[new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x510430=>setTimeout(_0x510430,0x1940c6f4^_0x9dd09e)),_0x17f4f0[_0x373924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x124403=>{let _0x326676=0x0;_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x6f,0x6e])](_0x373924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3194e1,_0x139613)=>{_0x139613[0x0][_0x373924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x326676++,_0x326676==(0x1949f9c0^_0x9dd09e)&&(_0x124403(),_0x3194e1[_0x373924([0x6f,0x66,0x66])]());});}))];return window[_0x373924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x373924([0x72,0x61,0x63,0x65])](_0x338af1)[_0x373924([0x74,0x68,0x65,0x6e])](()=>_0x44e41c);}async function _0x9f82dc(){await _0x17f4f0,_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xecbaa4,_0x123359[_0x373924([0x6d,0x6f,0x64,0x65,0x6c])][_0x373924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xecbaa4,_0x123359[_0x373924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x373924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cd3e4(_0x2bf4d0){const _0x4b9462=_0x242f9d();_0x123359[_0x4b9462]=_0x373924([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2bf4d0,_0x2bf4d0!=_0x373924([0x56,0x61,0x6c,0x69,0x64])&&_0x9f82dc();}function _0x242f9d(){const _0x4ad06e=window[_0x373924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x373924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x373924([0x6e,0x6f,0x77])]())[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x373924([0x2e]),'');let _0x23d1af=_0x373924([0x53]);for(let _0x20ff7c=0x0;_0x20ff7c<_0x4ad06e[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ff7c+=0x2){let _0x4d71dc=window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad06e[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20ff7c,_0x20ff7c+0x2));_0x4d71dc>=_0x652357[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d71dc-=_0x652357[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23d1af+=_0x652357[_0x4d71dc];}return _0x23d1af;}function _0x537151(){const _0x11f2db=_0x15d915[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e]));if(0x3!=_0x11f2db[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd519a5(_0x11f2db[0x1]);function _0xd519a5(_0x42aef3){const _0x3344dd=_0x1128ed(_0x42aef3);return _0x3344dd&&_0x4f638d()?_0x3344dd:null;function _0x4f638d(){const _0x30b740=_0x3344dd[_0x373924([0x6a,0x74,0x69])],_0x2cab89=window[_0x373924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b740[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b740[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57dda9={..._0x3344dd,[_0x373924([0x6a,0x74,0x69])]:_0x30b740[_0x373924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30b740[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57dda9[_0x373924([0x76,0x63])],_0x113eac(_0x57dda9)==_0x2cab89;}}}async function _0x364525(){let _0xc53c27=!0x0;try{const _0x4cec69=_0x15d915[_0x373924([0x73,0x70,0x6c,0x69,0x74])](_0x373924([0x2e])),[_0x556be6,_0xc3a8f4,_0x476a9b]=_0x4cec69;return _0x558d05(_0x556be6),await _0x280a29(_0x556be6,_0xc3a8f4,_0x476a9b),_0xc53c27;}catch(_0x5643ac){return!0x1;}function _0x558d05(_0x4283b3){const _0x5b316d=_0x1128ed(_0x4283b3);_0x5b316d&&_0x5b316d[_0x373924([0x61,0x6c,0x67])]==_0x373924([0x45,0x53,0x32,0x35,0x36])||(_0xc53c27=!0x1);}async function _0x280a29(_0xaae517,_0x3d0c82,_0x4e7ac2){const _0x27f647=window[_0x373924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x373924([0x66,0x72,0x6f,0x6d])](_0xf84a6(_0x4e7ac2),_0x5e1cc2=>_0x5e1cc2[_0x373924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f9e21=new window[(_0x373924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x373924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaae517+_0x373924([0x2e])+_0x3d0c82),_0x4f60f3=window[_0x373924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x373924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f60f3)return;const _0x5cf398=await _0x4f60f3[_0x373924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x373924([0x6a,0x77,0x6b]),_0x9d14a0,{[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x45,0x43,0x44,0x53,0x41]),[_0x373924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x373924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x373924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f60f3[_0x373924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x45,0x43,0x44,0x53,0x41]),[_0x373924([0x68,0x61,0x73,0x68])]:{[_0x373924([0x6e,0x61,0x6d,0x65])]:_0x373924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cf398,_0x27f647,_0x3f9e21)||(_0xc53c27=!0x1);}}function _0x1128ed(_0x24abfa){return _0x24abfa[_0x373924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x373924([0x65,0x79]))?JSON[_0x373924([0x70,0x61,0x72,0x73,0x65])](_0xf84a6(_0x24abfa)):null;}function _0xf84a6(_0x2ac5ec){return window[_0x373924([0x61,0x74,0x6f,0x62])](_0x2ac5ec[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x373924([0x2b]))[_0x373924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x373924([0x2f])));}function _0x113eac(_0x4c43a1){let _0x2905bb=0x1505;function _0x96a139(_0xaa9bf8){for(let _0x438e20=0x0;_0x438e20<_0xaa9bf8[_0x373924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x438e20++){const _0x5a76d9=_0xaa9bf8[_0x373924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x438e20);_0x2905bb=(_0x2905bb<<0x5)+_0x2905bb+_0x5a76d9,_0x2905bb&=_0x2905bb;}}function _0x249a87(_0x44d8b8){Array[_0x373924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44d8b8)?_0x44d8b8[_0x373924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x249a87):_0x44d8b8&&typeof _0x44d8b8==_0x373924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x373924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44d8b8)[_0x373924([0x73,0x6f,0x72,0x74])]()[_0x373924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x91fb15,_0x4971f7])=>{_0x96a139(_0x91fb15),_0x249a87(_0x4971f7);}):_0x96a139(window[_0x373924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44d8b8));}return _0x249a87(_0x4c43a1),_0x2905bb>>>0x0;}function _0xd7eec8(_0x28942e){return _0x28942e[_0x373924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x373924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x373924([0x30]));}function _0x19322b(_0x3ddd65){return _0x3ddd65[_0x373924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x373924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x373924([0x6a,0x6f,0x69,0x6e])]('');}function _0xecbaa4(){}function _0x373924(_0x3eb1f7){return _0x3eb1f7['map'](_0x49f884=>String['fromCharCode'](_0x49f884))['join']('');}_0x4cd3e4(await _0x8397fa());}(this);}['_initSchema'](){const _0x4d0a86=this['editor']['model']['schema'];_0x4d0a86['isRegistered']('imageBlock')&&_0x4d0a86['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x4d0a86['isRegistered']('imageInline')&&_0x4d0a86['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x2db5d5=this['editor'];_0x2db5d5['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x2db5d5['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x25b445=>_0x25b445['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12885d=_0x2db5d5['commands']['get']('replaceImageSource');_0x12885d&&this['listenTo'](_0x12885d,'cleanupImage',(_0x21d9ea,[_0x430976,_0x4d9f45])=>{_0x430976['removeAttribute']('uploadcareImageId',_0x4d9f45);});}['_initConfig'](){const _0x4f76d5=this['editor']['config']['get']('uploadcare.uploader')||{},_0xcbf3d2=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0xee2fdc(_0x5b6665['document'],'uc-config',{..._0x4f76d5,'pubkey':_0xcbf3d2,'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']=_0x3b3a80=>{if('closeMax'==_0x3b3a80)return'#uc-icon-arrow-down';},_0x5b6665['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0xee2fdc(_0x5b6665['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader'}),_0x5b6665['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x2555ac=this['editor']['commands']['get']('insertImage');_0x2555ac&&this['listenTo'](_0x2555ac,'execute',()=>{const _0x125439=this['editor']['model']['document']['selection']['getSelectedElement']();_0x125439&&_0x125439['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0x125439);});});const _0x469c75=this['editor']['commands']['get']('uploadcareImageReplace');_0x469c75&&this['listenTo'](_0x469c75,'execute',()=>{const _0xd8d14f=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd8d14f&&_0xd8d14f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{m(this['editor'],_0xd8d14f);});});}}class u extends _0x510bda{static get['requires'](){return[i,e];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3948e8){super(_0x3948e8),_0x3948e8['config']['define']('uploadcare.uploader.sourceList',[o['Local'],o['URL']]),_0x52fb9d['defineComponents'](_0x52fb9d);}}class ta extends _0x5dd053{constructor(_0x2c183d){super(_0x2c183d);const t=_0x2c183d['t'],_0x48e2c0=this['bindTemplate'],_0x2b8715=new _0x258d43();_0x2b8715['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':[_0x2b8715,{'text':_0x48e2c0['to']('imageUploadProgress',_0x5683e4=>t('Loading\x20image...')+'\x20('+(_0x5683e4||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 _0x5dd053{constructor(_0x55bba9){super(_0x55bba9);const t=_0x55bba9['t'];this['set']('errorType',null);const _0x367cb8=new _0x337eee(_0x55bba9);_0x367cb8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x367cb8['withText']=!0x0,_0x367cb8['class']='ck-button-action',_0x367cb8['on']('execute',()=>{this['fire']('retry');}),_0x367cb8['bind']('isVisible')['to'](this,'errorType',_0x41daad=>'NotFound'!==_0x41daad);const _0x552757=new at();_0x552757['content']=et,_0x552757['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f51c8=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':[_0x552757,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f51c8['to']('errorType',_0x25968a=>t('NotFound'!==_0x25968a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x367cb8]},{'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 _0x5dd053{constructor(_0x3dbd40,_0x391641){super(_0x3dbd40);const _0x140229=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x391641,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x140229['to']('imageSrc')}});}}class Z extends q{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2f915e,_0x309a68,_0x648525){super(_0x2f915e),this['_items']=this['createCollection'](),this['_loadingView']=new ta(_0x2f915e),this['_errorView']=new rt(_0x2f915e),this['_editingView']=new tt(_0x2f915e,_0x648525),this['_focusableView']=new _0x5dd053(_0x2f915e),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x309a68),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'],_0x301f92=>{this['_addUploadcareImageEditorListeners'](_0x301f92);});}),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'](_0x1c0069,_0x1a41b2){const _0x45b1e7='uc-cloud-image-editor',_0x3bfef5=_0x1c0069['querySelector'](_0x45b1e7);if(_0x3bfef5)return _0x1a41b2(_0x3bfef5);const _0xe4e020=new MutationObserver(_0x1cde24=>{const _0x3be671=_0x1cde24['filter'](_0x432d5e=>_0x432d5e['target']===_0x1c0069&&_0x432d5e['addedNodes']['length']>0x0&&_0x432d5e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x45b1e7);_0x3be671['length']&&(_0xe4e020['disconnect'](),_0x1a41b2(_0x3be671[0x0]['addedNodes'][0x0]));});_0xe4e020['observe'](_0x1c0069,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x64818){_0x64818['addEventListener']('apply',_0x5afd39=>{this['fire']('apply',{'imageSrc':_0x5afd39['detail']['cdnUrl']});}),_0x64818['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class O extends/* #__PURE__ -- @preserve */
25
+ _0x315153(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x22d7a2,_0x5a908c,_0x4f7eba){super(),this['_editor']=_0x22d7a2,this['_dialog']=_0x5a908c,this['_imageElement']=_0x4f7eba,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 _0x8d26e=this['_imageElement'],_0x154956=_0x8d26e['getAttribute']('uploadcareImageId'),_0x1fdd74=_0x8d26e['getAttribute']('src');if(_0x154956)await this['_loadImageInfo'](_0x154956,_0x1fdd74);else{if(this['_imageCache']['has'](_0x1fdd74)){const _0x42c188=this['_imageCache']['get'](_0x1fdd74);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42c188['url'],this['imageDimension']=_0x42c188['dimension'],this['imageId']=_0x42c188['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29ac17}=this['_editor'],t=_0x29ac17['t'],_0x540bfe=new Z(_0x29ac17,this['imageStatus'],this['_attributes']);_0x540bfe['bind']('status')['to'](this,'imageStatus'),_0x540bfe['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x540bfe['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x540bfe['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x540bfe,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x17de08,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x540bfe,'position':_0x42b264['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x540bfe['focus']();},'onHide':()=>{_0x540bfe['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xe1b064=>!F(_0xe1b064,_0x540bfe['element'])}});}['_loadImageInfo'](_0x35caea,_0x125975){return C['getInfo'](_0x35caea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2e6c7b=>{const {width:_0x10b6ee,height:_0x1ef47c}=_0x2e6c7b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x125975,this['imageDimension']={'width':_0x10b6ee,'height':_0x1ef47c},this['imageId']=_0x35caea;})['catch'](_0x39aeed=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39aeed['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x37202a,_0x1e747c){return this['_getImageAsFile'](_0x37202a)['then'](_0x4933c0=>C['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1e747c['signal'],'file':_0x4933c0,'onProgress':_0x37dbdd=>{_0x37dbdd&&_0x37dbdd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x37dbdd['value']));}}))['then'](_0x4166e3=>{const {width:_0x181eda,height:_0x41de0a}=_0x4166e3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4166e3['cdnUrl'],this['imageDimension']={'width':_0x181eda,'height':_0x41de0a},this['imageId']=_0x4166e3['uuid'],this['imageUploadProgress']=null;const _0xc7e55b=_0x37202a['getAttribute']('src');this['_imageCache']['set'](_0xc7e55b,{'id':_0x4166e3['uuid'],'url':_0x4166e3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x22479f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22479f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3aa11f,_0x190962){_0x3aa11f['on']('apply',(_0x124e4b,_0x5b6581)=>{this['_replaceImage'](_0x190962,_0x5b6581['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3aa11f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3aa11f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x102249,_0x1cdaef,_0x10bbad){const _0x207324=this['_editor'],{width:_0x1bc626,height:_0xc32a76}=A(_0x1cdaef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25a045,imageSources:_0x508ef8}=E(_0x1cdaef,_0x1bc626);_0x207324['model']['change'](_0x5f21ae=>{if('$graveyard'===_0x102249['root']['rootName']){_0x207324['execute']('insertImage',{'imageType':_0x102249['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x102249['getAttributes']()),'uploadcareImageId':_0x10bbad,'src':_0x25a045,'sources':_0x508ef8,'width':_0x1bc626,'height':_0xc32a76}});const _0x334e39=_0x102249['getChildren']();_0x102249=_0x207324['model']['document']['selection']['getSelectedElement']();for(const _0x53e954 of _0x334e39)_0x5f21ae['append'](_0x5f21ae['cloneElement'](_0x53e954),_0x102249);}else _0x5f21ae['setSelection'](_0x102249,'on'),_0x207324['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x102249['getAttributes']()),'uploadcareImageId':_0x10bbad,'src':_0x25a045,'sources':_0x508ef8,'width':_0x1bc626,'height':_0xc32a76},_0x102249);_0x5f21ae['setSelection'](_0x102249,'on');});}async['_getImageAsFile'](_0xb3d214){const _0x12b1f9=_0x5b6665['window'],_0x5e41df=_0x5b6665['document']['location']['href'],_0x522d84=new _0x12b1f9['URL'](_0xb3d214['getAttribute']('src'),_0x5e41df);if('data:'===_0x522d84['protocol']){const _0x1a1997=_0x522d84['href']['split'](','),_0x361e1f=_0x1a1997[0x0]['match'](/:(.*?);/)[0x1],_0x448636=_0x361e1f['split']('/')[0x1],_0x5a1afb=_0x12b1f9['atob'](_0x1a1997[_0x1a1997['length']-0x1]);let _0x2cb3d6=_0x5a1afb['length'];const _0x32e70e=new _0x12b1f9['Uint8Array'](_0x2cb3d6);for(;_0x2cb3d6--;)_0x32e70e[_0x2cb3d6]=_0x5a1afb['charCodeAt'](_0x2cb3d6);return new _0x12b1f9['File']([_0x32e70e],'image.'+_0x448636,{'type':_0x361e1f});}const _0x1af14e=_0x522d84['href']['split']('/'),_0x44e971=_0x1af14e[_0x1af14e['length']-0x1],_0x45cad5=_0x44e971['split']('.')[0x1];return _0x12b1f9['fetch'](_0x522d84['href'])['then'](_0x4c2073=>_0x4c2073['clone']()['blob']())['then'](_0x11647=>new _0x12b1f9['File']([_0x11647],_0x44e971,{'type':'image/'+_0x45cad5}));}}class V extends _0x29f821{['imageEditController'];static get['requires'](){return[_0x971214];}['_isEditable'];constructor(_0x5003d3){super(_0x5003d3),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x23f404){const _0x397962=R(_0x23f404);return _0x22842f=>!(!_0x22842f||!_0x22842f['is']('element','imageBlock')&&!_0x22842f['is']('element','imageInline'))&&(!!_0x22842f['hasAttribute']('uploadcareImageId')||!!_0x22842f['hasAttribute']('src')&&_0x397962(_0x22842f['getAttribute']('src')));}(_0x5003d3['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x39803f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x39803f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4e8139=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4e8139&&(_0x4e8139['is']('element','imageBlock')||_0x4e8139['is']('element','imageInline'))&&(this['imageEditController']=new O(this['editor'],this['editor']['plugins']['get'](_0x971214),_0x4e8139),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class X extends _0x29f821{['refresh'](){const _0x3fc471=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3fc471&&(_0x3fc471['is']('element','imageBlock')||_0x3fc471['is']('element','imageInline')));}['execute'](_0x390a14){const _0x667b4f=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x3d661e=>{_0x3d661e['setAttributes'](_0x390a14,_0x667b4f),_0x3d661e['removeAttribute']('srcset',_0x667b4f),_0x3d661e['removeAttribute']('sizes',_0x667b4f);});}}class g extends _0x510bda{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[i,_0x54db13,'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52c07b}=this;_0x52c07b['commands']['add']('uploadcareImageEdit',new V(_0x52c07b)),_0x52c07b['commands']['add']('uploadcareImageReplace',new X(_0x52c07b));}}class j extends _0x510bda{['_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 _0x43eaa0=this['editor'];_0x43eaa0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x257f15=>{const _0x56907b=_0x43eaa0['commands']['get']('uploadcareImageEdit'),_0x296ded=new _0x337eee(_0x257f15),t=_0x257f15['t'];return _0x296ded['set']({'icon':_0x17de08,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x296ded['bind']('isEnabled')['to'](_0x56907b),_0x296ded['bind']('isOn')['to'](_0x56907b,'isActive'),this['listenTo'](_0x296ded,'execute',()=>{_0x43eaa0['execute']('uploadcareImageEdit'),_0x43eaa0['editing']['view']['focus']();}),_0x296ded;}),this['_initConfig']();}['_initConfig'](){const _0x2f070f=_0xee2fdc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2f070f),this['listenTo'](this['editor'],'destroy',()=>{_0x2f070f['remove']();});}}class P extends _0x510bda{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':_0x2ffdef=>0x1!=_0x2ffdef}};
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':_0x42a69d=>0x1!=_0x42a69d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f7d28=>{const {af:{dictionary:_0x54cef5,getPluralForm:_0x493e0b}}={'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':_0x22e034=>0x1!=_0x22e034}};_0x1f7d28['af']||={'dictionary':{},'getPluralForm':null},_0x1f7d28['af']['dictionary']=Object['assign'](_0x1f7d28['af']['dictionary'],_0x54cef5),_0x1f7d28['af']['getPluralForm']=_0x493e0b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1b5574=>{const {af:{dictionary:_0x596940,getPluralForm:_0x1ef16f}}={'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':_0x1dcb32=>0x1!=_0x1dcb32}};_0x1b5574['af']||={'dictionary':{},'getPluralForm':null},_0x1b5574['af']['dictionary']=Object['assign'](_0x1b5574['af']['dictionary'],_0x596940),_0x1b5574['af']['getPluralForm']=_0x1ef16f;})(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':_0x4b35a2=>0x0==_0x4b35a2?0x0:0x1==_0x4b35a2?0x1:0x2==_0x4b35a2?0x2:_0x4b35a2%0x64>=0x3&&_0x4b35a2%0x64<=0xa?0x3:_0x4b35a2%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':_0x265f71=>0x0==_0x265f71?0x0:0x1==_0x265f71?0x1:0x2==_0x265f71?0x2:_0x265f71%0x64>=0x3&&_0x265f71%0x64<=0xa?0x3:_0x265f71%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a19f4=>{const {ar:{dictionary:_0x33a6b5,getPluralForm:_0xec9ce2}}={'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':_0x4f175a=>0x0==_0x4f175a?0x0:0x1==_0x4f175a?0x1:0x2==_0x4f175a?0x2:_0x4f175a%0x64>=0x3&&_0x4f175a%0x64<=0xa?0x3:_0x4f175a%0x64>=0xb?0x4:0x5}};_0x4a19f4['ar']||={'dictionary':{},'getPluralForm':null},_0x4a19f4['ar']['dictionary']=Object['assign'](_0x4a19f4['ar']['dictionary'],_0x33a6b5),_0x4a19f4['ar']['getPluralForm']=_0xec9ce2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34f301=>{const {ar:{dictionary:_0x4a091f,getPluralForm:_0x394487}}={'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':_0x343ce7=>0x0==_0x343ce7?0x0:0x1==_0x343ce7?0x1:0x2==_0x343ce7?0x2:_0x343ce7%0x64>=0x3&&_0x343ce7%0x64<=0xa?0x3:_0x343ce7%0x64>=0xb?0x4:0x5}};_0x34f301['ar']||={'dictionary':{},'getPluralForm':null},_0x34f301['ar']['dictionary']=Object['assign'](_0x34f301['ar']['dictionary'],_0x4a091f),_0x34f301['ar']['getPluralForm']=_0x394487;})(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':_0x46952b=>0x1!=_0x46952b}};
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':_0x133627=>0x1!=_0x133627}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x87a4e1=>{const {ast:{dictionary:_0x270d0f,getPluralForm:_0x40c4ba}}={'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':_0x408f47=>0x1!=_0x408f47}};_0x87a4e1['ast']||={'dictionary':{},'getPluralForm':null},_0x87a4e1['ast']['dictionary']=Object['assign'](_0x87a4e1['ast']['dictionary'],_0x270d0f),_0x87a4e1['ast']['getPluralForm']=_0x40c4ba;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2b5f38=>{const {ast:{dictionary:_0x5523e2,getPluralForm:_0x3d966f}}={'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':_0xc5853a=>0x1!=_0xc5853a}};_0x2b5f38['ast']||={'dictionary':{},'getPluralForm':null},_0x2b5f38['ast']['dictionary']=Object['assign'](_0x2b5f38['ast']['dictionary'],_0x5523e2),_0x2b5f38['ast']['getPluralForm']=_0x3d966f;})(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':_0x4b70de=>0x1!=_0x4b70de}};
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':_0x518413=>0x1!=_0x518413}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e69ba=>{const {az:{dictionary:_0x1836de,getPluralForm:_0x325223}}={'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':_0x360bbe=>0x1!=_0x360bbe}};_0x1e69ba['az']||={'dictionary':{},'getPluralForm':null},_0x1e69ba['az']['dictionary']=Object['assign'](_0x1e69ba['az']['dictionary'],_0x1836de),_0x1e69ba['az']['getPluralForm']=_0x325223;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4a0e82=>{const {az:{dictionary:_0x5bbf24,getPluralForm:_0x12425d}}={'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':_0x13cb51=>0x1!=_0x13cb51}};_0x4a0e82['az']||={'dictionary':{},'getPluralForm':null},_0x4a0e82['az']['dictionary']=Object['assign'](_0x4a0e82['az']['dictionary'],_0x5bbf24),_0x4a0e82['az']['getPluralForm']=_0x12425d;})(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':_0x5b9f36=>0x1!=_0x5b9f36}};
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':_0x8bb437=>0x1!=_0x8bb437}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3833e0=>{const {bg:{dictionary:_0x538bf0,getPluralForm:_0x4894c5}}={'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':_0x372f31=>0x1!=_0x372f31}};_0x3833e0['bg']||={'dictionary':{},'getPluralForm':null},_0x3833e0['bg']['dictionary']=Object['assign'](_0x3833e0['bg']['dictionary'],_0x538bf0),_0x3833e0['bg']['getPluralForm']=_0x4894c5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x482f48=>{const {bg:{dictionary:_0x56d1ab,getPluralForm:_0x472546}}={'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':_0x3f4dc8=>0x1!=_0x3f4dc8}};_0x482f48['bg']||={'dictionary':{},'getPluralForm':null},_0x482f48['bg']['dictionary']=Object['assign'](_0x482f48['bg']['dictionary'],_0x56d1ab),_0x482f48['bg']['getPluralForm']=_0x472546;})(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':_0x2c543d=>0x1!=_0x2c543d}};
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':_0xe2600e=>0x1!=_0xe2600e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19eb55=>{const {bn:{dictionary:_0x25bf1c,getPluralForm:_0x20c89c}}={'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':_0x5ed81e=>0x1!=_0x5ed81e}};_0x19eb55['bn']||={'dictionary':{},'getPluralForm':null},_0x19eb55['bn']['dictionary']=Object['assign'](_0x19eb55['bn']['dictionary'],_0x25bf1c),_0x19eb55['bn']['getPluralForm']=_0x20c89c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27338f=>{const {bn:{dictionary:_0x22c3cc,getPluralForm:_0x5773b3}}={'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':_0x55ac16=>0x1!=_0x55ac16}};_0x27338f['bn']||={'dictionary':{},'getPluralForm':null},_0x27338f['bn']['dictionary']=Object['assign'](_0x27338f['bn']['dictionary'],_0x22c3cc),_0x27338f['bn']['getPluralForm']=_0x5773b3;})(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':_0x55306b=>_0x55306b%0xa==0x1&&_0x55306b%0x64!=0xb?0x0:_0x55306b%0xa>=0x2&&_0x55306b%0xa<=0x4&&(_0x55306b%0x64<0xa||_0x55306b%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':_0x32b371=>_0x32b371%0xa==0x1&&_0x32b371%0x64!=0xb?0x0:_0x32b371%0xa>=0x2&&_0x32b371%0xa<=0x4&&(_0x32b371%0x64<0xa||_0x32b371%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1efeaf=>{const {bs:{dictionary:_0x5dc7e5,getPluralForm:_0x168975}}={'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':_0x1f9558=>_0x1f9558%0xa==0x1&&_0x1f9558%0x64!=0xb?0x0:_0x1f9558%0xa>=0x2&&_0x1f9558%0xa<=0x4&&(_0x1f9558%0x64<0xa||_0x1f9558%0x64>=0x14)?0x1:0x2}};_0x1efeaf['bs']||={'dictionary':{},'getPluralForm':null},_0x1efeaf['bs']['dictionary']=Object['assign'](_0x1efeaf['bs']['dictionary'],_0x5dc7e5),_0x1efeaf['bs']['getPluralForm']=_0x168975;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fc1fb=>{const {bs:{dictionary:_0xb275e9,getPluralForm:_0x3f2b7e}}={'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':_0x19a817=>_0x19a817%0xa==0x1&&_0x19a817%0x64!=0xb?0x0:_0x19a817%0xa>=0x2&&_0x19a817%0xa<=0x4&&(_0x19a817%0x64<0xa||_0x19a817%0x64>=0x14)?0x1:0x2}};_0x4fc1fb['bs']||={'dictionary':{},'getPluralForm':null},_0x4fc1fb['bs']['dictionary']=Object['assign'](_0x4fc1fb['bs']['dictionary'],_0xb275e9),_0x4fc1fb['bs']['getPluralForm']=_0x3f2b7e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x106fb7=>0x1!=_0x106fb7}};
23
+ export default{'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4d2215=>0x1!=_0x4d2215}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39ce63=>{const {ca:{dictionary:_0x2af9d3,getPluralForm:_0x5d398e}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x58ff8b=>0x1!=_0x58ff8b}};_0x39ce63['ca']||={'dictionary':{},'getPluralForm':null},_0x39ce63['ca']['dictionary']=Object['assign'](_0x39ce63['ca']['dictionary'],_0x2af9d3),_0x39ce63['ca']['getPluralForm']=_0x5d398e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x253613=>{const {ca:{dictionary:_0x3dcfe1,getPluralForm:_0x3953de}}={'ca':{'dictionary':{'Insert\x20with\x20Dropbox':'Insereix\x20amb\x20Dropbox','Replace\x20with\x20Dropbox':'Substitueix\x20amb\x20Dropbox','With\x20Dropbox':'Amb\x20Dropbox','Insert\x20with\x20Facebook':'Insereix\x20amb\x20Facebook','Replace\x20with\x20Facebook':'Substitueix\x20amb\x20Facebook','With\x20Facebook':'Amb\x20Facebook','Insert\x20with\x20Google\x20Drive':'Insereix\x20amb\x20Google\x20Drive','Replace\x20with\x20Google\x20Drive':'Substitueix\x20amb\x20Google\x20Drive','With\x20Google\x20Drive':'Amb\x20Google\x20Drive','Insert\x20with\x20Google\x20Photos':'Insereix\x20amb\x20Google\x20Fotos','Replace\x20with\x20Google\x20Photos':'Substitueix\x20amb\x20Google\x20Fotos','With\x20Google\x20Photos':'Amb\x20Google\x20Fotos','Insert\x20with\x20OneDrive':'Insereix\x20amb\x20OneDrive','Replace\x20with\x20OneDrive':'Substitueix\x20amb\x20OneDrive','With\x20OneDrive':'Amb\x20OneDrive','Replace\x20via\x20URL':'Substitueix\x20mitjançant\x20un\x20URL','Edit\x20Image\x20(Uploadcare)':'Edita\x20la\x20imatge','Loading\x20image...':'S\x27està\x20carregant\x20la\x20imatge...','Unable\x20to\x20load':'No\x20es\x20pot\x20carregar','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'No\x20hem\x20pogut\x20carregar\x20la\x20imatge\x20a\x20causa\x20dels\x20problemes\x20de\x20connexió\x20de\x20xarxa.','Try\x20again\x20(Uploadcare)':'Torna-ho\x20a\x20provar','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':'No\x20s\x27ha\x20trobat\x20la\x20imatge.\x20És\x20possible\x20que\x20s\x27hagi\x20suprimit\x20la\x20seva\x20font.'},'getPluralForm':_0x4d7381=>0x1!=_0x4d7381}};_0x253613['ca']||={'dictionary':{},'getPluralForm':null},_0x253613['ca']['dictionary']=Object['assign'](_0x253613['ca']['dictionary'],_0x3dcfe1),_0x253613['ca']['getPluralForm']=_0x3953de;})(window['CKEDITOR_TRANSLATIONS']||={});