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

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 (148) hide show
  1. package/dist/index.js +3 -3
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
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};
23
+ import{Command as _0x55737e,Plugin as _0x154005}from'@ckeditor/ckeditor5-core';import{IconDropbox as _0x5f534e,IconError as _0x42b1eb,IconFacebook as _0x3c5aaf,IconGoogleDrive as _0x30d30f,IconGooglePhotos as _0x27d083,IconOneDrive as _0x1fc18d,IconUploadcareImageEdit as _0x54addb,IconUploadcareImageUpload as _0x515ba4,IconUploadcareLink as _0x5b8875}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x1bd6ef,Dialog as _0x57118f,DialogViewPosition as _0x1d3a1b,FocusCycler as _0x380d67,IconView as _0x506888,MenuBarMenuListItemButtonView as _0xe4a21b,Notification as _0x23a863,SpinnerView as _0x4e386a,View as _0x1faacd}from'@ckeditor/ckeditor5-ui';import{DomEmitterMixin as _0x56c799,FocusTracker as _0xef927f,ObservableMixin as _0x2bc062,createElement as _0x2834d6,getAncestors as _0x36478a,global as _0x1a3e19,uid as _0x468393}from'@ckeditor/ckeditor5-utils';import{ImageEditing as _0xbeca2f,ImageUploadEditing as _0x49196a,ImageUploadProgress as _0x391a27,ImageUtils as _0x4176da,PictureEditing as _0x3adadf}from'@ckeditor/ckeditor5-image';import{FileRepository as _0x5a389b}from'@ckeditor/ckeditor5-upload';import{info as _0x59777,uploadFile as _0x3505e3}from'@uploadcare/upload-client';import*as _0x470289 from'@uploadcare/file-uploader/web/file-uploader.min.js';function T(_0x428cf3,_0x3a557c,_0x2266b6){const t=_0x428cf3['t'],_0x508e55=_0x428cf3['t'];switch(_0x3a557c){case'local':return{'text':_0x508e55('Insert'===_0x2266b6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x508e55('From\x20computer')};case'url':return{'text':'Insert'===_0x2266b6?_0x508e55('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x508e55('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x2266b6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a557c;}}var V=class extends _0x154005{['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 _0x2339e5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34502c;for(const _0x6ecc99 in _0x2339e5){const _0x1a3758=_0x6ecc99,_0x3b89db=_0x2339e5[_0x1a3758];if('uploadcareLicenseKeyValid'==_0x3b89db||'uploadcareLicenseKeyInvalid'==_0x3b89db||'uploadcareLicenseKeyExpired'==_0x3b89db||'uploadcareLicenseKeyDomainLimit'==_0x3b89db||'uploadcareLicenseKeyNotAllowed'==_0x3b89db||'uploadcareLicenseKeyEvaluationLimit'==_0x3b89db||'uploadcareLicenseKeyUsageLimit'==_0x3b89db){delete _0x2339e5[_0x1a3758],_0x34502c=_0x3b89db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x34502c&&_0x2339e5['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x34502c&&_0x2339e5['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x34502c&&_0x2339e5['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x34502c&&_0x2339e5['_showLicenseError']('usageLimit');},0x3e8);}afterInit(){const {editor:_0x305795}=this,_0x2b9668=_0x305795['commands']['get']('uploadcare');if(!_0x2b9668)return;const _0x4a8122=this['_normalizeConfigSourceList'](_0x305795['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x5799ce,_0xfc0472)=>{const _0x2b8d97=this['_getIntegrationKey'](_0xfc0472['type']);return _0x5799ce[_0x2b8d97]||(_0x5799ce[_0x2b8d97]=[]),_0x5799ce[_0x2b8d97]['push'](_0xfc0472),_0x5799ce;},{});_0x305795['plugins']['has']('ImageInsertUI')&&_0x305795['commands']['get']('uploadcare')&&Object['entries'](_0x4a8122)['forEach'](([_0x100be1,_0x331403])=>{_0x305795['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x100be1,'observable':()=>_0x2b9668,'buttonViewCreator':()=>this['_createToolbarButton'](_0x331403),'formViewCreator':()=>this['_createDropdownButtons'](_0x331403),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x331403),'override':'assetManager'!==_0x100be1});});}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}_normalizeConfigSourceList(_0x4514e2){const {locale:_0x1237f6}=this['editor'];return _0x4514e2['map'](_0x3220b5=>{const _0x1dc1bc=T(_0x1237f6,_0x3220b5,'Insert');switch(_0x3220b5){case'local':return{'icon':_0x515ba4,'type':'local',..._0x1dc1bc};case'url':return{'icon':_0x5b8875,'type':'url',..._0x1dc1bc};case'dropbox':return{'icon':_0x5f534e,'type':'dropbox',..._0x1dc1bc};case'facebook':return{'icon':_0x3c5aaf,'type':'facebook',..._0x1dc1bc};case'gdrive':return{'icon':_0x30d30f,'type':'gdrive',..._0x1dc1bc};case'gphotos':return{'icon':_0x27d083,'type':'gphotos',..._0x1dc1bc};case'onedrive':return{'icon':_0x1fc18d,'type':'onedrive',..._0x1dc1bc};}});}_getIntegrationKey(_0x49e595){switch(_0x49e595){case'local':return'upload';case'url':return'url';default:return'assetManager';}}_createButton(_0x8e35d4,_0x4679a9){const _0xd8cf5f=this['editor'],_0x212861=new _0x8e35d4(_0xd8cf5f['locale']),_0x2b9a38=_0xd8cf5f['commands']['get']('uploadcare');return _0x212861['bind']('isEnabled')['to'](_0x2b9a38),_0x212861['on']('execute',()=>{_0x2b9a38['execute'](_0x4679a9);}),_0x212861;}_createToolbarButton(_0x40de76){const {locale:_0x436f5d}=this['editor'],_0x3436ab=this['editor']['plugins']['get']('ImageInsertUI'),_0x38d147=_0x40de76[0x0],_0x40437d=this['_createButton'](_0x1bd6ef,_0x38d147['type']);return _0x40437d['icon']=_0x38d147['icon'],_0x40437d['bind']('label')['to'](_0x3436ab,'isImageSelected',_0x361a7b=>T(_0x436f5d,_0x38d147['type'],_0x361a7b?'Replace':'Insert')['text']),_0x40437d['tooltip']=!0x0,_0x40437d;}_createDropdownButtons(_0x265295){const {locale:_0x2a6f0d}=this['editor'],_0x70127=this['editor']['plugins']['get']('ImageInsertUI');return _0x265295['map'](_0x441302=>{const _0x41ab00=this['_createButton'](_0x1bd6ef,_0x441302['type']);return _0x41ab00['withText']=!0x0,_0x41ab00['icon']=_0x441302['icon'],_0x41ab00['bind']('label')['to'](_0x70127,'isImageSelected',_0x4a6323=>T(_0x2a6f0d,_0x441302['type'],_0x4a6323?'Replace':'Insert')['text']),_0x41ab00;});}_createMenuBarButtons(_0x44901e){return _0x44901e['map'](_0x2178b7=>{const _0x4e76ab=this['_createButton'](_0xe4a21b,_0x2178b7['type']);return _0x4e76ab['icon']=_0x2178b7['icon'],_0x4e76ab['label']=_0x2178b7['shortText'],_0x4e76ab;});}},F=class extends _0x1faacd{['focusTracker'];['focusCycler'];constructor(_0x228791){super(_0x228791),this['focusTracker']=new _0xef927f(),this['focusCycler']=new _0x380d67({'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(_0x245166,_0x4bec36){super(_0x245166),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-'+_0x4bec36}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function B(_0x3d70e4,_0x35eb39){const _0x2a900e=_0x3d70e4['replace'](/\/$/,'');return{'imageFallbackUrl':_0x3d70e4,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x33e142=>_0x33e142<_0x35eb39)['map'](_0x1d87f0=>_0x2a900e+'/-/resize/'+_0x1d87f0+'x/\x20'+_0x1d87f0+'w'),_0x3d70e4+'\x20'+_0x35eb39+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x35eb39+'px)\x20100vw,\x20'+_0x35eb39+'px','type':'image/webp'}]};}function j(_0x4ef2d1,_0xd26997,_0x265e31){const _0x43c0cf=_0x4ef2d1['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x43c0cf?parseInt(_0x43c0cf[0x1],0xa):_0xd26997,'height':_0x43c0cf?parseInt(_0x43c0cf[0x2],0xa):_0x265e31};}function q(_0x42e58a,_0x1c865a){const _0x99eb86=new(_0x56c799())(),_0x27ca50=_0x42e58a['plugins']['get']('ImageUtils'),_0x57e061=_0x42e58a['editing']['mapper']['toViewElement'](_0x1c865a),_0x23b0ee=_0x27ca50['findViewImgElement'](_0x57e061),_0x3788c8=_0x42e58a['editing']['view']['domConverter']['viewToDom'](_0x23b0ee),_0x2c2408=_0x1c865a['getAttribute']('width'),_0x3600f1=_0x1c865a['getAttribute']('height'),_0x880648='image-processing';_0x42e58a['editing']['view']['change'](_0x3951c9=>{_0x3951c9['addClass'](_0x880648,_0x57e061),_0x3951c9['setStyle']('aspect-ratio',_0x2c2408+'/'+_0x3600f1,_0x23b0ee);}),_0x99eb86['listenTo'](_0x3788c8,'load',()=>{_0x99eb86['stopListening'](_0x3788c8,'load'),_0x42e58a['editing']['view']['change'](_0x487ce4=>{_0x487ce4['removeClass'](_0x880648,_0x57e061),_0x487ce4['removeStyle']('aspect-ratio',_0x23b0ee);});});}function M(_0x384cca){if(Array['isArray'](_0x384cca)){const _0x20e2c1=_0x384cca['map'](M);return _0x179daf=>_0x20e2c1['some'](_0x7c97a7=>_0x7c97a7(_0x179daf));}if('origin'==_0x384cca){const _0x20618c=_0x1a3e19['window']['location']['origin'];return _0x141804=>new URL(_0x141804,_0x1a3e19['document']['baseURI'])['origin']==_0x20618c;}return'function'==typeof _0x384cca?_0x384cca:_0x384cca instanceof RegExp?_0xbeefaa=>!(!_0xbeefaa['match'](_0x384cca)&&!_0xbeefaa['replace'](/^https?:\/\//,'')['match'](_0x384cca)):()=>!0x1;}function H(_0x2a5f10,_0x47a5bf){return _0x36478a(_0x2a5f10['target'])['includes'](_0x47a5bf);}const W=/* #__PURE__ -- @preserve */
24
+ _0x2bc062();var G=class extends W{_editor;['_dialog'];_editing;['_api'];_type=null;['_formView']=null;constructor(_0x4ba0cf,_0x1715f4,_0x112206){super(),this['_editor']=_0x4ba0cf,this['_editing']=_0x1715f4,this['_dialog']=_0x4ba0cf['plugins']['get'](_0x57118f),this['_api']=_0x1715f4['ctxElement']['getAPI'](),this['_type']=_0x112206,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:_0x209cb0,model:_0x459427}=this['_editor'],_0x1c84ff=_0x459427['document']['selection']['getSelectedElement'](),_0x467ede=_0x1c84ff&&(_0x1c84ff['is']('element','imageBlock')||_0x1c84ff['is']('element','imageInline'));this['_formView']=new $(_0x209cb0,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x515ba4,'title':T(_0x209cb0,this['_type'],_0x467ede?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x1d3a1b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x172fe8=>!H(_0x172fe8,this['_formView']['element'])}});}_initListeners(){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4c84a9}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x3ef3cf=>{const _0x2e03c5=_0x4c84a9['length'];for(const _0x5f0df8 of _0x4c84a9){const _0x394d42=_0x5f0df8===_0x4c84a9[_0x2e03c5-0x1],{cdnUrl:_0x4aa044,fileInfo:_0x27fe73}=_0x5f0df8;if(!_0x4aa044||!_0x27fe73)continue;const {width:_0x1b404a,height:_0x3f209e}=_0x27fe73['imageInfo'],_0x16d430=j(_0x4aa044,_0x1b404a,_0x3f209e),_0x43f44f=B(_0x4aa044,_0x16d430['width']),_0x1dfa48={'id':_0x27fe73['uuid'],'type':'image','attributes':{'imageDimension':_0x16d430,..._0x43f44f}};this['_insertAsset'](_0x1dfa48,_0x394d42,_0x3ef3cf);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x493e74=>{'idle'===_0x493e74['detail']['status']&&!_0x493e74['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}_insertAsset(_0x4fcdb8,_0x37a6cd,_0x582f56){const _0xe5842f=this['_editor']['model']['document']['selection'],_0x509f76=_0xe5842f['getSelectedElement'](),_0x54725f=!(!_0x509f76||!_0x509f76['is']('element','imageInline'));_0x582f56['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x4fcdb8,_0x54725f),_0x37a6cd||_0x582f56['setSelection'](_0xe5842f['getLastPosition']());}_insertImage(_0x3e9825,_0x1c98f2){const _0x4dcbf0=this['_editor'],{imageDimension:_0x2b4961,imageFallbackUrl:_0x519a01,imageSources:_0x5414d2}=_0x3e9825['attributes'];_0x4dcbf0['execute']('insertImage',{'imageType':_0x1c98f2?'imageInline':null,'source':{'uploadcareImageId':_0x3e9825['id'],'src':_0x519a01,'sources':_0x5414d2,..._0x2b4961}});}},z=class extends _0x55737e{_editing;_controller=null;static get requires(){return[_0x57118f,Z];}constructor(_0x14d8fa){super(_0x14d8fa),this['_editing']=_0x14d8fa['plugins']['get'](Z);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}execute(_0x54761f){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new G(this['editor'],this['_editing'],_0x54761f);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}},Q=class{static['upload']({file:_0x5f1fd4,..._0x32183b}){return _0x3505e3(_0x5f1fd4,_0x32183b);}static getInfo(_0x1a851e,_0x1611c2){return _0x59777(_0x1a851e,_0x1611c2);}},J=class extends _0x154005{static get requires(){return[_0x49196a,_0x391a27,_0x5a389b,Z];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async afterInit(){const _0x57a4af=this['editor'];if(!_0x57a4af['config']['get']('uploadcare'))return;_0x57a4af['plugins']['get'](_0x5a389b)['createUploadAdapter']=_0x579950=>new X(_0x579950,_0x57a4af),_0x57a4af['plugins']['get'](_0x49196a)['on']('uploadComplete',(_0x4a9fed,{imageElement:_0x530856,data:_0x575fee})=>{_0x57a4af['model']['change'](_0x6b2b6c=>{_0x6b2b6c['setAttribute']('uploadcareImageId',_0x575fee['uploadcareImageId'],_0x530856);});});}},X=class{['loader'];editor;controller;constructor(_0x5f56ad,_0x2077ee){this['loader']=_0x5f56ad,this['editor']=_0x2077ee,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e0e9d=await this['loader']['file'];return Q['upload']({'file':_0x5e0e9d,'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':_0x11be19=>{_0x11be19&&_0x11be19['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11be19['value']);}})['then'](async _0x3110b1=>{const {imageFallbackUrl:_0x35724a,imageSources:_0x598494}=B(_0x3110b1['cdnUrl'],_0x3110b1['imageInfo']['width']);return{'uploadcareImageId':_0x3110b1['uuid'],'default':_0x35724a,'sources':_0x598494};})['catch'](()=>{const _0x26cd50=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e0e9d['name']+'.');return Promise['reject'](_0x26cd50);});}abort(){this['controller']['abort']();}},Z=class extends _0x154005{_configElement=null;_ctxElement=null;static get['pluginName'](){return'UploadcareEditing';}static get requires(){return[_0x3adadf,J,_0x57118f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}ucContextId;get configElement(){return this['_configElement'];}get ctxElement(){return this['_ctxElement'];}constructor(_0x2cda3b){super(_0x2cda3b),this['ucContextId']=_0x468393();}init(){const _0x3ab953=this['editor'];_0x3ab953['commands']['add']('uploadcare',new z(_0x3ab953));}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 _0x561be4=_0x1a3e19['document']['querySelector']('input[uploadcare-file-input]');_0x561be4&&_0x561be4['remove']();}),async function(_0x3bdcc5){const _0x422663='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x545f70=0x79170,_0x4e4876=window['Date']['now'](),_0x255abb=_0x3bdcc5['editor'],_0xc05097=new window['Promise'](_0x58b71f=>{_0x255abb['once']('ready',_0x58b71f);}),_0x1c40b2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x37b3bf=_0x255abb['config']['get']('licenseKey');async function _0xbf820f(){let _0x29cda,_0x2a2f63=null,_0xc7757e=null;try{return'GPL'==_0x37b3bf?'NotAllowed':(_0x29cda=_0x490308(),_0x29cda?(_0x29cda['usageEndpoint']&&(_0xc7757e=_0x12f520(_0x29cda['usageEndpoint'],_0x29cda['jti'])),await _0xb65de5()?_0x12d667()?_0x335b04()?'Expired':_0x4432ed()?('evaluation'==_0x29cda['licenseType']&&(_0x2a2f63=_0x2541d1('EvaluationLimit')),await _0xd5f539()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x335b04(){const _0x458b00=['evaluation','trial']['includes'](_0x29cda['licenseType'])?_0x4e4876/0x3e8:0xe10*_0x545f70;return _0x29cda['exp']<_0x458b00;}function _0x12d667(){const _0x1f10bf=_0x29cda['features'];return!!_0x1f10bf&&(!!_0x1f10bf['includes']('*')||!!_0x1f10bf['includes']('UPLC'));}function _0x4432ed(){const _0x27fc29=_0x29cda['licensedHosts'];if(!_0x27fc29||0x0==_0x27fc29['length'])return!0x0;const {hostname:_0x1ea709}=new URL(window['location']['href']);if(_0x27fc29['includes'](_0x1ea709))return!0x0;const _0xb5662b=_0x1ea709['split']('.');return _0x27fc29['filter'](_0x3c7d3b=>_0x3c7d3b['includes']('*'))['map'](_0x14c662=>_0x14c662['split']('.'))['filter'](_0x597d11=>_0x597d11['length']<=_0xb5662b['length'])['map'](_0x3339b0=>Array(_0xb5662b['length']-_0x3339b0['length'])['fill']('*'===_0x3339b0[0x0]?'*':'')['concat'](_0x3339b0))['some'](_0x3b187a=>_0xb5662b['every']((_0xccd368,_0x456ba5)=>_0x3b187a[_0x456ba5]===_0xccd368||'*'===_0x3b187a[_0x456ba5]));}function _0xd5f539(){return _0x2a2f63&&_0xc7757e?new window['Promise']((_0x451d6b,_0x570032)=>{_0x2a2f63['then'](_0x451d6b,_0x570032),_0xc7757e['then'](_0x145179=>{'Valid'!=_0x145179&&_0x451d6b(_0x145179);},_0x570032);}):_0x2a2f63||_0xc7757e||'Valid';}}function _0x12f520(_0x243104,_0x211145){return new window['Promise'](_0x4c4466=>{if(_0x30048f())return _0x4c4466('Valid');_0x1d90f3(),_0x255abb['decorate']('_sendUsageRequest');let _0x131e69=!0x1;const _0xfeaa7c=_0x468393();function _0x37da80(_0xee56b4){return!!_0xee56b4&&('object'==typeof _0xee56b4||'function'==typeof _0xee56b4)&&'function'==typeof _0xee56b4['then']&&'function'==typeof _0xee56b4['catch'];}function _0x1a172e(_0x4184a1){_0x50b449(_0x4184a1)['then'](_0x5de97e=>_0x5de97e&&'ok'==_0x5de97e['status']?_0x103e14(_0xbe574a(_0xfeaa7c+_0x211145))!=_0x5de97e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2db343=>(_0x4ee0b7(),_0x2db343),()=>{const _0x1ee1fe=_0x381afe();return null==_0x1ee1fe?(_0x4ee0b7(),'Valid'):_0x4e4876-_0x1ee1fe>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4c4466)['catch'](()=>{_0x4c4466('UsageLimit');});const _0x219579=0x36ee80;function _0x4ee0b7(){const _0xb56e99='llct-'+_0x103e14(_0xbe574a(_0x243104)),_0x368ada=_0xe64d78(_0x103e14(window['Math']['ceil'](_0x4e4876/_0x219579)));window['localStorage']['setItem'](_0xb56e99,_0x368ada);}function _0x381afe(){const _0x2d6b00='llct-'+_0x103e14(_0xbe574a(_0x243104)),_0x35c39a=window['localStorage']['getItem'](_0x2d6b00);return _0x35c39a?window['parseInt'](_0xe64d78(_0x35c39a),0x10)*_0x219579:null;}function _0x50b449(_0x3ca680){return new window['Promise']((_0x1c9c81,_0x1e45bf)=>{_0x3ca680['then'](_0x1c9c81,_0x1e45bf),window['setTimeout'](_0x1e45bf,0x1d4c0);});}}_0x255abb['on']('_sendUsageRequest',(_0x25f8ab,_0x268fad)=>{if(_0x268fad[0x0]!=_0x243104)return _0x4c4466('UsageLimit');_0x268fad[0x1]={..._0x268fad[0x1],'requestId':_0xfeaa7c};},{'priority':'high'}),_0x255abb['on']('_sendUsageRequest',_0x485829=>{_0x37da80(_0x485829['return'])&&(_0x131e69=!0x0,_0x1a172e(_0x485829['return']));},{'priority':'low'}),_0xc05097['then'](()=>{_0x131e69||_0x4c4466('UsageLimit');});});function _0x30048f(){return'auto'==_0x255abb['editing']['view']['_overlayModeHint'];}function _0x1d90f3(){_0x255abb['editing']['view']['_overlayModeHint']='auto';}}function _0x2541d1(_0x5d1de8){const _0x2efa39=[new window['Promise'](_0x24e5f6=>setTimeout(_0x24e5f6,0x93ecc)),_0xc05097['then'](()=>new window['Promise'](_0x57f0dd=>{let _0x128ccc=0x0;_0x255abb['model']['on']('applyOperation',(_0x1af841,_0x36a1e2)=>{_0x36a1e2[0x0]['isDocumentOperation']&&_0x128ccc++,0x5e8==_0x128ccc&&(_0x57f0dd(),_0x1af841['off']());});}))];return window['Promise']['race'](_0x2efa39)['then'](()=>_0x5d1de8);}async function _0x3b4568(){await _0xc05097,_0x255abb['model']['change']=_0xb59e14,_0x255abb['model']['enqueueChange']=_0xb59e14,_0x255abb['enableReadOnlyMode']('model');}function _0x150f4e(_0x49cc57){const _0x129352=_0x24bba8();_0x255abb[_0x129352]='uploadcareLicenseKey'+_0x49cc57,'Valid'!=_0x49cc57&&_0x3b4568();}function _0x24bba8(){const _0x13b0b2=window['String'](window['performance']['now']())['replace']('.','');let _0x5c0244='h';for(let _0x84e73f=0x0;_0x84e73f<_0x13b0b2['length'];_0x84e73f+=0x2){let _0x54cae0=window['parseInt'](_0x13b0b2['substring'](_0x84e73f,_0x84e73f+0x2));_0x54cae0>=0x3e&&(_0x54cae0-=0x3e),_0x5c0244+=_0x422663[_0x54cae0];}return _0x5c0244;}function _0x490308(){const _0x425b99=_0x37b3bf['split']('.');if(0x3!=_0x425b99['length'])return null;return _0x2daff2(_0x425b99[0x1]);function _0x2daff2(_0x49bc29){const _0x39a64e=_0x1508f7(_0x49bc29);return _0x39a64e&&_0x493167()?_0x39a64e:null;function _0x493167(){const _0x8e8fcc=_0x39a64e['jti'],_0x3e1b73=window['parseInt'](_0x8e8fcc['substring'](_0x8e8fcc['length']-0x8),0x10),_0x37976f={..._0x39a64e,'jti':_0x8e8fcc['substring'](0x0,_0x8e8fcc['length']-0x8)};return delete _0x37976f['vc'],_0xbe574a(_0x37976f)==_0x3e1b73;}}}async function _0xb65de5(){let _0x2b7eb8=!0x0;try{const [_0x308607,_0x117000,_0x9164f5]=_0x37b3bf['split']('.');return _0x1a1a8d(_0x308607),await _0x5884ee(_0x308607,_0x117000,_0x9164f5),_0x2b7eb8;}catch{return!0x1;}function _0x1a1a8d(_0x564118){const _0xd00512=_0x1508f7(_0x564118);_0xd00512&&'ES256'==_0xd00512['alg']||(_0x2b7eb8=!0x1);}async function _0x5884ee(_0x21457f,_0xf1c955,_0x19c2d3){const _0x232d57=window['Uint8Array']['from'](_0x5c150b(_0x19c2d3),_0x20e247=>_0x20e247['charCodeAt'](0x0)),_0x4d5597=new window['TextEncoder']()['encode'](_0x21457f+'.'+_0xf1c955),_0x2f031d=window['crypto']['subtle'];if(!_0x2f031d)return;const _0x13797e=await _0x2f031d['importKey']('jwk',_0x1c40b2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2f031d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x13797e,_0x232d57,_0x4d5597)||(_0x2b7eb8=!0x1);}}function _0x1508f7(_0x5c7149){return _0x5c7149['startsWith']('ey')?JSON['parse'](_0x5c150b(_0x5c7149)):null;}function _0x5c150b(_0x57fcce){return window['atob'](_0x57fcce['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xbe574a(_0x223d80){let _0x1aefa0=0x1505;function _0x4c3b06(_0x4b5c08){for(let _0x31a8d2=0x0;_0x31a8d2<_0x4b5c08['length'];_0x31a8d2++){const _0x39c0d9=_0x4b5c08['charCodeAt'](_0x31a8d2);_0x1aefa0=(_0x1aefa0<<0x5)+_0x1aefa0+_0x39c0d9,_0x1aefa0&=_0x1aefa0;}}function _0x96b5cd(_0x416f30){Array['isArray'](_0x416f30)?_0x416f30['forEach'](_0x96b5cd):_0x416f30&&'object'==typeof _0x416f30?Object['entries'](_0x416f30)['sort']()['forEach'](([_0x24afcb,_0x259ef9])=>{_0x4c3b06(_0x24afcb),_0x96b5cd(_0x259ef9);}):_0x4c3b06(window['String'](_0x416f30));}return _0x96b5cd(_0x223d80),_0x1aefa0>>>0x0;}function _0x103e14(_0xd3be25){return _0xd3be25['toString'](0x10)['padStart'](0x8,'0');}function _0xe64d78(_0x3decdc){return _0x3decdc['split']('')['reverse']()['join']('');}function _0xb59e14(){}_0x150f4e(await _0xbf820f());}(this);}_initSchema(){const _0x2c625d=this['editor']['model']['schema'];_0x2c625d['isRegistered']('imageBlock')&&_0x2c625d['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x2c625d['isRegistered']('imageInline')&&_0x2c625d['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}_initConversion(){const _0x295ecd=this['editor'];_0x295ecd['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x295ecd['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x122637=>_0x122637['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x434cda=_0x295ecd['commands']['get']('replaceImageSource');_0x434cda&&this['listenTo'](_0x434cda,'cleanupImage',(_0x185b42,[_0x534f44,_0x1c600f])=>{_0x534f44['removeAttribute']('uploadcareImageId',_0x1c600f);});}_initConfig(){const _0x1c3000=this['editor']['config']['get']('uploadcare.uploader')||{},_0x1c30c3=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x2834d6(_0x1a3e19['document'],'uc-config',{..._0x1c3000,'pubkey':_0x1c30c3,'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']=_0x288779=>{if('closeMax'==_0x288779)return'#uc-icon-arrow-down';},_0x1a3e19['document']['body']['appendChild'](this['_configElement']);}_initCtx(){this['_ctxElement']=_0x2834d6(_0x1a3e19['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x1a3e19['document']['body']['appendChild'](this['_ctxElement']);}_initImageProcessingIndicator(){const _0x539f27=this['editor']['commands']['get']('insertImage');_0x539f27&&this['listenTo'](_0x539f27,'execute',()=>{const _0x42019d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x42019d&&_0x42019d['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x42019d);});});const _0x4eb3af=this['editor']['commands']['get']('uploadcareImageReplace');_0x4eb3af&&this['listenTo'](_0x4eb3af,'execute',()=>{const _0x139184=this['editor']['model']['document']['selection']['getSelectedElement']();_0x139184&&_0x139184['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{q(this['editor'],_0x139184);});});}},Y=class extends _0x154005{static get requires(){return[Z,V];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x381d8f){super(_0x381d8f),_0x381d8f['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x470289['defineComponents'](_0x470289),this['_defineLocale']();}['_defineLocale'](){const _0x5f2adc=this['editor']['config']['get']('uploadcare.locale'),_0x12577e=this['editor']['locale']['contentLanguage'];_0x5f2adc&&_0x470289['defineLocale'](_0x12577e,_0x5f2adc);}},tt=class extends _0x1faacd{constructor(_0x38372b){super(_0x38372b);const t=_0x38372b['t'],_0x4a9679=this['bindTemplate'],_0x23f2a9=new _0x4e386a();_0x23f2a9['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':[_0x23f2a9,{'text':_0x4a9679['to']('imageUploadProgress',_0x36695f=>t('Loading\x20image...')+'\x20('+(_0x36695f||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 _0x1faacd{constructor(_0x46e2eb){super(_0x46e2eb);const t=_0x46e2eb['t'];this['set']('errorType',null);const _0x5429e4=new _0x1bd6ef(_0x46e2eb);_0x5429e4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5429e4['withText']=!0x0,_0x5429e4['class']='ck-button-action',_0x5429e4['on']('execute',()=>{this['fire']('retry');}),_0x5429e4['bind']('isVisible')['to'](this,'errorType',_0x188fd0=>'NotFound'!==_0x188fd0);const _0xfd1da9=new _0x506888();_0xfd1da9['content']=_0x42b1eb,_0xfd1da9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2cb226=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':[_0xfd1da9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2cb226['to']('errorType',_0x504a42=>t('NotFound'!==_0x504a42?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5429e4]},{'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 _0x1faacd{constructor(_0x3a5ae9,_0x27302f){super(_0x3a5ae9);const _0x3dd217=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x27302f,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x3dd217['to']('imageSrc')}});}},st=class extends F{_items;['_loadingView'];['_errorView'];_editingView;['_focusableView'];constructor(_0x2b9286,_0x2e4381,_0x17052f){super(_0x2b9286),this['_items']=this['createCollection'](),this['_loadingView']=new tt(_0x2b9286),this['_errorView']=new et(_0x2b9286),this['_editingView']=new it(_0x2b9286,_0x17052f),this['_focusableView']=new _0x1faacd(_0x2b9286),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2e4381),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'],_0x3a02c9=>{this['_addUploadcareImageEditorListeners'](_0x3a02c9);});}),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(_0x400dbe,_0x14738a){const _0x4a981b='uc-cloud-image-editor',_0x5dae44=_0x400dbe['querySelector'](_0x4a981b);if(_0x5dae44)return _0x14738a(_0x5dae44);const _0x36b410=new MutationObserver(_0x2ff3ba=>{const _0x447e8f=_0x2ff3ba['filter'](_0x58775e=>_0x58775e['target']===_0x400dbe&&_0x58775e['addedNodes']['length']>0x0&&_0x58775e['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x4a981b);_0x447e8f['length']&&(_0x36b410['disconnect'](),_0x14738a(_0x447e8f[0x0]['addedNodes'][0x0]));});_0x36b410['observe'](_0x400dbe,{'childList':!0x0,'subtree':!0x0});}_addUploadcareImageEditorListeners(_0x638a0f){_0x638a0f['addEventListener']('apply',_0x2b99ef=>{this['fire']('apply',{'imageSrc':_0x2b99ef['detail']['cdnUrl']});}),_0x638a0f['addEventListener']('cancel',()=>{this['fire']('cancel');});}_addErrorViewListeners(){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const rt=/* #__PURE__ -- @preserve */
25
+ _0x2bc062();var nt=class extends rt{_editor;['_dialog'];_imageElement;['_imageCache'];_controller;_attributes;constructor(_0x5b34bf,_0x3b6d8d,_0x120024){super(),this['_editor']=_0x5b34bf,this['_dialog']=_0x3b6d8d,this['_imageElement']=_0x120024,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 _0x5d7949=this['_imageElement'],_0x18173b=_0x5d7949['getAttribute']('uploadcareImageId'),_0x5335a0=_0x5d7949['getAttribute']('src');if(_0x18173b)await this['_loadImageInfo'](_0x18173b,_0x5335a0);else{if(this['_imageCache']['has'](_0x5335a0)){const _0x229e2a=this['_imageCache']['get'](_0x5335a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x229e2a['url'],this['imageDimension']=_0x229e2a['dimension'],this['imageId']=_0x229e2a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4fd781}=this['_editor'],t=_0x4fd781['t'],_0x223933=new st(_0x4fd781,this['imageStatus'],this['_attributes']);_0x223933['bind']('status')['to'](this,'imageStatus'),_0x223933['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x223933['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x223933['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x223933,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x54addb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x223933,'position':_0x1d3a1b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x223933['focus']();},'onHide':()=>{_0x223933['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1ca396=>!H(_0x1ca396,_0x223933['element'])}});}['_loadImageInfo'](_0x164716,_0x2a23ee){return Q['getInfo'](_0x164716,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3d8fcf=>{const {width:_0x47dfaf,height:_0x5d8b59}=_0x3d8fcf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a23ee,this['imageDimension']={'width':_0x47dfaf,'height':_0x5d8b59},this['imageId']=_0x164716;})['catch'](_0x1c22c1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c22c1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3eb798,_0xc769d7){return this['_getImageAsFile'](_0x3eb798)['then'](_0x618dc1=>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':_0xc769d7['signal'],'file':_0x618dc1,'onProgress':_0x4eb264=>{_0x4eb264&&_0x4eb264['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4eb264['value']));}}))['then'](_0x14908a=>{const {width:_0x3b8773,height:_0x352334}=_0x14908a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14908a['cdnUrl'],this['imageDimension']={'width':_0x3b8773,'height':_0x352334},this['imageId']=_0x14908a['uuid'],this['imageUploadProgress']=null;const _0x527061=_0x3eb798['getAttribute']('src');this['_imageCache']['set'](_0x527061,{'id':_0x14908a['uuid'],'url':_0x14908a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19aa5e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19aa5e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}_addEditViewListeners(_0x364f5b,_0x4550c4){_0x364f5b['on']('apply',(_0x1b47d0,_0x2c6b11)=>{this['_replaceImage'](_0x4550c4,_0x2c6b11['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x364f5b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x364f5b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1bb133,_0x2934ba,_0x2778d1){const _0x5e3464=this['_editor'],{width:_0x49dc15,height:_0x3a2403}=j(_0x2934ba,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xada61e,imageSources:_0x1ddcd7}=B(_0x2934ba,_0x49dc15);_0x5e3464['model']['change'](_0xe49f16=>{if('$graveyard'!==_0x1bb133['root']['rootName'])_0xe49f16['setSelection'](_0x1bb133,'on'),_0x5e3464['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1bb133['getAttributes']()),'uploadcareImageId':_0x2778d1,'src':_0xada61e,'sources':_0x1ddcd7,'width':_0x49dc15,'height':_0x3a2403},_0x1bb133);else{_0x5e3464['execute']('insertImage',{'imageType':_0x1bb133['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1bb133['getAttributes']()),'uploadcareImageId':_0x2778d1,'src':_0xada61e,'sources':_0x1ddcd7,'width':_0x49dc15,'height':_0x3a2403}});const _0x100782=_0x1bb133['getChildren']();_0x1bb133=_0x5e3464['model']['document']['selection']['getSelectedElement']();for(const _0x11156e of _0x100782)_0xe49f16['append'](_0xe49f16['cloneElement'](_0x11156e),_0x1bb133);}_0xe49f16['setSelection'](_0x1bb133,'on');});}async _getImageAsFile(_0x15a3a8){const _0x37d095=_0x1a3e19['window'],_0x26b613=_0x1a3e19['document']['location']['href'],_0x2d8141=new _0x37d095['URL'](_0x15a3a8['getAttribute']('src'),_0x26b613);if('data:'===_0x2d8141['protocol']){const _0xe07282=_0x2d8141['href']['split'](','),_0x21eb1c=_0xe07282[0x0]['match'](/:(.*?);/)[0x1],_0x538fd9=_0x21eb1c['split']('/')[0x1],_0x5ed294=_0x37d095['atob'](_0xe07282[_0xe07282['length']-0x1]);let _0x514f1b=_0x5ed294['length'];const _0x11460c=new _0x37d095['Uint8Array'](_0x514f1b);for(;_0x514f1b--;)_0x11460c[_0x514f1b]=_0x5ed294['charCodeAt'](_0x514f1b);return new _0x37d095['File']([_0x11460c],'image.'+_0x538fd9,{'type':_0x21eb1c});}const _0x318dab=_0x2d8141['href']['split']('/'),_0x467f94=_0x318dab[_0x318dab['length']-0x1],_0x55ada8=_0x467f94['split']('.')[0x1];return _0x37d095['fetch'](_0x2d8141['href'])['then'](_0x59c416=>_0x59c416['clone']()['blob']())['then'](_0x3cab24=>new _0x37d095['File']([_0x3cab24],_0x467f94,{'type':'image/'+_0x55ada8}));}},at=class extends _0x55737e{imageEditController;static get requires(){return[_0x57118f];}_isEditable;constructor(_0x506cd7){super(_0x506cd7),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x246930){const _0x217fc9=M(_0x246930);return _0x3448e3=>!(!_0x3448e3||!_0x3448e3['is']('element','imageBlock')&&!_0x3448e3['is']('element','imageInline'))&&(!!_0x3448e3['hasAttribute']('uploadcareImageId')||!!_0x3448e3['hasAttribute']('src')&&_0x217fc9(_0x3448e3['getAttribute']('src')));}(_0x506cd7['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x41b42b=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x41b42b);}execute(){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x31f031=this['editor']['model']['document']['selection']['getSelectedElement']();_0x31f031&&(_0x31f031['is']('element','imageBlock')||_0x31f031['is']('element','imageInline'))&&(this['imageEditController']=new nt(this['editor'],this['editor']['plugins']['get'](_0x57118f),_0x31f031),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},ot=class extends _0x55737e{['refresh'](){const _0x5b6924=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x5b6924&&(_0x5b6924['is']('element','imageBlock')||_0x5b6924['is']('element','imageInline')));}execute(_0x368c92){const _0x12eab6=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x59996d=>{_0x59996d['setAttributes'](_0x368c92,_0x12eab6),_0x59996d['removeAttribute']('srcset',_0x12eab6),_0x59996d['removeAttribute']('sizes',_0x12eab6);});}},ct=class extends _0x154005{static get['pluginName'](){return'UploadcareImageEditEditing';}static get requires(){return[Z,_0x23a863,_0x4176da,_0xbeca2f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xb61d1e}=this;_0xb61d1e['commands']['add']('uploadcareImageEdit',new at(_0xb61d1e)),_0xb61d1e['commands']['add']('uploadcareImageReplace',new ot(_0xb61d1e));}},lt=class extends _0x154005{['_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 _0x18b064=this['editor'];_0x18b064['ui']['componentFactory']['add']('uploadcareImageEdit',_0x164444=>{const _0xbd4f95=_0x18b064['commands']['get']('uploadcareImageEdit'),_0x5c26f0=new _0x1bd6ef(_0x164444),t=_0x164444['t'];return _0x5c26f0['set']({'icon':_0x54addb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5c26f0['bind']('isEnabled')['to'](_0xbd4f95),_0x5c26f0['bind']('isOn')['to'](_0xbd4f95,'isActive'),this['listenTo'](_0x5c26f0,'execute',()=>{_0x18b064['execute']('uploadcareImageEdit'),_0x18b064['editing']['view']['focus']();}),_0x5c26f0;}),this['_initConfig']();}_initConfig(){const _0x18750a=_0x2834d6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18750a),this['listenTo'](this['editor'],'destroy',()=>{_0x18750a['remove']();});}},ut=class extends _0x154005{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':_0x5cc83f=>0x1!=_0x5cc83f}};
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':_0x404e50=>0x1!=_0x404e50}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x26d326=>{const {af:{dictionary:_0x4998ce,getPluralForm:_0x5921fb}}={'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':_0x405388=>0x1!=_0x405388}};_0x26d326['af']||={'dictionary':{},'getPluralForm':null},_0x26d326['af']['dictionary']=Object['assign'](_0x26d326['af']['dictionary'],_0x4998ce),_0x26d326['af']['getPluralForm']=_0x5921fb;})(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':_0x2bd719=>0x0==_0x2bd719?0x0:0x1==_0x2bd719?0x1:0x2==_0x2bd719?0x2:_0x2bd719%0x64>=0x3&&_0x2bd719%0x64<=0xa?0x3:_0x2bd719%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':_0x2dfcf4=>0x0==_0x2dfcf4?0x0:0x1==_0x2dfcf4?0x1:0x2==_0x2dfcf4?0x2:_0x2dfcf4%0x64>=0x3&&_0x2dfcf4%0x64<=0xa?0x3:_0x2dfcf4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0xf82955=>{const {ar:{dictionary:_0x48174b,getPluralForm:_0x374469}}={'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':_0x5409e1=>0x0==_0x5409e1?0x0:0x1==_0x5409e1?0x1:0x2==_0x5409e1?0x2:_0x5409e1%0x64>=0x3&&_0x5409e1%0x64<=0xa?0x3:_0x5409e1%0x64>=0xb?0x4:0x5}};_0xf82955['ar']||={'dictionary':{},'getPluralForm':null},_0xf82955['ar']['dictionary']=Object['assign'](_0xf82955['ar']['dictionary'],_0x48174b),_0xf82955['ar']['getPluralForm']=_0x374469;})(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':_0xe3f188=>0x1!=_0xe3f188}};
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':_0x425b21=>0x1!=_0x425b21}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x9bbc7d=>{const {ast:{dictionary:_0x484846,getPluralForm:_0x3bf7f8}}={'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':_0x5292d7=>0x1!=_0x5292d7}};_0x9bbc7d['ast']||={'dictionary':{},'getPluralForm':null},_0x9bbc7d['ast']['dictionary']=Object['assign'](_0x9bbc7d['ast']['dictionary'],_0x484846),_0x9bbc7d['ast']['getPluralForm']=_0x3bf7f8;})(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':_0x3345a9=>0x1!=_0x3345a9}};
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':_0x225af9=>0x1!=_0x225af9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x1ce7c0=>{const {az:{dictionary:_0xb44728,getPluralForm:_0x3fd512}}={'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':_0x17a07b=>0x1!=_0x17a07b}};_0x1ce7c0['az']||={'dictionary':{},'getPluralForm':null},_0x1ce7c0['az']['dictionary']=Object['assign'](_0x1ce7c0['az']['dictionary'],_0xb44728),_0x1ce7c0['az']['getPluralForm']=_0x3fd512;})(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':_0x469e9b=>_0x469e9b%0xa==0x1&&_0x469e9b%0x64!=0xb?0x0:_0x469e9b%0xa>=0x2&&_0x469e9b%0xa<=0x4&&(_0x469e9b%0x64<0xa||_0x469e9b%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':_0x41a6d0=>_0x41a6d0%0xa==0x1&&_0x41a6d0%0x64!=0xb?0x0:_0x41a6d0%0xa>=0x2&&_0x41a6d0%0xa<=0x4&&(_0x41a6d0%0x64<0xa||_0x41a6d0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x40c63f=>{const {be:{dictionary:_0x4269d7,getPluralForm:_0xff64d2}}={'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':_0x581d43=>_0x581d43%0xa==0x1&&_0x581d43%0x64!=0xb?0x0:_0x581d43%0xa>=0x2&&_0x581d43%0xa<=0x4&&(_0x581d43%0x64<0xa||_0x581d43%0x64>=0x14)?0x1:0x2}};_0x40c63f['be']||={'dictionary':{},'getPluralForm':null},_0x40c63f['be']['dictionary']=Object['assign'](_0x40c63f['be']['dictionary'],_0x4269d7),_0x40c63f['be']['getPluralForm']=_0xff64d2;})(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':_0x486e7d=>0x1!=_0x486e7d}};
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':_0xe0be06=>0x1!=_0xe0be06}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x2c558d=>{const {bg:{dictionary:_0x1e421a,getPluralForm:_0x210a72}}={'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':_0x39fcfa=>0x1!=_0x39fcfa}};_0x2c558d['bg']||={'dictionary':{},'getPluralForm':null},_0x2c558d['bg']['dictionary']=Object['assign'](_0x2c558d['bg']['dictionary'],_0x1e421a),_0x2c558d['bg']['getPluralForm']=_0x210a72;})(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':_0x2a6258=>0x1!=_0x2a6258}};
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':_0x43e1f2=>0x1!=_0x43e1f2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x446a83=>{const {bn:{dictionary:_0x310d1b,getPluralForm:_0x5e7789}}={'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':_0x1a98b7=>0x1!=_0x1a98b7}};_0x446a83['bn']||={'dictionary':{},'getPluralForm':null},_0x446a83['bn']['dictionary']=Object['assign'](_0x446a83['bn']['dictionary'],_0x310d1b),_0x446a83['bn']['getPluralForm']=_0x5e7789;})(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':_0x2a5fad=>_0x2a5fad%0xa==0x1&&_0x2a5fad%0x64!=0xb?0x0:_0x2a5fad%0xa>=0x2&&_0x2a5fad%0xa<=0x4&&(_0x2a5fad%0x64<0xa||_0x2a5fad%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':_0x3fec97=>_0x3fec97%0xa==0x1&&_0x3fec97%0x64!=0xb?0x0:_0x3fec97%0xa>=0x2&&_0x3fec97%0xa<=0x4&&(_0x3fec97%0x64<0xa||_0x3fec97%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x1502e4=>{const {bs:{dictionary:_0xc9645b,getPluralForm:_0x334756}}={'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':_0xb767a2=>_0xb767a2%0xa==0x1&&_0xb767a2%0x64!=0xb?0x0:_0xb767a2%0xa>=0x2&&_0xb767a2%0xa<=0x4&&(_0xb767a2%0x64<0xa||_0xb767a2%0x64>=0x14)?0x1:0x2}};_0x1502e4['bs']||={'dictionary':{},'getPluralForm':null},_0x1502e4['bs']['dictionary']=Object['assign'](_0x1502e4['bs']['dictionary'],_0xc9645b),_0x1502e4['bs']['getPluralForm']=_0x334756;})(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':_0x246b85=>0x1!=_0x246b85}};
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':_0x566960=>0x1!=_0x566960}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3a9b24=>{const {ca:{dictionary:_0x1dc0ba,getPluralForm:_0x5b00e9}}={'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':_0x17a97c=>0x1!=_0x17a97c}};_0x3a9b24['ca']||={'dictionary':{},'getPluralForm':null},_0x3a9b24['ca']['dictionary']=Object['assign'](_0x3a9b24['ca']['dictionary'],_0x1dc0ba),_0x3a9b24['ca']['getPluralForm']=_0x5b00e9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34732f=>{const {ca:{dictionary:_0x550f1e,getPluralForm:_0x3acb8b}}={'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':_0x584a4f=>0x1!=_0x584a4f}};_0x34732f['ca']||={'dictionary':{},'getPluralForm':null},_0x34732f['ca']['dictionary']=Object['assign'](_0x34732f['ca']['dictionary'],_0x550f1e),_0x34732f['ca']['getPluralForm']=_0x3acb8b;})(window['CKEDITOR_TRANSLATIONS']||={});