From 1eaa1d199a1ff90d0ac47e1df495e189fed4cdf8 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Tue, 28 Apr 2026 09:45:28 +0300 Subject: [PATCH 01/57] Resolved Conflicts --- app/Http/Controllers/Backend/DashboardController.php | 7 +++++-- database/seeders/StartUpSeeder.php | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Backend/DashboardController.php b/app/Http/Controllers/Backend/DashboardController.php index 4353e1b..edb4a63 100755 --- a/app/Http/Controllers/Backend/DashboardController.php +++ b/app/Http/Controllers/Backend/DashboardController.php @@ -57,10 +57,13 @@ public function index(Request $request) $currentYear = now()->year; $data['currentYear'] = $currentYear; - $salesData = OrderTransaction::selectRaw('DATE_FORMAT(created_at, "%Y-%m") as month, SUM(amount) as total_amount') + $salesData = OrderTransaction::selectRaw("TO_CHAR(created_at, 'YYYY-MM') as month, SUM(amount) as total_amount") ->whereYear('created_at', $currentYear) ->groupBy('month') - ->orderBy('month', 'ASC')->pluck('total_amount', 'month')->toArray(); + ->orderBy('month', 'ASC') + ->pluck('total_amount', 'month') + ->toArray(); + $tempMonths = []; $tempTotalAmountMonth = []; for ($i = 1; $i <= 12; $i++) { diff --git a/database/seeders/StartUpSeeder.php b/database/seeders/StartUpSeeder.php index 44d3106..b019562 100755 --- a/database/seeders/StartUpSeeder.php +++ b/database/seeders/StartUpSeeder.php @@ -24,16 +24,20 @@ public function run(): void 'password' => bcrypt(87654321), 'username' => uniqid() ]); + Customer::create([ 'name' => "Walking Customer", 'phone' => "012345678", ]); + Supplier::create([ 'name' => "Own Supplier", 'phone' => "012345678", ]); + $role = Role::create(['name' => 'Admin']); $user->syncRoles($role); + $this->call([ UnitSeeder::class, CurrencySeeder::class, From 9f7fcf12f1548c24140557469ca27fa93bfa0da3 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Thu, 23 Apr 2026 13:39:19 +0300 Subject: [PATCH 02/57] Product Search Case Insensitve --- .../Controllers/Backend/Product/ProductController.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/Backend/Product/ProductController.php b/app/Http/Controllers/Backend/Product/ProductController.php index 7f7c024..516e90b 100644 --- a/app/Http/Controllers/Backend/Product/ProductController.php +++ b/app/Http/Controllers/Backend/Product/ProductController.php @@ -31,8 +31,8 @@ public function __construct(FileHandler $fileHandler) */ public function index(Request $request) { - abort_if(!auth()->user()->can('product_view'), 403); + if ($request->ajax()) { $products = Product::latest()->get(); return DataTables::of($products) @@ -58,7 +58,7 @@ public function index(Request $request) Toggle Dropdown '; + } + ) ->rawColumns(['image', 'name', 'price', 'quantity', 'status', 'created_at', 'action']) ->toJson(); } + if ($request->wantsJson()) { $request->validate([ - 'search' => 'required|string|max:255', + 'search' => 'required|string|min:1|max:255', ]); + # Get Default Currency + $defaultCurrency = Currency::where('active', true) + ->first(); + // Initialize the query - $products = Product::query(); + $products = Product::selectRaw("id, name, price, quantity"); // Apply filters based on the search term $products = $products->where(function ($query) use ($request) { $query->where('name', 'ILIKE', "%{$request->search}%") ->orWhere('sku', 'ILIKE', "%{$request->search}%"); }); - + // Get the results - $products = $products->get(); + $products = $products->get()->map(function ($product) use ($defaultCurrency) { + // Add default currency + $product->currency = $defaultCurrency->symbol; + return $product; + }); + + // dd($products); + // Return the results as a JSON response return ProductResource::collection($products); } + return view('backend.products.index'); } From 95d55f47d80f2105a1c58c6342c665d4313eebb5 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Thu, 23 Apr 2026 17:38:33 +0300 Subject: [PATCH 05/57] Config Name On Navbar --- resources/views/backend/layouts/navbar.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/backend/layouts/navbar.blade.php b/resources/views/backend/layouts/navbar.blade.php index f249d0d..ce27827 100755 --- a/resources/views/backend/layouts/navbar.blade.php +++ b/resources/views/backend/layouts/navbar.blade.php @@ -12,6 +12,10 @@ --}} +

+ {{ readConfig('site_name') }} +

+ @endif + {{-- settings --}} @if (auth()->user()->hasAnyPermission([ //currency @@ -274,18 +275,21 @@ class="nav-link {{ request()->routeIs(['backend.admin.inventory.report']) ? 'act 'currency_update', 'currency_delete', 'currency_set_default', + //role 'role_create', 'role_view', 'role_update', 'role_delete', 'permission_view', + //user 'user_create', 'user_view', 'user_update', 'user_delete', 'user_suspend', + //setting 'website_settings', 'contact_settings', @@ -325,15 +329,27 @@ class="nav-link {{ $route === 'backend.admin.settings.website.general' ? 'active @endif + + @if (auth()->user()->hasAnyPermission(['payment_create', 'payment_view', 'payment_update', 'payment_delete'])) + + @endif + @if (auth()->user()->hasAnyPermission(['currency_create','currency_view','currency_update','currency_delete'])) @endif + @if (auth()->user()->hasAnyPermission([ 'role_create', 'role_view', From f5f8106a282367aeda96537128616bddec51815a Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 12:55:46 +0300 Subject: [PATCH 18/57] Barcode Library --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 720359d..669ed37 100755 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "laravel/tinker": "^2.8", "laravelcollective/html": "^6.4", "maatwebsite/excel": "^3.1", + "milon/barcode": "^13.1", "spatie/laravel-permission": "^5.10", "yajra/laravel-datatables": "^10.0" }, From d6d6d76af5c5e30697559cda7ea7bb0f5787a00d Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 12:56:27 +0300 Subject: [PATCH 19/57] Order Reference Number Migration Creation --- ...23507_add_reference_no_to_orders_table.php | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 database/migrations/2026_04_25_123507_add_reference_no_to_orders_table.php diff --git a/database/migrations/2026_04_25_123507_add_reference_no_to_orders_table.php b/database/migrations/2026_04_25_123507_add_reference_no_to_orders_table.php new file mode 100644 index 0000000..e972302 --- /dev/null +++ b/database/migrations/2026_04_25_123507_add_reference_no_to_orders_table.php @@ -0,0 +1,39 @@ +string('reference_no', 20) + ->unique() + ->nullable() // Initially nullable so existing rows don't break + ->after('id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('orders', function (Blueprint $table) { + // First check if the table exists + if (Schema::hasTable('orders')) { + Schema::table('orders', function (Blueprint $table) { + // Then check if the specific column exists before dropping + if (Schema::hasColumn('orders', 'reference_no')) { + $table->dropColumn('reference_no'); + } + }); + } + }); + } +}; From ab44b8ec50279c8f54a11ea98b793b9d20290ef4 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 12:56:48 +0300 Subject: [PATCH 20/57] Generate Order Reference Number --- app/Models/Order.php | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/app/Models/Order.php b/app/Models/Order.php index 7457ace..d2d1f26 100644 --- a/app/Models/Order.php +++ b/app/Models/Order.php @@ -13,20 +13,43 @@ class Order extends Model protected $guarded = []; protected $appends = ['total_item']; + public function products() { return $this->hasMany(OrderProduct::class); } + public function transactions() { return $this->hasMany(OrderTransaction::class); } - public function customer(){ + + public function customer() + { return $this->belongsTo(Customer::class); } + public function getTotalItemAttribute() { return $this->products()->sum('quantity'); } - + + public static function generateOrderReference() + { + // Characters that are easy to read (Excluded: I, L, 1, 0, O) + $characters = 'ABCDEFGHJKMNPQRSTUVWXYZ23456789'; + $finalCode = ''; + + // Generate a random 13-character string from our clean set + for ($i = 0; $i < 13; $i++) { + $finalCode .= $characters[rand(0, strlen($characters) - 1)]; + } + + // Ensure Uniqueness (Recursion) + if (self::where('reference_no', $finalCode)->exists()) { + return self::generateOrderReference(); + } + + return $finalCode; + } } From 68986d34df3f23706efdf51f6b522f268283485b Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 13:04:50 +0300 Subject: [PATCH 21/57] Activate Payment Method Routes & Functionality --- .../Backend/PaymentMethodsController.php | 84 ++++++++++++++----- routes/web.php | 1 + 2 files changed, 66 insertions(+), 19 deletions(-) diff --git a/app/Http/Controllers/Backend/PaymentMethodsController.php b/app/Http/Controllers/Backend/PaymentMethodsController.php index f3a4022..19a580c 100644 --- a/app/Http/Controllers/Backend/PaymentMethodsController.php +++ b/app/Http/Controllers/Backend/PaymentMethodsController.php @@ -53,31 +53,58 @@ function ($data) use ($defaultCurrency) { ? 'Active' : 'Disabled') ->addColumn('action', function ($data) { + // Logic for Toggle Button (Activate vs Disable) + if ($data->active) { + $statusToggle = ' +
+ ' . csrf_field() . ' + ' . method_field("DELETE") . ' + +
'; + } else { + $statusToggle = ' + + Activate + '; + } + + // Logic for Set Default (Only show/allow if active and not already default) + $defaultButton = ''; + if ($data->active && !$data->primary_method) { + $defaultButton = ' + + + Set Default + '; + } elseif ($data->primary_method) { + $defaultButton = ' + + '; + } + + // Assemble the Dropdown return '
- - + - +
'; }) ->rawColumns(['name', 'code', 'surcharge_type', 'surcharge_value', 'status', 'action']) ->toJson(); @@ -100,7 +127,6 @@ public function create() return view('backend.settings.payments.create', compact('defaultCurrency')); } - /** * Store a newly created resource in storage. */ @@ -229,8 +255,28 @@ public function destroy($id) return redirect()->back()->with('success', "Payment method '{$paymentMethod->name}' has been disabled."); } + public function activate($id) + { + // Authorization Check + abort_if(!auth()->user()->can('payment_update'), 403); + + // Find and Update + $paymentMethod = PaymentMethods::findOrFail($id); + + $paymentMethod->update([ + 'active' => true + ]); + + // 3. Return with feedback + return redirect() + ->back() + ->with('success', "Payment method '{$paymentMethod->name}' has been activated successfully."); + } + public function setDefault($id) { + abort_if(!auth()->user()->can('payment_update'), 403); + // Find the payment method $paymentMethod = PaymentMethods::findOrFail($id); diff --git a/routes/web.php b/routes/web.php index 5b3ae22..59cd0b4 100755 --- a/routes/web.php +++ b/routes/web.php @@ -75,6 +75,7 @@ # Payments Methods Resource Route::resource('payments', PaymentMethodsController::class); Route::get('payments/default/{id}', [PaymentMethodsController::class, 'setDefault'])->name('payments.setDefault'); + Route::get('payments/activate/{id}', [PaymentMethodsController::class, 'activate'])->name('payments.activate'); Route::match(['get', 'post'], 'import/products', [ProductController::class,'import'])->name('products.import'); Route::get('currencies/default/{id}', [CurrencyController::class, 'setDefault'])->name('currencies.setDefault'); From a8f179a5140eef3657eff8cdd7b7f7bdaa244c2d Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 13:07:34 +0300 Subject: [PATCH 22/57] Payment Method Icon --- resources/views/backend/layouts/sidebar.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/backend/layouts/sidebar.blade.php b/resources/views/backend/layouts/sidebar.blade.php index f7649d3..b589a43 100755 --- a/resources/views/backend/layouts/sidebar.blade.php +++ b/resources/views/backend/layouts/sidebar.blade.php @@ -334,7 +334,7 @@ class="nav-link {{ $route === 'backend.admin.settings.website.general' ? 'active From ca643c474832f0f9e07541c6519ff10c114fa220 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:42:28 +0300 Subject: [PATCH 23/57] POS Invoice/Receipt Redesign --- .../Backend/Pos/OrderController.php | 14 +- .../backend/orders/pos-invoice.blade.php | 267 ++++++++++-------- 2 files changed, 159 insertions(+), 122 deletions(-) diff --git a/app/Http/Controllers/Backend/Pos/OrderController.php b/app/Http/Controllers/Backend/Pos/OrderController.php index 5a73eb7..9ed99c7 100644 --- a/app/Http/Controllers/Backend/Pos/OrderController.php +++ b/app/Http/Controllers/Backend/Pos/OrderController.php @@ -20,6 +20,7 @@ public function index(Request $request) { if ($request->ajax()) { $orders = Order::with('customer')->get(); + return DataTables::of($orders) ->addIndexColumn() ->addColumn('saleId', fn($data) => "#" . $data->id) @@ -93,6 +94,7 @@ public function store(Request $request) ]); $totalAmountOrder = 0; $orderDiscount = $request->order_discount; + foreach ($carts as $cart) { $mainTotal = $cart->product->price * $cart->quantity; $totalAfterDiscount = $cart->product->discounted_price * $cart->quantity; @@ -110,15 +112,22 @@ public function store(Request $request) $cart->product->quantity = $cart->product->quantity - $cart->quantity; $cart->product->save(); } + $total = $totalAmountOrder - $orderDiscount; $due = $total - $request->paid; + $order->sub_total = $totalAmountOrder; $order->discount = $orderDiscount; $order->paid = $request->paid; $order->total = round((float)$total, 2); $order->due = round((float)$due, 2); $order->status = round((float)$due, 2) <= 0; + + # Order Reference Number + $order->reference_no = Order::generateOrderReference(); + $order->save(); + //create order transaction if ($request->paid > 0) { $orderTransaction = $order->transactions()->create([ @@ -216,8 +225,9 @@ public function transactions($id) public function posInvoice($id) { - $order = Order::with(['customer', 'products.product'])->findOrFail($id); - $maxWidth = readConfig('receiptMaxwidth')??'300px'; + $order = Order::with(['customer', 'products.product', 'products.product.unit'])->findOrFail($id); + $maxWidth = readConfig('receiptMaxwidth') ?? '300px'; + return view('backend.orders.pos-invoice', compact('order', 'maxWidth')); } } diff --git a/resources/views/backend/orders/pos-invoice.blade.php b/resources/views/backend/orders/pos-invoice.blade.php index 1ac9b43..8354a23 100644 --- a/resources/views/backend/orders/pos-invoice.blade.php +++ b/resources/views/backend/orders/pos-invoice.blade.php @@ -3,141 +3,168 @@ @section('content')
- -
-
- @if(readConfig('is_show_logo_invoice')) - Logo - @endif - @if(readConfig('is_show_site_invoice')) -

{{ readConfig('site_name') }}

- @endif - @if(readConfig('is_show_address_invoice')){{ readConfig('contact_address') }}
@endif - @if(readConfig('is_show_phone_invoice')){{ readConfig('contact_phone') }}
@endif - @if(readConfig('is_show_email_invoice')){{ readConfig('contact_email') }}
@endif -
- {{ 'User: '.auth()->user()->name}}
- {{ 'Order: #'.$order->id}}
-
-
-
- @if(readConfig('is_show_customer_invoice')) -
- Name: {{ $order->customer->name ?? 'N/A' }}
- Address: {{ $order->customer->address ?? 'N/A' }}
- Phone: {{ $order->customer->phone ?? 'N/A' }} -
+ +
+
+ @if(readConfig('is_show_logo_invoice')) + Logo + @endif + + @if(readConfig('is_show_site_invoice')) +

{{ readConfig('site_name') }}

+ @endif + +
+ @if(readConfig('is_show_address_invoice')) {{ readConfig('contact_address') }}
@endif + @if(readConfig('is_show_phone_invoice')) Tel: {{ readConfig('contact_phone') }}
@endif + @if(readConfig('is_show_email_invoice')) Email: {{ readConfig('contact_email') }}
@endif +
+ +
+ {{ date('h:i A') }} {{ date('D d M Y') }} +
+ +
+
+ {!! DNS1D::getBarcodeHTML($order->reference_no, 'C128', 1.5, 33) !!} +
+ +
+ {{ $order->reference_no }} +
+
+
+ +
+ + + + + + + + + + + @foreach ($order->products as $item) + + + + + + + + + @endforeach + +
ITEMTOTAL
+ {{ strtoupper($item->product->name) }} +
+ {{ number_format($item->quantity, 2) }} {{ $item->product->unit->short_name ?? 'Units' }} @ {{ number_format($item->price, 2) }} + + {{ number_format($item->total, 2) }} +
+ +
+ +
+ + + + + + @if($order->discount > 0) + + + + + @endif + + + + +
Sub Total:{{ number_format($order->sub_total, 2) }}
Discount:-{{ number_format($order->discount, 2) }}
GRAND TOTAL:{{ number_format($order->total, 2) }}
+
+ +
+ {{ 'Total Items: ' . number_format($order->products->sum('quantity'), 0) }}
+ {{ 'Served By: '. auth()->user()->name }}
+ {{ 'Order Reference: '.$order->reference_no}}
+
+ + @if(readConfig('is_show_customer_invoice') && isset($order->customer)) +
+

+ CUSTOMER: +

+ + Name: {{ $order->customer->name ?? 'N/A' }}
+ Address: {{ $order->customer->address ?? 'N/A' }}
+ Phone: {{ $order->customer->phone ?? 'N/A' }}
+
@endif -
-
-
-

{{ date('d-M-Y') }}

-

{{ date('h:i:s A') }}

-
-
-
-
- - - - - - - - - - - - @foreach ($order->products as $item) - - - - - - - @endforeach - -
ProductTotal {{ currency()->symbol}}
{{ $item->product->name }}{{ $item->quantity }}*{{ $item->discounted_price}}{{ $item->total }}
-
-
- - - - - - - - - - - - - - - - - - - - - -
Subtotal:{{number_format($order->sub_total, 2) }}
Discount:{{number_format($order->discount, 2) }}
Total:{{number_format($order->total, 2) }}
Paid:{{number_format($order->paid, 2) }}
Due:{{number_format($order->due, 2) }}
-
-
-
-

@if(readConfig('is_show_note_invoice')){{ readConfig('note_to_customer_invoice') }}@endif

+ +
+

+ @if(readConfig('is_show_note_invoice')) + {{ readConfig('note_to_customer_invoice') }} + @else + Thank you for shopping with us! + @endif +

+
*** End of Fiscal Receipt ***
+
-
- -
- -
+ +
+ +
@endsection @push('style') @endpush @push('script') @endpush \ No newline at end of file From 92839843824308cb909a65b332f36a9cfd3af2ad Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:43:56 +0300 Subject: [PATCH 24/57] Brand Inclusion on Products DataTable & Number Formating --- .../Controllers/Backend/Product/ProductController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Backend/Product/ProductController.php b/app/Http/Controllers/Backend/Product/ProductController.php index c28dd90..7d05ade 100644 --- a/app/Http/Controllers/Backend/Product/ProductController.php +++ b/app/Http/Controllers/Backend/Product/ProductController.php @@ -44,16 +44,16 @@ public function index(Request $request) fn($data) => '' . $data->name . '' ) ->addColumn('name', fn($data) => $data->name) + ->addColumn('brand', fn($data) => $data->brand->name) ->addColumn( 'price', - fn($data) => $data->discounted_price . ( + fn($data) => number_format($data->discounted_price, 2) . ( $data->price > $data->discounted_price - ? '
' . $data->price . '' + ? '
' . number_format($data->price, 2) . '' : '' ) ) - ->addColumn('quantity', fn($data) => $data->quantity . ' ' . optional($data->unit)->short_name) - ->addColumn('created_at', fn($data) => $data->created_at->format('d M, Y')) + ->addColumn('quantity', fn($data) => number_format($data->quantity, 2) . ' ' . optional($data->unit)->short_name) ->addColumn('status', fn($data) => $data->status ? 'Active' : 'Inactive') @@ -87,7 +87,7 @@ function ($data) {
'; } ) - ->rawColumns(['image', 'name', 'price', 'quantity', 'status', 'created_at', 'action']) + ->rawColumns(['image', 'name', 'brand', 'price', 'quantity', 'status', 'action']) ->toJson(); } From 82ae9e93a5fa7816a267a1953302475ff1400ad5 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:46:03 +0300 Subject: [PATCH 25/57] Purchase Order Break Down on DataTable --- .../Backend/Product/PurchaseController.php | 48 +++++++++++-------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/app/Http/Controllers/Backend/Product/PurchaseController.php b/app/Http/Controllers/Backend/Product/PurchaseController.php index 3eed908..3da9cbe 100644 --- a/app/Http/Controllers/Backend/Product/PurchaseController.php +++ b/app/Http/Controllers/Backend/Product/PurchaseController.php @@ -18,43 +18,49 @@ class PurchaseController extends Controller */ public function index(Request $request) { - abort_if(!auth()->user()->can('purchase_view'), 403); + if ($request->ajax()) { $purchases = Purchase::with('supplier')->latest()->get(); + return DataTables::of($purchases) ->addIndexColumn() ->addColumn('supplier', fn($data) => $data->supplier->name) + ->addColumn('purchased_by', fn($data) => $data->user->name) ->addColumn('id', function ($data) { return '#' . $data->id; }) - ->addColumn('total', fn($data) => $data->grand_total) - ->addColumn('created_at', fn($data) => \Carbon\Carbon::parse($data->date)->format('d M, Y')) // Using Carbon for formatting + ->addColumn('sub_total', fn($data) => number_format($data->sub_total, 2)) + ->addColumn('discount', fn($data) => number_format($data->discount_value, 2)) + ->addColumn('shipping', fn($data) => number_format($data->shipping, 2)) + ->addColumn('tax', fn($data) => number_format($data->tax, 2)) + ->addColumn('total', fn($data) => number_format($data->grand_total, 2)) + ->addColumn('purchase_date', fn($data) => \Carbon\Carbon::parse($data->date)->format('d M, Y')) ->addColumn('action', function ($data) { return '
- - - -
'; + + + + + '; }) - ->rawColumns(['supplier', 'id', 'total', 'created_at', 'action']) + ->rawColumns(['supplier', 'id', 'total', 'purchase_date', 'purchased_by', 'action']) ->toJson(); } - return view('backend.purchase.index'); } - /** * Show the form for creating a new resource. */ @@ -139,9 +145,9 @@ public function store(Request $request) ]); // Step 3: Create purchase items foreach ($validatedData['products'] as $product) { - $existingProduct = Product::findOrFail($product['id']); + $existingProduct = Product::findOrFail($product['id']); // Find the existing purchase item, if any, and get its quantity or set to 0 - $oldPurchaseItem = PurchaseItem::find($product['item_id']??0); + $oldPurchaseItem = PurchaseItem::find($product['item_id'] ?? 0); $oldQuantity = $oldPurchaseItem ? $oldPurchaseItem->quantity : 0; PurchaseItem::updateOrCreate( [ From a2af8b9180c598bde786e3db3f240ffe6dae5680 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:47:25 +0300 Subject: [PATCH 26/57] Purchase User Relationship --- app/Models/Purchase.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Models/Purchase.php b/app/Models/Purchase.php index 2b345ba..abb5a35 100644 --- a/app/Models/Purchase.php +++ b/app/Models/Purchase.php @@ -29,4 +29,8 @@ public function items() public function supplier(){ return $this->belongsTo(Supplier::class); } + + public function user(){ + return $this->belongsTo(User::class); + } } From de1918aa8ce992e69a66a90a7216f2a5531bce5c Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:51:20 +0300 Subject: [PATCH 27/57] Applying Number Formatting To Fields --- resources/js/components/Cart.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/js/components/Cart.jsx b/resources/js/components/Cart.jsx index 61fec92..cac37a1 100644 --- a/resources/js/components/Cart.jsx +++ b/resources/js/components/Cart.jsx @@ -124,10 +124,12 @@ export default function Cart({ carts, setCartUpdated, cartUpdated }) { - {item?.product?.discounted_price} + {Number(item?.product?.discounted_price).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + + {item?.product?.price > - item?.product - ?.discounted_price ? ( + item?.product + ?.discounted_price ? ( <>
@@ -139,7 +141,7 @@ export default function Cart({ carts, setCartUpdated, cartUpdated }) { )} - {item?.row_total} + {Number(item?.row_total).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} ))} From b881372ef2845785f1c7c05bddf15c292240cfe7 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sat, 25 Apr 2026 23:52:41 +0300 Subject: [PATCH 28/57] Sale Item Improvements --- resources/js/components/Pos.jsx | 173 +++++++++++++++----------------- 1 file changed, 83 insertions(+), 90 deletions(-) diff --git a/resources/js/components/Pos.jsx b/resources/js/components/Pos.jsx index 7629c27..5499a72 100644 --- a/resources/js/components/Pos.jsx +++ b/resources/js/components/Pos.jsx @@ -1,4 +1,4 @@ -import React, {useEffect, useState, useCallback } from "react"; +import React, { useEffect, useState, useCallback } from "react"; import axios from "axios"; import Swal from "sweetalert2"; import Cart from "./Cart"; @@ -26,9 +26,8 @@ export default function Pos() { const [currentPage, setCurrentPage] = useState(1); const [totalPages, setTotalPages] = useState(0); const [loading, setLoading] = useState(false); - const fullDomainWithPort = `${protocol}//${hostname}${ - port ? `:${port}` : "" - }`; + const fullDomainWithPort = `${protocol}//${hostname}${port ? `:${port}` : "" + }`; const getProducts = useCallback( async (search = "", page = 1, barcode = "") => { setLoading(true); @@ -110,7 +109,7 @@ export default function Pos() { useEffect(() => { if (searchBarcode) { setProducts([]); - getProducts("", currentPage, searchBarcode); + getProducts("", currentPage, searchBarcode); } }, [searchBarcode]); @@ -222,6 +221,7 @@ export default function Pos() { } }); } + return ( <>
@@ -268,99 +268,91 @@ export default function Pos() { setCartUpdated={setCartUpdated} cartUpdated={cartUpdated} /> +
-
-
Sub Total:
-
- {total} -
-
-
-
Discount:
-
- { - const value = - e.target.value; - if ( - parseFloat(value) > - total || - parseFloat(value) < 0 - ) { - return; - } - setOrderDiscount(value); - }} - /> -
-
-
-
- Apply Fractional Discount: -
-
- { - if (e.target.checked) { - const fractionalPart = - total % 1; - setOrderDiscount( - fractionalPart?.toFixed( - 2 - ) - ); - } else { - setOrderDiscount(0); - } - }} - /> -
+
+ Sub Total + + {Number(total).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} +
-
-
Total:
-
- {updateTotal} + +
+ + Award Discount: + + +
+
+ e.target.select()} // Select all text on click for faster typing + onChange={(e) => { + const value = e.target.value; + const numValue = parseFloat(value); + + // Allow clearing the input (empty string) or valid numbers within range + if (value === "" || (numValue >= 0 && numValue <= total)) { + setOrderDiscount(value); + } + }} + /> +
-
-
Paid:
-
- { - const value = - e.target.value; - if ( - parseFloat(value) < 0 || - parseFloat(value) > + +
+ +
+ + Amount Paid: + + +
+
+ { + const value = + e.target.value; + if ( + parseFloat(value) < 0 || + parseFloat(value) > updateTotal - ) { - return; - } - setPaid(value); - }} - /> + ) { + return; + } + setPaid(value); + }} + /> +
-
-
Due:
-
- {due} + + {/* Final Totals Section */} +
+
+ Total Due + + {Number(updateTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + +
+
+ Balance + 0 ? 'text-danger' : 'text-success'}`}> + {Number(due).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} +
@@ -375,6 +367,7 @@ export default function Pos() { Clear Cart
+
+ Cancel +
+
-
-
-
- -
-
-
-
@endsection @push('style') + .select2-container--default .select2-selection--single { + height: 38px !important; + padding: 6px !important; + border: 1px solid #ced4da !important; + } + + .select2-container--default .select2-selection--single .select2-selection__arrow { + height: 36px !important; + } + + .card-header { + font-weight: 600; + text-transform: uppercase; + font-size: 0.8rem; + letter-spacing: 0.5px; + } + .btn-block { + width: 100%; + display: block; + } + @endpush + @push('script') @endpush \ No newline at end of file From ce2f7693f4c5e56a07915df2a8a5bfb69c0def1d Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sun, 26 Apr 2026 12:51:57 +0300 Subject: [PATCH 36/57] Product Store Request No Discount Type --- app/Http/Requests/StoreProductRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/StoreProductRequest.php b/app/Http/Requests/StoreProductRequest.php index c526579..1c4f26e 100755 --- a/app/Http/Requests/StoreProductRequest.php +++ b/app/Http/Requests/StoreProductRequest.php @@ -32,7 +32,7 @@ public function rules(): array 'unit_id' => 'required|exists:units,id', 'price' => 'required|numeric|min:0', 'discount' => 'nullable|numeric|min:0|required_with:discount_type', - 'discount_type' => 'nullable|required_with:discount', + 'discount_type' => 'nullable', 'purchase_price' => 'required|numeric|min:0', 'quantity' => 'nullable|integer|min:0', 'expire_date' => 'nullable|date', From 9cfb50aebd08909beee7185f6b258d200230d5f4 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Sun, 26 Apr 2026 13:44:09 +0300 Subject: [PATCH 37/57] Purchase Creation UI/UX Redesign --- resources/js/components/Purchase/Purchase.jsx | 435 +++++++----------- 1 file changed, 167 insertions(+), 268 deletions(-) diff --git a/resources/js/components/Purchase/Purchase.jsx b/resources/js/components/Purchase/Purchase.jsx index d8975dc..91bfbbf 100755 --- a/resources/js/components/Purchase/Purchase.jsx +++ b/resources/js/components/Purchase/Purchase.jsx @@ -323,296 +323,195 @@ export default function Purchase() { }; return ( - <> -
-
-
-
-
- -
- { - const formattedDate = date - ? date - .toISOString() - .split("T")[0] - : null; - setDate(formattedDate); - }} - /> +
+ + +
+ {/* Left Side: Product Selection & Table */} +
+
+
+
+
+ +
+ setDate(d ? d.toISOString().split("T")[0] : null)} + placeholderText="Select Date" + /> +
+
+
+ +
-
- - -
-
-
-
-
-
-
-
-
- - - + +
+
+
+ - setSearchTerm(e.target.value) - } - placeholder="Enter product barcode/name" + onChange={(e) => setSearchTerm(e.target.value)} + placeholder="Scan barcode or type product name..." + autoFocus /> -
+ + { + searchResults.length > 0 && ( +
+
+ {searchResults.map((product) => ( + + ))} +
+
+ ) + }
- {/* Display search results below the input */} - {searchResults.length > 0 && ( -
-
-
    - {searchResults.map((product) => ( -
  • handleProductSelect(product)} onMouseOver={(e) => (e.currentTarget.style.backgroundColor = "#F3F4F6")} onMouseOut={(e) => (e.currentTarget.style.backgroundColor = "")} style={{ cursor: "pointer" }}> -
    - {product.name} -
    - -
    - {product.currency}{" "} - {product.price} -
    -
  • - ))} -
-
-
- )} -
-
- - + +
+
+
+ - - - - - - - + + + + + + - {products.map((product, index) => ( - - - - - - - - - - ))} + { + products.length === 0 ? ( + + + + ) : ( + products.map((product) => ( + + + + + + + + + + + + )) + ) + }
#Product NamePurchase PriceCurrent StockQtySub TotalActionProduct DetailsUnit PriceQtySubtotal
{index + 1} - {product.name} - - - handlePriceChange( - product.id, - e.target.value, - ) - } - /> - {product.stock} - - handleQtyChange( - product.id, - e.target.value, - ) - } - /> - - {Number(product.subTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} - - -
+ +

+ Add products you've purchased by searching from above +

+
+
{product.name}
+ Current Stock: {product.stock} +
+ handlePriceChange(product.id, e.target.value)} + onWheel={(e) => e.target.blur()} + /> + + handleQtyChange(product.id, e.target.value)} + onWheel={(e) => e.target.blur()} + /> + + {product.currency} {Number(product.subTotal).toLocaleString(undefined, { minimumFractionDigits: 2 })} + + +
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
Subtotal: - {Number(totals.subTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} -
Tax: - {Number(totals.tax).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} -
Discount: - {Number(totals.discount).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} -
Shipping: - {Number(totals.shipping).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} -
Grand Total: - {Number(totals.grandTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} -
-
-
-
-
-
-
-
- - - setTax(parseFloat(e.target.value) || 0) - } - placeholder="Enter tax" - name="tax" - required - /> -
-
- - - setDiscount( - parseFloat(e.target.value) || 0, - ) - } - placeholder="Enter discount" - name="discount" - required - /> -
-
- - - setShipping( - parseFloat(e.target.value) || 0, - ) - } - placeholder="Enter shipping" - name="shipping" - required - /> + + {/* Right Side: Calculation & Actions */} +
+
+
+
Order Summary
+
+ +
+
    +
  • + Subtotal + {totals.subTotal.toLocaleString()} +
  • + +
  • + + setTax(parseFloat(e.target.value) || 0)} onWheel={(e) => e.target.blur()} /> +
  • + +
  • + + setDiscount(parseFloat(e.target.value) || 0)} onWheel={(e) => e.target.blur()} /> +
  • + +
  • + + setShipping(parseFloat(e.target.value) || 0)} onWheel={(e) => e.target.blur()} /> +
  • +
+ +
+
Grand Total
+

+ KES {totals.grandTotal.toLocaleString(undefined, { minimumFractionDigits: 2 })} +

+ + + + Cancel
-
- - - +
); } From 458b0800ee49c3fbb7bc8434b28c9713317ea804 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 09:20:47 +0300 Subject: [PATCH 38/57] Additional Product Search By Brand --- .../Backend/Product/ProductController.php | 22 ++++++++++++++----- resources/js/components/Purchase/Purchase.jsx | 12 +++++----- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/app/Http/Controllers/Backend/Product/ProductController.php b/app/Http/Controllers/Backend/Product/ProductController.php index 7d05ade..332d36f 100755 --- a/app/Http/Controllers/Backend/Product/ProductController.php +++ b/app/Http/Controllers/Backend/Product/ProductController.php @@ -101,12 +101,22 @@ function ($data) { ->first(); // Initialize the query - $products = Product::query(); - - // Apply filters based on the search term - $products = $products->where(function ($query) use ($request) { - $query->where('name', 'ILIKE', "%{$request->search}%") - ->orWhere('sku', 'ILIKE', "%{$request->search}%"); + $products = Product::query() + // Join the brands table + ->leftJoin('brands', 'products.brand_id', '=', 'brands.id') + // Select all product data and specifically alias the brand name + ->select([ + 'products.*', + 'brands.name as brand' + ]); + + // Apply the search filters + $products->where(function ($query) use ($request) { + $search = "%{$request->search}%"; + + $query->where('products.name', 'ILIKE', $search) + ->orWhere('products.sku', 'ILIKE', $search) + ->orWhere('brands.name', 'ILIKE', $search); }); // Get the results diff --git a/resources/js/components/Purchase/Purchase.jsx b/resources/js/components/Purchase/Purchase.jsx index 91bfbbf..673b432 100755 --- a/resources/js/components/Purchase/Purchase.jsx +++ b/resources/js/components/Purchase/Purchase.jsx @@ -370,13 +370,11 @@ export default function Purchase() {
{searchResults.map((product) => ( -
- {/*
-
- - setSearchQuery(e.target.value) - } - /> -
-
*/}
- - -
-
-
- Sub Total - - {Number(total).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} - -
- -
- - Award Discount: - - -
-
- e.target.select()} // Select all text on click for faster typing - onChange={(e) => { - const value = e.target.value; - const numValue = parseFloat(value); - - // Allow clearing the input (empty string) or valid numbers within range - if (value === "" || (numValue >= 0 && numValue <= total)) { - setOrderDiscount(value); - } - }} + + + ) : status === 'fulfilled' ? ( + <> +
+
+
+
+
+
+
-
-
- -
- - Amount Paid: - - -
-
- { - const value = - e.target.value; - if ( - parseFloat(value) < 0 || - parseFloat(value) > - updateTotal - ) { - return; - } - setPaid(value); - }} +
+ +
+
+
+
+ +
+ + setSearchQuery(e.target.value)} + placeholder="Scan Barcode or Search Product Name..." + value={searchQuery} + autoFocus + /> +
+ + { + products.length > 0 && ( +
+
+ {products.map((product) => ( + + ))} +
+
+ ) + } +
+
+ +
+
+
- {/* Final Totals Section */} -
-
- Total Due - - {Number(updateTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} - -
-
- Balance - 0 ? 'text-danger' : 'text-success'}`}> - {Number(due).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} - +
+
+
+
+
+ + + +
+
+ + +
+
+ Sub Total + + {currency} {Number(total).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + +
+ +
+ Surcharge Type + + + { + selectedMethod?.surcharge_type === 'percentage' ? ( + {`${selectedMethod?.surcharge_value} %`} + ) : selectedMethod?.surcharge_type === 'fixed' ? ( + Fixed + ) : ( + None + ) + } + +
+ +
+ Surcharge Value + + + {currency} {Number(surchargeAmount).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + +
+
+ +
+ + Award Discount: + + +
+
+ e.target.select()} // Select all text on click for faster typing + onChange={(e) => { + const value = e.target.value; + const numValue = parseFloat(value); + + // Allow clearing the input (empty string) or valid numbers within range + if (value === "" || (numValue >= 0 && numValue <= total)) { + setOrderDiscount(value); + } + }} + /> +
+
+
+ +
+ +
+ + Amount Paid: + + +
+
+ { + const value = + e.target.value; + if ( + parseFloat(value) < 0 || + parseFloat(value) > + updateTotal + ) { + return; + } + setPaid(value); + }} + /> +
+
+
+ + {/* Final Totals Section */} +
+
+ Total Due + + {Number(updateTotal).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + +
+
+ Balance + 0 ? 'text-danger' : 'text-success'}`}> + {Number(due).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })} + +
+
+
-
-
-
-
-
- -
-
- -
-
-
-
-
-
-
- - - -
- - setSearchBarcode(e.target.value) - } - /> -
-
- - setSearchQuery(e.target.value) - } - /> -
-
-
- {products.length > 0 && - products.map((product, index) => ( -
- addProductToCart(product.id) - } - className="col-6 col-md-4 col-lg-3 mb-3" - key={index} - style={{ cursor: "pointer" }} - > -
- {product.name} { - e.target.onerror = null; - e.target.src = `${fullDomainWithPort}/assets/images/no-image.png`; +
+
+ +
+ +
+
- ))} +
+
- {loading && ( -
- Loading more... +
+ + ) : ( + <> +
+
+
- )} +
-
-
-
+ + ) + } + ); From c052c0903e3dc8bf5dfd49544d2ae513df6703b1 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:25:12 +0300 Subject: [PATCH 47/57] POS Cart Enhancement - Product Name & SKU Search Into One Among Others --- .../Backend/Pos/CartController.php | 66 +++++++++++++++---- 1 file changed, 52 insertions(+), 14 deletions(-) diff --git a/app/Http/Controllers/Backend/Pos/CartController.php b/app/Http/Controllers/Backend/Pos/CartController.php index f78d107..c58867c 100755 --- a/app/Http/Controllers/Backend/Pos/CartController.php +++ b/app/Http/Controllers/Backend/Pos/CartController.php @@ -4,6 +4,7 @@ use App\Http\Controllers\Controller; use App\Http\Resources\ProductResource; +use App\Models\PaymentMethods; use App\Models\PosCart; use App\Models\Product; use Illuminate\Http\Request; @@ -18,34 +19,68 @@ public function index(Request $request) ->latest('created_at') ->get() ->map(function ($item) { - // Calculate row total for each item - $item->row_total = round(($item->quantity * $item->product->discounted_price),2); + // Access the product's computed attribute (getDiscountedPriceAttribute) + $discountedPrice = $item->product->discounted_price; + + // Inject brand name directly into the item for easier React access + $item->brand = $item->product->brand->name; + $item->currency = currency()->symbol; + + // Calculate row total + $item->row_total = round(($item->quantity * $discountedPrice), 2); + return $item; }); + $total = $cartItems->sum('row_total'); + + $paymentMethods = PaymentMethods::selectRaw('name, code, surcharge_type, surcharge_value, primary_method as primary') + ->where('active', true) + ->orderBy('primary', 'desc') + ->get(); + return response()->json([ - 'carts' => $cartItems, - 'total' => round($total, 2) + 'carts' => $cartItems, + 'total' => round($total, 2), + 'wallets' => $paymentMethods, + 'currency' => currency()->symbol, ]); } - // clear cart - PosCart::where('user_id', auth()->id())->delete(); + + // Do not clear cart. Let user do this manually + // PosCart::where('user_id', auth()->id())->delete(); + return view('backend.cart.index'); } + public function getProducts(Request $request) { + // Select product with brand names + $products = Product::query()->active()->stocked() + ->leftJoin('brands', 'products.brand_id', '=', 'brands.id') + ->select([ + 'products.*', + 'brands.name as brand' + ]); + + // Single search query to return the same data set + $products->where(function ($query) use ($request) { + $search = "%{$request->search}%"; - $products = Product::query()->active()->stocked(); - // Search by name if provided - $products->when($request->search, function ($query, $search) { - $query->where('name', 'LIKE', "%{$search}%"); + $query->where('products.name', 'ILIKE', $search) + ->orWhere('products.sku', 'ILIKE', $search) + ->orWhere('brands.name', 'ILIKE', $search) + ->orWhere('products.sku', 'ILIKE', $search); }); - // Search by barcode if provided - $products->when($request->barcode, function ($query, $barcode) { - $query->where('sku', $barcode); + // Return a list of 5 products that match to reduce load time + // and improve UI/UX + $products = $products->latest()->paginate(5)->map(function ($product) { + // Add default currency + $product->currency = currency()->symbol; + return $product; }); - $products = $products->latest()->paginate(96); + if (request()->wantsJson()) { return ProductResource::collection($products); } @@ -112,6 +147,7 @@ public function increment(Request $request) $cart->save(); return response()->json(['message' => 'Cart Updated successfully'], 200); } + public function decrement(Request $request) { $request->validate([ @@ -125,6 +161,7 @@ public function decrement(Request $request) $cart->save(); return response()->json(['message' => 'Cart Updated successfully'], 200); } + public function delete(Request $request) { $request->validate([ @@ -136,6 +173,7 @@ public function delete(Request $request) return response()->json(['message' => 'Item successfully deleted'], 200); } + public function empty() { $deletedCount = PosCart::where('user_id', auth()->id())->delete(); From d325d20feafd823d5a09a679d3e96d7611fe3f82 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:25:59 +0300 Subject: [PATCH 48/57] Payment Method Integration Into Order Creation --- .../Backend/Pos/OrderController.php | 72 +++++++++++++++++-- 1 file changed, 67 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Backend/Pos/OrderController.php b/app/Http/Controllers/Backend/Pos/OrderController.php index 9ed99c7..9e6047f 100755 --- a/app/Http/Controllers/Backend/Pos/OrderController.php +++ b/app/Http/Controllers/Backend/Pos/OrderController.php @@ -5,6 +5,7 @@ use App\Http\Controllers\Controller; use App\Models\Order; use App\Models\OrderTransaction; +use App\Models\PaymentMethods; use App\Models\PosCart; use App\Models\Product; use Illuminate\Http\Request; @@ -20,7 +21,7 @@ public function index(Request $request) { if ($request->ajax()) { $orders = Order::with('customer')->get(); - + return DataTables::of($orders) ->addIndexColumn() ->addColumn('saleId', fn($data) => "#" . $data->id) @@ -87,19 +88,62 @@ public function store(Request $request) 'order_discount.numeric' => 'The order discount must be a number.', 'paid.numeric' => 'The amount paid must be a number.', ]); + + $request->validate([ + 'customer_id' => [ + 'required', + 'exists:customers,id', + 'integer', + ], + 'order_discount' => [ + 'nullable', + 'numeric', + 'min:0', + ], + 'paid' => [ + 'nullable', + 'numeric', + 'min:0', + ], + // New Payment Validation + 'payment_method_code' => [ + 'required', + 'exists:payment_methods,code', + 'string', + ], + 'surcharge_amount' => [ + 'required', + 'numeric', + 'min:0', + ], + ], [ + 'customer_id.required' => 'Please select a customer.', + 'customer_id.exists' => 'The selected customer does not exist.', + 'order_discount.numeric' => 'The order discount must be a number.', + 'paid.numeric' => 'The amount paid must be a number.', + + // Custom Payment Messages + 'payment_method_code.required' => 'Please select a payment method.', + 'payment_method_code.exists' => 'The selected payment method code is invalid.', + 'surcharge_amount.numeric' => 'The surcharge amount must be a number.', + ]); + $carts = PosCart::with('product')->where('user_id', auth()->id())->get(); + $order = Order::create([ 'customer_id' => $request->customer_id, 'user_id' => $request->user()->id, ]); - $totalAmountOrder = 0; + $orderDiscount = $request->order_discount; + $totalAmountOrder = 0; foreach ($carts as $cart) { $mainTotal = $cart->product->price * $cart->quantity; $totalAfterDiscount = $cart->product->discounted_price * $cart->quantity; $discount = $mainTotal - $totalAfterDiscount; $totalAmountOrder += $totalAfterDiscount; + $order->products()->create([ 'quantity' => $cart->quantity, 'price' => $cart->product->price, @@ -109,17 +153,35 @@ public function store(Request $request) 'total' => $totalAfterDiscount, 'product_id' => $cart->product->id, ]); + + // Inventory Management $cart->product->quantity = $cart->product->quantity - $cart->quantity; $cart->product->save(); } - $total = $totalAmountOrder - $orderDiscount; - $due = $total - $request->paid; + // Calculate Base Total (Products - Discount) + $baseTotal = $totalAmountOrder - $orderDiscount; + + // Add Surcharge + $surcharge = (float) $request->surcharge_amount; + $grandTotal = $baseTotal + $surcharge; + + // Calculate Final Due Amount + $due = $grandTotal - $request->paid; + + // 4. Save Payment & Surcharge Details to Order + $paymentMethod = PaymentMethods::where('code', $request->payment_method_code)->first(); + + $order->payment_methods_id = $paymentMethod->id; + $order->surcharge_type = $paymentMethod->surcharge_type; + $order->surcharge_value = $paymentMethod->surcharge_value; + $order->surcharge_amount = $surcharge; + // Save Final Figures $order->sub_total = $totalAmountOrder; $order->discount = $orderDiscount; $order->paid = $request->paid; - $order->total = round((float)$total, 2); + $order->total = round((float)$grandTotal, 2); $order->due = round((float)$due, 2); $order->status = round((float)$due, 2) <= 0; From 95e0af9c0f2651dc25bb8eb3db18417dc458c38c Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:26:50 +0300 Subject: [PATCH 49/57] Payment Creation Gate Correction --- resources/views/backend/settings/payments/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/backend/settings/payments/index.blade.php b/resources/views/backend/settings/payments/index.blade.php index 0d92089..d495565 100644 --- a/resources/views/backend/settings/payments/index.blade.php +++ b/resources/views/backend/settings/payments/index.blade.php @@ -5,7 +5,7 @@ @section('content')
- @can('currency_create') + @can('payment_create')
From 919b5df232451024e3186be9d4b626405d17326c Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:37:29 +0300 Subject: [PATCH 50/57] Surcharge Details Addition To POS Receipt --- .../backend/orders/pos-invoice.blade.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/resources/views/backend/orders/pos-invoice.blade.php b/resources/views/backend/orders/pos-invoice.blade.php index 8354a23..cdb4128 100755 --- a/resources/views/backend/orders/pos-invoice.blade.php +++ b/resources/views/backend/orders/pos-invoice.blade.php @@ -73,12 +73,34 @@ Sub Total: {{ number_format($order->sub_total, 2) }} + @if($order->discount > 0) Discount: -{{ number_format($order->discount, 2) }} @endif + + @if ($order->surcharge_type <> 'none') + + Surcharge: + + @if($order->surcharge_type === 'percentage') + {{ number_format($order->surcharge_value, 1) }}% + @elseif($order->surcharge_type === 'fixed') + Fixed + @else + None + @endif + + + @endif + + + Surcharge Amount: + {{ number_format($order->surcharge_amount, 2) }} + + GRAND TOTAL: {{ number_format($order->total, 2) }} From 557df4cbf26d0f7fb4b86605eae206b3c1ae2423 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:38:06 +0300 Subject: [PATCH 51/57] Title Change to New Order --- resources/views/backend/cart/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/backend/cart/index.blade.php b/resources/views/backend/cart/index.blade.php index be31540..0ddde9d 100755 --- a/resources/views/backend/cart/index.blade.php +++ b/resources/views/backend/cart/index.blade.php @@ -1,5 +1,5 @@ @extends('backend.master') -@section('title', 'Pos') +@section('title', 'New Order') @section('content')
@push('style') From 9d552d278c77f9f125805d2267a0169a36484187 Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Mon, 27 Apr 2026 20:38:33 +0300 Subject: [PATCH 52/57] Navbar Clean Up --- .../views/backend/layouts/navbar.blade.php | 94 +++++++------------ 1 file changed, 34 insertions(+), 60 deletions(-) diff --git a/resources/views/backend/layouts/navbar.blade.php b/resources/views/backend/layouts/navbar.blade.php index ce27827..0d0e38a 100755 --- a/resources/views/backend/layouts/navbar.blade.php +++ b/resources/views/backend/layouts/navbar.blade.php @@ -1,78 +1,52 @@ -
- -
-
-`,D2=` - - - - -`,lh=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let n=e.innerHTML,r="";t.iconHtml?r=uh(t.iconHtml):t.icon==="success"?(r=k2,n=n.replace(/ style=".*?"/g,"")):t.icon==="error"?r=D2:t.icon&&(r=uh({question:"?",warning:"!",info:"i"}[t.icon])),n.trim()!==r.trim()&&It(e,r)},P2=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ih(e,n,"background-color",t.iconColor);ih(e,".swal2-success-ring","border-color",t.iconColor)}},uh=e=>`
${e}
`,_2=(e,t)=>{const n=vv();if(n){if(!t.imageUrl){at(n);return}Ue(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),Rr(n,"width",t.imageWidth),Rr(n,"height",t.imageHeight),n.className=_.image,At(n,t,"image")}},O2=(e,t)=>{const n=Ct(),r=me();if(!(!n||!r)){if(t.toast){Rr(n,"width",t.width),r.style.width="100%";const o=ri();o&&r.insertBefore(o,va())}else Rr(r,"width",t.width);Rr(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),at(Yl()),M2(r,t)}},M2=(e,t)=>{const n=t.showClass||{};e.className=`${_.popup} ${wt(e)?n.popup:""}`,t.toast?(le([document.documentElement,document.body],_["toast-shown"]),le(e,_.toast)):le(e,_.modal),At(e,t,"popup"),typeof t.customClass=="string"&&le(e,t.customClass),t.icon&&le(e,_[`icon-${t.icon}`])},T2=(e,t)=>{const n=df();if(!n)return;const{progressSteps:r,currentProgressStep:o}=t;if(!r||r.length===0||o===void 0){at(n);return}Ue(n),n.textContent="",o>=r.length&&St("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.forEach((i,a)=>{const s=N2(i);if(n.appendChild(s),a===o&&le(s,_["active-progress-step"]),a!==r.length-1){const l=A2(t);n.appendChild(l)}})},N2=e=>{const t=document.createElement("li");return le(t,_["progress-step"]),It(t,e),t},A2=e=>{const t=document.createElement("li");return le(t,_["progress-step-line"]),e.progressStepsDistance&&Rr(t,"width",e.progressStepsDistance),t},F2=(e,t)=>{const n=gv();n&&(mf(n),ya(n,t.title||t.titleText,"block"),t.title&&vf(t.title,n),t.titleText&&(n.innerText=t.titleText),At(n,t,"title"))},Cv=(e,t)=>{O2(e,t),d2(e,t),T2(e,t),S2(e,t),_2(e,t),F2(e,t),c2(e,t),x2(e,t),s2(e,t),E2(e,t);const n=me();typeof t.didRender=="function"&&n&&t.didRender(n),Z.eventEmitter.emit("didRender",n)},R2=()=>wt(me()),kv=()=>{var e;return(e=En())===null||e===void 0?void 0:e.click()},I2=()=>{var e;return(e=to())===null||e===void 0?void 0:e.click()},L2=()=>{var e;return(e=ni())===null||e===void 0?void 0:e.click()},oi=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Dv=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},B2=(e,t,n)=>{Dv(e),t.toast||(e.keydownHandler=r=>j2(t,r,n),e.keydownTarget=t.keydownListenerCapture?window:me(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Ic=(e,t)=>{var n;const r=pf();if(r.length){e=e+t,e===r.length?e=0:e===-1&&(e=r.length-1),r[e].focus();return}(n=me())===null||n===void 0||n.focus()},Pv=["ArrowRight","ArrowDown"],$2=["ArrowLeft","ArrowUp"],j2=(e,t,n)=>{e&&(t.isComposing||t.keyCode===229||(e.stopKeydownPropagation&&t.stopPropagation(),t.key==="Enter"?V2(t,e):t.key==="Tab"?H2(t):[...Pv,...$2].includes(t.key)?Y2(t.key):t.key==="Escape"&&z2(t,e,n)))},V2=(e,t)=>{if(!Hl(t.allowEnterKey))return;const n=Ul(me(),t.input);if(e.target&&n&&e.target instanceof HTMLElement&&e.target.outerHTML===n.outerHTML){if(["textarea","file"].includes(t.input))return;kv(),e.preventDefault()}},H2=e=>{const t=e.target,n=pf();let r=-1;for(let o=0;o{const t=wa(),n=En(),r=to(),o=ni();if(!t||!n||!r||!o)return;const i=[n,r,o];if(document.activeElement instanceof HTMLElement&&!i.includes(document.activeElement))return;const a=Pv.includes(e)?"nextElementSibling":"previousElementSibling";let s=document.activeElement;if(s){for(let l=0;l{Hl(t.allowEscapeKey)&&(e.preventDefault(),n(oi.esc))};var Io={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const W2=()=>{const e=Ct();Array.from(document.body.children).forEach(n=>{n.contains(e)||(n.hasAttribute("aria-hidden")&&n.setAttribute("data-previous-aria-hidden",n.getAttribute("aria-hidden")||""),n.setAttribute("aria-hidden","true"))})},_v=()=>{Array.from(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")||""),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},Ov=typeof window<"u"&&!!window.GestureEvent,U2=()=>{if(Ov&&!Fn(document.body,_.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,le(document.body,_.iosfix),Q2()}},Q2=()=>{const e=Ct();if(!e)return;let t;e.ontouchstart=n=>{t=q2(n)},e.ontouchmove=n=>{t&&(n.preventDefault(),n.stopPropagation())}},q2=e=>{const t=e.target,n=Ct(),r=cf();return!n||!r||K2(e)||G2(e)?!1:t===n||!ah(n)&&t instanceof HTMLElement&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"&&!(ah(r)&&r.contains(t))},K2=e=>e.touches&&e.touches.length&&e.touches[0].touchType==="stylus",G2=e=>e.touches&&e.touches.length>1,X2=()=>{if(Fn(document.body,_.iosfix)){const e=parseInt(document.body.style.top,10);Sn(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=e*-1}},Z2=()=>{const e=document.createElement("div");e.className=_["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t};let Co=null;const J2=e=>{Co===null&&(document.body.scrollHeight>window.innerHeight||e==="scroll")&&(Co=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Co+Z2()}px`)},eE=()=>{Co!==null&&(document.body.style.paddingRight=`${Co}px`,Co=null)};function Mv(e,t,n,r){Wl()?ch(e,r):(Vx(n).then(()=>ch(e,r)),Dv(Z)),Ov?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),hf()&&(eE(),X2(),_v()),tE()}function tE(){Sn([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"]])}function or(e){e=rE(e);const t=Io.swalPromiseResolve.get(this),n=nE(this);this.isAwaitingPromise?e.isDismissed||(xa(this),t(e)):n&&t(e)}const nE=e=>{const t=me();if(!t)return!1;const n=ye.innerParams.get(e);if(!n||Fn(t,n.hideClass.popup))return!1;Sn(t,n.showClass.popup),le(t,n.hideClass.popup);const r=Ct();return Sn(r,n.showClass.backdrop),le(r,n.hideClass.backdrop),oE(e,t,n),!0};function Tv(e){const t=Io.swalPromiseReject.get(this);xa(this),t&&t(e)}const xa=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,ye.innerParams.get(e)||e._destroy())},rE=e=>typeof e>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),oE=(e,t,n)=>{const r=Ct(),o=Hr&&xv(t);typeof n.willClose=="function"&&n.willClose(t),Z.eventEmitter.emit("willClose",t),o?iE(e,t,r,n.returnFocus,n.didClose):Mv(e,r,n.returnFocus,n.didClose)},iE=(e,t,n,r,o)=>{Hr&&(Z.swalCloseEventFinishedCallback=Mv.bind(null,e,n,r,o),t.addEventListener(Hr,function(i){i.target===t&&(Z.swalCloseEventFinishedCallback(),delete Z.swalCloseEventFinishedCallback)}))},ch=(e,t)=>{setTimeout(()=>{typeof t=="function"&&t.bind(e.params)(),Z.eventEmitter.emit("didClose"),e._destroy&&e._destroy()})},Lo=e=>{let t=me();if(t||new zr,t=me(),!t)return;const n=ri();Wl()?at(va()):aE(t,e),Ue(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},aE=(e,t)=>{const n=wa(),r=ri();!n||!r||(!t&&wt(En())&&(t=En()),Ue(n),t&&(at(t),r.setAttribute("data-button-to-replace",t.className),n.insertBefore(r,t)),le([e,n],_.loading))},sE=(e,t)=>{t.input==="select"||t.input==="radio"?fE(e,t):["text","email","number","tel","textarea"].some(n=>n===t.input)&&(lf(t.inputValue)||uf(t.inputValue))&&(Lo(En()),pE(e,t))},lE=(e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return uE(n);case"radio":return cE(n);case"file":return dE(n);default:return t.inputAutoTrim?n.value.trim():n.value}},uE=e=>e.checked?1:0,cE=e=>e.checked?e.value:null,dE=e=>e.files&&e.files.length?e.getAttribute("multiple")!==null?e.files:e.files[0]:null,fE=(e,t)=>{const n=me();if(!n)return;const r=o=>{t.input==="select"?hE(n,js(o),t):t.input==="radio"&&mE(n,js(o),t)};lf(t.inputOptions)||uf(t.inputOptions)?(Lo(En()),ma(t.inputOptions).then(o=>{e.hideLoading(),r(o)})):typeof t.inputOptions=="object"?r(t.inputOptions):eo(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof t.inputOptions}`)},pE=(e,t)=>{const n=e.getInput();n&&(at(n),ma(t.inputValue).then(r=>{n.value=t.input==="number"?`${parseFloat(r)||0}`:`${r}`,Ue(n),n.focus(),e.hideLoading()}).catch(r=>{eo(`Error in inputValue promise: ${r}`),n.value="",Ue(n),n.focus(),e.hideLoading()}))};function hE(e,t,n){const r=rr(e,_.select);if(!r)return;const o=(i,a,s)=>{const l=document.createElement("option");l.value=s,It(l,a),l.selected=Nv(s,n.inputValue),i.appendChild(l)};t.forEach(i=>{const a=i[0],s=i[1];if(Array.isArray(s)){const l=document.createElement("optgroup");l.label=a,l.disabled=!1,r.appendChild(l),s.forEach(u=>o(l,u[1],u[0]))}else o(r,s,a)}),r.focus()}function mE(e,t,n){const r=rr(e,_.radio);if(!r)return;t.forEach(i=>{const a=i[0],s=i[1],l=document.createElement("input"),u=document.createElement("label");l.type="radio",l.name=_.radio,l.value=a,Nv(a,n.inputValue)&&(l.checked=!0);const c=document.createElement("span");It(c,s),c.className=_.label,u.appendChild(l),u.appendChild(c),r.appendChild(u)});const o=r.querySelectorAll("input");o.length&&o[0].focus()}const js=e=>{const t=[];return e instanceof Map?e.forEach((n,r)=>{let o=n;typeof o=="object"&&(o=js(o)),t.push([r,o])}):Object.keys(e).forEach(n=>{let r=e[n];typeof r=="object"&&(r=js(r)),t.push([n,r])}),t},Nv=(e,t)=>!!t&&t.toString()===e.toString(),gE=e=>{const t=ye.innerParams.get(e);e.disableButtons(),t.input?Av(e,"confirm"):bf(e,!0)},vE=e=>{const t=ye.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Av(e,"deny"):yf(e,!1)},wE=(e,t)=>{e.disableButtons(),t(oi.cancel)},Av=(e,t)=>{const n=ye.innerParams.get(e);if(!n.input){eo(`The "input" parameter is needed to be set when using returnInputValueOn${sf(t)}`);return}const r=e.getInput(),o=lE(e,n);n.inputValidator?yE(e,o,t):r&&!r.checkValidity()?(e.enableButtons(),e.showValidationMessage(n.validationMessage||r.validationMessage)):t==="deny"?yf(e,o):bf(e,o)},yE=(e,t,n)=>{const r=ye.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>ma(r.inputValidator(t,r.validationMessage))).then(i=>{e.enableButtons(),e.enableInput(),i?e.showValidationMessage(i):n==="deny"?yf(e,t):bf(e,t)})},yf=(e,t)=>{const n=ye.innerParams.get(e||void 0);n.showLoaderOnDeny&&Lo(to()),n.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>ma(n.preDeny(t,n.validationMessage))).then(o=>{o===!1?(e.hideLoading(),xa(e)):e.close({isDenied:!0,value:typeof o>"u"?t:o})}).catch(o=>Fv(e||void 0,o))):e.close({isDenied:!0,value:t})},dh=(e,t)=>{e.close({isConfirmed:!0,value:t})},Fv=(e,t)=>{e.rejectPromise(t)},bf=(e,t)=>{const n=ye.innerParams.get(e||void 0);n.showLoaderOnConfirm&&Lo(),n.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>ma(n.preConfirm(t,n.validationMessage))).then(o=>{wt(Yl())||o===!1?(e.hideLoading(),xa(e)):dh(e,typeof o>"u"?t:o)}).catch(o=>Fv(e||void 0,o))):dh(e,t)};function Vs(){const e=ye.innerParams.get(this);if(!e)return;const t=ye.domCache.get(this);at(t.loader),Wl()?e.icon&&Ue(va()):bE(t),Sn([t.popup,t.actions],_.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const bE=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?Ue(t[0],"inline-block"):Gx()&&at(e.actions)};function Rv(){const e=ye.innerParams.get(this),t=ye.domCache.get(this);return t?Ul(t.popup,e.input):null}function Iv(e,t,n){const r=ye.domCache.get(e);t.forEach(o=>{r[o].disabled=n})}function Lv(e,t){const n=me();if(!(!n||!e))if(e.type==="radio"){const r=n.querySelectorAll(`[name="${_.radio}"]`);for(let o=0;oObject.prototype.hasOwnProperty.call(ko,e),Wv=e=>xE.indexOf(e)!==-1,Uv=e=>EE[e],CE=e=>{zv(e)||St(`Unknown parameter "${e}"`)},kE=e=>{SE.includes(e)&&St(`The parameter "${e}" is incompatible with toasts`)},DE=e=>{const t=Uv(e);t&&mv(e,t)},PE=e=>{e.backdrop===!1&&e.allowOutsideClick&&St('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)CE(t),e.toast&&kE(t),DE(t)};function Qv(e){const t=me(),n=ye.innerParams.get(this);if(!t||Fn(t,n.hideClass.popup)){St("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const r=_E(e),o=Object.assign({},n,r);Cv(this,o),ye.innerParams.set(this,o),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const _E=e=>{const t={};return Object.keys(e).forEach(n=>{Wv(n)?t[n]=e[n]:St(`Invalid parameter to update: ${n}`)}),t};function qv(){const e=ye.domCache.get(this),t=ye.innerParams.get(this);if(!t){Kv(this);return}e.popup&&Z.swalCloseEventFinishedCallback&&(Z.swalCloseEventFinishedCallback(),delete Z.swalCloseEventFinishedCallback),typeof t.didDestroy=="function"&&t.didDestroy(),Z.eventEmitter.emit("didDestroy"),OE(this)}const OE=e=>{Kv(e),delete e.params,delete Z.keydownHandler,delete Z.keydownTarget,delete Z.currentInstance},Kv=e=>{e.isAwaitingPromise?(Bu(ye,e),e.isAwaitingPromise=!0):(Bu(Io,e),Bu(ye,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Bu=(e,t)=>{for(const n in e)e[n].delete(t)};var ME=Object.freeze({__proto__:null,_destroy:qv,close:or,closeModal:or,closePopup:or,closeToast:or,disableButtons:$v,disableInput:Vv,disableLoading:Vs,enableButtons:Bv,enableInput:jv,getInput:Rv,handleAwaitingPromise:xa,hideLoading:Vs,rejectPromise:Tv,resetValidationMessage:Yv,showValidationMessage:Hv,update:Qv});const TE=(e,t,n)=>{e.toast?NE(e,t,n):(FE(t),RE(t),IE(e,t,n))},NE=(e,t,n)=>{t.popup.onclick=()=>{e&&(AE(e)||e.timer||e.input)||n(oi.close)}},AE=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton);let Hs=!1;const FE=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(Hs=!0)}}},RE=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(n){e.popup.onmouseup=()=>{},(n.target===e.popup||n.target instanceof HTMLElement&&e.popup.contains(n.target))&&(Hs=!0)}}},IE=(e,t,n)=>{t.container.onclick=r=>{if(Hs){Hs=!1;return}r.target===t.container&&Hl(e.allowOutsideClick)&&n(oi.backdrop)}},LE=e=>typeof e=="object"&&e.jquery,fh=e=>e instanceof Element||LE(e),BE=e=>{const t={};return typeof e[0]=="object"&&!fh(e[0])?Object.assign(t,e[0]):["title","html","icon"].forEach((n,r)=>{const o=e[r];typeof o=="string"||fh(o)?t[n]=o:o!==void 0&&eo(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`)}),t};function $E(){for(var e=arguments.length,t=new Array(e),n=0;nZ.timeout&&Z.timeout.getTimerLeft(),Gv=()=>{if(Z.timeout)return Xx(),Z.timeout.stop()},Xv=()=>{if(Z.timeout){const e=Z.timeout.start();return gf(e),e}},HE=()=>{const e=Z.timeout;return e&&(e.running?Gv():Xv())},YE=e=>{if(Z.timeout){const t=Z.timeout.increase(e);return gf(t,!0),t}},zE=()=>!!(Z.timeout&&Z.timeout.isRunning());let ph=!1;const Lc={};function WE(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Lc[e]=this,ph||(document.body.addEventListener("click",UE),ph=!0)}const UE=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const n in Lc){const r=t.getAttribute(n);if(r){Lc[n].fire({template:r});return}}};class QE{constructor(){this.events={}}_getHandlersByEventName(t){return typeof this.events[t]>"u"&&(this.events[t]=[]),this.events[t]}on(t,n){const r=this._getHandlersByEventName(t);r.includes(n)||r.push(n)}once(t,n){var r=this;const o=function(){r.removeListener(t,o);for(var i=arguments.length,a=new Array(i),s=0;s1?n-1:0),o=1;o{try{i.apply(this,r)}catch(a){console.error(a)}})}removeListener(t,n){const r=this._getHandlersByEventName(t),o=r.indexOf(n);o>-1&&r.splice(o,1)}removeAllListeners(t){this.events[t]!==void 0&&(this.events[t].length=0)}reset(){this.events={}}}Z.eventEmitter=new QE;const qE=(e,t)=>{Z.eventEmitter.on(e,t)},KE=(e,t)=>{Z.eventEmitter.once(e,t)},GE=(e,t)=>{if(!e){Z.eventEmitter.reset();return}t?Z.eventEmitter.removeListener(e,t):Z.eventEmitter.removeAllListeners(e)};var XE=Object.freeze({__proto__:null,argsToParams:BE,bindClickHandler:WE,clickCancel:L2,clickConfirm:kv,clickDeny:I2,enableLoading:Lo,fire:$E,getActions:wa,getCancelButton:ni,getCloseButton:ff,getConfirmButton:En,getContainer:Ct,getDenyButton:to,getFocusableElements:pf,getFooter:wv,getHtmlContainer:cf,getIcon:va,getIconContent:Wx,getImage:vv,getInputLabel:Ux,getLoader:ri,getPopup:me,getProgressSteps:df,getTimerLeft:VE,getTimerProgressBar:zl,getTitle:gv,getValidationMessage:Yl,increaseTimer:YE,isDeprecatedParameter:Uv,isLoading:qx,isTimerRunning:zE,isUpdatableParameter:Wv,isValidParameter:zv,isVisible:R2,mixin:jE,off:GE,on:qE,once:KE,resumeTimer:Xv,showLoading:Lo,stopTimer:Gv,toggleTimer:HE});class ZE{constructor(t,n){this.callback=t,this.remaining=n,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(t){const n=this.running;return n&&this.stop(),this.remaining+=t,n&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Zv=["swal-title","swal-html","swal-footer"],JE=e=>{const t=typeof e.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return sS(n),Object.assign(eS(n),tS(n),nS(n),rS(n),oS(n),iS(n),aS(n,Zv))},eS=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach(r=>{Yr(r,["name","value"]);const o=r.getAttribute("name"),i=r.getAttribute("value");!o||!i||(typeof ko[o]=="boolean"?t[o]=i!=="false":typeof ko[o]=="object"?t[o]=JSON.parse(i):t[o]=i)}),t},tS=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(r=>{const o=r.getAttribute("name"),i=r.getAttribute("value");!o||!i||(t[o]=new Function(`return ${i}`)())}),t},nS=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach(r=>{Yr(r,["type","color","aria-label"]);const o=r.getAttribute("type");!o||!["confirm","cancel","deny"].includes(o)||(t[`${o}ButtonText`]=r.innerHTML,t[`show${sf(o)}Button`]=!0,r.hasAttribute("color")&&(t[`${o}ButtonColor`]=r.getAttribute("color")),r.hasAttribute("aria-label")&&(t[`${o}ButtonAriaLabel`]=r.getAttribute("aria-label")))}),t},rS=e=>{const t={},n=e.querySelector("swal-image");return n&&(Yr(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")||void 0),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")||void 0),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")||void 0),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt")||void 0)),t},oS=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Yr(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},iS=e=>{const t={},n=e.querySelector("swal-input");n&&(Yr(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const r=Array.from(e.querySelectorAll("swal-input-option"));return r.length&&(t.inputOptions={},r.forEach(o=>{Yr(o,["value"]);const i=o.getAttribute("value");if(!i)return;const a=o.innerHTML;t.inputOptions[i]=a})),t},aS=(e,t)=>{const n={};for(const r in t){const o=t[r],i=e.querySelector(o);i&&(Yr(i,[]),n[o.replace(/^swal-/,"")]=i.innerHTML.trim())}return n},sS=e=>{const t=Zv.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(n=>{const r=n.tagName.toLowerCase();t.includes(r)||St(`Unrecognized element <${r}>`)})},Yr=(e,t)=>{Array.from(e.attributes).forEach(n=>{t.indexOf(n.name)===-1&&St([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,`${t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."}`])})},Jv=10,lS=e=>{const t=Ct(),n=me();typeof e.willOpen=="function"&&e.willOpen(n),Z.eventEmitter.emit("willOpen",n);const o=window.getComputedStyle(document.body).overflowY;dS(t,n,e),setTimeout(()=>{uS(t,n)},Jv),hf()&&(cS(t,e.scrollbarPadding,o),W2()),!Wl()&&!Z.previousActiveElement&&(Z.previousActiveElement=document.activeElement),typeof e.didOpen=="function"&&setTimeout(()=>e.didOpen(n)),Z.eventEmitter.emit("didOpen",n),Sn(t,_["no-transition"])},e0=e=>{const t=me();if(e.target!==t||!Hr)return;const n=Ct();t.removeEventListener(Hr,e0),n.style.overflowY="auto"},uS=(e,t)=>{Hr&&xv(t)?(e.style.overflowY="hidden",t.addEventListener(Hr,e0)):e.style.overflowY="auto"},cS=(e,t,n)=>{U2(),t&&n!=="hidden"&&J2(n),setTimeout(()=>{e.scrollTop=0})},dS=(e,t,n)=>{le(e,n.showClass.backdrop),n.animation?(t.style.setProperty("opacity","0","important"),Ue(t,"grid"),setTimeout(()=>{le(t,n.showClass.popup),t.style.removeProperty("opacity")},Jv)):Ue(t,"grid"),le([document.documentElement,document.body],_.shown),n.heightAuto&&n.backdrop&&!n.toast&&le([document.documentElement,document.body],_["height-auto"])};var hh={email:(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function fS(e){e.inputValidator||(e.input==="email"&&(e.inputValidator=hh.email),e.input==="url"&&(e.inputValidator=hh.url))}function pS(e){(!e.target||typeof e.target=="string"&&!document.querySelector(e.target)||typeof e.target!="string"&&!e.target.appendChild)&&(St('Target parameter is not valid, defaulting to "body"'),e.target="body")}function hS(e){fS(e),e.showLoaderOnConfirm&&!e.preConfirm&&St(`showLoaderOnConfirm is set to true, but preConfirm is not defined. -showLoaderOnConfirm should be used together with preConfirm, see usage example: -https://sweetalert2.github.io/#ajax-request`),pS(e),typeof e.title=="string"&&(e.title=e.title.split(` -`).join("
")),o2(e)}let ln;var Aa=new WeakMap;class Le{constructor(){if(Lx(this,Aa,void 0),typeof window>"u")return;ln=this;for(var t=arguments.length,n=new Array(t),r=0;r1&&arguments[1]!==void 0?arguments[1]:{};if(PE(Object.assign({},n,t)),Z.currentInstance){const i=Io.swalPromiseResolve.get(Z.currentInstance),{isAwaitingPromise:a}=Z.currentInstance;Z.currentInstance._destroy(),a||i({isDismissed:!0}),hf()&&_v()}Z.currentInstance=ln;const r=gS(t,n);hS(r),Object.freeze(r),Z.timeout&&(Z.timeout.stop(),delete Z.timeout),clearTimeout(Z.restoreFocusTimeout);const o=vS(ln);return Cv(ln,r),ye.innerParams.set(ln,r),mS(ln,o,r)}then(t){return rh(Aa,this).then(t)}finally(t){return rh(Aa,this).finally(t)}}const mS=(e,t,n)=>new Promise((r,o)=>{const i=a=>{e.close({isDismissed:!0,dismiss:a})};Io.swalPromiseResolve.set(e,r),Io.swalPromiseReject.set(e,o),t.confirmButton.onclick=()=>{gE(e)},t.denyButton.onclick=()=>{vE(e)},t.cancelButton.onclick=()=>{wE(e,i)},t.closeButton.onclick=()=>{i(oi.close)},TE(n,t,i),B2(Z,n,i),sE(e,n),lS(n),wS(Z,n,i),yS(t,n),setTimeout(()=>{t.container.scrollTop=0})}),gS=(e,t)=>{const n=JE(e),r=Object.assign({},ko,t,n,e);return r.showClass=Object.assign({},ko.showClass,r.showClass),r.hideClass=Object.assign({},ko.hideClass,r.hideClass),r.animation===!1&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},vS=e=>{const t={popup:me(),container:Ct(),actions:wa(),confirmButton:En(),denyButton:to(),cancelButton:ni(),loader:ri(),closeButton:ff(),validationMessage:Yl(),progressSteps:df()};return ye.domCache.set(e,t),t},wS=(e,t,n)=>{const r=zl();at(r),t.timer&&(e.timeout=new ZE(()=>{n("timer"),delete e.timeout},t.timer),t.timerProgressBar&&(Ue(r),At(r,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&gf(t.timer)})))},yS=(e,t)=>{if(!t.toast){if(!Hl(t.allowEnterKey)){mv("allowEnterKey"),ES();return}bS(e)||xS(e,t)||Ic(-1,1)}},bS=e=>{const t=e.popup.querySelectorAll("[autofocus]");for(const n of t)if(n instanceof HTMLElement&&wt(n))return n.focus(),!0;return!1},xS=(e,t)=>t.focusDeny&&wt(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&wt(e.cancelButton)?(e.cancelButton.focus(),!0):t.focusConfirm&&wt(e.confirmButton)?(e.confirmButton.focus(),!0):!1,ES=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const n=document.createElement("audio");n.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",n.loop=!0,document.body.appendChild(n),setTimeout(()=>{n.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${e}`)}Le.prototype.disableButtons=$v;Le.prototype.enableButtons=Bv;Le.prototype.getInput=Rv;Le.prototype.disableInput=Vv;Le.prototype.enableInput=jv;Le.prototype.hideLoading=Vs;Le.prototype.disableLoading=Vs;Le.prototype.showValidationMessage=Hv;Le.prototype.resetValidationMessage=Yv;Le.prototype.close=or;Le.prototype.closePopup=or;Le.prototype.closeModal=or;Le.prototype.closeToast=or;Le.prototype.rejectPromise=Tv;Le.prototype.update=Qv;Le.prototype._destroy=qv;Object.assign(Le,XE);Object.keys(ME).forEach(e=>{Le[e]=function(){return ln&&ln[e]?ln[e](...arguments):null}});Le.DismissReason=oi;Le.version="11.14.1";const zr=Le;zr.default=zr;typeof document<"u"&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch{n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}');let SS={data:""},CS=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||SS,kS=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,DS=/\/\*[^]*?\*\/| +/g,mh=/\n+/g,er=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+a+";":r+=i[1]=="f"?er(a,i):i+"{"+er(a,i[1]=="k"?"":t)+"}":typeof a=="object"?r+=er(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,s):s?s+" "+l:l)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=er.p?er.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},Pn={},t0=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+t0(e[n]);return t}return e},PS=(e,t,n,r,o)=>{let i=t0(e),a=Pn[i]||(Pn[i]=(l=>{let u=0,c=11;for(;u>>0;return"go"+c})(i));if(!Pn[a]){let l=i!==e?e:(u=>{let c,d,f=[{}];for(;c=kS.exec(u.replace(DS,""));)c[4]?f.shift():c[3]?(d=c[3].replace(mh," ").trim(),f.unshift(f[0][d]=f[0][d]||{})):f[0][c[1]]=c[2].replace(mh," ").trim();return f[0]})(e);Pn[a]=er(o?{["@keyframes "+a]:l}:l,n?"":"."+a)}let s=n&&Pn.g?Pn.g:null;return n&&(Pn.g=Pn[a]),((l,u,c,d)=>{d?u.data=u.data.replace(d,l):u.data.indexOf(l)===-1&&(u.data=c?l+u.data:u.data+l)})(Pn[a],t,r,s),a},_S=(e,t,n)=>e.reduce((r,o,i)=>{let a=t[i];if(a&&a.call){let s=a(n),l=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=l?"."+l:s&&typeof s=="object"?s.props?"":er(s,""):s===!1?"":s}return r+o+(a??"")},"");function Ql(e){let t=this||{},n=e.call?e(t.p):e;return PS(n.unshift?n.raw?_S(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,CS(t.target),t.g,t.o,t.k)}let n0,Bc,$c;Ql.bind({g:1});let Vn=Ql.bind({k:1});function OS(e,t,n,r){er.p=t,n0=e,Bc=n,$c=r}function Er(e,t){let n=this||{};return function(){let r=arguments;function o(i,a){let s=Object.assign({},i),l=s.className||o.className;n.p=Object.assign({theme:Bc&&Bc()},s),n.o=/ *go\d+/.test(l),s.className=Ql.apply(n,r)+(l?" "+l:""),t&&(s.ref=a);let u=e;return e[0]&&(u=s.as||e,delete s.as),$c&&u[0]&&$c(s),n0(u,s)}return t?t(o):o}}var MS=e=>typeof e=="function",Ys=(e,t)=>MS(e)?e(t):e,TS=(()=>{let e=0;return()=>(++e).toString()})(),r0=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),NS=20,fs=new Map,AS=1e3,gh=e=>{if(fs.has(e))return;let t=setTimeout(()=>{fs.delete(e),no({type:4,toastId:e})},AS);fs.set(e,t)},FS=e=>{let t=fs.get(e);t&&clearTimeout(t)},jc=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,NS)};case 1:return t.toast.id&&FS(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:n}=t;return e.toasts.find(i=>i.id===n.id)?jc(e,{type:1,toast:n}):jc(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?gh(r):e.toasts.forEach(i=>{gh(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===r||r===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ps=[],hs={toasts:[],pausedAt:void 0},no=e=>{hs=jc(hs,e),ps.forEach(t=>{t(hs)})},RS={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},IS=(e={})=>{let[t,n]=b.useState(hs);b.useEffect(()=>(ps.push(n),()=>{let o=ps.indexOf(n);o>-1&&ps.splice(o,1)}),[t]);let r=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||RS[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:r}},LS=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(n==null?void 0:n.id)||TS()}),Ea=e=>(t,n)=>{let r=LS(t,e,n);return no({type:2,toast:r}),r.id},Pt=(e,t)=>Ea("blank")(e,t);Pt.error=Ea("error");Pt.success=Ea("success");Pt.loading=Ea("loading");Pt.custom=Ea("custom");Pt.dismiss=e=>{no({type:3,toastId:e})};Pt.remove=e=>no({type:4,toastId:e});Pt.promise=(e,t,n)=>{let r=Pt.loading(t.loading,{...n,...n==null?void 0:n.loading});return e.then(o=>(Pt.success(Ys(t.success,o),{id:r,...n,...n==null?void 0:n.success}),o)).catch(o=>{Pt.error(Ys(t.error,o),{id:r,...n,...n==null?void 0:n.error})}),e};var BS=(e,t)=>{no({type:1,toast:{id:e,height:t}})},$S=()=>{no({type:5,time:Date.now()})},jS=e=>{let{toasts:t,pausedAt:n}=IS(e);b.useEffect(()=>{if(n)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let l=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(l<0){s.visible&&Pt.dismiss(s.id);return}return setTimeout(()=>Pt.dismiss(s.id),l)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,n]);let r=b.useCallback(()=>{n&&no({type:6,time:Date.now()})},[n]),o=b.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:l=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(i.position||u)&&h.height),d=c.findIndex(h=>h.id===i.id),f=c.filter((h,g)=>gh.visible).slice(...s?[f+1]:[0,f]).reduce((h,g)=>h+(g.height||0)+l,0)},[t]);return{toasts:t,handlers:{updateHeight:BS,startPause:$S,endPause:r,calculateOffset:o}}},VS=Vn` -from { - transform: scale(0) rotate(45deg); - opacity: 0; -} -to { - transform: scale(1) rotate(45deg); - opacity: 1; -}`,HS=Vn` -from { - transform: scale(0); - opacity: 0; -} -to { - transform: scale(1); - opacity: 1; -}`,YS=Vn` -from { - transform: scale(0) rotate(90deg); - opacity: 0; -} -to { - transform: scale(1) rotate(90deg); - opacity: 1; -}`,zS=Er("div")` - width: 20px; - opacity: 0; - height: 20px; - border-radius: 10px; - background: ${e=>e.primary||"#ff4b4b"}; - position: relative; - transform: rotate(45deg); - - animation: ${VS} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) - forwards; - animation-delay: 100ms; - - &:after, - &:before { - content: ''; - animation: ${HS} 0.15s ease-out forwards; - animation-delay: 150ms; - position: absolute; - border-radius: 3px; - opacity: 0; - background: ${e=>e.secondary||"#fff"}; - bottom: 9px; - left: 4px; - height: 2px; - width: 12px; - } - - &:before { - animation: ${YS} 0.15s ease-out forwards; - animation-delay: 180ms; - transform: rotate(90deg); - } -`,WS=Vn` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,US=Er("div")` - width: 12px; - height: 12px; - box-sizing: border-box; - border: 2px solid; - border-radius: 100%; - border-color: ${e=>e.secondary||"#e0e0e0"}; - border-right-color: ${e=>e.primary||"#616161"}; - animation: ${WS} 1s linear infinite; -`,QS=Vn` -from { - transform: scale(0) rotate(45deg); - opacity: 0; -} -to { - transform: scale(1) rotate(45deg); - opacity: 1; -}`,qS=Vn` -0% { - height: 0; - width: 0; - opacity: 0; -} -40% { - height: 0; - width: 6px; - opacity: 1; -} -100% { - opacity: 1; - height: 10px; -}`,KS=Er("div")` - width: 20px; - opacity: 0; - height: 20px; - border-radius: 10px; - background: ${e=>e.primary||"#61d345"}; - position: relative; - transform: rotate(45deg); - - animation: ${QS} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) - forwards; - animation-delay: 100ms; - &:after { - content: ''; - box-sizing: border-box; - animation: ${qS} 0.2s ease-out forwards; - opacity: 0; - animation-delay: 200ms; - position: absolute; - border-right: 2px solid; - border-bottom: 2px solid; - border-color: ${e=>e.secondary||"#fff"}; - bottom: 6px; - left: 6px; - height: 10px; - width: 6px; - } -`,GS=Er("div")` - position: absolute; -`,XS=Er("div")` - position: relative; - display: flex; - justify-content: center; - align-items: center; - min-width: 20px; - min-height: 20px; -`,ZS=Vn` -from { - transform: scale(0.6); - opacity: 0.4; -} -to { - transform: scale(1); - opacity: 1; -}`,JS=Er("div")` - position: relative; - transform: scale(0.6); - opacity: 0.4; - min-width: 20px; - animation: ${ZS} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) - forwards; -`,eC=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return t!==void 0?typeof t=="string"?b.createElement(JS,null,t):t:n==="blank"?null:b.createElement(XS,null,b.createElement(US,{...r}),n!=="loading"&&b.createElement(GS,null,n==="error"?b.createElement(zS,{...r}):b.createElement(KS,{...r})))},tC=e=>` -0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;} -100% {transform: translate3d(0,0,0) scale(1); opacity:1;} -`,nC=e=>` -0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} -100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;} -`,rC="0%{opacity:0;} 100%{opacity:1;}",oC="0%{opacity:1;} 100%{opacity:0;}",iC=Er("div")` - display: flex; - align-items: center; - background: #fff; - color: #363636; - line-height: 1.3; - will-change: transform; - box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); - max-width: 350px; - pointer-events: auto; - padding: 8px 10px; - border-radius: 8px; -`,aC=Er("div")` - display: flex; - justify-content: center; - margin: 4px 10px; - color: inherit; - flex: 1 1 auto; - white-space: pre-line; -`,sC=(e,t)=>{let n=e.includes("top")?1:-1,[r,o]=r0()?[rC,oC]:[tC(n),nC(n)];return{animation:t?`${Vn(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Vn(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},lC=b.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?sC(e.position||t||"top-center",e.visible):{opacity:0},i=b.createElement(eC,{toast:e}),a=b.createElement(aC,{...e.ariaProps},Ys(e.message,e));return b.createElement(iC,{className:e.className,style:{...o,...n,...e.style}},typeof r=="function"?r({icon:i,message:a}):b.createElement(b.Fragment,null,i,a))});OS(b.createElement);var uC=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let i=b.useCallback(a=>{if(a){let s=()=>{let l=a.getBoundingClientRect().height;r(e,l)};s(),new MutationObserver(s).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return b.createElement("div",{ref:i,className:t,style:n},o)},cC=(e,t)=>{let n=e.includes("top"),r=n?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:r0()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...r,...o}},dC=Ql` - z-index: 9999; - > * { - pointer-events: auto; - } -`,Fa=16,xf=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:l}=jS(n);return b.createElement("div",{style:{position:"fixed",zIndex:9999,top:Fa,left:Fa,right:Fa,bottom:Fa,pointerEvents:"none",...i},className:a,onMouseEnter:l.startPause,onMouseLeave:l.endPause},s.map(u=>{let c=u.position||t,d=l.calculateOffset(u,{reverseOrder:e,gutter:r,defaultPosition:t}),f=cC(c,d);return b.createElement(uC,{id:u.id,key:u.id,onHeightUpdate:l.updateHeight,className:u.visible?dC:"",style:f},u.type==="custom"?Ys(u.message,u):o?o(u):b.createElement(lC,{toast:u,position:c}))}))},Xe=Pt;const Ni="/build/assets/beep-07a-24004a82.mp3",zs="/build/assets/beep-02-4c77c523.mp3",Tn=e=>{new Audio(e).play().catch(n=>{console.error("Error playing sound:",n)})};function fC({carts:e,setCartUpdated:t,cartUpdated:n}){function r(a){ot.put("/admin/cart/increment",{id:a}).then(s=>{var l;t(!n),Tn(Ni),Xe.success((l=s==null?void 0:s.data)==null?void 0:l.message)}).catch(s=>{Tn(zs),Xe.error(s.response.data.message)})}function o(a){ot.put("/admin/cart/decrement",{id:a}).then(s=>{var l;t(!n),Tn(Ni),Xe.success((l=s==null?void 0:s.data)==null?void 0:l.message)}).catch(s=>{Tn(zs),Xe.error(s.response.data.message)})}function i(a){zr.fire({title:"Are you sure you want to delete this item?",showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{actions:"my-actions",cancelButton:"order-1 right-gap",confirmButton:"order-2",denyButton:"order-3"}}).then(s=>{if(s.isConfirmed)ot.put("/admin/cart/delete",{id:a}).then(l=>{var u;console.log(l),t(!n),Tn(Ni),Xe.success((u=l==null?void 0:l.data)==null?void 0:u.message)}).catch(l=>{Xe.error(l.response.data.message)});else if(s.isDenied)return})}return S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"user-cart",children:S.jsx("div",{className:"card",children:S.jsx("div",{className:"card-body",children:S.jsx("div",{className:"responsive-table",children:S.jsxs("table",{className:"table table-striped",children:[S.jsx("thead",{children:S.jsxs("tr",{className:"text-center",children:[S.jsx("th",{children:"Name"}),S.jsx("th",{children:"Quantity"}),S.jsx("th",{}),S.jsx("th",{children:"Price"}),S.jsx("th",{children:"Total"})]})}),S.jsx("tbody",{children:e.map(a=>{var s,l,u,c;return S.jsxs("tr",{children:[S.jsx("td",{children:a.product.name}),S.jsxs("td",{className:"d-flex align-items-center",children:[S.jsx("button",{className:"btn btn-warning btn-sm",onClick:()=>o(a.id),children:S.jsx("i",{className:"fas fa-minus"})}),S.jsx("input",{type:"number",className:"form-control form-control-sm qty ml-1 mr-1",value:a.quantity,disabled:!0}),S.jsx("button",{className:"btn btn-success btn-sm",onClick:()=>r(a.id),children:S.jsx("i",{className:"fas fa-plus "})})]}),S.jsx("td",{children:S.jsx("button",{className:"btn btn-danger btn-sm mr-3",onClick:()=>i(a.id),children:S.jsx("i",{className:"fas fa-trash "})})}),S.jsxs("td",{className:"text-right",children:[(s=a==null?void 0:a.product)==null?void 0:s.discounted_price,((l=a==null?void 0:a.product)==null?void 0:l.price)>((u=a==null?void 0:a.product)==null?void 0:u.discounted_price)?S.jsxs(S.Fragment,{children:[S.jsx("br",{}),S.jsx("del",{children:(c=a==null?void 0:a.product)==null?void 0:c.price})]}):""]}),S.jsx("td",{className:"text-right",children:a==null?void 0:a.row_total})]},a.id)})})]})})})})}),S.jsx(xf,{position:"top-right",reverseOrder:!1})]})}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0?Ze(ii,--Et):0,Bo--,Be===10&&(Bo=1,Kl--),Be}function Mt(){return Be=Et2||Wi(Be)>3?"":" "}function LC(e,t){for(;--t&&Mt()&&!(Be<48||Be>102||Be>57&&Be<65||Be>70&&Be<97););return Sa(e,ms()+(t<6&&vn()==32&&Mt()==32))}function zc(e){for(;Mt();)switch(Be){case e:return Et;case 34:case 39:e!==34&&e!==39&&zc(Be);break;case 40:e===41&&zc(e);break;case 92:Mt();break}return Et}function BC(e,t){for(;Mt()&&e+Be!==47+10;)if(e+Be===42+42&&vn()===47)break;return"/*"+Sa(t,Et-1)+"*"+ql(e===47?e:Mt())}function $C(e){for(;!Wi(vn());)Mt();return Sa(e,Et)}function jC(e){return f0(vs("",null,null,null,[""],e=d0(e),0,[0],e))}function vs(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,h=0,g=0,w=1,y=1,p=1,m=0,v="",x=o,C=i,D=r,E=v;y;)switch(g=m,m=Mt()){case 40:if(g!=108&&Ze(E,d-1)==58){Yc(E+=ce(gs(m),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=gs(m);break;case 9:case 10:case 13:case 32:E+=IC(g);break;case 92:E+=LC(ms()-1,7);continue;case 47:switch(vn()){case 42:case 47:Ra(VC(BC(Mt(),ms()),t,n),l);break;default:E+="/"}break;case 123*w:s[u++]=cn(E)*p;case 125*w:case 59:case 0:switch(m){case 0:case 125:y=0;case 59+c:p==-1&&(E=ce(E,/\f/g,"")),h>0&&cn(E)-d&&Ra(h>32?bh(E+";",r,n,d-1):bh(ce(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(Ra(D=yh(E,t,n,u,c,o,s,v,x=[],C=[],d),i),m===123)if(c===0)vs(E,t,D,D,x,i,d,s,C);else switch(f===99&&Ze(E,3)===110?100:f){case 100:case 108:case 109:case 115:vs(e,D,D,r&&Ra(yh(e,D,D,0,0,o,s,v,o,x=[],d),C),o,C,d,s,r?x:C);break;default:vs(E,D,D,D,[""],C,0,s,C)}}u=c=h=0,w=p=1,v=E="",d=a;break;case 58:d=1+cn(E),h=g;default:if(w<1){if(m==123)--w;else if(m==125&&w++==0&&RC()==125)continue}switch(E+=ql(m),m*w){case 38:p=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(cn(E)-1)*p,p=1;break;case 64:vn()===45&&(E+=gs(Mt())),f=vn(),c=d=cn(v=E+=$C(ms())),m++;break;case 45:g===45&&cn(E)==2&&(w=0)}}return i}function yh(e,t,n,r,o,i,a,s,l,u,c){for(var d=o-1,f=o===0?i:[""],h=Cf(f),g=0,w=0,y=0;g0?f[p]+" "+m:ce(m,/&\f/g,f[p])))&&(l[y++]=v);return Gl(e,t,n,o===0?Ef:s,l,u,c)}function VC(e,t,n){return Gl(e,t,n,s0,ql(FC()),zi(e,2,-2),0)}function bh(e,t,n,r){return Gl(e,t,n,Sf,zi(e,0,r),zi(e,r+1,-1),r)}function Po(e,t){for(var n="",r=Cf(e),o=0;o6)switch(Ze(e,t+1)){case 109:if(Ze(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+Us+(Ze(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yc(e,"stretch")?p0(ce(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ze(e,t+1)!==115)break;case 6444:switch(Ze(e,cn(e)-3-(~Yc(e,"!important")&&10))){case 107:return ce(e,":",":"+ue)+e;case 101:return ce(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(Ze(e,14)===45?"inline-":"")+"box$3$1"+ue+"$2$3$1"+rt+"$2box$3")+e}break;case 5936:switch(Ze(e,t+11)){case 114:return ue+e+rt+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+rt+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+rt+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+rt+e+e}return e}var XC=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Sf:t.return=p0(t.value,t.length);break;case l0:return Po([ci(t,{value:ce(t.value,"@","@"+ue)})],o);case Ef:if(t.length)return AC(t.props,function(i){switch(NC(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Po([ci(t,{props:[ce(i,/:(read-\w+)/,":"+Us+"$1")]})],o);case"::placeholder":return Po([ci(t,{props:[ce(i,/:(plac\w+)/,":"+ue+"input-$1")]}),ci(t,{props:[ce(i,/:(plac\w+)/,":"+Us+"$1")]}),ci(t,{props:[ce(i,/:(plac\w+)/,rt+"input-$1")]})],o)}return""})}},ZC=[XC],JC=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(w){var y=w.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=t.stylisPlugins||ZC,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var y=w.getAttribute("data-emotion").split(" "),p=1;p=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var fk={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},pk=!1,hk=/[A-Z]|^ms/g,mk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,y0=function(t){return t.charCodeAt(1)===45},Eh=function(t){return t!=null&&typeof t!="boolean"},$u=WC(function(e){return y0(e)?e:e.replace(hk,"-$&").toLowerCase()}),Sh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(mk,function(r,o,i){return dn={name:o,styles:i,next:dn},o})}return fk[t]!==1&&!y0(t)&&typeof n=="number"&&n!==0?n+"px":n},gk="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ui(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return dn={name:o.name,styles:o.styles,next:dn},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)dn={name:a.name,styles:a.styles,next:dn},a=a.next;var s=i.styles+";";return s}return vk(e,t,n)}case"function":{if(e!==void 0){var l=dn,u=n(e);return dn=l,Ui(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function vk(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o>>1,ee=P[W];if(0>>1;Wo(V,L))neo(Ce,V)?(P[W]=Ce,P[ne]=L,W=ne):(P[W]=V,P[Q]=L,W=Q);else if(neo(Ce,L))P[W]=Ce,P[ne]=L,W=ne;else break e}}return T}function o(P,T){var L=P.sortIndex-T.sortIndex;return L!==0?L:P.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,h=!1,g=!1,w=!1,y=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=P)r(u),T.sortIndex=T.expirationTime,t(l,T);else break;T=n(u)}}function x(P){if(w=!1,v(P),!g)if(n(l)!==null)g=!0,M(C);else{var T=n(u);T!==null&&R(x,T.startTime-P)}}function C(P,T){g=!1,w&&(w=!1,p(k),k=-1),h=!0;var L=f;try{for(v(T),d=n(l);d!==null&&(!(d.expirationTime>T)||P&&!H());){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var ee=W(d.expirationTime<=T);T=e.unstable_now(),typeof ee=="function"?d.callback=ee:d===n(l)&&r(l),v(T)}else r(l);d=n(l)}if(d!==null)var Oe=!0;else{var Q=n(u);Q!==null&&R(x,Q.startTime-T),Oe=!1}return Oe}finally{d=null,f=L,h=!1}}var D=!1,E=null,k=-1,A=5,F=-1;function H(){return!(e.unstable_now()-FP||125W?(P.sortIndex=L,t(u,P),n(l)===null&&P===n(u)&&(w?(p(k),k=-1):w=!0,R(x,L-W))):(P.sortIndex=ee,t(l,P),g||h||(g=!0,M(C))),P},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(P){var T=f;return function(){var L=f;f=T;try{return P.apply(this,arguments)}finally{f=L}}}})(C0);S0.exports=C0;var Fk=S0.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Rk=b,Ft=Fk;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uc=Object.prototype.hasOwnProperty,Ik=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,kh={},Dh={};function Lk(e){return Uc.call(Dh,e)?!0:Uc.call(kh,e)?!1:Ik.test(e)?Dh[e]=!0:(kh[e]=!0,!1)}function Bk(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $k(e,t,n,r){if(t===null||typeof t>"u"||Bk(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ht(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var et={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){et[e]=new ht(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];et[t]=new ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){et[e]=new ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){et[e]=new ht(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){et[e]=new ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){et[e]=new ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){et[e]=new ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){et[e]=new ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){et[e]=new ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var Mf=/[\-:]([a-z])/g;function Tf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Mf,Tf);et[t]=new ht(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Mf,Tf);et[t]=new ht(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Mf,Tf);et[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){et[e]=new ht(e,1,!1,e.toLowerCase(),null,!1,!1)});et.xlinkHref=new ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){et[e]=new ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function Nf(e,t,n,r){var o=et.hasOwnProperty(t)?et[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` -`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Vu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ki(e):""}function jk(e){switch(e.tag){case 5:return ki(e.type);case 16:return ki("Lazy");case 13:return ki("Suspense");case 19:return ki("SuspenseList");case 0:case 2:case 15:return e=Hu(e.type,!1),e;case 11:return e=Hu(e.type.render,!1),e;case 1:return e=Hu(e.type,!0),e;default:return""}}function Gc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case po:return"Fragment";case fo:return"Portal";case Qc:return"Profiler";case Af:return"StrictMode";case qc:return"Suspense";case Kc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case P0:return(e.displayName||"Context")+".Consumer";case D0:return(e._context.displayName||"Context")+".Provider";case Ff:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Rf:return t=e.displayName||null,t!==null?t:Gc(e.type)||"Memo";case Zn:t=e._payload,e=e._init;try{return Gc(e(t))}catch{}}return null}function Vk(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Gc(t);case 8:return t===Af?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function vr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function O0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hk(e){var t=O0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function La(e){e._valueTracker||(e._valueTracker=Hk(e))}function M0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=O0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xc(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _h(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function T0(e,t){t=t.checked,t!=null&&Nf(e,"checked",t,!1)}function Zc(e,t){T0(e,t);var n=vr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Jc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Jc(e,t.type,vr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Jc(e,t,n){(t!=="number"||Qs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Di=Array.isArray;function _o(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ba.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ai={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yk=["Webkit","ms","Moz","O"];Object.keys(Ai).forEach(function(e){Yk.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ai[t]=Ai[e]})});function R0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ai.hasOwnProperty(e)&&Ai[e]?(""+t).trim():t+"px"}function I0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=R0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zk=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nd(e,t){if(t){if(zk[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function rd(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var od=null;function If(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var id=null,Oo=null,Mo=null;function Nh(e){if(e=Da(e)){if(typeof id!="function")throw Error(I(280));var t=e.stateNode;t&&(t=du(t),id(e.stateNode,e.type,t))}}function L0(e){Oo?Mo?Mo.push(e):Mo=[e]:Oo=e}function B0(){if(Oo){var e=Oo,t=Mo;if(Mo=Oo=null,Nh(e),t)for(e=0;e>>=0,e===0?32:31-(tD(e)/nD|0)|0}var $a=64,ja=4194304;function Pi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Pi(s):(i&=a,i!==0&&(r=Pi(i)))}else a=n&~o,a!==0?r=Pi(a):i!==0&&(r=Pi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ca(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=n}function aD(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ri),Vh=String.fromCharCode(32),Hh=!1;function ow(e,t){switch(e){case"keyup":return FD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ho=!1;function ID(e,t){switch(e){case"compositionend":return iw(t);case"keypress":return t.which!==32?null:(Hh=!0,Vh);case"textInput":return e=t.data,e===Vh&&Hh?null:e;default:return null}}function LD(e,t){if(ho)return e==="compositionend"||!zf&&ow(e,t)?(e=nw(),ys=Vf=ir=null,ho=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Uh(n)}}function uw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cw(){for(var e=window,t=Qs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qs(e.document)}return t}function Wf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function UD(e){var t=cw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&uw(n.ownerDocument.documentElement,n)){if(r!==null&&Wf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Qh(n,i);var a=Qh(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mo=null,dd=null,Li=null,fd=!1;function qh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fd||mo==null||mo!==Qs(r)||(r=mo,"selectionStart"in r&&Wf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Li&&ea(Li,r)||(Li=r,r=el(dd,"onSelect"),0wo||(e.current=wd[wo],wd[wo]=null,wo--)}function we(e,t){wo++,wd[wo]=e.current,e.current=t}var wr={},st=Cr(wr),yt=Cr(!1),Ur=wr;function jo(e,t){var n=e.type.contextTypes;if(!n)return wr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function bt(e){return e=e.childContextTypes,e!=null}function nl(){xe(yt),xe(st)}function tm(e,t,n){if(st.current!==wr)throw Error(I(168));we(st,t),we(yt,n)}function yw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,Vk(e)||"Unknown",o));return _e({},n,r)}function rl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wr,Ur=st.current,we(st,e),we(yt,yt.current),!0}function nm(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=yw(e,t,Ur),r.__reactInternalMemoizedMergedChildContext=e,xe(yt),xe(st),we(st,e)):xe(yt),we(yt,n)}var On=null,fu=!1,nc=!1;function bw(e){On===null?On=[e]:On.push(e)}function oP(e){fu=!0,bw(e)}function kr(){if(!nc&&On!==null){nc=!0;var e=0,t=ge;try{var n=On;for(ge=1;e>=a,o-=a,Nn=1<<32-en(t)+o|n<k?(A=E,E=null):A=E.sibling;var F=f(p,E,v[k],x);if(F===null){E===null&&(E=A);break}e&&E&&F.alternate===null&&t(p,E),m=i(F,m,k),D===null?C=F:D.sibling=F,D=F,E=A}if(k===v.length)return n(p,E),Se&&Pr(p,k),C;if(E===null){for(;kk?(A=E,E=null):A=E.sibling;var H=f(p,E,F.value,x);if(H===null){E===null&&(E=A);break}e&&E&&H.alternate===null&&t(p,E),m=i(H,m,k),D===null?C=H:D.sibling=H,D=H,E=A}if(F.done)return n(p,E),Se&&Pr(p,k),C;if(E===null){for(;!F.done;k++,F=v.next())F=d(p,F.value,x),F!==null&&(m=i(F,m,k),D===null?C=F:D.sibling=F,D=F);return Se&&Pr(p,k),C}for(E=r(p,E);!F.done;k++,F=v.next())F=h(E,p,k,F.value,x),F!==null&&(e&&F.alternate!==null&&E.delete(F.key===null?k:F.key),m=i(F,m,k),D===null?C=F:D.sibling=F,D=F);return e&&E.forEach(function(z){return t(p,z)}),Se&&Pr(p,k),C}function y(p,m,v,x){if(typeof v=="object"&&v!==null&&v.type===po&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ia:e:{for(var C=v.key,D=m;D!==null;){if(D.key===C){if(C=v.type,C===po){if(D.tag===7){n(p,D.sibling),m=o(D,v.props.children),m.return=p,p=m;break e}}else if(D.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Zn&&im(C)===D.type){n(p,D.sibling),m=o(D,v.props),m.ref=gi(p,D,v),m.return=p,p=m;break e}n(p,D);break}else t(p,D);D=D.sibling}v.type===po?(m=Lr(v.props.children,p.mode,x,v.key),m.return=p,p=m):(x=Ps(v.type,v.key,v.props,null,p.mode,x),x.ref=gi(p,m,v),x.return=p,p=x)}return a(p);case fo:e:{for(D=v.key;m!==null;){if(m.key===D)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(p,m.sibling),m=o(m,v.children||[]),m.return=p,p=m;break e}else{n(p,m);break}else t(p,m);m=m.sibling}m=cc(v,p.mode,x),m.return=p,p=m}return a(p);case Zn:return D=v._init,y(p,m,D(v._payload),x)}if(Di(v))return g(p,m,v,x);if(di(v))return w(p,m,v,x);Qa(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(p,m.sibling),m=o(m,v),m.return=p,p=m):(n(p,m),m=uc(v,p.mode,x),m.return=p,p=m),a(p)):n(p,m)}return y}var Ho=Cw(!0),kw=Cw(!1),al=Cr(null),sl=null,xo=null,Kf=null;function Gf(){Kf=xo=sl=null}function Xf(e){var t=al.current;xe(al),e._currentValue=t}function xd(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function No(e,t){sl=e,Kf=xo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(gt=!0),e.firstContext=null)}function Ut(e){var t=e._currentValue;if(Kf!==e)if(e={context:e,memoizedValue:t,next:null},xo===null){if(sl===null)throw Error(I(308));xo=e,sl.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var Nr=null;function Zf(e){Nr===null?Nr=[e]:Nr.push(e)}function Dw(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Zf(t)):(n.next=o.next,o.next=n),t.interleaved=n,zn(e,r)}function zn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Jn=!1;function Jf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function In(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,se&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zn(e,n)}return o=r.interleaved,o===null?(t.next=t,Zf(r)):(t.next=o.next,o.next=t),r.interleaved=t,zn(e,n)}function xs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bf(e,n)}}function am(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ll(e,t,n,r){var o=e.updateQueue;Jn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,c=u=l=null,s=i;do{var f=s.lane,h=s.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,w=s;switch(f=t,h=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){d=g.call(h,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,f=typeof g=="function"?g.call(h,d,f):g,f==null)break e;d=_e({},d,f);break e;case 2:Jn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,a|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Kr|=a,e.lanes=a,e.memoizedState=d}}function sm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=oc.transition;oc.transition={};try{e(!1),t()}finally{ge=n,oc.transition=r}}function zw(){return Qt().memoizedState}function lP(e,t,n){var r=hr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ww(e))Uw(t,n);else if(n=Dw(e,t,n,r),n!==null){var o=ft();tn(n,e,r,o),Qw(n,t,r)}}function uP(e,t,n){var r=hr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ww(e))Uw(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,nn(s,a)){var l=t.interleaved;l===null?(o.next=o,Zf(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Dw(e,t,o,r),n!==null&&(o=ft(),tn(n,e,r,o),Qw(n,t,r))}}function Ww(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function Uw(e,t){Bi=cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bf(e,n)}}var dl={readContext:Ut,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useInsertionEffect:tt,useLayoutEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useMutableSource:tt,useSyncExternalStore:tt,useId:tt,unstable_isNewReconciler:!1},cP={readContext:Ut,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:um,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ss(4194308,4,$w.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ss(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ss(4,2,e,t)},useMemo:function(e,t){var n=sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lP.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:lm,useDebugValue:sp,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=lm(!1),t=e[0];return e=sP.bind(null,e[1]),sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=sn();if(Se){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),We===null)throw Error(I(349));qr&30||Tw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,um(Aw.bind(null,r,i,e),[e]),r.flags|=2048,la(9,Nw.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=sn(),t=We.identifierPrefix;if(Se){var n=An,r=Nn;n=(r&~(1<<32-en(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=aa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[pn]=t,e[ra]=r,ry(e,t,!1,!1),t.stateNode=e;e:{switch(a=rd(n,r),n){case"dialog":be("cancel",e),be("close",e),o=r;break;case"iframe":case"object":case"embed":be("load",e),o=r;break;case"video":case"audio":for(o=0;o<_i.length;o++)be(_i[o],e);o=r;break;case"source":be("error",e),o=r;break;case"img":case"image":case"link":be("error",e),be("load",e),o=r;break;case"details":be("toggle",e),o=r;break;case"input":_h(e,r),o=Xc(e,r),be("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=_e({},r,{value:void 0}),be("invalid",e);break;case"textarea":Mh(e,r),o=ed(e,r),be("invalid",e);break;default:o=r}nd(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?I0(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&F0(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&qi(e,l):typeof l=="number"&&qi(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Qi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&be("scroll",e):l!=null&&Nf(e,i,l,a))}switch(n){case"input":La(e),Oh(e,r,!1);break;case"textarea":La(e),Th(e);break;case"option":r.value!=null&&e.setAttribute("value",""+vr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?_o(e,!!r.multiple,i,!1):r.defaultValue!=null&&_o(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=tl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return nt(t),null;case 6:if(e&&t.stateNode!=null)iy(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=Ar(ia.current),Ar(yn.current),Ua(t)){if(r=t.stateNode,n=t.memoizedProps,r[pn]=t,(i=r.nodeValue!==n)&&(e=Tt,e!==null))switch(e.tag){case 3:Wa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Wa(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[pn]=t,t.stateNode=r}return nt(t),null;case 13:if(xe(ke),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Se&&_t!==null&&t.mode&1&&!(t.flags&128))Sw(),Vo(),t.flags|=98560,i=!1;else if(i=Ua(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(I(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(I(317));i[pn]=t}else Vo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;nt(t),i=!1}else Zt!==null&&(Ld(Zt),Zt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ke.current&1?He===0&&(He=3):hp())),t.updateQueue!==null&&(t.flags|=4),nt(t),null);case 4:return Yo(),Od(e,t),e===null&&ta(t.stateNode.containerInfo),nt(t),null;case 10:return Xf(t.type._context),nt(t),null;case 17:return bt(t.type)&&nl(),nt(t),null;case 19:if(xe(ke),i=t.memoizedState,i===null)return nt(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)vi(i,!1);else{if(He!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ul(e),a!==null){for(t.flags|=128,vi(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return we(ke,ke.current&1|2),t.child}e=e.sibling}i.tail!==null&&Fe()>Wo&&(t.flags|=128,r=!0,vi(i,!1),t.lanes=4194304)}else{if(!r)if(e=ul(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Se)return nt(t),null}else 2*Fe()-i.renderingStartTime>Wo&&n!==1073741824&&(t.flags|=128,r=!0,vi(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Fe(),t.sibling=null,n=ke.current,we(ke,r?n&1|2:n&1),t):(nt(t),null);case 22:case 23:return pp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?kt&1073741824&&(nt(t),t.subtreeFlags&6&&(t.flags|=8192)):nt(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function wP(e,t){switch(Qf(t),t.tag){case 1:return bt(t.type)&&nl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yo(),xe(yt),xe(st),np(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tp(t),null;case 13:if(xe(ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));Vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(ke),null;case 4:return Yo(),null;case 10:return Xf(t.type._context),null;case 22:case 23:return pp(),null;case 24:return null;default:return null}}var Ka=!1,it=!1,yP=typeof WeakSet=="function"?WeakSet:Set,Y=null;function Eo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Md(e,t,n){try{n()}catch(r){Me(e,t,r)}}var bm=!1;function bP(e,t){if(pd=Zs,e=cw(),Wf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(s=a),f===i&&++c===r&&(l=a),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(hd={focusedElem:e,selectionRange:n},Zs=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,y=g.memoizedState,p=t.stateNode,m=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:Gt(t.type,w),y);p.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(x){Me(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return g=bm,bm=!1,g}function $i(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Md(t,n,i)}o=o.next}while(o!==r)}}function mu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Td(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ay(e){var t=e.alternate;t!==null&&(e.alternate=null,ay(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pn],delete t[ra],delete t[vd],delete t[nP],delete t[rP])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sy(e){return e.tag===5||e.tag===3||e.tag===4}function xm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Nd(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tl));else if(r!==4&&(e=e.child,e!==null))for(Nd(e,t,n),e=e.sibling;e!==null;)Nd(e,t,n),e=e.sibling}function Ad(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ad(e,t,n),e=e.sibling;e!==null;)Ad(e,t,n),e=e.sibling}var Ge=null,Xt=!1;function Gn(e,t,n){for(n=n.child;n!==null;)ly(e,t,n),n=n.sibling}function ly(e,t,n){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(su,n)}catch{}switch(n.tag){case 5:it||Eo(n,t);case 6:var r=Ge,o=Xt;Ge=null,Gn(e,t,n),Ge=r,Xt=o,Ge!==null&&(Xt?(e=Ge,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ge.removeChild(n.stateNode));break;case 18:Ge!==null&&(Xt?(e=Ge,n=n.stateNode,e.nodeType===8?tc(e.parentNode,n):e.nodeType===1&&tc(e,n),Zi(e)):tc(Ge,n.stateNode));break;case 4:r=Ge,o=Xt,Ge=n.stateNode.containerInfo,Xt=!0,Gn(e,t,n),Ge=r,Xt=o;break;case 0:case 11:case 14:case 15:if(!it&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Md(n,t,a),o=o.next}while(o!==r)}Gn(e,t,n);break;case 1:if(!it&&(Eo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Me(n,t,s)}Gn(e,t,n);break;case 21:Gn(e,t,n);break;case 22:n.mode&1?(it=(r=it)||n.memoizedState!==null,Gn(e,t,n),it=r):Gn(e,t,n);break;default:Gn(e,t,n)}}function Em(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yP),t.forEach(function(r){var o=OP.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*EP(r/1960))-r,10e?16:e,ar===null)var r=!1;else{if(e=ar,ar=null,hl=0,se&6)throw Error(I(331));var o=se;for(se|=4,Y=e.current;Y!==null;){var i=Y,a=i.child;if(Y.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lFe()-dp?Ir(e,0):cp|=n),xt(e,t)}function gy(e,t){t===0&&(e.mode&1?(t=ja,ja<<=1,!(ja&130023424)&&(ja=4194304)):t=1);var n=ft();e=zn(e,t),e!==null&&(Ca(e,t,n),xt(e,n))}function _P(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gy(e,n)}function OP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),gy(e,n)}var vy;vy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||yt.current)gt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gt=!1,gP(e,t,n);gt=!!(e.flags&131072)}else gt=!1,Se&&t.flags&1048576&&xw(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Cs(e,t),e=t.pendingProps;var o=jo(t,st.current);No(t,n),o=op(null,t,r,e,o,n);var i=ip();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,bt(r)?(i=!0,rl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Jf(t),o.updater=hu,t.stateNode=o,o._reactInternals=t,Sd(t,r,e,n),t=Dd(null,t,r,!0,i,n)):(t.tag=0,Se&&i&&Uf(t),lt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Cs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=TP(r),e=Gt(r,e),o){case 0:t=kd(null,t,r,e,n);break e;case 1:t=vm(null,t,r,e,n);break e;case 11:t=mm(null,t,r,e,n);break e;case 14:t=gm(null,t,r,Gt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Gt(r,o),kd(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Gt(r,o),vm(e,t,r,o,n);case 3:e:{if(ey(t),e===null)throw Error(I(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Pw(e,t),ll(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=zo(Error(I(423)),t),t=wm(e,t,r,n,o);break e}else if(r!==o){o=zo(Error(I(424)),t),t=wm(e,t,r,n,o);break e}else for(_t=dr(t.stateNode.containerInfo.firstChild),Tt=t,Se=!0,Zt=null,n=kw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Vo(),r===o){t=Wn(e,t,n);break e}lt(e,t,r,n)}t=t.child}return t;case 5:return _w(t),e===null&&bd(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,md(r,o)?a=null:i!==null&&md(r,i)&&(t.flags|=32),Jw(e,t),lt(e,t,a,n),t.child;case 6:return e===null&&bd(t),null;case 13:return ty(e,t,n);case 4:return ep(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ho(t,null,r,n):lt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Gt(r,o),mm(e,t,r,o,n);case 7:return lt(e,t,t.pendingProps,n),t.child;case 8:return lt(e,t,t.pendingProps.children,n),t.child;case 12:return lt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,we(al,r._currentValue),r._currentValue=a,i!==null)if(nn(i.value,a)){if(i.children===o.children&&!yt.current){t=Wn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=In(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),xd(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(I(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),xd(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}lt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,No(t,n),o=Ut(o),r=r(o),t.flags|=1,lt(e,t,r,n),t.child;case 14:return r=t.type,o=Gt(r,t.pendingProps),o=Gt(r.type,o),gm(e,t,r,o,n);case 15:return Xw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Gt(r,o),Cs(e,t),t.tag=1,bt(r)?(e=!0,rl(t)):e=!1,No(t,n),qw(t,r,o),Sd(t,r,o,n),Dd(null,t,r,!0,e,n);case 19:return ny(e,t,n);case 22:return Zw(e,t,n)}throw Error(I(156,t.tag))};function wy(e,t){return W0(e,t)}function MP(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zt(e,t,n,r){return new MP(e,t,n,r)}function mp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function TP(e){if(typeof e=="function")return mp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ff)return 11;if(e===Rf)return 14}return 2}function mr(e,t){var n=e.alternate;return n===null?(n=zt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ps(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")mp(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case po:return Lr(n.children,o,i,t);case Af:a=8,o|=8;break;case Qc:return e=zt(12,n,t,o|2),e.elementType=Qc,e.lanes=i,e;case qc:return e=zt(13,n,t,o),e.elementType=qc,e.lanes=i,e;case Kc:return e=zt(19,n,t,o),e.elementType=Kc,e.lanes=i,e;case _0:return vu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case D0:a=10;break e;case P0:a=9;break e;case Ff:a=11;break e;case Rf:a=14;break e;case Zn:a=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=zt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Lr(e,t,n,r){return e=zt(7,e,r,t),e.lanes=n,e}function vu(e,t,n,r){return e=zt(22,e,r,t),e.elementType=_0,e.lanes=n,e.stateNode={isHidden:!1},e}function uc(e,t,n){return e=zt(6,e,null,t),e.lanes=n,e}function cc(e,t,n){return t=zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function NP(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zu(0),this.expirationTimes=zu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gp(e,t,n,r,o,i,a,s,l){return e=new NP(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=zt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jf(i),e}function AP(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ey)}catch(e){console.error(e)}}Ey(),E0.exports=Bt;var Eu=E0.exports;const BP=Mg(Eu),Uo=Math.min,Br=Math.max,vl=Math.round,Za=Math.floor,yr=e=>({x:e,y:e}),$P={left:"right",right:"left",bottom:"top",top:"bottom"},jP={start:"end",end:"start"};function VP(e,t,n){return Br(e,Uo(t,n))}function Su(e,t){return typeof e=="function"?e(t):e}function Qo(e){return e.split("-")[0]}function _a(e){return e.split("-")[1]}function HP(e){return e==="x"?"y":"x"}function bp(e){return e==="y"?"height":"width"}function ca(e){return["top","bottom"].includes(Qo(e))?"y":"x"}function xp(e){return HP(ca(e))}function YP(e,t,n){n===void 0&&(n=!1);const r=_a(e),o=xp(e),i=bp(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=wl(a)),[a,wl(a)]}function zP(e){const t=wl(e);return[Bd(e),t,Bd(t)]}function Bd(e){return e.replace(/start|end/g,t=>jP[t])}function WP(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function UP(e,t,n,r){const o=_a(e);let i=WP(Qo(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Bd)))),i}function wl(e){return e.replace(/left|right|bottom|top/g,t=>$P[t])}function QP(e){return{top:0,right:0,bottom:0,left:0,...e}}function Sy(e){return typeof e!="number"?QP(e):{top:e,right:e,bottom:e,left:e}}function yl(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Mm(e,t,n){let{reference:r,floating:o}=e;const i=ca(t),a=xp(t),s=bp(a),l=Qo(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(_a(t)){case"start":h[a]-=f*(n&&u?-1:1);break;case"end":h[a]+=f*(n&&u?-1:1);break}return h}const qP=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=Mm(u,r,l),f=r,h={},g=0;for(let w=0;w({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=Su(e,t)||{};if(u==null)return{};const d=Sy(c),f={x:n,y:r},h=xp(o),g=bp(h),w=await a.getDimensions(u),y=h==="y",p=y?"top":"left",m=y?"bottom":"right",v=y?"clientHeight":"clientWidth",x=i.reference[g]+i.reference[h]-f[h]-i.floating[g],C=f[h]-i.reference[h],D=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let E=D?D[v]:0;(!E||!await(a.isElement==null?void 0:a.isElement(D)))&&(E=s.floating[v]||i.floating[g]);const k=x/2-C/2,A=E/2-w[g]/2-1,F=Uo(d[p],A),H=Uo(d[m],A),z=F,U=E-w[g]-H,J=E/2-w[g]/2+k,q=VP(z,J,U),M=!l.arrow&&_a(o)!=null&&J!==q&&i.reference[g]/2-(JJ<=0)){var H,z;const J=(((H=i.flip)==null?void 0:H.index)||0)+1,q=E[J];if(q)return{data:{index:J,overflows:F},reset:{placement:q}};let M=(z=F.filter(R=>R.overflows[0]<=0).sort((R,P)=>R.overflows[1]-P.overflows[1])[0])==null?void 0:z.placement;if(!M)switch(h){case"bestFit":{var U;const R=(U=F.filter(P=>{if(D){const T=ca(P.placement);return T===m||T==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(T=>T>0).reduce((T,L)=>T+L,0)]).sort((P,T)=>P[1]-T[1])[0])==null?void 0:U[0];R&&(M=R);break}case"initialPlacement":M=s;break}if(o!==M)return{reset:{placement:M}}}return{}}}};async function ZP(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Qo(n),s=_a(n),l=ca(n)==="y",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=Su(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const JP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await ZP(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}};function Cu(){return typeof window<"u"}function li(e){return Cy(e)?(e.nodeName||"").toLowerCase():"#document"}function Nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dn(e){var t;return(t=(Cy(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Cy(e){return Cu()?e instanceof Node||e instanceof Nt(e).Node:!1}function ct(e){return Cu()?e instanceof Element||e instanceof Nt(e).Element:!1}function Cn(e){return Cu()?e instanceof HTMLElement||e instanceof Nt(e).HTMLElement:!1}function Tm(e){return!Cu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Nt(e).ShadowRoot}function Oa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=qt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function e_(e){return["table","td","th"].includes(li(e))}function ku(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ep(e){const t=Sp(),n=ct(e)?qt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function t_(e){let t=br(e);for(;Cn(t)&&!qo(t);){if(Ep(t))return t;if(ku(t))return null;t=br(t)}return null}function Sp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qo(e){return["html","body","#document"].includes(li(e))}function qt(e){return Nt(e).getComputedStyle(e)}function Du(e){return ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function br(e){if(li(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tm(e)&&e.host||Dn(e);return Tm(t)?t.host:t}function ky(e){const t=br(e);return qo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Cn(t)&&Oa(t)?t:ky(t)}function da(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ky(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Nt(o);if(i){const s=$d(a);return t.concat(a,a.visualViewport||[],Oa(o)?o:[],s&&n?da(s):[])}return t.concat(o,da(o,[],n))}function $d(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Dy(e){const t=qt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Cn(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=vl(n)!==i||vl(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Cp(e){return ct(e)?e:e.contextElement}function Fo(e){const t=Cp(e);if(!Cn(t))return yr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Dy(t);let a=(i?vl(n.width):n.width)/r,s=(i?vl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const n_=yr(0);function Py(e){const t=Nt(e);return!Sp()||!t.visualViewport?n_:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function r_(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Nt(e)?!1:t}function Xr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Cp(e);let a=yr(1);t&&(r?ct(r)&&(a=Fo(r)):a=Fo(e));const s=r_(i,n,r)?Py(i):yr(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const f=Nt(i),h=r&&ct(r)?Nt(r):r;let g=f,w=$d(g);for(;w&&r&&h!==g;){const y=Fo(w),p=w.getBoundingClientRect(),m=qt(w),v=p.left+(w.clientLeft+parseFloat(m.paddingLeft))*y.x,x=p.top+(w.clientTop+parseFloat(m.paddingTop))*y.y;l*=y.x,u*=y.y,c*=y.x,d*=y.y,l+=v,u+=x,g=Nt(w),w=$d(g)}}return yl({width:c,height:d,x:l,y:u})}function o_(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Dn(r),s=t?ku(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=yr(1);const c=yr(0),d=Cn(r);if((d||!d&&!i)&&((li(r)!=="body"||Oa(a))&&(l=Du(r)),Cn(r))){const f=Xr(r);u=Fo(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function i_(e){return Array.from(e.getClientRects())}function jd(e,t){const n=Du(e).scrollLeft;return t?t.left+n:Xr(Dn(e)).left+n}function a_(e){const t=Dn(e),n=Du(e),r=e.ownerDocument.body,o=Br(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Br(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+jd(e);const s=-n.scrollTop;return qt(r).direction==="rtl"&&(a+=Br(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function s_(e,t){const n=Nt(e),r=Dn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Sp();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function l_(e,t){const n=Xr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Cn(e)?Fo(e):yr(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Nm(e,t,n){let r;if(t==="viewport")r=s_(e,n);else if(t==="document")r=a_(Dn(e));else if(ct(t))r=l_(t,n);else{const o=Py(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return yl(r)}function _y(e,t){const n=br(e);return n===t||!ct(n)||qo(n)?!1:qt(n).position==="fixed"||_y(n,t)}function u_(e,t){const n=t.get(e);if(n)return n;let r=da(e,[],!1).filter(s=>ct(s)&&li(s)!=="body"),o=null;const i=qt(e).position==="fixed";let a=i?br(e):e;for(;ct(a)&&!qo(a);){const s=qt(a),l=Ep(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Oa(a)&&!l&&_y(e,a))?r=r.filter(c=>c!==a):o=s,a=br(a)}return t.set(e,r),r}function c_(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?ku(t)?[]:u_(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,c)=>{const d=Nm(t,c,o);return u.top=Br(d.top,u.top),u.right=Uo(d.right,u.right),u.bottom=Uo(d.bottom,u.bottom),u.left=Br(d.left,u.left),u},Nm(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function d_(e){const{width:t,height:n}=Dy(e);return{width:t,height:n}}function f_(e,t,n){const r=Cn(t),o=Dn(t),i=n==="fixed",a=Xr(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=yr(0);if(r||!r&&!i)if((li(t)!=="body"||Oa(o))&&(s=Du(t)),r){const h=Xr(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&(l.x=jd(o));let u=0,c=0;if(o&&!r&&!i){const h=o.getBoundingClientRect();c=h.top+s.scrollTop,u=h.left+s.scrollLeft-jd(o,h)}const d=a.left+s.scrollLeft-l.x-u,f=a.top+s.scrollTop-l.y-c;return{x:d,y:f,width:a.width,height:a.height}}function dc(e){return qt(e).position==="static"}function Am(e,t){if(!Cn(e)||qt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Dn(e)===n&&(n=n.ownerDocument.body),n}function Oy(e,t){const n=Nt(e);if(ku(e))return n;if(!Cn(e)){let o=br(e);for(;o&&!qo(o);){if(ct(o)&&!dc(o))return o;o=br(o)}return n}let r=Am(e,t);for(;r&&e_(r)&&dc(r);)r=Am(r,t);return r&&qo(r)&&dc(r)&&!Ep(r)?n:r||t_(e)||n}const p_=async function(e){const t=this.getOffsetParent||Oy,n=this.getDimensions,r=await n(e.floating);return{reference:f_(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function h_(e){return qt(e).direction==="rtl"}const m_={convertOffsetParentRelativeRectToViewportRelativeRect:o_,getDocumentElement:Dn,getClippingRect:c_,getOffsetParent:Oy,getElementRects:p_,getClientRects:i_,getDimensions:d_,getScale:Fo,isElement:ct,isRTL:h_};function g_(e,t){let n=null,r;const o=Dn(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h=Za(c),g=Za(o.clientWidth-(u+d)),w=Za(o.clientHeight-(c+f)),y=Za(u),m={rootMargin:-h+"px "+-g+"px "+-w+"px "+-y+"px",threshold:Br(0,Uo(1,l))||1};let v=!0;function x(C){const D=C[0].intersectionRatio;if(D!==l){if(!v)return a();D?a(!1,D):r=setTimeout(()=>{a(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(x,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,m)}n.observe(e)}return a(!0),i}function My(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Cp(e),c=o||i?[...u?da(u):[],...da(t)]:[];c.forEach(p=>{o&&p.addEventListener("scroll",n,{passive:!0}),i&&p.addEventListener("resize",n)});const d=u&&s?g_(u,n):null;let f=-1,h=null;a&&(h=new ResizeObserver(p=>{let[m]=p;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let g,w=l?Xr(e):null;l&&y();function y(){const p=Xr(e);w&&(p.x!==w.x||p.y!==w.y||p.width!==w.width||p.height!==w.height)&&n(),w=p,g=requestAnimationFrame(y)}return n(),()=>{var p;c.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(p=h)==null||p.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const v_=JP,w_=XP,Fm=GP,y_=(e,t,n)=>{const r=new Map,o={platform:m_,...n},i={...o.platform,_c:r};return qP(e,t,{...o,platform:i})};var Vd=b.useLayoutEffect,b_=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],bl=function(){};function x_(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function E_(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o-1}function S_(e){return Pu(e)?window.innerHeight:e.clientHeight}function Ny(e){return Pu(e)?window.pageYOffset:e.scrollTop}function El(e,t){if(Pu(e)){window.scrollTo(0,t);return}e.scrollTop=t}function C_(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}function k_(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ja(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:bl,o=Ny(e),i=t-o,a=10,s=0;function l(){s+=a;var u=k_(s,o,i,n);El(e,u),sn.bottom?El(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o1?n-1:0),o=1;o=g)return{placement:"bottom",maxHeight:t};if(A>=g&&!a)return i&&Ja(l,F,z),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&E>=r){i&&Ja(l,F,z);var U=a?E-x:A-x;return{placement:"bottom",maxHeight:U}}if(o==="auto"||a){var J=t,q=a?D:k;return q>=r&&(J=Math.min(q-x-s,t)),{placement:"top",maxHeight:J}}if(o==="bottom")return i&&El(l,F),{placement:"bottom",maxHeight:t};break;case"top":if(D>=g)return{placement:"top",maxHeight:t};if(k>=g&&!a)return i&&Ja(l,H,z),{placement:"top",maxHeight:t};if(!a&&k>=r||a&&D>=r){var M=t;return(!a&&k>=r||a&&D>=r)&&(M=a?D-C:k-C),i&&Ja(l,H,z),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function I_(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Fy=function(t){return t==="auto"?"bottom":t},L_=function(t,n){var r,o=t.placement,i=t.theme,a=i.borderRadius,s=i.spacing,l=i.colors;return K((r={label:"menu"},Ci(r,I_(o),"100%"),Ci(r,"position","absolute"),Ci(r,"width","100%"),Ci(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},Ry=b.createContext(null),B_=function(t){var n=t.children,r=t.minMenuHeight,o=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,s=t.menuShouldScrollIntoView,l=t.theme,u=b.useContext(Ry)||{},c=u.setPortalPlacement,d=b.useRef(null),f=b.useState(o),h=Rn(f,2),g=h[0],w=h[1],y=b.useState(null),p=Rn(y,2),m=p[0],v=p[1],x=l.spacing.controlHeight;return Vd(function(){var C=d.current;if(C){var D=a==="fixed",E=s&&!D,k=R_({maxHeight:o,menuEl:C,minHeight:r,placement:i,shouldScroll:E,isFixedPosition:D,controlHeight:x});w(k.maxHeight),v(k.placement),c==null||c(k.placement)}},[o,i,a,s,r,c,x]),n({ref:d,placerProps:K(K({},t),{},{placement:m||Fy(i),maxHeight:g})})},$_=function(t){var n=t.children,r=t.innerRef,o=t.innerProps;return G("div",X({},Te(t,"menu",{menu:!0}),{ref:r},o),n)},j_=$_,V_=function(t,n){var r=t.maxHeight,o=t.theme.spacing.baseUnit;return K({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},H_=function(t){var n=t.children,r=t.innerProps,o=t.innerRef,i=t.isMulti;return G("div",X({},Te(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},r),n)},Iy=function(t,n){var r=t.theme,o=r.spacing.baseUnit,i=r.colors;return K({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},Y_=Iy,z_=Iy,W_=function(t){var n=t.children,r=n===void 0?"No options":n,o=t.innerProps,i=kn(t,A_);return G("div",X({},Te(K(K({},i),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},U_=function(t){var n=t.children,r=n===void 0?"Loading...":n,o=t.innerProps,i=kn(t,F_);return G("div",X({},Te(K(K({},i),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},Q_=function(t){var n=t.rect,r=t.offset,o=t.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},q_=function(t){var n=t.appendTo,r=t.children,o=t.controlElement,i=t.innerProps,a=t.menuPlacement,s=t.menuPosition,l=b.useRef(null),u=b.useRef(null),c=b.useState(Fy(a)),d=Rn(c,2),f=d[0],h=d[1],g=b.useMemo(function(){return{setPortalPlacement:h}},[]),w=b.useState(null),y=Rn(w,2),p=y[0],m=y[1],v=b.useCallback(function(){if(o){var E=D_(o),k=s==="fixed"?0:window.pageYOffset,A=E[f]+k;(A!==(p==null?void 0:p.offset)||E.left!==(p==null?void 0:p.rect.left)||E.width!==(p==null?void 0:p.rect.width))&&m({offset:A,rect:E})}},[o,s,f,p==null?void 0:p.offset,p==null?void 0:p.rect.left,p==null?void 0:p.rect.width]);Vd(function(){v()},[v]);var x=b.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&l.current&&(u.current=My(o,l.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);Vd(function(){x()},[x]);var C=b.useCallback(function(E){l.current=E,x()},[x]);if(!n&&s!=="fixed"||!p)return null;var D=G("div",X({ref:C},Te(K(K({},t),{},{offset:p.offset,position:s,rect:p.rect}),"menuPortal",{"menu-portal":!0}),i),r);return G(Ry.Provider,{value:g},n?Eu.createPortal(D,n):D)},K_=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},G_=function(t){var n=t.children,r=t.innerProps,o=t.isDisabled,i=t.isRtl;return G("div",X({},Te(t,"container",{"--is-disabled":o,"--is-rtl":i}),r),n)},X_=function(t,n){var r=t.theme.spacing,o=t.isMulti,i=t.hasValue,a=t.selectProps.controlShouldRenderValue;return K({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Z_=function(t){var n=t.children,r=t.innerProps,o=t.isMulti,i=t.hasValue;return G("div",X({},Te(t,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),r),n)},J_=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},eO=function(t){var n=t.children,r=t.innerProps;return G("div",X({},Te(t,"indicatorsContainer",{indicators:!0}),r),n)},Lm,tO=["size"],nO=["innerProps","isRtl","size"],rO={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Ly=function(t){var n=t.size,r=kn(t,tO);return G("svg",X({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:rO},r))},kp=function(t){return G(Ly,X({size:20},t),G("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},By=function(t){return G(Ly,X({size:20},t),G("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},$y=function(t,n){var r=t.isFocused,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return K({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?a.neutral60:a.neutral20,padding:i*2,":hover":{color:r?a.neutral80:a.neutral40}})},oO=$y,iO=function(t){var n=t.children,r=t.innerProps;return G("div",X({},Te(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||G(By,null))},aO=$y,sO=function(t){var n=t.children,r=t.innerProps;return G("div",X({},Te(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||G(kp,null))},lO=function(t,n){var r=t.isDisabled,o=t.theme,i=o.spacing.baseUnit,a=o.colors;return K({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},uO=function(t){var n=t.innerProps;return G("span",X({},n,Te(t,"indicatorSeparator",{"indicator-separator":!0})))},cO=_k(Lm||(Lm=Ak([` - 0%, 80%, 100% { opacity: 0; } - 40% { opacity: 1; } -`]))),dO=function(t,n){var r=t.isFocused,o=t.size,i=t.theme,a=i.colors,s=i.spacing.baseUnit;return K({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?a.neutral60:a.neutral20,padding:s*2})},fc=function(t){var n=t.delay,r=t.offset;return G("span",{css:Of({animation:"".concat(cO," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},fO=function(t){var n=t.innerProps,r=t.isRtl,o=t.size,i=o===void 0?4:o,a=kn(t,nO);return G("div",X({},Te(K(K({},a),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),G(fc,{delay:0,offset:r}),G(fc,{delay:160,offset:!0}),G(fc,{delay:320,offset:!r}))},pO=function(t,n){var r=t.isDisabled,o=t.isFocused,i=t.theme,a=i.colors,s=i.borderRadius,l=i.spacing;return K({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?a.neutral5:a.neutral0,borderColor:r?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},hO=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,i=t.innerRef,a=t.innerProps,s=t.menuIsOpen;return G("div",X({ref:i},Te(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),a,{"aria-disabled":r||void 0}),n)},mO=hO,gO=["data"],vO=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},wO=function(t){var n=t.children,r=t.cx,o=t.getStyles,i=t.getClassNames,a=t.Heading,s=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return G("div",X({},Te(t,"group",{group:!0}),l),G(a,X({},s,{selectProps:d,theme:c,getStyles:o,getClassNames:i,cx:r}),u),G("div",null,n))},yO=function(t,n){var r=t.theme,o=r.colors,i=r.spacing;return K({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},bO=function(t){var n=Ty(t);n.data;var r=kn(n,gO);return G("div",X({},Te(t,"groupHeading",{"group-heading":!0}),r))},xO=wO,EO=["innerRef","isDisabled","isHidden","inputClassName"],SO=function(t,n){var r=t.isDisabled,o=t.value,i=t.theme,a=i.spacing,s=i.colors;return K(K({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},CO),n?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},jy={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},CO={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":K({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},jy)},kO=function(t){return K({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},jy)},DO=function(t){var n=t.cx,r=t.value,o=Ty(t),i=o.innerRef,a=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=kn(o,EO);return G("div",X({},Te(t,"input",{"input-container":!0}),{"data-value":r||""}),G("input",X({className:n({input:!0},l),ref:i,style:kO(s),disabled:a},u)))},PO=DO,_O=function(t,n){var r=t.theme,o=r.spacing,i=r.borderRadius,a=r.colors;return K({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},OO=function(t,n){var r=t.theme,o=r.borderRadius,i=r.colors,a=t.cropWithEllipsis;return K({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},MO=function(t,n){var r=t.theme,o=r.spacing,i=r.borderRadius,a=r.colors,s=t.isFocused;return K({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Vy=function(t){var n=t.children,r=t.innerProps;return G("div",r,n)},TO=Vy,NO=Vy;function AO(e){var t=e.children,n=e.innerProps;return G("div",X({role:"button"},n),t||G(kp,{size:14}))}var FO=function(t){var n=t.children,r=t.components,o=t.data,i=t.innerProps,a=t.isDisabled,s=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return G(u,{data:o,innerProps:K(K({},Te(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:l},G(c,{data:o,innerProps:K({},Te(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),G(d,{data:o,innerProps:K(K({},Te(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},RO=FO,IO=function(t,n){var r=t.isDisabled,o=t.isFocused,i=t.isSelected,a=t.theme,s=a.spacing,l=a.colors;return K({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?l.primary:l.primary50}})},LO=function(t){var n=t.children,r=t.isDisabled,o=t.isFocused,i=t.isSelected,a=t.innerRef,s=t.innerProps;return G("div",X({},Te(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":i}),{ref:a,"aria-disabled":r},s),n)},BO=LO,$O=function(t,n){var r=t.theme,o=r.spacing,i=r.colors;return K({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},jO=function(t){var n=t.children,r=t.innerProps;return G("div",X({},Te(t,"placeholder",{placeholder:!0}),r),n)},VO=jO,HO=function(t,n){var r=t.isDisabled,o=t.theme,i=o.spacing,a=o.colors;return K({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},YO=function(t){var n=t.children,r=t.isDisabled,o=t.innerProps;return G("div",X({},Te(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},zO=YO,WO={ClearIndicator:sO,Control:mO,DropdownIndicator:iO,DownChevron:By,CrossIcon:kp,Group:xO,GroupHeading:bO,IndicatorsContainer:eO,IndicatorSeparator:uO,Input:PO,LoadingIndicator:fO,Menu:j_,MenuList:H_,MenuPortal:q_,LoadingMessage:U_,NoOptionsMessage:W_,MultiValue:RO,MultiValueContainer:TO,MultiValueLabel:NO,MultiValueRemove:AO,Option:BO,Placeholder:VO,SelectContainer:G_,SingleValue:zO,ValueContainer:Z_},UO=function(t){return K(K({},WO),t.components)},Bm=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function QO(e,t){return!!(e===t||Bm(e)&&Bm(t))}function qO(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,o=t.options,i=t.label,a=i===void 0?"":i,s=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(w,y){return w&&w.length?"".concat(w.indexOf(y)+1," of ").concat(w.length):""};if(n==="value"&&s)return"value ".concat(a," focused, ").concat(d(s,r),".");if(n==="menu"&&c){var f=l?" disabled":"",h="".concat(u?" selected":"").concat(f);return"".concat(a).concat(h,", ").concat(d(o,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},JO=function(t){var n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,h=l.inputValue,g=l.isMulti,w=l.isOptionDisabled,y=l.isSearchable,p=l.menuIsOpen,m=l.options,v=l.screenReaderStatus,x=l.tabSelectsValue,C=l.isLoading,D=l["aria-label"],E=l["aria-live"],k=b.useMemo(function(){return K(K({},ZO),d||{})},[d]),A=b.useMemo(function(){var q="";if(n&&k.onChange){var M=n.option,R=n.options,P=n.removedValue,T=n.removedValues,L=n.value,W=function(Ke){return Array.isArray(Ke)?null:Ke},ee=P||M||W(L),Oe=ee?f(ee):"",Q=R||T||void 0,V=Q?Q.map(f):[],ne=K({isDisabled:ee&&w(ee,s),label:Oe,labels:V},n);q=k.onChange(ne)}return q},[n,k,w,s,f]),F=b.useMemo(function(){var q="",M=r||o,R=!!(r&&s&&s.includes(r));if(M&&k.onFocus){var P={focused:M,label:f(M),isDisabled:w(M,s),isSelected:R,options:i,context:M===r?"menu":"value",selectValue:s,isAppleDevice:c};q=k.onFocus(P)}return q},[r,o,f,w,k,i,s,c]),H=b.useMemo(function(){var q="";if(p&&m.length&&!C&&k.onFilter){var M=v({count:i.length});q=k.onFilter({inputValue:h,resultsMessage:M})}return q},[i,h,p,k,m,v,C]),z=(n==null?void 0:n.action)==="initial-input-focus",U=b.useMemo(function(){var q="";if(k.guidance){var M=o?"value":p?"menu":"input";q=k.guidance({"aria-label":D,context:M,isDisabled:r&&w(r,s),isMulti:g,isSearchable:y,tabSelectsValue:x,isInitialFocus:z})}return q},[D,r,o,g,w,y,p,k,s,x,z]),J=G(b.Fragment,null,G("span",{id:"aria-selection"},A),G("span",{id:"aria-focused"},F),G("span",{id:"aria-results"},H),G("span",{id:"aria-guidance"},U));return G(b.Fragment,null,G($m,{id:u},z&&J),G($m,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!z&&J))},eM=JO,Hd=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],tM=new RegExp("["+Hd.map(function(e){return e.letters}).join("")+"]","g"),Hy={};for(var pc=0;pc-1}},iM=["innerRef"];function aM(e){var t=e.innerRef,n=kn(e,iM),r=N_(n,"onExited","in","enter","exit","appear");return G("input",X({ref:t},r,{css:Of({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var sM=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function lM(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=b.useRef(!1),s=b.useRef(!1),l=b.useRef(0),u=b.useRef(null),c=b.useCallback(function(y,p){if(u.current!==null){var m=u.current,v=m.scrollTop,x=m.scrollHeight,C=m.clientHeight,D=u.current,E=p>0,k=x-C-v,A=!1;k>p&&a.current&&(r&&r(y),a.current=!1),E&&s.current&&(i&&i(y),s.current=!1),E&&p>k?(n&&!a.current&&n(y),D.scrollTop=x,A=!0,a.current=!0):!E&&-p>v&&(o&&!s.current&&o(y),D.scrollTop=0,A=!0,s.current=!0),A&&sM(y)}},[n,r,o,i]),d=b.useCallback(function(y){c(y,y.deltaY)},[c]),f=b.useCallback(function(y){l.current=y.changedTouches[0].clientY},[]),h=b.useCallback(function(y){var p=l.current-y.changedTouches[0].clientY;c(y,p)},[c]),g=b.useCallback(function(y){if(y){var p=O_?{passive:!1}:!1;y.addEventListener("wheel",d,p),y.addEventListener("touchstart",f,p),y.addEventListener("touchmove",h,p)}},[h,f,d]),w=b.useCallback(function(y){y&&(y.removeEventListener("wheel",d,!1),y.removeEventListener("touchstart",f,!1),y.removeEventListener("touchmove",h,!1))},[h,f,d]);return b.useEffect(function(){if(t){var y=u.current;return g(y),function(){w(y)}}},[t,g,w]),function(y){u.current=y}}var Vm=["boxSizing","height","overflow","paddingRight","position"],Hm={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ym(e){e.preventDefault()}function zm(e){e.stopPropagation()}function Wm(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Um(){return"ontouchstart"in window||navigator.maxTouchPoints}var Qm=!!(typeof window<"u"&&window.document&&window.document.createElement),yi=0,lo={capture:!1,passive:!1};function uM(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,o=b.useRef({}),i=b.useRef(null),a=b.useCallback(function(l){if(Qm){var u=document.body,c=u&&u.style;if(r&&Vm.forEach(function(g){var w=c&&c[g];o.current[g]=w}),r&&yi<1){var d=parseInt(o.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,h=window.innerWidth-f+d||0;Object.keys(Hm).forEach(function(g){var w=Hm[g];c&&(c[g]=w)}),c&&(c.paddingRight="".concat(h,"px"))}u&&Um()&&(u.addEventListener("touchmove",Ym,lo),l&&(l.addEventListener("touchstart",Wm,lo),l.addEventListener("touchmove",zm,lo))),yi+=1}},[r]),s=b.useCallback(function(l){if(Qm){var u=document.body,c=u&&u.style;yi=Math.max(yi-1,0),r&&yi<1&&Vm.forEach(function(d){var f=o.current[d];c&&(c[d]=f)}),u&&Um()&&(u.removeEventListener("touchmove",Ym,lo),l&&(l.removeEventListener("touchstart",Wm,lo),l.removeEventListener("touchmove",zm,lo)))}},[r]);return b.useEffect(function(){if(t){var l=i.current;return a(l),function(){s(l)}}},[t,a,s]),function(l){i.current=l}}var cM=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},dM={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function fM(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=r===void 0?!0:r,i=e.onBottomArrive,a=e.onBottomLeave,s=e.onTopArrive,l=e.onTopLeave,u=lM({isEnabled:o,onBottomArrive:i,onBottomLeave:a,onTopArrive:s,onTopLeave:l}),c=uM({isEnabled:n}),d=function(h){u(h),c(h)};return G(b.Fragment,null,n&&G("div",{onClick:cM,css:dM}),t(d))}var pM={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},hM=function(t){var n=t.name,r=t.onFocus;return G("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:pM,value:"",onChange:function(){}})},mM=hM;function Dp(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function gM(){return Dp(/^iPhone/i)}function zy(){return Dp(/^Mac/i)}function vM(){return Dp(/^iPad/i)||zy()&&navigator.maxTouchPoints>1}function wM(){return gM()||vM()}function yM(){return zy()||wM()}var bM=function(t){return t.label},Wy=function(t){return t.label},Uy=function(t){return t.value},xM=function(t){return!!t.isDisabled},EM={clearIndicator:aO,container:K_,control:pO,dropdownIndicator:oO,group:vO,groupHeading:yO,indicatorsContainer:J_,indicatorSeparator:lO,input:SO,loadingIndicator:dO,loadingMessage:z_,menu:L_,menuList:V_,menuPortal:Q_,multiValue:_O,multiValueLabel:OO,multiValueRemove:MO,noOptionsMessage:Y_,option:IO,placeholder:$O,singleValue:HO,valueContainer:X_},SM={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},CM=4,Qy=4,kM=38,DM=Qy*2,PM={baseUnit:Qy,controlHeight:kM,menuGutter:DM},gc={borderRadius:CM,colors:SM,spacing:PM},_M={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Im(),captureMenuScroll:!Im(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:oM(),formatGroupLabel:bM,getOptionLabel:Wy,getOptionValue:Uy,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:xM,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!P_(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function qm(e,t,n,r){var o=Gy(e,t,n),i=Xy(e,t,n),a=Ky(e,t),s=Sl(e,t);return{type:"option",data:t,isDisabled:o,isSelected:i,label:a,value:s,index:r}}function _s(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(a,s){return qm(e,a,t,s)}).filter(function(a){return Gm(e,a)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=qm(e,n,t,r);return Gm(e,i)?i:void 0}).filter(M_)}function qy(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Do(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function Km(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Do(r.options.map(function(o){return{data:o.data,id:"".concat(t,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function OM(e,t){return qy(_s(e,t))}function Gm(e,t){var n=e.inputValue,r=n===void 0?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!Jy(e)||!i)&&Zy(e,{label:a,value:s,data:o},r)}function MM(e,t){var n=e.focusedValue,r=e.selectValue,o=r.indexOf(n);if(o>-1){var i=t.indexOf(n);if(i>-1)return n;if(o-1?n:t[0]}var vc=function(t,n){var r,o=(r=t.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return o||null},Ky=function(t,n){return t.getOptionLabel(n)},Sl=function(t,n){return t.getOptionValue(n)};function Gy(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Xy(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Sl(e,t);return n.some(function(o){return Sl(e,o)===r})}function Zy(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Jy=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},NM=1,Pp=function(e){gC(n,e);var t=yC(n);function n(r){var o;if(hC(this,n),o=t.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=yM(),o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var c=o.props,d=c.onChange,f=c.name;u.name=f,o.ariaOnChange(l,u),d(l,u)},o.setValue=function(l,u,c){var d=o.props,f=d.closeMenuOnSelect,h=d.isMulti,g=d.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:g}),f&&(o.setState({inputIsHiddenAfterUpdate:!h}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:c})},o.selectOption=function(l){var u=o.props,c=u.blurInputOnSelect,d=u.isMulti,f=u.name,h=o.state.selectValue,g=d&&o.isOptionSelected(l,h),w=o.isOptionDisabled(l,h);if(g){var y=o.getOptionValue(l);o.setValue(h.filter(function(p){return o.getOptionValue(p)!==y}),"deselect-option",l)}else if(!w)d?o.setValue([].concat(Do(h),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:f});return}c&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,c=o.state.selectValue,d=o.getOptionValue(l),f=c.filter(function(g){return o.getOptionValue(g)!==d}),h=Oi(u,f,f[0]||null);o.onChange(h,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(Oi(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),f=Oi(l,d,d[0]||null);c&&o.onChange(f,{action:"pop-value",removedValue:c})},o.getFocusedOptionId=function(l){return vc(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return Km(_s(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;ch||f>h}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,c=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(c,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),c=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:c>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return Jy(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,c=u.isMulti,d=u.backspaceRemovesValue,f=u.escapeClearsValue,h=u.inputValue,g=u.isClearable,w=u.isDisabled,y=u.menuIsOpen,p=u.onKeyDown,m=u.tabSelectsValue,v=u.openMenuOnFocus,x=o.state,C=x.focusedOption,D=x.focusedValue,E=x.selectValue;if(!w&&!(typeof p=="function"&&(p(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||h)return;o.focusValue("previous");break;case"ArrowRight":if(!c||h)return;o.focusValue("next");break;case"Delete":case"Backspace":if(h)return;if(D)o.removeValue(D);else{if(!d)return;c?o.popValue():g&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!y||!m||!C||v&&o.isOptionSelected(C,E))return;o.selectOption(C);break;case"Enter":if(l.keyCode===229)break;if(y){if(!C||o.isComposing)return;o.selectOption(C);break}return;case"Escape":y?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:h}),o.onMenuClose()):g&&f&&o.clearValue();break;case" ":if(h)return;if(!y){o.openMenu("first");break}if(!C)return;o.selectOption(C);break;case"ArrowUp":y?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":y?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!y)return;o.focusOption("pageup");break;case"PageDown":if(!y)return;o.focusOption("pagedown");break;case"Home":if(!y)return;o.focusOption("first");break;case"End":if(!y)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++NM),o.state.selectValue=xl(r.value),r.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),s=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=a[s],o.state.focusedOptionId=vc(i,a[s])}return o}return mC(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Rm(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(o){var i=this.props,a=i.isDisabled,s=i.menuIsOpen,l=this.state.isFocused;(l&&!a&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Rm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,i){this.props.onInputChange(o,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var i=this,a=this.state,s=a.selectValue,l=a.isFocused,u=this.buildFocusableOptions(),c=o==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(s[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(o){var i=this.state,a=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=a.indexOf(s);s||(l=-1);var u=a.length-1,c=-1;if(a.length){switch(o){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(a);a||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-i,l<0&&(l=0)):o==="pagedown"?(l=u+i,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(gc):K(K({},gc),this.props.theme):gc}},{key:"getCommonProps",value:function(){var o=this.clearValue,i=this.cx,a=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,h=d.isRtl,g=d.options,w=this.hasValue();return{clearValue:o,cx:i,getStyles:a,getClassNames:s,getValue:l,hasValue:w,isMulti:f,isRtl:h,options:g,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,i=o.isClearable,a=o.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(o,i){return Gy(this.props,o,i)}},{key:"isOptionSelected",value:function(o,i){return Xy(this.props,o,i)}},{key:"filterOption",value:function(o,i){return Zy(this.props,o,i)}},{key:"formatOptionLabel",value:function(o,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:i,inputValue:a,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,i=o.isDisabled,a=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,c=o.form,d=o.menuIsOpen,f=o.required,h=this.getComponents(),g=h.Input,w=this.state,y=w.inputIsHidden,p=w.ariaSelection,m=this.commonProps,v=s||this.getElementId("input"),x=K(K(K({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?(p==null?void 0:p.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?b.createElement(g,X({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:i,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},x)):b.createElement(aM,X({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:bl,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:c,value:""},x))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,i=this.getComponents(),a=i.MultiValue,s=i.MultiValueContainer,l=i.MultiValueLabel,u=i.MultiValueRemove,c=i.SingleValue,d=i.Placeholder,f=this.commonProps,h=this.props,g=h.controlShouldRenderValue,w=h.isDisabled,y=h.isMulti,p=h.inputValue,m=h.placeholder,v=this.state,x=v.selectValue,C=v.focusedValue,D=v.isFocused;if(!this.hasValue()||!g)return p?null:b.createElement(d,X({},f,{key:"placeholder",isDisabled:w,isFocused:D,innerProps:{id:this.getElementId("placeholder")}}),m);if(y)return x.map(function(k,A){var F=k===C,H="".concat(o.getOptionLabel(k),"-").concat(o.getOptionValue(k));return b.createElement(a,X({},f,{components:{Container:s,Label:l,Remove:u},isFocused:F,isDisabled:w,key:H,index:A,removeProps:{onClick:function(){return o.removeValue(k)},onTouchEnd:function(){return o.removeValue(k)},onMouseDown:function(U){U.preventDefault()}},data:k}),o.formatOptionLabel(k,"value"))});if(p)return null;var E=x[0];return b.createElement(c,X({},f,{data:E,isDisabled:w}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),i=o.ClearIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return b.createElement(i,X({},a,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),i=o.LoadingIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,c=this.state.isFocused;if(!i||!u)return null;var d={"aria-hidden":"true"};return b.createElement(i,X({},a,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator,a=o.IndicatorSeparator;if(!i||!a)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return b.createElement(a,X({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator;if(!i)return null;var a=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return b.createElement(i,X({},a,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,i=this.getComponents(),a=i.Group,s=i.GroupHeading,l=i.Menu,u=i.MenuList,c=i.MenuPortal,d=i.LoadingMessage,f=i.NoOptionsMessage,h=i.Option,g=this.commonProps,w=this.state.focusedOption,y=this.props,p=y.captureMenuScroll,m=y.inputValue,v=y.isLoading,x=y.loadingMessage,C=y.minMenuHeight,D=y.maxMenuHeight,E=y.menuIsOpen,k=y.menuPlacement,A=y.menuPosition,F=y.menuPortalTarget,H=y.menuShouldBlockScroll,z=y.menuShouldScrollIntoView,U=y.noOptionsMessage,J=y.onMenuScrollToTop,q=y.onMenuScrollToBottom;if(!E)return null;var M=function(Oe,Q){var V=Oe.type,ne=Oe.data,Ce=Oe.isDisabled,Ke=Oe.isSelected,ao=Oe.label,M1=Oe.value,Lp=w===ne,Bp=Ce?void 0:function(){return o.onOptionHover(ne)},T1=Ce?void 0:function(){return o.selectOption(ne)},$p="".concat(o.getElementId("option"),"-").concat(Q),N1={id:$p,onClick:T1,onMouseMove:Bp,onMouseOver:Bp,tabIndex:-1,role:"option","aria-selected":o.isAppleDevice?void 0:Ke};return b.createElement(h,X({},g,{innerProps:N1,data:ne,isDisabled:Ce,isSelected:Ke,key:$p,label:ao,type:V,value:M1,isFocused:Lp,innerRef:Lp?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(Oe.data,"menu"))},R;if(this.hasOptions())R=this.getCategorizedOptions().map(function(ee){if(ee.type==="group"){var Oe=ee.data,Q=ee.options,V=ee.index,ne="".concat(o.getElementId("group"),"-").concat(V),Ce="".concat(ne,"-heading");return b.createElement(a,X({},g,{key:ne,data:Oe,options:Q,Heading:s,headingProps:{id:Ce,data:ee.data},label:o.formatGroupLabel(ee.data)}),ee.options.map(function(Ke){return M(Ke,"".concat(V,"-").concat(Ke.index))}))}else if(ee.type==="option")return M(ee,"".concat(ee.index))});else if(v){var P=x({inputValue:m});if(P===null)return null;R=b.createElement(d,g,P)}else{var T=U({inputValue:m});if(T===null)return null;R=b.createElement(f,g,T)}var L={minMenuHeight:C,maxMenuHeight:D,menuPlacement:k,menuPosition:A,menuShouldScrollIntoView:z},W=b.createElement(B_,X({},g,L),function(ee){var Oe=ee.ref,Q=ee.placerProps,V=Q.placement,ne=Q.maxHeight;return b.createElement(l,X({},g,L,{innerRef:Oe,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:v,placement:V}),b.createElement(fM,{captureEnabled:p,onTopArrive:J,onBottomArrive:q,lockEnabled:H},function(Ce){return b.createElement(u,X({},g,{innerRef:function(ao){o.getMenuListRef(ao),Ce(ao)},innerProps:{role:"listbox","aria-multiselectable":g.isMulti,id:o.getElementId("listbox")},isLoading:v,maxHeight:ne,focusedOption:w}),R)}))});return F||A==="fixed"?b.createElement(c,X({},g,{appendTo:F,controlElement:this.controlRef,menuPlacement:k,menuPosition:A}),W):W}},{key:"renderFormField",value:function(){var o=this,i=this.props,a=i.delimiter,s=i.isDisabled,l=i.isMulti,u=i.name,c=i.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!s)return b.createElement(mM,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(a){var f=d.map(function(w){return o.getOptionValue(w)}).join(a);return b.createElement("input",{name:u,type:"hidden",value:f})}else{var h=d.length>0?d.map(function(w,y){return b.createElement("input",{key:"i-".concat(y),name:u,type:"hidden",value:o.getOptionValue(w)})}):b.createElement("input",{name:u,type:"hidden",value:""});return b.createElement("div",null,h)}else{var g=d[0]?this.getOptionValue(d[0]):"";return b.createElement("input",{name:u,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,i=this.state,a=i.ariaSelection,s=i.focusedOption,l=i.focusedValue,u=i.isFocused,c=i.selectValue,d=this.getFocusableOptions();return b.createElement(eM,X({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:s,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),i=o.Control,a=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,c=u.className,d=u.id,f=u.isDisabled,h=u.menuIsOpen,g=this.state.isFocused,w=this.commonProps=this.getCommonProps();return b.createElement(s,X({},w,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:g}),this.renderLiveRegion(),b.createElement(i,X({},w,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:g,menuIsOpen:h}),b.createElement(l,X({},w,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),b.createElement(a,X({},w,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,i){var a=i.prevProps,s=i.clearFocusValueOnUpdate,l=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,c=i.isFocused,d=i.prevWasFocused,f=i.instancePrefix,h=o.options,g=o.value,w=o.menuIsOpen,y=o.inputValue,p=o.isMulti,m=xl(g),v={};if(a&&(g!==a.value||h!==a.options||w!==a.menuIsOpen||y!==a.inputValue)){var x=w?OM(o,m):[],C=w?Km(_s(o,m),"".concat(f,"-option")):[],D=s?MM(i,m):null,E=TM(i,x),k=vc(C,E);v={selectValue:m,focusedOption:E,focusedOptionId:k,focusableOptionsWithIds:C,focusedValue:D,clearFocusValueOnUpdate:!1}}var A=l!=null&&o!==a?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},F=u,H=c&&d;return c&&!H&&(F={value:Oi(p,m,m[0]||null),options:m,action:"initial-input-focus"},H=!d),(u==null?void 0:u.action)==="initial-input-focus"&&(F=null),K(K(K({},v),A),{},{prevProps:o,ariaSelection:F,prevWasFocused:H})}}]),n}(b.Component);Pp.defaultProps=_M;var AM=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function e1(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,o=r===void 0?!1:r,i=e.defaultValue,a=i===void 0?null:i,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,h=e.value,g=kn(e,AM),w=b.useState(s!==void 0?s:n),y=Rn(w,2),p=y[0],m=y[1],v=b.useState(l!==void 0?l:o),x=Rn(v,2),C=x[0],D=x[1],E=b.useState(h!==void 0?h:a),k=Rn(E,2),A=k[0],F=k[1],H=b.useCallback(function(P,T){typeof u=="function"&&u(P,T),F(P)},[u]),z=b.useCallback(function(P,T){var L;typeof c=="function"&&(L=c(P,T)),m(L!==void 0?L:P)},[c]),U=b.useCallback(function(){typeof f=="function"&&f(),D(!0)},[f]),J=b.useCallback(function(){typeof d=="function"&&d(),D(!1)},[d]),q=s!==void 0?s:p,M=l!==void 0?l:C,R=h!==void 0?h:A;return K(K({},g),{},{inputValue:q,menuIsOpen:M,onChange:H,onInputChange:z,onMenuClose:J,onMenuOpen:U,value:R})}var FM=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Xm=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,o=String(t).toLowerCase(),i=String(r.getOptionValue(n)).toLowerCase(),a=String(r.getOptionLabel(n)).toLowerCase();return i===o||a===o},wc={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,o){return!(!t||n.some(function(i){return Xm(t,i,o)})||r.some(function(i){return Xm(t,i,o)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function RM(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,o=r===void 0?"last":r,i=e.formatCreateLabel,a=i===void 0?wc.formatCreateLabel:i,s=e.isValidNewOption,l=s===void 0?wc.isValidNewOption:s,u=e.getNewOptionData,c=u===void 0?wc.getNewOptionData:u,d=e.onCreateOption,f=e.options,h=f===void 0?[]:f,g=e.onChange,w=kn(e,FM),y=w.getOptionValue,p=y===void 0?Uy:y,m=w.getOptionLabel,v=m===void 0?Wy:m,x=w.inputValue,C=w.isLoading,D=w.isMulti,E=w.value,k=w.name,A=b.useMemo(function(){return l(x,xl(E),h,{getOptionValue:p,getOptionLabel:v})?c(x,a(x)):void 0},[a,c,v,p,x,l,h,E]),F=b.useMemo(function(){return(n||!C)&&A?o==="first"?[A].concat(Do(h)):[].concat(Do(h),[A]):h},[n,o,C,A,h]),H=b.useCallback(function(z,U){if(U.action!=="select-option")return g(z,U);var J=Array.isArray(z)?z:[z];if(J[J.length-1]===A){if(d)d(x);else{var q=c(x,x),M={action:"create-option",name:k,option:q};g(Oi(D,[].concat(Do(xl(E)),[q]),q),M)}return}g(z,U)},[c,x,D,k,A,d,g,E]);return K(K({},w),{},{options:F,onChange:H})}var IM=b.forwardRef(function(e,t){var n=e1(e),r=RM(n);return b.createElement(Pp,X({ref:t},r))}),LM=IM;const BM=({setCustomerId:e})=>{const[t,n]=b.useState([]),[r,o]=b.useState({value:1,label:"Walking Customer"});b.useEffect(()=>{ot.get("/admin/get/customers").then(s=>{var u;const l=(u=s==null?void 0:s.data)==null?void 0:u.map(c=>({value:c.id,label:c.name}));n(l)})},[]),b.useEffect(()=>{e(r==null?void 0:r.value)},[r]);const i=s=>{ot.post("/admin/create/customers",{name:s}).then(l=>{const u=l.data,c={value:u.id,label:u.name};n(d=>[c,...d]),o(c)}).catch(l=>{console.error("Error creating customer:",l)})},a=s=>{o(s)};return S.jsx(LM,{isClearable:!0,options:t,onChange:a,onCreateOption:i,value:r,placeholder:"Select or create customer"})};function $M(){const[e,t]=b.useState([]),[n,r]=b.useState([]),[o,i]=b.useState(0),[a,s]=b.useState(0),[l,u]=b.useState(0),[c,d]=b.useState(0),[f,h]=b.useState(0),[g,w]=b.useState(),[y,p]=b.useState(!1),[m,v]=b.useState(!1),[x,C]=b.useState(""),[D,E]=b.useState(""),{protocol:k,hostname:A,port:F}=window.location,[H,z]=b.useState(1),[U,J]=b.useState(0),[q,M]=b.useState(!1),R=`${k}//${A}${F?`:${F}`:""}`,P=b.useCallback(async(Q="",V=1,ne="")=>{M(!0);try{const Ke=(await ot.get("/admin/get/products",{params:{search:Q,page:V,barcode:ne}})).data;t(ao=>[...ao,...Ke.data]),Ke.data.length===1&&ne!=""&&(W(Ke.data[0].id),L()),J(Ke.meta.last_page)}catch(Ce){console.error("Error fetching products:",Ce)}finally{M(!1)}},[]),T=b.useCallback(async()=>{try{const V=(await ot.get("/admin/get/products")).data;t(V.data),J(V.meta.last_page)}catch(Q){console.error("Error fetching products:",Q)}},[]);b.useEffect(()=>{T()},[m]);const L=async()=>{try{const V=(await ot.get("/admin/cart")).data;d(V==null?void 0:V.total),h((V==null?void 0:V.total)-o),r(V==null?void 0:V.carts)}catch(Q){console.error("Error fetching carts:",Q)}};b.useEffect(()=>{L()},[]),b.useEffect(()=>{L()},[y]),b.useEffect(()=>{let Q=a,V=o;a==""&&(Q=0),o==""&&(V=0);const ne=parseFloat(c)-parseFloat(V),Ce=ne-parseFloat(Q);h(ne==null?void 0:ne.toFixed(2)),u(Ce==null?void 0:Ce.toFixed(2))},[o,a,c]),b.useEffect(()=>{x&&(t([]),P(x,H,"")),E("")},[H,x]),b.useEffect(()=>{D&&(t([]),P("",H,D))},[D]),b.useEffect(()=>{const Q=()=>{window.innerHeight+document.documentElement.scrollTop>=document.documentElement.offsetHeight&&HV+1)};return window.addEventListener("scroll",Q),()=>{window.removeEventListener("scroll",Q)}},[H,U]);function W(Q){ot.post("/admin/cart",{id:Q}).then(V=>{var ne;p(!y),Tn(Ni),Xe.success((ne=V==null?void 0:V.data)==null?void 0:ne.message)}).catch(V=>{Tn(zs),Xe.error(V.response.data.message)})}function ee(){c<=0||zr.fire({title:"Are you sure you want to delete Cart?",showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{actions:"my-actions",cancelButton:"order-1 right-gap",confirmButton:"order-2",denyButton:"order-3"}}).then(Q=>{if(Q.isConfirmed)ot.put("/admin/cart/empty").then(V=>{var ne;p(!y),Tn(Ni),Xe.success((ne=V==null?void 0:V.data)==null?void 0:ne.message)}).catch(V=>{Tn(zs),Xe.error(V.response.data.message)});else if(Q.isDenied)return})}function Oe(){if(!(c<=0)){if(!g){Xe.error("Please select customer");return}zr.fire({title:`Are you sure you want to complete this order?
Due: ${l}`,showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{actions:"my-actions",cancelButton:"order-1 right-gap",confirmButton:"order-2",denyButton:"order-3"}}).then(Q=>{if(Q.isConfirmed)ot.put("/admin/order/create",{customer_id:g,order_discount:parseFloat(o)||0,paid:parseFloat(a)||0}).then(V=>{var ne,Ce,Ke;p(!y),v(!m),Xe.success((ne=V==null?void 0:V.data)==null?void 0:ne.message),window.location.href=`orders/pos-invoice/${(Ke=(Ce=V==null?void 0:V.data)==null?void 0:Ce.order)==null?void 0:Ke.id}`}).catch(V=>{Xe.error(V.response.data.message)});else if(Q.isDenied)return})}}return S.jsxs(S.Fragment,{children:[S.jsx("div",{className:"card",children:S.jsx("div",{className:"card-body p-2 p-md-4 pt-0",children:S.jsxs("div",{className:"row",children:[S.jsxs("div",{className:"col-md-6 col-lg-5 mb-2",children:[S.jsx("div",{className:"row mb-2",children:S.jsx("div",{className:"col-12",children:S.jsx(BM,{setCustomerId:w})})}),S.jsx(fC,{carts:n,setCartUpdated:p,cartUpdated:y}),S.jsx("div",{className:"card",children:S.jsxs("div",{className:"card-body",children:[S.jsxs("div",{className:"row text-bold mb-1",children:[S.jsx("div",{className:"col",children:"Sub Total:"}),S.jsx("div",{className:"col text-right mr-2",children:c})]}),S.jsxs("div",{className:"row text-bold mb-1",children:[S.jsx("div",{className:"col",children:"Discount:"}),S.jsx("div",{className:"col text-right mr-2",children:S.jsx("input",{type:"number",className:"form-control form-control-sm",placeholder:"Enter discount",min:0,disabled:c<=0,value:o,onChange:Q=>{const V=Q.target.value;parseFloat(V)>c||parseFloat(V)<0||i(V)}})})]}),S.jsxs("div",{className:"row text-bold mb-1",children:[S.jsx("div",{className:"col",children:"Apply Fractional Discount:"}),S.jsx("div",{className:"col text-right mr-2",children:S.jsx("input",{type:"checkbox",className:"form-control-sm",disabled:c<=0,onChange:Q=>{if(Q.target.checked){const V=c%1;i(V==null?void 0:V.toFixed(2))}else i(0)}})})]}),S.jsxs("div",{className:"row text-bold mb-1",children:[S.jsx("div",{className:"col",children:"Total:"}),S.jsx("div",{className:"col text-right mr-2",children:f})]}),S.jsxs("div",{className:"row text-bold mb-1",children:[S.jsx("div",{className:"col",children:"Paid:"}),S.jsx("div",{className:"col text-right mr-2",children:S.jsx("input",{type:"number",className:"form-control form-control-sm",placeholder:"Enter paid",min:0,disabled:c<=0,value:a,onChange:Q=>{const V=Q.target.value;parseFloat(V)<0||parseFloat(V)>f||s(V)}})})]}),S.jsxs("div",{className:"row text-bold",children:[S.jsx("div",{className:"col",children:"Due:"}),S.jsx("div",{className:"col text-right mr-2",children:l})]})]})}),S.jsxs("div",{className:"row",children:[S.jsx("div",{className:"col",children:S.jsx("button",{onClick:()=>ee(),type:"button",className:"btn bg-gradient-danger btn-block text-white text-bold",children:"Clear Cart"})}),S.jsx("div",{className:"col",children:S.jsx("button",{onClick:()=>{Oe()},type:"button",className:"btn bg-gradient-primary btn-block text-white text-bold",children:"Checkout"})})]})]}),S.jsxs("div",{className:"col-md-6 col-lg-7",children:[S.jsxs("div",{className:"row",children:[S.jsxs("div",{className:"input-group mb-2 col-md-6",children:[S.jsx("div",{class:"input-group-prepend",children:S.jsx("span",{class:"input-group-text",children:S.jsx("i",{class:"fas fa-barcode"})})}),S.jsx("input",{type:"text",className:"form-control",placeholder:"Enter Product Barcode",value:D,autoFocus:!0,onChange:Q=>E(Q.target.value)})]}),S.jsx("div",{className:"mb-2 col-md-6",children:S.jsx("input",{type:"text",className:"form-control",placeholder:"Enter Product Name",value:x,onChange:Q=>C(Q.target.value)})})]}),S.jsx("div",{className:"row products-card-container",children:e.length>0&&e.map((Q,V)=>S.jsx("div",{onClick:()=>W(Q.id),className:"col-6 col-md-4 col-lg-3 mb-3",style:{cursor:"pointer"},children:S.jsxs("div",{className:"text-center",children:[S.jsx("img",{src:`${R}/storage/${Q.image}`,alt:Q.name,className:"mr-2 img-thumb",onError:ne=>{ne.target.onerror=null,ne.target.src=`${R}/assets/images/no-image.png`},width:120,height:100}),S.jsxs("div",{className:"product-details",children:[S.jsxs("p",{className:"mb-0 text-bold product-name",children:[Q.name," (",Q.quantity,")"]}),S.jsxs("p",{children:["Price:"," ",Q==null?void 0:Q.discounted_price]})]})]})},V))}),q&&S.jsx("div",{className:"loading-more",children:"Loading more..."})]})]})})}),S.jsx(xf,{position:"top-right",reverseOrder:!1})]})}var jM=b.forwardRef(function(e,t){var n=e1(e);return b.createElement(Pp,X({ref:t},n))}),VM=jM;const HM=({setSupplierId:e,oldSupplier:t})=>{const[n,r]=b.useState([]),[o,i]=b.useState(null);b.useState({name:"",phone:"",address:""}),b.useState({}),b.useEffect(()=>{ot.get("/admin/suppliers").then(s=>{var u;const l=(u=s==null?void 0:s.data)==null?void 0:u.map(c=>({value:c.id,label:c.name}));r(l)})},[]),b.useEffect(()=>{e(o==null?void 0:o.value)},[o]),b.useEffect(()=>{i(t)},[t]);const a=s=>{i(s)};return S.jsx("div",{children:S.jsx(VM,{isClearable:!0,options:n,onChange:a,value:o,placeholder:"Select supplier",required:!0})})};function t1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function _p(e,t){const n=+$(e);return pe(e,n+t)}const n1=6048e5,YM=864e5,_u=6e4,Ou=36e5,zM=1e3;function WM(e,t){return _p(e,t*Ou)}let UM={};function io(){return UM}function Qn(e,t){var s,l,u,c;const n=io(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=$(e),i=o.getDay(),a=(i=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Zr(e){const t=$(e);return t.setHours(0,0,0,0),t}function Cl(e){const t=$(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Go(e,t){const n=Zr(e),r=Zr(t),o=+n-Cl(n),i=+r-Cl(r);return Math.round((o-i)/YM)}function QM(e){const t=r1(e),n=pe(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Ko(n)}function Yd(e,t){return _p(e,t*_u)}function Op(e,t){const n=t*3;return rn(e,n)}function qM(e,t){return _p(e,t*1e3)}function kl(e,t){const n=t*7;return Un(e,n)}function Ln(e,t){return rn(e,t*12)}function Zm(e){let t;return e.forEach(function(n){const r=$(n);(t===void 0||t{const r=$(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function KM(e,t){const n=Zr(e),r=Zr(t);return+n==+r}function Bn(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Dl(e){if(!Bn(e)&&typeof e!="number")return!1;const t=$(e);return!isNaN(Number(t))}function Pl(e,t){const n=$(e),r=$(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function $r(e){const t=$(e);return Math.trunc(t.getMonth()/3)+1}function _l(e,t){const n=$(e),r=$(t),o=n.getFullYear()-r.getFullYear(),i=$r(n)-$r(r);return o*4+i}function Ol(e,t){const n=$(e),r=$(t);return n.getFullYear()-r.getFullYear()}function GM(e,t){const n=$(e),r=$(t),o=eg(n,r),i=Math.abs(Go(n,r));n.setDate(n.getDate()-o*i);const a=+(eg(n,r)===-o),s=o*(i-a);return s===0?0:s}function eg(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function o1(e){const t=$(e);return t.setHours(23,59,59,999),t}function i1(e){const t=$(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function zd(e){const t=$(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function a1(e){const t=$(e);return t.setDate(1),t.setHours(0,0,0,0),t}function s1(e){const t=$(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function Mu(e){const t=$(e),n=pe(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function XM(e,t){var s,l,u,c;const n=io(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=$(e),i=o.getDay(),a=(i{let r;const o=ZM[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function yc(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const eT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},tT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},nT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rT={date:yc({formats:eT,defaultWidth:"full"}),time:yc({formats:tT,defaultWidth:"full"}),dateTime:yc({formats:nT,defaultWidth:"full"})},oT={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},iT=(e,t,n,r)=>oT[e];function bi(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):a;o=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const aT={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},sT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},lT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},uT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},cT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},dT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},fT=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},pT={ordinalNumber:fT,era:bi({values:aT,defaultWidth:"wide"}),quarter:bi({values:sT,defaultWidth:"wide",argumentCallback:e=>e-1}),month:bi({values:lT,defaultWidth:"wide"}),day:bi({values:uT,defaultWidth:"wide"}),dayPeriod:bi({values:cT,defaultWidth:"wide",formattingValues:dT,defaultFormattingWidth:"wide"})};function xi(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?mT(s,d=>d.test(a)):hT(s,d=>d.test(a));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(a.length);return{value:u,rest:c}}}function hT(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function mT(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(o.length);return{value:a,rest:s}}}const vT=/^(\d+)(th|st|nd|rd)?/i,wT=/\d+/i,yT={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bT={any:[/^b/i,/^(a|c)/i]},xT={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ET={any:[/1/i,/2/i,/3/i,/4/i]},ST={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},CT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},kT={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},DT={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},PT={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_T={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},OT={ordinalNumber:gT({matchPattern:vT,parsePattern:wT,valueCallback:e=>parseInt(e,10)}),era:xi({matchPatterns:yT,defaultMatchWidth:"wide",parsePatterns:bT,defaultParseWidth:"any"}),quarter:xi({matchPatterns:xT,defaultMatchWidth:"wide",parsePatterns:ET,defaultParseWidth:"any",valueCallback:e=>e+1}),month:xi({matchPatterns:ST,defaultMatchWidth:"wide",parsePatterns:CT,defaultParseWidth:"any"}),day:xi({matchPatterns:kT,defaultMatchWidth:"wide",parsePatterns:DT,defaultParseWidth:"any"}),dayPeriod:xi({matchPatterns:PT,defaultMatchWidth:"any",parsePatterns:_T,defaultParseWidth:"any"})},l1={code:"en-US",formatDistance:JM,formatLong:rT,formatRelative:iT,localize:pT,match:OT,options:{weekStartsOn:0,firstWeekContainsDate:1}};function MT(e){const t=$(e);return Go(t,Mu(t))+1}function Mp(e){const t=$(e),n=+Ko(t)-+QM(t);return Math.round(n/n1)+1}function Tp(e,t){var c,d,f,h;const n=$(e),r=n.getFullYear(),o=io(),i=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(f=o.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,a=pe(e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=Qn(a,t),l=pe(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const u=Qn(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function TT(e,t){var s,l,u,c;const n=io(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=Tp(e,t),i=pe(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Qn(i,t)}function u1(e,t){const n=$(e),r=+Qn(n,t)-+TT(n,t);return Math.round(r/n1)+1}function fe(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Xn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return fe(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):fe(n+1,2)},d(e,t){return fe(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return fe(e.getHours()%12||12,t.length)},H(e,t){return fe(e.getHours(),t.length)},m(e,t){return fe(e.getMinutes(),t.length)},s(e,t){return fe(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return fe(o,t.length)}},uo={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},tg={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Xn.y(e,t)},Y:function(e,t,n,r){const o=Tp(e,r),i=o>0?o:1-o;if(t==="YY"){const a=i%100;return fe(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):fe(i,t.length)},R:function(e,t){const n=r1(e);return fe(n,t.length)},u:function(e,t){const n=e.getFullYear();return fe(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return fe(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return fe(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Xn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return fe(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=u1(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):fe(o,t.length)},I:function(e,t,n){const r=Mp(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):fe(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Xn.d(e,t)},D:function(e,t,n){const r=MT(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):fe(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return fe(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return fe(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return fe(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=uo.noon:r===0?o=uo.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=uo.evening:r>=12?o=uo.afternoon:r>=4?o=uo.morning:o=uo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Xn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Xn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):fe(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):fe(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Xn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Xn.s(e,t)},S:function(e,t){return Xn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return rg(r);case"XXXX":case"XX":return Or(r);case"XXXXX":case"XXX":default:return Or(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return rg(r);case"xxxx":case"xx":return Or(r);case"xxxxx":case"xxx":default:return Or(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ng(r,":");case"OOOO":default:return"GMT"+Or(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ng(r,":");case"zzzz":default:return"GMT"+Or(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return fe(r,t.length)},T:function(e,t,n){const r=e.getTime();return fe(r,t.length)}};function ng(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+fe(i,2)}function rg(e,t){return e%60===0?(e>0?"-":"+")+fe(Math.abs(e)/60,2):Or(e,t)}function Or(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=fe(Math.trunc(r/60),2),i=fe(r%60,2);return n+o+t+i}const og=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},c1=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},NT=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return og(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",og(r,t)).replace("{{time}}",c1(o,t))},Ml={p:c1,P:NT},AT=/^D+$/,FT=/^Y+$/,RT=["D","DD","YY","YYYY"];function d1(e){return AT.test(e)}function f1(e){return FT.test(e)}function Wd(e,t,n){const r=IT(e,t,n);if(console.warn(r),RT.includes(e))throw new RangeError(r)}function IT(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const LT=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,BT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$T=/^'([^]*?)'?$/,jT=/''/g,VT=/[a-zA-Z]/;function ig(e,t,n){var c,d,f,h,g,w,y,p;const r=io(),o=(n==null?void 0:n.locale)??r.locale??l1,i=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(f=r.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((w=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((p=(y=r.locale)==null?void 0:y.options)==null?void 0:p.weekStartsOn)??0,s=$(e);if(!Dl(s))throw new RangeError("Invalid time value");let l=t.match(BT).map(m=>{const v=m[0];if(v==="p"||v==="P"){const x=Ml[v];return x(m,o.formatLong)}return m}).join("").match(LT).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const v=m[0];if(v==="'")return{isToken:!1,value:HT(m)};if(tg[v])return{isToken:!0,value:m};if(v.match(VT))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:m}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map(m=>{if(!m.isToken)return m.value;const v=m.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&f1(v)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&d1(v))&&Wd(v,t,String(e));const x=tg[v[0]];return x(s,v,o.localize,u)}).join("")}function HT(e){const t=e.match($T);return t?t[1].replace(jT,"'"):e}function ag(e){return $(e).getDate()}function YT(e){return $(e).getDay()}function zT(e){const t=$(e),n=t.getFullYear(),r=t.getMonth(),o=pe(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function WT(){return Object.assign({},io())}function bn(e){return $(e).getHours()}function UT(e){let n=$(e).getDay();return n===0&&(n=7),n}function xn(e){return $(e).getMinutes()}function dt(e){return $(e).getMonth()}function $n(e){return $(e).getSeconds()}function Ud(e){return $(e).getTime()}function re(e){return $(e).getFullYear()}function xr(e,t){const n=$(e),r=$(t);return n.getTime()>r.getTime()}function Jr(e,t){const n=$(e),r=$(t);return+n<+r}function QT(e,t){const n=$(e),r=$(t);return+n==+r}function qT(e,t){const n=t instanceof Date?pe(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const KT=10;class p1{constructor(){j(this,"subPriority",0)}validate(t,n){return!0}}class GT extends p1{constructor(t,n,r,o,i){super(),this.value=t,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,r){return this.setValue(t,n,this.value,r)}}class XT extends p1{constructor(){super(...arguments);j(this,"priority",KT);j(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:pe(n,qT(n,Date))}}class de{run(t,n,r,o){const i=this.parse(t,n,r,o);return i?{setter:new GT(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,n,r){return!0}}class ZT extends de{constructor(){super(...arguments);j(this,"priority",140);j(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"});case"GGGGG":return o.era(n,{width:"narrow"});case"GGGG":default:return o.era(n,{width:"wide"})||o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"})}}set(n,r,o){return r.era=o,n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}const Re={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},hn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ie(e,t){return e&&{value:t(e.value),rest:e.rest}}function De(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function mn(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*Ou+i*_u+a*zM),rest:t.slice(n[0].length)}}function h1(e){return De(Re.anyDigitsSigned,e)}function Ne(e,t){switch(e){case 1:return De(Re.singleDigit,t);case 2:return De(Re.twoDigits,t);case 3:return De(Re.threeDigits,t);case 4:return De(Re.fourDigits,t);default:return De(new RegExp("^\\d{1,"+e+"}"),t)}}function Tl(e,t){switch(e){case 1:return De(Re.singleDigitSigned,t);case 2:return De(Re.twoDigitsSigned,t);case 3:return De(Re.threeDigitsSigned,t);case 4:return De(Re.fourDigitsSigned,t);default:return De(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Np(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function m1(e,t){const n=t>0,r=n?t:1-t;let o;if(r<=50)o=e||100;else{const i=r+50,a=Math.trunc(i/100)*100,s=e>=i%100;o=e+a-(s?100:0)}return n?o:1-o}function g1(e){return e%400===0||e%4===0&&e%100!==0}class JT extends de{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,o){const i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return Ie(Ne(4,n),i);case"yo":return Ie(o.ordinalNumber(n,{unit:"year"}),i);default:return Ie(Ne(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o){const i=n.getFullYear();if(o.isTwoDigitYear){const s=m1(o.year,i);return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class eN extends de{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,o){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return Ie(Ne(4,n),i);case"Yo":return Ie(o.ordinalNumber(n,{unit:"year"}),i);default:return Ie(Ne(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o,i){const a=Tp(n,i);if(o.isTwoDigitYear){const l=m1(o.year,a);return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Qn(n,i)}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Qn(n,i)}}class tN extends de{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return Tl(r==="R"?4:r.length,n)}set(n,r,o){const i=pe(n,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),Ko(i)}}class nN extends de{constructor(){super(...arguments);j(this,"priority",130);j(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return Tl(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class rN extends de{constructor(){super(...arguments);j(this,"priority",120);j(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"Q":case"QQ":return Ne(r.length,n);case"Qo":return o.ordinalNumber(n,{unit:"quarter"});case"QQQ":return o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(n,{width:"wide",context:"formatting"})||o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class oN extends de{constructor(){super(...arguments);j(this,"priority",120);j(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"q":case"qq":return Ne(r.length,n);case"qo":return o.ordinalNumber(n,{unit:"quarter"});case"qqq":return o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(n,{width:"wide",context:"standalone"})||o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class iN extends de{constructor(){super(...arguments);j(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);j(this,"priority",110)}parse(n,r,o){const i=a=>a-1;switch(r){case"M":return Ie(De(Re.month,n),i);case"MM":return Ie(Ne(2,n),i);case"Mo":return Ie(o.ordinalNumber(n,{unit:"month"}),i);case"MMM":return o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(n,{width:"wide",context:"formatting"})||o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}class aN extends de{constructor(){super(...arguments);j(this,"priority",110);j(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,o){const i=a=>a-1;switch(r){case"L":return Ie(De(Re.month,n),i);case"LL":return Ie(Ne(2,n),i);case"Lo":return Ie(o.ordinalNumber(n,{unit:"month"}),i);case"LLL":return o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(n,{width:"wide",context:"standalone"})||o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}function sN(e,t,n){const r=$(e),o=u1(r,n)-t;return r.setDate(r.getDate()-o*7),r}class lN extends de{constructor(){super(...arguments);j(this,"priority",100);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,o){switch(r){case"w":return De(Re.week,n);case"wo":return o.ordinalNumber(n,{unit:"week"});default:return Ne(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o,i){return Qn(sN(n,o,i),i)}}function uN(e,t){const n=$(e),r=Mp(n)-t;return n.setDate(n.getDate()-r*7),n}class cN extends de{constructor(){super(...arguments);j(this,"priority",100);j(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,o){switch(r){case"I":return De(Re.week,n);case"Io":return o.ordinalNumber(n,{unit:"week"});default:return Ne(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o){return Ko(uN(n,o))}}const dN=[31,28,31,30,31,30,31,31,30,31,30,31],fN=[31,29,31,30,31,30,31,31,30,31,30,31];class pN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"subPriority",1);j(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"d":return De(Re.date,n);case"do":return o.ordinalNumber(n,{unit:"date"});default:return Ne(r.length,n)}}validate(n,r){const o=n.getFullYear(),i=g1(o),a=n.getMonth();return i?r>=1&&r<=fN[a]:r>=1&&r<=dN[a]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class hN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"subpriority",1);j(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,o){switch(r){case"D":case"DD":return De(Re.dayOfYear,n);case"Do":return o.ordinalNumber(n,{unit:"date"});default:return Ne(r.length,n)}}validate(n,r){const o=n.getFullYear();return g1(o)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,o){return n.setMonth(0,o),n.setHours(0,0,0,0),n}}function Ap(e,t,n){var d,f,h,g;const r=io(),o=(n==null?void 0:n.weekStartsOn)??((f=(d=n==null?void 0:n.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(h=r.locale)==null?void 0:h.options)==null?void 0:g.weekStartsOn)??0,i=$(e),a=i.getDay(),l=(t%7+7)%7,u=7-o,c=t<0||t>6?t-(a+u)%7:(l+u)%7-(a+u)%7;return Un(i,c)}class mN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Ap(n,o,i),n.setHours(0,0,0,0),n}}class gN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,o,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return Ie(Ne(r.length,n),a);case"eo":return Ie(o.ordinalNumber(n,{unit:"day"}),a);case"eee":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Ap(n,o,i),n.setHours(0,0,0,0),n}}class vN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,o,i){const a=s=>{const l=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return Ie(Ne(r.length,n),a);case"co":return Ie(o.ordinalNumber(n,{unit:"day"}),a);case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(n,{width:"wide",context:"standalone"})||o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Ap(n,o,i),n.setHours(0,0,0,0),n}}function wN(e,t){const n=$(e),r=UT(n),o=t-r;return Un(n,o)}class yN extends de{constructor(){super(...arguments);j(this,"priority",90);j(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,o){const i=a=>a===0?7:a;switch(r){case"i":case"ii":return Ne(r.length,n);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return Ie(o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return Ie(o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return Ie(o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return Ie(o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,o){return n=wN(n,o),n.setHours(0,0,0,0),n}}class bN extends de{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Np(o),0,0,0),n}}class xN extends de{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Np(o),0,0,0),n}}class EN extends de{constructor(){super(...arguments);j(this,"priority",80);j(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Np(o),0,0,0),n}}class SN extends de{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,o){switch(r){case"h":return De(Re.hour12h,n);case"ho":return o.ordinalNumber(n,{unit:"hour"});default:return Ne(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,o){const i=n.getHours()>=12;return i&&o<12?n.setHours(o+12,0,0,0):!i&&o===12?n.setHours(0,0,0,0):n.setHours(o,0,0,0),n}}class CN extends de{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,o){switch(r){case"H":return De(Re.hour23h,n);case"Ho":return o.ordinalNumber(n,{unit:"hour"});default:return Ne(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,o){return n.setHours(o,0,0,0),n}}class kN extends de{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,o){switch(r){case"K":return De(Re.hour11h,n);case"Ko":return o.ordinalNumber(n,{unit:"hour"});default:return Ne(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.getHours()>=12&&o<12?n.setHours(o+12,0,0,0):n.setHours(o,0,0,0),n}}class DN extends de{constructor(){super(...arguments);j(this,"priority",70);j(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,o){switch(r){case"k":return De(Re.hour24h,n);case"ko":return o.ordinalNumber(n,{unit:"hour"});default:return Ne(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,o){const i=o<=24?o%24:o;return n.setHours(i,0,0,0),n}}class PN extends de{constructor(){super(...arguments);j(this,"priority",60);j(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"m":return De(Re.minute,n);case"mo":return o.ordinalNumber(n,{unit:"minute"});default:return Ne(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setMinutes(o,0,0),n}}class _N extends de{constructor(){super(...arguments);j(this,"priority",50);j(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"s":return De(Re.second,n);case"so":return o.ordinalNumber(n,{unit:"second"});default:return Ne(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setSeconds(o,0),n}}class ON extends de{constructor(){super(...arguments);j(this,"priority",30);j(this,"incompatibleTokens",["t","T"])}parse(n,r){const o=i=>Math.trunc(i*Math.pow(10,-r.length+3));return Ie(Ne(r.length,n),o)}set(n,r,o){return n.setMilliseconds(o),n}}class MN extends de{constructor(){super(...arguments);j(this,"priority",10);j(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return mn(hn.basicOptionalMinutes,n);case"XX":return mn(hn.basic,n);case"XXXX":return mn(hn.basicOptionalSeconds,n);case"XXXXX":return mn(hn.extendedOptionalSeconds,n);case"XXX":default:return mn(hn.extended,n)}}set(n,r,o){return r.timestampIsSet?n:pe(n,n.getTime()-Cl(n)-o)}}class TN extends de{constructor(){super(...arguments);j(this,"priority",10);j(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return mn(hn.basicOptionalMinutes,n);case"xx":return mn(hn.basic,n);case"xxxx":return mn(hn.basicOptionalSeconds,n);case"xxxxx":return mn(hn.extendedOptionalSeconds,n);case"xxx":default:return mn(hn.extended,n)}}set(n,r,o){return r.timestampIsSet?n:pe(n,n.getTime()-Cl(n)-o)}}class NN extends de{constructor(){super(...arguments);j(this,"priority",40);j(this,"incompatibleTokens","*")}parse(n){return h1(n)}set(n,r,o){return[pe(n,o*1e3),{timestampIsSet:!0}]}}class AN extends de{constructor(){super(...arguments);j(this,"priority",20);j(this,"incompatibleTokens","*")}parse(n){return h1(n)}set(n,r,o){return[pe(n,o),{timestampIsSet:!0}]}}const FN={G:new ZT,y:new JT,Y:new eN,R:new tN,u:new nN,Q:new rN,q:new oN,M:new iN,L:new aN,w:new lN,I:new cN,d:new pN,D:new hN,E:new mN,e:new gN,c:new vN,i:new yN,a:new bN,b:new xN,B:new EN,h:new SN,H:new CN,K:new kN,k:new DN,m:new PN,s:new _N,S:new ON,X:new MN,x:new TN,t:new NN,T:new AN},RN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,IN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,LN=/^'([^]*?)'?$/,BN=/''/g,$N=/\S/,jN=/[a-zA-Z]/;function bc(e,t,n,r){var w,y,p,m,v,x,C,D;const o=WT(),i=(r==null?void 0:r.locale)??o.locale??l1,a=(r==null?void 0:r.firstWeekContainsDate)??((y=(w=r==null?void 0:r.locale)==null?void 0:w.options)==null?void 0:y.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(p=o.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((x=(v=r==null?void 0:r.locale)==null?void 0:v.options)==null?void 0:x.weekStartsOn)??o.weekStartsOn??((D=(C=o.locale)==null?void 0:C.options)==null?void 0:D.weekStartsOn)??0;if(t==="")return e===""?$(n):pe(n,NaN);const l={firstWeekContainsDate:a,weekStartsOn:s,locale:i},u=[new XT],c=t.match(IN).map(E=>{const k=E[0];if(k in Ml){const A=Ml[k];return A(E,i.formatLong)}return E}).join("").match(RN),d=[];for(let E of c){!(r!=null&&r.useAdditionalWeekYearTokens)&&f1(E)&&Wd(E,t,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&d1(E)&&Wd(E,t,e);const k=E[0],A=FN[k];if(A){const{incompatibleTokens:F}=A;if(Array.isArray(F)){const z=d.find(U=>F.includes(U.token)||U.token===k);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${E}\` at the same time`)}else if(A.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${E}\` and any other token at the same time`);d.push({token:k,fullToken:E});const H=A.run(e,E,i.match,l);if(!H)return pe(n,NaN);u.push(H.setter),e=H.rest}else{if(k.match(jN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");if(E==="''"?E="'":k==="'"&&(E=VN(E)),e.indexOf(E)===0)e=e.slice(E.length);else return pe(n,NaN)}}if(e.length>0&&$N.test(e))return pe(n,NaN);const f=u.map(E=>E.priority).sort((E,k)=>k-E).filter((E,k,A)=>A.indexOf(E)===k).map(E=>u.filter(k=>k.priority===E).sort((k,A)=>A.subPriority-k.subPriority)).map(E=>E[0]);let h=$(n);if(isNaN(h.getTime()))return pe(n,NaN);const g={};for(const E of f){if(!E.validate(h,l))return pe(n,NaN);const k=E.set(h,g,l);Array.isArray(k)?(h=k[0],Object.assign(g,k[1])):h=k}return pe(n,h)}function VN(e){return e.match(LN)[1].replace(BN,"'")}function HN(e,t){const n=$(e),r=$(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function YN(e,t){const n=zd(e),r=zd(t);return+n==+r}function zN(e,t){const n=$(e),r=$(t);return n.getFullYear()===r.getFullYear()}function fa(e,t){const n=+$(e),[r,o]=[+$(t.start),+$(t.end)].sort((i,a)=>i-a);return n>=r&&n<=o}function WN(e,t){return Un(e,-t)}function UN(e,t){const n=(t==null?void 0:t.additionalDigits)??2,r=GN(e);let o;if(r.date){const l=XN(r.date,n);o=ZN(l.restDateString,l.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);const i=o.getTime();let a=0,s;if(r.time&&(a=JN(r.time),isNaN(a)))return new Date(NaN);if(r.timezone){if(s=eA(r.timezone),isNaN(s))return new Date(NaN)}else{const l=new Date(i+a),u=new Date(0);return u.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),u.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),u}return new Date(i+a+s)}const ts={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},QN=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,qN=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,KN=/^([+-])(\d{2})(?::?(\d{2}))?$/;function GN(e){const t={},n=e.split(ts.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ts.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ts.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const o=ts.timezone.exec(r);o?(t.time=r.replace(o[1],""),t.timezone=o[1]):t.time=r}return t}function XN(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?o:i*100,restDateString:e.slice((r[1]||r[2]).length)}}function ZN(e,t){if(t===null)return new Date(NaN);const n=e.match(QN);if(!n)return new Date(NaN);const r=!!n[4],o=Ei(n[1]),i=Ei(n[2])-1,a=Ei(n[3]),s=Ei(n[4]),l=Ei(n[5])-1;if(r)return iA(t,s,l)?tA(t,s,l):new Date(NaN);{const u=new Date(0);return!rA(t,i,a)||!oA(t,o)?new Date(NaN):(u.setUTCFullYear(t,i,Math.max(o,a)),u)}}function Ei(e){return e?parseInt(e):1}function JN(e){const t=e.match(qN);if(!t)return NaN;const n=xc(t[1]),r=xc(t[2]),o=xc(t[3]);return aA(n,r,o)?n*Ou+r*_u+o*1e3:NaN}function xc(e){return e&&parseFloat(e.replace(",","."))||0}function eA(e){if(e==="Z")return 0;const t=e.match(KN);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return sA(r,o)?n*(r*Ou+o*_u):NaN}function tA(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=(t-1)*7+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}const nA=[31,null,31,30,31,30,31,31,30,31,30,31];function v1(e){return e%400===0||e%4===0&&e%100!==0}function rA(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(nA[t]||(v1(e)?29:28))}function oA(e,t){return t>=1&&t<=(v1(e)?366:365)}function iA(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function aA(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function sA(e,t){return t>=0&&t<=59}function Dt(e,t){const n=$(e),r=n.getFullYear(),o=n.getDate(),i=pe(e,0);i.setFullYear(r,t,15),i.setHours(0,0,0,0);const a=zT(i);return n.setMonth(t,Math.min(o,a)),n}function lA(e,t){let n=$(e);return isNaN(+n)?pe(e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=Dt(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function Os(e,t){const n=$(e);return n.setHours(t),n}function Ms(e,t){const n=$(e);return n.setMinutes(t),n}function co(e,t){const n=$(e),r=Math.trunc(n.getMonth()/3)+1,o=t-r;return Dt(n,n.getMonth()+o*3)}function Ts(e,t){const n=$(e);return n.setSeconds(t),n}function un(e,t){const n=$(e);return isNaN(+n)?pe(e,NaN):(n.setFullYear(t),n)}function Xo(e,t){return rn(e,-t)}function w1(e,t){return Op(e,-t)}function sg(e,t){return kl(e,-t)}function Zo(e,t){return Ln(e,-t)}var Ns=typeof document<"u"?b.useLayoutEffect:b.useEffect;function Nl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Nl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Nl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function y1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lg(e,t){const n=y1(e);return Math.round(t*n)/n}function Ec(e){const t=b.useRef(e);return Ns(()=>{t.current=e}),t}function uA(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=b.useState(r);Nl(f,r)||h(r);const[g,w]=b.useState(null),[y,p]=b.useState(null),m=b.useCallback(P=>{P!==D.current&&(D.current=P,w(P))},[]),v=b.useCallback(P=>{P!==E.current&&(E.current=P,p(P))},[]),x=i||g,C=a||y,D=b.useRef(null),E=b.useRef(null),k=b.useRef(c),A=l!=null,F=Ec(l),H=Ec(o),z=Ec(u),U=b.useCallback(()=>{if(!D.current||!E.current)return;const P={placement:t,strategy:n,middleware:f};H.current&&(P.platform=H.current),y_(D.current,E.current,P).then(T=>{const L={...T,isPositioned:z.current!==!1};J.current&&!Nl(k.current,L)&&(k.current=L,Eu.flushSync(()=>{d(L)}))})},[f,t,n,H,z]);Ns(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,d(P=>({...P,isPositioned:!1})))},[u]);const J=b.useRef(!1);Ns(()=>(J.current=!0,()=>{J.current=!1}),[]),Ns(()=>{if(x&&(D.current=x),C&&(E.current=C),x&&C){if(F.current)return F.current(x,C,U);U()}},[x,C,U,F,A]);const q=b.useMemo(()=>({reference:D,floating:E,setReference:m,setFloating:v}),[m,v]),M=b.useMemo(()=>({reference:x,floating:C}),[x,C]),R=b.useMemo(()=>{const P={position:n,left:0,top:0};if(!M.floating)return P;const T=lg(M.floating,c.x),L=lg(M.floating,c.y);return s?{...P,transform:"translate("+T+"px, "+L+"px)",...y1(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:L}},[n,s,M.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:U,refs:q,elements:M,floatingStyles:R}),[c,U,q,M,R])}const cA=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Fm({element:r.current,padding:o}).fn(n):{}:r?Fm({element:r,padding:o}).fn(n):{}}}},dA=(e,t)=>({...v_(e),options:[e,t]}),fA=(e,t)=>({...w_(e),options:[e,t]}),pA=(e,t)=>({...cA(e),options:[e,t]}),b1={..._c},hA=b1.useInsertionEffect,mA=hA||(e=>e());function gA(e){const t=b.useRef(()=>{});return mA(()=>{t.current=e}),b.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+vA++;function wA(){const[e,t]=b.useState(()=>ug?cg():void 0);return Al(()=>{e==null&&t(cg())},[]),b.useEffect(()=>{ug=!0},[]),e}const yA=b1.useId,x1=yA||wA,bA=b.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:s=14,height:l=7,tipRadius:u=0,strokeWidth:c=0,staticOffset:d,stroke:f,d:h,style:{transform:g,...w}={},...y}=t,p=x1(),[m,v]=b.useState(!1);if(Al(()=>{if(!o)return;qt(o).direction==="rtl"&&v(!0)},[o]),!o)return null;const[x,C]=r.split("-"),D=x==="top"||x==="bottom";let E=d;(D&&a!=null&&a.x||!D&&a!=null&&a.y)&&(E=null);const k=c*2,A=k/2,F=s/2*(u/-8+1),H=l/2*u/4,z=!!h,U=E&&C==="end"?"bottom":"top";let J=E&&C==="end"?"right":"left";E&&m&&(J=C==="end"?"left":"right");const q=(i==null?void 0:i.x)!=null?E||i.x:"",M=(i==null?void 0:i.y)!=null?E||i.y:"",R=h||"M0,0"+(" H"+s)+(" L"+(s-F)+","+(l-H))+(" Q"+s/2+","+l+" "+F+","+(l-H))+" Z",P={top:z?"rotate(180deg)":"",left:z?"rotate(90deg)":"rotate(-90deg)",bottom:z?"":"rotate(180deg)",right:z?"rotate(-90deg)":"rotate(90deg)"}[x];return b.createElement("svg",Qd({},y,{"aria-hidden":!0,ref:n,width:z?s:s+k,height:s,viewBox:"0 0 "+s+" "+(l>s?l:s),style:{position:"absolute",pointerEvents:"none",[J]:q,[U]:M,[x]:D||z?"100%":"calc(100% - "+k/2+"px)",transform:[P,g].filter(T=>!!T).join(" "),...w}}),k>0&&b.createElement("path",{clipPath:"url(#"+p+")",fill:"none",stroke:f,strokeWidth:k+(h?0:1),d:R}),b.createElement("path",{stroke:k&&!h?y.fill:"none",d:R}),b.createElement("clipPath",{id:p},b.createElement("rect",{x:-A,y:A*(z?-1:1),width:s+k,height:s})))});function xA(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const EA=b.createContext(null),SA=b.createContext(null),CA=()=>{var e;return((e=b.useContext(EA))==null?void 0:e.id)||null},kA=()=>b.useContext(SA);function DA(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=x1(),i=b.useRef({}),[a]=b.useState(()=>xA()),s=CA()!=null,[l,u]=b.useState(r.reference),c=gA((h,g,w)=>{i.current.openEvent=h?g:void 0,a.emit("openchange",{open:h,event:g,reason:w,nested:s}),n==null||n(h,g,w)}),d=b.useMemo(()=>({setPositionReference:u}),[]),f=b.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return b.useMemo(()=>({dataRef:i,open:t,onOpenChange:c,elements:f,events:a,floatingId:o,refs:d}),[t,c,f,a,o,d])}function PA(e){e===void 0&&(e={});const{nodeId:t}=e,n=DA({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=b.useState(null),[s,l]=b.useState(null),c=(o==null?void 0:o.domReference)||i,d=b.useRef(null),f=kA();Al(()=>{c&&(d.current=c)},[c]);const h=uA({...e,elements:{...o,...s&&{reference:s}}}),g=b.useCallback(v=>{const x=ct(v)?{getBoundingClientRect:()=>v.getBoundingClientRect(),contextElement:v}:v;l(x),h.refs.setReference(x)},[h.refs]),w=b.useCallback(v=>{(ct(v)||v===null)&&(d.current=v,a(v)),(ct(h.refs.reference.current)||h.refs.reference.current===null||v!==null&&!ct(v))&&h.refs.setReference(v)},[h.refs]),y=b.useMemo(()=>({...h.refs,setReference:w,setPositionReference:g,domReference:d}),[h.refs,w,g]),p=b.useMemo(()=>({...h.elements,domReference:c}),[h.elements,c]),m=b.useMemo(()=>({...h,...r,refs:y,elements:p,nodeId:t}),[h,y,p,t,r]);return Al(()=>{r.dataRef.current.floatingContext=m;const v=f==null?void 0:f.nodesRef.current.find(x=>x.id===t);v&&(v.context=m)}),b.useMemo(()=>({...h,context:m,refs:y,elements:p}),[h,y,p,m])}/*! - react-datepicker v7.5.0 - https://github.com/Hacker0x01/react-datepicker - Released under the MIT License. -*/var qd=function(t,n){return qd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},qd(t,n)};function qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qd(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ae=function(){return ae=Object.assign||function(n){for(var r,o=1,i=arguments.length;o0&&(a=bc(e,u.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),Mn(a)||(a=new Date(e))}return Mn(a)&&l?a:null}function Mn(e,t){return Dl(e)&&!Jr(e,t??new Date("1/1/1800"))}function Ee(e,t,n){if(n==="en")return ig(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?jr(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Hi()&&jr(Hi())&&(r=jr(Hi())),ig(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function jt(e,t){var n=t.dateFormat,r=t.locale,o=Array.isArray(n)&&n.length>0?n[0]:n;return e&&Ee(e,o,r)||""}function TA(e,t,n){if(!e)return"";var r=jt(e,n),o=t?jt(t,n):"";return"".concat(r," - ").concat(o)}function NA(e,t){if(!(e!=null&&e.length))return"";var n=e[0]?jt(e[0],t):"";if(e.length===1)return n;if(e.length===2&&e[1]){var r=jt(e[1],t);return"".concat(n,", ").concat(r)}var o=e.length-1;return"".concat(n," (+").concat(o,")")}function Cc(e,t){var n=t.hour,r=n===void 0?0:n,o=t.minute,i=o===void 0?0:o,a=t.second,s=a===void 0?0:a;return Os(Ms(Ts(e,s),i),r)}function AA(e){return Mp(e)}function FA(e,t){return Ee(e,"ddd",t)}function As(e){return Zr(e)}function gr(e,t,n){var r=jr(t||Hi());return Qn(e,{locale:r,weekStartsOn:n})}function jn(e){return a1(e)}function Mi(e){return Mu(e)}function dg(e){return zd(e)}function fg(){return Zr(he())}function pg(e){return o1(e)}function RA(e){return XM(e)}function IA(e){return i1(e)}function fn(e,t){return e&&t?zN(e,t):!e&&!t}function ut(e,t){return e&&t?HN(e,t):!e&&!t}function Fl(e,t){return e&&t?YN(e,t):!e&&!t}function ie(e,t){return e&&t?KM(e,t):!e&&!t}function Fr(e,t){return e&&t?QT(e,t):!e&&!t}function Ti(e,t,n){var r,o=Zr(t),i=o1(n);try{r=fa(e,{start:o,end:i})}catch{r=!1}return r}function Hi(){var e=E1();return e.__localeId__}function jr(e){if(typeof e=="string"){var t=E1();return t.__localeData__?t.__localeData__[e]:void 0}else return e}function LA(e,t,n){return t(Ee(e,"EEEE",n))}function BA(e,t){return Ee(e,"EEEEEE",t)}function $A(e,t){return Ee(e,"EEE",t)}function Fp(e,t){return Ee(Dt(he(),e),"LLLL",t)}function S1(e,t){return Ee(Dt(he(),e),"LLL",t)}function jA(e,t){return Ee(co(he(),e),"QQQ",t)}function Yt(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,u=n.filterDate;return Ta(e,{minDate:r,maxDate:o})||i&&i.some(function(c){return c instanceof Date?ie(e,c):ie(e,c.date)})||a&&a.some(function(c){var d=c.start,f=c.end;return fa(e,{start:d,end:f})})||s&&!s.some(function(c){return ie(e,c)})||l&&!l.some(function(c){var d=c.start,f=c.end;return fa(e,{start:d,end:f})})||u&&!u(he(e))||!1}function Rp(e,t){var n=t===void 0?{}:t,r=n.excludeDates,o=n.excludeDateIntervals;return o&&o.length>0?o.some(function(i){var a=i.start,s=i.end;return fa(e,{start:a,end:s})}):r&&r.some(function(i){var a;return i instanceof Date?ie(e,i):ie(e,(a=i.date)!==null&&a!==void 0?a:new Date)})||!1}function C1(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate;return Ta(e,{minDate:r?a1(r):void 0,maxDate:o?i1(o):void 0})||(i==null?void 0:i.some(function(l){return ut(e,l instanceof Date?l:l.date)}))||a&&!a.some(function(l){return ut(e,l)})||s&&!s(he(e))||!1}function ns(e,t,n,r){var o=re(e),i=dt(e),a=re(t),s=dt(t),l=re(r);return o===a&&o===l?i<=n&&n<=s:o=n||lo:!1}function VA(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates;return Ta(e,{minDate:r,maxDate:o})||i&&i.some(function(s){return ut(s instanceof Date?s:s.date,e)})||a&&!a.some(function(s){return ut(s,e)})||!1}function rs(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate;return Ta(e,{minDate:r,maxDate:o})||(i==null?void 0:i.some(function(l){return Fl(e,l instanceof Date?l:l.date)}))||a&&!a.some(function(l){return Fl(e,l)})||s&&!s(he(e))||!1}function os(e,t,n){if(!t||!n||!Dl(t)||!Dl(n))return!1;var r=re(t),o=re(n);return r<=e&&o>=e}function Fs(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.maxDate,i=n.excludeDates,a=n.includeDates,s=n.filterDate,l=new Date(e,0,1);return Ta(l,{minDate:r?Mu(r):void 0,maxDate:o?s1(o):void 0})||(i==null?void 0:i.some(function(u){return fn(l,u instanceof Date?u:u.date)}))||a&&!a.some(function(u){return fn(l,u)})||s&&!s(he(l))||!1}function is(e,t,n,r){var o=re(e),i=$r(e),a=re(t),s=$r(t),l=re(r);return o===a&&o===l?i<=n&&n<=s:o=n||lo:!1}function Ta(e,t){var n,r=t===void 0?{}:t,o=r.minDate,i=r.maxDate;return(n=o&&Go(e,o)<0||i&&Go(e,i)>0)!==null&&n!==void 0?n:!1}function hg(e,t){return t.some(function(n){return bn(n)===bn(e)&&xn(n)===xn(e)&&$n(n)===$n(e)})}function mg(e,t){var n=t===void 0?{}:t,r=n.excludeTimes,o=n.includeTimes,i=n.filterTime;return r&&hg(e,r)||o&&!hg(e,o)||i&&!i(e)||!1}function gg(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o=he();o=Os(o,bn(e)),o=Ms(o,xn(e)),o=Ts(o,$n(e));var i=he();i=Os(i,bn(n)),i=Ms(i,xn(n)),i=Ts(i,$n(n));var a=he();a=Os(a,bn(r)),a=Ms(a,xn(r)),a=Ts(a,$n(r));var s;try{s=!fa(o,{start:i,end:a})}catch{s=!1}return s}function vg(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Xo(e,1);return r&&Pl(r,i)>0||o&&o.every(function(a){return Pl(a,i)>0})||!1}function wg(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=rn(e,1);return r&&Pl(i,r)>0||o&&o.every(function(a){return Pl(i,a)>0})||!1}function HA(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Mu(e),a=w1(i,1);return r&&_l(r,a)>0||o&&o.every(function(s){return _l(s,a)>0})||!1}function YA(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=s1(e),a=Op(i,1);return r&&_l(a,r)>0||o&&o.every(function(s){return _l(a,s)>0})||!1}function yg(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.includeDates,i=Zo(e,1);return r&&Ol(r,i)>0||o&&o.every(function(a){return Ol(a,i)>0})||!1}function zA(e,t){var n=t===void 0?{}:t,r=n.minDate,o=n.yearItemNumber,i=o===void 0?Ma:o,a=Mi(Zo(e,i)),s=sr(a,i).endPeriod,l=r&&re(r);return l&&l>s||!1}function bg(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.includeDates,i=Ln(e,1);return r&&Ol(i,r)>0||o&&o.every(function(a){return Ol(i,a)>0})||!1}function WA(e,t){var n=t===void 0?{}:t,r=n.maxDate,o=n.yearItemNumber,i=o===void 0?Ma:o,a=Ln(e,i),s=sr(a,i).startPeriod,l=r&&re(r);return l&&l=0});return Jm(r)}else return n?Jm(n):t}function D1(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(o){return Go(o,t)<=0});return Zm(r)}else return n?Zm(n):t}function xg(e,t){var n;e===void 0&&(e=[]),t===void 0&&(t="react-datepicker__day--highlighted");for(var r=new Map,o=0,i=e.length;o=tF,h=!o&&!n.isWeekInMonth(s);if(f||h)if(n.props.peekNextMonth)a=!0;else break}return r},n.onMonthClick=function(r,o){var i=n.isMonthDisabledForLabelDate(o),a=i.isDisabled,s=i.labelDate;a||n.handleDayClick(jn(s),r)},n.onMonthMouseEnter=function(r){var o=n.isMonthDisabledForLabelDate(r),i=o.isDisabled,a=o.labelDate;i||n.handleDayMouseEnter(jn(a))},n.handleMonthNavigation=function(r,o){var i,a,s,l;(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(l=(s=n.MONTH_REFS[r])===null||s===void 0?void 0:s.current)===null||l===void 0||l.focus()},n.handleKeyboardNavigation=function(r,o,i){var a,s=n.props,l=s.selected,u=s.preSelection,c=s.setPreSelection,d=s.minDate,f=s.maxDate,h=s.showFourColumnMonthYearPicker,g=s.showTwoColumnMonthYearPicker;if(u){var w=Dg(h,g),y=n.getVerticalOffset(w),p=(a=kc[w])===null||a===void 0?void 0:a.grid,m=function(E,k,A){var F,H,z=k,U=A;switch(E){case B.ArrowRight:z=rn(k,as),U=A===11?0:A+as;break;case B.ArrowLeft:z=Xo(k,as),U=A===0?11:A-as;break;case B.ArrowUp:z=Xo(k,y),U=!((F=p==null?void 0:p[0])===null||F===void 0)&&F.includes(A)?A+12-y:A-y;break;case B.ArrowDown:z=rn(k,y),U=!((H=p==null?void 0:p[p.length-1])===null||H===void 0)&&H.includes(A)?A-12+y:A+y;break}return{newCalculatedDate:z,newCalculatedMonth:U}},v=function(E,k,A){for(var F=40,H=E,z=!1,U=0,J=m(H,k,A),q=J.newCalculatedDate,M=J.newCalculatedMonth;!z;){if(U>=F){q=k,M=A;break}if(d&&qf){H=B.ArrowLeft;var R=m(H,q,M);q=R.newCalculatedDate,M=R.newCalculatedMonth}if(VA(q,n.props)){var R=m(H,q,M);q=R.newCalculatedDate,M=R.newCalculatedMonth}else z=!0;U++}return{newCalculatedDate:q,newCalculatedMonth:M}};if(o===B.Enter){n.isMonthDisabled(i)||(n.onMonthClick(r,i),c==null||c(l));return}var x=v(o,u,i),C=x.newCalculatedDate,D=x.newCalculatedMonth;switch(o){case B.ArrowRight:case B.ArrowLeft:case B.ArrowUp:case B.ArrowDown:n.handleMonthNavigation(D,C);break}}},n.getVerticalOffset=function(r){var o,i;return(i=(o=kc[r])===null||o===void 0?void 0:o.verticalNavigationOffset)!==null&&i!==void 0?i:0},n.onMonthKeyDown=function(r,o){var i=n.props,a=i.disabledKeyboardNavigation,s=i.handleOnMonthKeyDown,l=r.key;l!==B.Tab&&r.preventDefault(),a||n.handleKeyboardNavigation(r,l,o),s&&s(r)},n.onQuarterClick=function(r,o){var i=co(n.props.day,o);rs(i,n.props)||n.handleDayClick(dg(i),r)},n.onQuarterMouseEnter=function(r){var o=co(n.props.day,r);rs(o,n.props)||n.handleDayMouseEnter(dg(o))},n.handleQuarterNavigation=function(r,o){var i,a,s,l;n.isDisabled(o)||n.isExcluded(o)||((a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,o),(l=(s=n.QUARTER_REFS[r-1])===null||s===void 0?void 0:s.current)===null||l===void 0||l.focus())},n.onQuarterKeyDown=function(r,o){var i,a,s=r.key;if(!n.props.disabledKeyboardNavigation)switch(s){case B.Enter:n.onQuarterClick(r,o),(a=(i=n.props).setPreSelection)===null||a===void 0||a.call(i,n.props.selected);break;case B.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===4?1:o+1,Op(n.props.preSelection,1));break;case B.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(o===1?4:o-1,w1(n.props.preSelection,1));break}},n.isMonthDisabledForLabelDate=function(r){var o,i=n.props,a=i.day,s=i.minDate,l=i.maxDate,u=i.excludeDates,c=i.includeDates,d=Dt(a,r);return{isDisabled:(o=(s||l||u||c)&&C1(d,n.props))!==null&&o!==void 0?o:!1,labelDate:d}},n.isMonthDisabled=function(r){var o=n.isMonthDisabledForLabelDate(r).isDisabled;return o},n.getMonthClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,s=o.endDate,l=o.preSelection,u=o.monthClassName,c=u?u(Dt(i,r)):void 0,d=n.getSelection();return ze("react-datepicker__month-text","react-datepicker__month-".concat(r),c,{"react-datepicker__month-text--disabled":n.isMonthDisabled(r),"react-datepicker__month-text--selected":d?n.isSelectMonthInList(i,r,d):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&l&&n.isSelectedMonth(i,r,l)&&!n.isMonthDisabled(r),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(r),"react-datepicker__month-text--in-range":a&&s?ns(a,s,r,i):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(r),"react-datepicker__month-text--range-end":n.isRangeEndMonth(r),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(r),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(r),"react-datepicker__month-text--today":n.isCurrentMonth(i,r)})},n.getTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=dt(n.props.preSelection),i=n.isMonthDisabledForLabelDate(o).isDisabled,a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getQuarterTabIndex=function(r){if(n.props.preSelection==null)return"-1";var o=$r(n.props.preSelection),i=rs(n.props.day,n.props),a=r===o&&!(i||n.props.disabledKeyboardNavigation)?"0":"-1";return a},n.getAriaLabel=function(r){var o=n.props,i=o.chooseDayAriaLabelPrefix,a=i===void 0?"Choose":i,s=o.disabledDayAriaLabelPrefix,l=s===void 0?"Not available":s,u=o.day,c=o.locale,d=Dt(u,r),f=n.isDisabled(d)||n.isExcluded(d)?l:a;return"".concat(f," ").concat(Ee(d,"MMMM yyyy",c))},n.getQuarterClassNames=function(r){var o=n.props,i=o.day,a=o.startDate,s=o.endDate,l=o.selected,u=o.minDate,c=o.maxDate,d=o.excludeDates,f=o.includeDates,h=o.filterDate,g=o.preSelection,w=o.disabledKeyboardNavigation,y=(u||c||d||f||h)&&rs(co(i,r),n.props);return ze("react-datepicker__quarter-text","react-datepicker__quarter-".concat(r),{"react-datepicker__quarter-text--disabled":y,"react-datepicker__quarter-text--selected":l?n.isSelectedQuarter(i,r,l):void 0,"react-datepicker__quarter-text--keyboard-selected":!w&&g&&n.isSelectedQuarter(i,r,g)&&!y,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(r),"react-datepicker__quarter-text--in-range":a&&s?is(a,s,r,i):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(r),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(r)})},n.getMonthContent=function(r){var o=n.props,i=o.showFullMonthYearPicker,a=o.renderMonthContent,s=o.locale,l=o.day,u=S1(r,s),c=Fp(r,s);return a?a(r,u,c,l):i?c:u},n.getQuarterContent=function(r){var o,i=n.props,a=i.renderQuarterContent,s=i.locale,l=jA(r,s);return(o=a==null?void 0:a(r,l))!==null&&o!==void 0?o:l},n.renderMonths=function(){var r,o=n.props,i=o.showTwoColumnMonthYearPicker,a=o.showFourColumnMonthYearPicker,s=o.day,l=o.selected,u=(r=kc[Dg(a,i)])===null||r===void 0?void 0:r.grid;return u==null?void 0:u.map(function(c,d){return N.createElement("div",{className:"react-datepicker__month-wrapper",key:d},c.map(function(f,h){return N.createElement("div",{ref:n.MONTH_REFS[f],key:h,onClick:function(g){n.onMonthClick(g,f)},onKeyDown:function(g){P1(g)&&(g.preventDefault(),g.key=B.Enter),n.onMonthKeyDown(g,f)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(f)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(f)}:void 0,tabIndex:Number(n.getTabIndex(f)),className:n.getMonthClassNames(f),"aria-disabled":n.isMonthDisabled(f),role:"option","aria-label":n.getAriaLabel(f),"aria-current":n.isCurrentMonth(s,f)?"date":void 0,"aria-selected":l?n.isSelectedMonth(s,f,l):void 0},n.getMonthContent(f))}))})},n.renderQuarters=function(){var r=n.props,o=r.day,i=r.selected,a=[1,2,3,4];return N.createElement("div",{className:"react-datepicker__quarter-wrapper"},a.map(function(s,l){return N.createElement("div",{key:l,ref:n.QUARTER_REFS[l],role:"option",onClick:function(u){n.onQuarterClick(u,s)},onKeyDown:function(u){n.onQuarterKeyDown(u,s)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onQuarterMouseEnter(s)},onPointerEnter:n.props.usePointerEvent?function(){return n.onQuarterMouseEnter(s)}:void 0,className:n.getQuarterClassNames(s),"aria-selected":i?n.isSelectedQuarter(o,s,i):void 0,tabIndex:Number(n.getQuarterTabIndex(s)),"aria-current":n.isCurrentQuarter(o,s)?"date":void 0},n.getQuarterContent(s))}))},n.getClassNames=function(){var r=n.props,o=r.selectingDate,i=r.selectsStart,a=r.selectsEnd,s=r.showMonthYearPicker,l=r.showQuarterYearPicker,u=r.showWeekPicker;return ze("react-datepicker__month",{"react-datepicker__month--selecting-range":o&&(i||a)},{"react-datepicker__monthPicker":s},{"react-datepicker__quarterPicker":l},{"react-datepicker__weekPicker":u})},n}return t.prototype.getSelection=function(){var n=this.props,r=n.selected,o=n.selectedDates,i=n.selectsMultiple;if(i)return o;if(r)return[r]},t.prototype.render=function(){var n=this.props,r=n.showMonthYearPicker,o=n.showQuarterYearPicker,i=n.day,a=n.ariaLabelPrefix,s=a===void 0?"Month ":a,l=s?s.trim()+" ":"";return N.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(l).concat(Ee(i,"MMMM, yyyy",this.props.locale)),role:"listbox"},r?this.renderMonths():o?this.renderQuarters():this.renderWeeks())},t}(b.Component),rF=function(e){qe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isSelectedMonth=function(r){return n.props.month===r},n.renderOptions=function(){return n.props.monthNames.map(function(r,o){return N.createElement("div",{className:n.isSelectedMonth(o)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:r,onClick:n.onChange.bind(n,o),"aria-selected":n.isSelectedMonth(o)?"true":void 0},n.isSelectedMonth(o)?N.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",r)})},n.onChange=function(r){return n.props.onChange(r)},n.handleClickOutside=function(){return n.props.onCancel()},n}return t.prototype.render=function(){return N.createElement(Tu,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(b.Component),oF=function(e){qe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(r){return r.map(function(o,i){return N.createElement("option",{key:o,value:i},o)})},n.renderSelectMode=function(r){return N.createElement("select",{value:n.props.month,className:"react-datepicker__month-select",onChange:function(o){return n.onChange(parseInt(o.target.value))}},n.renderSelectOptions(r))},n.renderReadView=function(r,o){return N.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},N.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),N.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},o[n.props.month]))},n.renderDropdown=function(r){return N.createElement(rF,ae({key:"dropdown"},n.props,{monthNames:r,onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(r){var o=n.state.dropdownVisible,i=[n.renderReadView(!o,r)];return o&&i.unshift(n.renderDropdown(r)),i},n.onChange=function(r){n.toggleDropdown(),r!==n.props.month&&n.props.onChange(r)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(i){return S1(i,n.props.locale)}:function(i){return Fp(i,n.props.locale)}),o;switch(this.props.dropdownMode){case"scroll":o=this.renderScrollMode(r);break;case"select":o=this.renderSelectMode(r);break}return N.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},o)},t}(b.Component);function iF(e,t){for(var n=[],r=jn(e),o=jn(t);!xr(r,o);)n.push(he(r)),r=rn(r,1);return n}var aF=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(o){var i=Ud(o),a=fn(r.props.date,o)&&ut(r.props.date,o);return N.createElement("div",{className:a?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:i,onClick:r.onChange.bind(r,i),"aria-selected":a?"true":void 0},a?N.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Ee(o,r.props.dateFormat,r.props.locale))})},r.onChange=function(o){return r.props.onChange(o)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:iF(r.props.minDate,r.props.maxDate)},r}return t.prototype.render=function(){var n=ze({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return N.createElement(Tu,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(b.Component),sF=function(e){qe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=jn(n.props.minDate),o=jn(n.props.maxDate),i=[];!xr(r,o);){var a=Ud(r);i.push(N.createElement("option",{key:a,value:a},Ee(r,n.props.dateFormat,n.props.locale))),r=rn(r,1)}return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return N.createElement("select",{value:Ud(jn(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){var o=Ee(n.props.date,n.props.dateFormat,n.props.locale);return N.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},N.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),N.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},o))},n.renderDropdown=function(){return N.createElement(aF,ae({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown();var o=he(r);fn(n.props.date,o)&&ut(n.props.date,o)||n.props.onChange(o)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return N.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(b.Component),lF=function(e){qe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var r,o,i;n.list&&(n.list.scrollTop=(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((o=(r=n.header)===null||r===void 0?void 0:r.clientHeight)!==null&&o!==void 0?o:0):n.list.clientHeight,n.centerLi))!==null&&i!==void 0?i:0)})},n.handleClick=function(r){var o,i;(n.props.minTime||n.props.maxTime)&&gg(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&mg(r,n.props)||(i=(o=n.props).onChange)===null||i===void 0||i.call(o,r)},n.isSelectedTime=function(r){return n.props.selected&&GA(n.props.selected,r)},n.isDisabledTime=function(r){return(n.props.minTime||n.props.maxTime)&&gg(r,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&mg(r,n.props)},n.liClasses=function(r){var o,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(r):void 0];return n.isSelectedTime(r)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(r)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(bn(r)*3600+xn(r)*60+$n(r))%(((o=n.props.intervals)!==null&&o!==void 0?o:t.defaultProps.intervals)*60)!==0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(r,o){var i,a;r.key===B.Space&&(r.preventDefault(),r.key=B.Enter),(r.key===B.ArrowUp||r.key===B.ArrowLeft)&&r.target instanceof HTMLElement&&r.target.previousSibling&&(r.preventDefault(),r.target.previousSibling instanceof HTMLElement&&r.target.previousSibling.focus()),(r.key===B.ArrowDown||r.key===B.ArrowRight)&&r.target instanceof HTMLElement&&r.target.nextSibling&&(r.preventDefault(),r.target.nextSibling instanceof HTMLElement&&r.target.nextSibling.focus()),r.key===B.Enter&&n.handleClick(o),(a=(i=n.props).handleOnKeyDown)===null||a===void 0||a.call(i,r)},n.renderTimes=function(){for(var r,o=[],i=typeof n.props.format=="string"?n.props.format:"p",a=(r=n.props.intervals)!==null&&r!==void 0?r:t.defaultProps.intervals,s=n.props.selected||n.props.openToDate||he(),l=As(s),u=n.props.injectTimes&&n.props.injectTimes.sort(function(y,p){return y.getTime()-p.getTime()}),c=60*KA(s),d=c/a,f=0;f=f?r.updateFocusOnPaginate(Math.abs(f-(o-h))):(u=(l=r.YEAR_REFS[o-h])===null||l===void 0?void 0:l.current)===null||u===void 0||u.focus())}},r.isSameDay=function(o,i){return ie(o,i)},r.isCurrentYear=function(o){return o===re(he())},r.isRangeStart=function(o){return r.props.startDate&&r.props.endDate&&fn(un(he(),o),r.props.startDate)},r.isRangeEnd=function(o){return r.props.startDate&&r.props.endDate&&fn(un(he(),o),r.props.endDate)},r.isInRange=function(o){return os(o,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(o){var i=r.props,a=i.selectsStart,s=i.selectsEnd,l=i.selectsRange,u=i.startDate,c=i.endDate;return!(a||s||l)||!r.selectingDate()?!1:a&&c?os(o,r.selectingDate(),c):s&&u||l&&u&&!c?os(o,u,r.selectingDate()):!1},r.isSelectingRangeStart=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,s=a.startDate,l=a.selectsStart,u=un(he(),o);return l?fn(u,(i=r.selectingDate())!==null&&i!==void 0?i:null):fn(u,s??null)},r.isSelectingRangeEnd=function(o){var i;if(!r.isInSelectingRange(o))return!1;var a=r.props,s=a.endDate,l=a.selectsEnd,u=a.selectsRange,c=un(he(),o);return l||u?fn(c,(i=r.selectingDate())!==null&&i!==void 0?i:null):fn(c,s??null)},r.isKeyboardSelected=function(o){if(!(r.props.date===void 0||r.props.selected==null||r.props.preSelection==null)){var i=r.props,a=i.minDate,s=i.maxDate,l=i.excludeDates,u=i.includeDates,c=i.filterDate,d=Mi(un(r.props.date,o)),f=(a||s||l||u||c)&&Fs(o,r.props);return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!ie(d,Mi(r.props.selected))&&ie(d,Mi(r.props.preSelection))&&!f}},r.onYearClick=function(o,i){var a=r.props.date;a!==void 0&&r.handleYearClick(Mi(un(a,i)),o)},r.onYearKeyDown=function(o,i){var a,s,l=o.key,u=r.props,c=u.date,d=u.yearItemNumber,f=u.handleOnKeyDown;if(l!==B.Tab&&o.preventDefault(),!r.props.disabledKeyboardNavigation)switch(l){case B.Enter:if(r.props.selected==null)break;r.onYearClick(o,i),(s=(a=r.props).setPreSelection)===null||s===void 0||s.call(a,r.props.selected);break;case B.ArrowRight:if(r.props.preSelection==null)break;r.handleYearNavigation(i+1,Ln(r.props.preSelection,1));break;case B.ArrowLeft:if(r.props.preSelection==null)break;r.handleYearNavigation(i-1,Zo(r.props.preSelection,1));break;case B.ArrowUp:{if(c===void 0||d===void 0||r.props.preSelection==null)break;var h=sr(c,d).startPeriod,g=Pg,w=i-g;if(w=h&&ip){var y=d%g;i<=p&&i>p-y?g=y:g+=y,w=i+g}r.handleYearNavigation(w,Ln(r.props.preSelection,g));break}}f&&f(o)},r.getYearClassNames=function(o){var i=r.props,a=i.date,s=i.minDate,l=i.maxDate,u=i.selected,c=i.excludeDates,d=i.includeDates,f=i.filterDate,h=i.yearClassName;return ze("react-datepicker__year-text","react-datepicker__year-".concat(o),a?h==null?void 0:h(un(a,o)):void 0,{"react-datepicker__year-text--selected":u?o===re(u):void 0,"react-datepicker__year-text--disabled":(s||l||c||d||f)&&Fs(o,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(o),"react-datepicker__year-text--range-start":r.isRangeStart(o),"react-datepicker__year-text--range-end":r.isRangeEnd(o),"react-datepicker__year-text--in-range":r.isInRange(o),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(o),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(o),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(o),"react-datepicker__year-text--today":r.isCurrentYear(o)})},r.getYearTabIndex=function(o){if(r.props.disabledKeyboardNavigation||r.props.preSelection==null)return"-1";var i=re(r.props.preSelection),a=Fs(o,r.props);return o===i&&!a?"0":"-1"},r.getYearContainerClassNames=function(){var o=r.props,i=o.selectingDate,a=o.selectsStart,s=o.selectsEnd,l=o.selectsRange;return ze("react-datepicker__year",{"react-datepicker__year--selecting-range":i&&(a||s||l)})},r.getYearContent=function(o){return r.props.renderYearContent?r.props.renderYearContent(o):o},r}return t.prototype.render=function(){var n=this,r=[],o=this.props,i=o.date,a=o.yearItemNumber,s=o.onYearMouseEnter,l=o.onYearMouseLeave;if(i===void 0)return null;for(var u=sr(i,a),c=u.startPeriod,d=u.endPeriod,f=function(w){r.push(N.createElement("div",{ref:h.YEAR_REFS[w-c],onClick:function(y){n.onYearClick(y,w)},onKeyDown:function(y){P1(y)&&(y.preventDefault(),y.key=B.Enter),n.onYearKeyDown(y,w)},tabIndex:Number(h.getYearTabIndex(w)),className:h.getYearClassNames(w),onMouseEnter:h.props.usePointerEvent?void 0:function(y){return s(y,w)},onPointerEnter:h.props.usePointerEvent?function(y){return s(y,w)}:void 0,onMouseLeave:h.props.usePointerEvent?void 0:function(y){return l(y,w)},onPointerLeave:h.props.usePointerEvent?function(y){return l(y,w)}:void 0,key:w,"aria-current":h.isCurrentYear(w)?"date":void 0},h.getYearContent(w)))},h=this,g=c;g<=d;g++)f(g);return N.createElement("div",{className:this.getYearContainerClassNames()},N.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},r))},t}(b.Component);function cF(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=re(n)<=a),r&&s&&(s=re(r)>=a),s&&o.push(a)}return o}var dF=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;r.renderOptions=function(){var s=r.props.year,l=r.state.yearsList.map(function(d){return N.createElement("div",{className:s===d?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:d,onClick:r.onChange.bind(r,d),"aria-selected":s===d?"true":void 0},s===d?N.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",d)}),u=r.props.minDate?re(r.props.minDate):null,c=r.props.maxDate?re(r.props.maxDate):null;return(!c||!r.state.yearsList.find(function(d){return d===c}))&&l.unshift(N.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},N.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!u||!r.state.yearsList.find(function(d){return d===u}))&&l.push(N.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},N.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),l},r.onChange=function(s){r.props.onChange(s)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(s){var l=r.state.yearsList.map(function(u){return u+s});r.setState({yearsList:l})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var o=n.yearDropdownItemNumber,i=n.scrollableYearDropdown,a=o||(i?10:5);return r.state={yearsList:cF(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=b.createRef(),r}return t.prototype.componentDidMount=function(){var n=this.dropdownRef.current;if(n){var r=n.children?Array.from(n.children):null,o=r?r.find(function(i){return i.ariaSelected}):null;n.scrollTop=o&&o instanceof HTMLElement?o.offsetTop+(o.clientHeight-n.clientHeight)/2:(n.scrollHeight-n.clientHeight)/2}},t.prototype.render=function(){var n=ze({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return N.createElement(Tu,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(b.Component),fF=function(e){qe(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var r=n.props.minDate?re(n.props.minDate):1900,o=n.props.maxDate?re(n.props.maxDate):2100,i=[],a=r;a<=o;a++)i.push(N.createElement("option",{key:a,value:a},a));return i},n.onSelectChange=function(r){n.onChange(parseInt(r.target.value))},n.renderSelectMode=function(){return N.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(r){return N.createElement("div",{key:"read",style:{visibility:r?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(o){return n.toggleDropdown(o)}},N.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),N.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return N.createElement(dF,ae({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var r=n.state.dropdownVisible,o=[n.renderReadView(!r)];return r&&o.unshift(n.renderDropdown()),o},n.onChange=function(r){n.toggleDropdown(),r!==n.props.year&&n.props.onChange(r)},n.toggleDropdown=function(r){n.setState({dropdownVisible:!n.state.dropdownVisible},function(){n.props.adjustDateOnChange&&n.handleYearChange(n.props.date,r)})},n.handleYearChange=function(r,o){var i;(i=n.onSelect)===null||i===void 0||i.call(n,r,o),n.setOpen()},n.onSelect=function(r,o){var i,a;(a=(i=n.props).onSelect)===null||a===void 0||a.call(i,r,o)},n.setOpen=function(){var r,o;(o=(r=n.props).setOpen)===null||o===void 0||o.call(r,!0)},n}return t.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return N.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},t}(b.Component),pF=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],hF=function(e){var t=(e.className||"").split(/\s+/);return pF.some(function(n){return t.indexOf(n)>=0})},mF=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;return r.monthContainer=void 0,r.handleClickOutside=function(o){r.props.onClickOutside(o)},r.setClickOutsideRef=function(){return r.containerRef.current},r.handleDropdownFocus=function(o){var i,a;hF(o.target)&&((a=(i=r.props).onDropdownFocus)===null||a===void 0||a.call(i,o))},r.getDateInView=function(){var o=r.props,i=o.preSelection,a=o.selected,s=o.openToDate,l=k1(r.props),u=D1(r.props),c=he(),d=s||a||i;return d||(l&&Jr(c,l)?l:u&&xr(c,u)?u:c)},r.increaseMonth=function(){r.setState(function(o){var i=o.date;return{date:rn(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.decreaseMonth=function(){r.setState(function(o){var i=o.date;return{date:Xo(i,1)}},function(){return r.handleMonthChange(r.state.date)})},r.handleDayClick=function(o,i,a){r.props.onSelect(o,i,a),r.props.setPreSelection&&r.props.setPreSelection(o)},r.handleDayMouseEnter=function(o){r.setState({selectingDate:o}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(o)},r.handleMonthMouseLeave=function(){r.setState({selectingDate:void 0}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()},r.handleYearMouseEnter=function(o,i){r.setState({selectingDate:un(he(),i)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(o,i)},r.handleYearMouseLeave=function(o,i){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(o,i)},r.handleYearChange=function(o){var i,a,s,l;(a=(i=r.props).onYearChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0}),r.props.adjustDateOnChange&&(r.props.onSelect(o),(l=(s=r.props).setOpen)===null||l===void 0||l.call(s,!0)),r.props.setPreSelection&&r.props.setPreSelection(o)},r.getEnabledPreSelectionDateForMonth=function(o){if(!Yt(o,r.props))return o;for(var i=jn(o),a=IA(o),s=GM(a,i),l=null,u=0;u<=s;u++){var c=Un(i,u);if(!Yt(c,r.props)){l=c;break}}return l},r.handleMonthChange=function(o){var i,a,s,l=(i=r.getEnabledPreSelectionDateForMonth(o))!==null&&i!==void 0?i:o;r.handleCustomMonthChange(l),r.props.adjustDateOnChange&&(r.props.onSelect(l),(s=(a=r.props).setOpen)===null||s===void 0||s.call(a,!0)),r.props.setPreSelection&&r.props.setPreSelection(l)},r.handleCustomMonthChange=function(o){var i,a;(a=(i=r.props).onMonthChange)===null||a===void 0||a.call(i,o),r.setState({isRenderAriaLiveMessage:!0})},r.handleMonthYearChange=function(o){r.handleYearChange(o),r.handleMonthChange(o)},r.changeYear=function(o){r.setState(function(i){var a=i.date;return{date:un(a,Number(o))}},function(){return r.handleYearChange(r.state.date)})},r.changeMonth=function(o){r.setState(function(i){var a=i.date;return{date:Dt(a,Number(o))}},function(){return r.handleMonthChange(r.state.date)})},r.changeMonthYear=function(o){r.setState(function(i){var a=i.date;return{date:un(Dt(a,dt(o)),re(o))}},function(){return r.handleMonthYearChange(r.state.date)})},r.header=function(o){o===void 0&&(o=r.state.date);var i=gr(o,r.props.locale,r.props.calendarStartDay),a=[];return r.props.showWeekNumbers&&a.push(N.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),a.concat([0,1,2,3,4,5,6].map(function(s){var l=Un(i,s),u=r.formatWeekday(l,r.props.locale),c=r.props.weekDayClassName?r.props.weekDayClassName(l):void 0;return N.createElement("div",{key:s,"aria-label":Ee(l,"EEEE",r.props.locale),className:ze("react-datepicker__day-name",c)},u)}))},r.formatWeekday=function(o,i){return r.props.formatWeekDay?LA(o,r.props.formatWeekDay,i):r.props.useWeekdaysShort?$A(o,i):BA(o,i)},r.decreaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Zo(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.clearSelectingDate=function(){r.setState({selectingDate:void 0})},r.renderPreviousButton=function(){var o;if(!r.props.renderCustomHeader){var i;switch(!0){case r.props.showMonthYearPicker:i=yg(r.state.date,r.props);break;case r.props.showYearPicker:i=zA(r.state.date,r.props);break;case r.props.showQuarterYearPicker:i=HA(r.state.date,r.props);break;default:i=vg(r.state.date,r.props);break}if(!(!((o=r.props.forceShowMonthNavigation)!==null&&o!==void 0?o:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&i||r.props.showTimeSelectOnly)){var a=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],s=["react-datepicker__navigation","react-datepicker__navigation--previous"],l=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(l=r.decreaseYear),i&&r.props.showDisabledMonthNavigation&&(s.push("react-datepicker__navigation--previous--disabled"),l=void 0);var u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,c=r.props,d=c.previousMonthButtonLabel,f=d===void 0?t.defaultProps.previousMonthButtonLabel:d,h=c.previousYearButtonLabel,g=h===void 0?t.defaultProps.previousYearButtonLabel:h,w=r.props,y=w.previousMonthAriaLabel,p=y===void 0?typeof f=="string"?f:"Previous Month":y,m=w.previousYearAriaLabel,v=m===void 0?typeof g=="string"?g:"Previous Year":m;return N.createElement("button",{type:"button",className:s.join(" "),onClick:l,onKeyDown:r.props.handleOnKeyDown,"aria-label":u?v:p},N.createElement("span",{className:a.join(" ")},u?g:f))}}},r.increaseYear=function(){r.setState(function(o){var i,a=o.date;return{date:Ln(a,r.props.showYearPicker?(i=r.props.yearItemNumber)!==null&&i!==void 0?i:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.renderNextButton=function(){var o;if(!r.props.renderCustomHeader){var i;switch(!0){case r.props.showMonthYearPicker:i=bg(r.state.date,r.props);break;case r.props.showYearPicker:i=WA(r.state.date,r.props);break;case r.props.showQuarterYearPicker:i=YA(r.state.date,r.props);break;default:i=wg(r.state.date,r.props);break}if(!(!((o=r.props.forceShowMonthNavigation)!==null&&o!==void 0?o:t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&i||r.props.showTimeSelectOnly)){var a=["react-datepicker__navigation","react-datepicker__navigation--next"],s=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];r.props.showTimeSelect&&a.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&a.push("react-datepicker__navigation--next--with-today-button");var l=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(l=r.increaseYear),i&&r.props.showDisabledMonthNavigation&&(a.push("react-datepicker__navigation--next--disabled"),l=void 0);var u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,c=r.props,d=c.nextMonthButtonLabel,f=d===void 0?t.defaultProps.nextMonthButtonLabel:d,h=c.nextYearButtonLabel,g=h===void 0?t.defaultProps.nextYearButtonLabel:h,w=r.props,y=w.nextMonthAriaLabel,p=y===void 0?typeof f=="string"?f:"Next Month":y,m=w.nextYearAriaLabel,v=m===void 0?typeof g=="string"?g:"Next Year":m;return N.createElement("button",{type:"button",className:a.join(" "),onClick:l,onKeyDown:r.props.handleOnKeyDown,"aria-label":u?v:p},N.createElement("span",{className:s.join(" ")},u?g:f))}}},r.renderCurrentMonth=function(o){o===void 0&&(o=r.state.date);var i=["react-datepicker__current-month"];return r.props.showYearDropdown&&i.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&i.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&i.push("react-datepicker__current-month--hasMonthYearDropdown"),N.createElement("h2",{className:i.join(" ")},Ee(o,r.props.dateFormat,r.props.locale))},r.renderYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showYearDropdown||o))return N.createElement(fF,ae({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeYear,year:re(r.state.date)}))},r.renderMonthDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthDropdown||o))return N.createElement(oF,ae({},t.defaultProps,r.props,{month:dt(r.state.date),onChange:r.changeMonth}))},r.renderMonthYearDropdown=function(o){if(o===void 0&&(o=!1),!(!r.props.showMonthYearDropdown||o))return N.createElement(sF,ae({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeMonthYear}))},r.handleTodayButtonClick=function(o){r.props.onSelect(fg(),o),r.props.setPreSelection&&r.props.setPreSelection(fg())},r.renderTodayButton=function(){if(!(!r.props.todayButton||r.props.showTimeSelectOnly))return N.createElement("div",{className:"react-datepicker__today-button",onClick:r.handleTodayButtonClick},r.props.todayButton)},r.renderDefaultHeader=function(o){var i=o.monthDate,a=o.i;return N.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(i),N.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(a!==0),r.renderMonthYearDropdown(a!==0),r.renderYearDropdown(a!==0)),N.createElement("div",{className:"react-datepicker__day-names"},r.header(i)))},r.renderCustomHeader=function(o){var i,a,s=o.monthDate,l=o.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var u=vg(r.state.date,r.props),c=wg(r.state.date,r.props),d=yg(r.state.date,r.props),f=bg(r.state.date,r.props),h=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return N.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},(a=(i=r.props).renderCustomHeader)===null||a===void 0?void 0:a.call(i,ae(ae({},r.state),{customHeaderCount:l,monthDate:s,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:u,nextMonthButtonDisabled:c,prevYearButtonDisabled:d,nextYearButtonDisabled:f})),h&&N.createElement("div",{className:"react-datepicker__day-names"},r.header(s)))},r.renderYearHeader=function(o){var i=o.monthDate,a=r.props,s=a.showYearPicker,l=a.yearItemNumber,u=l===void 0?t.defaultProps.yearItemNumber:l,c=sr(i,u),d=c.startPeriod,f=c.endPeriod;return N.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},s?"".concat(d," - ").concat(f):re(i))},r.renderHeader=function(o){var i=o.monthDate,a=o.i,s=a===void 0?0:a,l={monthDate:i,i:s};switch(!0){case r.props.renderCustomHeader!==void 0:return r.renderCustomHeader(l);case(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker):return r.renderYearHeader(l);default:return r.renderDefaultHeader(l)}},r.renderMonths=function(){var o,i;if(!(r.props.showTimeSelectOnly||r.props.showYearPicker)){for(var a=[],s=(o=r.props.monthsShown)!==null&&o!==void 0?o:t.defaultProps.monthsShown,l=r.props.showPreviousMonths?s-1:0,u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Ln(r.state.date,l):Xo(r.state.date,l),c=(i=r.props.monthSelectedIn)!==null&&i!==void 0?i:l,d=0;d0;a.push(N.createElement("div",{key:g,ref:function(p){r.monthContainer=p??void 0},className:"react-datepicker__month-container"},r.renderHeader({monthDate:h,i:d}),N.createElement(nF,ae({},t.defaultProps,r.props,{ariaLabelPrefix:r.props.monthAriaLabelPrefix,day:h,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,orderInDisplay:d,selectingDate:r.state.selectingDate,monthShowsDuplicateDaysEnd:w,monthShowsDuplicateDaysStart:y}))))}return a}},r.renderYears=function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return N.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader({monthDate:r.state.date}),N.createElement(uF,ae({},t.defaultProps,r.props,{selectingDate:r.state.selectingDate,date:r.state.date,onDayClick:r.handleDayClick,clearSelectingDate:r.clearSelectingDate,onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))},r.renderTimeSection=function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return N.createElement(lF,ae({},t.defaultProps,r.props,{onChange:r.props.onTimeChange,format:r.props.timeFormat,intervals:r.props.timeIntervals,monthRef:r.state.monthContainer}))},r.renderInputTimeSection=function(){var o=r.props.selected?new Date(r.props.selected):void 0,i=o&&Mn(o)&&!!r.props.selected,a=i?"".concat(Eg(o.getHours()),":").concat(Eg(o.getMinutes())):"";if(r.props.showTimeInput)return N.createElement(XA,ae({},t.defaultProps,r.props,{date:o,timeString:a,onChange:r.props.onTimeChange}))},r.renderAriaLiveRegion=function(){var o,i=sr(r.state.date,(o=r.props.yearItemNumber)!==null&&o!==void 0?o:t.defaultProps.yearItemNumber),a=i.startPeriod,s=i.endPeriod,l;return r.props.showYearPicker?l="".concat(a," - ").concat(s):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?l=re(r.state.date):l="".concat(Fp(dt(r.state.date),r.props.locale)," ").concat(re(r.state.date)),N.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&l)},r.renderChildren=function(){if(r.props.children)return N.createElement("div",{className:"react-datepicker__children-container"},r.props.children)},r.containerRef=b.createRef(),r.state={date:r.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},r}return Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:Ma}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var n=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){n.setState({monthContainer:n.monthContainer})}())},t.prototype.componentDidUpdate=function(n){var r=this;if(this.props.preSelection&&(!ie(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var o=!ut(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return o&&r.handleCustomMonthChange(r.state.date)})}else this.props.openToDate&&!ie(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var n=this.props.container||_A;return N.createElement(Tu,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},N.createElement(n,{className:ze("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},t}(b.Component),gF=function(e){var t=e.icon,n=e.className,r=n===void 0?"":n,o=e.onClick,i="react-datepicker__calendar-icon";return typeof t=="string"?N.createElement("i",{className:"".concat(i," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:o}):N.isValidElement(t)?N.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(i," ").concat(r),onClick:function(a){typeof t.props.onClick=="function"&&t.props.onClick(a),typeof o=="function"&&o(a)}}):N.createElement("svg",{className:"".concat(i," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:o},N.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},_1=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;return r.portalRoot=null,r.el=document.createElement("div"),r}return t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return BP.createPortal(this.props.children,this.el)},t}(b.Component),vF="[tabindex], a, button, input, select, textarea",wF=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&e.tabIndex!==-1},O1=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;return r.getTabChildren=function(){var o;return Array.prototype.slice.call((o=r.tabLoopRef.current)===null||o===void 0?void 0:o.querySelectorAll(vF),1,-1).filter(wF)},r.handleFocusStart=function(){var o=r.getTabChildren();o&&o.length>1&&o[o.length-1].focus()},r.handleFocusEnd=function(){var o=r.getTabChildren();o&&o.length>1&&o[0].focus()},r.tabLoopRef=b.createRef(),r}return t.prototype.render=function(){var n;return((n=this.props.enableTabLoop)!==null&&n!==void 0?n:t.defaultProps.enableTabLoop)?N.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},N.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,N.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(b.Component);function yF(e){var t=function(n){var r,o=typeof n.hidePopper=="boolean"?n.hidePopper:!0,i=b.useRef(null),a=PA(ae({open:!o,whileElementsMounted:My,placement:n.popperPlacement,middleware:gn([fA({padding:15}),dA(10),pA({element:i})],(r=n.popperModifiers)!==null&&r!==void 0?r:[],!0)},n.popperProps)),s=ae(ae({},n),{hidePopper:o,popperProps:ae(ae({},a),{arrowRef:i})});return N.createElement(e,ae({},s))};return t}var bF=function(e){qe(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var n=this.props,r=n.className,o=n.wrapperClassName,i=n.hidePopper,a=i===void 0?t.defaultProps.hidePopper:i,s=n.popperComponent,l=n.targetComponent,u=n.enableTabLoop,c=n.popperOnKeyDown,d=n.portalId,f=n.portalHost,h=n.popperProps,g=n.showArrow,w=void 0;if(!a){var y=ze("react-datepicker-popper",r);w=N.createElement(O1,{enableTabLoop:u},N.createElement("div",{ref:h.refs.setFloating,style:h.floatingStyles,className:y,"data-placement":h.placement,onKeyDown:c},s,g&&N.createElement(bA,{ref:h.arrowRef,context:h.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(w=b.createElement(this.props.popperContainer,{},w)),d&&!a&&(w=N.createElement(_1,{portalId:d,portalHost:f},w));var p=ze("react-datepicker-wrapper",o);return N.createElement(N.Fragment,null,N.createElement("div",{ref:h.refs.setReference,className:p},l),w)},t}(b.Component),xF=yF(bF),_g="react-datepicker-ignore-onclickoutside";function EF(e,t){return e&&t?dt(e)!==dt(t)||re(e)!==re(t):e!==t}var Dc="Date input not valid.",SF=function(e){qe(t,e);function t(n){var r=e.call(this,n)||this;return r.calendar=null,r.input=null,r.getPreSelection=function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:he()},r.modifyHolidays=function(){var o;return(o=r.props.holidays)===null||o===void 0?void 0:o.reduce(function(i,a){var s=new Date(a.date);return Mn(s)?gn(gn([],i,!0),[ae(ae({},a),{date:s})],!1):i},[])},r.calcInitialState=function(){var o,i=r.getPreSelection(),a=k1(r.props),s=D1(r.props),l=a&&Jr(i,As(a))?a:s&&xr(i,pg(s))?s:i;return{open:r.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(o=r.props.selectsRange?r.props.startDate:r.props.selected)!==null&&o!==void 0?o:l,highlightDates:xg(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},r.resetHiddenStatus=function(){r.setState(ae(ae({},r.state),{wasHidden:!1}))},r.setHiddenStatus=function(){r.setState(ae(ae({},r.state),{wasHidden:!0}))},r.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&r.setHiddenStatus()},r.clearPreventFocusTimeout=function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)},r.setFocus=function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})},r.setBlur=function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()},r.setOpen=function(o,i){i===void 0&&(i=!1),r.setState({open:o,preSelection:o&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:Pc},function(){o||r.setState(function(a){return{focused:i?a.focused:!1}},function(){!i&&r.setBlur(),r.setState({inputValue:null})})})},r.inputOk=function(){return Bn(r.state.preSelection)},r.isCalendarOpen=function(){return r.props.open===void 0?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open},r.handleFocus=function(o){var i,a,s=r.state.wasHidden,l=s?r.state.open:!0;s&&r.resetHiddenStatus(),!r.state.preventFocus&&l&&((a=(i=r.props).onFocus)===null||a===void 0||a.call(i,o),!r.props.preventOpenOnFocus&&!r.props.readOnly&&r.setOpen(!0)),r.setState({focused:!0})},r.sendFocusBackToInput=function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})},r.cancelFocusInput=function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=void 0},r.deferFocusInput=function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)},r.handleDropdownFocus=function(){r.cancelFocusInput()},r.handleBlur=function(o){var i,a;(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&((a=(i=r.props).onBlur)===null||a===void 0||a.call(i,o)),r.setState({focused:!1})},r.handleCalendarClickOutside=function(o){var i,a;r.props.inline||r.setOpen(!1),(a=(i=r.props).onClickOutside)===null||a===void 0||a.call(i,o),r.props.withPortal&&o.preventDefault()},r.handleChange=function(){for(var o,i,a=[],s=0;s=R){W=M;break}f&&Wh&&(P=B.ArrowLeft,W=Yt(h,r.props)?k(P,W):h),Yt(W,r.props)?((P===B.PageUp||P===B.Home)&&(P=B.ArrowRight),(P===B.PageDown||P===B.End)&&(P=B.ArrowLeft),W=k(P,W)):T=!0,L++}return W};if(C===B.Enter){o.preventDefault(),r.handleSelect(E,o),!y&&r.setPreSelection(E);return}else if(C===B.Escape){o.preventDefault(),r.setOpen(!1),r.inputOk()||(l=(s=r.props).onInputError)===null||l===void 0||l.call(s,{code:1,msg:Dc});return}var F=null;switch(C){case B.ArrowLeft:case B.ArrowRight:case B.ArrowUp:case B.ArrowDown:case B.PageUp:case B.PageDown:case B.Home:case B.End:F=A(C,E);break}if(!F){(c=(u=r.props).onInputError)===null||c===void 0||c.call(u,{code:1,msg:Dc});return}if(o.preventDefault(),r.setState({lastPreSelectChange:Pc}),v&&r.setSelected(F),r.setPreSelection(F),x){var H=dt(E),z=dt(F),U=re(E),J=re(F);H!==z||U!==J?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}},r.onPopperKeyDown=function(o){var i=o.key;i===B.Escape&&(o.preventDefault(),r.sendFocusBackToInput())},r.onClearClick=function(o){o&&o.preventDefault&&o.preventDefault(),r.sendFocusBackToInput();var i=r.props,a=i.selectsRange,s=i.onChange;a?s==null||s([null,null],o):s==null||s(null,o),r.setState({inputValue:null})},r.clear=function(){r.onClearClick()},r.onScroll=function(o){typeof r.props.closeOnScroll=="boolean"&&r.props.closeOnScroll?(o.target===document||o.target===document.documentElement||o.target===document.body)&&r.setOpen(!1):typeof r.props.closeOnScroll=="function"&&r.props.closeOnScroll(o)&&r.setOpen(!1)},r.renderCalendar=function(){var o,i;return!r.props.inline&&!r.isCalendarOpen()?null:N.createElement(mF,ae({showMonthYearDropdown:void 0,ref:function(a){r.calendar=a}},r.props,r.state,{setOpen:r.setOpen,dateFormat:(o=r.props.dateFormatCalendar)!==null&&o!==void 0?o:t.defaultProps.dateFormatCalendar,onSelect:r.handleSelect,onClickOutside:r.handleCalendarClickOutside,holidays:QA(r.modifyHolidays()),outsideClickIgnoreClass:_g,onDropdownFocus:r.handleDropdownFocus,onTimeChange:r.handleTimeChange,className:r.props.calendarClassName,container:r.props.calendarContainer,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,setPreSelection:r.setPreSelection,dropdownMode:(i=r.props.dropdownMode)!==null&&i!==void 0?i:t.defaultProps.dropdownMode}),r.props.children)},r.renderAriaLiveRegion=function(){var o=r.props,i=o.dateFormat,a=i===void 0?t.defaultProps.dateFormat:i,s=o.locale,l=r.props.showTimeInput||r.props.showTimeSelect,u=l?"PPPPp":"PPPP",c;return r.props.selectsRange?c="Selected start date: ".concat(jt(r.props.startDate,{dateFormat:u,locale:s}),". ").concat(r.props.endDate?"End date: "+jt(r.props.endDate,{dateFormat:u,locale:s}):""):r.props.showTimeSelectOnly?c="Selected time: ".concat(jt(r.props.selected,{dateFormat:a,locale:s})):r.props.showYearPicker?c="Selected year: ".concat(jt(r.props.selected,{dateFormat:"yyyy",locale:s})):r.props.showMonthYearPicker?c="Selected month: ".concat(jt(r.props.selected,{dateFormat:"MMMM yyyy",locale:s})):r.props.showQuarterYearPicker?c="Selected quarter: ".concat(jt(r.props.selected,{dateFormat:"yyyy, QQQ",locale:s})):c="Selected date: ".concat(jt(r.props.selected,{dateFormat:u,locale:s})),N.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},c)},r.renderDateInput=function(){var o,i,a,s=ze(r.props.className,(o={},o[_g]=r.state.open,o)),l=r.props.customInput||N.createElement("input",{type:"text"}),u=r.props.customInputRef||"ref",c=r.props,d=c.dateFormat,f=d===void 0?t.defaultProps.dateFormat:d,h=c.locale,g=typeof r.props.value=="string"?r.props.value:typeof r.state.inputValue=="string"?r.state.inputValue:r.props.selectsRange?TA(r.props.startDate,r.props.endDate,{dateFormat:f,locale:h}):r.props.selectsMultiple?NA((a=r.props.selectedDates)!==null&&a!==void 0?a:[],{dateFormat:f,locale:h}):jt(r.props.selected,{dateFormat:f,locale:h});return b.cloneElement(l,(i={},i[u]=function(w){r.input=w},i.value=g,i.onBlur=r.handleBlur,i.onChange=r.handleChange,i.onClick=r.onInputClick,i.onFocus=r.handleFocus,i.onKeyDown=r.onInputKeyDown,i.id=r.props.id,i.name=r.props.name,i.form=r.props.form,i.autoFocus=r.props.autoFocus,i.placeholder=r.props.placeholderText,i.disabled=r.props.disabled,i.autoComplete=r.props.autoComplete,i.className=ze(l.props.className,s),i.title=r.props.title,i.readOnly=r.props.readOnly,i.required=r.props.required,i.tabIndex=r.props.tabIndex,i["aria-describedby"]=r.props.ariaDescribedBy,i["aria-invalid"]=r.props.ariaInvalid,i["aria-labelledby"]=r.props.ariaLabelledBy,i["aria-required"]=r.props.ariaRequired,i))},r.renderClearButton=function(){var o=r.props,i=o.isClearable,a=o.disabled,s=o.selected,l=o.startDate,u=o.endDate,c=o.clearButtonTitle,d=o.clearButtonClassName,f=d===void 0?"":d,h=o.ariaLabelClose,g=h===void 0?"Close":h,w=o.selectedDates;return i&&(s!=null||l!=null||u!=null||w!=null&&w.length)?N.createElement("button",{type:"button",className:ze("react-datepicker__close-icon",f,{"react-datepicker__close-icon--disabled":a}),disabled:a,"aria-label":g,onClick:r.onClearClick,title:c,tabIndex:-1}):null},r.state=r.calcInitialState(),r.preventFocusTimeout=void 0,r}return Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Ma,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(n,r){var o,i,a,s;n.inline&&EF(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:xg(this.props.highlightDates)}),!r.focused&&!Fr(n.selected,this.props.selected)&&this.setState({inputValue:null}),r.open!==this.state.open&&(r.open===!1&&this.state.open===!0&&((i=(o=this.props).onCalendarOpen)===null||i===void 0||i.call(o)),r.open===!0&&this.state.open===!1&&((s=(a=this.props).onCalendarClose)===null||s===void 0||s.call(a)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var n=this.props,r=n.showIcon,o=n.icon,i=n.calendarIconClassname,a=n.calendarIconClassName,s=n.toggleCalendarOnIconClick,l=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),N.createElement("div",{className:"react-datepicker__input-container".concat(r?" react-datepicker__view-calendar-icon":"")},r&&N.createElement(gF,ae({icon:o,className:ze(a,!a&&i,l&&"react-datepicker-ignore-onclickoutside")},s?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var n=this.renderCalendar();if(this.props.inline)return n;if(this.props.withPortal){var r=this.state.open?N.createElement(O1,{enableTabLoop:this.props.enableTabLoop},N.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(r=N.createElement(_1,ae({portalId:this.props.portalId},this.props),r)),N.createElement("div",null,this.renderInputContainer(),r)}return N.createElement(xF,ae({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(b.Component),CF="input",Pc="navigate";function kF(){const[e,t]=b.useState(""),[n,r]=b.useState(""),[o,i]=b.useState({value:1,label:"Own Supplier"}),[a,s]=b.useState(null),[l,u]=b.useState(null),[c,d]=b.useState(null),[f,h]=b.useState(0),[g,w]=b.useState(0),[y,p]=b.useState(0),[m,v]=b.useState([]),[x,C]=b.useState([]);b.useEffect(()=>{const M=new URLSearchParams(window.location.search),R=M.get("barcode"),P=M.get("purchase_id");R&&(t(R),r(R)),P&&s(P)},[]),b.useEffect(()=>{n&&E()},[n]),b.useEffect(()=>{a&&D()},[a]);const D=b.useCallback(async()=>{var M,R;try{const T=(await ot.get(`/admin/purchase/${a}`)).data,L=(M=T==null?void 0:T.items)==null?void 0:M.map(W=>({item_id:W.id,id:W.product_id,name:W.name,price:W.price,purchase_price:W.purchase_price,stock:W.stock,qty:W.quantity,subTotal:W.purchase_price*W.quantity}));v(L),u(T!=null&&T.date?T.date.split(" ")[0]:""),i({value:T==null?void 0:T.supplier_id,label:(R=T==null?void 0:T.supplier)==null?void 0:R.name}),h(T==null?void 0:T.tax),w(T==null?void 0:T.discount_value),p(T==null?void 0:T.shipping)}catch(P){console.error("Error fetching products:",P)}finally{}},[a]),E=b.useCallback(async()=>{if(!e.trim()){console.log("Search term is empty");return}try{const R=(await ot.get("/admin/products",{params:{search:e}})).data;R!=null&&R.data&&R.data.length&&R.data.forEach(P=>{const T=m.findIndex(L=>L.id===P.id);if(T!==-1)v(L=>{const W=[...L];return W[T].qty+=1,W[T].subTotal=W[T].purchase_price*W[T].qty,W});else{const L={id:P.id,name:P.name,price:P.price,purchase_price:P.purchase_price,stock:P.quantity,qty:1,subTotal:P.purchase_price};v(W=>[...W,L])}})}catch(M){console.error("Error fetching products:",M)}finally{t("")}},[e]),k=M=>{v(m.filter(R=>R.id!==M))},A=(M,R)=>{const P=m.map(T=>{if(T.id===M){const L=parseInt(R)||0;return{...T,qty:L,subTotal:parseFloat((T.purchase_price*L).toFixed(2))}}return T});v(P)},F=(M,R)=>{const P=m.map(T=>{if(T.id===M){const L=parseFloat(R)||0;return{...T,purchase_price:L,subTotal:parseFloat((T.qty*L).toFixed(2))}}return T});v(P)},H=()=>{E()},U=(()=>{const M=m.reduce((ee,Oe)=>ee+Oe.subTotal,0),R=parseFloat(M.toFixed(2)),P=parseFloat((f||0).toFixed(2)),T=parseFloat((g||0).toFixed(2)),L=parseFloat((y||0).toFixed(2)),W=parseFloat((R+P-T+L).toFixed(2));return{subTotal:R,tax:P,discount:T,shipping:L,grandTotal:W}})(),J=async()=>{if(!(U.grandTotal<=0)){if(!l){Xe.error("Please select purchase date.");return}if(!c){Xe.error("Please select a supplier.");return}zr.fire({title:"Are you sure you want to save this purchase?",showDenyButton:!0,confirmButtonText:"Yes",denyButtonText:"No",customClass:{actions:"my-actions",cancelButton:"order-1 right-gap",confirmButton:"order-2",denyButton:"order-3"}}).then(async M=>{var R,P,T;if(M.isConfirmed)try{const L=await ot.post("/admin/purchase",{purchase_id:a,date:l,products:m,supplierId:c,totals:U});v([]),Xe.success((R=L==null?void 0:L.data)==null?void 0:R.message),window.location.href="/admin/purchase"}catch(L){Xe.error(((T=(P=L.response)==null?void 0:P.data)==null?void 0:T.message)||"An error occurred")}})}};b.useEffect(()=>{async function M(){if(!e.trim()){C([]);return}try{const P=(await ot.get("/admin/products",{params:{search:e}})).data;C((P==null?void 0:P.data)||[])}catch(R){console.error("Error fetching products:",R)}}M()},[e]);const q=M=>{const R=m.findIndex(P=>P.id===M.id);if(R!==-1)v(P=>{const T=[...P];return T[R].qty+=1,T[R].subTotal=T[R].purchase_price*T[R].qty,T});else{const P={id:M.id,name:M.name,price:M.price,purchase_price:M.purchase_price,stock:M.quantity,qty:1,subTotal:M.purchase_price};v(T=>[...T,P])}t(""),C([])};return S.jsxs(S.Fragment,{children:[S.jsxs("div",{className:"container-fluid",children:[S.jsx("div",{className:"card",children:S.jsx("div",{className:"card-body",children:S.jsxs("div",{className:"row",children:[S.jsxs("div",{className:"mb-3 col-md-6",children:[S.jsxs("label",{htmlFor:"date",className:"form-label",children:["Purchase Date",S.jsx("span",{className:"text-danger",children:"*"})]}),S.jsx("div",{children:S.jsx(SF,{name:"date",className:"form-control",placeholderText:"Enter purchase date",selected:l,dateFormat:"yyyy-MM-dd",onChange:M=>{const R=M?M.toISOString().split("T")[0]:null;u(R)}})})]}),S.jsxs("div",{className:"mb-3 col-md-6",children:[S.jsxs("label",{htmlFor:"supplier",className:"form-label",children:["Supplier",S.jsx("span",{className:"text-danger",children:"*"})]}),S.jsx(HM,{setSupplierId:d,oldSupplier:o})]})]})})}),S.jsx("div",{className:"card",children:S.jsxs("div",{className:"card-body",children:[S.jsx("div",{className:"row mb-2",children:S.jsxs("div",{className:"input-group col-6",children:[S.jsx("div",{className:"input-group-prepend",children:S.jsx("span",{className:"input-group-text",children:S.jsx("i",{className:"fas fa-search"})})}),S.jsx("input",{type:"search",className:"form-control form-control-lg",value:e,onChange:M=>t(M.target.value),placeholder:"Enter product barcode/name"}),S.jsx("button",{className:"btn bg-gradient-primary ml-2",onClick:H,children:"Add Product"})]})}),x.length>0&&S.jsx("div",{className:"row mb-2",children:S.jsx("div",{className:"col-6",style:{maxHeight:"200px",overflowY:"auto"},children:S.jsx("ul",{className:"list-group",children:x.map(M=>S.jsxs("li",{className:"list-group-item",onClick:()=>q(M),style:{cursor:"pointer"},children:[M.name," - $",M.price]},M.id))})})}),S.jsx("div",{className:"row",children:S.jsx("div",{className:"col-12",children:S.jsxs("table",{className:"table table-sm table-bordered text-center",children:[S.jsx("thead",{children:S.jsxs("tr",{children:[S.jsx("th",{children:"#"}),S.jsx("th",{children:"Product Name"}),S.jsx("th",{children:"Purchase Price"}),S.jsx("th",{children:"Current Stock"}),S.jsx("th",{children:"Qty"}),S.jsx("th",{children:"Sub Total"}),S.jsx("th",{children:"Action"})]})}),S.jsx("tbody",{children:m.map((M,R)=>S.jsxs("tr",{children:[S.jsx("td",{children:R+1}),S.jsx("td",{children:M.name}),S.jsx("td",{className:"d-flex align-items-center justify-content-center",children:S.jsx("input",{type:"number",min:"1",className:"form-control w-50",value:M.purchase_price,onChange:P=>F(M.id,P.target.value)})}),S.jsx("td",{children:M.stock}),S.jsx("td",{className:"d-flex align-items-center justify-content-center",children:S.jsx("input",{type:"number",min:"1",className:"form-control w-50",value:M.qty,onChange:P=>A(M.id,P.target.value)})}),S.jsx("td",{children:M.subTotal.toFixed(2)}),S.jsx("td",{children:S.jsx("button",{className:"btn btn-danger btn-sm",onClick:()=>k(M.id),children:"Delete"})})]},M.id))})]})})}),S.jsxs("div",{className:"row",children:[S.jsx("div",{className:"col-6"}),S.jsx("div",{className:"col-6",children:S.jsx("div",{className:"table-responsive",children:S.jsx("table",{className:"table table-sm",children:S.jsxs("tbody",{children:[S.jsxs("tr",{children:[S.jsx("th",{children:"Subtotal:"}),S.jsx("td",{className:"text-right",children:U.subTotal.toFixed(2)})]}),S.jsxs("tr",{children:[S.jsx("th",{children:"Tax:"}),S.jsx("td",{className:"text-right",children:U.tax.toFixed(2)})]}),S.jsxs("tr",{children:[S.jsx("th",{children:"Discount:"}),S.jsx("td",{className:"text-right",children:U.discount.toFixed(2)})]}),S.jsxs("tr",{children:[S.jsx("th",{children:"Shipping:"}),S.jsx("td",{className:"text-right",children:U.shipping.toFixed(2)})]}),S.jsxs("tr",{children:[S.jsx("th",{children:"Grand Total:"}),S.jsx("td",{className:"text-right",children:U.grandTotal.toFixed(2)})]})]})})})})]})]})}),S.jsx("div",{className:"card",children:S.jsx("div",{className:"card-body",children:S.jsxs("div",{className:"row",children:[S.jsxs("div",{className:"mb-3 col-md-4",children:[S.jsx("label",{htmlFor:"tax",className:"form-label",children:"Tax"}),S.jsx("input",{type:"number",className:"form-control",value:f,min:"0",onChange:M=>h(parseFloat(M.target.value)||0),placeholder:"Enter tax",name:"tax",required:!0})]}),S.jsxs("div",{className:"mb-3 col-md-4",children:[S.jsx("label",{htmlFor:"discount",className:"form-label",children:"Discount"}),S.jsx("input",{type:"number",min:"0",className:"form-control",value:g,onChange:M=>w(parseFloat(M.target.value)||0),placeholder:"Enter discount",name:"discount",required:!0})]}),S.jsxs("div",{className:"mb-3 col-md-4",children:[S.jsx("label",{htmlFor:"shipping",className:"form-label",children:"Shipping Charge"}),S.jsx("input",{type:"number",min:"0",className:"form-control",value:y,onChange:M=>p(parseFloat(M.target.value)||0),placeholder:"Enter shipping",name:"shipping",required:!0})]})]})})}),S.jsx("button",{type:"submit",className:"btn btn-md bg-gradient-primary",onClick:J,children:"Create"})]}),S.jsx(xf,{position:"top-right",reverseOrder:!1})]})}var Ip,Og=Eu;Ip=Og.createRoot,Og.hydrateRoot;document.getElementById("cart")&&Ip(document.getElementById("cart")).render(S.jsx($M,{}));document.getElementById("purchase")&&Ip(document.getElementById("purchase")).render(S.jsx(kF,{})); diff --git a/public/build/assets/beep-02-4c77c523.mp3 b/public/build/assets/beep-02-4c77c523.mp3 old mode 100755 new mode 100644 diff --git a/public/build/assets/beep-07a-24004a82.mp3 b/public/build/assets/beep-07a-24004a82.mp3 old mode 100755 new mode 100644 diff --git a/public/build/manifest.json b/public/build/manifest.json old mode 100755 new mode 100644 index d242309..8a396c0 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -11,7 +11,7 @@ "css": [ "assets/app-567829f8.css" ], - "file": "assets/app-ede3a7fc.js", + "file": "assets/app-f5fb73da.js", "isEntry": true, "src": "resources/js/app.jsx" }, From 92ecf717fd43b518fabde56e912b7e6ca585a9fc Mon Sep 17 00:00:00 2001 From: Kennedy Kithome Date: Tue, 28 Apr 2026 09:39:33 +0300 Subject: [PATCH 57/57] Composer Lock --- composer.lock | 2566 +++++++++++++++++++++++++++++-------------------- 1 file changed, 1532 insertions(+), 1034 deletions(-) diff --git a/composer.lock b/composer.lock index d445df6..dfebc9a 100755 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5e4ee4327d229b05d31bb0dfafad38fb", + "content-hash": "b180e6e0e0ebc9dfa33fd5fb8351d2d5", "packages": [ { "name": "barryvdh/laravel-dompdf", @@ -33,17 +33,17 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - }, "laravel": { + "aliases": { + "PDF": "Barryvdh\\DomPDF\\Facade\\Pdf", + "Pdf": "Barryvdh\\DomPDF\\Facade\\Pdf" + }, "providers": [ "Barryvdh\\DomPDF\\ServiceProvider" - ], - "aliases": { - "Pdf": "Barryvdh\\DomPDF\\Facade\\Pdf", - "PDF": "Barryvdh\\DomPDF\\Facade\\Pdf" - } + ] + }, + "branch-alias": { + "dev-master": "2.0-dev" } }, "autoload": { @@ -85,16 +85,16 @@ }, { "name": "brick/math", - "version": "0.12.1", + "version": "0.12.3", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", + "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", "shasum": "" }, "require": { @@ -103,7 +103,7 @@ "require-dev": { "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^10.1", - "vimeo/psalm": "5.16.0" + "vimeo/psalm": "6.8.8" }, "type": "library", "autoload": { @@ -133,7 +133,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.1" + "source": "https://github.com/brick/math/tree/0.12.3" }, "funding": [ { @@ -141,7 +141,7 @@ "type": "github" } ], - "time": "2023-11-29T23:19:16+00:00" + "time": "2025-02-28T13:11:00+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -212,18 +212,97 @@ ], "time": "2023-12-11T17:09:12+00:00" }, + { + "name": "composer/pcre", + "version": "3.3.2", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<1.11.10" + }, + "require-dev": { + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", + "phpunit/phpunit": "^8 || ^9" + }, + "type": "library", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + }, + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Pcre\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], + "support": { + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.3.2" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2024-11-12T16:29:46+00:00" + }, { "name": "composer/semver", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "url": "https://api.github.com/repos/composer/semver/zipball/198166618906cb2de69b95d7d47e5fa8aa1b2b95", + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95", "shasum": "" }, "require": { @@ -275,7 +354,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.3" + "source": "https://github.com/composer/semver/tree/3.4.4" }, "funding": [ { @@ -285,13 +364,9 @@ { "url": "https://github.com/composer", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2024-09-19T14:15:21+00:00" + "time": "2025-08-20T19:15:30+00:00" }, { "name": "dflydev/dot-access-data", @@ -370,33 +445,32 @@ }, { "name": "doctrine/inflector", - "version": "2.0.10", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/6d6c96277ea252fc1304627204c3d5e6e15faa3b", + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11.0", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^8.5 || ^9.5", - "vimeo/psalm": "^4.25 || ^5.4" + "doctrine/coding-standard": "^12.0 || ^13.0", + "phpstan/phpstan": "^1.12 || ^2.0", + "phpstan/phpstan-phpunit": "^1.4 || ^2.0", + "phpstan/phpstan-strict-rules": "^1.6 || ^2.0", + "phpunit/phpunit": "^8.5 || ^12.2" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Doctrine\\Inflector\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -441,7 +515,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.10" + "source": "https://github.com/doctrine/inflector/tree/2.1.0" }, "funding": [ { @@ -457,7 +531,7 @@ "type": "tidelift" } ], - "time": "2024-02-18T20:23:39+00:00" + "time": "2025-08-10T19:31:58+00:00" }, { "name": "doctrine/lexer", @@ -600,29 +674,28 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.4.0", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "8c784d071debd117328803d86b2097615b457500" + "reference": "d61a8a9604ec1f8c3d150d09db6ce98b32675013" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", - "reference": "8c784d071debd117328803d86b2097615b457500", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/d61a8a9604ec1f8c3d150d09db6ce98b32675013", + "reference": "d61a8a9604ec1f8c3d150d09db6ce98b32675013", "shasum": "" }, "require": { - "php": "^7.2|^8.0", - "webmozart/assert": "^1.0" + "php": "^8.2|^8.3|^8.4|^8.5" }, "replace": { "mtdowling/cron-expression": "^1.0" }, "require-dev": { - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0" + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^1.12.32|^2.1.31", + "phpunit/phpunit": "^8.5.48|^9.0" }, "type": "library", "extra": { @@ -653,7 +726,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.6.0" }, "funding": [ { @@ -661,20 +734,20 @@ "type": "github" } ], - "time": "2024-10-09T13:47:03+00:00" + "time": "2025-10-31T18:51:33+00:00" }, { "name": "egulias/email-validator", - "version": "4.0.2", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", - "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", + "reference": "d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa", "shasum": "" }, "require": { @@ -720,7 +793,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.4" }, "funding": [ { @@ -728,24 +801,24 @@ "type": "github" } ], - "time": "2023-10-06T06:47:41+00:00" + "time": "2025-03-06T22:45:56+00:00" }, { "name": "ezyang/htmlpurifier", - "version": "v4.17.0", + "version": "v4.19.0", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" + "reference": "b287d2a16aceffbf6e0295559b39662612b77fcf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", - "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/b287d2a16aceffbf6e0295559b39662612b77fcf", + "reference": "b287d2a16aceffbf6e0295559b39662612b77fcf", "shasum": "" }, "require": { - "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0" }, "require-dev": { "cerdic/css-tidy": "^1.7 || ^2.0", @@ -787,22 +860,22 @@ ], "support": { "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0" + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.19.0" }, - "time": "2023-11-17T15:01:25+00:00" + "time": "2025-10-17T16:34:55+00:00" }, { "name": "firebase/php-jwt", - "version": "v6.10.1", + "version": "v7.0.5", "source": { "type": "git", - "url": "https://github.com/firebase/php-jwt.git", - "reference": "500501c2ce893c824c801da135d02661199f60c5" + "url": "https://github.com/googleapis/php-jwt.git", + "reference": "47ad26bab5e7c70ae8a6f08ed25ff83631121380" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", - "reference": "500501c2ce893c824c801da135d02661199f60c5", + "url": "https://api.github.com/repos/googleapis/php-jwt/zipball/47ad26bab5e7c70ae8a6f08ed25ff83631121380", + "reference": "47ad26bab5e7c70ae8a6f08ed25ff83631121380", "shasum": "" }, "require": { @@ -810,6 +883,7 @@ }, "require-dev": { "guzzlehttp/guzzle": "^7.4", + "phpfastcache/phpfastcache": "^9.2", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", "psr/cache": "^2.0||^3.0", @@ -849,38 +923,38 @@ "php" ], "support": { - "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" + "issues": "https://github.com/googleapis/php-jwt/issues", + "source": "https://github.com/googleapis/php-jwt/tree/v7.0.5" }, - "time": "2024-05-18T18:05:11+00:00" + "time": "2026-04-01T20:38:03+00:00" }, { "name": "fruitcake/php-cors", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/fruitcake/php-cors.git", - "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + "reference": "38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", - "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379", + "reference": "38aaa6c3fd4c157ffe2a4d10aa8b9b16ba8de379", "shasum": "" }, "require": { - "php": "^7.4|^8.0", - "symfony/http-foundation": "^4.4|^5.4|^6|^7" + "php": "^8.1", + "symfony/http-foundation": "^5.4|^6.4|^7.3|^8" }, "require-dev": { - "phpstan/phpstan": "^1.4", + "phpstan/phpstan": "^2", "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -911,7 +985,7 @@ ], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", - "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + "source": "https://github.com/fruitcake/php-cors/tree/v1.4.0" }, "funding": [ { @@ -923,28 +997,28 @@ "type": "github" } ], - "time": "2023-10-12T05:21:21+00:00" + "time": "2025-12-03T09:33:47+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.1.3", + "version": "v1.1.4", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", - "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/e01f4a821471308ba86aa202fed6698b6b695e3b", + "reference": "e01f4a821471308ba86aa202fed6698b6b695e3b", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3" + "phpoption/phpoption": "^1.9.5" }, "require-dev": { - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.41 || ^9.6.22 || ^10.5.45 || ^11.5.7" }, "type": "library", "autoload": { @@ -973,7 +1047,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.4" }, "funding": [ { @@ -985,26 +1059,26 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:45:45+00:00" + "time": "2025-12-27T19:43:20+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.9.2", + "version": "7.10.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.3", - "guzzlehttp/psr7": "^2.7.0", + "guzzlehttp/promises": "^2.3", + "guzzlehttp/psr7": "^2.8", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1095,7 +1169,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + "source": "https://github.com/guzzle/guzzle/tree/7.10.0" }, "funding": [ { @@ -1111,20 +1185,20 @@ "type": "tidelift" } ], - "time": "2024-07-24T11:22:20+00:00" + "time": "2025-08-23T22:36:01+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.4", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" + "reference": "481557b130ef3790cf82b713667b43030dc9c957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", - "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", + "reference": "481557b130ef3790cf82b713667b43030dc9c957", "shasum": "" }, "require": { @@ -1132,7 +1206,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "type": "library", "extra": { @@ -1178,7 +1252,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.4" + "source": "https://github.com/guzzle/promises/tree/2.3.0" }, "funding": [ { @@ -1194,20 +1268,20 @@ "type": "tidelift" } ], - "time": "2024-10-17T10:06:22+00:00" + "time": "2025-08-22T14:34:08+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.7.0", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + "reference": "7d0ed42f28e42d61352a7a79de682e5e67fec884" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/7d0ed42f28e42d61352a7a79de682e5e67fec884", + "reference": "7d0ed42f28e42d61352a7a79de682e5e67fec884", "shasum": "" }, "require": { @@ -1223,7 +1297,8 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "jshttp/mime-db": "1.54.0.1", + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -1294,7 +1369,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.0" + "source": "https://github.com/guzzle/psr7/tree/2.9.0" }, "funding": [ { @@ -1310,20 +1385,20 @@ "type": "tidelift" } ], - "time": "2024-07-18T11:15:46+00:00" + "time": "2026-03-10T16:41:02+00:00" }, { "name": "guzzlehttp/uri-template", - "version": "v1.0.3", + "version": "v1.0.5", "source": { "type": "git", "url": "https://github.com/guzzle/uri-template.git", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/4f4bbd4e7172148801e76e3decc1e559bdee34e1", + "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1", "shasum": "" }, "require": { @@ -1332,7 +1407,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.44 || ^9.6.25", "uri-template/tests": "1.0.0" }, "type": "library", @@ -1380,7 +1455,7 @@ ], "support": { "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + "source": "https://github.com/guzzle/uri-template/tree/v1.0.5" }, "funding": [ { @@ -1396,7 +1471,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T19:50:20+00:00" + "time": "2025-08-22T14:27:06+00:00" }, { "name": "intervention/image", @@ -1428,16 +1503,16 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - }, "laravel": { - "providers": [ - "Intervention\\Image\\ImageServiceProvider" - ], "aliases": { "Image": "Intervention\\Image\\Facades\\Image" - } + }, + "providers": [ + "Intervention\\Image\\ImageServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "2.4-dev" } }, "autoload": { @@ -1484,16 +1559,16 @@ }, { "name": "laravel/framework", - "version": "v10.48.22", + "version": "10.50.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "c4ea52bb044faef4a103d7dd81746c01b2ec860e" + "reference": "3ff39b7a9b83e633383ec9b019827ed54b6d38bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/c4ea52bb044faef4a103d7dd81746c01b2ec860e", - "reference": "c4ea52bb044faef4a103d7dd81746c01b2ec860e", + "url": "https://api.github.com/repos/laravel/framework/zipball/3ff39b7a9b83e633383ec9b019827ed54b6d38bc", + "reference": "3ff39b7a9b83e633383ec9b019827ed54b6d38bc", "shasum": "" }, "require": { @@ -1600,7 +1675,7 @@ "nyholm/psr7": "^1.2", "orchestra/testbench-core": "^8.23.4", "pda/pheanstalk": "^4.0", - "phpstan/phpstan": "^1.4.7", + "phpstan/phpstan": "~1.11.11", "phpunit/phpunit": "^10.0.7", "predis/predis": "^2.0.2", "symfony/cache": "^6.2", @@ -1652,6 +1727,7 @@ }, "autoload": { "files": [ + "src/Illuminate/Collections/functions.php", "src/Illuminate/Collections/helpers.php", "src/Illuminate/Events/functions.php", "src/Illuminate/Filesystem/functions.php", @@ -1687,7 +1763,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-09-12T15:00:09+00:00" + "time": "2026-02-15T14:12:07+00:00" }, { "name": "laravel/prompts", @@ -1777,13 +1853,13 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - }, "laravel": { "providers": [ "Laravel\\Sanctum\\SanctumServiceProvider" ] + }, + "branch-alias": { + "dev-master": "3.x-dev" } }, "autoload": { @@ -1815,16 +1891,16 @@ }, { "name": "laravel/serializable-closure", - "version": "v1.3.5", + "version": "v1.3.7", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c" + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", - "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d", + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d", "shasum": "" }, "require": { @@ -1872,51 +1948,51 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2024-09-23T13:33:08+00:00" + "time": "2024-11-14T18:34:49+00:00" }, { "name": "laravel/socialite", - "version": "v5.16.0", + "version": "v5.26.1", "source": { "type": "git", "url": "https://github.com/laravel/socialite.git", - "reference": "40a2dc98c53d9dc6d55eadb0d490d3d72b73f1bf" + "reference": "db6ec2ee967b7f06412c3a0cf1daaf072f4752a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/socialite/zipball/40a2dc98c53d9dc6d55eadb0d490d3d72b73f1bf", - "reference": "40a2dc98c53d9dc6d55eadb0d490d3d72b73f1bf", + "url": "https://api.github.com/repos/laravel/socialite/zipball/db6ec2ee967b7f06412c3a0cf1daaf072f4752a4", + "reference": "db6ec2ee967b7f06412c3a0cf1daaf072f4752a4", "shasum": "" }, "require": { "ext-json": "*", - "firebase/php-jwt": "^6.4", + "firebase/php-jwt": "^6.4|^7.0", "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "league/oauth1-client": "^1.10.1", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", + "league/oauth1-client": "^1.11", "php": "^7.2|^8.0", "phpseclib/phpseclib": "^3.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0|^9.3|^10.4" + "orchestra/testbench": "^4.18|^5.20|^6.47|^7.55|^8.36|^9.15|^10.8|^11.0", + "phpstan/phpstan": "^1.12.23", + "phpunit/phpunit": "^8.0|^9.3|^10.4|^11.5|^12.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - }, "laravel": { - "providers": [ - "Laravel\\Socialite\\SocialiteServiceProvider" - ], "aliases": { "Socialite": "Laravel\\Socialite\\Facades\\Socialite" - } + }, + "providers": [ + "Laravel\\Socialite\\SocialiteServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "5.x-dev" } }, "autoload": { @@ -1944,37 +2020,37 @@ "issues": "https://github.com/laravel/socialite/issues", "source": "https://github.com/laravel/socialite" }, - "time": "2024-09-03T09:46:57+00:00" + "time": "2026-03-29T14:50:53+00:00" }, { "name": "laravel/tinker", - "version": "v2.10.0", + "version": "v2.11.1", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5" + "reference": "c9f80cc835649b5c1842898fb043f8cc098dd741" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/ba4d51eb56de7711b3a37d63aa0643e99a339ae5", - "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5", + "url": "https://api.github.com/repos/laravel/tinker/zipball/c9f80cc835649b5c1842898fb043f8cc098dd741", + "reference": "c9f80cc835649b5c1842898fb043f8cc098dd741", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", "php": "^7.2.5|^8.0", "psy/psysh": "^0.11.1|^0.12.0", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0|^8.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.5.8|^9.3.3" + "phpunit/phpunit": "^8.5.8|^9.3.3|^10.0" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0)." }, "type": "library", "extra": { @@ -2008,9 +2084,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.10.0" + "source": "https://github.com/laravel/tinker/tree/v2.11.1" }, - "time": "2024-09-23T13:32:56+00:00" + "time": "2026-02-06T14:12:35+00:00" }, { "name": "laravelcollective/html", @@ -2087,16 +2163,16 @@ }, { "name": "league/commonmark", - "version": "2.5.3", + "version": "2.8.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "b650144166dfa7703e62a22e493b853b58d874b0" + "reference": "59fb075d2101740c337c7216e3f32b36c204218b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/b650144166dfa7703e62a22e493b853b58d874b0", - "reference": "b650144166dfa7703e62a22e493b853b58d874b0", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/59fb075d2101740c337c7216e3f32b36c204218b", + "reference": "59fb075d2101740c337c7216e3f32b36c204218b", "shasum": "" }, "require": { @@ -2121,10 +2197,11 @@ "phpstan/phpstan": "^1.8.2", "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0 || ^7.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", + "symfony/finder": "^5.3 | ^6.0 | ^7.0 || ^8.0", + "symfony/process": "^5.4 | ^6.0 | ^7.0 || ^8.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0 || ^8.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2132,7 +2209,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.6-dev" + "dev-main": "2.9-dev" } }, "autoload": { @@ -2189,7 +2266,7 @@ "type": "tidelift" } ], - "time": "2024-08-16T11:46:16+00:00" + "time": "2026-03-19T13:16:38+00:00" }, { "name": "league/config", @@ -2275,16 +2352,16 @@ }, { "name": "league/flysystem", - "version": "3.29.1", + "version": "3.33.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" + "reference": "570b8871e0ce693764434b29154c54b434905350" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/570b8871e0ce693764434b29154c54b434905350", + "reference": "570b8871e0ce693764434b29154c54b434905350", "shasum": "" }, "require": { @@ -2308,13 +2385,13 @@ "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", - "ext-mongodb": "^1.3", + "ext-mongodb": "^1.3|^2", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", - "mongodb/mongodb": "^1.2", + "mongodb/mongodb": "^1.2|^2", "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", @@ -2352,22 +2429,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" + "source": "https://github.com/thephpleague/flysystem/tree/3.33.0" }, - "time": "2024-10-08T08:58:34+00:00" + "time": "2026-03-25T07:59:30+00:00" }, { "name": "league/flysystem-local", - "version": "3.29.0", + "version": "3.31.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" + "reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/2f669db18a4c20c755c2bb7d3a7b0b2340488079", + "reference": "2f669db18a4c20c755c2bb7d3a7b0b2340488079", "shasum": "" }, "require": { @@ -2401,22 +2478,22 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.31.0" }, - "time": "2024-08-09T21:24:39+00:00" + "time": "2026-01-23T15:30:45+00:00" }, { "name": "league/fractal", - "version": "0.20.1", + "version": "0.20.2", "source": { "type": "git", "url": "https://github.com/thephpleague/fractal.git", - "reference": "8b9d39b67624db9195c06f9c1ffd0355151eaf62" + "reference": "573ca2e0e348a7fe573a3e8fbc29a6588ece8c4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/fractal/zipball/8b9d39b67624db9195c06f9c1ffd0355151eaf62", - "reference": "8b9d39b67624db9195c06f9c1ffd0355151eaf62", + "url": "https://api.github.com/repos/thephpleague/fractal/zipball/573ca2e0e348a7fe573a3e8fbc29a6588ece8c4e", + "reference": "573ca2e0e348a7fe573a3e8fbc29a6588ece8c4e", "shasum": "" }, "require": { @@ -2425,18 +2502,18 @@ "require-dev": { "doctrine/orm": "^2.5", "illuminate/contracts": "~5.0", + "laminas/laminas-paginator": "~2.12", "mockery/mockery": "^1.3", - "pagerfanta/pagerfanta": "~1.0.0", + "pagerfanta/pagerfanta": "~1.0.0|~4.0.0", "phpstan/phpstan": "^1.4", "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "~3.4", - "vimeo/psalm": "^4.22", - "zendframework/zend-paginator": "~2.3" + "vimeo/psalm": "^4.30" }, "suggest": { "illuminate/pagination": "The Illuminate Pagination component.", - "pagerfanta/pagerfanta": "Pagerfanta Paginator", - "zendframework/zend-paginator": "Zend Framework Paginator" + "laminas/laminas-paginator": "Laminas Framework Paginator", + "pagerfanta/pagerfanta": "Pagerfanta Paginator" }, "type": "library", "extra": { @@ -2471,9 +2548,9 @@ ], "support": { "issues": "https://github.com/thephpleague/fractal/issues", - "source": "https://github.com/thephpleague/fractal/tree/0.20.1" + "source": "https://github.com/thephpleague/fractal/tree/0.20.2" }, - "time": "2022-04-11T12:47:17+00:00" + "time": "2025-02-14T21:33:14+00:00" }, { "name": "league/mime-type-detection", @@ -2533,16 +2610,16 @@ }, { "name": "league/oauth1-client", - "version": "v1.10.1", + "version": "v1.11.0", "source": { "type": "git", "url": "https://github.com/thephpleague/oauth1-client.git", - "reference": "d6365b901b5c287dd41f143033315e2f777e1167" + "reference": "f9c94b088837eb1aae1ad7c4f23eb65cc6993055" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/oauth1-client/zipball/d6365b901b5c287dd41f143033315e2f777e1167", - "reference": "d6365b901b5c287dd41f143033315e2f777e1167", + "url": "https://api.github.com/repos/thephpleague/oauth1-client/zipball/f9c94b088837eb1aae1ad7c4f23eb65cc6993055", + "reference": "f9c94b088837eb1aae1ad7c4f23eb65cc6993055", "shasum": "" }, "require": { @@ -2603,46 +2680,122 @@ ], "support": { "issues": "https://github.com/thephpleague/oauth1-client/issues", - "source": "https://github.com/thephpleague/oauth1-client/tree/v1.10.1" + "source": "https://github.com/thephpleague/oauth1-client/tree/v1.11.0" + }, + "time": "2024-12-10T19:59:05+00:00" + }, + { + "name": "livewire/livewire", + "version": "v3.7.15", + "source": { + "type": "git", + "url": "https://github.com/livewire/livewire.git", + "reference": "d68e65beb7717eaabef74a1cf63cd1670260ff5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/livewire/livewire/zipball/d68e65beb7717eaabef74a1cf63cd1670260ff5f", + "reference": "d68e65beb7717eaabef74a1cf63cd1670260ff5f", + "shasum": "" + }, + "require": { + "illuminate/database": "^10.0|^11.0|^12.0|^13.0", + "illuminate/routing": "^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^10.0|^11.0|^12.0|^13.0", + "illuminate/validation": "^10.0|^11.0|^12.0|^13.0", + "laravel/prompts": "^0.1.24|^0.2|^0.3", + "league/mime-type-detection": "^1.9", + "php": "^8.1", + "symfony/console": "^6.0|^7.0|^8.0", + "symfony/http-kernel": "^6.2|^7.0|^8.0" + }, + "require-dev": { + "calebporzio/sushi": "^2.1", + "laravel/framework": "^10.15.0|^11.0|^12.0|^13.0", + "mockery/mockery": "^1.3.1", + "orchestra/testbench": "^8.21.0|^9.0|^10.0|^11.0", + "orchestra/testbench-dusk": "^8.24|^9.1|^10.0|^11.0", + "phpunit/phpunit": "^10.4|^11.5|^12.5", + "psy/psysh": "^0.11.22|^0.12" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "Livewire": "Livewire\\Livewire" + }, + "providers": [ + "Livewire\\LivewireServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Livewire\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Caleb Porzio", + "email": "calebporzio@gmail.com" + } + ], + "description": "A front-end framework for Laravel.", + "support": { + "issues": "https://github.com/livewire/livewire/issues", + "source": "https://github.com/livewire/livewire/tree/v3.7.15" }, - "time": "2022-04-15T14:02:14+00:00" + "funding": [ + { + "url": "https://github.com/livewire", + "type": "github" + } + ], + "time": "2026-04-03T13:08:41+00:00" }, { "name": "maatwebsite/excel", - "version": "3.1.58", + "version": "3.1.68", "source": { "type": "git", "url": "https://github.com/SpartnerNL/Laravel-Excel.git", - "reference": "18495a71b112f43af8ffab35111a58b4e4ba4a4d" + "reference": "1854739267d81d38eae7d8c623caf523f30f256b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/18495a71b112f43af8ffab35111a58b4e4ba4a4d", - "reference": "18495a71b112f43af8ffab35111a58b4e4ba4a4d", + "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/1854739267d81d38eae7d8c623caf523f30f256b", + "reference": "1854739267d81d38eae7d8c623caf523f30f256b", "shasum": "" }, "require": { "composer/semver": "^3.3", "ext-json": "*", - "illuminate/support": "5.8.*||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0", + "illuminate/support": "5.8.*||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0||^12.0||^13.0", "php": "^7.0||^8.0", - "phpoffice/phpspreadsheet": "^1.29.1", + "phpoffice/phpspreadsheet": "^1.30.0", "psr/simple-cache": "^1.0||^2.0||^3.0" }, "require-dev": { - "laravel/scout": "^7.0||^8.0||^9.0||^10.0", - "orchestra/testbench": "^6.0||^7.0||^8.0||^9.0", + "laravel/scout": "^7.0||^8.0||^9.0||^10.0||^11.0", + "orchestra/testbench": "^6.0||^7.0||^8.0||^9.0||^10.0||^11.0", "predis/predis": "^1.1" }, "type": "library", "extra": { "laravel": { - "providers": [ - "Maatwebsite\\Excel\\ExcelServiceProvider" - ], "aliases": { "Excel": "Maatwebsite\\Excel\\Facades\\Excel" - } + }, + "providers": [ + "Maatwebsite\\Excel\\ExcelServiceProvider" + ] } }, "autoload": { @@ -2674,7 +2827,7 @@ ], "support": { "issues": "https://github.com/SpartnerNL/Laravel-Excel/issues", - "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.58" + "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.68" }, "funding": [ { @@ -2686,35 +2839,36 @@ "type": "github" } ], - "time": "2024-09-07T13:53:36+00:00" + "time": "2026-03-17T20:51:10+00:00" }, { "name": "maennchen/zipstream-php", - "version": "3.1.1", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/maennchen/ZipStream-PHP.git", - "reference": "6187e9cc4493da94b9b63eb2315821552015fca9" + "reference": "aeadcf5c412332eb426c0f9b4485f6accba2a99f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/6187e9cc4493da94b9b63eb2315821552015fca9", - "reference": "6187e9cc4493da94b9b63eb2315821552015fca9", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/aeadcf5c412332eb426c0f9b4485f6accba2a99f", + "reference": "aeadcf5c412332eb426c0f9b4485f6accba2a99f", "shasum": "" }, "require": { "ext-mbstring": "*", "ext-zlib": "*", - "php-64bit": "^8.1" + "php-64bit": "^8.2" }, "require-dev": { + "brianium/paratest": "^7.7", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.16", "guzzlehttp/guzzle": "^7.5", "mikey179/vfsstream": "^1.6", "php-coveralls/php-coveralls": "^2.5", - "phpunit/phpunit": "^10.0", - "vimeo/psalm": "^5.0" + "phpunit/phpunit": "^11.0", + "vimeo/psalm": "^6.0" }, "suggest": { "guzzlehttp/psr7": "^2.4", @@ -2755,7 +2909,7 @@ ], "support": { "issues": "https://github.com/maennchen/ZipStream-PHP/issues", - "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.1.1" + "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.1.2" }, "funding": [ { @@ -2763,7 +2917,7 @@ "type": "github" } ], - "time": "2024-10-10T12:33:01+00:00" + "time": "2025-01-27T12:07:53+00:00" }, { "name": "markbaker/complex", @@ -2874,16 +3028,16 @@ }, { "name": "masterminds/html5", - "version": "2.9.0", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/Masterminds/html5-php.git", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + "reference": "fcf91eb64359852f00d921887b219479b4f21251" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/fcf91eb64359852f00d921887b219479b4f21251", + "reference": "fcf91eb64359852f00d921887b219479b4f21251", "shasum": "" }, "require": { @@ -2935,22 +3089,100 @@ ], "support": { "issues": "https://github.com/Masterminds/html5-php/issues", - "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + "source": "https://github.com/Masterminds/html5-php/tree/2.10.0" + }, + "time": "2025-07-25T09:04:22+00:00" + }, + { + "name": "milon/barcode", + "version": "v13.1", + "source": { + "type": "git", + "url": "https://github.com/milon/barcode.git", + "reference": "ce84b0ba0d9c0f19f1ef058cd39187bd9468dfc8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/milon/barcode/zipball/ce84b0ba0d9c0f19f1ef058cd39187bd9468dfc8", + "reference": "ce84b0ba0d9c0f19f1ef058cd39187bd9468dfc8", + "shasum": "" + }, + "require": { + "ext-gd": "*", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0 | ^11.0 | ^12.0 | ^13.0", + "php": "^7.3 | ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5 || ^10.0" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "DNS1D": "Milon\\Barcode\\Facades\\DNS1DFacade", + "DNS2D": "Milon\\Barcode\\Facades\\DNS2DFacade" + }, + "providers": [ + "Milon\\Barcode\\BarcodeServiceProvider" + ] + } + }, + "autoload": { + "psr-0": { + "Milon\\Barcode": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Nuruzzaman Milon", + "email": "contact@milon.im" + } + ], + "description": "Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)", + "keywords": [ + "CODABAR", + "CODE 128", + "CODE 39", + "barcode", + "datamatrix", + "ean", + "laravel", + "pdf417", + "qr code", + "qrcode" + ], + "support": { + "issues": "https://github.com/milon/barcode/issues", + "source": "https://github.com/milon/barcode/tree/v13.1" }, - "time": "2024-03-31T07:05:07+00:00" + "funding": [ + { + "url": "https://paypal.me/nuruzzamanmilon", + "type": "custom" + }, + { + "url": "https://github.com/milon", + "type": "github" + } + ], + "time": "2026-02-24T01:48:58+00:00" }, { "name": "monolog/monolog", - "version": "3.7.0", + "version": "3.10.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" + "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", - "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b321dd6749f0bf7189444158a3ce785cc16d69b0", + "reference": "b321dd6749f0bf7189444158a3ce785cc16d69b0", "shasum": "" }, "require": { @@ -2968,14 +3200,16 @@ "graylog2/gelf-php": "^1.4.2 || ^2.0", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.2", - "mongodb/mongodb": "^1.8", + "mongodb/mongodb": "^1.8 || ^2.0", "php-amqplib/php-amqplib": "~2.4 || ^3", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "^10.5.17", + "php-console/php-console": "^3.1.8", + "phpstan/phpstan": "^2", + "phpstan/phpstan-deprecation-rules": "^2", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "^10.5.17 || ^11.0.7", "predis/predis": "^1.1 || ^2", - "ruflin/elastica": "^7", + "rollbar/rollbar": "^4.0", + "ruflin/elastica": "^7 || ^8", "symfony/mailer": "^5.4 || ^6", "symfony/mime": "^5.4 || ^6" }, @@ -3026,7 +3260,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.7.0" + "source": "https://github.com/Seldaek/monolog/tree/3.10.0" }, "funding": [ { @@ -3038,20 +3272,20 @@ "type": "tidelift" } ], - "time": "2024-06-28T09:40:51+00:00" + "time": "2026-01-02T08:56:05+00:00" }, { "name": "nesbot/carbon", - "version": "2.72.5", + "version": "2.73.0", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" + "url": "https://github.com/CarbonPHP/carbon.git", + "reference": "9228ce90e1035ff2f0db84b40ec2e023ed802075" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/9228ce90e1035ff2f0db84b40ec2e023ed802075", + "reference": "9228ce90e1035ff2f0db84b40ec2e023ed802075", "shasum": "" }, "require": { @@ -3071,7 +3305,7 @@ "doctrine/orm": "^2.7 || ^3.0", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", - "ondrejmirtes/better-reflection": "*", + "ondrejmirtes/better-reflection": "<6", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.99 || ^1.7.14", @@ -3084,10 +3318,6 @@ ], "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.x-dev", - "dev-2.x": "2.x-dev" - }, "laravel": { "providers": [ "Carbon\\Laravel\\ServiceProvider" @@ -3097,6 +3327,10 @@ "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-master": "3.x-dev" } }, "autoload": { @@ -3145,29 +3379,31 @@ "type": "tidelift" } ], - "time": "2024-06-03T19:18:41+00:00" + "time": "2025-01-08T20:10:23+00:00" }, { "name": "nette/schema", - "version": "v1.3.2", + "version": "v1.3.5", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "da801d52f0354f70a638673c4a0f04e16529431d" + "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", - "reference": "da801d52f0354f70a638673c4a0f04e16529431d", + "url": "https://api.github.com/repos/nette/schema/zipball/f0ab1a3cda782dbc5da270d28545236aa80c4002", + "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002", "shasum": "" }, "require": { "nette/utils": "^4.0", - "php": "8.1 - 8.4" + "php": "8.1 - 8.5" }, "require-dev": { - "nette/tester": "^2.5.2", - "phpstan/phpstan-nette": "^1.0", + "nette/phpstan-rules": "^1.0", + "nette/tester": "^2.6", + "phpstan/extension-installer": "^1.4@stable", + "phpstan/phpstan": "^2.1.39@stable", "tracy/tracy": "^2.8" }, "type": "library", @@ -3177,6 +3413,9 @@ } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -3205,35 +3444,37 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.3.2" + "source": "https://github.com/nette/schema/tree/v1.3.5" }, - "time": "2024-10-06T23:10:23+00:00" + "time": "2026-02-23T03:47:12+00:00" }, { "name": "nette/utils", - "version": "v4.0.5", + "version": "v4.1.3", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" + "reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "url": "https://api.github.com/repos/nette/utils/zipball/bb3ea637e3d131d72acc033cfc2746ee893349fe", + "reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe", "shasum": "" }, "require": { - "php": "8.0 - 8.4" + "php": "8.2 - 8.5" }, "conflict": { "nette/finder": "<3", "nette/schema": "<1.2.2" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", + "jetbrains/phpstorm-attributes": "^1.2", + "nette/phpstan-rules": "^1.0", "nette/tester": "^2.5", - "phpstan/phpstan": "^1.0", + "phpstan/extension-installer": "^1.4@stable", + "phpstan/phpstan": "^2.1@stable", "tracy/tracy": "^2.9" }, "suggest": { @@ -3247,10 +3488,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "4.1-dev" } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -3291,22 +3535,22 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.5" + "source": "https://github.com/nette/utils/tree/v4.1.3" }, - "time": "2024-08-07T15:39:19+00:00" + "time": "2026-02-13T03:05:33+00:00" }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.7.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", "shasum": "" }, "require": { @@ -3325,7 +3569,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "5.x-dev" } }, "autoload": { @@ -3349,38 +3593,38 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2025-12-06T11:56:16+00:00" }, { "name": "nunomaduro/termwind", - "version": "v1.16.0", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "dcf1ec3dfa36137b7ce41d43866644a7ab8fc257" + "reference": "5369ef84d8142c1d87e4ec278711d4ece3cbf301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/dcf1ec3dfa36137b7ce41d43866644a7ab8fc257", - "reference": "dcf1ec3dfa36137b7ce41d43866644a7ab8fc257", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/5369ef84d8142c1d87e4ec278711d4ece3cbf301", + "reference": "5369ef84d8142c1d87e4ec278711d4ece3cbf301", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.1", - "symfony/console": "^6.4.12" + "symfony/console": "^6.4.15" }, "require-dev": { - "illuminate/console": "^10.48.22", - "illuminate/support": "^10.48.22", - "laravel/pint": "^1.18.1", - "pestphp/pest": "^2", + "illuminate/console": "^10.48.24", + "illuminate/support": "^10.48.24", + "laravel/pint": "^1.18.2", + "pestphp/pest": "^2.36.0", "pestphp/pest-plugin-mock": "2.0.0", - "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan": "^1.12.11", "phpstan/phpstan-strict-rules": "^1.6.1", - "symfony/var-dumper": "^6.4.11", + "symfony/var-dumper": "^6.4.15", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -3420,7 +3664,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v1.16.0" + "source": "https://github.com/nunomaduro/termwind/tree/v1.17.0" }, "funding": [ { @@ -3436,33 +3680,54 @@ "type": "github" } ], - "time": "2024-10-15T15:27:12+00:00" + "time": "2024-11-21T10:36:35+00:00" }, { - "name": "paragonie/constant_time_encoding", - "version": "v3.0.0", + "name": "openspout/openspout", + "version": "v4.28.5", "source": { "type": "git", - "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "df1e7fde177501eee2037dd159cf04f5f301a512" + "url": "https://github.com/openspout/openspout.git", + "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512", - "reference": "df1e7fde177501eee2037dd159cf04f5f301a512", + "url": "https://api.github.com/repos/openspout/openspout/zipball/ab05a09fe6fce57c90338f83280648a9786ce36b", + "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b", "shasum": "" }, "require": { - "php": "^8" + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-filter": "*", + "ext-libxml": "*", + "ext-xmlreader": "*", + "ext-zip": "*", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "phpunit/phpunit": "^9", - "vimeo/psalm": "^4|^5" + "ext-zlib": "*", + "friendsofphp/php-cs-fixer": "^3.68.3", + "infection/infection": "^0.29.10", + "phpbench/phpbench": "^1.4.0", + "phpstan/phpstan": "^2.1.2", + "phpstan/phpstan-phpunit": "^2.0.4", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "^11.5.4" + }, + "suggest": { + "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", + "ext-mbstring": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3.x-dev" + } + }, "autoload": { "psr-4": { - "ParagonIE\\ConstantTime\\": "src/" + "OpenSpout\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -3471,15 +3736,89 @@ ], "authors": [ { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com", - "role": "Maintainer" - }, - { - "name": "Steve 'Sc00bz' Thomas", - "email": "steve@tobtu.com", - "homepage": "https://www.tobtu.com", + "name": "Adrien Loison", + "email": "adrien@box.com" + } + ], + "description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way", + "homepage": "https://github.com/openspout/openspout", + "keywords": [ + "OOXML", + "csv", + "excel", + "memory", + "odf", + "ods", + "office", + "open", + "php", + "read", + "scale", + "spreadsheet", + "stream", + "write", + "xlsx" + ], + "support": { + "issues": "https://github.com/openspout/openspout/issues", + "source": "https://github.com/openspout/openspout/tree/v4.28.5" + }, + "funding": [ + { + "url": "https://paypal.me/filippotessarotto", + "type": "custom" + }, + { + "url": "https://github.com/Slamdunk", + "type": "github" + } + ], + "time": "2025-01-30T13:51:11+00:00" + }, + { + "name": "paragonie/constant_time_encoding", + "version": "v3.1.3", + "source": { + "type": "git", + "url": "https://github.com/paragonie/constant_time_encoding.git", + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", + "reference": "d5b01a39b3415c2cd581d3bd3a3575c1ebbd8e77", + "shasum": "" + }, + "require": { + "php": "^8" + }, + "require-dev": { + "infection/infection": "^0", + "nikic/php-fuzzer": "^0", + "phpunit/phpunit": "^9|^10|^11", + "vimeo/psalm": "^4|^5|^6" + }, + "type": "library", + "autoload": { + "psr-4": { + "ParagonIE\\ConstantTime\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com", + "role": "Maintainer" + }, + { + "name": "Steve 'Sc00bz' Thomas", + "email": "steve@tobtu.com", + "homepage": "https://www.tobtu.com", "role": "Original Developer" } ], @@ -3503,7 +3842,7 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2024-05-08T12:36:18+00:00" + "time": "2025-09-24T15:06:41+00:00" }, { "name": "paragonie/random_compat", @@ -3647,19 +3986,20 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.29.2", + "version": "1.30.4", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "3a5a818d7d3e4b5bd2e56fb9de44dbded6eae07f" + "reference": "02970383cc12e7bf0bc0707ea6e2e8ed23a7aec9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/3a5a818d7d3e4b5bd2e56fb9de44dbded6eae07f", - "reference": "3a5a818d7d3e4b5bd2e56fb9de44dbded6eae07f", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/02970383cc12e7bf0bc0707ea6e2e8ed23a7aec9", + "reference": "02970383cc12e7bf0bc0707ea6e2e8ed23a7aec9", "shasum": "" }, "require": { + "composer/pcre": "^1||^2||^3", "ext-ctype": "*", "ext-dom": "*", "ext-fileinfo": "*", @@ -3677,14 +4017,13 @@ "maennchen/zipstream-php": "^2.1 || ^3.0", "markbaker/complex": "^3.0", "markbaker/matrix": "^3.0", - "php": "^7.4 || ^8.0", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0", + "php": ">=7.4.0 <8.5.0", "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "dev-main", - "dompdf/dompdf": "^1.0 || ^2.0", + "doctrine/instantiator": "^1.5", + "dompdf/dompdf": "^1.0 || ^2.0 || ^3.0", "friendsofphp/php-cs-fixer": "^3.2", "mitoteam/jpgraph": "^10.3", "mpdf/mpdf": "^8.1.1", @@ -3730,6 +4069,9 @@ }, { "name": "Adrien Crivelli" + }, + { + "name": "Owen Leibman" } ], "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine", @@ -3746,22 +4088,22 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.2" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.30.4" }, - "time": "2024-09-29T07:04:47+00:00" + "time": "2026-04-19T06:00:39+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.3", + "version": "1.9.5", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/75365b91986c2405cf5e1e012c5595cd487a98be", + "reference": "75365b91986c2405cf5e1e012c5595cd487a98be", "shasum": "" }, "require": { @@ -3769,7 +4111,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.44 || ^9.6.25 || ^10.5.53 || ^11.5.34" }, "type": "library", "extra": { @@ -3811,7 +4153,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.5" }, "funding": [ { @@ -3823,20 +4165,20 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:41:07+00:00" + "time": "2025-12-27T19:41:33+00:00" }, { "name": "phpseclib/phpseclib", - "version": "3.0.42", + "version": "3.0.52", "source": { "type": "git", "url": "https://github.com/phpseclib/phpseclib.git", - "reference": "db92f1b1987b12b13f248fe76c3a52cadb67bb98" + "reference": "2adaefc83df2ec548558307690f376dd7d4f4fce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/db92f1b1987b12b13f248fe76c3a52cadb67bb98", - "reference": "db92f1b1987b12b13f248fe76c3a52cadb67bb98", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/2adaefc83df2ec548558307690f376dd7d4f4fce", + "reference": "2adaefc83df2ec548558307690f376dd7d4f4fce", "shasum": "" }, "require": { @@ -3917,7 +4259,7 @@ ], "support": { "issues": "https://github.com/phpseclib/phpseclib/issues", - "source": "https://github.com/phpseclib/phpseclib/tree/3.0.42" + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.52" }, "funding": [ { @@ -3933,7 +4275,7 @@ "type": "tidelift" } ], - "time": "2024-09-16T03:06:04+00:00" + "time": "2026-04-27T07:02:15+00:00" }, { "name": "psr/clock", @@ -4349,16 +4691,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.4", + "version": "v0.12.22", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" + "reference": "3be75d5b9244936dd4ac62ade2bfb004d13acf0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", - "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/3be75d5b9244936dd4ac62ade2bfb004d13acf0f", + "reference": "3be75d5b9244936dd4ac62ade2bfb004d13acf0f", "shasum": "" }, "require": { @@ -4366,18 +4708,19 @@ "ext-tokenizer": "*", "nikic/php-parser": "^5.0 || ^4.0", "php": "^8.0 || ^7.4", - "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" + "symfony/console": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^8.0 || ^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2" + "bamarni/composer-bin-plugin": "^1.2", + "composer/class-map-generator": "^1.6" }, "suggest": { + "composer/class-map-generator": "Improved tab completion performance with better class discovery.", "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", - "ext-pdo-sqlite": "The doc command requires SQLite to work.", "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ @@ -4385,12 +4728,12 @@ ], "type": "library", "extra": { - "branch-alias": { - "dev-main": "0.12.x-dev" - }, "bamarni-bin": { "bin-links": false, "forward-command": false + }, + "branch-alias": { + "dev-main": "0.12.x-dev" } }, "autoload": { @@ -4408,12 +4751,11 @@ "authors": [ { "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" + "email": "justin@justinhileman.info" } ], "description": "An interactive shell for modern PHP.", - "homepage": "http://psysh.org", + "homepage": "https://psysh.org", "keywords": [ "REPL", "console", @@ -4422,9 +4764,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.22" }, - "time": "2024-06-10T01:18:23+00:00" + "time": "2026-03-22T23:03:24+00:00" }, { "name": "ralouphie/getallheaders", @@ -4472,16 +4814,16 @@ }, { "name": "ramsey/collection", - "version": "2.0.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", - "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "url": "https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2", + "reference": "344572933ad0181accbf4ba763e85a0306a8c5e2", "shasum": "" }, "require": { @@ -4489,25 +4831,22 @@ }, "require-dev": { "captainhook/plugin-composer": "^5.3", - "ergebnis/composer-normalize": "^2.28.3", - "fakerphp/faker": "^1.21", + "ergebnis/composer-normalize": "^2.45", + "fakerphp/faker": "^1.24", "hamcrest/hamcrest-php": "^2.0", - "jangregor/phpstan-prophecy": "^1.0", - "mockery/mockery": "^1.5", + "jangregor/phpstan-prophecy": "^2.1", + "mockery/mockery": "^1.6", "php-parallel-lint/php-console-highlighter": "^1.0", - "php-parallel-lint/php-parallel-lint": "^1.3", - "phpcsstandards/phpcsutils": "^1.0.0-rc1", - "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1.2", - "phpstan/phpstan": "^1.9", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5", - "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18.4", - "ramsey/coding-standard": "^2.0.3", - "ramsey/conventional-commits": "^1.3", - "vimeo/psalm": "^5.4" + "php-parallel-lint/php-parallel-lint": "^1.4", + "phpspec/prophecy-phpunit": "^2.3", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^10.5", + "ramsey/coding-standard": "^2.3", + "ramsey/conventional-commits": "^1.6", + "roave/security-advisories": "dev-latest" }, "type": "library", "extra": { @@ -4545,37 +4884,26 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/2.0.0" + "source": "https://github.com/ramsey/collection/tree/2.1.1" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", - "type": "tidelift" - } - ], - "time": "2022-12-31T21:50:55+00:00" + "time": "2025-03-22T05:38:12+00:00" }, { "name": "ramsey/uuid", - "version": "4.7.6", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + "reference": "8429c78ca35a09f27565311b98101e2826affde0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/8429c78ca35a09f27565311b98101e2826affde0", + "reference": "8429c78ca35a09f27565311b98101e2826affde0", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", - "ext-json": "*", + "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -4583,26 +4911,23 @@ "rhumsaa/uuid": "self.version" }, "require-dev": { - "captainhook/captainhook": "^5.10", + "captainhook/captainhook": "^5.25", "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.8", - "ergebnis/composer-normalize": "^2.15", - "mockery/mockery": "^1.3", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "ergebnis/composer-normalize": "^2.47", + "mockery/mockery": "^1.6", "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.2", - "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^8.5 || ^9", - "ramsey/composer-repl": "^1.4", - "slevomat/coding-standard": "^8.4", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.9" + "php-mock/php-mock": "^2.6", + "php-mock/php-mock-mockery": "^1.5", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "phpbench/phpbench": "^1.2.14", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6", + "slevomat/coding-standard": "^8.18", + "squizlabs/php_codesniffer": "^3.13" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", @@ -4637,32 +4962,22 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.6" + "source": "https://github.com/ramsey/uuid/tree/4.9.2" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", - "type": "tidelift" - } - ], - "time": "2024-04-27T21:32:50+00:00" + "time": "2025-12-14T04:43:48+00:00" }, { "name": "sabberworm/php-css-parser", - "version": "v8.7.0", + "version": "v8.9.0", "source": { "type": "git", "url": "https://github.com/MyIntervals/PHP-CSS-Parser.git", - "reference": "f414ff953002a9b18e3a116f5e462c56f21237cf" + "reference": "d8e916507b88e389e26d4ab03c904a082aa66bb9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/f414ff953002a9b18e3a116f5e462c56f21237cf", - "reference": "f414ff953002a9b18e3a116f5e462c56f21237cf", + "url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/d8e916507b88e389e26d4ab03c904a082aa66bb9", + "reference": "d8e916507b88e389e26d4ab03c904a082aa66bb9", "shasum": "" }, "require": { @@ -4670,7 +4985,8 @@ "php": "^5.6.20 || ^7.0.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" }, "require-dev": { - "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.40" + "phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.41", + "rawr/cross-data-providers": "^2.0.0" }, "suggest": { "ext-mbstring": "for parsing UTF-8 CSS" @@ -4712,9 +5028,9 @@ ], "support": { "issues": "https://github.com/MyIntervals/PHP-CSS-Parser/issues", - "source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.7.0" + "source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.9.0" }, - "time": "2024-10-27T17:38:32+00:00" + "time": "2025-07-11T13:20:48+00:00" }, { "name": "spatie/laravel-permission", @@ -4744,14 +5060,14 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "5.x-dev", - "dev-master": "5.x-dev" - }, "laravel": { "providers": [ "Spatie\\Permission\\PermissionServiceProvider" ] + }, + "branch-alias": { + "dev-main": "5.x-dev", + "dev-master": "5.x-dev" } }, "autoload": { @@ -4800,16 +5116,16 @@ }, { "name": "symfony/console", - "version": "v6.4.13", + "version": "v6.4.36", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f793dd5a7d9ae9923e35d0503d08ba734cec1d79" + "reference": "9f481cfb580db8bcecc9b2d4c63f3e13df022ad5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f793dd5a7d9ae9923e35d0503d08ba734cec1d79", - "reference": "f793dd5a7d9ae9923e35d0503d08ba734cec1d79", + "url": "https://api.github.com/repos/symfony/console/zipball/9f481cfb580db8bcecc9b2d4c63f3e13df022ad5", + "reference": "9f481cfb580db8bcecc9b2d4c63f3e13df022ad5", "shasum": "" }, "require": { @@ -4874,7 +5190,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.13" + "source": "https://github.com/symfony/console/tree/v6.4.36" }, "funding": [ { @@ -4885,25 +5201,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-09T08:40:40+00:00" + "time": "2026-03-27T15:30:51+00:00" }, { "name": "symfony/css-selector", - "version": "v7.1.6", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "4aa4f6b3d6749c14d3aa815eef8226632e7bbc66" + "reference": "b055f228a4178a1d6774909903905e3475f3eac8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/4aa4f6b3d6749c14d3aa815eef8226632e7bbc66", - "reference": "4aa4f6b3d6749c14d3aa815eef8226632e7bbc66", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b055f228a4178a1d6774909903905e3475f3eac8", + "reference": "b055f228a4178a1d6774909903905e3475f3eac8", "shasum": "" }, "require": { @@ -4939,7 +5259,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.1.6" + "source": "https://github.com/symfony/css-selector/tree/v7.4.8" }, "funding": [ { @@ -4950,25 +5270,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.0", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { @@ -4976,12 +5300,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -5006,7 +5330,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -5022,20 +5346,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/error-handler", - "version": "v6.4.13", + "version": "v6.4.36", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c" + "reference": "2ea68f0e1835ad6a126f93bbc14cd236c10ab361" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c", - "reference": "e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/2ea68f0e1835ad6a126f93bbc14cd236c10ab361", + "reference": "2ea68f0e1835ad6a126f93bbc14cd236c10ab361", "shasum": "" }, "require": { @@ -5081,7 +5405,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.4.13" + "source": "https://github.com/symfony/error-handler/tree/v6.4.36" }, "funding": [ { @@ -5092,25 +5416,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2026-03-10T15:56:14+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.1.6", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "87254c78dd50721cfd015b62277a8281c5589702" + "reference": "f57b899fa736fd71121168ef268f23c206083f0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87254c78dd50721cfd015b62277a8281c5589702", - "reference": "87254c78dd50721cfd015b62277a8281c5589702", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f57b899fa736fd71121168ef268f23c206083f0a", + "reference": "f57b899fa736fd71121168ef268f23c206083f0a", "shasum": "" }, "require": { @@ -5127,13 +5455,14 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^6.4|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", - "symfony/error-handler": "^6.4|^7.0", - "symfony/expression-language": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0|^8.0", + "symfony/dependency-injection": "^6.4|^7.0|^8.0", + "symfony/error-handler": "^6.4|^7.0|^8.0", + "symfony/expression-language": "^6.4|^7.0|^8.0", + "symfony/framework-bundle": "^6.4|^7.0|^8.0", + "symfony/http-foundation": "^6.4|^7.0|^8.0", "symfony/service-contracts": "^2.5|^3", - "symfony/stopwatch": "^6.4|^7.0" + "symfony/stopwatch": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -5161,7 +5490,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.6" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.4.8" }, "funding": [ { @@ -5172,25 +5501,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-03-30T13:54:39+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.0", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + "reference": "59eb412e93815df44f05f342958efa9f46b1e586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", - "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", + "reference": "59eb412e93815df44f05f342958efa9f46b1e586", "shasum": "" }, "require": { @@ -5199,12 +5532,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -5237,7 +5570,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" }, "funding": [ { @@ -5253,20 +5586,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/finder", - "version": "v6.4.13", + "version": "v6.4.34", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958" + "reference": "9590e86be1d1c57bfbb16d0dd040345378c20896" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/daea9eca0b08d0ed1dc9ab702a46128fd1be4958", - "reference": "daea9eca0b08d0ed1dc9ab702a46128fd1be4958", + "url": "https://api.github.com/repos/symfony/finder/zipball/9590e86be1d1c57bfbb16d0dd040345378c20896", + "reference": "9590e86be1d1c57bfbb16d0dd040345378c20896", "shasum": "" }, "require": { @@ -5301,7 +5634,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.13" + "source": "https://github.com/symfony/finder/tree/v6.4.34" }, "funding": [ { @@ -5312,25 +5645,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-01T08:30:56+00:00" + "time": "2026-01-28T15:16:37+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.4.13", + "version": "v6.4.35", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "4c0341b3e0a7291e752c69d2a1ed9a84b68d604c" + "reference": "cffffd0a2c037117b742b4f8b379a22a2a33f6d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/4c0341b3e0a7291e752c69d2a1ed9a84b68d604c", - "reference": "4c0341b3e0a7291e752c69d2a1ed9a84b68d604c", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cffffd0a2c037117b742b4f8b379a22a2a33f6d2", + "reference": "cffffd0a2c037117b742b4f8b379a22a2a33f6d2", "shasum": "" }, "require": { @@ -5340,12 +5677,12 @@ "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.3" + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" }, "require-dev": { "doctrine/dbal": "^2.13.1|^3|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.3|^7.0", + "symfony/cache": "^6.4.12|^7.1.5", "symfony/dependency-injection": "^5.4|^6.0|^7.0", "symfony/expression-language": "^5.4|^6.0|^7.0", "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", @@ -5378,7 +5715,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.13" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.35" }, "funding": [ { @@ -5389,25 +5726,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-11T19:20:58+00:00" + "time": "2026-03-06T11:15:58+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.13", + "version": "v6.4.36", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "4474015c363ec0cd3bf47d55657e68630dbae66e" + "reference": "4087ec02119de450e9ebb60806d69c6bb8c6e468" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4474015c363ec0cd3bf47d55657e68630dbae66e", - "reference": "4474015c363ec0cd3bf47d55657e68630dbae66e", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4087ec02119de450e9ebb60806d69c6bb8c6e468", + "reference": "4087ec02119de450e9ebb60806d69c6bb8c6e468", "shasum": "" }, "require": { @@ -5448,7 +5789,7 @@ "symfony/config": "^6.1|^7.0", "symfony/console": "^5.4|^6.0|^7.0", "symfony/css-selector": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4.1|^7.0.1", "symfony/dom-crawler": "^5.4|^6.0|^7.0", "symfony/expression-language": "^5.4|^6.0|^7.0", "symfony/finder": "^5.4|^6.0|^7.0", @@ -5492,7 +5833,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.13" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.36" }, "funding": [ { @@ -5503,25 +5844,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-27T13:00:29+00:00" + "time": "2026-03-31T20:38:11+00:00" }, { "name": "symfony/mailer", - "version": "v6.4.13", + "version": "v6.4.34", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "c2f7e0d8d7ac8fe25faccf5d8cac462805db2663" + "reference": "01b846f48e53ee4096692a383637a1fa4d577301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/c2f7e0d8d7ac8fe25faccf5d8cac462805db2663", - "reference": "c2f7e0d8d7ac8fe25faccf5d8cac462805db2663", + "url": "https://api.github.com/repos/symfony/mailer/zipball/01b846f48e53ee4096692a383637a1fa4d577301", + "reference": "01b846f48e53ee4096692a383637a1fa4d577301", "shasum": "" }, "require": { @@ -5572,7 +5917,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.4.13" + "source": "https://github.com/symfony/mailer/tree/v6.4.34" }, "funding": [ { @@ -5583,25 +5928,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2026-02-24T09:34:36+00:00" }, { "name": "symfony/mime", - "version": "v6.4.13", + "version": "v6.4.36", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "1de1cf14d99b12c7ebbb850491ec6ae3ed468855" + "reference": "9c31726137c70798f815fb98293ffb8a2a47694c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/1de1cf14d99b12c7ebbb850491ec6ae3ed468855", - "reference": "1de1cf14d99b12c7ebbb850491ec6ae3ed468855", + "url": "https://api.github.com/repos/symfony/mime/zipball/9c31726137c70798f815fb98293ffb8a2a47694c", + "reference": "9c31726137c70798f815fb98293ffb8a2a47694c", "shasum": "" }, "require": { @@ -5657,7 +6006,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.13" + "source": "https://github.com/symfony/mime/tree/v6.4.36" }, "funding": [ { @@ -5668,25 +6017,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-25T15:07:50+00:00" + "time": "2026-03-30T09:31:23+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + "reference": "141046a8f9477948ff284fa65be2095baafb94f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", - "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/141046a8f9477948ff284fa65be2095baafb94f2", + "reference": "141046a8f9477948ff284fa65be2095baafb94f2", "shasum": "" }, "require": { @@ -5701,8 +6054,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -5736,7 +6089,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.37.0" }, "funding": [ { @@ -5747,25 +6100,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e", + "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e", "shasum": "" }, "require": { @@ -5777,8 +6134,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -5814,7 +6171,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0" }, "funding": [ { @@ -5825,25 +6182,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-26T13:13:48+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3", + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3", "shasum": "" }, "require": { @@ -5856,8 +6217,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -5897,7 +6258,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.37.0" }, "funding": [ { @@ -5908,16 +6269,20 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-09-10T14:38:51+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -5938,8 +6303,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -5978,7 +6343,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0" }, "funding": [ { @@ -5989,6 +6354,10 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" @@ -5998,19 +6367,20 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6a21eb99c6973357967f6ce3708cd55a6bec6315", + "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315", "shasum": "" }, "require": { + "ext-iconv": "*", "php": ">=7.2" }, "provide": { @@ -6022,8 +6392,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6058,7 +6428,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.37.0" }, "funding": [ { @@ -6069,25 +6439,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T17:25:58+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dfb55726c3a76ea3b6459fcfda1ec2d80a682411", + "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411", "shasum": "" }, "require": { @@ -6096,8 +6470,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6138,7 +6512,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.37.0" }, "funding": [ { @@ -6149,25 +6523,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + "reference": "3600c2cb22399e25bb226e4a135ce91eeb2a6149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/3600c2cb22399e25bb226e4a135ce91eeb2a6149", + "reference": "3600c2cb22399e25bb226e4a135ce91eeb2a6149", "shasum": "" }, "require": { @@ -6176,8 +6554,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6214,7 +6592,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.37.0" }, "funding": [ { @@ -6225,25 +6603,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T17:25:58+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.31.0", + "version": "v1.37.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" + "reference": "26dfec253c4cf3e51b541b52ddf7e42cb0908e94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", - "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/26dfec253c4cf3e51b541b52ddf7e42cb0908e94", + "reference": "26dfec253c4cf3e51b541b52ddf7e42cb0908e94", "shasum": "" }, "require": { @@ -6258,8 +6640,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -6293,7 +6675,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.37.0" }, "funding": [ { @@ -6304,25 +6686,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2026-04-10T16:19:22+00:00" }, { "name": "symfony/process", - "version": "v6.4.13", + "version": "v6.4.33", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "1f9f59b46880201629df3bd950fc5ae8c55b960f" + "reference": "c46e854e79b52d07666e43924a20cb6dc546644e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/1f9f59b46880201629df3bd950fc5ae8c55b960f", - "reference": "1f9f59b46880201629df3bd950fc5ae8c55b960f", + "url": "https://api.github.com/repos/symfony/process/zipball/c46e854e79b52d07666e43924a20cb6dc546644e", + "reference": "c46e854e79b52d07666e43924a20cb6dc546644e", "shasum": "" }, "require": { @@ -6354,7 +6740,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.13" + "source": "https://github.com/symfony/process/tree/v6.4.33" }, "funding": [ { @@ -6365,25 +6751,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2026-01-23T16:02:12+00:00" }, { "name": "symfony/routing", - "version": "v6.4.13", + "version": "v6.4.34", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "640a74250d13f9c30d5ca045b6aaaabcc8215278" + "reference": "5ab3a3e1a03535ec5ca6ce2d39e4369a1096ae47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/640a74250d13f9c30d5ca045b6aaaabcc8215278", - "reference": "640a74250d13f9c30d5ca045b6aaaabcc8215278", + "url": "https://api.github.com/repos/symfony/routing/zipball/5ab3a3e1a03535ec5ca6ce2d39e4369a1096ae47", + "reference": "5ab3a3e1a03535ec5ca6ce2d39e4369a1096ae47", "shasum": "" }, "require": { @@ -6437,7 +6827,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.13" + "source": "https://github.com/symfony/routing/tree/v6.4.34" }, "funding": [ { @@ -6448,25 +6838,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-01T08:30:56+00:00" + "time": "2026-02-24T17:34:50+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.0", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/45112560a3ba2d715666a509a0bc9521d10b6c43", + "reference": "45112560a3ba2d715666a509a0bc9521d10b6c43", "shasum": "" }, "require": { @@ -6479,12 +6873,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -6520,7 +6914,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.1" }, "funding": [ { @@ -6531,31 +6925,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2025-07-15T11:30:57+00:00" }, { "name": "symfony/string", - "version": "v7.1.6", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626" + "reference": "114ac57257d75df748eda23dd003878080b8e688" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/61b72d66bf96c360a727ae6232df5ac83c71f626", - "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626", + "url": "https://api.github.com/repos/symfony/string/zipball/114ac57257d75df748eda23dd003878080b8e688", + "reference": "114ac57257d75df748eda23dd003878080b8e688", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-grapheme": "~1.33", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, @@ -6563,12 +6962,11 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/emoji": "^7.1", - "symfony/error-handler": "^6.4|^7.0", - "symfony/http-client": "^6.4|^7.0", - "symfony/intl": "^6.4|^7.0", + "symfony/emoji": "^7.1|^8.0", + "symfony/http-client": "^6.4|^7.0|^8.0", + "symfony/intl": "^6.4|^7.0|^8.0", "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^6.4|^7.0" + "symfony/var-exporter": "^6.4|^7.0|^8.0" }, "type": "library", "autoload": { @@ -6607,7 +7005,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.6" + "source": "https://github.com/symfony/string/tree/v7.4.8" }, "funding": [ { @@ -6618,25 +7016,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "symfony/translation", - "version": "v6.4.13", + "version": "v6.4.34", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bee9bfabfa8b4045a66bf82520e492cddbaffa66" + "reference": "d07d117db41341511671b0a1a2be48f2772189ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bee9bfabfa8b4045a66bf82520e492cddbaffa66", - "reference": "bee9bfabfa8b4045a66bf82520e492cddbaffa66", + "url": "https://api.github.com/repos/symfony/translation/zipball/d07d117db41341511671b0a1a2be48f2772189ce", + "reference": "d07d117db41341511671b0a1a2be48f2772189ce", "shasum": "" }, "require": { @@ -6702,7 +7104,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.13" + "source": "https://github.com/symfony/translation/tree/v6.4.34" }, "funding": [ { @@ -6713,25 +7115,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-27T18:14:25+00:00" + "time": "2026-02-16T20:44:03+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.5.0", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" + "reference": "65a8bc82080447fae78373aa10f8d13b38338977" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/65a8bc82080447fae78373aa10f8d13b38338977", + "reference": "65a8bc82080447fae78373aa10f8d13b38338977", "shasum": "" }, "require": { @@ -6739,12 +7145,12 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.5-dev" - }, "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { @@ -6780,7 +7186,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.6.1" }, "funding": [ { @@ -6791,25 +7197,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2025-07-15T13:41:35+00:00" }, { "name": "symfony/uid", - "version": "v6.4.13", + "version": "v6.4.32", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "18eb207f0436a993fffbdd811b5b8fa35fa5e007" + "reference": "6b973c385f00341b246f697d82dc01a09107acdd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/18eb207f0436a993fffbdd811b5b8fa35fa5e007", - "reference": "18eb207f0436a993fffbdd811b5b8fa35fa5e007", + "url": "https://api.github.com/repos/symfony/uid/zipball/6b973c385f00341b246f697d82dc01a09107acdd", + "reference": "6b973c385f00341b246f697d82dc01a09107acdd", "shasum": "" }, "require": { @@ -6854,7 +7264,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.4.13" + "source": "https://github.com/symfony/uid/tree/v6.4.32" }, "funding": [ { @@ -6865,25 +7275,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2025-12-23T15:07:59+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.13", + "version": "v6.4.36", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41" + "reference": "7c8ad9ce4faf6c8a99948e70ce02b601a0439782" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41", - "reference": "2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7c8ad9ce4faf6c8a99948e70ce02b601a0439782", + "reference": "7c8ad9ce4faf6c8a99948e70ce02b601a0439782", "shasum": "" }, "require": { @@ -6895,7 +7309,6 @@ "symfony/console": "<5.4" }, "require-dev": { - "ext-iconv": "*", "symfony/console": "^5.4|^6.0|^7.0", "symfony/error-handler": "^6.3|^7.0", "symfony/http-kernel": "^5.4|^6.0|^7.0", @@ -6939,7 +7352,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.13" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.36" }, "funding": [ { @@ -6950,40 +7363,46 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2026-03-30T15:36:00+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "v2.2.7", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", - "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/f0292ccf0ec75843d65027214426b6b163b48b41", + "reference": "f0292ccf0ec75843d65027214426b6b163b48b41", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", - "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + "php": "^7.4 || ^8.0", + "symfony/css-selector": "^5.4 || ^6.0 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^8.5.21 || ^9.5.10" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -7006,32 +7425,32 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.4.0" }, - "time": "2023-12-08T13:03:43+00:00" + "time": "2025-12-02T11:56:42+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.6.1", + "version": "v5.6.3", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" + "reference": "955e7815d677a3eaa7075231212f2110983adecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/955e7815d677a3eaa7075231212f2110983adecc", + "reference": "955e7815d677a3eaa7075231212f2110983adecc", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.1.3", + "graham-campbell/result-type": "^1.1.4", "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.3", - "symfony/polyfill-ctype": "^1.24", - "symfony/polyfill-mbstring": "^1.24", - "symfony/polyfill-php80": "^1.24" + "phpoption/phpoption": "^1.9.5", + "symfony/polyfill-ctype": "^1.26", + "symfony/polyfill-mbstring": "^1.26", + "symfony/polyfill-php80": "^1.26" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", @@ -7080,7 +7499,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.3" }, "funding": [ { @@ -7092,27 +7511,27 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:52:34+00:00" + "time": "2025-12-27T19:49:13+00:00" }, { "name": "voku/portable-ascii", - "version": "2.0.1", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "b56450eed252f6801410d810c8e1727224ae0743" + "reference": "8e1051fe39379367aecf014f41744ce7539a856f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", - "reference": "b56450eed252f6801410d810c8e1727224ae0743", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/8e1051fe39379367aecf014f41744ce7539a856f", + "reference": "8e1051fe39379367aecf014f41744ce7539a856f", "shasum": "" }, "require": { - "php": ">=7.0.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + "phpunit/phpunit": "~8.5 || ~9.6 || ~10.5 || ~11.5" }, "suggest": { "ext-intl": "Use Intl for transliterator_transliterate() support" @@ -7130,7 +7549,7 @@ "authors": [ { "name": "Lars Moelleken", - "homepage": "http://www.moelleken.org/" + "homepage": "https://www.moelleken.org/" } ], "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", @@ -7142,7 +7561,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/2.0.1" + "source": "https://github.com/voku/portable-ascii/tree/2.1.1" }, "funding": [ { @@ -7166,84 +7585,27 @@ "type": "tidelift" } ], - "time": "2022-03-08T17:03:00+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.11.0" - }, - "time": "2022-06-03T18:03:27+00:00" + "time": "2026-04-26T05:33:54+00:00" }, { "name": "yajra/laravel-datatables", - "version": "v10.0.0", + "version": "v10.1.0", "source": { "type": "git", "url": "https://github.com/yajra/datatables.git", - "reference": "5a65f1b611a53a07530915619869ec87dcb823ad" + "reference": "7837d079edd88f088755a62b254e32068dfe16e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yajra/datatables/zipball/5a65f1b611a53a07530915619869ec87dcb823ad", - "reference": "5a65f1b611a53a07530915619869ec87dcb823ad", + "url": "https://api.github.com/repos/yajra/datatables/zipball/7837d079edd88f088755a62b254e32068dfe16e1", + "reference": "7837d079edd88f088755a62b254e32068dfe16e1", "shasum": "" }, "require": { "php": "^8.1", "yajra/laravel-datatables-buttons": "^10", "yajra/laravel-datatables-editor": "1.*", + "yajra/laravel-datatables-export": "^10", "yajra/laravel-datatables-fractal": "^10", "yajra/laravel-datatables-html": "^10", "yajra/laravel-datatables-oracle": "^10" @@ -7272,7 +7634,7 @@ ], "support": { "issues": "https://github.com/yajra/datatables/issues", - "source": "https://github.com/yajra/datatables/tree/v10.0.0" + "source": "https://github.com/yajra/datatables/tree/v10.1.0" }, "funding": [ { @@ -7280,7 +7642,7 @@ "type": "github" } ], - "time": "2023-02-07T09:44:57+00:00" + "time": "2023-02-20T05:26:34+00:00" }, { "name": "yajra/laravel-datatables-buttons", @@ -7318,15 +7680,15 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "10.0-dev" - }, "laravel": { "providers": [ "Yajra\\DataTables\\ButtonsServiceProvider" ] - } - }, + }, + "branch-alias": { + "dev-master": "10.0-dev" + } + }, "autoload": { "psr-4": { "Yajra\\DataTables\\": "src/" @@ -7387,13 +7749,13 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, "laravel": { "providers": [ "Yajra\\DataTables\\EditorServiceProvider" ] + }, + "branch-alias": { + "dev-master": "1.0-dev" } }, "autoload": { @@ -7440,6 +7802,79 @@ ], "time": "2023-02-21T06:57:59+00:00" }, + { + "name": "yajra/laravel-datatables-export", + "version": "v10.1.1", + "source": { + "type": "git", + "url": "https://github.com/yajra/laravel-datatables-export.git", + "reference": "18a1a22195af7b22b03ba07b47946b1e0aa176f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/yajra/laravel-datatables-export/zipball/18a1a22195af7b22b03ba07b47946b1e0aa176f2", + "reference": "18a1a22195af7b22b03ba07b47946b1e0aa176f2", + "shasum": "" + }, + "require": { + "ext-json": "*", + "livewire/livewire": "^2.11.2|^3.0.1", + "openspout/openspout": "^4.12.1", + "php": "^8.1", + "phpoffice/phpspreadsheet": "^1.27", + "yajra/laravel-datatables": "^10.0" + }, + "require-dev": { + "nunomaduro/larastan": "^2.4.1", + "orchestra/testbench": "^8.0.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Yajra\\DataTables\\ExportServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "10.0-dev" + } + }, + "autoload": { + "psr-4": { + "Yajra\\DataTables\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Arjay Angeles", + "email": "aqangeles@gmail.com" + } + ], + "description": "Laravel DataTables Queued Export Plugin.", + "keywords": [ + "datatables", + "excel", + "export", + "laravel", + "livewire", + "queue" + ], + "support": { + "issues": "https://github.com/yajra/laravel-datatables-export/issues", + "source": "https://github.com/yajra/laravel-datatables-export/tree/v10.1.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/yajra", + "type": "github" + } + ], + "time": "2023-11-14T12:59:00+00:00" + }, { "name": "yajra/laravel-datatables-fractal", "version": "v10.0.0", @@ -7465,13 +7900,13 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "10.0-dev" - }, "laravel": { "providers": [ "Yajra\\DataTables\\FractalServiceProvider" ] + }, + "branch-alias": { + "dev-master": "10.0-dev" } }, "autoload": { @@ -7527,13 +7962,13 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "10.0-dev" - }, "laravel": { "providers": [ "Yajra\\DataTables\\HtmlServiceProvider" ] + }, + "branch-alias": { + "dev-master": "10.0-dev" } }, "autoload": { @@ -7618,16 +8053,16 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "10.x-dev" - }, "laravel": { - "providers": [ - "Yajra\\DataTables\\DataTablesServiceProvider" - ], "aliases": { "DataTables": "Yajra\\DataTables\\Facades\\DataTables" - } + }, + "providers": [ + "Yajra\\DataTables\\DataTablesServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "10.x-dev" } }, "autoload": { @@ -7670,44 +8105,44 @@ "packages-dev": [ { "name": "barryvdh/laravel-debugbar", - "version": "v3.14.6", + "version": "v3.16.5", "source": { "type": "git", - "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "14e4517bd49130d6119228107eb21ae47ae120ab" + "url": "https://github.com/fruitcake/laravel-debugbar.git", + "reference": "e85c0a8464da67e5b4a53a42796d46a43fc06c9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/14e4517bd49130d6119228107eb21ae47ae120ab", - "reference": "14e4517bd49130d6119228107eb21ae47ae120ab", + "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/e85c0a8464da67e5b4a53a42796d46a43fc06c9a", + "reference": "e85c0a8464da67e5b4a53a42796d46a43fc06c9a", "shasum": "" }, "require": { - "illuminate/routing": "^9|^10|^11", - "illuminate/session": "^9|^10|^11", - "illuminate/support": "^9|^10|^11", - "maximebf/debugbar": "~1.23.0", - "php": "^8.0", - "symfony/finder": "^6|^7" + "illuminate/routing": "^10|^11|^12", + "illuminate/session": "^10|^11|^12", + "illuminate/support": "^10|^11|^12", + "php": "^8.1", + "php-debugbar/php-debugbar": "^2.2.4", + "symfony/finder": "^6|^7|^8" }, "require-dev": { "mockery/mockery": "^1.3.3", - "orchestra/testbench-dusk": "^5|^6|^7|^8|^9", - "phpunit/phpunit": "^9.6|^10.5", + "orchestra/testbench-dusk": "^7|^8|^9|^10", + "phpunit/phpunit": "^9.5.10|^10|^11", "squizlabs/php_codesniffer": "^3.5" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.14-dev" - }, "laravel": { - "providers": [ - "Barryvdh\\Debugbar\\ServiceProvider" - ], "aliases": { "Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar" - } + }, + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ] + }, + "branch-alias": { + "dev-master": "3.16-dev" } }, "autoload": { @@ -7732,13 +8167,14 @@ "keywords": [ "debug", "debugbar", + "dev", "laravel", "profiler", "webprofiler" ], "support": { - "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.14.6" + "issues": "https://github.com/fruitcake/laravel-debugbar/issues", + "source": "https://github.com/fruitcake/laravel-debugbar/tree/v3.16.5" }, "funding": [ { @@ -7750,20 +8186,20 @@ "type": "github" } ], - "time": "2024-10-18T13:15:12+00:00" + "time": "2026-01-23T15:03:22+00:00" }, { "name": "fakerphp/faker", - "version": "v1.23.1", + "version": "v1.24.1", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", + "reference": "e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5", "shasum": "" }, "require": { @@ -7811,22 +8247,22 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.24.1" }, - "time": "2024-01-02T13:46:09+00:00" + "time": "2024-11-21T13:46:39+00:00" }, { "name": "filp/whoops", - "version": "2.16.0", + "version": "2.18.4", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", - "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", + "url": "https://api.github.com/repos/filp/whoops/zipball/d2102955e48b9fd9ab24280a7ad12ed552752c4d", + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d", "shasum": "" }, "require": { @@ -7876,7 +8312,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.16.0" + "source": "https://github.com/filp/whoops/tree/2.18.4" }, "funding": [ { @@ -7884,24 +8320,24 @@ "type": "github" } ], - "time": "2024-09-25T12:00:00+00:00" + "time": "2025-08-08T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", + "version": "v2.1.1", "source": { "type": "git", "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", "shasum": "" }, "require": { - "php": "^5.3|^7.0|^8.0" + "php": "^7.4|^8.0" }, "replace": { "cordoval/hamcrest-php": "*", @@ -7909,8 +8345,8 @@ "kodova/hamcrest-php": "*" }, "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + "phpunit/php-file-iterator": "^1.4 || ^2.0 || ^3.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { @@ -7933,22 +8369,22 @@ ], "support": { "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.1.1" }, - "time": "2020-07-09T08:09:16+00:00" + "time": "2025-04-30T06:54:44+00:00" }, { "name": "laravel/pint", - "version": "v1.18.1", + "version": "v1.29.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9" + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/35c00c05ec43e6b46d295efc0f4386ceb30d50d9", - "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "url": "https://api.github.com/repos/laravel/pint/zipball/0770e9b7fafd50d4586881d456d6eb41c9247a80", + "reference": "0770e9b7fafd50d4586881d456d6eb41c9247a80", "shasum": "" }, "require": { @@ -7956,16 +8392,17 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.1.0" + "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.64.0", - "illuminate/view": "^10.48.20", - "larastan/larastan": "^2.9.8", - "laravel-zero/framework": "^10.4.0", + "friendsofphp/php-cs-fixer": "^3.95.1", + "illuminate/view": "^12.56.0", + "larastan/larastan": "^3.9.6", + "laravel-zero/framework": "^12.1.0", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.35.1" + "nunomaduro/termwind": "^2.4.0", + "pestphp/pest": "^3.8.6", + "shipfastlabs/agent-detector": "^1.1.3" }, "bin": [ "builds/pint" @@ -7991,6 +8428,7 @@ "description": "An opinionated code formatter for PHP.", "homepage": "https://laravel.com", "keywords": [ + "dev", "format", "formatter", "lint", @@ -8001,33 +8439,33 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-09-24T17:22:50+00:00" + "time": "2026-04-20T15:26:14+00:00" }, { "name": "laravel/sail", - "version": "v1.37.1", + "version": "v1.57.0", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "7efa151ea0d16f48233d6a6cd69f81270acc6e93" + "reference": "fa8d057b6e9310380ccbc3a209ed7f927d54f648" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/7efa151ea0d16f48233d6a6cd69f81270acc6e93", - "reference": "7efa151ea0d16f48233d6a6cd69f81270acc6e93", + "url": "https://api.github.com/repos/laravel/sail/zipball/fa8d057b6e9310380ccbc3a209ed7f927d54f648", + "reference": "fa8d057b6e9310380ccbc3a209ed7f927d54f648", "shasum": "" }, "require": { - "illuminate/console": "^9.52.16|^10.0|^11.0", - "illuminate/contracts": "^9.52.16|^10.0|^11.0", - "illuminate/support": "^9.52.16|^10.0|^11.0", + "illuminate/console": "^9.52.16|^10.0|^11.0|^12.0|^13.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0|^12.0|^13.0", + "illuminate/support": "^9.52.16|^10.0|^11.0|^12.0|^13.0", "php": "^8.0", - "symfony/console": "^6.0|^7.0", - "symfony/yaml": "^6.0|^7.0" + "symfony/console": "^6.0|^7.0|^8.0", + "symfony/yaml": "^6.0|^7.0|^8.0" }, "require-dev": { - "orchestra/testbench": "^7.0|^8.0|^9.0", - "phpstan/phpstan": "^1.10" + "orchestra/testbench": "^7.0|^8.0|^9.0|^10.0|^11.0", + "phpstan/phpstan": "^2.0" }, "bin": [ "bin/sail" @@ -8064,75 +8502,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2024-10-29T20:18:14+00:00" - }, - { - "name": "maximebf/debugbar", - "version": "v1.23.3", - "source": { - "type": "git", - "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "687400043d77943ef95e8417cb44e1673ee57844" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/687400043d77943ef95e8417cb44e1673ee57844", - "reference": "687400043d77943ef95e8417cb44e1673ee57844", - "shasum": "" - }, - "require": { - "php": "^7.2|^8", - "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^4|^5|^6|^7" - }, - "require-dev": { - "dbrekelmans/bdi": "^1", - "phpunit/phpunit": "^8|^9", - "symfony/panther": "^1|^2.1", - "twig/twig": "^1.38|^2.7|^3.0" - }, - "suggest": { - "kriswallsmith/assetic": "The best way to manage assets", - "monolog/monolog": "Log using Monolog", - "predis/predis": "Redis storage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.23-dev" - } - }, - "autoload": { - "psr-4": { - "DebugBar\\": "src/DebugBar/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Maxime Bouroumeau-Fuseau", - "email": "maxime.bouroumeau@gmail.com", - "homepage": "http://maximebf.com" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "Debug bar in the browser for php application", - "homepage": "https://github.com/maximebf/php-debugbar", - "keywords": [ - "debug", - "debugbar" - ], - "support": { - "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.23.3" - }, - "time": "2024-10-29T12:24:25+00:00" + "time": "2026-04-14T13:32:04+00:00" }, { "name": "mockery/mockery", @@ -8219,16 +8589,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.0", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -8267,7 +8637,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -8275,44 +8645,44 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nunomaduro/collision", - "version": "v7.11.0", + "version": "v7.12.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "994ea93df5d4132f69d3f1bd74730509df6e8a05" + "reference": "995245421d3d7593a6960822063bdba4f5d7cf1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/994ea93df5d4132f69d3f1bd74730509df6e8a05", - "reference": "994ea93df5d4132f69d3f1bd74730509df6e8a05", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/995245421d3d7593a6960822063bdba4f5d7cf1a", + "reference": "995245421d3d7593a6960822063bdba4f5d7cf1a", "shasum": "" }, "require": { - "filp/whoops": "^2.16.0", - "nunomaduro/termwind": "^1.15.1", + "filp/whoops": "^2.17.0", + "nunomaduro/termwind": "^1.17.0", "php": "^8.1.0", - "symfony/console": "^6.4.12" + "symfony/console": "^6.4.17" }, "conflict": { "laravel/framework": ">=11.0.0" }, "require-dev": { - "brianium/paratest": "^7.3.1", - "laravel/framework": "^10.48.22", - "laravel/pint": "^1.18.1", - "laravel/sail": "^1.36.0", + "brianium/paratest": "^7.4.8", + "laravel/framework": "^10.48.29", + "laravel/pint": "^1.21.2", + "laravel/sail": "^1.41.0", "laravel/sanctum": "^3.3.3", - "laravel/tinker": "^2.10.0", - "nunomaduro/larastan": "^2.9.8", - "orchestra/testbench-core": "^8.28.3", - "pestphp/pest": "^2.35.1", + "laravel/tinker": "^2.10.1", + "nunomaduro/larastan": "^2.10.0", + "orchestra/testbench-core": "^8.35.0", + "pestphp/pest": "^2.36.0", "phpunit/phpunit": "^10.5.36", "sebastian/environment": "^6.1.0", - "spatie/laravel-ignition": "^2.8.0" + "spatie/laravel-ignition": "^2.9.1" }, "type": "library", "extra": { @@ -8371,7 +8741,7 @@ "type": "patreon" } ], - "time": "2024-10-15T15:12:40+00:00" + "time": "2025-03-14T22:35:49+00:00" }, { "name": "phar-io/manifest", @@ -8491,6 +8861,80 @@ }, "time": "2022-02-21T01:04:05+00:00" }, + { + "name": "php-debugbar/php-debugbar", + "version": "v2.2.6", + "source": { + "type": "git", + "url": "https://github.com/php-debugbar/php-debugbar.git", + "reference": "abb9fa3c5c8dbe7efe03ddba56782917481de3e8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/abb9fa3c5c8dbe7efe03ddba56782917481de3e8", + "reference": "abb9fa3c5c8dbe7efe03ddba56782917481de3e8", + "shasum": "" + }, + "require": { + "php": "^8.1", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^5.4|^6.4|^7.3|^8.0" + }, + "replace": { + "maximebf/debugbar": "self.version" + }, + "require-dev": { + "dbrekelmans/bdi": "^1", + "phpunit/phpunit": "^10", + "symfony/browser-kit": "^6.0|7.0", + "symfony/panther": "^1|^2.1", + "twig/twig": "^3.11.2" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/php-debugbar/php-debugbar", + "keywords": [ + "debug", + "debug bar", + "debugbar", + "dev" + ], + "support": { + "issues": "https://github.com/php-debugbar/php-debugbar/issues", + "source": "https://github.com/php-debugbar/php-debugbar/tree/v2.2.6" + }, + "time": "2025-12-22T13:21:32+00:00" + }, { "name": "phpunit/php-code-coverage", "version": "10.1.16", @@ -8814,16 +9258,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.38", + "version": "10.5.63", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a86773b9e887a67bc53efa9da9ad6e3f2498c132" + "reference": "33198268dad71e926626b618f3ec3966661e4d90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a86773b9e887a67bc53efa9da9ad6e3f2498c132", - "reference": "a86773b9e887a67bc53efa9da9ad6e3f2498c132", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/33198268dad71e926626b618f3ec3966661e4d90", + "reference": "33198268dad71e926626b618f3ec3966661e4d90", "shasum": "" }, "require": { @@ -8833,7 +9277,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.0", + "myclabs/deep-copy": "^1.13.4", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.1", @@ -8844,13 +9288,13 @@ "phpunit/php-timer": "^6.0.0", "sebastian/cli-parser": "^2.0.1", "sebastian/code-unit": "^2.0.0", - "sebastian/comparator": "^5.0.3", + "sebastian/comparator": "^5.0.5", "sebastian/diff": "^5.1.1", "sebastian/environment": "^6.1.0", - "sebastian/exporter": "^5.1.2", + "sebastian/exporter": "^5.1.4", "sebastian/global-state": "^6.0.2", "sebastian/object-enumerator": "^5.0.0", - "sebastian/recursion-context": "^5.0.0", + "sebastian/recursion-context": "^5.0.1", "sebastian/type": "^4.0.0", "sebastian/version": "^4.0.1" }, @@ -8895,7 +9339,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.38" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.63" }, "funding": [ { @@ -8906,12 +9350,20 @@ "url": "https://github.com/sebastianbergmann", "type": "github" }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, { "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", "type": "tidelift" } ], - "time": "2024-10-28T13:06:21+00:00" + "time": "2026-01-27T05:48:37+00:00" }, { "name": "sebastian/cli-parser", @@ -9083,16 +9535,16 @@ }, { "name": "sebastian/comparator", - "version": "5.0.3", + "version": "5.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" + "reference": "55dfef806eb7dfeb6e7a6935601fef866f8ca48d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", - "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55dfef806eb7dfeb6e7a6935601fef866f8ca48d", + "reference": "55dfef806eb7dfeb6e7a6935601fef866f8ca48d", "shasum": "" }, "require": { @@ -9148,15 +9600,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.5" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/comparator", + "type": "tidelift" } ], - "time": "2024-10-18T14:56:07+00:00" + "time": "2026-01-24T09:25:16+00:00" }, { "name": "sebastian/complexity", @@ -9349,16 +9813,16 @@ }, { "name": "sebastian/exporter", - "version": "5.1.2", + "version": "5.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + "reference": "0735b90f4da94969541dac1da743446e276defa6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0735b90f4da94969541dac1da743446e276defa6", + "reference": "0735b90f4da94969541dac1da743446e276defa6", "shasum": "" }, "require": { @@ -9367,7 +9831,7 @@ "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -9415,15 +9879,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/exporter", + "type": "tidelift" } ], - "time": "2024-03-02T07:17:12+00:00" + "time": "2025-09-24T06:09:11+00:00" }, { "name": "sebastian/global-state", @@ -9659,23 +10135,23 @@ }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "47e34210757a2f37a97dcd207d032e1b01e64c7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/47e34210757a2f37a97dcd207d032e1b01e64c7a", + "reference": "47e34210757a2f37a97dcd207d032e1b01e64c7a", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -9710,15 +10186,28 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/recursion-context", + "type": "tidelift" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2025-08-10T07:50:56+00:00" }, { "name": "sebastian/type", @@ -9831,27 +10320,27 @@ }, { "name": "spatie/backtrace", - "version": "1.6.2", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9" + "reference": "8ffe78be5ed355b5009e3dd989d183433e9a5adc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/1a9a145b044677ae3424693f7b06479fc8c137a9", - "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/8ffe78be5ed355b5009e3dd989d183433e9a5adc", + "reference": "8ffe78be5ed355b5009e3dd989d183433e9a5adc", "shasum": "" }, "require": { - "php": "^7.3|^8.0" + "php": "^7.3 || ^8.0" }, "require-dev": { "ext-json": "*", - "laravel/serializable-closure": "^1.3", - "phpunit/phpunit": "^9.3", - "spatie/phpunit-snapshot-assertions": "^4.2", - "symfony/var-dumper": "^5.1" + "laravel/serializable-closure": "^1.3 || ^2.0", + "phpunit/phpunit": "^9.3 || ^11.4.3", + "spatie/phpunit-snapshot-assertions": "^4.2 || ^5.1.6", + "symfony/var-dumper": "^5.1|^6.0|^7.0|^8.0" }, "type": "library", "autoload": { @@ -9878,7 +10367,8 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.6.2" + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.8.2" }, "funding": [ { @@ -9890,34 +10380,34 @@ "type": "other" } ], - "time": "2024-07-22T08:21:24+00:00" + "time": "2026-03-11T13:48:28+00:00" }, { "name": "spatie/error-solutions", - "version": "1.1.1", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/spatie/error-solutions.git", - "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67" + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/error-solutions/zipball/ae7393122eda72eed7cc4f176d1e96ea444f2d67", - "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", + "reference": "e495d7178ca524f2dd0fe6a1d99a1e608e1c9936", "shasum": "" }, "require": { "php": "^8.0" }, "require-dev": { - "illuminate/broadcasting": "^10.0|^11.0", - "illuminate/cache": "^10.0|^11.0", - "illuminate/support": "^10.0|^11.0", - "livewire/livewire": "^2.11|^3.3.5", + "illuminate/broadcasting": "^10.0|^11.0|^12.0", + "illuminate/cache": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "livewire/livewire": "^2.11|^3.5.20", "openai-php/client": "^0.10.1", - "orchestra/testbench": "^7.0|8.22.3|^9.0", - "pestphp/pest": "^2.20", - "phpstan/phpstan": "^1.11", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.20|^3.0", + "phpstan/phpstan": "^2.1", "psr/simple-cache": "^3.0", "psr/simple-cache-implementation": "^3.0", "spatie/ray": "^1.28", @@ -9956,7 +10446,7 @@ ], "support": { "issues": "https://github.com/spatie/error-solutions/issues", - "source": "https://github.com/spatie/error-solutions/tree/1.1.1" + "source": "https://github.com/spatie/error-solutions/tree/1.1.3" }, "funding": [ { @@ -9964,30 +10454,30 @@ "type": "github" } ], - "time": "2024-07-25T11:06:04+00:00" + "time": "2025-02-14T12:29:50+00:00" }, { "name": "spatie/flare-client-php", - "version": "1.8.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122" + "reference": "fb3ffb946675dba811fbde9122224db2f84daca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", - "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/fb3ffb946675dba811fbde9122224db2f84daca9", + "reference": "fb3ffb946675dba811fbde9122224db2f84daca9", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0", "php": "^8.0", "spatie/backtrace": "^1.6.1", - "symfony/http-foundation": "^5.2|^6.0|^7.0", - "symfony/mime": "^5.2|^6.0|^7.0", - "symfony/process": "^5.2|^6.0|^7.0", - "symfony/var-dumper": "^5.2|^6.0|^7.0" + "symfony/http-foundation": "^5.2|^6.0|^7.0|^8.0", + "symfony/mime": "^5.2|^6.0|^7.0|^8.0", + "symfony/process": "^5.2|^6.0|^7.0|^8.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0|^8.0" }, "require-dev": { "dms/phpunit-arraysubset-asserts": "^0.5.0", @@ -10025,7 +10515,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.8.0" + "source": "https://github.com/spatie/flare-client-php/tree/1.11.0" }, "funding": [ { @@ -10033,41 +10523,44 @@ "type": "github" } ], - "time": "2024-08-01T08:27:26+00:00" + "time": "2026-03-17T08:06:16+00:00" }, { "name": "spatie/ignition", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" + "reference": "b59385bb7aa24dae81bcc15850ebecfda7b40838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", - "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "url": "https://api.github.com/repos/spatie/ignition/zipball/b59385bb7aa24dae81bcc15850ebecfda7b40838", + "reference": "b59385bb7aa24dae81bcc15850ebecfda7b40838", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", "php": "^8.0", - "spatie/error-solutions": "^1.0", - "spatie/flare-client-php": "^1.7", - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "spatie/backtrace": "^1.7.1", + "spatie/error-solutions": "^1.1.2", + "spatie/flare-client-php": "^1.9", + "symfony/console": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/http-foundation": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/mime": "^5.4.42|^6.0|^7.0|^8.0", + "symfony/var-dumper": "^5.4.42|^6.0|^7.0|^8.0" }, "require-dev": { - "illuminate/cache": "^9.52|^10.0|^11.0", + "illuminate/cache": "^9.52|^10.0|^11.0|^12.0|^13.0", "mockery/mockery": "^1.4", - "pestphp/pest": "^1.20|^2.0", + "pestphp/pest": "^1.20|^2.0|^3.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "psr/simple-cache-implementation": "*", - "symfony/cache": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", + "symfony/cache": "^5.4.38|^6.0|^7.0|^8.0", + "symfony/process": "^5.4.35|^6.0|^7.0|^8.0", "vlucas/phpdotenv": "^5.5" }, "suggest": { @@ -10116,27 +10609,27 @@ "type": "github" } ], - "time": "2024-06-12T14:55:22+00:00" + "time": "2026-03-17T10:51:08+00:00" }, { "name": "spatie/laravel-ignition", - "version": "2.8.0", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" + "reference": "1baee07216d6748ebd3a65ba97381b051838707a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c", - "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/1baee07216d6748ebd3a65ba97381b051838707a", + "reference": "1baee07216d6748ebd3a65ba97381b051838707a", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0|^12.0", "php": "^8.1", "spatie/ignition": "^1.15", "symfony/console": "^6.2.3|^7.0", @@ -10145,12 +10638,12 @@ "require-dev": { "livewire/livewire": "^2.11|^3.3.5", "mockery/mockery": "^1.5.1", - "openai-php/client": "^0.8.1", - "orchestra/testbench": "8.22.3|^9.0", - "pestphp/pest": "^2.34", + "openai-php/client": "^0.8.1|^0.10", + "orchestra/testbench": "8.22.3|^9.0|^10.0", + "pestphp/pest": "^2.34|^3.7", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan-deprecation-rules": "^1.1.1", - "phpstan/phpstan-phpunit": "^1.3.16", + "phpstan/phpstan-deprecation-rules": "^1.1.1|^2.0", + "phpstan/phpstan-phpunit": "^1.3.16|^2.0", "vlucas/phpdotenv": "^5.5" }, "suggest": { @@ -10160,12 +10653,12 @@ "type": "library", "extra": { "laravel": { - "providers": [ - "Spatie\\LaravelIgnition\\IgnitionServiceProvider" - ], "aliases": { "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" - } + }, + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ] } }, "autoload": { @@ -10207,31 +10700,32 @@ "type": "github" } ], - "time": "2024-06-12T15:01:18+00:00" + "time": "2025-02-20T13:13:55+00:00" }, { "name": "symfony/yaml", - "version": "v7.1.6", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "3ced3f29e4f0d6bce2170ff26719f1fe9aacc671" + "reference": "c58fdf7b3d6c2995368264c49e4e8b05bcff2883" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/3ced3f29e4f0d6bce2170ff26719f1fe9aacc671", - "reference": "3ced3f29e4f0d6bce2170ff26719f1fe9aacc671", + "url": "https://api.github.com/repos/symfony/yaml/zipball/c58fdf7b3d6c2995368264c49e4e8b05bcff2883", + "reference": "c58fdf7b3d6c2995368264c49e4e8b05bcff2883", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "symfony/console": "<6.4" }, "require-dev": { - "symfony/console": "^6.4|^7.0" + "symfony/console": "^6.4|^7.0|^8.0" }, "bin": [ "Resources/bin/yaml-lint" @@ -10262,7 +10756,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.1.6" + "source": "https://github.com/symfony/yaml/tree/v7.4.8" }, "funding": [ { @@ -10273,25 +10767,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2026-03-24T13:12:05+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.3", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", - "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b7489ce515e168639d17feec34b8847c326b0b3c", + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c", "shasum": "" }, "require": { @@ -10320,7 +10818,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + "source": "https://github.com/theseer/tokenizer/tree/1.3.1" }, "funding": [ { @@ -10328,17 +10826,17 @@ "type": "github" } ], - "time": "2024-03-03T12:36:25+00:00" + "time": "2025-11-17T20:03:58+00:00" } ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^8.1" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" }