@ckeditor/ckeditor5-merge-fields 0.0.0-nightly-20240725.0 → 0.0.0-nightly-20240726.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-merge-fields",
3
- "version": "0.0.0-nightly-20240725.0",
3
+ "version": "0.0.0-nightly-20240726.0",
4
4
  "description": "Merge fields feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,8 +12,11 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "0.0.0-nightly-20240725.0",
16
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240725.0",
15
+ "ckeditor5": "0.0.0-nightly-20240726.0",
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20240726.0",
17
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240726.0",
18
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240726.0",
19
+ "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20240726.0",
17
20
  "lodash-es": "4.17.21"
18
21
  },
19
22
  "license": "SEE LICENSE IN LICENSE.md",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x48f4(){var _0x2de40e=['780BMyZSj','15452EHwrac','83985DYDyhb','138990jNTohG','10wSwpPB','10AgVXrJ','1083416MeKlGY','6kXGPnd','631388husyOw','791439Gomiqi','1834506psctQx','7aiVqCB'];_0x48f4=function(){return _0x2de40e;};return _0x48f4();}(function(_0x15090c,_0x7db25b){var _0x45942e=_0x21b6,_0x2c6282=_0x15090c();while(!![]){try{var _0xe145e5=parseInt(_0x45942e(0x90))/0x1*(parseInt(_0x45942e(0x96))/0x2)+-parseInt(_0x45942e(0x92))/0x3+parseInt(_0x45942e(0x91))/0x4+-parseInt(_0x45942e(0x99))/0x5*(-parseInt(_0x45942e(0x98))/0x6)+parseInt(_0x45942e(0x94))/0x7*(-parseInt(_0x45942e(0x8f))/0x8)+parseInt(_0x45942e(0x93))/0x9*(-parseInt(_0x45942e(0x8e))/0xa)+parseInt(_0x45942e(0x97))/0xb*(parseInt(_0x45942e(0x95))/0xc);if(_0xe145e5===_0x7db25b)break;else _0x2c6282['push'](_0x2c6282['shift']());}catch(_0xbf9322){_0x2c6282['push'](_0x2c6282['shift']());}}}(_0x48f4,0x23176));export{default as MergeFields}from'./mergefields.js';export{default as MergeFieldsEditing}from'./mergefieldsediting.js';function _0x21b6(_0x13b3f6,_0x4b62e3){var _0x48f4ee=_0x48f4();return _0x21b6=function(_0x21b6ef,_0x244f3d){_0x21b6ef=_0x21b6ef-0x8e;var _0x29e90b=_0x48f4ee[_0x21b6ef];return _0x29e90b;},_0x21b6(_0x13b3f6,_0x4b62e3);}export{default as MergeFieldsUI}from'./mergefieldsui.js';import'./augmentation.js';
