@eightshift/ui-components 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/{Button-VbCAu4hd.js → Button-Xa6Ny0p_.js} +7 -7
  2. package/dist/{Color-BpLubxWI.js → Color-VsesNqCf.js} +5 -17
  3. package/dist/{ColorSwatch-CinC14s3.js → ColorSwatch-xOFAZO_h.js} +4 -4
  4. package/dist/ComboBox-CP_SqnqT.js +1886 -0
  5. package/dist/Dialog-jcIYer1n.js +2177 -0
  6. package/dist/{FieldError-BttM1Nxd.js → FieldError-BPe3YgNH.js} +2 -2
  7. package/dist/{FocusScope-CtCX0OGo.js → FocusScope-uV-xoRHT.js} +8 -9
  8. package/dist/{Group-XzWUooix.js → Group-Bvmb49y7.js} +5 -5
  9. package/dist/{Heading-DZelepHV.js → Heading-Bfhyr4ZC.js} +1 -1
  10. package/dist/{Hidden-CcFqOzrp.js → Hidden-7ZhNuLM9.js} +2 -2
  11. package/dist/{Input-CV1qVS6t.js → Input-C2dTSp9z.js} +10 -10
  12. package/dist/{Label-BwqMVkuV.js → Label-DqNX_sAU.js} +2 -2
  13. package/dist/{List-Bx2anbX-.js → List-C7L49CxW.js} +1 -1
  14. package/dist/{ListBox-DuZPdnkk.js → ListBox-B9r1QoSm.js} +19 -18
  15. package/dist/{NumberFormatter-U_Gx0UDq.js → NumberFormatter-DA8u1Ot7.js} +4 -6
  16. package/dist/OverlayArrow-ClRhYjQu.js +567 -0
  17. package/dist/{Select-c7902d94.esm-DtzFQzf-.js → Select-aab027f3.esm-B8nEum75.js} +4 -4
  18. package/dist/{SelectionManager-x27KqnAT.js → SelectionManager-DP537Pbu.js} +177 -141
  19. package/dist/{Separator-BM58t3PP.js → Separator-Dmxzf3m_.js} +62 -52
  20. package/dist/{Slider-D9Cs6yKr.js → Slider-BgHBCyI7.js} +16 -14
  21. package/dist/{Text-BVIXT8qq.js → Text-DImhB4rT.js} +1 -1
  22. package/dist/{VisuallyHidden-WhC7vZaL.js → VisuallyHidden-wryJF4qQ.js} +2 -2
  23. package/dist/assets/style.css +1 -1
  24. package/dist/assets/wp-ui-enhancements.css +1 -1
  25. package/dist/components/animated-visibility/animated-visibility.js +141 -113
  26. package/dist/components/base-control/base-control.js +1 -1
  27. package/dist/components/button/button.js +10 -7
  28. package/dist/components/checkbox/checkbox.js +19 -11
  29. package/dist/components/color-pickers/color-picker.js +1 -1
  30. package/dist/components/color-pickers/color-swatch.js +3 -3
  31. package/dist/components/color-pickers/gradient-editor.js +2 -2
  32. package/dist/components/color-pickers/solid-color-picker.js +21 -21
  33. package/dist/components/component-toggle/component-toggle.js +1 -1
  34. package/dist/components/draggable/draggable-handle.js +2 -2
  35. package/dist/components/draggable/draggable.js +2 -2
  36. package/dist/components/draggable-list/draggable-list-item.js +2 -2
  37. package/dist/components/draggable-list/draggable-list.js +2 -2
  38. package/dist/components/expandable/expandable.js +3 -3
  39. package/dist/components/index.js +8 -4
  40. package/dist/components/input-field/input-field.js +7 -7
  41. package/dist/components/item-collection/item-collection.js +1 -1
  42. package/dist/components/link-input/link-input.js +10 -1872
  43. package/dist/components/list-box/list-box.js +2 -2
  44. package/dist/components/matrix-align/matrix-align.js +2 -2
  45. package/dist/components/menu/menu.js +7 -974
  46. package/dist/components/modal/modal.js +7 -7
  47. package/dist/components/number-picker/number-picker.js +10 -10
  48. package/dist/components/option-select/option-select.js +1 -1
  49. package/dist/components/options-panel/options-panel.js +1 -1
  50. package/dist/components/placeholders/file-placeholder.js +1 -1
  51. package/dist/components/popover/popover.js +2 -2
  52. package/dist/components/radio/radio.js +13 -13
  53. package/dist/components/repeater/repeater-item.js +1 -1
  54. package/dist/components/repeater/repeater.js +2 -2
  55. package/dist/components/responsive/mini-responsive.js +3 -3
  56. package/dist/components/responsive/responsive-legacy.js +2 -2
  57. package/dist/components/responsive/responsive.js +2 -2
  58. package/dist/components/responsive-preview/responsive-preview.js +1 -1
  59. package/dist/components/select/async-multi-select.js +3 -3
  60. package/dist/components/select/async-single-select.js +2 -2
  61. package/dist/components/select/custom-select-default-components.js +1 -1
  62. package/dist/components/select/multi-select-components.js +1 -1
  63. package/dist/components/select/multi-select.js +3 -3
  64. package/dist/components/select/react-select-component-wrappers.js +1 -1
  65. package/dist/components/select/single-select.js +2 -2
  66. package/dist/components/select/v2/async-select.js +307 -0
  67. package/dist/components/select/v2/shared.js +24 -0
  68. package/dist/components/select/v2/single-select.js +993 -0
  69. package/dist/components/slider/column-config-slider.js +3 -3
  70. package/dist/components/slider/slider.js +3 -3
  71. package/dist/components/slider/utils.js +1 -1
  72. package/dist/components/tabs/tabs.js +16 -16
  73. package/dist/components/toggle/switch.js +6 -6
  74. package/dist/components/toggle/toggle.js +1 -1
  75. package/dist/components/toggle-button/toggle-button.js +55 -12
  76. package/dist/components/tooltip/tooltip.js +532 -8
  77. package/dist/{context-Cs-ZD1nu.js → context-BI3VdU0Z.js} +2 -2
  78. package/dist/{default-i18n-DRnM8y4w.js → default-i18n-CM1-Xvzf.js} +183 -176
  79. package/dist/{focusSafely-CgFLw4FA.js → focusSafely-Cl9cN7Qx.js} +14 -14
  80. package/dist/icons/icons.js +171 -1
  81. package/dist/icons/jsx-svg.js +16 -3
  82. package/dist/{index-a301f526.esm-BMg114iK.js → index-641ee5b8.esm-BclOH4xf.js} +165 -29
  83. package/dist/{index-BTCzc3zb.js → index-D0mHceYg.js} +81 -17
  84. package/dist/index.js +7 -3
  85. package/dist/{multi-select-components-DTvEidE3.js → multi-select-components-BGQBvx-z.js} +55 -44
  86. package/dist/{react-jsx-parser.min-B5HVwW_W.js → react-jsx-parser.min-CVit0rZn.js} +5620 -7409
  87. package/dist/{react-select-async.esm-CxA8wpeT.js → react-select-async.esm-B8kK0aL4.js} +3 -3
  88. package/dist/{react-select.esm-CeE7o5M9.js → react-select.esm-ucYwBxq5.js} +3 -3
  89. package/dist/{textSelection-CvK0YHTZ.js → textSelection-DDDNsS-g.js} +1 -1
  90. package/dist/{useButton-Cy9eEev7.js → useButton-CRKy9xk2.js} +4 -4
  91. package/dist/{useEvent-LZebwyrb.js → useEvent-D54lIBrO.js} +1 -1
  92. package/dist/{useFocusRing-BMOTWmOx.js → useFocusRing-DKxoCzVD.js} +1 -1
  93. package/dist/{useFocusable-ByyKSVQv.js → useFocusable-CPKTGWPn.js} +4 -4
  94. package/dist/{useFormReset-B8m1uz1J.js → useFormReset-CTp--h9B.js} +1 -1
  95. package/dist/{useFormValidationState-BjMhz_VI.js → useFormValidation-BNBrliSj.js} +92 -88
  96. package/dist/{useLabel-B6uO0wVK.js → useLabel-CzGdEzIq.js} +2 -2
  97. package/dist/{useLabels-5dFkeiXx.js → useLabels-eGSmZC_Z.js} +1 -1
  98. package/dist/{useListState-eKxv7HPC.js → useListState-D7mE1Y00.js} +1 -1
  99. package/dist/{useLocalizedStringFormatter-BaKmjFNp.js → useLocalizedStringFormatter-BBeUyA9l.js} +1 -1
  100. package/dist/{useNumberField-DMMUTZ-h.js → useNumberField-BmEJmL3K.js} +27 -20
  101. package/dist/{useNumberFormatter-Cyx5Dxkf.js → useNumberFormatter-CTY_UZxq.js} +2 -2
  102. package/dist/{usePress-D8nPoIQm.js → usePress-BG9At5Lb.js} +4 -4
  103. package/dist/{useSingleSelectListState-CABciySJ.js → useSingleSelectListState-DeJEr7lC.js} +2 -2
  104. package/dist/{useToggle-BmltE9Zr.js → useToggle-QlyoyPYv.js} +4 -4
  105. package/dist/{useToggleState-DZXLEnA_.js → useToggleState-C1mnFRiI.js} +1 -1
  106. package/dist/utilities/text-helpers.js +6 -0
  107. package/dist/{utils-BCJajCwh.js → utils-BSxcP7tv.js} +15 -14
  108. package/package.json +20 -20
  109. package/dist/Dialog-BN5EE7UH.js +0 -934
  110. package/dist/isScrollable-Dh9D9IOd.js +0 -9
  111. package/dist/tooltip-eKaARDoV.js +0 -1084
  112. package/dist/useMenuTrigger-4fwEmto8.js +0 -246
