@ckeditor/ckeditor5-merge-fields 0.0.0-nightly-20240729.0 → 0.0.0-nightly-20240731.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-20240729.0",
3
+ "version": "0.0.0-nightly-20240731.0",
4
4
  "description": "Merge fields feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,11 +12,12 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "0.0.0-nightly-20240729.0",
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20240729.0",
17
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240729.0",
18
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240729.0",
19
- "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20240729.0",
15
+ "ckeditor5": "0.0.0-nightly-20240731.0",
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20240731.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20240731.0",
18
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240731.0",
19
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240731.0",
20
+ "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20240731.0",
20
21
  "lodash-es": "4.17.21"
21
22
  },
22
23
  "license": "SEE LICENSE IN LICENSE.md",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0xead7(){var _0x2c3162=['2627960tjsGmA','19521128oZUVyr','1619364ifKGLP','400390XIqBSN','241225JzjpCZ','15366EELEyw','999758rxRELn','154MXewvF'];_0xead7=function(){return _0x2c3162;};return _0xead7();}(function(_0x4bf757,_0x5e247c){var _0x39e8a9=_0x3984,_0x16e516=_0x4bf757();while(!![]){try{var _0x59ed57=-parseInt(_0x39e8a9(0x87))/0x1+-parseInt(_0x39e8a9(0x8a))/0x2+-parseInt(_0x39e8a9(0x86))/0x3+-parseInt(_0x39e8a9(0x84))/0x4+-parseInt(_0x39e8a9(0x88))/0x5+parseInt(_0x39e8a9(0x89))/0x6*(parseInt(_0x39e8a9(0x83))/0x7)+parseInt(_0x39e8a9(0x85))/0x8;if(_0x59ed57===_0x5e247c)break;else _0x16e516['push'](_0x16e516['shift']());}catch(_0x1f8d6f){_0x16e516['push'](_0x16e516['shift']());}}}(_0xead7,0x55bd7));export{default as MergeFields}from'./mergefields.js';export{default as MergeFieldsEditing}from'./mergefieldsediting.js';function _0x3984(_0x5d8fc9,_0x5c865c){var _0xead708=_0xead7();return _0x3984=function(_0x3984fa,_0x466cd8){_0x3984fa=_0x3984fa-0x83;var _0x1ac695=_0xead708[_0x3984fa];return _0x1ac695;},_0x3984(_0x5d8fc9,_0x5c865c);}export{default as MergeFieldsUI}from'./mergefieldsui.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ const _0x204208=_0x1a61;(function(_0x3f89ae,_0x5165c9){const _0x4096b2=_0x1a61,_0x543df0=_0x3f89ae();while(!![]){try{const _0x23cde1=parseInt(_0x4096b2(0x1f0))/0x1+-parseInt(_0x4096b2(0x1da))/0x2*(-parseInt(_0x4096b2(0x1ed))/0x3)+parseInt(_0x4096b2(0x1f1))/0x4*(-parseInt(_0x4096b2(0x1eb))/0x5)+parseInt(_0x4096b2(0x1d3))/0x6+parseInt(_0x4096b2(0x1dc))/0x7*(-parseInt(_0x4096b2(0x1e2))/0x8)+-parseInt(_0x4096b2(0x1ee))/0x9*(parseInt(_0x4096b2(0x1ea))/0xa)+parseInt(_0x4096b2(0x1d9))/0xb*(parseInt(_0x4096b2(0x1e7))/0xc);if(_0x23cde1===_0x5165c9)break;else _0x543df0['push'](_0x543df0['shift']());}catch(_0x8cd5b8){_0x543df0['push'](_0x543df0['shift']());}}}(_0x4c73,0x45c69));function _0x4c73(){const _0x34c4f9=['34388tCkMcw','insertContent','34517PlcjGB','setAttribute','getAttributes','selection','after','isEnabled','784cxRnwJ','deleteContent','checkAttribute','execute','focus','36AThLWU','checkChild','refresh','5030yOOAXY','30qvvWsN','createElement','99QaFnXZ','5463ARcTIC','string','12946JgqpUq','271220JlWSPM','schema','2846334GRygAZ','document','editor','model','change','mergeField','1563661LGHxeJ'];_0x4c73=function(){return _0x34c4f9;};return _0x4c73();}import{Command as _0x356a5f}from'ckeditor5/src/core.js';function _0x1a61(_0x594dea,_0x5198d8){const _0x4c73cc=_0x4c73();return _0x1a61=function(_0x1a614b,_0x1d59bf){_0x1a614b=_0x1a614b-0x1d3;let _0x1bbfc7=_0x4c73cc[_0x1a614b];return _0x1bbfc7;},_0x1a61(_0x594dea,_0x5198d8);}export default class r extends _0x356a5f{[_0x204208(0x1e9)](){const _0x4e2652=_0x204208,_0x1ebe16=this[_0x4e2652(0x1d5)][_0x4e2652(0x1d6)],_0xdddf2f=_0x1ebe16[_0x4e2652(0x1f2)][_0x4e2652(0x1e8)](_0x1ebe16[_0x4e2652(0x1d4)][_0x4e2652(0x1df)][_0x4e2652(0x1e6)],_0x4e2652(0x1d8));this[_0x4e2652(0x1e1)]=_0xdddf2f;}[_0x204208(0x1e5)](_0x14aa57){const _0x5d243e=_0x204208;if(!_0x14aa57||_0x5d243e(0x1ef)!=typeof _0x14aa57)return;const _0x10a1a1=this[_0x5d243e(0x1d5)][_0x5d243e(0x1d6)];_0x10a1a1[_0x5d243e(0x1d7)](_0x39cb02=>{const _0x2e4bb3=_0x5d243e;_0x10a1a1[_0x2e4bb3(0x1e3)](_0x10a1a1[_0x2e4bb3(0x1d4)][_0x2e4bb3(0x1df)]);const _0x2e9d5d=_0x39cb02[_0x2e4bb3(0x1ec)](_0x2e4bb3(0x1d8),{'id':_0x14aa57});for(const [_0x15080e,_0x59c4c6]of _0x10a1a1[_0x2e4bb3(0x1d4)][_0x2e4bb3(0x1df)][_0x2e4bb3(0x1de)]())_0x10a1a1[_0x2e4bb3(0x1f2)][_0x2e4bb3(0x1e4)](_0x2e9d5d,_0x15080e)&&_0x39cb02[_0x2e4bb3(0x1dd)](_0x15080e,_0x59c4c6,_0x2e9d5d);_0x10a1a1[_0x2e4bb3(0x1db)](_0x2e9d5d,_0x10a1a1[_0x2e4bb3(0x1d4)][_0x2e4bb3(0x1df)],0x0,{'setSelection':_0x2e4bb3(0x1e0)});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x4edcdb=_0x5715;(function(_0x3aed17,_0x1a7d5e){const _0x2e4916=_0x5715,_0x1b5a52=_0x3aed17();while(!![]){try{const _0x4de3f9=-parseInt(_0x2e4916(0x1d1))/0x1+parseInt(_0x2e4916(0x1d0))/0x2*(parseInt(_0x2e4916(0x1c7))/0x3)+parseInt(_0x2e4916(0x1ca))/0x4+parseInt(_0x2e4916(0x1d3))/0x5+-parseInt(_0x2e4916(0x1cc))/0x6*(-parseInt(_0x2e4916(0x1c6))/0x7)+-parseInt(_0x2e4916(0x1c8))/0x8+parseInt(_0x2e4916(0x1c3))/0x9;if(_0x4de3f9===_0x1a7d5e)break;else _0x1b5a52['push'](_0x1b5a52['shift']());}catch(_0x2287a7){_0x1b5a52['push'](_0x1b5a52['shift']());}}}(_0x4fee,0x249d1));import{Plugin as _0x46d244}from'ckeditor5/src/core.js';import{Widget as _0xe2e54d}from'ckeditor5/src/widget.js';import _0x19318b from'./mergefieldsediting.js';function _0x5715(_0x58a819,_0x4c9819){const _0x4fee53=_0x4fee();return _0x5715=function(_0x571534,_0x5db5e9){_0x571534=_0x571534-0x1c2;let _0x3bbcf5=_0x4fee53[_0x571534];return _0x3bbcf5;},_0x5715(_0x58a819,_0x4c9819);}function _0x4fee(){const _0xde99ac=['getDataSetValues','getMergeFieldDefaultValue','MergeFields','2nUjmco','47642zjbkfZ','Mention','311530EAWxgs','getMergeFieldsIds','getDefaultValues','getMergeFieldValue','pluginName','397035cjCmbn','get','plugins','7PLxgwg','473289HxSGTC','2045856rOIAhi','editor','229980dTgRbv','requires','789984bTGCUe'];_0x4fee=function(){return _0xde99ac;};return _0x4fee();}import _0x58551b from'./mergefieldsui.js';export default class l extends _0x46d244{static get[_0x4edcdb(0x1cb)](){const _0xf06105=_0x4edcdb;return[_0xf06105(0x1d2),_0x19318b,_0x58551b,_0xe2e54d];}static get[_0x4edcdb(0x1c2)](){const _0x2b0f7e=_0x4edcdb;return _0x2b0f7e(0x1cf);}[_0x4edcdb(0x1d4)](){const _0x2fb7e8=_0x4edcdb;return this[_0x2fb7e8(0x1c9)][_0x2fb7e8(0x1c5)][_0x2fb7e8(0x1c4)](_0x19318b)[_0x2fb7e8(0x1d4)]();}[_0x4edcdb(0x1d5)](){const _0x52915e=_0x4edcdb,_0x14f0a7=this[_0x52915e(0x1c9)][_0x52915e(0x1c5)][_0x52915e(0x1c4)](_0x19318b),_0x5a3513={},_0x44934=this[_0x52915e(0x1d4)]();for(const _0x389fec of _0x44934)_0x5a3513[_0x389fec]=_0x14f0a7[_0x52915e(0x1ce)](_0x389fec);return _0x5a3513;}[_0x4edcdb(0x1cd)](_0x558fc5,_0x58e26a=!0x1){const _0x2a5c2e=_0x4edcdb,_0x1a3e5c=this[_0x2a5c2e(0x1c9)][_0x2a5c2e(0x1c5)][_0x2a5c2e(0x1c4)](_0x19318b),_0x86e573={},_0x29304d=this[_0x2a5c2e(0x1d4)]();for(const _0x58bd3b of _0x29304d){let _0x135af6=_0x1a3e5c[_0x2a5c2e(0x1d6)](_0x58bd3b,_0x558fc5);null===_0x135af6&&_0x58e26a&&(_0x135af6=_0x1a3e5c[_0x2a5c2e(0x1ce)](_0x58bd3b)),_0x86e573[_0x58bd3b]=_0x135af6;}return _0x86e573;}}