23
+ (function(_0x2e1f77,_0x2c68db){var _0x38a713=_0x3918,_0x3441f9=_0x2e1f77();while(!![]){try{var _0x39e3b9=parseInt(_0x38a713(0x95))/0x1*(-parseInt(_0x38a713(0x94))/0x2)+parseInt(_0x38a713(0x98))/0x3*(-parseInt(_0x38a713(0x8d))/0x4)+parseInt(_0x38a713(0x96))/0x5*(parseInt(_0x38a713(0x8e))/0x6)+-parseInt(_0x38a713(0x8f))/0x7*(-parseInt(_0x38a713(0x97))/0x8)+parseInt(_0x38a713(0x92))/0x9+parseInt(_0x38a713(0x90))/0xa*(parseInt(_0x38a713(0x91))/0xb)+-parseInt(_0x38a713(0x93))/0xc;if(_0x39e3b9===_0x2c68db)break;else _0x3441f9['push'](_0x3441f9['shift']());}catch(_0x5e2101){_0x3441f9['push'](_0x3441f9['shift']());}}}(_0x334a,0x1ded2));export{default as MergeFields}from'./mergefields.js';export{default as MergeFieldsEditing}from'./mergefieldsediting.js';export{default as MergeFieldsUI}from'./mergefieldsui.js';function _0x3918(_0x115748,_0x501e2c){var _0x334a61=_0x334a();return _0x3918=function(_0x3918b0,_0x31766c){_0x3918b0=_0x3918b0-0x8d;var _0x696edd=_0x334a61[_0x3918b0];return _0x696edd;},_0x3918(_0x115748,_0x501e2c);}import'./augmentation.js';function _0x334a(){var _0x5a528e=['375198qNDwJn','21QkALKg','11370gcmZvd','220ijBAIh','2012643WXRTYu','2590908owauLQ','18VLLepQ','10015aMBcuf','5pPlJfr','601048TpYdSU','1263hwEtXu','1004hiiNtV'];_0x334a=function(){return _0x5a528e;};return _0x334a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30fcd3=_0xd907;function _0x19df(){const _0x25f44a=['checkChild','model','14257728YgQjtc','25XdOIFB','1410834MEoUet','mergeField','isEnabled','document','43834hOePLm','877750nfZMlM','createElement','1sRzcxA','refresh','schema','after','selection','13162380LOuIKZ','string','focus','insertObject','change','editor','545572FwpLjT','execute','3503739AWhqIO','72tSMYLY'];_0x19df=function(){return _0x25f44a;};return _0x19df();}function _0xd907(_0x58d4e2,_0x395a83){const _0x19df09=_0x19df();return _0xd907=function(_0xd907c4,_0x5a4173){_0xd907c4=_0xd907c4-0x1a4;let _0x58d7fc=_0x19df09[_0xd907c4];return _0x58d7fc;},_0xd907(_0x58d4e2,_0x395a83);}(function(_0x493779,_0x120878){const _0x272953=_0xd907,_0x497548=_0x493779();while(!![]){try{const _0x28e34f=-parseInt(_0x272953(0x1af))/0x1*(-parseInt(_0x272953(0x1ad))/0x2)+-parseInt(_0x272953(0x1bc))/0x3+parseInt(_0x272953(0x1ba))/0x4+-parseInt(_0x272953(0x1a7))/0x5*(-parseInt(_0x272953(0x1a8))/0x6)+-parseInt(_0x272953(0x1ac))/0x7*(parseInt(_0x272953(0x1bd))/0x8)+parseInt(_0x272953(0x1a6))/0x9+-parseInt(_0x272953(0x1b4))/0xa;if(_0x28e34f===_0x120878)break;else _0x497548['push'](_0x497548['shift']());}catch(_0xdef6f){_0x497548['push'](_0x497548['shift']());}}}(_0x19df,0xc2016));import{Command as _0x4810f5}from'ckeditor5/src/core.js';export default class r extends _0x4810f5{[_0x30fcd3(0x1b0)](){const _0x13f407=_0x30fcd3,_0x15779e=this[_0x13f407(0x1b9)][_0x13f407(0x1a5)],_0x40645b=_0x15779e[_0x13f407(0x1b1)][_0x13f407(0x1a4)](_0x15779e[_0x13f407(0x1ab)][_0x13f407(0x1b3)][_0x13f407(0x1b6)],_0x13f407(0x1a9));this[_0x13f407(0x1aa)]=_0x40645b;}[_0x30fcd3(0x1bb)](_0x596337){const _0x4c5757=_0x30fcd3;if(!_0x596337||_0x4c5757(0x1b5)!=typeof _0x596337)return;const _0x86e07e=this[_0x4c5757(0x1b9)][_0x4c5757(0x1a5)];_0x86e07e[_0x4c5757(0x1b8)](_0x1805ab=>{const _0x287509=_0x4c5757,_0x4d8667=_0x1805ab[_0x287509(0x1ae)](_0x287509(0x1a9),{'id':_0x596337});_0x86e07e[_0x287509(0x1b7)](_0x4d8667,_0x86e07e[_0x287509(0x1ab)][_0x287509(0x1b3)],0x0,{'setSelection':_0x287509(0x1b2)});});}}
23
+ const _0x37d82f=_0x5e28;(function(_0xd9a61f,_0x3a65a1){const _0x44fa00=_0x5e28,_0x441f7c=_0xd9a61f();while(!![]){try{const _0x5d20af=parseInt(_0x44fa00(0x1de))/0x1+-parseInt(_0x44fa00(0x1e2))/0x2+-parseInt(_0x44fa00(0x1ef))/0x3*(-parseInt(_0x44fa00(0x1ee))/0x4)+parseInt(_0x44fa00(0x1e1))/0x5*(parseInt(_0x44fa00(0x1e9))/0x6)+-parseInt(_0x44fa00(0x1df))/0x7*(-parseInt(_0x44fa00(0x1f5))/0x8)+parseInt(_0x44fa00(0x1ed))/0x9*(-parseInt(_0x44fa00(0x1f1))/0xa)+-parseInt(_0x44fa00(0x1f2))/0xb;if(_0x5d20af===_0x3a65a1)break;else _0x441f7c['push'](_0x441f7c['shift']());}catch(_0x1f0482){_0x441f7c['push'](_0x441f7c['shift']());}}}(_0x4467,0x475fe));import{Command as _0x28da25}from'ckeditor5/src/core.js';function _0x5e28(_0x22af78,_0x2233b8){const _0x446712=_0x4467();return _0x5e28=function(_0x5e28f4,_0x9f108e){_0x5e28f4=_0x5e28f4-0x1dd;let _0x3e2f74=_0x446712[_0x5e28f4];return _0x3e2f74;},_0x5e28(_0x22af78,_0x2233b8);}export default class r extends _0x28da25{[_0x37d82f(0x1e7)](){const _0x181e64=_0x37d82f,_0x52566c=this[_0x181e64(0x1ea)][_0x181e64(0x1e0)],_0x585b65=_0x52566c[_0x181e64(0x1e5)][_0x181e64(0x1f7)](_0x52566c[_0x181e64(0x1e6)][_0x181e64(0x1f6)][_0x181e64(0x1f0)],_0x181e64(0x1e3));this[_0x181e64(0x1e4)]=_0x585b65;}[_0x37d82f(0x1eb)](_0xeaf746){const _0x46a5b9=_0x37d82f;if(!_0xeaf746||_0x46a5b9(0x1f3)!=typeof _0xeaf746)return;const _0x5c385c=this[_0x46a5b9(0x1ea)][_0x46a5b9(0x1e0)];_0x5c385c[_0x46a5b9(0x1e8)](_0x1e4dc4=>{const _0xaac9cf=_0x46a5b9,_0x3a253e=_0x1e4dc4[_0xaac9cf(0x1dd)](_0xaac9cf(0x1e3),{'id':_0xeaf746});_0x5c385c[_0xaac9cf(0x1ec)](_0x3a253e,_0x5c385c[_0xaac9cf(0x1e6)][_0xaac9cf(0x1f6)],0x0,{'setSelection':_0xaac9cf(0x1f4)});});}}function _0x4467(){const _0x46b6a6=['createElement','420499lYWhwH','707SjhBPl','model','5wPkLiO','827614tYNprD','mergeField','isEnabled','schema','document','refresh','change','2052726gtgCeR','editor','execute','insertObject','9cQeYHw','848cQskQp','2163BuAbDc','focus','863730hvZKZN','1451241CVlRRM','string','after','712JYuHty','selection','checkChild'];_0x4467=function(){return _0x46b6a6;};return _0x4467();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bfd73=_0xd786;function _0xd786(_0x8e0d29,_0x2dd3f3){const _0xf81b26=_0xf81b();return _0xd786=function(_0xd786fb,_0x51b935){_0xd786fb=_0xd786fb-0x1d4;let _0x20ccfe=_0xf81b26[_0xd786fb];return _0x20ccfe;},_0xd786(_0x8e0d29,_0x2dd3f3);}(function(_0x2b5d8b,_0x52ff66){const _0x5783e6=_0xd786,_0x3b1e5c=_0x2b5d8b();while(!![]){try{const _0x2d973c=-parseInt(_0x5783e6(0x1dd))/0x1+-parseInt(_0x5783e6(0x1d4))/0x2+-parseInt(_0x5783e6(0x1e5))/0x3+parseInt(_0x5783e6(0x1de))/0x4*(parseInt(_0x5783e6(0x1e0))/0x5)+parseInt(_0x5783e6(0x1e4))/0x6*(parseInt(_0x5783e6(0x1df))/0x7)+-parseInt(_0x5783e6(0x1db))/0x8*(-parseInt(_0x5783e6(0x1d5))/0x9)+-parseInt(_0x5783e6(0x1dc))/0xa;if(_0x2d973c===_0x52ff66)break;else _0x3b1e5c['push'](_0x3b1e5c['shift']());}catch(_0x583cad){_0x3b1e5c['push'](_0x3b1e5c['shift']());}}}(_0xf81b,0x5720d));import{Plugin as _0x1c2914}from'ckeditor5/src/core.js';import{Widget as _0x24b6c2}from'ckeditor5/src/widget.js';import _0x40ebd3 from'./mergefieldsediting.js';import _0x121a2f from'./mergefieldsui.js';function _0xf81b(){const _0x37922f=['1107506wJfrfp','415359GjVZsM','getMergeFieldsIds','Mention','plugins','MergeFields','getDataSetValues','72rupNtT','911260pKoneY','164310UlYvKx','108CJhtIx','7bAyGPl','127130EdLxWi','get','getDefaultValues','requires','1708782VaTGtV','661776GlLXcY','pluginName','getMergeFieldValue','editor','getMergeFieldDefaultValue'];_0xf81b=function(){return _0x37922f;};return _0xf81b();}export default class l extends _0x1c2914{static get[_0x1bfd73(0x1e3)](){const _0x4aec7c=_0x1bfd73;return[_0x4aec7c(0x1d7),_0x40ebd3,_0x121a2f,_0x24b6c2];}static get[_0x1bfd73(0x1e6)](){const _0x211b82=_0x1bfd73;return _0x211b82(0x1d9);}[_0x1bfd73(0x1d6)](){const _0x2125a0=_0x1bfd73;return this[_0x2125a0(0x1e8)][_0x2125a0(0x1d8)][_0x2125a0(0x1e1)](_0x40ebd3)[_0x2125a0(0x1d6)]();}[_0x1bfd73(0x1e2)](){const _0xc4bf8d=_0x1bfd73,_0x224be6=this[_0xc4bf8d(0x1e8)][_0xc4bf8d(0x1d8)][_0xc4bf8d(0x1e1)](_0x40ebd3),_0x263424={},_0x49e959=this[_0xc4bf8d(0x1d6)]();for(const _0x50735f of _0x49e959)_0x263424[_0x50735f]=_0x224be6[_0xc4bf8d(0x1e9)](_0x50735f);return _0x263424;}[_0x1bfd73(0x1da)](_0x5695b5,_0x59d9db=!0x1){const _0x411045=_0x1bfd73,_0x4a357e=this[_0x411045(0x1e8)][_0x411045(0x1d8)][_0x411045(0x1e1)](_0x40ebd3),_0x3b7a78={},_0xeded18=this[_0x411045(0x1d6)]();for(const _0x52b130 of _0xeded18){let _0x56ad5e=_0x4a357e[_0x411045(0x1e7)](_0x52b130,_0x5695b5);null===_0x56ad5e&&_0x59d9db&&(_0x56ad5e=_0x4a357e[_0x411045(0x1e9)](_0x52b130)),_0x3b7a78[_0x52b130]=_0x56ad5e;}return _0x3b7a78;}}
23
+ function _0x4fc6(_0x1c7df0,_0x5009a1){const _0x17d99e=_0x17d9();return _0x4fc6=function(_0x4fc66d,_0x162c12){_0x4fc66d=_0x4fc66d-0x8d;let _0x37205f=_0x17d99e[_0x4fc66d];return _0x37205f;},_0x4fc6(_0x1c7df0,_0x5009a1);}function _0x17d9(){const _0x2024a3=['getMergeFieldValue','pluginName','21WuOAiV','4073931pVuoZm','requires','getDefaultValues','120570DKMvsf','2648225JwFDzc','170725BvOoCq','editor','getMergeFieldDefaultValue','3QYaiRk','getMergeFieldsIds','MergeFields','1765960gIniEY','plugins','12461160TEjUbA','891730rDdYgP','Mention','4VDgAer','get','getDataSetValues'];_0x17d9=function(){return _0x2024a3;};return _0x17d9();}const _0x1359bc=_0x4fc6;(function(_0x1ced3c,_0x235d04){const _0x4200cc=_0x4fc6,_0x274898=_0x1ced3c();while(!![]){try{const _0x419498=-parseInt(_0x4200cc(0x96))/0x1+-parseInt(_0x4200cc(0x9f))/0x2*(-parseInt(_0x4200cc(0x99))/0x3)+parseInt(_0x4200cc(0xa1))/0x4*(parseInt(_0x4200cc(0x95))/0x5)+parseInt(_0x4200cc(0x94))/0x6*(parseInt(_0x4200cc(0x90))/0x7)+parseInt(_0x4200cc(0x9c))/0x8+parseInt(_0x4200cc(0x91))/0x9+-parseInt(_0x4200cc(0x9e))/0xa;if(_0x419498===_0x235d04)break;else _0x274898['push'](_0x274898['shift']());}catch(_0x37a609){_0x274898['push'](_0x274898['shift']());}}}(_0x17d9,0x47606));import{Plugin as _0x3d7c3d}from'ckeditor5/src/core.js';import{Widget as _0x357b50}from'ckeditor5/src/widget.js';import _0x4132ec from'./mergefieldsediting.js';import _0x36eb06 from'./mergefieldsui.js';export default class l extends _0x3d7c3d{static get[_0x1359bc(0x92)](){const _0x4612bc=_0x1359bc;return[_0x4612bc(0xa0),_0x4132ec,_0x36eb06,_0x357b50];}static get[_0x1359bc(0x8f)](){const _0x3db4b1=_0x1359bc;return _0x3db4b1(0x9b);}[_0x1359bc(0x9a)](){const _0x505b96=_0x1359bc;return this[_0x505b96(0x97)][_0x505b96(0x9d)][_0x505b96(0xa2)](_0x4132ec)[_0x505b96(0x9a)]();}[_0x1359bc(0x93)](){const _0x2e011b=_0x1359bc,_0x5b3987=this[_0x2e011b(0x97)][_0x2e011b(0x9d)][_0x2e011b(0xa2)](_0x4132ec),_0x44e918={},_0x3493cb=this[_0x2e011b(0x9a)]();for(const _0x372e6c of _0x3493cb)_0x44e918[_0x372e6c]=_0x5b3987[_0x2e011b(0x98)](_0x372e6c);return _0x44e918;}[_0x1359bc(0x8d)](_0x38e422,_0x36280a=!0x1){const _0x364879=_0x1359bc,_0x2cfac8=this[_0x364879(0x97)][_0x364879(0x9d)][_0x364879(0xa2)](_0x4132ec),_0x2d578b={},_0x4998a0=this[_0x364879(0x9a)]();for(const _0xb6002d of _0x4998a0){let _0x362d82=_0x2cfac8[_0x364879(0x8e)](_0xb6002d,_0x38e422);null===_0x362d82&&_0x36280a&&(_0x362d82=_0x2cfac8[_0x364879(0x98)](_0xb6002d)),_0x2d578b[_0xb6002d]=_0x362d82;}return _0x2d578b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b86f4=_0x4fd9;function _0x4fd9(_0x45398b,_0x933451){const _0x1c7529=_0x1c75();return _0x4fd9=function(_0x4fd97c,_0x455299){_0x4fd97c=_0x4fd97c-0x1aa;let _0x4ca032=_0x1c7529[_0x4fd97c];return _0x4ca032;},_0x4fd9(_0x45398b,_0x933451);}(function(_0x1261fe,_0x3d23b5){const _0x100e26=_0x4fd9,_0x13da0d=_0x1261fe();while(!![]){try{const _0x33db58=parseInt(_0x100e26(0x239))/0x1*(parseInt(_0x100e26(0x1bf))/0x2)+parseInt(_0x100e26(0x25a))/0x3*(-parseInt(_0x100e26(0x234))/0x4)+parseInt(_0x100e26(0x1aa))/0x5+parseInt(_0x100e26(0x26c))/0x6+-parseInt(_0x100e26(0x1ba))/0x7*(parseInt(_0x100e26(0x265))/0x8)+parseInt(_0x100e26(0x231))/0x9*(parseInt(_0x100e26(0x1fc))/0xa)+parseInt(_0x100e26(0x1c4))/0xb*(-parseInt(_0x100e26(0x1b4))/0xc);if(_0x33db58===_0x3d23b5)break;else _0x13da0d['push'](_0x13da0d['shift']());}catch(_0x2c8207){_0x13da0d['push'](_0x13da0d['shift']());}}}(_0x1c75,0xc700f));function _0x1c75(){const _0x1e33d7=['merge-fields-duplicate-merge-field-id','concat','$text','_registerConversionPostFixer','slice','index','change:previewMode','pluginName','element','toDomElement','createText','getDocumentMergeFieldsIds','createRange','mergeFieldStatus','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','change:data','getMergeFieldDefaultValue','_validateConfig','length','endsWith','WARNING_MISSING_DEFAULT_VALUE','editingDowncast','registerPostFixer','listenTo','reconvertItem','model','push','modelCursor','merge-fields-invalid-preview-modes-configuration','merge-fields-invalid-prefix-or-suffix','mergeFields.initialPreviewMode','every','merge-fields-duplicate-data-set-id','ck-merge-field__content','$defaultValues','get','_createTextualMergeField','values','createPositionBefore','getChildren','_mergeFieldElements','getShiftedBy','add','from','_mergeFieldPrefix','conversion','bind','ck-merge-field','_refreshMergeFields','nextSibling','consume','startsWith','merge-fields-invalid-license-key','previewMergeFields','merge-fields-data-set-not-found','96930OrgmuH','editing','_licenseKeyCheckInterval','register','createElement','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','availablePreviewModes','root','mergeFieldsLicenseKeyValid','has','mergeFields.definitions','getMergeFieldsIds','text','merge-fields-invalid-id','isLocal','mergeFields.dataSets','dataDowncast','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','split','document','mergeFields.suffix','offsetSize','checkChild','createUIElement','hasClass','find','mergeFields.prefix','mergeFieldsLicenseKeyTrialLimit:operations','getLabel','upcast','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','getAttributes','_getFlattenedMergeFieldDefinitions','licenseKey','getMergeFieldValue','insertMergeField','parent','_validatePreviewMode','label','set','includes','function','start','mergeFieldsLicenseKeyTrial','previewMode','type','WARNING_MISSING_DATA','name','WARNING_MISSING_DEFINITION','mergeFieldsLicenseKeyInvalid','move','schema','_getAvailablePreviewModes','1251pOWzsk','render','merge-fields-trial-license-key-reached-limit-changes','4bgerEf','ck-merge-field__affix','remove','commands','mergeField','204692MSrane','forEach','getChanges','mapper','_getDefaultDefinition','value','data','next','_mergeFieldRegExp','test','reduce','merge-fields-prefix-and-suffix-must-differ','merge-fields-duplicate-group-id','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','dataPipeline:transparentRendering','insert','createContainerElement','_prepareViewElementData','matchAll','innerHTML','_defineSchema','info','mergeFields.previewModes','getDefinition','editor','ck-merge-field\x20ck-merge-field_with-value','_trackAddedMergeFields','destroy','$graveyard','map','appendChild','position','\x20]+','1409253okyPhW','$dataSets','define','rootName','setCustomProperty','getAttribute','config','_defineConverters','getPath','_mergeFieldSuffix','insertObject','31976BXHoXD','mergeFieldsData','reverse','_createMergeFieldWidget','createRangeIn','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','createPositionAfter','8192022aioAEa','path','7041695GqDHGG','groupId','flattenedMergeFieldDefinitions','createPositionAt','$labels','for','nodeAfter','elementToElement','span','merge-fields-invalid-preview-mode-set','216TNNcrP','defaultValue','join','getItems','definitions','$inlineObject','469jSiHao','batch','ck-merge-field__icon','MergeFieldsEditing','init','2XqeojL','differ','startOffset','viewToModelPosition','delete','1694627laFXZY'];_0x1c75=function(){return _0x1e33d7;};return _0x1c75();}import{toWidget as _0x1aa5e1,viewToModelPositionOutsideModelElement as _0x358a1b}from'ckeditor5/src/widget.js';import{Plugin as _0x20b420}from'ckeditor5/src/core.js';import{IconView as _0x524a4d}from'ckeditor5/src/ui.js';import{CKEditorError as _0x59ecc8}from'ckeditor5/src/utils.js';import _0x398be7 from'./insertmergefieldcommand.js';import _0x231391 from'./previewmergefieldscommand.js';import _0x966152 from'../theme/icons/warning.svg';export default class o extends _0x20b420{static get[_0x1b86f4(0x1cc)](){const _0x20e4e6=_0x1b86f4;return _0x20e4e6(0x1bd);}constructor(_0xa0cce1){const _0xbdda1b=_0x1b86f4;super(_0xa0cce1),this[_0xbdda1b(0x1ac)]=[],_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x25c)](_0xbdda1b(0x24f),[_0xbdda1b(0x1ae),_0xbdda1b(0x1e7),_0xbdda1b(0x25b)]),_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x25c)](_0xbdda1b(0x20b),[]),_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x25c)](_0xbdda1b(0x206),[]),_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x25c)](_0xbdda1b(0x216),'{{'),_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x25c)](_0xbdda1b(0x210),'}}'),this[_0xbdda1b(0x1f1)]=_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x1e8)](_0xbdda1b(0x216)),this[_0xbdda1b(0x263)]=_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x1e8)](_0xbdda1b(0x210)),this[_0xbdda1b(0x1ac)]=this[_0xbdda1b(0x21c)](),this[_0xbdda1b(0x1d6)]();const _0x3ec8a9='\x5c'+this[_0xbdda1b(0x1f1)][_0xbdda1b(0x20e)]('')[_0xbdda1b(0x1b6)]('\x5c'),_0x4b5dbd='\x5c'+this[_0xbdda1b(0x263)][_0xbdda1b(0x20e)]('')[_0xbdda1b(0x1b6)]('\x5c');this[_0xbdda1b(0x241)]=new RegExp('('+_0x3ec8a9+'[^'+(_0x3ec8a9+_0x4b5dbd)+_0xbdda1b(0x259)+_0x4b5dbd+')','g'),this[_0xbdda1b(0x202)]=this[_0xbdda1b(0x230)]();const _0x9a1ae4=_0xa0cce1[_0xbdda1b(0x260)][_0xbdda1b(0x1e8)](_0xbdda1b(0x1e3))||this[_0xbdda1b(0x202)][0x0];this[_0xbdda1b(0x221)](_0x9a1ae4),this[_0xbdda1b(0x223)](_0xbdda1b(0x228),_0x9a1ae4),this[_0xbdda1b(0x1ed)]=new Set(),this[_0xbdda1b(0x1fe)]=null;}[_0x1b86f4(0x1be)](){const _0x2e5814=_0x1b86f4,_0x377e8e=this[_0x2e5814(0x251)];_0x377e8e[_0x2e5814(0x237)][_0x2e5814(0x1ef)](_0x2e5814(0x21f),new _0x398be7(_0x377e8e)),_0x377e8e[_0x2e5814(0x237)][_0x2e5814(0x1ef)](_0x2e5814(0x1fa),new _0x231391(_0x377e8e)),this[_0x2e5814(0x24d)](),this[_0x2e5814(0x261)](),this['on'](_0x2e5814(0x1cb),(_0x414f11,_0x155448,_0x40d489)=>{const _0x1666c0=_0x2e5814;this[_0x1666c0(0x221)](_0x40d489),this[_0x1666c0(0x1f5)]();}),this[_0x2e5814(0x1dc)](_0x377e8e[_0x2e5814(0x1de)][_0x2e5814(0x20f)],_0x2e5814(0x1d4),()=>{const _0x27dc0a=_0x2e5814;this[_0x27dc0a(0x253)]();}),_0x377e8e[_0x2e5814(0x1fd)][_0x2e5814(0x23c)]['on'](_0x2e5814(0x1c2),_0x358a1b(_0x377e8e[_0x2e5814(0x1de)],_0xb8b8c2=>_0xb8b8c2[_0x2e5814(0x214)](_0x2e5814(0x1f4)))),this[_0x2e5814(0x1c8)](),this[_0x2e5814(0x21d)]=_0x377e8e[_0x2e5814(0x260)][_0x2e5814(0x1e8)](_0x2e5814(0x21d));const _0x459d41=this[_0x2e5814(0x251)];this[_0x2e5814(0x1fe)]=setInterval(()=>{const _0x1d2b84=_0x2e5814;let _0x564cc3;for(const _0x5b2024 in _0x459d41){const _0x432978=_0x5b2024,_0x1fcd07=_0x459d41[_0x432978];if(_0x1d2b84(0x227)===_0x1fcd07||_0x1d2b84(0x22d)===_0x1fcd07||_0x1d2b84(0x204)===_0x1fcd07||_0x1d2b84(0x217)===_0x1fcd07){delete _0x459d41[_0x432978],_0x564cc3=_0x1fcd07;break;}}if(_0x1d2b84(0x22d)===_0x564cc3)throw clearInterval(this[_0x1d2b84(0x1fe)]),new _0x59ecc8(_0x1d2b84(0x1f9),null);if(_0x1d2b84(0x227)===_0x564cc3&&console[_0x1d2b84(0x24e)](_0x1d2b84(0x201)),_0x1d2b84(0x217)===_0x564cc3)throw clearInterval(this[_0x1d2b84(0x1fe)]),new _0x59ecc8(_0x1d2b84(0x233),null);_0x1d2b84(0x204)===_0x564cc3&&clearInterval(this[_0x1d2b84(0x1fe)]);},0x3e8);}[_0x1b86f4(0x218)](_0x43f573){const _0x561079=_0x1b86f4,_0x425042=this[_0x561079(0x250)](_0x43f573);return _0x425042[_0x561079(0x222)]||_0x425042['id'];}[_0x1b86f4(0x1d5)](_0x183b0e){const _0x5bbe7d=_0x1b86f4,_0x5b4849=this[_0x5bbe7d(0x250)](_0x183b0e);return void 0x0===_0x5b4849[_0x5bbe7d(0x1b5)]?null:_0x5bbe7d(0x225)==typeof _0x5b4849[_0x5bbe7d(0x1b5)]?_0x5b4849[_0x5bbe7d(0x1b5)](this[_0x5bbe7d(0x251)]):_0x5b4849[_0x5bbe7d(0x1b5)];}[_0x1b86f4(0x21e)](_0x20f00b,_0x53d8e5){const _0x452797=_0x1b86f4,_0x4fd22c=this[_0x452797(0x251)][_0x452797(0x260)][_0x452797(0x1e8)](_0x452797(0x20b))[_0x452797(0x215)](_0x4c6c6e=>_0x4c6c6e['id']===_0x53d8e5);if(!_0x4fd22c)throw new _0x59ecc8(_0x452797(0x1fb),null);const _0x228cd6=this[_0x452797(0x250)](_0x20f00b),_0x5e7ae3=_0x4fd22c[_0x452797(0x1ea)][_0x228cd6['id']];return void 0x0===_0x5e7ae3?null:_0x452797(0x225)==typeof _0x5e7ae3?_0x5e7ae3(this[_0x452797(0x251)]):_0x5e7ae3;}[_0x1b86f4(0x1d0)](){const _0x4cd7be=_0x1b86f4,_0x1b1f7f=new Set();for(const _0x141647 of this[_0x4cd7be(0x1ed)])_0x4cd7be(0x255)!==_0x141647[_0x4cd7be(0x203)][_0x4cd7be(0x25d)]&&_0x1b1f7f[_0x4cd7be(0x1ef)](_0x141647[_0x4cd7be(0x25f)]('id'));return Array[_0x4cd7be(0x1f0)](_0x1b1f7f);}[_0x1b86f4(0x207)](){const _0x2a1a1e=_0x1b86f4,_0x2c5b58=this[_0x2a1a1e(0x1ac)][_0x2a1a1e(0x256)](_0x1cdf16=>_0x1cdf16['id']),_0x574699=this[_0x2a1a1e(0x1d0)]();return Array[_0x2a1a1e(0x1f0)](new Set([..._0x2c5b58,..._0x574699]));}[_0x1b86f4(0x250)](_0x543112){const _0x4f1e1a=_0x1b86f4;return this[_0x4f1e1a(0x1ac)][_0x4f1e1a(0x215)](_0x2e7ab8=>_0x2e7ab8['id']===_0x543112)||this[_0x4f1e1a(0x23d)](_0x543112);}[_0x1b86f4(0x254)](){const _0x3bde25=_0x1b86f4;this[_0x3bde25(0x1fe)]&&clearInterval(this[_0x3bde25(0x1fe)]);}[_0x1b86f4(0x21c)](){const _0xf2658=_0x1b86f4,_0x4ba74d=new Set(),_0x1fc8d6=this[_0xf2658(0x251)];return this[_0xf2658(0x251)][_0xf2658(0x260)][_0xf2658(0x1e8)](_0xf2658(0x206))[_0xf2658(0x243)]((_0x63a370,_0xed440f)=>{const _0xb1ee3d=_0xf2658;if(_0xb1ee3d(0x1ab)in _0xed440f){if(_0x4ba74d[_0xb1ee3d(0x205)](_0xed440f[_0xb1ee3d(0x1ab)]))throw new _0x59ecc8(_0xb1ee3d(0x245),_0x1fc8d6,{'duplicateId':_0xed440f[_0xb1ee3d(0x1ab)]});_0x4ba74d[_0xb1ee3d(0x1ef)](_0xed440f[_0xb1ee3d(0x1ab)]);}return _0xb1ee3d(0x1ab)in _0xed440f?function _0x57c221(_0x5911b6,_0x1c5998){const _0x5ca11c=_0xb1ee3d;for(const _0x2da4eb of _0x1c5998[_0x5ca11c(0x1b8)]){if(_0x5ca11c(0x1ab)in _0x2da4eb){if(_0x4ba74d[_0x5ca11c(0x205)](_0x2da4eb[_0x5ca11c(0x1ab)]))throw new _0x59ecc8(_0x5ca11c(0x245),_0x1fc8d6,{'duplicateId':_0x2da4eb[_0x5ca11c(0x1ab)]});_0x4ba74d[_0x5ca11c(0x1ef)](_0x2da4eb[_0x5ca11c(0x1ab)]);}_0x5911b6=_0x5ca11c(0x1ab)in _0x2da4eb?_0x57c221(_0x5911b6,_0x2da4eb):_0x5911b6[_0x5ca11c(0x1c6)](_0x2da4eb);}return _0x5911b6;}[_0xb1ee3d(0x1f3)](_0x1fc8d6)(_0x63a370,_0xed440f):_0x63a370[_0xb1ee3d(0x1c6)](_0xed440f);},new Array());}[_0x1b86f4(0x1d6)](){const _0x348b05=_0x1b86f4,_0x26e458=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x26e458[_0x348b05(0x242)](this[_0x348b05(0x1f1)])||!_0x26e458[_0x348b05(0x242)](this[_0x348b05(0x263)]))throw new _0x59ecc8(_0x348b05(0x1e2),this,{'prefix':this[_0x348b05(0x1f1)],'suffix':this[_0x348b05(0x263)]});const _0x1b7566=/^[a-zA-Z0-9_.-]+$/,_0x37c10a=new Set();if(this[_0x348b05(0x1ac)][_0x348b05(0x256)](_0x4f8580=>{const _0x1501ea=_0x348b05;if(!_0x1b7566[_0x1501ea(0x242)](_0x4f8580['id']))throw new _0x59ecc8(_0x1501ea(0x209),this,{'incorrectId':_0x4f8580['id']});if(_0x37c10a[_0x1501ea(0x205)](_0x4f8580['id']))throw new _0x59ecc8(_0x1501ea(0x1c5),this,{'duplicateId':_0x4f8580['id']});_0x37c10a[_0x1501ea(0x1ef)](_0x4f8580['id']);}),this[_0x348b05(0x1f1)]===this[_0x348b05(0x263)])throw new _0x59ecc8(_0x348b05(0x244),this);const _0x5a9b14=this[_0x348b05(0x251)][_0x348b05(0x260)][_0x348b05(0x1e8)](_0x348b05(0x24f)),_0x582ceb=[_0x348b05(0x1ae),_0x348b05(0x1e7),_0x348b05(0x25b)];if(!_0x5a9b14[_0x348b05(0x1d7)]||!_0x5a9b14[_0x348b05(0x1e4)](_0x1f26fd=>_0x582ceb[_0x348b05(0x224)](_0x1f26fd)))throw new _0x59ecc8(_0x348b05(0x1e1),this,{'invalidConfig':_0x5a9b14});const _0x28cceb=new Set(),_0x3fb68e=this[_0x348b05(0x251)][_0x348b05(0x260)][_0x348b05(0x1e8)](_0x348b05(0x20b));for(const _0x4536a1 of _0x3fb68e){if(_0x28cceb[_0x348b05(0x205)](_0x4536a1['id']))throw new _0x59ecc8(_0x348b05(0x1e5),this,{'duplicateId':_0x4536a1['id']});_0x28cceb[_0x348b05(0x1ef)](_0x4536a1['id']);}}[_0x1b86f4(0x230)](){const _0x2b199b=_0x1b86f4,_0x357b86=this[_0x2b199b(0x251)][_0x2b199b(0x260)][_0x2b199b(0x1e8)](_0x2b199b(0x24f)),_0x117223=[];if(_0x357b86[_0x2b199b(0x224)](_0x2b199b(0x1ae))&&_0x117223[_0x2b199b(0x1df)](_0x2b199b(0x1ae)),_0x357b86[_0x2b199b(0x224)](_0x2b199b(0x1e7))&&_0x117223[_0x2b199b(0x1df)](_0x2b199b(0x1e7)),_0x357b86[_0x2b199b(0x224)](_0x2b199b(0x25b))){const _0x1a6665=this[_0x2b199b(0x251)][_0x2b199b(0x260)][_0x2b199b(0x1e8)](_0x2b199b(0x20b));_0x117223[_0x2b199b(0x1df)](..._0x1a6665[_0x2b199b(0x256)](_0x35b552=>_0x35b552['id']));}return _0x117223;}[_0x1b86f4(0x24d)](){const _0x4b0a06=_0x1b86f4;this[_0x4b0a06(0x251)][_0x4b0a06(0x1de)][_0x4b0a06(0x22f)][_0x4b0a06(0x1ff)](_0x4b0a06(0x238),{'inheritAllFrom':_0x4b0a06(0x1b9),'allowAttributes':['id'],'allowWhere':_0x4b0a06(0x1c7)});}[_0x1b86f4(0x261)](){const _0x1d143a=_0x1b86f4,_0x109ea9=this[_0x1d143a(0x251)][_0x1d143a(0x1f2)];_0x109ea9[_0x1d143a(0x1af)](_0x1d143a(0x219))[_0x1d143a(0x1ef)](_0x3f7ccb=>{const _0x5dd7db=_0x1d143a;_0x3f7ccb['on'](_0x5dd7db(0x208),(_0x3af106,_0x1d89e1,_0x4fab89)=>{const _0x3263d5=_0x5dd7db,{consumable:_0x3b2e83,writer:_0x16dd88,safeInsert:_0x40c075,updateConversionResult:_0x829ab0}=_0x4fab89,{viewItem:_0x54ea43}=_0x1d89e1;if(!_0x3b2e83[_0x3263d5(0x242)](_0x54ea43))return;const _0x417a94=_0x54ea43[_0x3263d5(0x23f)][_0x3263d5(0x20e)](this[_0x3263d5(0x241)])[_0x3263d5(0x256)](_0x233081=>_0x16dd88[_0x3263d5(0x1cf)](_0x233081));if(0x1===_0x417a94[_0x3263d5(0x1d7)])return;_0x3b2e83[_0x3263d5(0x1f7)](_0x54ea43);let _0x23e9ee=_0x1d89e1[_0x3263d5(0x1e0)];const _0x2027e3=_0x1d89e1[_0x3263d5(0x1e0)];for(const _0x53c072 of _0x417a94)if(_0x53c072[_0x3263d5(0x23f)][_0x3263d5(0x1f8)](this[_0x3263d5(0x1f1)])&&_0x53c072[_0x3263d5(0x23f)][_0x3263d5(0x1d8)](this[_0x3263d5(0x263)])){const _0x1fbb28=_0x53c072[_0x3263d5(0x23f)][_0x3263d5(0x1c9)](this[_0x3263d5(0x1f1)][_0x3263d5(0x1d7)],_0x53c072[_0x3263d5(0x23f)][_0x3263d5(0x1d7)]-this[_0x3263d5(0x263)][_0x3263d5(0x1d7)]),_0x1d1621=_0x16dd88[_0x3263d5(0x200)](_0x3263d5(0x238),{'id':_0x1fbb28});if(!_0x40c075(_0x1d1621,_0x23e9ee))continue;if(_0x829ab0(_0x1d1621,_0x1d89e1),_0x1d1621[_0x3263d5(0x262)]()[_0x3263d5(0x1d7)]>_0x23e9ee[_0x3263d5(0x26d)][_0x3263d5(0x1d7)]){const _0x36ec37=_0x16dd88[_0x3263d5(0x1d1)](_0x2027e3,_0x23e9ee);_0x16dd88[_0x3263d5(0x22e)](_0x36ec37,_0x16dd88[_0x3263d5(0x1eb)](_0x1d1621));}_0x23e9ee=_0x16dd88[_0x3263d5(0x26b)](_0x1d1621);}else _0x16dd88[_0x3263d5(0x248)](_0x53c072,_0x23e9ee),_0x23e9ee=_0x23e9ee[_0x3263d5(0x1ee)](_0x53c072[_0x3263d5(0x211)]);});}),_0x109ea9[_0x1d143a(0x1af)](_0x1d143a(0x1da))[_0x1d143a(0x1b1)]({'model':_0x1d143a(0x238),'view':(_0x1d2391,{writer:_0x2fa419})=>this[_0x1d143a(0x268)](_0x1d2391,_0x2fa419)}),_0x109ea9[_0x1d143a(0x1af)](_0x1d143a(0x20c))[_0x1d143a(0x1b1)]({'model':_0x1d143a(0x238),'view':(_0x26f8f7,{writer:_0x59db71,options:_0xb75c45})=>this[_0x1d143a(0x1e9)](_0x26f8f7,_0x59db71,_0xb75c45[_0x1d143a(0x266)])});}[_0x1b86f4(0x268)](_0x53bb76,_0x3564a2){const _0xc5003f=_0x1b86f4,{label:_0xa06665,classes:_0x16e6ad,status:_0x4606fa}=this[_0xc5003f(0x24a)](_0x53bb76),_0x1d8020=this[_0xc5003f(0x1f1)],_0x40d498=this[_0xc5003f(0x263)];let _0x1cd501;return _0xc5003f(0x1ae)===this[_0xc5003f(0x228)]?_0x1cd501=_0x3564a2[_0xc5003f(0x249)](_0xc5003f(0x1b2),{'class':_0x16e6ad},[_0x3564a2[_0xc5003f(0x213)](_0xc5003f(0x1b2),{'class':_0xc5003f(0x235)},function(_0x633fe){const _0x5aed33=_0xc5003f,_0x3b2699=this[_0x5aed33(0x1ce)](_0x633fe);return _0x3b2699[_0x5aed33(0x24c)]=_0x1d8020,_0x3b2699;}),_0x3564a2[_0xc5003f(0x249)](_0xc5003f(0x1b2),{'class':_0xc5003f(0x1e6)},_0x3564a2[_0xc5003f(0x1cf)](String(_0xa06665))),_0x3564a2[_0xc5003f(0x213)](_0xc5003f(0x1b2),{'class':_0xc5003f(0x235)},function(_0x5de63d){const _0x3ccb06=_0xc5003f,_0x26be02=this[_0x3ccb06(0x1ce)](_0x5de63d);return _0x26be02[_0x3ccb06(0x24c)]=_0x40d498,_0x26be02;})]):_0x4606fa?(_0x1cd501=_0x3564a2[_0xc5003f(0x249)](_0xc5003f(0x1b2),{'class':_0x16e6ad},[_0x3564a2[_0xc5003f(0x1cf)](String(_0xa06665)),_0x3564a2[_0xc5003f(0x213)](_0xc5003f(0x1b2),{'class':_0xc5003f(0x1bc)},function(_0x59904e){const _0x57a753=_0xc5003f,_0x357bf4=this[_0x57a753(0x1ce)](_0x59904e),_0x9a2865=new _0x524a4d();return _0x9a2865[_0x57a753(0x223)]({'content':_0x966152}),_0x9a2865[_0x57a753(0x232)](),_0x357bf4[_0x57a753(0x257)](_0x9a2865[_0x57a753(0x1cd)]),_0x357bf4;})]),_0x3564a2[_0xc5003f(0x25e)](_0xc5003f(0x1d2),_0x4606fa,_0x1cd501)):_0x1cd501=_0x3564a2[_0xc5003f(0x249)](_0xc5003f(0x1b2),{'class':_0x16e6ad},[_0x3564a2[_0xc5003f(0x1cf)](String(_0xa06665))]),_0x3564a2[_0xc5003f(0x25e)](_0xc5003f(0x238),!0x0,_0x1cd501),_0x1aa5e1(_0x1cd501,_0x3564a2);}[_0x1b86f4(0x24a)](_0x3c6b0b){const _0x559a9d=_0x1b86f4,_0x226d3c=this[_0x559a9d(0x1ac)][_0x559a9d(0x215)](_0x2c808a=>_0x2c808a['id']===_0x3c6b0b[_0x559a9d(0x25f)]('id'));if(!_0x226d3c)return _0x559a9d(0x1ae)===this[_0x559a9d(0x228)]?{'label':_0x3c6b0b[_0x559a9d(0x25f)]('id'),'classes':_0x559a9d(0x1f4)}:{'label':_0x3c6b0b[_0x559a9d(0x25f)]('id'),'classes':_0x559a9d(0x246),'status':_0x559a9d(0x22c)};const _0x383136=this[_0x559a9d(0x218)](_0x226d3c['id']),_0xcbdd2d=this[_0x559a9d(0x1d5)](_0x3c6b0b[_0x559a9d(0x25f)]('id'));if(_0x559a9d(0x1ae)===this[_0x559a9d(0x228)])return{'label':_0x383136,'classes':_0x559a9d(0x1f4)};if(_0x559a9d(0x1e7)===this[_0x559a9d(0x228)])return _0xcbdd2d?{'label':_0xcbdd2d,'classes':_0x559a9d(0x252)}:{'label':_0x383136,'classes':_0x559a9d(0x1d3),'status':_0x559a9d(0x1d9)};const _0x45a95d=this[_0x559a9d(0x251)][_0x559a9d(0x260)][_0x559a9d(0x1e8)](_0x559a9d(0x20b))[_0x559a9d(0x215)](_0x31773a=>_0x31773a['id']===this[_0x559a9d(0x228)])[_0x559a9d(0x1ea)][_0x226d3c['id']];return _0x45a95d?{'label':_0x559a9d(0x225)==typeof _0x45a95d?_0x45a95d(this[_0x559a9d(0x251)]):_0x45a95d,'classes':_0x559a9d(0x252)}:_0xcbdd2d?{'label':_0xcbdd2d,'classes':_0x559a9d(0x21a),'status':_0x559a9d(0x26a)}:{'label':_0x383136,'classes':_0x559a9d(0x20d),'status':_0x559a9d(0x22a)};}[_0x1b86f4(0x1e9)](_0x1164cc,_0x224912,_0x12348a){const _0x212937=_0x1b86f4,_0x15fed3=_0x1164cc[_0x212937(0x25f)]('id'),_0x3ab72f=_0x12348a&&_0x12348a[_0x15fed3]?_0x12348a[_0x15fed3]:this[_0x212937(0x1f1)]+_0x15fed3+this[_0x212937(0x263)],_0x1e071e=_0x224912[_0x212937(0x1cf)](_0x3ab72f),_0x1d8163=_0x224912[_0x212937(0x249)](_0x212937(0x1b2));return _0x224912[_0x212937(0x25e)](_0x212937(0x247),!0x0,_0x1d8163),_0x224912[_0x212937(0x248)](_0x224912[_0x212937(0x1ad)](_0x1d8163,0x0),_0x1e071e),_0x1d8163;}[_0x1b86f4(0x1f5)](){const _0x594c34=_0x1b86f4;this[_0x594c34(0x1ed)][_0x594c34(0x23a)](_0x559564=>{const _0xb9015e=_0x594c34;_0xb9015e(0x255)!==_0x559564[_0xb9015e(0x203)][_0xb9015e(0x25d)]&&this[_0xb9015e(0x251)][_0xb9015e(0x1fd)][_0xb9015e(0x1dd)](_0x559564);});}[_0x1b86f4(0x221)](_0x3b890b){const _0x438963=_0x1b86f4;if(!this[_0x438963(0x202)][_0x438963(0x224)](_0x3b890b))throw new _0x59ecc8(_0x438963(0x1b3),this,{'availablePreviewModes':this[_0x438963(0x202)],'previewMode':_0x3b890b});}[_0x1b86f4(0x253)](){const _0xb9ddb=_0x1b86f4;for(const _0x3a70d2 of this[_0xb9ddb(0x251)][_0xb9ddb(0x1de)][_0xb9ddb(0x20f)][_0xb9ddb(0x1c0)][_0xb9ddb(0x23b)]({'includeChangesInGraveyard':!0x0})){if(_0xb9ddb(0x248)!==_0x3a70d2[_0xb9ddb(0x229)]||_0xb9ddb(0x1c7)===_0x3a70d2[_0xb9ddb(0x22b)])continue;if(_0xb9ddb(0x238)===_0x3a70d2[_0xb9ddb(0x22b)]){this[_0xb9ddb(0x1ed)][_0xb9ddb(0x1ef)](_0x3a70d2[_0xb9ddb(0x258)][_0xb9ddb(0x1b0)]);continue;}const _0x325afb=this[_0xb9ddb(0x251)][_0xb9ddb(0x1de)][_0xb9ddb(0x269)](_0x3a70d2[_0xb9ddb(0x258)][_0xb9ddb(0x1b0)]);for(const _0x3d7bbe of _0x325afb[_0xb9ddb(0x1b7)]())_0x3d7bbe['is'](_0xb9ddb(0x1cd),_0xb9ddb(0x238))&&this[_0xb9ddb(0x1ed)][_0xb9ddb(0x1ef)](_0x3d7bbe);}}[_0x1b86f4(0x1c8)](){const _0x4ab787=_0x1b86f4,_0x279880=this[_0x4ab787(0x251)];_0x279880[_0x4ab787(0x1de)][_0x4ab787(0x20f)][_0x4ab787(0x1db)](_0x1fe4d8=>{const _0x5b135f=_0x4ab787;if(!_0x1fe4d8[_0x5b135f(0x1bb)][_0x5b135f(0x20a)])return!0x1;const _0x65e38b=[],_0x5a283c=new Set(),_0x59feed=this[_0x5b135f(0x241)];let _0x152282=!0x1;for(const _0x462fb6 of _0x279880[_0x5b135f(0x1de)][_0x5b135f(0x20f)][_0x5b135f(0x1c0)][_0x5b135f(0x23b)]())if(_0x5b135f(0x248)===_0x462fb6[_0x5b135f(0x229)]||_0x5b135f(0x236)===_0x462fb6[_0x5b135f(0x229)]){let _0x3fd840=_0x5b135f(0x1c7)==_0x462fb6[_0x5b135f(0x22b)]?_0x462fb6[_0x5b135f(0x258)][_0x5b135f(0x220)]:_0x462fb6[_0x5b135f(0x258)][_0x5b135f(0x1b0)];if(!_0x3fd840)continue;_0x3fd840['is'](_0x5b135f(0x1c7))&&(_0x3fd840=_0x3fd840[_0x5b135f(0x220)]),_0x42c759(_0x3fd840);}for(const _0x27e474 of _0x65e38b[_0x5b135f(0x267)]()){const {match:_0x453fed,item:_0x2e4840}=_0x27e474,_0x4a6c75=_0x1fe4d8[_0x5b135f(0x1ad)](_0x2e4840,_0x453fed[_0x5b135f(0x1ca)]),_0x3ab7ec=_0x4a6c75[_0x5b135f(0x1ee)](_0x453fed[0x0][_0x5b135f(0x1d7)]),_0x3c26a7=_0x1fe4d8[_0x5b135f(0x1d1)](_0x4a6c75,_0x3ab7ec),_0x1b9ee6=_0x453fed[0x0],_0x5bf0f6=_0x1b9ee6[_0x5b135f(0x1c9)](this[_0x5b135f(0x1f1)][_0x5b135f(0x1d7)],_0x1b9ee6[_0x5b135f(0x1d7)]-this[_0x5b135f(0x263)][_0x5b135f(0x1d7)]),_0x2f06db=_0x5c92fa(_0x3c26a7);_0x2f06db[_0x5b135f(0x223)]('id',_0x5bf0f6);const _0x4dbac=_0x1fe4d8[_0x5b135f(0x200)](_0x5b135f(0x238),_0x2f06db);_0x279880[_0x5b135f(0x1de)][_0x5b135f(0x22f)][_0x5b135f(0x212)](_0x3c26a7[_0x5b135f(0x226)],_0x5b135f(0x238))?_0x279880[_0x5b135f(0x1de)][_0x5b135f(0x264)](_0x4dbac,_0x3c26a7):_0x1fe4d8[_0x5b135f(0x236)](_0x3c26a7),_0x152282=!0x0;}return _0x152282;function _0x42c759(_0x4f2f10){const _0x883454=_0x5b135f;let _0x326a5c='',_0x289e81=0x0;if(!_0x5a283c[_0x883454(0x205)](_0x4f2f10))for(const _0x4955eb of _0x4f2f10[_0x883454(0x1ec)]()){const _0x58bc03=_0x4955eb[_0x883454(0x1f6)];if(_0x4955eb['is'](_0x883454(0x1c7))&&(''===_0x326a5c&&_0x4955eb[_0x883454(0x1c1)]&&(_0x289e81=_0x4955eb[_0x883454(0x1c1)]),_0x326a5c+=_0x4955eb[_0x883454(0x23f)]),!_0x58bc03||_0x58bc03['is'](_0x883454(0x1cd))){for(const _0x1a769e of _0x326a5c[_0x883454(0x24b)](_0x59feed))_0x1a769e[_0x883454(0x1ca)]=_0x1a769e[_0x883454(0x1ca)]+_0x289e81,_0x65e38b[_0x883454(0x1df)]({'match':_0x1a769e,'item':_0x4f2f10});_0x5a283c[_0x883454(0x1ef)](_0x4f2f10),_0x326a5c='';}_0x4955eb['is'](_0x883454(0x1cd))&&_0x42c759(_0x4955eb);}}function _0x5c92fa(_0x5a6b58){const _0x5b5afe=_0x5b135f,_0x4c1e9f=_0x5a6b58[_0x5b5afe(0x1b7)](),_0x5a9c0e=_0x4c1e9f[_0x5b5afe(0x240)]()[_0x5b5afe(0x23e)],_0x1d69d2=new Map(_0x5a9c0e[_0x5b5afe(0x21b)]());for(const _0x2964cc of _0x4c1e9f)for(const [_0x5ca6a5,_0x18b78c]of _0x1d69d2)_0x2964cc[_0x5b5afe(0x25f)](_0x5ca6a5)!==_0x18b78c&&_0x1d69d2[_0x5b5afe(0x1c3)](_0x5ca6a5);return _0x1d69d2;}});}[_0x1b86f4(0x23d)](_0x200b47){return{'id':_0x200b47};}}
23
+ const _0x30512b=_0x1458;function _0x233e(){const _0x223c40=['getDefinition','change:data','function','6OMYAKS','editing','_mergeFieldPrefix','mapper','MergeFieldsEditing','move','merge-fields-invalid-preview-mode-set','WARNING_MISSING_DEFINITION','commands','previewMode','from','label','join','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','_mergeFieldElements','set','getMergeFieldValue','delete','_trackAddedMergeFields','checkChild','render','isLocal','config','concat','525240lYIDPg','span','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','WARNING_MISSING_DEFAULT_VALUE','$inlineObject','mergeFields.suffix','viewToModelPosition','createRange','createText','getAttribute','getAttributes','text','mergeFieldsLicenseKeyTrialLimit:operations','destroy','WARNING_MISSING_DATA','insertObject','flattenedMergeFieldDefinitions','ck-merge-field\x20ck-merge-field_with-value','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','merge-fields-invalid-id','merge-fields-duplicate-group-id','batch','36aNisQs','\x20]+','availablePreviewModes','mergeFieldsLicenseKeyValid','hasClass','forEach','mergeFieldsLicenseKeyInvalid','groupId','has','get','length','_refreshMergeFields','start','$labels','createPositionBefore','getMergeFieldsIds','elementToElement','mergeField','add','dataDowncast','getLabel','merge-fields-data-set-not-found','merge-fields-trial-license-key-reached-limit-changes','_validatePreviewMode','insert','7cdUXfZ','value','mergeFields.definitions','includes','merge-fields-duplicate-data-set-id','registerPostFixer','ck-merge-field__icon','push','merge-fields-invalid-preview-modes-configuration','389590QDgweq','_createTextualMergeField','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','reduce','model','1092777klAavl','$graveyard','createPositionAfter','register','_defineConverters','mergeFields.dataSets','conversion','data','setCustomProperty','$dataSets','upcast','mergeFields.previewModes','getChanges','getDocumentMergeFieldsIds','every','ck-merge-field','2189424yRjUIs','getMergeFieldDefaultValue','for','ck-merge-field__affix','index','defaultValue','insertMergeField','previewMergeFields','merge-fields-invalid-license-key','_getAvailablePreviewModes','document','dataPipeline:transparentRendering','find','_prepareViewElementData','modelCursor','startsWith','getChildren','element','differ','$text','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','editor','_validateConfig','nodeAfter','parent','toDomElement','_mergeFieldSuffix','createElement','type','map','consume','506GZakxO','test','licenseKey','790830edVrTk','values','reverse','_licenseKeyCheckInterval','mergeFieldsLicenseKeyTrial','nextSibling','editingDowncast','merge-fields-invalid-prefix-or-suffix','mergeFields.prefix','position','_getFlattenedMergeFieldDefinitions','offsetSize','info','split','_defineSchema','root','init','merge-fields-prefix-and-suffix-must-differ','listenTo','rootName','getShiftedBy','_getDefaultDefinition','4401240ayviwd','_createMergeFieldWidget','matchAll','mergeFieldStatus','_registerConversionPostFixer','path','445498lYzYMG','bind','createRangeIn','createContainerElement','getItems','define','remove','mergeFields.initialPreviewMode','definitions','name','merge-fields-duplicate-merge-field-id','reconvertItem','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','_mergeFieldRegExp','getPath','schema','appendChild','$defaultValues','createUIElement','pluginName','endsWith','next','slice','createPositionAt','innerHTML','startOffset','ck-merge-field__content','mergeFieldsData','change:previewMode'];_0x233e=function(){return _0x223c40;};return _0x233e();}(function(_0x3688f2,_0x4aa205){const _0x27eb67=_0x1458,_0x1b1512=_0x3688f2();while(!![]){try{const _0xc12c1e=-parseInt(_0x27eb67(0x16c))/0x1+parseInt(_0x27eb67(0x18c))/0x2*(parseInt(_0x27eb67(0x11e))/0x3)+parseInt(_0x27eb67(0x1a4))/0x4+-parseInt(_0x27eb67(0x150))/0x5+parseInt(_0x27eb67(0x166))/0x6*(-parseInt(_0x27eb67(0x1d3))/0x7)+parseInt(_0x27eb67(0x12e))/0x8*(-parseInt(_0x27eb67(0x1ba))/0x9)+-parseInt(_0x27eb67(0x119))/0xa*(-parseInt(_0x27eb67(0x14d))/0xb);if(_0xc12c1e===_0x4aa205)break;else _0x1b1512['push'](_0x1b1512['shift']());}catch(_0x38d5cb){_0x1b1512['push'](_0x1b1512['shift']());}}}(_0x233e,0x8ea5d));import{toWidget as _0x17baf4,viewToModelPositionOutsideModelElement as _0x234428}from'ckeditor5/src/widget.js';import{Plugin as _0x477ab9}from'ckeditor5/src/core.js';import{IconView as _0x597979}from'ckeditor5/src/ui.js';import{CKEditorError as _0x5ce1f3}from'ckeditor5/src/utils.js';function _0x1458(_0x584c30,_0xb69d7f){const _0x233e9e=_0x233e();return _0x1458=function(_0x1458bd,_0x878c5e){_0x1458bd=_0x1458bd-0x117;let _0x46fc14=_0x233e9e[_0x1458bd];return _0x46fc14;},_0x1458(_0x584c30,_0xb69d7f);}import _0x11f40f from'./insertmergefieldcommand.js';import _0x3a18b2 from'./previewmergefieldscommand.js';import _0x424b9e from'../theme/icons/warning.svg';export default class o extends _0x477ab9{static get[_0x30512b(0x17f)](){const _0x4dfb56=_0x30512b;return _0x4dfb56(0x190);}constructor(_0x515652){const _0x1bba08=_0x30512b;super(_0x515652),this[_0x1bba08(0x1b4)]=[],_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x171)](_0x1bba08(0x129),[_0x1bba08(0x1c7),_0x1bba08(0x17d),_0x1bba08(0x127)]),_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x171)](_0x1bba08(0x123),[]),_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x171)](_0x1bba08(0x1d5),[]),_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x171)](_0x1bba08(0x158),'{{'),_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x171)](_0x1bba08(0x1a9),'}}'),this[_0x1bba08(0x18e)]=_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x1c3)](_0x1bba08(0x158)),this[_0x1bba08(0x148)]=_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x1c3)](_0x1bba08(0x1a9)),this[_0x1bba08(0x1b4)]=this[_0x1bba08(0x15a)](),this[_0x1bba08(0x144)]();const _0x1b1e25='\x5c'+this[_0x1bba08(0x18e)][_0x1bba08(0x15d)]('')[_0x1bba08(0x198)]('\x5c'),_0xaf02d8='\x5c'+this[_0x1bba08(0x148)][_0x1bba08(0x15d)]('')[_0x1bba08(0x198)]('\x5c');this[_0x1bba08(0x179)]=new RegExp('('+_0x1b1e25+'[^'+(_0x1b1e25+_0xaf02d8)+_0x1bba08(0x1bb)+_0xaf02d8+')','g'),this[_0x1bba08(0x1bc)]=this[_0x1bba08(0x137)]();const _0x2ab8c8=_0x515652[_0x1bba08(0x1a2)][_0x1bba08(0x1c3)](_0x1bba08(0x173))||this[_0x1bba08(0x1bc)][0x0];this[_0x1bba08(0x1d1)](_0x2ab8c8),this[_0x1bba08(0x19b)](_0x1bba08(0x195),_0x2ab8c8),this[_0x1bba08(0x19a)]=new Set(),this[_0x1bba08(0x153)]=null;}[_0x30512b(0x160)](){const _0x12c9af=_0x30512b,_0x527924=this[_0x12c9af(0x143)];_0x527924[_0x12c9af(0x194)][_0x12c9af(0x1cc)](_0x12c9af(0x134),new _0x11f40f(_0x527924)),_0x527924[_0x12c9af(0x194)][_0x12c9af(0x1cc)](_0x12c9af(0x135),new _0x3a18b2(_0x527924)),this[_0x12c9af(0x15e)](),this[_0x12c9af(0x122)](),this['on'](_0x12c9af(0x188),(_0x389e80,_0x47bd79,_0xe63ea7)=>{const _0x28dd1a=_0x12c9af;this[_0x28dd1a(0x1d1)](_0xe63ea7),this[_0x28dd1a(0x1c5)]();}),this[_0x12c9af(0x162)](_0x527924[_0x12c9af(0x11d)][_0x12c9af(0x138)],_0x12c9af(0x18a),()=>{const _0x4ecfd5=_0x12c9af;this[_0x4ecfd5(0x19e)]();}),_0x527924[_0x12c9af(0x18d)][_0x12c9af(0x18f)]['on'](_0x12c9af(0x1aa),_0x234428(_0x527924[_0x12c9af(0x11d)],_0x33baab=>_0x33baab[_0x12c9af(0x1be)](_0x12c9af(0x12d)))),this[_0x12c9af(0x16a)](),this[_0x12c9af(0x14f)]=_0x527924[_0x12c9af(0x1a2)][_0x12c9af(0x1c3)](_0x12c9af(0x14f));const _0x2d417e=this[_0x12c9af(0x143)];this[_0x12c9af(0x153)]=setInterval(()=>{const _0x1ccd65=_0x12c9af;let _0x5317c5;for(const _0x10ea1d in _0x2d417e){const _0x1536fa=_0x10ea1d,_0x157a77=_0x2d417e[_0x1536fa];if(_0x1ccd65(0x154)===_0x157a77||_0x1ccd65(0x1c0)===_0x157a77||_0x1ccd65(0x1bd)===_0x157a77||_0x1ccd65(0x1b0)===_0x157a77){delete _0x2d417e[_0x1536fa],_0x5317c5=_0x157a77;break;}}if(_0x1ccd65(0x1c0)===_0x5317c5)throw clearInterval(this[_0x1ccd65(0x153)]),new _0x5ce1f3(_0x1ccd65(0x136),null);if(_0x1ccd65(0x154)===_0x5317c5&&console[_0x1ccd65(0x15c)](_0x1ccd65(0x1b6)),_0x1ccd65(0x1b0)===_0x5317c5)throw clearInterval(this[_0x1ccd65(0x153)]),new _0x5ce1f3(_0x1ccd65(0x1d0),null);_0x1ccd65(0x1bd)===_0x5317c5&&clearInterval(this[_0x1ccd65(0x153)]);},0x3e8);}[_0x30512b(0x1ce)](_0x581b50){const _0x3753e2=_0x30512b,_0x4dd1d6=this[_0x3753e2(0x189)](_0x581b50);return _0x4dd1d6[_0x3753e2(0x197)]||_0x4dd1d6['id'];}[_0x30512b(0x12f)](_0x5839f9){const _0x3a78c7=_0x30512b,_0x1106fa=this[_0x3a78c7(0x189)](_0x5839f9);return void 0x0===_0x1106fa[_0x3a78c7(0x133)]?null:_0x3a78c7(0x18b)==typeof _0x1106fa[_0x3a78c7(0x133)]?_0x1106fa[_0x3a78c7(0x133)](this[_0x3a78c7(0x143)]):_0x1106fa[_0x3a78c7(0x133)];}[_0x30512b(0x19c)](_0x169334,_0x5560f1){const _0x3aa058=_0x30512b,_0x34b635=this[_0x3aa058(0x143)][_0x3aa058(0x1a2)][_0x3aa058(0x1c3)](_0x3aa058(0x123))[_0x3aa058(0x13a)](_0x5c40cb=>_0x5c40cb['id']===_0x5560f1);if(!_0x34b635)throw new _0x5ce1f3(_0x3aa058(0x1cf),null);const _0x445f18=this[_0x3aa058(0x189)](_0x169334),_0x3f875e=_0x34b635[_0x3aa058(0x151)][_0x445f18['id']];return void 0x0===_0x3f875e?null:_0x3aa058(0x18b)==typeof _0x3f875e?_0x3f875e(this[_0x3aa058(0x143)]):_0x3f875e;}[_0x30512b(0x12b)](){const _0x46f166=_0x30512b,_0x13a880=new Set();for(const _0x548c33 of this[_0x46f166(0x19a)])_0x46f166(0x11f)!==_0x548c33[_0x46f166(0x15f)][_0x46f166(0x163)]&&_0x13a880[_0x46f166(0x1cc)](_0x548c33[_0x46f166(0x1ad)]('id'));return Array[_0x46f166(0x196)](_0x13a880);}[_0x30512b(0x1c9)](){const _0x2784bc=_0x30512b,_0x4bf842=this[_0x2784bc(0x1b4)][_0x2784bc(0x14b)](_0x21ee10=>_0x21ee10['id']),_0x25e31a=this[_0x2784bc(0x12b)]();return Array[_0x2784bc(0x196)](new Set([..._0x4bf842,..._0x25e31a]));}[_0x30512b(0x189)](_0x315eb9){const _0x44c20a=_0x30512b;return this[_0x44c20a(0x1b4)][_0x44c20a(0x13a)](_0x2d61a7=>_0x2d61a7['id']===_0x315eb9)||this[_0x44c20a(0x165)](_0x315eb9);}[_0x30512b(0x1b1)](){const _0x3b0916=_0x30512b;this[_0x3b0916(0x153)]&&clearInterval(this[_0x3b0916(0x153)]);}[_0x30512b(0x15a)](){const _0x548d1e=_0x30512b,_0x15429a=new Set(),_0x4f63dc=this[_0x548d1e(0x143)];return this[_0x548d1e(0x143)][_0x548d1e(0x1a2)][_0x548d1e(0x1c3)](_0x548d1e(0x1d5))[_0x548d1e(0x11c)]((_0x534ef0,_0x1a5287)=>{const _0x2e342e=_0x548d1e;if(_0x2e342e(0x1c1)in _0x1a5287){if(_0x15429a[_0x2e342e(0x1c2)](_0x1a5287[_0x2e342e(0x1c1)]))throw new _0x5ce1f3(_0x2e342e(0x1b8),_0x4f63dc,{'duplicateId':_0x1a5287[_0x2e342e(0x1c1)]});_0x15429a[_0x2e342e(0x1cc)](_0x1a5287[_0x2e342e(0x1c1)]);}return _0x2e342e(0x1c1)in _0x1a5287?function _0x366526(_0x11fe98,_0x3fce17){const _0x1a9e42=_0x2e342e;for(const _0x354749 of _0x3fce17[_0x1a9e42(0x174)]){if(_0x1a9e42(0x1c1)in _0x354749){if(_0x15429a[_0x1a9e42(0x1c2)](_0x354749[_0x1a9e42(0x1c1)]))throw new _0x5ce1f3(_0x1a9e42(0x1b8),_0x4f63dc,{'duplicateId':_0x354749[_0x1a9e42(0x1c1)]});_0x15429a[_0x1a9e42(0x1cc)](_0x354749[_0x1a9e42(0x1c1)]);}_0x11fe98=_0x1a9e42(0x1c1)in _0x354749?_0x366526(_0x11fe98,_0x354749):_0x11fe98[_0x1a9e42(0x1a3)](_0x354749);}return _0x11fe98;}[_0x2e342e(0x16d)](_0x4f63dc)(_0x534ef0,_0x1a5287):_0x534ef0[_0x2e342e(0x1a3)](_0x1a5287);},new Array());}[_0x30512b(0x144)](){const _0x43d336=_0x30512b,_0x293161=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x293161[_0x43d336(0x14e)](this[_0x43d336(0x18e)])||!_0x293161[_0x43d336(0x14e)](this[_0x43d336(0x148)]))throw new _0x5ce1f3(_0x43d336(0x157),this,{'prefix':this[_0x43d336(0x18e)],'suffix':this[_0x43d336(0x148)]});const _0x2d3457=/^[a-zA-Z0-9_.-]+$/,_0x5a0338=new Set();if(this[_0x43d336(0x1b4)][_0x43d336(0x14b)](_0x40b483=>{const _0x5b714f=_0x43d336;if(!_0x2d3457[_0x5b714f(0x14e)](_0x40b483['id']))throw new _0x5ce1f3(_0x5b714f(0x1b7),this,{'incorrectId':_0x40b483['id']});if(_0x5a0338[_0x5b714f(0x1c2)](_0x40b483['id']))throw new _0x5ce1f3(_0x5b714f(0x176),this,{'duplicateId':_0x40b483['id']});_0x5a0338[_0x5b714f(0x1cc)](_0x40b483['id']);}),this[_0x43d336(0x18e)]===this[_0x43d336(0x148)])throw new _0x5ce1f3(_0x43d336(0x161),this);const _0x2e3d5a=this[_0x43d336(0x143)][_0x43d336(0x1a2)][_0x43d336(0x1c3)](_0x43d336(0x129)),_0x2f9bea=[_0x43d336(0x1c7),_0x43d336(0x17d),_0x43d336(0x127)];if(!_0x2e3d5a[_0x43d336(0x1c4)]||!_0x2e3d5a[_0x43d336(0x12c)](_0x149ee5=>_0x2f9bea[_0x43d336(0x1d6)](_0x149ee5)))throw new _0x5ce1f3(_0x43d336(0x118),this,{'invalidConfig':_0x2e3d5a});const _0xe2b3b=new Set(),_0x4bdc8a=this[_0x43d336(0x143)][_0x43d336(0x1a2)][_0x43d336(0x1c3)](_0x43d336(0x123));for(const _0x58ff99 of _0x4bdc8a){if(_0xe2b3b[_0x43d336(0x1c2)](_0x58ff99['id']))throw new _0x5ce1f3(_0x43d336(0x1d7),this,{'duplicateId':_0x58ff99['id']});_0xe2b3b[_0x43d336(0x1cc)](_0x58ff99['id']);}}[_0x30512b(0x137)](){const _0x451b68=_0x30512b,_0x3f374b=this[_0x451b68(0x143)][_0x451b68(0x1a2)][_0x451b68(0x1c3)](_0x451b68(0x129)),_0x43cf54=[];if(_0x3f374b[_0x451b68(0x1d6)](_0x451b68(0x1c7))&&_0x43cf54[_0x451b68(0x117)](_0x451b68(0x1c7)),_0x3f374b[_0x451b68(0x1d6)](_0x451b68(0x17d))&&_0x43cf54[_0x451b68(0x117)](_0x451b68(0x17d)),_0x3f374b[_0x451b68(0x1d6)](_0x451b68(0x127))){const _0xc82bdd=this[_0x451b68(0x143)][_0x451b68(0x1a2)][_0x451b68(0x1c3)](_0x451b68(0x123));_0x43cf54[_0x451b68(0x117)](..._0xc82bdd[_0x451b68(0x14b)](_0x158e12=>_0x158e12['id']));}return _0x43cf54;}[_0x30512b(0x15e)](){const _0x4b680a=_0x30512b;this[_0x4b680a(0x143)][_0x4b680a(0x11d)][_0x4b680a(0x17b)][_0x4b680a(0x121)](_0x4b680a(0x1cb),{'inheritAllFrom':_0x4b680a(0x1a8),'allowAttributes':['id'],'allowWhere':_0x4b680a(0x141)});}[_0x30512b(0x122)](){const _0x4f66eb=_0x30512b,_0x49708b=this[_0x4f66eb(0x143)][_0x4f66eb(0x124)];_0x49708b[_0x4f66eb(0x130)](_0x4f66eb(0x128))[_0x4f66eb(0x1cc)](_0x189e8c=>{const _0x11ad91=_0x4f66eb;_0x189e8c['on'](_0x11ad91(0x1af),(_0x3c8c87,_0x45e25f,_0x51334b)=>{const _0x74bd41=_0x11ad91,{consumable:_0x3ca6e9,writer:_0x4b1da5,safeInsert:_0x5bf6bf,updateConversionResult:_0x5505ed}=_0x51334b,{viewItem:_0x337fc7}=_0x45e25f;if(!_0x3ca6e9[_0x74bd41(0x14e)](_0x337fc7))return;const _0x266687=_0x337fc7[_0x74bd41(0x125)][_0x74bd41(0x15d)](this[_0x74bd41(0x179)])[_0x74bd41(0x14b)](_0x595755=>_0x4b1da5[_0x74bd41(0x1ac)](_0x595755));if(0x1===_0x266687[_0x74bd41(0x1c4)])return;_0x3ca6e9[_0x74bd41(0x14c)](_0x337fc7);let _0xd1d72b=_0x45e25f[_0x74bd41(0x13c)];const _0x6f7c22=_0x45e25f[_0x74bd41(0x13c)];for(const _0x1cdf69 of _0x266687)if(_0x1cdf69[_0x74bd41(0x125)][_0x74bd41(0x13d)](this[_0x74bd41(0x18e)])&&_0x1cdf69[_0x74bd41(0x125)][_0x74bd41(0x180)](this[_0x74bd41(0x148)])){const _0x1c2ad5=_0x1cdf69[_0x74bd41(0x125)][_0x74bd41(0x182)](this[_0x74bd41(0x18e)][_0x74bd41(0x1c4)],_0x1cdf69[_0x74bd41(0x125)][_0x74bd41(0x1c4)]-this[_0x74bd41(0x148)][_0x74bd41(0x1c4)]),_0x50cb61=_0x4b1da5[_0x74bd41(0x149)](_0x74bd41(0x1cb),{'id':_0x1c2ad5});if(!_0x5bf6bf(_0x50cb61,_0xd1d72b))continue;if(_0x5505ed(_0x50cb61,_0x45e25f),_0x50cb61[_0x74bd41(0x17a)]()[_0x74bd41(0x1c4)]>_0xd1d72b[_0x74bd41(0x16b)][_0x74bd41(0x1c4)]){const _0x5b5309=_0x4b1da5[_0x74bd41(0x1ab)](_0x6f7c22,_0xd1d72b);_0x4b1da5[_0x74bd41(0x191)](_0x5b5309,_0x4b1da5[_0x74bd41(0x1c8)](_0x50cb61));}_0xd1d72b=_0x4b1da5[_0x74bd41(0x120)](_0x50cb61);}else _0x4b1da5[_0x74bd41(0x1d2)](_0x1cdf69,_0xd1d72b),_0xd1d72b=_0xd1d72b[_0x74bd41(0x164)](_0x1cdf69[_0x74bd41(0x15b)]);});}),_0x49708b[_0x4f66eb(0x130)](_0x4f66eb(0x156))[_0x4f66eb(0x1ca)]({'model':_0x4f66eb(0x1cb),'view':(_0x22e706,{writer:_0x1794a9})=>this[_0x4f66eb(0x167)](_0x22e706,_0x1794a9)}),_0x49708b[_0x4f66eb(0x130)](_0x4f66eb(0x1cd))[_0x4f66eb(0x1ca)]({'model':_0x4f66eb(0x1cb),'view':(_0x48d61e,{writer:_0x5773ce,options:_0x323549})=>this[_0x4f66eb(0x11a)](_0x48d61e,_0x5773ce,_0x323549[_0x4f66eb(0x187)])});}[_0x30512b(0x167)](_0x7e59e6,_0x534e2b){const _0x26f84b=_0x30512b,{label:_0x2ee679,classes:_0x2603ca,status:_0x13d198}=this[_0x26f84b(0x13b)](_0x7e59e6),_0x235c52=this[_0x26f84b(0x18e)],_0x4f9998=this[_0x26f84b(0x148)];let _0x18e3e7;return _0x26f84b(0x1c7)===this[_0x26f84b(0x195)]?_0x18e3e7=_0x534e2b[_0x26f84b(0x16f)](_0x26f84b(0x1a5),{'class':_0x2603ca},[_0x534e2b[_0x26f84b(0x17e)](_0x26f84b(0x1a5),{'class':_0x26f84b(0x131)},function(_0x4e7c83){const _0x5653a7=_0x26f84b,_0x2959be=this[_0x5653a7(0x147)](_0x4e7c83);return _0x2959be[_0x5653a7(0x184)]=_0x235c52,_0x2959be;}),_0x534e2b[_0x26f84b(0x16f)](_0x26f84b(0x1a5),{'class':_0x26f84b(0x186)},_0x534e2b[_0x26f84b(0x1ac)](String(_0x2ee679))),_0x534e2b[_0x26f84b(0x17e)](_0x26f84b(0x1a5),{'class':_0x26f84b(0x131)},function(_0xaa0cdf){const _0xb66915=_0x26f84b,_0x2f87c2=this[_0xb66915(0x147)](_0xaa0cdf);return _0x2f87c2[_0xb66915(0x184)]=_0x4f9998,_0x2f87c2;})]):_0x13d198?(_0x18e3e7=_0x534e2b[_0x26f84b(0x16f)](_0x26f84b(0x1a5),{'class':_0x2603ca},[_0x534e2b[_0x26f84b(0x1ac)](String(_0x2ee679)),_0x534e2b[_0x26f84b(0x17e)](_0x26f84b(0x1a5),{'class':_0x26f84b(0x1d9)},function(_0x3c2b48){const _0x54f95b=_0x26f84b,_0x545bbe=this[_0x54f95b(0x147)](_0x3c2b48),_0x289644=new _0x597979();return _0x289644[_0x54f95b(0x19b)]({'content':_0x424b9e}),_0x289644[_0x54f95b(0x1a0)](),_0x545bbe[_0x54f95b(0x17c)](_0x289644[_0x54f95b(0x13f)]),_0x545bbe;})]),_0x534e2b[_0x26f84b(0x126)](_0x26f84b(0x169),_0x13d198,_0x18e3e7)):_0x18e3e7=_0x534e2b[_0x26f84b(0x16f)](_0x26f84b(0x1a5),{'class':_0x2603ca},[_0x534e2b[_0x26f84b(0x1ac)](String(_0x2ee679))]),_0x534e2b[_0x26f84b(0x126)](_0x26f84b(0x1cb),!0x0,_0x18e3e7),_0x17baf4(_0x18e3e7,_0x534e2b);}[_0x30512b(0x13b)](_0x218aea){const _0x4e9d22=_0x30512b,_0x49f61f=this[_0x4e9d22(0x1b4)][_0x4e9d22(0x13a)](_0x40aabb=>_0x40aabb['id']===_0x218aea[_0x4e9d22(0x1ad)]('id'));if(!_0x49f61f)return _0x4e9d22(0x1c7)===this[_0x4e9d22(0x195)]?{'label':_0x218aea[_0x4e9d22(0x1ad)]('id'),'classes':_0x4e9d22(0x12d)}:{'label':_0x218aea[_0x4e9d22(0x1ad)]('id'),'classes':_0x4e9d22(0x142),'status':_0x4e9d22(0x193)};const _0x16eaeb=this[_0x4e9d22(0x1ce)](_0x49f61f['id']),_0x3209b8=this[_0x4e9d22(0x12f)](_0x218aea[_0x4e9d22(0x1ad)]('id'));if(_0x4e9d22(0x1c7)===this[_0x4e9d22(0x195)])return{'label':_0x16eaeb,'classes':_0x4e9d22(0x12d)};if(_0x4e9d22(0x17d)===this[_0x4e9d22(0x195)])return _0x3209b8?{'label':_0x3209b8,'classes':_0x4e9d22(0x1b5)}:{'label':_0x16eaeb,'classes':_0x4e9d22(0x199),'status':_0x4e9d22(0x1a7)};const _0xbfa233=this[_0x4e9d22(0x143)][_0x4e9d22(0x1a2)][_0x4e9d22(0x1c3)](_0x4e9d22(0x123))[_0x4e9d22(0x13a)](_0x1e223a=>_0x1e223a['id']===this[_0x4e9d22(0x195)])[_0x4e9d22(0x151)][_0x49f61f['id']];return _0xbfa233?{'label':_0x4e9d22(0x18b)==typeof _0xbfa233?_0xbfa233(this[_0x4e9d22(0x143)]):_0xbfa233,'classes':_0x4e9d22(0x1b5)}:_0x3209b8?{'label':_0x3209b8,'classes':_0x4e9d22(0x11b),'status':_0x4e9d22(0x1a6)}:{'label':_0x16eaeb,'classes':_0x4e9d22(0x178),'status':_0x4e9d22(0x1b2)};}[_0x30512b(0x11a)](_0x5689d4,_0x9e44eb,_0x527eee){const _0x230ff1=_0x30512b,_0x23bfdf=_0x5689d4[_0x230ff1(0x1ad)]('id'),_0x479989=_0x527eee&&_0x527eee[_0x23bfdf]?_0x527eee[_0x23bfdf]:this[_0x230ff1(0x18e)]+_0x23bfdf+this[_0x230ff1(0x148)],_0x1251c0=_0x9e44eb[_0x230ff1(0x1ac)](_0x479989),_0xdacfff=_0x9e44eb[_0x230ff1(0x16f)](_0x230ff1(0x1a5));return _0x9e44eb[_0x230ff1(0x126)](_0x230ff1(0x139),!0x0,_0xdacfff),_0x9e44eb[_0x230ff1(0x1d2)](_0x9e44eb[_0x230ff1(0x183)](_0xdacfff,0x0),_0x1251c0),_0xdacfff;}[_0x30512b(0x1c5)](){const _0x39fd5e=_0x30512b;this[_0x39fd5e(0x19a)][_0x39fd5e(0x1bf)](_0x370af8=>{const _0x1a571a=_0x39fd5e;_0x1a571a(0x11f)!==_0x370af8[_0x1a571a(0x15f)][_0x1a571a(0x163)]&&this[_0x1a571a(0x143)][_0x1a571a(0x18d)][_0x1a571a(0x177)](_0x370af8);});}[_0x30512b(0x1d1)](_0xff2e41){const _0x2520aa=_0x30512b;if(!this[_0x2520aa(0x1bc)][_0x2520aa(0x1d6)](_0xff2e41))throw new _0x5ce1f3(_0x2520aa(0x192),this,{'availablePreviewModes':this[_0x2520aa(0x1bc)],'previewMode':_0xff2e41});}[_0x30512b(0x19e)](){const _0x320ad2=_0x30512b;for(const _0x484db2 of this[_0x320ad2(0x143)][_0x320ad2(0x11d)][_0x320ad2(0x138)][_0x320ad2(0x140)][_0x320ad2(0x12a)]({'includeChangesInGraveyard':!0x0})){if(_0x320ad2(0x1d2)!==_0x484db2[_0x320ad2(0x14a)]||_0x320ad2(0x141)===_0x484db2[_0x320ad2(0x175)])continue;if(_0x320ad2(0x1cb)===_0x484db2[_0x320ad2(0x175)]){this[_0x320ad2(0x19a)][_0x320ad2(0x1cc)](_0x484db2[_0x320ad2(0x159)][_0x320ad2(0x145)]);continue;}const _0x3335a8=this[_0x320ad2(0x143)][_0x320ad2(0x11d)][_0x320ad2(0x16e)](_0x484db2[_0x320ad2(0x159)][_0x320ad2(0x145)]);for(const _0x5b96fd of _0x3335a8[_0x320ad2(0x170)]())_0x5b96fd['is'](_0x320ad2(0x13f),_0x320ad2(0x1cb))&&this[_0x320ad2(0x19a)][_0x320ad2(0x1cc)](_0x5b96fd);}}[_0x30512b(0x16a)](){const _0x272846=_0x30512b,_0x20cdf6=this[_0x272846(0x143)];_0x20cdf6[_0x272846(0x11d)][_0x272846(0x138)][_0x272846(0x1d8)](_0x3e31c5=>{const _0x369a2c=_0x272846;if(!_0x3e31c5[_0x369a2c(0x1b9)][_0x369a2c(0x1a1)])return!0x1;const _0x57c89c=[],_0x527e9e=new Set(),_0xcc0ce5=this[_0x369a2c(0x179)];let _0x5d1d18=!0x1;for(const _0x3d016d of _0x20cdf6[_0x369a2c(0x11d)][_0x369a2c(0x138)][_0x369a2c(0x140)][_0x369a2c(0x12a)]())if(_0x369a2c(0x1d2)===_0x3d016d[_0x369a2c(0x14a)]||_0x369a2c(0x172)===_0x3d016d[_0x369a2c(0x14a)]){let _0x530086=_0x369a2c(0x141)==_0x3d016d[_0x369a2c(0x175)]?_0x3d016d[_0x369a2c(0x159)][_0x369a2c(0x146)]:_0x3d016d[_0x369a2c(0x159)][_0x369a2c(0x145)];if(!_0x530086)continue;_0x530086['is'](_0x369a2c(0x141))&&(_0x530086=_0x530086[_0x369a2c(0x146)]),_0x2e2d0a(_0x530086);}for(const _0x46b8ce of _0x57c89c[_0x369a2c(0x152)]()){const {match:_0x41a8a1,item:_0x14f8db}=_0x46b8ce,_0x53e0f1=_0x3e31c5[_0x369a2c(0x183)](_0x14f8db,_0x41a8a1[_0x369a2c(0x132)]),_0x72fee3=_0x53e0f1[_0x369a2c(0x164)](_0x41a8a1[0x0][_0x369a2c(0x1c4)]),_0x2c82cf=_0x3e31c5[_0x369a2c(0x1ab)](_0x53e0f1,_0x72fee3),_0x5af922=_0x41a8a1[0x0],_0x39ad80=_0x5af922[_0x369a2c(0x182)](this[_0x369a2c(0x18e)][_0x369a2c(0x1c4)],_0x5af922[_0x369a2c(0x1c4)]-this[_0x369a2c(0x148)][_0x369a2c(0x1c4)]),_0x17aab6=_0x8c6d18(_0x2c82cf);_0x17aab6[_0x369a2c(0x19b)]('id',_0x39ad80);const _0x264c80=_0x3e31c5[_0x369a2c(0x149)](_0x369a2c(0x1cb),_0x17aab6);_0x20cdf6[_0x369a2c(0x11d)][_0x369a2c(0x17b)][_0x369a2c(0x19f)](_0x2c82cf[_0x369a2c(0x1c6)],_0x369a2c(0x1cb))?_0x20cdf6[_0x369a2c(0x11d)][_0x369a2c(0x1b3)](_0x264c80,_0x2c82cf):_0x3e31c5[_0x369a2c(0x172)](_0x2c82cf),_0x5d1d18=!0x0;}return _0x5d1d18;function _0x2e2d0a(_0x485e2c){const _0x3c8770=_0x369a2c;let _0xec417c='',_0x3a8d5f=0x0;if(!_0x527e9e[_0x3c8770(0x1c2)](_0x485e2c))for(const _0x2fbfe2 of _0x485e2c[_0x3c8770(0x13e)]()){const _0x48b5c9=_0x2fbfe2[_0x3c8770(0x155)];if(_0x2fbfe2['is'](_0x3c8770(0x141))&&(''===_0xec417c&&_0x2fbfe2[_0x3c8770(0x185)]&&(_0x3a8d5f=_0x2fbfe2[_0x3c8770(0x185)]),_0xec417c+=_0x2fbfe2[_0x3c8770(0x125)]),!_0x48b5c9||_0x48b5c9['is'](_0x3c8770(0x13f))){for(const _0x442259 of _0xec417c[_0x3c8770(0x168)](_0xcc0ce5))_0x442259[_0x3c8770(0x132)]=_0x442259[_0x3c8770(0x132)]+_0x3a8d5f,_0x57c89c[_0x3c8770(0x117)]({'match':_0x442259,'item':_0x485e2c});_0x527e9e[_0x3c8770(0x1cc)](_0x485e2c),_0xec417c='';}_0x2fbfe2['is'](_0x3c8770(0x13f))&&_0x2e2d0a(_0x2fbfe2);}}function _0x8c6d18(_0x4421db){const _0x37a1a0=_0x369a2c,_0x2c2680=_0x4421db[_0x37a1a0(0x170)](),_0x165f03=_0x2c2680[_0x37a1a0(0x181)]()[_0x37a1a0(0x1d4)],_0xed7ef1=new Map(_0x165f03[_0x37a1a0(0x1ae)]());for(const _0xa8ebe0 of _0x2c2680)for(const [_0x36794b,_0x3cc957]of _0xed7ef1)_0xa8ebe0[_0x37a1a0(0x1ad)](_0x36794b)!==_0x3cc957&&_0xed7ef1[_0x37a1a0(0x19d)](_0x36794b);return _0xed7ef1;}});}[_0x30512b(0x165)](_0x50116){return{'id':_0x50116};}}