@@ -66,197 +66,204 @@ function memize(fn, options) {
66
66
  return memoized;
67
67
  }
68
68
  var sprintf$1 = {};
69
- (function(exports) {
70
- !function() {
71
- var re = {
72
- not_string: /[^s]/,
73
- not_bool: /[^t]/,
74
- not_type: /[^T]/,
75
- not_primitive: /[^v]/,
76
- number: /[diefg]/,
77
- numeric_arg: /[bcdiefguxX]/,
78
- json: /[j]/,
79
- not_json: /[^j]/,
80
- text: /^[^\x25]+/,
81
- modulo: /^\x25{2}/,
82
- placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,
83
- key: /^([a-z_][a-z_\d]*)/i,
84
- key_access: /^\.([a-z_][a-z_\d]*)/i,
85
- index_access: /^\[(\d+)\]/,
86
- sign: /^[+-]/
87
- };
88
- function sprintf2(key) {
89
- return sprintf_format(sprintf_parse(key), arguments);
90
- }
91
- function vsprintf(fmt, argv) {
92
- return sprintf2.apply(null, [fmt].concat(argv || []));
93
- }
94
- function sprintf_format(parse_tree, argv) {
95
- var cursor = 1, tree_length = parse_tree.length, arg, output = "", i, k, ph, pad, pad_character, pad_length, is_positive, sign;
96
- for (i = 0; i < tree_length; i++) {
97
- if (typeof parse_tree[i] === "string") {
98
- output += parse_tree[i];
99
- } else if (typeof parse_tree[i] === "object") {
100
- ph = parse_tree[i];
101
- if (ph.keys) {
102
- arg = argv[cursor];
103
- for (k = 0; k < ph.keys.length; k++) {
104
- if (arg == void 0) {
105
- throw new Error(sprintf2('[sprintf] Cannot access property "%s" of undefined value "%s"', ph.keys[k], ph.keys[k - 1]));
69
+ var hasRequiredSprintf;
70
+ function requireSprintf() {
71
+ if (hasRequiredSprintf) return sprintf$1;
72
+ hasRequiredSprintf = 1;
73
+ (function(exports) {
74
+ !function() {
75
+ var re = {
76
+ not_string: /[^s]/,
77
+ not_bool: /[^t]/,
78
+ not_type: /[^T]/,
79
+ not_primitive: /[^v]/,
80
+ number: /[diefg]/,
81
+ numeric_arg: /[bcdiefguxX]/,
82
+ json: /[j]/,
83
+ not_json: /[^j]/,
84
+ text: /^[^\x25]+/,
85
+ modulo: /^\x25{2}/,
86
+ placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,
87
+ key: /^([a-z_][a-z_\d]*)/i,
88
+ key_access: /^\.([a-z_][a-z_\d]*)/i,
89
+ index_access: /^\[(\d+)\]/,
90
+ sign: /^[+-]/
91
+ };
92
+ function sprintf2(key) {
93
+ return sprintf_format(sprintf_parse(key), arguments);
94
+ }
95
+ function vsprintf(fmt, argv) {
96
+ return sprintf2.apply(null, [fmt].concat(argv || []));
97
+ }
98
+ function sprintf_format(parse_tree, argv) {
99
+ var cursor = 1, tree_length = parse_tree.length, arg, output = "", i, k, ph, pad, pad_character, pad_length, is_positive, sign;
100
+ for (i = 0; i < tree_length; i++) {
101
+ if (typeof parse_tree[i] === "string") {
102
+ output += parse_tree[i];
103
+ } else if (typeof parse_tree[i] === "object") {
104
+ ph = parse_tree[i];
105
+ if (ph.keys) {
106
+ arg = argv[cursor];
107
+ for (k = 0; k < ph.keys.length; k++) {
108
+ if (arg == void 0) {
109
+ throw new Error(sprintf2('[sprintf] Cannot access property "%s" of undefined value "%s"', ph.keys[k], ph.keys[k - 1]));
110
+ }
111
+ arg = arg[ph.keys[k]];
106
112
  }
107
- arg = arg[ph.keys[k]];
113
+ } else if (ph.param_no) {
114
+ arg = argv[ph.param_no];
115
+ } else {
116
+ arg = argv[cursor++];
108
117
  }
109
- } else if (ph.param_no) {
110
- arg = argv[ph.param_no];
111
- } else {
112
- arg = argv[cursor++];
113
- }
114
- if (re.not_type.test(ph.type) && re.not_primitive.test(ph.type) && arg instanceof Function) {
115
- arg = arg();
116
- }
117
- if (re.numeric_arg.test(ph.type) && (typeof arg !== "number" && isNaN(arg))) {
118
- throw new TypeError(sprintf2("[sprintf] expecting number but found %T", arg));
119
- }
120
- if (re.number.test(ph.type)) {
121
- is_positive = arg >= 0;
122
- }
123
- switch (ph.type) {
124
- case "b":
125
- arg = parseInt(arg, 10).toString(2);
126
- break;
127
- case "c":
128
- arg = String.fromCharCode(parseInt(arg, 10));
129
- break;
130
- case "d":
131
- case "i":
132
- arg = parseInt(arg, 10);
133
- break;
134
- case "j":
135
- arg = JSON.stringify(arg, null, ph.width ? parseInt(ph.width) : 0);
136
- break;
137
- case "e":
138
- arg = ph.precision ? parseFloat(arg).toExponential(ph.precision) : parseFloat(arg).toExponential();
139
- break;
140
- case "f":
141
- arg = ph.precision ? parseFloat(arg).toFixed(ph.precision) : parseFloat(arg);
142
- break;
143
- case "g":
144
- arg = ph.precision ? String(Number(arg.toPrecision(ph.precision))) : parseFloat(arg);
145
- break;
146
- case "o":
147
- arg = (parseInt(arg, 10) >>> 0).toString(8);
148
- break;
149
- case "s":
150
- arg = String(arg);
151
- arg = ph.precision ? arg.substring(0, ph.precision) : arg;
152
- break;
153
- case "t":
154
- arg = String(!!arg);
155
- arg = ph.precision ? arg.substring(0, ph.precision) : arg;
156
- break;
157
- case "T":
158
- arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase();
159
- arg = ph.precision ? arg.substring(0, ph.precision) : arg;
160
- break;
161
- case "u":
162
- arg = parseInt(arg, 10) >>> 0;
163
- break;
164
- case "v":
165
- arg = arg.valueOf();
166
- arg = ph.precision ? arg.substring(0, ph.precision) : arg;
167
- break;
168
- case "x":
169
- arg = (parseInt(arg, 10) >>> 0).toString(16);
170
- break;
171
- case "X":
172
- arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase();
173
- break;
174
- }
175
- if (re.json.test(ph.type)) {
176
- output += arg;
177
- } else {
178
- if (re.number.test(ph.type) && (!is_positive || ph.sign)) {
179
- sign = is_positive ? "+" : "-";
180
- arg = arg.toString().replace(re.sign, "");
118
+ if (re.not_type.test(ph.type) && re.not_primitive.test(ph.type) && arg instanceof Function) {
119
+ arg = arg();
120
+ }
121
+ if (re.numeric_arg.test(ph.type) && (typeof arg !== "number" && isNaN(arg))) {
122
+ throw new TypeError(sprintf2("[sprintf] expecting number but found %T", arg));
123
+ }
124
+ if (re.number.test(ph.type)) {
125
+ is_positive = arg >= 0;
126
+ }
127
+ switch (ph.type) {
128
+ case "b":
129
+ arg = parseInt(arg, 10).toString(2);
130
+ break;
131
+ case "c":
132
+ arg = String.fromCharCode(parseInt(arg, 10));
133
+ break;
134
+ case "d":
135
+ case "i":
136
+ arg = parseInt(arg, 10);
137
+ break;
138
+ case "j":
139
+ arg = JSON.stringify(arg, null, ph.width ? parseInt(ph.width) : 0);
140
+ break;
141
+ case "e":
142
+ arg = ph.precision ? parseFloat(arg).toExponential(ph.precision) : parseFloat(arg).toExponential();
143
+ break;
144
+ case "f":
145
+ arg = ph.precision ? parseFloat(arg).toFixed(ph.precision) : parseFloat(arg);
146
+ break;
147
+ case "g":
148
+ arg = ph.precision ? String(Number(arg.toPrecision(ph.precision))) : parseFloat(arg);
149
+ break;
150
+ case "o":
151
+ arg = (parseInt(arg, 10) >>> 0).toString(8);
152
+ break;
153
+ case "s":
154
+ arg = String(arg);
155
+ arg = ph.precision ? arg.substring(0, ph.precision) : arg;
156
+ break;
157
+ case "t":
158
+ arg = String(!!arg);
159
+ arg = ph.precision ? arg.substring(0, ph.precision) : arg;
160
+ break;
161
+ case "T":
162
+ arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase();
163
+ arg = ph.precision ? arg.substring(0, ph.precision) : arg;
164
+ break;
165
+ case "u":
166
+ arg = parseInt(arg, 10) >>> 0;
167
+ break;
168
+ case "v":
169
+ arg = arg.valueOf();
170
+ arg = ph.precision ? arg.substring(0, ph.precision) : arg;
171
+ break;
172
+ case "x":
173
+ arg = (parseInt(arg, 10) >>> 0).toString(16);
174
+ break;
175
+ case "X":
176
+ arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase();
177
+ break;
178
+ }
179
+ if (re.json.test(ph.type)) {
180
+ output += arg;
181
181
  } else {
182
- sign = "";
182
+ if (re.number.test(ph.type) && (!is_positive || ph.sign)) {
183
+ sign = is_positive ? "+" : "-";
184
+ arg = arg.toString().replace(re.sign, "");
185
+ } else {
186
+ sign = "";
187
+ }
188
+ pad_character = ph.pad_char ? ph.pad_char === "0" ? "0" : ph.pad_char.charAt(1) : " ";
189
+ pad_length = ph.width - (sign + arg).length;
190
+ pad = ph.width ? pad_length > 0 ? pad_character.repeat(pad_length) : "" : "";
191
+ output += ph.align ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg;
183
192
  }
184
- pad_character = ph.pad_char ? ph.pad_char === "0" ? "0" : ph.pad_char.charAt(1) : " ";
185
- pad_length = ph.width - (sign + arg).length;
186
- pad = ph.width ? pad_length > 0 ? pad_character.repeat(pad_length) : "" : "";
187
- output += ph.align ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg;
188
193
  }
189
194
  }
195
+ return output;
190
196
  }
191
- return output;
192
- }
193
- var sprintf_cache = /* @__PURE__ */ Object.create(null);
194
- function sprintf_parse(fmt) {
195
- if (sprintf_cache[fmt]) {
196
- return sprintf_cache[fmt];
197
- }
198
- var _fmt = fmt, match, parse_tree = [], arg_names = 0;
199
- while (_fmt) {
200
- if ((match = re.text.exec(_fmt)) !== null) {
201
- parse_tree.push(match[0]);
202
- } else if ((match = re.modulo.exec(_fmt)) !== null) {
203
- parse_tree.push("%");
204
- } else if ((match = re.placeholder.exec(_fmt)) !== null) {
205
- if (match[2]) {
206
- arg_names |= 1;
207
- var field_list = [], replacement_field = match[2], field_match = [];
208
- if ((field_match = re.key.exec(replacement_field)) !== null) {
209
- field_list.push(field_match[1]);
210
- while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") {
211
- if ((field_match = re.key_access.exec(replacement_field)) !== null) {
212
- field_list.push(field_match[1]);
213
- } else if ((field_match = re.index_access.exec(replacement_field)) !== null) {
214
- field_list.push(field_match[1]);
215
- } else {
216
- throw new SyntaxError("[sprintf] failed to parse named argument key");
197
+ var sprintf_cache = /* @__PURE__ */ Object.create(null);
198
+ function sprintf_parse(fmt) {
199
+ if (sprintf_cache[fmt]) {
200
+ return sprintf_cache[fmt];
201
+ }
202
+ var _fmt = fmt, match, parse_tree = [], arg_names = 0;
203
+ while (_fmt) {
204
+ if ((match = re.text.exec(_fmt)) !== null) {
205
+ parse_tree.push(match[0]);
206
+ } else if ((match = re.modulo.exec(_fmt)) !== null) {
207
+ parse_tree.push("%");
208
+ } else if ((match = re.placeholder.exec(_fmt)) !== null) {
209
+ if (match[2]) {
210
+ arg_names |= 1;
211
+ var field_list = [], replacement_field = match[2], field_match = [];
212
+ if ((field_match = re.key.exec(replacement_field)) !== null) {
213
+ field_list.push(field_match[1]);
214
+ while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") {
215
+ if ((field_match = re.key_access.exec(replacement_field)) !== null) {
216
+ field_list.push(field_match[1]);
217
+ } else if ((field_match = re.index_access.exec(replacement_field)) !== null) {
218
+ field_list.push(field_match[1]);
219
+ } else {
220
+ throw new SyntaxError("[sprintf] failed to parse named argument key");
221
+ }
217
222
  }
223
+ } else {
224
+ throw new SyntaxError("[sprintf] failed to parse named argument key");
218
225
  }
226
+ match[2] = field_list;
219
227
  } else {
220
- throw new SyntaxError("[sprintf] failed to parse named argument key");
228
+ arg_names |= 2;
229
+ }
230
+ if (arg_names === 3) {
231
+ throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");
221
232
  }
222
- match[2] = field_list;
233
+ parse_tree.push(
234
+ {
235
+ placeholder: match[0],
236
+ param_no: match[1],
237
+ keys: match[2],
238
+ sign: match[3],
239
+ pad_char: match[4],
240
+ align: match[5],
241
+ width: match[6],
242
+ precision: match[7],
243
+ type: match[8]
244
+ }
245
+ );
223
246
  } else {
224
- arg_names |= 2;
225
- }
226
- if (arg_names === 3) {
227
- throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");
247
+ throw new SyntaxError("[sprintf] unexpected placeholder");
228
248
  }
229
- parse_tree.push(
230
- {
231
- placeholder: match[0],
232
- param_no: match[1],
233
- keys: match[2],
234
- sign: match[3],
235
- pad_char: match[4],
236
- align: match[5],
237
- width: match[6],
238
- precision: match[7],
239
- type: match[8]
240
- }
241
- );
242
- } else {
243
- throw new SyntaxError("[sprintf] unexpected placeholder");
249
+ _fmt = _fmt.substring(match[0].length);
244
250
  }
245
- _fmt = _fmt.substring(match[0].length);
251
+ return sprintf_cache[fmt] = parse_tree;
246
252
  }
247
- return sprintf_cache[fmt] = parse_tree;
248
- }
249
- {
250
- exports["sprintf"] = sprintf2;
251
- exports["vsprintf"] = vsprintf;
252
- }
253
- if (typeof window !== "undefined") {
254
- window["sprintf"] = sprintf2;
255
- window["vsprintf"] = vsprintf;
256
- }
257
- }();
258
- })(sprintf$1);
259
- const sprintfjs = /* @__PURE__ */ getDefaultExportFromCjs(sprintf$1);
253
+ {
254
+ exports["sprintf"] = sprintf2;
255
+ exports["vsprintf"] = vsprintf;
256
+ }
257
+ if (typeof window !== "undefined") {
258
+ window["sprintf"] = sprintf2;
259
+ window["vsprintf"] = vsprintf;
260
+ }
261
+ }();
262
+ })(sprintf$1);
263
+ return sprintf$1;
264
+ }
265
+ var sprintfExports = requireSprintf();
266
+ const sprintfjs = /* @__PURE__ */ getDefaultExportFromCjs(sprintfExports);
260
267
  const logErrorOnce = memize(console.error);
261
268
  function sprintf(format, ...args) {
262
269
  try {
@@ -1,4 +1,4 @@
1
- import { j as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, d as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-BCJajCwh.js";
1
+ import { k as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, g as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-BSxcP7tv.js";
2
2
  import { useState, useRef, useEffect, useCallback, useMemo } from "react";
3
3
  const $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
4
4
  var _el_ownerDocument;
@@ -31,7 +31,7 @@ function $7215afc6de606d6b$var$supportsPreventScroll() {
31
31
  return true;
32
32
  }
33
33
  });
34
- } catch (e) {
34
+ } catch {
35
35
  }
36
36
  }
37
37
  return $7215afc6de606d6b$var$supportsPreventScrollCached;
@@ -677,16 +677,16 @@ export {
677
677
  $c87311424ea30a05$export$fedb369cb70207f1 as j,
678
678
  $bbed8b41f857bcc0$export$24490316f764c430 as k,
679
679
  $e7801be82b4b2a53$export$4debdb1a3f0fa79e as l,
680
- $7215afc6de606d6b$export$de79e2c695e052f3 as m,
681
- $c87311424ea30a05$export$9ac100e40613ea10 as n,
682
- $c87311424ea30a05$export$78551043582a6a98 as o,
683
- $c87311424ea30a05$export$b7d78993b74f766d as p,
684
- $c87311424ea30a05$export$7bef049ce92e4224 as q,
685
- $6a7db85432448f7f$export$29bf1b5f2c56cf63 as r,
686
- $6a7db85432448f7f$export$60278871457622de as s,
687
- $507fabe10e71c6fb$export$98e20ec92f614cfe as t,
688
- $507fabe10e71c6fb$export$630ff653c5ada6a9 as u,
689
- $c87311424ea30a05$export$a11b0059900ceec8 as v,
690
- $c87311424ea30a05$export$e1865c3bedcd822b as w,
691
- $c87311424ea30a05$export$186c6964ca17d99 as x
680
+ $507fabe10e71c6fb$export$630ff653c5ada6a9 as m,
681
+ $7215afc6de606d6b$export$de79e2c695e052f3 as n,
682
+ $c87311424ea30a05$export$9ac100e40613ea10 as o,
683
+ $c87311424ea30a05$export$78551043582a6a98 as p,
684
+ $c87311424ea30a05$export$b7d78993b74f766d as q,
685
+ $c87311424ea30a05$export$7bef049ce92e4224 as r,
686
+ $6a7db85432448f7f$export$29bf1b5f2c56cf63 as s,
687
+ $6a7db85432448f7f$export$60278871457622de as t,
688
+ $c87311424ea30a05$export$a11b0059900ceec8 as u,
689
+ $c87311424ea30a05$export$e1865c3bedcd822b as v,
690
+ $c87311424ea30a05$export$186c6964ca17d99 as w,
691
+ $507fabe10e71c6fb$export$98e20ec92f614cfe as x
692
692
  };
@@ -29517,6 +29517,173 @@ const icons = {
29517
29517
  )
29518
29518
  ]
29519
29519
  }
29520
+ ),
29521
+ webVideo: /* @__PURE__ */ jsxs(
29522
+ "svg",
29523
+ {
29524
+ xmlns: "http://www.w3.org/2000/svg",
29525
+ viewBox: "0 0 20 20",
29526
+ width: "20",
29527
+ height: "20",
29528
+ fill: "none",
29529
+ children: [
29530
+ /* @__PURE__ */ jsx(
29531
+ "circle",
29532
+ {
29533
+ cx: "14.5",
29534
+ cy: "14.5",
29535
+ r: "4.5",
29536
+ stroke: "currentColor",
29537
+ fill: "none"
29538
+ }
29539
+ ),
29540
+ /* @__PURE__ */ jsx(
29541
+ "ellipse",
29542
+ {
29543
+ cx: "14.5",
29544
+ cy: "14.5",
29545
+ rx: "1.75",
29546
+ ry: "4.5",
29547
+ stroke: "currentColor",
29548
+ fill: "none"
29549
+ }
29550
+ ),
29551
+ /* @__PURE__ */ jsx(
29552
+ "path",
29553
+ {
29554
+ d: "M10.5 13h8m-8 3h8",
29555
+ stroke: "currentColor",
29556
+ strokeLinecap: "round",
29557
+ strokeLinejoin: "round",
29558
+ fill: "none"
29559
+ }
29560
+ ),
29561
+ /* @__PURE__ */ jsx(
29562
+ "path",
29563
+ {
29564
+ d: "M11 9V2.5A1.5 1.5 0 0 0 9.5 1h-7A1.5 1.5 0 0 0 1 2.5v9A1.5 1.5 0 0 0 2.5 13h6",
29565
+ stroke: "currentColor",
29566
+ strokeLinecap: "round",
29567
+ fill: "none"
29568
+ }
29569
+ ),
29570
+ /* @__PURE__ */ jsx(
29571
+ "path",
29572
+ {
29573
+ d: "M4 1.5v11M1 4h3M1 7h3m-3 3h3",
29574
+ stroke: "currentColor",
29575
+ fill: "none"
29576
+ }
29577
+ ),
29578
+ /* @__PURE__ */ jsx(
29579
+ "path",
29580
+ {
29581
+ d: "M8 4h3M8 7h3m-3 3h1.5",
29582
+ stroke: "currentColor",
29583
+ strokeLinecap: "round",
29584
+ fill: "none"
29585
+ }
29586
+ ),
29587
+ /* @__PURE__ */ jsx(
29588
+ "path",
29589
+ {
29590
+ d: "M8 1.5v11",
29591
+ stroke: "currentColor",
29592
+ fill: "none"
29593
+ }
29594
+ ),
29595
+ /* @__PURE__ */ jsx(
29596
+ "path",
29597
+ {
29598
+ d: "M5.25 7.896V5.604a.25.25 0 0 1 .427-.177l1.146 1.146a.25.25 0 0 1 0 .354L5.677 8.073a.25.25 0 0 1-.427-.177Z",
29599
+ fill: "currentColor"
29600
+ }
29601
+ )
29602
+ ]
29603
+ }
29604
+ ),
29605
+ media: /* @__PURE__ */ jsxs(
29606
+ "svg",
29607
+ {
29608
+ xmlns: "http://www.w3.org/2000/svg",
29609
+ viewBox: "0 0 20 20",
29610
+ width: "20",
29611
+ height: "20",
29612
+ fill: "none",
29613
+ children: [
29614
+ /* @__PURE__ */ jsx(
29615
+ "path",
29616
+ {
29617
+ d: "m9 17 1.666-1.48a1.183 1.183 0 0 1 1.623.047c.478.478 1.258.46 1.713-.04l.837-.922a1.5 1.5 0 0 1 2.216-.005L19 16.722M10.5 9h7a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 9 17.5v-7A1.5 1.5 0 0 1 10.5 9Z",
29618
+ stroke: "currentColor",
29619
+ fill: "none"
29620
+ }
29621
+ ),
29622
+ /* @__PURE__ */ jsx(
29623
+ "circle",
29624
+ {
29625
+ cx: "12",
29626
+ cy: "12",
29627
+ r: "1",
29628
+ fill: "currentColor",
29629
+ fillOpacity: "0.12",
29630
+ stroke: "currentColor"
29631
+ }
29632
+ ),
29633
+ /* @__PURE__ */ jsx(
29634
+ "path",
29635
+ {
29636
+ d: "M12 7.5v-5A1.5 1.5 0 0 0 10.5 1h-8A1.5 1.5 0 0 0 1 2.5v9A1.5 1.5 0 0 0 2.5 13h5",
29637
+ stroke: "currentColor",
29638
+ strokeLinecap: "round",
29639
+ fill: "none"
29640
+ }
29641
+ ),
29642
+ /* @__PURE__ */ jsx(
29643
+ "path",
29644
+ {
29645
+ d: "M4 1.5v11M1 4h3M1 7h3m-3 3h3",
29646
+ stroke: "currentColor",
29647
+ fill: "none"
29648
+ }
29649
+ ),
29650
+ /* @__PURE__ */ jsx(
29651
+ "path",
29652
+ {
29653
+ d: "M9 4h3M9 7h3M9 1v7",
29654
+ stroke: "currentColor",
29655
+ strokeLinecap: "round",
29656
+ fill: "none"
29657
+ }
29658
+ ),
29659
+ /* @__PURE__ */ jsx(
29660
+ "path",
29661
+ {
29662
+ d: "M5.75 7.896V5.604a.25.25 0 0 1 .427-.177l1.146 1.146a.25.25 0 0 1 0 .354L6.177 8.073a.25.25 0 0 1-.427-.177Z",
29663
+ fill: "currentColor"
29664
+ }
29665
+ )
29666
+ ]
29667
+ }
29668
+ ),
29669
+ loader: /* @__PURE__ */ jsx(
29670
+ "svg",
29671
+ {
29672
+ xmlns: "http://www.w3.org/2000/svg",
29673
+ width: "20",
29674
+ height: "20",
29675
+ viewBox: "0 0 20 20",
29676
+ fill: "none",
29677
+ children: /* @__PURE__ */ jsx(
29678
+ "path",
29679
+ {
29680
+ d: "M10 19v-2m-9-7h2m13.364 6.364L14.95 14.95M3.636 16.364 5.05 14.95M10 3V1m7 9h2M5.05 5.05 3.636 3.636M14.95 5.05l1.414-1.414",
29681
+ stroke: "currentColor",
29682
+ strokeLinecap: "round",
29683
+ fill: "none"
29684
+ }
29685
+ )
29686
+ }
29520
29687
  )
29521
29688
  };
29522
29689
  const illustrations = {
@@ -31428,7 +31595,10 @@ const blockIcons = {
31428
31595
  "esf-success-output": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M12 18.5a1.5 1.5 0 0 0 1.5 1.5h5a1.5 1.5 0 0 0 1.5-1.5v-5a1.5 1.5 0 0 0-1.5-1.5h-5a1.5 1.5 0 0 0-1.5 1.5v5Zm6.354-2.146a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708.708l1.147 1.146H14a.5.5 0 0 0 0 1h2.793l-1.147 1.146a.5.5 0 0 0 .708.708l2-2Z' fill='currentColor'/><circle cx='8.5' cy='8.5' r='7.5' fill='currentColor' fill-opacity='0.12' stroke='currentColor'/><path d='M4.5 9.292 7.167 12 12.5 5.5' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
31429
31596
  "esf-form-output": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M12.5 16h-10A1.5 1.5 0 0 1 1 14.5v-12A1.5 1.5 0 0 1 2.5 1h11A1.5 1.5 0 0 1 15 2.5v10' stroke='currentColor' stroke-opacity='0.3' fill='none'/><rect x='3' y='3' width='10' height='2.5' rx='1' stroke='currentColor' stroke-linejoin='round' fill='none'/><rect x='3' y='7.5' width='10' height='2.5' rx='1' stroke='currentColor' stroke-linejoin='round' fill='none'/><rect x='7' y='11.75' width='6' height='2.5' rx='1' fill='currentColor' fill-opacity='0.5'/><path fill-rule='evenodd' clip-rule='evenodd' d='M12 18.5a1.5 1.5 0 0 0 1.5 1.5h5a1.5 1.5 0 0 0 1.5-1.5v-5a1.5 1.5 0 0 0-1.5-1.5h-5a1.5 1.5 0 0 0-1.5 1.5v5Zm6.354-2.146a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708.708l1.147 1.146H14a.5.5 0 0 0 0 1h2.793l-1.147 1.146a.5.5 0 0 0 .708.708l2-2Z' fill='currentColor'/></svg>",
31430
31597
  "esf-variable-output": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M12.5 15h-10A1.5 1.5 0 0 1 1 13.5v-11A1.5 1.5 0 0 1 2.5 1h13A1.5 1.5 0 0 1 17 2.5v10' stroke='currentColor' stroke-opacity='0.3' fill='none'/><path fill-rule='evenodd' clip-rule='evenodd' d='M12 18.5a1.5 1.5 0 0 0 1.5 1.5h5a1.5 1.5 0 0 0 1.5-1.5v-5a1.5 1.5 0 0 0-1.5-1.5h-5a1.5 1.5 0 0 0-1.5 1.5v5Zm6.354-2.146a.5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.708.708l1.147 1.146H14a.5.5 0 0 0 0 1h2.793l-1.147 1.146a.5.5 0 0 0 .708.708l2-2Z' fill='currentColor'/><path d='M6.946 4.734c-.3-1.018-.988-1.087-1.73-1.087-.741 0-1.53.426-1.53 1.168 0 .594.186.87 1.06 1.227l1.206.456c.874.357 1.111.622 1.138 1.21.045 1.015-1.055 1.223-1.796 1.223-.742 0-1.528-.102-1.794-1.007M5.284 3l.01 6.753' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='m13 5 2 1.5m0 0L13 8m2-1.5H7.5m0 0c1 0 2.5 1 2.5 3.5v2.5m-2.5-6h-2m6 4-1.5 2m0 0-1.5-2' stroke='currentColor' stroke-opacity='0.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
31431
- "esf-block-filter": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M14.5 10 10 12.5V19l4.5-2.5V10Z' fill='currentColor' fill-opacity='0.3'/><path d='M5.209 2.886 8.674 6.99a.5.5 0 0 1 .118.323v2.813a.5.5 0 0 0 .754.43l1.212-.715a.5.5 0 0 0 .246-.43V7.323a.5.5 0 0 1 .13-.337l3.762-4.11' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='M15.111 2.444c0 .798-2.263 1.445-5.055 1.445C7.263 3.889 5 3.242 5 2.444 5 1.647 7.263 1 10.056 1c2.792 0 5.055.647 5.055 1.444Z' stroke='currentColor' fill='none'/><path d='m9.941 19-4.563-2.608a.75.75 0 0 1-.378-.65V9.823l4.941 2.823V19Z' fill='currentColor' fill-opacity='0.12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path d='m9.94 19 4.564-2.608a.75.75 0 0 0 .378-.65V9.823L9.94 12.647V19Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='M8.664 7.73 5 9.824l4.941 2.823 4.941-2.823L11 7.605' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>"
31598
+ "esf-block-filter": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M14.5 10 10 12.5V19l4.5-2.5V10Z' fill='currentColor' fill-opacity='0.3'/><path d='M5.209 2.886 8.674 6.99a.5.5 0 0 1 .118.323v2.813a.5.5 0 0 0 .754.43l1.212-.715a.5.5 0 0 0 .246-.43V7.323a.5.5 0 0 1 .13-.337l3.762-4.11' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='M15.111 2.444c0 .798-2.263 1.445-5.055 1.445C7.263 3.889 5 3.242 5 2.444 5 1.647 7.263 1 10.056 1c2.792 0 5.055.647 5.055 1.444Z' stroke='currentColor' fill='none'/><path d='m9.941 19-4.563-2.608a.75.75 0 0 1-.378-.65V9.823l4.941 2.823V19Z' fill='currentColor' fill-opacity='0.12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path d='m9.94 19 4.564-2.608a.75.75 0 0 0 .378-.65V9.823L9.94 12.647V19Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='M8.664 7.73 5 9.824l4.941 2.823 4.941-2.823L11 7.605' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
31599
+ "esf-talentlyft": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M16.25 7.25c0 3.452-3.447 7.75-6.25 7.75-3 0-6.25-4.298-6.25-7.75a6.25 6.25 0 1 1 12.5 0Z' stroke='currentColor' fill='none'/><path fill-rule='evenodd' clip-rule='evenodd' d='M15.773 4.851a6.239 6.239 0 0 0-.791-1.375c-3.441.906-5.608-.832-6.447-2.303a6.208 6.208 0 0 0-1.508.578c1 2.032 3.495 4.383 8.746 3.1Z' fill='currentColor' fill-opacity='0.3'/><path fill-rule='evenodd' clip-rule='evenodd' d='M16.023 8.904a6.688 6.688 0 0 0 .224-1.856C10.32 9.046 6.139 5.864 5.187 3.262a6.247 6.247 0 0 0-.983 1.644c3.411 4.884 8.474 4.763 11.82 3.998Z' fill='currentColor' fill-opacity='0.3'/><path fill-rule='evenodd' clip-rule='evenodd' d='M4.637 10.783c-.553-1.18-.887-2.426-.887-3.533v-.04c1.816 2.592 5.492 5.397 11.464 3.788a11.89 11.89 0 0 1-1.335 2.054c-2.324.14-6.525-.168-9.242-2.269Z' fill='currentColor' fill-opacity='0.3'/><path d='M10 17c-.402 0-.767-.158-1.036-.415a.292.292 0 0 0-.2-.085.264.264 0 0 0-.264.264v.736c.013.827.68 1.5 1.5 1.5s1.487-.673 1.5-1.5v-.736a.264.264 0 0 0-.264-.264.292.292 0 0 0-.2.085c-.27.257-.634.415-1.036.415Z' stroke='currentColor' fill='none'/></svg>",
31600
+ "esf-corvus-pay": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M4.884 10.004c-.372-4.092-2.17-3.72-3.255-3.255 1.085-1.24 3.255-3.72 5.58-1.396 2.326-4.65 8.61-3.459 11.162-2.325v3.256c-1.86-1.86-6.494-1.418-7.906.465-1.395 1.86-1.395 6.975 1.86 7.905 2.28.652 5.115-.155 6.046-.93v2.79c-2.233 2.233-6.511 1.706-8.371.93-1.55-.774-4.744-3.348-5.116-7.44Z' stroke='currentColor' stroke-linejoin='round' fill='none'/><path d='M8.605 14.19C6.67 11.356 6.589 7.368 7.209 5.352l.466-.93 1.86-1.395 1.86-.93h2.325l2.79.465c-3.166.327-5.688 2.825-6.393 4.08l-.582 3.36.93 3.721 1.86.93h3.72l2.322-.928c.002-.413.003-.6.003-.002 0 .505-.006.863-.012 1.15a7.042 7.042 0 0 1-.008.37c.089.452-1.756 1.111-3.805 1.281-2.352.097-4.319.039-5.94-2.336Z' fill='currentColor' fill-opacity='0.3'/></svg>",
31601
+ "esf-paycek": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M2.733 10.688 1.5 18.5h1.54a3 3 0 0 0 2.942-2.412L6.5 13.5h5.143A6.857 6.857 0 0 0 18.5 6.643 5.143 5.143 0 0 0 13.357 1.5h-2.474a4 4 0 0 0-3.795 2.735L6.5 6H13a1.5 1.5 0 0 1 0 3H4.709a2 2 0 0 0-1.976 1.688Z' stroke='currentColor' fill='none'/><path d='M12.495 13.5c3.6-1.2 3.107-4.926 2.44-6.426l-.94 1.426-1 .5h-3c-2.8 0-3.698 2.817-3.981 4.39l6.481.11Z' fill='currentColor' fill-opacity='0.3'/></svg>"
31432
31602
  };
31433
31603
  export {
31434
31604
  blockIcons,