konsolpro-custom-ui 0.0.422 → 0.0.423

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/dist/lib/index.js CHANGED
@@ -19,7 +19,7 @@ var B = (e, t) => {
19
19
  t.indexOf(a) < 0 && Er.call(e, a) && (r[a] = e[a]);
20
20
  return r;
21
21
  };
22
- var T = (e, t, r) => new Promise((a, o) => {
22
+ var M = (e, t, r) => new Promise((a, o) => {
23
23
  var i = (u) => {
24
24
  try {
25
25
  l(r.next(u));
@@ -84,358 +84,358 @@ function Ma(e) {
84
84
  return Rt[r];
85
85
  }
86
86
  function L(e) {
87
- return sr(() => T(null, null, function* () {
87
+ return sr(() => M(null, null, function* () {
88
88
  return { default: (yield e()).ReactComponent };
89
89
  }));
90
90
  }
91
91
  const Ra = {
92
- UnfoldIcon: L(() => T(null, null, function* () {
92
+ UnfoldIcon: L(() => M(null, null, function* () {
93
93
  return import("../chunks/unfold-icon-S3J7xXHf.js");
94
94
  })),
95
- CallIcon: L(() => T(null, null, function* () {
95
+ CallIcon: L(() => M(null, null, function* () {
96
96
  return import("../chunks/call-icon-DslHaQOP.js");
97
97
  })),
98
- SettingsIcon: L(() => T(null, null, function* () {
98
+ SettingsIcon: L(() => M(null, null, function* () {
99
99
  return import("../chunks/settings-icon-D_wgjUsM.js");
100
100
  })),
101
- DoneIcon: L(() => T(null, null, function* () {
101
+ DoneIcon: L(() => M(null, null, function* () {
102
102
  return import("../chunks/done-icon-BZEAL7mI.js");
103
103
  })),
104
- CreditCardIcon: L(() => T(null, null, function* () {
104
+ CreditCardIcon: L(() => M(null, null, function* () {
105
105
  return import("../chunks/credit-card-icon-DS1ckDU7.js");
106
106
  })),
107
- OpenInFullIcon: L(() => T(null, null, function* () {
107
+ OpenInFullIcon: L(() => M(null, null, function* () {
108
108
  return import("../chunks/open-in-full-icon-DzhRd5Mx.js");
109
109
  })),
110
110
  AccountBalanceIcon: L(
111
- () => T(null, null, function* () {
111
+ () => M(null, null, function* () {
112
112
  return import("../chunks/account-balance-icon-CKxx1j3X.js");
113
113
  })
114
114
  ),
115
- DownloadIcon: L(() => T(null, null, function* () {
115
+ DownloadIcon: L(() => M(null, null, function* () {
116
116
  return import("../chunks/download-icon-BvWPcT7W.js");
117
117
  })),
118
- HomeIcon: L(() => T(null, null, function* () {
118
+ HomeIcon: L(() => M(null, null, function* () {
119
119
  return import("../chunks/home-icon-Mag5Wxqq.js");
120
120
  })),
121
- MailIcon: L(() => T(null, null, function* () {
121
+ MailIcon: L(() => M(null, null, function* () {
122
122
  return import("../chunks/mail-icon-DCZPsZFE.js");
123
123
  })),
124
- OpenInNewIcon: L(() => T(null, null, function* () {
124
+ OpenInNewIcon: L(() => M(null, null, function* () {
125
125
  return import("../chunks/open-in-new-icon-A7MgnnyP.js");
126
126
  })),
127
- SupportIcon: L(() => T(null, null, function* () {
127
+ SupportIcon: L(() => M(null, null, function* () {
128
128
  return import("../chunks/support-icon-CBHKGKq8.js");
129
129
  })),
130
130
  BusinessCenterIcon: L(
131
- () => T(null, null, function* () {
131
+ () => M(null, null, function* () {
132
132
  return import("../chunks/business-center-icon-C5X-e-6I.js");
133
133
  })
134
134
  ),
135
- WorkIcon: L(() => T(null, null, function* () {
135
+ WorkIcon: L(() => M(null, null, function* () {
136
136
  return import("../chunks/work-icon-D7I-74Mk.js");
137
137
  })),
138
- ArrowBackIcon: L(() => T(null, null, function* () {
138
+ ArrowBackIcon: L(() => M(null, null, function* () {
139
139
  return import("../chunks/arrow-back-icon-C_VwBDNK.js");
140
140
  })),
141
- SendIcon: L(() => T(null, null, function* () {
141
+ SendIcon: L(() => M(null, null, function* () {
142
142
  return import("../chunks/send-icon-BTztERTu.js");
143
143
  })),
144
- DeleteIcon: L(() => T(null, null, function* () {
144
+ DeleteIcon: L(() => M(null, null, function* () {
145
145
  return import("../chunks/delete-icon-Bk1ZmhBo.js");
146
146
  })),
147
147
  ArrowBackIOSIcon: L(
148
- () => T(null, null, function* () {
148
+ () => M(null, null, function* () {
149
149
  return import("../chunks/arrow-back-ios-icon-CB5K_mmJ.js");
150
150
  })
151
151
  ),
152
- SearchIcon: L(() => T(null, null, function* () {
152
+ SearchIcon: L(() => M(null, null, function* () {
153
153
  return import("../chunks/search-icon-CortrXrC.js");
154
154
  })),
155
- InfoIcon: L(() => T(null, null, function* () {
155
+ InfoIcon: L(() => M(null, null, function* () {
156
156
  return import("../chunks/info-icon-BcUNe5kE.js");
157
157
  })),
158
- PersonIcon: L(() => T(null, null, function* () {
158
+ PersonIcon: L(() => M(null, null, function* () {
159
159
  return import("../chunks/person-icon-Bo5NxPRQ.js");
160
160
  })),
161
- CloseIcon: L(() => T(null, null, function* () {
161
+ CloseIcon: L(() => M(null, null, function* () {
162
162
  return import("../chunks/close-icon-CtbXesC0.js");
163
163
  })),
164
- AddCircleIcon: L(() => T(null, null, function* () {
164
+ AddCircleIcon: L(() => M(null, null, function* () {
165
165
  return import("../chunks/add-circle-icon-D3XpY2oT.js");
166
166
  })),
167
- InventoryIcon: L(() => T(null, null, function* () {
167
+ InventoryIcon: L(() => M(null, null, function* () {
168
168
  return import("../chunks/inventory-icon-CFV8amBs.js");
169
169
  })),
170
- BookIcon: L(() => T(null, null, function* () {
170
+ BookIcon: L(() => M(null, null, function* () {
171
171
  return import("../chunks/book-icon-BdaCKIQB.js");
172
172
  })),
173
- RefreshIcon: L(() => T(null, null, function* () {
173
+ RefreshIcon: L(() => M(null, null, function* () {
174
174
  return import("../chunks/refresh-icon-ac1oOwX8.js");
175
175
  })),
176
- ArrowDownIcon: L(() => T(null, null, function* () {
176
+ ArrowDownIcon: L(() => M(null, null, function* () {
177
177
  return import("../chunks/arrow-down-icon-DFvg75P7.js");
178
178
  })),
179
- ArrowUpIcon: L(() => T(null, null, function* () {
179
+ ArrowUpIcon: L(() => M(null, null, function* () {
180
180
  return import("../chunks/arrow-up-icon-DU7VVzN8.js");
181
181
  })),
182
- ArrowRightIcon: L(() => T(null, null, function* () {
182
+ ArrowRightIcon: L(() => M(null, null, function* () {
183
183
  return import("../chunks/arrow-right-icon-Bnx7GHux.js");
184
184
  })),
185
- ArrowLeftIcon: L(() => T(null, null, function* () {
185
+ ArrowLeftIcon: L(() => M(null, null, function* () {
186
186
  return import("../chunks/arrow-left-icon-8yWT42A8.js");
187
187
  })),
188
- ArrowForwardIcon: L(() => T(null, null, function* () {
188
+ ArrowForwardIcon: L(() => M(null, null, function* () {
189
189
  return import("../chunks/arrow-forward-icon-BI4dm_L2.js");
190
190
  })),
191
- BoltIcon: L(() => T(null, null, function* () {
191
+ BoltIcon: L(() => M(null, null, function* () {
192
192
  return import("../chunks/bolt-icon-CJsvLlL-.js");
193
193
  })),
194
- LogoutIcon: L(() => T(null, null, function* () {
194
+ LogoutIcon: L(() => M(null, null, function* () {
195
195
  return import("../chunks/logout-icon-DN86wp7N.js");
196
196
  })),
197
197
  ProgressActivityIcon: L(
198
- () => T(null, null, function* () {
198
+ () => M(null, null, function* () {
199
199
  return import("../chunks/progress-activity-icon-YbJGzvxH.js");
200
200
  })
201
201
  ),
202
- AutorenewIcon: L(() => T(null, null, function* () {
202
+ AutorenewIcon: L(() => M(null, null, function* () {
203
203
  return import("../chunks/autorenew-icon-B0bI6Xt-.js");
204
204
  })),
205
- HelpIcon: L(() => T(null, null, function* () {
205
+ HelpIcon: L(() => M(null, null, function* () {
206
206
  return import("../chunks/help-icon-BMdlItds.js");
207
207
  })),
208
- VisibilityOnIcon: L(() => T(null, null, function* () {
208
+ VisibilityOnIcon: L(() => M(null, null, function* () {
209
209
  return import("../chunks/visibility-on-icon-C9VmKsvX.js");
210
210
  })),
211
- RemoveIcon: L(() => T(null, null, function* () {
211
+ RemoveIcon: L(() => M(null, null, function* () {
212
212
  return import("../chunks/remove-icon-CTuoG0Vq.js");
213
213
  })),
214
- AddIcon: L(() => T(null, null, function* () {
214
+ AddIcon: L(() => M(null, null, function* () {
215
215
  return import("../chunks/add-icon-CZXR66VL.js");
216
216
  })),
217
- EditIcon: L(() => T(null, null, function* () {
217
+ EditIcon: L(() => M(null, null, function* () {
218
218
  return import("../chunks/edit-icon-_3venQRC.js");
219
219
  })),
220
- ScenarioIcon: L(() => T(null, null, function* () {
220
+ ScenarioIcon: L(() => M(null, null, function* () {
221
221
  return import("../chunks/scenario-icon-BcnFsqUA.js");
222
222
  })),
223
- NorthEastIcon: L(() => T(null, null, function* () {
223
+ NorthEastIcon: L(() => M(null, null, function* () {
224
224
  return import("../chunks/north-east-icon-Dh7-1BBW.js");
225
225
  })),
226
- MoreVertIcon: L(() => T(null, null, function* () {
226
+ MoreVertIcon: L(() => M(null, null, function* () {
227
227
  return import("../chunks/more-vert-icon-NA1tYTse.js");
228
228
  })),
229
- MenuIcon: L(() => T(null, null, function* () {
229
+ MenuIcon: L(() => M(null, null, function* () {
230
230
  return import("../chunks/menu-icon-DWObHD95.js");
231
231
  })),
232
- CheckCircleIcon: L(() => T(null, null, function* () {
232
+ CheckCircleIcon: L(() => M(null, null, function* () {
233
233
  return import("../chunks/check-circle-icon-BWhJprgU.js");
234
234
  })),
235
- BlockIcon: L(() => T(null, null, function* () {
235
+ BlockIcon: L(() => M(null, null, function* () {
236
236
  return import("../chunks/block-icon-DGlp9c33.js");
237
237
  })),
238
- BoltFillIcon: L(() => T(null, null, function* () {
238
+ BoltFillIcon: L(() => M(null, null, function* () {
239
239
  return import("../chunks/bolt-fill-icon-DZjyKq8N.js");
240
240
  })),
241
- ErrorIcon: L(() => T(null, null, function* () {
241
+ ErrorIcon: L(() => M(null, null, function* () {
242
242
  return import("../chunks/error-icon-CgJ3zr06.js");
243
243
  })),
244
- ErrorFillIcon: L(() => T(null, null, function* () {
244
+ ErrorFillIcon: L(() => M(null, null, function* () {
245
245
  return import("../chunks/error-fill-icon--8j3Zcfq.js");
246
246
  })),
247
247
  VisibilityOffIcon: L(
248
- () => T(null, null, function* () {
248
+ () => M(null, null, function* () {
249
249
  return import("../chunks/visibility-off-icon-BA_I97Vw.js");
250
250
  })
251
251
  ),
252
- PaymentIcon: L(() => T(null, null, function* () {
252
+ PaymentIcon: L(() => M(null, null, function* () {
253
253
  return import("../chunks/payment-icon-C-B7L4WP.js");
254
254
  })),
255
- FilterIcon: L(() => T(null, null, function* () {
255
+ FilterIcon: L(() => M(null, null, function* () {
256
256
  return import("../chunks/filter-icon-D_3_SQsN.js");
257
257
  })),
258
- FullScreenIcon: L(() => T(null, null, function* () {
258
+ FullScreenIcon: L(() => M(null, null, function* () {
259
259
  return import("../chunks/full-screen-icon-Dpl__xtk.js");
260
260
  })),
261
261
  FullScreenExitIcon: L(
262
- () => T(null, null, function* () {
262
+ () => M(null, null, function* () {
263
263
  return import("../chunks/full-screen-exit-icon-BHwq-9P-.js");
264
264
  })
265
265
  ),
266
- MoreHorizIcon: L(() => T(null, null, function* () {
266
+ MoreHorizIcon: L(() => M(null, null, function* () {
267
267
  return import("../chunks/more-horiz-icon-CSK7Ackl.js");
268
268
  })),
269
- GroupIcon: L(() => T(null, null, function* () {
269
+ GroupIcon: L(() => M(null, null, function* () {
270
270
  return import("../chunks/group-icon-BfSRHuvp.js");
271
271
  })),
272
- DocumentIcon: L(() => T(null, null, function* () {
272
+ DocumentIcon: L(() => M(null, null, function* () {
273
273
  return import("../chunks/document-icon-DcmQhRhY.js");
274
274
  })),
275
- ListIcon: L(() => T(null, null, function* () {
275
+ ListIcon: L(() => M(null, null, function* () {
276
276
  return import("../chunks/list-icon-ChePCGxK.js");
277
277
  })),
278
- AttachFileIcon: L(() => T(null, null, function* () {
278
+ AttachFileIcon: L(() => M(null, null, function* () {
279
279
  return import("../chunks/attach-file-icon-OrT7tthI.js");
280
280
  })),
281
- LocationIcon: L(() => T(null, null, function* () {
281
+ LocationIcon: L(() => M(null, null, function* () {
282
282
  return import("../chunks/location-icon-Bf9Wbg65.js");
283
283
  })),
284
- UploadIcon: L(() => T(null, null, function* () {
284
+ UploadIcon: L(() => M(null, null, function* () {
285
285
  return import("../chunks/upload-icon-CwzthQEL.js");
286
286
  })),
287
- PageInfoIcon: L(() => T(null, null, function* () {
287
+ PageInfoIcon: L(() => M(null, null, function* () {
288
288
  return import("../chunks/page-info-icon-BiVNFu71.js");
289
289
  })),
290
- SegmentIcon: L(() => T(null, null, function* () {
290
+ SegmentIcon: L(() => M(null, null, function* () {
291
291
  return import("../chunks/segment-icon-Bzm7cziF.js");
292
292
  })),
293
- CopyIcon: L(() => T(null, null, function* () {
293
+ CopyIcon: L(() => M(null, null, function* () {
294
294
  return import("../chunks/copy-icon-BWyncDVB.js");
295
295
  })),
296
- InfoFillIcon: L(() => T(null, null, function* () {
296
+ InfoFillIcon: L(() => M(null, null, function* () {
297
297
  return import("../chunks/info-fill-icon-BzE09Xg8.js");
298
298
  })),
299
299
  ManageAccountsIcon: L(
300
- () => T(null, null, function* () {
300
+ () => M(null, null, function* () {
301
301
  return import("../chunks/manage-accounts-icon-BkyuUTj3.js");
302
302
  })
303
303
  ),
304
- FlagIcon: L(() => T(null, null, function* () {
304
+ FlagIcon: L(() => M(null, null, function* () {
305
305
  return import("../chunks/flag-icon-DmWEp4ya.js");
306
306
  })),
307
- CalendarIcon: L(() => T(null, null, function* () {
307
+ CalendarIcon: L(() => M(null, null, function* () {
308
308
  return import("../chunks/calendar-icon-B1cogiSd.js");
309
309
  })),
310
- PincodeIcon: L(() => T(null, null, function* () {
310
+ PincodeIcon: L(() => M(null, null, function* () {
311
311
  return import("../chunks/pincode-icon-BA-e4pBH.js");
312
312
  })),
313
- OutgoingMailIcon: L(() => T(null, null, function* () {
313
+ OutgoingMailIcon: L(() => M(null, null, function* () {
314
314
  return import("../chunks/outgoing-main-icon-BAH2vddG.js");
315
315
  })),
316
- TimeIcon: L(() => T(null, null, function* () {
316
+ TimeIcon: L(() => M(null, null, function* () {
317
317
  return import("../chunks/time-icon-DsWMo47L.js");
318
318
  })),
319
- SmsIcon: L(() => T(null, null, function* () {
319
+ SmsIcon: L(() => M(null, null, function* () {
320
320
  return import("../chunks/sms-icon-4p-ON5VX.js");
321
321
  })),
322
- TelegrammIcon: L(() => T(null, null, function* () {
322
+ TelegrammIcon: L(() => M(null, null, function* () {
323
323
  return import("../chunks/telegramm-icon-C2ZR2jdg.js");
324
324
  })),
325
- BillsWarningIcon: L(() => T(null, null, function* () {
325
+ BillsWarningIcon: L(() => M(null, null, function* () {
326
326
  return import("../chunks/bills-warning-icon-CNgWvumi.js");
327
327
  })),
328
328
  BillsInProgressIcon: L(
329
- () => T(null, null, function* () {
329
+ () => M(null, null, function* () {
330
330
  return import("../chunks/bills-in-progress-icon-RVEtPz7l.js");
331
331
  })
332
332
  ),
333
- BillsIcon: L(() => T(null, null, function* () {
333
+ BillsIcon: L(() => M(null, null, function* () {
334
334
  return import("../chunks/bills-icon-BU_adAs0.js");
335
335
  })),
336
- BillsErrorIcon: L(() => T(null, null, function* () {
336
+ BillsErrorIcon: L(() => M(null, null, function* () {
337
337
  return import("../chunks/bills-error-icon-CcDGUJrx.js");
338
338
  })),
339
- BillWarningIcon: L(() => T(null, null, function* () {
339
+ BillWarningIcon: L(() => M(null, null, function* () {
340
340
  return import("../chunks/bill-warning-icon-3Y-dONd_.js");
341
341
  })),
342
342
  BillInProgressIcon: L(
343
- () => T(null, null, function* () {
343
+ () => M(null, null, function* () {
344
344
  return import("../chunks/bill-in-progress-icon-BTsO5Mh5.js");
345
345
  })
346
346
  ),
347
- BillIcon: L(() => T(null, null, function* () {
347
+ BillIcon: L(() => M(null, null, function* () {
348
348
  return import("../chunks/bill-icon-Cw2GE_VB.js");
349
349
  })),
350
- BillErrorIcon: L(() => T(null, null, function* () {
350
+ BillErrorIcon: L(() => M(null, null, function* () {
351
351
  return import("../chunks/bill-error-icon-q8_KROAY.js");
352
352
  })),
353
- AndroidIcon: L(() => T(null, null, function* () {
353
+ AndroidIcon: L(() => M(null, null, function* () {
354
354
  return import("../chunks/android-icon-6SCGu50U.js");
355
355
  })),
356
- AppleIcon: L(() => T(null, null, function* () {
356
+ AppleIcon: L(() => M(null, null, function* () {
357
357
  return import("../chunks/apple-icon-yya6O1xg.js");
358
358
  })),
359
- ZoomInIcon: L(() => T(null, null, function* () {
359
+ ZoomInIcon: L(() => M(null, null, function* () {
360
360
  return import("../chunks/zoom-in-icon-ZWEJANob.js");
361
361
  })),
362
- ZoomOutIcon: L(() => T(null, null, function* () {
362
+ ZoomOutIcon: L(() => M(null, null, function* () {
363
363
  return import("../chunks/zoom-out-icon-CeFz3G6V.js");
364
364
  })),
365
- SaveIcon: L(() => T(null, null, function* () {
365
+ SaveIcon: L(() => M(null, null, function* () {
366
366
  return import("../chunks/save-icon-DnF5revo.js");
367
367
  })),
368
- WalletIcon: L(() => T(null, null, function* () {
368
+ WalletIcon: L(() => M(null, null, function* () {
369
369
  return import("../chunks/wallet-icon-D0r9bDRg.js");
370
370
  })),
371
- PlayIcon: L(() => T(null, null, function* () {
371
+ PlayIcon: L(() => M(null, null, function* () {
372
372
  return import("../chunks/play-icon-Bnj3hsIf.js");
373
373
  })),
374
- SberIdIcon: L(() => T(null, null, function* () {
374
+ SberIdIcon: L(() => M(null, null, function* () {
375
375
  return import("../chunks/sberid-icon-DgQtjRjD.js");
376
376
  })),
377
- TinkoffIdIcon: L(() => T(null, null, function* () {
377
+ TinkoffIdIcon: L(() => M(null, null, function* () {
378
378
  return import("../chunks/tinkoffid-icon-DN9XKuNA.js");
379
379
  })),
380
- CookieIcon: L(() => T(null, null, function* () {
380
+ CookieIcon: L(() => M(null, null, function* () {
381
381
  return import("../chunks/cookie-DJ-U7h-A.js");
382
382
  })),
383
- ThumbsUpIcon: L(() => T(null, null, function* () {
383
+ ThumbsUpIcon: L(() => M(null, null, function* () {
384
384
  return import("../chunks/thumbs-up-icon-BArjyDfk.js");
385
385
  })),
386
386
  CheckCircleFillIcon: L(
387
- () => T(null, null, function* () {
387
+ () => M(null, null, function* () {
388
388
  return import("../chunks/check-circle-fill-ne1MhahL.js");
389
389
  })
390
390
  ),
391
- CancelFillIcon: L(() => T(null, null, function* () {
391
+ CancelFillIcon: L(() => M(null, null, function* () {
392
392
  return import("../chunks/cancel-fill-DPYenlCk.js");
393
393
  })),
394
- TrendingUpIcon: L(() => T(null, null, function* () {
394
+ TrendingUpIcon: L(() => M(null, null, function* () {
395
395
  return import("../chunks/trending-up-icon-IEwGHi9c.js");
396
396
  })),
397
- TrendingDownIcon: L(() => T(null, null, function* () {
397
+ TrendingDownIcon: L(() => M(null, null, function* () {
398
398
  return import("../chunks/trending-down-icon-DlHKI37F.js");
399
399
  })),
400
- PersonAddIcon: L(() => T(null, null, function* () {
400
+ PersonAddIcon: L(() => M(null, null, function* () {
401
401
  return import("../chunks/person-add-C-3pZhgM.js");
402
402
  })),
403
- PersonSearchIcon: L(() => T(null, null, function* () {
403
+ PersonSearchIcon: L(() => M(null, null, function* () {
404
404
  return import("../chunks/person-search-icon-CwVm_XAL.js");
405
405
  })),
406
- LinkIcon: L(() => T(null, null, function* () {
406
+ LinkIcon: L(() => M(null, null, function* () {
407
407
  return import("../chunks/link-icon-BUAymb0P.js");
408
408
  })),
409
- FileSuccessIcon: L(() => T(null, null, function* () {
409
+ FileSuccessIcon: L(() => M(null, null, function* () {
410
410
  return import("../chunks/file-success-icon-BTk5SYAM.js");
411
411
  })),
412
- FileErrorIcon: L(() => T(null, null, function* () {
412
+ FileErrorIcon: L(() => M(null, null, function* () {
413
413
  return import("../chunks/file-error-icon-630wBy1K.js");
414
414
  })),
415
- ShieldIcon: L(() => T(null, null, function* () {
415
+ ShieldIcon: L(() => M(null, null, function* () {
416
416
  return import("../chunks/shield-icon-BwpxkU5E.js");
417
417
  })),
418
- StatisticIcon: L(() => T(null, null, function* () {
418
+ StatisticIcon: L(() => M(null, null, function* () {
419
419
  return import("../chunks/statistic-icon-mhqUxTDv.js");
420
420
  })),
421
- DontDisturbIcon: L(() => T(null, null, function* () {
421
+ DontDisturbIcon: L(() => M(null, null, function* () {
422
422
  return import("../chunks/dont-disturb-o1xt1TeU.js");
423
423
  })),
424
- WhatsAppIcon: L(() => T(null, null, function* () {
424
+ WhatsAppIcon: L(() => M(null, null, function* () {
425
425
  return import("../chunks/whats-app-icon-XbrqQF8U.js");
426
426
  })),
427
- MaxIcon: L(() => T(null, null, function* () {
427
+ MaxIcon: L(() => M(null, null, function* () {
428
428
  return import("../chunks/max-icon-CTdBEAt8.js");
429
429
  })),
430
430
  SettingsBackupRestoreIcon: L(
431
- () => T(null, null, function* () {
431
+ () => M(null, null, function* () {
432
432
  return import("../chunks/settings-backup-restore-icon-DUrmFxtk.js");
433
433
  })
434
434
  ),
435
- PauseCircleIcon: L(() => T(null, null, function* () {
435
+ PauseCircleIcon: L(() => M(null, null, function* () {
436
436
  return import("../chunks/pause-circle-icon-Dpio-qM3.js");
437
437
  })),
438
- BellIcon: L(() => T(null, null, function* () {
438
+ BellIcon: L(() => M(null, null, function* () {
439
439
  return import("../chunks/bell-icon-L-Ynt5XK.js");
440
440
  }))
441
441
  };
@@ -459,88 +459,88 @@ function U({
459
459
  ) : null;
460
460
  }
461
461
  function ie(e) {
462
- return sr(() => T(null, null, function* () {
462
+ return sr(() => M(null, null, function* () {
463
463
  return { default: (yield e()).ReactComponent };
464
464
  }));
465
465
  }
466
466
  const Ea = {
467
- AlfaIcon: ie(() => T(null, null, function* () {
467
+ AlfaIcon: ie(() => M(null, null, function* () {
468
468
  return import("../chunks/alfa-icon-Cx0WqCux.js");
469
469
  })),
470
- BaltiyskiyIcon: ie(() => T(null, null, function* () {
470
+ BaltiyskiyIcon: ie(() => M(null, null, function* () {
471
471
  return import("../chunks/baltiyskiy-icon-CXAJY9LH.js");
472
472
  })),
473
- EuropaIcon: ie(() => T(null, null, function* () {
473
+ EuropaIcon: ie(() => M(null, null, function* () {
474
474
  return import("../chunks/europa-icon-DbElF2Uc.js");
475
475
  })),
476
- GazpromIcon: ie(() => T(null, null, function* () {
476
+ GazpromIcon: ie(() => M(null, null, function* () {
477
477
  return import("../chunks/gazprom-icon-CRfKLTvP.js");
478
478
  })),
479
- HomeIcon: ie(() => T(null, null, function* () {
479
+ HomeIcon: ie(() => M(null, null, function* () {
480
480
  return import("../chunks/home-icon-Dc6LzbVw.js");
481
481
  })),
482
- MkbIcon: ie(() => T(null, null, function* () {
482
+ MkbIcon: ie(() => M(null, null, function* () {
483
483
  return import("../chunks/mkb-icon-CEkVt-7P.js");
484
484
  })),
485
- MtsIcon: ie(() => T(null, null, function* () {
485
+ MtsIcon: ie(() => M(null, null, function* () {
486
486
  return import("../chunks/mts-icon-Bq4YDYEy.js");
487
487
  })),
488
- OtkritieIcon: ie(() => T(null, null, function* () {
488
+ OtkritieIcon: ie(() => M(null, null, function* () {
489
489
  return import("../chunks/otkritie-icon-yGwVocEY.js");
490
490
  })),
491
- OtpIcon: ie(() => T(null, null, function* () {
491
+ OtpIcon: ie(() => M(null, null, function* () {
492
492
  return import("../chunks/otp-icon-BQQXMe3b.js");
493
493
  })),
494
- PsbIcon: ie(() => T(null, null, function* () {
494
+ PsbIcon: ie(() => M(null, null, function* () {
495
495
  return import("../chunks/psb-icon-CxKzLVG5.js");
496
496
  })),
497
- QiwiIcon: ie(() => T(null, null, function* () {
497
+ QiwiIcon: ie(() => M(null, null, function* () {
498
498
  return import("../chunks/qiwi-icon-B795Q_fW.js");
499
499
  })),
500
- RaiffeisenIcon: ie(() => T(null, null, function* () {
500
+ RaiffeisenIcon: ie(() => M(null, null, function* () {
501
501
  return import("../chunks/raiffeisen-icon-CgcBX8eY.js");
502
502
  })),
503
503
  RussianStandartIcon: ie(
504
- () => T(null, null, function* () {
504
+ () => M(null, null, function* () {
505
505
  return import("../chunks/russian-standart-icon-CI8j1Do6.js");
506
506
  })
507
507
  ),
508
508
  SaintPetersburgIcon: ie(
509
- () => T(null, null, function* () {
509
+ () => M(null, null, function* () {
510
510
  return import("../chunks/saint-petersburg-icon-DbffjI2W.js");
511
511
  })
512
512
  ),
513
- SberIcon: ie(() => T(null, null, function* () {
513
+ SberIcon: ie(() => M(null, null, function* () {
514
514
  return import("../chunks/sber-icon-b7d9_o7J.js");
515
515
  })),
516
- SkbIcon: ie(() => T(null, null, function* () {
516
+ SkbIcon: ie(() => M(null, null, function* () {
517
517
  return import("../chunks/skb-icon-BgDQolTL.js");
518
518
  })),
519
- TbankIcon: ie(() => T(null, null, function* () {
519
+ TbankIcon: ie(() => M(null, null, function* () {
520
520
  return import("../chunks/tbank-icon-ByKW0pBb.js");
521
521
  })),
522
- TochkaIcon: ie(() => T(null, null, function* () {
522
+ TochkaIcon: ie(() => M(null, null, function* () {
523
523
  return import("../chunks/tochka-icon-CoQ_r9Lz.js");
524
524
  })),
525
- TrustIcon: ie(() => T(null, null, function* () {
525
+ TrustIcon: ie(() => M(null, null, function* () {
526
526
  return import("../chunks/trust-icon-DcfUVGZ_.js");
527
527
  })),
528
- UniIcon: ie(() => T(null, null, function* () {
528
+ UniIcon: ie(() => M(null, null, function* () {
529
529
  return import("../chunks/uni-icon-gK006vr0.js");
530
530
  })),
531
- UralsibIcon: ie(() => T(null, null, function* () {
531
+ UralsibIcon: ie(() => M(null, null, function* () {
532
532
  return import("../chunks/uralsib-icon-C-ZbdvlL.js");
533
533
  })),
534
- UralskiyIcon: ie(() => T(null, null, function* () {
534
+ UralskiyIcon: ie(() => M(null, null, function* () {
535
535
  return import("../chunks/uralskiy-icon-Djqv-ZYN.js");
536
536
  })),
537
- VozrozhdenieIcon: ie(() => T(null, null, function* () {
537
+ VozrozhdenieIcon: ie(() => M(null, null, function* () {
538
538
  return import("../chunks/vozrozhdenie-icon-CCMRNn95.js");
539
539
  })),
540
- VtbIcon: ie(() => T(null, null, function* () {
540
+ VtbIcon: ie(() => M(null, null, function* () {
541
541
  return import("../chunks/vtb-icon-BtfO1_Gx.js");
542
542
  })),
543
- YandexIcon: ie(() => T(null, null, function* () {
543
+ YandexIcon: ie(() => M(null, null, function* () {
544
544
  return import("../chunks/yandex-icon-CepqpI49.js");
545
545
  }))
546
546
  };
@@ -560,39 +560,39 @@ function zl({ icon: e }) {
560
560
  ) : null;
561
561
  }
562
562
  function Fe(e) {
563
- return sr(() => T(null, null, function* () {
563
+ return sr(() => M(null, null, function* () {
564
564
  return { default: (yield e()).ReactComponent };
565
565
  }));
566
566
  }
567
567
  const Aa = {
568
- Normal: Fe(() => T(null, null, function* () {
568
+ Normal: Fe(() => M(null, null, function* () {
569
569
  return import("../chunks/normal-icon-CYvIFN5j.js");
570
570
  })),
571
- Failed: Fe(() => T(null, null, function* () {
571
+ Failed: Fe(() => M(null, null, function* () {
572
572
  return import("../chunks/failed-icon-YP2jq4UN.js");
573
573
  })),
574
- Signed: Fe(() => T(null, null, function* () {
574
+ Signed: Fe(() => M(null, null, function* () {
575
575
  return import("../chunks/signed-icon-DTQlKmWU.js");
576
576
  })),
577
- Warning: Fe(() => T(null, null, function* () {
577
+ Warning: Fe(() => M(null, null, function* () {
578
578
  return import("../chunks/warning-icon-BmlgMY27.js");
579
579
  })),
580
- Waiting: Fe(() => T(null, null, function* () {
580
+ Waiting: Fe(() => M(null, null, function* () {
581
581
  return import("../chunks/waiting-icon-lpQJA4wB.js");
582
582
  })),
583
- Error: Fe(() => T(null, null, function* () {
583
+ Error: Fe(() => M(null, null, function* () {
584
584
  return import("../chunks/error-icon-BJWk5B-s.js");
585
585
  })),
586
- Passport: Fe(() => T(null, null, function* () {
586
+ Passport: Fe(() => M(null, null, function* () {
587
587
  return import("../chunks/passport-main-DNL65kJJ.js");
588
588
  })),
589
- Registration: Fe(() => T(null, null, function* () {
589
+ Registration: Fe(() => M(null, null, function* () {
590
590
  return import("../chunks/passport-registration-BGywpRar.js");
591
591
  })),
592
- Selfie: Fe(() => T(null, null, function* () {
592
+ Selfie: Fe(() => M(null, null, function* () {
593
593
  return import("../chunks/passport-selfie-Dsqd0uOf.js");
594
594
  })),
595
- Accept: Fe(() => T(null, null, function* () {
595
+ Accept: Fe(() => M(null, null, function* () {
596
596
  return import("../chunks/accept-icon-X_bMUe5T.js");
597
597
  }))
598
598
  };
@@ -915,7 +915,7 @@ const ln = ge(
915
915
  "onClick"
916
916
  ]);
917
917
  var z;
918
- const M = a ? Dt : "button", C = !!d, k = c && C, R = () => C ? "text-muted-foreground" : t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", E = () => /* @__PURE__ */ n(
918
+ const T = a ? Dt : "button", k = !!d, C = c && k, R = () => k ? "text-muted-foreground" : t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", E = () => /* @__PURE__ */ n(
919
919
  je,
920
920
  {
921
921
  size: 16,
@@ -931,7 +931,7 @@ const ln = ge(
931
931
  s === "end" && S()
932
932
  ] });
933
933
  return /* @__PURE__ */ n(
934
- M,
934
+ T,
935
935
  F(w({}, y), {
936
936
  className: p(
937
937
  "relative",
@@ -941,18 +941,18 @@ const ln = ge(
941
941
  iconOnly: o,
942
942
  isActive: i,
943
943
  isLoading: c,
944
- isLoadingAndDisabled: k,
944
+ isLoadingAndDisabled: C,
945
945
  iconPosition: s
946
946
  }),
947
947
  g && ((z = Da[t]) == null ? void 0 : z[g]),
948
948
  e
949
949
  ),
950
- disabled: c || C,
951
- "aria-disabled": c || C,
950
+ disabled: c || k,
951
+ "aria-disabled": c || k,
952
952
  ref: h,
953
- "data-state": k ? "disabled-loading" : void 0,
953
+ "data-state": C ? "disabled-loading" : void 0,
954
954
  onClick: (G) => {
955
- c || C || b == null || b(G);
955
+ c || k || b == null || b(G);
956
956
  },
957
957
  "data-testid": x,
958
958
  children: o ? S() : A
@@ -1013,14 +1013,14 @@ const Lr = ge("", {
1013
1013
  "copyable"
1014
1014
  ]);
1015
1015
  const [c, d] = oe(!1), g = ne(() => i ? typeof i == "boolean" ? {} : i : null, [i]), x = $(
1016
- (h) => T(null, null, function* () {
1017
- var I, M, C, k, R;
1016
+ (h) => M(null, null, function* () {
1017
+ var I, T, k, C, R;
1018
1018
  if (!g)
1019
1019
  return;
1020
1020
  h.preventDefault(), h.stopPropagation(), h.nativeEvent.stopImmediatePropagation();
1021
- const m = (C = (M = g.text) != null ? M : (I = h.currentTarget.textContent) == null ? void 0 : I.trim()) != null ? C : "";
1021
+ const m = (k = (T = g.text) != null ? T : (I = h.currentTarget.textContent) == null ? void 0 : I.trim()) != null ? k : "";
1022
1022
  try {
1023
- yield navigator.clipboard.writeText(m), (k = g.onCopy) == null || k.call(g), d(!0), setTimeout(() => d(!1), (R = g.duration) != null ? R : 1500);
1023
+ yield navigator.clipboard.writeText(m), (C = g.onCopy) == null || C.call(g), d(!0), setTimeout(() => d(!1), (R = g.duration) != null ? R : 1500);
1024
1024
  } catch (E) {
1025
1025
  }
1026
1026
  }),
@@ -1569,9 +1569,9 @@ const Le = v.forwardRef(
1569
1569
  suffix: h,
1570
1570
  showErrorMessage: m = !0,
1571
1571
  onClear: I,
1572
- showStepperButtons: M = !1,
1573
- onStepDown: C,
1574
- onStepUp: k,
1572
+ showStepperButtons: T = !1,
1573
+ onStepDown: k,
1574
+ onStepUp: C,
1575
1575
  onChange: R,
1576
1576
  value: E,
1577
1577
  "data-testid": S
@@ -1637,18 +1637,18 @@ const Le = v.forwardRef(
1637
1637
  },
1638
1638
  [V, d, W, A.max, A.min, A.step, j]
1639
1639
  ), te = v.useCallback(() => {
1640
- if (C) {
1641
- C();
1640
+ if (k) {
1641
+ k();
1642
1642
  return;
1643
1643
  }
1644
1644
  J(-1);
1645
- }, [J, C]), ae = v.useCallback(() => {
1646
- if (k) {
1647
- k();
1645
+ }, [J, k]), ae = v.useCallback(() => {
1646
+ if (C) {
1647
+ C();
1648
1648
  return;
1649
1649
  }
1650
1650
  J(1);
1651
- }, [J, k]);
1651
+ }, [J, C]);
1652
1652
  return /* @__PURE__ */ N("div", { className: p(f && "w-full"), children: [
1653
1653
  o && /* @__PURE__ */ n(
1654
1654
  _,
@@ -1727,13 +1727,13 @@ const Le = v.forwardRef(
1727
1727
  "data-testid": S
1728
1728
  }, A)
1729
1729
  ),
1730
- (x || a || l || i || h || O || M) && /* @__PURE__ */ N(
1730
+ (x || a || l || i || h || O || T) && /* @__PURE__ */ N(
1731
1731
  "div",
1732
1732
  {
1733
1733
  className: p(
1734
1734
  "flex shrink-0 items-center gap-1.5",
1735
- !M && r === "md" && "pr-2.5",
1736
- !M && r === "lg" && "pr-3"
1735
+ !T && r === "md" && "pr-2.5",
1736
+ !T && r === "lg" && "pr-3"
1737
1737
  ),
1738
1738
  children: [
1739
1739
  h && /* @__PURE__ */ n("div", { className: p("font-graphik flex items-center text-[16px]", d && "text-secondary opacity-50"), children: h }),
@@ -1794,7 +1794,7 @@ const Le = v.forwardRef(
1794
1794
  size: 16
1795
1795
  }
1796
1796
  ),
1797
- M && /* @__PURE__ */ N(
1797
+ T && /* @__PURE__ */ N(
1798
1798
  "div",
1799
1799
  {
1800
1800
  className: p("flex items-center gap-[2px]", {
@@ -2028,18 +2028,18 @@ function jl({
2028
2028
  h((S == null ? void 0 : S.label) || "");
2029
2029
  }
2030
2030
  }, [t]);
2031
- const M = v.useCallback(
2031
+ const T = v.useCallback(
2032
2032
  (S) => {
2033
2033
  const A = e.find((z) => z.value === S);
2034
2034
  A && (r(A.value, A), h(A.label)), b(!1);
2035
2035
  },
2036
2036
  [e, r]
2037
- ), C = v.useCallback(
2037
+ ), k = v.useCallback(
2038
2038
  (S) => {
2039
2039
  h(S.target.value), o == null || o(S.target.value), b(!0);
2040
2040
  },
2041
2041
  []
2042
- ), k = v.useCallback(() => {
2042
+ ), C = v.useCallback(() => {
2043
2043
  x ? b(!1) : (b(!0), setTimeout(() => {
2044
2044
  var S;
2045
2045
  (S = m.current) == null || S.focus();
@@ -2070,8 +2070,8 @@ function jl({
2070
2070
  ref: m,
2071
2071
  placeholder: a,
2072
2072
  value: y,
2073
- onChange: C,
2074
- onClick: k,
2073
+ onChange: k,
2074
+ onClick: C,
2075
2075
  className: p("w-full", s),
2076
2076
  disabled: l,
2077
2077
  size: g
@@ -2091,7 +2091,7 @@ function jl({
2091
2091
  Gt,
2092
2092
  {
2093
2093
  value: S.value,
2094
- onSelect: M,
2094
+ onSelect: T,
2095
2095
  className: "flex flex-col items-start py-2",
2096
2096
  children: d ? d(S) : /* @__PURE__ */ n("div", { children: S.label })
2097
2097
  },
@@ -2560,58 +2560,58 @@ const Kl = (f) => {
2560
2560
  ]);
2561
2561
  const { days: d, selectedDate: g, setSelectedDate: x } = Io(F(w({}, u), {
2562
2562
  onChange: e
2563
- })), b = ce(null), y = $((M) => {
2564
- const C = b.current;
2565
- if (C) {
2566
- const k = yo * Be;
2567
- C.scrollBy({ left: M > 0 ? k : -546, behavior: "smooth" });
2563
+ })), b = ce(null), y = $((T) => {
2564
+ const k = b.current;
2565
+ if (k) {
2566
+ const C = yo * Be;
2567
+ k.scrollBy({ left: T > 0 ? C : -546, behavior: "smooth" });
2568
2568
  }
2569
- }, []), h = (M) => M.getTime() === g.getTime(), m = $((M, C = !1) => {
2569
+ }, []), h = (T) => T.getTime() === g.getTime(), m = $((T, k = !1) => {
2570
2570
  if (b.current && d.length > 0) {
2571
- const k = d.findIndex((R) => R.getTime() === Ae(M).getTime());
2572
- if (k !== -1) {
2573
- const R = b.current.offsetWidth, S = window.innerWidth < bn ? k * Be : k * Be - R / 2 + Be / 2;
2574
- C ? b.current.scrollTo({ left: Math.max(0, S), behavior: "smooth" }) : b.current.scrollLeft = Math.max(0, S);
2571
+ const C = d.findIndex((R) => R.getTime() === Ae(T).getTime());
2572
+ if (C !== -1) {
2573
+ const R = b.current.offsetWidth, S = window.innerWidth < bn ? C * Be : C * Be - R / 2 + Be / 2;
2574
+ k ? b.current.scrollTo({ left: Math.max(0, S), behavior: "smooth" }) : b.current.scrollLeft = Math.max(0, S);
2575
2575
  }
2576
2576
  }
2577
2577
  }, [d]);
2578
2578
  fe(() => {
2579
2579
  if (d.length > 0) {
2580
- const M = Ae(/* @__PURE__ */ new Date());
2581
- m(M);
2580
+ const T = Ae(/* @__PURE__ */ new Date());
2581
+ m(T);
2582
2582
  }
2583
2583
  }, []), fe(() => {
2584
2584
  if (i && d.length > 0 && b.current) {
2585
- const M = setTimeout(() => {
2586
- var C;
2585
+ const T = setTimeout(() => {
2586
+ var k;
2587
2587
  if (i.mode === "date")
2588
2588
  m(i.date, !0);
2589
2589
  else {
2590
- const k = Ae(new Date(
2590
+ const C = Ae(new Date(
2591
2591
  i.date.getFullYear(),
2592
2592
  i.date.getMonth(),
2593
2593
  1
2594
- )), R = d.findIndex((E) => E.getTime() === k.getTime());
2594
+ )), R = d.findIndex((E) => E.getTime() === C.getTime());
2595
2595
  if (R !== -1) {
2596
2596
  const E = R * Be;
2597
- (C = b.current) == null || C.scrollTo({ left: Math.max(0, E), behavior: "smooth" });
2597
+ (k = b.current) == null || k.scrollTo({ left: Math.max(0, E), behavior: "smooth" });
2598
2598
  }
2599
2599
  }
2600
2600
  setTimeout(() => {
2601
2601
  s == null || s();
2602
2602
  }, 500);
2603
2603
  }, 50);
2604
- return () => clearTimeout(M);
2604
+ return () => clearTimeout(T);
2605
2605
  }
2606
2606
  }, [i, d, s, m]);
2607
2607
  const I = ce([]);
2608
2608
  return fe(() => {
2609
2609
  if (b.current && d.length > 0 && I.current.length > 0) {
2610
- const C = I.current[0], k = d[0], R = d.findIndex((E) => E.getTime() === C.getTime());
2610
+ const k = I.current[0], C = d[0], R = d.findIndex((E) => E.getTime() === k.getTime());
2611
2611
  if (R > 0)
2612
2612
  b.current.scrollLeft += R * Be;
2613
2613
  else if (R === -1) {
2614
- const E = C.getTime(), S = k.getTime();
2614
+ const E = k.getTime(), S = C.getTime();
2615
2615
  if (S < E) {
2616
2616
  const A = Math.round((E - S) / 864e5);
2617
2617
  b.current.scrollLeft += A * Be;
@@ -2643,16 +2643,16 @@ const Kl = (f) => {
2643
2643
  scrollbarWidth: "none",
2644
2644
  msOverflowStyle: "none"
2645
2645
  },
2646
- children: /* @__PURE__ */ n("div", { className: "flex gap-2 pb-1 px-4 md:px-4", "data-testid": l == null ? void 0 : l.calendarStrip, children: d.map((M) => /* @__PURE__ */ n(
2646
+ children: /* @__PURE__ */ n("div", { className: "flex gap-2 pb-1 px-4 md:px-4", "data-testid": l == null ? void 0 : l.calendarStrip, children: d.map((T) => /* @__PURE__ */ n(
2647
2647
  xo,
2648
2648
  {
2649
- date: M,
2650
- selected: h(M),
2651
- onClick: () => x(M),
2649
+ date: T,
2650
+ selected: h(T),
2651
+ onClick: () => x(T),
2652
2652
  renderBadge: r,
2653
2653
  className: t
2654
2654
  },
2655
- M.toISOString()
2655
+ T.toISOString()
2656
2656
  )) })
2657
2657
  }
2658
2658
  ),
@@ -2730,8 +2730,8 @@ const cr = v.forwardRef((s, i) => {
2730
2730
  });
2731
2731
  cr.displayName = "SelectItem";
2732
2732
  const ur = v.forwardRef(
2733
- (C, M) => {
2734
- var k = C, {
2733
+ (k, T) => {
2734
+ var C = k, {
2735
2735
  className: e,
2736
2736
  children: t,
2737
2737
  size: r = "md",
@@ -2750,7 +2750,7 @@ const ur = v.forwardRef(
2750
2750
  clearable: y = !1,
2751
2751
  onClear: h,
2752
2752
  inlineSelect: m = !1
2753
- } = k, I = B(k, [
2753
+ } = C, I = B(C, [
2754
2754
  "className",
2755
2755
  "children",
2756
2756
  "size",
@@ -2815,7 +2815,7 @@ const ur = v.forwardRef(
2815
2815
  children: /* @__PURE__ */ N(
2816
2816
  ye.Trigger,
2817
2817
  F(w({
2818
- ref: M,
2818
+ ref: T,
2819
2819
  className: p(
2820
2820
  "font-graphik group flex items-center",
2821
2821
  !l && [
@@ -3153,7 +3153,7 @@ const Yl = ({
3153
3153
  const h = new Date(u.getFullYear(), u.getMonth(), 1);
3154
3154
  return zr(h);
3155
3155
  }, [u, c]), b = (h) => {
3156
- const m = g.find((M) => M.value === h);
3156
+ const m = g.find((T) => T.value === h);
3157
3157
  if (!m)
3158
3158
  return;
3159
3159
  d(h);
@@ -3466,20 +3466,20 @@ function Lo(e) {
3466
3466
  onCheckedChange: u,
3467
3467
  ref: f,
3468
3468
  "data-testid": c
3469
- } = e, d = a === "md" ? 16 : 24, g = v.useId(), x = l || g, b = i || !1, [y, h] = v.useState(!1), m = s !== void 0, I = m ? s : y, M = () => I === !0 ? "checked" : I === "indeterminate" ? "indeterminate" : "unchecked", C = (R) => {
3469
+ } = e, d = a === "md" ? 16 : 24, g = v.useId(), x = l || g, b = i || !1, [y, h] = v.useState(!1), m = s !== void 0, I = m ? s : y, T = () => I === !0 ? "checked" : I === "indeterminate" ? "indeterminate" : "unchecked", k = (R) => {
3470
3470
  m && u ? u(R) : m || h(R);
3471
- }, k = /* @__PURE__ */ n(
3471
+ }, C = /* @__PURE__ */ n(
3472
3472
  Dr.Root,
3473
3473
  {
3474
3474
  ref: f,
3475
3475
  id: x,
3476
3476
  className: p(
3477
- Do({ size: a, state: M(), isDisabled: b }),
3477
+ Do({ size: a, state: T(), isDisabled: b }),
3478
3478
  r || (o ? void 0 : t)
3479
3479
  ),
3480
3480
  disabled: b,
3481
3481
  checked: I,
3482
- onCheckedChange: C,
3482
+ onCheckedChange: k,
3483
3483
  "data-testid": c,
3484
3484
  children: /* @__PURE__ */ N(Dr.Indicator, { className: "flex h-full w-full items-center justify-center", children: [
3485
3485
  I === "indeterminate" && /* @__PURE__ */ n("div", { className: Fo({ size: a }) }),
@@ -3488,7 +3488,7 @@ function Lo(e) {
3488
3488
  }
3489
3489
  );
3490
3490
  return o ? /* @__PURE__ */ N("div", { className: p("items-top flex flex-row space-x-2", t), children: [
3491
- /* @__PURE__ */ n("div", { className: p(a === "md" && "pt-0.5"), children: k }),
3491
+ /* @__PURE__ */ n("div", { className: p(a === "md" && "pt-0.5"), children: C }),
3492
3492
  /* @__PURE__ */ n(
3493
3493
  "label",
3494
3494
  {
@@ -3501,7 +3501,7 @@ function Lo(e) {
3501
3501
  children: o
3502
3502
  }
3503
3503
  )
3504
- ] }) : k;
3504
+ ] }) : C;
3505
3505
  }
3506
3506
  const or = v.forwardRef(
3507
3507
  (e, t) => /* @__PURE__ */ n(Lo, F(w({}, e), { ref: t }))
@@ -3535,15 +3535,15 @@ const or = v.forwardRef(
3535
3535
  return (E = m.current) == null ? void 0 : E.focus();
3536
3536
  });
3537
3537
  }, [y]);
3538
- const [I, M] = v.useState(""), C = v.useCallback((E) => {
3538
+ const [I, T] = v.useState(""), k = v.useCallback((E) => {
3539
3539
  if (typeof E == "string")
3540
3540
  return E;
3541
3541
  if (v.isValidElement(E)) {
3542
3542
  const S = E.props;
3543
- return typeof S.children == "string" ? S.children : Array.isArray(S.children) ? S.children.map(C).join(" ") : C(S.children);
3543
+ return typeof S.children == "string" ? S.children : Array.isArray(S.children) ? S.children.map(k).join(" ") : k(S.children);
3544
3544
  }
3545
3545
  return "";
3546
- }, []), k = v.useMemo(() => I ? e.filter((E) => C(E.label).toLowerCase().includes(I.toLowerCase())) : e, [e, I, C]);
3546
+ }, []), C = v.useMemo(() => I ? e.filter((E) => k(E.label).toLowerCase().includes(I.toLowerCase())) : e, [e, I, k]);
3547
3547
  return /* @__PURE__ */ N("div", { className: "w-full", children: [
3548
3548
  o && /* @__PURE__ */ n(_, { variant: "p3", weight: "medium", className: "mb-2.5", children: o }),
3549
3549
  /* @__PURE__ */ N(xe.Root, { open: y, onOpenChange: h, modal: !0, children: [
@@ -3610,7 +3610,7 @@ const or = v.forwardRef(
3610
3610
  {
3611
3611
  ref: m,
3612
3612
  value: I,
3613
- onChange: (E) => M(E.target.value),
3613
+ onChange: (E) => T(E.target.value),
3614
3614
  placeholder: i,
3615
3615
  size: "md",
3616
3616
  type: "border",
@@ -3622,8 +3622,8 @@ const or = v.forwardRef(
3622
3622
  }
3623
3623
  ),
3624
3624
  /* @__PURE__ */ N("div", { className: "max-h-60 overflow-y-auto", children: [
3625
- k.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: x }),
3626
- /* @__PURE__ */ n("div", { className: "flex flex-col gap-0.5 p-1", children: k.map((E) => /* @__PURE__ */ n(
3625
+ C.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: x }),
3626
+ /* @__PURE__ */ n("div", { className: "flex flex-col gap-0.5 p-1", children: C.map((E) => /* @__PURE__ */ n(
3627
3627
  "div",
3628
3628
  {
3629
3629
  className: p(
@@ -3635,10 +3635,10 @@ const or = v.forwardRef(
3635
3635
  Po[a]
3636
3636
  ),
3637
3637
  onClick: () => {
3638
- r(E.value), h(!1), M("");
3638
+ r(E.value), h(!1), T("");
3639
3639
  },
3640
3640
  onKeyDown: (S) => {
3641
- (S.key === "Enter" || S.key === " ") && (S.preventDefault(), r(E.value), h(!1), M(""));
3641
+ (S.key === "Enter" || S.key === " ") && (S.preventDefault(), r(E.value), h(!1), T(""));
3642
3642
  },
3643
3643
  tabIndex: 0,
3644
3644
  role: "option",
@@ -3676,22 +3676,22 @@ function Bo({
3676
3676
  onOpenChange: u
3677
3677
  }) {
3678
3678
  const f = $((h, m) => {
3679
- const { type: I, changes: M } = m;
3679
+ const { type: I, changes: T } = m;
3680
3680
  switch (I) {
3681
3681
  case he.stateChangeTypes.ItemClick:
3682
3682
  case he.stateChangeTypes.InputKeyDownEnter:
3683
3683
  case he.stateChangeTypes.InputKeyDownEscape:
3684
3684
  case he.stateChangeTypes.InputBlur:
3685
- return F(w({}, M), {
3685
+ return F(w({}, T), {
3686
3686
  // Сохраняем inputValue из изменений, но предотвращаем вызов onInputValueChange
3687
- inputValue: M.selectedItem ? s(M.selectedItem.value) : M.inputValue || ""
3687
+ inputValue: T.selectedItem ? s(T.selectedItem.value) : T.inputValue || ""
3688
3688
  });
3689
3689
  case he.stateChangeTypes.FunctionSelectItem:
3690
- return F(w({}, M), {
3691
- inputValue: M.selectedItem ? s(M.selectedItem.value) : M.inputValue || ""
3690
+ return F(w({}, T), {
3691
+ inputValue: T.selectedItem ? s(T.selectedItem.value) : T.inputValue || ""
3692
3692
  });
3693
3693
  default:
3694
- return M;
3694
+ return T;
3695
3695
  }
3696
3696
  }, [s]), y = he({
3697
3697
  items: e,
@@ -3715,8 +3715,8 @@ function Bo({
3715
3715
  const m = g(h);
3716
3716
  return F(w({}, m), {
3717
3717
  onBlur: (I) => {
3718
- var M;
3719
- (M = m.onBlur) == null || M.call(m, I), o == null || o(I);
3718
+ var T;
3719
+ (T = m.onBlur) == null || T.call(m, I), o == null || o(I);
3720
3720
  }
3721
3721
  });
3722
3722
  }, [g, o]);
@@ -3726,32 +3726,32 @@ function Bo({
3726
3726
  setInputValue: d
3727
3727
  });
3728
3728
  }
3729
- function Oo(e, t) {
3730
- const { refs: r, floatingStyles: a, context: o } = qr({
3729
+ function Oo(e, t, r) {
3730
+ const { refs: a, floatingStyles: o, context: i } = qr({
3731
3731
  open: e && !t,
3732
3732
  placement: "bottom-start",
3733
3733
  whileElementsMounted: an,
3734
3734
  middleware: [
3735
3735
  en(4),
3736
- tn(),
3736
+ ...r ? [tn()] : [],
3737
3737
  rn(),
3738
3738
  nn({
3739
- apply({ rects: l }) {
3740
- const u = r.floating.current;
3741
- u && Object.assign(u.style, {
3742
- width: `${l.reference.width}px`
3739
+ apply({ rects: u }) {
3740
+ const f = a.floating.current;
3741
+ f && Object.assign(f.style, {
3742
+ width: `${u.reference.width}px`
3743
3743
  });
3744
3744
  }
3745
3745
  })
3746
3746
  ]
3747
- }), { isMounted: i, styles: s } = on(o, {
3747
+ }), { isMounted: s, styles: l } = on(i, {
3748
3748
  duration: 200
3749
3749
  });
3750
3750
  return {
3751
- refs: r,
3752
- floatingStyles: a,
3753
- isMounted: i,
3754
- transitionStyles: s
3751
+ refs: a,
3752
+ floatingStyles: o,
3753
+ isMounted: s,
3754
+ transitionStyles: l
3755
3755
  };
3756
3756
  }
3757
3757
  function _o({
@@ -3769,40 +3769,41 @@ function _o({
3769
3769
  placeholder: d = "Поиск...",
3770
3770
  getLabel: g,
3771
3771
  loading: x = !1,
3772
- isOpen: b,
3773
- onOpenChange: y,
3774
- onClear: h,
3775
- clearable: m
3772
+ allowFlip: b = !0,
3773
+ isOpen: y,
3774
+ onOpenChange: h,
3775
+ onClear: m,
3776
+ clearable: I
3776
3777
  }) {
3777
- const I = $(g, []), M = ne(() => r ? {
3778
+ const T = $(g, []), k = ne(() => r ? {
3778
3779
  value: r,
3779
- label: I(r)
3780
- } : null, [r, I]), C = Bo({
3780
+ label: T(r)
3781
+ } : null, [r, T]), C = Bo({
3781
3782
  items: t,
3782
- value: M,
3783
+ value: k,
3783
3784
  onChange: a,
3784
3785
  onSearch: o,
3785
3786
  onBlur: i,
3786
3787
  disabled: f,
3787
- getLabel: I,
3788
- isOpen: b,
3789
- onOpenChange: y
3790
- }), k = Oo(C.isOpen, x), R = ne(() => ({
3788
+ getLabel: T,
3789
+ isOpen: y,
3790
+ onOpenChange: h
3791
+ }), R = Oo(C.isOpen, x, b), E = ne(() => ({
3791
3792
  // Combobox состояние
3792
3793
  getInputProps: C.getInputProps,
3793
3794
  getItemProps: C.getItemProps,
3794
3795
  getMenuProps: C.getMenuProps,
3795
3796
  getToggleButtonProps: C.getToggleButtonProps,
3796
3797
  isOpen: C.isOpen,
3797
- onOpenChange: y,
3798
+ onOpenChange: h,
3798
3799
  selectedItem: C.selectedItem,
3799
3800
  setInputValue: C.setInputValue,
3800
3801
  selectItem: C.selectItem,
3801
3802
  // Floating UI состояние
3802
- refs: k.refs,
3803
- floatingStyles: k.floatingStyles,
3804
- isMounted: k.isMounted,
3805
- transitionStyles: k.transitionStyles,
3803
+ refs: R.refs,
3804
+ floatingStyles: R.floatingStyles,
3805
+ isMounted: R.isMounted,
3806
+ transitionStyles: R.transitionStyles,
3806
3807
  // Пропсы компонента
3807
3808
  size: s,
3808
3809
  fullWidth: l,
@@ -3813,12 +3814,12 @@ function _o({
3813
3814
  onBlur: i,
3814
3815
  loading: x,
3815
3816
  items: t,
3816
- getLabel: I,
3817
- onClear: h,
3818
- clearable: m
3817
+ getLabel: T,
3818
+ onClear: m,
3819
+ clearable: I
3819
3820
  }), [
3820
3821
  C,
3821
- k,
3822
+ R,
3822
3823
  s,
3823
3824
  l,
3824
3825
  u,
@@ -3827,10 +3828,10 @@ function _o({
3827
3828
  d,
3828
3829
  i,
3829
3830
  t,
3830
- I,
3831
- y
3831
+ T,
3832
+ h
3832
3833
  ]);
3833
- return /* @__PURE__ */ n(vn.Provider, { value: R, children: e });
3834
+ return /* @__PURE__ */ n(vn.Provider, { value: E, children: e });
3834
3835
  }
3835
3836
  const Vo = ge("flex-col items-center justify-center", {
3836
3837
  variants: {
@@ -4272,22 +4273,22 @@ function ei({
4272
4273
  try {
4273
4274
  const h = b.props, m = er(h.option), I = i.get(m);
4274
4275
  if (I) {
4275
- const { item: M, index: C } = I, k = s === m;
4276
+ const { item: T, index: k } = I, C = s === m;
4276
4277
  return /* @__PURE__ */ n(
4277
4278
  mr,
4278
4279
  F(w({
4279
- isSelected: k,
4280
+ isSelected: C,
4280
4281
  className: h.className
4281
4282
  }, o({
4282
- item: M,
4283
- index: C
4283
+ item: T,
4284
+ index: k
4284
4285
  })), {
4285
4286
  children: typeof h.children == "function" ? h.children(w({
4286
- isSelected: k,
4287
+ isSelected: C,
4287
4288
  className: h.className
4288
4289
  }, o({
4289
- item: M,
4290
- index: C
4290
+ item: T,
4291
+ index: k
4291
4292
  }))) : h.children
4292
4293
  }),
4293
4294
  m
@@ -4400,9 +4401,9 @@ function ti({
4400
4401
  loading: h = !1,
4401
4402
  isOpen: m,
4402
4403
  onOpenChange: I,
4403
- showErrorMessage: M = !0,
4404
- clearable: C,
4405
- onClear: k
4404
+ showErrorMessage: T = !0,
4405
+ clearable: k,
4406
+ onClear: C
4406
4407
  }) {
4407
4408
  const { items: R } = An(e, y), E = ne(() => t, [t]);
4408
4409
  return /* @__PURE__ */ n(
@@ -4423,8 +4424,8 @@ function ti({
4423
4424
  loading: h,
4424
4425
  isOpen: m,
4425
4426
  onOpenChange: I,
4426
- clearable: C,
4427
- onClear: k,
4427
+ clearable: k,
4428
+ onClear: C,
4428
4429
  children: /* @__PURE__ */ N("div", { className: "w-full", children: [
4429
4430
  f && /* @__PURE__ */ n(
4430
4431
  _,
@@ -4450,7 +4451,7 @@ function ti({
4450
4451
  }
4451
4452
  ) }),
4452
4453
  d && /* @__PURE__ */ n(_, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: d }),
4453
- Ht(c) && M && /* @__PURE__ */ n(_, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: c })
4454
+ Ht(c) && T && /* @__PURE__ */ n(_, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: c })
4454
4455
  ] })
4455
4456
  }
4456
4457
  );
@@ -4525,9 +4526,9 @@ function ri({
4525
4526
  }
4526
4527
  };
4527
4528
  t !== void 0 && (y.selectedItem = t), f !== void 0 && (y.inputValue = f);
4528
- const k = he(y), { selectItem: h, setInputValue: m, getInputProps: I } = k, M = B(k, ["selectItem", "setInputValue", "getInputProps"]);
4529
+ const C = he(y), { selectItem: h, setInputValue: m, getInputProps: I } = C, T = B(C, ["selectItem", "setInputValue", "getInputProps"]);
4529
4530
  x.current = m;
4530
- const C = $((R) => {
4531
+ const k = $((R) => {
4531
4532
  const E = I(R);
4532
4533
  return F(w({}, E), {
4533
4534
  onBlur: (S) => {
@@ -4536,9 +4537,9 @@ function ri({
4536
4537
  }
4537
4538
  });
4538
4539
  }, [I, o]);
4539
- return F(w({}, M), {
4540
+ return F(w({}, T), {
4540
4541
  selectItem: h,
4541
- getInputProps: C,
4542
+ getInputProps: k,
4542
4543
  setInputValue: m
4543
4544
  });
4544
4545
  }
@@ -4590,9 +4591,9 @@ function ai({
4590
4591
  error: h,
4591
4592
  placeholder: m = "Поиск...",
4592
4593
  getLabel: I,
4593
- loading: M = !1,
4594
- isOpen: C,
4595
- onOpenChange: k,
4594
+ loading: T = !1,
4595
+ isOpen: k,
4596
+ onOpenChange: C,
4596
4597
  onClear: R,
4597
4598
  clearable: E
4598
4599
  }) {
@@ -4610,20 +4611,20 @@ function ai({
4610
4611
  onBlur: i,
4611
4612
  disabled: y,
4612
4613
  getLabel: S,
4613
- isOpen: C,
4614
- onOpenChange: k,
4614
+ isOpen: k,
4615
+ onOpenChange: C,
4615
4616
  inputValue: s,
4616
4617
  keepOpenOnSelect: l,
4617
4618
  inputValueOnSelect: u,
4618
4619
  inputValueOnClose: f
4619
- }), G = ni(z.isOpen, M), H = ne(() => ({
4620
+ }), G = ni(z.isOpen, T), H = ne(() => ({
4620
4621
  // Combobox состояние
4621
4622
  getInputProps: z.getInputProps,
4622
4623
  getItemProps: z.getItemProps,
4623
4624
  getMenuProps: z.getMenuProps,
4624
4625
  getToggleButtonProps: z.getToggleButtonProps,
4625
4626
  isOpen: z.isOpen,
4626
- onOpenChange: k,
4627
+ onOpenChange: C,
4627
4628
  selectedItem: z.selectedItem,
4628
4629
  setInputValue: z.setInputValue,
4629
4630
  selectItem: z.selectItem,
@@ -4640,7 +4641,7 @@ function ai({
4640
4641
  error: h,
4641
4642
  placeholder: m,
4642
4643
  onBlur: i,
4643
- loading: M,
4644
+ loading: T,
4644
4645
  items: t,
4645
4646
  getLabel: S,
4646
4647
  onClear: R,
@@ -4659,7 +4660,7 @@ function ai({
4659
4660
  i,
4660
4661
  t,
4661
4662
  S,
4662
- k,
4663
+ C,
4663
4664
  R,
4664
4665
  E,
4665
4666
  c,
@@ -4763,24 +4764,24 @@ function oi({
4763
4764
  return y;
4764
4765
  if (_r(y.type, "Item"))
4765
4766
  try {
4766
- const m = y.props, I = tr(m.option), M = s.get(I);
4767
- if (M) {
4768
- const { item: C, index: k } = M, R = i ? i(C.value) : l === I;
4767
+ const m = y.props, I = tr(m.option), T = s.get(I);
4768
+ if (T) {
4769
+ const { item: k, index: C } = T, R = i ? i(k.value) : l === I;
4769
4770
  return /* @__PURE__ */ n(
4770
4771
  mr,
4771
4772
  F(w({
4772
4773
  isSelected: R,
4773
4774
  className: m.className
4774
4775
  }, o({
4775
- item: C,
4776
- index: k
4776
+ item: k,
4777
+ index: C
4777
4778
  })), {
4778
4779
  children: typeof m.children == "function" ? m.children(w({
4779
4780
  isSelected: R,
4780
4781
  className: m.className
4781
4782
  }, o({
4782
- item: C,
4783
- index: k
4783
+ item: k,
4784
+ index: C
4784
4785
  }))) : m.children
4785
4786
  }),
4786
4787
  I
@@ -4869,7 +4870,7 @@ function si({
4869
4870
  ma(() => {
4870
4871
  if (!e.length || !b.current)
4871
4872
  return;
4872
- const C = () => {
4873
+ const k = () => {
4873
4874
  const R = b.current;
4874
4875
  if (!R)
4875
4876
  return;
@@ -4886,15 +4887,15 @@ function si({
4886
4887
  const Y = Math.max(1, H);
4887
4888
  h(o ? Math.min(Y, o) : Y);
4888
4889
  };
4889
- C();
4890
- const k = new ResizeObserver(C);
4891
- return k.observe(b.current), () => {
4892
- k.disconnect();
4890
+ k();
4891
+ const C = new ResizeObserver(k);
4892
+ return C.observe(b.current), () => {
4893
+ C.disconnect();
4893
4894
  };
4894
4895
  }, [r, o, e]);
4895
- const m = e.slice(0, y), I = Math.max(0, e.length - y), M = d({
4896
- onKeyDown: (C) => {
4897
- !f && C.key === "Backspace" && C.currentTarget.value === "" && e.length > 0 && (C.preventDefault(), t(e[e.length - 1])), i == null || i(C);
4896
+ const m = e.slice(0, y), I = Math.max(0, e.length - y), T = d({
4897
+ onKeyDown: (k) => {
4898
+ !f && k.key === "Backspace" && k.currentTarget.value === "" && e.length > 0 && (k.preventDefault(), t(e[e.length - 1])), i == null || i(k);
4898
4899
  }
4899
4900
  });
4900
4901
  return /* @__PURE__ */ N(
@@ -4906,15 +4907,15 @@ function si({
4906
4907
  l === "xs" ? "pl-1.5" : "pl-2",
4907
4908
  "pr-2"
4908
4909
  ),
4909
- onMouseDown: (C) => {
4910
+ onMouseDown: (k) => {
4910
4911
  var E;
4911
4912
  if (f)
4912
4913
  return;
4913
- const k = C.target;
4914
- (k == null ? void 0 : k.closest('button,[role="button"]')) !== null || (C.preventDefault(), (E = x.current) == null || E.focus(), g == null || g(!0));
4914
+ const C = k.target;
4915
+ (C == null ? void 0 : C.closest('button,[role="button"]')) !== null || (k.preventDefault(), (E = x.current) == null || E.focus(), g == null || g(!0));
4915
4916
  },
4916
4917
  children: [
4917
- m.map((C) => /* @__PURE__ */ N(
4918
+ m.map((k) => /* @__PURE__ */ N(
4918
4919
  "div",
4919
4920
  {
4920
4921
  className: p(
@@ -4922,18 +4923,18 @@ function si({
4922
4923
  f && "opacity-60"
4923
4924
  ),
4924
4925
  children: [
4925
- /* @__PURE__ */ n(_, { variant: "p2", children: r(C) }),
4926
+ /* @__PURE__ */ n(_, { variant: "p2", children: r(k) }),
4926
4927
  /* @__PURE__ */ n(
4927
4928
  "div",
4928
4929
  {
4929
- onPointerDown: (k) => {
4930
- f || (k.preventDefault(), k.stopPropagation());
4930
+ onPointerDown: (C) => {
4931
+ f || (C.preventDefault(), C.stopPropagation());
4931
4932
  },
4932
- onMouseDown: (k) => {
4933
- f || (k.preventDefault(), k.stopPropagation());
4933
+ onMouseDown: (C) => {
4934
+ f || (C.preventDefault(), C.stopPropagation());
4934
4935
  },
4935
- onClick: (k) => {
4936
- f || (k.preventDefault(), k.stopPropagation(), t(C));
4936
+ onClick: (C) => {
4937
+ f || (C.preventDefault(), C.stopPropagation(), t(k));
4937
4938
  },
4938
4939
  className: p(
4939
4940
  "flex cursor-pointer items-center rounded p-0.5 hover:bg-gray-200",
@@ -4947,7 +4948,7 @@ function si({
4947
4948
  )
4948
4949
  ]
4949
4950
  },
4950
- a(C)
4951
+ a(k)
4951
4952
  )),
4952
4953
  I > 0 && /* @__PURE__ */ n(
4953
4954
  "div",
@@ -4957,15 +4958,15 @@ function si({
4957
4958
  ),
4958
4959
  role: "button",
4959
4960
  tabIndex: 0,
4960
- onPointerDown: (C) => {
4961
- f || (C.preventDefault(), C.stopPropagation());
4961
+ onPointerDown: (k) => {
4962
+ f || (k.preventDefault(), k.stopPropagation());
4962
4963
  },
4963
- onMouseDown: (C) => {
4964
- f || (C.preventDefault(), C.stopPropagation());
4964
+ onMouseDown: (k) => {
4965
+ f || (k.preventDefault(), k.stopPropagation());
4965
4966
  },
4966
- onClick: (C) => {
4967
- var k;
4968
- f || (C.preventDefault(), C.stopPropagation(), (k = x.current) == null || k.focus(), g == null || g(!0));
4967
+ onClick: (k) => {
4968
+ var C;
4969
+ f || (k.preventDefault(), k.stopPropagation(), (C = x.current) == null || C.focus(), g == null || g(!0));
4969
4970
  },
4970
4971
  children: /* @__PURE__ */ N(_, { variant: "p2", children: [
4971
4972
  "+",
@@ -4976,12 +4977,12 @@ function si({
4976
4977
  /* @__PURE__ */ n(
4977
4978
  "input",
4978
4979
  F(w({
4979
- ref: (C) => {
4980
- x.current = C;
4980
+ ref: (k) => {
4981
+ x.current = k;
4981
4982
  }
4982
- }, M), {
4983
+ }, T), {
4983
4984
  "data-testid": s,
4984
- value: M.value || "",
4985
+ value: T.value || "",
4985
4986
  disabled: f,
4986
4987
  placeholder: e.length > 0 ? "" : c,
4987
4988
  className: p(
@@ -5014,9 +5015,9 @@ function li({
5014
5015
  getKey: h = ii,
5015
5016
  loading: m = !1,
5016
5017
  onInputKeyDown: I,
5017
- isOpen: M,
5018
- onOpenChange: C,
5019
- showErrorMessage: k = !0,
5018
+ isOpen: T,
5019
+ onOpenChange: k,
5020
+ showErrorMessage: C = !0,
5020
5021
  clearable: R = !0,
5021
5022
  onClear: E,
5022
5023
  maxTags: S = 4
@@ -5030,8 +5031,8 @@ function li({
5030
5031
  }, [h, r, z]), W = $(() => {
5031
5032
  r == null || r([]), E == null || E();
5032
5033
  }, [r, E]), V = $((j) => {
5033
- C == null || C(j), j || (P(""), a == null || a(""));
5034
- }, [C, a]), Y = $((j) => {
5034
+ k == null || k(j), j || (P(""), a == null || a(""));
5035
+ }, [k, a]), Y = $((j) => {
5035
5036
  P(j), a == null || a(j);
5036
5037
  }, [a]);
5037
5038
  return /* @__PURE__ */ n(
@@ -5052,7 +5053,7 @@ function li({
5052
5053
  error: c,
5053
5054
  placeholder: g,
5054
5055
  loading: m,
5055
- isOpen: M,
5056
+ isOpen: T,
5056
5057
  onOpenChange: V,
5057
5058
  clearable: R,
5058
5059
  onClear: W,
@@ -5097,7 +5098,7 @@ function li({
5097
5098
  }
5098
5099
  ) }),
5099
5100
  d && /* @__PURE__ */ n(_, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: d }),
5100
- Ht(c) && k && /* @__PURE__ */ n(_, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: c })
5101
+ Ht(c) && C && /* @__PURE__ */ n(_, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: c })
5101
5102
  ] })
5102
5103
  }
5103
5104
  );
@@ -5113,7 +5114,7 @@ const di = {
5113
5114
  inactiveClassName: "bg-default opacity-40"
5114
5115
  };
5115
5116
  function _n(e) {
5116
- const M = e || {}, { indicators: t, defaultActive: r = 0 } = M, a = B(M, ["indicators", "defaultActive"]), o = w({
5117
+ const T = e || {}, { indicators: t, defaultActive: r = 0 } = T, a = B(T, ["indicators", "defaultActive"]), o = w({
5117
5118
  align: "start",
5118
5119
  loop: !1,
5119
5120
  slidesToScroll: 1,
@@ -5127,14 +5128,14 @@ function _n(e) {
5127
5128
  l.off("select", b), l.off("reInit", b);
5128
5129
  };
5129
5130
  }, [l, b, r]);
5130
- const y = $((C) => {
5131
- l && l.scrollTo(C);
5131
+ const y = $((k) => {
5132
+ l && l.scrollTo(k);
5132
5133
  }, [l]), h = $(() => {
5133
5134
  l && l.scrollNext();
5134
5135
  }, [l]), m = $(() => {
5135
5136
  l && l.scrollPrev();
5136
- }, [l]), I = $((C) => {
5137
- y(C);
5137
+ }, [l]), I = $((k) => {
5138
+ y(k);
5138
5139
  }, [y]);
5139
5140
  return {
5140
5141
  active: u,
@@ -5838,7 +5839,7 @@ function ed() {
5838
5839
  }
5839
5840
  function Ei(e) {
5840
5841
  var R;
5841
- const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, u] = v.useState(!1), [f, c] = v.useState(e.hideFooter), [d, g] = v.useState(!1), [x, b] = v.useState(e.width), y = v.useContext(vt), h = (R = y == null ? void 0 : y.nextBaseZIndex) != null ? R : e.baseZIndex, m = h + 1, I = h + 2, M = h + 3, C = v.useMemo(() => !l && i ? "top" : "none", [l, i]), k = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5842
+ const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, u] = v.useState(!1), [f, c] = v.useState(e.hideFooter), [d, g] = v.useState(!1), [x, b] = v.useState(e.width), y = v.useContext(vt), h = (R = y == null ? void 0 : y.nextBaseZIndex) != null ? R : e.baseZIndex, m = h + 1, I = h + 2, T = h + 3, k = v.useMemo(() => !l && i ? "top" : "none", [l, i]), C = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5842
5843
  return v.useEffect(() => {
5843
5844
  b(e.width);
5844
5845
  }, [e.width]), v.useEffect(() => {
@@ -5861,8 +5862,8 @@ function Ei(e) {
5861
5862
  contentElement: t,
5862
5863
  hasOverflow: i,
5863
5864
  scrollStart: l,
5864
- shadowFooter: C,
5865
- shadowHeader: k,
5865
+ shadowFooter: k,
5866
+ shadowHeader: C,
5866
5867
  isHideFooter: f,
5867
5868
  isHideTitle: d,
5868
5869
  isVisibleClose: a,
@@ -5877,7 +5878,7 @@ function Ei(e) {
5877
5878
  baseZIndex: h,
5878
5879
  overlayZIndex: m,
5879
5880
  containerZIndex: I,
5880
- nextBaseZIndex: M
5881
+ nextBaseZIndex: T
5881
5882
  };
5882
5883
  }
5883
5884
  const Ai = {
@@ -6032,11 +6033,11 @@ function de(b) {
6032
6033
  TopHeaderTeleporter: Mt()
6033
6034
  }),
6034
6035
  []
6035
- ), I = m.TitleTeleporter.useTargetRef(), M = m.FooterTeleporter.useTargetRef(), C = m.ContentTeleporter.useTargetRef(), k = m.TopHeaderTeleporter.useTargetRef(), [R, E] = v.useState(!1), S = R ? /* @__PURE__ */ n("div", { className: "-mx-4 flex min-h-0 grow-1 flex-col bg-[#E5EEFF] md:-mx-6", children: /* @__PURE__ */ n(
6036
+ ), I = m.TitleTeleporter.useTargetRef(), T = m.FooterTeleporter.useTargetRef(), k = m.ContentTeleporter.useTargetRef(), C = m.TopHeaderTeleporter.useTargetRef(), [R, E] = v.useState(!1), S = R ? /* @__PURE__ */ n("div", { className: "-mx-4 flex min-h-0 grow-1 flex-col bg-[#E5EEFF] md:-mx-6", children: /* @__PURE__ */ n(
6036
6037
  Ye,
6037
6038
  {
6038
6039
  ref: (A) => {
6039
- h.setContentElement(A), C(A);
6040
+ h.setContentElement(A), k(A);
6040
6041
  },
6041
6042
  className: p(
6042
6043
  "min-h-0 rounded-t-[10px] bg-white px-4 pt-4 md:pt-6 md:px-6",
@@ -6047,7 +6048,7 @@ function de(b) {
6047
6048
  Ye,
6048
6049
  {
6049
6050
  ref: (A) => {
6050
- h.setContentElement(A), C(A);
6051
+ h.setContentElement(A), k(A);
6051
6052
  },
6052
6053
  className: p(e == null ? void 0 : e.content)
6053
6054
  }
@@ -6079,7 +6080,7 @@ function de(b) {
6079
6080
  dataTestId: g,
6080
6081
  padding: d ? "none" : "md",
6081
6082
  children: [
6082
- /* @__PURE__ */ n("div", { ref: k }),
6083
+ /* @__PURE__ */ n("div", { ref: C }),
6083
6084
  !d && !R && /* @__PURE__ */ N(
6084
6085
  jn,
6085
6086
  {
@@ -6107,7 +6108,7 @@ function de(b) {
6107
6108
  br,
6108
6109
  {
6109
6110
  shadow: h.shadowFooter,
6110
- ref: M,
6111
+ ref: T,
6111
6112
  className: p(
6112
6113
  d && "mx-0 pb-4 md:pb-6 md:px-12",
6113
6114
  e == null ? void 0 : e.footer
@@ -6157,11 +6158,11 @@ function td({
6157
6158
  v.useEffect(() => {
6158
6159
  e !== x && b(e);
6159
6160
  }, [e]);
6160
- const I = (k) => {
6161
- k && (b(k), t == null || t(k), y === "mobile" && m(!1));
6162
- }, M = () => {
6161
+ const I = (C) => {
6162
+ C && (b(C), t == null || t(C), y === "mobile" && m(!1));
6163
+ }, T = () => {
6163
6164
  b(void 0), t == null || t(void 0), c == null || c();
6164
- }, C = () => {
6165
+ }, k = () => {
6165
6166
  switch (i) {
6166
6167
  case "md":
6167
6168
  return "rounded-lg";
@@ -6201,7 +6202,7 @@ function td({
6201
6202
  className: p(
6202
6203
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
6203
6204
  i === "lg" ? "px-3" : "px-2.5",
6204
- C(),
6205
+ k(),
6205
6206
  {
6206
6207
  "shadow-focus border-primary border-1 border-solid": h
6207
6208
  },
@@ -6275,7 +6276,7 @@ function td({
6275
6276
  f && /* @__PURE__ */ n(de.Footer, { children: /* @__PURE__ */ n("div", { className: "flex h-[64px] w-full items-center justify-center", children: /* @__PURE__ */ n(
6276
6277
  ee,
6277
6278
  {
6278
- onClick: M,
6279
+ onClick: T,
6279
6280
  variant: "text",
6280
6281
  disabled: !x,
6281
6282
  className: "w-full",
@@ -6299,7 +6300,7 @@ function td({
6299
6300
  size: i,
6300
6301
  className: p(
6301
6302
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
6302
- C(),
6303
+ k(),
6303
6304
  i === "lg" ? "px-3" : "px-2.5",
6304
6305
  {
6305
6306
  "shadow-focus border-primary border-1 border-solid": h
@@ -6374,7 +6375,7 @@ function td({
6374
6375
  f && /* @__PURE__ */ n("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ n(
6375
6376
  ee,
6376
6377
  {
6377
- onClick: M,
6378
+ onClick: T,
6378
6379
  variant: "text",
6379
6380
  size: "sm",
6380
6381
  className: "w-full",
@@ -6557,7 +6558,7 @@ function rd(y) {
6557
6558
  "disabledDays",
6558
6559
  "data-testid"
6559
6560
  ]);
6560
- const [m, I] = v.useState(t), [M, C] = v.useState(!1), k = Yt(), R = zi[r], E = $i(r), S = {
6561
+ const [m, I] = v.useState(t), [T, k] = v.useState(!1), C = Yt(), R = zi[r], E = $i(r), S = {
6561
6562
  from: (o == null ? void 0 : o.from) || R.placeholder,
6562
6563
  to: (o == null ? void 0 : o.to) || R.placeholder
6563
6564
  }, A = v.useMemo(() => {
@@ -6573,7 +6574,7 @@ function rd(y) {
6573
6574
  I(t);
6574
6575
  }, [t]);
6575
6576
  const D = (V) => {
6576
- I(V), a == null || a(V), V != null && V.from && (V != null && V.to) && k === "mobile" && C(!1);
6577
+ I(V), a == null || a(V), V != null && V.from && (V != null && V.to) && C === "mobile" && k(!1);
6577
6578
  }, O = () => {
6578
6579
  I(void 0), a == null || a(void 0), d == null || d();
6579
6580
  }, W = () => {
@@ -6599,11 +6600,11 @@ function rd(y) {
6599
6600
  children: l
6600
6601
  }
6601
6602
  ),
6602
- k === "mobile" ? /* @__PURE__ */ N(
6603
+ C === "mobile" ? /* @__PURE__ */ N(
6603
6604
  de,
6604
6605
  {
6605
- open: M,
6606
- onOpenChange: f ? void 0 : C,
6606
+ open: T,
6607
+ onOpenChange: f ? void 0 : k,
6607
6608
  width: "md",
6608
6609
  trigger: /* @__PURE__ */ n(
6609
6610
  ee,
@@ -6618,10 +6619,10 @@ function rd(y) {
6618
6619
  u === "lg" ? "px-3" : "px-2.5",
6619
6620
  z() ? "hover:text-destructive" : "",
6620
6621
  {
6621
- "shadow-focus border-primary border-1 border-solid": M
6622
+ "shadow-focus border-primary border-1 border-solid": T
6622
6623
  },
6623
6624
  {
6624
- "shadow-error border-destructive border-1 border-solid": z() && M
6625
+ "shadow-error border-destructive border-1 border-solid": z() && T
6625
6626
  },
6626
6627
  {
6627
6628
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
@@ -6635,7 +6636,7 @@ function rd(y) {
6635
6636
  className: p(
6636
6637
  "flex w-full items-center justify-between",
6637
6638
  m ? "text-foreground" : "text-muted-foreground",
6638
- M && !f && "!text-default"
6639
+ T && !f && "!text-default"
6639
6640
  ),
6640
6641
  children: [
6641
6642
  /* @__PURE__ */ n(
@@ -6673,7 +6674,7 @@ function rd(y) {
6673
6674
  className: p(
6674
6675
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
6675
6676
  f && "text-muted-foreground",
6676
- M && !f && !z() && "!text-default",
6677
+ T && !f && !z() && "!text-default",
6677
6678
  m && (m.from || m.to) && !f && !z() && "text-default",
6678
6679
  z() && "!group-focus-within:!text-destructive !text-destructive"
6679
6680
  ),
@@ -6724,7 +6725,7 @@ function rd(y) {
6724
6725
  ) }) })
6725
6726
  ]
6726
6727
  }
6727
- ) : /* @__PURE__ */ N(Je, { open: M, onOpenChange: C, children: [
6728
+ ) : /* @__PURE__ */ N(Je, { open: T, onOpenChange: k, children: [
6728
6729
  /* @__PURE__ */ n(Qe, { asChild: !0, children: /* @__PURE__ */ n(
6729
6730
  ee,
6730
6731
  {
@@ -6738,10 +6739,10 @@ function rd(y) {
6738
6739
  u === "lg" ? "px-3" : "px-2.5",
6739
6740
  z() ? "hover:text-destructive" : "",
6740
6741
  {
6741
- "shadow-focus border-primary border-1 border-solid": M
6742
+ "shadow-focus border-primary border-1 border-solid": T
6742
6743
  },
6743
6744
  {
6744
- "shadow-error border-destructive border-1 border-solid": z() && M
6745
+ "shadow-error border-destructive border-1 border-solid": z() && T
6745
6746
  },
6746
6747
  {
6747
6748
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
@@ -6755,7 +6756,7 @@ function rd(y) {
6755
6756
  className: p(
6756
6757
  "flex w-full items-center justify-between",
6757
6758
  m ? "text-foreground" : "text-muted-foreground",
6758
- M && !f && "!text-default"
6759
+ T && !f && "!text-default"
6759
6760
  ),
6760
6761
  children: [
6761
6762
  /* @__PURE__ */ n(
@@ -6795,7 +6796,7 @@ function rd(y) {
6795
6796
  className: p(
6796
6797
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
6797
6798
  f && "text-muted-foreground",
6798
- M && !f && !z() && "!text-default",
6799
+ T && !f && !z() && "!text-default",
6799
6800
  m && (m.from || m.to) && !f && !z() && "text-default",
6800
6801
  z() && "!group-focus-within:!text-destructive !text-destructive"
6801
6802
  ),
@@ -6889,7 +6890,7 @@ const Un = v.forwardRef(
6889
6890
  const [h, m] = oe(() => e == null || e === "" ? "" : String(e)), I = $(
6890
6891
  (S) => a === "comma" ? S.replace(/\./g, ",") : S.replace(/,/g, "."),
6891
6892
  [a]
6892
- ), M = $(
6893
+ ), T = $(
6893
6894
  (S) => {
6894
6895
  if (S === "" && u)
6895
6896
  return "";
@@ -6908,20 +6909,20 @@ const Un = v.forwardRef(
6908
6909
  return o && (A = o(A)), A;
6909
6910
  },
6910
6911
  [r, a, l, u, I, o]
6911
- ), C = $(
6912
+ ), k = $(
6912
6913
  (S) => !(i !== void 0 && S < i || s !== void 0 && S > s),
6913
6914
  [i, s]
6914
- ), k = $(
6915
+ ), C = $(
6915
6916
  (S) => {
6916
- const A = S.target.value, z = M(A);
6917
+ const A = S.target.value, z = T(A);
6917
6918
  if (m(z), z === "") {
6918
6919
  t == null || t(u ? "" : 0);
6919
6920
  return;
6920
6921
  }
6921
6922
  const G = a === "comma" ? z.replace(/,/g, ".") : z, H = Number.parseFloat(G);
6922
- Number.isNaN(H) ? t == null || t(z) : C(H) ? t == null || t(H) : t == null || t(z);
6923
+ Number.isNaN(H) ? t == null || t(z) : k(H) ? t == null || t(H) : t == null || t(z);
6923
6924
  },
6924
- [M, C, t, a, u]
6925
+ [T, k, t, a, u]
6925
6926
  ), R = $(
6926
6927
  (S) => {
6927
6928
  const { key: A, ctrlKey: z, metaKey: G } = S;
@@ -6951,7 +6952,7 @@ const Un = v.forwardRef(
6951
6952
  return;
6952
6953
  }
6953
6954
  S.preventDefault();
6954
- const H = S.currentTarget, P = H.selectionStart || 0, D = H.value.substring(0, P) + (a === "dot" ? "." : ",") + H.value.substring(P), O = M(D);
6955
+ const H = S.currentTarget, P = H.selectionStart || 0, D = H.value.substring(0, P) + (a === "dot" ? "." : ",") + H.value.substring(P), O = T(D);
6955
6956
  m(O), t == null || t(O);
6956
6957
  return;
6957
6958
  }
@@ -6964,18 +6965,18 @@ const Un = v.forwardRef(
6964
6965
  }
6965
6966
  S.preventDefault();
6966
6967
  },
6967
- [l, f, a, M, m, t]
6968
+ [l, f, a, T, m, t]
6968
6969
  ), E = $(
6969
6970
  (S) => {
6970
- const A = S.clipboardData.getData("text"), z = M(A);
6971
+ const A = S.clipboardData.getData("text"), z = T(A);
6971
6972
  if (z !== A) {
6972
6973
  S.preventDefault();
6973
- const G = S.currentTarget, H = G.selectionStart || 0, P = G.selectionEnd || 0, D = G.value.substring(0, H) + z + G.value.substring(P), O = M(D);
6974
+ const G = S.currentTarget, H = G.selectionStart || 0, P = G.selectionEnd || 0, D = G.value.substring(0, H) + z + G.value.substring(P), O = T(D);
6974
6975
  m(O), t == null || t(O);
6975
6976
  }
6976
6977
  c == null || c(S);
6977
6978
  },
6978
- [M, t, c]
6979
+ [T, t, c]
6979
6980
  );
6980
6981
  return v.useEffect(() => {
6981
6982
  if (e != null) {
@@ -6988,7 +6989,7 @@ const Un = v.forwardRef(
6988
6989
  ref: x,
6989
6990
  type: "text",
6990
6991
  value: h,
6991
- onChange: k,
6992
+ onChange: C,
6992
6993
  onKeyDown: R,
6993
6994
  onPaste: E,
6994
6995
  onClear: d,
@@ -7033,19 +7034,19 @@ const Kn = v.forwardRef(
7033
7034
  "iconSize",
7034
7035
  "iconClassName"
7035
7036
  ]);
7036
- const M = (S) => {
7037
+ const T = (S) => {
7037
7038
  if (s) {
7038
7039
  S.preventDefault(), S.stopPropagation();
7039
7040
  return;
7040
7041
  }
7041
7042
  o == null || o(S);
7042
- }, C = (S) => {
7043
+ }, k = (S) => {
7043
7044
  if (s && (S.key === "Enter" || S.key === " ")) {
7044
7045
  S.preventDefault(), S.stopPropagation();
7045
7046
  return;
7046
7047
  }
7047
7048
  i == null || i(S);
7048
- }, k = p(
7049
+ }, C = p(
7049
7050
  "inline-flex items-center whitespace-break-spaces no-underline font-graphik border-0 bg-transparent text-primary hover:text-primary-hover active:text-primary-active",
7050
7051
  "data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[disabled=true]:text-primary-hover",
7051
7052
  e
@@ -7056,14 +7057,14 @@ const Kn = v.forwardRef(
7056
7057
  Dt,
7057
7058
  F(w({
7058
7059
  ref: h,
7059
- className: k,
7060
+ className: C,
7060
7061
  "data-cy": f,
7061
7062
  "data-testid": c,
7062
7063
  "aria-disabled": s || void 0,
7063
7064
  "data-disabled": s || void 0,
7064
7065
  tabIndex: s ? -1 : l,
7065
- onClick: M,
7066
- onKeyDown: C
7066
+ onClick: T,
7067
+ onKeyDown: k
7067
7068
  }, y), {
7068
7069
  children: S
7069
7070
  })
@@ -7075,12 +7076,12 @@ const Kn = v.forwardRef(
7075
7076
  href: s ? void 0 : t,
7076
7077
  target: a,
7077
7078
  rel: "noopener noreferrer",
7078
- className: k,
7079
+ className: C,
7079
7080
  "aria-disabled": s || void 0,
7080
7081
  "data-disabled": s || void 0,
7081
7082
  tabIndex: s ? -1 : l,
7082
- onClick: M,
7083
- onKeyDown: C,
7083
+ onClick: T,
7084
+ onKeyDown: k,
7084
7085
  "data-cy": f,
7085
7086
  "data-testid": c,
7086
7087
  children: S
@@ -7097,7 +7098,7 @@ const Kn = v.forwardRef(
7097
7098
  F(w({
7098
7099
  ref: h,
7099
7100
  className: p(
7100
- k,
7101
+ C,
7101
7102
  e
7102
7103
  ),
7103
7104
  "data-cy": f,
@@ -7105,8 +7106,8 @@ const Kn = v.forwardRef(
7105
7106
  "aria-disabled": s || void 0,
7106
7107
  "data-disabled": s || void 0,
7107
7108
  tabIndex: s ? -1 : l,
7108
- onClick: M,
7109
- onKeyDown: C
7109
+ onClick: T,
7110
+ onKeyDown: k
7110
7111
  }, y), {
7111
7112
  children: E
7112
7113
  })
@@ -7121,10 +7122,10 @@ const Kn = v.forwardRef(
7121
7122
  "aria-disabled": s || void 0,
7122
7123
  "data-disabled": s || void 0,
7123
7124
  tabIndex: s ? -1 : l,
7124
- onClick: M,
7125
- onKeyDown: C,
7125
+ onClick: T,
7126
+ onKeyDown: k,
7126
7127
  className: p(
7127
- k,
7128
+ C,
7128
7129
  "gap-2",
7129
7130
  e
7130
7131
  ),
@@ -7466,9 +7467,9 @@ const sd = pa((e, t) => {
7466
7467
  resend: "Отправить код повторно",
7467
7468
  sms: "Отправить СМС через"
7468
7469
  }
7469
- } = e, b = e["data-cy"], y = e["data-testid"], [h, m] = oe(0), [I, M] = oe(
7470
+ } = e, b = e["data-cy"], y = e["data-testid"], [h, m] = oe(0), [I, T] = oe(
7470
7471
  Array.from({ length: r }, () => "")
7471
- ), [C, k] = oe(d ? g : 0), [R, E] = oe(!!d), [S, A] = oe(u), [z, G] = oe(f), H = (K) => {
7472
+ ), [k, C] = oe(d ? g : 0), [R, E] = oe(!!d), [S, A] = oe(u), [z, G] = oe(f), H = (K) => {
7472
7473
  const Z = Math.max(Math.min(r - 1, K), 0);
7473
7474
  m(Z);
7474
7475
  };
@@ -7476,21 +7477,21 @@ const sd = pa((e, t) => {
7476
7477
  focusInput: H
7477
7478
  })), fe(() => {
7478
7479
  let K;
7479
- return R && C > 0 ? K = setInterval(() => {
7480
- k((Z) => Z - 1);
7481
- }, 1e3) : C === 0 && E(!1), () => {
7480
+ return R && k > 0 ? K = setInterval(() => {
7481
+ C((Z) => Z - 1);
7482
+ }, 1e3) : k === 0 && E(!1), () => {
7482
7483
  K && clearInterval(K);
7483
7484
  };
7484
- }, [C, R]), fe(() => {
7485
+ }, [k, R]), fe(() => {
7485
7486
  A(u), G(f);
7486
7487
  }, [u, f]);
7487
7488
  const P = () => {
7488
- d && !R && (d(), k(g), E(!0));
7489
+ d && !R && (d(), C(g), E(!0));
7489
7490
  }, D = (K) => {
7490
7491
  var me;
7491
- S && (A(!1), G("")), M(K);
7492
+ S && (A(!1), G("")), T(K);
7492
7493
  const Z = K.join("");
7493
- a(Z), Z.length === r && ((me = e.onComplete) == null || me.call(e, Z), l && (M(Array.from({ length: r }, () => "")), m(0)));
7494
+ a(Z), Z.length === r && ((me = e.onComplete) == null || me.call(e, Z), l && (T(Array.from({ length: r }, () => "")), m(0)));
7494
7495
  }, O = (K) => !Number.isNaN(Number.parseInt(K, 10)) && K.trim().length === 1, W = () => {
7495
7496
  H(h + 1);
7496
7497
  }, V = () => {
@@ -7564,7 +7565,7 @@ const sd = pa((e, t) => {
7564
7565
  x.sms,
7565
7566
  " ",
7566
7567
  "0:",
7567
- C < 10 ? `0${C}` : C
7568
+ k < 10 ? `0${k}` : k
7568
7569
  ] }) : /* @__PURE__ */ n(Kn, { onClick: P, children: x.resend }) })
7569
7570
  ] });
7570
7571
  }), Vr = (e, t, r) => Math.min(Math.max(e, t), r);
@@ -7613,21 +7614,21 @@ const ld = ({
7613
7614
  showQuickJumper: l = !1,
7614
7615
  locale: u
7615
7616
  }) => {
7616
- var M, C;
7617
+ var T, k;
7617
7618
  const f = Math.max(1, Math.ceil((t || 0) / (r || 10))), c = Vr(e || 1, 1, f), d = ne(
7618
7619
  () => [{ type: "prev" }, ...ds(c, f), { type: "next" }],
7619
7620
  [c, f]
7620
7621
  ), [g, x] = oe("");
7621
7622
  if (s && f <= 1)
7622
7623
  return null;
7623
- const b = (k) => {
7624
+ const b = (C) => {
7624
7625
  if (i)
7625
7626
  return;
7626
- const R = Vr(k, 1, f);
7627
+ const R = Vr(C, 1, f);
7627
7628
  R !== c && a(R, r);
7628
- }, y = (k) => {
7629
+ }, y = (C) => {
7629
7630
  if (!i)
7630
- switch (k.type) {
7631
+ switch (C.type) {
7631
7632
  case "prev":
7632
7633
  return b(c - 1);
7633
7634
  case "next":
@@ -7637,37 +7638,37 @@ const ld = ({
7637
7638
  case "jump-next":
7638
7639
  return b(c + 5);
7639
7640
  case "page":
7640
- return b(k.page);
7641
+ return b(C.page);
7641
7642
  }
7642
7643
  }, h = () => {
7643
7644
  if (i)
7644
7645
  return;
7645
- const k = typeof g == "number" ? g : Number(g);
7646
- Number.isFinite(k) && (b(k), x(""));
7647
- }, m = (M = u == null ? void 0 : u.jump_to) != null ? M : "Перейти на", I = (C = u == null ? void 0 : u.page) != null ? C : "страницу";
7646
+ const C = typeof g == "number" ? g : Number(g);
7647
+ Number.isFinite(C) && (b(C), x(""));
7648
+ }, m = (T = u == null ? void 0 : u.jump_to) != null ? T : "Перейти на", I = (k = u == null ? void 0 : u.page) != null ? k : "страницу";
7648
7649
  return /* @__PURE__ */ N("div", { className: p("flex items-center justify-between gap-3 flex-wrap", o), "data-testid": "paginator", children: [
7649
- /* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-wrap", children: d.map((k, R) => {
7650
- const E = ls(k, f), S = k.type === "page" && k.page === c, A = `${k.type}-${k.type === "page" ? k.page : R}`, z = k.type === "prev" || k.type === "next" ? /* @__PURE__ */ n(
7650
+ /* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-wrap", children: d.map((C, R) => {
7651
+ const E = ls(C, f), S = C.type === "page" && C.page === c, A = `${C.type}-${C.type === "page" ? C.page : R}`, z = C.type === "prev" || C.type === "next" ? /* @__PURE__ */ n(
7651
7652
  ee,
7652
7653
  {
7653
7654
  variant: "text",
7654
7655
  size: "md",
7655
7656
  iconOnly: !0,
7656
- icon: k.type === "prev" ? "ArrowLeftIcon" : "ArrowRightIcon",
7657
+ icon: C.type === "prev" ? "ArrowLeftIcon" : "ArrowRightIcon",
7657
7658
  className: "h-8 w-8 rounded-md p-0 hover:bg-default-background focus:bg-default-background",
7658
- disabled: i || (k.type === "prev" ? c <= 1 : c >= f),
7659
- "aria-label": k.type === "prev" ? "Prev page" : "Next page",
7660
- onClick: () => y(k)
7659
+ disabled: i || (C.type === "prev" ? c <= 1 : c >= f),
7660
+ "aria-label": C.type === "prev" ? "Prev page" : "Next page",
7661
+ onClick: () => y(C)
7661
7662
  }
7662
- ) : k.type === "jump-prev" || k.type === "jump-next" ? /* @__PURE__ */ n(
7663
+ ) : C.type === "jump-prev" || C.type === "jump-next" ? /* @__PURE__ */ n(
7663
7664
  ee,
7664
7665
  {
7665
7666
  variant: "text",
7666
7667
  size: "md",
7667
7668
  className: "h-8 w-8 min-w-8 rounded-md px-0 hover:bg-default-background focus:bg-default-background",
7668
7669
  disabled: i,
7669
- "aria-label": k.type === "jump-prev" ? "Jump prev pages" : "Jump next pages",
7670
- onClick: () => y(k),
7670
+ "aria-label": C.type === "jump-prev" ? "Jump prev pages" : "Jump next pages",
7671
+ onClick: () => y(C),
7671
7672
  children: "…"
7672
7673
  }
7673
7674
  ) : /* @__PURE__ */ n(
@@ -7685,9 +7686,9 @@ const ld = ({
7685
7686
  isActive: S,
7686
7687
  disabled: i,
7687
7688
  "aria-current": S ? "page" : void 0,
7688
- "aria-label": `Page ${k.page}`,
7689
- onClick: () => y(k),
7690
- children: String(k.page)
7689
+ "aria-label": `Page ${C.page}`,
7690
+ onClick: () => y(C),
7691
+ children: String(C.page)
7691
7692
  }
7692
7693
  );
7693
7694
  return /* @__PURE__ */ n("span", { "data-testid": E, children: z }, A);
@@ -7698,14 +7699,14 @@ const ld = ({
7698
7699
  Un,
7699
7700
  {
7700
7701
  value: g,
7701
- onChange: (k) => x(k === "" ? "" : Number(k)),
7702
+ onChange: (C) => x(C === "" ? "" : Number(C)),
7702
7703
  min: 1,
7703
7704
  max: f,
7704
7705
  allowNegative: !1,
7705
7706
  allowEmpty: !0,
7706
7707
  className: "w-20",
7707
- onKeyDown: (k) => {
7708
- k.key === "Enter" && h();
7708
+ onKeyDown: (C) => {
7709
+ C.key === "Enter" && h();
7709
7710
  }
7710
7711
  }
7711
7712
  ),
@@ -8570,12 +8571,12 @@ const Zn = ke.forwardRef(
8570
8571
  onPaste: (y) => {
8571
8572
  y.preventDefault();
8572
8573
  const h = y.clipboardData.getData("text/plain"), m = y.target, I = Oe.parsePhoneNumber(h);
8573
- let M = "";
8574
- !(I != null && I.country) && (h.startsWith("+8") || h.startsWith("8")) ? M = `+${h.replace(/\D/g, "").replace("8", "7")}` : !(I != null && I.country) && h.startsWith("7") ? M = `+${h}` : M = h, m.value = M;
8575
- const C = F(w({}, y), {
8574
+ let T = "";
8575
+ !(I != null && I.country) && (h.startsWith("+8") || h.startsWith("8")) ? T = `+${h.replace(/\D/g, "").replace("8", "7")}` : !(I != null && I.country) && h.startsWith("7") ? T = `+${h}` : T = h, m.value = T;
8576
+ const k = F(w({}, y), {
8576
8577
  target: m
8577
8578
  });
8578
- a == null || a(C);
8579
+ a == null || a(k);
8579
8580
  },
8580
8581
  onChange: a,
8581
8582
  size: x
@@ -8681,12 +8682,12 @@ const Hr = Xr(
8681
8682
  if (!c)
8682
8683
  return a;
8683
8684
  const m = c.toLowerCase();
8684
- return a.filter(({ value: I, label: M }) => {
8685
+ return a.filter(({ value: I, label: T }) => {
8685
8686
  var R;
8686
8687
  if (!I)
8687
8688
  return !1;
8688
- const C = ((R = i[I]) == null ? void 0 : R.toLowerCase()) || M.toLowerCase(), k = Oe.getCountryCallingCode(I);
8689
- return C.includes(m) || I.toLowerCase().includes(m) || `+${k}`.includes(m);
8689
+ const k = ((R = i[I]) == null ? void 0 : R.toLowerCase()) || T.toLowerCase(), C = Oe.getCountryCallingCode(I);
8690
+ return k.includes(m) || I.toLowerCase().includes(m) || `+${C}`.includes(m);
8690
8691
  });
8691
8692
  }, [a, c]);
8692
8693
  return /* @__PURE__ */ N(be, { children: [
@@ -8879,7 +8880,7 @@ const Hr = Xr(
8879
8880
  "isLoading"
8880
8881
  ]);
8881
8882
  var G, H;
8882
- const [h, m] = ke.useState(() => ""), [I, M] = ke.useState([]), [C, k] = ke.useState(l), R = (() => {
8883
+ const [h, m] = ke.useState(() => ""), [I, T] = ke.useState([]), [k, C] = ke.useState(l), R = (() => {
8883
8884
  switch (f) {
8884
8885
  case "en":
8885
8886
  return Na;
@@ -8901,16 +8902,16 @@ const Hr = Xr(
8901
8902
  }
8902
8903
  }
8903
8904
  const P = jr(i, l), D = rr(P);
8904
- k(P), m(D[0]), M(D);
8905
+ C(P), m(D[0]), T(D);
8905
8906
  }, [l, t, i]);
8906
8907
  const S = (P) => {
8907
8908
  const D = hs(P), O = jr(
8908
8909
  D,
8909
- C != null ? C : l
8910
+ k != null ? k : l
8910
8911
  );
8911
- if (O !== C) {
8912
+ if (O !== k) {
8912
8913
  const V = rr(O);
8913
- k(O), m(V[0]), M(V);
8914
+ C(O), m(V[0]), T(V);
8914
8915
  }
8915
8916
  t == null || t(D);
8916
8917
  const W = Oe.isPossiblePhoneNumber(D);
@@ -8918,9 +8919,9 @@ const Hr = Xr(
8918
8919
  }, A = (P) => {
8919
8920
  if (!P)
8920
8921
  return;
8921
- k(P);
8922
+ C(P);
8922
8923
  const D = rr(P);
8923
- m(D[0]), M(D);
8924
+ m(D[0]), T(D);
8924
8925
  const O = `+${Oe.getCountryCallingCode(P)}`;
8925
8926
  t == null || t(O);
8926
8927
  }, z = (P) => {
@@ -8935,7 +8936,7 @@ const Hr = Xr(
8935
8936
  "data-testid": s,
8936
8937
  value: i,
8937
8938
  tabIndex: 0,
8938
- defaultCountry: (G = C != null ? C : l) != null ? G : pt,
8939
+ defaultCountry: (G = k != null ? k : l) != null ? G : pt,
8939
8940
  className: p(
8940
8941
  "border-border flex overflow-hidden border transition-colors",
8941
8942
  "hover:border-hover-input-primary focus-within:border-primary focus-within:shadow-focus flex items-center bg-white",
@@ -8948,7 +8949,7 @@ const Hr = Xr(
8948
8949
  countryCallingCodeEditable: !1,
8949
8950
  countrySelectComponent: gs,
8950
8951
  countrySelectProps: {
8951
- defaultCountry: (H = C != null ? C : l) != null ? H : pt,
8952
+ defaultCountry: (H = k != null ? k : l) != null ? H : pt,
8952
8953
  locale: R,
8953
8954
  translations: E,
8954
8955
  inputSize: c
@@ -9114,11 +9115,11 @@ const ws = ge(
9114
9115
  "onBlur",
9115
9116
  "data-testid"
9116
9117
  ]);
9117
- const m = a || !1, I = o || !1, M = v.useId(), C = s || `${M}-radio`;
9118
+ const m = a || !1, I = o || !1, T = v.useId(), k = s || `${T}-radio`;
9118
9119
  return /* @__PURE__ */ n(
9119
9120
  "label",
9120
9121
  {
9121
- htmlFor: C,
9122
+ htmlFor: k,
9122
9123
  className: p(
9123
9124
  "select-none",
9124
9125
  I ? "cursor-not-allowed opacity-40" : "cursor-pointer"
@@ -9138,7 +9139,7 @@ const ws = ge(
9138
9139
  checked: a,
9139
9140
  disabled: I,
9140
9141
  value: i,
9141
- id: C
9142
+ id: k
9142
9143
  }, x), {
9143
9144
  ref: b,
9144
9145
  "data-testid": g
@@ -9692,45 +9693,45 @@ function Ps({
9692
9693
  }
9693
9694
  const h = x.current, m = y.filter((I) => !h.has(I));
9694
9695
  x.current = new Set(y), m.length !== 0 && (g((I) => {
9695
- const M = new Set(I);
9696
- return m.forEach((C) => M.add(C)), M;
9696
+ const T = new Set(I);
9697
+ return m.forEach((k) => T.add(k)), T;
9697
9698
  }), m.forEach((I) => {
9698
- const M = b.current.get(I);
9699
- M && window.clearTimeout(M);
9700
- const C = window.setTimeout(() => {
9701
- g((k) => {
9702
- if (!k.has(I))
9703
- return k;
9704
- const R = new Set(k);
9699
+ const T = b.current.get(I);
9700
+ T && window.clearTimeout(T);
9701
+ const k = window.setTimeout(() => {
9702
+ g((C) => {
9703
+ if (!C.has(I))
9704
+ return C;
9705
+ const R = new Set(C);
9705
9706
  return R.delete(I), R;
9706
9707
  }), b.current.delete(I);
9707
9708
  }, 1400);
9708
- b.current.set(I, C);
9709
+ b.current.set(I, k);
9709
9710
  }));
9710
9711
  }, [l, c]), c.length === 0 ? /* @__PURE__ */ n("tbody", { "data-testid": u, children: /* @__PURE__ */ n("tr", { "data-testid": f, children: /* @__PURE__ */ n("td", { colSpan: Math.max(1, t), className: "p-0", children: /* @__PURE__ */ n(qn, { locale: a }) }) }) }) : /* @__PURE__ */ n("tbody", { "data-testid": u, children: c.map((y) => {
9711
9712
  var S, A, z, G;
9712
- const h = y.index, m = (S = r == null ? void 0 : r(y.original, h)) != null ? S : {}, I = typeof m.onClick == "function", M = m.onClick, C = l && d.has(y.id), k = (H) => {
9713
+ const h = y.index, m = (S = r == null ? void 0 : r(y.original, h)) != null ? S : {}, I = typeof m.onClick == "function", T = m.onClick, k = l && d.has(y.id), C = (H) => {
9713
9714
  var P;
9714
9715
  (P = m.onKeyDown) == null || P.call(m, H), I && (H.key !== "Enter" && H.key !== " " || (H.preventDefault(), H.currentTarget.click()));
9715
9716
  }, R = p(
9716
9717
  "group transition-colors",
9717
- C && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9718
+ k && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9718
9719
  // Комментарий: если передан onRow — считаем строку интерактивной (как переход/роутинг в main-app)
9719
9720
  (r || I) && "cursor-pointer",
9720
9721
  m.className
9721
9722
  ), E = p(
9722
9723
  "bg-background group-hover:bg-[#F6F6F7]",
9723
- C && "bg-primary/5 group-hover:bg-primary/10"
9724
+ k && "bg-primary/5 group-hover:bg-primary/10"
9724
9725
  );
9725
9726
  return /* @__PURE__ */ n(
9726
9727
  "tr",
9727
9728
  F(w({
9728
9729
  "data-testid": f
9729
9730
  }, m), {
9730
- "data-new": C ? "true" : void 0,
9731
+ "data-new": k ? "true" : void 0,
9731
9732
  className: R,
9732
- onClick: M,
9733
- onKeyDown: I ? k : m.onKeyDown,
9733
+ onClick: T,
9734
+ onKeyDown: I ? C : m.onKeyDown,
9734
9735
  role: I ? (A = m.role) != null ? A : "button" : m.role,
9735
9736
  tabIndex: I ? (z = m.tabIndex) != null ? z : 0 : m.tabIndex,
9736
9737
  "aria-label": I ? (G = m["aria-label"]) != null ? G : "Открыть строку" : m["aria-label"],
@@ -9851,12 +9852,12 @@ function $r({
9851
9852
  }) {
9852
9853
  return /* @__PURE__ */ n("thead", { children: e.getHeaderGroups().map((f) => /* @__PURE__ */ n("tr", { className: "h-[37px]", children: f.headers.map((c) => {
9853
9854
  var S;
9854
- const d = c.column.columnDef.meta, g = c.column.getCanSort(), x = c.column.getIsSorted(), b = void 0, y = xr(d == null ? void 0 : d.align), h = vr(d == null ? void 0 : d.fixed, c.column.id, s), m = wr(d == null ? void 0 : d.fixed, c.column.id, l, u), I = typeof o == "number" ? `${o}px` : o, M = g ? c.column.getToggleSortingHandler() : void 0, C = c.isPlaceholder ? null : sn(c.column.columnDef.header, c.getContext()), k = t.findIndex((A, z) => Ke(A, z) === c.column.id), R = k >= 0 ? t[k] : void 0, E = typeof (R == null ? void 0 : R.title) == "function" ? R.title({
9855
+ const d = c.column.columnDef.meta, g = c.column.getCanSort(), x = c.column.getIsSorted(), b = void 0, y = xr(d == null ? void 0 : d.align), h = vr(d == null ? void 0 : d.fixed, c.column.id, s), m = wr(d == null ? void 0 : d.fixed, c.column.id, l, u), I = typeof o == "number" ? `${o}px` : o, T = g ? c.column.getToggleSortingHandler() : void 0, k = c.isPlaceholder ? null : sn(c.column.columnDef.header, c.getContext()), C = t.findIndex((A, z) => Ke(A, z) === c.column.id), R = C >= 0 ? t[C] : void 0, E = typeof (R == null ? void 0 : R.title) == "function" ? R.title({
9855
9856
  sortColumns: r.map((A) => ({
9856
9857
  column: { dataIndex: A.id, key: A.id, columnKey: A.id },
9857
9858
  order: A.desc ? "descend" : "ascend"
9858
9859
  }))
9859
- }) : C;
9860
+ }) : k;
9860
9861
  return /* @__PURE__ */ n(
9861
9862
  "th",
9862
9863
  {
@@ -9883,7 +9884,7 @@ function $r({
9883
9884
  m
9884
9885
  )
9885
9886
  }),
9886
- onClick: M,
9887
+ onClick: T,
9887
9888
  children: /* @__PURE__ */ N("div", { className: p("flex w-full items-center gap-2", Es(d == null ? void 0 : d.align)), children: [
9888
9889
  E,
9889
9890
  g && /* @__PURE__ */ n("span", { title: b, className: "inline-flex items-center", children: /* @__PURE__ */ n(
@@ -9993,9 +9994,9 @@ function ud({
9993
9994
  rowKey: h,
9994
9995
  rowSelection: m,
9995
9996
  highlightNewRows: I = !1,
9996
- pagination: M,
9997
- showHeader: C = !0,
9998
- showSorterTooltip: k = !0,
9997
+ pagination: T,
9998
+ showHeader: k = !0,
9999
+ showSorterTooltip: C = !0,
9999
10000
  onRow: R,
10000
10001
  locale: E,
10001
10002
  tbodyDataTestId: S,
@@ -10147,7 +10148,7 @@ function ud({
10147
10148
  const q = Q == null ? void 0 : Q[h];
10148
10149
  return q != null ? String(q) : String(se);
10149
10150
  } : void 0
10150
- })), He = C && u && (o === "window" || o === "auto" && (l == null ? void 0 : l.y) == null), ia = u && !He, sa = ne(() => {
10151
+ })), He = k && u && (o === "window" || o === "auto" && (l == null ? void 0 : l.y) == null), ia = u && !He, sa = ne(() => {
10151
10152
  if (He)
10152
10153
  return {
10153
10154
  top: a != null ? a : 0
@@ -10206,7 +10207,7 @@ function ud({
10206
10207
  sorting: wt,
10207
10208
  stickyHeader: !1,
10208
10209
  stickyHeaderOffset: a,
10209
- showSorterTooltip: k,
10210
+ showSorterTooltip: C,
10210
10211
  stickyOffsets: Se,
10211
10212
  fixedShadowEdges: me,
10212
10213
  scrollState: It
@@ -10243,7 +10244,7 @@ function ud({
10243
10244
  style: tt ? { minWidth: tt } : void 0,
10244
10245
  children: [
10245
10246
  /* @__PURE__ */ n(Kr, { columns: X }),
10246
- C && !He && /* @__PURE__ */ n(
10247
+ k && !He && /* @__PURE__ */ n(
10247
10248
  $r,
10248
10249
  {
10249
10250
  table: Nt,
@@ -10251,7 +10252,7 @@ function ud({
10251
10252
  sorting: wt,
10252
10253
  stickyHeader: ia,
10253
10254
  stickyHeaderOffset: a,
10254
- showSorterTooltip: k,
10255
+ showSorterTooltip: C,
10255
10256
  stickyOffsets: Se,
10256
10257
  fixedShadowEdges: me,
10257
10258
  scrollState: It
@@ -10388,8 +10389,8 @@ function fd({
10388
10389
  linesCount: 6
10389
10390
  }
10390
10391
  ) }) : c.length === 0 ? /* @__PURE__ */ n("div", { className: a, "aria-busy": t, children: /* @__PURE__ */ n(qn, { locale: o }) }) : /* @__PURE__ */ n("div", { className: p("flex flex-col gap-2", a), "aria-busy": t, children: c.map((d, g) => {
10391
- var M, C, k, R, E;
10392
- const x = (M = s == null ? void 0 : s(d, g)) != null ? M : {}, b = typeof x.onClick == "function", y = (C = i == null ? void 0 : i(d, g)) != null ? C : g, h = x.onClick, m = (S) => {
10392
+ var T, k, C, R, E;
10393
+ const x = (T = s == null ? void 0 : s(d, g)) != null ? T : {}, b = typeof x.onClick == "function", y = (k = i == null ? void 0 : i(d, g)) != null ? k : g, h = x.onClick, m = (S) => {
10393
10394
  var A;
10394
10395
  (A = x.onKeyDown) == null || A.call(x, S), b && (S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.currentTarget.click()));
10395
10396
  }, I = p(
@@ -10407,7 +10408,7 @@ function fd({
10407
10408
  className: I,
10408
10409
  onClick: h,
10409
10410
  onKeyDown: b ? m : x.onKeyDown,
10410
- role: b ? (k = x.role) != null ? k : "button" : x.role,
10411
+ role: b ? (C = x.role) != null ? C : "button" : x.role,
10411
10412
  tabIndex: b ? (R = x.tabIndex) != null ? R : 0 : x.tabIndex,
10412
10413
  "aria-label": b ? (E = x["aria-label"]) != null ? E : "Открыть карточку" : x["aria-label"],
10413
10414
  children: l == null ? void 0 : l(d, g)
@@ -10937,7 +10938,7 @@ function gd({
10937
10938
  hasToError: () => P(s) ? !0 : D(s) && !!s.to,
10938
10939
  getErrorText: () => P(s) ? s : D(s) ? s.from && s.to ? `${s.from}, ${s.to}` : s.from || s.to || "" : ""
10939
10940
  };
10940
- }, [s]), { hasAnyError: I, hasFromError: M, hasToError: C, getErrorText: k } = m;
10941
+ }, [s]), { hasAnyError: I, hasFromError: T, hasToError: k, getErrorText: C } = m;
10941
10942
  v.useEffect(() => {
10942
10943
  g((e == null ? void 0 : e.from) || ""), b((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", h.current = (e == null ? void 0 : e.to) || "";
10943
10944
  }, [e]);
@@ -11014,7 +11015,7 @@ function gd({
11014
11015
  "font-graphik w-0 flex-1 border-none bg-transparent outline-none",
11015
11016
  "placeholder:text-muted-foreground",
11016
11017
  "[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
11017
- M() && "text-destructive",
11018
+ T() && "text-destructive",
11018
11019
  {
11019
11020
  "block h-auto p-0 text-[14px] leading-5": i === "md",
11020
11021
  "block h-auto p-0 text-[16px] leading-[22px]": i === "lg",
@@ -11045,7 +11046,7 @@ function gd({
11045
11046
  "font-graphik w-0 flex-1 border-none bg-transparent outline-none",
11046
11047
  "placeholder:text-muted-foreground",
11047
11048
  "[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
11048
- C() && "text-destructive",
11049
+ k() && "text-destructive",
11049
11050
  {
11050
11051
  "block h-auto p-0 text-[14px] leading-5": i === "md",
11051
11052
  "block h-auto p-0 text-[16px] leading-[22px]": i === "lg",
@@ -11071,7 +11072,7 @@ function gd({
11071
11072
  }
11072
11073
  ) }),
11073
11074
  l && !I() && /* @__PURE__ */ n(_, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: l }),
11074
- I() && /* @__PURE__ */ n(_, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: k() })
11075
+ I() && /* @__PURE__ */ n(_, { variant: "p1", className: "mt-1.5", textColor: "destructive", children: C() })
11075
11076
  ] });
11076
11077
  }
11077
11078
  const bd = ({ items: e, className: t }) => /* @__PURE__ */ n("div", { className: t, children: e.map((r, a) => /* @__PURE__ */ N("div", { className: "flex", children: [
@@ -11498,7 +11499,7 @@ function Jr(e) {
11498
11499
  return "Ошибка загрузки файла";
11499
11500
  }
11500
11501
  function ol(e) {
11501
- return T(this, null, function* () {
11502
+ return M(this, null, function* () {
11502
11503
  var a;
11503
11504
  return ((a = e.headers.get("content-type")) != null ? a : "").includes("application/json") ? e.json() : (yield e.text()) || null;
11504
11505
  });
@@ -11548,8 +11549,8 @@ function ra({
11548
11549
  });
11549
11550
  },
11550
11551
  [g]
11551
- ), M = $(
11552
- (D) => T(null, null, function* () {
11552
+ ), T = $(
11553
+ (D) => M(null, null, function* () {
11553
11554
  if (!l)
11554
11555
  return;
11555
11556
  let O = D.map(il);
@@ -11604,7 +11605,7 @@ function ra({
11604
11605
  i,
11605
11606
  d
11606
11607
  ]
11607
- ), C = $(
11608
+ ), k = $(
11608
11609
  (D) => {
11609
11610
  if (!D || D.length === 0 || r)
11610
11611
  return;
@@ -11616,14 +11617,14 @@ function ra({
11616
11617
  return;
11617
11618
  }
11618
11619
  }
11619
- a == null || a(W), l && M(W);
11620
+ a == null || a(W), l && T(W);
11620
11621
  },
11621
- [l, r, i, a, M, m]
11622
- ), k = $(
11622
+ [l, r, i, a, T, m]
11623
+ ), C = $(
11623
11624
  (D) => {
11624
- C(D.target.files), D.target.value = "";
11625
+ k(D.target.files), D.target.value = "";
11625
11626
  },
11626
- [C]
11627
+ [k]
11627
11628
  ), R = $(() => {
11628
11629
  var D;
11629
11630
  r || (D = y.current) == null || D.click();
@@ -11643,9 +11644,9 @@ function ra({
11643
11644
  D.preventDefault(), D.stopPropagation();
11644
11645
  }, []), G = $(
11645
11646
  (D) => {
11646
- D.preventDefault(), D.stopPropagation(), h.current = 0, b(!1), C(D.dataTransfer.files);
11647
+ D.preventDefault(), D.stopPropagation(), h.current = 0, b(!1), k(D.dataTransfer.files);
11647
11648
  },
11648
- [C]
11649
+ [k]
11649
11650
  ), H = $(
11650
11651
  (D = {}) => {
11651
11652
  var O, W;
@@ -11692,7 +11693,7 @@ function ra({
11692
11693
  () => ({
11693
11694
  isDragging: x,
11694
11695
  inputRef: y,
11695
- handleInputChange: k,
11696
+ handleInputChange: C,
11696
11697
  handleDeleteFile: E,
11697
11698
  handleTriggerClick: R,
11698
11699
  getTriggerProps: H,
@@ -11702,7 +11703,7 @@ function ra({
11702
11703
  P,
11703
11704
  H,
11704
11705
  E,
11705
- k,
11706
+ C,
11706
11707
  R,
11707
11708
  x
11708
11709
  ]
@@ -11729,9 +11730,9 @@ const na = v.forwardRef(
11729
11730
  dropzoneText: h = "Добавьте файл для загрузки",
11730
11731
  hint: m,
11731
11732
  buttonText: I = "Выбрать файл",
11732
- errorText: M,
11733
- name: C,
11734
- action: k,
11733
+ errorText: T,
11734
+ name: k,
11735
+ action: C,
11735
11736
  method: R,
11736
11737
  data: E,
11737
11738
  headers: S,
@@ -11753,8 +11754,8 @@ const na = v.forwardRef(
11753
11754
  onUpload: u,
11754
11755
  onDelete: f,
11755
11756
  onError: c,
11756
- name: C,
11757
- action: k,
11757
+ name: k,
11758
+ action: C,
11758
11759
  method: R,
11759
11760
  data: E,
11760
11761
  headers: S,
@@ -11812,7 +11813,7 @@ const na = v.forwardRef(
11812
11813
  ),
11813
11814
  /* @__PURE__ */ n(_, { variant: "p2", textColor: "secondary", className: "text-center", children: "или перетащите сюда" })
11814
11815
  ] }),
11815
- M && /* @__PURE__ */ n(_, { variant: "p2", textColor: "destructive", className: "text-center", children: M })
11816
+ T && /* @__PURE__ */ n(_, { variant: "p2", textColor: "destructive", className: "text-center", children: T })
11816
11817
  ] }),
11817
11818
  l && /* @__PURE__ */ n(ee, { variant: "dashed", size: "md", disabled: a, children: I })
11818
11819
  ]
@@ -11908,7 +11909,7 @@ function sl({
11908
11909
  onClick: m,
11909
11910
  buttonProps: I
11910
11911
  }) {
11911
- const { inputRef: M, handleInputChange: C, handleTriggerClick: k, getTriggerProps: R } = ra({
11912
+ const { inputRef: T, handleInputChange: k, handleTriggerClick: C, getTriggerProps: R } = ra({
11912
11913
  accept: t,
11913
11914
  multiple: r,
11914
11915
  maxSize: a,
@@ -11928,11 +11929,11 @@ function sl({
11928
11929
  /* @__PURE__ */ n(
11929
11930
  "input",
11930
11931
  {
11931
- ref: M,
11932
+ ref: T,
11932
11933
  type: "file",
11933
11934
  accept: t,
11934
11935
  multiple: r,
11935
- onChange: C,
11936
+ onChange: k,
11936
11937
  className: "hidden",
11937
11938
  disabled: o
11938
11939
  }
@@ -11951,7 +11952,7 @@ function sl({
11951
11952
  className: p(h, I == null ? void 0 : I.className),
11952
11953
  disabled: o,
11953
11954
  onClick: (E) => {
11954
- m == null || m(E), E.defaultPrevented || k();
11955
+ m == null || m(E), E.defaultPrevented || C();
11955
11956
  },
11956
11957
  children: y != null ? y : "Выбрать файл"
11957
11958
  })