konsolpro-custom-ui 0.0.400 → 0.0.404

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 L = (e, t) => {
19
19
  t.indexOf(a) < 0 && Sr.call(e, a) && (r[a] = e[a]);
20
20
  return r;
21
21
  };
22
- var S = (e, t, r) => new Promise((a, o) => {
22
+ var T = (e, t, r) => new Promise((a, o) => {
23
23
  var i = (c) => {
24
24
  try {
25
25
  l(r.next(c));
@@ -84,358 +84,358 @@ function fa(e) {
84
84
  return wt[r];
85
85
  }
86
86
  function A(e) {
87
- return rr(() => S(null, null, function* () {
87
+ return rr(() => T(null, null, function* () {
88
88
  return { default: (yield e()).ReactComponent };
89
89
  }));
90
90
  }
91
91
  const ma = {
92
- UnfoldIcon: A(() => S(null, null, function* () {
92
+ UnfoldIcon: A(() => T(null, null, function* () {
93
93
  return import("../chunks/unfold-icon-S3J7xXHf.js");
94
94
  })),
95
- CallIcon: A(() => S(null, null, function* () {
95
+ CallIcon: A(() => T(null, null, function* () {
96
96
  return import("../chunks/call-icon-DslHaQOP.js");
97
97
  })),
98
- SettingsIcon: A(() => S(null, null, function* () {
98
+ SettingsIcon: A(() => T(null, null, function* () {
99
99
  return import("../chunks/settings-icon-D_wgjUsM.js");
100
100
  })),
101
- DoneIcon: A(() => S(null, null, function* () {
101
+ DoneIcon: A(() => T(null, null, function* () {
102
102
  return import("../chunks/done-icon-BZEAL7mI.js");
103
103
  })),
104
- CreditCardIcon: A(() => S(null, null, function* () {
104
+ CreditCardIcon: A(() => T(null, null, function* () {
105
105
  return import("../chunks/credit-card-icon-DS1ckDU7.js");
106
106
  })),
107
- OpenInFullIcon: A(() => S(null, null, function* () {
107
+ OpenInFullIcon: A(() => T(null, null, function* () {
108
108
  return import("../chunks/open-in-full-icon-DzhRd5Mx.js");
109
109
  })),
110
110
  AccountBalanceIcon: A(
111
- () => S(null, null, function* () {
111
+ () => T(null, null, function* () {
112
112
  return import("../chunks/account-balance-icon-CKxx1j3X.js");
113
113
  })
114
114
  ),
115
- DownloadIcon: A(() => S(null, null, function* () {
115
+ DownloadIcon: A(() => T(null, null, function* () {
116
116
  return import("../chunks/download-icon-BvWPcT7W.js");
117
117
  })),
118
- HomeIcon: A(() => S(null, null, function* () {
118
+ HomeIcon: A(() => T(null, null, function* () {
119
119
  return import("../chunks/home-icon-Mag5Wxqq.js");
120
120
  })),
121
- MailIcon: A(() => S(null, null, function* () {
121
+ MailIcon: A(() => T(null, null, function* () {
122
122
  return import("../chunks/mail-icon-DCZPsZFE.js");
123
123
  })),
124
- OpenInNewIcon: A(() => S(null, null, function* () {
124
+ OpenInNewIcon: A(() => T(null, null, function* () {
125
125
  return import("../chunks/open-in-new-icon-A7MgnnyP.js");
126
126
  })),
127
- SupportIcon: A(() => S(null, null, function* () {
127
+ SupportIcon: A(() => T(null, null, function* () {
128
128
  return import("../chunks/support-icon-CBHKGKq8.js");
129
129
  })),
130
130
  BusinessCenterIcon: A(
131
- () => S(null, null, function* () {
131
+ () => T(null, null, function* () {
132
132
  return import("../chunks/business-center-icon-C5X-e-6I.js");
133
133
  })
134
134
  ),
135
- WorkIcon: A(() => S(null, null, function* () {
135
+ WorkIcon: A(() => T(null, null, function* () {
136
136
  return import("../chunks/work-icon-D7I-74Mk.js");
137
137
  })),
138
- ArrowBackIcon: A(() => S(null, null, function* () {
138
+ ArrowBackIcon: A(() => T(null, null, function* () {
139
139
  return import("../chunks/arrow-back-icon-C_VwBDNK.js");
140
140
  })),
141
- SendIcon: A(() => S(null, null, function* () {
141
+ SendIcon: A(() => T(null, null, function* () {
142
142
  return import("../chunks/send-icon-BTztERTu.js");
143
143
  })),
144
- DeleteIcon: A(() => S(null, null, function* () {
144
+ DeleteIcon: A(() => T(null, null, function* () {
145
145
  return import("../chunks/delete-icon-Bk1ZmhBo.js");
146
146
  })),
147
147
  ArrowBackIOSIcon: A(
148
- () => S(null, null, function* () {
148
+ () => T(null, null, function* () {
149
149
  return import("../chunks/arrow-back-ios-icon-CB5K_mmJ.js");
150
150
  })
151
151
  ),
152
- SearchIcon: A(() => S(null, null, function* () {
152
+ SearchIcon: A(() => T(null, null, function* () {
153
153
  return import("../chunks/search-icon-CortrXrC.js");
154
154
  })),
155
- InfoIcon: A(() => S(null, null, function* () {
155
+ InfoIcon: A(() => T(null, null, function* () {
156
156
  return import("../chunks/info-icon-BcUNe5kE.js");
157
157
  })),
158
- PersonIcon: A(() => S(null, null, function* () {
158
+ PersonIcon: A(() => T(null, null, function* () {
159
159
  return import("../chunks/person-icon-Bo5NxPRQ.js");
160
160
  })),
161
- CloseIcon: A(() => S(null, null, function* () {
161
+ CloseIcon: A(() => T(null, null, function* () {
162
162
  return import("../chunks/close-icon-CtbXesC0.js");
163
163
  })),
164
- AddCircleIcon: A(() => S(null, null, function* () {
164
+ AddCircleIcon: A(() => T(null, null, function* () {
165
165
  return import("../chunks/add-circle-icon-D3XpY2oT.js");
166
166
  })),
167
- InventoryIcon: A(() => S(null, null, function* () {
167
+ InventoryIcon: A(() => T(null, null, function* () {
168
168
  return import("../chunks/inventory-icon-CFV8amBs.js");
169
169
  })),
170
- BookIcon: A(() => S(null, null, function* () {
170
+ BookIcon: A(() => T(null, null, function* () {
171
171
  return import("../chunks/book-icon-BdaCKIQB.js");
172
172
  })),
173
- RefreshIcon: A(() => S(null, null, function* () {
173
+ RefreshIcon: A(() => T(null, null, function* () {
174
174
  return import("../chunks/refresh-icon-ac1oOwX8.js");
175
175
  })),
176
- ArrowDownIcon: A(() => S(null, null, function* () {
176
+ ArrowDownIcon: A(() => T(null, null, function* () {
177
177
  return import("../chunks/arrow-down-icon-DFvg75P7.js");
178
178
  })),
179
- ArrowUpIcon: A(() => S(null, null, function* () {
179
+ ArrowUpIcon: A(() => T(null, null, function* () {
180
180
  return import("../chunks/arrow-up-icon-DU7VVzN8.js");
181
181
  })),
182
- ArrowRightIcon: A(() => S(null, null, function* () {
182
+ ArrowRightIcon: A(() => T(null, null, function* () {
183
183
  return import("../chunks/arrow-right-icon-Bnx7GHux.js");
184
184
  })),
185
- ArrowLeftIcon: A(() => S(null, null, function* () {
185
+ ArrowLeftIcon: A(() => T(null, null, function* () {
186
186
  return import("../chunks/arrow-left-icon-8yWT42A8.js");
187
187
  })),
188
- ArrowForwardIcon: A(() => S(null, null, function* () {
188
+ ArrowForwardIcon: A(() => T(null, null, function* () {
189
189
  return import("../chunks/arrow-forward-icon-BI4dm_L2.js");
190
190
  })),
191
- BoltIcon: A(() => S(null, null, function* () {
191
+ BoltIcon: A(() => T(null, null, function* () {
192
192
  return import("../chunks/bolt-icon-CJsvLlL-.js");
193
193
  })),
194
- LogoutIcon: A(() => S(null, null, function* () {
194
+ LogoutIcon: A(() => T(null, null, function* () {
195
195
  return import("../chunks/logout-icon-DN86wp7N.js");
196
196
  })),
197
197
  ProgressActivityIcon: A(
198
- () => S(null, null, function* () {
198
+ () => T(null, null, function* () {
199
199
  return import("../chunks/progress-activity-icon-YbJGzvxH.js");
200
200
  })
201
201
  ),
202
- AutorenewIcon: A(() => S(null, null, function* () {
202
+ AutorenewIcon: A(() => T(null, null, function* () {
203
203
  return import("../chunks/autorenew-icon-B0bI6Xt-.js");
204
204
  })),
205
- HelpIcon: A(() => S(null, null, function* () {
205
+ HelpIcon: A(() => T(null, null, function* () {
206
206
  return import("../chunks/help-icon-BMdlItds.js");
207
207
  })),
208
- VisibilityOnIcon: A(() => S(null, null, function* () {
208
+ VisibilityOnIcon: A(() => T(null, null, function* () {
209
209
  return import("../chunks/visibility-on-icon-C9VmKsvX.js");
210
210
  })),
211
- RemoveIcon: A(() => S(null, null, function* () {
211
+ RemoveIcon: A(() => T(null, null, function* () {
212
212
  return import("../chunks/remove-icon-CTuoG0Vq.js");
213
213
  })),
214
- AddIcon: A(() => S(null, null, function* () {
214
+ AddIcon: A(() => T(null, null, function* () {
215
215
  return import("../chunks/add-icon-CZXR66VL.js");
216
216
  })),
217
- EditIcon: A(() => S(null, null, function* () {
217
+ EditIcon: A(() => T(null, null, function* () {
218
218
  return import("../chunks/edit-icon-_3venQRC.js");
219
219
  })),
220
- ScenarioIcon: A(() => S(null, null, function* () {
220
+ ScenarioIcon: A(() => T(null, null, function* () {
221
221
  return import("../chunks/scenario-icon-BcnFsqUA.js");
222
222
  })),
223
- NorthEastIcon: A(() => S(null, null, function* () {
223
+ NorthEastIcon: A(() => T(null, null, function* () {
224
224
  return import("../chunks/north-east-icon-Dh7-1BBW.js");
225
225
  })),
226
- MoreVertIcon: A(() => S(null, null, function* () {
226
+ MoreVertIcon: A(() => T(null, null, function* () {
227
227
  return import("../chunks/more-vert-icon-NA1tYTse.js");
228
228
  })),
229
- MenuIcon: A(() => S(null, null, function* () {
229
+ MenuIcon: A(() => T(null, null, function* () {
230
230
  return import("../chunks/menu-icon-DWObHD95.js");
231
231
  })),
232
- CheckCircleIcon: A(() => S(null, null, function* () {
232
+ CheckCircleIcon: A(() => T(null, null, function* () {
233
233
  return import("../chunks/check-circle-icon-BWhJprgU.js");
234
234
  })),
235
- BlockIcon: A(() => S(null, null, function* () {
235
+ BlockIcon: A(() => T(null, null, function* () {
236
236
  return import("../chunks/block-icon-DGlp9c33.js");
237
237
  })),
238
- BoltFillIcon: A(() => S(null, null, function* () {
238
+ BoltFillIcon: A(() => T(null, null, function* () {
239
239
  return import("../chunks/bolt-fill-icon-DZjyKq8N.js");
240
240
  })),
241
- ErrorIcon: A(() => S(null, null, function* () {
241
+ ErrorIcon: A(() => T(null, null, function* () {
242
242
  return import("../chunks/error-icon-CgJ3zr06.js");
243
243
  })),
244
- ErrorFillIcon: A(() => S(null, null, function* () {
244
+ ErrorFillIcon: A(() => T(null, null, function* () {
245
245
  return import("../chunks/error-fill-icon--8j3Zcfq.js");
246
246
  })),
247
247
  VisibilityOffIcon: A(
248
- () => S(null, null, function* () {
248
+ () => T(null, null, function* () {
249
249
  return import("../chunks/visibility-off-icon-BA_I97Vw.js");
250
250
  })
251
251
  ),
252
- PaymentIcon: A(() => S(null, null, function* () {
252
+ PaymentIcon: A(() => T(null, null, function* () {
253
253
  return import("../chunks/payment-icon-C-B7L4WP.js");
254
254
  })),
255
- FilterIcon: A(() => S(null, null, function* () {
255
+ FilterIcon: A(() => T(null, null, function* () {
256
256
  return import("../chunks/filter-icon-D_3_SQsN.js");
257
257
  })),
258
- FullScreenIcon: A(() => S(null, null, function* () {
258
+ FullScreenIcon: A(() => T(null, null, function* () {
259
259
  return import("../chunks/full-screen-icon-Dpl__xtk.js");
260
260
  })),
261
261
  FullScreenExitIcon: A(
262
- () => S(null, null, function* () {
262
+ () => T(null, null, function* () {
263
263
  return import("../chunks/full-screen-exit-icon-BHwq-9P-.js");
264
264
  })
265
265
  ),
266
- MoreHorizIcon: A(() => S(null, null, function* () {
266
+ MoreHorizIcon: A(() => T(null, null, function* () {
267
267
  return import("../chunks/more-horiz-icon-CSK7Ackl.js");
268
268
  })),
269
- GroupIcon: A(() => S(null, null, function* () {
269
+ GroupIcon: A(() => T(null, null, function* () {
270
270
  return import("../chunks/group-icon-BfSRHuvp.js");
271
271
  })),
272
- DocumentIcon: A(() => S(null, null, function* () {
272
+ DocumentIcon: A(() => T(null, null, function* () {
273
273
  return import("../chunks/document-icon-DcmQhRhY.js");
274
274
  })),
275
- ListIcon: A(() => S(null, null, function* () {
275
+ ListIcon: A(() => T(null, null, function* () {
276
276
  return import("../chunks/list-icon-ChePCGxK.js");
277
277
  })),
278
- AttachFileIcon: A(() => S(null, null, function* () {
278
+ AttachFileIcon: A(() => T(null, null, function* () {
279
279
  return import("../chunks/attach-file-icon-OrT7tthI.js");
280
280
  })),
281
- LocationIcon: A(() => S(null, null, function* () {
281
+ LocationIcon: A(() => T(null, null, function* () {
282
282
  return import("../chunks/location-icon-Bf9Wbg65.js");
283
283
  })),
284
- UploadIcon: A(() => S(null, null, function* () {
284
+ UploadIcon: A(() => T(null, null, function* () {
285
285
  return import("../chunks/upload-icon-CwzthQEL.js");
286
286
  })),
287
- PageInfoIcon: A(() => S(null, null, function* () {
287
+ PageInfoIcon: A(() => T(null, null, function* () {
288
288
  return import("../chunks/page-info-icon-BiVNFu71.js");
289
289
  })),
290
- SegmentIcon: A(() => S(null, null, function* () {
290
+ SegmentIcon: A(() => T(null, null, function* () {
291
291
  return import("../chunks/segment-icon-Bzm7cziF.js");
292
292
  })),
293
- CopyIcon: A(() => S(null, null, function* () {
293
+ CopyIcon: A(() => T(null, null, function* () {
294
294
  return import("../chunks/copy-icon-BWyncDVB.js");
295
295
  })),
296
- InfoFillIcon: A(() => S(null, null, function* () {
296
+ InfoFillIcon: A(() => T(null, null, function* () {
297
297
  return import("../chunks/info-fill-icon-BzE09Xg8.js");
298
298
  })),
299
299
  ManageAccountsIcon: A(
300
- () => S(null, null, function* () {
300
+ () => T(null, null, function* () {
301
301
  return import("../chunks/manage-accounts-icon-BkyuUTj3.js");
302
302
  })
303
303
  ),
304
- FlagIcon: A(() => S(null, null, function* () {
304
+ FlagIcon: A(() => T(null, null, function* () {
305
305
  return import("../chunks/flag-icon-DmWEp4ya.js");
306
306
  })),
307
- CalendarIcon: A(() => S(null, null, function* () {
307
+ CalendarIcon: A(() => T(null, null, function* () {
308
308
  return import("../chunks/calendar-icon-B1cogiSd.js");
309
309
  })),
310
- PincodeIcon: A(() => S(null, null, function* () {
310
+ PincodeIcon: A(() => T(null, null, function* () {
311
311
  return import("../chunks/pincode-icon-BA-e4pBH.js");
312
312
  })),
313
- OutgoingMailIcon: A(() => S(null, null, function* () {
313
+ OutgoingMailIcon: A(() => T(null, null, function* () {
314
314
  return import("../chunks/outgoing-main-icon-BAH2vddG.js");
315
315
  })),
316
- TimeIcon: A(() => S(null, null, function* () {
316
+ TimeIcon: A(() => T(null, null, function* () {
317
317
  return import("../chunks/time-icon-DsWMo47L.js");
318
318
  })),
319
- SmsIcon: A(() => S(null, null, function* () {
319
+ SmsIcon: A(() => T(null, null, function* () {
320
320
  return import("../chunks/sms-icon-4p-ON5VX.js");
321
321
  })),
322
- TelegrammIcon: A(() => S(null, null, function* () {
322
+ TelegrammIcon: A(() => T(null, null, function* () {
323
323
  return import("../chunks/telegramm-icon-C2ZR2jdg.js");
324
324
  })),
325
- BillsWarningIcon: A(() => S(null, null, function* () {
325
+ BillsWarningIcon: A(() => T(null, null, function* () {
326
326
  return import("../chunks/bills-warning-icon-CNgWvumi.js");
327
327
  })),
328
328
  BillsInProgressIcon: A(
329
- () => S(null, null, function* () {
329
+ () => T(null, null, function* () {
330
330
  return import("../chunks/bills-in-progress-icon-RVEtPz7l.js");
331
331
  })
332
332
  ),
333
- BillsIcon: A(() => S(null, null, function* () {
333
+ BillsIcon: A(() => T(null, null, function* () {
334
334
  return import("../chunks/bills-icon-BU_adAs0.js");
335
335
  })),
336
- BillsErrorIcon: A(() => S(null, null, function* () {
336
+ BillsErrorIcon: A(() => T(null, null, function* () {
337
337
  return import("../chunks/bills-error-icon-CcDGUJrx.js");
338
338
  })),
339
- BillWarningIcon: A(() => S(null, null, function* () {
339
+ BillWarningIcon: A(() => T(null, null, function* () {
340
340
  return import("../chunks/bill-warning-icon-3Y-dONd_.js");
341
341
  })),
342
342
  BillInProgressIcon: A(
343
- () => S(null, null, function* () {
343
+ () => T(null, null, function* () {
344
344
  return import("../chunks/bill-in-progress-icon-BTsO5Mh5.js");
345
345
  })
346
346
  ),
347
- BillIcon: A(() => S(null, null, function* () {
347
+ BillIcon: A(() => T(null, null, function* () {
348
348
  return import("../chunks/bill-icon-Cw2GE_VB.js");
349
349
  })),
350
- BillErrorIcon: A(() => S(null, null, function* () {
350
+ BillErrorIcon: A(() => T(null, null, function* () {
351
351
  return import("../chunks/bill-error-icon-q8_KROAY.js");
352
352
  })),
353
- AndroidIcon: A(() => S(null, null, function* () {
353
+ AndroidIcon: A(() => T(null, null, function* () {
354
354
  return import("../chunks/android-icon-6SCGu50U.js");
355
355
  })),
356
- AppleIcon: A(() => S(null, null, function* () {
356
+ AppleIcon: A(() => T(null, null, function* () {
357
357
  return import("../chunks/apple-icon-yya6O1xg.js");
358
358
  })),
359
- ZoomInIcon: A(() => S(null, null, function* () {
359
+ ZoomInIcon: A(() => T(null, null, function* () {
360
360
  return import("../chunks/zoom-in-icon-ZWEJANob.js");
361
361
  })),
362
- ZoomOutIcon: A(() => S(null, null, function* () {
362
+ ZoomOutIcon: A(() => T(null, null, function* () {
363
363
  return import("../chunks/zoom-out-icon-CeFz3G6V.js");
364
364
  })),
365
- SaveIcon: A(() => S(null, null, function* () {
365
+ SaveIcon: A(() => T(null, null, function* () {
366
366
  return import("../chunks/save-icon-DnF5revo.js");
367
367
  })),
368
- WalletIcon: A(() => S(null, null, function* () {
368
+ WalletIcon: A(() => T(null, null, function* () {
369
369
  return import("../chunks/wallet-icon-D0r9bDRg.js");
370
370
  })),
371
- PlayIcon: A(() => S(null, null, function* () {
371
+ PlayIcon: A(() => T(null, null, function* () {
372
372
  return import("../chunks/play-icon-Bnj3hsIf.js");
373
373
  })),
374
- SberIdIcon: A(() => S(null, null, function* () {
374
+ SberIdIcon: A(() => T(null, null, function* () {
375
375
  return import("../chunks/sberid-icon-DgQtjRjD.js");
376
376
  })),
377
- TinkoffIdIcon: A(() => S(null, null, function* () {
377
+ TinkoffIdIcon: A(() => T(null, null, function* () {
378
378
  return import("../chunks/tinkoffid-icon-DN9XKuNA.js");
379
379
  })),
380
- CookieIcon: A(() => S(null, null, function* () {
380
+ CookieIcon: A(() => T(null, null, function* () {
381
381
  return import("../chunks/cookie-DJ-U7h-A.js");
382
382
  })),
383
- ThumbsUpIcon: A(() => S(null, null, function* () {
383
+ ThumbsUpIcon: A(() => T(null, null, function* () {
384
384
  return import("../chunks/thumbs-up-icon-BArjyDfk.js");
385
385
  })),
386
386
  CheckCircleFillIcon: A(
387
- () => S(null, null, function* () {
387
+ () => T(null, null, function* () {
388
388
  return import("../chunks/check-circle-fill-ne1MhahL.js");
389
389
  })
390
390
  ),
391
- CancelFillIcon: A(() => S(null, null, function* () {
391
+ CancelFillIcon: A(() => T(null, null, function* () {
392
392
  return import("../chunks/cancel-fill-DPYenlCk.js");
393
393
  })),
394
- TrendingUpIcon: A(() => S(null, null, function* () {
394
+ TrendingUpIcon: A(() => T(null, null, function* () {
395
395
  return import("../chunks/trending-up-icon-IEwGHi9c.js");
396
396
  })),
397
- TrendingDownIcon: A(() => S(null, null, function* () {
397
+ TrendingDownIcon: A(() => T(null, null, function* () {
398
398
  return import("../chunks/trending-down-icon-DlHKI37F.js");
399
399
  })),
400
- PersonAddIcon: A(() => S(null, null, function* () {
400
+ PersonAddIcon: A(() => T(null, null, function* () {
401
401
  return import("../chunks/person-add-C-3pZhgM.js");
402
402
  })),
403
- PersonSearchIcon: A(() => S(null, null, function* () {
403
+ PersonSearchIcon: A(() => T(null, null, function* () {
404
404
  return import("../chunks/person-search-icon-CwVm_XAL.js");
405
405
  })),
406
- LinkIcon: A(() => S(null, null, function* () {
406
+ LinkIcon: A(() => T(null, null, function* () {
407
407
  return import("../chunks/link-icon-BUAymb0P.js");
408
408
  })),
409
- FileSuccessIcon: A(() => S(null, null, function* () {
409
+ FileSuccessIcon: A(() => T(null, null, function* () {
410
410
  return import("../chunks/file-success-icon-BTk5SYAM.js");
411
411
  })),
412
- FileErrorIcon: A(() => S(null, null, function* () {
412
+ FileErrorIcon: A(() => T(null, null, function* () {
413
413
  return import("../chunks/file-error-icon-630wBy1K.js");
414
414
  })),
415
- ShieldIcon: A(() => S(null, null, function* () {
415
+ ShieldIcon: A(() => T(null, null, function* () {
416
416
  return import("../chunks/shield-icon-BwpxkU5E.js");
417
417
  })),
418
- StatisticIcon: A(() => S(null, null, function* () {
418
+ StatisticIcon: A(() => T(null, null, function* () {
419
419
  return import("../chunks/statistic-icon-mhqUxTDv.js");
420
420
  })),
421
- DontDisturbIcon: A(() => S(null, null, function* () {
421
+ DontDisturbIcon: A(() => T(null, null, function* () {
422
422
  return import("../chunks/dont-disturb-o1xt1TeU.js");
423
423
  })),
424
- WhatsAppIcon: A(() => S(null, null, function* () {
424
+ WhatsAppIcon: A(() => T(null, null, function* () {
425
425
  return import("../chunks/whats-app-icon-XbrqQF8U.js");
426
426
  })),
427
- MaxIcon: A(() => S(null, null, function* () {
427
+ MaxIcon: A(() => T(null, null, function* () {
428
428
  return import("../chunks/max-icon-CTdBEAt8.js");
429
429
  })),
430
430
  SettingsBackupRestoreIcon: A(
431
- () => S(null, null, function* () {
431
+ () => T(null, null, function* () {
432
432
  return import("../chunks/settings-backup-restore-icon-DUrmFxtk.js");
433
433
  })
434
434
  ),
435
- PauseCircleIcon: A(() => S(null, null, function* () {
435
+ PauseCircleIcon: A(() => T(null, null, function* () {
436
436
  return import("../chunks/pause-circle-icon-Dpio-qM3.js");
437
437
  })),
438
- BellIcon: A(() => S(null, null, function* () {
438
+ BellIcon: A(() => T(null, null, function* () {
439
439
  return import("../chunks/bell-icon-L-Ynt5XK.js");
440
440
  }))
441
441
  };
@@ -459,88 +459,88 @@ function V({
459
459
  ) : null;
460
460
  }
461
461
  function te(e) {
462
- return rr(() => S(null, null, function* () {
462
+ return rr(() => T(null, null, function* () {
463
463
  return { default: (yield e()).ReactComponent };
464
464
  }));
465
465
  }
466
466
  const pa = {
467
- AlfaIcon: te(() => S(null, null, function* () {
467
+ AlfaIcon: te(() => T(null, null, function* () {
468
468
  return import("../chunks/alfa-icon-Cx0WqCux.js");
469
469
  })),
470
- BaltiyskiyIcon: te(() => S(null, null, function* () {
470
+ BaltiyskiyIcon: te(() => T(null, null, function* () {
471
471
  return import("../chunks/baltiyskiy-icon-CXAJY9LH.js");
472
472
  })),
473
- EuropaIcon: te(() => S(null, null, function* () {
473
+ EuropaIcon: te(() => T(null, null, function* () {
474
474
  return import("../chunks/europa-icon-DbElF2Uc.js");
475
475
  })),
476
- GazpromIcon: te(() => S(null, null, function* () {
476
+ GazpromIcon: te(() => T(null, null, function* () {
477
477
  return import("../chunks/gazprom-icon-CRfKLTvP.js");
478
478
  })),
479
- HomeIcon: te(() => S(null, null, function* () {
479
+ HomeIcon: te(() => T(null, null, function* () {
480
480
  return import("../chunks/home-icon-Dc6LzbVw.js");
481
481
  })),
482
- MkbIcon: te(() => S(null, null, function* () {
482
+ MkbIcon: te(() => T(null, null, function* () {
483
483
  return import("../chunks/mkb-icon-CEkVt-7P.js");
484
484
  })),
485
- MtsIcon: te(() => S(null, null, function* () {
485
+ MtsIcon: te(() => T(null, null, function* () {
486
486
  return import("../chunks/mts-icon-Bq4YDYEy.js");
487
487
  })),
488
- OtkritieIcon: te(() => S(null, null, function* () {
488
+ OtkritieIcon: te(() => T(null, null, function* () {
489
489
  return import("../chunks/otkritie-icon-yGwVocEY.js");
490
490
  })),
491
- OtpIcon: te(() => S(null, null, function* () {
491
+ OtpIcon: te(() => T(null, null, function* () {
492
492
  return import("../chunks/otp-icon-BQQXMe3b.js");
493
493
  })),
494
- PsbIcon: te(() => S(null, null, function* () {
494
+ PsbIcon: te(() => T(null, null, function* () {
495
495
  return import("../chunks/psb-icon-CxKzLVG5.js");
496
496
  })),
497
- QiwiIcon: te(() => S(null, null, function* () {
497
+ QiwiIcon: te(() => T(null, null, function* () {
498
498
  return import("../chunks/qiwi-icon-B795Q_fW.js");
499
499
  })),
500
- RaiffeisenIcon: te(() => S(null, null, function* () {
500
+ RaiffeisenIcon: te(() => T(null, null, function* () {
501
501
  return import("../chunks/raiffeisen-icon-CgcBX8eY.js");
502
502
  })),
503
503
  RussianStandartIcon: te(
504
- () => S(null, null, function* () {
504
+ () => T(null, null, function* () {
505
505
  return import("../chunks/russian-standart-icon-CI8j1Do6.js");
506
506
  })
507
507
  ),
508
508
  SaintPetersburgIcon: te(
509
- () => S(null, null, function* () {
509
+ () => T(null, null, function* () {
510
510
  return import("../chunks/saint-petersburg-icon-DbffjI2W.js");
511
511
  })
512
512
  ),
513
- SberIcon: te(() => S(null, null, function* () {
513
+ SberIcon: te(() => T(null, null, function* () {
514
514
  return import("../chunks/sber-icon-b7d9_o7J.js");
515
515
  })),
516
- SkbIcon: te(() => S(null, null, function* () {
516
+ SkbIcon: te(() => T(null, null, function* () {
517
517
  return import("../chunks/skb-icon-BgDQolTL.js");
518
518
  })),
519
- TbankIcon: te(() => S(null, null, function* () {
519
+ TbankIcon: te(() => T(null, null, function* () {
520
520
  return import("../chunks/tbank-icon-ByKW0pBb.js");
521
521
  })),
522
- TochkaIcon: te(() => S(null, null, function* () {
522
+ TochkaIcon: te(() => T(null, null, function* () {
523
523
  return import("../chunks/tochka-icon-CoQ_r9Lz.js");
524
524
  })),
525
- TrustIcon: te(() => S(null, null, function* () {
525
+ TrustIcon: te(() => T(null, null, function* () {
526
526
  return import("../chunks/trust-icon-DcfUVGZ_.js");
527
527
  })),
528
- UniIcon: te(() => S(null, null, function* () {
528
+ UniIcon: te(() => T(null, null, function* () {
529
529
  return import("../chunks/uni-icon-gK006vr0.js");
530
530
  })),
531
- UralsibIcon: te(() => S(null, null, function* () {
531
+ UralsibIcon: te(() => T(null, null, function* () {
532
532
  return import("../chunks/uralsib-icon-C-ZbdvlL.js");
533
533
  })),
534
- UralskiyIcon: te(() => S(null, null, function* () {
534
+ UralskiyIcon: te(() => T(null, null, function* () {
535
535
  return import("../chunks/uralskiy-icon-Djqv-ZYN.js");
536
536
  })),
537
- VozrozhdenieIcon: te(() => S(null, null, function* () {
537
+ VozrozhdenieIcon: te(() => T(null, null, function* () {
538
538
  return import("../chunks/vozrozhdenie-icon-CCMRNn95.js");
539
539
  })),
540
- VtbIcon: te(() => S(null, null, function* () {
540
+ VtbIcon: te(() => T(null, null, function* () {
541
541
  return import("../chunks/vtb-icon-BtfO1_Gx.js");
542
542
  })),
543
- YandexIcon: te(() => S(null, null, function* () {
543
+ YandexIcon: te(() => T(null, null, function* () {
544
544
  return import("../chunks/yandex-icon-CepqpI49.js");
545
545
  }))
546
546
  };
@@ -560,39 +560,39 @@ function ml({ icon: e }) {
560
560
  ) : null;
561
561
  }
562
562
  function De(e) {
563
- return rr(() => S(null, null, function* () {
563
+ return rr(() => T(null, null, function* () {
564
564
  return { default: (yield e()).ReactComponent };
565
565
  }));
566
566
  }
567
567
  const ha = {
568
- Normal: De(() => S(null, null, function* () {
568
+ Normal: De(() => T(null, null, function* () {
569
569
  return import("../chunks/normal-icon-CYvIFN5j.js");
570
570
  })),
571
- Failed: De(() => S(null, null, function* () {
571
+ Failed: De(() => T(null, null, function* () {
572
572
  return import("../chunks/failed-icon-YP2jq4UN.js");
573
573
  })),
574
- Signed: De(() => S(null, null, function* () {
574
+ Signed: De(() => T(null, null, function* () {
575
575
  return import("../chunks/signed-icon-DTQlKmWU.js");
576
576
  })),
577
- Warning: De(() => S(null, null, function* () {
577
+ Warning: De(() => T(null, null, function* () {
578
578
  return import("../chunks/warning-icon-BmlgMY27.js");
579
579
  })),
580
- Waiting: De(() => S(null, null, function* () {
580
+ Waiting: De(() => T(null, null, function* () {
581
581
  return import("../chunks/waiting-icon-lpQJA4wB.js");
582
582
  })),
583
- Error: De(() => S(null, null, function* () {
583
+ Error: De(() => T(null, null, function* () {
584
584
  return import("../chunks/error-icon-BJWk5B-s.js");
585
585
  })),
586
- Passport: De(() => S(null, null, function* () {
586
+ Passport: De(() => T(null, null, function* () {
587
587
  return import("../chunks/passport-main-DNL65kJJ.js");
588
588
  })),
589
- Registration: De(() => S(null, null, function* () {
589
+ Registration: De(() => T(null, null, function* () {
590
590
  return import("../chunks/passport-registration-BGywpRar.js");
591
591
  })),
592
- Selfie: De(() => S(null, null, function* () {
592
+ Selfie: De(() => T(null, null, function* () {
593
593
  return import("../chunks/passport-selfie-Dsqd0uOf.js");
594
594
  })),
595
- Accept: De(() => S(null, null, function* () {
595
+ Accept: De(() => T(null, null, function* () {
596
596
  return import("../chunks/accept-icon-X_bMUe5T.js");
597
597
  }))
598
598
  };
@@ -732,6 +732,10 @@ const Xr = me(
732
732
  true: "opacity-64 cursor-not-allowed",
733
733
  false: ""
734
734
  },
735
+ isLoadingAndDisabled: {
736
+ true: "",
737
+ false: ""
738
+ },
735
739
  iconPosition: {
736
740
  start: "",
737
741
  end: ""
@@ -889,9 +893,9 @@ const Xr = me(
889
893
  children: c,
890
894
  iconProps: f,
891
895
  isLoading: d = !1,
892
- forceState: u,
896
+ disabled: u = !1,
897
+ forceState: b,
893
898
  "data-testid": x,
894
- disabled: b = !1,
895
899
  onClick: m
896
900
  } = C, y = L(C, [
897
901
  "className",
@@ -905,26 +909,26 @@ const Xr = me(
905
909
  "children",
906
910
  "iconProps",
907
911
  "isLoading",
912
+ "disabled",
908
913
  "forceState",
909
914
  "data-testid",
910
- "disabled",
911
915
  "onClick"
912
916
  ]);
913
- var k;
914
- const N = a ? Qt : "button", T = () => t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", E = () => /* @__PURE__ */ n(
917
+ var z;
918
+ const N = a ? Qt : "button", S = !!u, E = d && S, M = () => S ? "text-muted-foreground" : t === "primary" || t === "sber" || t === "telegram" ? "text-white" : t === "link" ? "text-primary" : "text-default", R = () => /* @__PURE__ */ n(
915
919
  Ve,
916
920
  {
917
921
  size: 16,
918
922
  className: p(
919
923
  "absolute left-[50%] -translate-x-1/2",
920
- T()
924
+ M()
921
925
  )
922
926
  }
923
- ), M = () => l ? d ? E() : /* @__PURE__ */ n(V, w({ icon: l }, f)) : null, R = /* @__PURE__ */ I(pe, { children: [
924
- s === "start" && M(),
927
+ ), k = () => l ? d ? R() : /* @__PURE__ */ n(V, w({ icon: l }, f)) : null, D = /* @__PURE__ */ I(pe, { children: [
928
+ s === "start" && k(),
925
929
  d ? /* @__PURE__ */ n("div", { className: "invisible", children: c }) : c,
926
- d && !l && E(),
927
- s === "end" && M()
930
+ d && !l && R(),
931
+ s === "end" && k()
928
932
  ] });
929
933
  return /* @__PURE__ */ n(
930
934
  N,
@@ -937,19 +941,21 @@ const Xr = me(
937
941
  iconOnly: o,
938
942
  isActive: i,
939
943
  isLoading: d,
944
+ isLoadingAndDisabled: E,
940
945
  iconPosition: s
941
946
  }),
942
- u && ((k = ga[t]) == null ? void 0 : k[u]),
947
+ b && ((z = ga[t]) == null ? void 0 : z[b]),
943
948
  e
944
949
  ),
945
- disabled: d || b,
946
- "aria-disabled": d || b,
950
+ disabled: d || S,
951
+ "aria-disabled": d || S,
947
952
  ref: g,
948
- onClick: (D) => {
949
- d || b || m == null || m(D);
953
+ "data-state": E ? "disabled-loading" : void 0,
954
+ onClick: (_) => {
955
+ d || S || m == null || m(_);
950
956
  },
951
957
  "data-testid": x,
952
- children: o ? M() : R
958
+ children: o ? k() : D
953
959
  })
954
960
  );
955
961
  }
@@ -1006,30 +1012,30 @@ const Rr = me("", {
1006
1012
  "as",
1007
1013
  "copyable"
1008
1014
  ]);
1009
- const [d, u] = ee(!1), x = q(() => i ? typeof i == "boolean" ? {} : i : null, [i]), b = $(
1010
- (g) => S(null, null, function* () {
1011
- var C, N, T, E, M;
1012
- if (!x)
1015
+ const [d, u] = ee(!1), b = q(() => i ? typeof i == "boolean" ? {} : i : null, [i]), x = $(
1016
+ (g) => T(null, null, function* () {
1017
+ var C, N, S, E, M;
1018
+ if (!b)
1013
1019
  return;
1014
1020
  g.preventDefault(), g.stopPropagation(), g.nativeEvent.stopImmediatePropagation();
1015
- const h = (T = (N = x.text) != null ? N : (C = g.currentTarget.textContent) == null ? void 0 : C.trim()) != null ? T : "";
1021
+ const h = (S = (N = b.text) != null ? N : (C = g.currentTarget.textContent) == null ? void 0 : C.trim()) != null ? S : "";
1016
1022
  try {
1017
- yield navigator.clipboard.writeText(h), (E = x.onCopy) == null || E.call(x), u(!0), setTimeout(() => u(!1), (M = x.duration) != null ? M : 1500);
1023
+ yield navigator.clipboard.writeText(h), (E = b.onCopy) == null || E.call(b), u(!0), setTimeout(() => u(!1), (M = b.duration) != null ? M : 1500);
1018
1024
  } catch (R) {
1019
1025
  }
1020
1026
  }),
1021
- [x]
1027
+ [b]
1022
1028
  );
1023
1029
  let m = a;
1024
1030
  t && ["h0", "h1", "h2", "h3", "h4", "h5"].includes(t) && !a && (m = "bold");
1025
1031
  const y = o;
1026
- return x ? /* @__PURE__ */ I(
1032
+ return b ? /* @__PURE__ */ I(
1027
1033
  y,
1028
1034
  F(w({
1029
1035
  ref: l,
1030
1036
  role: "button",
1031
1037
  tabIndex: 0,
1032
- onClick: b,
1038
+ onClick: x,
1033
1039
  className: p(
1034
1040
  "group hover:text-default inline-flex cursor-pointer items-center select-text",
1035
1041
  Rr({
@@ -1082,11 +1088,11 @@ const qr = Et({}), ba = 384, en = v.forwardRef(
1082
1088
  "onOpenChange",
1083
1089
  "defaultOpen"
1084
1090
  ]);
1085
- const d = a !== void 0, [u, x] = v.useState(
1091
+ const d = a !== void 0, [u, b] = v.useState(
1086
1092
  i != null ? i : !1
1087
- ), b = d ? a : u, m = v.useCallback(
1093
+ ), x = d ? a : u, m = v.useCallback(
1088
1094
  (C) => {
1089
- d || x(C), o == null || o(C);
1095
+ d || b(C), o == null || o(C);
1090
1096
  },
1091
1097
  [d, o]
1092
1098
  ), y = v.useCallback(() => {
@@ -1104,7 +1110,7 @@ const qr = Et({}), ba = 384, en = v.forwardRef(
1104
1110
  }),
1105
1111
  [e, y, t, g]
1106
1112
  );
1107
- return /* @__PURE__ */ n(qr.Provider, { value: h, children: /* @__PURE__ */ n(he.Root, w({ open: b, onOpenChange: m }, s)) });
1113
+ return /* @__PURE__ */ n(qr.Provider, { value: h, children: /* @__PURE__ */ n(he.Root, w({ open: x, onOpenChange: m }, s)) });
1108
1114
  }
1109
1115
  ), tn = v.forwardRef((o, a) => {
1110
1116
  var i = o, { className: e, asChild: t = !1 } = i, r = L(i, ["className", "asChild"]);
@@ -1181,8 +1187,8 @@ const nn = v.forwardRef(
1181
1187
  "onClick",
1182
1188
  "value"
1183
1189
  ]);
1184
- const { onClose: u, onValueChange: x } = Rt(qr), b = a ? {} : l, m = (g) => {
1185
- r || (i == null || i(g), s !== void 0 && (x == null || x(s)), u == null || u());
1190
+ const { onClose: u, onValueChange: b } = Rt(qr), x = a ? {} : l, m = (g) => {
1191
+ r || (i == null || i(g), s !== void 0 && (b == null || b(s)), u == null || u());
1186
1192
  }, y = /* @__PURE__ */ n(
1187
1193
  "div",
1188
1194
  F(w({
@@ -1196,7 +1202,7 @@ const nn = v.forwardRef(
1196
1202
  ),
1197
1203
  onClick: m,
1198
1204
  role: "menuitem"
1199
- }, b), {
1205
+ }, x), {
1200
1206
  children: t
1201
1207
  })
1202
1208
  );
@@ -1324,8 +1330,8 @@ const Na = {
1324
1330
  iconName: "InfoFillIcon"
1325
1331
  }
1326
1332
  }, Ia = v.forwardRef(
1327
- (x, u) => {
1328
- var b = x, {
1333
+ (b, u) => {
1334
+ var x = b, {
1329
1335
  variant: e,
1330
1336
  title: t,
1331
1337
  description: r,
@@ -1336,7 +1342,7 @@ const Na = {
1336
1342
  onClose: l,
1337
1343
  className: c,
1338
1344
  "data-testid": f
1339
- } = b, d = L(b, [
1345
+ } = x, d = L(x, [
1340
1346
  "variant",
1341
1347
  "title",
1342
1348
  "description",
@@ -1540,15 +1546,15 @@ const Fe = v.forwardRef(
1540
1546
  fullWidthContainer: f = !0,
1541
1547
  fullWidth: d = !0,
1542
1548
  disabled: u = !1,
1543
- containerClassName: x,
1544
- inlineSelect: b,
1549
+ containerClassName: b,
1550
+ inlineSelect: x,
1545
1551
  prefixContainer: m,
1546
1552
  autoFocus: y,
1547
1553
  suffix: g,
1548
1554
  showErrorMessage: h = !0,
1549
1555
  onClear: C,
1550
1556
  value: N,
1551
- "data-testid": T
1557
+ "data-testid": S
1552
1558
  } = k, E = L(k, [
1553
1559
  "className",
1554
1560
  "type",
@@ -1600,7 +1606,7 @@ const Fe = v.forwardRef(
1600
1606
  "h-10 rounded-xl": r === "lg",
1601
1607
  "bg-muted cursor-not-allowed": u
1602
1608
  },
1603
- x
1609
+ b
1604
1610
  ),
1605
1611
  children: [
1606
1612
  m && /* @__PURE__ */ n("div", { className: "flex items-center pl-1", children: m }),
@@ -1646,18 +1652,18 @@ const Fe = v.forwardRef(
1646
1652
  value: N,
1647
1653
  disabled: u,
1648
1654
  autoFocus: y,
1649
- "data-testid": T
1655
+ "data-testid": S
1650
1656
  }, E)
1651
1657
  ),
1652
- (b || a || l || i || g || z) && /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5 pr-2", children: [
1658
+ (x || a || l || i || g || z) && /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5 pr-2", children: [
1653
1659
  g && /* @__PURE__ */ n("div", { className: "font-graphik flex items-center text-[16px]", children: g }),
1654
- b && /* @__PURE__ */ n(
1660
+ x && /* @__PURE__ */ n(
1655
1661
  "div",
1656
1662
  {
1657
1663
  className: p(
1658
1664
  "relative inline-block max-w-[110px] overflow-hidden"
1659
1665
  ),
1660
- children: /* @__PURE__ */ n("div", { className: "[&_*]:font-cofo [&_*]:max-w-[110px] [&_*]:overflow-hidden [&_*]:text-ellipsis [&_*]:whitespace-nowrap [&_button]:w-auto [&_button]:min-w-0 [&_button]:px-0 [&_button]:py-0 [&_div[data-radix-popper-content-wrapper]]:!w-auto [&_div[data-radix-select-content]]:!w-auto [&_div[data-radix-select-content]]:!min-w-[120px] [&_span:not([data-radix-select-icon])]:max-w-[85px] [&_svg]:text-default [&_svg]:flex-shrink-0", children: b })
1666
+ children: /* @__PURE__ */ n("div", { className: "[&_*]:font-cofo [&_*]:max-w-[110px] [&_*]:overflow-hidden [&_*]:text-ellipsis [&_*]:whitespace-nowrap [&_button]:w-auto [&_button]:min-w-0 [&_button]:px-0 [&_button]:py-0 [&_div[data-radix-popper-content-wrapper]]:!w-auto [&_div[data-radix-select-content]]:!w-auto [&_div[data-radix-select-content]]:!min-w-[120px] [&_span:not([data-radix-select-icon])]:max-w-[85px] [&_svg]:text-default [&_svg]:flex-shrink-0", children: x })
1661
1667
  }
1662
1668
  ),
1663
1669
  a && !l && c === "right" && /* @__PURE__ */ n(
@@ -1729,8 +1735,8 @@ const Ta = v.forwardRef(
1729
1735
  if (o.current) {
1730
1736
  const d = o.current.value.length;
1731
1737
  requestAnimationFrame(() => {
1732
- var u, x;
1733
- (u = o.current) == null || u.focus(), (x = o.current) == null || x.setSelectionRange(d, d);
1738
+ var u, b;
1739
+ (u = o.current) == null || u.focus(), (b = o.current) == null || b.setSelectionRange(d, d);
1734
1740
  });
1735
1741
  }
1736
1742
  }, []);
@@ -1887,10 +1893,10 @@ function vl({
1887
1893
  caption: f,
1888
1894
  error: d,
1889
1895
  renderOption: u,
1890
- size: x = "md"
1896
+ size: b = "md"
1891
1897
  }) {
1892
1898
  var R;
1893
- const [b, m] = v.useState(!1), [y, g] = v.useState(
1899
+ const [x, m] = v.useState(!1), [y, g] = v.useState(
1894
1900
  t && ((R = e.find((k) => k.value === t)) == null ? void 0 : R.label) || ""
1895
1901
  ), h = v.useRef(null), C = v.useMemo(() => e.filter(
1896
1902
  (k) => k.label.toLowerCase().includes(y.toLowerCase())
@@ -1907,23 +1913,23 @@ function vl({
1907
1913
  D && (r(D.value, D), g(D.label)), m(!1);
1908
1914
  },
1909
1915
  [e, r]
1910
- ), T = v.useCallback(
1916
+ ), S = v.useCallback(
1911
1917
  (k) => {
1912
1918
  g(k.target.value), o == null || o(k.target.value), m(!0);
1913
1919
  },
1914
1920
  []
1915
1921
  ), E = v.useCallback(() => {
1916
- b ? m(!1) : (m(!0), setTimeout(() => {
1922
+ x ? m(!1) : (m(!0), setTimeout(() => {
1917
1923
  var k;
1918
1924
  (k = h.current) == null || k.focus();
1919
1925
  }, 0));
1920
- }, [b]), M = v.useCallback((k) => {
1926
+ }, [x]), M = v.useCallback((k) => {
1921
1927
  m(k), k && setTimeout(() => {
1922
1928
  var D;
1923
1929
  (D = h.current) == null || D.focus();
1924
1930
  }, 0);
1925
1931
  }, []);
1926
- return /* @__PURE__ */ n($e, { open: b, onOpenChange: M, children: /* @__PURE__ */ I("div", { className: "relative", children: [
1932
+ return /* @__PURE__ */ n($e, { open: x, onOpenChange: M, children: /* @__PURE__ */ I("div", { className: "relative", children: [
1927
1933
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ I("div", { className: "w-full", children: [
1928
1934
  c && /* @__PURE__ */ n(
1929
1935
  O,
@@ -1931,8 +1937,8 @@ function vl({
1931
1937
  variant: "p3",
1932
1938
  weight: "medium",
1933
1939
  className: p("mb-1", {
1934
- "text-[14px]": x === "md",
1935
- "text-[16px]": x === "lg"
1940
+ "text-[14px]": b === "md",
1941
+ "text-[16px]": b === "lg"
1936
1942
  }),
1937
1943
  children: c
1938
1944
  }
@@ -1943,11 +1949,11 @@ function vl({
1943
1949
  ref: h,
1944
1950
  placeholder: a,
1945
1951
  value: y,
1946
- onChange: T,
1952
+ onChange: S,
1947
1953
  onClick: E,
1948
1954
  className: p("w-full", s),
1949
1955
  disabled: l,
1950
- size: x
1956
+ size: b
1951
1957
  }
1952
1958
  ),
1953
1959
  f && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1", textColor: "secondary", children: f }),
@@ -2009,7 +2015,7 @@ const Ra = {
2009
2015
  default: 10,
2010
2016
  large: 12,
2011
2017
  extra: 16
2012
- }[r], x = {
2018
+ }[r], b = {
2013
2019
  small: "-top-2 -right-0.5",
2014
2020
  default: "-top-1.5 -right-0.5",
2015
2021
  large: "-top-1.5 -right-0.5",
@@ -2033,7 +2039,7 @@ const Ra = {
2033
2039
  "span",
2034
2040
  {
2035
2041
  "aria-hidden": "true",
2036
- className: p("pointer-events-none select-none absolute", x),
2042
+ className: p("pointer-events-none select-none absolute", b),
2037
2043
  children: /* @__PURE__ */ n(V, { icon: "ErrorFillIcon", className: "text-destructive", size: u })
2038
2044
  }
2039
2045
  )
@@ -2063,17 +2069,17 @@ const Ba = Ce.forwardRef((c, l) => {
2063
2069
  return r;
2064
2070
  if (o)
2065
2071
  return fa(a);
2066
- }, [o, r, a]), x = u ? Fa[u] : "bg-muted", b = u ? La[u] : "text-foreground";
2072
+ }, [o, r, a]), b = u ? Fa[u] : "bg-muted", x = u ? La[u] : "text-foreground";
2067
2073
  return /* @__PURE__ */ n(
2068
2074
  Ue.Fallback,
2069
2075
  F(w({
2070
2076
  ref: l,
2071
2077
  className: p(
2072
2078
  "flex h-full w-full items-center justify-center rounded-[inherit]",
2073
- x,
2079
+ b,
2074
2080
  // Text: шрифт Моно (CoFo), цвет в тон фону/контраст
2075
2081
  "font-cofo font-normal",
2076
- b,
2082
+ x,
2077
2083
  d,
2078
2084
  e
2079
2085
  )
@@ -2084,8 +2090,8 @@ const Ba = Ce.forwardRef((c, l) => {
2084
2090
  });
2085
2091
  Ba.displayName = Ue.Fallback.displayName;
2086
2092
  const Oa = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, _a = new URL("../assets/doc-CA2MQk3m.webp", import.meta.url).href, Ga = new URL("../assets/download-D4NtsTXF.webp", import.meta.url).href, Wa = new URL("../assets/headphones-b1FlU-5n.webp", import.meta.url).href, Va = new URL("../assets/magnifying-glass-DnHnztsH.webp", import.meta.url).href, ja = new URL("../assets/mandarin-O1JQvcin.png", import.meta.url).href, Ha = new URL("../assets/person-Dnyaeaax.webp", import.meta.url).href, Ka = new URL("../assets/plus-XlrU9iHE.webp", import.meta.url).href, Ua = new URL("../assets/pocket-DumMTe-y.webp", import.meta.url).href, $a = new URL("../assets/tbank-DHDEULnP.png", import.meta.url).href, Ya = new URL("../assets/torn-paper-Bxt8F9jg.webp", import.meta.url).href, Ke = v.forwardRef(
2087
- (x, u) => {
2088
- var b = x, {
2093
+ (b, u) => {
2094
+ var x = b, {
2089
2095
  className: e,
2090
2096
  bordered: t = !1,
2091
2097
  radius: r = "md",
@@ -2096,7 +2102,7 @@ const Oa = new URL("../assets/alfa-BqdpLXjE.png", import.meta.url).href, _a = ne
2096
2102
  justify: l = "start",
2097
2103
  align: c = "start",
2098
2104
  children: f
2099
- } = b, d = L(b, [
2105
+ } = x, d = L(x, [
2100
2106
  "className",
2101
2107
  "bordered",
2102
2108
  "radius",
@@ -2359,8 +2365,8 @@ function ro({
2359
2365
  selectedDate: s,
2360
2366
  days: f,
2361
2367
  setSelectedDate: (u) => {
2362
- const x = ot(u);
2363
- l(x), a == null || a(x);
2368
+ const b = ot(u);
2369
+ l(b), a == null || a(b);
2364
2370
  }
2365
2371
  };
2366
2372
  }
@@ -2384,20 +2390,20 @@ const Il = (f) => {
2384
2390
  "onScrollComplete",
2385
2391
  "testIds"
2386
2392
  ]);
2387
- const { days: u, selectedDate: x, setSelectedDate: b } = ro(F(w({}, c), {
2393
+ const { days: u, selectedDate: b, setSelectedDate: x } = ro(F(w({}, c), {
2388
2394
  onChange: e
2389
2395
  })), m = fe(null), y = $((N) => {
2390
- const T = m.current;
2391
- if (T) {
2396
+ const S = m.current;
2397
+ if (S) {
2392
2398
  const E = Xa * ze;
2393
- T.scrollBy({ left: N > 0 ? E : -546, behavior: "smooth" });
2399
+ S.scrollBy({ left: N > 0 ? E : -546, behavior: "smooth" });
2394
2400
  }
2395
- }, []), g = (N) => N.getTime() === x.getTime(), h = $((N, T = !1) => {
2401
+ }, []), g = (N) => N.getTime() === b.getTime(), h = $((N, S = !1) => {
2396
2402
  if (m.current && u.length > 0) {
2397
2403
  const E = u.findIndex((M) => M.getTime() === Re(N).getTime());
2398
2404
  if (E !== -1) {
2399
2405
  const M = m.current.offsetWidth, k = window.innerWidth < ln ? E * ze : E * ze - M / 2 + ze / 2;
2400
- T ? m.current.scrollTo({ left: Math.max(0, k), behavior: "smooth" }) : m.current.scrollLeft = Math.max(0, k);
2406
+ S ? m.current.scrollTo({ left: Math.max(0, k), behavior: "smooth" }) : m.current.scrollLeft = Math.max(0, k);
2401
2407
  }
2402
2408
  }
2403
2409
  }, [u]);
@@ -2409,7 +2415,7 @@ const Il = (f) => {
2409
2415
  }, []), de(() => {
2410
2416
  if (i && u.length > 0 && m.current) {
2411
2417
  const N = setTimeout(() => {
2412
- var T;
2418
+ var S;
2413
2419
  if (i.mode === "date")
2414
2420
  h(i.date, !0);
2415
2421
  else {
@@ -2420,7 +2426,7 @@ const Il = (f) => {
2420
2426
  )), M = u.findIndex((R) => R.getTime() === E.getTime());
2421
2427
  if (M !== -1) {
2422
2428
  const R = M * ze;
2423
- (T = m.current) == null || T.scrollTo({ left: Math.max(0, R), behavior: "smooth" });
2429
+ (S = m.current) == null || S.scrollTo({ left: Math.max(0, R), behavior: "smooth" });
2424
2430
  }
2425
2431
  }
2426
2432
  setTimeout(() => {
@@ -2433,11 +2439,11 @@ const Il = (f) => {
2433
2439
  const C = fe([]);
2434
2440
  return de(() => {
2435
2441
  if (m.current && u.length > 0 && C.current.length > 0) {
2436
- const T = C.current[0], E = u[0], M = u.findIndex((R) => R.getTime() === T.getTime());
2442
+ const S = C.current[0], E = u[0], M = u.findIndex((R) => R.getTime() === S.getTime());
2437
2443
  if (M > 0)
2438
2444
  m.current.scrollLeft += M * ze;
2439
2445
  else if (M === -1) {
2440
- const R = T.getTime(), k = E.getTime();
2446
+ const R = S.getTime(), k = E.getTime();
2441
2447
  if (k < R) {
2442
2448
  const D = Math.round((R - k) / 864e5);
2443
2449
  m.current.scrollLeft += D * ze;
@@ -2474,7 +2480,7 @@ const Il = (f) => {
2474
2480
  {
2475
2481
  date: N,
2476
2482
  selected: g(N),
2477
- onClick: () => b(N),
2483
+ onClick: () => x(N),
2478
2484
  renderBadge: r,
2479
2485
  className: t
2480
2486
  },
@@ -2556,8 +2562,8 @@ const or = v.forwardRef((s, i) => {
2556
2562
  });
2557
2563
  or.displayName = "SelectItem";
2558
2564
  const ir = v.forwardRef(
2559
- (T, N) => {
2560
- var E = T, {
2565
+ (S, N) => {
2566
+ var E = S, {
2561
2567
  className: e,
2562
2568
  children: t,
2563
2569
  size: r = "md",
@@ -2570,8 +2576,8 @@ const ir = v.forwardRef(
2570
2576
  multiple: f,
2571
2577
  selectedValues: d,
2572
2578
  onValueRemove: u,
2573
- disabled: x,
2574
- "data-testid": b,
2579
+ disabled: b,
2580
+ "data-testid": x,
2575
2581
  showErrorMessage: m = !0,
2576
2582
  clearable: y = !1,
2577
2583
  onClear: g,
@@ -2604,7 +2610,7 @@ const ir = v.forwardRef(
2604
2610
  const j = R.current;
2605
2611
  if (!j)
2606
2612
  return;
2607
- const P = j.offsetWidth, W = c ? 60 : 0, _ = 20, J = o ? 20 : 0, H = P - W - _ - J - 16 - 30;
2613
+ const P = j.offsetWidth, W = c ? 60 : 0, G = 20, J = o ? 20 : 0, H = P - W - G - J - 16 - 30;
2608
2614
  let re = 0, ne = 0;
2609
2615
  const be = 12, oe = 20, Te = 4, K = 7;
2610
2616
  for (let Y = 0; Y < d.length; Y++) {
@@ -2617,9 +2623,9 @@ const ir = v.forwardRef(
2617
2623
  D(Math.max(1, re));
2618
2624
  };
2619
2625
  z();
2620
- const G = new ResizeObserver(z);
2621
- return G.observe(R.current), () => {
2622
- G.disconnect();
2626
+ const _ = new ResizeObserver(z);
2627
+ return _.observe(R.current), () => {
2628
+ _.disconnect();
2623
2629
  };
2624
2630
  }, [d, c, o, M]), /* @__PURE__ */ I("div", { className: "w-full", children: [
2625
2631
  a && /* @__PURE__ */ n(
@@ -2670,7 +2676,7 @@ const ir = v.forwardRef(
2670
2676
  e
2671
2677
  )
2672
2678
  }, C), {
2673
- "data-testid": b,
2679
+ "data-testid": x,
2674
2680
  children: [
2675
2681
  /* @__PURE__ */ n(
2676
2682
  "div",
@@ -2687,18 +2693,18 @@ const ir = v.forwardRef(
2687
2693
  /* @__PURE__ */ n(
2688
2694
  "div",
2689
2695
  {
2690
- onPointerDown: (G) => {
2691
- x || (G.preventDefault(), G.stopPropagation());
2696
+ onPointerDown: (_) => {
2697
+ b || (_.preventDefault(), _.stopPropagation());
2692
2698
  },
2693
- onClick: (G) => {
2694
- x || (G.preventDefault(), G.stopPropagation(), u == null || u(z));
2699
+ onClick: (_) => {
2700
+ b || (_.preventDefault(), _.stopPropagation(), u == null || u(z));
2695
2701
  },
2696
- onMouseDown: (G) => {
2697
- x || (G.preventDefault(), G.stopPropagation());
2702
+ onMouseDown: (_) => {
2703
+ b || (_.preventDefault(), _.stopPropagation());
2698
2704
  },
2699
2705
  className: p(
2700
2706
  "flex cursor-pointer items-center rounded p-0.5 hover:bg-gray-200",
2701
- x && "cursor-not-allowed opacity-50"
2707
+ b && "cursor-not-allowed opacity-50"
2702
2708
  ),
2703
2709
  children: /* @__PURE__ */ n(
2704
2710
  V,
@@ -2736,20 +2742,20 @@ const ir = v.forwardRef(
2736
2742
  "div",
2737
2743
  {
2738
2744
  onPointerDown: (z) => {
2739
- x || (z.preventDefault(), z.stopPropagation());
2745
+ b || (z.preventDefault(), z.stopPropagation());
2740
2746
  },
2741
2747
  onClick: (z) => {
2742
- x || (z.preventDefault(), z.stopPropagation(), g == null || g());
2748
+ b || (z.preventDefault(), z.stopPropagation(), g == null || g());
2743
2749
  },
2744
2750
  onMouseDown: (z) => {
2745
- x || (z.preventDefault(), z.stopPropagation());
2751
+ b || (z.preventDefault(), z.stopPropagation());
2746
2752
  },
2747
2753
  onKeyDown: (z) => {
2748
- x || (z.key === "Enter" || z.key === " ") && (z.preventDefault(), z.stopPropagation(), g == null || g());
2754
+ b || (z.key === "Enter" || z.key === " ") && (z.preventDefault(), z.stopPropagation(), g == null || g());
2749
2755
  },
2750
2756
  className: p(
2751
2757
  "flex cursor-pointer items-center justify-center rounded-full p-[2px] hover:bg-muted transition-colors focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-1",
2752
- x && "cursor-not-allowed opacity-50"
2758
+ b && "cursor-not-allowed opacity-50"
2753
2759
  ),
2754
2760
  role: "button",
2755
2761
  tabIndex: 0,
@@ -2848,9 +2854,9 @@ const Cl = ge.Group, no = v.forwardRef((i, o) => {
2848
2854
  if (!v.isValidElement(d))
2849
2855
  return d;
2850
2856
  if (((u = d.type) == null ? void 0 : u.displayName) === "SelectItem") {
2851
- const x = o ? r.includes(d.props.value) : a === d.props.value;
2857
+ const b = o ? r.includes(d.props.value) : a === d.props.value;
2852
2858
  return v.cloneElement(d, {
2853
- selected: x,
2859
+ selected: b,
2854
2860
  size: i || "md"
2855
2861
  });
2856
2862
  }
@@ -2909,10 +2915,10 @@ const io = ge.Root, so = v.forwardRef(
2909
2915
  "dir",
2910
2916
  "size"
2911
2917
  ]);
2912
- const x = (m) => {
2918
+ const b = (m) => {
2913
2919
  const y = t.includes(m) ? t.filter((g) => g !== m) : [...t, m];
2914
2920
  r == null || r(y);
2915
- }, b = (m) => {
2921
+ }, x = (m) => {
2916
2922
  if (a)
2917
2923
  return;
2918
2924
  const y = t.filter((g) => g !== m);
@@ -2925,7 +2931,7 @@ const io = ge.Root, so = v.forwardRef(
2925
2931
  key: t.sort().join("|"),
2926
2932
  value: void 0,
2927
2933
  defaultValue: void 0,
2928
- onValueChange: x,
2934
+ onValueChange: b,
2929
2935
  open: o,
2930
2936
  onOpenChange: i
2931
2937
  }),
@@ -2934,7 +2940,7 @@ const io = ge.Root, so = v.forwardRef(
2934
2940
  return v.isValidElement(m) ? ((y = m.type) == null ? void 0 : y.displayName) === "SelectTrigger" ? v.cloneElement(m, F(w({}, m.props), {
2935
2941
  multiple: !0,
2936
2942
  selectedValues: t,
2937
- onValueRemove: b,
2943
+ onValueRemove: x,
2938
2944
  disabled: a,
2939
2945
  size: l
2940
2946
  })) : ((g = m.type) == null ? void 0 : g.displayName) === "SelectContent" ? v.cloneElement(m, F(w({}, m.props), {
@@ -2966,20 +2972,20 @@ const kl = ({
2966
2972
  de(() => {
2967
2973
  e && f(e);
2968
2974
  }, [e]);
2969
- const x = q(() => {
2975
+ const b = q(() => {
2970
2976
  const g = [];
2971
2977
  for (let h = -12; h <= 12; h++) {
2972
2978
  const C = Xt(new Date(s.getFullYear(), s.getMonth(), 1), h);
2973
2979
  g.push({ value: Ar(C), label: Ut(C), date: C });
2974
2980
  }
2975
2981
  return g;
2976
- }, []), b = q(() => {
2982
+ }, []), x = q(() => {
2977
2983
  if (d)
2978
2984
  return d;
2979
2985
  const g = new Date(c.getFullYear(), c.getMonth(), 1);
2980
2986
  return Ar(g);
2981
2987
  }, [c, d]), m = (g) => {
2982
- const h = x.find((N) => N.value === g);
2988
+ const h = b.find((N) => N.value === g);
2983
2989
  if (!h)
2984
2990
  return;
2985
2991
  u(g);
@@ -2992,7 +2998,7 @@ const kl = ({
2992
2998
  }
2993
2999
  return Ut(c);
2994
3000
  }, [a, c]);
2995
- return /* @__PURE__ */ I(io, { value: b, onValueChange: m, children: [
3001
+ return /* @__PURE__ */ I(io, { value: x, onValueChange: m, children: [
2996
3002
  /* @__PURE__ */ n(
2997
3003
  ir,
2998
3004
  {
@@ -3004,7 +3010,7 @@ const kl = ({
3004
3010
  children: /* @__PURE__ */ n(no, { children: /* @__PURE__ */ n(O, { variant: "h1", weight: "normal", children: y }) })
3005
3011
  }
3006
3012
  ),
3007
- /* @__PURE__ */ n(sr, { size: "lg", children: x.map((g) => /* @__PURE__ */ n(or, { value: g.value, children: g.label }, g.value)) })
3013
+ /* @__PURE__ */ n(sr, { size: "lg", children: b.map((g) => /* @__PURE__ */ n(or, { value: g.value, children: g.label }, g.value)) })
3008
3014
  ] });
3009
3015
  };
3010
3016
  function Sl({
@@ -3024,12 +3030,12 @@ function Sl({
3024
3030
  i(y);
3025
3031
  const g = It(y);
3026
3032
  JSON.stringify(s) !== JSON.stringify(g) && l(g), r == null || r(y);
3027
- }, [r, s]), x = $((y) => {
3033
+ }, [r, s]), b = $((y) => {
3028
3034
  if (l(y), y.length > 0) {
3029
3035
  const g = Math.floor(y.length / 2), h = y[g], C = new Date(h.year, h.month, 1);
3030
3036
  f({ date: C, timestamp: Date.now(), mode: "monthStart" });
3031
3037
  }
3032
- }, []), b = $(() => {
3038
+ }, []), x = $(() => {
3033
3039
  f(void 0);
3034
3040
  }, []), m = $(() => {
3035
3041
  const y = /* @__PURE__ */ new Date();
@@ -3041,9 +3047,9 @@ function Sl({
3041
3047
  selectedDate: o,
3042
3048
  months: s,
3043
3049
  handleDateChange: u,
3044
- handleMonthsChange: x,
3050
+ handleMonthsChange: b,
3045
3051
  scrollTrigger: c,
3046
- clearScrollTrigger: b,
3052
+ clearScrollTrigger: x,
3047
3053
  resetToToday: m
3048
3054
  };
3049
3055
  }
@@ -3080,7 +3086,7 @@ const lo = window.innerWidth < ln, co = {
3080
3086
  "onClose",
3081
3087
  "color"
3082
3088
  ]);
3083
- const x = i ? co[i] : void 0;
3089
+ const b = i ? co[i] : void 0;
3084
3090
  return t === "inline" ? /* @__PURE__ */ n(
3085
3091
  Ke,
3086
3092
  F(w({
@@ -3097,12 +3103,12 @@ const lo = window.innerWidth < ln, co = {
3097
3103
  )
3098
3104
  }, c), {
3099
3105
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-start gap-3 md:justify-between", children: [
3100
- x && /* @__PURE__ */ I("div", { className: "flex-shrink-0", children: [
3106
+ b && /* @__PURE__ */ I("div", { className: "flex-shrink-0", children: [
3101
3107
  /* @__PURE__ */ n(
3102
3108
  "img",
3103
3109
  {
3104
3110
  className: "hidden md:block",
3105
- src: x,
3111
+ src: b,
3106
3112
  alt: "location-banner",
3107
3113
  height: 80
3108
3114
  }
@@ -3111,7 +3117,7 @@ const lo = window.innerWidth < ln, co = {
3111
3117
  "img",
3112
3118
  {
3113
3119
  className: "block md:hidden",
3114
- src: x,
3120
+ src: b,
3115
3121
  alt: "location-banner",
3116
3122
  height: 40
3117
3123
  }
@@ -3168,7 +3174,7 @@ const lo = window.innerWidth < ln, co = {
3168
3174
  ] }),
3169
3175
  o && /* @__PURE__ */ n("div", { className: "z-11", children: o })
3170
3176
  ] }),
3171
- x && /* @__PURE__ */ I(pe, { children: [
3177
+ b && /* @__PURE__ */ I(pe, { children: [
3172
3178
  /* @__PURE__ */ n(
3173
3179
  "div",
3174
3180
  {
@@ -3185,7 +3191,7 @@ const lo = window.innerWidth < ln, co = {
3185
3191
  "img",
3186
3192
  {
3187
3193
  className: "absolute top-1/2 -translate-y-1/2 right-30 z-10 hidden md:block",
3188
- src: x,
3194
+ src: b,
3189
3195
  alt: "location-banner",
3190
3196
  height: 180
3191
3197
  }
@@ -3194,7 +3200,7 @@ const lo = window.innerWidth < ln, co = {
3194
3200
  "img",
3195
3201
  {
3196
3202
  className: "absolute right-[-10px] bottom-[-50px] z-10 md:hidden",
3197
- src: x,
3203
+ src: b,
3198
3204
  alt: "location-banner",
3199
3205
  height: 180
3200
3206
  }
@@ -3292,20 +3298,20 @@ function po(e) {
3292
3298
  onCheckedChange: c,
3293
3299
  ref: f,
3294
3300
  "data-testid": d
3295
- } = e, u = a === "md" ? 16 : 24, x = v.useId(), b = l || x, m = i || !1, [y, g] = v.useState(!1), h = s !== void 0, C = h ? s : y, N = () => C === !0 ? "checked" : C === "indeterminate" ? "indeterminate" : "unchecked", T = (M) => {
3301
+ } = e, u = a === "md" ? 16 : 24, b = v.useId(), x = l || b, m = i || !1, [y, g] = v.useState(!1), h = s !== void 0, C = h ? s : y, N = () => C === !0 ? "checked" : C === "indeterminate" ? "indeterminate" : "unchecked", S = (M) => {
3296
3302
  h && c ? c(M) : h || g(M);
3297
3303
  }, E = /* @__PURE__ */ n(
3298
3304
  Mr.Root,
3299
3305
  {
3300
3306
  ref: f,
3301
- id: b,
3307
+ id: x,
3302
3308
  className: p(
3303
3309
  fo({ size: a, state: N(), isDisabled: m }),
3304
3310
  r || (o ? void 0 : t)
3305
3311
  ),
3306
3312
  disabled: m,
3307
3313
  checked: C,
3308
- onCheckedChange: T,
3314
+ onCheckedChange: S,
3309
3315
  "data-testid": d,
3310
3316
  children: /* @__PURE__ */ I(Mr.Indicator, { className: "flex h-full w-full items-center justify-center", children: [
3311
3317
  C === "indeterminate" && /* @__PURE__ */ n("div", { className: mo({ size: a }) }),
@@ -3318,7 +3324,7 @@ function po(e) {
3318
3324
  /* @__PURE__ */ n(
3319
3325
  "label",
3320
3326
  {
3321
- htmlFor: b,
3327
+ htmlFor: x,
3322
3328
  className: p(
3323
3329
  "font-graphik m-0 cursor-pointer text-[14px] leading-[20px] font-normal",
3324
3330
  m && "cursor-not-allowed opacity-40",
@@ -3350,8 +3356,8 @@ const er = v.forwardRef(
3350
3356
  disabled: f,
3351
3357
  iconSize: d = 16,
3352
3358
  placeholder: u = "Выберите...",
3353
- dropDownClassName: x,
3354
- notFoundText: b = "Ничего не найдено"
3359
+ dropDownClassName: b,
3360
+ notFoundText: x = "Ничего не найдено"
3355
3361
  }, m) => {
3356
3362
  var M;
3357
3363
  const [y, g] = v.useState(!1), h = v.useRef(null);
@@ -3361,15 +3367,15 @@ const er = v.forwardRef(
3361
3367
  return (R = h.current) == null ? void 0 : R.focus();
3362
3368
  });
3363
3369
  }, [y]);
3364
- const [C, N] = v.useState(""), T = v.useCallback((R) => {
3370
+ const [C, N] = v.useState(""), S = v.useCallback((R) => {
3365
3371
  if (typeof R == "string")
3366
3372
  return R;
3367
3373
  if (v.isValidElement(R)) {
3368
3374
  const k = R.props;
3369
- return typeof k.children == "string" ? k.children : Array.isArray(k.children) ? k.children.map(T).join(" ") : T(k.children);
3375
+ return typeof k.children == "string" ? k.children : Array.isArray(k.children) ? k.children.map(S).join(" ") : S(k.children);
3370
3376
  }
3371
3377
  return "";
3372
- }, []), E = v.useMemo(() => C ? e.filter((R) => T(R.label).toLowerCase().includes(C.toLowerCase())) : e, [e, C, T]);
3378
+ }, []), E = v.useMemo(() => C ? e.filter((R) => S(R.label).toLowerCase().includes(C.toLowerCase())) : e, [e, C, S]);
3373
3379
  return /* @__PURE__ */ I("div", { className: "w-full", children: [
3374
3380
  o && /* @__PURE__ */ n(O, { variant: "p3", weight: "medium", className: "mb-2.5", children: o }),
3375
3381
  /* @__PURE__ */ I(he.Root, { open: y, onOpenChange: g, modal: !0, children: [
@@ -3428,7 +3434,7 @@ const er = v.forwardRef(
3428
3434
  "max-h-80 w-[var(--radix-popover-trigger-width)] overflow-hidden",
3429
3435
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
3430
3436
  "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 no-scrollbar",
3431
- x
3437
+ b
3432
3438
  ),
3433
3439
  children: [
3434
3440
  /* @__PURE__ */ n(
@@ -3448,7 +3454,7 @@ const er = v.forwardRef(
3448
3454
  }
3449
3455
  ),
3450
3456
  /* @__PURE__ */ I("div", { className: "max-h-60 overflow-y-auto", children: [
3451
- E.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: b }),
3457
+ E.length === 0 && /* @__PURE__ */ n("div", { className: "text-muted-foreground px-3 py-2 text-sm", children: x }),
3452
3458
  /* @__PURE__ */ n("div", { className: "flex flex-col gap-0.5 p-1", children: E.map((R) => /* @__PURE__ */ n(
3453
3459
  "div",
3454
3460
  {
@@ -3537,16 +3543,16 @@ function bo({
3537
3543
  const h = (g == null ? void 0 : g.value) !== void 0 && (g == null ? void 0 : g.value) !== null ? g.value : null;
3538
3544
  r == null || r(h);
3539
3545
  }
3540
- }), { selectItem: d, setInputValue: u, getInputProps: x } = y, b = L(y, ["selectItem", "setInputValue", "getInputProps"]), m = $((g) => {
3541
- const h = x(g);
3546
+ }), { selectItem: d, setInputValue: u, getInputProps: b } = y, x = L(y, ["selectItem", "setInputValue", "getInputProps"]), m = $((g) => {
3547
+ const h = b(g);
3542
3548
  return F(w({}, h), {
3543
3549
  onBlur: (C) => {
3544
3550
  var N;
3545
3551
  (N = h.onBlur) == null || N.call(h, C), o == null || o(C);
3546
3552
  }
3547
3553
  });
3548
- }, [x, o]);
3549
- return F(w({}, b), {
3554
+ }, [b, o]);
3555
+ return F(w({}, x), {
3550
3556
  selectItem: d,
3551
3557
  getInputProps: m,
3552
3558
  setInputValue: u
@@ -3593,17 +3599,17 @@ function yo({
3593
3599
  disabled: f = !1,
3594
3600
  error: d,
3595
3601
  placeholder: u = "Поиск...",
3596
- getLabel: x,
3597
- loading: b = !1,
3602
+ getLabel: b,
3603
+ loading: x = !1,
3598
3604
  isOpen: m,
3599
3605
  onOpenChange: y,
3600
3606
  onClear: g,
3601
3607
  clearable: h
3602
3608
  }) {
3603
- const C = $(x, []), N = q(() => r ? {
3609
+ const C = $(b, []), N = q(() => r ? {
3604
3610
  value: r,
3605
3611
  label: C(r)
3606
- } : null, [r, C]), T = bo({
3612
+ } : null, [r, C]), S = bo({
3607
3613
  items: t,
3608
3614
  value: N,
3609
3615
  onChange: a,
@@ -3613,17 +3619,17 @@ function yo({
3613
3619
  getLabel: C,
3614
3620
  isOpen: m,
3615
3621
  onOpenChange: y
3616
- }), E = xo(T.isOpen, b), M = q(() => ({
3622
+ }), E = xo(S.isOpen, x), M = q(() => ({
3617
3623
  // Combobox состояние
3618
- getInputProps: T.getInputProps,
3619
- getItemProps: T.getItemProps,
3620
- getMenuProps: T.getMenuProps,
3621
- getToggleButtonProps: T.getToggleButtonProps,
3622
- isOpen: T.isOpen,
3624
+ getInputProps: S.getInputProps,
3625
+ getItemProps: S.getItemProps,
3626
+ getMenuProps: S.getMenuProps,
3627
+ getToggleButtonProps: S.getToggleButtonProps,
3628
+ isOpen: S.isOpen,
3623
3629
  onOpenChange: y,
3624
- selectedItem: T.selectedItem,
3625
- setInputValue: T.setInputValue,
3626
- selectItem: T.selectItem,
3630
+ selectedItem: S.selectedItem,
3631
+ setInputValue: S.setInputValue,
3632
+ selectItem: S.selectItem,
3627
3633
  // Floating UI состояние
3628
3634
  refs: E.refs,
3629
3635
  floatingStyles: E.floatingStyles,
@@ -3637,13 +3643,13 @@ function yo({
3637
3643
  error: d,
3638
3644
  placeholder: u,
3639
3645
  onBlur: i,
3640
- loading: b,
3646
+ loading: x,
3641
3647
  items: t,
3642
3648
  getLabel: C,
3643
3649
  onClear: g,
3644
3650
  clearable: h
3645
3651
  }), [
3646
- T,
3652
+ S,
3647
3653
  E,
3648
3654
  s,
3649
3655
  l,
@@ -3922,14 +3928,14 @@ const xn = v.forwardRef(
3922
3928
  disabled: f,
3923
3929
  error: d,
3924
3930
  isOpen: u,
3925
- refs: x
3926
- } = ft(), b = $((m) => {
3927
- typeof a == "function" ? a(m) : a && (a.current = m), x.reference.current !== m && m !== null && x.setReference(m);
3928
- }, [a, x]);
3931
+ refs: b
3932
+ } = ft(), x = $((m) => {
3933
+ typeof a == "function" ? a(m) : a && (a.current = m), b.reference.current !== m && m !== null && b.setReference(m);
3934
+ }, [a, b]);
3929
3935
  return /* @__PURE__ */ n(
3930
3936
  "div",
3931
3937
  F(w({
3932
- ref: b,
3938
+ ref: x,
3933
3939
  className: p(
3934
3940
  hn(s, l, c, f, Pt(d)),
3935
3941
  t
@@ -4091,14 +4097,14 @@ function Lo({
4091
4097
  if (!v.isValidElement(d))
4092
4098
  return d;
4093
4099
  if (Dr(d.type, "List")) {
4094
- const x = v.Children.map(d.props.children, (m, y) => {
4100
+ const b = v.Children.map(d.props.children, (m, y) => {
4095
4101
  if (!v.isValidElement(m))
4096
4102
  return m;
4097
4103
  if (Dr(m.type, "Item"))
4098
4104
  try {
4099
4105
  const g = m.props, h = Yt(g.option), C = i.get(h);
4100
4106
  if (C) {
4101
- const { item: N, index: T } = C, E = s === h;
4107
+ const { item: N, index: S } = C, E = s === h;
4102
4108
  return /* @__PURE__ */ n(
4103
4109
  lr,
4104
4110
  F(w({
@@ -4106,14 +4112,14 @@ function Lo({
4106
4112
  className: g.className
4107
4113
  }, o({
4108
4114
  item: N,
4109
- index: T
4115
+ index: S
4110
4116
  })), {
4111
4117
  children: typeof g.children == "function" ? g.children(w({
4112
4118
  isSelected: E,
4113
4119
  className: g.className
4114
4120
  }, o({
4115
4121
  item: N,
4116
- index: T
4122
+ index: S
4117
4123
  }))) : g.children
4118
4124
  }),
4119
4125
  h
@@ -4123,17 +4129,17 @@ function Lo({
4123
4129
  return null;
4124
4130
  }
4125
4131
  return m;
4126
- }), b = /* @__PURE__ */ n(
4132
+ }), x = /* @__PURE__ */ n(
4127
4133
  St,
4128
4134
  {
4129
4135
  className: p("flex max-h-60 flex-col", t == null ? void 0 : t.scrollArea),
4130
4136
  relative: !1,
4131
4137
  viewPortClassName: p("!flex flex-col", t == null ? void 0 : t.scrollAreaViewport),
4132
4138
  asChild: !0,
4133
- children: x
4139
+ children: b
4134
4140
  }
4135
4141
  );
4136
- return v.cloneElement(d, d.props, b);
4142
+ return v.cloneElement(d, d.props, x);
4137
4143
  }
4138
4144
  return d;
4139
4145
  }))(e);
@@ -4153,13 +4159,13 @@ const wn = v.forwardRef(
4153
4159
  refs: c,
4154
4160
  floatingStyles: f,
4155
4161
  transitionStyles: d
4156
- } = ft(), u = v.Children.count(e) > 0, x = $((b) => {
4157
- typeof a == "function" ? a(b) : a && (a.current = b), c.floating.current !== b && b !== null && c.setFloating(b);
4162
+ } = ft(), u = v.Children.count(e) > 0, b = $((x) => {
4163
+ typeof a == "function" ? a(x) : a && (a.current = x), c.floating.current !== x && x !== null && c.setFloating(x);
4158
4164
  }, [a, c]);
4159
4165
  return /* @__PURE__ */ n(
4160
4166
  "div",
4161
4167
  F(w(F(w({}, l({
4162
- ref: x
4168
+ ref: b
4163
4169
  })), {
4164
4170
  style: w(w({}, f), d),
4165
4171
  className: p(bn(s, u), t),
@@ -4219,15 +4225,15 @@ function Po({
4219
4225
  label: f,
4220
4226
  error: d,
4221
4227
  caption: u,
4222
- placeholder: x = "Поиск...",
4223
- disabled: b = !1,
4228
+ placeholder: b = "Поиск...",
4229
+ disabled: x = !1,
4224
4230
  "data-testid": m,
4225
4231
  getLabel: y = (M) => typeof M == "object" && M !== null && "label" in M ? M.label : "",
4226
4232
  loading: g = !1,
4227
4233
  isOpen: h,
4228
4234
  onOpenChange: C,
4229
4235
  showErrorMessage: N = !0,
4230
- clearable: T,
4236
+ clearable: S,
4231
4237
  onClear: E
4232
4238
  }) {
4233
4239
  const { items: M } = Nn(e, y), R = q(() => t, [t]);
@@ -4243,13 +4249,13 @@ function Po({
4243
4249
  size: i,
4244
4250
  fullWidth: s,
4245
4251
  transparent: l,
4246
- disabled: b,
4252
+ disabled: x,
4247
4253
  error: d,
4248
- placeholder: x,
4254
+ placeholder: b,
4249
4255
  loading: g,
4250
4256
  isOpen: h,
4251
4257
  onOpenChange: C,
4252
- clearable: T,
4258
+ clearable: S,
4253
4259
  onClear: E,
4254
4260
  children: /* @__PURE__ */ I("div", { className: "w-full", children: [
4255
4261
  f && /* @__PURE__ */ n(
@@ -4304,9 +4310,9 @@ function zo({
4304
4310
  inputValue: f,
4305
4311
  keepOpenOnSelect: d,
4306
4312
  inputValueOnSelect: u,
4307
- inputValueOnClose: x
4313
+ inputValueOnClose: b
4308
4314
  }) {
4309
- const b = fe(null), m = $((M, R) => {
4315
+ const x = fe(null), m = $((M, R) => {
4310
4316
  const { type: k, changes: D } = R;
4311
4317
  switch (k) {
4312
4318
  case ue.stateChangeTypes.ItemClick:
@@ -4319,23 +4325,23 @@ function zo({
4319
4325
  case ue.stateChangeTypes.InputKeyDownEscape:
4320
4326
  case ue.stateChangeTypes.InputBlur:
4321
4327
  return F(w({}, D), {
4322
- inputValue: x === "clear" ? "" : x === "preserve" ? (M == null ? void 0 : M.inputValue) || "" : D.selectedItem ? s(D.selectedItem.value) : D.inputValue || ""
4328
+ inputValue: b === "clear" ? "" : b === "preserve" ? (M == null ? void 0 : M.inputValue) || "" : D.selectedItem ? s(D.selectedItem.value) : D.inputValue || ""
4323
4329
  });
4324
4330
  default:
4325
4331
  return D;
4326
4332
  }
4327
- }, [s, u, x, d]), y = {
4333
+ }, [s, u, b, d]), y = {
4328
4334
  items: e,
4329
4335
  stateReducer: m,
4330
4336
  isOpen: l,
4331
4337
  onIsOpenChange: (M) => {
4332
4338
  var R;
4333
4339
  if (c == null || c(M.isOpen), !M.isOpen) {
4334
- if (x === "preserve")
4340
+ if (b === "preserve")
4335
4341
  return;
4336
- (R = b.current) == null || R.call(
4337
- b,
4338
- x === "clear" ? "" : M.selectedItem ? s(M.selectedItem.value) : ""
4342
+ (R = x.current) == null || R.call(
4343
+ x,
4344
+ b === "clear" ? "" : M.selectedItem ? s(M.selectedItem.value) : ""
4339
4345
  );
4340
4346
  }
4341
4347
  },
@@ -4352,8 +4358,8 @@ function zo({
4352
4358
  };
4353
4359
  t !== void 0 && (y.selectedItem = t), f !== void 0 && (y.inputValue = f);
4354
4360
  const E = ue(y), { selectItem: g, setInputValue: h, getInputProps: C } = E, N = L(E, ["selectItem", "setInputValue", "getInputProps"]);
4355
- b.current = h;
4356
- const T = $((M) => {
4361
+ x.current = h;
4362
+ const S = $((M) => {
4357
4363
  const R = C(M);
4358
4364
  return F(w({}, R), {
4359
4365
  onBlur: (k) => {
@@ -4364,7 +4370,7 @@ function zo({
4364
4370
  }, [C, o]);
4365
4371
  return F(w({}, N), {
4366
4372
  selectItem: g,
4367
- getInputProps: T,
4373
+ getInputProps: S,
4368
4374
  setInputValue: h
4369
4375
  });
4370
4376
  }
@@ -4409,15 +4415,15 @@ function Oo({
4409
4415
  inputValueOnClose: f = "selectedLabel",
4410
4416
  isItemSelected: d,
4411
4417
  hasSelection: u,
4412
- size: x = "sm",
4413
- fullWidth: b = !0,
4418
+ size: b = "sm",
4419
+ fullWidth: x = !0,
4414
4420
  transparent: m = !1,
4415
4421
  disabled: y = !1,
4416
4422
  error: g,
4417
4423
  placeholder: h = "Поиск...",
4418
4424
  getLabel: C,
4419
4425
  loading: N = !1,
4420
- isOpen: T,
4426
+ isOpen: S,
4421
4427
  onOpenChange: E,
4422
4428
  onClear: M,
4423
4429
  clearable: R
@@ -4436,13 +4442,13 @@ function Oo({
4436
4442
  onBlur: i,
4437
4443
  disabled: y,
4438
4444
  getLabel: k,
4439
- isOpen: T,
4445
+ isOpen: S,
4440
4446
  onOpenChange: E,
4441
4447
  inputValue: s,
4442
4448
  keepOpenOnSelect: l,
4443
4449
  inputValueOnSelect: c,
4444
4450
  inputValueOnClose: f
4445
- }), G = Bo(z.isOpen, N), j = q(() => ({
4451
+ }), _ = Bo(z.isOpen, N), j = q(() => ({
4446
4452
  // Combobox состояние
4447
4453
  getInputProps: z.getInputProps,
4448
4454
  getItemProps: z.getItemProps,
@@ -4454,13 +4460,13 @@ function Oo({
4454
4460
  setInputValue: z.setInputValue,
4455
4461
  selectItem: z.selectItem,
4456
4462
  // Floating UI состояние
4457
- refs: G.refs,
4458
- floatingStyles: G.floatingStyles,
4459
- isMounted: G.isMounted,
4460
- transitionStyles: G.transitionStyles,
4463
+ refs: _.refs,
4464
+ floatingStyles: _.floatingStyles,
4465
+ isMounted: _.isMounted,
4466
+ transitionStyles: _.transitionStyles,
4461
4467
  // Пропсы компонента
4462
- size: x,
4463
- fullWidth: b,
4468
+ size: b,
4469
+ fullWidth: x,
4464
4470
  transparent: m,
4465
4471
  disabled: y,
4466
4472
  error: g,
@@ -4475,9 +4481,9 @@ function Oo({
4475
4481
  hasSelection: u
4476
4482
  }), [
4477
4483
  z,
4478
- G,
4479
- x,
4484
+ _,
4480
4485
  b,
4486
+ x,
4481
4487
  m,
4482
4488
  y,
4483
4489
  g,
@@ -4537,14 +4543,14 @@ const Sn = v.forwardRef(
4537
4543
  disabled: f,
4538
4544
  error: d,
4539
4545
  isOpen: u,
4540
- refs: x
4541
- } = mt(), b = $((m) => {
4542
- typeof a == "function" ? a(m) : a && (a.current = m), x.reference.current !== m && m !== null && x.setReference(m);
4543
- }, [a, x]);
4546
+ refs: b
4547
+ } = mt(), x = $((m) => {
4548
+ typeof a == "function" ? a(m) : a && (a.current = m), b.reference.current !== m && m !== null && b.setReference(m);
4549
+ }, [a, b]);
4544
4550
  return /* @__PURE__ */ n(
4545
4551
  "div",
4546
4552
  F(w({
4547
- ref: b,
4553
+ ref: x,
4548
4554
  className: p(
4549
4555
  hn(s, l, c, f, Pt(d)),
4550
4556
  t
@@ -4577,35 +4583,35 @@ function _o({
4577
4583
  }) {
4578
4584
  const { items: r, selectedItem: a, getItemProps: o, isItemSelected: i } = mt(), s = /* @__PURE__ */ new Map();
4579
4585
  r.forEach((d, u) => {
4580
- const x = Zt(d.value);
4581
- s.set(x, { item: d, index: u });
4586
+ const b = Zt(d.value);
4587
+ s.set(b, { item: d, index: u });
4582
4588
  });
4583
- const l = a ? Zt(a.value) : null, f = ((d) => v.Children.map(d, (u, x) => {
4589
+ const l = a ? Zt(a.value) : null, f = ((d) => v.Children.map(d, (u, b) => {
4584
4590
  if (!v.isValidElement(u))
4585
4591
  return u;
4586
4592
  if (Lr(u.type, "List")) {
4587
- const b = v.Children.map(u.props.children, (y, g) => {
4593
+ const x = v.Children.map(u.props.children, (y, g) => {
4588
4594
  if (!v.isValidElement(y))
4589
4595
  return y;
4590
4596
  if (Lr(y.type, "Item"))
4591
4597
  try {
4592
4598
  const h = y.props, C = Zt(h.option), N = s.get(C);
4593
4599
  if (N) {
4594
- const { item: T, index: E } = N, M = i ? i(T.value) : l === C;
4600
+ const { item: S, index: E } = N, M = i ? i(S.value) : l === C;
4595
4601
  return /* @__PURE__ */ n(
4596
4602
  lr,
4597
4603
  F(w({
4598
4604
  isSelected: M,
4599
4605
  className: h.className
4600
4606
  }, o({
4601
- item: T,
4607
+ item: S,
4602
4608
  index: E
4603
4609
  })), {
4604
4610
  children: typeof h.children == "function" ? h.children(w({
4605
4611
  isSelected: M,
4606
4612
  className: h.className
4607
4613
  }, o({
4608
- item: T,
4614
+ item: S,
4609
4615
  index: E
4610
4616
  }))) : h.children
4611
4617
  }),
@@ -4623,7 +4629,7 @@ function _o({
4623
4629
  relative: !1,
4624
4630
  viewPortClassName: p("!flex flex-col", t == null ? void 0 : t.scrollAreaViewport),
4625
4631
  asChild: !0,
4626
- children: b
4632
+ children: x
4627
4633
  }
4628
4634
  );
4629
4635
  return v.cloneElement(u, u.props, m);
@@ -4646,13 +4652,13 @@ const Mn = v.forwardRef(
4646
4652
  refs: c,
4647
4653
  floatingStyles: f,
4648
4654
  transitionStyles: d
4649
- } = mt(), u = v.Children.count(e) > 0, x = $((b) => {
4650
- typeof a == "function" ? a(b) : a && (a.current = b), c.floating.current !== b && b !== null && c.setFloating(b);
4655
+ } = mt(), u = v.Children.count(e) > 0, b = $((x) => {
4656
+ typeof a == "function" ? a(x) : a && (a.current = x), c.floating.current !== x && x !== null && c.setFloating(x);
4651
4657
  }, [a, c]);
4652
4658
  return /* @__PURE__ */ n(
4653
4659
  "div",
4654
4660
  F(w(F(w({}, l({
4655
- ref: x
4661
+ ref: b
4656
4662
  })), {
4657
4663
  style: w(w({}, f), d),
4658
4664
  className: p(bn(s, u), t),
@@ -4690,31 +4696,31 @@ function Wo({
4690
4696
  placeholder: f,
4691
4697
  getInputProps: d,
4692
4698
  onOpenChange: u
4693
- } = mt(), x = fe(null), b = fe(null), [m, y] = ee(2);
4699
+ } = mt(), b = fe(null), x = fe(null), [m, y] = ee(2);
4694
4700
  Qn(() => {
4695
- if (!e.length || !b.current)
4701
+ if (!e.length || !x.current)
4696
4702
  return;
4697
4703
  const N = () => {
4698
- const E = b.current;
4704
+ const E = x.current;
4699
4705
  if (!E)
4700
4706
  return;
4701
4707
  const z = E.offsetWidth - 56 - 30 - 8;
4702
- let G = 0, j = 0;
4703
- const P = 12, W = 20, _ = 4, J = 7;
4708
+ let _ = 0, j = 0;
4709
+ const P = 12, W = 20, G = 4, J = 7;
4704
4710
  for (let B = 0; B < e.length; B++) {
4705
- const re = r(e[B]).length * J, ne = P + re + W + _;
4711
+ const re = r(e[B]).length * J, ne = P + re + W + G;
4706
4712
  if (j + ne <= z)
4707
- j += ne, G = B + 1;
4713
+ j += ne, _ = B + 1;
4708
4714
  else
4709
4715
  break;
4710
4716
  }
4711
- const U = Math.max(1, G);
4717
+ const U = Math.max(1, _);
4712
4718
  y(o ? Math.min(U, o) : U);
4713
4719
  };
4714
4720
  N();
4715
- const T = new ResizeObserver(N);
4716
- return T.observe(b.current), () => {
4717
- T.disconnect();
4721
+ const S = new ResizeObserver(N);
4722
+ return S.observe(x.current), () => {
4723
+ S.disconnect();
4718
4724
  };
4719
4725
  }, [r, o, e]);
4720
4726
  const g = e.slice(0, m), h = Math.max(0, e.length - m), C = d({
@@ -4725,7 +4731,7 @@ function Wo({
4725
4731
  return /* @__PURE__ */ I(
4726
4732
  "div",
4727
4733
  {
4728
- ref: b,
4734
+ ref: x,
4729
4735
  className: p(
4730
4736
  "flex min-w-0 flex-1 items-center justify-start gap-1 overflow-hidden",
4731
4737
  s === "xs" ? "pl-1.5" : "pl-2",
@@ -4735,8 +4741,8 @@ function Wo({
4735
4741
  var M;
4736
4742
  if (c)
4737
4743
  return;
4738
- const T = N.target;
4739
- (T == null ? void 0 : T.closest('button,[role="button"]')) !== null || (N.preventDefault(), (M = x.current) == null || M.focus(), u == null || u(!0));
4744
+ const S = N.target;
4745
+ (S == null ? void 0 : S.closest('button,[role="button"]')) !== null || (N.preventDefault(), (M = b.current) == null || M.focus(), u == null || u(!0));
4740
4746
  },
4741
4747
  children: [
4742
4748
  g.map((N) => /* @__PURE__ */ I(
@@ -4751,14 +4757,14 @@ function Wo({
4751
4757
  /* @__PURE__ */ n(
4752
4758
  "div",
4753
4759
  {
4754
- onPointerDown: (T) => {
4755
- c || (T.preventDefault(), T.stopPropagation());
4760
+ onPointerDown: (S) => {
4761
+ c || (S.preventDefault(), S.stopPropagation());
4756
4762
  },
4757
- onMouseDown: (T) => {
4758
- c || (T.preventDefault(), T.stopPropagation());
4763
+ onMouseDown: (S) => {
4764
+ c || (S.preventDefault(), S.stopPropagation());
4759
4765
  },
4760
- onClick: (T) => {
4761
- c || (T.preventDefault(), T.stopPropagation(), t(N));
4766
+ onClick: (S) => {
4767
+ c || (S.preventDefault(), S.stopPropagation(), t(N));
4762
4768
  },
4763
4769
  className: p(
4764
4770
  "flex cursor-pointer items-center rounded p-0.5 hover:bg-gray-200",
@@ -4789,8 +4795,8 @@ function Wo({
4789
4795
  c || (N.preventDefault(), N.stopPropagation());
4790
4796
  },
4791
4797
  onClick: (N) => {
4792
- var T;
4793
- c || (N.preventDefault(), N.stopPropagation(), (T = x.current) == null || T.focus(), u == null || u(!0));
4798
+ var S;
4799
+ c || (N.preventDefault(), N.stopPropagation(), (S = b.current) == null || S.focus(), u == null || u(!0));
4794
4800
  },
4795
4801
  children: /* @__PURE__ */ I(O, { variant: "p2", children: [
4796
4802
  "+",
@@ -4802,7 +4808,7 @@ function Wo({
4802
4808
  "input",
4803
4809
  F(w({
4804
4810
  ref: (N) => {
4805
- x.current = N;
4811
+ b.current = N;
4806
4812
  }
4807
4813
  }, C), {
4808
4814
  "data-testid": i,
@@ -4832,26 +4838,26 @@ function Vo({
4832
4838
  label: f,
4833
4839
  error: d,
4834
4840
  caption: u,
4835
- placeholder: x = "Поиск...",
4836
- disabled: b = !1,
4841
+ placeholder: b = "Поиск...",
4842
+ disabled: x = !1,
4837
4843
  "data-testid": m,
4838
4844
  getLabel: y = (k) => typeof k == "object" && k !== null && "label" in k ? k.label : "",
4839
4845
  getKey: g = Go,
4840
4846
  loading: h = !1,
4841
4847
  isOpen: C,
4842
4848
  onOpenChange: N,
4843
- showErrorMessage: T = !0,
4849
+ showErrorMessage: S = !0,
4844
4850
  clearable: E = !0,
4845
4851
  onClear: M,
4846
4852
  maxTags: R = 4
4847
4853
  }) {
4848
- const { items: k } = Nn(e, y), D = q(() => t || [], [t]), z = q(() => new Set(D.map(g)), [D, g]), [G, j] = ee(""), P = $((B) => {
4854
+ const { items: k } = Nn(e, y), D = q(() => t || [], [t]), z = q(() => new Set(D.map(g)), [D, g]), [_, j] = ee(""), P = $((B) => {
4849
4855
  const H = g(B), ne = z.has(H) ? D.filter((be) => g(be) !== H) : [...D, B];
4850
4856
  r == null || r(ne);
4851
4857
  }, [g, r, D, z]), W = $((B) => {
4852
4858
  const H = g(B);
4853
4859
  r == null || r(D.filter((re) => g(re) !== H));
4854
- }, [g, r, D]), _ = $(() => {
4860
+ }, [g, r, D]), G = $(() => {
4855
4861
  r == null || r([]), M == null || M();
4856
4862
  }, [r, M]), J = $((B) => {
4857
4863
  N == null || N(B), B || (j(""), a == null || a(""));
@@ -4863,7 +4869,7 @@ function Vo({
4863
4869
  {
4864
4870
  getLabel: y,
4865
4871
  items: k,
4866
- inputValue: G,
4872
+ inputValue: _,
4867
4873
  onChange: (B) => {
4868
4874
  B && P(B);
4869
4875
  },
@@ -4872,14 +4878,14 @@ function Vo({
4872
4878
  size: i,
4873
4879
  fullWidth: s,
4874
4880
  transparent: l,
4875
- disabled: b,
4881
+ disabled: x,
4876
4882
  error: d,
4877
- placeholder: x,
4883
+ placeholder: b,
4878
4884
  loading: h,
4879
4885
  isOpen: C,
4880
4886
  onOpenChange: J,
4881
4887
  clearable: E,
4882
- onClear: _,
4888
+ onClear: G,
4883
4889
  keepOpenOnSelect: !0,
4884
4890
  inputValueOnSelect: "preserve",
4885
4891
  inputValueOnClose: "preserve",
@@ -4920,7 +4926,7 @@ function Vo({
4920
4926
  }
4921
4927
  ) }),
4922
4928
  u && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: u }),
4923
- Pt(d) && T && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: d })
4929
+ Pt(d) && S && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: d })
4924
4930
  ] })
4925
4931
  }
4926
4932
  );
@@ -4941,8 +4947,8 @@ function Rn(e) {
4941
4947
  loop: !1,
4942
4948
  slidesToScroll: 1,
4943
4949
  containScroll: "trimSnaps"
4944
- }, a), i = w(w({}, jo), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [x, b] = ee(!1), m = $(() => {
4945
- l && (f(l.selectedScrollSnap()), u(l.canScrollNext()), b(l.canScrollPrev()));
4950
+ }, a), i = w(w({}, jo), t), [s, l] = ar(o), [c, f] = ee(r), [d, u] = ee(!1), [b, x] = ee(!1), m = $(() => {
4951
+ l && (f(l.selectedScrollSnap()), u(l.canScrollNext()), x(l.canScrollPrev()));
4946
4952
  }, [l]);
4947
4953
  de(() => {
4948
4954
  if (l)
@@ -4950,14 +4956,14 @@ function Rn(e) {
4950
4956
  l.off("select", m), l.off("reInit", m);
4951
4957
  };
4952
4958
  }, [l, m, r]);
4953
- const y = $((T) => {
4954
- l && l.scrollTo(T);
4959
+ const y = $((S) => {
4960
+ l && l.scrollTo(S);
4955
4961
  }, [l]), g = $(() => {
4956
4962
  l && l.scrollNext();
4957
4963
  }, [l]), h = $(() => {
4958
4964
  l && l.scrollPrev();
4959
- }, [l]), C = $((T) => {
4960
- y(T);
4965
+ }, [l]), C = $((S) => {
4966
+ y(S);
4961
4967
  }, [y]);
4962
4968
  return {
4963
4969
  active: c,
@@ -4969,7 +4975,7 @@ function Rn(e) {
4969
4975
  scrollTo: y,
4970
4976
  onChange: C,
4971
4977
  canScrollNext: d,
4972
- canScrollPrev: x
4978
+ canScrollPrev: b
4973
4979
  };
4974
4980
  }
4975
4981
  const An = Et(null);
@@ -5063,7 +5069,7 @@ function Yo({
5063
5069
  const { prev: l, next: c, canScrollPrev: f, canScrollNext: d } = zt();
5064
5070
  if (!e && !t)
5065
5071
  return null;
5066
- const u = s && !f, x = s && !d, b = () => !e || u ? null : typeof e == "function" ? e({ onClick: l, disabled: !f }) : /* @__PURE__ */ n(
5072
+ const u = s && !f, b = s && !d, x = () => !e || u ? null : typeof e == "function" ? e({ onClick: l, disabled: !f }) : /* @__PURE__ */ n(
5067
5073
  "div",
5068
5074
  {
5069
5075
  onClick: l,
@@ -5074,7 +5080,7 @@ function Yo({
5074
5080
  "aria-disabled": !f,
5075
5081
  children: e
5076
5082
  }
5077
- ), m = () => !t || x ? null : typeof t == "function" ? t({ onClick: c, disabled: !d }) : /* @__PURE__ */ n(
5083
+ ), m = () => !t || b ? null : typeof t == "function" ? t({ onClick: c, disabled: !d }) : /* @__PURE__ */ n(
5078
5084
  "div",
5079
5085
  {
5080
5086
  onClick: c,
@@ -5095,7 +5101,7 @@ function Yo({
5095
5101
  r
5096
5102
  ),
5097
5103
  children: [
5098
- b(),
5104
+ x(),
5099
5105
  m()
5100
5106
  ]
5101
5107
  }
@@ -5116,7 +5122,7 @@ function Zo({
5116
5122
  }) {
5117
5123
  if (!o && !i)
5118
5124
  return null;
5119
- const u = d && !r, x = d && !a, b = () => !o || u ? null : typeof o == "function" ? o({ onClick: e, disabled: !r }) : /* @__PURE__ */ n(
5125
+ const u = d && !r, b = d && !a, x = () => !o || u ? null : typeof o == "function" ? o({ onClick: e, disabled: !r }) : /* @__PURE__ */ n(
5120
5126
  "div",
5121
5127
  {
5122
5128
  onClick: e,
@@ -5127,7 +5133,7 @@ function Zo({
5127
5133
  "aria-disabled": !r,
5128
5134
  children: o
5129
5135
  }
5130
- ), m = () => !i || x ? null : typeof i == "function" ? i({ onClick: t, disabled: !a }) : /* @__PURE__ */ n(
5136
+ ), m = () => !i || b ? null : typeof i == "function" ? i({ onClick: t, disabled: !a }) : /* @__PURE__ */ n(
5131
5137
  "div",
5132
5138
  {
5133
5139
  onClick: t,
@@ -5148,7 +5154,7 @@ function Zo({
5148
5154
  s
5149
5155
  ),
5150
5156
  children: [
5151
- b(),
5157
+ x(),
5152
5158
  m()
5153
5159
  ]
5154
5160
  }
@@ -5260,8 +5266,8 @@ const Nt = {
5260
5266
  ButtonsView: Zo
5261
5267
  // Экспортируем view-компонент кнопок для использования вне контекста
5262
5268
  };
5263
- function Ml(x) {
5264
- var b = x, {
5269
+ function Ml(b) {
5270
+ var x = b, {
5265
5271
  items: e,
5266
5272
  renderSlide: t,
5267
5273
  options: r,
@@ -5273,7 +5279,7 @@ function Ml(x) {
5273
5279
  buttonsAlign: c,
5274
5280
  showButtonsOnlyOnHover: f,
5275
5281
  hideDisabledButtons: d
5276
- } = b, u = L(b, [
5282
+ } = x, u = L(x, [
5277
5283
  "items",
5278
5284
  "renderSlide",
5279
5285
  "options",
@@ -5512,8 +5518,8 @@ const di = me(
5512
5518
  }
5513
5519
  }
5514
5520
  ), Qe = v.forwardRef(
5515
- (b, x) => {
5516
- var m = b, {
5521
+ (x, b) => {
5522
+ var m = x, {
5517
5523
  className: e,
5518
5524
  children: t,
5519
5525
  width: r,
@@ -5541,7 +5547,7 @@ const di = me(
5541
5547
  return /* @__PURE__ */ n(
5542
5548
  le.Content,
5543
5549
  F(w({}, u), {
5544
- ref: x,
5550
+ ref: b,
5545
5551
  "data-testid": c,
5546
5552
  style: (f == null ? void 0 : f.zIndex) !== void 0 ? f : F(w({}, f), { zIndex: 52 }),
5547
5553
  onOpenAutoFocus: (y) => {
@@ -5651,7 +5657,7 @@ function Al() {
5651
5657
  }
5652
5658
  function ci(e) {
5653
5659
  var M;
5654
- const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, c] = v.useState(!1), [f, d] = v.useState(e.hideFooter), [u, x] = v.useState(!1), [b, m] = v.useState(e.width), y = v.useContext(Ot), g = (M = y == null ? void 0 : y.nextBaseZIndex) != null ? M : e.baseZIndex, h = g + 1, C = g + 2, N = g + 3, T = v.useMemo(() => !l && i ? "top" : "none", [l, i]), E = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5660
+ const [t, r] = v.useState(null), [a, o] = v.useState(e.isVisibleClose), [i, s] = v.useState(!1), [l, c] = v.useState(!1), [f, d] = v.useState(e.hideFooter), [u, b] = v.useState(!1), [x, m] = v.useState(e.width), y = v.useContext(Ot), g = (M = y == null ? void 0 : y.nextBaseZIndex) != null ? M : e.baseZIndex, h = g + 1, C = g + 2, N = g + 3, S = v.useMemo(() => !l && i ? "top" : "none", [l, i]), E = v.useMemo(() => l && i ? "bottom" : "none", [l, i]);
5655
5661
  return v.useEffect(() => {
5656
5662
  m(e.width);
5657
5663
  }, [e.width]), v.useEffect(() => {
@@ -5674,17 +5680,17 @@ function ci(e) {
5674
5680
  contentElement: t,
5675
5681
  hasOverflow: i,
5676
5682
  scrollStart: l,
5677
- shadowFooter: T,
5683
+ shadowFooter: S,
5678
5684
  shadowHeader: E,
5679
5685
  isHideFooter: f,
5680
5686
  isHideTitle: u,
5681
5687
  isVisibleClose: a,
5682
- width: b,
5688
+ width: x,
5683
5689
  statusImage: e.statusImage,
5684
5690
  setWidth: m,
5685
5691
  visibleClose: o,
5686
5692
  hideFooter: d,
5687
- hideTitle: x,
5693
+ hideTitle: b,
5688
5694
  setContentElement: r,
5689
5695
  baseZIndex: g,
5690
5696
  overlayZIndex: h,
@@ -5755,8 +5761,8 @@ function pi(e) {
5755
5761
  /* @__PURE__ */ n("div", { className: "w-full px-4 py-4 md:px-6 md:pt-6 rounded-t-4xl bg-white -mt-4 md:-mt-6", children: e.children })
5756
5762
  ] }) : /* @__PURE__ */ n(t.Source, w({}, e));
5757
5763
  }
5758
- function se(b) {
5759
- var m = b, {
5764
+ function se(x) {
5765
+ var m = x, {
5760
5766
  classNames: e,
5761
5767
  children: t,
5762
5768
  trigger: r,
@@ -5769,7 +5775,7 @@ function se(b) {
5769
5775
  baseZIndex: f = 50,
5770
5776
  statusImage: d,
5771
5777
  dataTestId: u
5772
- } = m, x = L(m, [
5778
+ } = m, b = L(m, [
5773
5779
  "classNames",
5774
5780
  "children",
5775
5781
  "trigger",
@@ -5797,7 +5803,7 @@ function se(b) {
5797
5803
  }),
5798
5804
  []
5799
5805
  ), h = g.TitleTeleporter.useTargetRef(), C = g.FooterTeleporter.useTargetRef(), N = g.ContentTeleporter.useTargetRef();
5800
- return /* @__PURE__ */ n(pt, F(w({}, x), { children: /* @__PURE__ */ n(Pn.Provider, { value: g, children: /* @__PURE__ */ I(Ot.Provider, { value: y, children: [
5806
+ return /* @__PURE__ */ n(pt, F(w({}, b), { children: /* @__PURE__ */ n(Pn.Provider, { value: g, children: /* @__PURE__ */ I(Ot.Provider, { value: y, children: [
5801
5807
  r && /* @__PURE__ */ n(Ze, { children: r }),
5802
5808
  /* @__PURE__ */ I(ht, { children: [
5803
5809
  i && /* @__PURE__ */ n(
@@ -5845,8 +5851,8 @@ function se(b) {
5845
5851
  /* @__PURE__ */ n(
5846
5852
  gt,
5847
5853
  {
5848
- ref: (T) => {
5849
- y.setContentElement(T), N(T);
5854
+ ref: (S) => {
5855
+ y.setContentElement(S), N(S);
5850
5856
  },
5851
5857
  className: p(e == null ? void 0 : e.content)
5852
5858
  }
@@ -5896,17 +5902,17 @@ function Dl({
5896
5902
  showResetButton: f = !0,
5897
5903
  onReset: d,
5898
5904
  disabledDays: u,
5899
- "data-testid": x
5905
+ "data-testid": b
5900
5906
  }) {
5901
- const [b, m] = v.useState(e), y = _t(), [g, h] = v.useState(!1);
5907
+ const [x, m] = v.useState(e), y = _t(), [g, h] = v.useState(!1);
5902
5908
  v.useEffect(() => {
5903
- e !== b && m(e);
5909
+ e !== x && m(e);
5904
5910
  }, [e]);
5905
5911
  const C = (E) => {
5906
5912
  E && (m(E), t == null || t(E), y === "mobile" && h(!1));
5907
5913
  }, N = () => {
5908
5914
  m(void 0), t == null || t(void 0), d == null || d();
5909
- }, T = () => {
5915
+ }, S = () => {
5910
5916
  switch (i) {
5911
5917
  case "md":
5912
5918
  return "rounded-lg";
@@ -5946,7 +5952,7 @@ function Dl({
5946
5952
  className: p(
5947
5953
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
5948
5954
  i === "lg" ? "px-3" : "px-2.5",
5949
- T(),
5955
+ S(),
5950
5956
  {
5951
5957
  "shadow-focus border-primary border-1 border-solid": g
5952
5958
  },
@@ -5958,18 +5964,18 @@ function Dl({
5958
5964
  },
5959
5965
  s != null ? "hover:text-destructive" : ""
5960
5966
  ),
5961
- "data-testid": x,
5967
+ "data-testid": b,
5962
5968
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
5963
5969
  /* @__PURE__ */ n(
5964
5970
  "div",
5965
5971
  {
5966
5972
  className: p(
5967
5973
  "flex-1",
5968
- b ? "text-foreground" : "text-muted-foreground",
5974
+ x ? "text-foreground" : "text-muted-foreground",
5969
5975
  r && "text-muted-foreground",
5970
5976
  g && !r && "!text-default"
5971
5977
  ),
5972
- children: b ? Se(b, "dd.MM.yyyy", { locale: ve }) : a
5978
+ children: x ? Se(x, "dd.MM.yyyy", { locale: ve }) : a
5973
5979
  }
5974
5980
  ),
5975
5981
  /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5", children: [
@@ -5980,7 +5986,7 @@ function Dl({
5980
5986
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
5981
5987
  r && "text-muted-foreground",
5982
5988
  g && !r && s == null && "!text-default",
5983
- b && !r && s == null && "text-default",
5989
+ x && !r && s == null && "text-default",
5984
5990
  s != null && "!group-focus-within:!text-destructive !text-destructive"
5985
5991
  ),
5986
5992
  icon: "CalendarIcon",
@@ -6008,7 +6014,7 @@ function Dl({
6008
6014
  Tt,
6009
6015
  {
6010
6016
  mode: "single",
6011
- selected: b,
6017
+ selected: x,
6012
6018
  onSelect: C,
6013
6019
  initialFocus: !0,
6014
6020
  locale: ve,
@@ -6022,7 +6028,7 @@ function Dl({
6022
6028
  {
6023
6029
  onClick: N,
6024
6030
  variant: "text",
6025
- disabled: !b,
6031
+ disabled: !x,
6026
6032
  className: "w-full",
6027
6033
  children: "Сбросить"
6028
6034
  }
@@ -6044,7 +6050,7 @@ function Dl({
6044
6050
  size: i,
6045
6051
  className: p(
6046
6052
  "group border-border font-graphik w-full justify-start border-1 border-solid text-left text-[16px] leading-[22px]",
6047
- T(),
6053
+ S(),
6048
6054
  i === "lg" ? "px-3" : "px-2.5",
6049
6055
  {
6050
6056
  "shadow-focus border-primary border-1 border-solid": g
@@ -6057,17 +6063,17 @@ function Dl({
6057
6063
  },
6058
6064
  s != null ? "hover:text-destructive" : ""
6059
6065
  ),
6060
- "data-testid": x,
6066
+ "data-testid": b,
6061
6067
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6062
6068
  /* @__PURE__ */ n(
6063
6069
  "div",
6064
6070
  {
6065
6071
  className: p(
6066
6072
  "flex-1",
6067
- b ? "text-foreground" : "text-muted-foreground",
6073
+ x ? "text-foreground" : "text-muted-foreground",
6068
6074
  g && !r && "!text-default"
6069
6075
  ),
6070
- children: b ? Se(b, "dd.MM.yyyy", { locale: ve }) : a
6076
+ children: x ? Se(x, "dd.MM.yyyy", { locale: ve }) : a
6071
6077
  }
6072
6078
  ),
6073
6079
  /* @__PURE__ */ I("div", { className: "flex items-center gap-1.5", children: [
@@ -6078,7 +6084,7 @@ function Dl({
6078
6084
  "group-focus-within:text-foreground text-muted-foreground transition-colors",
6079
6085
  r && "text-muted-foreground",
6080
6086
  g && !r && s == null && "!text-default",
6081
- b && !r && s == null && "text-default",
6087
+ x && !r && s == null && "text-default",
6082
6088
  s != null && "!group-focus-within:!text-destructive !text-destructive"
6083
6089
  ),
6084
6090
  icon: "CalendarIcon",
@@ -6108,7 +6114,7 @@ function Dl({
6108
6114
  Tt,
6109
6115
  {
6110
6116
  mode: "single",
6111
- selected: b,
6117
+ selected: x,
6112
6118
  onSelect: C,
6113
6119
  initialFocus: !0,
6114
6120
  locale: ve,
@@ -6123,7 +6129,7 @@ function Dl({
6123
6129
  variant: "text",
6124
6130
  size: "sm",
6125
6131
  className: "w-full",
6126
- disabled: !b,
6132
+ disabled: !x,
6127
6133
  children: "Сбросить"
6128
6134
  }
6129
6135
  ) })
@@ -6284,8 +6290,8 @@ function Fl(y) {
6284
6290
  disabled: f = !1,
6285
6291
  showResetButton: d = !0,
6286
6292
  onReset: u,
6287
- disabledDays: x,
6288
- "data-testid": b
6293
+ disabledDays: b,
6294
+ "data-testid": x
6289
6295
  } = g, m = L(g, [
6290
6296
  "className",
6291
6297
  "value",
@@ -6302,7 +6308,7 @@ function Fl(y) {
6302
6308
  "disabledDays",
6303
6309
  "data-testid"
6304
6310
  ]);
6305
- const [h, C] = v.useState(t), [N, T] = v.useState(!1), E = _t(), M = hi[r], R = Si(r), k = {
6311
+ const [h, C] = v.useState(t), [N, S] = v.useState(!1), E = _t(), M = hi[r], R = Si(r), k = {
6306
6312
  from: (o == null ? void 0 : o.from) || M.placeholder,
6307
6313
  to: (o == null ? void 0 : o.to) || M.placeholder
6308
6314
  }, D = v.useMemo(() => {
@@ -6313,13 +6319,13 @@ function Fl(y) {
6313
6319
  hasToError: () => U(i) ? !0 : B(i) && !!i.to,
6314
6320
  getErrorText: () => U(i) ? i : B(i) ? i.from && i.to ? `${i.from}, ${i.to}` : i.from || i.to || "" : ""
6315
6321
  };
6316
- }, [i]), { hasAnyError: z, hasFromError: G, hasToError: j, getErrorText: P } = D;
6322
+ }, [i]), { hasAnyError: z, hasFromError: _, hasToError: j, getErrorText: P } = D;
6317
6323
  v.useEffect(() => {
6318
6324
  C(t);
6319
6325
  }, [t]);
6320
6326
  const W = (U) => {
6321
- C(U), a == null || a(U), U != null && U.from && (U != null && U.to) && E === "mobile" && T(!1);
6322
- }, _ = () => {
6327
+ C(U), a == null || a(U), U != null && U.from && (U != null && U.to) && E === "mobile" && S(!1);
6328
+ }, G = () => {
6323
6329
  C(void 0), a == null || a(void 0), u == null || u();
6324
6330
  }, J = () => {
6325
6331
  switch (c) {
@@ -6348,7 +6354,7 @@ function Fl(y) {
6348
6354
  se,
6349
6355
  {
6350
6356
  open: N,
6351
- onOpenChange: f ? void 0 : T,
6357
+ onOpenChange: f ? void 0 : S,
6352
6358
  width: "md",
6353
6359
  trigger: /* @__PURE__ */ n(
6354
6360
  Q,
@@ -6372,7 +6378,7 @@ function Fl(y) {
6372
6378
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
6373
6379
  }
6374
6380
  ),
6375
- "data-testid": b,
6381
+ "data-testid": x,
6376
6382
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6377
6383
  /* @__PURE__ */ I(
6378
6384
  "div",
@@ -6388,7 +6394,7 @@ function Fl(y) {
6388
6394
  {
6389
6395
  className: p(
6390
6396
  "flex-1 text-left",
6391
- G() && "text-destructive"
6397
+ _() && "text-destructive"
6392
6398
  ),
6393
6399
  children: h != null && h.from ? Se(h.from, "dd.MM.yyyy", {
6394
6400
  locale: R
@@ -6454,13 +6460,13 @@ function Fl(y) {
6454
6460
  onSelect: W,
6455
6461
  numberOfMonths: 1,
6456
6462
  locale: R,
6457
- disabled: x
6463
+ disabled: b
6458
6464
  }
6459
6465
  ) }),
6460
6466
  d && /* @__PURE__ */ n(se.Footer, { children: /* @__PURE__ */ n("div", { className: "flex h-[44px] w-full items-center justify-center", children: /* @__PURE__ */ n(
6461
6467
  Q,
6462
6468
  {
6463
- onClick: _,
6469
+ onClick: G,
6464
6470
  variant: "text",
6465
6471
  className: "w-full",
6466
6472
  disabled: !(h != null && h.from) && !(h != null && h.to),
@@ -6469,7 +6475,7 @@ function Fl(y) {
6469
6475
  ) }) })
6470
6476
  ]
6471
6477
  }
6472
- ) : /* @__PURE__ */ I($e, { open: N, onOpenChange: T, children: [
6478
+ ) : /* @__PURE__ */ I($e, { open: N, onOpenChange: S, children: [
6473
6479
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ n(
6474
6480
  Q,
6475
6481
  {
@@ -6492,7 +6498,7 @@ function Fl(y) {
6492
6498
  "bg-background placeholder:text-muted-foreground disabled:bg-input-disabled-background border-destructive focus:border-destructive enabled:hover:border-destructive": z()
6493
6499
  }
6494
6500
  ),
6495
- "data-testid": b,
6501
+ "data-testid": x,
6496
6502
  children: /* @__PURE__ */ I("div", { className: "flex w-full items-center", children: [
6497
6503
  /* @__PURE__ */ I(
6498
6504
  "div",
@@ -6508,7 +6514,7 @@ function Fl(y) {
6508
6514
  {
6509
6515
  className: p(
6510
6516
  "flex-1 text-left",
6511
- G() && "text-destructive",
6517
+ _() && "text-destructive",
6512
6518
  f && "text-muted-foreground"
6513
6519
  ),
6514
6520
  children: h != null && h.from ? Se(h.from, "dd.MM.yyyy", {
@@ -6577,13 +6583,13 @@ function Fl(y) {
6577
6583
  onSelect: W,
6578
6584
  numberOfMonths: 2,
6579
6585
  locale: R,
6580
- disabled: x
6586
+ disabled: b
6581
6587
  }
6582
6588
  ),
6583
6589
  d && /* @__PURE__ */ n("div", { className: "flex h-11 items-center justify-center px-2.5 py-2.5", children: /* @__PURE__ */ n(
6584
6590
  Q,
6585
6591
  {
6586
- onClick: _,
6592
+ onClick: G,
6587
6593
  variant: "text",
6588
6594
  size: "sm",
6589
6595
  className: "w-full",
@@ -6603,7 +6609,7 @@ function Ti({ className: e }) {
6603
6609
  return /* @__PURE__ */ n("div", { className: p("bg-default-background h-[1px] w-full", e) });
6604
6610
  }
6605
6611
  const zn = v.forwardRef(
6606
- (m, b) => {
6612
+ (m, x) => {
6607
6613
  var y = m, {
6608
6614
  value: e,
6609
6615
  onChange: t,
@@ -6617,7 +6623,7 @@ const zn = v.forwardRef(
6617
6623
  onKeyDown: f,
6618
6624
  onPaste: d,
6619
6625
  onClear: u
6620
- } = y, x = L(y, [
6626
+ } = y, b = L(y, [
6621
6627
  "value",
6622
6628
  "onChange",
6623
6629
  "decimalPlaces",
@@ -6640,20 +6646,20 @@ const zn = v.forwardRef(
6640
6646
  return "";
6641
6647
  let D = k.replace(/[^\d.,\-]/g, "");
6642
6648
  if (l ? (D.match(/-/g) || []).length > 1 && (D = D.replace(/-/g, ""), k.startsWith("-") && (D = `-${D}`)) : D = D.replace(/-/g, ""), D = C(D), (D.match(/[.,]/g) || []).length > 1) {
6643
- const G = D.search(/[.,]/);
6644
- D = D.substring(0, G + 1) + D.substring(G + 1).replace(/[.,]/g, "");
6649
+ const _ = D.search(/[.,]/);
6650
+ D = D.substring(0, _ + 1) + D.substring(_ + 1).replace(/[.,]/g, "");
6645
6651
  }
6646
6652
  if (r !== void 0 && r >= 0) {
6647
- const G = D.search(/[.,]/);
6648
- if (G !== -1) {
6649
- const j = D.substring(0, G), W = D.substring(G + 1).substring(0, r);
6650
- D = j + D[G] + W;
6653
+ const _ = D.search(/[.,]/);
6654
+ if (_ !== -1) {
6655
+ const j = D.substring(0, _), W = D.substring(_ + 1).substring(0, r);
6656
+ D = j + D[_] + W;
6651
6657
  }
6652
6658
  }
6653
6659
  return o && (D = o(D)), D;
6654
6660
  },
6655
6661
  [r, a, l, c, C, o]
6656
- ), T = $(
6662
+ ), S = $(
6657
6663
  (k) => !(i !== void 0 && k < i || s !== void 0 && k > s),
6658
6664
  [i, s]
6659
6665
  ), E = $(
@@ -6663,14 +6669,14 @@ const zn = v.forwardRef(
6663
6669
  t == null || t(c ? "" : 0);
6664
6670
  return;
6665
6671
  }
6666
- const G = a === "comma" ? z.replace(/,/g, ".") : z, j = Number.parseFloat(G);
6667
- Number.isNaN(j) ? t == null || t(z) : T(j) ? t == null || t(j) : t == null || t(z);
6672
+ const _ = a === "comma" ? z.replace(/,/g, ".") : z, j = Number.parseFloat(_);
6673
+ Number.isNaN(j) ? t == null || t(z) : S(j) ? t == null || t(j) : t == null || t(z);
6668
6674
  },
6669
- [N, T, t, a, c]
6675
+ [N, S, t, a, c]
6670
6676
  ), M = $(
6671
6677
  (k) => {
6672
- const { key: D, ctrlKey: z, metaKey: G } = k;
6673
- if (z || G || [
6678
+ const { key: D, ctrlKey: z, metaKey: _ } = k;
6679
+ if (z || _ || [
6674
6680
  "Backspace",
6675
6681
  "Delete",
6676
6682
  "Tab",
@@ -6696,8 +6702,8 @@ const zn = v.forwardRef(
6696
6702
  return;
6697
6703
  }
6698
6704
  k.preventDefault();
6699
- const j = k.currentTarget, P = j.selectionStart || 0, W = j.value.substring(0, P) + (a === "dot" ? "." : ",") + j.value.substring(P), _ = N(W);
6700
- h(_), t == null || t(_);
6705
+ const j = k.currentTarget, P = j.selectionStart || 0, W = j.value.substring(0, P) + (a === "dot" ? "." : ",") + j.value.substring(P), G = N(W);
6706
+ h(G), t == null || t(G);
6701
6707
  return;
6702
6708
  }
6703
6709
  if (D === "-" && l) {
@@ -6715,8 +6721,8 @@ const zn = v.forwardRef(
6715
6721
  const D = k.clipboardData.getData("text"), z = N(D);
6716
6722
  if (z !== D) {
6717
6723
  k.preventDefault();
6718
- const G = k.currentTarget, j = G.selectionStart || 0, P = G.selectionEnd || 0, W = G.value.substring(0, j) + z + G.value.substring(P), _ = N(W);
6719
- h(_), t == null || t(_);
6724
+ const _ = k.currentTarget, j = _.selectionStart || 0, P = _.selectionEnd || 0, W = _.value.substring(0, j) + z + _.value.substring(P), G = N(W);
6725
+ h(G), t == null || t(G);
6720
6726
  }
6721
6727
  d == null || d(k);
6722
6728
  },
@@ -6729,8 +6735,8 @@ const zn = v.forwardRef(
6729
6735
  }
6730
6736
  }, [e, g]), /* @__PURE__ */ n(
6731
6737
  Fe,
6732
- F(w({}, x), {
6733
- ref: b,
6738
+ F(w({}, b), {
6739
+ ref: x,
6734
6740
  type: "text",
6735
6741
  value: g,
6736
6742
  onChange: E,
@@ -6758,8 +6764,8 @@ const Bn = v.forwardRef(
6758
6764
  "data-cy": f,
6759
6765
  "data-testid": d,
6760
6766
  icon: u,
6761
- iconPosition: x = "left",
6762
- iconSize: b,
6767
+ iconPosition: b = "left",
6768
+ iconSize: x,
6763
6769
  iconClassName: m
6764
6770
  } = C, y = L(C, [
6765
6771
  "className",
@@ -6784,7 +6790,7 @@ const Bn = v.forwardRef(
6784
6790
  return;
6785
6791
  }
6786
6792
  o == null || o(k);
6787
- }, T = (k) => {
6793
+ }, S = (k) => {
6788
6794
  if (s && (k.key === "Enter" || k.key === " ")) {
6789
6795
  k.preventDefault(), k.stopPropagation();
6790
6796
  return;
@@ -6808,7 +6814,7 @@ const Bn = v.forwardRef(
6808
6814
  "data-disabled": s || void 0,
6809
6815
  tabIndex: s ? -1 : l,
6810
6816
  onClick: N,
6811
- onKeyDown: T
6817
+ onKeyDown: S
6812
6818
  }, y), {
6813
6819
  children: k
6814
6820
  })
@@ -6825,17 +6831,17 @@ const Bn = v.forwardRef(
6825
6831
  "data-disabled": s || void 0,
6826
6832
  tabIndex: s ? -1 : l,
6827
6833
  onClick: N,
6828
- onKeyDown: T,
6834
+ onKeyDown: S,
6829
6835
  "data-cy": f,
6830
6836
  "data-testid": d,
6831
6837
  children: k
6832
6838
  })
6833
6839
  );
6834
6840
  }
6835
- const M = /* @__PURE__ */ n(V, { icon: u, size: b, className: p("shrink-0", m) }), R = /* @__PURE__ */ I("span", { className: "inline-flex items-center gap-2", children: [
6836
- x === "left" && M,
6841
+ const M = /* @__PURE__ */ n(V, { icon: u, size: x, className: p("shrink-0", m) }), R = /* @__PURE__ */ I("span", { className: "inline-flex items-center gap-2", children: [
6842
+ b === "left" && M,
6837
6843
  /* @__PURE__ */ n("span", { className: "inline-flex min-w-0", children: r }),
6838
- x === "right" && M
6844
+ b === "right" && M
6839
6845
  ] });
6840
6846
  return c ? /* @__PURE__ */ n(
6841
6847
  Qt,
@@ -6851,7 +6857,7 @@ const Bn = v.forwardRef(
6851
6857
  "data-disabled": s || void 0,
6852
6858
  tabIndex: s ? -1 : l,
6853
6859
  onClick: N,
6854
- onKeyDown: T
6860
+ onKeyDown: S
6855
6861
  }, y), {
6856
6862
  children: R
6857
6863
  })
@@ -6867,7 +6873,7 @@ const Bn = v.forwardRef(
6867
6873
  "data-disabled": s || void 0,
6868
6874
  tabIndex: s ? -1 : l,
6869
6875
  onClick: N,
6870
- onKeyDown: T,
6876
+ onKeyDown: S,
6871
6877
  className: p(
6872
6878
  E,
6873
6879
  "gap-2",
@@ -6883,7 +6889,7 @@ const Bn = v.forwardRef(
6883
6889
  Bn.displayName = "Link";
6884
6890
  const Mi = aa, On = v.forwardRef(
6885
6891
  (u, d) => {
6886
- var x = u, {
6892
+ var b = u, {
6887
6893
  className: e,
6888
6894
  containerClassName: t,
6889
6895
  mask: r,
@@ -6893,7 +6899,7 @@ const Mi = aa, On = v.forwardRef(
6893
6899
  onChange: s,
6894
6900
  size: l = "md",
6895
6901
  currentCountry: c
6896
- } = x, f = L(x, [
6902
+ } = b, f = L(b, [
6897
6903
  "className",
6898
6904
  "containerClassName",
6899
6905
  "mask",
@@ -6904,8 +6910,8 @@ const Mi = aa, On = v.forwardRef(
6904
6910
  "size",
6905
6911
  "currentCountry"
6906
6912
  ]);
6907
- const b = v.useRef(null);
6908
- return v.useImperativeHandle(d, () => b.current), /* @__PURE__ */ n(
6913
+ const x = v.useRef(null);
6914
+ return v.useImperativeHandle(d, () => x.current), /* @__PURE__ */ n(
6909
6915
  Mi,
6910
6916
  F(w({
6911
6917
  mask: r,
@@ -6920,7 +6926,7 @@ const Mi = aa, On = v.forwardRef(
6920
6926
  Fe,
6921
6927
  F(w(w({}, m), f), {
6922
6928
  size: l,
6923
- ref: b,
6929
+ ref: x,
6924
6930
  className: e,
6925
6931
  containerClassName: t
6926
6932
  })
@@ -6951,7 +6957,7 @@ const Ei = {
6951
6957
  _n.displayName = le.Overlay.displayName;
6952
6958
  const Ai = v.forwardRef(
6953
6959
  (u, d) => {
6954
- var x = u, {
6960
+ var b = u, {
6955
6961
  className: e,
6956
6962
  children: t,
6957
6963
  showClose: r = !0,
@@ -6961,7 +6967,7 @@ const Ai = v.forwardRef(
6961
6967
  hideOverlay: s = !1,
6962
6968
  fullScreen: l = !1,
6963
6969
  width: c = "sm"
6964
- } = x, f = L(x, [
6970
+ } = b, f = L(b, [
6965
6971
  "className",
6966
6972
  "children",
6967
6973
  "showClose",
@@ -6972,16 +6978,16 @@ const Ai = v.forwardRef(
6972
6978
  "fullScreen",
6973
6979
  "width"
6974
6980
  ]);
6975
- const b = fe(null), [m, y] = ee(!1);
6981
+ const x = fe(null), [m, y] = ee(!1);
6976
6982
  return de(() => {
6977
6983
  const g = () => {
6978
- b.current && y(b.current.scrollTop > 0);
6984
+ x.current && y(x.current.scrollTop > 0);
6979
6985
  };
6980
6986
  return setTimeout(() => {
6981
- const h = b.current;
6987
+ const h = x.current;
6982
6988
  h && h.addEventListener("scroll", g);
6983
6989
  }, 2e3), () => {
6984
- const h = b.current;
6990
+ const h = x.current;
6985
6991
  h && h.removeEventListener("scroll", g);
6986
6992
  };
6987
6993
  }, []), /* @__PURE__ */ I(Ri, { children: [
@@ -7019,7 +7025,7 @@ const Ai = v.forwardRef(
7019
7025
  "div",
7020
7026
  {
7021
7027
  className: "no-scrollbar flex flex-col overflow-y-auto",
7022
- ref: b,
7028
+ ref: x,
7023
7029
  children: t
7024
7030
  }
7025
7031
  ),
@@ -7166,14 +7172,14 @@ const Bl = Xn((e, t) => {
7166
7172
  errorMessage: f,
7167
7173
  title: d,
7168
7174
  fnGetCode: u,
7169
- timer: x = 60,
7170
- smsTexts: b = {
7175
+ timer: b = 60,
7176
+ smsTexts: x = {
7171
7177
  resend: "Отправить код повторно",
7172
7178
  sms: "Отправить СМС через"
7173
7179
  }
7174
7180
  } = e, m = e["data-cy"], y = e["data-testid"], [g, h] = ee(0), [C, N] = ee(
7175
7181
  Array.from({ length: r }, () => "")
7176
- ), [T, E] = ee(u ? x : 0), [M, R] = ee(!!u), [k, D] = ee(c), [z, G] = ee(f), j = (K) => {
7182
+ ), [S, E] = ee(u ? b : 0), [M, R] = ee(!!u), [k, D] = ee(c), [z, _] = ee(f), j = (K) => {
7177
7183
  const Y = Math.max(Math.min(r - 1, K), 0);
7178
7184
  h(Y);
7179
7185
  };
@@ -7181,22 +7187,22 @@ const Bl = Xn((e, t) => {
7181
7187
  focusInput: j
7182
7188
  })), de(() => {
7183
7189
  let K;
7184
- return M && T > 0 ? K = setInterval(() => {
7190
+ return M && S > 0 ? K = setInterval(() => {
7185
7191
  E((Y) => Y - 1);
7186
- }, 1e3) : T === 0 && R(!1), () => {
7192
+ }, 1e3) : S === 0 && R(!1), () => {
7187
7193
  K && clearInterval(K);
7188
7194
  };
7189
- }, [T, M]), de(() => {
7190
- D(c), G(f);
7195
+ }, [S, M]), de(() => {
7196
+ D(c), _(f);
7191
7197
  }, [c, f]);
7192
7198
  const P = () => {
7193
- u && !M && (u(), E(x), R(!0));
7199
+ u && !M && (u(), E(b), R(!0));
7194
7200
  }, W = (K) => {
7195
7201
  var Ne;
7196
- k && (D(!1), G("")), N(K);
7202
+ k && (D(!1), _("")), N(K);
7197
7203
  const Y = K.join("");
7198
7204
  a(Y), Y.length === r && ((Ne = e.onComplete) == null || Ne.call(e, Y), l && (N(Array.from({ length: r }, () => "")), h(0)));
7199
- }, _ = (K) => !Number.isNaN(Number.parseInt(K, 10)) && K.trim().length === 1, J = () => {
7205
+ }, G = (K) => !Number.isNaN(Number.parseInt(K, 10)) && K.trim().length === 1, J = () => {
7200
7206
  j(g + 1);
7201
7207
  }, U = () => {
7202
7208
  j(g - 1);
@@ -7219,12 +7225,12 @@ const Bl = Xn((e, t) => {
7219
7225
  W(Ne.split(""));
7220
7226
  return;
7221
7227
  }
7222
- _(Ne) && B(Ne);
7228
+ G(Ne) && B(Ne);
7223
7229
  }, ne = (K) => {
7224
7230
  s || (K.keyCode === Pi || K.key === "Backspace" ? (K.preventDefault(), B(""), U()) : K.keyCode === Oi || K.key === "Delete" ? (K.preventDefault(), B("")) : K.keyCode === zi || K.key === "ArrowLeft" ? (K.preventDefault(), U()) : K.keyCode === Bi || K.key === "ArrowRight" ? (K.preventDefault(), J()) : (K.keyCode === _i || K.key === " " || K.key === "Spacebar" || K.key === "Space") && K.preventDefault());
7225
7231
  }, be = (K) => {
7226
7232
  if (!s) {
7227
- if (_(K.currentTarget.value)) {
7233
+ if (G(K.currentTarget.value)) {
7228
7234
  J();
7229
7235
  return;
7230
7236
  }
@@ -7266,11 +7272,11 @@ const Bl = Xn((e, t) => {
7266
7272
  )) }),
7267
7273
  k && z && /* @__PURE__ */ n(O, { variant: "p2", textColor: "destructive", className: "font-cofo", children: z }),
7268
7274
  u && /* @__PURE__ */ n("div", { children: M ? /* @__PURE__ */ I(O, { variant: "p2", textColor: "muted", className: "font-cofo", children: [
7269
- b.sms,
7275
+ x.sms,
7270
7276
  " ",
7271
7277
  "0:",
7272
- T < 10 ? `0${T}` : T
7273
- ] }) : /* @__PURE__ */ n(Bn, { onClick: P, children: b.resend }) })
7278
+ S < 10 ? `0${S}` : S
7279
+ ] }) : /* @__PURE__ */ n(Bn, { onClick: P, children: x.resend }) })
7274
7280
  ] });
7275
7281
  }), Pr = (e, t, r) => Math.min(Math.max(e, t), r);
7276
7282
  function Wi(e, t) {
@@ -7318,11 +7324,11 @@ const Ol = ({
7318
7324
  showQuickJumper: l = !1,
7319
7325
  locale: c
7320
7326
  }) => {
7321
- var N, T;
7327
+ var N, S;
7322
7328
  const f = Math.max(1, Math.ceil((t || 0) / (r || 10))), d = Pr(e || 1, 1, f), u = q(
7323
7329
  () => [{ type: "prev" }, ...Vi(d, f), { type: "next" }],
7324
7330
  [d, f]
7325
- ), [x, b] = ee("");
7331
+ ), [b, x] = ee("");
7326
7332
  if (s && f <= 1)
7327
7333
  return null;
7328
7334
  const m = (E) => {
@@ -7347,9 +7353,9 @@ const Ol = ({
7347
7353
  }, g = () => {
7348
7354
  if (i)
7349
7355
  return;
7350
- const E = typeof x == "number" ? x : Number(x);
7351
- Number.isFinite(E) && (m(E), b(""));
7352
- }, h = (N = c == null ? void 0 : c.jump_to) != null ? N : "Перейти на", C = (T = c == null ? void 0 : c.page) != null ? T : "страницу";
7356
+ const E = typeof b == "number" ? b : Number(b);
7357
+ Number.isFinite(E) && (m(E), x(""));
7358
+ }, h = (N = c == null ? void 0 : c.jump_to) != null ? N : "Перейти на", C = (S = c == null ? void 0 : c.page) != null ? S : "страницу";
7353
7359
  return /* @__PURE__ */ I("div", { className: p("flex items-center justify-between gap-3 flex-wrap", o), "data-testid": "paginator", children: [
7354
7360
  /* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-wrap", children: u.map((E, M) => {
7355
7361
  const R = Wi(E, f), k = E.type === "page" && E.page === d, D = `${E.type}-${E.type === "page" ? E.page : M}`, z = E.type === "prev" || E.type === "next" ? /* @__PURE__ */ n(
@@ -7402,8 +7408,8 @@ const Ol = ({
7402
7408
  /* @__PURE__ */ n(
7403
7409
  zn,
7404
7410
  {
7405
- value: x,
7406
- onChange: (E) => b(E === "" ? "" : Number(E)),
7411
+ value: b,
7412
+ onChange: (E) => x(E === "" ? "" : Number(E)),
7407
7413
  min: 1,
7408
7414
  max: f,
7409
7415
  allowNegative: !1,
@@ -8243,7 +8249,7 @@ const Gn = Ce.forwardRef(
8243
8249
  "inputSize",
8244
8250
  "isLoading"
8245
8251
  ]);
8246
- const x = _t(), b = s != null ? s : i, m = () => /* @__PURE__ */ n(lt, { children: /* @__PURE__ */ n(dt, { children: /* @__PURE__ */ n(ct, { children: t == null ? void 0 : t.map((y, g) => /* @__PURE__ */ I(
8252
+ const b = _t(), x = s != null ? s : i, m = () => /* @__PURE__ */ n(lt, { children: /* @__PURE__ */ n(dt, { children: /* @__PURE__ */ n(ct, { children: t == null ? void 0 : t.map((y, g) => /* @__PURE__ */ I(
8247
8253
  Ft,
8248
8254
  {
8249
8255
  onSelect: () => o(y),
@@ -8262,12 +8268,12 @@ const Gn = Ce.forwardRef(
8262
8268
  mask: r,
8263
8269
  alwaysShowMask: !0,
8264
8270
  className: p(e, {
8265
- "text-[14px]": b === "md",
8266
- "text-[16px]": b === "lg"
8271
+ "text-[14px]": x === "md",
8272
+ "text-[16px]": x === "lg"
8267
8273
  }),
8268
8274
  containerClassName: p("rounded-none border-0 border-none hover:border-0 focus:border-0 enabled:hover:border-0 focus-within:shadow-none", {
8269
- "text-[16px]": b === "lg",
8270
- "text-[14px]": b === "md"
8275
+ "text-[16px]": x === "lg",
8276
+ "text-[14px]": x === "md"
8271
8277
  }),
8272
8278
  error: void 0,
8273
8279
  caption: void 0,
@@ -8277,20 +8283,20 @@ const Gn = Ce.forwardRef(
8277
8283
  const g = y.clipboardData.getData("text/plain"), h = y.target, C = Be.parsePhoneNumber(g);
8278
8284
  let N = "";
8279
8285
  !(C != null && C.country) && (g.startsWith("+8") || g.startsWith("8")) ? N = `+${g.replace(/\D/g, "").replace("8", "7")}` : !(C != null && C.country) && g.startsWith("7") ? N = `+${g}` : N = g, h.value = N;
8280
- const T = F(w({}, y), {
8286
+ const S = F(w({}, y), {
8281
8287
  target: h
8282
8288
  });
8283
- a == null || a(T);
8289
+ a == null || a(S);
8284
8290
  },
8285
8291
  onChange: a,
8286
- size: b
8292
+ size: x
8287
8293
  }, c), {
8288
8294
  ref: f
8289
8295
  })
8290
8296
  ),
8291
8297
  l && /* @__PURE__ */ n(Ve, { size: 16, className: "absolute top-1/2 right-2 -translate-y-1/2 text-default" }),
8292
8298
  !l && t && t.length > 1 && /* @__PURE__ */ I(pe, { children: [
8293
- x === "mobile" && /* @__PURE__ */ I(pt, { children: [
8299
+ b === "mobile" && /* @__PURE__ */ I(pt, { children: [
8294
8300
  /* @__PURE__ */ n(Ze, { asChild: !0, children: /* @__PURE__ */ n(
8295
8301
  Q,
8296
8302
  {
@@ -8314,7 +8320,7 @@ const Gn = Ce.forwardRef(
8314
8320
  )
8315
8321
  ] })
8316
8322
  ] }),
8317
- x !== "mobile" && /* @__PURE__ */ I($e, { children: [
8323
+ b !== "mobile" && /* @__PURE__ */ I($e, { children: [
8318
8324
  /* @__PURE__ */ n(Ye, { asChild: !0, children: /* @__PURE__ */ n(
8319
8325
  Q,
8320
8326
  {
@@ -8380,7 +8386,7 @@ const _r = jr(
8380
8386
  inputSize: l = "lg"
8381
8387
  }) => {
8382
8388
  var g;
8383
- const [c, f] = Ce.useState(!1), [d, u] = Ce.useState(""), x = _t(), b = (g = t != null ? t : r) != null ? g : ut, m = (h) => {
8389
+ const [c, f] = Ce.useState(!1), [d, u] = Ce.useState(""), b = _t(), x = (g = t != null ? t : r) != null ? g : ut, m = (h) => {
8384
8390
  h && (o(h), f(!1));
8385
8391
  }, y = Ce.useMemo(() => {
8386
8392
  if (!d)
@@ -8390,12 +8396,12 @@ const _r = jr(
8390
8396
  var M;
8391
8397
  if (!C)
8392
8398
  return !1;
8393
- const T = ((M = i[C]) == null ? void 0 : M.toLowerCase()) || N.toLowerCase(), E = Be.getCountryCallingCode(C);
8394
- return T.includes(h) || C.toLowerCase().includes(h) || `+${E}`.includes(h);
8399
+ const S = ((M = i[C]) == null ? void 0 : M.toLowerCase()) || N.toLowerCase(), E = Be.getCountryCallingCode(C);
8400
+ return S.includes(h) || C.toLowerCase().includes(h) || `+${E}`.includes(h);
8395
8401
  });
8396
8402
  }, [a, d]);
8397
8403
  return /* @__PURE__ */ I(pe, { children: [
8398
- x === "mobile" && /* @__PURE__ */ I(pt, { open: c, onOpenChange: f, children: [
8404
+ b === "mobile" && /* @__PURE__ */ I(pt, { open: c, onOpenChange: f, children: [
8399
8405
  /* @__PURE__ */ n(
8400
8406
  Ze,
8401
8407
  {
@@ -8420,8 +8426,8 @@ const _r = jr(
8420
8426
  /* @__PURE__ */ n(
8421
8427
  Mt,
8422
8428
  {
8423
- country: b,
8424
- countryName: i[b]
8429
+ country: x,
8430
+ countryName: i[x]
8425
8431
  }
8426
8432
  ),
8427
8433
  /* @__PURE__ */ n(
@@ -8469,7 +8475,7 @@ const _r = jr(
8469
8475
  ] }) }) })
8470
8476
  ] })
8471
8477
  ] }),
8472
- x !== "mobile" && /* @__PURE__ */ I($e, { open: c, onOpenChange: f, children: [
8478
+ b !== "mobile" && /* @__PURE__ */ I($e, { open: c, onOpenChange: f, children: [
8473
8479
  /* @__PURE__ */ n(
8474
8480
  Ye,
8475
8481
  {
@@ -8493,8 +8499,8 @@ const _r = jr(
8493
8499
  /* @__PURE__ */ n(
8494
8500
  Mt,
8495
8501
  {
8496
- country: b,
8497
- countryName: i[b]
8502
+ country: x,
8503
+ countryName: i[x]
8498
8504
  }
8499
8505
  ),
8500
8506
  /* @__PURE__ */ n(
@@ -8555,7 +8561,7 @@ const _r = jr(
8555
8561
  ] });
8556
8562
  }
8557
8563
  ), _l = Ce.forwardRef(
8558
- (m, b) => {
8564
+ (m, x) => {
8559
8565
  var y = m, {
8560
8566
  className: e,
8561
8567
  onChange: t,
@@ -8569,7 +8575,7 @@ const _r = jr(
8569
8575
  locale: f = "ru",
8570
8576
  size: d = "lg",
8571
8577
  isLoading: u = !1
8572
- } = y, x = L(y, [
8578
+ } = y, b = L(y, [
8573
8579
  "className",
8574
8580
  "onChange",
8575
8581
  "label",
@@ -8583,8 +8589,8 @@ const _r = jr(
8583
8589
  "size",
8584
8590
  "isLoading"
8585
8591
  ]);
8586
- var G, j;
8587
- const [g, h] = Ce.useState(() => ""), [C, N] = Ce.useState([]), [T, E] = Ce.useState(l), M = (() => {
8592
+ var _, j;
8593
+ const [g, h] = Ce.useState(() => ""), [C, N] = Ce.useState([]), [S, E] = Ce.useState(l), M = (() => {
8588
8594
  switch (f) {
8589
8595
  case "en":
8590
8596
  return ia;
@@ -8599,8 +8605,8 @@ const _r = jr(
8599
8605
  })(), R = ji[f];
8600
8606
  Ce.useEffect(() => {
8601
8607
  if (i && i !== "+7") {
8602
- const _ = Be.parsePhoneNumber(i);
8603
- if (!(_ != null && _.country) && (i.startsWith("+8") || i.startsWith("8"))) {
8608
+ const G = Be.parsePhoneNumber(i);
8609
+ if (!(G != null && G.country) && (i.startsWith("+8") || i.startsWith("8"))) {
8604
8610
  t == null || t(`+${i.replace(/\D/g, "").replace("8", "7")}`);
8605
8611
  return;
8606
8612
  }
@@ -8609,13 +8615,13 @@ const _r = jr(
8609
8615
  E(P), h(W[0]), N(W);
8610
8616
  }, [l, t, i]);
8611
8617
  const k = (P) => {
8612
- const W = Yi(P), _ = Or(
8618
+ const W = Yi(P), G = Or(
8613
8619
  W,
8614
- T != null ? T : l
8620
+ S != null ? S : l
8615
8621
  );
8616
- if (_ !== T) {
8617
- const U = Jt(_);
8618
- E(_), h(U[0]), N(U);
8622
+ if (G !== S) {
8623
+ const U = Jt(G);
8624
+ E(G), h(U[0]), N(U);
8619
8625
  }
8620
8626
  t == null || t(W);
8621
8627
  const J = Be.isPossiblePhoneNumber(W);
@@ -8626,8 +8632,8 @@ const _r = jr(
8626
8632
  E(P);
8627
8633
  const W = Jt(P);
8628
8634
  h(W[0]), N(W);
8629
- const _ = `+${Be.getCountryCallingCode(P)}`;
8630
- t == null || t(_);
8635
+ const G = `+${Be.getCountryCallingCode(P)}`;
8636
+ t == null || t(G);
8631
8637
  }, z = (P) => {
8632
8638
  h(P);
8633
8639
  };
@@ -8636,24 +8642,24 @@ const _r = jr(
8636
8642
  /* @__PURE__ */ n(
8637
8643
  Be.default,
8638
8644
  w({
8639
- ref: b,
8645
+ ref: x,
8640
8646
  "data-testid": s,
8641
8647
  value: i,
8642
8648
  tabIndex: 0,
8643
- defaultCountry: (G = T != null ? T : l) != null ? G : ut,
8649
+ defaultCountry: (_ = S != null ? S : l) != null ? _ : ut,
8644
8650
  className: p(
8645
8651
  "border-border flex overflow-hidden border transition-colors",
8646
8652
  "hover:border-hover-input-primary focus-within:border-primary focus-within:shadow-focus flex items-center bg-white",
8647
8653
  { "h-8 rounded-lg": d === "md" },
8648
8654
  { "h-10 rounded-xl": d === "lg" },
8649
8655
  e,
8650
- { "hover:border-border bg-muted": x.disabled }
8656
+ { "hover:border-border bg-muted": b.disabled }
8651
8657
  ),
8652
8658
  flagComponent: Mt,
8653
8659
  countryCallingCodeEditable: !1,
8654
8660
  countrySelectComponent: Zi,
8655
8661
  countrySelectProps: {
8656
- defaultCountry: (j = T != null ? T : l) != null ? j : ut,
8662
+ defaultCountry: (j = S != null ? S : l) != null ? j : ut,
8657
8663
  locale: M,
8658
8664
  translations: R,
8659
8665
  inputSize: d
@@ -8680,7 +8686,7 @@ const _r = jr(
8680
8686
  "IL",
8681
8687
  "ES"
8682
8688
  ]
8683
- }, x)
8689
+ }, b)
8684
8690
  ),
8685
8691
  o && /* @__PURE__ */ n(O, { variant: "p1", className: "mt-1.5", textColor: "secondary", children: o }),
8686
8692
  a && /* @__PURE__ */ n(O, { variant: "p2", className: "mt-1.5", textColor: "destructive", children: a })
@@ -8803,8 +8809,8 @@ const es = me(
8803
8809
  onClick: f,
8804
8810
  onFocus: d,
8805
8811
  onBlur: u,
8806
- "data-testid": x
8807
- } = g, b = L(g, [
8812
+ "data-testid": b
8813
+ } = g, x = L(g, [
8808
8814
  "className",
8809
8815
  "size",
8810
8816
  "label",
@@ -8819,11 +8825,11 @@ const es = me(
8819
8825
  "onBlur",
8820
8826
  "data-testid"
8821
8827
  ]);
8822
- const h = a || !1, C = o || !1, N = v.useId(), T = s || `${N}-radio`;
8828
+ const h = a || !1, C = o || !1, N = v.useId(), S = s || `${N}-radio`;
8823
8829
  return /* @__PURE__ */ n(
8824
8830
  "label",
8825
8831
  {
8826
- htmlFor: T,
8832
+ htmlFor: S,
8827
8833
  className: p(
8828
8834
  "select-none",
8829
8835
  C ? "cursor-not-allowed opacity-40" : "cursor-pointer"
@@ -8843,10 +8849,10 @@ const es = me(
8843
8849
  checked: a,
8844
8850
  disabled: C,
8845
8851
  value: i,
8846
- id: T
8847
- }, b), {
8852
+ id: S
8853
+ }, x), {
8848
8854
  ref: m,
8849
- "data-testid": x
8855
+ "data-testid": b
8850
8856
  })
8851
8857
  ),
8852
8858
  r && /* @__PURE__ */ n("span", { children: r })
@@ -8982,13 +8988,13 @@ const as = v.forwardRef(
8982
8988
  "defaultValue",
8983
8989
  "data-testid"
8984
8990
  ]);
8985
- const [u, x] = v.useState(
8991
+ const [u, b] = v.useState(
8986
8992
  o || i || ""
8987
- ), b = (m) => {
8988
- m && m !== u && (x(m), a == null || a(m));
8993
+ ), x = (m) => {
8994
+ m && m !== u && (b(m), a == null || a(m));
8989
8995
  };
8990
8996
  return v.useEffect(() => {
8991
- o !== void 0 && x(o);
8997
+ o !== void 0 && b(o);
8992
8998
  }, [o]), /* @__PURE__ */ n(
8993
8999
  Dt.Root,
8994
9000
  F(w({
@@ -8996,7 +9002,7 @@ const as = v.forwardRef(
8996
9002
  type: "single",
8997
9003
  className: p(ns({ size: t }), e),
8998
9004
  value: u,
8999
- onValueChange: b,
9005
+ onValueChange: x,
9000
9006
  "data-testid": s
9001
9007
  }, l), {
9002
9008
  children: v.Children.map(r, (m) => v.isValidElement(m) && m.type === jn ? v.cloneElement(m, { size: t }) : m)
@@ -9007,7 +9013,7 @@ const as = v.forwardRef(
9007
9013
  as.displayName = Dt.Root.displayName;
9008
9014
  const os = v.forwardRef(
9009
9015
  (u, d) => {
9010
- var x = u, {
9016
+ var b = u, {
9011
9017
  className: e,
9012
9018
  size: t = "default",
9013
9019
  icon: r,
@@ -9017,7 +9023,7 @@ const os = v.forwardRef(
9017
9023
  disabled: s,
9018
9024
  active: l,
9019
9025
  "data-testid": c
9020
- } = x, f = L(x, [
9026
+ } = b, f = L(b, [
9021
9027
  "className",
9022
9028
  "size",
9023
9029
  "icon",
@@ -9028,8 +9034,8 @@ const os = v.forwardRef(
9028
9034
  "active",
9029
9035
  "data-testid"
9030
9036
  ]);
9031
- const [b, m] = v.useState(!1), y = l !== void 0 ? l : b, g = () => {
9032
- l !== void 0 || m(!b), i == null || i();
9037
+ const [x, m] = v.useState(!1), y = l !== void 0 ? l : x, g = () => {
9038
+ l !== void 0 || m(!x), i == null || i();
9033
9039
  }, h = () => r ? v.isValidElement(r) ? r : /* @__PURE__ */ n(V, { icon: r }) : null, C = /* @__PURE__ */ I(pe, { children: [
9034
9040
  a === "start" && h(),
9035
9041
  o && /* @__PURE__ */ n(
@@ -9188,7 +9194,7 @@ const is = me(
9188
9194
  }
9189
9195
  ), ls = v.forwardRef((d, f) => {
9190
9196
  var u = d, { className: e, size: t, label: r, loading: a, checked: o, disabled: i, "data-testid": s, onCheckedChange: l } = u, c = L(u, ["className", "size", "label", "loading", "checked", "disabled", "data-testid", "onCheckedChange"]);
9191
- const x = o || !1, b = i || !1, m = fe(void 0), y = (h) => {
9197
+ const b = o || !1, x = i || !1, m = fe(void 0), y = (h) => {
9192
9198
  m.current = h;
9193
9199
  }, g = (h) => {
9194
9200
  l && (l(h, m.current), m.current = void 0);
@@ -9200,14 +9206,14 @@ const is = me(
9200
9206
  className: p(
9201
9207
  is({
9202
9208
  size: t,
9203
- isChecked: x,
9209
+ isChecked: b,
9204
9210
  isLoading: !!a,
9205
- isDisabled: b
9211
+ isDisabled: x
9206
9212
  }),
9207
9213
  e
9208
9214
  ),
9209
9215
  checked: o,
9210
- disabled: b,
9216
+ disabled: x,
9211
9217
  isLoading: a,
9212
9218
  defaultChecked: o,
9213
9219
  ref: f,
@@ -9238,7 +9244,7 @@ const is = me(
9238
9244
  {
9239
9245
  className: p(
9240
9246
  "font-medium leading-none",
9241
- b && "opacity-40 cursor-not-allowed"
9247
+ x && "opacity-40 cursor-not-allowed"
9242
9248
  ),
9243
9249
  children: r
9244
9250
  }
@@ -9366,68 +9372,68 @@ function ps({
9366
9372
  tbodyDataTestId: c,
9367
9373
  rowDataTestId: f
9368
9374
  }) {
9369
- const d = e.getRowModel().rows, [u, x] = ee(() => /* @__PURE__ */ new Set()), b = fe(null), m = fe(/* @__PURE__ */ new Map());
9375
+ const d = e.getRowModel().rows, [u, b] = ee(() => /* @__PURE__ */ new Set()), x = fe(null), m = fe(/* @__PURE__ */ new Map());
9370
9376
  return de(() => () => {
9371
9377
  m.current.forEach((y) => {
9372
9378
  window.clearTimeout(y);
9373
9379
  }), m.current.clear();
9374
9380
  }, []), de(() => {
9375
9381
  if (!l) {
9376
- b.current = null, x(/* @__PURE__ */ new Set()), m.current.forEach((C) => window.clearTimeout(C)), m.current.clear();
9382
+ x.current = null, b(/* @__PURE__ */ new Set()), m.current.forEach((C) => window.clearTimeout(C)), m.current.clear();
9377
9383
  return;
9378
9384
  }
9379
9385
  const y = d.map((C) => C.id);
9380
- if (b.current === null) {
9381
- b.current = new Set(y);
9386
+ if (x.current === null) {
9387
+ x.current = new Set(y);
9382
9388
  return;
9383
9389
  }
9384
- const g = b.current, h = y.filter((C) => !g.has(C));
9385
- b.current = new Set(y), h.length !== 0 && (x((C) => {
9390
+ const g = x.current, h = y.filter((C) => !g.has(C));
9391
+ x.current = new Set(y), h.length !== 0 && (b((C) => {
9386
9392
  const N = new Set(C);
9387
- return h.forEach((T) => N.add(T)), N;
9393
+ return h.forEach((S) => N.add(S)), N;
9388
9394
  }), h.forEach((C) => {
9389
9395
  const N = m.current.get(C);
9390
9396
  N && window.clearTimeout(N);
9391
- const T = window.setTimeout(() => {
9392
- x((E) => {
9397
+ const S = window.setTimeout(() => {
9398
+ b((E) => {
9393
9399
  if (!E.has(C))
9394
9400
  return E;
9395
9401
  const M = new Set(E);
9396
9402
  return M.delete(C), M;
9397
9403
  }), m.current.delete(C);
9398
9404
  }, 1400);
9399
- m.current.set(C, T);
9405
+ m.current.set(C, S);
9400
9406
  }));
9401
9407
  }, [l, d]), d.length === 0 ? /* @__PURE__ */ n("tbody", { "data-testid": c, children: /* @__PURE__ */ n("tr", { "data-testid": f, children: /* @__PURE__ */ n("td", { colSpan: Math.max(1, t), className: "p-0", children: /* @__PURE__ */ n(Hn, { locale: a }) }) }) }) : /* @__PURE__ */ n("tbody", { "data-testid": c, children: d.map((y) => {
9402
- var k, D, z, G;
9403
- const g = y.index, h = (k = r == null ? void 0 : r(y.original, g)) != null ? k : {}, C = typeof h.onClick == "function", N = h.onClick, T = l && u.has(y.id), E = (j) => {
9408
+ var k, D, z, _;
9409
+ const g = y.index, h = (k = r == null ? void 0 : r(y.original, g)) != null ? k : {}, C = typeof h.onClick == "function", N = h.onClick, S = l && u.has(y.id), E = (j) => {
9404
9410
  var P;
9405
9411
  (P = h.onKeyDown) == null || P.call(h, j), C && (j.key !== "Enter" && j.key !== " " || (j.preventDefault(), j.currentTarget.click()));
9406
9412
  }, M = p(
9407
9413
  "group transition-colors",
9408
- T && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9414
+ S && "data-[new=true]:animate-in data-[new=true]:fade-in-0",
9409
9415
  // Комментарий: если передан onRow — считаем строку интерактивной (как переход/роутинг в main-app)
9410
9416
  (r || C) && "cursor-pointer",
9411
9417
  h.className
9412
9418
  ), R = p(
9413
9419
  "bg-background group-hover:bg-[#F6F6F7]",
9414
- T && "bg-primary/5 group-hover:bg-primary/10"
9420
+ S && "bg-primary/5 group-hover:bg-primary/10"
9415
9421
  );
9416
9422
  return /* @__PURE__ */ n(
9417
9423
  "tr",
9418
9424
  F(w({
9419
9425
  "data-testid": f
9420
9426
  }, h), {
9421
- "data-new": T ? "true" : void 0,
9427
+ "data-new": S ? "true" : void 0,
9422
9428
  className: M,
9423
9429
  onClick: N,
9424
9430
  onKeyDown: C ? E : h.onKeyDown,
9425
9431
  role: C ? (D = h.role) != null ? D : "button" : h.role,
9426
9432
  tabIndex: C ? (z = h.tabIndex) != null ? z : 0 : h.tabIndex,
9427
- "aria-label": C ? (G = h["aria-label"]) != null ? G : "Открыть строку" : h["aria-label"],
9433
+ "aria-label": C ? (_ = h["aria-label"]) != null ? _ : "Открыть строку" : h["aria-label"],
9428
9434
  children: y.getVisibleCells().map((j) => {
9429
9435
  var be, oe, Te;
9430
- const P = j.column.columnDef.meta, W = y.original, _ = g === d.length - 1, J = Qr(j.column.columnDef.cell, j.getContext()), U = (be = P == null ? void 0 : P.cellStyle) == null ? void 0 : be.call(P, W, g), B = (oe = P == null ? void 0 : P.cellClassName) == null ? void 0 : oe.call(P, W, g), H = hr(P == null ? void 0 : P.align), re = br(P == null ? void 0 : P.fixed, j.column.id, o), ne = xr(P == null ? void 0 : P.fixed, j.column.id, i, s);
9436
+ const P = j.column.columnDef.meta, W = y.original, G = g === d.length - 1, J = Qr(j.column.columnDef.cell, j.getContext()), U = (be = P == null ? void 0 : P.cellStyle) == null ? void 0 : be.call(P, W, g), B = (oe = P == null ? void 0 : P.cellClassName) == null ? void 0 : oe.call(P, W, g), H = hr(P == null ? void 0 : P.align), re = br(P == null ? void 0 : P.fixed, j.column.id, o), ne = xr(P == null ? void 0 : P.fixed, j.column.id, i, s);
9431
9437
  return /* @__PURE__ */ n(
9432
9438
  "td",
9433
9439
  {
@@ -9438,7 +9444,7 @@ function ps({
9438
9444
  H,
9439
9445
  P == null ? void 0 : P.className,
9440
9446
  B,
9441
- _ && "border-b-0",
9447
+ G && "border-b-0",
9442
9448
  ((P == null ? void 0 : P.fixed) === "left" || (P == null ? void 0 : P.fixed) === "right") && "sticky z-10"
9443
9449
  ),
9444
9450
  style: F(w(w({
@@ -9506,12 +9512,12 @@ function bs(e, t) {
9506
9512
  "data-testid": e["data-testid"],
9507
9513
  defaultSortOrder: e.defaultSortOrder,
9508
9514
  cellStyle: e.onCell ? (f, d) => {
9509
- var u, x;
9510
- return (x = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : x.style;
9515
+ var u, b;
9516
+ return (b = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : b.style;
9511
9517
  } : void 0,
9512
9518
  cellClassName: e.onCell ? (f, d) => {
9513
- var u, x;
9514
- return (x = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : x.className;
9519
+ var u, b;
9520
+ return (b = (u = e.onCell) == null ? void 0 : u.call(e, f, d)) == null ? void 0 : b.className;
9515
9521
  } : void 0
9516
9522
  };
9517
9523
  return {
@@ -9524,8 +9530,8 @@ function bs(e, t) {
9524
9530
  meta: o,
9525
9531
  header: () => e.title,
9526
9532
  cell: (f) => {
9527
- const d = f.row.original, u = f.row.index, x = f.getValue();
9528
- return e.render ? e.render(x, d, u) : x;
9533
+ const d = f.row.original, u = f.row.index, b = f.getValue();
9534
+ return e.render ? e.render(b, d, u) : b;
9529
9535
  }
9530
9536
  };
9531
9537
  }
@@ -9541,7 +9547,7 @@ function xs({
9541
9547
  }) {
9542
9548
  return /* @__PURE__ */ n("thead", { children: e.getHeaderGroups().map((c) => /* @__PURE__ */ n("tr", { className: "h-[37px]", children: c.headers.map((f) => {
9543
9549
  var M;
9544
- const d = f.column.columnDef.meta, u = f.column.getCanSort(), x = f.column.getIsSorted(), b = void 0, m = hr(d == null ? void 0 : d.align), y = br(d == null ? void 0 : d.fixed, f.column.id, i), g = xr(d == null ? void 0 : d.fixed, f.column.id, s, l), h = u ? f.column.getToggleSortingHandler() : void 0, C = f.isPlaceholder ? null : Qr(f.column.columnDef.header, f.getContext()), N = t.findIndex((R, k) => He(R, k) === f.column.id), T = N >= 0 ? t[N] : void 0, E = typeof (T == null ? void 0 : T.title) == "function" ? T.title({
9550
+ const d = f.column.columnDef.meta, u = f.column.getCanSort(), b = f.column.getIsSorted(), x = void 0, m = hr(d == null ? void 0 : d.align), y = br(d == null ? void 0 : d.fixed, f.column.id, i), g = xr(d == null ? void 0 : d.fixed, f.column.id, s, l), h = u ? f.column.getToggleSortingHandler() : void 0, C = f.isPlaceholder ? null : Qr(f.column.columnDef.header, f.getContext()), N = t.findIndex((R, k) => He(R, k) === f.column.id), S = N >= 0 ? t[N] : void 0, E = typeof (S == null ? void 0 : S.title) == "function" ? S.title({
9545
9551
  sortColumns: r.map((R) => ({
9546
9552
  column: { dataIndex: R.id, key: R.id, columnKey: R.id },
9547
9553
  order: R.desc ? "descend" : "ascend"
@@ -9576,11 +9582,11 @@ function xs({
9576
9582
  onClick: h,
9577
9583
  children: /* @__PURE__ */ I("div", { className: p("flex w-full items-center gap-2", ds(d == null ? void 0 : d.align)), children: [
9578
9584
  E,
9579
- u && /* @__PURE__ */ n("span", { title: b, className: "inline-flex items-center", children: /* @__PURE__ */ n(
9585
+ u && /* @__PURE__ */ n("span", { title: x, className: "inline-flex items-center", children: /* @__PURE__ */ n(
9580
9586
  V,
9581
9587
  {
9582
9588
  "aria-hidden": !0,
9583
- icon: x === "asc" ? "ArrowUpIcon" : x === "desc" ? "ArrowDownIcon" : "UnfoldIcon",
9589
+ icon: b === "asc" ? "ArrowUpIcon" : b === "desc" ? "ArrowDownIcon" : "UnfoldIcon",
9584
9590
  size: 16,
9585
9591
  className: p(
9586
9592
  // antd-like: base 0.45 = secondary, hover тоже оставляем в secondary (без “черного”)
@@ -9606,13 +9612,13 @@ function ys({
9606
9612
  return /* @__PURE__ */ n(pe, { children: Array.from({ length: i }).map((s, l) => {
9607
9613
  const c = l === i - 1, f = e.getVisibleLeafColumns();
9608
9614
  return /* @__PURE__ */ n("tr", { className: "animate-pulse", children: f.map((d) => {
9609
- const u = d.columnDef.meta, x = hr(u == null ? void 0 : u.align), b = br(u == null ? void 0 : u.fixed, d.id, r), m = xr(u == null ? void 0 : u.fixed, d.id, a, o);
9615
+ const u = d.columnDef.meta, b = hr(u == null ? void 0 : u.align), x = br(u == null ? void 0 : u.fixed, d.id, r), m = xr(u == null ? void 0 : u.fixed, d.id, a, o);
9610
9616
  return /* @__PURE__ */ n(
9611
9617
  "td",
9612
9618
  {
9613
9619
  className: p(
9614
9620
  "align-top border-b border-border p-2",
9615
- x,
9621
+ b,
9616
9622
  c && "border-b-0",
9617
9623
  ((u == null ? void 0 : u.fixed) === "left" || (u == null ? void 0 : u.fixed) === "right") && "sticky z-10 bg-background"
9618
9624
  ),
@@ -9620,7 +9626,7 @@ function ys({
9620
9626
  width: u == null ? void 0 : u.width,
9621
9627
  minWidth: u == null ? void 0 : u.minWidth,
9622
9628
  maxWidth: u == null ? void 0 : u.maxWidth
9623
- }, b), {
9629
+ }, x), {
9624
9630
  boxShadow: gr(void 0, m)
9625
9631
  }),
9626
9632
  children: /* @__PURE__ */ n(
@@ -9676,25 +9682,25 @@ function Wl({
9676
9682
  data: f,
9677
9683
  systemStyles: d = !0,
9678
9684
  hideStickyScrollbar: u,
9679
- clientSort: x = !1,
9680
- rowKey: b,
9685
+ clientSort: b = !1,
9686
+ rowKey: x,
9681
9687
  rowSelection: m,
9682
9688
  highlightNewRows: y = !1,
9683
9689
  pagination: g,
9684
9690
  showHeader: h = !0,
9685
9691
  showSorterTooltip: C = !0,
9686
9692
  onRow: N,
9687
- locale: T,
9693
+ locale: S,
9688
9694
  tbodyDataTestId: E,
9689
9695
  rowDataTestId: M = "item"
9690
9696
  }) {
9691
9697
  var yr, vr, wr;
9692
- const R = (yr = c != null ? c : f) != null ? yr : [], k = !!r, D = Math.max(1, Math.floor(a != null ? a : 10)), z = fe(null), G = !!m, j = (vr = m == null ? void 0 : m.selectAllMode) != null ? vr : (m == null ? void 0 : m.selectAllScope) === "all" ? "all" : "page", [P, W] = ee(
9698
+ const R = (yr = c != null ? c : f) != null ? yr : [], k = !!r, D = Math.max(1, Math.floor(a != null ? a : 10)), z = fe(null), _ = !!m, j = (vr = m == null ? void 0 : m.selectAllMode) != null ? vr : (m == null ? void 0 : m.selectAllScope) === "all" ? "all" : "page", [P, W] = ee(
9693
9699
  () => {
9694
9700
  var Z;
9695
9701
  return (Z = m == null ? void 0 : m.defaultSelectedRowKeys) != null ? Z : [];
9696
9702
  }
9697
- ), _ = (m == null ? void 0 : m.selectedRowKeys) !== void 0, J = (wr = m == null ? void 0 : m.selectedRowKeys) != null ? wr : P, U = q(() => new Set(J.map((Z) => String(Z))), [J]), B = q(() => G ? {
9703
+ ), G = (m == null ? void 0 : m.selectedRowKeys) !== void 0, J = (wr = m == null ? void 0 : m.selectedRowKeys) != null ? wr : P, U = q(() => new Set(J.map((Z) => String(Z))), [J]), B = q(() => _ ? {
9698
9704
  key: "__row_selection__",
9699
9705
  title: null,
9700
9706
  width: 44,
@@ -9704,7 +9710,7 @@ function Wl({
9704
9710
  align: "center",
9705
9711
  className: "p-2",
9706
9712
  "data-testid": "table-row-selection"
9707
- } : null, [G]), H = q(() => B ? [B, ...l] : l, [l, B]), re = q(
9713
+ } : null, [_]), H = q(() => B ? [B, ...l] : l, [l, B]), re = q(
9708
9714
  () => H.some((Z) => typeof Z.width == "number"),
9709
9715
  [H]
9710
9716
  ), ne = q(
@@ -9717,15 +9723,15 @@ function Wl({
9717
9723
  () => ms(H, He),
9718
9724
  [H]
9719
9725
  ), Te = q(() => (Z, ie) => {
9720
- if (typeof b == "function")
9721
- return b(Z);
9722
- if (b) {
9723
- const X = Z == null ? void 0 : Z[b];
9726
+ if (typeof x == "function")
9727
+ return x(Z);
9728
+ if (x) {
9729
+ const X = Z == null ? void 0 : Z[x];
9724
9730
  return X != null ? X : ie;
9725
9731
  }
9726
9732
  return ie;
9727
- }, [b]), K = q(() => {
9728
- const Z = G ? [
9733
+ }, [x]), K = q(() => {
9734
+ const Z = _ ? [
9729
9735
  {
9730
9736
  id: "__row_selection__",
9731
9737
  enableSorting: !1,
@@ -9746,7 +9752,7 @@ function Wl({
9746
9752
  }).map((ce) => ce.id), _e = ke.reduce((ce, Ae) => U.has(Ae) ? ce + 1 : ce, 0), je = ke.length > 0 && _e === ke.length, Nr = _e > 0 && !je, bt = je ? !0 : Nr ? "indeterminate" : !1, qe = ((Ir = m == null ? void 0 : m.allRowKeys) != null ? Ir : []).map((ce) => String(ce)), Ie = qe.length > 0 ? qe : ke, xt = Ie.reduce((ce, Ae) => U.has(Ae) ? ce + 1 : ce, 0), et = Ie.length > 0 && xt === Ie.length, jt = xt > 0 && !et, yt = et ? !0 : jt ? "indeterminate" : !1, tt = (ce, Ae, Le) => {
9747
9753
  var Pe;
9748
9754
  const ye = Ae ? Array.from(new Map([...J, ...ce].map((Ee) => [String(Ee), Ee])).values()) : J.filter((Ee) => !new Set(ce.map((Ht) => String(Ht))).has(String(Ee)));
9749
- _ || W(ye);
9755
+ G || W(ye);
9750
9756
  const nt = X.table.getCoreRowModel().rows.filter((Ee) => new Set(ye.map((Ht) => String(Ht))).has(Ee.id)).map((Ee) => Ee.original);
9751
9757
  (Pe = m == null ? void 0 : m.onChange) == null || Pe.call(m, ye, nt, { type: Le });
9752
9758
  };
@@ -9786,7 +9792,7 @@ function Wl({
9786
9792
  if (_e)
9787
9793
  return;
9788
9794
  const et = Te(xe, X.row.index), jt = String(et), yt = xt ? Array.from(new Map([...J, et].map((rt) => [String(rt), rt])).values()) : J.filter((rt) => String(rt) !== jt);
9789
- _ || W(yt), (tt = m == null ? void 0 : m.onChange) == null || tt.call(m, yt, [xe], { type: "row" });
9795
+ G || W(yt), (tt = m == null ? void 0 : m.onChange) == null || tt.call(m, yt, [xe], { type: "row" });
9790
9796
  },
9791
9797
  "aria-label": `Выбрать строку ${ke}`,
9792
9798
  "data-testid": `table-select-row-${ke}`
@@ -9800,8 +9806,8 @@ function Wl({
9800
9806
  return [...Z, ...ie];
9801
9807
  }, [
9802
9808
  l,
9803
- G,
9804
9809
  _,
9810
+ G,
9805
9811
  m,
9806
9812
  j,
9807
9813
  U,
@@ -9827,11 +9833,11 @@ function Wl({
9827
9833
  },
9828
9834
  getCoreRowModel: ua(),
9829
9835
  enableSortingRemoval: !0
9830
- }, x ? { getSortedRowModel: ca() } : {}), {
9831
- getRowId: b ? (Z, ie) => {
9832
- if (typeof b == "function")
9833
- return String(b(Z));
9834
- const X = Z == null ? void 0 : Z[b];
9836
+ }, b ? { getSortedRowModel: ca() } : {}), {
9837
+ getRowId: x ? (Z, ie) => {
9838
+ if (typeof x == "function")
9839
+ return String(x(Z));
9840
+ const X = Z == null ? void 0 : Z[x];
9835
9841
  return X != null ? String(X) : String(ie);
9836
9842
  } : void 0
9837
9843
  })), Un = q(() => {
@@ -9907,7 +9913,7 @@ function Wl({
9907
9913
  table: Me,
9908
9914
  columnsCount: H.length,
9909
9915
  onRow: N,
9910
- locale: T,
9916
+ locale: S,
9911
9917
  stickyOffsets: oe,
9912
9918
  fixedShadowEdges: be,
9913
9919
  scrollState: Vt,
@@ -10021,15 +10027,15 @@ function Vl({
10021
10027
  rowsCount: f,
10022
10028
  linesCount: 6
10023
10029
  }
10024
- ) }) : d.length === 0 ? /* @__PURE__ */ n("div", { className: a, "aria-busy": t, children: /* @__PURE__ */ n(Hn, { locale: o }) }) : /* @__PURE__ */ n("div", { className: p("flex flex-col gap-2", a), "aria-busy": t, children: d.map((u, x) => {
10025
- var N, T, E, M, R;
10026
- const b = (N = s == null ? void 0 : s(u, x)) != null ? N : {}, m = typeof b.onClick == "function", y = (T = i == null ? void 0 : i(u, x)) != null ? T : x, g = b.onClick, h = (k) => {
10030
+ ) }) : d.length === 0 ? /* @__PURE__ */ n("div", { className: a, "aria-busy": t, children: /* @__PURE__ */ n(Hn, { locale: o }) }) : /* @__PURE__ */ n("div", { className: p("flex flex-col gap-2", a), "aria-busy": t, children: d.map((u, b) => {
10031
+ var N, S, E, M, R;
10032
+ const x = (N = s == null ? void 0 : s(u, b)) != null ? N : {}, m = typeof x.onClick == "function", y = (S = i == null ? void 0 : i(u, b)) != null ? S : b, g = x.onClick, h = (k) => {
10027
10033
  var D;
10028
- (D = b.onKeyDown) == null || D.call(b, k), m && (k.key !== "Enter" && k.key !== " " || (k.preventDefault(), k.currentTarget.click()));
10034
+ (D = x.onKeyDown) == null || D.call(x, k), m && (k.key !== "Enter" && k.key !== " " || (k.preventDefault(), k.currentTarget.click()));
10029
10035
  }, C = p(
10030
10036
  m && "cursor-pointer hover:bg-[#F6F6F7]",
10031
10037
  m && "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30",
10032
- b.className
10038
+ x.className
10033
10039
  );
10034
10040
  return /* @__PURE__ */ n(
10035
10041
  Ke,
@@ -10037,14 +10043,14 @@ function Vl({
10037
10043
  bordered: !0,
10038
10044
  radius: "lg",
10039
10045
  padding: "xs"
10040
- }, b), {
10046
+ }, x), {
10041
10047
  className: C,
10042
10048
  onClick: g,
10043
- onKeyDown: m ? h : b.onKeyDown,
10044
- role: m ? (E = b.role) != null ? E : "button" : b.role,
10045
- tabIndex: m ? (M = b.tabIndex) != null ? M : 0 : b.tabIndex,
10046
- "aria-label": m ? (R = b["aria-label"]) != null ? R : "Открыть карточку" : b["aria-label"],
10047
- children: l == null ? void 0 : l(u, x)
10049
+ onKeyDown: m ? h : x.onKeyDown,
10050
+ role: m ? (E = x.role) != null ? E : "button" : x.role,
10051
+ tabIndex: m ? (M = x.tabIndex) != null ? M : 0 : x.tabIndex,
10052
+ "aria-label": m ? (R = x["aria-label"]) != null ? R : "Открыть карточку" : x["aria-label"],
10053
+ children: l == null ? void 0 : l(u, b)
10048
10054
  }),
10049
10055
  String(y)
10050
10056
  );
@@ -10176,7 +10182,7 @@ const Ss = v.forwardRef(
10176
10182
  "disabled",
10177
10183
  "data-testid"
10178
10184
  ]);
10179
- const x = p(
10185
+ const b = p(
10180
10186
  Cs({ size: e, variant: t }),
10181
10187
  /* base (inactive) */
10182
10188
  t === "default" ? "bg-white border-border-tabs" : "bg-transparent text-gray-600 rounded-md w-full",
@@ -10189,17 +10195,17 @@ const Ss = v.forwardRef(
10189
10195
  /* disabled */
10190
10196
  "disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400 disabled:shadow-none",
10191
10197
  r
10192
- ), b = () => a ? v.isValidElement(a) ? a : /* @__PURE__ */ n(V, { icon: a }) : null;
10198
+ ), x = () => a ? v.isValidElement(a) ? a : /* @__PURE__ */ n(V, { icon: a }) : null;
10193
10199
  return /* @__PURE__ */ I(
10194
10200
  Ge.Trigger,
10195
10201
  F(w({
10196
10202
  ref: f,
10197
- className: x,
10203
+ className: b,
10198
10204
  disabled: s
10199
10205
  }, c), {
10200
10206
  "data-testid": l,
10201
10207
  children: [
10202
- o === "start" && b(),
10208
+ o === "start" && x(),
10203
10209
  i && /* @__PURE__ */ n(
10204
10210
  "span",
10205
10211
  {
@@ -10210,7 +10216,7 @@ const Ss = v.forwardRef(
10210
10216
  children: i
10211
10217
  }
10212
10218
  ),
10213
- o === "end" && b()
10219
+ o === "end" && x()
10214
10220
  ]
10215
10221
  })
10216
10222
  );
@@ -10264,7 +10270,7 @@ const Ms = me(
10264
10270
  }
10265
10271
  ), Es = v.forwardRef(
10266
10272
  (u, d) => {
10267
- var x = u, {
10273
+ var b = u, {
10268
10274
  color: e = "default",
10269
10275
  disabled: t = !1,
10270
10276
  iconOnly: r = !1,
@@ -10274,7 +10280,7 @@ const Ms = me(
10274
10280
  children: s,
10275
10281
  className: l,
10276
10282
  "data-testid": c
10277
- } = x, f = L(x, [
10283
+ } = b, f = L(b, [
10278
10284
  "color",
10279
10285
  "disabled",
10280
10286
  "iconOnly",
@@ -10285,10 +10291,10 @@ const Ms = me(
10285
10291
  "className",
10286
10292
  "data-testid"
10287
10293
  ]);
10288
- const b = () => o ? /* @__PURE__ */ n(V, w({ icon: o, size: 12 }, i)) : null, m = /* @__PURE__ */ I(pe, { children: [
10289
- a === "start" && b(),
10294
+ const x = () => o ? /* @__PURE__ */ n(V, w({ icon: o, size: 12 }, i)) : null, m = /* @__PURE__ */ I(pe, { children: [
10295
+ a === "start" && x(),
10290
10296
  s,
10291
- a === "end" && b()
10297
+ a === "end" && x()
10292
10298
  ] });
10293
10299
  return /* @__PURE__ */ n(
10294
10300
  "div",
@@ -10305,7 +10311,7 @@ const Ms = me(
10305
10311
  )
10306
10312
  }, f), {
10307
10313
  "data-testid": c,
10308
- children: r ? b() : m
10314
+ children: r ? x() : m
10309
10315
  })
10310
10316
  );
10311
10317
  }
@@ -10336,22 +10342,22 @@ function Rs(e, t, r, a) {
10336
10342
  l.current = c.clientHeight;
10337
10343
  }, u = () => {
10338
10344
  f(), d();
10339
- }, x = () => {
10340
- s.current = !0;
10341
10345
  }, b = () => {
10346
+ s.current = !0;
10347
+ }, x = () => {
10342
10348
  if (s.current) {
10343
10349
  s.current = !1;
10344
10350
  const m = c.clientHeight;
10345
10351
  m !== l.current && (i.current = m), l.current = m, d();
10346
10352
  }
10347
10353
  };
10348
- return d(), c.addEventListener("input", d), c.addEventListener("paste", d), c.addEventListener("mousedown", x), document.addEventListener("mouseup", b), window.addEventListener("resize", u), () => {
10349
- c.removeEventListener("input", d), c.removeEventListener("paste", d), c.removeEventListener("mousedown", x), document.removeEventListener("mouseup", b), window.removeEventListener("resize", u);
10354
+ return d(), c.addEventListener("input", d), c.addEventListener("paste", d), c.addEventListener("mousedown", b), document.addEventListener("mouseup", x), window.addEventListener("resize", u), () => {
10355
+ c.removeEventListener("input", d), c.removeEventListener("paste", d), c.removeEventListener("mousedown", b), document.removeEventListener("mouseup", x), window.removeEventListener("resize", u);
10350
10356
  };
10351
10357
  }, [e, t, r, a]), o;
10352
10358
  }
10353
10359
  const As = v.forwardRef(
10354
- (m, b) => {
10360
+ (m, x) => {
10355
10361
  var y = m, {
10356
10362
  className: e,
10357
10363
  variant: t = "default",
@@ -10365,7 +10371,7 @@ const As = v.forwardRef(
10365
10371
  "data-testid": f,
10366
10372
  disabled: d,
10367
10373
  size: u = "md"
10368
- } = y, x = L(y, [
10374
+ } = y, b = L(y, [
10369
10375
  "className",
10370
10376
  "variant",
10371
10377
  "fullWidth",
@@ -10379,8 +10385,8 @@ const As = v.forwardRef(
10379
10385
  "disabled",
10380
10386
  "size"
10381
10387
  ]);
10382
- const g = Rs(s, l, x.placeholder, x.value);
10383
- return Vr(b, () => g.current, [g]), /* @__PURE__ */ I("div", { className: "w-full", children: [
10388
+ const g = Rs(s, l, b.placeholder, b.value);
10389
+ return Vr(x, () => g.current, [g]), /* @__PURE__ */ I("div", { className: "w-full", children: [
10384
10390
  a && /* @__PURE__ */ n(O, { variant: "p2", weight: "medium", className: "mb-1.5", children: a }),
10385
10391
  /* @__PURE__ */ I(
10386
10392
  "div",
@@ -10420,7 +10426,7 @@ const As = v.forwardRef(
10420
10426
  ref: g,
10421
10427
  "data-testid": f,
10422
10428
  disabled: d
10423
- }, x)
10429
+ }, b)
10424
10430
  ),
10425
10431
  o && o !== "" && c && /* @__PURE__ */ n(
10426
10432
  "div",
@@ -10476,15 +10482,15 @@ function Kl({
10476
10482
  onBlur: f,
10477
10483
  "data-testid": d
10478
10484
  }) {
10479
- const [u, x] = v.useState(e || ""), b = v.useRef(e || "");
10485
+ const [u, b] = v.useState(e || ""), x = v.useRef(e || "");
10480
10486
  v.useEffect(() => {
10481
- x(e || ""), b.current = e || "";
10487
+ b(e || ""), x.current = e || "";
10482
10488
  }, [e]);
10483
10489
  const m = (g) => {
10484
- const h = Fs(g.target.value, b.current);
10485
- x(h), b.current = h, h.length === 5 && Wr(h) ? t == null || t(h) : h === "" && (t == null || t(void 0));
10490
+ const h = Fs(g.target.value, x.current);
10491
+ b(h), x.current = h, h.length === 5 && Wr(h) ? t == null || t(h) : h === "" && (t == null || t(void 0));
10486
10492
  }, y = (g) => {
10487
- f == null || f(g), u && !Wr(u) && (x(""), t == null || t(void 0));
10493
+ f == null || f(g), u && !Wr(u) && (b(""), t == null || t(void 0));
10488
10494
  };
10489
10495
  return /* @__PURE__ */ I("div", { className: p("w-full", o), children: [
10490
10496
  c && /* @__PURE__ */ n(
@@ -10563,7 +10569,7 @@ function Ul({
10563
10569
  onBlur: f,
10564
10570
  "data-testid": d
10565
10571
  }) {
10566
- const [u, x] = v.useState((e == null ? void 0 : e.from) || ""), [b, m] = v.useState((e == null ? void 0 : e.to) || ""), y = v.useRef((e == null ? void 0 : e.from) || ""), g = v.useRef((e == null ? void 0 : e.to) || ""), h = v.useMemo(() => {
10572
+ const [u, b] = v.useState((e == null ? void 0 : e.from) || ""), [x, m] = v.useState((e == null ? void 0 : e.to) || ""), y = v.useRef((e == null ? void 0 : e.from) || ""), g = v.useRef((e == null ? void 0 : e.to) || ""), h = v.useMemo(() => {
10567
10573
  const P = (H) => typeof H == "string", W = (H) => typeof H == "object" && H !== null;
10568
10574
  return {
10569
10575
  hasAnyError: () => s ? P(s) ? !0 : !!(s.from || s.to) : !1,
@@ -10571,36 +10577,36 @@ function Ul({
10571
10577
  hasToError: () => P(s) ? !0 : W(s) && !!s.to,
10572
10578
  getErrorText: () => P(s) ? s : W(s) ? s.from && s.to ? `${s.from}, ${s.to}` : s.from || s.to || "" : ""
10573
10579
  };
10574
- }, [s]), { hasAnyError: C, hasFromError: N, hasToError: T, getErrorText: E } = h;
10580
+ }, [s]), { hasAnyError: C, hasFromError: N, hasToError: S, getErrorText: E } = h;
10575
10581
  v.useEffect(() => {
10576
- x((e == null ? void 0 : e.from) || ""), m((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", g.current = (e == null ? void 0 : e.to) || "";
10582
+ b((e == null ? void 0 : e.from) || ""), m((e == null ? void 0 : e.to) || ""), y.current = (e == null ? void 0 : e.from) || "", g.current = (e == null ? void 0 : e.to) || "";
10577
10583
  }, [e]);
10578
10584
  const M = (P, W) => {
10579
- const _ = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Ls(P, W);
10580
- return _.length === 0 ? "" : U === "removed" && _.length === 2 && J.length === 3 ? `${_}:` : U === "removed" && _.length === 2 && J.length === 2 && W.includes(":") ? _[0] : U === "removed" && _.length === 1 ? _ : U === "added" && _.length === 2 && J.length === 1 ? `${_}:` : _.length === 1 || _.length === 2 ? _ : _.length <= 4 ? `${_.slice(0, 2)}:${_.slice(2)}` : `${_.slice(0, 2)}:${_.slice(2, 4)}`;
10585
+ const G = P.replace(/\D/g, ""), J = W.replace(/\D/g, ""), U = Ls(P, W);
10586
+ return G.length === 0 ? "" : U === "removed" && G.length === 2 && J.length === 3 ? `${G}:` : U === "removed" && G.length === 2 && J.length === 2 && W.includes(":") ? G[0] : U === "removed" && G.length === 1 ? G : U === "added" && G.length === 2 && J.length === 1 ? `${G}:` : G.length === 1 || G.length === 2 ? G : G.length <= 4 ? `${G.slice(0, 2)}:${G.slice(2)}` : `${G.slice(0, 2)}:${G.slice(2, 4)}`;
10581
10587
  }, R = (P) => {
10582
10588
  if (!P)
10583
10589
  return !0;
10584
10590
  if (!/^(?:[01]?\d|2[0-3]):[0-5]?\d$/.test(P))
10585
10591
  return !1;
10586
- const [_, J] = P.split(":").map(Number);
10587
- return _ >= 0 && _ <= 23 && J >= 0 && J <= 59;
10592
+ const [G, J] = P.split(":").map(Number);
10593
+ return G >= 0 && G <= 23 && J >= 0 && J <= 59;
10588
10594
  }, k = (P, W) => {
10589
- const _ = {
10595
+ const G = {
10590
10596
  from: P || void 0,
10591
10597
  to: W || void 0
10592
10598
  };
10593
- !_.from && !_.to ? t == null || t(void 0) : t == null || t(_);
10599
+ !G.from && !G.to ? t == null || t(void 0) : t == null || t(G);
10594
10600
  }, D = (P) => {
10595
10601
  const W = M(P.target.value, y.current);
10596
- x(W), y.current = W, (W === "" || W.length === 5 && R(W)) && k(W, b);
10602
+ b(W), y.current = W, (W === "" || W.length === 5 && R(W)) && k(W, x);
10597
10603
  }, z = (P) => {
10598
10604
  const W = M(P.target.value, g.current);
10599
10605
  m(W), g.current = W, (W === "" || W.length === 5 && R(W)) && k(u, W);
10600
- }, G = (P) => {
10601
- f == null || f(P), u && !R(u) && (x(""), k("", b));
10606
+ }, _ = (P) => {
10607
+ f == null || f(P), u && !R(u) && (b(""), k("", x));
10602
10608
  }, j = (P) => {
10603
- f == null || f(P), b && !R(b) && (m(""), k(u, ""));
10609
+ f == null || f(P), x && !R(x) && (m(""), k(u, ""));
10604
10610
  };
10605
10611
  return /* @__PURE__ */ I("div", { className: p("w-full", o), children: [
10606
10612
  c && /* @__PURE__ */ n(
@@ -10640,7 +10646,7 @@ function Ul({
10640
10646
  type: "text",
10641
10647
  value: u,
10642
10648
  onChange: D,
10643
- onBlur: G,
10649
+ onBlur: _,
10644
10650
  placeholder: r.from,
10645
10651
  disabled: a,
10646
10652
  maxLength: 5,
@@ -10669,7 +10675,7 @@ function Ul({
10669
10675
  "input",
10670
10676
  {
10671
10677
  type: "text",
10672
- value: b,
10678
+ value: x,
10673
10679
  onChange: z,
10674
10680
  onBlur: j,
10675
10681
  placeholder: r.to,
@@ -10679,7 +10685,7 @@ function Ul({
10679
10685
  "font-graphik w-0 flex-1 border-none bg-transparent outline-none",
10680
10686
  "placeholder:text-muted-foreground",
10681
10687
  "[&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
10682
- T() && "text-destructive",
10688
+ S() && "text-destructive",
10683
10689
  {
10684
10690
  "h-8 text-[14px]": i === "md",
10685
10691
  "h-10 text-[16px]": i === "lg",
@@ -11004,25 +11010,25 @@ function Ql(o) {
11004
11010
  "defaultOpen",
11005
11011
  "onOpenChange"
11006
11012
  ]);
11007
- const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = Bs(), u = v.useRef(0), x = v.useCallback(
11013
+ const [s, l] = v.useState(!!t), c = e !== void 0, f = c ? e : s, d = Bs(), u = v.useRef(0), b = v.useCallback(
11008
11014
  (y) => {
11009
11015
  c || l(y), r == null || r(y);
11010
11016
  },
11011
11017
  [c, r]
11012
- ), b = v.useCallback(
11018
+ ), x = v.useCallback(
11013
11019
  (y) => {
11014
- d && !y && Date.now() - u.current < zs || x(y);
11020
+ d && !y && Date.now() - u.current < zs || b(y);
11015
11021
  },
11016
- [d, x]
11022
+ [d, b]
11017
11023
  ), m = v.useCallback(() => {
11018
- u.current = Date.now(), x(!f);
11019
- }, [f, x]);
11024
+ u.current = Date.now(), b(!f);
11025
+ }, [f, b]);
11020
11026
  return /* @__PURE__ */ n(Kn.Provider, { value: { isTouchDevice: d, open: f, toggleByTouch: m }, children: /* @__PURE__ */ n(
11021
11027
  Oe.Root,
11022
11028
  w({
11023
11029
  open: d ? f : e,
11024
11030
  defaultOpen: d ? void 0 : t,
11025
- onOpenChange: d ? b : r
11031
+ onOpenChange: d ? x : r
11026
11032
  }, a)
11027
11033
  ) });
11028
11034
  }
@@ -11106,15 +11112,15 @@ const Gs = v.forwardRef(
11106
11112
  onError: f,
11107
11113
  files: d = [],
11108
11114
  uploadProgress: u = 0,
11109
- isUploading: x = !1,
11110
- allowUploadMore: b = !1,
11115
+ isUploading: b = !1,
11116
+ allowUploadMore: x = !1,
11111
11117
  classNames: m,
11112
11118
  dropzoneText: y = "Нажмите или перетащите сюда для загрузки",
11113
11119
  buttonText: g = "Выбрать файл",
11114
11120
  errorText: h,
11115
11121
  "data-testId": C
11116
11122
  }, N) => {
11117
- const [T, E] = ee(!1), M = fe(null), R = fe(0), k = $(
11123
+ const [S, E] = ee(!1), M = fe(null), R = fe(0), k = $(
11118
11124
  (B) => {
11119
11125
  var H;
11120
11126
  if (e) {
@@ -11145,7 +11151,7 @@ const Gs = v.forwardRef(
11145
11151
  ), z = $(() => {
11146
11152
  var B;
11147
11153
  (B = M.current) == null || B.click();
11148
- }, []), G = $(
11154
+ }, []), _ = $(
11149
11155
  (B) => {
11150
11156
  D(B.target.files), B.target.value = "";
11151
11157
  },
@@ -11156,7 +11162,7 @@ const Gs = v.forwardRef(
11156
11162
  B.preventDefault(), B.stopPropagation(), R.current--, R.current === 0 && E(!1);
11157
11163
  }, []), W = $((B) => {
11158
11164
  B.preventDefault(), B.stopPropagation();
11159
- }, []), _ = $(
11165
+ }, []), G = $(
11160
11166
  (B) => {
11161
11167
  B.preventDefault(), B.stopPropagation(), E(!1), R.current = 0;
11162
11168
  const { files: H } = B.dataTransfer;
@@ -11188,21 +11194,21 @@ const Gs = v.forwardRef(
11188
11194
  type: "file",
11189
11195
  accept: e,
11190
11196
  multiple: t,
11191
- onChange: G,
11197
+ onChange: _,
11192
11198
  className: "hidden"
11193
11199
  }
11194
11200
  ),
11195
- (d.length === 0 || b) && /* @__PURE__ */ I(
11201
+ (d.length === 0 || x) && /* @__PURE__ */ I(
11196
11202
  "div",
11197
11203
  {
11198
11204
  onDragEnter: j,
11199
11205
  onDragOver: W,
11200
11206
  onDragLeave: P,
11201
- onDrop: _,
11207
+ onDrop: G,
11202
11208
  onClick: z,
11203
11209
  className: p(
11204
11210
  `flex flex-${a} w-full ${d.length === 0 ? "h-full" : "h-auto"} items-${i} justify-${o} border-border hover:border-primary cursor-pointer gap-1.5 rounded-xl border-1 border-dashed bg-white p-3 transition-colors duration-200`,
11205
- T && "border-primary",
11211
+ S && "border-primary",
11206
11212
  m == null ? void 0 : m.dropzone
11207
11213
  ),
11208
11214
  children: [
@@ -11218,7 +11224,7 @@ const Gs = v.forwardRef(
11218
11224
  ]
11219
11225
  }
11220
11226
  ),
11221
- x && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(qi, { value: u }) }),
11227
+ b && /* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: /* @__PURE__ */ n(qi, { value: u }) }),
11222
11228
  d.length > 0 && /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: d.map((B) => {
11223
11229
  const H = B.status === "error", re = H ? "FileErrorIcon" : "FileSuccessIcon";
11224
11230
  return /* @__PURE__ */ I(