@ckeditor/ckeditor5-uploadcare 48.3.1 → 48.4.0-alpha.1

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 (156) hide show
  1. package/dist/index-content.css +0 -3
  2. package/dist/index-editor.css +2523 -2523
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/dist/ui/uploadcareformview.d.ts +0 -1
  152. package/dist/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +0 -1
  153. package/dist/uploadcareimageedit/uploadcareimageeditui.d.ts +0 -2
  154. package/dist/uploadcareui.d.ts +0 -3
  155. package/dist/utils/dialogfocusmanagerview.d.ts +0 -1
  156. package/package.json +9 -8
package/dist/index.d.ts CHANGED
@@ -15,4 +15,6 @@ export { UploadcareImageEditCommand } from "./uploadcareimageedit/uploadcareimag
15
15
  export { UploadcareCommand } from "./uploadcarecommand.js";
16
16
  export { UploadcareUploadAdapter } from "./uploadcareuploadadapter.js";
17
17
  export type { UploadcareConfig, UploadcareSource, UploadcareAssetImageDefinition, UploadcareExcludedKeys, UploadcareUploaderConfig, UploadcareEditorConfig, UploadcareAssetImageAttributesDefinition, UploadcareLocaleDefinition, UploadcareLocaleDefinitionResolver } from "./uploadcareconfig.js";