@@ -37,7 +37,7 @@ export interface MergeFieldsConfig {
37
37
  /**
38
38
  * A prefix used to identify merge fields in the editor data.
39
39
  *
40
- * A list of allowed characters includes: ``'"`!#%:;=@{}~$()*+/?[\]^|``.
40
+ * The list of allowed characters includes: ``'"`!#%:;=@{}~$()*+/?[\]^|``.
41
41
  *
42
42
  * @default '\{\{'
43
43
  */
@@ -45,7 +45,7 @@ export interface MergeFieldsConfig {
45
45
  /**
46
46
  * A suffix used to identify merge fields in the editor data.
47
47
  *
48
- * A list of allowed characters includes: ``'"`!#%:;=@{}~$()*+/?[\]^|``.
48
+ * The list of allowed characters includes: ``'"`!#%:;=@{}~$()*+/?[\]^|``.
49
49
  *
50
50
  * @default '\}\}'
51
51
  */
@@ -77,45 +77,54 @@ export interface MergeFieldsConfig {
77
77
  * * `'$defaultValues'` - displays the default values,
78
78
  * * one of the configured {@link module:merge-fields/mergefieldsconfig~MergeFieldsConfig#dataSets data sets} identifiers.
79
79
  *
80
- * If not set, it will default to the one of the {@link ~MergeFieldsConfig#previewModes available preview modes} with the priority as
80
+ * If not set, it will default to the one of the {@link ~MergeFieldsConfig#previewModes available preview modes}, with the priority as
81
81
  * in the list above.
82
82
  */
83
83
  initialPreviewMode?: string;
84
84
  }
85
85
  export type GroupDefinition = {
86
86
  /**
87
- * The unique identifier of the group. If {@link GroupDefinition#groupLabel} is not specified, it will be used as a label
88
- * in the UI.
87
+ * The unique identifier of the group.
88
+ *
89
+ * If {@link GroupDefinition#groupLabel} is not specified, the ID will be used as a label in the UI.
89
90
  */
90
91
  groupId: string;
91
92
  /**
92
93
  * The human-readable label of the group.
94
+ *
95
+ * It is displayed by the feature's UI.
93
96
  */
94
97
  groupLabel?: string;
95
98
  /**
96
- * The array of merge field or group definitions that belong to the group.
99
+ * The array of merge fields definitions that belong to the group.
97
100
  */
98
- definitions: Array<GroupDefinition | MergeFieldDefinition>;
101
+ definitions: Array<MergeFieldDefinition>;
99
102
  };
100
103
  export type MergeFieldDefinition = {
101
104
  /**
102
- * The unique identifier of the merge field. If {@link MergeFieldDefinition#label} is not specified, it will be used as a label.
105
+ * The unique identifier of the merge field.
106
+ *
107
+ * If {@link MergeFieldDefinition#label} is not specified, the ID will be used as a label.
103
108
  *
104
- * A list of allowed characters includes: `a-z`, `A-Z`, `0-9` and `_.-` characters.
109
+ * The list of allowed characters includes: `a-z`, `A-Z`, `0-9`, `_`, `.`, and `-`.
105
110
  */
106
111
  id: string;
107
112
  /**
108
113
  * The human-readable label of the merge field.
114
+ *
115
+ * It is displayed by the feature's UI and inside the editing area.
109
116
  */
110
117
  label?: string;
111
118
  /**
112
- * Default value of the merge field used if value in the dataset is not provided.
119
+ * Default value of the merge field.
120
+ *
121
+ * It is used if a value for given merge field has not been provided in a data set.
113
122
  */
114
- defaultValue?: string | ((editor: Editor) => string);
123
+ defaultValue?: MergeFieldDataSetValue;
115
124
  };
116
125
  export type DataSetDefinition = {
117
126
  /**
118
- * A unique identifier of the data set. It should not start with `$` as it is reserved for internal use.
127
+ * A unique identifier of the data set. It cannot start with `$`, as it is reserved for internal use.
119
128
  */
120
129
  id: string;
121
130
  /**
@@ -125,9 +134,9 @@ export type DataSetDefinition = {
125
134
  /**
126
135
  * The data to be displayed in the editor in place of merge fields when the data set is previewed.
127
136
  *
128
- * The keys of this object are merge field names, while values are the merge field values.
129
- *
130
- * For example:
137
+ * The keys of this object are merge field IDs, while values are the merge field values, which can be strings or functions.
138
+ * If the value is specified as a function, it should return a string. The function will be evaluated each time the data set values
139
+ * are retrieved.
131
140
  *
132
141
  * ```ts
133
142
  * const mergeFieldsConfig = {
@@ -141,5 +150,6 @@ export type DataSetDefinition = {
141
150
  * };
142
151
  * ```
143
152
  */
144
- values: Record<string, string | ((editor: Editor) => string)>;
153
+ values: Record<string, MergeFieldDataSetValue>;
145
154
  };
155
+ export type MergeFieldDataSetValue = string | ((editor: Editor) => string);
@@ -16,7 +16,7 @@ export default class MergeFieldsEditing extends Plugin {
16
16
  */
17
17
  previewMode: string;
18
18
  /**
19
- * All configured preview modes, available to be set as a value for {@link ~#previewMode}.
19
+ * All configured preview modes, available to be set as a value for {@link #previewMode}.
20
20
  */
21
21
  readonly availablePreviewModes: Array<string>;
22
22
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};}}
23
+ const _0xf2ee3d=_0x1e42;(function(_0x3e74a8,_0x83d7cb){const _0x5e9cde=_0x1e42,_0x1199ec=_0x3e74a8();while(!![]){try{const _0x538dac=-parseInt(_0x5e9cde(0x1bc))/0x1*(parseInt(_0x5e9cde(0x1ae))/0x2)+parseInt(_0x5e9cde(0x1cd))/0x3*(parseInt(_0x5e9cde(0x20f))/0x4)+parseInt(_0x5e9cde(0x181))/0x5*(-parseInt(_0x5e9cde(0x183))/0x6)+-parseInt(_0x5e9cde(0x173))/0x7*(parseInt(_0x5e9cde(0x202))/0x8)+parseInt(_0x5e9cde(0x1d0))/0x9+parseInt(_0x5e9cde(0x206))/0xa*(parseInt(_0x5e9cde(0x224))/0xb)+-parseInt(_0x5e9cde(0x1a4))/0xc*(-parseInt(_0x5e9cde(0x185))/0xd);if(_0x538dac===_0x83d7cb)break;else _0x1199ec['push'](_0x1199ec['shift']());}catch(_0x4723dc){_0x1199ec['push'](_0x1199ec['shift']());}}}(_0x1b89,0x2b785));function _0x1b89(){const _0x1bae73=['merge-fields-duplicate-data-set-id','2637132XIJxVb','root','merge-fields-trial-license-key-reached-limit-changes','_mergeFieldElements','toDomElement','merge-fields-data-set-not-found','WARNING_MISSING_DEFINITION','mergeFields.prefix','value','parent','2182nRRMPv','getAttribute','concat','matchAll','getChildren','getShiftedBy','_registerConversionPostFixer','ck-merge-field\x20ck-merge-field_with-value','editingDowncast','hasClass','for','isLocal','ck-merge-field__affix','modelRange','77EfgHQY','domConverter','getMergeFieldsIds','_licenseKeyCheckInterval','getChanges','previewMergeFields','filter','_validateConfig','createElement','test','getMergeFieldValue','MergeFieldsEditing','position','reduce','from','init','split','400485xMTmpt','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','upcast','121626QEIhyV','merge-fields-invalid-prefix-or-suffix','register','mergeFieldStatus','getItems','merge-fields-invalid-preview-modes-configuration','registerInlineObjectMatcher','setCustomProperty','element','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','createRange','appendChild','getAttributes','ck-merge-field','slice','commands','differ','type','flattenedMergeFieldDefinitions','insertMergeField','dataPipeline:transparentRendering','$defaultValues','WARNING_MISSING_DATA_USED_DEFAULT_VALUE','_mergeFieldSuffix','join','index','$graveyard','mergeField','remove','match','getDocumentMergeFieldsIds','_validatePreviewMode','push','change:data','find','createRangeIn','nextSibling','consume','map','ck-merge-field__content','_getDefaultDefinition','createPositionAt','next','editor','_getAvailablePreviewModes','\x20]+','_trackAddedMergeFields','info','document','includes','128GFpRdj','_mergeFieldRegExp','defaultValue','innerHTML','754370msOLMX','_createTextualMergeField','bind','_getFlattenedMergeFieldDefinitions','batch','modelCursor','insert','reconvertItem','schema','4HlcXsb','mergeFieldsLicenseKeyValid','_prepareViewElementData','createText','mergeFields.initialPreviewMode','availablePreviewModes','previewMode','definitions','forEach','WARNING_MISSING_DATA','pluginName','startOffset','nodeAfter','_mergeFieldPrefix','function','dataDowncast','$inlineObject','getMergeFieldDefaultValue','editing','start','ck-merge-field__icon','11YYDIUN','mergeFieldsData','createContainerElement','registerPostFixer','_refreshMergeFields','merge-fields-invalid-preview-mode-set','_createMergeFieldWidget','label','model','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.','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_default-value-used','text','merge-fields-invalid-id','mapper','mergeFields.suffix','insertObject','define','viewToModelPosition','$text','120064jLokPX','ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','set','groupId','every','$labels','get','values','conversion','length','merge-fields-duplicate-merge-field-id','change:previewMode','rootName','mergeFieldsLicenseKeyTrialLimit:operations','1726185LQMwQE','checkChild','6MwlVNB','name','39KlVHHV','destroy','listenTo','data','getDefinition','WARNING_MISSING_DEFAULT_VALUE','delete','has','mergeFields.definitions','span','offsetSize','_defineSchema','add','mergeFields.previewModes','mergeFieldsLicenseKeyInvalid','_defineConverters','merge-fields-invalid-license-key','elementToElement','config','view','licenseKey','merge-fields-prefix-and-suffix-must-differ','mergeFields.dataSets','render','reverse','getLabel','$dataSets','createUIElement','merge-fields-duplicate-group-id','mergeFieldsLicenseKeyTrial'];_0x1b89=function(){return _0x1bae73;};return _0x1b89();}import{toWidget as _0x56d0ed,viewToModelPositionOutsideModelElement as _0x1f82f5}from'ckeditor5/src/widget.js';import{Plugin as _0x3a1e35}from'ckeditor5/src/core.js';import{IconView as _0x2aa912}from'ckeditor5/src/ui.js';import{isParagraphable as _0x458f3b,wrapInParagraph as _0x50ccdd}from'ckeditor5/src/engine.js';import{CKEditorError as _0xa66944}from'ckeditor5/src/utils.js';import _0x461526 from'./insertmergefieldcommand.js';import _0x128622 from'./previewmergefieldscommand.js';import _0x410d5d from'../theme/icons/warning.svg';function _0x1e42(_0x4db0ee,_0x784a65){const _0x1b891a=_0x1b89();return _0x1e42=function(_0x1e4222,_0x4d0436){_0x1e4222=_0x1e4222-0x167;let _0x379725=_0x1b891a[_0x1e4222];return _0x379725;},_0x1e42(_0x4db0ee,_0x784a65);}export default class o extends _0x3a1e35{static get[_0xf2ee3d(0x219)](){const _0x585a19=_0xf2ee3d;return _0x585a19(0x1c7);}constructor(_0x1f16ae){const _0x140317=_0xf2ee3d;super(_0x1f16ae),this[_0x140317(0x1e2)]=[],_0x1f16ae[_0x140317(0x197)][_0x140317(0x170)](_0x140317(0x192),[_0x140317(0x178),_0x140317(0x1e5),_0x140317(0x19f)]),_0x1f16ae[_0x140317(0x197)][_0x140317(0x170)](_0x140317(0x19b),[]),_0x1f16ae[_0x140317(0x197)][_0x140317(0x170)](_0x140317(0x18d),[]),_0x1f16ae[_0x140317(0x197)][_0x140317(0x170)](_0x140317(0x1ab),'{{'),_0x1f16ae[_0x140317(0x197)][_0x140317(0x170)](_0x140317(0x16e),'}}'),this[_0x140317(0x21c)]=_0x1f16ae[_0x140317(0x197)][_0x140317(0x179)](_0x140317(0x1ab)),this[_0x140317(0x1e7)]=_0x1f16ae[_0x140317(0x197)][_0x140317(0x179)](_0x140317(0x16e)),this[_0x140317(0x1e2)]=this[_0x140317(0x209)](),this[_0x140317(0x1c3)]();const _0x2ccd9d='\x5c'+this[_0x140317(0x21c)][_0x140317(0x1cc)]('')[_0x140317(0x1e8)]('\x5c'),_0x12eee8='\x5c'+this[_0x140317(0x1e7)][_0x140317(0x1cc)]('')[_0x140317(0x1e8)]('\x5c');this[_0x140317(0x203)]=new RegExp('('+_0x2ccd9d+'[^'+(_0x2ccd9d+_0x12eee8)+_0x140317(0x1fd)+_0x12eee8+')','g'),this[_0x140317(0x214)]=this[_0x140317(0x1fc)]();const _0x1e2281=_0x1f16ae[_0x140317(0x197)][_0x140317(0x179)](_0x140317(0x213))||this[_0x140317(0x214)][0x0];this[_0x140317(0x1ef)](_0x1e2281),this[_0x140317(0x175)](_0x140317(0x215),_0x1e2281),this[_0x140317(0x1a7)]=new Set(),this[_0x140317(0x1bf)]=null;}[_0xf2ee3d(0x1cb)](){const _0x5677e4=_0xf2ee3d,_0x48a0df=this[_0x5677e4(0x1fb)];_0x48a0df[_0x5677e4(0x1df)][_0x5677e4(0x191)](_0x5677e4(0x1e3),new _0x461526(_0x48a0df)),_0x48a0df[_0x5677e4(0x1df)][_0x5677e4(0x191)](_0x5677e4(0x1c1),new _0x128622(_0x48a0df)),this[_0x5677e4(0x190)](),this[_0x5677e4(0x194)](),this['on'](_0x5677e4(0x17e),(_0x5d0214,_0x3fc5d9,_0x1d1242)=>{const _0x85849e=_0x5677e4;this[_0x85849e(0x1ef)](_0x1d1242),this[_0x85849e(0x228)]();}),this[_0x5677e4(0x187)](_0x48a0df[_0x5677e4(0x168)][_0x5677e4(0x200)],_0x5677e4(0x1f1),()=>{const _0xf82340=_0x5677e4;this[_0xf82340(0x1fe)]();}),_0x48a0df[_0x5677e4(0x221)][_0x5677e4(0x16d)]['on'](_0x5677e4(0x171),_0x1f82f5(_0x48a0df[_0x5677e4(0x168)],_0x42c69c=>_0x42c69c[_0x5677e4(0x1b7)](_0x5677e4(0x1dd)))),this[_0x5677e4(0x1b4)](),_0x48a0df[_0x5677e4(0x221)][_0x5677e4(0x198)][_0x5677e4(0x1bd)][_0x5677e4(0x1d6)]({'name':_0x5677e4(0x18e),'classes':[_0x5677e4(0x1dd)]}),this[_0x5677e4(0x199)]=_0x48a0df[_0x5677e4(0x197)][_0x5677e4(0x179)](_0x5677e4(0x199));const _0xee2eb=this[_0x5677e4(0x1fb)];this[_0x5677e4(0x1bf)]=setInterval(()=>{const _0x53d043=_0x5677e4;let _0x3f17f2;for(const _0x138540 in _0xee2eb){const _0x259306=_0x138540,_0x2491f2=_0xee2eb[_0x259306];if(_0x53d043(0x1a2)===_0x2491f2||_0x53d043(0x193)===_0x2491f2||_0x53d043(0x210)===_0x2491f2||_0x53d043(0x180)===_0x2491f2){delete _0xee2eb[_0x259306],_0x3f17f2=_0x2491f2;break;}}if(_0x53d043(0x193)===_0x3f17f2)throw clearInterval(this[_0x53d043(0x1bf)]),new _0xa66944(_0x53d043(0x195),null);if(_0x53d043(0x1a2)===_0x3f17f2&&console[_0x53d043(0x1ff)](_0x53d043(0x169)),_0x53d043(0x180)===_0x3f17f2)throw clearInterval(this[_0x53d043(0x1bf)]),new _0xa66944(_0x53d043(0x1a6),null);_0x53d043(0x210)===_0x3f17f2&&clearInterval(this[_0x53d043(0x1bf)]);},0x3e8);}[_0xf2ee3d(0x19e)](_0x5d3b99){const _0x199187=_0xf2ee3d,_0x5bb13d=this[_0x199187(0x189)](_0x5d3b99);return _0x5bb13d[_0x199187(0x167)]||_0x5bb13d['id'];}[_0xf2ee3d(0x220)](_0x22ee9a){const _0x53bc01=_0xf2ee3d,_0x4baa3f=this[_0x53bc01(0x189)](_0x22ee9a);return void 0x0===_0x4baa3f[_0x53bc01(0x204)]?null:_0x53bc01(0x21d)==typeof _0x4baa3f[_0x53bc01(0x204)]?_0x4baa3f[_0x53bc01(0x204)](this[_0x53bc01(0x1fb)]):_0x4baa3f[_0x53bc01(0x204)];}[_0xf2ee3d(0x1c6)](_0x4f2159,_0x5865cf){const _0x1f9781=_0xf2ee3d,_0x1bda69=this[_0x1f9781(0x1fb)][_0x1f9781(0x197)][_0x1f9781(0x179)](_0x1f9781(0x19b))[_0x1f9781(0x1f2)](_0xe8aa06=>_0xe8aa06['id']===_0x5865cf);if(!_0x1bda69)throw new _0xa66944(_0x1f9781(0x1a9),null);const _0x1b7173=this[_0x1f9781(0x189)](_0x4f2159),_0x531a8f=_0x1bda69[_0x1f9781(0x17a)][_0x1b7173['id']];return void 0x0===_0x531a8f?null:_0x1f9781(0x21d)==typeof _0x531a8f?_0x531a8f(this[_0x1f9781(0x1fb)]):_0x531a8f;}[_0xf2ee3d(0x1ee)](){const _0x5b5ad5=_0xf2ee3d,_0x3b3b82=new Set();for(const _0x64937c of this[_0x5b5ad5(0x1a7)])_0x5b5ad5(0x1ea)!==_0x64937c[_0x5b5ad5(0x1a5)][_0x5b5ad5(0x17f)]&&_0x3b3b82[_0x5b5ad5(0x191)](_0x64937c[_0x5b5ad5(0x1af)]('id'));return Array[_0x5b5ad5(0x1ca)](_0x3b3b82);}[_0xf2ee3d(0x1be)](){const _0x351b80=_0xf2ee3d,_0x2ce6fa=this[_0x351b80(0x1e2)][_0x351b80(0x1f6)](_0x4837fa=>_0x4837fa['id']),_0x535a32=this[_0x351b80(0x1ee)]();return Array[_0x351b80(0x1ca)](new Set([..._0x2ce6fa,..._0x535a32]));}[_0xf2ee3d(0x189)](_0xefeb22){const _0x18d73c=_0xf2ee3d;return this[_0x18d73c(0x1e2)][_0x18d73c(0x1f2)](_0x4708a0=>_0x4708a0['id']===_0xefeb22)||this[_0x18d73c(0x1f8)](_0xefeb22);}[_0xf2ee3d(0x186)](){const _0x2fba69=_0xf2ee3d;this[_0x2fba69(0x1bf)]&&clearInterval(this[_0x2fba69(0x1bf)]);}[_0xf2ee3d(0x209)](){const _0x4a7087=_0xf2ee3d,_0x16b97a=new Set(),_0x341b00=this[_0x4a7087(0x1fb)];return _0x341b00[_0x4a7087(0x197)][_0x4a7087(0x179)](_0x4a7087(0x18d))[_0x4a7087(0x1c9)]((_0x5f0c17,_0x21347f)=>{const _0x2f7255=_0x4a7087;if(_0x2f7255(0x176)in _0x21347f){if(_0x16b97a[_0x2f7255(0x18c)](_0x21347f[_0x2f7255(0x176)]))throw new _0xa66944(_0x2f7255(0x1a1),_0x341b00,{'duplicateId':_0x21347f[_0x2f7255(0x176)]});_0x16b97a[_0x2f7255(0x191)](_0x21347f[_0x2f7255(0x176)]);}return _0x2f7255(0x176)in _0x21347f?function(_0x3b525f,_0x5f18ba){const _0x5079dd=_0x2f7255;for(const _0x3528f1 of _0x5f18ba[_0x5079dd(0x216)])_0x3b525f=_0x3b525f[_0x5079dd(0x1b0)](_0x3528f1);return _0x3b525f;}[_0x2f7255(0x208)](_0x341b00)(_0x5f0c17,_0x21347f):_0x5f0c17[_0x2f7255(0x1b0)](_0x21347f);},new Array());}[_0xf2ee3d(0x1c3)](){const _0x54ba87=_0xf2ee3d,_0x522001=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x522001[_0x54ba87(0x1c5)](this[_0x54ba87(0x21c)])||!_0x522001[_0x54ba87(0x1c5)](this[_0x54ba87(0x1e7)]))throw new _0xa66944(_0x54ba87(0x1d1),this,{'prefix':this[_0x54ba87(0x21c)],'suffix':this[_0x54ba87(0x1e7)]});const _0x517faf=/^[a-zA-Z0-9_.-]+$/,_0x3f3104=new Set();if(this[_0x54ba87(0x1e2)][_0x54ba87(0x1f6)](_0x27ed57=>{const _0x43a65e=_0x54ba87;if(!_0x517faf[_0x43a65e(0x1c5)](_0x27ed57['id']))throw new _0xa66944(_0x43a65e(0x16c),this,{'incorrectId':_0x27ed57['id']});if(_0x3f3104[_0x43a65e(0x18c)](_0x27ed57['id']))throw new _0xa66944(_0x43a65e(0x17d),this,{'duplicateId':_0x27ed57['id']});_0x3f3104[_0x43a65e(0x191)](_0x27ed57['id']);}),this[_0x54ba87(0x21c)]===this[_0x54ba87(0x1e7)])throw new _0xa66944(_0x54ba87(0x19a),this);const _0x20608d=this[_0x54ba87(0x1fb)][_0x54ba87(0x197)][_0x54ba87(0x179)](_0x54ba87(0x192)),_0x436243=[_0x54ba87(0x178),_0x54ba87(0x1e5),_0x54ba87(0x19f)];if(!_0x20608d[_0x54ba87(0x17c)]||!_0x20608d[_0x54ba87(0x177)](_0x297136=>_0x436243[_0x54ba87(0x201)](_0x297136)))throw new _0xa66944(_0x54ba87(0x1d5),this,{'invalidConfig':_0x20608d});const _0x27839f=new Set(),_0x3f4dd0=this[_0x54ba87(0x1fb)][_0x54ba87(0x197)][_0x54ba87(0x179)](_0x54ba87(0x19b));for(const _0x5581a7 of _0x3f4dd0){if(_0x27839f[_0x54ba87(0x18c)](_0x5581a7['id']))throw new _0xa66944(_0x54ba87(0x1a3),this,{'duplicateId':_0x5581a7['id']});_0x27839f[_0x54ba87(0x191)](_0x5581a7['id']);}}[_0xf2ee3d(0x1fc)](){const _0x24e0c4=_0xf2ee3d,_0x230656=this[_0x24e0c4(0x1fb)][_0x24e0c4(0x197)][_0x24e0c4(0x179)](_0x24e0c4(0x192)),_0x500221=[];if(_0x230656[_0x24e0c4(0x201)](_0x24e0c4(0x178))&&_0x500221[_0x24e0c4(0x1f0)](_0x24e0c4(0x178)),_0x230656[_0x24e0c4(0x201)](_0x24e0c4(0x1e5))&&_0x500221[_0x24e0c4(0x1f0)](_0x24e0c4(0x1e5)),_0x230656[_0x24e0c4(0x201)](_0x24e0c4(0x19f))){const _0x336854=this[_0x24e0c4(0x1fb)][_0x24e0c4(0x197)][_0x24e0c4(0x179)](_0x24e0c4(0x19b));_0x500221[_0x24e0c4(0x1f0)](..._0x336854[_0x24e0c4(0x1f6)](_0x3a2ea4=>_0x3a2ea4['id']));}return _0x500221;}[_0xf2ee3d(0x190)](){const _0x360b08=_0xf2ee3d;this[_0x360b08(0x1fb)][_0x360b08(0x168)][_0x360b08(0x20e)][_0x360b08(0x1d2)](_0x360b08(0x1eb),{'inheritAllFrom':_0x360b08(0x21f),'allowAttributes':['id'],'allowWhere':_0x360b08(0x172)});}[_0xf2ee3d(0x194)](){const _0x5afeb1=_0xf2ee3d,_0x29365c=this[_0x5afeb1(0x1fb)][_0x5afeb1(0x17b)];_0x29365c[_0x5afeb1(0x1b8)](_0x5afeb1(0x1cf))[_0x5afeb1(0x191)](_0x215362=>{const _0x3475ef=_0x5afeb1;_0x215362['on'](_0x3475ef(0x16b),(_0x37dc82,_0x4c7cca,_0x1e68e2)=>{const _0x2875af=_0x3475ef,{consumable:_0x229e8a,writer:_0x1f15cf,schema:_0x5d2a9b}=_0x1e68e2,{viewItem:_0x55f2d6}=_0x4c7cca;if(!_0x229e8a[_0x2875af(0x1c5)](_0x55f2d6))return;const _0x23f927=_0x55f2d6[_0x2875af(0x188)][_0x2875af(0x1cc)](this[_0x2875af(0x203)])[_0x2875af(0x1c2)](_0x440d0e=>_0x440d0e);if(0x1!==_0x23f927[_0x2875af(0x17c)]||_0x23f927[0x0][_0x2875af(0x1ed)](this[_0x2875af(0x203)])){if(!_0x5d2a9b[_0x2875af(0x182)](_0x4c7cca[_0x2875af(0x20b)],_0x2875af(0x172))){if(!_0x458f3b(_0x4c7cca[_0x2875af(0x20b)],_0x2875af(0x172),_0x5d2a9b))return;_0x4c7cca[_0x2875af(0x20b)]=_0x50ccdd(_0x4c7cca[_0x2875af(0x20b)],_0x1f15cf);}_0x229e8a[_0x2875af(0x1f5)](_0x55f2d6);for(const _0x3ad628 of _0x23f927){const _0x979663=_0x4c7cca[_0x2875af(0x20b)];let _0x14be57;if(_0x3ad628[_0x2875af(0x1ed)](this[_0x2875af(0x203)])){const _0x22a669=_0x3ad628[_0x2875af(0x1de)](this[_0x2875af(0x21c)][_0x2875af(0x17c)],_0x3ad628[_0x2875af(0x17c)]-this[_0x2875af(0x1e7)][_0x2875af(0x17c)]);_0x14be57=_0x1f15cf[_0x2875af(0x1c4)](_0x2875af(0x1eb),{'id':_0x22a669});}else _0x14be57=_0x1f15cf[_0x2875af(0x212)](_0x3ad628);_0x1f15cf[_0x2875af(0x20c)](_0x14be57,_0x979663),_0x4c7cca[_0x2875af(0x20b)]=_0x979663[_0x2875af(0x1b3)](_0x14be57[_0x2875af(0x18f)]),_0x4c7cca[_0x2875af(0x1bb)]=_0x1f15cf[_0x2875af(0x1da)](_0x4c7cca[_0x2875af(0x1bb)]?_0x4c7cca[_0x2875af(0x1bb)][_0x2875af(0x222)]:_0x979663,_0x4c7cca[_0x2875af(0x20b)]);}}});}),_0x29365c[_0x5afeb1(0x1b8)](_0x5afeb1(0x1b6))[_0x5afeb1(0x196)]({'model':_0x5afeb1(0x1eb),'view':(_0x4e3fd1,{writer:_0x271ddd})=>this[_0x5afeb1(0x22a)](_0x4e3fd1,_0x271ddd)}),_0x29365c[_0x5afeb1(0x1b8)](_0x5afeb1(0x21e))[_0x5afeb1(0x196)]({'model':_0x5afeb1(0x1eb),'view':(_0x214e78,{writer:_0x31261d,options:_0x4fdd42})=>this[_0x5afeb1(0x207)](_0x214e78,_0x31261d,_0x4fdd42[_0x5afeb1(0x225)])});}[_0xf2ee3d(0x22a)](_0x558445,_0x25c645){const _0x31161f=_0xf2ee3d,{label:_0x467f2e,classes:_0x236da0,status:_0x3081d7}=this[_0x31161f(0x211)](_0x558445),_0x4b626d=this[_0x31161f(0x21c)],_0x5204ae=this[_0x31161f(0x1e7)];let _0x7f3175;return _0x31161f(0x178)===this[_0x31161f(0x215)]?_0x7f3175=_0x25c645[_0x31161f(0x226)](_0x31161f(0x18e),{'class':_0x236da0},[_0x25c645[_0x31161f(0x1a0)](_0x31161f(0x18e),{'class':_0x31161f(0x1ba)},function(_0x30d8c9){const _0x5c4519=_0x31161f,_0x3f4d50=this[_0x5c4519(0x1a8)](_0x30d8c9);return _0x3f4d50[_0x5c4519(0x205)]=_0x4b626d,_0x3f4d50;}),_0x25c645[_0x31161f(0x226)](_0x31161f(0x18e),{'class':_0x31161f(0x1f7)},_0x25c645[_0x31161f(0x212)](String(_0x467f2e))),_0x25c645[_0x31161f(0x1a0)](_0x31161f(0x18e),{'class':_0x31161f(0x1ba)},function(_0x4528c2){const _0x2b1451=_0x31161f,_0x15ee27=this[_0x2b1451(0x1a8)](_0x4528c2);return _0x15ee27[_0x2b1451(0x205)]=_0x5204ae,_0x15ee27;})]):_0x3081d7?(_0x7f3175=_0x25c645[_0x31161f(0x226)](_0x31161f(0x18e),{'class':_0x236da0},[_0x25c645[_0x31161f(0x212)](String(_0x467f2e)),_0x25c645[_0x31161f(0x1a0)](_0x31161f(0x18e),{'class':_0x31161f(0x223)},function(_0x4213de){const _0x5049ed=_0x31161f,_0x1a67e1=this[_0x5049ed(0x1a8)](_0x4213de),_0x81cb4b=new _0x2aa912();return _0x81cb4b[_0x5049ed(0x175)]({'content':_0x410d5d}),_0x81cb4b[_0x5049ed(0x19c)](),_0x1a67e1[_0x5049ed(0x1db)](_0x81cb4b[_0x5049ed(0x1d8)]),_0x1a67e1;})]),_0x25c645[_0x31161f(0x1d7)](_0x31161f(0x1d3),_0x3081d7,_0x7f3175)):_0x7f3175=_0x25c645[_0x31161f(0x226)](_0x31161f(0x18e),{'class':_0x236da0},[_0x25c645[_0x31161f(0x212)](String(_0x467f2e))]),_0x25c645[_0x31161f(0x1d7)](_0x31161f(0x1eb),!0x0,_0x7f3175),_0x56d0ed(_0x7f3175,_0x25c645);}[_0xf2ee3d(0x211)](_0x2a5186){const _0x3c9624=_0xf2ee3d,_0x3e6bb5=this[_0x3c9624(0x1e2)][_0x3c9624(0x1f2)](_0x53b737=>_0x53b737['id']===_0x2a5186[_0x3c9624(0x1af)]('id'));if(!_0x3e6bb5)return _0x3c9624(0x178)===this[_0x3c9624(0x215)]?{'label':_0x2a5186[_0x3c9624(0x1af)]('id'),'classes':_0x3c9624(0x1dd)}:{'label':_0x2a5186[_0x3c9624(0x1af)]('id'),'classes':_0x3c9624(0x174),'status':_0x3c9624(0x1aa)};const _0x2e5a90=this[_0x3c9624(0x19e)](_0x3e6bb5['id']),_0x5c2fad=this[_0x3c9624(0x220)](_0x2a5186[_0x3c9624(0x1af)]('id'));if(_0x3c9624(0x178)===this[_0x3c9624(0x215)])return{'label':_0x2e5a90,'classes':_0x3c9624(0x1dd)};if(_0x3c9624(0x1e5)===this[_0x3c9624(0x215)])return _0x5c2fad?{'label':_0x5c2fad,'classes':_0x3c9624(0x1b5)}:{'label':_0x2e5a90,'classes':_0x3c9624(0x1d9),'status':_0x3c9624(0x18a)};const _0x47c010=this[_0x3c9624(0x1fb)][_0x3c9624(0x197)][_0x3c9624(0x179)](_0x3c9624(0x19b))[_0x3c9624(0x1f2)](_0x2b6501=>_0x2b6501['id']===this[_0x3c9624(0x215)])[_0x3c9624(0x17a)][_0x3e6bb5['id']];return _0x47c010?{'label':_0x3c9624(0x21d)==typeof _0x47c010?_0x47c010(this[_0x3c9624(0x1fb)]):_0x47c010,'classes':_0x3c9624(0x1b5)}:_0x5c2fad?{'label':_0x5c2fad,'classes':_0x3c9624(0x16a),'status':_0x3c9624(0x1e6)}:{'label':_0x2e5a90,'classes':_0x3c9624(0x1ce),'status':_0x3c9624(0x218)};}[_0xf2ee3d(0x207)](_0x164c7,_0x3f9e36,_0x5b682a){const _0x2f9c89=_0xf2ee3d,_0x2f6ae5=_0x164c7[_0x2f9c89(0x1af)]('id'),_0x565477=_0x5b682a&&_0x5b682a[_0x2f6ae5]?_0x5b682a[_0x2f6ae5]:this[_0x2f9c89(0x21c)]+_0x2f6ae5+this[_0x2f9c89(0x1e7)],_0xe9a4c6=_0x3f9e36[_0x2f9c89(0x212)](_0x565477),_0x1d884c=_0x3f9e36[_0x2f9c89(0x226)](_0x2f9c89(0x18e));return _0x3f9e36[_0x2f9c89(0x1d7)](_0x2f9c89(0x1e4),!0x0,_0x1d884c),_0x3f9e36[_0x2f9c89(0x20c)](_0x3f9e36[_0x2f9c89(0x1f9)](_0x1d884c,0x0),_0xe9a4c6),_0x1d884c;}[_0xf2ee3d(0x228)](){const _0x46f2ea=_0xf2ee3d;this[_0x46f2ea(0x1a7)][_0x46f2ea(0x217)](_0x489495=>{const _0x274688=_0x46f2ea;_0x274688(0x1ea)!==_0x489495[_0x274688(0x1a5)][_0x274688(0x17f)]&&this[_0x274688(0x1fb)][_0x274688(0x221)][_0x274688(0x20d)](_0x489495);});}[_0xf2ee3d(0x1ef)](_0x4d8c6b){const _0xc175d7=_0xf2ee3d;if(!this[_0xc175d7(0x214)][_0xc175d7(0x201)](_0x4d8c6b))throw new _0xa66944(_0xc175d7(0x229),this,{'availablePreviewModes':this[_0xc175d7(0x214)],'previewMode':_0x4d8c6b});}[_0xf2ee3d(0x1fe)](){const _0x5e66df=_0xf2ee3d;for(const _0x4a5f25 of this[_0x5e66df(0x1fb)][_0x5e66df(0x168)][_0x5e66df(0x200)][_0x5e66df(0x1e0)][_0x5e66df(0x1c0)]({'includeChangesInGraveyard':!0x0})){if(_0x5e66df(0x20c)!==_0x4a5f25[_0x5e66df(0x1e1)]||_0x5e66df(0x172)===_0x4a5f25[_0x5e66df(0x184)])continue;if(_0x5e66df(0x1eb)===_0x4a5f25[_0x5e66df(0x184)]){this[_0x5e66df(0x1a7)][_0x5e66df(0x191)](_0x4a5f25[_0x5e66df(0x1c8)][_0x5e66df(0x21b)]);continue;}const _0x41e323=this[_0x5e66df(0x1fb)][_0x5e66df(0x168)][_0x5e66df(0x1f3)](_0x4a5f25[_0x5e66df(0x1c8)][_0x5e66df(0x21b)]);for(const _0x84aa2f of _0x41e323[_0x5e66df(0x1d4)]())_0x84aa2f['is'](_0x5e66df(0x1d8),_0x5e66df(0x1eb))&&this[_0x5e66df(0x1a7)][_0x5e66df(0x191)](_0x84aa2f);}}[_0xf2ee3d(0x1b4)](){const _0x504123=_0xf2ee3d,_0x2e0e79=this[_0x504123(0x1fb)];_0x2e0e79[_0x504123(0x168)][_0x504123(0x200)][_0x504123(0x227)](_0xe9ed98=>{const _0x21fd05=_0x504123;if(!_0xe9ed98[_0x21fd05(0x20a)][_0x21fd05(0x1b9)])return!0x1;const _0x3b1664=[],_0xe947d2=new Set(),_0x4eaf7a=this[_0x21fd05(0x203)];let _0x41ff1c=!0x1;for(const _0xfa2550 of _0x2e0e79[_0x21fd05(0x168)][_0x21fd05(0x200)][_0x21fd05(0x1e0)][_0x21fd05(0x1c0)]())if(_0x21fd05(0x20c)===_0xfa2550[_0x21fd05(0x1e1)]||_0x21fd05(0x1ec)===_0xfa2550[_0x21fd05(0x1e1)]){let _0x110dbd=_0x21fd05(0x172)==_0xfa2550[_0x21fd05(0x184)]?_0xfa2550[_0x21fd05(0x1c8)][_0x21fd05(0x1ad)]:_0xfa2550[_0x21fd05(0x1c8)][_0x21fd05(0x21b)];if(!_0x110dbd)continue;_0x110dbd['is'](_0x21fd05(0x172))&&(_0x110dbd=_0x110dbd[_0x21fd05(0x1ad)]),_0x2e9f3a(_0x110dbd);}for(const _0x192695 of _0x3b1664[_0x21fd05(0x19d)]()){const {match:_0x3fcb52,item:_0x25e394}=_0x192695,_0x493599=_0xe9ed98[_0x21fd05(0x1f9)](_0x25e394,_0x3fcb52[_0x21fd05(0x1e9)]),_0xaf8d1c=_0x493599[_0x21fd05(0x1b3)](_0x3fcb52[0x0][_0x21fd05(0x17c)]),_0x32e73f=_0xe9ed98[_0x21fd05(0x1da)](_0x493599,_0xaf8d1c),_0x578a45=_0x3fcb52[0x0],_0x4e4041=_0x578a45[_0x21fd05(0x1de)](this[_0x21fd05(0x21c)][_0x21fd05(0x17c)],_0x578a45[_0x21fd05(0x17c)]-this[_0x21fd05(0x1e7)][_0x21fd05(0x17c)]),_0x5be3e6=_0x54f57c(_0x32e73f);_0x5be3e6[_0x21fd05(0x175)]('id',_0x4e4041);const _0x2c61ef=_0xe9ed98[_0x21fd05(0x1c4)](_0x21fd05(0x1eb),_0x5be3e6);_0x2e0e79[_0x21fd05(0x168)][_0x21fd05(0x20e)][_0x21fd05(0x182)](_0x32e73f[_0x21fd05(0x222)],_0x21fd05(0x1eb))?_0x2e0e79[_0x21fd05(0x168)][_0x21fd05(0x16f)](_0x2c61ef,_0x32e73f):_0xe9ed98[_0x21fd05(0x1ec)](_0x32e73f),_0x41ff1c=!0x0;}return _0x41ff1c;function _0x2e9f3a(_0x1b3359){const _0x39a385=_0x21fd05;let _0x508f0e='',_0x4ac6fe=0x0;if(!_0xe947d2[_0x39a385(0x18c)](_0x1b3359))for(const _0x16d38b of _0x1b3359[_0x39a385(0x1b2)]()){const _0x2605c3=_0x16d38b[_0x39a385(0x1f4)];if(_0x16d38b['is'](_0x39a385(0x172))&&(''===_0x508f0e&&_0x16d38b[_0x39a385(0x21a)]&&(_0x4ac6fe=_0x16d38b[_0x39a385(0x21a)]),_0x508f0e+=_0x16d38b[_0x39a385(0x188)]),!_0x2605c3||_0x2605c3['is'](_0x39a385(0x1d8))){for(const _0xb2dad4 of _0x508f0e[_0x39a385(0x1b1)](_0x4eaf7a))_0xb2dad4[_0x39a385(0x1e9)]=_0xb2dad4[_0x39a385(0x1e9)]+_0x4ac6fe,_0x3b1664[_0x39a385(0x1f0)]({'match':_0xb2dad4,'item':_0x1b3359});_0xe947d2[_0x39a385(0x191)](_0x1b3359),_0x508f0e='';}_0x16d38b['is'](_0x39a385(0x1d8))&&_0x2e9f3a(_0x16d38b);}}function _0x54f57c(_0x59993e){const _0x50a866=_0x21fd05,_0x52dc61=_0x59993e[_0x50a866(0x1d4)](),_0x14c564=_0x52dc61[_0x50a866(0x1fa)]()[_0x50a866(0x1ac)],_0x37c4e4=new Map(_0x14c564[_0x50a866(0x1dc)]());for(const _0x174846 of _0x52dc61)for(const [_0x521b81,_0x5b5465]of _0x37c4e4)_0x174846[_0x50a866(0x1af)](_0x521b81)!==_0x5b5465&&_0x37c4e4[_0x50a866(0x18b)](_0x521b81);return _0x37c4e4;}});}[_0xf2ee3d(0x1f8)](_0xe356a3){return{'id':_0xe356a3};}}