18
+ import "../theme/index-editor.css";
19
+ import "../theme/index-content.css";
18
20
  import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x42606f,Plugin as _0xf59544}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x103bfc,IconError as _0x40d3d7,IconFacebook as _0x373541,IconGoogleDrive as _0x41e164,IconGooglePhotos as _0x4ff19a,IconOneDrive as _0x40ad59,IconUploadcareImageEdit as _0x282e67,IconUploadcareImageUpload as _0x4af691,IconUploadcareLink as _0xc01f52}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x108ee7,Dialog as _0x2685ab,DialogViewPosition as _0x4b0200,FocusCycler as _0x77e8a0,IconView as _0x3c810c,MenuBarMenuListItemButtonView as _0x22ebe6,Notification as _0x355739,SpinnerView as _0x3ba27d,View as _0x15d918}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x239896,FocusTracker as _0x40a4f6,ObservableMixin as _0x211a54,createElement as _0x2a7d11,getAncestors as _0x23e8a4,global as _0x343abf,uid as _0x539b23}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0x442ce3,ImageUploadEditing as _0x2c9ebc,ImageUploadProgress as _0x18a0cd,ImageUtils as _0x30aa56,PictureEditing as _0x39d575}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x50d41f}from'@ckeditor/ckeditor5-upload';import{info as _0x195305,uploadFile as _0x9e9ea2}from'@uploadcare/upload-client';import*as _0x2e0eeb from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0xddee2a,_0x44dd30,_0x20214c){const t=_0xddee2a['t'],_0x28ddf7=_0xddee2a['t'];switch(_0x44dd30){case'local':return{'text':_0x28ddf7('Insert'===_0x20214c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x28ddf7('From\x20computer')};case'url':return{'text':'Insert'===_0x20214c?_0x28ddf7('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x28ddf7('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x20214c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x44dd30;}}var V=class extends _0xf59544{['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 _0x13c0bf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e7122;for(const _0x430e49 in _0x13c0bf){const _0x51d48c=_0x430e49,_0x195647=_0x13c0bf[_0x51d48c];if('uploadcareLicenseKeyValid'==_0x195647||'uploadcareLicenseKeyInvalid'==_0x195647||'uploadcareLicenseKeyExpired'==_0x195647||'uploadcareLicenseKeyDomainLimit'==_0x195647||'uploadcareLicenseKeyNotAllowed'==_0x195647||'uploadcareLicenseKeyEvaluationLimit'==_0x195647||'uploadcareLicenseKeyUsageLimit'==_0x195647){delete _0x13c0bf[_0x51d48c],_0x1e7122=_0x195647,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x1e7122&&_0x13c0bf['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x1e7122&&_0x13c0bf['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x1e7122&&_0x13c0bf['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x1e7122&&_0x13c0bf['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x57d5bb}=this,_0x464f20=_0x57d5bb['commands']['get']('uploadcare');if(!_0x464f20)return;const _0x258058=this['_normalizeConfigSourceList'](_0x57d5bb['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2c793b,_0x2f3526)=>{const _0x3e3672=this['_getIntegrationKey'](_0x2f3526['type']);return _0x2c793b[_0x3e3672]||(_0x2c793b[_0x3e3672]=[]),_0x2c793b[_0x3e3672]['push'](_0x2f3526),_0x2c793b;},{});_0x57d5bb['plugins']['has']('ImageInsertUI')&&_0x57d5bb['commands']['get']('uploadcare')&&Object['entries'](_0x258058)['forEach'](([_0x69fd41,_0x527183])=>{_0x57d5bb['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x69fd41,'observable':()=>_0x464f20,'buttonViewCreator':()=>this['_createToolbarButton'](_0x527183),'formViewCreator':()=>this['_createDropdownButtons'](_0x527183),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x527183),'override':'assetManager'!==_0x69fd41});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x21a305){const {locale:_0x4bb600}=this['editor'];return _0x21a305['map'](_0x559d23=>{const _0x4a7a8f=T(_0x4bb600,_0x559d23,'Insert');switch(_0x559d23){case'local':return{'icon':_0x4af691,'type':'local',..._0x4a7a8f};case'url':return{'icon':_0xc01f52,'type':'url',..._0x4a7a8f};case'dropbox':return{'icon':_0x103bfc,'type':'dropbox',..._0x4a7a8f};case'facebook':return{'icon':_0x373541,'type':'facebook',..._0x4a7a8f};case'gdrive':return{'icon':_0x41e164,'type':'gdrive',..._0x4a7a8f};case'gphotos':return{'icon':_0x4ff19a,'type':'gphotos',..._0x4a7a8f};case'onedrive':return{'icon':_0x40ad59,'type':'onedrive',..._0x4a7a8f};}});}['_getIntegrationKey'](_0x55169a){switch(_0x55169a){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x9337f3,_0x74c8ed){const _0x1d506d=this['editor'],_0x52827f=new _0x9337f3(_0x1d506d['locale']),_0x38c58f=_0x1d506d['commands']['get']('uploadcare');return _0x52827f['bind']('isEnabled')['to'](_0x38c58f),_0x52827f['on']('execute',()=>{_0x38c58f['execute'](_0x74c8ed);}),_0x52827f;}['_createToolbarButton'](_0x3ee33b){const {locale:_0x25a1d3}=this['editor'],_0x237c02=this['editor']['plugins']['get']('ImageInsertUI'),_0x103b5b=_0x3ee33b[0x0],_0x44bda5=this['_createButton'](_0x108ee7,_0x103b5b['type']);return _0x44bda5['icon']=_0x103b5b['icon'],_0x44bda5['bind']('label')['to'](_0x237c02,'isImageSelected',_0x25c1c0=>T(_0x25a1d3,_0x103b5b['type'],_0x25c1c0?'Replace':'Insert')['text']),_0x44bda5['tooltip']=!0x0,_0x44bda5;}['_createDropdownButtons'](_0x16eb73){const {locale:_0x32355e}=this['editor'],_0x475a56=this['editor']['plugins']['get']('ImageInsertUI');return _0x16eb73['map'](_0x100f33=>{const _0x5e94ae=this['_createButton'](_0x108ee7,_0x100f33['type']);return _0x5e94ae['withText']=!0x0,_0x5e94ae['icon']=_0x100f33['icon'],_0x5e94ae['bind']('label')['to'](_0x475a56,'isImageSelected',_0x3e7957=>T(_0x32355e,_0x100f33['type'],_0x3e7957?'Replace':'Insert')['text']),_0x5e94ae;});}['_createMenuBarButtons'](_0x5ad90c){return _0x5ad90c['map'](_0x285c92=>{const _0x22bf41=this['_createButton'](_0x22ebe6,_0x285c92['type']);return _0x22bf41['icon']=_0x285c92['icon'],_0x22bf41['label']=_0x285c92['shortText'],_0x22bf41;});}},F=class extends _0x15d918{['focusTracker'];['focusCycler'];constructor(_0x3f3cb5){super(_0x3f3cb5),this['focusTracker']=new _0x40a4f6(),this['focusCycler']=new _0x77e8a0({'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 extends F{constructor(_0x45102f,_0x12a4e9){super(_0x45102f),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-'+_0x12a4e9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x85450e,_0x12bfb6){const _0x4e97ba=_0x85450e['replace'](/\/$/,'');return{'imageFallbackUrl':_0x85450e,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x5e7a74=>_0x5e7a74<_0x12bfb6)['map'](_0xb7b43b=>_0x4e97ba+'/-/resize/'+_0xb7b43b+'x/\x20'+_0xb7b43b+'w'),_0x85450e+'\x20'+_0x12bfb6+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x12bfb6+'px)\x20100vw,\x20'+_0x12bfb6+'px','type':'image/webp'}]};}function j(_0x27dccf,_0x58d7d5,_0x52eab7){const _0x1de37f=_0x27dccf['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1de37f?parseInt(_0x1de37f[0x1],0xa):_0x58d7d5,'height':_0x1de37f?parseInt(_0x1de37f[0x2],0xa):_0x52eab7};}function q(_0x2818b3,_0x447ac1){const _0x307bd1=new(_0x239896())(),_0x22174e=_0x2818b3['plugins']['get']('ImageUtils'),_0x1145de=_0x2818b3['editing']['mapper']['toViewElement'](_0x447ac1),_0x572698=_0x22174e['findViewImgElement'](_0x1145de),_0x20320e=_0x2818b3['editing']['view']['domConverter']['viewToDom'](_0x572698),_0x138566=_0x447ac1['getAttribute']('width'),_0x452fff=_0x447ac1['getAttribute']('height'),_0x2bcc1b='image-processing';_0x2818b3['editing']['view']['change'](_0xb45501=>{_0xb45501['addClass'](_0x2bcc1b,_0x1145de),_0xb45501['setStyle']('aspect-ratio',_0x138566+'/'+_0x452fff,_0x572698);}),_0x307bd1['listenTo'](_0x20320e,'load',()=>{_0x307bd1['stopListening'](_0x20320e,'load'),_0x2818b3['editing']['view']['change'](_0x35635f=>{_0x35635f['removeClass'](_0x2bcc1b,_0x1145de),_0x35635f['removeStyle']('aspect-ratio',_0x572698);});});}function M(_0x376fc3){if(Array['isArray'](_0x376fc3)){const _0x5bdfcf=_0x376fc3['map'](M);return _0x1806cc=>_0x5bdfcf['some'](_0x2cdc4a=>_0x2cdc4a(_0x1806cc));}if('origin'==_0x376fc3){const _0x52b760=_0x343abf['window']['location']['origin'];return _0x449080=>new URL(_0x449080,_0x343abf['document']['baseURI'])['origin']==_0x52b760;}return'function'==typeof _0x376fc3?_0x376fc3:_0x376fc3 instanceof RegExp?_0x1d790b=>!(!_0x1d790b['match'](_0x376fc3)&&!_0x1d790b['replace'](/^https?:\/\//,'')['match'](_0x376fc3)):()=>!0x1;}function H(_0x4ec213,_0x572778){return _0x23e8a4(_0x4ec213['target'])['includes'](_0x572778);}const W=/* #__PURE__ -- @preserve */
24
- _0x211a54();var G=class extends W{['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x357cb6,_0x736854,_0x3406ed){super(),this['_editor']=_0x357cb6,this['_editing']=_0x736854,this['_dialog']=_0x357cb6['plugins']['get'](_0x2685ab),this['_api']=_0x736854['ctxElement']['getAPI'](),this['_type']=_0x3406ed,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:_0x1c4f5c,model:_0x35f5cb}=this['_editor'],_0xbf9c35=_0x35f5cb['document']['selection']['getSelectedElement'](),_0x50490b=_0xbf9c35&&(_0xbf9c35['is']('element','imageBlock')||_0xbf9c35['is']('element','imageInline'));this['_formView']=new $(_0x1c4f5c,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x4af691,'title':T(_0x1c4f5c,this['_type'],_0x50490b?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x4b0200['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x29ec60=>!H(_0x29ec60,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x374e11}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x408740=>{const _0x4a4217=_0x374e11['length'];for(const _0x447f8e of _0x374e11){const _0x284c5c=_0x447f8e===_0x374e11[_0x4a4217-0x1],{cdnUrl:_0x529189,fileInfo:_0x44c67d}=_0x447f8e;if(!_0x529189||!_0x44c67d)continue;const {width:_0x5d2a40,height:_0x4a62fd}=_0x44c67d['imageInfo'],_0x2f8d18=j(_0x529189,_0x5d2a40,_0x4a62fd),_0x18c999=B(_0x529189,_0x2f8d18['width']),_0x1b8252={'id':_0x44c67d['uuid'],'type':'image','attributes':{'imageDimension':_0x2f8d18,..._0x18c999}};this['_insertAsset'](_0x1b8252,_0x284c5c,_0x408740);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x19749a=>{'idle'===_0x19749a['detail']['status']&&!_0x19749a['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x35f498,_0x5af611,_0x46ebd5){const _0x542ccd=this['_editor']['model']['document']['selection'],_0x28976b=_0x542ccd['getSelectedElement'](),_0xb77edf=!(!_0x28976b||!_0x28976b['is']('element','imageInline'));_0x46ebd5['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x35f498,_0xb77edf),_0x5af611||_0x46ebd5['setSelection'](_0x542ccd['getLastPosition']());}['_insertImage'](_0x3a1d0d,_0x145afa){const _0xdbf91d=this['_editor'],{imageDimension:_0x14ccf6,imageFallbackUrl:_0x1397a9,imageSources:_0x251110}=_0x3a1d0d['attributes'];_0xdbf91d['execute']('insertImage',{'imageType':_0x145afa?'imageInline':null,'source':{'uploadcareImageId':_0x3a1d0d['id'],'src':_0x1397a9,'sources':_0x251110,..._0x14ccf6}});}},z=class extends _0x42606f{['_editing'];['_controller']=null;static get['requires'](){return[_0x2685ab,Z];}constructor(_0x36293e){super(_0x36293e),this['_editing']=_0x36293e['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xd3bde5){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0xd3bde5);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x564212,..._0x5d777a}){return _0x9e9ea2(_0x564212,_0x5d777a);}static['getInfo'](_0x3b7204,_0x3d77cf){return _0x195305(_0x3b7204,_0x3d77cf);}},J=class extends _0xf59544{static get['requires'](){return[_0x2c9ebc,_0x18a0cd,_0x50d41f,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x56a45e=this['editor'];if(!_0x56a45e['config']['get']('uploadcare'))return;_0x56a45e['plugins']['get'](_0x50d41f)['createUploadAdapter']=_0x238ced=>new X(_0x238ced,_0x56a45e),_0x56a45e['plugins']['get'](_0x2c9ebc)['on']('uploadComplete',(_0x1d0ed9,{imageElement:_0x2042eb,data:_0xbe8502})=>{_0x56a45e['model']['change'](_0x40b59b=>{_0x40b59b['setAttribute']('uploadcareImageId',_0xbe8502['uploadcareImageId'],_0x2042eb);});});}},X=class{['loader'];['editor'];['controller'];constructor(_0x184760,_0x3a8483){this['loader']=_0x184760,this['editor']=_0x3a8483,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2424d3=await this['loader']['file'];return Q['upload']({'file':_0x2424d3,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x51d74f=>{_0x51d74f&&_0x51d74f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x51d74f['value']);}})['then'](async _0x2df007=>{const {imageFallbackUrl:_0x566680,imageSources:_0x597b13}=B(_0x2df007['cdnUrl'],_0x2df007['imageInfo']['width']);return{'uploadcareImageId':_0x2df007['uuid'],'default':_0x566680,'sources':_0x597b13};})['catch'](()=>{const _0x1d74e1=t('Cannot\x20upload\x20file:')+('\x20'+_0x2424d3['name']+'.');return Promise['reject'](_0x1d74e1);});}['abort'](){this['controller']['abort']();}},Z=class extends _0xf59544{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x39d575,J,_0x2685ab];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x56b719){super(_0x56b719),this['ucContextId']=_0x539b23();}['init'](){const _0x5855f1=this['editor'];_0x5855f1['commands']['add']('uploadcare',new z(_0x5855f1));}['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 _0x4e95f5=_0x343abf['document']['querySelector']('input[uploadcare-file-input]');_0x4e95f5&&_0x4e95f5['remove']();}),async function(_0xf61894){const _0x4e20c9='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x3b8cc1=0x78fc0,_0xd3242c=window['Date']['now'](),_0x1dd08a=_0xf61894['editor'],_0x343876=new window['Promise'](_0x2e1c73=>{_0x1dd08a['once']('ready',_0x2e1c73);}),_0xf92850={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2a564c=_0x1dd08a['config']['get']('licenseKey');async function _0x384ca4(){let _0x28405a,_0x53536d=null,_0x5d6937=null;try{return'GPL'==_0x2a564c?'NotAllowed':(_0x28405a=_0x305d03(),_0x28405a?(_0x28405a['usageEndpoint']&&(_0x5d6937=_0x14064e(_0x28405a['usageEndpoint'],_0x28405a['jti'])),await _0x27c0a4()?_0x250a3f()?_0x3f33f6()?'Expired':_0x26bd02()?('evaluation'==_0x28405a['licenseType']&&(_0x53536d=_0x488a58('EvaluationLimit')),await _0x14e676()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f33f6(){const _0x2f1ab9=['evaluation','trial']['includes'](_0x28405a['licenseType'])?_0xd3242c/0x3e8:0xe10*_0x3b8cc1;return _0x28405a['exp']<_0x2f1ab9;}function _0x250a3f(){const _0x1bd504=_0x28405a['features'];return!!_0x1bd504&&(!!_0x1bd504['includes']('*')||!!_0x1bd504['includes']('UPLC'));}function _0x26bd02(){const _0x32b5aa=_0x28405a['licensedHosts'];if(!_0x32b5aa||0x0==_0x32b5aa['length'])return!0x0;const {hostname:_0x2252f1}=new URL(window['location']['href']);if(_0x32b5aa['includes'](_0x2252f1))return!0x0;const _0x38442d=_0x2252f1['split']('.');return _0x32b5aa['filter'](_0x515669=>_0x515669['includes']('*'))['map'](_0xd0e249=>_0xd0e249['split']('.'))['filter'](_0x16837e=>_0x16837e['length']<=_0x38442d['length'])['map'](_0x3aefa4=>Array(_0x38442d['length']-_0x3aefa4['length'])['fill']('*'===_0x3aefa4[0x0]?'*':'')['concat'](_0x3aefa4))['some'](_0x19a893=>_0x38442d['every']((_0x5909a6,_0x339925)=>_0x19a893[_0x339925]===_0x5909a6||'*'===_0x19a893[_0x339925]));}function _0x14e676(){return _0x53536d&&_0x5d6937?new window['Promise']((_0x20fde0,_0xa05847)=>{_0x53536d['then'](_0x20fde0,_0xa05847),_0x5d6937['then'](_0x1efe67=>{'Valid'!=_0x1efe67&&_0x20fde0(_0x1efe67);},_0xa05847);}):_0x53536d||_0x5d6937||'Valid';}}function _0x14064e(_0xb6c750,_0x2e8ffb){return new window['Promise'](_0x1c3d6b=>{if(_0x5cf1dd())return _0x1c3d6b('Valid');_0x17ca60(),_0x1dd08a['decorate']('_sendUsageRequest');let _0x450f9a=!0x1;const _0x515f1a=_0x539b23();function _0x1e1a87(_0x4bfde6){return!!_0x4bfde6&&('object'==typeof _0x4bfde6||'function'==typeof _0x4bfde6)&&'function'==typeof _0x4bfde6['then']&&'function'==typeof _0x4bfde6['catch'];}function _0x1863fd(_0xf26e5){_0x295124(_0xf26e5)['then'](_0x31ac3d=>_0x31ac3d&&'ok'==_0x31ac3d['status']?_0x1a202a(_0x27945b(_0x515f1a+_0x2e8ffb))!=_0x31ac3d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b714f=>(_0xed4176(),_0x1b714f),()=>{const _0x4c303e=_0x469bad();return null==_0x4c303e?(_0xed4176(),'Valid'):_0xd3242c-_0x4c303e>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1c3d6b)['catch'](()=>{_0x1c3d6b('UsageLimit');});const _0x564597=0x36ee80;function _0xed4176(){const _0x2bed2c='llct-'+_0x1a202a(_0x27945b(_0xb6c750)),_0x3e34b7=_0x59b493(_0x1a202a(window['Math']['ceil'](_0xd3242c/_0x564597)));window['localStorage']['setItem'](_0x2bed2c,_0x3e34b7);}function _0x469bad(){const _0xc1e1c5='llct-'+_0x1a202a(_0x27945b(_0xb6c750)),_0x25b0c5=window['localStorage']['getItem'](_0xc1e1c5);return _0x25b0c5?window['parseInt'](_0x59b493(_0x25b0c5),0x10)*_0x564597:null;}function _0x295124(_0x54d16c){return new window['Promise']((_0x4794d7,_0x444aa6)=>{_0x54d16c['then'](_0x4794d7,_0x444aa6),window['setTimeout'](_0x444aa6,0x1d4c0);});}}_0x1dd08a['on']('_sendUsageRequest',(_0x276079,_0x1fce98)=>{if(_0x1fce98[0x0]!=_0xb6c750)return _0x1c3d6b('UsageLimit');_0x1fce98[0x1]={..._0x1fce98[0x1],'requestId':_0x515f1a};},{'priority':'high'}),_0x1dd08a['on']('_sendUsageRequest',_0x4a4a92=>{_0x1e1a87(_0x4a4a92['return'])&&(_0x450f9a=!0x0,_0x1863fd(_0x4a4a92['return']));},{'priority':'low'}),_0x343876['then'](()=>{_0x450f9a||_0x1c3d6b('UsageLimit');});});function _0x5cf1dd(){return'auto'==_0x1dd08a['editing']['view']['_overlayModeHint'];}function _0x17ca60(){_0x1dd08a['editing']['view']['_overlayModeHint']='auto';}}function _0x488a58(_0x275bf8){const _0x1658e1=[new window['Promise'](_0x1420ab=>setTimeout(_0x1420ab,0x93ecc)),_0x343876['then'](()=>new window['Promise'](_0x402f43=>{let _0x15c468=0x0;_0x1dd08a['model']['on']('applyOperation',(_0x4712c0,_0x4ec5d0)=>{_0x4ec5d0[0x0]['isDocumentOperation']&&_0x15c468++,0x5e8==_0x15c468&&(_0x402f43(),_0x4712c0['off']());});}))];return window['Promise']['race'](_0x1658e1)['then'](()=>_0x275bf8);}async function _0x215cbc(){await _0x343876,_0x1dd08a['model']['change']=_0x529bf0,_0x1dd08a['model']['enqueueChange']=_0x529bf0,_0x1dd08a['enableReadOnlyMode']('model');}function _0x341a66(_0x56eafe){const _0x254f09=_0x2a36b7();_0x1dd08a[_0x254f09]='uploadcareLicenseKey'+_0x56eafe,'Valid'!=_0x56eafe&&_0x215cbc();}function _0x2a36b7(){const _0x38b0d4=window['String'](window['performance']['now']())['replace']('.','');let _0x5e3a39='h';for(let _0xc5e00a=0x0;_0xc5e00a<_0x38b0d4['length'];_0xc5e00a+=0x2){let _0x396706=window['parseInt'](_0x38b0d4['substring'](_0xc5e00a,_0xc5e00a+0x2));_0x396706>=0x3e&&(_0x396706-=0x3e),_0x5e3a39+=_0x4e20c9[_0x396706];}return _0x5e3a39;}function _0x305d03(){const _0x2a1722=_0x2a564c['split']('.');if(0x3!=_0x2a1722['length'])return null;return _0xc1f1bf(_0x2a1722[0x1]);function _0xc1f1bf(_0x416607){const _0x125430=_0x1e0c7d(_0x416607);return _0x125430&&_0x8b12f7()?_0x125430:null;function _0x8b12f7(){const _0x26fabd=_0x125430['jti'],_0x33d07e=window['parseInt'](_0x26fabd['substring'](_0x26fabd['length']-0x8),0x10),_0x4a034a={..._0x125430,'jti':_0x26fabd['substring'](0x0,_0x26fabd['length']-0x8)};return delete _0x4a034a['vc'],_0x27945b(_0x4a034a)==_0x33d07e;}}}async function _0x27c0a4(){let _0x389ca7=!0x0;try{const [_0x26d08e,_0x30151a,_0x387767]=_0x2a564c['split']('.');return _0x192383(_0x26d08e),await _0x3fa887(_0x26d08e,_0x30151a,_0x387767),_0x389ca7;}catch{return!0x1;}function _0x192383(_0x2524a0){const _0x2174b1=_0x1e0c7d(_0x2524a0);_0x2174b1&&'ES256'==_0x2174b1['alg']||(_0x389ca7=!0x1);}async function _0x3fa887(_0x36f51f,_0x43a46e,_0x189bd3){const _0x551f2e=window['Uint8Array']['from'](_0xc6f70f(_0x189bd3),_0x2436a7=>_0x2436a7['charCodeAt'](0x0)),_0x585c76=new window['TextEncoder']()['encode'](_0x36f51f+'.'+_0x43a46e),_0x5aff1a=window['crypto']['subtle'];if(!_0x5aff1a)return;const _0x64bc4a=await _0x5aff1a['importKey']('jwk',_0xf92850,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5aff1a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x64bc4a,_0x551f2e,_0x585c76)||(_0x389ca7=!0x1);}}function _0x1e0c7d(_0x2a58f3){return _0x2a58f3['startsWith']('ey')?JSON['parse'](_0xc6f70f(_0x2a58f3)):null;}function _0xc6f70f(_0x473953){return window['atob'](_0x473953['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x27945b(_0xec08b6){let _0x39e928=0x1505;function _0x114827(_0x2d6ab2){for(let _0xd76286=0x0;_0xd76286<_0x2d6ab2['length'];_0xd76286++){const _0xcd3d7b=_0x2d6ab2['charCodeAt'](_0xd76286);_0x39e928=(_0x39e928<<0x5)+_0x39e928+_0xcd3d7b,_0x39e928&=_0x39e928;}}function _0x460619(_0x528f62){Array['isArray'](_0x528f62)?_0x528f62['forEach'](_0x460619):_0x528f62&&'object'==typeof _0x528f62?Object['entries'](_0x528f62)['sort']()['forEach'](([_0x14478f,_0x2f9afa])=>{_0x114827(_0x14478f),_0x460619(_0x2f9afa);}):_0x114827(window['String'](_0x528f62));}return _0x460619(_0xec08b6),_0x39e928>>>0x0;}function _0x1a202a(_0x233b21){return _0x233b21['toString'](0x10)['padStart'](0x8,'0');}function _0x59b493(_0x23a1ea){return _0x23a1ea['split']('')['reverse']()['join']('');}function _0x529bf0(){}_0x341a66(await _0x384ca4());}(this);}['_initSchema'](){const _0x59949e=this['editor']['model']['schema'];_0x59949e['isRegistered']('imageBlock')&&_0x59949e['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x59949e['isRegistered']('imageInline')&&_0x59949e['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xf009b3=this['editor'];_0xf009b3['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xf009b3['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x3224bf=>_0x3224bf['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5247a8=_0xf009b3['commands']['get']('replaceImageSource');_0x5247a8&&this['listenTo'](_0x5247a8,'cleanupImage',(_0x42f591,[_0xf16357,_0x24412a])=>{_0xf16357['removeAttribute']('uploadcareImageId',_0x24412a);});}['_initConfig'](){const _0x47f54f=this['editor']['config']['get']('uploadcare.uploader')||{},_0x4bd462=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2a7d11(_0x343abf['document'],'uc-config',{..._0x47f54f,'pubkey':_0x4bd462,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x57e362=>{if('closeMax'==_0x57e362)return'#uc-icon-arrow-down';},_0x343abf['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x2a7d11(_0x343abf['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x343abf['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x48fb5e=this['editor']['commands']['get']('insertImage');_0x48fb5e&&this['listenTo'](_0x48fb5e,'execute',()=>{const _0xd128da=this['editor']['model']['document']['selection']['getSelectedElement']();_0xd128da&&_0xd128da['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0xd128da);});});const _0x4ab29a=this['editor']['commands']['get']('uploadcareImageReplace');_0x4ab29a&&this['listenTo'](_0x4ab29a,'execute',()=>{const _0x1f8bed=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1f8bed&&_0x1f8bed['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x1f8bed);});});}},Y=class extends _0xf59544{static get['requires'](){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4660a6){super(_0x4660a6),_0x4660a6['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2e0eeb['defineComponents'](_0x2e0eeb),this['_defineLocale']();}['_defineLocale'](){const _0x53c91d=this['editor']['config']['get']('uploadcare.locale'),_0xa10f71=this['editor']['locale']['contentLanguage'];_0x53c91d&&_0x2e0eeb['defineLocale'](_0xa10f71,_0x53c91d);}},tt=class extends _0x15d918{constructor(_0x5077be){super(_0x5077be);const t=_0x5077be['t'],_0x5732f6=this['bindTemplate'],_0x49449a=new _0x3ba27d();_0x49449a['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':[_0x49449a,{'text':_0x5732f6['to']('imageUploadProgress',_0x4b8039=>t('Loading\x20image...')+'\x20('+(_0x4b8039||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'}]}]}]});}},et=class extends _0x15d918{constructor(_0x24f7d2){super(_0x24f7d2);const t=_0x24f7d2['t'];this['set']('errorType',null);const _0x4e3ebc=new _0x108ee7(_0x24f7d2);_0x4e3ebc['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4e3ebc['withText']=!0x0,_0x4e3ebc['class']='ck-button-action',_0x4e3ebc['on']('execute',()=>{this['fire']('retry');}),_0x4e3ebc['bind']('isVisible')['to'](this,'errorType',_0x4d4f90=>'NotFound'!==_0x4d4f90);const _0x58e489=new _0x3c810c();_0x58e489['content']=_0x40d3d7,_0x58e489['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ac07f=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':[_0x58e489,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ac07f['to']('errorType',_0x3d2767=>t('NotFound'!==_0x3d2767?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4e3ebc]},{'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'}]}]}]});}},it=class extends _0x15d918{constructor(_0x57c0fa,_0x131469){super(_0x57c0fa);const _0x4df07d=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x131469,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4df07d['to']('imageSrc')}});}},st=class extends F{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x5ece55,_0x20dcba,_0x860b7f){super(_0x5ece55),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x5ece55),this['_errorView']=new et(_0x5ece55),this['_editingView']=new it(_0x5ece55,_0x860b7f),this['_focusableView']=new _0x15d918(_0x5ece55),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x20dcba),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'],_0x46236c=>{this['_addUploadcareImageEditorListeners'](_0x46236c);});}),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'](_0xde1a61,_0x516187){const _0x5ef971='uc-cloud-image-editor',_0x31d850=_0xde1a61['querySelector'](_0x5ef971);if(_0x31d850)return _0x516187(_0x31d850);const _0x589d3a=new MutationObserver(_0x32d166=>{const _0x5be493=_0x32d166['filter'](_0x6dc75a=>_0x6dc75a['target']===_0xde1a61&&_0x6dc75a['addedNodes']['length']>0x0&&_0x6dc75a['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5ef971);_0x5be493['length']&&(_0x589d3a['disconnect'](),_0x516187(_0x5be493[0x0]['addedNodes'][0x0]));});_0x589d3a['observe'](_0xde1a61,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x3b480e){_0x3b480e['addEventListener']('apply',_0x436106=>{this['fire']('apply',{'imageSrc':_0x436106['detail']['cdnUrl']});}),_0x3b480e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
25
- _0x211a54();var nt=class extends rt{['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1a31ed,_0x27f20e,_0x4311a5){super(),this['_editor']=_0x1a31ed,this['_dialog']=_0x27f20e,this['_imageElement']=_0x4311a5,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 _0x22881a=this['_imageElement'],_0x13b83d=_0x22881a['getAttribute']('uploadcareImageId'),_0x2fc3d9=_0x22881a['getAttribute']('src');if(_0x13b83d)await this['_loadImageInfo'](_0x13b83d,_0x2fc3d9);else{if(this['_imageCache']['has'](_0x2fc3d9)){const _0x4853ba=this['_imageCache']['get'](_0x2fc3d9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4853ba['url'],this['imageDimension']=_0x4853ba['dimension'],this['imageId']=_0x4853ba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1429b8}=this['_editor'],t=_0x1429b8['t'],_0x26e85d=new st(_0x1429b8,this['imageStatus'],this['_attributes']);_0x26e85d['bind']('status')['to'](this,'imageStatus'),_0x26e85d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26e85d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26e85d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26e85d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x282e67,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26e85d,'position':_0x4b0200['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26e85d['focus']();},'onHide':()=>{_0x26e85d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x25e90d=>!H(_0x25e90d,_0x26e85d['element'])}});}['_loadImageInfo'](_0x5e1f11,_0x2f99c3){return Q['getInfo'](_0x5e1f11,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xa49247=>{const {width:_0x7c216b,height:_0x4b6308}=_0xa49247['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2f99c3,this['imageDimension']={'width':_0x7c216b,'height':_0x4b6308},this['imageId']=_0x5e1f11;})['catch'](_0x4f10c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f10c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x10b893,_0x50ad41){return this['_getImageAsFile'](_0x10b893)['then'](_0x24e4de=>Q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x50ad41['signal'],'file':_0x24e4de,'onProgress':_0x1ad4cb=>{_0x1ad4cb&&_0x1ad4cb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ad4cb['value']));}}))['then'](_0x144260=>{const {width:_0x11cddc,height:_0x7bff02}=_0x144260['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x144260['cdnUrl'],this['imageDimension']={'width':_0x11cddc,'height':_0x7bff02},this['imageId']=_0x144260['uuid'],this['imageUploadProgress']=null;const _0x16abc9=_0x10b893['getAttribute']('src');this['_imageCache']['set'](_0x16abc9,{'id':_0x144260['uuid'],'url':_0x144260['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1567a9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1567a9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x214e0f,_0x5aa51e){_0x214e0f['on']('apply',(_0x327f94,_0x3e20c7)=>{this['_replaceImage'](_0x5aa51e,_0x3e20c7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x214e0f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x214e0f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x45fec5,_0x34a13f,_0x1cc5ee){const _0x5ae66c=this['_editor'],{width:_0x541cd9,height:_0x2502a3}=j(_0x34a13f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x25826a,imageSources:_0x1da634}=B(_0x34a13f,_0x541cd9);_0x5ae66c['model']['change'](_0xb94cba=>{if('$graveyard'!==_0x45fec5['root']['rootName'])_0xb94cba['setSelection'](_0x45fec5,'on'),_0x5ae66c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x45fec5['getAttributes']()),'uploadcareImageId':_0x1cc5ee,'src':_0x25826a,'sources':_0x1da634,'width':_0x541cd9,'height':_0x2502a3},_0x45fec5);else{_0x5ae66c['execute']('insertImage',{'imageType':_0x45fec5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x45fec5['getAttributes']()),'uploadcareImageId':_0x1cc5ee,'src':_0x25826a,'sources':_0x1da634,'width':_0x541cd9,'height':_0x2502a3}});const _0x12f8d1=_0x45fec5['getChildren']();_0x45fec5=_0x5ae66c['model']['document']['selection']['getSelectedElement']();for(const _0x3dcea9 of _0x12f8d1)_0xb94cba['append'](_0xb94cba['cloneElement'](_0x3dcea9),_0x45fec5);}_0xb94cba['setSelection'](_0x45fec5,'on');});}async['_getImageAsFile'](_0x2b3b1d){const _0x1f7fc0=_0x343abf['window'],_0x3f7673=_0x343abf['document']['location']['href'],_0x516ae4=new _0x1f7fc0['URL'](_0x2b3b1d['getAttribute']('src'),_0x3f7673);if('data:'===_0x516ae4['protocol']){const _0x36c486=_0x516ae4['href']['split'](','),_0x47b547=_0x36c486[0x0]['match'](/:(.*?);/)[0x1],_0x1605cd=_0x47b547['split']('/')[0x1],_0x5100ee=_0x1f7fc0['atob'](_0x36c486[_0x36c486['length']-0x1]);let _0x1afc6b=_0x5100ee['length'];const _0x12cba1=new _0x1f7fc0['Uint8Array'](_0x1afc6b);for(;_0x1afc6b--;)_0x12cba1[_0x1afc6b]=_0x5100ee['charCodeAt'](_0x1afc6b);return new _0x1f7fc0['File']([_0x12cba1],'image.'+_0x1605cd,{'type':_0x47b547});}const _0x7327de=_0x516ae4['href']['split']('/'),_0x4a375d=_0x7327de[_0x7327de['length']-0x1],_0x43dd83=_0x4a375d['split']('.')[0x1];return _0x1f7fc0['fetch'](_0x516ae4['href'])['then'](_0xddce4a=>_0xddce4a['clone']()['blob']())['then'](_0x45a76d=>new _0x1f7fc0['File']([_0x45a76d],_0x4a375d,{'type':'image/'+_0x43dd83}));}},at=class extends _0x42606f{['imageEditController'];static get['requires'](){return[_0x2685ab];}['_isEditable'];constructor(_0xfa8067){super(_0xfa8067),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x554fc5){const _0x1a9b18=M(_0x554fc5);return _0x3c521c=>!(!_0x3c521c||!_0x3c521c['is']('element','imageBlock')&&!_0x3c521c['is']('element','imageInline'))&&(!!_0x3c521c['hasAttribute']('uploadcareImageId')||!!_0x3c521c['hasAttribute']('src')&&_0x1a9b18(_0x3c521c['getAttribute']('src')));}(_0xfa8067['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x24926f=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x24926f);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4a193c=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a193c&&(_0x4a193c['is']('element','imageBlock')||_0x4a193c['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x2685ab),_0x4a193c),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x42606f{['refresh'](){const _0x3fcb79=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x3fcb79&&(_0x3fcb79['is']('element','imageBlock')||_0x3fcb79['is']('element','imageInline')));}['execute'](_0x28706a){const _0x5f360d=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x557629=>{_0x557629['setAttributes'](_0x28706a,_0x5f360d),_0x557629['removeAttribute']('srcset',_0x5f360d),_0x557629['removeAttribute']('sizes',_0x5f360d);});}},ct=class extends _0xf59544{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[Z,_0x355739,_0x30aa56,_0x442ce3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ccae4}=this;_0x3ccae4['commands']['add']('uploadcareImageEdit',new at(_0x3ccae4)),_0x3ccae4['commands']['add']('uploadcareImageReplace',new ot(_0x3ccae4));}},lt=class extends _0xf59544{['_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 _0x6fc34d=this['editor'];_0x6fc34d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50be77=>{const _0x4606ef=_0x6fc34d['commands']['get']('uploadcareImageEdit'),_0x4a3fa6=new _0x108ee7(_0x50be77),t=_0x50be77['t'];return _0x4a3fa6['set']({'icon':_0x282e67,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a3fa6['bind']('isEnabled')['to'](_0x4606ef),_0x4a3fa6['bind']('isOn')['to'](_0x4606ef,'isActive'),this['listenTo'](_0x4a3fa6,'execute',()=>{_0x6fc34d['execute']('uploadcareImageEdit'),_0x6fc34d['editing']['view']['focus']();}),_0x4a3fa6;}),this['_initConfig']();}['_initConfig'](){const _0x1ee674=_0x2a7d11(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ee674),this['listenTo'](this['editor'],'destroy',()=>{_0x1ee674['remove']();});}},ut=class extends _0xf59544{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
23
+ import{Command as _0x27611c,Plugin as _0x50c0aa}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x833149,IconError as _0x248f69,IconFacebook as _0x581e76,IconGoogleDrive as _0x2cfee7,IconGooglePhotos as _0x498392,IconOneDrive as _0x51ec12,IconUploadcareImageEdit as _0xae6103,IconUploadcareImageUpload as _0x2d9227,IconUploadcareLink as _0x250c32}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x29dee3,Dialog as _0x38afe4,DialogViewPosition as _0x110c8c,FocusCycler as _0x2f713c,IconView as _0x7c9dd2,MenuBarMenuListItemButtonView as _0x49c23c,Notification as _0x13f0d5,SpinnerView as _0x577d76,View as _0x34ab7b}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x5407b8,FocusTracker as _0x1a122b,ObservableMixin as _0x767c0b,createElement as _0x197e74,getAncestors as _0x4d9139,global as _0x52ad31,uid as _0x29daa0}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0xa9ba4,ImageUploadEditing as _0x35f697,ImageUploadProgress as _0x404d9a,ImageUtils as _0x533fc9,PictureEditing as _0x2e901d}from'@ckeditor/ckeditor5-image';import{FileRepository as _0xb11834}from'@ckeditor/ckeditor5-upload';import{info as _0x4f5e50,uploadFile as _0x48b6f9}from'@uploadcare/upload-client';import*as _0x2b8e7d from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x3ff9d0,_0x1ff8d3,_0x285003){const t=_0x3ff9d0['t'],_0x45bec3=_0x3ff9d0['t'];switch(_0x1ff8d3){case'local':return{'text':_0x45bec3('Insert'===_0x285003?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x45bec3('From\x20computer')};case'url':return{'text':'Insert'===_0x285003?_0x45bec3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x45bec3('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x285003?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x285003?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x285003?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x285003?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x285003?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1ff8d3;}}var V=class extends _0x50c0aa{['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 _0x11878e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5cbc73;for(const _0x70dd4d in _0x11878e){const _0x44470a=_0x70dd4d,_0x53d645=_0x11878e[_0x44470a];if('uploadcareLicenseKeyValid'==_0x53d645||'uploadcareLicenseKeyInvalid'==_0x53d645||'uploadcareLicenseKeyExpired'==_0x53d645||'uploadcareLicenseKeyDomainLimit'==_0x53d645||'uploadcareLicenseKeyNotAllowed'==_0x53d645||'uploadcareLicenseKeyEvaluationLimit'==_0x53d645||'uploadcareLicenseKeyUsageLimit'==_0x53d645){delete _0x11878e[_0x44470a],_0x5cbc73=_0x53d645,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x5cbc73&&_0x11878e['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x5cbc73&&_0x11878e['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x5cbc73&&_0x11878e['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x5cbc73&&_0x11878e['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x5cbc73&&_0x11878e['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x5cbc73&&_0x11878e['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0xbefa1e}=this,_0x5b6ecc=_0xbefa1e['commands']['get']('uploadcare');if(!_0x5b6ecc)return;const _0x2ce683=this['_normalizeConfigSourceList'](_0xbefa1e['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x58fd67,_0x2db2f2)=>{const _0x2d74ac=this['_getIntegrationKey'](_0x2db2f2['type']);return _0x58fd67[_0x2d74ac]||(_0x58fd67[_0x2d74ac]=[]),_0x58fd67[_0x2d74ac]['push'](_0x2db2f2),_0x58fd67;},{});_0xbefa1e['plugins']['has']('ImageInsertUI')&&_0xbefa1e['commands']['get']('uploadcare')&&Object['entries'](_0x2ce683)['forEach'](([_0x142226,_0x33ebb4])=>{_0xbefa1e['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x142226,'observable':()=>_0x5b6ecc,'buttonViewCreator':()=>this['_createToolbarButton'](_0x33ebb4),'formViewCreator':()=>this['_createDropdownButtons'](_0x33ebb4),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x33ebb4),'override':'assetManager'!==_0x142226});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x4524c0){const {locale:_0x37b59c}=this['editor'];return _0x4524c0['map'](_0x24d182=>{const _0x282136=T(_0x37b59c,_0x24d182,'Insert');switch(_0x24d182){case'local':return{'icon':_0x2d9227,'type':'local',..._0x282136};case'url':return{'icon':_0x250c32,'type':'url',..._0x282136};case'dropbox':return{'icon':_0x833149,'type':'dropbox',..._0x282136};case'facebook':return{'icon':_0x581e76,'type':'facebook',..._0x282136};case'gdrive':return{'icon':_0x2cfee7,'type':'gdrive',..._0x282136};case'gphotos':return{'icon':_0x498392,'type':'gphotos',..._0x282136};case'onedrive':return{'icon':_0x51ec12,'type':'onedrive',..._0x282136};}});}_getIntegrationKey(_0x979fb6){switch(_0x979fb6){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x479155,_0x16881b){const _0x44fdb0=this['editor'],_0x48ab91=new _0x479155(_0x44fdb0['locale']),_0x196b13=_0x44fdb0['commands']['get']('uploadcare');return _0x48ab91['bind']('isEnabled')['to'](_0x196b13),_0x48ab91['on']('execute',()=>{_0x196b13['execute'](_0x16881b);}),_0x48ab91;}_createToolbarButton(_0x5287a9){const {locale:_0x1062a7}=this['editor'],_0x5e1562=this['editor']['plugins']['get']('ImageInsertUI'),_0x4a9636=_0x5287a9[0x0],_0xe23c83=this['_createButton'](_0x29dee3,_0x4a9636['type']);return _0xe23c83['icon']=_0x4a9636['icon'],_0xe23c83['bind']('label')['to'](_0x5e1562,'isImageSelected',_0x486d35=>T(_0x1062a7,_0x4a9636['type'],_0x486d35?'Replace':'Insert')['text']),_0xe23c83['tooltip']=!0x0,_0xe23c83;}_createDropdownButtons(_0x397749){const {locale:_0x3c9310}=this['editor'],_0x34afc9=this['editor']['plugins']['get']('ImageInsertUI');return _0x397749['map'](_0x21953a=>{const _0x36ccb9=this['_createButton'](_0x29dee3,_0x21953a['type']);return _0x36ccb9['withText']=!0x0,_0x36ccb9['icon']=_0x21953a['icon'],_0x36ccb9['bind']('label')['to'](_0x34afc9,'isImageSelected',_0x480430=>T(_0x3c9310,_0x21953a['type'],_0x480430?'Replace':'Insert')['text']),_0x36ccb9;});}_createMenuBarButtons(_0x3394da){return _0x3394da['map'](_0xb72d99=>{const _0x4ed503=this['_createButton'](_0x49c23c,_0xb72d99['type']);return _0x4ed503['icon']=_0xb72d99['icon'],_0x4ed503['label']=_0xb72d99['shortText'],_0x4ed503;});}},F=class extends _0x34ab7b{['focusTracker'];['focusCycler'];constructor(_0x4b1205){super(_0x4b1205),this['focusTracker']=new _0x1a122b(),this['focusCycler']=new _0x2f713c({'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 extends F{constructor(_0x52d491,_0xe3d1f9){super(_0x52d491),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-'+_0xe3d1f9}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x9c6559,_0x268cbe){const _0x47114b=_0x9c6559['replace'](/\/$/,'');return{'imageFallbackUrl':_0x9c6559,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x524d5a=>_0x524d5a<_0x268cbe)['map'](_0x1412ee=>_0x47114b+'/-/resize/'+_0x1412ee+'x/\x20'+_0x1412ee+'w'),_0x9c6559+'\x20'+_0x268cbe+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x268cbe+'px)\x20100vw,\x20'+_0x268cbe+'px','type':'image/webp'}]};}function j(_0x1dc3b7,_0x58ca54,_0x132ed2){const _0xf1bf58=_0x1dc3b7['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf1bf58?parseInt(_0xf1bf58[0x1],0xa):_0x58ca54,'height':_0xf1bf58?parseInt(_0xf1bf58[0x2],0xa):_0x132ed2};}function q(_0x516769,_0x5869fa){const _0x5e8374=new(_0x5407b8())(),_0x113880=_0x516769['plugins']['get']('ImageUtils'),_0x3ddb74=_0x516769['editing']['mapper']['toViewElement'](_0x5869fa),_0x50c809=_0x113880['findViewImgElement'](_0x3ddb74),_0x121fa1=_0x516769['editing']['view']['domConverter']['viewToDom'](_0x50c809),_0x395218=_0x5869fa['getAttribute']('width'),_0x33eb09=_0x5869fa['getAttribute']('height'),_0x5789e6='image-processing';_0x516769['editing']['view']['change'](_0x51b473=>{_0x51b473['addClass'](_0x5789e6,_0x3ddb74),_0x51b473['setStyle']('aspect-ratio',_0x395218+'/'+_0x33eb09,_0x50c809);}),_0x5e8374['listenTo'](_0x121fa1,'load',()=>{_0x5e8374['stopListening'](_0x121fa1,'load'),_0x516769['editing']['view']['change'](_0x3355c3=>{_0x3355c3['removeClass'](_0x5789e6,_0x3ddb74),_0x3355c3['removeStyle']('aspect-ratio',_0x50c809);});});}function M(_0x301788){if(Array['isArray'](_0x301788)){const _0x1cf45f=_0x301788['map'](M);return _0x431516=>_0x1cf45f['some'](_0x174af3=>_0x174af3(_0x431516));}if('origin'==_0x301788){const _0x184d77=_0x52ad31['window']['location']['origin'];return _0x4292e2=>new URL(_0x4292e2,_0x52ad31['document']['baseURI'])['origin']==_0x184d77;}return'function'==typeof _0x301788?_0x301788:_0x301788 instanceof RegExp?_0xa62608=>!(!_0xa62608['match'](_0x301788)&&!_0xa62608['replace'](/^https?:\/\//,'')['match'](_0x301788)):()=>!0x1;}function H(_0x5bb0f0,_0x3b164b){return _0x4d9139(_0x5bb0f0['target'])['includes'](_0x3b164b);}const W=/* #__PURE__ -- @preserve */
24
+ _0x767c0b();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x590633,_0x5359ee,_0x36c755){super(),this['_editor']=_0x590633,this['_editing']=_0x5359ee,this['_dialog']=_0x590633['plugins']['get'](_0x38afe4),this['_api']=_0x5359ee['ctxElement']['getAPI'](),this['_type']=_0x36c755,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:_0x2f8a89,model:_0x25ee6b}=this['_editor'],_0x3701fa=_0x25ee6b['document']['selection']['getSelectedElement'](),_0x200455=_0x3701fa&&(_0x3701fa['is']('element','imageBlock')||_0x3701fa['is']('element','imageInline'));this['_formView']=new $(_0x2f8a89,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x2d9227,'title':T(_0x2f8a89,this['_type'],_0x200455?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x110c8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22ab73=>!H(_0x22ab73,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x99e4e1}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x405c86=>{const _0xcf9eb5=_0x99e4e1['length'];for(const _0x16c12a of _0x99e4e1){const _0x34b2fe=_0x16c12a===_0x99e4e1[_0xcf9eb5-0x1],{cdnUrl:_0x11f600,fileInfo:_0x1be284}=_0x16c12a;if(!_0x11f600||!_0x1be284)continue;const {width:_0x51f037,height:_0x41cd30}=_0x1be284['imageInfo'],_0x5cb307=j(_0x11f600,_0x51f037,_0x41cd30),_0x73c2e5=B(_0x11f600,_0x5cb307['width']),_0x2a967a={'id':_0x1be284['uuid'],'type':'image','attributes':{'imageDimension':_0x5cb307,..._0x73c2e5}};this['_insertAsset'](_0x2a967a,_0x34b2fe,_0x405c86);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x1cca53=>{'idle'===_0x1cca53['detail']['status']&&!_0x1cca53['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x3abe9f,_0xe87d86,_0x431ef4){const _0x2ed772=this['_editor']['model']['document']['selection'],_0x2925dc=_0x2ed772['getSelectedElement'](),_0x411e18=!(!_0x2925dc||!_0x2925dc['is']('element','imageInline'));_0x431ef4['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x3abe9f,_0x411e18),_0xe87d86||_0x431ef4['setSelection'](_0x2ed772['getLastPosition']());}_insertImage(_0x513d46,_0x19fcb8){const _0x128c0c=this['_editor'],{imageDimension:_0x4cfb50,imageFallbackUrl:_0x15e69a,imageSources:_0x45df57}=_0x513d46['attributes'];_0x128c0c['execute']('insertImage',{'imageType':_0x19fcb8?'imageInline':null,'source':{'uploadcareImageId':_0x513d46['id'],'src':_0x15e69a,'sources':_0x45df57,..._0x4cfb50}});}},z=class extends _0x27611c{_editing;_controller=null;static get requires(){return[_0x38afe4,Z];}constructor(_0x44d08b){super(_0x44d08b),this['_editing']=_0x44d08b['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x4e4239){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x4e4239);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x15878a,..._0x5265ed}){return _0x48b6f9(_0x15878a,_0x5265ed);}static getInfo(_0x2f8db6,_0x53348a){return _0x4f5e50(_0x2f8db6,_0x53348a);}},J=class extends _0x50c0aa{static get requires(){return[_0x35f697,_0x404d9a,_0xb11834,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x3cbec8=this['editor'];if(!_0x3cbec8['config']['get']('uploadcare'))return;_0x3cbec8['plugins']['get'](_0xb11834)['createUploadAdapter']=_0x3e264e=>new X(_0x3e264e,_0x3cbec8),_0x3cbec8['plugins']['get'](_0x35f697)['on']('uploadComplete',(_0x43f408,{imageElement:_0x4a34cc,data:_0x25e7e2})=>{_0x3cbec8['model']['change'](_0x5e5cc4=>{_0x5e5cc4['setAttribute']('uploadcareImageId',_0x25e7e2['uploadcareImageId'],_0x4a34cc);});});}},X=class{['loader'];editor;controller;constructor(_0x3e8354,_0x284a36){this['loader']=_0x3e8354,this['editor']=_0x284a36,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x314db4=await this['loader']['file'];return Q['upload']({'file':_0x314db4,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x296ac3=>{_0x296ac3&&_0x296ac3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x296ac3['value']);}})['then'](async _0x3bfc76=>{const {imageFallbackUrl:_0xf297e0,imageSources:_0x113abf}=B(_0x3bfc76['cdnUrl'],_0x3bfc76['imageInfo']['width']);return{'uploadcareImageId':_0x3bfc76['uuid'],'default':_0xf297e0,'sources':_0x113abf};})['catch'](()=>{const _0x33e6c4=t('Cannot\x20upload\x20file:')+('\x20'+_0x314db4['name']+'.');return Promise['reject'](_0x33e6c4);});}abort(){this['controller']['abort']();}},Z=class extends _0x50c0aa{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x2e901d,J,_0x38afe4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x61f102){super(_0x61f102),this['ucContextId']=_0x29daa0();}init(){const _0x233acc=this['editor'];_0x233acc['commands']['add']('uploadcare',new z(_0x233acc));}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 _0x472251=_0x52ad31['document']['querySelector']('input[uploadcare-file-input]');_0x472251&&_0x472251['remove']();}),async function(_0x534f1b){const _0x8ba11b='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x160d1b=0x79140,_0x419b95=window['Date']['now'](),_0x2988e4=_0x534f1b['editor'],_0x24700d=new window['Promise'](_0x34cbec=>{_0x2988e4['once']('ready',_0x34cbec);}),_0x41f89d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x318ece=_0x2988e4['config']['get']('licenseKey');async function _0x25bc97(){let _0x12cebe,_0x5c9007=null,_0xd40ef9=null;try{return'GPL'==_0x318ece?'NotAllowed':(_0x12cebe=_0x53add6(),_0x12cebe?(_0x12cebe['usageEndpoint']&&(_0xd40ef9=_0x23d5fc(_0x12cebe['usageEndpoint'],_0x12cebe['jti'])),await _0x5c3041()?_0x291d35()?_0x3f400d()?'Expired':_0x405815()?('evaluation'==_0x12cebe['licenseType']&&(_0x5c9007=_0x3990fa('EvaluationLimit')),await _0x483c44()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f400d(){const _0x17e2a0=['evaluation','trial']['includes'](_0x12cebe['licenseType'])?_0x419b95/0x3e8:0xe10*_0x160d1b;return _0x12cebe['exp']<_0x17e2a0;}function _0x291d35(){const _0x3c75fb=_0x12cebe['features'];return!!_0x3c75fb&&(!!_0x3c75fb['includes']('*')||!!_0x3c75fb['includes']('UPLC'));}function _0x405815(){const _0x36e030=_0x12cebe['licensedHosts'];if(!_0x36e030||0x0==_0x36e030['length'])return!0x0;const {hostname:_0x333725}=new URL(window['location']['href']);if(_0x36e030['includes'](_0x333725))return!0x0;const _0x2e6a98=_0x333725['split']('.');return _0x36e030['filter'](_0x1279db=>_0x1279db['includes']('*'))['map'](_0x587886=>_0x587886['split']('.'))['filter'](_0x43fdea=>_0x43fdea['length']<=_0x2e6a98['length'])['map'](_0x39d446=>Array(_0x2e6a98['length']-_0x39d446['length'])['fill']('*'===_0x39d446[0x0]?'*':'')['concat'](_0x39d446))['some'](_0x2113f9=>_0x2e6a98['every']((_0x41cf68,_0x110662)=>_0x2113f9[_0x110662]===_0x41cf68||'*'===_0x2113f9[_0x110662]));}function _0x483c44(){return _0x5c9007&&_0xd40ef9?new window['Promise']((_0x440956,_0xb683ef)=>{_0x5c9007['then'](_0x440956,_0xb683ef),_0xd40ef9['then'](_0x10ce66=>{'Valid'!=_0x10ce66&&_0x440956(_0x10ce66);},_0xb683ef);}):_0x5c9007||_0xd40ef9||'Valid';}}function _0x23d5fc(_0x346698,_0x575ed4){return new window['Promise'](_0xeb49cb=>{if(_0x5b132a())return _0xeb49cb('Valid');_0x196565(),_0x2988e4['decorate']('_sendUsageRequest');let _0x511515=!0x1;const _0x558c32=_0x29daa0();function _0x49d258(_0x4eddf0){return!!_0x4eddf0&&('object'==typeof _0x4eddf0||'function'==typeof _0x4eddf0)&&'function'==typeof _0x4eddf0['then']&&'function'==typeof _0x4eddf0['catch'];}function _0x390473(_0xe9ff2e){_0x369fb6(_0xe9ff2e)['then'](_0x3c1af3=>_0x3c1af3&&'ok'==_0x3c1af3['status']?_0x3b63b1(_0x335f11(_0x558c32+_0x575ed4))!=_0x3c1af3['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5aa9ca=>(_0x2d5bb4(),_0x5aa9ca),()=>{const _0x54df57=_0x2f07d4();return null==_0x54df57?(_0x2d5bb4(),'Valid'):_0x419b95-_0x54df57>0x240c8400?'UsageLimit':'Valid';})['then'](_0xeb49cb)['catch'](()=>{_0xeb49cb('UsageLimit');});const _0x395ad3=0x36ee80;function _0x2d5bb4(){const _0x512fe4='llct-'+_0x3b63b1(_0x335f11(_0x346698)),_0x7a7bdd=_0x5dc1c1(_0x3b63b1(window['Math']['ceil'](_0x419b95/_0x395ad3)));window['localStorage']['setItem'](_0x512fe4,_0x7a7bdd);}function _0x2f07d4(){const _0x1a50db='llct-'+_0x3b63b1(_0x335f11(_0x346698)),_0x127eaa=window['localStorage']['getItem'](_0x1a50db);return _0x127eaa?window['parseInt'](_0x5dc1c1(_0x127eaa),0x10)*_0x395ad3:null;}function _0x369fb6(_0x376216){return new window['Promise']((_0x7c22d5,_0xb858cf)=>{_0x376216['then'](_0x7c22d5,_0xb858cf),window['setTimeout'](_0xb858cf,0x1d4c0);});}}_0x2988e4['on']('_sendUsageRequest',(_0x182379,_0x3611cb)=>{if(_0x3611cb[0x0]!=_0x346698)return _0xeb49cb('UsageLimit');_0x3611cb[0x1]={..._0x3611cb[0x1],'requestId':_0x558c32};},{'priority':'high'}),_0x2988e4['on']('_sendUsageRequest',_0x14e155=>{_0x49d258(_0x14e155['return'])&&(_0x511515=!0x0,_0x390473(_0x14e155['return']));},{'priority':'low'}),_0x24700d['then'](()=>{_0x511515||_0xeb49cb('UsageLimit');});});function _0x5b132a(){return'auto'==_0x2988e4['editing']['view']['_overlayModeHint'];}function _0x196565(){_0x2988e4['editing']['view']['_overlayModeHint']='auto';}}function _0x3990fa(_0x1da760){const _0x3b40d6=[new window['Promise'](_0x5b6237=>setTimeout(_0x5b6237,0x93ecc)),_0x24700d['then'](()=>new window['Promise'](_0x209166=>{let _0x12cc40=0x0;_0x2988e4['model']['on']('applyOperation',(_0x507529,_0x46732d)=>{_0x46732d[0x0]['isDocumentOperation']&&_0x12cc40++,0x5e8==_0x12cc40&&(_0x209166(),_0x507529['off']());});}))];return window['Promise']['race'](_0x3b40d6)['then'](()=>_0x1da760);}async function _0x57f139(){await _0x24700d,_0x2988e4['model']['change']=_0x4536d7,_0x2988e4['model']['enqueueChange']=_0x4536d7,_0x2988e4['enableReadOnlyMode']('model');}function _0x4a350c(_0x143886){const _0x1d319a=_0x507673();_0x2988e4[_0x1d319a]='uploadcareLicenseKey'+_0x143886,'Valid'!=_0x143886&&_0x57f139();}function _0x507673(){const _0x4d4527=window['String'](window['performance']['now']())['replace']('.','');let _0x2b76dd='h';for(let _0x51534c=0x0;_0x51534c<_0x4d4527['length'];_0x51534c+=0x2){let _0x3d0dea=window['parseInt'](_0x4d4527['substring'](_0x51534c,_0x51534c+0x2));_0x3d0dea>=0x3e&&(_0x3d0dea-=0x3e),_0x2b76dd+=_0x8ba11b[_0x3d0dea];}return _0x2b76dd;}function _0x53add6(){const _0x4fd748=_0x318ece['split']('.');if(0x3!=_0x4fd748['length'])return null;return _0x1e7166(_0x4fd748[0x1]);function _0x1e7166(_0x4a6c54){const _0x2c033d=_0x1d01ca(_0x4a6c54);return _0x2c033d&&_0x5d1fea()?_0x2c033d:null;function _0x5d1fea(){const _0x20a0c5=_0x2c033d['jti'],_0x1d17ec=window['parseInt'](_0x20a0c5['substring'](_0x20a0c5['length']-0x8),0x10),_0x1fa60a={..._0x2c033d,'jti':_0x20a0c5['substring'](0x0,_0x20a0c5['length']-0x8)};return delete _0x1fa60a['vc'],_0x335f11(_0x1fa60a)==_0x1d17ec;}}}async function _0x5c3041(){let _0x32be3c=!0x0;try{const [_0x3484c3,_0x18f650,_0x32a3a5]=_0x318ece['split']('.');return _0x26d450(_0x3484c3),await _0x12bfbe(_0x3484c3,_0x18f650,_0x32a3a5),_0x32be3c;}catch{return!0x1;}function _0x26d450(_0x215e62){const _0x55c21f=_0x1d01ca(_0x215e62);_0x55c21f&&'ES256'==_0x55c21f['alg']||(_0x32be3c=!0x1);}async function _0x12bfbe(_0xa3f7b3,_0x3c1c24,_0xb5e7fb){const _0x289a1d=window['Uint8Array']['from'](_0x89ebb6(_0xb5e7fb),_0xc6a7c8=>_0xc6a7c8['charCodeAt'](0x0)),_0x473984=new window['TextEncoder']()['encode'](_0xa3f7b3+'.'+_0x3c1c24),_0x356318=window['crypto']['subtle'];if(!_0x356318)return;const _0xd6c90b=await _0x356318['importKey']('jwk',_0x41f89d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x356318['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xd6c90b,_0x289a1d,_0x473984)||(_0x32be3c=!0x1);}}function _0x1d01ca(_0x4da63a){return _0x4da63a['startsWith']('ey')?JSON['parse'](_0x89ebb6(_0x4da63a)):null;}function _0x89ebb6(_0x2d16e5){return window['atob'](_0x2d16e5['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x335f11(_0x5548b3){let _0x424fa3=0x1505;function _0x97e42b(_0x37acc0){for(let _0xbe8c4d=0x0;_0xbe8c4d<_0x37acc0['length'];_0xbe8c4d++){const _0xe7a4a8=_0x37acc0['charCodeAt'](_0xbe8c4d);_0x424fa3=(_0x424fa3<<0x5)+_0x424fa3+_0xe7a4a8,_0x424fa3&=_0x424fa3;}}function _0x2bcc74(_0x32dfdb){Array['isArray'](_0x32dfdb)?_0x32dfdb['forEach'](_0x2bcc74):_0x32dfdb&&'object'==typeof _0x32dfdb?Object['entries'](_0x32dfdb)['sort']()['forEach'](([_0xa3161b,_0x4598eb])=>{_0x97e42b(_0xa3161b),_0x2bcc74(_0x4598eb);}):_0x97e42b(window['String'](_0x32dfdb));}return _0x2bcc74(_0x5548b3),_0x424fa3>>>0x0;}function _0x3b63b1(_0x1c814b){return _0x1c814b['toString'](0x10)['padStart'](0x8,'0');}function _0x5dc1c1(_0x3b588a){return _0x3b588a['split']('')['reverse']()['join']('');}function _0x4536d7(){}_0x4a350c(await _0x25bc97());}(this);}_initSchema(){const _0x141e20=this['editor']['model']['schema'];_0x141e20['isRegistered']('imageBlock')&&_0x141e20['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x141e20['isRegistered']('imageInline')&&_0x141e20['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x30a968=this['editor'];_0x30a968['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x30a968['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x53dd39=>_0x53dd39['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x451178=_0x30a968['commands']['get']('replaceImageSource');_0x451178&&this['listenTo'](_0x451178,'cleanupImage',(_0x68eee6,[_0x92d50d,_0x53e1a7])=>{_0x92d50d['removeAttribute']('uploadcareImageId',_0x53e1a7);});}_initConfig(){const _0x1a23d4=this['editor']['config']['get']('uploadcare.uploader')||{},_0x160f9e=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x197e74(_0x52ad31['document'],'uc-config',{..._0x1a23d4,'pubkey':_0x160f9e,'ctx-name':'uploader-'+this['ucContextId'],'sourceList':'','imgOnly':'true','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage'],'externalSourcesEmbedCss':'\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09'}),this['_configElement']['iconHrefResolver']=_0x5ff9b5=>{if('closeMax'==_0x5ff9b5)return'#uc-icon-arrow-down';},_0x52ad31['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x197e74(_0x52ad31['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x52ad31['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x1c48fb=this['editor']['commands']['get']('insertImage');_0x1c48fb&&this['listenTo'](_0x1c48fb,'execute',()=>{const _0x2b2177=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2b2177&&_0x2b2177['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x2b2177);});});const _0x498e63=this['editor']['commands']['get']('uploadcareImageReplace');_0x498e63&&this['listenTo'](_0x498e63,'execute',()=>{const _0x14ffbe=this['editor']['model']['document']['selection']['getSelectedElement']();_0x14ffbe&&_0x14ffbe['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x14ffbe);});});}},Y=class extends _0x50c0aa{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5da910){super(_0x5da910),_0x5da910['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x2b8e7d['defineComponents'](_0x2b8e7d),this['_defineLocale']();}['_defineLocale'](){const _0x3c9651=this['editor']['config']['get']('uploadcare.locale'),_0x3e2fe5=this['editor']['locale']['contentLanguage'];_0x3c9651&&_0x2b8e7d['defineLocale'](_0x3e2fe5,_0x3c9651);}},tt=class extends _0x34ab7b{constructor(_0x36ee19){super(_0x36ee19);const t=_0x36ee19['t'],_0xfc5719=this['bindTemplate'],_0x26d3b7=new _0x577d76();_0x26d3b7['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':[_0x26d3b7,{'text':_0xfc5719['to']('imageUploadProgress',_0x24eca4=>t('Loading\x20image...')+'\x20('+(_0x24eca4||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'}]}]}]});}},et=class extends _0x34ab7b{constructor(_0x295354){super(_0x295354);const t=_0x295354['t'];this['set']('errorType',null);const _0x1c5d10=new _0x29dee3(_0x295354);_0x1c5d10['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1c5d10['withText']=!0x0,_0x1c5d10['class']='ck-button-action',_0x1c5d10['on']('execute',()=>{this['fire']('retry');}),_0x1c5d10['bind']('isVisible')['to'](this,'errorType',_0x4e9abd=>'NotFound'!==_0x4e9abd);const _0x2a1549=new _0x7c9dd2();_0x2a1549['content']=_0x248f69,_0x2a1549['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd64f5b=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':[_0x2a1549,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd64f5b['to']('errorType',_0x5956ab=>t('NotFound'!==_0x5956ab?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1c5d10]},{'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'}]}]}]});}},it=class extends _0x34ab7b{constructor(_0x5c562a,_0x4e0e02){super(_0x5c562a);const _0x531636=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x4e0e02,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x531636['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x55eb57,_0x10ffd7,_0x28d1dc){super(_0x55eb57),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x55eb57),this['_errorView']=new et(_0x55eb57),this['_editingView']=new it(_0x55eb57,_0x28d1dc),this['_focusableView']=new _0x34ab7b(_0x55eb57),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x10ffd7),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'],_0x2a7654=>{this['_addUploadcareImageEditorListeners'](_0x2a7654);});}),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(_0x2ad583,_0x13c4fc){const _0xee55c8='uc-cloud-image-editor',_0x440a08=_0x2ad583['querySelector'](_0xee55c8);if(_0x440a08)return _0x13c4fc(_0x440a08);const _0x4123e5=new MutationObserver(_0x3575c4=>{const _0x201a55=_0x3575c4['filter'](_0x56f687=>_0x56f687['target']===_0x2ad583&&_0x56f687['addedNodes']['length']>0x0&&_0x56f687['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0xee55c8);_0x201a55['length']&&(_0x4123e5['disconnect'](),_0x13c4fc(_0x201a55[0x0]['addedNodes'][0x0]));});_0x4123e5['observe'](_0x2ad583,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x36d3ca){_0x36d3ca['addEventListener']('apply',_0x6df590=>{this['fire']('apply',{'imageSrc':_0x6df590['detail']['cdnUrl']});}),_0x36d3ca['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
25
+ _0x767c0b();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x52a088,_0x59b1c6,_0x47b92c){super(),this['_editor']=_0x52a088,this['_dialog']=_0x59b1c6,this['_imageElement']=_0x47b92c,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 _0x2e6da9=this['_imageElement'],_0xdcb55d=_0x2e6da9['getAttribute']('uploadcareImageId'),_0x242041=_0x2e6da9['getAttribute']('src');if(_0xdcb55d)await this['_loadImageInfo'](_0xdcb55d,_0x242041);else{if(this['_imageCache']['has'](_0x242041)){const _0x3f2b28=this['_imageCache']['get'](_0x242041);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f2b28['url'],this['imageDimension']=_0x3f2b28['dimension'],this['imageId']=_0x3f2b28['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1122f1}=this['_editor'],t=_0x1122f1['t'],_0x4bc7b6=new st(_0x1122f1,this['imageStatus'],this['_attributes']);_0x4bc7b6['bind']('status')['to'](this,'imageStatus'),_0x4bc7b6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4bc7b6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4bc7b6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4bc7b6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xae6103,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4bc7b6,'position':_0x110c8c['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4bc7b6['focus']();},'onHide':()=>{_0x4bc7b6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x43a368=>!H(_0x43a368,_0x4bc7b6['element'])}});}['_loadImageInfo'](_0x3a3a93,_0x5e5e3a){return Q['getInfo'](_0x3a3a93,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b3e1=>{const {width:_0x1ae435,height:_0x429bda}=_0x5b3e1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e5e3a,this['imageDimension']={'width':_0x1ae435,'height':_0x429bda},this['imageId']=_0x3a3a93;})['catch'](_0x3bbfff=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3bbfff['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x54c2f6,_0x850626){return this['_getImageAsFile'](_0x54c2f6)['then'](_0x14a8fe=>Q['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x850626['signal'],'file':_0x14a8fe,'onProgress':_0x32480b=>{_0x32480b&&_0x32480b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x32480b['value']));}}))['then'](_0x21b16c=>{const {width:_0x106165,height:_0x59fdf4}=_0x21b16c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21b16c['cdnUrl'],this['imageDimension']={'width':_0x106165,'height':_0x59fdf4},this['imageId']=_0x21b16c['uuid'],this['imageUploadProgress']=null;const _0x51dd46=_0x54c2f6['getAttribute']('src');this['_imageCache']['set'](_0x51dd46,{'id':_0x21b16c['uuid'],'url':_0x21b16c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3440e1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3440e1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x35d6cb,_0x2d8e64){_0x35d6cb['on']('apply',(_0x27b3bb,_0x4b4258)=>{this['_replaceImage'](_0x2d8e64,_0x4b4258['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35d6cb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35d6cb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x24388f,_0x452e7b,_0x22dcc4){const _0xf5823f=this['_editor'],{width:_0x32c4f2,height:_0x5a97ba}=j(_0x452e7b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x121f22,imageSources:_0x5b7056}=B(_0x452e7b,_0x32c4f2);_0xf5823f['model']['change'](_0x388b8a=>{if('$graveyard'!==_0x24388f['root']['rootName'])_0x388b8a['setSelection'](_0x24388f,'on'),_0xf5823f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x24388f['getAttributes']()),'uploadcareImageId':_0x22dcc4,'src':_0x121f22,'sources':_0x5b7056,'width':_0x32c4f2,'height':_0x5a97ba},_0x24388f);else{_0xf5823f['execute']('insertImage',{'imageType':_0x24388f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x24388f['getAttributes']()),'uploadcareImageId':_0x22dcc4,'src':_0x121f22,'sources':_0x5b7056,'width':_0x32c4f2,'height':_0x5a97ba}});const _0x552965=_0x24388f['getChildren']();_0x24388f=_0xf5823f['model']['document']['selection']['getSelectedElement']();for(const _0x53a22a of _0x552965)_0x388b8a['append'](_0x388b8a['cloneElement'](_0x53a22a),_0x24388f);}_0x388b8a['setSelection'](_0x24388f,'on');});}async _getImageAsFile(_0x421393){const _0x581370=_0x52ad31['window'],_0x1c2920=_0x52ad31['document']['location']['href'],_0x38113c=new _0x581370['URL'](_0x421393['getAttribute']('src'),_0x1c2920);if('data:'===_0x38113c['protocol']){const _0x1ff267=_0x38113c['href']['split'](','),_0x33716e=_0x1ff267[0x0]['match'](/:(.*?);/)[0x1],_0x206929=_0x33716e['split']('/')[0x1],_0x59049c=_0x581370['atob'](_0x1ff267[_0x1ff267['length']-0x1]);let _0x27133e=_0x59049c['length'];const _0x1073e6=new _0x581370['Uint8Array'](_0x27133e);for(;_0x27133e--;)_0x1073e6[_0x27133e]=_0x59049c['charCodeAt'](_0x27133e);return new _0x581370['File']([_0x1073e6],'image.'+_0x206929,{'type':_0x33716e});}const _0x12cba1=_0x38113c['href']['split']('/'),_0x1eb80b=_0x12cba1[_0x12cba1['length']-0x1],_0x17c8ed=_0x1eb80b['split']('.')[0x1];return _0x581370['fetch'](_0x38113c['href'])['then'](_0x2f91c6=>_0x2f91c6['clone']()['blob']())['then'](_0xc75cf3=>new _0x581370['File']([_0xc75cf3],_0x1eb80b,{'type':'image/'+_0x17c8ed}));}},at=class extends _0x27611c{imageEditController;static get requires(){return[_0x38afe4];}_isEditable;constructor(_0x4d398b){super(_0x4d398b),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x353116){const _0x526438=M(_0x353116);return _0x305bbf=>!(!_0x305bbf||!_0x305bbf['is']('element','imageBlock')&&!_0x305bbf['is']('element','imageInline'))&&(!!_0x305bbf['hasAttribute']('uploadcareImageId')||!!_0x305bbf['hasAttribute']('src')&&_0x526438(_0x305bbf['getAttribute']('src')));}(_0x4d398b['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x58f386=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x58f386);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3f26ef=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3f26ef&&(_0x3f26ef['is']('element','imageBlock')||_0x3f26ef['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x38afe4),_0x3f26ef),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x27611c{['refresh'](){const _0xed6b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0xed6b&&(_0xed6b['is']('element','imageBlock')||_0xed6b['is']('element','imageInline')));}execute(_0x4abda1){const _0x104e12=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x4f575b=>{_0x4f575b['setAttributes'](_0x4abda1,_0x104e12),_0x4f575b['removeAttribute']('srcset',_0x104e12),_0x4f575b['removeAttribute']('sizes',_0x104e12);});}},ct=class extends _0x50c0aa{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x13f0d5,_0x533fc9,_0xa9ba4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x51972e}=this;_0x51972e['commands']['add']('uploadcareImageEdit',new at(_0x51972e)),_0x51972e['commands']['add']('uploadcareImageReplace',new ot(_0x51972e));}},lt=class extends _0x50c0aa{['_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 _0x3ee0d6=this['editor'];_0x3ee0d6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4c7155=>{const _0x15a3d9=_0x3ee0d6['commands']['get']('uploadcareImageEdit'),_0x1454ae=new _0x29dee3(_0x4c7155),t=_0x4c7155['t'];return _0x1454ae['set']({'icon':_0xae6103,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1454ae['bind']('isEnabled')['to'](_0x15a3d9),_0x1454ae['bind']('isOn')['to'](_0x15a3d9,'isActive'),this['listenTo'](_0x1454ae,'execute',()=>{_0x3ee0d6['execute']('uploadcareImageEdit'),_0x3ee0d6['editing']['view']['focus']();}),_0x1454ae;}),this['_initConfig']();}_initConfig(){const _0x8159d5=_0x197e74(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x8159d5),this['listenTo'](this['editor'],'destroy',()=>{_0x8159d5['remove']();});}},ut=class extends _0x50c0aa{static get['pluginName'](){return'UploadcareImageEdit';}static get requires(){return[ct,lt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Y as Uploadcare,z as UploadcareCommand,Z as UploadcareEditing,ut as UploadcareImageEdit,at as UploadcareImageEditCommand,ct as UploadcareImageEditEditing,lt as UploadcareImageEditUI,V as UploadcareUI,J as UploadcareUploadAdapter};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x4c4969=>0x1!=_0x4c4969}};
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':_0x5cc83f=>0x1!=_0x5cc83f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2910f0=>{const {af:{dictionary:_0x23b480,getPluralForm:_0x1cbf86}}={'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':_0x23bf92=>0x1!=_0x23bf92}};_0x2910f0['af']||={'dictionary':{},'getPluralForm':null},_0x2910f0['af']['dictionary']=Object['assign'](_0x2910f0['af']['dictionary'],_0x23b480),_0x2910f0['af']['getPluralForm']=_0x1cbf86;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x244399=>{const {af:{dictionary:_0x30eaf0,getPluralForm:_0x4b021e}}={'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':_0x59022a=>0x1!=_0x59022a}};_0x244399['af']||={'dictionary':{},'getPluralForm':null},_0x244399['af']['dictionary']=Object['assign'](_0x244399['af']['dictionary'],_0x30eaf0),_0x244399['af']['getPluralForm']=_0x4b021e;})(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':_0x38e686=>0x0==_0x38e686?0x0:0x1==_0x38e686?0x1:0x2==_0x38e686?0x2:_0x38e686%0x64>=0x3&&_0x38e686%0x64<=0xa?0x3:_0x38e686%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':_0x2bd719=>0x0==_0x2bd719?0x0:0x1==_0x2bd719?0x1:0x2==_0x2bd719?0x2:_0x2bd719%0x64>=0x3&&_0x2bd719%0x64<=0xa?0x3:_0x2bd719%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b360e=>{const {ar:{dictionary:_0xea4fff,getPluralForm:_0x543b7f}}={'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':_0x3ac397=>0x0==_0x3ac397?0x0:0x1==_0x3ac397?0x1:0x2==_0x3ac397?0x2:_0x3ac397%0x64>=0x3&&_0x3ac397%0x64<=0xa?0x3:_0x3ac397%0x64>=0xb?0x4:0x5}};_0x4b360e['ar']||={'dictionary':{},'getPluralForm':null},_0x4b360e['ar']['dictionary']=Object['assign'](_0x4b360e['ar']['dictionary'],_0xea4fff),_0x4b360e['ar']['getPluralForm']=_0x543b7f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x505faf=>{const {ar:{dictionary:_0x44c42d,getPluralForm:_0x5b8a90}}={'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':_0x3eeb07=>0x0==_0x3eeb07?0x0:0x1==_0x3eeb07?0x1:0x2==_0x3eeb07?0x2:_0x3eeb07%0x64>=0x3&&_0x3eeb07%0x64<=0xa?0x3:_0x3eeb07%0x64>=0xb?0x4:0x5}};_0x505faf['ar']||={'dictionary':{},'getPluralForm':null},_0x505faf['ar']['dictionary']=Object['assign'](_0x505faf['ar']['dictionary'],_0x44c42d),_0x505faf['ar']['getPluralForm']=_0x5b8a90;})(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':_0x17292f=>0x1!=_0x17292f}};
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':_0xe3f188=>0x1!=_0xe3f188}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xfb6ce3=>{const {ast:{dictionary:_0xcc3582,getPluralForm:_0x26af3e}}={'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':_0x36b0ef=>0x1!=_0x36b0ef}};_0xfb6ce3['ast']||={'dictionary':{},'getPluralForm':null},_0xfb6ce3['ast']['dictionary']=Object['assign'](_0xfb6ce3['ast']['dictionary'],_0xcc3582),_0xfb6ce3['ast']['getPluralForm']=_0x26af3e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a2bd2=>{const {ast:{dictionary:_0x45be6b,getPluralForm:_0xc49cda}}={'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':_0x1ec1ea=>0x1!=_0x1ec1ea}};_0x2a2bd2['ast']||={'dictionary':{},'getPluralForm':null},_0x2a2bd2['ast']['dictionary']=Object['assign'](_0x2a2bd2['ast']['dictionary'],_0x45be6b),_0x2a2bd2['ast']['getPluralForm']=_0xc49cda;})(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':_0x1d514c=>0x1!=_0x1d514c}};
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':_0x3345a9=>0x1!=_0x3345a9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x222c7d=>{const {az:{dictionary:_0x54b5a8,getPluralForm:_0x35cc70}}={'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':_0x439305=>0x1!=_0x439305}};_0x222c7d['az']||={'dictionary':{},'getPluralForm':null},_0x222c7d['az']['dictionary']=Object['assign'](_0x222c7d['az']['dictionary'],_0x54b5a8),_0x222c7d['az']['getPluralForm']=_0x35cc70;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xdd7c13=>{const {az:{dictionary:_0x20440b,getPluralForm:_0x343e95}}={'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':_0x11f037=>0x1!=_0x11f037}};_0xdd7c13['az']||={'dictionary':{},'getPluralForm':null},_0xdd7c13['az']['dictionary']=Object['assign'](_0xdd7c13['az']['dictionary'],_0x20440b),_0xdd7c13['az']['getPluralForm']=_0x343e95;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x5cc3e5=>_0x5cc3e5%0xa==0x1&&_0x5cc3e5%0x64!=0xb?0x0:_0x5cc3e5%0xa>=0x2&&_0x5cc3e5%0xa<=0x4&&(_0x5cc3e5%0x64<0xa||_0x5cc3e5%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x469e9b=>_0x469e9b%0xa==0x1&&_0x469e9b%0x64!=0xb?0x0:_0x469e9b%0xa>=0x2&&_0x469e9b%0xa<=0x4&&(_0x469e9b%0x64<0xa||_0x469e9b%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x473217=>{const {be:{dictionary:_0x12784b,getPluralForm:_0x1c539e}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x1fd913=>_0x1fd913%0xa==0x1&&_0x1fd913%0x64!=0xb?0x0:_0x1fd913%0xa>=0x2&&_0x1fd913%0xa<=0x4&&(_0x1fd913%0x64<0xa||_0x1fd913%0x64>=0x14)?0x1:0x2}};_0x473217['be']||={'dictionary':{},'getPluralForm':null},_0x473217['be']['dictionary']=Object['assign'](_0x473217['be']['dictionary'],_0x12784b),_0x473217['be']['getPluralForm']=_0x1c539e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x127803=>{const {be:{dictionary:_0x56d671,getPluralForm:_0x5ccf63}}={'be':{'dictionary':{'Insert\x20with\x20Dropbox':'','Replace\x20with\x20Dropbox':'','With\x20Dropbox':'','Insert\x20with\x20Facebook':'','Replace\x20with\x20Facebook':'','With\x20Facebook':'','Insert\x20with\x20Google\x20Drive':'','Replace\x20with\x20Google\x20Drive':'','With\x20Google\x20Drive':'','Insert\x20with\x20Google\x20Photos':'','Replace\x20with\x20Google\x20Photos':'','With\x20Google\x20Photos':'','Insert\x20with\x20OneDrive':'','Replace\x20with\x20OneDrive':'','With\x20OneDrive':'','Replace\x20via\x20URL':'','Edit\x20Image\x20(Uploadcare)':'','Loading\x20image...':'','Unable\x20to\x20load':'','We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'','Try\x20again\x20(Uploadcare)':'','The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.':''},'getPluralForm':_0x167a5a=>_0x167a5a%0xa==0x1&&_0x167a5a%0x64!=0xb?0x0:_0x167a5a%0xa>=0x2&&_0x167a5a%0xa<=0x4&&(_0x167a5a%0x64<0xa||_0x167a5a%0x64>=0x14)?0x1:0x2}};_0x127803['be']||={'dictionary':{},'getPluralForm':null},_0x127803['be']['dictionary']=Object['assign'](_0x127803['be']['dictionary'],_0x56d671),_0x127803['be']['getPluralForm']=_0x5ccf63;})(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':_0x3785ab=>0x1!=_0x3785ab}};
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':_0x486e7d=>0x1!=_0x486e7d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x42cb12=>{const {bg:{dictionary:_0x18272b,getPluralForm:_0x5ddd41}}={'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':_0x467b46=>0x1!=_0x467b46}};_0x42cb12['bg']||={'dictionary':{},'getPluralForm':null},_0x42cb12['bg']['dictionary']=Object['assign'](_0x42cb12['bg']['dictionary'],_0x18272b),_0x42cb12['bg']['getPluralForm']=_0x5ddd41;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x42fbc2=>{const {bg:{dictionary:_0x1e3a81,getPluralForm:_0x288bbc}}={'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':_0x24efc7=>0x1!=_0x24efc7}};_0x42fbc2['bg']||={'dictionary':{},'getPluralForm':null},_0x42fbc2['bg']['dictionary']=Object['assign'](_0x42fbc2['bg']['dictionary'],_0x1e3a81),_0x42fbc2['bg']['getPluralForm']=_0x288bbc;})(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':_0x5caca1=>0x1!=_0x5caca1}};
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':_0x2a6258=>0x1!=_0x2a6258}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x27d63f=>{const {bn:{dictionary:_0x54268c,getPluralForm:_0x447d45}}={'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':_0x47e64a=>0x1!=_0x47e64a}};_0x27d63f['bn']||={'dictionary':{},'getPluralForm':null},_0x27d63f['bn']['dictionary']=Object['assign'](_0x27d63f['bn']['dictionary'],_0x54268c),_0x27d63f['bn']['getPluralForm']=_0x447d45;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32186e=>{const {bn:{dictionary:_0x18fe0f,getPluralForm:_0x337d12}}={'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':_0x426e57=>0x1!=_0x426e57}};_0x32186e['bn']||={'dictionary':{},'getPluralForm':null},_0x32186e['bn']['dictionary']=Object['assign'](_0x32186e['bn']['dictionary'],_0x18fe0f),_0x32186e['bn']['getPluralForm']=_0x337d12;})(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':_0x4bf9d8=>_0x4bf9d8%0xa==0x1&&_0x4bf9d8%0x64!=0xb?0x0:_0x4bf9d8%0xa>=0x2&&_0x4bf9d8%0xa<=0x4&&(_0x4bf9d8%0x64<0xa||_0x4bf9d8%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':_0x2a5fad=>_0x2a5fad%0xa==0x1&&_0x2a5fad%0x64!=0xb?0x0:_0x2a5fad%0xa>=0x2&&_0x2a5fad%0xa<=0x4&&(_0x2a5fad%0x64<0xa||_0x2a5fad%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45a73e=>{const {bs:{dictionary:_0x4d7ec4,getPluralForm:_0x5e2e1a}}={'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':_0x231cbf=>_0x231cbf%0xa==0x1&&_0x231cbf%0x64!=0xb?0x0:_0x231cbf%0xa>=0x2&&_0x231cbf%0xa<=0x4&&(_0x231cbf%0x64<0xa||_0x231cbf%0x64>=0x14)?0x1:0x2}};_0x45a73e['bs']||={'dictionary':{},'getPluralForm':null},_0x45a73e['bs']['dictionary']=Object['assign'](_0x45a73e['bs']['dictionary'],_0x4d7ec4),_0x45a73e['bs']['getPluralForm']=_0x5e2e1a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31bd59=>{const {bs:{dictionary:_0x2accea,getPluralForm:_0x4eacd3}}={'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':_0x268f22=>_0x268f22%0xa==0x1&&_0x268f22%0x64!=0xb?0x0:_0x268f22%0xa>=0x2&&_0x268f22%0xa<=0x4&&(_0x268f22%0x64<0xa||_0x268f22%0x64>=0x14)?0x1:0x2}};_0x31bd59['bs']||={'dictionary':{},'getPluralForm':null},_0x31bd59['bs']['dictionary']=Object['assign'](_0x31bd59['bs']['dictionary'],_0x2accea),_0x31bd59['bs']['getPluralForm']=_0x4eacd3;})(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':_0xb9e003=>0x1!=_0xb9e003}};
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':_0x246b85=>0x1!=_0x246b85}};