diff --git a/packages/Webkul/Admin/src/Config/system.php b/packages/Webkul/Admin/src/Config/system.php index 255062054..5c4635eb1 100644 --- a/packages/Webkul/Admin/src/Config/system.php +++ b/packages/Webkul/Admin/src/Config/system.php @@ -1,6 +1,9 @@ 'general', 'name' => 'admin::app.admin.system.general', @@ -27,7 +30,7 @@ return [ 'value' => 'kgs', ], ], - 'channel_based' => true + 'channel_based' => true, ], ], ], [ @@ -70,7 +73,7 @@ return [ 'type' => 'textarea', 'channel_based' => true, 'locale_based' => false, - ] + ], ], ], [ 'key' => 'general.design', @@ -95,7 +98,12 @@ return [ 'validation' => 'mimes:bmp,jpeg,jpg,png,webp', ], ], - ], [ + ], + + /** + * Catalog. + */ + [ 'key' => 'catalog', 'name' => 'admin::app.admin.system.catalog', 'sort' => 2, @@ -120,16 +128,16 @@ return [ 'sort' => 2, 'fields' => [ [ - 'name' => 'no_of_new_product_homepage', - 'title' => 'admin::app.admin.system.allow-no-of-new-product-homepage', - 'type' => 'number', - 'validation' => 'min:0', + 'name' => 'no_of_new_product_homepage', + 'title' => 'admin::app.admin.system.allow-no-of-new-product-homepage', + 'type' => 'number', + 'validation' => 'min:0', ], [ - 'name' => 'no_of_featured_product_homepage', - 'title' => 'admin::app.admin.system.allow-no-of-featured-product-homepage', - 'type' => 'number', - 'validation' => 'min:0', + 'name' => 'no_of_featured_product_homepage', + 'title' => 'admin::app.admin.system.allow-no-of-featured-product-homepage', + 'type' => 'number', + 'validation' => 'min:0', ], [ 'name' => 'out_of_stock_items', @@ -192,7 +200,7 @@ return [ 'name' => 'buy_now_button_display', 'title' => 'admin::app.admin.system.buy-now-button-display', 'type' => 'boolean', - ] + ], ], ], [ 'key' => 'catalog.products.cache-small-image', @@ -208,7 +216,7 @@ return [ 'name' => 'height', 'title' => 'admin::app.admin.system.height', 'type' => 'text', - ] + ], ], ], [ 'key' => 'catalog.products.cache-medium-image', @@ -224,7 +232,7 @@ return [ 'name' => 'height', 'title' => 'admin::app.admin.system.height', 'type' => 'text', - ] + ], ], ], [ 'key' => 'catalog.products.cache-large-image', @@ -240,7 +248,7 @@ return [ 'name' => 'height', 'title' => 'admin::app.admin.system.height', 'type' => 'text', - ] + ], ], ], [ 'key' => 'catalog.products.review', @@ -266,7 +274,7 @@ return [ 'name' => 'file_attribute_upload_size', 'title' => 'admin::app.admin.system.file-upload-size', 'type' => 'text', - ] + ], ], ], [ 'key' => 'catalog.inventory', @@ -340,16 +348,65 @@ return [ 'name' => 'show_search_input_field', 'title' => 'admin::app.admin.system.show-search-input-field', 'type' => 'boolean', - ] - ] - ], [ + ], + ], + ], + + /** + * Customer. + */ + [ 'key' => 'customer', 'name' => 'admin::app.admin.system.customer', - 'sort' => 4, + 'sort' => 3, + ], [ + 'key' => 'customer.address', + 'name' => 'admin::app.admin.system.address', + 'sort' => 1, + ], [ + 'key' => 'customer.address.requirements', + 'name' => 'admin::app.admin.system.requirements', + 'sort' => 1, + 'fields' => [ + [ + 'name' => 'country', + 'title' => 'admin::app.admin.system.country', + 'type' => 'boolean', + 'channel_based' => true, + 'default' => '1', + ], + [ + 'name' => 'state', + 'title' => 'admin::app.admin.system.state', + 'type' => 'boolean', + 'channel_based' => true, + 'default' => '1', + ], + [ + 'name' => 'postcode', + 'title' => 'admin::app.admin.system.zip', + 'type' => 'boolean', + 'channel_based' => true, + 'default' => '1', + ], + ], + ], [ + 'key' => 'customer.address.information', + 'name' => 'Information', + 'sort' => 2, + 'fields' => [ + [ + 'name' => 'street_lines', + 'title' => 'admin::app.admin.system.street-lines', + 'type' => 'text', + 'validation' => 'between:1,4', + 'channel_based' => true, + ], + ], ], [ 'key' => 'customer.settings', 'name' => 'admin::app.admin.system.settings', - 'sort' => 1, + 'sort' => 3, ], [ 'key' => 'customer.settings.wishlist', 'name' => 'admin::app.admin.system.wishlist', @@ -361,23 +418,10 @@ return [ 'type' => 'boolean', ], ], - ], [ - 'key' => 'customer.settings.address', - 'name' => 'admin::app.admin.system.address', - 'sort' => 2, - 'fields' => [ - [ - 'name' => 'street_lines', - 'title' => 'admin::app.admin.system.street-lines', - 'type' => 'text', - 'validation' => 'between:1,4', - 'channel_based' => true, - ], - ], ], [ 'key' => 'customer.settings.newsletter', 'name' => 'admin::app.admin.system.newsletter', - 'sort' => 3, + 'sort' => 2, 'fields' => [ [ 'name' => 'subscription', @@ -388,7 +432,7 @@ return [ ], [ 'key' => 'customer.settings.email', 'name' => 'admin::app.admin.system.email', - 'sort' => 4, + 'sort' => 3, 'fields' => [ [ 'name' => 'verification', @@ -396,10 +440,15 @@ return [ 'type' => 'boolean', ], ], - ], [ + ], + + /** + * Emails. + */ + [ 'key' => 'emails', 'name' => 'admin::app.admin.emails.email', - 'sort' => 5, + 'sort' => 4, ], [ 'key' => 'emails.configure', 'name' => 'admin::app.admin.system.email-settings', @@ -417,7 +466,7 @@ return [ 'validation' => 'required|max:50', 'channel_based' => true, 'default_value' => config('mail.from.name'), - ], [ + ], [ 'name' => 'shop_email_from', 'title' => 'admin::app.admin.system.shop-email-from', 'type' => 'text', @@ -425,7 +474,7 @@ return [ 'validation' => 'required|email', 'channel_based' => true, 'default_value' => config('mail.from.address'), - ], [ + ], [ 'name' => 'admin_name', 'title' => 'admin::app.admin.system.admin-name', 'type' => 'text', @@ -433,7 +482,7 @@ return [ 'validation' => 'required|max:50', 'channel_based' => true, 'default_value' => config('mail.admin.name'), - ], [ + ], [ 'name' => 'admin_email', 'title' => 'admin::app.admin.system.admin-email', 'type' => 'text', diff --git a/packages/Webkul/Admin/src/DataGrids/CustomerDataGrid.php b/packages/Webkul/Admin/src/DataGrids/CustomerDataGrid.php index 12e7d0c54..ef3d88655 100755 --- a/packages/Webkul/Admin/src/DataGrids/CustomerDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/CustomerDataGrid.php @@ -37,8 +37,18 @@ class CustomerDataGrid extends DataGrid { $queryBuilder = DB::table('customers') ->leftJoin('customer_groups', 'customers.customer_group_id', '=', 'customer_groups.id') - ->addSelect('customers.id as customer_id', 'customers.email', 'customer_groups.name as group', 'customers.phone', 'customers.gender', 'status') - ->addSelect(DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name) as full_name')); + ->addSelect( + 'customers.id as customer_id', + 'customers.email', + 'customers.phone', + 'customers.gender', + 'customers.status', + 'customers.is_suspended', + 'customer_groups.name as group', + ) + ->addSelect( + DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name) as full_name') + ); $this->addFilter('customer_id', 'customers.id'); $this->addFilter('full_name', DB::raw('CONCAT(' . DB::getTablePrefix() . 'customers.first_name, " ", ' . DB::getTablePrefix() . 'customers.last_name)')); @@ -101,7 +111,7 @@ class CustomerDataGrid extends DataGrid 'sortable' => true, 'filterable' => false, 'closure' => function ($row) { - if (!$row->phone) { + if (! $row->phone) { return '-'; } else { return $row->phone; @@ -117,7 +127,7 @@ class CustomerDataGrid extends DataGrid 'sortable' => true, 'filterable' => false, 'closure' => function ($row) { - if (!$row->gender) { + if (! $row->gender) { return '-'; } else { return $row->gender; @@ -133,11 +143,19 @@ class CustomerDataGrid extends DataGrid 'sortable' => true, 'filterable' => true, 'closure' => function ($row) { + $html = ''; + if ($row->status == 1) { - return '' . trans('admin::app.customers.customers.active') . ''; + $html .= '' . trans('admin::app.customers.customers.active') . ''; } else { - return '' . trans('admin::app.customers.customers.inactive') . ''; + $html .= '' . trans('admin::app.customers.customers.inactive') . ''; } + + if ($row->is_suspended == 1) { + $html .= '' . trans('admin::app.customers.customers.suspended') . ''; + } + + return $html; }, ]); } diff --git a/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php b/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php index 50656f926..cf6463569 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php @@ -175,6 +175,8 @@ class CustomerController extends Controller $data['status'] = ! isset($data['status']) ? 0 : 1; + $data['is_suspended'] = ! isset($data['is_suspended']) ? 0 : 1; + $this->customerRepository->update($data, $id); session()->flash('success', trans('admin::app.response.update-success', ['name' => 'Customer'])); diff --git a/packages/Webkul/Admin/src/Resources/lang/ar/app.php b/packages/Webkul/Admin/src/Resources/lang/ar/app.php index 4c2fd8726..d040801bb 100644 --- a/packages/Webkul/Admin/src/Resources/lang/ar/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/ar/app.php @@ -1027,6 +1027,9 @@ return [ 'status' => 'الحالة', 'active' => 'نشيط', 'inactive' => 'غير نشط', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1422,10 +1425,12 @@ return [ 'flate-rate-shipping' => 'تعريفة موحدة للشحن بغض النظر عن الكمية', 'shipping' => 'الشحن', 'origin' => 'الأصل', + 'requirements' => 'Requirements', 'country' => 'بلد', 'state' => 'حالة', 'zip' => 'الرمز البريدي', 'city' => 'مدينة', + 'information' => 'Information', 'street-address' => 'عنوان الشارع', 'title' => 'عنوان', 'description' => 'وصف', diff --git a/packages/Webkul/Admin/src/Resources/lang/de/app.php b/packages/Webkul/Admin/src/Resources/lang/de/app.php index b37ac6f05..e02587602 100755 --- a/packages/Webkul/Admin/src/Resources/lang/de/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/de/app.php @@ -1027,6 +1027,9 @@ return [ 'status' => 'Status', 'active' => 'Aktiv', 'inactive' => 'Inaktiv', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1430,10 +1433,12 @@ return [ 'flate-rate-shipping' => 'Pauschale Versandkosten', 'shipping' => 'Versand', 'origin' => 'Herkunft', + 'requirements' => 'Requirements', 'country' => 'Land', 'state' => 'Bundesland', 'zip' => 'Postleitzahl', 'city' => 'Stadt', + 'information' => 'Information', 'street-address' => 'Anschrift', 'title' => 'Titel', 'description' => 'Beschreibung', diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php index e4af0949f..9f91be5df 100755 --- a/packages/Webkul/Admin/src/Resources/lang/en/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php @@ -1045,6 +1045,9 @@ return [ 'status' => 'Status', 'active' => 'Active', 'inactive' => 'Inactive', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1421,7 +1424,8 @@ return [ ], ], - 'system' => [ + + 'system' => [ 'catalog' => 'Catalog', 'homepage' => 'Homepage configuration', 'allow-out-of-stock-items' => 'Allow out of stock items', @@ -1449,10 +1453,12 @@ return [ 'flate-rate-shipping' => 'Flat Rate Shipping', 'shipping' => 'Shipping', 'origin' => 'Origin', + 'requirements' => 'Requirements', 'country' => 'Country', 'state' => 'State', 'zip' => 'Zip', 'city' => 'City', + 'information' => 'Information', 'street-address' => 'Street Address', 'title' => 'Title', 'description' => 'Description', diff --git a/packages/Webkul/Admin/src/Resources/lang/es/app.php b/packages/Webkul/Admin/src/Resources/lang/es/app.php index 7cf504364..6c55f2c0b 100644 --- a/packages/Webkul/Admin/src/Resources/lang/es/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/es/app.php @@ -1036,6 +1036,9 @@ return [ 'status' => 'Estado', 'active' => 'Activo', 'inactive' => 'Inactivo', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1434,10 +1437,12 @@ return [ 'flate-rate-shipping' => 'Envío con tarifa plana', 'shipping' => 'Envío', 'origin' => 'Origen', + 'requirements' => 'Requirements', 'country' => 'País', 'state' => 'Departamento', 'zip' => 'Código Postal', 'city' => 'Ciudad', + 'information' => 'Information', 'street-address' => 'Dirección', 'title' => 'Título', 'description' => 'Descripción', diff --git a/packages/Webkul/Admin/src/Resources/lang/fa/app.php b/packages/Webkul/Admin/src/Resources/lang/fa/app.php index d299ae91a..c4b7402b4 100644 --- a/packages/Webkul/Admin/src/Resources/lang/fa/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/fa/app.php @@ -1022,6 +1022,9 @@ return [ 'status' => 'وضعیت', 'active' => 'فعال', 'inactive' => 'غیرفعال', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1419,10 +1422,12 @@ return [ 'flate-rate-shipping' => 'نرخ ثابت حمل و نقل', 'shipping' => 'حمل و نقل دریایی', 'origin' => 'مبدا', + 'requirements' => 'Requirements', 'country' => 'کشور', 'state' => 'استان', 'zip' => 'کد پستی', 'city' => 'شهر', + 'information' => 'Information', 'street-address' => 'آدرس خیابان', 'title' => 'عنوان', 'description' => 'توضیحات', diff --git a/packages/Webkul/Admin/src/Resources/lang/fr/app.php b/packages/Webkul/Admin/src/Resources/lang/fr/app.php index edcaf1037..24ebca7a9 100644 --- a/packages/Webkul/Admin/src/Resources/lang/fr/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/fr/app.php @@ -1042,6 +1042,9 @@ return [ 'status' => 'Statut', 'active' => 'actif', 'inactive' => 'Inactif', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1446,10 +1449,12 @@ return [ 'flate-rate-shipping' => 'Expédition forfaitaire', 'shipping' => 'Expédition', 'origin' => 'Origine', + 'requirements' => 'Requirements', 'country' => 'Pays', 'state' => 'État', 'zip' => 'Zipper', 'city' => 'Ville', + 'information' => 'Information', 'street-address' => 'Adresse de rue', 'title' => 'Titre', 'description' => 'La description', diff --git a/packages/Webkul/Admin/src/Resources/lang/it/app.php b/packages/Webkul/Admin/src/Resources/lang/it/app.php index cf705bce6..43f3f274d 100644 --- a/packages/Webkul/Admin/src/Resources/lang/it/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/it/app.php @@ -1030,6 +1030,9 @@ return [ 'active' => 'Attivo', 'inactive' => 'Non attivo', 'in-active' => 'Non attivo', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1422,10 +1425,12 @@ return [ 'flate-rate-shipping' => 'Spedizione Prezzo Fisso', 'shipping' => 'Spedizione', 'origin' => 'Origine', + 'requirements' => 'Requirements', 'country' => 'Paese', 'state' => 'Provincia', 'zip' => 'CAP', 'city' => 'Città', + 'information' => 'Information', 'street-address' => 'Indirizzo', 'title' => 'Titolo', 'description' => 'Descrizione', diff --git a/packages/Webkul/Admin/src/Resources/lang/nl/app.php b/packages/Webkul/Admin/src/Resources/lang/nl/app.php index 2fc0efc6b..02444d342 100644 --- a/packages/Webkul/Admin/src/Resources/lang/nl/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/nl/app.php @@ -1024,6 +1024,9 @@ return [ 'status' => 'Status', 'active' => 'Actief', 'inactive' => 'Niet geactiveerd', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1416,10 +1419,12 @@ return [ 'flate-rate-shipping' => 'Forfaitaire verzendkosten', 'shipping' => 'Verzending', 'origin' => 'Herkomst', + 'requirements' => 'Requirements', 'country' => 'Land', 'state' => 'Staat/Provincie', 'zip' => 'Zip', 'city' => 'Woonplaats', + 'information' => 'Information', 'street-address' => 'Adres', 'title' => 'Titel', 'description' => 'Omschrijving', diff --git a/packages/Webkul/Admin/src/Resources/lang/pl/app.php b/packages/Webkul/Admin/src/Resources/lang/pl/app.php index a144cd4e7..4113b8743 100644 --- a/packages/Webkul/Admin/src/Resources/lang/pl/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pl/app.php @@ -1027,6 +1027,9 @@ return [ 'status' => 'Status', 'active' => 'Aktywny', 'inactive' => 'Nieaktywny', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1419,10 +1422,12 @@ return [ 'flate-rate-shipping' => 'Stawka ryczałtowa', 'shipping' => 'Dostawa', 'origin' => 'Zamieszmanie', + 'requirements' => 'Requirements', 'country' => 'Kraj', 'state' => 'Stan/województwo', 'zip' => 'Kod', 'city' => 'Miasto', + 'information' => 'Information', 'street-address' => 'ulica', 'title' => 'Tytuł', 'description' => 'Opis', diff --git a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php index dc937db3e..f618862ee 100755 --- a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php @@ -1026,6 +1026,9 @@ return [ 'status' => 'Status', 'active' => 'Ativo (a)', 'inactive' => 'Inativo (a)', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1418,10 +1421,12 @@ return [ 'flate-rate-shipping' => 'Envio de taxa fixa', 'shipping' => 'Remessa', 'origin' => 'Origem', + 'requirements' => 'Requirements', 'country' => 'País', 'state' => 'Estado', 'zip' => 'CEP', 'city' => 'Cidade', + 'information' => 'Information', 'street-address' => 'Endereço', 'title' => 'Titulo', 'description' => 'Descrição', diff --git a/packages/Webkul/Admin/src/Resources/lang/tr/app.php b/packages/Webkul/Admin/src/Resources/lang/tr/app.php index 2ade34860..1349a063a 100644 --- a/packages/Webkul/Admin/src/Resources/lang/tr/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/tr/app.php @@ -1015,6 +1015,9 @@ return [ 'status' => 'Durum', 'active' => 'Aktif', 'inactive' => 'Pasif', + 'is-suspended' => 'Is Suspended', + 'suspend' => 'Suspend', + 'suspended' => 'Suspended', ], 'reviews' => [ @@ -1406,10 +1409,12 @@ return [ 'flate-rate-shipping' => 'Sabit Fiyat Teslimat', 'shipping' => 'Teslimat', 'origin' => 'Menşei', + 'requirements' => 'Requirements', 'country' => 'Ülke', 'state' => 'Şehir', 'zip' => 'Posta Kodu', 'city' => 'İlçe', + 'information' => 'Information', 'street-address' => 'Sokak Adresi', 'title' => 'Başlık', 'description' => 'Açıklama', diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/images.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/images.blade.php index ddfc20fd0..b8df117b6 100755 --- a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/images.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/images.blade.php @@ -4,21 +4,14 @@
{!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.images.controls.before', ['product' => $product]) !!} -
+
- - @php $count = 1; @endphp - - @foreach ($errors->get('images.*') as $key => $message) - @php - echo str_replace($key, 'Image'.$count, $message[0]); - - $count++; - @endphp - @endforeach + {{ __('admin::app.catalog.products.image-size') }} @@ -34,13 +27,15 @@ -@endpush \ No newline at end of file +@endpush diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/variations.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/variations.blade.php index ada187883..67c3bfd80 100755 --- a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/variations.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/variations.blade.php @@ -32,7 +32,6 @@
- {!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.variations.controls.before', ['product' => $product]) !!}
@@ -58,17 +56,21 @@ @push('scripts') @@ -106,8 +112,11 @@ {{ __('admin::app.catalog.products.images') }} @foreach ($product->super_attributes as $attribute) - {{ $attribute->admin_name }} + + {{ $attribute->admin_name }} + @endforeach {{ __('admin::app.catalog.products.qty') }} @@ -119,7 +128,10 @@ - @@ -132,9 +144,13 @@
- +
@@ -142,33 +158,65 @@
- - @{{ errors.first(variantInputName + '[sku]') }} + + +
-
- + - @{{ errors.first(variantInputName + '[name]') }} + + +
-
+
@@ -182,9 +230,15 @@
- -
@@ -192,6 +246,7 @@ @@ -201,14 +256,21 @@
  • - - + + - @{{ errors.first(variantInputName + '[inventories][' + inventorySource.id + ']') }} + v-validate="'numeric|min:0'" + :data-vv-as="'"' + inventorySource.name + '"'" + v-on:keyup="updateTotalQty()"/> + + +
  • @@ -217,42 +279,70 @@ -
    - + - @{{ errors.first(variantInputName + '[price]') }} + + +
    -
    - + - @{{ errors.first(variantInputName + '[weight]') }} + + +
    - + + + +
    - + + + + diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/videos.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/videos.blade.php index 24c78fde5..a5f325cda 100644 --- a/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/videos.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/accordians/videos.blade.php @@ -4,21 +4,14 @@
    {!! view_render_event('bagisto.admin.catalog.product.edit_form_accordian.videos.controls.before', ['product' => $product]) !!} -
    +
    - - @php $count = 1; @endphp - - @foreach ($errors->get('videos.*') as $key => $message) - @php - echo str_replace($key, 'Video'.$count, $message[0]); - - $count++; - @endphp - @endforeach +
    @@ -32,13 +25,15 @@ -@endpush \ No newline at end of file +@endpush diff --git a/packages/Webkul/Admin/src/Resources/views/customers/general.blade.php b/packages/Webkul/Admin/src/Resources/views/customers/general.blade.php index 2f0f1748c..412b90bf2 100644 --- a/packages/Webkul/Admin/src/Resources/views/customers/general.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/customers/general.blade.php @@ -105,6 +105,24 @@ {!! view_render_event('bagisto.admin.customer.edit.status.after', ['customer' => $customer]) !!} +
    + + + + + @{{ errors.first('is_suspended') }} +
    + + {!! view_render_event('bagisto.admin.customer.edit.is_suspended.after', ['customer' => $customer]) !!} +
    diff --git a/packages/Webkul/Checkout/src/Http/Requests/CustomerAddressForm.php b/packages/Webkul/Checkout/src/Http/Requests/CustomerAddressForm.php index 49c8f6076..174d9111c 100755 --- a/packages/Webkul/Checkout/src/Http/Requests/CustomerAddressForm.php +++ b/packages/Webkul/Checkout/src/Http/Requests/CustomerAddressForm.php @@ -3,6 +3,8 @@ namespace Webkul\Checkout\Http\Requests; use Illuminate\Foundation\Http\FormRequest; +use Webkul\Core\Contracts\Validations\AlphaNumericSpace; +use Webkul\Core\Contracts\Validations\PhoneNumber; class CustomerAddressForm extends FormRequest { @@ -30,65 +32,69 @@ class CustomerAddressForm extends FormRequest */ public function rules(): array { - $customerAddressIds = $this->getCustomerAddressIds(); - if (isset($this->get('billing')['address_id'])) { - $billingAddressRules = [ - 'billing.address_id' => ['required'], - ]; - - if (! empty($customerAddressIds)) { - $billingAddressRules['billing.address_id'][] = "in:{$customerAddressIds}"; - } - - $this->mergeWithRules($billingAddressRules); + $this->mergeExistingAddressRules('billing'); } else { - $this->mergeWithRules([ - 'billing.first_name' => ['required'], - 'billing.last_name' => ['required'], - 'billing.email' => ['required'], - 'billing.address1' => ['required'], - 'billing.city' => ['required'], - 'billing.state' => ['required'], - 'billing.postcode' => ['required'], - 'billing.phone' => ['required'], - 'billing.country' => ['required'], - ]); + $this->mergeNewAddressRules('billing'); } if (isset($this->get('billing')['use_for_shipping']) && ! $this->get('billing')['use_for_shipping']) { if (isset($this->get('shipping')['address_id'])) { - $shippingAddressRules = [ - 'shipping.address_id' => ['required'], - ]; - - if (! empty($customerAddressIds)) { - $shippingAddressRules['shipping.address_id'][] = "in:{$customerAddressIds}"; - } - - $this->mergeWithRules($shippingAddressRules); + $this->mergeExistingAddressRules('shipping'); } else { - $this->mergeWithRules([ - 'shipping.first_name' => ['required'], - 'shipping.last_name' => ['required'], - 'shipping.email' => ['required'], - 'shipping.address1' => ['required'], - 'shipping.city' => ['required'], - 'shipping.state' => ['required'], - 'shipping.postcode' => ['required'], - 'shipping.phone' => ['required'], - 'shipping.country' => ['required'], - ]); + $this->mergeNewAddressRules('shipping'); } } return $this->rules; } + /** + * Merge existing address rules. + * + * @param string $addressType + * @return void + */ + private function mergeExistingAddressRules(string $addressType) + { + $customerAddressIds = $this->getCustomerAddressIds(); + + $addressRules = [ + "{$addressType}.address_id" => ['required'], + ]; + + if (! empty($customerAddressIds)) { + $addressRules["{$addressType}.address_id"][] = "in:{$customerAddressIds}"; + } + + $this->mergeWithRules($addressRules); + } + + /** + * Merge new address rules. + * + * @param string $addressType + * @return void + */ + private function mergeNewAddressRules(string $addressType) + { + $this->mergeWithRules([ + "{$addressType}.first_name" => ['required', new AlphaNumericSpace], + "{$addressType}.last_name" => ['required', new AlphaNumericSpace], + "{$addressType}.email" => ['required'], + "{$addressType}.address1" => ['required'], + "{$addressType}.city" => ['required'], + "{$addressType}.country" => [new AlphaNumericSpace], + "{$addressType}.state" => [new AlphaNumericSpace], + "{$addressType}.postcode" => ['numeric'], + "{$addressType}.phone" => ['required', new PhoneNumber], + ]); + } + /** * Merge additional rules. * - * @return string + * @return void */ private function mergeWithRules($additionalRules): void { diff --git a/packages/Webkul/Core/src/Core.php b/packages/Webkul/Core/src/Core.php index f276ea171..1dfca2845 100755 --- a/packages/Webkul/Core/src/Core.php +++ b/packages/Webkul/Core/src/Core.php @@ -860,13 +860,7 @@ class Core } if (! $coreConfigValue) { - $fields = explode('.', $field); - - array_shift($fields); - - $field = implode('.', $fields); - - return Config::get($field); + return $this->getDefaultConfig($field); } return $coreConfigValue->value; @@ -951,6 +945,36 @@ class Core } } + /** + * Is country required. + * + * @return bool + */ + public function isCountryRequired() + { + return $this->getConfigData('customer.address.requirements.country') == 1; + } + + /** + * Is state required. + * + * @return bool + */ + public function isStateRequired() + { + return $this->getConfigData('customer.address.requirements.state') == 1; + } + + /** + * Is postcode required. + * + * @return bool + */ + public function isPostCodeRequired() + { + return $this->getConfigData('customer.address.requirements.postcode') == 1; + } + /** * Returns time intervals. * @@ -1292,4 +1316,23 @@ class Core return $coreConfigValue; } + + /** + * Get default config. + * + * @param string $field + * @return mixed + */ + protected function getDefaultConfig($field) + { + $configFieldInfo = $this->getConfigField($field); + + $fields = explode('.', $field); + + array_shift($fields); + + $field = implode('.', $fields); + + return Config::get($field, $configFieldInfo['default'] ?? null); + } } diff --git a/packages/Webkul/Core/src/Models/Address.php b/packages/Webkul/Core/src/Models/Address.php index d0bb8e5e3..87a58493c 100644 --- a/packages/Webkul/Core/src/Models/Address.php +++ b/packages/Webkul/Core/src/Models/Address.php @@ -5,11 +5,12 @@ namespace Webkul\Core\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Webkul\Customer\Models\Customer; use Webkul\Core\Contracts\Address as AddressContract; +use Webkul\Customer\Models\Customer; /** - * Class Address + * Address class. + * * @package Webkul\Core\Models * * @property string $address_type @@ -34,18 +35,32 @@ use Webkul\Core\Contracts\Address as AddressContract; * @property-read string $name * @property-read Carbon $created_at * @property-read Carbon $updated_at - * */ abstract class Address extends Model implements AddressContract { + /** + * Table. + * + * @var string + */ protected $table = 'addresses'; + /** + * Guarded. + * + * @var array + */ protected $guarded = [ 'id', 'created_at', 'updated_at', ]; + /** + * Fillable. + * + * @var array + */ protected $fillable = [ 'address_type', 'customer_id', @@ -68,6 +83,11 @@ abstract class Address extends Model implements AddressContract 'additional', ]; + /** + * Castable. + * + * @var array + */ protected $casts = [ 'additional' => 'array', 'default_address' => 'boolean', @@ -75,6 +95,8 @@ abstract class Address extends Model implements AddressContract /** * Get all the attributes for the attribute groups. + * + * @return string */ public function getNameAttribute(): string { @@ -83,6 +105,8 @@ abstract class Address extends Model implements AddressContract /** * Get the customer record associated with the address. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function customer(): BelongsTo { diff --git a/packages/Webkul/Customer/src/Config/system.php b/packages/Webkul/Customer/src/Config/system.php index b656be83e..2baa48a0a 100644 --- a/packages/Webkul/Customer/src/Config/system.php +++ b/packages/Webkul/Customer/src/Config/system.php @@ -4,28 +4,28 @@ return [ [ 'key' => 'customer.captcha', 'name' => 'customer::app.admin.system.captcha.title', - 'sort' => 1, + 'sort' => 2, ], [ 'key' => 'customer.captcha.credentials', 'name' => 'customer::app.admin.system.captcha.credentials', 'sort' => 1, 'fields' => [ [ - 'name' => 'site_key', - 'title' => 'customer::app.admin.system.captcha.site-key', - 'type' => 'text', + 'name' => 'site_key', + 'title' => 'customer::app.admin.system.captcha.site-key', + 'type' => 'text', 'channel_based' => true, ], [ - 'name' => 'secret_key', - 'title' => 'customer::app.admin.system.captcha.secret-key', - 'type' => 'text', + 'name' => 'secret_key', + 'title' => 'customer::app.admin.system.captcha.secret-key', + 'type' => 'text', 'channel_based' => true, ], [ 'name' => 'status', 'title' => 'customer::app.admin.system.captcha.status', 'type' => 'boolean', 'channel_based' => true, - ] + ], ], ], ]; diff --git a/packages/Webkul/Customer/src/Database/Migrations/2022_01_25_160015_update_country_state_and_zip_code_in_addresses_table.php b/packages/Webkul/Customer/src/Database/Migrations/2022_01_25_160015_update_country_state_and_zip_code_in_addresses_table.php new file mode 100644 index 000000000..681ffacaa --- /dev/null +++ b/packages/Webkul/Customer/src/Database/Migrations/2022_01_25_160015_update_country_state_and_zip_code_in_addresses_table.php @@ -0,0 +1,36 @@ +string('country')->nullable()->change(); + $table->string('state')->nullable()->change(); + $table->string('postcode')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('addresses', function (Blueprint $table) { + $table->string('country')->nullable(false)->change(); + $table->string('state')->nullable(false)->change(); + $table->string('postcode')->nullable(false)->change(); + }); + } +} diff --git a/packages/Webkul/Customer/src/Database/Migrations/2022_02_02_142616_add_is_suspended_column_to_customers_table.php b/packages/Webkul/Customer/src/Database/Migrations/2022_02_02_142616_add_is_suspended_column_to_customers_table.php new file mode 100644 index 000000000..dcbfdfeac --- /dev/null +++ b/packages/Webkul/Customer/src/Database/Migrations/2022_02_02_142616_add_is_suspended_column_to_customers_table.php @@ -0,0 +1,32 @@ +tinyInteger('is_suspended')->unsigned()->default(0)->after('is_verified'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('customers', function (Blueprint $table) { + $table->dropColumn('is_suspended'); + }); + } +} diff --git a/packages/Webkul/Customer/src/Http/Requests/CustomerAddressRequest.php b/packages/Webkul/Customer/src/Http/Requests/CustomerAddressRequest.php index 7aae561d4..e2fd4c02d 100644 --- a/packages/Webkul/Customer/src/Http/Requests/CustomerAddressRequest.php +++ b/packages/Webkul/Customer/src/Http/Requests/CustomerAddressRequest.php @@ -33,10 +33,10 @@ class CustomerAddressRequest extends FormRequest 'last_name' => ['required', new AlphaNumericSpace], 'address1' => ['required', 'array'], 'address1.*' => ['required', new Address], - 'country' => ['required', 'alpha'], - 'state' => ['required', new AlphaNumericSpace], + 'country' => [new AlphaNumericSpace], + 'state' => [new AlphaNumericSpace], 'city' => ['required'], - 'postcode' => ['required', 'numeric'], + 'postcode' => ['numeric'], 'phone' => ['required', new PhoneNumber], 'vat_id' => [new VatIdRule()], ]; diff --git a/packages/Webkul/Customer/src/Models/Customer.php b/packages/Webkul/Customer/src/Models/Customer.php index 0756539c6..74520eb77 100755 --- a/packages/Webkul/Customer/src/Models/Customer.php +++ b/packages/Webkul/Customer/src/Models/Customer.php @@ -42,12 +42,13 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject 'phone', 'password', 'api_token', + 'token', 'customer_group_id', 'subscribed_to_news_letter', - 'is_verified', - 'token', - 'notes', 'status', + 'is_verified', + 'is_suspended', + 'notes', ]; /** @@ -68,7 +69,7 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject */ protected static function newFactory() { - return CustomerFactory::new(); + return CustomerFactory::new (); } /** diff --git a/packages/Webkul/Payment/src/Config/system.php b/packages/Webkul/Payment/src/Config/system.php index 40e29b2e7..16a550c79 100755 --- a/packages/Webkul/Payment/src/Config/system.php +++ b/packages/Webkul/Payment/src/Config/system.php @@ -1,14 +1,17 @@ 'sales', - 'name' => 'admin::app.admin.system.sales', - 'sort' => 1 - ], [ 'key' => 'sales.paymentmethods', 'name' => 'admin::app.admin.system.payment-methods', - 'sort' => 2, + 'sort' => 3, ], [ 'key' => 'sales.paymentmethods.cashondelivery', 'name' => 'admin::app.admin.system.cash-on-delivery', @@ -42,37 +45,37 @@ return [ 'channel_based' => true, 'locale_based' => false, ], [ - 'name' => 'invoice_status', - 'title' => 'admin::app.admin.system.set-invoice-status', + 'name' => 'invoice_status', + 'title' => 'admin::app.admin.system.set-invoice-status', 'validation' => 'required_if:generate_invoice,1', - 'type' => 'select', - 'options' => [ + 'type' => 'select', + 'options' => [ [ 'title' => 'admin::app.sales.invoices.status-pending', - 'value' => 'pending' + 'value' => 'pending', ], [ 'title' => 'admin::app.sales.invoices.status-paid', - 'value' => 'paid' - ] + 'value' => 'paid', + ], ], 'info' => 'admin::app.admin.system.generate-invoice-applicable', 'channel_based' => true, 'locale_based' => false, ], [ - 'name' => 'order_status', - 'title' => 'admin::app.admin.system.set-order-status', - 'type' => 'select', - 'options' => [ + 'name' => 'order_status', + 'title' => 'admin::app.admin.system.set-order-status', + 'type' => 'select', + 'options' => [ [ 'title' => 'admin::app.sales.orders.order-status-pending', - 'value' => 'pending' + 'value' => 'pending', ], [ 'title' => 'admin::app.sales.orders.order-status-pending-payment', - 'value' => 'pending_payment' + 'value' => 'pending_payment', ], [ 'title' => 'admin::app.sales.orders.order-status-processing', - 'value' => 'processing' - ] + 'value' => 'processing', + ], ], 'info' => 'admin::app.admin.system.generate-invoice-applicable', 'channel_based' => true, @@ -91,20 +94,20 @@ return [ 'options' => [ [ 'title' => '1', - 'value' => 1 + 'value' => 1, ], [ 'title' => '2', - 'value' => 2 + 'value' => 2, ], [ 'title' => '3', - 'value' => 3 + 'value' => 3, ], [ 'title' => '4', 'value' => 4, - ] + ], ], - ] - ] + ], + ], ], [ 'key' => 'sales.paymentmethods.moneytransfer', 'name' => 'admin::app.admin.system.money-transfer', @@ -138,13 +141,13 @@ return [ 'options' => [ [ 'title' => 'admin::app.sales.invoices.status-pending', - 'value' => 'pending' + 'value' => 'pending', ], [ 'title' => 'admin::app.sales.invoices.status-paid', - 'value' => 'paid' - ] + 'value' => 'paid', + ], ], - 'info' => 'admin::app.admin.system.generate-invoice-applicable', + 'info' => 'admin::app.admin.system.generate-invoice-applicable', ], [ 'name' => 'order_status', 'title' => 'Order status after creating the invoice', @@ -152,16 +155,16 @@ return [ 'options' => [ [ 'title' => 'admin::app.sales.orders.order-status-pending', - 'value' => 'pending' + 'value' => 'pending', ], [ 'title' => 'admin::app.sales.orders.order-status-pending-payment', - 'value' => 'pending_payment' + 'value' => 'pending_payment', ], [ 'title' => 'admin::app.sales.orders.order-status-processing', - 'value' => 'processing' - ] + 'value' => 'processing', + ], ], - 'info' => 'admin::app.admin.system.generate-invoice-applicable', + 'info' => 'admin::app.admin.system.generate-invoice-applicable', ], [ 'name' => 'mailing_address', 'title' => 'admin::app.admin.system.mailing-address', @@ -175,7 +178,7 @@ return [ 'validation' => 'required', 'channel_based' => true, 'locale_based' => true, - ],[ + ], [ 'name' => 'sort', 'title' => 'admin::app.admin.system.sort_order', 'type' => 'select', @@ -192,9 +195,9 @@ return [ ], [ 'title' => '4', 'value' => 4, - ] + ], ], - ] - ] - ] -]; \ No newline at end of file + ], + ], + ], +]; diff --git a/packages/Webkul/Product/src/Database/Migrations/2022_02_01_185800_add_position_column_to_product_images_table.php b/packages/Webkul/Product/src/Database/Migrations/2022_02_01_185800_add_position_column_to_product_images_table.php new file mode 100644 index 000000000..85fa10556 --- /dev/null +++ b/packages/Webkul/Product/src/Database/Migrations/2022_02_01_185800_add_position_column_to_product_images_table.php @@ -0,0 +1,32 @@ +integer('position')->default(0)->unsigned(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('product_images', function (Blueprint $table) { + $table->dropColumn('position'); + }); + } +} diff --git a/packages/Webkul/Product/src/Database/Migrations/2022_02_03_120502_add_position_column_to_product_videos_table.php b/packages/Webkul/Product/src/Database/Migrations/2022_02_03_120502_add_position_column_to_product_videos_table.php new file mode 100644 index 000000000..5cd14f29b --- /dev/null +++ b/packages/Webkul/Product/src/Database/Migrations/2022_02_03_120502_add_position_column_to_product_videos_table.php @@ -0,0 +1,32 @@ +integer('position')->default(0)->unsigned(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('product_videos', function (Blueprint $table) { + $table->dropColumn('position'); + }); + } +} diff --git a/packages/Webkul/Product/src/Http/Requests/ProductForm.php b/packages/Webkul/Product/src/Http/Requests/ProductForm.php index d34c9ea20..9a2200d64 100755 --- a/packages/Webkul/Product/src/Http/Requests/ProductForm.php +++ b/packages/Webkul/Product/src/Http/Requests/ProductForm.php @@ -73,8 +73,10 @@ class ProductForm extends FormRequest $this->rules = array_merge($product->getTypeInstance()->getTypeValidationRules(), [ 'sku' => ['required', 'unique:products,sku,' . $this->id, new Slug], 'url_key' => ['required', new ProductCategoryUniqueSlug('product_flat', $this->id)], - 'images.*' => ['nullable', 'mimes:bmp,jpeg,jpg,png,webp'], - 'videos.*' => ['nullable', 'mimetypes:application/octet-stream,video/mp4,video/webm,video/quicktime', 'max:' . $maxVideoFileSize], + 'images.files.*' => ['nullable', 'mimes:bmp,jpeg,jpg,png,webp'], + 'images.positions.*' => ['nullable', 'integer'], + 'videos.files.*' => ['nullable', 'mimetypes:application/octet-stream,video/mp4,video/webm,video/quicktime', 'max:' . $maxVideoFileSize], + 'videos.positions.*' => ['nullable', 'integer'], 'special_price_from' => ['nullable', 'date'], 'special_price_to' => ['nullable', 'date', 'after_or_equal:special_price_from'], 'special_price' => ['nullable', new Decimal, 'lt:price'], @@ -141,6 +143,8 @@ class ProductForm extends FormRequest public function attributes() { return [ + 'images.files.*' => 'image', + 'videos.files.*' => 'video', 'variants.*.sku' => 'sku', ]; } diff --git a/packages/Webkul/Product/src/Models/Product.php b/packages/Webkul/Product/src/Models/Product.php index ff3143d61..799da8146 100755 --- a/packages/Webkul/Product/src/Models/Product.php +++ b/packages/Webkul/Product/src/Models/Product.php @@ -4,22 +4,22 @@ namespace Webkul\Product\Models; use Exception; use Illuminate\Database\Eloquent\Factories\Factory; -use Illuminate\Support\Collection; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Support\Collection; use Webkul\Attribute\Models\AttributeFamilyProxy; use Webkul\Attribute\Models\AttributeProxy; -use Illuminate\Database\Eloquent\Relations\HasMany; -use Webkul\Product\Database\Factories\ProductFactory; -use Illuminate\Database\Eloquent\Relations\BelongsTo; use Webkul\Attribute\Repositories\AttributeRepository; +use Webkul\BookingProduct\Models\BookingProductProxy; use Webkul\Category\Models\CategoryProxy; use Webkul\Inventory\Models\InventorySourceProxy; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Webkul\Product\Contracts\Product as ProductContract; use Webkul\Product\Database\Eloquent\Builder; +use Webkul\Product\Database\Factories\ProductFactory; use Webkul\Product\Type\AbstractType; -use Webkul\BookingProduct\Models\BookingProductProxy; -use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Product extends Model implements ProductContract { @@ -49,19 +49,19 @@ class Product extends Model implements ProductContract /** * The type of product. * - * @var $typeInstance + * @var \Webkul\Product\Type\AbstractType */ protected $typeInstance; /** * Loaded attribute values. * - * @var $loadedAttributeValues + * @var array */ public static $loadedAttributeValues = []; /** - * The "booted" method of the model. + * The `booted` method of the model. * * @return void */ @@ -82,75 +82,137 @@ class Product extends Model implements ProductContract }); } - /** - * Refresh the loaded attribute values. - * - * @return void - */ - public function refreshloadedAttributeValues(): void - { - self::$loadedAttributeValues = []; - } - - /** - * Get the product attribute family that owns the product. - */ - public function attribute_family(): BelongsTo - { - return $this->belongsTo(AttributeFamilyProxy::modelClass()); - } - - /** - * Get the product attribute values that owns the product. - */ - public function attribute_values(): HasMany - { - return $this->hasMany(ProductAttributeValueProxy::modelClass()); - } - /** * Get the product flat entries that are associated with product. * May be one for each locale and each channel. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function product_flats(): HasMany { return $this->hasMany(ProductFlatProxy::modelClass(), 'product_id'); } - /** - * Get the product variants that owns the product. - */ - public function variants(): HasMany - { - return $this->hasMany(static::class, 'parent_id'); - } - - /** - * Get the product reviews that owns the product. - */ - public function reviews(): HasMany - { - return $this->hasMany(ProductReviewProxy::modelClass()); - } - /** * Get the product that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function parent(): BelongsTo { return $this->belongsTo(static::class, 'parent_id'); } + /** + * Get the product attribute family that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ + public function attribute_family(): BelongsTo + { + return $this->belongsTo(AttributeFamilyProxy::modelClass()); + } + + /** + * The super attributes that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function super_attributes(): BelongsToMany + { + return $this->belongsToMany(AttributeProxy::modelClass(), 'product_super_attributes'); + } + + /** + * Get the product attribute values that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function attribute_values(): HasMany + { + return $this->hasMany(ProductAttributeValueProxy::modelClass()); + } + + /** + * Get the product customer group prices that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function customer_group_prices(): HasMany + { + return $this->hasMany(ProductCustomerGroupPriceProxy::modelClass()); + } + /** * The categories that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function categories(): BelongsToMany { return $this->belongsToMany(CategoryProxy::modelClass(), 'product_categories'); } + /** + * The images that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function images(): HasMany + { + return $this->hasMany(ProductImageProxy::modelClass(), 'product_id') + ->orderBy('position'); + } + + /** + * The videos that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function videos(): HasMany + { + return $this->hasMany(ProductVideoProxy::modelClass(), 'product_id') + ->orderBy('position'); + } + + /** + * Get the product reviews that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function reviews(): HasMany + { + return $this->hasMany(ProductReviewProxy::modelClass()); + } + + /** + * The inventory sources that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function inventory_sources(): BelongsToMany + { + return $this->belongsToMany(InventorySourceProxy::modelClass(), 'product_inventories') + ->withPivot('id', 'qty'); + } + + /** + * Get inventory source quantity. + * + * @param $inventorySourceId + * @return bool + */ + public function inventory_source_qty($inventorySourceId) + { + return $this->inventories() + ->where('inventory_source_id', $inventorySourceId) + ->sum('qty'); + } + /** * The inventories that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function inventories(): HasMany { @@ -159,6 +221,8 @@ class Product extends Model implements ProductContract /** * The ordered inventories that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function ordered_inventories(): HasMany { @@ -166,78 +230,29 @@ class Product extends Model implements ProductContract } /** - * The inventory sources that belong to the product. + * Get the product variants that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ - public function inventory_sources(): BelongsToMany + public function variants(): HasMany { - return $this->belongsToMany(InventorySourceProxy::modelClass(), 'product_inventories') - ->withPivot('id', 'qty'); + return $this->hasMany(static::class, 'parent_id'); } /** - * The super attributes that belong to the product. + * Get the grouped products that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ - public function super_attributes(): BelongsToMany + public function grouped_products(): HasMany { - return $this->belongsToMany(AttributeProxy::modelClass(), 'product_super_attributes'); - } - - /** - * The images that belong to the product. - */ - public function images(): HasMany - { - return $this->hasMany(ProductImageProxy::modelClass(), 'product_id'); - } - - /** - * The videos that belong to the product. - */ - public function videos(): HasMany - { - return $this->hasMany(ProductVideoProxy::modelClass(), 'product_id'); - } - - /** - * The images that belong to the product. - */ - public function getBaseImageUrlAttribute() - { - $image = $this->images() - ->first(); - - return $image->url ?? null; - } - - /** - * The related products that belong to the product. - */ - public function related_products(): BelongsToMany - { - return $this->belongsToMany(static::class, 'product_relations', 'parent_id', 'child_id') - ->limit(4); - } - - /** - * The up sells that belong to the product. - */ - public function up_sells(): BelongsToMany - { - return $this->belongsToMany(static::class, 'product_up_sells', 'parent_id', 'child_id') - ->limit(4); - } - - /** - * The cross sells that belong to the product. - */ - public function cross_sells(): BelongsToMany - { - return $this->belongsToMany(static::class, 'product_cross_sells', 'parent_id', 'child_id') - ->limit(4); + return $this->hasMany(ProductGroupedProductProxy::modelClass()); } /** * The images that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function downloadable_samples(): HasMany { @@ -246,22 +261,18 @@ class Product extends Model implements ProductContract /** * The images that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function downloadable_links(): HasMany { return $this->hasMany(ProductDownloadableLinkProxy::modelClass()); } - /** - * Get the grouped products that owns the product. - */ - public function grouped_products(): HasMany - { - return $this->hasMany(ProductGroupedProductProxy::modelClass()); - } - /** * Get the bundle options that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function bundle_options(): HasMany { @@ -269,31 +280,107 @@ class Product extends Model implements ProductContract } /** - * Get the product customer group prices that owns the product. + * Get the booking that owns the product. + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne */ - public function customer_group_prices(): HasMany + public function booking_product() { - return $this->hasMany(ProductCustomerGroupPriceProxy::modelClass()); + return $this->hasOne(BookingProductProxy::modelClass()); } /** - * Get inventory source quantity. + * The related products that belong to the product. * - * @param $inventorySourceId + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function related_products(): BelongsToMany + { + return $this->belongsToMany(static::class, 'product_relations', 'parent_id', 'child_id') + ->limit(4); + } + + /** + * The up sells that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function up_sells(): BelongsToMany + { + return $this->belongsToMany(static::class, 'product_up_sells', 'parent_id', 'child_id') + ->limit(4); + } + + /** + * The cross sells that belong to the product. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ + public function cross_sells(): BelongsToMany + { + return $this->belongsToMany(static::class, 'product_cross_sells', 'parent_id', 'child_id') + ->limit(4); + } + + /** + * Is saleable. + * + * @param string $key + * @return bool + * + * @throws \Exception + */ + public function isSaleable(): bool + { + return $this->getTypeInstance() + ->isSaleable(); + } + + /** + * Is stockable. * * @return bool + * + * @throws \Exception */ - public function inventory_source_qty($inventorySourceId) + public function isStockable(): bool { - return $this->inventories() - ->where('inventory_source_id', $inventorySourceId) - ->sum('qty'); + return $this->getTypeInstance() + ->isStockable(); + } + + /** + * Total quantity. + * + * @return integer + * + * @throws \Exception + */ + public function totalQuantity(): int + { + return $this->getTypeInstance() + ->totalQuantity(); + } + + /** + * Have sufficient quantity. + * + * @param int $qty + * @return bool + * + * @throws \Exception + */ + public function haveSufficientQuantity(int $qty): bool + { + return $this->getTypeInstance() + ->haveSufficientQuantity($qty); } /** * Get type instance. * * @return AbstractType + * * @throws \Exception */ public function getTypeInstance(): AbstractType @@ -314,62 +401,42 @@ class Product extends Model implements ProductContract } /** - * Is saleable. + * Return the product id attribute. * - * @param string $key - * - * @return bool - * @throws \Exception + * @return int */ - public function isSaleable(): bool + public function getProductIdAttribute() { - return $this->getTypeInstance() - ->isSaleable(); + return $this->id; } /** - * Total quantity. + * Return the product attribute. * - * @return integer - * @throws \Exception + * @return self */ - public function totalQuantity(): int + public function getProductAttribute() { - return $this->getTypeInstance() - ->totalQuantity(); + return $this; } /** - * Have sufficient quantity. + * The images that belong to the product. * - * @param int $qty - * - * @return bool - * @throws \Exception + * @return string */ - public function haveSufficientQuantity(int $qty): bool + public function getBaseImageUrlAttribute() { - return $this->getTypeInstance() - ->haveSufficientQuantity($qty); - } + $image = $this->images() + ->first(); - /** - * Is stockable. - * - * @return bool - * @throws \Exception - */ - public function isStockable(): bool - { - return $this->getTypeInstance() - ->isStockable(); + return $image->url ?? null; } /** * Get an attribute from the model. * * @param string $key - * * @return mixed */ public function getAttribute($key) @@ -402,14 +469,14 @@ class Product extends Model implements ProductContract * * @param Group $group * @param bool $skipSuperAttribute - * * @return \Illuminate\Support\Collection + * * @throws \Exception */ public function getEditableAttributes($group = null, $skipSuperAttribute = true): Collection { return $this->getTypeInstance() - ->getEditableAttributes($group, $skipSuperAttribute); + ->getEditableAttributes($group, $skipSuperAttribute); } /** @@ -434,26 +501,26 @@ class Product extends Model implements ProductContract if ($attribute->value_per_channel) { if ($attribute->value_per_locale) { $attributeValue = $this->attribute_values() - ->where('channel', $channel) - ->where('locale', $locale) - ->where('attribute_id', $attribute->id) - ->first(); + ->where('channel', $channel) + ->where('locale', $locale) + ->where('attribute_id', $attribute->id) + ->first(); } else { $attributeValue = $this->attribute_values() - ->where('channel', $channel) - ->where('attribute_id', $attribute->id) - ->first(); + ->where('channel', $channel) + ->where('attribute_id', $attribute->id) + ->first(); } } else { if ($attribute->value_per_locale) { $attributeValue = $this->attribute_values() - ->where('locale', $locale) - ->where('attribute_id', $attribute->id) - ->first(); + ->where('locale', $locale) + ->where('attribute_id', $attribute->id) + ->first(); } else { $attributeValue = $this->attribute_values() - ->where('attribute_id', $attribute->id) - ->first(); + ->where('attribute_id', $attribute->id) + ->first(); } } @@ -486,34 +553,6 @@ class Product extends Model implements ProductContract return $attributes; } - /** - * Overrides the default Eloquent query builder. - * - * @param \Illuminate\Database\Query\Builder $query - * - * @return \Webkul\Product\Database\Eloquent\Builder - */ - public function newEloquentBuilder($query) - { - return new Builder($query); - } - - /** - * Return the product id attribute. - */ - public function getProductIdAttribute() - { - return $this->id; - } - - /** - * Return the product attribute. - */ - public function getProductAttribute() - { - return $this; - } - /** * Check in loaded family attributes. * @@ -533,20 +572,33 @@ class Product extends Model implements ProductContract } /** - * Create a new factory instance for the model. + * Overrides the default Eloquent query builder. * - * @return Factory + * @param \Illuminate\Database\Query\Builder $query + * @return \Webkul\Product\Database\Eloquent\Builder */ - protected static function newFactory(): Factory + public function newEloquentBuilder($query) { - return ProductFactory::new(); + return new Builder($query); } /** - * Get the booking that owns the product. + * Refresh the loaded attribute values. + * + * @return void */ - public function booking_product() + public function refreshloadedAttributeValues(): void { - return $this->hasOne(BookingProductProxy::modelClass()); + self::$loadedAttributeValues = []; + } + + /** + * Create a new factory instance for the model. + * + * @return \Illuminate\Database\Eloquent\Factories\Factory + */ + protected static function newFactory(): Factory + { + return ProductFactory::new (); } } diff --git a/packages/Webkul/Product/src/Models/ProductFlat.php b/packages/Webkul/Product/src/Models/ProductFlat.php index cd75bb135..e727e2da9 100644 --- a/packages/Webkul/Product/src/Models/ProductFlat.php +++ b/packages/Webkul/Product/src/Models/ProductFlat.php @@ -154,7 +154,8 @@ class ProductFlat extends Model implements ProductFlatContract */ public function images() { - return $this->hasMany(ProductImageProxy::modelClass(), 'product_id', 'product_id'); + return $this->hasMany(ProductImageProxy::modelClass(), 'product_id', 'product_id') + ->orderBy('position'); } /** @@ -164,7 +165,8 @@ class ProductFlat extends Model implements ProductFlatContract */ public function videos() { - return $this->product->videos(); + return $this->product->videos() + ->orderBy('position'); } /** @@ -222,7 +224,7 @@ class ProductFlat extends Model implements ProductFlatContract /** * Retrieve product attributes. * - * @param Group $group + * @param Group $group * @param bool $skipSuperAttribute * @return Collection */ @@ -255,7 +257,7 @@ class ProductFlat extends Model implements ProductFlatContract /** * Is product saleable. * - * @param string $key + * @param string $key * @return bool */ public function isSaleable() diff --git a/packages/Webkul/Product/src/Models/ProductImage.php b/packages/Webkul/Product/src/Models/ProductImage.php index d365dbe7a..cb5cfa6e5 100755 --- a/packages/Webkul/Product/src/Models/ProductImage.php +++ b/packages/Webkul/Product/src/Models/ProductImage.php @@ -8,15 +8,36 @@ use Webkul\Product\Contracts\ProductImage as ProductImageContract; class ProductImage extends Model implements ProductImageContract { + /** + * Timestamp. + * + * @var boolean + */ public $timestamps = false; + /** + * Fillable. + * + * @var array + */ protected $fillable = [ + 'type', 'path', 'product_id', + 'position', ]; + /** + * The accessors to append to the model's array form. + * + * @var array + */ + protected $appends = ['url']; + /** * Get the product that owns the image. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function product() { @@ -25,6 +46,8 @@ class ProductImage extends Model implements ProductImageContract /** * Get image url for the product image. + * + * @return string */ public function url() { @@ -33,6 +56,8 @@ class ProductImage extends Model implements ProductImageContract /** * Get image url for the product image. + * + * @return string */ public function getUrlAttribute() { @@ -40,24 +65,13 @@ class ProductImage extends Model implements ProductImageContract } /** - * @param string $key + * Is custom attribute. * + * @param string $key * @return bool */ public function isCustomAttribute($attribute) { return $this->attribute_family->custom_attributes->pluck('code')->contains($attribute); } - - /** - * @return array - */ - public function toArray() - { - $array = parent::toArray(); - - $array['url'] = $this->url; - - return $array; - } -} \ No newline at end of file +} diff --git a/packages/Webkul/Product/src/Models/ProductVideo.php b/packages/Webkul/Product/src/Models/ProductVideo.php index 054807783..65badf3fc 100644 --- a/packages/Webkul/Product/src/Models/ProductVideo.php +++ b/packages/Webkul/Product/src/Models/ProductVideo.php @@ -8,16 +8,36 @@ use Webkul\Product\Contracts\ProductVideo as ProductVideoContract; class ProductVideo extends Model implements ProductVideoContract { + /** + * Timestamps. + * + * @param bool + */ public $timestamps = false; + /** + * Fillable. + * + * @param array + */ protected $fillable = [ + 'type', 'path', 'product_id', - 'type', + 'position', ]; + /** + * The accessors to append to the model's array form. + * + * @var array + */ + protected $appends = ['url']; + /** * Get the product that owns the image. + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function product() { @@ -26,6 +46,8 @@ class ProductVideo extends Model implements ProductVideoContract /** * Get image url for the product image. + * + * @return string */ public function url() { @@ -34,6 +56,8 @@ class ProductVideo extends Model implements ProductVideoContract /** * Get image url for the product image. + * + * @return string */ public function getUrlAttribute() { @@ -41,24 +65,13 @@ class ProductVideo extends Model implements ProductVideoContract } /** - * @param string $key + * Is custom attribute. * + * @param string $attribute * @return bool */ public function isCustomAttribute($attribute) { return $this->attribute_family->custom_attributes->pluck('code')->contains($attribute); } - - /** - * @return array - */ - public function toArray() - { - $array = parent::toArray(); - - $array['url'] = $this->url; - - return $array; - } -} \ No newline at end of file +} diff --git a/packages/Webkul/Product/src/ProductImage.php b/packages/Webkul/Product/src/ProductImage.php index 9050c71de..c115bbcda 100644 --- a/packages/Webkul/Product/src/ProductImage.php +++ b/packages/Webkul/Product/src/ProductImage.php @@ -3,13 +3,13 @@ namespace Webkul\Product; use Illuminate\Support\Facades\Storage; -use Webkul\Product\Repositories\ProductRepository; use Webkul\Product\Helpers\AbstractProduct; +use Webkul\Product\Repositories\ProductRepository; class ProductImage extends AbstractProduct { /** - * ProductRepository instance + * Product repository instance. * * @var \Webkul\Product\Repositories\ProductRepository */ @@ -23,13 +23,12 @@ class ProductImage extends AbstractProduct */ public function __construct( ProductRepository $productRepository - ) - { + ) { $this->productRepository = $productRepository; } /** - * Retrieve collection of gallery images + * Retrieve collection of gallery images. * * @param \Webkul\Product\Contracts\Product|\Webkul\Product\Contracts\ProductFlat $product * @return array @@ -87,7 +86,7 @@ class ProductImage extends AbstractProduct * present or not. If not then it will load from the product. * * @param \Webkul\Product\Contracts\Product|\Webkul\Product\Contracts\ProductFlat $product - * @param array + * @param array * @return array */ public function getProductBaseImage($product, array $galleryImages = null) @@ -126,7 +125,7 @@ class ProductImage extends AbstractProduct return $this->getProductBaseImage($product); } - /** + /** * Load product's base image. * * @param \Webkul\Product\Contracts\Product|\Webkul\Product\Contracts\ProductFlat $product @@ -154,4 +153,4 @@ class ProductImage extends AbstractProduct return $image; } -} \ No newline at end of file +} diff --git a/packages/Webkul/Product/src/Repositories/ProductImageRepository.php b/packages/Webkul/Product/src/Repositories/ProductImageRepository.php index d4d1a16db..f7b4c72ef 100755 --- a/packages/Webkul/Product/src/Repositories/ProductImageRepository.php +++ b/packages/Webkul/Product/src/Repositories/ProductImageRepository.php @@ -2,13 +2,10 @@ namespace Webkul\Product\Repositories; -use Illuminate\Http\UploadedFile; -use Webkul\Core\Eloquent\Repository; -use Illuminate\Support\Facades\Storage; use Illuminate\Container\Container as App; use Webkul\Product\Repositories\ProductRepository; -class ProductImageRepository extends Repository +class ProductImageRepository extends ProductMediaRepository { /** * Product repository object. @@ -40,17 +37,7 @@ class ProductImageRepository extends Repository */ public function model(): string { - return 'Webkul\Product\Contracts\ProductImage'; - } - - /** - * Get product directory. - * - * @param Webkul\Product\Models\Product $variant - */ - public function getProductDirectory($product): string - { - return 'product/' . $product->id; + return \Webkul\Product\Contracts\ProductImage::class; } /** @@ -62,48 +49,13 @@ class ProductImageRepository extends Repository */ public function uploadImages($data, $product): void { - $this->upload($product, $data['images'] ?? null); + $this->upload($data, $product, 'images'); if (isset($data['variants'])) { $this->uploadVariantImages($data['variants']); } } - /** - * Upload. - * - * @param Webkul\Product\Models\Product $product - * @param array - * @return void - */ - public function upload($product, $images): void - { - $previousVariantImageIds = $product->images()->pluck('id'); - - if ($images) { - foreach ($images as $imageId => $image) { - if ($image instanceof UploadedFile) { - $this->create([ - 'path' => $image->store($this->getProductDirectory($product)), - 'product_id' => $product->id, - ]); - } else { - if (is_numeric($index = $previousVariantImageIds->search($imageId))) { - $previousVariantImageIds->forget($index); - } - } - } - } - - foreach ($previousVariantImageIds as $imageId) { - if ($image = $this->find($imageId)) { - Storage::delete($image->path); - - $this->delete($imageId); - } - } - } - /** * Upload variant images. * @@ -112,14 +64,14 @@ class ProductImageRepository extends Repository */ public function uploadVariantImages($variants): void { - foreach ($variants as $variantsId => $variant) { + foreach ($variants as $variantsId => $variantData) { $product = $this->productRepository->find($variantsId); if (! $product) { break; } - $this->upload($product, $variant['images'] ?? null); + $this->upload($variantData, $product, 'images'); } } -} \ No newline at end of file +} diff --git a/packages/Webkul/Product/src/Repositories/ProductMediaRepository.php b/packages/Webkul/Product/src/Repositories/ProductMediaRepository.php new file mode 100644 index 000000000..189b799dd --- /dev/null +++ b/packages/Webkul/Product/src/Repositories/ProductMediaRepository.php @@ -0,0 +1,113 @@ +id; + } + + /** + * Upload. + * + * @param array $data + * @param \Webkul\Product\Contracts\Product $product + * @param string $uploadFileType + * @return void + */ + public function upload($data, $product, string $uploadFileType): void + { + /** + * Previous model ids for filtering. + */ + $previousIds = $this->resolveFileTypeQueryBuilder($product, $uploadFileType)->pluck('id'); + + if (isset($data[$uploadFileType]['files']) && $data[$uploadFileType]['files']) { + foreach ($data[$uploadFileType]['files'] as $indexOrModelId => $file) { + if ($file instanceof UploadedFile) { + $this->create([ + 'type' => $uploadFileType, + 'path' => $file->store($this->getProductDirectory($product)), + 'product_id' => $product->id, + 'position' => $indexOrModelId, + ]); + } else { + /** + * Filter out existing models because new model positions are already setuped by index. + */ + if (isset($data[$uploadFileType]['positions']) && $data[$uploadFileType]['positions']) { + $positions = collect($data[$uploadFileType]['positions'])->keys()->filter(function ($position) { + return is_numeric($position); + }); + + $this->update([ + 'position' => $positions->search($indexOrModelId), + ], $indexOrModelId); + } + + if (is_numeric($index = $previousIds->search($indexOrModelId))) { + $previousIds->forget($index); + } + } + } + } + + foreach ($previousIds as $indexOrModelId) { + if ($model = $this->find($indexOrModelId)) { + Storage::delete($model->path); + + $this->delete($indexOrModelId); + } + } + } + + /** + * Resolve file type query builder. + * + * @param \Webkul\Product\Contracts\Product $product + * @param string $uploadFileType + * @return mixed + * + * @throws \Exception + */ + private function resolveFileTypeQueryBuilder($product, string $uploadFileType) + { + if ($uploadFileType === 'images') { + return $product->images(); + } + + if ($uploadFileType === 'videos') { + return $product->videos(); + } + + throw new Exception('Unsupported file type.'); + } +} diff --git a/packages/Webkul/Product/src/Repositories/ProductVideoRepository.php b/packages/Webkul/Product/src/Repositories/ProductVideoRepository.php index 2d7d71d38..9e7c0d139 100644 --- a/packages/Webkul/Product/src/Repositories/ProductVideoRepository.php +++ b/packages/Webkul/Product/src/Repositories/ProductVideoRepository.php @@ -2,59 +2,27 @@ namespace Webkul\Product\Repositories; -use Illuminate\Support\Facades\Storage; -use Illuminate\Support\Str; -use Illuminate\Http\UploadedFile; -use Webkul\Core\Eloquent\Repository; - -class ProductVideoRepository extends Repository +class ProductVideoRepository extends ProductMediaRepository { /** - * Specify Model class name + * Specify model class name. * - * @return mixed + * @return string */ - function model() + public function model() { - return 'Webkul\Product\Contracts\ProductVideo'; + return \Webkul\Product\Contracts\ProductVideo::class; } /** + * Upload videos. + * * @param array $data * @param \Webkul\Product\Contracts\Product $product * @return void */ public function uploadVideos($data, $product) { - $previousVideoIds = $product->videos()->pluck('id'); - - if (isset($data['videos'])) { - foreach ($data['videos'] as $videoId => $video) { - $file = 'videos.' . $videoId; - $dir = 'product/' . $product->id; - - if ($video instanceof UploadedFile) { - if (request()->hasFile($file)) { - $this->create([ - 'path' => request()->file($file)->store($dir), - 'product_id' => $product->id, - 'type' => 'video' - ]); - } - } else { - if (is_numeric($index = $previousVideoIds->search($videoId))) { - $previousVideoIds->forget($index); - } - } - } - } - - foreach ($previousVideoIds as $videoId) { - if ($videoModel = $this->find($videoId)) { - Storage::delete($videoModel->path); - - $this->delete($videoId); - } - } + $this->upload($data, $product, 'videos'); } -} \ No newline at end of file +} diff --git a/packages/Webkul/Product/src/Type/AbstractType.php b/packages/Webkul/Product/src/Type/AbstractType.php index 8f22a0838..f0d6e76d7 100644 --- a/packages/Webkul/Product/src/Type/AbstractType.php +++ b/packages/Webkul/Product/src/Type/AbstractType.php @@ -1053,7 +1053,7 @@ abstract class AbstractType /** * Get offers lines. * - * @param array $customerGroupPrice + * @param object $customerGroupPrice * @return array */ public function getOfferLines($customerGroupPrice) diff --git a/packages/Webkul/Product/src/Type/Bundle.php b/packages/Webkul/Product/src/Type/Bundle.php index 3038530dc..6cf5bf106 100644 --- a/packages/Webkul/Product/src/Type/Bundle.php +++ b/packages/Webkul/Product/src/Type/Bundle.php @@ -17,63 +17,65 @@ use Webkul\Product\Repositories\ProductVideoRepository; class Bundle extends AbstractType { /** - * ProductBundleOptionRepository instance + * Product bundle option repository instance. * * @var \Webkul\Product\Repositories\ProductBundleOptionRepository */ protected $productBundleOptionRepository; /** - * ProductBundleOptionProductRepository instance + * Product bundle option product repository instance. * * @var \Webkul\Product\Repositories\ProductBundleOptionProductRepository */ protected $productBundleOptionProductRepository; /** - * Bundle Option helper instance + * Bundle Option helper instance. * * @var \Webkul\Product\Helpers\BundleOption - */ + */ protected $bundleOptionHelper; /** - * Skip attribute for Bundle product type + * Skip attribute for Bundle product type. * * @var array */ protected $skipAttributes = ['price', 'cost', 'special_price', 'special_price_from', 'special_price_to', 'length', 'width', 'height', 'weight']; /** - * These blade files will be included in product edit page + * These blade files will be included in product edit page. * * @var array */ protected $additionalViews = [ 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.bundle-items', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** - * Is a composite product type + * Is a composite product type. * * @var bool */ protected $isComposite = true; /** - * Product children price can be calculated or not + * Product children price can be calculated or not. * * @var bool */ protected $isChildrenCalculated = true; /** - * Product Options + * Product options. + * + * @var array */ protected $productOptions = []; @@ -101,8 +103,7 @@ class Bundle extends AbstractType ProductBundleOptionProductRepository $productBundleOptionProductRepository, BundleOption $bundleOptionHelper, ProductVideoRepository $productVideoRepository - ) - { + ) { parent::__construct( $attributeRepository, $productRepository, @@ -120,12 +121,14 @@ class Bundle extends AbstractType } /** + * Update. + * * @param array $data * @param int $id * @param string $attribute * @return \Webkul\Product\Contracts\Product */ - public function update(array $data, $id, $attribute = "id") + public function update(array $data, $id, $attribute = 'id') { $product = parent::update($data, $id, $attribute); $route = request()->route() ? request()->route()->getName() : ''; @@ -138,7 +141,7 @@ class Bundle extends AbstractType } /** - * Returns children ids + * Returns children ids. * * @return array */ @@ -148,7 +151,7 @@ class Bundle extends AbstractType } /** - * Check if catalog rule can be applied + * Check if catalog rule can be applied. * * @return bool */ @@ -158,7 +161,7 @@ class Bundle extends AbstractType } /** - * Get product minimal price + * Get product minimal price. * * @param int $qty * @return float @@ -193,7 +196,7 @@ class Bundle extends AbstractType } /** - * Get product regular minimal price + * Get product regular minimal price. * * @return float */ @@ -227,7 +230,7 @@ class Bundle extends AbstractType } /** - * Get product regular minimal price + * Get product regular minimal price. * * @param \Webkul\Product\Contracts\ProductBundleOption $option * @param bool $minPrice @@ -243,17 +246,17 @@ class Bundle extends AbstractType } $optionPrices[] = $bundleOptionProduct->qty - * ($minPrice - ? $bundleOptionProduct->product->getTypeInstance()->getMinimalPrice() - : $bundleOptionProduct->product->price - ); + * ($minPrice + ? $bundleOptionProduct->product->getTypeInstance()->getMinimalPrice() + : $bundleOptionProduct->product->price + ); } return $optionPrices; } /** - * Check if product has required options or not + * Check if product has required options or not. * * @return bool */ @@ -269,7 +272,7 @@ class Bundle extends AbstractType } /** - * Get product maximam price + * Get product maximum price. * * @return float */ @@ -306,7 +309,7 @@ class Bundle extends AbstractType } /** - * Get product regular maximam price + * Get product regular maximum price. * * @return float */ @@ -343,7 +346,7 @@ class Bundle extends AbstractType } /** - * Get product minimal price + * Get product minimal price. * * @param int $qty * @return float @@ -354,7 +357,7 @@ class Bundle extends AbstractType } /** - * Returns product prices + * Returns product prices. * * @return array */ @@ -369,10 +372,10 @@ class Bundle extends AbstractType 'final_price' => [ 'price' => core()->convertPrice($this->evaluatePrice($this->getMinimalPrice())), 'formated_price' => core()->currency($this->evaluatePrice($this->getMinimalPrice())), - ] + ], ], - 'to' => [ + 'to' => [ 'regular_price' => [ 'price' => core()->convertPrice($this->evaluatePrice($this->getRegularMaximamPrice())), 'formated_price' => core()->currency($this->evaluatePrice($this->getRegularMaximamPrice())), @@ -380,13 +383,13 @@ class Bundle extends AbstractType 'final_price' => [ 'price' => core()->convertPrice($this->evaluatePrice($this->getMaximamPrice())), 'formated_price' => core()->currency($this->evaluatePrice($this->getMaximamPrice())), - ] - ] + ], + ], ]; } /** - * Get bundle product special price + * Get bundle product special price. * * @return boolean */ @@ -405,7 +408,7 @@ class Bundle extends AbstractType } /** - * Get product minimal price + * Get product minimal price. * * @return string */ @@ -415,19 +418,19 @@ class Bundle extends AbstractType $priceHtml = ''; - if ($this->checkBundleProductHaveSpecialPrice()) + if ($this->checkBundleProductHaveSpecialPrice()) { $priceHtml .= '
    ' . trans('shop::app.products.sale') . '
    '; + } $priceHtml .= '
    '; if ($prices['from']['regular_price']['price'] != $prices['from']['final_price']['price']) { $priceHtml .= '' . $prices['from']['regular_price']['formated_price'] . '' - . '' . $prices['from']['final_price']['formated_price'] . ''; + . '' . $prices['from']['final_price']['formated_price'] . ''; } else { $priceHtml .= '' . $prices['from']['regular_price']['formated_price'] . ''; } - if ($prices['from']['regular_price']['price'] != $prices['to']['regular_price']['price'] || $prices['from']['final_price']['price'] != $prices['to']['final_price']['price'] ) { @@ -435,7 +438,7 @@ class Bundle extends AbstractType if ($prices['to']['regular_price']['price'] != $prices['to']['final_price']['price']) { $priceHtml .= '' . $prices['to']['regular_price']['formated_price'] . '' - . '' . $prices['to']['final_price']['formated_price'] . ''; + . '' . $prices['to']['final_price']['formated_price'] . ''; } else { $priceHtml .= '' . $prices['to']['regular_price']['formated_price'] . ''; } @@ -552,6 +555,7 @@ class Bundle extends AbstractType } /** + * Compare options. * * @param array $options1 * @param array $options2 @@ -564,17 +568,20 @@ class Bundle extends AbstractType } if (isset($options1['bundle_options']) && isset($options2['bundle_options'])) { - return $options1['bundle_options'] == $options2['bundle_options'] - && $options1['bundle_option_qty'] == $this->getOptionQuantities($options2); - } elseif (! isset($options1['bundle_options'])) { + return $options1['bundle_options'] == $options2['bundle_options'] && $options1['bundle_option_qty'] == $this->getOptionQuantities($options2); + } + + if (! isset($options1['bundle_options'])) { return false; - } elseif (! isset($options2['bundle_options'])) { + } + + if (! isset($options2['bundle_options'])) { return false; } } /** - * Remove invalid options from add to cart request + * Remove invalid options from add to cart request. * * @param array $data * @return array @@ -585,7 +592,7 @@ class Bundle extends AbstractType if (is_array($value)) { $data[$key] = $this->validateBundleOptionForCart($value); } elseif ($value && $value) { - $data[$key] = (int)$value; + $data[$key] = (int) $value; } else { unset($data[$key]); } @@ -595,7 +602,7 @@ class Bundle extends AbstractType } /** - * Returns additional information for items + * Returns additional information for items. * * @param array $data * @return array @@ -628,7 +635,7 @@ class Bundle extends AbstractType $label = $qty . ' x ' . $optionProduct->product->name; $price = $optionProduct->product->getTypeInstance()->getMinimalPrice(); - if($price != 0){ + if ($price != 0) { $label .= ' ' . core()->currency($price); } @@ -650,7 +657,7 @@ class Bundle extends AbstractType } /** - * Returns additional information for items + * Returns additional information for items. * * @param array $data * @return array @@ -681,10 +688,9 @@ class Bundle extends AbstractType } /** - * Validate cart item product price and other things - * - * @param \Webkul\Checkout\Models\CartItem $item + * Validate cart item product price and other things. * + * @param \Webkul\Checkout\Models\CartItem $item * @return \Webkul\Product\Datatypes\CartItemValidationResult */ public function validateCartItem(CartItem $item): CartItemValidationResult @@ -732,17 +738,23 @@ class Bundle extends AbstractType } /** - * get product options + * Get product options. + * + * @param object $product + * @return mixed */ - public function getProductOptions($product = "") + public function getProductOptions($product = '') { $bundleOption = app('Webkul\Product\Helpers\BundleOption'); + $options = $bundleOption->getProductOptions($product); return $options; } /** + * Have sufficient quantity. + * * @param int $qty * @return bool */ diff --git a/packages/Webkul/Product/src/Type/Configurable.php b/packages/Webkul/Product/src/Type/Configurable.php index 278b83d77..a61ccb8e5 100644 --- a/packages/Webkul/Product/src/Type/Configurable.php +++ b/packages/Webkul/Product/src/Type/Configurable.php @@ -33,11 +33,11 @@ class Configurable extends AbstractType */ protected $additionalViews = [ 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.variations', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** @@ -347,7 +347,7 @@ class Configurable extends AbstractType * Fill required fields. * * @param array $data - * @param int $id + * @param int $id * @return \Webkul\Product\Contracts\Product */ public function fillRequiredFields(array $data): array @@ -365,7 +365,7 @@ class Configurable extends AbstractType /** * Check variant option availability. * - * @param array $data + * @param array $data * @param \Webkul\Product\Contracts\Product $product * @return bool */ @@ -653,9 +653,13 @@ class Configurable extends AbstractType if (isset($options1['selected_configurable_option']) && isset($options2['selected_configurable_option'])) { return $options1['selected_configurable_option'] === $options2['selected_configurable_option']; - } elseif (! isset($options1['selected_configurable_option'])) { + } + + if (! isset($options1['selected_configurable_option'])) { return false; - } elseif (! isset($options2['selected_configurable_option'])) { + } + + if (! isset($options2['selected_configurable_option'])) { return false; } } diff --git a/packages/Webkul/Product/src/Type/Downloadable.php b/packages/Webkul/Product/src/Type/Downloadable.php index c6311ce80..dcc7a3232 100644 --- a/packages/Webkul/Product/src/Type/Downloadable.php +++ b/packages/Webkul/Product/src/Type/Downloadable.php @@ -16,56 +16,58 @@ use Webkul\Product\Repositories\ProductVideoRepository; class Downloadable extends AbstractType { /** - * ProductDownloadableLinkRepository instance + * Product downloadable link repository instance. * * @var \Webkul\Product\Repositories\ProductDownloadableLinkRepository */ protected $productDownloadableLinkRepository; /** - * ProductDownloadableSampleRepository instance + * Product downloadable sample repository instance. * * @var \Webkul\Product\Repositories\ProductDownloadableSampleRepository */ protected $productDownloadableSampleRepository; /** - * Skip attribute for downloadable product type + * Skip attribute for downloadable product type. * * @var array */ protected $skipAttributes = ['length', 'width', 'height', 'weight', 'guest_checkout']; /** - * These blade files will be included in product edit page + * These blade files will be included in product edit page. * * @var array */ protected $additionalViews = [ 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.downloadable', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** - * Is a stokable product type + * Is a stokable product type. * * @var bool */ protected $isStockable = false; /** - * Show quantity box + * Show quantity box. * * @var bool */ protected $allowMultipleQty = false; /** - * getProductOptions + * Get product options. + * + * @var array */ protected $getProductOptions = []; @@ -80,7 +82,6 @@ class Downloadable extends AbstractType * @param \Webkul\Product\Repositories\ProductDownloadableLinkRepository $productDownloadableLinkRepository * @param \Webkul\Product\Repositories\ProductDownloadableSampleRepository $productDownloadableSampleRepository * @param \Webkul\Product\Repositories\ProductVideoRepository $productVideoRepository - * * @return void */ public function __construct( @@ -92,8 +93,7 @@ class Downloadable extends AbstractType ProductDownloadableLinkRepository $productDownloadableLinkRepository, ProductDownloadableSampleRepository $productDownloadableSampleRepository, ProductVideoRepository $productVideoRepository - ) - { + ) { parent::__construct( $attributeRepository, $productRepository, @@ -109,13 +109,14 @@ class Downloadable extends AbstractType } /** - * @param array $data - * @param int $id - * @param string $attribute + * Update. * + * @param array $data + * @param int $id + * @param string $attribute * @return \Webkul\Product\Contracts\Product */ - public function update(array $data, $id, $attribute = "id") + public function update(array $data, $id, $attribute = 'id') { $product = parent::update($data, $id, $attribute); $route = request()->route() ? request()->route()->getName() : ''; @@ -130,7 +131,7 @@ class Downloadable extends AbstractType } /** - * Return true if this product type is saleable + * Return true if this product type is saleable. * * @return bool */ @@ -153,14 +154,13 @@ class Downloadable extends AbstractType } /** - * Returns validation rules + * Returns validation rules. * * @return array */ public function getTypeValidationRules() { return [ - // 'downloadable_links.*.title' => 'required', 'downloadable_links.*.type' => 'required', 'downloadable_links.*.file' => 'required_if:type,==,file', 'downloadable_links.*.file_name' => 'required_if:type,==,file', @@ -173,8 +173,7 @@ class Downloadable extends AbstractType /** * Add product. Returns error message if can't prepare product. * - * @param array $data - * + * @param array $data * @return array */ public function prepareForCart($data) @@ -200,10 +199,10 @@ class Downloadable extends AbstractType } /** + * Compare options. * - * @param array $options1 - * @param array $options2 - * + * @param array $options1 + * @param array $options2 * @return bool */ public function compareOptions($options1, $options2) @@ -214,18 +213,21 @@ class Downloadable extends AbstractType if (isset($options1['links']) && isset($options2['links'])) { return $options1['links'] === $options2['links']; - } elseif (! isset($options1['links'])) { + } + + if (! isset($options1['links'])) { return false; - } elseif (! isset($options2['links'])) { + } + + if (! isset($options2['links'])) { return false; } } /** - * Returns additional information for items - * - * @param array $data + * Returns additional information for items. * + * @param array $data * @return array */ public function getAdditionalOptions($data) @@ -250,8 +252,7 @@ class Downloadable extends AbstractType /** * Validate cart item product price * - * @param \Webkul\Checkout\Models\CartItem $item - * + * @param \Webkul\Checkout\Models\CartItem $item * @return \Webkul\Product\Datatypes\CartItemValidationResult */ public function validateCartItem(CartItem $item): CartItemValidationResult @@ -292,7 +293,7 @@ class Downloadable extends AbstractType } /** - * Get product maximam price + * Get product maximum price * * @return float */ diff --git a/packages/Webkul/Product/src/Type/Grouped.php b/packages/Webkul/Product/src/Type/Grouped.php index fcb84e5b1..4687464d0 100644 --- a/packages/Webkul/Product/src/Type/Grouped.php +++ b/packages/Webkul/Product/src/Type/Grouped.php @@ -34,11 +34,11 @@ class Grouped extends AbstractType */ protected $additionalViews = [ 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.grouped-products', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** diff --git a/packages/Webkul/Product/src/Type/Simple.php b/packages/Webkul/Product/src/Type/Simple.php index 100b2a228..679640bae 100644 --- a/packages/Webkul/Product/src/Type/Simple.php +++ b/packages/Webkul/Product/src/Type/Simple.php @@ -5,17 +5,17 @@ namespace Webkul\Product\Type; class Simple extends AbstractType { /** - * These blade files will be included in product edit page + * These blade files will be included in product edit page. * * @var array */ protected $additionalViews = [ 'admin::catalog.products.accordians.inventories', 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** @@ -52,6 +52,8 @@ class Simple extends AbstractType } /** + * Have sufficient quantity. + * * @param int $qty * @return bool */ @@ -59,13 +61,13 @@ class Simple extends AbstractType { $backorders = core()->getConfigData('catalog.inventory.stock_options.backorders'); - $backorders = ! is_null ($backorders) ? $backorders : false; + $backorders = ! is_null($backorders) ? $backorders : false; return $qty <= $this->totalQuantity() ? true : $backorders; } /** - * Get product maximam price + * Get product maximum price. * * @return float */ diff --git a/packages/Webkul/Product/src/Type/Virtual.php b/packages/Webkul/Product/src/Type/Virtual.php index bff7eb883..eacb5a021 100644 --- a/packages/Webkul/Product/src/Type/Virtual.php +++ b/packages/Webkul/Product/src/Type/Virtual.php @@ -5,42 +5,42 @@ namespace Webkul\Product\Type; class Virtual extends AbstractType { /** - * Skip attribute for virtual product type + * Skip attribute for virtual product type. * * @var array */ protected $skipAttributes = ['length', 'width', 'height', 'weight']; /** - * These blade files will be included in product edit page + * These blade files will be included in product edit page. * * @var array */ protected $additionalViews = [ 'admin::catalog.products.accordians.inventories', 'admin::catalog.products.accordians.images', + 'admin::catalog.products.accordians.videos', 'admin::catalog.products.accordians.categories', 'admin::catalog.products.accordians.channels', 'admin::catalog.products.accordians.product-links', - 'admin::catalog.products.accordians.videos', ]; /** - * Is a stokable product type + * Is a stokable product type. * * @var bool */ protected $isStockable = false; /** - * Show quantity box + * Show quantity box. * * @var bool */ protected $showQuantityBox = true; /** - * Return true if this product type is saleable + * Return true if this product type is saleable. * * @return bool */ @@ -63,8 +63,9 @@ class Virtual extends AbstractType } /** - * @param int $qty + * Have sufficient quantity. * + * @param int $qty * @return bool */ public function haveSufficientQuantity(int $qty): bool @@ -73,7 +74,7 @@ class Virtual extends AbstractType } /** - * Get product maximam price + * Get product maximum price. * * @return float */ diff --git a/packages/Webkul/Sales/src/Config/system.php b/packages/Webkul/Sales/src/Config/system.php index 835f78baa..0134ac049 100644 --- a/packages/Webkul/Sales/src/Config/system.php +++ b/packages/Webkul/Sales/src/Config/system.php @@ -2,12 +2,29 @@ return [ /** - * Order Settings + * Sales. + * + * Child keys are in different package. + * + * Sort `1` | Shipping | Shipping Package + * Sort `2` | Shipping Method | Shipping Package + * Sort `3` | Payment Method | Payment Package + * Sort `4` | Order Settings | Self + * Sort `5` | Invoice Settings | Self + */ + [ + 'key' => 'sales', + 'name' => 'admin::app.admin.system.sales', + 'sort' => 5, + ], + + /** + * Order settings. */ [ 'key' => 'sales.orderSettings', 'name' => 'admin::app.admin.system.order-settings', - 'sort' => 3, + 'sort' => 4, ], [ 'key' => 'sales.orderSettings.order_number', 'name' => 'admin::app.admin.system.orderNumber', @@ -45,7 +62,7 @@ return [ 'channel_based' => true, 'locale_based' => true, ], - ] + ], ], [ 'key' => 'sales.orderSettings.minimum-order', 'name' => 'admin::app.admin.system.minimum-order', @@ -59,16 +76,16 @@ return [ 'channel_based' => true, 'locale_based' => true, ], - ] + ], ], /** - * Invoice Settings + * Invoice settings. */ [ 'key' => 'sales.invoice_setttings', 'name' => 'admin::app.admin.system.invoice-settings', - 'sort' => 4, + 'sort' => 5, ], [ 'key' => 'sales.invoice_setttings.invoice_number', 'name' => 'admin::app.admin.system.invoice-number', @@ -106,7 +123,7 @@ return [ 'channel_based' => true, 'locale_based' => true, ], - ] + ], ], [ 'key' => 'sales.invoice_setttings.payment_terms', 'name' => 'admin::app.admin.system.payment-terms', @@ -119,7 +136,7 @@ return [ 'validation' => 'numeric', 'channel_based' => true, ], - ] + ], ], [ 'key' => 'sales.invoice_setttings.invoice_slip_design', 'name' => 'admin::app.admin.system.invoice-slip-design', @@ -132,7 +149,7 @@ return [ 'validation' => 'mimes:bmp,jpeg,jpg,png,webp', 'channel_based' => true, ], - ] + ], ], [ 'key' => 'sales.invoice_setttings.invoice_reminders', 'name' => 'admin::app.admin.system.invoice-reminders', @@ -146,10 +163,10 @@ return [ 'channel_based' => true, ], [ - 'name' => 'interval_between_reminders', - 'title' => 'admin::app.admin.system.interval-between-reminders', - 'type' => 'select', - 'options' => [ + 'name' => 'interval_between_reminders', + 'title' => 'admin::app.admin.system.interval-between-reminders', + 'type' => 'select', + 'options' => [ [ 'title' => '1 day', 'value' => 'P1D', @@ -183,6 +200,6 @@ return [ ], ], ], - ] + ], ], ]; diff --git a/packages/Webkul/Shipping/src/Config/system.php b/packages/Webkul/Shipping/src/Config/system.php index 19cd0fe17..428c5c4b9 100755 --- a/packages/Webkul/Shipping/src/Config/system.php +++ b/packages/Webkul/Shipping/src/Config/system.php @@ -1,109 +1,17 @@ 'sales', - 'name' => 'admin::app.admin.system.sales', - 'sort' => 5, - ], [ - 'key' => 'sales.carriers', - 'name' => 'admin::app.admin.system.shipping-methods', - 'sort' => 1, - ], [ - 'key' => 'sales.carriers.free', - 'name' => 'admin::app.admin.system.free-shipping', - 'sort' => 1, - 'fields' => [ - [ - 'name' => 'title', - 'title' => 'admin::app.admin.system.title', - 'type' => 'depends', - 'depend' => 'active:1', - 'validation' => 'required_if:active,1', - 'channel_based' => false, - 'locale_based' => true, - ], [ - 'name' => 'description', - 'title' => 'admin::app.admin.system.description', - 'type' => 'textarea', - 'channel_based' => false, - 'locale_based' => true, - ], [ - 'name' => 'active', - 'title' => 'admin::app.admin.system.status', - 'type' => 'boolean', - 'validation' => 'required', - 'channel_based' => false, - 'locale_based' => true, - ], [ - 'name' => 'is_calculate_tax', - 'title' => 'admin::app.admin.system.calculate-tax', - 'type' => 'boolean', - 'validation' => 'required', - 'channel_based' => false, - 'locale_based' => false, - ] - ] - ], [ - 'key' => 'sales.carriers.flatrate', - 'name' => 'admin::app.admin.system.flate-rate-shipping', - 'sort' => 2, - 'fields' => [ - [ - 'name' => 'title', - 'title' => 'admin::app.admin.system.title', - 'type' => 'depends', - 'depend' => 'active:1', - 'validation' => 'required_if:active,1', - 'channel_based' => true, - 'locale_based' => true, - ], [ - 'name' => 'description', - 'title' => 'admin::app.admin.system.description', - 'type' => 'textarea', - 'channel_based' => true, - 'locale_based' => false, - ], [ - 'name' => 'default_rate', - 'title' => 'admin::app.admin.system.rate', - 'type' => 'depends', - 'depend' => 'active:1', - 'validation' => 'required_if:active,1', - 'channel_based' => true, - 'locale_based' => false, - ], [ - 'name' => 'type', - 'title' => 'admin::app.admin.system.type', - 'type' => 'select', - 'options' => [ - [ - 'title' => 'Per Unit', - 'value' => 'per_unit', - ], [ - 'title' => 'Per Order', - 'value' => 'per_order', - ] - ], - ], [ - 'name' => 'active', - 'title' => 'admin::app.admin.system.status', - 'type' => 'boolean', - 'validation' => 'required', - 'channel_based' => false, - 'locale_based' => true, - ], [ - 'name' => 'is_calculate_tax', - 'title' => 'admin::app.admin.system.calculate-tax', - 'type' => 'boolean', - 'validation' => 'required', - 'channel_based' => false, - 'locale_based' => false, - ] - ] - ], [ 'key' => 'sales.shipping', 'name' => 'admin::app.admin.system.shipping', - 'sort' => 0, + 'sort' => 1, ], [ 'key' => 'sales.shipping.origin', 'name' => 'admin::app.admin.system.origin', @@ -123,7 +31,7 @@ return [ 'validation' => 'required', 'channel_based' => true, 'locale_based' => true, - ], [ + ], [ 'name' => 'city', 'title' => 'admin::app.admin.system.city', 'type' => 'text', @@ -164,7 +72,107 @@ return [ 'title' => 'admin::app.admin.system.bank-details', 'type' => 'textarea', 'channel_based' => true, - ] - ] - ] + ], + ], + ], + + /** + * Shipping method. + */ + [ + 'key' => 'sales.carriers', + 'name' => 'admin::app.admin.system.shipping-methods', + 'sort' => 2, + ], [ + 'key' => 'sales.carriers.free', + 'name' => 'admin::app.admin.system.free-shipping', + 'sort' => 1, + 'fields' => [ + [ + 'name' => 'title', + 'title' => 'admin::app.admin.system.title', + 'type' => 'depends', + 'depend' => 'active:1', + 'validation' => 'required_if:active,1', + 'channel_based' => false, + 'locale_based' => true, + ], [ + 'name' => 'description', + 'title' => 'admin::app.admin.system.description', + 'type' => 'textarea', + 'channel_based' => false, + 'locale_based' => true, + ], [ + 'name' => 'active', + 'title' => 'admin::app.admin.system.status', + 'type' => 'boolean', + 'validation' => 'required', + 'channel_based' => false, + 'locale_based' => true, + ], [ + 'name' => 'is_calculate_tax', + 'title' => 'admin::app.admin.system.calculate-tax', + 'type' => 'boolean', + 'validation' => 'required', + 'channel_based' => false, + 'locale_based' => false, + ], + ], + ], [ + 'key' => 'sales.carriers.flatrate', + 'name' => 'admin::app.admin.system.flate-rate-shipping', + 'sort' => 2, + 'fields' => [ + [ + 'name' => 'title', + 'title' => 'admin::app.admin.system.title', + 'type' => 'depends', + 'depend' => 'active:1', + 'validation' => 'required_if:active,1', + 'channel_based' => true, + 'locale_based' => true, + ], [ + 'name' => 'description', + 'title' => 'admin::app.admin.system.description', + 'type' => 'textarea', + 'channel_based' => true, + 'locale_based' => false, + ], [ + 'name' => 'default_rate', + 'title' => 'admin::app.admin.system.rate', + 'type' => 'depends', + 'depend' => 'active:1', + 'validation' => 'required_if:active,1', + 'channel_based' => true, + 'locale_based' => false, + ], [ + 'name' => 'type', + 'title' => 'admin::app.admin.system.type', + 'type' => 'select', + 'options' => [ + [ + 'title' => 'Per Unit', + 'value' => 'per_unit', + ], [ + 'title' => 'Per Order', + 'value' => 'per_order', + ], + ], + ], [ + 'name' => 'active', + 'title' => 'admin::app.admin.system.status', + 'type' => 'boolean', + 'validation' => 'required', + 'channel_based' => false, + 'locale_based' => true, + ], [ + 'name' => 'is_calculate_tax', + 'title' => 'admin::app.admin.system.calculate-tax', + 'type' => 'boolean', + 'validation' => 'required', + 'channel_based' => false, + 'locale_based' => false, + ], + ], + ], ]; diff --git a/packages/Webkul/Shop/publishable/assets/css/shop.css b/packages/Webkul/Shop/publishable/assets/css/shop.css index 64f2f6f4f..f587ae12f 100644 --- a/packages/Webkul/Shop/publishable/assets/css/shop.css +++ b/packages/Webkul/Shop/publishable/assets/css/shop.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Montserrat:400,500&display=swap);@charset "UTF-8";.icon{display:inline-block;background-size:cover}.dropdown-right-icon{background-image:URL(../images/icon-dropdown-left.svg);width:8px;height:8px;margin-left:auto;margin-bottom:2px}.icon-menu-close{background-image:URL(../images/icon-menu-close.svg);width:24px;height:24px;margin-left:auto}.icon-menu-close-adj{background-image:URL(../images/cross-icon-adj.svg);margin-left:auto}.grid-view-icon{background-image:URL(../images/icon-grid-view.svg);width:24px;height:24px}.list-view-icon{background-image:URL(../images/icon-list-view.svg);width:24px;height:24px}.sort-icon{background-image:URL(../images/icon-sort.svg);width:32px;height:32px}.filter-icon{background-image:URL(../images/icon-filter.svg);width:32px;height:32px}.whishlist-icon{background-image:URL(../images/wishlist.svg);width:24px;height:24px}.share-icon{background-image:URL(../images/icon-share.svg);width:24px;height:24px}.icon-menu{background-image:URL(../images/icon-menu.svg);width:24px;height:24px}.icon-search{background-image:URL(../images/icon-search.svg);width:24px;height:24px}.icon-menu-back{background-image:URL(../images/icon-menu-back.svg);width:24px;height:24px}.shipping-icon{background-image:url(../images/shipping.svg);width:32px;height:32px}.payment-icon{background-image:url(../images/payment.svg);width:32px;height:32px}.cart-icon{background-image:url(../images/icon-cart.svg);width:24px;height:24px}.compare-icon{background-image:url(../images/compare_arrows.png);width:32px;height:32px}.wishlist-icon{background-image:url(../images/wishlist.svg);width:32px;height:32px}.icon-arrow-up{background-image:url(../images/arrow-up.svg);width:16px;height:16px}.icon-arrow-down{background-image:url(../images/arrow-down.svg);width:16px;height:16px}.expand-icon{background-image:url(../images/Expand-Light.svg);width:18px;height:18px}.expand-on-icon{background-image:url(../images/Expand-Light-On.svg);width:18px;height:18px}.icon-menu-close-adj{background-image:url(../images/cross-icon-adj.svg);width:32px;height:32px}.icon-facebook{background-image:url(../images/facebook.svg)}.icon-twitter{background-image:url(../images/twitter.svg)}.icon-google-plus{background-image:url(../images/google-plus.svg)}.icon-instagram{background-image:url(../images/instagram.svg)}.icon-linkedin{background-image:url(../images/linkedin.svg)}.icon-dropdown{background-image:url(../images/icon-dropdown.svg)}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}body{margin:0;padding:0;font-weight:500;max-width:100%;width:auto;color:#242424;font-size:16px}*{font-family:Montserrat,sans-serif}::-webkit-input-placeholder{font-family:Montserrat,sans-serif}::-moz-input-placeholder{font-family:Montserrat,sans-serif}textarea{resize:none}input{font-family:Montserrat,sans-serif}.btn{border-radius:0!important}.pagination.shop{display:flex;flex-direction:row;align-items:center;justify-content:center}@media only screen and (max-width:770px){.pagination.shop{justify-content:space-between}.pagination.shop .page-item{display:none}.pagination.shop .page-item.next,.pagination.shop .page-item.previous{display:block}}.bold{font-weight:700;color:#3a3a3a}.radio-container{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.radio-container input{position:absolute;opacity:0;cursor:pointer;top:0;left:0}.radio-container .checkmark{position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border:2px solid #ff6472;border-radius:50%}.radio-container .checkmark:after{content:"";position:absolute;display:none;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:#ff6472}.details .accordian .accordian-content div,.details .description{overflow:auto}.radio-container input:checked~.checkmark:after{display:block}.radio-container input:disabled~.checkmark{display:block;border:2px solid rgba(255,100,113,.4)}.cp-spinner{width:48px;height:48px;display:inline-block;box-sizing:border-box}.cp-round:before{border-radius:50%;border:6px solid #bababa}.cp-round:after,.cp-round:before{content:" ";width:48px;height:48px;display:inline-block;box-sizing:border-box;position:absolute;top:0;left:0}.cp-round:after{border-radius:50%;border:6px solid transparent;border-top-color:#0031f0;-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite}.radio{margin:10px 0 0!important}.checkbox{margin:10px 0 0}.checkbox .checkbox-view{height:16px!important;width:16px!important;background-image:url(../images/checkbox.svg)!important}.checkbox input:checked+.checkbox-view{background-image:url(../images/checkbox-checked.svg)!important}.pull-right{float:right!important}.pull-left{float:left!important}.add-to-wishlist .wishlist-icon:hover{background-image:url(../images/wishlist-added.svg)}.add-to-wishlist.already .wishlist-icon{background-image:url(../images/wishlist-added.svg)!important}.product-price{margin-bottom:14px;width:100%;font-weight:600;word-break:break-all}.product-price .price-label{font-size:14px;font-weight:400;margin-right:5px}.product-price .regular-price{color:#a5a5a5;text-decoration:line-through;margin-right:10px}.product-price .special-price{color:#ff6472}.product-price .price-from .bundle-regular-price{color:#a5a5a5;text-decoration:line-through;margin-right:10px}.product-price .price-from .bundle-special-price{color:#ff6472}.product-price .price-from .bundle-to{display:block;font-weight:500;margin-top:1px;margin-bottom:1px}.horizontal-rule{display:block;width:100%;height:1px;background:#c7c7c7}.account-head .account-heading{font-size:28px;color:#242424;text-transform:capitalize;text-align:left}.account-head .account-action{font-size:17px;margin-top:1%;color:#0031f0;float:right}.account-head .horizontal-rule{margin-top:1.1%;width:100%;height:1px;vertical-align:middle;background:#c7c7c7}.account-item-card{justify-content:space-between;align-items:center;width:100%}.account-item-card,.account-item-card .media-info{display:flex;flex-direction:row}.account-item-card .media-info .media{height:125px;width:110px}.account-item-card .media-info .info{margin-left:20px;margin-right:20px;display:flex;flex-direction:column;justify-content:space-evenly}.account-item-card .media-info .info .stars .icon{height:16px;width:16px}.account-item-card .operations{display:flex;flex-direction:column;justify-content:space-between;align-items:center}.account-item-card .operations a{width:100%}.account-item-card .operations a span{float:right}.account-items-list{display:block;width:100%}.account-items-list .grid-container{margin-top:40px}.search-result-status{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.grid-container{margin-top:20px}.main-container-wrapper{max-width:1300px;width:auto;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto}.main-container-wrapper .content-container{display:block;margin-bottom:40px}.main-container-wrapper .product-grid-4{grid-auto-rows:auto;grid-column-gap:30px;grid-row-gap:15px}.main-container-wrapper .product-grid-3,.main-container-wrapper .product-grid-4{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));justify-items:center}.main-container-wrapper .product-grid-3{grid-gap:27px;grid-auto-rows:auto}.main-container-wrapper .product-card{height:480px;position:relative;padding:15px}.main-container-wrapper .product-card .product-image{max-height:350px;max-width:280px;margin-bottom:10px;background:#f2f2f2}.main-container-wrapper .product-card .product-image img{display:block;height:100%}.main-container-wrapper .product-card .product-name{margin-bottom:14px;width:100%;color:#242424}.main-container-wrapper .product-card .product-name a{color:#242424}.main-container-wrapper .product-card .product-description{display:none}.main-container-wrapper .product-card .product-ratings{width:100%}.main-container-wrapper .product-card .product-ratings .icon{width:16px;height:16px}.main-container-wrapper .product-card .cart-wish-wrap{position:absolute;display:inline-flex;justify-content:flex-start;align-items:center;bottom:5px;height:40px}.main-container-wrapper .product-card .cart-wish-wrap .addtocart{margin-right:10px;text-transform:uppercase;text-align:left;box-shadow:1px 1px 0 #ccc}.main-container-wrapper .product-card .cart-wish-wrap .add-to-wishlist{margin-top:5px;background:transparent;border:0;cursor:pointer;padding:0}.main-container-wrapper .product-card .default-wrap{display:inline-flex;justify-content:flex-start;align-items:center;height:40px}.main-container-wrapper .product-card .default-wrap .addtocart{margin-right:10px;text-transform:uppercase;text-align:left;box-shadow:1px 1px 0 #ccc}.main-container-wrapper .product-card .default-wrap .add-to-wishlist{margin-top:5px;background:transparent;border:0;cursor:pointer;padding:0}.main-container-wrapper .product-card .sticker{border-bottom-right-radius:15px;position:absolute;top:15px;left:15px;text-transform:uppercase;padding:4px 13px;font-size:14px;color:#fff;box-shadow:1px 1px 1px #ccc;font-weight:500}.main-container-wrapper .product-card .sticker.sale{background:#ff6472}.main-container-wrapper .product-card .sticker.new{background:#2ed04c}.main-container-wrapper .product-card:hover{box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 2px 16px 4px rgba(40,44,63,.07);transition:.3s}@media only screen and (max-width:580px){.main-container-wrapper .main-container-wrapper{padding:0}}@media only screen and (max-width:551px){.main-container-wrapper .product-grid-3{grid-template-columns:48.5% 48.5%;grid-column-gap:20px}}@media only screen and (max-width:854px){.main-container-wrapper .product-image img{display:block;width:100%}.main-container-wrapper .product-grid-4{grid-template-columns:29.5% 29.5% 29.5%;grid-column-gap:35px}.main-container-wrapper .product-card:hover{padding:5px}}@media only screen and (max-width:653px){.main-container-wrapper .product-image img{display:block;width:100%}.main-container-wrapper .product-grid-4{grid-template-columns:48.5% 48.5%;grid-column-gap:17px}}@media only screen and (max-width:425px){.main-container-wrapper .product-card{font-size:90%}.main-container-wrapper .product-card .product-information .default-wrap{display:block;height:40px}.main-container-wrapper .product-card .product-image img{display:block;width:100%}.main-container-wrapper .product-card .btn.btn-md{padding:5px}.main-container-wrapper .btn-primary{width:100%}.main-container-wrapper .checkout-process .col-main .step-content .form-header{display:block}.main-container-wrapper .checkout-process .col-main .step-content .form-header .checkout-step-heading{margin-bottom:10px}.main-container-wrapper .checkout-process .col-main .step-content .form-header .btn-primary{text-align:center}.main-container-wrapper .btn-lg{padding:4px 12px;margin-bottom:10px}.main-container-wrapper .product-grid-4{grid-template-columns:48.5% 48.5%;grid-column-gap:10px}}.main-container-wrapper .product-list{min-height:200px}.main-container-wrapper .product-list .product-card{width:100%;display:flex;flex-direction:row;align-items:center;margin-bottom:20px}.main-container-wrapper .product-list .product-card .product-image{float:left;width:30%;height:350px}.main-container-wrapper .product-list .product-card .product-image img{height:100%;width:100%}.main-container-wrapper .product-list .product-card .product-information{float:right;width:70%;padding-left:30px}.main-container-wrapper .product-list .product-card:last-child{margin-bottom:0}.main-container-wrapper .product-list.empty h2{font-size:20px}.main-container-wrapper section.featured-products{display:block;margin-bottom:5%}.main-container-wrapper section.featured-products .featured-heading{width:100%;text-align:center;text-transform:uppercase;font-size:18px;margin-bottom:20px}.main-container-wrapper section.featured-products .featured-heading .featured-separator{color:#d3d3d3}.main-container-wrapper section.news-update{display:block;box-sizing:border-box;width:100%;margin-bottom:5%}.main-container-wrapper section.news-update .news-update-grid{display:grid;grid-template-columns:58.5% 40%;grid-gap:20px}.main-container-wrapper section.news-update .news-update-grid .block1{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block1 img{display:flex;height:100%;width:100%}.main-container-wrapper section.news-update .news-update-grid .block2{display:block;box-sizing:border-box;display:grid;grid-template-rows:repeat(2,minmax(50%,1fr));grid-row-gap:20px}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block1{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block1 img{width:100%}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block2{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block2 img{width:100%}section.slider-block{display:block;margin-left:auto;margin-right:auto;margin-bottom:5%}section.slider-block div.slider-content{position:relative;margin-left:auto;margin-right:auto}section.slider-block div.slider-content ul.slider-images .show-content{display:none}section.slider-block div.slider-content ul.slider-images li{position:absolute;visibility:hidden}section.slider-block div.slider-content ul.slider-images li.show{display:block;position:relative;visibility:visible;width:100%;-webkit-animation-name:example;animation-name:example;-webkit-animation-duration:4s;animation-duration:4s}section.slider-block div.slider-content ul.slider-images li.show .show-content{display:flex;position:absolute;flex-direction:row;justify-content:center;align-items:center;color:#242424;height:100%;width:100%;top:0}@-webkit-keyframes example{0%{opacity:.1}to{opacity:1}}@keyframes example{0%{opacity:.1}to{opacity:1}}section.slider-block div.slider-content ul.slider-images li img{height:500px;width:100%}section.slider-block div.slider-content div.slider-control{display:block;cursor:pointer;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;bottom:2%;right:2%}section.slider-block div.slider-content div.slider-control .dark-left-icon{background-color:#f2f2f2;height:48px;width:48px;max-height:100%;max-width:100%}section.slider-block div.slider-content div.slider-control .light-right-icon{background-color:#242424;height:48px;width:48px;max-height:100%;max-width:100%}@media only screen and (max-width:720px){section.slider-block div.slider-content div.slider-control{display:flex;justify-content:space-between;width:100%;bottom:40%;right:0}}@media only screen and (max-width:420px){section.slider-block div.slider-content ul.slider-images li img{width:100%;height:250px}section.slider-block div.slider-content div.slider-control{display:flex;justify-content:space-between;width:100%;bottom:40%;right:0}}.header{margin-top:16px;margin-bottom:21px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header .header-top{margin-bottom:16px;display:flex;max-width:100%;width:auto;margin-left:auto;margin-right:auto;align-items:center;justify-content:space-between}.header .header-top div.left-content{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.header .header-top div.left-content ul.logo-container{margin-right:12px}.header .header-top div.left-content ul.logo-container li{display:flex}.header .header-top div.left-content ul.logo-container li img{max-width:120px;max-height:40px}.header .header-top div.left-content ul.search-container li.search-group{display:inline-flex;justify-content:center;align-items:center;position:relative}.header .header-top div.left-content ul.search-container li.search-group .search-field{height:38px;border-radius:3px;border:2px solid #c7c7c7;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;padding-left:12px;font-size:14px;-webkit-appearance:none}.header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper{box-sizing:border-box;height:38px;width:38px;border:2px solid #c7c7c7;border-top-right-radius:3px;border-bottom-right-radius:3px;margin-left:-2px}.header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper button{background:#fff;border:0;padding:3px 5px;margin:0}.header .header-top div.left-content ul.search-container li.search-group .image-search-container{position:absolute;right:41px;top:7px;background:#fff}.header .header-top div.left-content ul.search-container li.search-group .image-search-container img,.header .header-top div.left-content ul.search-container li.search-group .image-search-container input{display:none}.header .header-top div.right-content .right-content-menu>li{display:inline-block;border-right:2px solid #c7c7c7;min-height:15px;padding:3px 15px 0}.header .header-top div.right-content .right-content-menu>li:first-child{padding-left:0}.header .header-top div.right-content .right-content-menu>li:last-child{border-right:0;padding-right:0}.header .header-top div.right-content .right-content-menu>li .icon{vertical-align:middle}.header .header-top div.right-content .right-content-menu>li .icon:not(.arrow-down-icon){margin-right:5px}.header .header-top div.right-content .right-content-menu>li .arrow-down-icon{width:12px;height:6px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container{border-right:0;padding-right:0}.header .header-top div.right-content .right-content-menu .cart-link{pointer-events:none}.header .header-top div.right-content .right-content-menu ul.dropdown-list{display:none;margin-top:14px}.header .header-top div.right-content .right-content-menu ul.dropdown-list li{border-right:none;padding:5px 10px;display:block}.header .header-top div.right-content .right-content-menu ul.dropdown-list li a{color:#333}.header .header-top div.right-content .right-content-menu .currency{position:absolute;right:0;width:100px}.header .header-top div.right-content .right-content-menu .account{position:absolute;right:0}.header .header-top div.right-content .right-content-menu .account li{padding:20px!important}.header .header-top div.right-content .right-content-menu .account li ul{margin-top:5px}.header .header-top div.right-content .right-content-menu .account li ul>li{padding:5px 10px 5px 0!important}.header .header-top div.right-content .right-content-menu .guest{width:300px}.header .header-top div.right-content .right-content-menu .guest .btn.btn-sm{padding:9px 25px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list{width:387px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container{padding:0}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart{color:#242424}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header{width:100%;padding:8px 16px;border-bottom:1px solid #c7c7c7}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header p{display:inline;line-height:25px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header i{float:right;height:22px;width:22px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header p.heading{font-weight:lighter}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content{padding-top:8px;width:100%;max-height:329px;overflow-y:auto}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item{display:flex;flex-direction:row;border-bottom:1px solid #c7c7c7;padding:8px 16px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item img{height:75px;width:75px;margin-right:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item-details{height:auto}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-name{font-size:16px;font-weight:700;margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-options,.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-price{margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-qty{font-weight:lighter;margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 16px;bottom:0;width:100%;background:#fff}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-footer .btn{margin:0;max-width:170px;text-align:center}.header .header-top div.right-content .menu-box,.header .header-top div.right-content .search-box{display:none}.header .header-bottom{height:47px;margin-left:auto;margin-right:auto;border-top:1px solid #c7c7c7;border-bottom:1px solid #c7c7c7;display:block}.header .header-bottom ul.nav{display:block;font-size:16px;max-width:100%;width:auto;margin-left:auto;margin-right:auto}.header .header-bottom .nav ul{margin:0;padding:0;box-shadow:1px 1px 1px 0 rgba(0,0,0,.4)}.header .header-bottom .nav a{display:block;color:#242424;text-decoration:none;padding:.8em .3em .8em .5em;text-transform:capitalize;letter-spacing:-.38px;position:relative}.header .header-bottom .nav li>.icon{display:none}.header .header-bottom .nav{vertical-align:top;display:inline-block}.header .header-bottom .nav li{position:relative}.header .header-bottom .nav>li{float:left;margin-right:1px;height:45px}.header .header-bottom .nav>li>a{margin-bottom:1px}.header .header-bottom .nav>li>a .icon{display:none}.header .header-bottom .nav li li a{margin-top:1px;white-space:normal;word-break:break-word;width:200px}.header .header-bottom .nav li a:first-child:nth-last-child(2):before{content:"";position:absolute;height:0;width:0;border:5px solid transparent;top:50%;right:5px}.header .header-bottom .nav ul{position:absolute;white-space:nowrap;border:1px solid #c7c7c7;background-color:#fff;z-index:10000;left:-99999em}.header .header-bottom .nav>li:hover{background-color:#f2f2f2}.header .header-bottom .nav>li:hover>ul{left:auto;min-width:100%}.header .header-bottom .nav>li li:hover{background-color:#f2f2f2}.header .header-bottom .nav>li li:hover>ul{left:100%;margin-left:1px;top:-2px}.header .header-bottom .nav>li:hover>a:first-child:nth-last-child(2):before,.header .header-bottom .nav li li>a:first-child:nth-last-child(2):before{margin-top:-5px}.header .header-bottom .nav li li:hover>a:first-child:nth-last-child(2):before{right:10px}.header .search-responsive{display:none}.header .search-responsive .search-content{border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7;height:50px;display:flex;align-items:center;justify-content:space-between}.header .search-responsive .search-content .search{width:80%;border:none;font-size:16px}.header .search-responsive .search-content .right{float:right}@media (max-width:720px){.header .currency-switcher{display:none!important}.header .header-top div.right-content{display:inherit}.header .header-top div.right-content .menu-box{display:inline-block;margin-left:10px}.header .header-top div.right-content .search-box{display:inline-block;margin-right:10px;cursor:pointer}.header .header-top div.right-content .right-content-menu>li{border-right:none;padding:0 2px}.header .header-top div.right-content .right-content-menu>li .icon:not(.arrow-down-icon){margin-right:0}.header .header-top div.right-content .right-content-menu .cart-link{pointer-events:all}.header .header-top div.right-content .right-content-menu .arrow-down-icon,.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-container,.header .header-top div.right-content .right-content-menu .name{display:none}.header .header-bottom{height:auto;display:none}.header .header-bottom .nav a{display:inline-block}.header .header-bottom .nav li,.header .header-bottom ul.nav{height:auto}.header .header-bottom .nav>li{float:none}.header .header-bottom .nav li>.icon{float:right;display:block}.header .header-bottom .icon.icon-arrow-down{margin-right:5px}.header .header-bottom .nav li .left{height:16px;width:16px}.header .header-bottom .nav li a>.icon{display:none}.header .header-bottom .nav ul{position:unset;border:none;box-shadow:none}.header .header-bottom .nav>li li:hover>ul{margin-left:0;top:0}ul.account-dropdown-container,ul.cart-dropdown-container,ul.search-container{display:none!important}}@media (max-width:400px){.header .header-top div.right-content .right-content-menu .guest{width:240px}.header .header-top div.right-content .right-content-menu .guest .btn.btn-sm{padding:7px 14px}}.footer{background-color:#f2f2f2;padding-left:10%;padding-right:10%;width:100%;display:inline-block}.footer .footer-content .footer-list-container{display:grid;padding:40px 10px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-auto-rows:auto;grid-row-gap:1vh}.footer .footer-content .footer-list-container .list-container .list-heading{text-transform:uppercase;color:#a5a5a5}.footer .footer-content .footer-list-container .list-container .list-group{padding-top:25px}.footer .footer-content .footer-list-container .list-container .list-group a{color:#242424}.footer .footer-content .footer-list-container .list-container .list-group li{margin-bottom:12px;list-style-type:none;text-transform:uppercase}.footer .footer-content .footer-list-container .list-container .list-group li span.icon{display:inline-block;vertical-align:middle;margin-right:5px;height:24px;width:24px}.footer .footer-content .footer-list-container .list-container .form-container{padding-top:5px}.footer .footer-content .footer-list-container .list-container .form-container .control-group .subscribe-field{width:100%}.footer .footer-content .footer-list-container .list-container .form-container .control-group .btn-primary{background-color:#242424;margin-top:8px;border-radius:0;text-align:center}.footer .footer-content .footer-list-container .list-container .form-container .control-group .locale-switcher{width:100%}.footer .footer-content .footer-list-container .list-container .currency{display:none}@media (max-width:720px){.footer{padding-left:15px}.footer .footer-list-container{padding-left:0!important}.footer .currency{display:block!important}}.footer-bottom{width:100%;height:70px;font-size:16px;color:#a5a5a5;letter-spacing:-.26px;display:flex;flex-direction:row;justify-content:center;align-items:center}.footer-bottom p{padding:0 15px}.main .category-container{display:flex;flex-direction:row;width:100%}.main .category-container .layered-filter-wrapper,.main .category-container .responsive-layred-filter{width:25%;float:left;padding-right:20px;min-height:1px}.main .category-container .layered-filter-wrapper .filter-title,.main .category-container .responsive-layred-filter .filter-title{border-bottom:1px solid #c7c7c7;color:#242424;padding:10px 0}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item{border-bottom:1px solid #c7c7c7;padding-bottom:10px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title{padding:10px 40px 0 10px;color:#5e5e5e;cursor:pointer;position:relative}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title .remove-filter-link,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title .remove-filter-link{font-weight:400;color:#0031f0;margin-right:10px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title .icon,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title .icon{background-image:url(../images/icon-dropdown.svg)!important;width:10px;height:10px;position:absolute;right:15px;top:14px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content{padding:10px;display:none}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items{padding:0;margin:0;list-style:none none}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item{padding:8px 0;color:#5e5e5e}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .checkbox,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .checkbox{margin:0}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .color-swatch,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .color-swatch{display:inline-block;margin-right:5px;min-width:20px;height:20px;border:1px solid #c7c7c7;border-radius:3px;float:right}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content .price-range-wrapper,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content .price-range-wrapper{margin-top:21px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item.active .filter-attributes-content,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item.active .filter-attributes-content{display:block}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item.active .filter-attributes-title .icon,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item.active .filter-attributes-title .icon{background-image:url(../images/arrow-up.svg)!important}.main .category-container .responsive-layred-filter{display:none;width:100%;float:none;padding-right:0;margin-top:-25px!important}.main .category-container .category-block{width:80%;display:block}.main .category-container .category-block .hero-image{display:inline-block;visibility:visible;width:100%}.main .category-container .category-block .hero-image img{max-height:400px;max-width:100%}.main .top-toolbar{width:100%;display:inline-block}.main .top-toolbar .page-info{float:left;color:#242424;line-height:45px}.main .top-toolbar .page-info span{display:none}.main .top-toolbar .page-info span:first-child{display:inline}.main .top-toolbar .pager{float:right}.main .top-toolbar .pager label{margin-right:5px}.main .top-toolbar .pager select{background:#f2f2f2;border:1px solid #c7c7c7;border-radius:3px;color:#242424;padding:10px}.main .top-toolbar .pager .view-mode{display:inline-block;margin-right:20px}.main .top-toolbar .pager .view-mode a,.main .top-toolbar .pager .view-mode span{display:inline-block;vertical-align:middle}.main .top-toolbar .pager .view-mode a.grid-view,.main .top-toolbar .pager .view-mode span.grid-view{margin-right:10px}.main .top-toolbar .pager .view-mode .sort-filter{display:none}.main .top-toolbar .pager .sorter{display:inline-block;margin-right:10px}.main .top-toolbar .pager .limiter{display:inline-block}.main .bottom-toolbar{display:block;margin-top:40px;margin-bottom:40px;text-align:center}@media only screen and (max-width:840px){.main .category-container .responsive-layred-filter,.main .layered-filter-wrapper{display:none}.main .category-block{width:100%!important}.main .category-block .top-toolbar{display:flex;flex-direction:column}.main .category-block .top-toolbar .page-info{border-bottom:1px solid #c7c7c7;line-height:15px;margin-top:10px}.main .category-block .top-toolbar .page-info span{display:inline}.main .category-block .top-toolbar .page-info span:first-child{display:none}.main .category-block .top-toolbar .page-info .sort-filter{float:right;cursor:pointer}.main .category-block .top-toolbar .pager{margin-top:20px;display:none}.main .category-block .top-toolbar .pager .view-mode{display:none}.main .category-block .responsive-layred-filter{display:block}}section.product-detail{color:#242424}section.product-detail div.category-breadcrumbs{display:inline}section.product-detail div.layouter{display:block;margin-top:20px;margin-bottom:20px}section.product-detail div.layouter .form-container{display:flex;flex-direction:row;width:100%}section.product-detail div.layouter .form-container div.product-image-group{margin-right:30px;width:604px;height:650px;max-width:604px;position:-webkit-sticky;position:sticky;top:10px}section.product-detail div.layouter .form-container div.product-image-group div{display:flex;flex-direction:row;cursor:pointer}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list{display:flex;flex-direction:column;margin-right:4px;min-width:120px;overflow:hidden;position:relative;justify-content:flex-start;max-height:480px}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame{border:2px solid transparent;background:#f2f2f2;width:120px;max-height:120px}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame.active{border-color:#0031f0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame img{height:100%;width:100%}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control{width:100%;position:absolute;text-align:center;cursor:pointer;z-index:1}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control .overlay{opacity:.3;background:#242424;width:100%;height:18px;position:absolute;left:0;z-index:-1}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control .icon{z-index:2}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control.top{top:0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control.bottom{bottom:0}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image{display:block;position:relative;background:#f2f2f2;width:100%;max-height:480px;height:100%}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image img{width:100%;height:auto;max-height:480px}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist{background-image:url(../images/wishlist.svg);position:absolute;top:10px;right:12px;background-color:transparent;border:0;cursor:pointer;padding:0;width:32px;height:32px}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist:hover{background-image:url(../images/wishlist-added.svg)}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist.already{background-image:url(../images/wishlist-added.svg)!important}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .share{position:absolute;top:10px;right:45px}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{display:none;flex-direction:row;margin-top:10px;width:79.5%;float:right;justify-content:space-between}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons .addtocart{width:49%;background:#000;white-space:normal;text-transform:uppercase}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons .buynow{width:49%;white-space:nowrap;text-transform:uppercase}section.product-detail div.layouter .form-container .details{width:50%;overflow-wrap:break-word}section.product-detail div.layouter .form-container .details .product-price{margin-bottom:14px}section.product-detail div.layouter .form-container .details .product-price .sticker{display:none}section.product-detail div.layouter .form-container .details .product-ratings{margin-bottom:20px}section.product-detail div.layouter .form-container .details .product-ratings .icon{width:16px;height:16px}section.product-detail div.layouter .form-container .details .product-ratings .total-reviews{display:inline-block;margin-left:15px}section.product-detail div.layouter .form-container .details .product-heading{font-size:24px;color:#242424;margin-bottom:15px;line-height:normal}section.product-detail div.layouter .form-container .details .product-price{margin-bottom:15px;word-break:break-all}section.product-detail div.layouter .form-container .details .product-price .special-price{font-size:24px}section.product-detail div.layouter .form-container .details .stock-status{margin-bottom:15px;font-weight:600;color:#fc6868}section.product-detail div.layouter .form-container .details .stock-status.active{color:#4caf50}section.product-detail div.layouter .form-container .details .description{margin-bottom:15px}section.product-detail div.layouter .form-container .details .description ul{padding-left:40px;list-style:disc}section.product-detail div.layouter .form-container .details .quantity{padding-top:15px;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list h3{font-size:16px;margin-top:0}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list ul li{margin-bottom:5px}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .link-list h3{font-size:16px;margin-top:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li{margin-bottom:15px}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li .checkbox{display:inline-block;margin:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li a{float:right;margin-top:3px}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li{margin-bottom:15px;width:100%;display:inline-block}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:first-child span{font-weight:600}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:first-child span:last-child{float:right;width:50px;text-align:left}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name{vertical-align:middle;display:inline-block}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name .product-price{margin-top:5px;margin-bottom:0;font-size:14px;word-break:break-all}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name .product-price .special-price{font-size:16px}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty{float:right}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group{max-width:none;width:auto;text-align:center;margin-bottom:0;border-top:0;padding-top:0}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group label{display:none}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group .control{height:38px;width:60px;text-align:center;line-height:38px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list h3{font-size:16px;margin:0;color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item{border-bottom:1px solid hsla(0,0%,63.5%,.2);padding:15px 0;width:100%;display:inline-block}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item:last-child{border-bottom:0;padding-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group{margin-bottom:0;color:#5e5e5e}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group label{color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group .control{color:#5e5e5e}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group .price{margin-left:15px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .quantity{border-top:0;padding-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .quantity.has-error button{border-color:#fc6868;color:#fc6868}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-error{float:left;width:100%}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item.has-error button{border-color:#fc6868;color:#fc6868}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary h3{font-size:16px;margin:0;color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary .quantity{border-top:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary .bundle-price{font-weight:600;font-size:24px;color:#ff6472;margin-top:10px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li{margin-bottom:20px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li .selected-products{color:#5e5e5e}section.product-detail div.layouter .form-container .details .full-description *{max-width:100%}section.product-detail div.layouter .form-container .details .full-description ul{padding-left:40px;list-style:disc}section.product-detail div.layouter .form-container .details .full-specifications td{padding:10px 0;color:#5e5e5e}section.product-detail div.layouter .form-container .details .full-specifications td:first-child{padding-right:40px}section.product-detail div.layouter .form-container .details .accordian .accordian-header{padding-left:0;font-weight:600}section.product-detail div.layouter .form-container .details .accordian .accordian-content{padding:20px 0}section.product-detail div.layouter .form-container .details .attributes{display:block;width:100%;border-bottom:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group{margin-bottom:20px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container{margin-top:10px;display:inline-block}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch{display:inline-block;margin-right:5px;min-width:40px;height:40px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch span{min-width:38px;height:38px;float:left;border:1px solid #c7c7c7;border-radius:3px;line-height:36px;text-align:center;cursor:pointer;padding:0 10px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch img{width:38px;height:38px;border:1px solid #c7c7c7;border-radius:3px;cursor:pointer;background:#f2f2f2}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input:checked+img,section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input:checked+span{border:1px solid #242424}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input{display:none}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .no-options{color:#fb3949}.accordian .accordian-header,.accordian div[slot*=header],accordian .accordian-header,accordian div[slot*=header]{font-size:16px!important}.vue-slider .vue-slider-rail{background-color:#ccc;cursor:pointer}.vue-slider .vue-slider-dot-handle{width:100%;height:100%;border-radius:50%;background-color:#fff;box-shadow:.5px .5px 2px 1px rgba(0,0,0,.32)}.vue-slider .vue-slider-dot-tooltip-inner,.vue-slider .vue-slider-dot-tooltip-text{border-color:#ff6472!important;background-color:#ff6472!important}.vue-slider .vue-slider-dot-tooltip-text{display:block;font-size:14px;min-width:20px;padding:2px 5px;text-align:center;border-radius:5px;white-space:nowrap;color:#fff}.vue-slider .vue-slider-dot-tooltip-text:before{content:"";position:absolute;bottom:-10px;left:50%;width:0;height:0;border:6px solid transparent\0;border-top-color:inherit;transform:translate(-50%)}.vue-slider .vue-slider-process{background-color:#ff6472!important}@media only screen and (max-width:720px){section.product-detail div.layouter .form-container{flex-direction:column}section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;max-width:none;width:auto;min-height:400px;height:auto;position:unset}section.product-detail div.layouter .form-container div.product-image-group .loader{margin-left:47%}section.product-detail div.layouter .form-container div.product-image-group div{flex-direction:column-reverse}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list{margin-top:5px;flex-direction:row;overflow-x:scroll;margin-right:0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame img{height:100%;width:auto}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control{display:none}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image{display:flex}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image img{margin-left:auto;margin-right:auto;width:480px}section.product-detail div.layouter .form-container div.product-image-group div .wrap{flex-direction:row;width:100%!important}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{width:100%}section.product-detail div.layouter .form-container .details{width:100%;margin-top:20px}}@media only screen and (max-width:510px){section.product-detail div.layouter .form-container div.product-image-group .product-hero-image img{width:100%!important}}.rating-reviews .rating-header{padding:20px 0}.rating-reviews .stars .icon{width:16px;height:16px}.rating-reviews .overall{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.rating-reviews .overall .review-info .number{font-size:34px}.rating-reviews .overall .review-info .total-reviews{margin-top:10px}.rating-reviews .reviews{margin-top:40px;margin-bottom:40px}.rating-reviews .reviews .review{margin-bottom:25px}.rating-reviews .reviews .review .title{margin-bottom:5px}.rating-reviews .reviews .review .stars{margin-bottom:15px;display:inline-block}.rating-reviews .reviews .review .message{margin-bottom:10px}.rating-reviews .reviews .review .image img{height:50px;width:50px;margin:5px}.rating-reviews .reviews .review .reviewer-details{color:#5e5e5e}.rating-reviews .reviews .view-all{margin-top:15px;color:#0031f0;margin-bottom:15px}.image-wrapper .image-item{width:150px!important;height:150px!important;background-size:75%!important}section.cart{width:100%;color:#242424;margin-bottom:80px;margin-top:20px}section.cart .title{font-size:24px}section.cart .cart-content{margin-top:20px;width:100%;display:inline-block}section.cart .cart-content .left-side{width:70%;float:left}section.cart .cart-content .left-side .misc-controls{width:100%;display:inline-flex;align-items:center;justify-content:space-between;margin-top:20px}section.cart .cart-content .left-side .misc-controls a.link,section.cart .cart-content .left-side .misc-controls div button{margin-right:15px}section.cart .cart-content .right-side{width:30%;display:inline-block;padding-left:40px}.cart-item-list .item{padding:10px;display:flex;flex-direction:row;border:1px solid #c7c7c7;border-radius:2px}.cart-item-list .item .item-image{margin-right:15px}.cart-item-list .item .item-image img{height:160px;width:160px}.cart-item-list .item .item-details{display:flex;flex-direction:column;justify-content:flex-start;width:100%;overflow-x:auto}.cart-item-list .item .item-details .item-title{font-size:18px;margin-bottom:10px;font-weight:600}.cart-item-list .item .item-details .item-title a{color:#242424}.cart-item-list .item .item-details .price{margin-bottom:10px;font-size:18px;font-weight:600}.cart-item-list .item .item-details .summary{margin-bottom:17px}.cart-item-list .item .item-details .misc{display:flex;width:100%;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:10px}.cart-item-list .item .item-details .misc .control-group{font-size:16px!important;margin:0 15px 0 0;width:auto}.cart-item-list .item .item-details .misc .control-group .wrap{display:inline-flex;align-items:center}.cart-item-list .item .item-details .misc .control-group label{margin-right:15px}.cart-item-list .item .item-details .misc .control-group .control{height:38px;width:60px;text-align:center;line-height:38px}.cart-item-list .item .item-details .misc .remove,.cart-item-list .item .item-details .misc .towishlist{line-height:35px;margin-right:15px}.cart-item-list .item .error-message{color:#ff6472}.quantity{display:inline-block!important}.quantity label{margin-bottom:10px}.quantity .quantity-container{display:flex!important}.quantity button{width:40px;height:38px;font-size:16px;background:#fff;border:1px solid #c7c7c7;cursor:pointer}.quantity button.decrease,.quantity button.increase{border-radius:3px}.quantity.control-group .control{text-align:center;float:left;width:60px;height:38px;margin:0;border:1px solid #c7c7c7;border-right:none;border-left:none;border-radius:0}.quantity.control-group .control:focus{border-color:#c7c7c7}.coupon-container .discount-control .control-group{margin-top:20px}.coupon-container .discount-control .control-group .control{width:100%}.coupon-container .applied-coupon-details{margin-top:30px}.coupon-container .applied-coupon-details .right{float:right}.coupon-container .applied-coupon-details .right .icon{vertical-align:text-bottom;margin-bottom:1px;cursor:pointer}.order-summary h3{font-size:16px;margin-top:0}.order-summary .item-detail{margin-top:12px}.order-summary .item-detail label.right{float:right}.order-summary .payable-amount{margin-top:17px;border-top:1px solid #c7c7c7;padding-top:12px}.order-summary .payable-amount label{font-weight:700}.order-summary .payable-amount label.right{float:right}@media only screen and (max-width:815px){section.cart .cart-content{display:block}section.cart .cart-content .left-side{width:100%;float:none}section.cart .cart-content .left-side .misc-controls{position:relative;top:300px;margin-top:0}section.cart .cart-content .right-side{width:100%;padding-left:0;position:relative;top:-20px}}@media only screen and (max-width:600px){section.cart .cart-content .left-side .cart-item-list .item{display:flex;flex-direction:column}section.cart .cart-content .left-side .cart-item-list .item .item-details{margin-top:10px}section.cart .cart-content .left-side .cart-item-list .item .item-details .misc{display:flex;flex-wrap:wrap;line-height:40px}}@media only screen and (max-width:574px){section.cart .cart-content .left-side .misc-controls{display:block;top:300px}section.cart .cart-content .left-side .misc-controls div button{width:100%;margin-top:10px}section.cart .cart-content .left-side .misc-controls div a{margin-top:10px;width:100%;text-align:center}section.cart .cart-content .right-side{top:-100px}}.checkout-method-group .line-one{display:inline-flex;align-items:center}.checkout-method-group .line-one .radio-container{padding-left:28px}.checkout-method-group .line-one .method-label{margin-top:4px}.checkout-method-group .line-two{margin-left:30px}.checkout-process{display:flex;flex-direction:row;width:100%;margin-top:20px;margin-bottom:20px;font-size:16px;color:#242424}.checkout-process .col-main{width:70%;margin-right:5%}.checkout-process .col-main ul.checkout-steps{display:inline-flex;justify-content:space-between;width:100%;padding-bottom:15px;border-bottom:1px solid #c7c7c7}.checkout-process .col-main ul.checkout-steps li{height:48px;display:flex}.checkout-process .col-main ul.checkout-steps li .decorator{height:48px;width:48px;border-radius:50%;display:inline-flex;border:1px solid #c7c7c7;background-repeat:no-repeat;background-position:50%}.checkout-process .col-main ul.checkout-steps li .decorator.address-info{background-image:url(../images/address.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.shipping{background-image:url(../images/shipping.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.payment{background-image:url(../images/payment.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.review{background-image:url(../images/finish.svg)}.checkout-process .col-main ul.checkout-steps li.completed{cursor:pointer}.checkout-process .col-main ul.checkout-steps li.completed .decorator{background-image:url(../images/complete.svg)}.checkout-process .col-main ul.checkout-steps li span{margin-left:7px;margin-top:auto;margin-bottom:auto}.checkout-process .col-main ul.checkout-steps li.active{color:#2650ef}.checkout-process .col-main ul.checkout-steps li.active .decorator{border:1px solid #2650ef}.checkout-process .col-main .step-content{padding-top:20px}.checkout-process .col-main .step-content .form-header{display:inline-flex;align-items:center;justify-content:space-between;width:100%;height:30px}.checkout-process .col-main .step-content .form-header .checkout-step-heading{font-size:24px;font-weight:700;float:left}.checkout-process .col-main .step-content .form-header .btn{float:right;font-size:14px}.checkout-process .col-main .step-content .form-container{border-bottom:1px solid #c7c7c7;padding-top:20px;padding-bottom:20px}.checkout-process .col-main .step-content .shipping-methods{font-size:16px}.checkout-process .col-main .step-content .shipping-methods .ship-method-carrier{margin-bottom:15px;font-weight:700}.checkout-process .col-main .step-content .payment-methods .radio-container{padding-left:28px}.checkout-process .col-main .step-content .payment-methods .control-info{margin-left:28px}.checkout-process .col-main .step-content .payment-methods .instructions{margin-top:10px;margin-left:30px}.checkout-process .col-main .step-content .payment-methods .instructions label{font-weight:600;font-size:14px}.checkout-process .col-main .step-content .payment-methods .instructions p{margin:0;font-size:14px;color:#777;font-style:italic}.checkout-process .col-main .step-content .address-summary{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%}.checkout-process .col-main .step-content .address-summary div.billing-address{margin-right:25%}.checkout-process .col-main .step-content .address-summary div.billing-address .horizontal-rule,.checkout-process .col-main .step-content .address-summary div.shipping-address .horizontal-rule{width:40px;background:#242424}.checkout-process .col-main .step-content .address-summary .label{width:10%}.checkout-process .col-main .step-content .address-summary .address-card-list{width:85%}.checkout-process .col-main .step-content .cart-item-list .item .row .title{width:100px;display:inline-block;color:#a5a5a5;font-weight:500;margin-bottom:10px}.checkout-process .col-main .step-content .cart-item-list .item .row .value{font-size:18px;font-weight:600}.checkout-process .col-main .step-content .order-description{display:inline-block;width:100%}.checkout-process .col-main .step-content .order-description .shipping{margin-bottom:25px}.checkout-process .col-main .step-content .order-description .decorator{height:48px;width:48px;border-radius:50%;border:1px solid #c7c7c7;vertical-align:middle;display:inline-block;text-align:center}.checkout-process .col-main .step-content .order-description .decorator .icon{margin-top:7px}.checkout-process .col-main .step-content .order-description .text{font-weight:600;vertical-align:middle;display:inline-block}.checkout-process .col-main .step-content .order-description .text .info{font-weight:500;margin-top:2px}.checkout-process .col-right{width:25%;padding-left:40px}@media only screen and (max-width:770px){.checkout-process .col-main{width:100%;padding-right:0}.checkout-process .col-main ul.checkout-steps{border-bottom:none;padding-bottom:0}.checkout-process .col-main ul.checkout-steps span{display:none}.checkout-process .col-main ul.checkout-steps .line{flex-grow:1;border-bottom:1px solid #c7c7c7;margin-left:5px;margin-right:5px}.checkout-process .step-content{padding-top:0}.checkout-process .step-content .control-group .control{width:100%}.checkout-process .col-right{display:none}}@media only screen and (max-width:480px){.checkout-process .col-main .step-content .address,.checkout-process .col-main .step-content .order-description{display:flex;flex-direction:column}.checkout-process .col-main .step-content .address .billing-address,.checkout-process .col-main .step-content .address .pull-left,.checkout-process .col-main .step-content .order-description .billing-address,.checkout-process .col-main .step-content .order-description .pull-left{width:100%!important}.checkout-process .col-main .step-content .address .pull-right,.checkout-process .col-main .step-content .address .shipping-address,.checkout-process .col-main .step-content .order-description .pull-right,.checkout-process .col-main .step-content .order-description .shipping-address{width:100%!important;margin-top:20px}}.attached-products-wrapper{margin-bottom:80px}.attached-products-wrapper .title{margin-bottom:40px;font-size:18px;color:#242424;text-align:center;position:relative}.attached-products-wrapper .title .border-bottom{border-bottom:1px solid hsla(0,0%,63.5%,.2);display:inline-block;width:100px;position:absolute;top:40px;left:50%;margin-left:-50px}.attached-products-wrapper .horizontal-rule{height:1px;background:#c7c7c7;width:148px;margin-bottom:24px;margin-left:auto;margin-right:auto}section.review .category-breadcrumbs{display:inline}section.review .review-layouter{display:flex}section.review .review-layouter .product-info{max-width:25%}section.review .review-layouter .product-info .product-name{font-size:24px}section.review .review-layouter .product-info .product-image img{height:280px;width:280px}section.review .review-layouter .product-info .product-name a{color:#242424}section.review .review-layouter .product-info .product-price{margin-top:10px;word-break:break-all}section.review .review-layouter .product-info .product-price .pro-price{color:#ff6472}section.review .review-layouter .product-info .product-price .pro-price-not{margin-left:10px;font-size:16px;color:#a5a5a5}section.review .review-layouter .product-info .product-price .offer{margin-left:10px;font-size:16px}section.review .review-layouter .review-form{margin-left:20px;width:55%}section.review .review-layouter .review-form .heading{color:#242424;font-weight:600}section.review .review-layouter .review-form .heading .right{float:right;margin-top:-10px}section.review .review-layouter .review-form .star{font-size:23px;color:#d4d4d4;transition:all .2s}section.review .review-layouter .review-form .star:before{content:"\2605"}section.review .review-layouter .review-form .control-group .control{width:100%}section.review .review-layouter .review-form .review-detail{height:150px;border:1px solid #b22222;margin-top:30px;display:flex;flex-direction:row}section.review .review-layouter .review-form .review-detail .rating-review{margin-top:40px;margin-left:20px;width:48%}section.review .review-layouter .review-form .review-detail .rating-review .avg-rating-count span{font-size:34px;text-align:center}section.review .review-layouter .review-form .review-detail .rating-calculate .progress-only{width:20px;border:1px solid #00f}section.review .review-layouter .ratings-reviews{display:flex;align-items:center;justify-content:space-between}section.review .review-layouter .ratings-reviews .left-side{padding:40px 20px;width:50%}section.review .review-layouter .ratings-reviews .left-side .rate{font-size:34px}section.review .review-layouter .ratings-reviews .left-side .stars .icon{height:16px;width:16px}section.review .review-layouter .ratings-reviews .right-side{width:50%}section.review .review-layouter .ratings-reviews .right-side .rater{display:inline-flex;align-items:center;padding-top:5px;width:100%}section.review .review-layouter .ratings-reviews .right-side .rater .star-name{margin-right:5px;width:35px}section.review .review-layouter .ratings-reviews .right-side .rater .rate-number{width:15px}section.review .review-layouter .ratings-reviews .right-side .rater .percentage{width:50px;margin-right:10px}section.review .review-layouter .ratings-reviews .right-side .rater .percentage span{float:right;white-space:nowrap}section.review .review-layouter .ratings-reviews .right-side .rater .line-bar{height:4px;width:calc(100% - 100px);margin-right:5px;margin-left:5px;background:#d8d8d8}section.review .review-layouter .ratings-reviews .right-side .rater .line-bar .line-value{background-color:#0031f0}@media only screen and (max-width:770px){section.review .category-breadcrumbs{display:none}section.review .review-layouter{flex-direction:column}section.review .review-layouter .product-info{max-width:100%}section.review .review-layouter .product-info .product-image,section.review .review-layouter .product-info .product-name,section.review .review-layouter .product-info .product-price{max-width:280px;margin-right:auto;word-break:break-all}section.review .review-layouter .review-form{width:100%;margin-left:0}section.review .review-layouter .review-form .heading .right{margin-top:50px}section.review .review-layouter .review-form .ratings-reviews{flex-direction:column;width:100%}section.review .review-layouter .review-form .ratings-reviews .left-side{width:100%;padding:0 0 40px;margin-top:-30px}section.review .review-layouter .review-form .ratings-reviews .right-side{width:100%}section.review .review-layouter .review-form .ratings-reviews .right-side .rater .percentage{margin-right:0}}.auth-content{padding-top:5%;padding-bottom:5%}.auth-content .sign-up-text{margin-bottom:2%;margin-left:auto;margin-right:auto;font-size:18px;color:#a5a5a5;text-align:center}.auth-content .login-form{margin-left:auto;margin-right:auto;display:flex;border:1px solid #c7c7c7;flex-direction:column;max-width:500px;min-width:320px;padding:25px}.auth-content .login-form .login-text{font-size:24px;font-weight:600;margin-bottom:30px}.auth-content .login-form .control-group{margin-bottom:15px!important}.auth-content .login-form .control-group .control{width:100%!important}.auth-content .login-form .forgot-password-link{font-size:17px;color:#0031f0;margin-bottom:5%}.auth-content .login-form .signup-confirm{margin-bottom:5%}.auth-content .login-form .btn-primary{width:100%;text-transform:uppercase}ol.breadcrumb{list-style:none;margin:0;padding:0}ol.breadcrumb li.breadcrumb-item{display:inline-block}ol.breadcrumb li.breadcrumb-item+.breadcrumb-item:before{display:inline-block;padding-right:5px;padding-left:5px;content:"/"}.account-table-content table{width:100%}.account-table-content table tbody tr{height:45px}.account-table-content table tbody tr td{width:250px}.account-content{width:100%;display:flex;flex-direction:row;margin-top:2.5%;margin-bottom:5.5%}.account-content a.btn.btn-lg.btn-primary{float:right}.account-content .sidebar{display:flex;flex-direction:column;align-content:center;justify-content:flex-start;width:20%;height:100%}.account-content .menu-block{margin-bottom:30px}.account-content .menu-block:last-child{margin-bottom:0}.account-content .menu-block .menu-block-title{padding-bottom:10px;font-size:18px}.account-content .menu-block .menu-block-title .right{display:none}.account-content .menu-block .menubar{border:1px solid #c7c7c7;color:#a5a5a5;position:relative}.account-content .menu-block .menubar li{width:95%;height:50px;margin-left:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;border-bottom:1px solid #c7c7c7;text-align:center}.account-content .menu-block .menubar li a{color:#5e5e5e;width:100%;text-align:left}.account-content .menu-block .menubar li .icon{display:none;position:absolute;right:12px}.account-content .menu-block .menubar li:first-child{border-top:none}.account-content .menu-block .menubar li:last-child{border-bottom:none}.account-content .menu-block .menubar li.active a{color:#0031f0}.account-content .menu-block .menubar li.active .icon{display:inline-block}.account-content .account-layout{margin-left:40px;width:80%}.account-content .account-layout .account-head .back-icon,.account-content .account-layout .responsive-empty{display:none}.account-table-content{color:#242424;margin-top:1.4%}.address-holder{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;width:100%}.address-card{width:260px;border:1px solid #c7c7c7;padding:15px;margin-right:15px;margin-bottom:15px}.address-card .control-group{width:15px;height:15px;margin-top:10px}.address-card .details{font-weight:lighter}.address-card .details span{display:block}.address-card .details .control-links{width:90%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}.address-card .details .control-links .btn{height:30px}.edit-form{display:flex;border:1px solid #c7c7c7;flex-direction:column;min-height:345px;padding:25px}@media only screen and (max-width:770px){.account-content{flex-direction:column}.account-content .sidebar{width:100%}.account-content .sidebar .menu-block .menu-block-title{height:50px;padding-top:13px;border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7}.account-content .sidebar .menu-block .menu-block-title .right{display:block;float:right;align-self:center}.account-content .sidebar .menu-block .menubar{border:0;display:none}.account-content .sidebar .menu-block .menubar>li{margin-left:0;width:100%}.account-content .sidebar .menu-block .menubar>li .icon{right:0}.account-content .sidebar .menu-block .menubar>li:last-child{border-bottom:1px solid #c7c7c7}.account-content .account-layout{margin-left:0;margin-top:20px;width:100%}.account-content .account-layout .account-head{display:flex;justify-content:space-between;border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7;height:50px;margin-top:10px}.account-content .account-layout .account-head .account-action{margin-top:12px;margin-left:15px}.account-content .account-layout .account-head .back-icon{display:block}.account-content .account-layout .account-head span{margin-top:13px;font-size:18px}.account-content .account-layout .account-head .horizontal-rule{display:none}.account-content .account-layout .account-table-content{margin-top:2%}.account-content .account-layout .account-table-content .address-holder{justify-content:center}.account-content .account-items-list,.account-content .edit-form{margin-top:20px}.account-content .account-items-list .responsive-empty,.account-content .edit-form .responsive-empty{display:block}.account-content .control-group .control{width:100%}}.sale-container{color:#5e5e5e}.sale-container .sale-section .secton-title{font-size:18px;color:#8e8e8e;padding:15px 0;border-bottom:1px solid #c7c7c7}.sale-container .sale-section .section-content{display:block;padding:20px 0;border-bottom:1px solid #e8e8e8}.sale-container .sale-section .section-content .sale{display:block;padding:7px 0}.sale-container .sale-section .section-content .sale .title{width:200px;letter-spacing:-.26px;display:inline-block}.sale-container .sale-section .section-content .sale .value{letter-spacing:-.26px;display:inline-block}.sale-container .sale-section .section-content .order-box-container{display:inline-block;width:100%}.sale-container .sale-section .section-content .order-box-container .box{float:left;width:25%}.sale-container .sale-section .section-content .order-box-container .box .box-title{padding:10px 0;font-size:18px;color:#8e8e8e}.sale-container .sale-section .section-content .order-box-container .box .box-content{color:#3a3a3a;padding-right:10px}.sale-container .sale-section .section-content .qty-row{display:block}.sale-container .totals{padding-top:20px;display:inline-block;width:100%;border-top:1px solid #e8e8e8}.sale-container .totals .sale-summary{height:130px;float:right;border-collapse:collapse;left:3px;position:relative}.sale-container .totals .sale-summary tr td{padding:5px 8px;width:auto;color:#3a3a3a}.sale-container .totals .sale-summary tr.bold{font-weight:600;font-size:15px}.sale-container .totals .sale-summary tr.border td{border-bottom:1px solid #c7c7c7}@media only screen and (max-width:770px){.sale-container .sale-section .section-content{border-bottom:none;padding:10px 0}.sale-container .sale-section .section-content .row{display:flex;flex-direction:column}.sale-container .sale-section .section-content .row .title{line-height:20px}.sale-container .sale-section .section-content .totals{border-top:none}.sale-container .sale-section .section-content .totals .sale-summary{width:100%}.sale-container .sale-section .section-content .totals .sale-summary tr td:nth-child(2){display:none}.sale-container .sale-section .section-content .order-box-container{display:flex;flex-direction:column}.sale-container .sale-section .section-content .order-box-container .box{width:100%;margin:10px auto}.sale-container .sale-section .section-content .qty-row{display:inline}}.verify-account{text-align:center;background:#204d74;width:200px;margin-right:auto;margin-left:auto;border-radius:4px}.verify-account a{color:#fff!important}.cp-spinner{position:absolute;left:calc(50% - 24px);margin-top:calc(40% - 24px)}@media only screen and (max-width:720px){.cp-spinner{left:50%;margin-left:-24px;top:50%;margin-top:-24px}}@media only screen and (max-width:720px){.error-container .wrapper{flex-direction:column-reverse!important;margin:10px 0 20px!important;align-items:start!important;height:100%!important}}.show-wishlist{z-index:-1!important}.filter-row-one .dropdown-filters{position:relative!important;right:1px!important}@media only screen and (max-width:770px){.table .grid-container{margin-top:10px;overflow-x:hidden}.table .grid-container .filter-row-one{display:block}.table .grid-container .filter-row-one .dropdown-filters{margin-top:10px}.image-search-container .icon.camera-icon{top:3px;position:relative;margin-left:10px}.image-search-container input[type=file]{display:none}.image-search-result .searched-terms{margin-top:15px;margin-left:0!important}.image-search-result .term-list{line-height:35px}}.rtl{direction:rtl}.rtl .dropdown-filters .per-page-label{position:static!important}.rtl .header .header-top div.left-content ul.logo-container{margin-right:0;margin-left:12px}.rtl .header .header-top div.left-content ul.search-container li.search-group .search-field{border:2px solid #c7c7c7;padding-right:12px;padding-left:0;border-radius:2px;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none}.rtl .header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper{border:2px solid #c7c7c7;border-right:none;border-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;margin-left:-2px}.rtl .header .header-top div.left-content ul.search-container li.search-group .image-search-container{left:48px;right:unset}.rtl .header .header-top div.right-content .right-content-menu>li{border-right:2px solid #c7c7c7;padding:0 15px}.rtl .header .header-top div.right-content .right-content-menu>li:last-child{padding-left:0}.rtl .header .header-top div.right-content .right-content-menu>li:first-child{border-right:0;padding-right:0}.rtl .header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list{left:0;right:unset!important}.rtl .header .header-top div.right-content .right-content-menu .cart-dropdown-container .count{display:inline-block}.rtl .header .header-top div.right-content .right-content-menu .account,.rtl .header .header-top div.right-content .right-content-menu .currency{right:unset;left:0}.rtl .header .header-top div.right-content .right-content-menu .guest div{display:flex;justify-content:space-between}.rtl .header .header-bottom .nav>li{float:right;margin-right:0;margin-left:1px}.rtl .header .header-bottom .nav a{padding:.8em .5em .8em .3em!important}.rtl .header .header-bottom .nav li a>.icon{transform:rotate(180deg)}.rtl .header .header-bottom .nav>li li:hover>ul{left:unset!important;right:100%!important}.rtl .header .header-bottom .nav ul{left:99999em}.rtl .header .search-responsive .search-content .right{float:left}.rtl .dropdown-list{text-align:right}.rtl .dropdown-list.bottom-right{left:0;right:auto}@media only screen and (max-width:720px){.rtl .header .header-top div.right-content .menu-box{margin-left:0;margin-right:5px}.rtl .header .header-top div.right-content .right-content-menu .account{position:absolute;left:0;right:auto}.rtl .header .header-top div.right-content .right-content-menu>li{padding:0;border:0}.rtl .header .header-top div.right-content .search-box{margin-left:5px}.rtl .header .header-bottom .nav>li{float:none}.rtl .header .header-bottom .nav li>.icon{float:left;transform:rotate(180deg)}.rtl .header .header-bottom .icon.icon-arrow-down{margin-left:5px}}.rtl section.slider-block div.slider-content div.slider-control{left:2%;right:auto}.rtl section.slider-block div.slider-content div.slider-control .slider-left{float:left}.rtl section.slider-block div.slider-content div.slider-control .slider-right{margin-left:5px}@media only screen and (max-width:720px){.rtl section.slider-block div.slider-content div.slider-control{left:0}}.rtl .main-container-wrapper .product-card .sticker{left:auto;right:20px;min-width:52px}.rtl .main-container-wrapper .product-card .cart-wish-wrap .addtocart{margin-right:0;margin-left:10px}.rtl section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;margin-left:30px}.rtl section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{float:left!important}.rtl section.product-detail div.layouter .form-container div .thumb-list{margin-left:4px;margin-right:0}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header{padding:20px 0 20px 15px}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header .icon{float:left}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header .expand-icon{margin-left:10px}.rtl section.product-detail div.layouter .form-container .details .full-specifications td:first-child{padding-right:0;padding-left:40px}.rtl section.product-detail div.layouter .form-container .details .product-ratings .total-reviews{margin-left:0;margin-right:15px}.rtl section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li a{float:left;margin-top:3px}@media only screen and (max-width:720px){.rtl section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;margin-left:0}}.rtl .main .category-container .layered-filter-wrapper,.rtl .main .category-container .responsive-layred-filter{padding-right:0;padding-left:20px}.rtl .main .top-toolbar .pager{float:left}.rtl .main .top-toolbar .pager .view-mode{margin-right:0;margin-left:20px}.rtl .main .top-toolbar .pager .sorter{margin-right:0;margin-left:10px}.rtl .main .top-toolbar .pager label{margin-right:0;margin-left:5px}.rtl .main .top-toolbar .page-info{float:right}.rtl section.review .review-layouter .review-form{margin-left:0;margin-right:20px}.rtl section.review .review-layouter .review-form .heading .right{float:left}.rtl section.review .review-layouter .review-form .ratings-reviews .right-side .rater .star-name{margin-right:0;margin-left:5px}@media only screen and (max-width:770px){.rtl section.review .review-layouter .review-form{margin-right:0}}.rtl section.cart .cart-content .left-side{width:70%;float:right}.rtl section.cart .cart-content .left-side .misc-controls a.link{margin-left:15px;margin-right:0}.rtl section.cart .cart-content .right-side{width:30%;padding-right:40px;padding-left:0}.rtl .order-summary .item-detail label.right,.rtl .payable-amount label.right{float:left}.rtl .item div{margin-left:15px;margin-right:0!important}.rtl .cart-item-list .item .item-details .misc div.qty-text{margin-right:0;margin-left:10px}.rtl .cart-item-list .item .item-details .misc .remove,.rtl .cart-item-list .item .item-details .misc input.box{margin-right:0;margin-left:30px}.rtl .cart-item-list .item .item-details .misc .control-group label{margin-left:15px;margin-right:0}@media only screen and (max-width:770px){.rtl section.cart .cart-content .left-side{width:100%;float:none}.rtl section.cart .cart-content .left-side .misc-controls div button{margin-right:0}.rtl section.cart .cart-content .right-side{width:100%;padding-right:0}}.rtl .checkout-process .col-right{padding-left:0;padding-right:40px}.rtl .checkout-process .col-main{padding-left:40px;padding-right:0}.rtl .checkout-process .col-main ul.checkout-steps li span{margin-right:7px;margin-left:0}.rtl .checkout-process .col-main .step-content .form-header h1{float:right}.rtl .checkout-process .col-main .step-content .form-header .btn{float:left}.rtl .checkout-process .col-main .step-content .payment-methods .control-info{margin-right:28px;margin-left:0}.rtl .checkout-process .col-main .step-content .address .billing-address,.rtl .checkout-process .col-main .step-content .address .pull-left,.rtl .checkout-process .col-main .step-content .order-description .billing-address,.rtl .checkout-process .col-main .step-content .order-description .pull-left{float:right!important}.rtl .checkout-process .col-main .step-content .address .pull-right,.rtl .checkout-process .col-main .step-content .address .shipping-address,.rtl .checkout-process .col-main .step-content .order-description .pull-right,.rtl .checkout-process .col-main .step-content .order-description .shipping-address{float:left!important}.rtl .radio{margin:10px 0 5px 5px}.rtl .radio .radio-view{margin-left:5px;margin-right:0}.rtl .radio input{right:0;left:auto}.rtl .radio-container .checkmark{top:2px;left:4px}.rtl .mt-5{margin-top:5px;margin-right:28px}@media only screen and (max-width:770px){.rtl .checkout-process .col-main{padding-left:0}}.rtl .account-content .account-layout{margin-left:0;margin-right:40px}.rtl .account-content .menu-block .menubar li{margin-left:0;margin-right:5%}.rtl .account-content .menu-block .menubar li a{text-align:right}.rtl .account-content .menu-block .menubar li .icon{right:unset;left:12px;transform:rotate(180deg)}.rtl .account-head .account-action{float:left}.rtl a.btn.btn-lg.btn-primary{float:left;margin-right:15px}.rtl .account-item-card .media-info .info{margin-right:20px;margin-left:0}.rtl .account-item-card .operations a span{float:left}.rtl .table table{text-align:right}.rtl .sale-container .totals .sale-summary{float:left}.rtl .sale-container .sale-section .section-content .order-box-container{display:flex}@media (max-width:770px){.rtl .account-content .account-layout{margin-right:0}.rtl .account-content .account-layout .account-head .account-action{margin-left:0}.rtl .account-content .sidebar .menu-block .menu-block-title .right{float:left}.rtl .account-content .sidebar .menu-block .menubar>li{margin-right:0}}.rtl .footer .footer-content .footer-list-container .list-container .list-group li span.icon{margin-left:5px;margin-right:0}@media (max-width:720px){.rtl .footer{padding-right:15px;padding-left:10%}.rtl .footer .footer-list-container{padding-right:0!important}}.rtl .cp-spinner{position:absolute;right:calc(50% - 24px);margin-top:calc(40% - 24px)}@media only screen and (max-width:720px){.rtl .cp-spinner{right:50%;margin-right:-24px;left:auto}}.rtl .product-list .product-card .product-information{padding-left:0;padding-right:30px;float:left}.rtl .zoom-image-direction{left:0;right:476px!important}.banner-container{width:100%;float:left;padding:0 18px;margin-bottom:40px}.banner-container .left-banner{padding-right:20px;width:60%;float:left}.banner-container .left-banner img{width:100%}.banner-container .right-banner{padding-left:20px;width:40%;float:left}.banner-container .right-banner img{max-width:100%}.banner-container .right-banner img:first-child{padding-bottom:20px;display:block}.banner-container .right-banner img:last-child{padding-top:20px;display:block}@media (max-width:720px){.banner-container .left-banner{padding-right:0;width:100%}.banner-container .right-banner{padding-left:0;width:100%}.banner-container .right-banner img:first-child{padding-bottom:0;padding-top:25px}.banner-container .right-banner img:last-child{padding-top:25px}}.static-container{display:block;width:100%;padding:10px;margin-left:auto;margin-right:auto}.static-container.one-column{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.static-container.two-column{display:grid;grid-template-columns:48% 48%;grid-column-gap:4%}.static-container.three-column{display:grid;grid-template-columns:30% 30% 30%;grid-column-gap:4%}.item-options{font-size:14px;font-weight:200}.item-options b{font-weight:500}.image-search-result{background-color:rgba(0,65,255,.1);border:1px solid #0041ff;padding:20px;margin-bottom:20px;border-radius:2px;display:inline-block;width:100%}.image-search-result .searched-image{float:left}.image-search-result .searched-image img{width:150px;height:auto;box-shadow:1px 1px 3px 0 rgba(0,0,0,.32)}.image-search-result .searched-terms{margin-left:20px;display:inline-block}.image-search-result .searched-terms h3{margin-top:0}.image-search-result .searched-terms .term-list a{padding:5px 8px;background:#fff;margin-right:10px}body{overflow-x:hidden}.comparison-component{width:100%;padding-top:20px}.compare-products{width:unset!important}.desc>p,.mt-0{margin-top:0}.comparison-component>h1{display:inline-block}.icon.remove-product{top:5px;cursor:pointer;position:relative;background-color:#000}.action>div{display:inline-block}.cart-wish-wrap .btn.btn-lg{padding:5px 10px}.cart-wish-wrap,.default-wrap{display:flex}.white-cross-sm-icon{width:24px;height:24px}.add-to-wishlist{margin-top:auto;margin-left:15px}.d-inline-block{display:inline-block} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Montserrat:400,500&display=swap);@charset "UTF-8";.icon{display:inline-block;background-size:cover}.dropdown-right-icon{background-image:URL(../images/icon-dropdown-left.svg);width:8px;height:8px;margin-left:auto;margin-bottom:2px}.icon-menu-close{background-image:URL(../images/icon-menu-close.svg);width:24px;height:24px;margin-left:auto}.icon-menu-close-adj{background-image:URL(../images/cross-icon-adj.svg);margin-left:auto}.grid-view-icon{background-image:URL(../images/icon-grid-view.svg);width:24px;height:24px}.list-view-icon{background-image:URL(../images/icon-list-view.svg);width:24px;height:24px}.sort-icon{background-image:URL(../images/icon-sort.svg);width:32px;height:32px}.filter-icon{background-image:URL(../images/icon-filter.svg);width:32px;height:32px}.whishlist-icon{background-image:URL(../images/wishlist.svg);width:24px;height:24px}.share-icon{background-image:URL(../images/icon-share.svg);width:24px;height:24px}.icon-menu{background-image:URL(../images/icon-menu.svg);width:24px;height:24px}.icon-search{background-image:URL(../images/icon-search.svg);width:24px;height:24px}.icon-menu-back{background-image:URL(../images/icon-menu-back.svg);width:24px;height:24px}.shipping-icon{background-image:url(../images/shipping.svg);width:32px;height:32px}.payment-icon{background-image:url(../images/payment.svg);width:32px;height:32px}.cart-icon{background-image:url(../images/icon-cart.svg);width:24px;height:24px}.compare-icon{background-image:url(../images/compare_arrows.png);width:32px;height:32px}.wishlist-icon{background-image:url(../images/wishlist.svg);width:32px;height:32px}.icon-arrow-up{background-image:url(../images/arrow-up.svg);width:16px;height:16px}.icon-arrow-down{background-image:url(../images/arrow-down.svg);width:16px;height:16px}.expand-icon{background-image:url(../images/Expand-Light.svg);width:18px;height:18px}.expand-on-icon{background-image:url(../images/Expand-Light-On.svg);width:18px;height:18px}.icon-menu-close-adj{background-image:url(../images/cross-icon-adj.svg);width:32px;height:32px}.icon-facebook{background-image:url(../images/facebook.svg)}.icon-twitter{background-image:url(../images/twitter.svg)}.icon-google-plus{background-image:url(../images/google-plus.svg)}.icon-instagram{background-image:url(../images/instagram.svg)}.icon-linkedin{background-image:url(../images/linkedin.svg)}.icon-dropdown{background-image:url(../images/icon-dropdown.svg)}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}body{margin:0;padding:0;font-weight:500;max-width:100%;width:auto;color:#242424;font-size:16px}*{font-family:Montserrat,sans-serif}::-webkit-input-placeholder{font-family:Montserrat,sans-serif}::-moz-input-placeholder{font-family:Montserrat,sans-serif}textarea{resize:none}input{font-family:Montserrat,sans-serif}.btn{border-radius:0!important}.pagination.shop{display:flex;flex-direction:row;align-items:center;justify-content:center}@media only screen and (max-width:770px){.pagination.shop{justify-content:space-between}.pagination.shop .page-item{display:none}.pagination.shop .page-item.next,.pagination.shop .page-item.previous{display:block}}.bold{font-weight:700;color:#3a3a3a}.radio-container{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;font-size:16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.radio-container input{position:absolute;opacity:0;cursor:pointer;top:0;left:0}.radio-container .checkmark{position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border:2px solid #ff6472;border-radius:50%}.radio-container .checkmark:after{content:"";position:absolute;display:none;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:#ff6472}.details .accordian .accordian-content div,.details .description{overflow:auto}.radio-container input:checked~.checkmark:after{display:block}.radio-container input:disabled~.checkmark{display:block;border:2px solid rgba(255,100,113,.4)}.cp-spinner{width:48px;height:48px;display:inline-block;box-sizing:border-box}.cp-round:before{border-radius:50%;border:6px solid #bababa}.cp-round:after,.cp-round:before{content:" ";width:48px;height:48px;display:inline-block;box-sizing:border-box;position:absolute;top:0;left:0}.cp-round:after{border-radius:50%;border:6px solid transparent;border-top-color:#0031f0;-webkit-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite}.radio{margin:10px 0 0!important}.checkbox{margin:10px 0 0}.checkbox .checkbox-view{height:16px!important;width:16px!important;background-image:url(../images/checkbox.svg)!important}.checkbox input:checked+.checkbox-view{background-image:url(../images/checkbox-checked.svg)!important}.pull-right{float:right!important}.pull-left{float:left!important}.add-to-wishlist .wishlist-icon:hover{background-image:url(../images/wishlist-added.svg)}.add-to-wishlist.already .wishlist-icon{background-image:url(../images/wishlist-added.svg)!important}.product-price{margin-bottom:14px;width:100%;font-weight:600;word-break:break-all}.product-price .price-label{font-size:14px;font-weight:400;margin-right:5px}.product-price .regular-price{color:#a5a5a5;text-decoration:line-through;margin-right:10px}.product-price .special-price{color:#ff6472}.product-price .price-from .bundle-regular-price{color:#a5a5a5;text-decoration:line-through;margin-right:10px}.product-price .price-from .bundle-special-price{color:#ff6472}.product-price .price-from .bundle-to{display:block;font-weight:500;margin-top:1px;margin-bottom:1px}.horizontal-rule{display:block;width:100%;height:1px;background:#c7c7c7}.account-head .account-heading{font-size:28px;color:#242424;text-transform:capitalize;text-align:left}.account-head .account-action{font-size:17px;margin-top:1%;color:#0031f0;float:right}.account-head .horizontal-rule{margin-top:1.1%;width:100%;height:1px;vertical-align:middle;background:#c7c7c7}.account-item-card{justify-content:space-between;align-items:center;width:100%}.account-item-card,.account-item-card .media-info{display:flex;flex-direction:row}.account-item-card .media-info .media{height:125px;width:110px}.account-item-card .media-info .info{margin-left:20px;margin-right:20px;display:flex;flex-direction:column;justify-content:space-evenly}.account-item-card .media-info .info .stars .icon{height:16px;width:16px}.account-item-card .operations{display:flex;flex-direction:column;justify-content:space-between;align-items:center}.account-item-card .operations a{width:100%}.account-item-card .operations a span{float:right}.account-items-list{display:block;width:100%}.account-items-list .grid-container{margin-top:40px}.search-result-status{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.grid-container{margin-top:20px}.main-container-wrapper{max-width:1300px;width:auto;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto}.main-container-wrapper .content-container{display:block;margin-bottom:40px}.main-container-wrapper .product-grid-4{grid-auto-rows:auto;grid-column-gap:30px;grid-row-gap:15px}.main-container-wrapper .product-grid-3,.main-container-wrapper .product-grid-4{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));justify-items:center}.main-container-wrapper .product-grid-3{grid-gap:27px;grid-auto-rows:auto}.main-container-wrapper .product-card{height:480px;position:relative;padding:15px}.main-container-wrapper .product-card .product-image{max-height:350px;max-width:280px;margin-bottom:10px;background:#f2f2f2}.main-container-wrapper .product-card .product-image img{display:block;height:100%}.main-container-wrapper .product-card .product-name{margin-bottom:14px;width:100%;color:#242424}.main-container-wrapper .product-card .product-name a{color:#242424}.main-container-wrapper .product-card .product-description{display:none}.main-container-wrapper .product-card .product-ratings{width:100%}.main-container-wrapper .product-card .product-ratings .icon{width:16px;height:16px}.main-container-wrapper .product-card .cart-wish-wrap{position:absolute;display:inline-flex;justify-content:flex-start;align-items:center;bottom:5px;height:40px}.main-container-wrapper .product-card .cart-wish-wrap .addtocart{margin-right:10px;text-transform:uppercase;text-align:left;box-shadow:1px 1px 0 #ccc}.main-container-wrapper .product-card .cart-wish-wrap .add-to-wishlist{margin-top:5px;background:transparent;border:0;cursor:pointer;padding:0}.main-container-wrapper .product-card .default-wrap{display:inline-flex;justify-content:flex-start;align-items:center;height:40px}.main-container-wrapper .product-card .default-wrap .addtocart{margin-right:10px;text-transform:uppercase;text-align:left;box-shadow:1px 1px 0 #ccc}.main-container-wrapper .product-card .default-wrap .add-to-wishlist{margin-top:5px;background:transparent;border:0;cursor:pointer;padding:0}.main-container-wrapper .product-card .sticker{border-bottom-right-radius:15px;position:absolute;top:15px;left:15px;text-transform:uppercase;padding:4px 13px;font-size:14px;color:#fff;box-shadow:1px 1px 1px #ccc;font-weight:500}.main-container-wrapper .product-card .sticker.sale{background:#ff6472}.main-container-wrapper .product-card .sticker.new{background:#2ed04c}.main-container-wrapper .product-card:hover{box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 2px 16px 4px rgba(40,44,63,.07);transition:.3s}@media only screen and (max-width:580px){.main-container-wrapper .main-container-wrapper{padding:0}}@media only screen and (max-width:551px){.main-container-wrapper .product-grid-3{grid-template-columns:48.5% 48.5%;grid-column-gap:20px}}@media only screen and (max-width:854px){.main-container-wrapper .product-image img{display:block;width:100%}.main-container-wrapper .product-grid-4{grid-template-columns:29.5% 29.5% 29.5%;grid-column-gap:35px}.main-container-wrapper .product-card:hover{padding:5px}}@media only screen and (max-width:653px){.main-container-wrapper .product-image img{display:block;width:100%}.main-container-wrapper .product-grid-4{grid-template-columns:48.5% 48.5%;grid-column-gap:17px}}@media only screen and (max-width:425px){.main-container-wrapper .product-card{font-size:90%}.main-container-wrapper .product-card .product-information .default-wrap{display:block;height:40px}.main-container-wrapper .product-card .product-image img{display:block;width:100%}.main-container-wrapper .product-card .btn.btn-md{padding:5px}.main-container-wrapper .btn-primary{width:100%}.main-container-wrapper .checkout-process .col-main .step-content .form-header{display:block}.main-container-wrapper .checkout-process .col-main .step-content .form-header .checkout-step-heading{margin-bottom:10px}.main-container-wrapper .checkout-process .col-main .step-content .form-header .btn-primary{text-align:center}.main-container-wrapper .btn-lg{padding:4px 12px;margin-bottom:10px}.main-container-wrapper .product-grid-4{grid-template-columns:48.5% 48.5%;grid-column-gap:10px}}.main-container-wrapper .product-list{min-height:200px}.main-container-wrapper .product-list .product-card{width:100%;display:flex;flex-direction:row;align-items:center;margin-bottom:20px}.main-container-wrapper .product-list .product-card .product-image{float:left;width:30%;height:350px}.main-container-wrapper .product-list .product-card .product-image img{height:100%;width:100%}.main-container-wrapper .product-list .product-card .product-information{float:right;width:70%;padding-left:30px}.main-container-wrapper .product-list .product-card:last-child{margin-bottom:0}.main-container-wrapper .product-list.empty h2{font-size:20px}.main-container-wrapper section.featured-products{display:block;margin-bottom:5%}.main-container-wrapper section.featured-products .featured-heading{width:100%;text-align:center;text-transform:uppercase;font-size:18px;margin-bottom:20px}.main-container-wrapper section.featured-products .featured-heading .featured-separator{color:#d3d3d3}.main-container-wrapper section.news-update{display:block;box-sizing:border-box;width:100%;margin-bottom:5%}.main-container-wrapper section.news-update .news-update-grid{display:grid;grid-template-columns:58.5% 40%;grid-gap:20px}.main-container-wrapper section.news-update .news-update-grid .block1{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block1 img{display:flex;height:100%;width:100%}.main-container-wrapper section.news-update .news-update-grid .block2{display:block;box-sizing:border-box;display:grid;grid-template-rows:repeat(2,minmax(50%,1fr));grid-row-gap:20px}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block1{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block1 img{width:100%}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block2{display:block;box-sizing:border-box}.main-container-wrapper section.news-update .news-update-grid .block2 .sub-block2 img{width:100%}section.slider-block{display:block;margin-left:auto;margin-right:auto;margin-bottom:5%}section.slider-block div.slider-content{position:relative;margin-left:auto;margin-right:auto}section.slider-block div.slider-content ul.slider-images .show-content{display:none}section.slider-block div.slider-content ul.slider-images li{position:absolute;visibility:hidden}section.slider-block div.slider-content ul.slider-images li.show{display:block;position:relative;visibility:visible;width:100%;-webkit-animation-name:example;animation-name:example;-webkit-animation-duration:4s;animation-duration:4s}section.slider-block div.slider-content ul.slider-images li.show .show-content{display:flex;position:absolute;flex-direction:row;justify-content:center;align-items:center;color:#242424;height:100%;width:100%;top:0}@-webkit-keyframes example{0%{opacity:.1}to{opacity:1}}@keyframes example{0%{opacity:.1}to{opacity:1}}section.slider-block div.slider-content ul.slider-images li img{height:500px;width:100%}section.slider-block div.slider-content div.slider-control{display:block;cursor:pointer;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;bottom:2%;right:2%}section.slider-block div.slider-content div.slider-control .dark-left-icon{background-color:#f2f2f2;height:48px;width:48px;max-height:100%;max-width:100%}section.slider-block div.slider-content div.slider-control .light-right-icon{background-color:#242424;height:48px;width:48px;max-height:100%;max-width:100%}@media only screen and (max-width:720px){section.slider-block div.slider-content div.slider-control{display:flex;justify-content:space-between;width:100%;bottom:40%;right:0}}@media only screen and (max-width:420px){section.slider-block div.slider-content ul.slider-images li img{width:100%;height:250px}section.slider-block div.slider-content div.slider-control{display:flex;justify-content:space-between;width:100%;bottom:40%;right:0}}.header{margin-top:16px;margin-bottom:21px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header .header-top{margin-bottom:16px;display:flex;max-width:100%;width:auto;margin-left:auto;margin-right:auto;align-items:center;justify-content:space-between}.header .header-top div.left-content{display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.header .header-top div.left-content ul.logo-container{margin-right:12px}.header .header-top div.left-content ul.logo-container li{display:flex}.header .header-top div.left-content ul.logo-container li img{max-width:120px;max-height:40px}.header .header-top div.left-content ul.search-container li.search-group{display:inline-flex;justify-content:center;align-items:center;position:relative}.header .header-top div.left-content ul.search-container li.search-group .search-field{height:38px;border-radius:3px;border:2px solid #c7c7c7;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;padding-left:12px;font-size:14px;-webkit-appearance:none}.header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper{box-sizing:border-box;height:38px;width:38px;border:2px solid #c7c7c7;border-top-right-radius:3px;border-bottom-right-radius:3px;margin-left:-2px}.header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper button{background:#fff;border:0;padding:3px 5px;margin:0}.header .header-top div.left-content ul.search-container li.search-group .image-search-container{position:absolute;right:41px;top:7px;background:#fff}.header .header-top div.left-content ul.search-container li.search-group .image-search-container img,.header .header-top div.left-content ul.search-container li.search-group .image-search-container input{display:none}.header .header-top div.right-content .right-content-menu>li{display:inline-block;border-right:2px solid #c7c7c7;min-height:15px;padding:3px 15px 0}.header .header-top div.right-content .right-content-menu>li:first-child{padding-left:0}.header .header-top div.right-content .right-content-menu>li:last-child{border-right:0;padding-right:0}.header .header-top div.right-content .right-content-menu>li .icon{vertical-align:middle}.header .header-top div.right-content .right-content-menu>li .icon:not(.arrow-down-icon){margin-right:5px}.header .header-top div.right-content .right-content-menu>li .arrow-down-icon{width:12px;height:6px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container{border-right:0;padding-right:0}.header .header-top div.right-content .right-content-menu .cart-link{pointer-events:none}.header .header-top div.right-content .right-content-menu ul.dropdown-list{display:none;margin-top:14px}.header .header-top div.right-content .right-content-menu ul.dropdown-list li{border-right:none;padding:5px 10px;display:block}.header .header-top div.right-content .right-content-menu ul.dropdown-list li a{color:#333}.header .header-top div.right-content .right-content-menu .currency{position:absolute;right:0;width:100px}.header .header-top div.right-content .right-content-menu .account{position:absolute;right:0}.header .header-top div.right-content .right-content-menu .account li{padding:20px!important}.header .header-top div.right-content .right-content-menu .account li ul{margin-top:5px}.header .header-top div.right-content .right-content-menu .account li ul>li{padding:5px 10px 5px 0!important}.header .header-top div.right-content .right-content-menu .guest{width:300px}.header .header-top div.right-content .right-content-menu .guest .btn.btn-sm{padding:9px 25px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list{width:387px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container{padding:0}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart{color:#242424}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header{width:100%;padding:8px 16px;border-bottom:1px solid #c7c7c7}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header p{display:inline;line-height:25px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header i{float:right;height:22px;width:22px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-cart>.dropdown-header p.heading{font-weight:lighter}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content{padding-top:8px;width:100%;max-height:329px;overflow-y:auto}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item{display:flex;flex-direction:row;border-bottom:1px solid #c7c7c7;padding:8px 16px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item img{height:75px;width:75px;margin-right:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-content .item-details{height:auto}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-name{font-size:16px;font-weight:700;margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-options,.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-price{margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .item-details .item-qty{font-weight:lighter;margin-bottom:8px}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:8px 16px;bottom:0;width:100%;background:#fff}.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list .dropdown-container .dropdown-footer .btn{margin:0;max-width:170px;text-align:center}.header .header-top div.right-content .menu-box,.header .header-top div.right-content .search-box{display:none}.header .header-bottom{height:47px;margin-left:auto;margin-right:auto;border-top:1px solid #c7c7c7;border-bottom:1px solid #c7c7c7;display:block}.header .header-bottom ul.nav{display:block;font-size:16px;max-width:100%;width:auto;margin-left:auto;margin-right:auto}.header .header-bottom .nav ul{margin:0;padding:0;box-shadow:1px 1px 1px 0 rgba(0,0,0,.4)}.header .header-bottom .nav a{display:block;color:#242424;text-decoration:none;padding:.8em .3em .8em .5em;text-transform:capitalize;letter-spacing:-.38px;position:relative}.header .header-bottom .nav li>.icon{display:none}.header .header-bottom .nav{vertical-align:top;display:inline-block}.header .header-bottom .nav li{position:relative}.header .header-bottom .nav>li{float:left;margin-right:1px;height:45px}.header .header-bottom .nav>li>a{margin-bottom:1px}.header .header-bottom .nav>li>a .icon{display:none}.header .header-bottom .nav li li a{margin-top:1px;white-space:normal;word-break:break-word;width:200px}.header .header-bottom .nav li a:first-child:nth-last-child(2):before{content:"";position:absolute;height:0;width:0;border:5px solid transparent;top:50%;right:5px}.header .header-bottom .nav ul{position:absolute;white-space:nowrap;border:1px solid #c7c7c7;background-color:#fff;z-index:10000;left:-99999em}.header .header-bottom .nav>li:hover{background-color:#f2f2f2}.header .header-bottom .nav>li:hover>ul{left:auto;min-width:100%}.header .header-bottom .nav>li li:hover{background-color:#f2f2f2}.header .header-bottom .nav>li li:hover>ul{left:100%;margin-left:1px;top:-2px}.header .header-bottom .nav>li:hover>a:first-child:nth-last-child(2):before,.header .header-bottom .nav li li>a:first-child:nth-last-child(2):before{margin-top:-5px}.header .header-bottom .nav li li:hover>a:first-child:nth-last-child(2):before{right:10px}.header .search-responsive{display:none}.header .search-responsive .search-content{border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7;height:50px;display:flex;align-items:center;justify-content:space-between}.header .search-responsive .search-content .search{width:80%;border:none;font-size:16px}.header .search-responsive .search-content .right{float:right}@media (max-width:720px){.header .currency-switcher{display:none!important}.header .header-top div.right-content{display:inherit}.header .header-top div.right-content .menu-box{display:inline-block;margin-left:10px}.header .header-top div.right-content .search-box{display:inline-block;margin-right:10px;cursor:pointer}.header .header-top div.right-content .right-content-menu>li{border-right:none;padding:0 2px}.header .header-top div.right-content .right-content-menu>li .icon:not(.arrow-down-icon){margin-right:0}.header .header-top div.right-content .right-content-menu .cart-link{pointer-events:all}.header .header-top div.right-content .right-content-menu .arrow-down-icon,.header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-container,.header .header-top div.right-content .right-content-menu .name{display:none}.header .header-bottom{height:auto;display:none}.header .header-bottom .nav a{display:inline-block}.header .header-bottom .nav li,.header .header-bottom ul.nav{height:auto}.header .header-bottom .nav>li{float:none}.header .header-bottom .nav li>.icon{float:right;display:block}.header .header-bottom .icon.icon-arrow-down{margin-right:5px}.header .header-bottom .nav li .left{height:16px;width:16px}.header .header-bottom .nav li a>.icon{display:none}.header .header-bottom .nav ul{position:unset;border:none;box-shadow:none}.header .header-bottom .nav>li li:hover>ul{margin-left:0;top:0}ul.account-dropdown-container,ul.cart-dropdown-container,ul.search-container{display:none!important}}@media (max-width:400px){.header .header-top div.right-content .right-content-menu .guest{width:240px}.header .header-top div.right-content .right-content-menu .guest .btn.btn-sm{padding:7px 14px}}.footer{background-color:#f2f2f2;padding-left:10%;padding-right:10%;width:100%;display:inline-block}.footer .footer-content .footer-list-container{display:grid;padding:40px 10px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-auto-rows:auto;grid-row-gap:1vh}.footer .footer-content .footer-list-container .list-container .list-heading{text-transform:uppercase;color:#a5a5a5}.footer .footer-content .footer-list-container .list-container .list-group{padding-top:25px}.footer .footer-content .footer-list-container .list-container .list-group a{color:#242424}.footer .footer-content .footer-list-container .list-container .list-group li{margin-bottom:12px;list-style-type:none;text-transform:uppercase}.footer .footer-content .footer-list-container .list-container .list-group li span.icon{display:inline-block;vertical-align:middle;margin-right:5px;height:24px;width:24px}.footer .footer-content .footer-list-container .list-container .form-container{padding-top:5px}.footer .footer-content .footer-list-container .list-container .form-container .control-group .subscribe-field{width:100%}.footer .footer-content .footer-list-container .list-container .form-container .control-group .btn-primary{background-color:#242424;margin-top:8px;border-radius:0;text-align:center}.footer .footer-content .footer-list-container .list-container .form-container .control-group .locale-switcher{width:100%}.footer .footer-content .footer-list-container .list-container .currency{display:none}@media (max-width:720px){.footer{padding-left:15px}.footer .footer-list-container{padding-left:0!important}.footer .currency{display:block!important}}.footer-bottom{width:100%;height:70px;font-size:16px;color:#a5a5a5;letter-spacing:-.26px;display:flex;flex-direction:row;justify-content:center;align-items:center}.footer-bottom p{padding:0 15px}.main .category-container{display:flex;flex-direction:row;width:100%}.main .category-container .layered-filter-wrapper,.main .category-container .responsive-layred-filter{width:25%;float:left;padding-right:20px;min-height:1px}.main .category-container .layered-filter-wrapper .filter-title,.main .category-container .responsive-layred-filter .filter-title{border-bottom:1px solid #c7c7c7;color:#242424;padding:10px 0}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item{border-bottom:1px solid #c7c7c7;padding-bottom:10px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title{padding:10px 40px 0 10px;color:#5e5e5e;cursor:pointer;position:relative}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title .remove-filter-link,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title .remove-filter-link{font-weight:400;color:#0031f0;margin-right:10px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-title .icon,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-title .icon{background-image:url(../images/icon-dropdown.svg)!important;width:10px;height:10px;position:absolute;right:15px;top:14px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content{padding:10px;display:none}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items{padding:0;margin:0;list-style:none none}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item{padding:8px 0;color:#5e5e5e}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .checkbox,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .checkbox{margin:0}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .color-swatch,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content ol.items li.item .color-swatch{display:inline-block;margin-right:5px;min-width:20px;height:20px;border:1px solid #c7c7c7;border-radius:3px;float:right}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item .filter-attributes-content .price-range-wrapper,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item .filter-attributes-content .price-range-wrapper{margin-top:21px}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item.active .filter-attributes-content,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item.active .filter-attributes-content{display:block}.main .category-container .layered-filter-wrapper .filter-attributes .filter-attributes-item.active .filter-attributes-title .icon,.main .category-container .responsive-layred-filter .filter-attributes .filter-attributes-item.active .filter-attributes-title .icon{background-image:url(../images/arrow-up.svg)!important}.main .category-container .responsive-layred-filter{display:none;width:100%;float:none;padding-right:0;margin-top:-25px!important}.main .category-container .category-block{width:80%;display:block}.main .category-container .category-block .hero-image{display:inline-block;visibility:visible;width:100%}.main .category-container .category-block .hero-image img{max-height:400px;max-width:100%}.main .top-toolbar{width:100%;display:inline-block}.main .top-toolbar .page-info{float:left;color:#242424;line-height:45px}.main .top-toolbar .page-info span{display:none}.main .top-toolbar .page-info span:first-child{display:inline}.main .top-toolbar .pager{float:right}.main .top-toolbar .pager label{margin-right:5px}.main .top-toolbar .pager select{background:#f2f2f2;border:1px solid #c7c7c7;border-radius:3px;color:#242424;padding:10px}.main .top-toolbar .pager .view-mode{display:inline-block;margin-right:20px}.main .top-toolbar .pager .view-mode a,.main .top-toolbar .pager .view-mode span{display:inline-block;vertical-align:middle}.main .top-toolbar .pager .view-mode a.grid-view,.main .top-toolbar .pager .view-mode span.grid-view{margin-right:10px}.main .top-toolbar .pager .view-mode .sort-filter{display:none}.main .top-toolbar .pager .sorter{display:inline-block;margin-right:10px}.main .top-toolbar .pager .limiter{display:inline-block}.main .bottom-toolbar{display:block;margin-top:40px;margin-bottom:40px;text-align:center}@media only screen and (max-width:840px){.main .category-container .responsive-layred-filter,.main .layered-filter-wrapper{display:none}.main .category-block{width:100%!important}.main .category-block .top-toolbar{display:flex;flex-direction:column}.main .category-block .top-toolbar .page-info{border-bottom:1px solid #c7c7c7;line-height:15px;margin-top:10px}.main .category-block .top-toolbar .page-info span{display:inline}.main .category-block .top-toolbar .page-info span:first-child{display:none}.main .category-block .top-toolbar .page-info .sort-filter{float:right;cursor:pointer}.main .category-block .top-toolbar .pager{margin-top:20px;display:none}.main .category-block .top-toolbar .pager .view-mode{display:none}.main .category-block .responsive-layred-filter{display:block}}section.product-detail{color:#242424}section.product-detail div.category-breadcrumbs{display:inline}section.product-detail div.layouter{display:block;margin-top:20px;margin-bottom:20px}section.product-detail div.layouter .form-container{display:flex;flex-direction:row;width:100%}section.product-detail div.layouter .form-container div.product-image-group{margin-right:30px;width:604px;height:650px;max-width:604px;position:-webkit-sticky;position:sticky;top:10px}section.product-detail div.layouter .form-container div.product-image-group div{display:flex;flex-direction:row;cursor:pointer}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list{display:flex;flex-direction:column;margin-right:4px;min-width:120px;overflow:hidden;position:relative;justify-content:flex-start;max-height:480px}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame{border:2px solid transparent;background:#f2f2f2;width:120px;max-height:120px}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame.active{border-color:#0031f0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame img{height:100%;width:100%}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control{width:100%;position:absolute;text-align:center;cursor:pointer;z-index:1}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control .overlay{opacity:.3;background:#242424;width:100%;height:18px;position:absolute;left:0;z-index:-1}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control .icon{z-index:2}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control.top{top:0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control.bottom{bottom:0}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image{display:block;position:relative;background:#f2f2f2;width:100%;max-height:480px;height:100%}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image img{width:100%;height:auto;max-height:480px}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist{background-image:url(../images/wishlist.svg);position:absolute;top:10px;right:12px;background-color:transparent;border:0;cursor:pointer;padding:0;width:32px;height:32px}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist:hover{background-image:url(../images/wishlist-added.svg)}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .add-to-wishlist.already{background-image:url(../images/wishlist-added.svg)!important}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image .share{position:absolute;top:10px;right:45px}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{display:none;flex-direction:row;margin-top:10px;width:79.5%;float:right;justify-content:space-between}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons .addtocart{width:49%;background:#000;white-space:normal;text-transform:uppercase}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons .buynow{width:49%;white-space:nowrap;text-transform:uppercase}section.product-detail div.layouter .form-container .details{width:50%;overflow-wrap:break-word}section.product-detail div.layouter .form-container .details .product-price{margin-bottom:14px}section.product-detail div.layouter .form-container .details .product-price .sticker{display:none}section.product-detail div.layouter .form-container .details .product-ratings{margin-bottom:20px}section.product-detail div.layouter .form-container .details .product-ratings .icon{width:16px;height:16px}section.product-detail div.layouter .form-container .details .product-ratings .total-reviews{display:inline-block;margin-left:15px}section.product-detail div.layouter .form-container .details .product-heading{font-size:24px;color:#242424;margin-bottom:15px;line-height:normal}section.product-detail div.layouter .form-container .details .product-price{margin-bottom:15px;word-break:break-all}section.product-detail div.layouter .form-container .details .product-price .special-price{font-size:24px}section.product-detail div.layouter .form-container .details .stock-status{margin-bottom:15px;font-weight:600;color:#fc6868}section.product-detail div.layouter .form-container .details .stock-status.active{color:#4caf50}section.product-detail div.layouter .form-container .details .description{margin-bottom:15px}section.product-detail div.layouter .form-container .details .description ul{padding-left:40px;list-style:disc}section.product-detail div.layouter .form-container .details .quantity{padding-top:15px;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list h3{font-size:16px;margin-top:0}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list ul li{margin-bottom:5px}section.product-detail div.layouter .form-container .details .downloadable-container .sample-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .downloadable-container .link-list h3{font-size:16px;margin-top:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li{margin-bottom:15px}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li .checkbox{display:inline-block;margin:0}section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li a{float:right;margin-top:3px}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li{margin-bottom:15px;width:100%;display:inline-block}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:first-child span{font-weight:600}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li:first-child span:last-child{float:right;width:50px;text-align:left}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name{vertical-align:middle;display:inline-block}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name .product-price{margin-top:5px;margin-bottom:0;font-size:14px;word-break:break-all}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .name .product-price .special-price{font-size:16px}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty{float:right}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group{max-width:none;width:auto;text-align:center;margin-bottom:0;border-top:0;padding-top:0}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group label{display:none}section.product-detail div.layouter .form-container .details .grouped-product-container .grouped-product-list ul li .qty .control-group .control{height:38px;width:60px;text-align:center;line-height:38px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list h3{font-size:16px;margin:0;color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item{border-bottom:1px solid hsla(0,0%,63.5%,.2);padding:15px 0;width:100%;display:inline-block}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item:last-child{border-bottom:0;padding-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group{margin-bottom:0;color:#5e5e5e}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group label{color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group .control{color:#5e5e5e}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-group .price{margin-left:15px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .quantity{border-top:0;padding-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .quantity.has-error button{border-color:#fc6868;color:#fc6868}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item .control-error{float:left;width:100%}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-option-list .bundle-option-item.has-error button{border-color:#fc6868;color:#fc6868}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary{padding:15px 0;border-top:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary h3{font-size:16px;margin:0;color:#242424}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary .quantity{border-top:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary .bundle-price{font-weight:600;font-size:24px;color:#ff6472;margin-top:10px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li{margin-bottom:20px}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li:last-child{margin-bottom:0}section.product-detail div.layouter .form-container .details .bundle-options-wrapper .bundle-summary ul.bundle-items li .selected-products{color:#5e5e5e}section.product-detail div.layouter .form-container .details .full-description *{max-width:100%}section.product-detail div.layouter .form-container .details .full-description ul{padding-left:40px;list-style:disc}section.product-detail div.layouter .form-container .details .full-specifications td{padding:10px 0;color:#5e5e5e}section.product-detail div.layouter .form-container .details .full-specifications td:first-child{padding-right:40px}section.product-detail div.layouter .form-container .details .accordian .accordian-header{padding-left:0;font-weight:600}section.product-detail div.layouter .form-container .details .accordian .accordian-content{padding:20px 0}section.product-detail div.layouter .form-container .details .attributes{display:block;width:100%;border-bottom:1px solid hsla(0,0%,63.5%,.2)}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group{margin-bottom:20px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container{margin-top:10px;display:inline-block}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch{display:inline-block;margin-right:5px;min-width:40px;height:40px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch span{min-width:38px;height:38px;float:left;border:1px solid #c7c7c7;border-radius:3px;line-height:36px;text-align:center;cursor:pointer;padding:0 10px}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch img{width:38px;height:38px;border:1px solid #c7c7c7;border-radius:3px;cursor:pointer;background:#f2f2f2}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input:checked+img,section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input:checked+span{border:1px solid #242424}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .swatch input{display:none}section.product-detail div.layouter .form-container .details .attributes .attribute.control-group .swatch-container .no-options{color:#fb3949}.accordian .accordian-header,.accordian div[slot*=header],accordian .accordian-header,accordian div[slot*=header]{font-size:16px!important}.vue-slider .vue-slider-rail{background-color:#ccc;cursor:pointer}.vue-slider .vue-slider-dot-handle{width:100%;height:100%;border-radius:50%;background-color:#fff;box-shadow:.5px .5px 2px 1px rgba(0,0,0,.32)}.vue-slider .vue-slider-dot-tooltip-inner,.vue-slider .vue-slider-dot-tooltip-text{border-color:#ff6472!important;background-color:#ff6472!important}.vue-slider .vue-slider-dot-tooltip-text{display:block;font-size:14px;min-width:20px;padding:2px 5px;text-align:center;border-radius:5px;white-space:nowrap;color:#fff}.vue-slider .vue-slider-dot-tooltip-text:before{content:"";position:absolute;bottom:-10px;left:50%;width:0;height:0;border:6px solid transparent\0;border-top-color:inherit;transform:translate(-50%)}.vue-slider .vue-slider-process{background-color:#ff6472!important}@media only screen and (max-width:720px){section.product-detail div.layouter .form-container{flex-direction:column}section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;max-width:none;width:auto;min-height:400px;height:auto;position:unset}section.product-detail div.layouter .form-container div.product-image-group .loader{margin-left:47%}section.product-detail div.layouter .form-container div.product-image-group div{flex-direction:column-reverse}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list{margin-top:5px;flex-direction:row;overflow-x:scroll;margin-right:0}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .thumb-frame img{height:100%;width:auto}section.product-detail div.layouter .form-container div.product-image-group div .thumb-list .gallery-control{display:none}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image{display:flex}section.product-detail div.layouter .form-container div.product-image-group div .product-hero-image img{margin-left:auto;margin-right:auto;width:480px}section.product-detail div.layouter .form-container div.product-image-group div .wrap{flex-direction:row;width:100%!important}section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{width:100%}section.product-detail div.layouter .form-container .details{width:100%;margin-top:20px}}@media only screen and (max-width:510px){section.product-detail div.layouter .form-container div.product-image-group .product-hero-image img{width:100%!important}}.rating-reviews .rating-header{padding:20px 0}.rating-reviews .stars .icon{width:16px;height:16px}.rating-reviews .overall{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.rating-reviews .overall .review-info .number{font-size:34px}.rating-reviews .overall .review-info .total-reviews{margin-top:10px}.rating-reviews .reviews{margin-top:40px;margin-bottom:40px}.rating-reviews .reviews .review{margin-bottom:25px}.rating-reviews .reviews .review .title{margin-bottom:5px}.rating-reviews .reviews .review .stars{margin-bottom:15px;display:inline-block}.rating-reviews .reviews .review .message{margin-bottom:10px}.rating-reviews .reviews .review .image img{height:50px;width:50px;margin:5px}.rating-reviews .reviews .review .reviewer-details{color:#5e5e5e}.rating-reviews .reviews .view-all{margin-top:15px;color:#0031f0;margin-bottom:15px}.image-wrapper .image-item{width:150px!important;height:150px!important;background-size:75%!important}section.cart{width:100%;color:#242424;margin-bottom:80px;margin-top:20px}section.cart .title{font-size:24px}section.cart .cart-content{margin-top:20px;width:100%;display:inline-block}section.cart .cart-content .left-side{width:70%;float:left}section.cart .cart-content .left-side .misc-controls{width:100%;display:inline-flex;align-items:center;justify-content:space-between;margin-top:20px}section.cart .cart-content .left-side .misc-controls a.link,section.cart .cart-content .left-side .misc-controls div button{margin-right:15px}section.cart .cart-content .right-side{width:30%;display:inline-block;padding-left:40px}.cart-item-list .item{padding:10px;display:flex;flex-direction:row;border:1px solid #c7c7c7;border-radius:2px}.cart-item-list .item .item-image{margin-right:15px}.cart-item-list .item .item-image img{height:160px;width:160px}.cart-item-list .item .item-details{display:flex;flex-direction:column;justify-content:flex-start;width:100%;overflow-x:auto}.cart-item-list .item .item-details .item-title{font-size:18px;margin-bottom:10px;font-weight:600}.cart-item-list .item .item-details .item-title a{color:#242424}.cart-item-list .item .item-details .price{margin-bottom:10px;font-size:18px;font-weight:600}.cart-item-list .item .item-details .summary{margin-bottom:17px}.cart-item-list .item .item-details .misc{display:flex;width:100%;flex-direction:row;justify-content:flex-start;align-items:flex-start;margin-top:10px}.cart-item-list .item .item-details .misc .control-group{font-size:16px!important;margin:0 15px 0 0;width:auto}.cart-item-list .item .item-details .misc .control-group .wrap{display:inline-flex;align-items:center}.cart-item-list .item .item-details .misc .control-group label{margin-right:15px}.cart-item-list .item .item-details .misc .control-group .control{height:38px;width:60px;text-align:center;line-height:38px}.cart-item-list .item .item-details .misc .remove,.cart-item-list .item .item-details .misc .towishlist{line-height:35px;margin-right:15px}.cart-item-list .item .error-message{color:#ff6472}.quantity{display:inline-block!important}.quantity label{margin-bottom:10px}.quantity .quantity-container{display:flex!important}.quantity button{width:40px;height:38px;font-size:16px;background:#fff;border:1px solid #c7c7c7;cursor:pointer}.quantity button.decrease,.quantity button.increase{border-radius:3px}.quantity.control-group .control{text-align:center;float:left;width:60px;height:38px;margin:0;border:1px solid #c7c7c7;border-right:none;border-left:none;border-radius:0}.quantity.control-group .control:focus{border-color:#c7c7c7}.coupon-container .discount-control .control-group{margin-top:20px}.coupon-container .discount-control .control-group .control{width:100%}.coupon-container .applied-coupon-details{margin-top:30px}.coupon-container .applied-coupon-details .right{float:right}.coupon-container .applied-coupon-details .right .icon{vertical-align:text-bottom;margin-bottom:1px;cursor:pointer}.order-summary h3{font-size:16px;margin-top:0}.order-summary .item-detail{margin-top:12px}.order-summary .item-detail label.right{float:right}.order-summary .payable-amount{margin-top:17px;border-top:1px solid #c7c7c7;padding-top:12px}.order-summary .payable-amount label{font-weight:700}.order-summary .payable-amount label.right{float:right}@media only screen and (max-width:815px){section.cart .cart-content{display:block}section.cart .cart-content .left-side{width:100%;float:none}section.cart .cart-content .left-side .misc-controls{position:relative;top:300px;margin-top:0}section.cart .cart-content .right-side{width:100%;padding-left:0;position:relative;top:-20px}}@media only screen and (max-width:600px){section.cart .cart-content .left-side .cart-item-list .item{display:flex;flex-direction:column}section.cart .cart-content .left-side .cart-item-list .item .item-details{margin-top:10px}section.cart .cart-content .left-side .cart-item-list .item .item-details .misc{display:flex;flex-wrap:wrap;line-height:40px}}@media only screen and (max-width:574px){section.cart .cart-content .left-side .misc-controls{display:block;top:300px}section.cart .cart-content .left-side .misc-controls div button{width:100%;margin-top:10px}section.cart .cart-content .left-side .misc-controls div a{margin-top:10px;width:100%;text-align:center}section.cart .cart-content .right-side{top:-100px}}.checkout-method-group .line-one{display:inline-flex;align-items:center}.checkout-method-group .line-one .radio-container{padding-left:28px}.checkout-method-group .line-one .method-label{margin-top:4px}.checkout-method-group .line-two{margin-left:30px}.checkout-process{display:flex;flex-direction:row;width:100%;margin-top:20px;margin-bottom:20px;font-size:16px;color:#242424}.checkout-process .col-main{width:70%;margin-right:5%}.checkout-process .col-main ul.checkout-steps{display:inline-flex;justify-content:space-between;width:100%;padding-bottom:15px;border-bottom:1px solid #c7c7c7}.checkout-process .col-main ul.checkout-steps li{height:48px;display:flex}.checkout-process .col-main ul.checkout-steps li .decorator{height:48px;width:48px;border-radius:50%;display:inline-flex;border:1px solid #c7c7c7;background-repeat:no-repeat;background-position:50%}.checkout-process .col-main ul.checkout-steps li .decorator.address-info{background-image:url(../images/address.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.shipping{background-image:url(../images/shipping.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.payment{background-image:url(../images/payment.svg)}.checkout-process .col-main ul.checkout-steps li .decorator.review{background-image:url(../images/finish.svg)}.checkout-process .col-main ul.checkout-steps li.completed{cursor:pointer}.checkout-process .col-main ul.checkout-steps li.completed .decorator{background-image:url(../images/complete.svg)}.checkout-process .col-main ul.checkout-steps li span{margin-left:7px;margin-top:auto;margin-bottom:auto}.checkout-process .col-main ul.checkout-steps li.active{color:#2650ef}.checkout-process .col-main ul.checkout-steps li.active .decorator{border:1px solid #2650ef}.checkout-process .col-main .step-content{padding-top:20px}.checkout-process .col-main .step-content .form-header{display:inline-flex;align-items:center;justify-content:space-between;width:100%;height:30px}.checkout-process .col-main .step-content .form-header .checkout-step-heading{font-size:24px;font-weight:700;float:left}.checkout-process .col-main .step-content .form-header .btn{float:right;font-size:14px}.checkout-process .col-main .step-content .form-container{border-bottom:1px solid #c7c7c7;padding-top:20px;padding-bottom:20px}.checkout-process .col-main .step-content .shipping-methods{font-size:16px}.checkout-process .col-main .step-content .shipping-methods .ship-method-carrier{margin-bottom:15px;font-weight:700}.checkout-process .col-main .step-content .payment-methods .radio-container{padding-left:28px}.checkout-process .col-main .step-content .payment-methods .control-info{margin-left:28px}.checkout-process .col-main .step-content .payment-methods .instructions{margin-top:10px;margin-left:30px}.checkout-process .col-main .step-content .payment-methods .instructions label{font-weight:600;font-size:14px}.checkout-process .col-main .step-content .payment-methods .instructions p{margin:0;font-size:14px;color:#777;font-style:italic}.checkout-process .col-main .step-content .address-summary{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;width:100%}.checkout-process .col-main .step-content .address-summary div.billing-address{margin-right:25%}.checkout-process .col-main .step-content .address-summary div.billing-address .horizontal-rule,.checkout-process .col-main .step-content .address-summary div.shipping-address .horizontal-rule{width:40px;background:#242424}.checkout-process .col-main .step-content .address-summary .label{width:10%}.checkout-process .col-main .step-content .address-summary .address-card-list{width:85%}.checkout-process .col-main .step-content .cart-item-list .item .row .title{width:100px;display:inline-block;color:#a5a5a5;font-weight:500;margin-bottom:10px}.checkout-process .col-main .step-content .cart-item-list .item .row .value{font-size:18px;font-weight:600}.checkout-process .col-main .step-content .order-description{display:inline-block;width:100%}.checkout-process .col-main .step-content .order-description .shipping{margin-bottom:25px}.checkout-process .col-main .step-content .order-description .decorator{height:48px;width:48px;border-radius:50%;border:1px solid #c7c7c7;vertical-align:middle;display:inline-block;text-align:center}.checkout-process .col-main .step-content .order-description .decorator .icon{margin-top:7px}.checkout-process .col-main .step-content .order-description .text{font-weight:600;vertical-align:middle;display:inline-block}.checkout-process .col-main .step-content .order-description .text .info{font-weight:500;margin-top:2px}.checkout-process .col-right{width:25%;padding-left:40px}@media only screen and (max-width:770px){.checkout-process .col-main{width:100%;padding-right:0}.checkout-process .col-main ul.checkout-steps{border-bottom:none;padding-bottom:0}.checkout-process .col-main ul.checkout-steps span{display:none}.checkout-process .col-main ul.checkout-steps .line{flex-grow:1;border-bottom:1px solid #c7c7c7;margin-left:5px;margin-right:5px}.checkout-process .step-content{padding-top:0}.checkout-process .step-content .control-group .control{width:100%}.checkout-process .col-right{display:none}}@media only screen and (max-width:480px){.checkout-process .col-main .step-content .address,.checkout-process .col-main .step-content .order-description{display:flex;flex-direction:column}.checkout-process .col-main .step-content .address .billing-address,.checkout-process .col-main .step-content .address .pull-left,.checkout-process .col-main .step-content .order-description .billing-address,.checkout-process .col-main .step-content .order-description .pull-left{width:100%!important}.checkout-process .col-main .step-content .address .pull-right,.checkout-process .col-main .step-content .address .shipping-address,.checkout-process .col-main .step-content .order-description .pull-right,.checkout-process .col-main .step-content .order-description .shipping-address{width:100%!important;margin-top:20px}}.attached-products-wrapper{margin-bottom:80px}.attached-products-wrapper .title{margin-bottom:40px;font-size:18px;color:#242424;text-align:center;position:relative}.attached-products-wrapper .title .border-bottom{border-bottom:1px solid hsla(0,0%,63.5%,.2);display:inline-block;width:100px;position:absolute;top:40px;left:50%;margin-left:-50px}.attached-products-wrapper .horizontal-rule{height:1px;background:#c7c7c7;width:148px;margin-bottom:24px;margin-left:auto;margin-right:auto}section.review .category-breadcrumbs{display:inline}section.review .review-layouter{display:flex}section.review .review-layouter .product-info{max-width:25%}section.review .review-layouter .product-info .product-name{font-size:24px}section.review .review-layouter .product-info .product-image img{height:280px;width:280px}section.review .review-layouter .product-info .product-name a{color:#242424}section.review .review-layouter .product-info .product-price{margin-top:10px;word-break:break-all}section.review .review-layouter .product-info .product-price .pro-price{color:#ff6472}section.review .review-layouter .product-info .product-price .pro-price-not{margin-left:10px;font-size:16px;color:#a5a5a5}section.review .review-layouter .product-info .product-price .offer{margin-left:10px;font-size:16px}section.review .review-layouter .review-form{margin-left:20px;width:55%}section.review .review-layouter .review-form .heading{color:#242424;font-weight:600}section.review .review-layouter .review-form .heading .right{float:right;margin-top:-10px}section.review .review-layouter .review-form .star{font-size:23px;color:#d4d4d4;transition:all .2s}section.review .review-layouter .review-form .star:before{content:"\2605"}section.review .review-layouter .review-form .control-group .control{width:100%}section.review .review-layouter .review-form .review-detail{height:150px;border:1px solid #b22222;margin-top:30px;display:flex;flex-direction:row}section.review .review-layouter .review-form .review-detail .rating-review{margin-top:40px;margin-left:20px;width:48%}section.review .review-layouter .review-form .review-detail .rating-review .avg-rating-count span{font-size:34px;text-align:center}section.review .review-layouter .review-form .review-detail .rating-calculate .progress-only{width:20px;border:1px solid #00f}section.review .review-layouter .ratings-reviews{display:flex;align-items:center;justify-content:space-between}section.review .review-layouter .ratings-reviews .left-side{padding:40px 20px;width:50%}section.review .review-layouter .ratings-reviews .left-side .rate{font-size:34px}section.review .review-layouter .ratings-reviews .left-side .stars .icon{height:16px;width:16px}section.review .review-layouter .ratings-reviews .right-side{width:50%}section.review .review-layouter .ratings-reviews .right-side .rater{display:inline-flex;align-items:center;padding-top:5px;width:100%}section.review .review-layouter .ratings-reviews .right-side .rater .star-name{margin-right:5px;width:35px}section.review .review-layouter .ratings-reviews .right-side .rater .rate-number{width:15px}section.review .review-layouter .ratings-reviews .right-side .rater .percentage{width:50px;margin-right:10px}section.review .review-layouter .ratings-reviews .right-side .rater .percentage span{float:right;white-space:nowrap}section.review .review-layouter .ratings-reviews .right-side .rater .line-bar{height:4px;width:calc(100% - 100px);margin-right:5px;margin-left:5px;background:#d8d8d8}section.review .review-layouter .ratings-reviews .right-side .rater .line-bar .line-value{background-color:#0031f0}@media only screen and (max-width:770px){section.review .category-breadcrumbs{display:none}section.review .review-layouter{flex-direction:column}section.review .review-layouter .product-info{max-width:100%}section.review .review-layouter .product-info .product-image,section.review .review-layouter .product-info .product-name,section.review .review-layouter .product-info .product-price{max-width:280px;margin-right:auto;word-break:break-all}section.review .review-layouter .review-form{width:100%;margin-left:0}section.review .review-layouter .review-form .heading .right{margin-top:50px}section.review .review-layouter .review-form .ratings-reviews{flex-direction:column;width:100%}section.review .review-layouter .review-form .ratings-reviews .left-side{width:100%;padding:0 0 40px;margin-top:-30px}section.review .review-layouter .review-form .ratings-reviews .right-side{width:100%}section.review .review-layouter .review-form .ratings-reviews .right-side .rater .percentage{margin-right:0}}.auth-content{padding-top:5%;padding-bottom:5%}.auth-content .sign-up-text{margin-bottom:2%;margin-left:auto;margin-right:auto;font-size:18px;color:#a5a5a5;text-align:center}.auth-content .login-form{margin-left:auto;margin-right:auto;display:flex;border:1px solid #c7c7c7;flex-direction:column;max-width:500px;min-width:320px;padding:25px}.auth-content .login-form .login-text{font-size:24px;font-weight:600;margin-bottom:30px}.auth-content .login-form .control-group{margin-bottom:15px!important}.auth-content .login-form .control-group .control{width:100%!important}.auth-content .login-form .forgot-password-link{font-size:17px;color:#0031f0;margin-bottom:5%}.auth-content .login-form .signup-confirm{margin-bottom:5%}.auth-content .login-form .btn-primary{width:100%;text-transform:uppercase}ol.breadcrumb{list-style:none;margin:0;padding:0}ol.breadcrumb li.breadcrumb-item{display:inline-block}ol.breadcrumb li.breadcrumb-item+.breadcrumb-item:before{display:inline-block;padding-right:5px;padding-left:5px;content:"/"}.account-table-content table{width:100%}.account-table-content table tbody tr{height:45px}.account-table-content table tbody tr td{width:250px}.account-content{width:100%;display:flex;flex-direction:row;margin-top:2.5%;margin-bottom:5.5%}.account-content a.btn.btn-lg.btn-primary{float:right}.account-content .sidebar{display:flex;flex-direction:column;align-content:center;justify-content:flex-start;width:20%;height:100%}.account-content .menu-block{margin-bottom:30px}.account-content .menu-block:last-child{margin-bottom:0}.account-content .menu-block .menu-block-title{padding-bottom:10px;font-size:18px}.account-content .menu-block .menu-block-title .right{display:none}.account-content .menu-block .menubar{border:1px solid #c7c7c7;color:#a5a5a5;position:relative}.account-content .menu-block .menubar li{width:95%;height:50px;margin-left:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;border-bottom:1px solid #c7c7c7;text-align:center}.account-content .menu-block .menubar li a{color:#5e5e5e;width:100%;text-align:left}.account-content .menu-block .menubar li .icon{display:none;position:absolute;right:12px}.account-content .menu-block .menubar li:first-child{border-top:none}.account-content .menu-block .menubar li:last-child{border-bottom:none}.account-content .menu-block .menubar li.active a{color:#0031f0}.account-content .menu-block .menubar li.active .icon{display:inline-block}.account-content .account-layout{margin-left:40px;width:80%}.account-content .account-layout .account-head .back-icon,.account-content .account-layout .responsive-empty{display:none}.account-table-content{color:#242424;margin-top:1.4%}.address-holder{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;width:100%}.address-card{width:260px;border:1px solid #c7c7c7;padding:15px;margin-right:15px;margin-bottom:15px}.address-card .control-group{width:15px;height:15px;margin-top:10px}.address-card .details{font-weight:lighter}.address-card .details span{display:block}.address-card .details .control-links{width:90%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}.address-card .details .control-links .btn{height:30px}.edit-form{display:flex;border:1px solid #c7c7c7;flex-direction:column;min-height:345px;padding:25px}@media only screen and (max-width:770px){.account-content{flex-direction:column}.account-content .sidebar{width:100%}.account-content .sidebar .menu-block .menu-block-title{height:50px;padding-top:13px;border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7}.account-content .sidebar .menu-block .menu-block-title .right{display:block;float:right;align-self:center}.account-content .sidebar .menu-block .menubar{border:0;display:none}.account-content .sidebar .menu-block .menubar>li{margin-left:0;width:100%}.account-content .sidebar .menu-block .menubar>li .icon{right:0}.account-content .sidebar .menu-block .menubar>li:last-child{border-bottom:1px solid #c7c7c7}.account-content .account-layout{margin-left:0;margin-top:20px;width:100%}.account-content .account-layout .account-head{display:flex;justify-content:inherit;-moz-column-gap:10px;column-gap:10px;border-bottom:1px solid #c7c7c7;border-top:1px solid #c7c7c7;height:50px;margin-top:10px}.account-content .account-layout .account-head .account-action{margin-top:12px;margin-left:15px}.account-content .account-layout .account-head .back-icon{display:block}.account-content .account-layout .account-head span{margin-top:13px;font-size:18px}.account-content .account-layout .account-head .horizontal-rule{display:none}.account-content .account-layout .account-table-content{margin-top:2%}.account-content .account-layout .account-table-content .address-holder{justify-content:center}.account-content .account-items-list,.account-content .edit-form{margin-top:20px}.account-content .account-items-list .responsive-empty,.account-content .edit-form .responsive-empty{display:block}.account-content .control-group .control{width:100%}}.sale-container{color:#5e5e5e}.sale-container .sale-section .secton-title{font-size:18px;color:#8e8e8e;padding:15px 0;border-bottom:1px solid #c7c7c7}.sale-container .sale-section .section-content{display:block;padding:20px 0;border-bottom:1px solid #e8e8e8}.sale-container .sale-section .section-content .sale{display:block;padding:7px 0}.sale-container .sale-section .section-content .sale .title{width:200px;letter-spacing:-.26px;display:inline-block}.sale-container .sale-section .section-content .sale .value{letter-spacing:-.26px;display:inline-block}.sale-container .sale-section .section-content .order-box-container{display:inline-block;width:100%}.sale-container .sale-section .section-content .order-box-container .box{float:left;width:25%}.sale-container .sale-section .section-content .order-box-container .box .box-title{padding:10px 0;font-size:18px;color:#8e8e8e}.sale-container .sale-section .section-content .order-box-container .box .box-content{color:#3a3a3a;padding-right:10px}.sale-container .sale-section .section-content .qty-row{display:block}.sale-container .totals{padding-top:20px;display:inline-block;width:100%;border-top:1px solid #e8e8e8}.sale-container .totals .sale-summary{height:130px;float:right;border-collapse:collapse;left:3px;position:relative}.sale-container .totals .sale-summary tr td{padding:5px 8px;width:auto;color:#3a3a3a}.sale-container .totals .sale-summary tr.bold{font-weight:600;font-size:15px}.sale-container .totals .sale-summary tr.border td{border-bottom:1px solid #c7c7c7}@media only screen and (max-width:770px){.sale-container .sale-section .section-content{border-bottom:none;padding:10px 0}.sale-container .sale-section .section-content .row{display:flex;flex-direction:column}.sale-container .sale-section .section-content .row .title{line-height:20px}.sale-container .sale-section .section-content .totals{border-top:none}.sale-container .sale-section .section-content .totals .sale-summary{width:100%}.sale-container .sale-section .section-content .totals .sale-summary tr td:nth-child(2){display:none}.sale-container .sale-section .section-content .order-box-container{display:flex;flex-direction:column}.sale-container .sale-section .section-content .order-box-container .box{width:100%;margin:10px auto}.sale-container .sale-section .section-content .qty-row{display:inline}}.verify-account{text-align:center;background:#204d74;width:200px;margin-right:auto;margin-left:auto;border-radius:4px}.verify-account a{color:#fff!important}.cp-spinner{position:absolute;left:calc(50% - 24px);margin-top:calc(40% - 24px)}@media only screen and (max-width:720px){.cp-spinner{left:50%;margin-left:-24px;top:50%;margin-top:-24px}}@media only screen and (max-width:720px){.error-container .wrapper{flex-direction:column-reverse!important;margin:10px 0 20px!important;align-items:start!important;height:100%!important}}.show-wishlist{z-index:-1!important}.filter-row-one .dropdown-filters{position:relative!important;right:1px!important}@media only screen and (max-width:770px){.table .grid-container{margin-top:10px;overflow-x:hidden}.table .grid-container .filter-row-one{display:block}.table .grid-container .filter-row-one .dropdown-filters{margin-top:10px}.image-search-container .icon.camera-icon{top:3px;position:relative;margin-left:10px}.image-search-container input[type=file]{display:none}.image-search-result .searched-terms{margin-top:15px;margin-left:0!important}.image-search-result .term-list{line-height:35px}}.rtl{direction:rtl}.rtl .dropdown-filters .per-page-label{position:static!important}.rtl .header .header-top div.left-content ul.logo-container{margin-right:0;margin-left:12px}.rtl .header .header-top div.left-content ul.search-container li.search-group .search-field{border:2px solid #c7c7c7;padding-right:12px;padding-left:0;border-radius:2px;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none}.rtl .header .header-top div.left-content ul.search-container li.search-group .search-icon-wrapper{border:2px solid #c7c7c7;border-right:none;border-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;margin-left:-2px}.rtl .header .header-top div.left-content ul.search-container li.search-group .image-search-container{left:48px;right:unset}.rtl .header .header-top div.right-content .right-content-menu>li{border-right:2px solid #c7c7c7;padding:0 15px}.rtl .header .header-top div.right-content .right-content-menu>li:last-child{padding-left:0}.rtl .header .header-top div.right-content .right-content-menu>li:first-child{border-right:0;padding-right:0}.rtl .header .header-top div.right-content .right-content-menu .cart-dropdown-container .dropdown-list{left:0;right:unset!important}.rtl .header .header-top div.right-content .right-content-menu .cart-dropdown-container .count{display:inline-block}.rtl .header .header-top div.right-content .right-content-menu .account,.rtl .header .header-top div.right-content .right-content-menu .currency{right:unset;left:0}.rtl .header .header-top div.right-content .right-content-menu .guest div{display:flex;justify-content:space-between}.rtl .header .header-bottom .nav>li{float:right;margin-right:0;margin-left:1px}.rtl .header .header-bottom .nav a{padding:.8em .5em .8em .3em!important}.rtl .header .header-bottom .nav li a>.icon{transform:rotate(180deg)}.rtl .header .header-bottom .nav>li li:hover>ul{left:unset!important;right:100%!important}.rtl .header .header-bottom .nav ul{left:99999em}.rtl .header .search-responsive .search-content .right{float:left}.rtl .dropdown-list{text-align:right}.rtl .dropdown-list.bottom-right{left:0;right:auto}@media only screen and (max-width:720px){.rtl .header .header-top div.right-content .menu-box{margin-left:0;margin-right:5px}.rtl .header .header-top div.right-content .right-content-menu .account{position:absolute;left:0;right:auto}.rtl .header .header-top div.right-content .right-content-menu>li{padding:0;border:0}.rtl .header .header-top div.right-content .search-box{margin-left:5px}.rtl .header .header-bottom .nav>li{float:none}.rtl .header .header-bottom .nav li>.icon{float:left;transform:rotate(180deg)}.rtl .header .header-bottom .icon.icon-arrow-down{margin-left:5px}}.rtl section.slider-block div.slider-content div.slider-control{left:2%;right:auto}.rtl section.slider-block div.slider-content div.slider-control .slider-left{float:left}.rtl section.slider-block div.slider-content div.slider-control .slider-right{margin-left:5px}@media only screen and (max-width:720px){.rtl section.slider-block div.slider-content div.slider-control{left:0}}.rtl .main-container-wrapper .product-card .sticker{left:auto;right:20px;min-width:52px}.rtl .main-container-wrapper .product-card .cart-wish-wrap .addtocart{margin-right:0;margin-left:10px}.rtl section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;margin-left:30px}.rtl section.product-detail div.layouter .form-container div.product-image-group .add-to-buttons{float:left!important}.rtl section.product-detail div.layouter .form-container div .thumb-list{margin-left:4px;margin-right:0}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header{padding:20px 0 20px 15px}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header .icon{float:left}.rtl section.product-detail div.layouter .form-container .details .accordian .accordian-header .expand-icon{margin-left:10px}.rtl section.product-detail div.layouter .form-container .details .full-specifications td:first-child{padding-right:0;padding-left:40px}.rtl section.product-detail div.layouter .form-container .details .product-ratings .total-reviews{margin-left:0;margin-right:15px}.rtl section.product-detail div.layouter .form-container .details .downloadable-container .link-list ul li a{float:left;margin-top:3px}@media only screen and (max-width:720px){.rtl section.product-detail div.layouter .form-container div.product-image-group{margin-right:0;margin-left:0}}.rtl .main .category-container .layered-filter-wrapper,.rtl .main .category-container .responsive-layred-filter{padding-right:0;padding-left:20px}.rtl .main .top-toolbar .pager{float:left}.rtl .main .top-toolbar .pager .view-mode{margin-right:0;margin-left:20px}.rtl .main .top-toolbar .pager .sorter{margin-right:0;margin-left:10px}.rtl .main .top-toolbar .pager label{margin-right:0;margin-left:5px}.rtl .main .top-toolbar .page-info{float:right}.rtl section.review .review-layouter .review-form{margin-left:0;margin-right:20px}.rtl section.review .review-layouter .review-form .heading .right{float:left}.rtl section.review .review-layouter .review-form .ratings-reviews .right-side .rater .star-name{margin-right:0;margin-left:5px}@media only screen and (max-width:770px){.rtl section.review .review-layouter .review-form{margin-right:0}}.rtl section.cart .cart-content .left-side{width:70%;float:right}.rtl section.cart .cart-content .left-side .misc-controls a.link{margin-left:15px;margin-right:0}.rtl section.cart .cart-content .right-side{width:30%;padding-right:40px;padding-left:0}.rtl .order-summary .item-detail label.right,.rtl .payable-amount label.right{float:left}.rtl .item div{margin-left:15px;margin-right:0!important}.rtl .cart-item-list .item .item-details .misc div.qty-text{margin-right:0;margin-left:10px}.rtl .cart-item-list .item .item-details .misc .remove,.rtl .cart-item-list .item .item-details .misc input.box{margin-right:0;margin-left:30px}.rtl .cart-item-list .item .item-details .misc .control-group label{margin-left:15px;margin-right:0}@media only screen and (max-width:770px){.rtl section.cart .cart-content .left-side{width:100%;float:none}.rtl section.cart .cart-content .left-side .misc-controls div button{margin-right:0}.rtl section.cart .cart-content .right-side{width:100%;padding-right:0}}.rtl .checkout-process .col-right{padding-left:0;padding-right:40px}.rtl .checkout-process .col-main{padding-left:40px;padding-right:0}.rtl .checkout-process .col-main ul.checkout-steps li span{margin-right:7px;margin-left:0}.rtl .checkout-process .col-main .step-content .form-header h1{float:right}.rtl .checkout-process .col-main .step-content .form-header .btn{float:left}.rtl .checkout-process .col-main .step-content .payment-methods .control-info{margin-right:28px;margin-left:0}.rtl .checkout-process .col-main .step-content .address .billing-address,.rtl .checkout-process .col-main .step-content .address .pull-left,.rtl .checkout-process .col-main .step-content .order-description .billing-address,.rtl .checkout-process .col-main .step-content .order-description .pull-left{float:right!important}.rtl .checkout-process .col-main .step-content .address .pull-right,.rtl .checkout-process .col-main .step-content .address .shipping-address,.rtl .checkout-process .col-main .step-content .order-description .pull-right,.rtl .checkout-process .col-main .step-content .order-description .shipping-address{float:left!important}.rtl .radio{margin:10px 0 5px 5px}.rtl .radio .radio-view{margin-left:5px;margin-right:0}.rtl .radio input{right:0;left:auto}.rtl .radio-container .checkmark{top:2px;left:4px}.rtl .mt-5{margin-top:5px;margin-right:28px}@media only screen and (max-width:770px){.rtl .checkout-process .col-main{padding-left:0}}.rtl .account-content .account-layout{margin-left:0;margin-right:40px}.rtl .account-content .menu-block .menubar li{margin-left:0;margin-right:5%}.rtl .account-content .menu-block .menubar li a{text-align:right}.rtl .account-content .menu-block .menubar li .icon{right:unset;left:12px;transform:rotate(180deg)}.rtl .account-head .account-action{float:left}.rtl a.btn.btn-lg.btn-primary{float:left;margin-right:15px}.rtl .account-item-card .media-info .info{margin-right:20px;margin-left:0}.rtl .account-item-card .operations a span{float:left}.rtl .table table{text-align:right}.rtl .sale-container .totals .sale-summary{float:left}.rtl .sale-container .sale-section .section-content .order-box-container{display:flex}@media (max-width:770px){.rtl .account-content .account-layout{margin-right:0}.rtl .account-content .account-layout .account-head .account-action{margin-left:0}.rtl .account-content .sidebar .menu-block .menu-block-title .right{float:left}.rtl .account-content .sidebar .menu-block .menubar>li{margin-right:0}}.rtl .footer .footer-content .footer-list-container .list-container .list-group li span.icon{margin-left:5px;margin-right:0}@media (max-width:720px){.rtl .footer{padding-right:15px;padding-left:10%}.rtl .footer .footer-list-container{padding-right:0!important}}.rtl .cp-spinner{position:absolute;right:calc(50% - 24px);margin-top:calc(40% - 24px)}@media only screen and (max-width:720px){.rtl .cp-spinner{right:50%;margin-right:-24px;left:auto}}.rtl .product-list .product-card .product-information{padding-left:0;padding-right:30px;float:left}.rtl .zoom-image-direction{left:0;right:476px!important}.banner-container{width:100%;float:left;padding:0 18px;margin-bottom:40px}.banner-container .left-banner{padding-right:20px;width:60%;float:left}.banner-container .left-banner img{width:100%}.banner-container .right-banner{padding-left:20px;width:40%;float:left}.banner-container .right-banner img{max-width:100%}.banner-container .right-banner img:first-child{padding-bottom:20px;display:block}.banner-container .right-banner img:last-child{padding-top:20px;display:block}@media (max-width:720px){.banner-container .left-banner{padding-right:0;width:100%}.banner-container .right-banner{padding-left:0;width:100%}.banner-container .right-banner img:first-child{padding-bottom:0;padding-top:25px}.banner-container .right-banner img:last-child{padding-top:25px}}.static-container{display:block;width:100%;padding:10px;margin-left:auto;margin-right:auto}.static-container.one-column{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.static-container.two-column{display:grid;grid-template-columns:48% 48%;grid-column-gap:4%}.static-container.three-column{display:grid;grid-template-columns:30% 30% 30%;grid-column-gap:4%}.item-options{font-size:14px;font-weight:200}.item-options b{font-weight:500}.image-search-result{background-color:rgba(0,65,255,.1);border:1px solid #0041ff;padding:20px;margin-bottom:20px;border-radius:2px;display:inline-block;width:100%}.image-search-result .searched-image{float:left}.image-search-result .searched-image img{width:150px;height:auto;box-shadow:1px 1px 3px 0 rgba(0,0,0,.32)}.image-search-result .searched-terms{margin-left:20px;display:inline-block}.image-search-result .searched-terms h3{margin-top:0}.image-search-result .searched-terms .term-list a{padding:5px 8px;background:#fff;margin-right:10px}body{overflow-x:hidden}.comparison-component{width:100%;padding-top:20px}.compare-products{width:unset!important}.desc>p,.mt-0{margin-top:0}.comparison-component>h1{display:inline-block}.icon.remove-product{top:5px;cursor:pointer;position:relative;background-color:#000}.action>div{display:inline-block}.cart-wish-wrap .btn.btn-lg{padding:5px 10px}.cart-wish-wrap,.default-wrap{display:flex}.white-cross-sm-icon{width:24px;height:24px}.add-to-wishlist{margin-top:auto;margin-left:15px}.d-inline-block{display:inline-block} \ No newline at end of file diff --git a/packages/Webkul/Shop/publishable/assets/mix-manifest.json b/packages/Webkul/Shop/publishable/assets/mix-manifest.json index a6473b33f..3a2aa333a 100755 --- a/packages/Webkul/Shop/publishable/assets/mix-manifest.json +++ b/packages/Webkul/Shop/publishable/assets/mix-manifest.json @@ -1,4 +1,4 @@ { "/js/shop.js": "/js/shop.js?id=081e6c585ea2bde54421", - "/css/shop.css": "/css/shop.css?id=ff2ffa89e3bbaf07953d" + "/css/shop.css": "/css/shop.css?id=b8a554b90754154b6a86" } diff --git a/packages/Webkul/Shop/src/Http/Controllers/OnepageController.php b/packages/Webkul/Shop/src/Http/Controllers/OnepageController.php index 6fd60b4f5..91e6cca75 100755 --- a/packages/Webkul/Shop/src/Http/Controllers/OnepageController.php +++ b/packages/Webkul/Shop/src/Http/Controllers/OnepageController.php @@ -3,25 +3,25 @@ namespace Webkul\Shop\Http\Controllers; use Illuminate\Support\Facades\Event; -use Webkul\Shop\Http\Controllers\Controller; use Webkul\Checkout\Facades\Cart; -use Webkul\Shipping\Facades\Shipping; -use Webkul\Payment\Facades\Payment; use Webkul\Checkout\Http\Requests\CustomerAddressForm; -use Webkul\Sales\Repositories\OrderRepository; use Webkul\Customer\Repositories\CustomerRepository; +use Webkul\Payment\Facades\Payment; +use Webkul\Sales\Repositories\OrderRepository; +use Webkul\Shipping\Facades\Shipping; +use Webkul\Shop\Http\Controllers\Controller; class OnepageController extends Controller { /** - * OrderRepository object + * Order repository instance. * * @var \Webkul\Sales\Repositories\OrderRepository */ protected $orderRepository; - /** - * customerRepository instance object + /** + * Customer repository instance. * * @var \Webkul\Customer\Repositories\CustomerRepository */ @@ -37,8 +37,7 @@ class OnepageController extends Controller public function __construct( OrderRepository $orderRepository, CustomerRepository $customerRepository - ) - { + ) { $this->orderRepository = $orderRepository; $this->customerRepository = $customerRepository; @@ -50,27 +49,31 @@ class OnepageController extends Controller * Display a listing of the resource. * * @return \Illuminate\View\View - */ + */ public function index() { Event::dispatch('checkout.load.index'); - if (! auth()->guard('customer')->check() - && ! core()->getConfigData('catalog.products.guest-checkout.allow-guest-checkout')) { + if (! auth()->guard('customer')->check() && ! core()->getConfigData('catalog.products.guest-checkout.allow-guest-checkout')) { return redirect()->route('customer.session.index'); } + if (auth()->guard('customer')->check() && auth()->guard('customer')->user()->is_suspended) { + session()->flash('warning', trans('shop::app.checkout.cart.suspended-account-message')); + + return redirect()->route('shop.checkout.cart.index'); + } + if (Cart::hasError()) { return redirect()->route('shop.checkout.cart.index'); } $cart = Cart::getCart(); - if (! auth()->guard('customer')->check() && $cart->hasDownloadableItems()) { - return redirect()->route('customer.session.index'); - } - - if (! auth()->guard('customer')->check() && ! $cart->hasGuestCheckoutItems()) { + if ( + (! auth()->guard('customer')->check() && $cart->hasDownloadableItems()) + || (! auth()->guard('customer')->check() && ! $cart->hasGuestCheckoutItems()) + ) { return redirect()->route('customer.session.index'); } @@ -88,10 +91,10 @@ class OnepageController extends Controller } /** - * Return order short summary + * Return order short summary. * * @return \Illuminate\Http\Response - */ + */ public function summary() { $cart = Cart::getCart(); @@ -106,10 +109,10 @@ class OnepageController extends Controller * * @param \Webkul\Checkout\Http\Requests\CustomerAddressForm $request * @return \Illuminate\Http\Response - */ + */ public function saveAddress(CustomerAddressForm $request) { - $data = request()->all(); + $data = $request->all(); if (! auth()->guard('customer')->check() && ! Cart::getCart()->hasGuestCheckoutItems()) { return response()->json(['redirect_url' => route('customer.session.index')], 403); @@ -120,33 +123,33 @@ class OnepageController extends Controller if (Cart::hasError() || ! Cart::saveCustomerAddress($data)) { return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403); - } else { - $cart = Cart::getCart(); - - Cart::collectTotals(); - - if ($cart->haveStockableItems()) { - if (! $rates = Shipping::collectRates()) { - return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403); - } else { - return response()->json($rates); - } - } else { - return response()->json(Payment::getSupportedPaymentMethods()); - } } + + $cart = Cart::getCart(); + + Cart::collectTotals(); + + if ($cart->haveStockableItems()) { + if (! $rates = Shipping::collectRates()) { + return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403); + } + + return response()->json($rates); + } + + return response()->json(Payment::getSupportedPaymentMethods()); } /** * Saves shipping method. * * @return \Illuminate\Http\Response - */ + */ public function saveShipping() { $shippingMethod = request()->get('shipping_method'); - if (Cart::hasError() || !$shippingMethod || !Cart::saveShippingMethod($shippingMethod)) { + if (Cart::hasError() || ! $shippingMethod || ! Cart::saveShippingMethod($shippingMethod)) { return response()->json(['redirect_url' => route('shop.checkout.cart.index')], 403); } @@ -159,7 +162,7 @@ class OnepageController extends Controller * Saves payment method. * * @return \Illuminate\Http\Response - */ + */ public function savePayment() { $payment = request()->get('payment'); @@ -182,7 +185,7 @@ class OnepageController extends Controller * Saves order. * * @return \Illuminate\Http\Response - */ + */ public function saveOrder() { if (Cart::hasError()) { @@ -216,10 +219,10 @@ class OnepageController extends Controller } /** - * Order success page + * Order success page. * * @return \Illuminate\Http\Response - */ + */ public function success() { if (! $order = session('order')) { @@ -230,7 +233,7 @@ class OnepageController extends Controller } /** - * Validate order before creation + * Validate order before creation. * * @return void|\Exception */ @@ -240,54 +243,58 @@ class OnepageController extends Controller $minimumOrderAmount = core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; + if (auth()->guard('customer')->check() && auth()->guard('customer')->user()->is_suspended) { + throw new \Exception(trans('shop::app.checkout.cart.suspended-account-message')); + } + if (! $cart->checkMinimumOrder()) { throw new \Exception(trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)])); } if ($cart->haveStockableItems() && ! $cart->shipping_address) { - throw new \Exception(trans('Please check shipping address.')); + throw new \Exception(trans('shop::app.checkout.cart.check-shipping-address')); } if (! $cart->billing_address) { - throw new \Exception(trans('Please check billing address.')); + throw new \Exception(trans('shop::app.checkout.cart.check-billing-address')); } if ($cart->haveStockableItems() && ! $cart->selected_shipping_rate) { - throw new \Exception(trans('Please specify shipping method.')); + throw new \Exception(trans('shop::app.checkout.cart.specify-shipping-method')); } if (! $cart->payment) { - throw new \Exception(trans('Please specify payment method.')); + throw new \Exception(trans('shop::app.checkout.cart.specify-payment-method')); } } /** - * Check Customer is exist or not + * Check customer is exist or not. * * @return \Illuminate\Http\Response */ public function checkExistCustomer() { - $customer = $this->customerRepository->findOneWhere([ + $customer = $this->customerRepository->findOneWhere([ 'email' => request()->email, - ]); + ]); - if (! is_null($customer)) { - return 'true'; - } + if (! is_null($customer)) { + return 'true'; + } - return 'false'; + return 'false'; } /** - * Login for checkout + * Login for checkout. * * @return \Illuminate\Http\Response */ public function loginForCheckout() { $this->validate(request(), [ - 'email' => 'required|email' + 'email' => 'required|email', ]); if (! auth()->guard('customer')->attempt(request(['email', 'password']))) { @@ -300,7 +307,7 @@ class OnepageController extends Controller } /** - * To apply couponable rule requested + * To apply couponable rule requested. * * @return \Illuminate\Http\Response */ @@ -322,19 +329,17 @@ class OnepageController extends Controller 'message' => trans('shop::app.checkout.total.coupon-applied'), 'result' => $result, ], 200); - } else { - return response()->json([ - 'success' => false, - 'message' => trans('shop::app.checkout.total.cannot-apply-coupon'), - 'result' => null, - ], 422); } - return $result; + return response()->json([ + 'success' => false, + 'message' => trans('shop::app.checkout.total.cannot-apply-coupon'), + 'result' => null, + ], 422); } /** - * Initiates the removal of couponable cart rule + * Initiates the removal of couponable cart rule. * * @return array */ @@ -352,13 +357,13 @@ class OnepageController extends Controller 'grand_total' => core()->currency(Cart::getCart()->grand_total), ], ], 200); - } else { - return response()->json([ - 'success' => false, - 'message' => trans('admin::app.promotion.status.coupon-remove-failed'), - 'data' => null, - ], 422); } + + return response()->json([ + 'success' => false, + 'message' => trans('admin::app.promotion.status.coupon-remove-failed'), + 'data' => null, + ], 422); } /** @@ -373,8 +378,8 @@ class OnepageController extends Controller $status = Cart::checkMinimumOrder(); return response()->json([ - 'status' => ! $status ? false : true, + 'status' => ! $status ? false : true, 'message' => ! $status ? trans('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]) : 'Success', ]); } -} \ No newline at end of file +} diff --git a/packages/Webkul/Shop/src/Resources/assets/sass/app.scss b/packages/Webkul/Shop/src/Resources/assets/sass/app.scss index db0afd0e8..22552c25b 100755 --- a/packages/Webkul/Shop/src/Resources/assets/sass/app.scss +++ b/packages/Webkul/Shop/src/Resources/assets/sass/app.scss @@ -3796,7 +3796,8 @@ ol.breadcrumb { .account-head { display: flex; - justify-content: space-between; + justify-content: inherit; + column-gap: 10px; border-bottom: 1px solid $border-color; border-top: 1px solid $border-color; height: 50px; diff --git a/packages/Webkul/Shop/src/Resources/lang/ar/app.php b/packages/Webkul/Shop/src/Resources/lang/ar/app.php index 4dedbd8e6..f3ce1e6f7 100644 --- a/packages/Webkul/Shop/src/Resources/lang/ar/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/ar/app.php @@ -514,7 +514,7 @@ return [ 'error' => 'لا يستطيع تحديث عنصر s في الوقت الحالي رجاء حاول ثانية لاحقا', ], - 'item' => [ + 'item' => [ 'error_remove' => 'لا عناصر لإزالتها من العربة', 'success' => 'تم بنجاح إضافة العنصر إلى العربة', 'success-remove' => 'تم إزالة العنصر بنجاح من العربة', @@ -522,15 +522,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart', 'inactive-add' => 'Inactive item cannot be added to cart', ], - 'quantity-error' => 'الكمية المطلوبة غير متوفرة', - 'cart-subtotal' => 'المجموع الفرعي للمشتريات', - 'cart-remove-action' => 'هل تريد حقا أن تسمح هذا ؟', - 'partial-cart-update' => 'تم تحديث بعض المنتجات.', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'الكمية المطلوبة غير متوفرة', + 'cart-subtotal' => 'المجموع الفرعي للمشتريات', + 'cart-remove-action' => 'هل تريد حقا أن تسمح هذا ؟', + 'partial-cart-update' => 'تم تحديث بعض المنتجات.', + 'link-missing' => '', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'الحد الأدنى لمبلغ الطلب هو :amount', + 'minimum-order-message' => 'الحد الأدنى لمبلغ الطلب هو :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/de/app.php b/packages/Webkul/Shop/src/Resources/lang/de/app.php index be47d8fa5..7f8f8a1bc 100755 --- a/packages/Webkul/Shop/src/Resources/lang/de/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/de/app.php @@ -511,7 +511,7 @@ return [ 'error' => 'Die Elemente können derzeit nicht aktualisiert werden. Bitte versuchen Sie es später erneut.', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Keine Artikel aus dem Warenkorb zu entfernen', 'success' => 'Artikel wurde erfolgreich zum Warenkorb hinzugefügt', 'success-remove' => 'Artikel wurde erfolgreich aus dem Warenkorb entfernt', @@ -519,12 +519,17 @@ return [ 'inactive' => 'Ein Artikel ist inaktiv und wurde aus dem Warenkorb entfernt.', 'inactive-add' => 'Ein inaktiver Artikel kann nicht zum Warenkorb hinzugefügt werde.', ], - 'quantity-error' => 'Die angeforderte Menge ist nicht verfügbar', - 'cart-subtotal' => 'Warenkorb Zwischensumme', - 'cart-remove-action' => 'Wollen Sie dies wirklich tun?', - 'partial-cart-update' => 'Nur einige der Produkte wurden aktualisiert', - 'link-missing' => '', - 'minimum-order-message' => 'Mindestbestellmenge ist :amount', + 'quantity-error' => 'Die angeforderte Menge ist nicht verfügbar', + 'cart-subtotal' => 'Warenkorb Zwischensumme', + 'cart-remove-action' => 'Wollen Sie dies wirklich tun?', + 'partial-cart-update' => 'Nur einige der Produkte wurden aktualisiert', + 'link-missing' => '', + 'minimum-order-message' => 'Mindestbestellmenge ist :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/en/app.php b/packages/Webkul/Shop/src/Resources/lang/en/app.php index a1c8dd2d5..6a2ee8b81 100755 --- a/packages/Webkul/Shop/src/Resources/lang/en/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/en/app.php @@ -479,45 +479,40 @@ return [ 'tax-inclusive' => 'Inclusive of all taxes', ], - // 'reviews' => [ - // 'empty' => 'You Have Not Reviewed Any Of Product Yet' - // ] - 'buynow' => [ 'no-options' => 'Please select options before buying this product.', ], 'checkout' => [ 'cart' => [ - 'integrity' => [ + 'integrity' => [ 'missing_fields' => 'Some required fields missing for this product.', 'missing_options' => 'Options are missing for this product.', 'missing_links' => 'Downloadable links are missing for this product.', 'qty_missing' => 'Atleast one product should have more than 1 quantity.', 'qty_impossible' => 'Cannot add more than one of these products to cart.', ], - 'create-error' => 'Encountered some issue while making cart instance.', - 'title' => 'Shopping Cart', - 'empty' => 'Your shopping cart is empty', - 'update-cart' => 'Update Cart', - 'continue-shopping' => 'Continue Shopping', - 'continue-registration' => 'Continue Registration', - 'proceed-to-checkout' => 'Proceed To Checkout', - 'remove' => 'Remove', - 'remove-link' => 'Remove', - 'move-to-wishlist' => 'Move to Wishlist', - 'move-to-wishlist-success' => 'Item moved to wishlist successfully.', - 'move-to-wishlist-error' => 'Cannot move item to wishlist, please try again later.', - 'add-config-warning' => 'Please select option before adding to cart.', - 'quantity' => [ + 'create-error' => 'Encountered some issue while making cart instance.', + 'title' => 'Shopping Cart', + 'empty' => 'Your shopping cart is empty', + 'update-cart' => 'Update Cart', + 'continue-shopping' => 'Continue Shopping', + 'continue-registration' => 'Continue Registration', + 'proceed-to-checkout' => 'Proceed To Checkout', + 'remove' => 'Remove', + 'remove-link' => 'Remove', + 'move-to-wishlist' => 'Move to Wishlist', + 'move-to-wishlist-success' => 'Item moved to wishlist successfully.', + 'move-to-wishlist-error' => 'Cannot move item to wishlist, please try again later.', + 'add-config-warning' => 'Please select option before adding to cart.', + 'quantity' => [ 'quantity' => 'Quantity', 'success' => 'Cart Item(s) successfully updated.', 'illegal' => 'Quantity cannot be lesser than one.', 'inventory_warning' => 'The requested quantity is not available, please try again later.', 'error' => 'Cannot update the item(s) at the moment, please try again later.', ], - - 'item' => [ + 'item' => [ 'error_remove' => 'No items to remove from the cart.', 'success' => 'Item is successfully added to cart.', 'success-remove' => 'Item is successfully removed from the cart.', @@ -525,15 +520,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart.', 'inactive-add' => 'Inactive item cannot be added to cart.', ], - 'quantity-error' => 'Requested quantity is not available.', - 'cart-subtotal' => 'Cart Subtotal', - 'cart-remove-action' => 'Do you really want to do this ?', - 'partial-cart-update' => 'Only some of the product(s) were updated', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'Requested quantity is not available.', + 'cart-subtotal' => 'Cart Subtotal', + 'cart-remove-action' => 'Do you really want to do this ?', + 'partial-cart-update' => 'Only some of the product(s) were updated', + 'link-missing' => '', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'Minimum order amount is :amount', + 'minimum-order-message' => 'Minimum order amount is :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/es/app.php b/packages/Webkul/Shop/src/Resources/lang/es/app.php index 604a288c9..9d7f9b5a8 100644 --- a/packages/Webkul/Shop/src/Resources/lang/es/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/es/app.php @@ -487,34 +487,34 @@ return [ 'checkout' => [ 'cart' => [ - 'integrity' => [ + 'integrity' => [ 'missing_fields' => 'Faltan algunos campos requeridos', 'missing_options' => 'Faltan opciones configurables del producto', 'missing_links' => 'Faltan enlaces descargables para este producto.', 'qty_missing' => 'Al menos un producto debe tener más de 1 cantidad.', 'qty_impossible' => 'No se pueden agregar más de uno de estos productos al carrito.', ], - 'create-error' => 'Se encontraron problemas con el carrito de compra', - 'title' => 'Carrito de la compra', - 'empty' => 'Tu carrito está vacía', - 'update-cart' => 'Actualizar carrito', - 'continue-shopping' => 'Seguir comprando', - 'continue-registration' => 'Daŭrigu Registradon', - 'proceed-to-checkout' => 'Continuar con el pago', - 'remove' => 'Eliminar', - 'remove-link' => 'Eliminar', - 'move-to-wishlist' => 'Mover a la lista de deseos', - 'move-to-wishlist-success' => 'Artículo movido a la lista de deseos', - 'move-to-wishlist-error' => 'El artículo no se puede añadir a la lista de deseos, por favor inténtalo más tarde', - 'add-config-warning' => 'Por favor selecciona las opciones antes de añadir al carrito', - 'quantity' => [ + 'create-error' => 'Se encontraron problemas con el carrito de compra', + 'title' => 'Carrito de la compra', + 'empty' => 'Tu carrito está vacía', + 'update-cart' => 'Actualizar carrito', + 'continue-shopping' => 'Seguir comprando', + 'continue-registration' => 'Daŭrigu Registradon', + 'proceed-to-checkout' => 'Continuar con el pago', + 'remove' => 'Eliminar', + 'remove-link' => 'Eliminar', + 'move-to-wishlist' => 'Mover a la lista de deseos', + 'move-to-wishlist-success' => 'Artículo movido a la lista de deseos', + 'move-to-wishlist-error' => 'El artículo no se puede añadir a la lista de deseos, por favor inténtalo más tarde', + 'add-config-warning' => 'Por favor selecciona las opciones antes de añadir al carrito', + 'quantity' => [ 'quantity' => 'Cantidad', 'success' => 'Carrito actualizada exitosamente', 'illegal' => 'La cantidad no puede ser menor que uno', 'inventory_warning' => 'La cantidad solicitada no está disponible, inténtelo más tarde', 'error' => 'No se pueden actualizar los artículos, inténtelo más tarde', ], - 'item' => [ + 'item' => [ 'error_remove' => 'No hay artículos que eliminar en el carrito', 'success' => 'El artículo se añadió al carrito', 'success-remove' => 'El artículo se eliminó del carrito', @@ -522,14 +522,19 @@ return [ 'inactive' => 'Un artículo está inactivo y se eliminó del carrito.', 'inactive-add' => 'El artículo inactivo no se puede agregar al carrito', ], - 'quantity-error' => 'La cantidad solicitada no está disponible', - 'cart-subtotal' => 'Total parcial', - 'cart-remove-action' => '¿Realmente quieres hacer esto?', - 'partial-cart-update' => 'Solo algunos de los productos se han actualizado', - 'event' => [ + 'quantity-error' => 'La cantidad solicitada no está disponible', + 'cart-subtotal' => 'Total parcial', + 'cart-remove-action' => '¿Realmente quieres hacer esto?', + 'partial-cart-update' => 'Solo algunos de los productos se han actualizado', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'La cantidad mínima de pedido es :amount', + 'minimum-order-message' => 'La cantidad mínima de pedido es :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/fa/app.php b/packages/Webkul/Shop/src/Resources/lang/fa/app.php index 80f666e73..840286c8f 100644 --- a/packages/Webkul/Shop/src/Resources/lang/fa/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/fa/app.php @@ -520,14 +520,19 @@ return [ 'inactive-add' => 'Inactive item cannot be added to cart', ], - 'quantity-error' => 'مقدار درخواستی در دسترس نیست', - 'cart-subtotal' => 'سبد فرعی', - 'cart-remove-action' => 'آیا واقعاً می خواهید این کار را انجام دهید؟', - 'partial-cart-update' => 'فقط برخی از محصولات (های) به روز شده اند', - 'event' => [ + 'quantity-error' => 'مقدار درخواستی در دسترس نیست', + 'cart-subtotal' => 'سبد فرعی', + 'cart-remove-action' => 'آیا واقعاً می خواهید این کار را انجام دهید؟', + 'partial-cart-update' => 'فقط برخی از محصولات (های) به روز شده اند', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'حداقل مقدار سفارش است :amount', + 'minimum-order-message' => 'حداقل مقدار سفارش است :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/fr/app.php b/packages/Webkul/Shop/src/Resources/lang/fr/app.php index aecc21461..8569d6c4a 100755 --- a/packages/Webkul/Shop/src/Resources/lang/fr/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/fr/app.php @@ -530,7 +530,12 @@ return [ 'expired' => 'Cet événement a expiré.', ], - 'minimum-order-message' => 'Le montant minimum de commande est de :amount', + 'minimum-order-message' => 'Le montant minimum de commande est de :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/it/app.php b/packages/Webkul/Shop/src/Resources/lang/it/app.php index 4fa75862b..62086a100 100644 --- a/packages/Webkul/Shop/src/Resources/lang/it/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/it/app.php @@ -512,7 +512,7 @@ return [ 'error' => 'Non è posibile aggiornare gli articoli al momento, prova ancora.', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Nessun prodotto da rimuovere nel carrello.', 'success' => 'Prodotto aggiunto al carrello.', 'success-remove' => 'Prodotto rimosso dal carrello.', @@ -520,15 +520,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart.', 'inactive-add' => 'Inactive item cannot be added to cart.', ], - 'quantity-error' => 'La quantità richiesta non è disponibile.', - 'cart-subtotal' => 'Subtotale Carrello', - 'cart-remove-action' => 'Vuoi veramente farlo ?', - 'partial-cart-update' => 'Solo alcuni dei prodotti sono stati aggiornati', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'La quantità richiesta non è disponibile.', + 'cart-subtotal' => 'Subtotale Carrello', + 'cart-remove-action' => 'Vuoi veramente farlo ?', + 'partial-cart-update' => 'Solo alcuni dei prodotti sono stati aggiornati', + 'link-missing' => '', + 'event' => [ 'expired' => 'Questo evento è terminato.', ], - 'minimum-order-message' => 'L\'importo minimo dell\'ordine è :amount', + 'minimum-order-message' => 'L\'importo minimo dell\'ordine è :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/ja/app.php b/packages/Webkul/Shop/src/Resources/lang/ja/app.php index 93a837250..8238782fc 100644 --- a/packages/Webkul/Shop/src/Resources/lang/ja/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/ja/app.php @@ -449,34 +449,34 @@ return [ 'checkout' => [ 'cart' => [ - 'integrity' => [ + 'integrity' => [ 'missing_fields' => '赤くなった項目を入力してください', 'missing_options' => 'Options are missing for this product.', 'missing_links' => 'Downloadable links are missing for this product.', 'qty_missing' => 'Atleast one product should have more than 1 quantity.', 'qty_impossible' => 'Cannot add more than one of these products to cart.', ], - 'create-error' => 'カートで問題が発生しました', - 'title' => 'カート', - 'empty' => 'カートが空です。', - 'update-cart' => 'カートを更新する', - 'continue-shopping' => '買い物を続ける', - 'continue-registration' => '登録を続ける', - 'proceed-to-checkout' => '購入手続きに進む', - 'remove' => '削除', - 'remove-link' => '削除', - 'move-to-wishlist' => 'お気に入りに移動する', - 'move-to-wishlist-success' => 'アイテムがお気に入りに追加されました。', - 'move-to-wishlist-error' => 'アイテムをお気に入りに追加することができませんでした。しばらくしてから再度お試し下さい。', - 'add-config-warning' => 'カートに追加する前にオプションを選択してください', - 'quantity' => [ + 'create-error' => 'カートで問題が発生しました', + 'title' => 'カート', + 'empty' => 'カートが空です。', + 'update-cart' => 'カートを更新する', + 'continue-shopping' => '買い物を続ける', + 'continue-registration' => '登録を続ける', + 'proceed-to-checkout' => '購入手続きに進む', + 'remove' => '削除', + 'remove-link' => '削除', + 'move-to-wishlist' => 'お気に入りに移動する', + 'move-to-wishlist-success' => 'アイテムがお気に入りに追加されました。', + 'move-to-wishlist-error' => 'アイテムをお気に入りに追加することができませんでした。しばらくしてから再度お試し下さい。', + 'add-config-warning' => 'カートに追加する前にオプションを選択してください', + 'quantity' => [ 'quantity' => '数量', 'success' => 'カートが更新されました。', 'illegal' => '数量を1以下にすることは出来ません。', 'inventory_warning' => 'ご希望の数量の在庫が現在ございません。しばらくしてから再度お試し下さい。現在在庫がございません。', 'error' => 'アイテムの更新が出来ませんでした。しばらくしてから再度お試し下さい。', ], - 'item' => [ + 'item' => [ 'error_remove' => 'カートに削除するアイテムがございません。', 'success' => 'アイテムがカートに追加されました。', 'success-remove' => 'アイテムがカートから削除されました。', @@ -484,12 +484,17 @@ return [ 'inactive' => 'An item is inactive and was removed from cart', 'inactive-add' => 'Inactive item cannot be added to cart', ], - 'quantity-error' => 'ご希望の数量の在庫が現在ございません。', - 'cart-subtotal' => '小計', - 'cart-remove-action' => '手続きを進めますか。', - 'partial-cart-update' => 'Only some of the product(s) were updated', - 'link-missing' => '', - 'minimum-order-message' => '最小注文額は :amount', + 'quantity-error' => 'ご希望の数量の在庫が現在ございません。', + 'cart-subtotal' => '小計', + 'cart-remove-action' => '手続きを進めますか。', + 'partial-cart-update' => 'Only some of the product(s) were updated', + 'link-missing' => '', + 'minimum-order-message' => '最小注文額は :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/nl/app.php b/packages/Webkul/Shop/src/Resources/lang/nl/app.php index 80c9a5b6b..2827ed78d 100644 --- a/packages/Webkul/Shop/src/Resources/lang/nl/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/nl/app.php @@ -519,7 +519,7 @@ return [ 'error' => 'Kan de item (s) momenteel niet updaten. Probeer het later opnieuw.', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Geen items om uit de winkelwagen te verwijderen.', 'success' => 'Artikel is succesvol toegevoegd aan winkelwagen.', 'success-remove' => 'Item is met succes uit de winkelwagen verwijderd.', @@ -527,15 +527,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart.', 'inactive-add' => 'Inactive item cannot be added to cart.', ], - 'quantity-error' => 'Gevraagde hoeveelheid is niet beschikbaar.', - 'cart-subtotal' => 'Subtotaal', - 'cart-remove-action' => 'Wil je dit echt doen?', - 'partial-cart-update' => 'Slechts enkele van de producten zijn bijgewerkt', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'Gevraagde hoeveelheid is niet beschikbaar.', + 'cart-subtotal' => 'Subtotaal', + 'cart-remove-action' => 'Wil je dit echt doen?', + 'partial-cart-update' => 'Slechts enkele van de producten zijn bijgewerkt', + 'link-missing' => '', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'Minimum orderbedrag is :amount', + 'minimum-order-message' => 'Minimum orderbedrag is :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/pl/app.php b/packages/Webkul/Shop/src/Resources/lang/pl/app.php index 9c796736d..21813dae3 100644 --- a/packages/Webkul/Shop/src/Resources/lang/pl/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/pl/app.php @@ -512,7 +512,7 @@ return [ 'error' => 'W tej chwili nie można zaktualizować produktów. Spróbuj ponownie później.', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Brak produktów do usunięcia z koszyka.', 'success' => 'Produkt został pomyślnie dodany do koszyka.', 'success-remove' => 'Produkt został pomyślnie usunięty z koszyka.', @@ -520,14 +520,19 @@ return [ 'inactive' => 'An item is inactive and was removed from cart.', 'inactive-add' => 'Inactive item cannot be added to cart.', ], - 'quantity-error' => 'Żądana ilość nie jest dostępna.', - 'cart-subtotal' => 'Suma częściowa koszyka', - 'cart-remove-action' => 'Czy na pewno chcesz to zrobić ?', - 'partial-cart-update' => 'Tylko niektóre produkty zostały zaktualizowane', - 'event' => [ + 'quantity-error' => 'Żądana ilość nie jest dostępna.', + 'cart-subtotal' => 'Suma częściowa koszyka', + 'cart-remove-action' => 'Czy na pewno chcesz to zrobić ?', + 'partial-cart-update' => 'Tylko niektóre produkty zostały zaktualizowane', + 'event' => [ 'expired' => 'To wydarzenie wygasło.', ], - 'minimum-order-message' => 'Minimalna kwota zamówienia to :amount', + 'minimum-order-message' => 'Minimalna kwota zamówienia to :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/pt_BR/app.php b/packages/Webkul/Shop/src/Resources/lang/pt_BR/app.php index 172aae777..b414bac16 100755 --- a/packages/Webkul/Shop/src/Resources/lang/pt_BR/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/pt_BR/app.php @@ -503,7 +503,7 @@ return [ 'error' => 'Não é possível atualizar o item(s) no momento, por favor, tente novamente mais tarde', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Nenhum item para remover do carrinho', 'success' => 'Item foi adicionado com sucesso ao carrinho', 'success-remove' => 'Item foi removido com sucesso do carrinho', @@ -511,15 +511,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart', 'inactive-add' => 'Inactive item cannot be added to cart', ], - 'quantity-error' => 'Quantidade solicitada não está disponível', - 'cart-subtotal' => 'Subtotal do carrinho', - 'cart-remove-action' => 'Você realmente quer fazer isso ?', - 'partial-cart-update' => 'Only some of the product(s) were updated', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'Quantidade solicitada não está disponível', + 'cart-subtotal' => 'Subtotal do carrinho', + 'cart-remove-action' => 'Você realmente quer fazer isso ?', + 'partial-cart-update' => 'Only some of the product(s) were updated', + 'link-missing' => '', + 'event' => [ 'expired' => 'This event has been expired.', ], - 'minimum-order-message' => 'O valor mínimo do pedido é :amount', + 'minimum-order-message' => 'O valor mínimo do pedido é :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/lang/tr/app.php b/packages/Webkul/Shop/src/Resources/lang/tr/app.php index 72684080e..49c0a3d9a 100644 --- a/packages/Webkul/Shop/src/Resources/lang/tr/app.php +++ b/packages/Webkul/Shop/src/Resources/lang/tr/app.php @@ -512,7 +512,7 @@ return [ 'error' => 'Ürün güncellemesi yapılamıyor, lütfen tekrar deneyin.', ], - 'item' => [ + 'item' => [ 'error_remove' => 'Sepetten kaldırılacak ürün bulunamadı.', 'success' => 'Ürün başarıyla sepete eklendi.', 'success-remove' => 'Ürün sepetten başarıyla kaldırıldı.', @@ -520,15 +520,20 @@ return [ 'inactive' => 'An item is inactive and was removed from cart.', 'inactive-add' => 'Inactive item cannot be added to cart.', ], - 'quantity-error' => 'Girilen miktar mevcut değil.', - 'cart-subtotal' => 'Sepet Ara Toplam', - 'cart-remove-action' => 'Sepeti boşaltmak istediğinizden emin misiniz?', - 'partial-cart-update' => 'Sadece bazı ürünler güncellendi.', - 'link-missing' => '', - 'event' => [ + 'quantity-error' => 'Girilen miktar mevcut değil.', + 'cart-subtotal' => 'Sepet Ara Toplam', + 'cart-remove-action' => 'Sepeti boşaltmak istediğinizden emin misiniz?', + 'partial-cart-update' => 'Sadece bazı ürünler güncellendi.', + 'link-missing' => '', + 'event' => [ 'expired' => 'Bu eylemin geçerliliği sona erdi.', ], - 'minimum-order-message' => 'Minimum order amount is :amount', + 'minimum-order-message' => 'Minimum order amount is :amount', + 'suspended-account-message' => 'Your account has been suspended.', + 'check-shipping-address' => 'Please check shipping address.', + 'check-billing-address' => 'Please check billing address.', + 'specify-shipping-method' => 'Please specify shipping method.', + 'specify-payment-method' => 'Please specify payment method.', ], 'onepage' => [ diff --git a/packages/Webkul/Shop/src/Resources/views/checkout/onepage.blade.php b/packages/Webkul/Shop/src/Resources/views/checkout/onepage.blade.php index 117026353..309da3baf 100755 --- a/packages/Webkul/Shop/src/Resources/views/checkout/onepage.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/checkout/onepage.blade.php @@ -17,6 +17,7 @@
    • + {{ __('shop::app.checkout.onepage.information') }}
    • @@ -25,6 +26,7 @@ @if ($cart->haveStockableItems())
    • + {{ __('shop::app.checkout.onepage.shipping') }}
    • @@ -33,6 +35,7 @@
    • + {{ __('shop::app.checkout.onepage.payment') }}
    • @@ -61,7 +64,6 @@ -
    @@ -104,13 +106,13 @@ - @endpush diff --git a/packages/Webkul/Shop/src/Resources/views/checkout/onepage/customer-checkout.blade.php b/packages/Webkul/Shop/src/Resources/views/checkout/onepage/customer-checkout.blade.php index 4ad841c6e..221d75386 100644 --- a/packages/Webkul/Shop/src/Resources/views/checkout/onepage/customer-checkout.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/checkout/onepage/customer-checkout.blade.php @@ -6,7 +6,7 @@
    - @if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1)
    @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) - + @endfor
    @endif @@ -158,64 +210,102 @@ {{ __('shop::app.checkout.onepage.city') }} - + - - @{{ errors.first('address-form.billing[city]') }} +
    -
    -
    -
    @@ -224,18 +314,32 @@ {{ __('shop::app.checkout.onepage.phone') }} - + - - @{{ errors.first('address-form.billing[phone]') }} - +
    @if ($cart->haveStockableItems())
    - + + + {{ __('shop::app.checkout.onepage.use_for_shipping') }}
    @@ -244,21 +348,26 @@ @auth('customer')
    - + + + {{ __('shop::app.checkout.onepage.save_as_address') }}
    @endauth -
    @if ($cart->haveStockableItems()) -
    +
    {{ __('shop::app.checkout.onepage.shipping-address') }} - + {{ __('shop::app.checkout.onepage.new-address') }}
    @@ -267,59 +376,65 @@
      -
    • - @{{ addresses.company_name }} -
    • -
    • - @{{ addresses.first_name }} @{{ addresses.last_name }}, +
    • -
    • - @{{ addresses.address1 }}, +
    • -
    • - @{{ addresses.city }}, -
    • +
    • -
    • - @{{ addresses.state }}, -
    • +
    • + +
    • - @{{ addresses.country }} @{{ addresses.postcode }} + +
    • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} + {{ __('shop::app.customer.account.address.index.contact') }} : +
    - - @{{ errors.first('address-form.shipping[address_id]') }} +
    -
    -
    - +

    {{ __('shop::app.checkout.onepage.shipping-address') }}

    + @auth('customer') @if(count(auth('customer')->user()->addresses)) - + {{ __('shop::app.checkout.onepage.back') }} @endif @@ -331,10 +446,19 @@ {{ __('shop::app.checkout.onepage.first-name') }} - + - - @{{ errors.first('address-form.shipping[first_name]') }} +
    @@ -343,10 +467,19 @@ {{ __('shop::app.checkout.onepage.last-name') }} - + - - @{{ errors.first('address-form.shipping[last_name]') }} +
    @@ -355,10 +488,19 @@ {{ __('shop::app.checkout.onepage.email') }} - + - - @{{ errors.first('address-form.shipping[email]') }} +
    @@ -367,17 +509,31 @@ {{ __('shop::app.checkout.onepage.address1') }} - + - - @{{ errors.first('address-form.shipping[address1][]') }} +
    @if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1)
    @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) - + @endfor
    @endif @@ -387,19 +543,35 @@ {{ __('shop::app.checkout.onepage.city') }} - + - - @{{ errors.first('address-form.shipping[city]') }} +
    -
    -
    -
    @@ -452,24 +648,37 @@ {{ __('shop::app.checkout.onepage.phone') }} - + - - @{{ errors.first('address-form.shipping[phone]') }} +
    @auth('customer')
    - + + + {{ __('shop::app.checkout.onepage.save_as_address') }}
    @endauth -
    @endif - - \ No newline at end of file + diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/address/country-state.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/address/country-state.blade.php index a77d7f14c..de63312e0 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/address/country-state.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/address/country-state.blade.php @@ -4,36 +4,60 @@ -@endpush \ No newline at end of file +@endpush diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/address/create.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/address/create.blade.php index fdc2e1ae3..13385f8ad 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/address/create.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/address/create.blade.php @@ -11,7 +11,9 @@ @section('account-content')
    {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.vat_id.after') !!} @@ -81,41 +116,75 @@
    - + - + +
    @if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1)
    @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) - + @endfor
    @endif {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.street-address.after') !!} - @include ('shop::customers.account.address.country-state', ['countryCode' => old('country'), 'stateCode' => old('state')]) - - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.country-state.after') !!} -
    - + - @{{ errors.first('city') }} + +
    {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.city.after') !!} + @include ('shop::customers.account.address.country-state', ['countryCode' => old('country'), 'stateCode' => old('state')]) + + {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.country-state.after') !!} +
    - + - + - @{{ errors.first('postcode') }} + +
    {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.postcode.after') !!} @@ -123,16 +192,29 @@
    - + - @{{ errors.first('phone') }} +
    {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.after') !!}
    - + @@ -148,4 +230,4 @@ {!! view_render_event('bagisto.shop.customers.account.address.create.after') !!}
    -@endsection \ No newline at end of file +@endsection diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/address/edit.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/address/edit.blade.php index d44a224e4..364af942b 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/address/edit.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/address/edit.blade.php @@ -7,7 +7,9 @@ @section('account-content') ',trigger:"hover focus",offset:0},O=[],E=function(){function t(e,n){var r=this;c()(this,t),a()(this,"_events",[]),a()(this,"_setTooltipNodeEvent",(function(t,e,n,i){var o=t.relatedreference||t.toElement||t.relatedTarget;return!!r._tooltipNode.contains(o)&&(r._tooltipNode.addEventListener(t.type,(function n(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r._tooltipNode.removeEventListener(t.type,n),e.contains(a)||r._scheduleHide(e,i.delay,i,o)})),!0)})),n=C(C({},S),n),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return u()(t,[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||R.options.defaultClass;d()(this._classes,n)||(this.setClasses(n),e=!0),t=P(t);var r=!1,i=!1;for(var o in this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(i=!0),t)this.options[o]=t[o];if(this._tooltipNode)if(i){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var n=this,r=window.document.createElement("div");r.innerHTML=e.trim();var i=r.childNodes[0];return i.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)})),i.addEventListener("click",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)}))),i}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){n.popperInstance&&n.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise((function(r,i){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var c=t();return void(c&&"function"==typeof c.then?(n.asyncContent=!0,e.loadingClass&&b(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),c.then((function(t){return e.loadingClass&&w(a,e.loadingClass),n._applyContent(t,e)})).then(r).catch(i)):n._applyContent(c,e).then(r).catch(i))}o?s.innerHTML=t:s.innerText=t}r()}}))}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container&&!document.querySelector(e.container))return;clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(b(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&b(this._tooltipNode,this._classes),b(t,["v-tooltip-open"]),r}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,O.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var r=t.getAttribute("title")||e.title;if(!r)return this;var i=this._create(t,e.template);this._tooltipNode=i,t.setAttribute("aria-describedby",i.id);var o=this._findContainer(e.container,t);this._append(i,o);var a=C(C({},e.popperOptions),{},{placement:e.placement});return a.modifiers=C(C({},a.modifiers),{},{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new f.a(t,i,a),this._setContent(r,e),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&i.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=O.indexOf(this);-1!==t&&O.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=R.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),w(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,i=[],o=[];e.forEach((function(t){switch(t){case"hover":i.push("mouseenter"),o.push("mouseleave"),r.options.hideOnTargetClick&&o.push("click");break;case"focus":i.push("focus"),o.push("blur"),r.options.hideOnTargetClick&&o.push("click");break;case"click":i.push("click"),o.push("click")}})),i.forEach((function(e){var i=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:i}),t.addEventListener(e,i)})),o.forEach((function(e){var i=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:i}),t.addEventListener(e,i)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,i=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return r._show(t,n)}),i)}},{key:"_scheduleHide",value:function(t,e,n,r){var i=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==i._isOpen&&i._tooltipNode.ownerDocument.body.contains(i._tooltipNode)){if("mouseleave"===r.type)if(i._setTooltipNodeEvent(r,t,e,n))return;i._hide(t,n)}}),o)}}]),t}();function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F(t){for(var e=1;e
    ',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function P(t){var e={placement:void 0!==t.placement?t.placement:R.options.defaultPlacement,delay:void 0!==t.delay?t.delay:R.options.defaultDelay,html:void 0!==t.html?t.html:R.options.defaultHtml,template:void 0!==t.template?t.template:R.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:R.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:R.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:R.options.defaultTrigger,offset:void 0!==t.offset?t.offset:R.options.defaultOffset,container:void 0!==t.container?t.container:R.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:R.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:R.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:R.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:R.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:R.options.defaultLoadingContent,popperOptions:F({},void 0!==t.popperOptions?t.popperOptions:R.options.defaultPopperOptions)};if(e.offset){var n=i()(e.offset),r=e.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, ".concat(r)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:r}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function j(t,e){for(var n=t.placement,r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=L(e),o=void 0!==e.classes?e.classes:R.options.defaultClass,a=F({title:r},P(F(F({},"object"===i()(e)?e:{}),{},{placement:j(e,n)}))),s=t._tooltip=new E(t,a);s.setClasses(o),s._vueEl=t;var c=void 0!==e.targetClasses?e.targetClasses:R.options.defaultTargetClass;return t._tooltipTargetClasses=c,b(t,c),s}(t,n,o),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?r.show():r.hide())):I(t)}var R={options:A,bind:N,update:N,unbind:function(t){I(t)}};function U(t){t.addEventListener("click",$),t.addEventListener("touchstart",B,!!x&&{passive:!0})}function V(t){t.removeEventListener("click",$),t.removeEventListener("touchstart",B),t.removeEventListener("touchend",z),t.removeEventListener("touchcancel",K)}function $(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function B(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",z),e.addEventListener("touchcancel",K)}}function z(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function K(t){t.currentTarget.$_vclosepopover_touch=!1}var H={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&U(t)},update:function(t,e){var n=e.value,r=e.oldValue,i=e.modifiers;t.$_closePopoverModifiers=i,n!==r&&(void 0===n||n?U(t):V(t))},unbind:function(t){V(t)}};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function q(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=e.event;e.skipDelay;var r=e.force,i=void 0!==r&&r;!i&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay,this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var r=this.$_findContainer(this.container,e);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){t.hidden||(t.isOpen=!0)}))}if(!this.popperInstance){var i=q(q({},this.popperOptions),{},{placement:this.placement});if(i.modifiers=q(q({},i.modifiers),{},{arrow:q(q({},i.modifiers&&i.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();i.modifiers.offset=q(q({},i.modifiers&&i.modifiers.offset),{},{offset:o})}this.boundariesElement&&(i.modifiers.preventOverflow=q(q({},i.modifiers&&i.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new f.a(e,n,i),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var a=this.openGroup;if(a)for(var s,c=0;c1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}}),r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,i=t.relatedreference||t.toElement||t.relatedTarget;return!!r.contains(i)&&(r.addEventListener(t.type,(function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r.removeEventListener(t.type,i),n.contains(a)||e.hide({event:o})})),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function Q(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var r=G[n];if(r.$refs.popover){var i=r.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&i||r.autoHide&&!i)&&r.$_handleGlobalClose(t,e)}))}},r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var r={};m()(r,A,n),it.options=r,R.options=r,e.directive("tooltip",R),e.directive("close-popover",H),e.component("VPopover",rt)}},get enabled(){return M.enabled},set enabled(t){M.enabled=t}},ot=null;"undefined"!=typeof window?ot=window.Vue:void 0!==t&&(ot=t.Vue),ot&&ot.use(it),e.a=it}).call(this,n("yLpj"))},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),i=n("XKFU"),o=n("KroJ"),a=n("3Lyj"),s=n("Z6vF"),c=n("SlkY"),l=n("9gX7"),u=n("0/R4"),f=n("eeVq"),p=n("XMVh"),d=n("fyDq"),h=n("Xbzi");t.exports=function(t,e,n,v,m,g){var y=r[t],b=y,w=m?"set":"add",x=b&&b.prototype,_={},k=function(t){var e=x[t];o(x,t,"delete"==t||"has"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||x.forEach&&!f((function(){(new b).entries().next()})))){var C=new b,S=C[w](g?{}:-0,1)!=C,O=f((function(){C.has(1)})),E=p((function(t){new b(t)})),D=!g&&f((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));E||((b=e((function(e,n){l(e,b,t);var r=h(new y,e,b);return null!=n&&c(n,m,r[w],r),r}))).prototype=x,x.constructor=b),(O||D)&&(k("delete"),k("has"),m&&k("get")),(D||S)&&k(w),g&&x.clear&&delete x.clear}else b=v.getConstructor(e,t,m,w),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=y),_),g||v.setStrong(b,t,m),b}},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4kuk":function(t,e,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),s=n("JSQU");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++et;)i(n,t,arguments[t++]);return n.length=e,n}})},"6FMO":function(t,e,n){var r=n("0/R4"),i=n("EWmC"),o=n("K0xU")("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"6VaU":function(t,e,n){"use strict";var r=n("XKFU"),i=n("xF/b"),o=n("S/j/"),a=n("ne8i"),s=n("2OiF"),c=n("zRwo");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return s(t),e=a(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("nGyu")("flatMap")},"6sVZ":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"77Zs":function(t,e,n){var r=n("Xi7e");t.exports=function(){this.__data__=new r,this.size=0}},"7DDg":function(t,e,n){"use strict";if(n("nh4g")){var r=n("LQAc"),i=n("dyZX"),o=n("eeVq"),a=n("XKFU"),s=n("D4iV"),c=n("7Qtz"),l=n("m0Pp"),u=n("9gX7"),f=n("RjD/"),p=n("Mukb"),d=n("3Lyj"),h=n("RYi7"),v=n("ne8i"),m=n("Cfrj"),g=n("d/Gc"),y=n("apmT"),b=n("aagx"),w=n("I8a+"),x=n("0/R4"),_=n("S/j/"),k=n("M6Qj"),C=n("Kuth"),S=n("OP3Y"),O=n("kJMx").f,E=n("J+6e"),D=n("ylqs"),F=n("K0xU"),M=n("CkkT"),T=n("w2a5"),A=n("69bn"),P=n("yt8O"),j=n("hPIQ"),L=n("XMVh"),I=n("elZq"),N=n("Nr18"),R=n("upKx"),U=n("hswa"),V=n("EemH"),$=U.f,B=V.f,z=i.RangeError,K=i.TypeError,H=i.Uint8Array,X=Array.prototype,q=c.ArrayBuffer,W=c.DataView,Y=M(0),G=M(2),Z=M(3),J=M(4),Q=M(5),tt=M(6),et=T(!0),nt=T(!1),rt=P.values,it=P.keys,ot=P.entries,at=X.lastIndexOf,st=X.reduce,ct=X.reduceRight,lt=X.join,ut=X.sort,ft=X.slice,pt=X.toString,dt=X.toLocaleString,ht=F("iterator"),vt=F("toStringTag"),mt=D("typed_constructor"),gt=D("def_constructor"),yt=s.CONSTR,bt=s.TYPED,wt=s.VIEW,xt=M(1,(function(t,e){return Ot(A(t,t[gt]),e)})),_t=o((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),kt=!!H&&!!H.prototype.set&&o((function(){new H(1).set({})})),Ct=function(t,e){var n=h(t);if(n<0||n%e)throw z("Wrong offset!");return n},St=function(t){if(x(t)&&bt in t)return t;throw K(t+" is not a typed array!")},Ot=function(t,e){if(!x(t)||!(mt in t))throw K("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Dt(A(t,t[gt]),e)},Dt=function(t,e){for(var n=0,r=e.length,i=Ot(t,r);r>n;)i[n]=e[n++];return i},Ft=function(t,e,n){$(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,i,o,a,s=_(t),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,p=E(s);if(null!=p&&!k(p)){for(a=p.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&c>2&&(u=l(u,arguments[2],2)),e=0,n=v(s.length),i=Ot(this,n);n>e;e++)i[e]=f?u(s[e],e):s[e];return i},Tt=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},At=!!H&&o((function(){dt.call(new H(1))})),Pt=function(){return dt.apply(At?ft.call(St(this)):St(this),arguments)},jt={copyWithin:function(t,e){return R.call(St(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(St(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(St(this),arguments)},filter:function(t){return Et(this,G(St(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(St(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(St(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Y(St(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(St(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(St(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(St(this),arguments)},lastIndexOf:function(t){return at.apply(St(this),arguments)},map:function(t){return xt(St(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(St(this),arguments)},reduceRight:function(t){return ct.apply(St(this),arguments)},reverse:function(){for(var t,e=St(this).length,n=Math.floor(e/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return ut.call(St(this),t)},subarray:function(t,e){var n=St(this),r=n.length,i=g(t,r);return new(A(n,n[gt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:g(e,r))-i))}},Lt=function(t,e){return Et(this,ft.call(St(this),t,e))},It=function(t){St(this);var e=Ct(arguments[1],1),n=this.length,r=_(t),i=v(r.length),o=0;if(i+e>n)throw z("Wrong length!");for(;o255?255:255&r),i.v[d](n*e+i.o,r,_t)}(this,n,t)},enumerable:!0})};b?(h=n((function(t,n,r,i){u(t,h,l,"_d");var o,a,s,c,f=0,d=0;if(x(n)){if(!(n instanceof q||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return bt in n?Dt(h,n):Mt.call(h,n);o=n,d=Ct(r,e);var g=n.byteLength;if(void 0===i){if(g%e)throw z("Wrong length!");if((a=g-d)<0)throw z("Wrong length!")}else if((a=v(i)*e)+d>g)throw z("Wrong length!");s=a/e}else s=m(n),o=new q(a=s*e);for(p(t,"_d",{b:o,o:d,l:a,e:s,v:new W(o)});f>1,u=23===e?S(2,-24)-S(2,-77):0,f=0,p=t<0||0===t&&1/t<0?1:0;for((t=C(t))!=t||t===_?(i=t!=t?1:0,r=c):(r=O(E(t)/D),t*(o=S(2,-r))<1&&(r--,o*=2),(t+=r+l>=1?u/o:u*S(2,1-l))*o>=2&&(r++,o/=2),r+l>=c?(i=0,r=c):r+l>=1?(i=(t*o-1)*S(2,e),r+=l):(i=t*S(2,l-1)*S(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*p,a}function P(t,e,n){var r,i=8*n-e-1,o=(1<>1,s=i-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;s>0;u=256*u+t[c],c--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===u)u=1-a;else{if(u===o)return r?NaN:l?-_:_;r+=S(2,e),u-=a}return(l?-1:1)*r*S(2,u-e)}function j(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function L(t){return[255&t]}function I(t){return[255&t,t>>8&255]}function N(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function R(t){return A(t,52,8)}function U(t){return A(t,23,4)}function V(t,e,n){v(t.prototype,e,{get:function(){return this[n]}})}function $(t,e,n,r){var i=d(+n);if(i+e>t[M])throw x("Wrong index!");var o=t[F]._b,a=i+t[T],s=o.slice(a,a+e);return r?s:s.reverse()}function B(t,e,n,r,i,o){var a=d(+n);if(a+e>t[M])throw x("Wrong index!");for(var s=t[F]._b,c=a+t[T],l=r(+i),u=0;uX;)(z=H[X++])in y||s(y,z,k[z]);o||(K.constructor=y)}var q=new b(new y(2)),W=b.prototype.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||c(b.prototype,{setInt8:function(t,e){W.call(this,t,e<<24>>24)},setUint8:function(t,e){W.call(this,t,e<<24>>24)}},!0)}else y=function(t){u(this,y,"ArrayBuffer");var e=d(t);this._b=m.call(new Array(e),0),this[M]=e},b=function(t,e,n){u(this,b,"DataView"),u(t,y,"DataView");var r=t[M],i=f(e);if(i<0||i>r)throw x("Wrong offset!");if(i+(n=void 0===n?r-i:p(n))>r)throw x("Wrong length!");this[F]=t,this[T]=i,this[M]=n},i&&(V(y,"byteLength","_l"),V(b,"buffer","_b"),V(b,"byteLength","_l"),V(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(t){return $(this,1,t)[0]<<24>>24},getUint8:function(t){return $(this,1,t)[0]},getInt16:function(t){var e=$(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=$(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return j($(this,4,t,arguments[1]))},getUint32:function(t){return j($(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return P($(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return P($(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){B(this,1,t,L,e)},setUint8:function(t,e){B(this,1,t,L,e)},setInt16:function(t,e){B(this,2,t,I,e,arguments[2])},setUint16:function(t,e){B(this,2,t,I,e,arguments[2])},setInt32:function(t,e){B(this,4,t,N,e,arguments[2])},setUint32:function(t,e){B(this,4,t,N,e,arguments[2])},setFloat32:function(t,e){B(this,4,t,U,e,arguments[2])},setFloat64:function(t,e){B(this,8,t,R,e,arguments[2])}});g(y,"ArrayBuffer"),g(b,"DataView"),s(b.prototype,a.VIEW,!0),e.ArrayBuffer=y,e.DataView=b},"7VC1":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},"7fqy":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},"7h0T":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(t){return t!=t}})},"8+KV":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(0),o=n("LyE8")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},"84bF":function(t,e,n){"use strict";n("OGtf")("small",(function(t){return function(){return t(this,"small","","")}}))},"88Gu":function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"8L3F":function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?f:u||f}function d(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=h(t);return s.host?v(s.host,e):v(t,h(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function b(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",e,n,r),width:b("Width",e,n,r)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===e.nodeName,o=O(t),s=O(e),l=c(t),u=a(e),f=parseFloat(u.borderTopWidth),d=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=S({top:o.top-s.top-f,left:o.left-s.left-d,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var v=parseFloat(u.marginTop),m=parseFloat(u.marginLeft);h.top-=f-v,h.bottom-=f-v,h.left-=d-m,h.right-=d-m,h.marginTop=v,h.marginLeft=m}return(r&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(h=g(h,e)),h}function D(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=E(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return S(c)}function F(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&F(n)}function M(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?M(t):v(t,l(e));if("viewport"===r)o=D(a,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=c(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var f=E(u,a,i);if("HTML"!==u.nodeName||F(a))o=f;else{var p=w(t.ownerDocument),d=p.height,h=p.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=h+f.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function A(t){return t.width*t.height}function P(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=T(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return C({key:t},s[t],{area:A(s[t])})})).sort((function(t,e){return e.area-t.area})),l=c.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,f=t.split("-")[1];return u+(f?"-"+f:"")}function j(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?M(e):v(e,l(n));return E(n,i,r)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,n){n=n.split("-")[0];var r=L(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return i[a]=e[a]+e[c]/2-r[c]/2,i[s]=n===s?e[s]-r[l]:e[I(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function U(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=R(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=S(e.offsets.popper),e.offsets.reference=S(e.offsets.reference),e=n(e,t))})),e}function V(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=j(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=P(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=U(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function $(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function B(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(t),r=Q.slice(n+1).concat(Q.slice(0,n));return e?r.reverse():r}var et="flip",nt="clockwise",rt="counterclockwise";function it(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(R(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return S(s)[e]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){W(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:k({},c,o[c]),end:k({},c,o[c]+o[l]-a[l])};t.offsets.popper=C({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],c=void 0;return c=W(+n)?[+n,0]:it(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=B("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=T(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=c;var l=e.priority,u=t.offsets.popper,f={primary:function(t){var n=u[t];return u[t]c[t]&&!e.escapeWithReference&&(r=Math.min(u[n],c[t]-("right"===t?u.width:u.height))),k({},n,r)}};return l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=C({},u,f[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[c]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",f=l?"Top":"Left",p=f.toLowerCase(),d=l?"left":"top",h=l?"bottom":"right",v=L(r)[u];c[h]-vs[h]&&(t.offsets.popper[p]+=c[p]+v-s[h]),t.offsets.popper=S(t.offsets.popper);var m=c[p]+c[u]/2-v/2,g=a(t.instance.popper),y=parseFloat(g["margin"+f]),b=parseFloat(g["border"+f+"Width"]),w=m-t.offsets.popper[p]-y-b;return w=Math.max(Math.min(s[u]-v,w),0),t.arrowElement=r,t.offsets.arrow=(k(n={},p,Math.round(w)),k(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if($(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=I(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case et:a=[r,i];break;case nt:a=tt(r);break;case rt:a=tt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],i=I(r);var l=t.offsets.popper,u=t.offsets.reference,f=Math.floor,p="left"===r&&f(l.right)>f(u.left)||"right"===r&&f(l.left)f(u.top)||"bottom"===r&&f(l.top)f(n.right),v=f(l.top)f(n.bottom),g="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&m,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===o&&d||y&&"end"===o&&h||!y&&"start"===o&&v||!y&&"end"===o&&m),w=!!e.flipVariationsByContent&&(y&&"start"===o&&h||y&&"end"===o&&d||!y&&"start"===o&&m||!y&&"end"===o&&v),x=b||w;(p||g||x)&&(t.flipped=!0,(p||g)&&(r=a[c+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=C({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=U(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=S(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=C({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return C({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return _(t,[{key:"update",value:function(){return V.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),t}();at.Utils=("undefined"!=typeof window?window:t).PopperUtils,at.placements=J,at.Defaults=ot,e.a=at}).call(this,n("yLpj"))},"8MEG":function(t,e,n){"use strict";var r=n("2OiF"),i=n("0/R4"),o=n("MfQN"),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},"9P93":function(t,e,n){var r=n("XKFU"),i=Math.imul;r(r.S+r.F*n("eeVq")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},"9VmF":function(t,e,n){"use strict";var r=n("XKFU"),i=n("ne8i"),o=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},"9XZr":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9rMk":function(t,e,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(t,e){return e in t}})},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var i,o=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},A2zW:function(t,e,n){"use strict";var r=n("XKFU"),i=n("RYi7"),o=n("vvmO"),a=n("l0Rn"),s=1..toFixed,c=Math.floor,l=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*l[n],l[n]=r%1e7,r=c(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=l[e],l[e]=c(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var n=String(l[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},h=function(t,e,n){return 0===e?n:e%2==1?h(t,e-1,n*t):h(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=o(this,u),l=i(t),v="",m="0";if(l<0||l>20)throw RangeError(u);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*h(2,69,1))-69)<0?c*h(2,-e,1):c/h(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=l;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?v+((s=m.length)<=l?"0."+a.call("0",l-s)+m:m.slice(0,s-l)+"."+m.slice(s-l)):v+m}})},A5AN:function(t,e,n){"use strict";var r=n("AvRE")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},A90E:function(t,e,n){var r=n("6sVZ"),i=n("V6Ve"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},AP2z:function(t,e,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),i=n("XKFU"),o=n("KroJ"),a=n("Mukb"),s=n("hPIQ"),c=n("QaDb"),l=n("fyDq"),u=n("OP3Y"),f=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,m,g){c(n,e,h);var y,b,w,x=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",k="values"==v,C=!1,S=t.prototype,O=S[f]||S["@@iterator"]||v&&S[v],E=O||x(v),D=v?k?x("entries"):E:void 0,F="Array"==e&&S.entries||O;if(F&&(w=u(F.call(new t)))!==Object.prototype&&w.next&&(l(w,_,!0),r||"function"==typeof w[f]||a(w,f,d)),k&&O&&"values"!==O.name&&(C=!0,E=function(){return O.call(this)}),r&&!g||!p&&!C&&S[f]||a(S,f,E),s[e]=E,s[_]=d,v)if(y={values:k?E:x("values"),keys:m?E:x("keys"),entries:D},g)for(b in y)b in S||o(S,b,y[b]);else i(i.P+i.F*(p||C),e,y);return y}},AphP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("S/j/"),o=n("apmT");r(r.P+r.F*n("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},AvRE:function(t,e,n){var r=n("RYi7"),i=n("vhPU");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),l=s.length;return c<0||c>=l?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},"B+OT":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},B8du:function(t,e){t.exports=function(){return!1}},BC7C:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},"BJ/l":function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log1p:n("1sa7")})},BP8U:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},Btvt:function(t,e,n){"use strict";var r=n("I8a+"),i={};i[n("K0xU")("toStringTag")]="z",i+""!="[object z]"&&n("KroJ")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"C/va":function(t,e,n){"use strict";var r=n("y3w9");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},CH3K:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++nx;x++)if((p||x in y)&&(m=b(v=y[x],x,g),t))if(n)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(u)return!1;return f?-1:l||u?u:_}}},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},CyHz:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},D4iV:function(t,e,n){for(var r,i=n("dyZX"),o=n("Mukb"),a=n("ylqs"),s=a("typed_array"),c=a("view"),l=!(!i.ArrayBuffer||!i.DataView),u=l,f=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[p[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):u=!1;t.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},DAlx:function(t,e,n){var r=n("hfxi");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},DNiP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c}).call(this,n("YuTi")(t))},DVgA:function(t,e,n){var r=n("zhAb"),i=n("4R4u");t.exports=Object.keys||function(t){return r(t,i)}},DW2E:function(t,e,n){var r=n("0/R4"),i=n("Z6vF").onFreeze;n("Xtr8")("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},E2jh:function(t,e,n){var r,i=n("2gN3"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");t.exports=function(t,e){return o(i(t,e,r),t+"")}},EK0E:function(t,e,n){"use strict";var r,i=n("dyZX"),o=n("CkkT")(0),a=n("KroJ"),s=n("Z6vF"),c=n("czNK"),l=n("ZD67"),u=n("0/R4"),f=n("s5qY"),p=n("s5qY"),d=!i.ActiveXObject&&"ActiveXObject"in i,h=s.getWeak,v=Object.isExtensible,m=l.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(u(t)){var e=h(t);return!0===e?m(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(f(this,"WeakMap"),t,e)}},b=t.exports=n("4LiD")("WeakMap",g,y,l,!0,!0);p&&d&&(c((r=l.getConstructor(g,"WeakMap")).prototype,y),s.NEED=!0,o(["delete","has","get","set"],(function(t){var e=b.prototype,n=e[t];a(e,t,(function(e,i){if(u(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),i=n("RjD/"),o=n("aCFj"),a=n("apmT"),s=n("aagx"),c=n("xpql"),l=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"Ew+T":function(t,e,n){var r=n("XKFU"),i=n("GZEu");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},FDph:function(t,e,n){n("Z2Ku"),t.exports=n("g3g5").Array.includes},FEjr:function(t,e,n){"use strict";n("OGtf")("strike",(function(t){return function(){return t(this,"strike","","")}}))},FJW5:function(t,e,n){var r=n("hswa"),i=n("y3w9"),o=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},FLlr:function(t,e,n){var r=n("XKFU");r(r.P,"String",{repeat:n("l0Rn")})},Faw5:function(t,e,n){n("7DDg")("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},FlsD:function(t,e,n){var r=n("0/R4");n("Xtr8")("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},FxUG:function(t,e,n){n("R5XZ"),n("Ew+T"),n("rGqo"),t.exports=n("g3g5")},G8Mo:function(t,e,n){var r=n("93I4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},GFzJ:function(t,e,n){"use strict";n("DAlx")},GNAe:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.G+r.F*(parseInt!=i),{parseInt:i})},GZEu:function(t,e,n){var r,i,o,a=n("m0Pp"),s=n("MfQN"),c=n("+rLv"),l=n("Iw71"),u=n("dyZX"),f=u.process,p=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,v=u.Dispatch,m=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete g[t]},"process"==n("LZWt")(f)?r=function(t){f.nextTick(a(y,t,1))}:v&&v.now?r=function(t){v.now(a(y,t,1))}:h?(o=(i=new h).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:p,clear:d}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},H8j4:function(t,e,n){var r=n("QkVE");t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},"HAE/":function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},HDyB:function(t,e,n){var r=n("nmnc"),i=n("JHRd"),o=n("ljhN"),a=n("or5M"),s=n("7fqy"),c=n("rEGp"),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;t.exports=function(t,e,n,r,l,f,p){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=c),t.size!=e.size&&!h)return!1;var v=p.get(t);if(v)return v==e;r|=2,p.set(t,e);var m=a(d(t),d(e),r,l,f,p);return p.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},HEwt:function(t,e,n){"use strict";var r=n("m0Pp"),i=n("XKFU"),o=n("S/j/"),a=n("H6hf"),s=n("M6Qj"),c=n("ne8i"),l=n("8a7r"),u=n("J+6e");i(i.S+i.F*!n("XMVh")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,p=o(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=u(p);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(p.length));e>g;g++)l(n,g,m?v(p[g],g):p[g]);else for(f=y.call(p),n=new d;!(i=f.next()).done;g++)l(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},HOxn:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Promise");t.exports=r},Hsns:function(t,e,n){var r=n("93I4"),i=n("5T2Y").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I1BE:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i1?arguments[1]:void 0)}}),n("nGyu")(o)},"IU+Z":function(t,e,n){"use strict";n("sMXx");var r=n("KroJ"),i=n("Mukb"),o=n("eeVq"),a=n("vhPU"),s=n("K0xU"),c=n("Ugos"),l=s("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=s(t),d=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!u||"split"===t&&!f){var v=/./[p],m=n(a,p,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=m[0],y=m[1];r(String.prototype,t,g),i(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},IXt9:function(t,e,n){"use strict";var r=n("0/R4"),i=n("OP3Y"),o=n("K0xU")("hasInstance"),a=Function.prototype;o in a||n("hswa").f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},IlFx:function(t,e,n){var r=n("XKFU"),i=n("y3w9"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},Ioao:function(t,e,n){var r=n("heNW"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}())}function o(t,e,n,r,i,o,a,s,c,l){"boolean"!=typeof a&&(c=s,s=a,a=!1);var u,f="function"==typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),r&&(f._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},f._ssrRegister=u):e&&(u=a?function(t){e.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),u)if(f.functional){var p=f.render;f.render=function(t,e){return u.call(e),p(t,e)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,u):[u]}return n}n.d(e,"a",(function(){return c}));var a={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var t=this;i(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight,t.emitOnMount&&t.emitSize()}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",r&&this.$el.appendChild(e),e.data="about:blank",r||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!r&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},s=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};s._withStripped=!0;var c=o({render:s,staticRenderFns:[]},void 0,a,"data-v-8859cc6c",!1,void 0,!1,void 0,void 0,void 0);var l={version:"1.0.1",install:function(t){t.component("resize-observer",c),t.component("ResizeObserver",c)}},u=null;"undefined"!=typeof window?u=window.Vue:void 0!==t&&(u=t.Vue),u&&u.use(l)}).call(this,n("yLpj"))},JTzB:function(t,e,n){var r=n("NykK"),i=n("ExA7");t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},JbTB:function(t,e,n){n("/8Fb"),t.exports=n("g3g5").Object.entries},Jcmo:function(t,e,n){var r=n("XKFU"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},JduL:function(t,e,n){n("Xtr8")("getOwnPropertyNames",(function(){return n("e7yV").f}))},"Ji/l":function(t,e,n){var r=n("XKFU");r(r.G+r.W+r.F*!n("D4iV").ABV,{DataView:n("7Qtz").DataView})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},K0xU:function(t,e,n){var r=n("VTer")("wks"),i=n("ylqs"),o=n("dyZX").Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},KKXr:function(t,e,n){"use strict";var r=n("quPj"),i=n("y3w9"),o=n("69bn"),a=n("A5AN"),s=n("ne8i"),c=n("Xxuz"),l=n("Ugos"),u=n("eeVq"),f=Math.min,p=[].push,d="length",h=!u((function(){RegExp(4294967295,"y")}));n("IU+Z")("split",2,(function(t,e,n,u){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[d]||2!="ab".split(/(?:ab)*/)[d]||4!=".".split(/(.?)(.?)/)[d]||".".split(/()()/)[d]>1||"".split(/.?/)[d]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,a,s,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,h=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,u+"g");(o=l.call(v,i))&&!((a=v.lastIndex)>f&&(c.push(i.slice(f,o.index)),o[d]>1&&o.index=h));)v.lastIndex===o.index&&v.lastIndex++;return f===i[d]?!s&&v.test("")||c.push(""):c.push(i.slice(f)),c[d]>h?c.slice(0,h):c}:"0".split(void 0,0)[d]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):v.call(String(i),n,r)},function(t,e){var r=u(v,t,this,e,v!==n);if(r.done)return r.value;var l=i(t),p=String(this),d=o(l,RegExp),m=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(h?"y":"g"),y=new d(h?l:"^(?:"+l.source+")",g),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===p.length)return null===c(y,p)?[p]:[];for(var w=0,x=0,_=[];xdocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},Kz5y:function(t,e,n){var r=n("WFqU"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},L6xF:function(t,e,n){var r=n("lSZW");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(r,i);r.locals&&(t.exports=r.locals)},L8xA:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},L9s1:function(t,e,n){"use strict";var r=n("XKFU"),i=n("0sh+");r(r.P+r.F*n("UUeW")("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},LK8F:function(t,e,n){var r=n("XKFU");r(r.S,"Array",{isArray:n("EWmC")})},LQAc:function(t,e){t.exports=!1},LTTk:function(t,e,n){var r=n("XKFU"),i=n("OP3Y"),o=n("y3w9");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},LVwc:function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},LXxW:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++nf&&(p=p.slice(0,f)),a?p+s:s+p}},Ljet:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},LsHQ:function(t,e,n){var r=n("EA7m"),i=n("mv/X");t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},Mukb:function(t,e,n){var r=n("hswa"),i=n("RjD/");t.exports=n("nh4g")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},MvSz:function(t,e,n){var r=n("LXxW"),i=n("0ycA"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},N8g3:function(t,e,n){e.f=n("K0xU")},NKxu:function(t,e,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,f=l.hasOwnProperty,p=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?p:s).test(a(t))}},NO8f:function(t,e,n){n("7DDg")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},NegM:function(t,e,n){var r=n("2faE"),i=n("rr1i");t.exports=n("jmDH")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},Nr18:function(t,e,n){"use strict";var r=n("S/j/"),i=n("d/Gc"),o=n("ne8i");t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>s;)e[s++]=t;return e}},NykK:function(t,e,n){var r=n("nmnc"),i=n("AP2z"),o=n("KfNM"),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},Nz9U:function(t,e,n){"use strict";var r=n("XKFU"),i=n("aCFj"),o=[].join;r(r.P+r.F*(n("Ymqv")!=Object||!n("LyE8")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},O0oS:function(t,e,n){var r=n("Cwc5"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},OEbY:function(t,e,n){n("nh4g")&&"g"!=/./g.flags&&n("hswa").f(RegExp.prototype,"flags",{configurable:!0,get:n("C/va")})},OG14:function(t,e,n){"use strict";var r=n("y3w9"),i=n("g6HL"),o=n("Xxuz");n("IU+Z")("search",1,(function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),l=s.lastIndex;i(l,0)||(s.lastIndex=0);var u=o(s,c);return i(s.lastIndex,l)||(s.lastIndex=l),null===u?-1:u.index}]}))},OGtf:function(t,e,n){var r=n("XKFU"),i=n("eeVq"),o=n("vhPU"),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},OP3Y:function(t,e,n){var r=n("aagx"),i=n("S/j/"),o=n("YTvA")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"Of+w":function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=r},OnI7:function(t,e,n){var r=n("dyZX"),i=n("g3g5"),o=n("LQAc"),a=n("N8g3"),s=n("hswa").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},Oyvg:function(t,e,n){var r=n("dyZX"),i=n("Xbzi"),o=n("hswa").f,a=n("kJMx").f,s=n("quPj"),c=n("C/va"),l=r.RegExp,u=l,f=l.prototype,p=/a/g,d=/a/g,h=new l(p)!==p;if(n("nh4g")&&(!h||n("eeVq")((function(){return d[n("K0xU")("match")]=!1,l(p)!=p||l(d)==d||"/a/i"!=l(p,"i")})))){l=function(t,e){var n=this instanceof l,r=s(t),o=void 0===e;return!n&&r&&t.constructor===l&&o?t:i(h?new u(r&&!o?t.source:t,e):u((r=t instanceof l)?t.source:t,r&&o?c.call(t):e),n?this:f,l)};for(var v=function(t){t in l||o(l,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},m=a(u),g=0;m.length>g;)v(m[g++]);f.constructor=l,l.prototype=f,n("KroJ")(r,"RegExp",l)}n("elZq")("RegExp")},PKUr:function(t,e,n){var r=n("dyZX").parseInt,i=n("qncB").trim,o=n("/e88"),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},Q1l4:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},RW0V:function(t,e,n){var r=n("S/j/"),i=n("DVgA");n("Xtr8")("keys",(function(){return function(t){return i(r(t))}}))},RYi7:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"RjD/":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Ro2m:function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=11)}([function(t,e,n){"use strict";e.__esModule=!0;var r,i=(r=n(43))&&r.__esModule?r:{default:r};e.default=i.default||function(t){for(var e=1;e0?r:n)(t)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(27);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(8),i=n(7);t.exports=function(t){return r(i(t))}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o={basic:{swatches:["#1FBC9C","#1CA085","#2ECC70","#27AF60","#3398DB","#2980B9","#A463BF","#8E43AD","#3D556E","#222F3D","#F2C511","#F39C19","#E84B3C","#C0382B","#DDE6E8","#BDC3C8"],rowLength:4},"text-basic":{swatches:["#CC0001","#E36101","#FFCC00","#009900","#0066CB","#000000","#FFFFFF"],showBorder:!0},"text-advanced":{swatches:[["#000000","#434343","#666666","#999999","#b7b7b7","#cccccc","#d9d9d9","#efefef","#f3f3f3","#ffffff"],["#980000","#ff0000","#ff9900","#ffff00","#00ff00","#00ffff","#4a86e8","#0000ff","#9900ff","#ff00ff"],["#e6b8af","#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#c9daf8","#cfe2f3","#d9d2e9","#ead1dc"],["#dd7e6b","#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#a4c2f4","#9fc5e8","#b4a7d6","#d5a6bd"],["#cc4125","#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6d9eeb","#6fa8dc","#8e7cc3","#c27ba0"],["#a61c00","#cc0000","#e69138","#f1c232","#6aa84f","#45818e","#3c78d8","#3d85c6","#674ea7","#a64d79"],["#85200c","#990000","#b45f06","#bf9000","#38761d","#134f5c","#1155cc","#0b5394","#351c75","#741b47"],["#5b0f00","#660000","#783f04","#7f6000","#274e13","#0c343d","#1c4587","#073763","#20124d","#4c1130"]],borderRadius:"0",rowLength:10,swatchSize:24,spacingSize:0},"material-basic":{swatches:["#F44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#9E9E9E","#607D8B"]},"material-light":{swatches:["#EF9A9A","#F48FB1","#CE93D8","#B39DDB","#9FA8DA","#90CAF9","#81D4FA","#80DEEA","#80CBC4","#A5D6A7","#C5E1A5","#E6EE9C","#FFF59D","#FFE082","#FFCC80","#FFAB91","#BCAAA4","#EEEEEE","#B0BEC5"]},"material-dark":{swatches:["#D32F2F","#C2185B","#7B1FA2","#512DA8","#303F9F","#1976D2","#0288D1","#0097A7","#00796B","#388E3C","#689F38","#AFB42B","#FBC02D","#FFA000","#F57C00","#E64A19","#5D4037","#616161","#455A64"]}};function a(t,e,n,r,i,o,a,s){var c=typeof(t=t||{}).default;"object"!==c&&"function"!==c||(t=t.default);var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}var s=a({name:"swatches",components:{Swatch:a({name:"swatch",components:{Check:a({name:"check",data:function(){return{}}},(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vue-swatches__check__wrapper vue-swatches--has-children-centered"},[e("div",{staticClass:"vue-swatches__check__circle vue-swatches--has-children-centered"},[e("svg",{staticClass:"check",attrs:{version:"1.1",role:"presentation",width:"12",height:"12",viewBox:"0 0 1792 1792"}},[e("path",{staticClass:"vue-swatches__check__path",attrs:{d:"M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"}})])])])}),[],!1,(function(t){n(13)}),null,null).exports},props:{borderRadius:{type:String},disabled:{type:Boolean},exceptionMode:{type:String},isException:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},showCheckbox:{type:Boolean},showBorder:{type:Boolean},size:{type:Number},spacingSize:{type:Number},swatchColor:{type:String,default:""},swatchStyle:{type:Object}},data:function(){return{}},computed:{computedSwatchStyle:function(){return{display:this.isException&&"hidden"===this.exceptionMode?"none":"inline-block",width:this.size+"px",height:this.size+"px",marginBottom:this.spacingSize+"px",marginRight:this.spacingSize+"px",borderRadius:this.borderRadius,backgroundColor:""!==this.swatchColor?this.swatchColor:"#FFFFFF",cursor:this.cursorStyle}},cursorStyle:function(){return this.disabled||this.isException&&"disabled"===this.exceptionMode?"not-allowed":"pointer"},swatchStyles:function(){return[this.computedSwatchStyle,this.swatchStyle]}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-swatches__swatch",class:{"vue-swatches__swatch--border":t.showBorder,"vue-swatches__swatch--selected":t.selected,"vue-swatches__swatch--is-exception":t.isException||t.disabled},style:t.swatchStyles},[""===t.swatchColor?n("div",{staticClass:"vue-swatches__diagonal--wrapper vue-swatches--has-children-centered"},[n("div",{staticClass:"vue-swatches__diagonal"})]):t._e(),t._v(" "),n("check",{directives:[{name:"show",rawName:"v-show",value:t.showCheckbox&&t.selected,expression:"showCheckbox && selected"}]})],1)}),[],!1,(function(t){n(15)}),null,null).exports},props:{backgroundColor:{type:String,default:"#ffffff"},closeOnSelect:{type:Boolean,default:!0},colors:{type:[Array,Object,String],default:"basic"},exceptions:{type:Array,default:function(){return[]}},exceptionMode:{type:String,default:"disabled"},disabled:{type:Boolean,default:!1},fallbackInputClass:{type:[Array,Object,String],default:null},fallbackOkClass:{type:[Array,Object,String],default:null},fallbackOkText:{type:String,default:"Ok"},fallbackInputType:{type:String,default:function(){return"text"},validator:function(t){return-1!==["text","color"].indexOf(t)}},inline:{type:Boolean,default:!1},maxHeight:{type:[Number,String],default:null},shapes:{type:String,default:"squares"},popoverTo:{type:String,default:"right"},rowLength:{type:[Number,String],default:null},showBorder:{type:Boolean,default:null},showFallback:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!0},swatchSize:{type:[Number,String],default:null},swatchStyle:{type:[Object,Array],default:function(){}},triggerStyle:{type:[Object,Array],default:function(){}},wrapperStyle:{type:[Object,Array],default:function(){}},value:{type:String,default:null}},data:function(){return{presetBorderRadius:null,presetMaxHeight:null,presetRowLength:null,presetShowBorder:null,presetSwatchSize:null,presetSpacingSize:null,internalValue:this.value,internalIsOpen:!1}},computed:{isNested:function(){return!!(this.computedColors&&this.computedColors.length>0&&this.computedColors[0]instanceof Array)},isOpen:function(){return!this.inline&&this.internalIsOpen},isNoColor:function(){return this.checkEquality("",this.value)},computedColors:function(){return this.colors instanceof Array?this.colors:this.extractSwatchesFromPreset(this.colors)},computedBorderRadius:function(){return null!==this.presetBorderRadius?this.presetBorderRadius:this.borderRadius},computedExceptionMode:function(){return"hidden"===this.exceptionMode||"disabled"===this.exceptionMode?this.exceptionMode:void 0},computedMaxHeight:function(){return null!==this.maxHeight?Number(this.maxHeight):null!==this.presetMaxHeight?this.presetMaxHeight:300},computedRowLength:function(){return null!==this.rowLength?Number(this.rowLength):null!==this.presetRowLength?this.presetRowLength:4},computedSwatchSize:function(){return null!==this.swatchSize?Number(this.swatchSize):null!==this.presetSwatchSize?this.presetSwatchSize:42},computedSpacingSize:function(){return null!==this.presetSpacingSize?this.presetSpacingSize:this.spacingSize},computedShowBorder:function(){return null!==this.showBorder?this.showBorder:null!==this.presetShowBorder&&this.presetShowBorder},borderRadius:function(){return"squares"===this.shapes?Math.round(.25*this.computedSwatchSize)+"px":"circles"===this.shapes?"50%":void 0},spacingSize:function(){return Math.round(.25*this.computedSwatchSize)},wrapperWidth:function(){return this.computedRowLength*(this.computedSwatchSize+this.computedSpacingSize)},computedtriggerStyle:function(){return{width:"42px",height:"42px",backgroundColor:this.value?this.value:"#ffffff",borderRadius:"circles"===this.shapes?"50%":"10px"}},triggerStyles:function(){return[this.computedtriggerStyle,this.triggerStyle]},containerStyle:function(){var t={backgroundColor:this.backgroundColor},e={};return this.inline?t:("right"===this.popoverTo?e={left:0}:"left"===this.popoverTo&&(e={right:0}),i()({},e,t,{maxHeight:this.computedMaxHeight+"px"}))},containerStyles:function(){return[this.containerStyle]},computedWrapperStyle:function(){var t={paddingTop:this.computedSpacingSize+"px",paddingLeft:this.computedSpacingSize+"px"};return this.inline?t:i()({},t,{width:this.wrapperWidth+"px"})},wrapperStyles:function(){return[this.computedWrapperStyle,this.wrapperStyle]},computedFallbackWrapperStyle:function(){var t={marginLeft:this.computedSpacingSize+"px",paddingBottom:this.computedSpacingSize+"px"};return this.inline?t:i()({},t,{width:this.wrapperWidth-this.computedSpacingSize+"px"})},computedFallbackWrapperStyles:function(){return[this.computedFallbackWrapperStyle]}},watch:{value:function(t){this.internalValue=t}},methods:{checkEquality:function(t,e){return!(!t&&""!==t||!e&&""!==e)&&t.toUpperCase()===e.toUpperCase()},checkException:function(t){return-1!==this.exceptions.map((function(t){return t.toUpperCase()})).indexOf(t.toUpperCase())},hidePopover:function(){this.internalIsOpen=!1,this.$el.blur(),this.$emit("close",this.internalValue)},onBlur:function(t){this.isOpen&&(null!==t&&this.$el.contains(t)||(this.internalIsOpen=!1,this.$emit("close",this.internalValue)))},onFallbackButtonClick:function(){this.hidePopover()},showPopover:function(){this.isOpen||this.inline||this.disabled||(this.internalIsOpen=!0,this.$el.focus(),this.$emit("open"))},togglePopover:function(){this.isOpen?this.hidePopover():this.showPopover()},updateSwatch:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).fromFallbackInput;this.checkException(t)||this.disabled||(this.internalValue=t,this.$emit("input",t),!this.closeOnSelect||this.inline||e||this.hidePopover())},extractSwatchesFromPreset:function(t){var e;return(e=t instanceof Object?t:o[t]).borderRadius&&(this.presetBorderRadius=e.borderRadius),e.maxHeight&&(this.presetMaxHeight=e.maxHeight),e.rowLength&&(this.presetRowLength=e.rowLength),e.showBorder&&(this.presetShowBorder=e.showBorder),e.swatchSize&&(this.presetSwatchSize=e.swatchSize),(0===e.spacingSize||e.spacingSize)&&(this.presetSpacingSize=e.spacingSize),e.swatches}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-swatches",attrs:{tabindex:"0"},on:{blur:function(e){return e.target!==e.currentTarget?null:(n=e,t.onBlur(n.relatedTarget));var n}}},[t.inline?t._e():n("div",{ref:"trigger-wrapper",on:{click:t.togglePopover}},[t._t("trigger",[n("div",{staticClass:"vue-swatches__trigger",class:{"vue-swatches--is-empty":!t.value,"vue-swatches--is-disabled":t.disabled},style:t.triggerStyles},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isNoColor,expression:"isNoColor"}],staticClass:"vue-swatches__diagonal--wrapper vue-swatches--has-children-centered"},[n("div",{staticClass:"vue-swatches__diagonal"})])])])],2),t._v(" "),n("transition",{attrs:{name:"vue-swatches-show-hide"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.inline||t.isOpen,expression:"inline || isOpen"}],staticClass:"vue-swatches__container",class:{"vue-swatches--inline":t.inline},style:t.containerStyles},[n("div",{staticClass:"vue-swatches__wrapper",style:t.wrapperStyles},[t.isNested?t._l(t.computedColors,(function(e,r){return n("div",{key:r,staticClass:"vue-swatches__row"},t._l(e,(function(e){return n("swatch",{key:e,attrs:{"border-radius":t.computedBorderRadius,disabled:t.disabled,"exception-mode":t.computedExceptionMode,"is-exception":t.checkException(e),selected:t.checkEquality(e,t.value),size:t.computedSwatchSize,"spacing-size":t.computedSpacingSize,"show-border":t.computedShowBorder,"show-checkbox":t.showCheckbox,"swatch-color":e,"swatch-style":t.swatchStyle},nativeOn:{click:function(n){t.updateSwatch(e)}}})})))})):t._l(t.computedColors,(function(e){return n("swatch",{key:e,attrs:{"border-radius":t.computedBorderRadius,disabled:t.disabled,"exception-mode":t.computedExceptionMode,"is-exception":t.checkException(e),selected:t.checkEquality(e,t.value),size:t.computedSwatchSize,"spacing-size":t.computedSpacingSize,"show-border":t.computedShowBorder,"show-checkbox":t.showCheckbox,"swatch-color":e,"swatch-style":t.swatchStyle},nativeOn:{click:function(n){t.updateSwatch(e)}}})}))],2),t._v(" "),t.showFallback?n("div",{staticClass:"vue-swatches__fallback__wrapper",style:t.computedFallbackWrapperStyles},[n("span",{staticClass:"vue-swatches__fallback__input--wrapper"},[n("input",{ref:"fallbackInput",staticClass:"vue-swatches__fallback__input",class:t.fallbackInputClass,attrs:{type:t.fallbackInputType},domProps:{value:t.internalValue},on:{input:function(e){return t.updateSwatch(e.target.value,{fromFallbackInput:!0})}}})]),t._v(" "),n("button",{staticClass:"vue-swatches__fallback__button",class:t.fallbackOkClass,on:{click:function(e){return e.preventDefault(),t.onFallbackButtonClick(e)}}},[t._v("\n "+t._s(t.fallbackOkText)+"\n ")])]):t._e()])])],1)}),[],!1,(function(t){n(45)}),null,null).exports;n.d(e,"Swatches",(function(){return s})),e.default=s},,function(t,e,n){},,function(t,e,n){},function(t,e,n){var r=n(7);t.exports=function(t){return Object(r(t))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!0},function(t,e,n){var r=n(4),i=n(5),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(22)("keys"),i=n(20);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(6),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(6),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(9),i=n(25),o=n(24);t.exports=function(t){return function(e,n,a){var s,c=r(e),l=i(c.length),u=o(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(10),i=n(9),o=n(26)(!1),a=n(23)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var r=n(28),i=n(19);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=n(29),i=n(18),o=n(17),a=n(16),s=n(8),c=Object.assign;t.exports=!c||n(1)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=a(t),c=arguments.length,l=1,u=i.f,f=o.f;c>l;)for(var p,d=s(arguments[l++]),h=u?r(d).concat(u(d)):r(d),v=h.length,m=0;v>m;)f.call(d,p=h[m++])&&(n[p]=d[p]);return n}:c},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(3),i=n(5).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=!n(2)&&!n(1)((function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(35),i=n(34),o=n(32),a=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(36),i=n(31);t.exports=n(2)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(38);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(5),i=n(4),o=n(39),a=n(37),s=n(10),c=function(t,e,n){var l,u,f,p=t&c.F,d=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,g=t&c.W,y=d?i:i[e]||(i[e]={}),b=y.prototype,w=d?r:h?r[e]:(r[e]||{}).prototype;for(l in d&&(n=e),n)(u=!p&&w&&void 0!==w[l])&&s(y,l)||(f=u?w[l]:n[l],y[l]=d&&"function"!=typeof w[l]?n[l]:m&&u?o(f,r):g&&w[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[l]=f,t&c.R&&b&&!b[l]&&a(b,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(40);r(r.S+r.F,"Object",{assign:n(30)})},function(t,e,n){n(41),t.exports=n(4).Object.assign},function(t,e,n){t.exports={default:n(42),__esModule:!0}},,function(t,e,n){}])},"S/j/":function(t,e,n){var r=n("vhPU");t.exports=function(t){return Object(r(t))}},SMB2:function(t,e,n){"use strict";n("OGtf")("bold",(function(t){return function(){return t(this,"b","","")}}))},SPin:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},SRfc:function(t,e,n){"use strict";var r=n("y3w9"),i=n("ne8i"),o=n("A5AN"),a=n("Xxuz");n("IU+Z")("match",1,(function(t,e,n,s){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),l=String(this);if(!c.global)return a(c,l);var u=c.unicode;c.lastIndex=0;for(var f,p=[],d=0;null!==(f=a(c,l));){var h=String(f[0]);p[d]=h,""===h&&(c.lastIndex=o(l,i(c.lastIndex),u)),d++}return 0===d?null:p}]}))},SfRM:function(t,e,n){var r=n("YESw");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},SlkY:function(t,e,n){var r=n("m0Pp"),i=n("H6hf"),o=n("M6Qj"),a=n("y3w9"),s=n("ne8i"),c=n("J+6e"),l={},u={};(e=t.exports=function(t,e,n,f,p){var d,h,v,m,g=p?function(){return t}:c(t),y=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>b;b++)if((m=e?y(a(h=t[b])[0],h[1]):y(t[b]))===l||m===u)return m}else for(v=g.call(t);!(h=v.next()).done;)if((m=i(v,y,h.value,e))===l||m===u)return m}).BREAK=l,e.RETURN=u},T1AV:function(t,e,n){var r=n("t2Dn"),i=n("5Tg0"),o=n("yP5f"),a=n("Q1l4"),s=n("+iFO"),c=n("03A+"),l=n("Z0cm"),u=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),h=n("YO3V"),v=n("c6wG"),m=n("itsj"),g=n("jeLo");t.exports=function(t,e,n,y,b,w,x){var _=m(t,n),k=m(e,n),C=x.get(k);if(C)r(t,n,C);else{var S=w?w(_,k,n+"",t,e,x):void 0,O=void 0===S;if(O){var E=l(k),D=!E&&f(k),F=!E&&!D&&v(k);S=k,E||D||F?l(_)?S=_:u(_)?S=a(_):D?(O=!1,S=i(k,!0)):F?(O=!1,S=o(k,!0)):S=[]:h(k)||c(k)?(S=_,c(_)?S=g(_):d(_)&&!p(_)||(S=s(k))):O=!1}O&&(x.set(k,S),b(S,k,y,w,x),x.delete(k)),r(t,n,S)}}},T1qB:function(t,e,n){(function(t){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},r=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},i=function(t){return decodeURIComponent(String(t).replace(/\+/g," "))};(function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set&&"function"==typeof e.prototype.entries}catch(t){return!1}})()||function(){var i=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof i){var n=this;t.forEach((function(t,e){n.append(e,t)}))}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;re[0]?1:0})),t._entries&&(t._entries={});for(var n=0;n1?i(r[1]):"")}})}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var e=new t.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e)),n&&"string"!=typeof n&&(n=String(n));var r,i=document;if(n&&(void 0===t.location||n!==t.location.href)){n=n.toLowerCase(),(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=n,i.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var o=i.createElement("a");o.href=e,r&&(i.body.appendChild(o),o.href=o.href);var a=i.createElement("input");if(a.type="url",a.value=e,":"===o.protocol||!/:/.test(o.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new t.URLSearchParams(this.search),c=!0,l=!0,u=this;["append","delete","set"].forEach((function(t){var e=s[t];s[t]=function(){e.apply(s,arguments),c&&(l=!1,u.search=s.toString(),l=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,l&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(t){!function(t){Object.defineProperty(r,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval((function(){t.location.origin=e()}),100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n("yLpj"))},T39b:function(t,e,n){"use strict";var r=n("wmvG"),i=n("s5qY");t.exports=n("4LiD")("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},TIpR:function(t,e,n){"use strict";n("VRzm"),n("CX2u"),t.exports=n("g3g5").Promise.finally},Tdpu:function(t,e,n){n("7DDg")("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},Tze0:function(t,e,n){"use strict";n("qncB")("trim",(function(t){return function(){return t(this,3)}}))},U2t9:function(t,e,n){var r=n("XKFU"),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},UExd:function(t,e,n){var r=n("nh4g"),i=n("DVgA"),o=n("aCFj"),a=n("UqcF").f;t.exports=function(t){return function(e){for(var n,s=o(e),c=i(s),l=c.length,u=0,f=[];l>u;)n=c[u++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n1&&s.call(r[0],n,(function(){for(i=1;io;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=L(t);if(o&&(e=w((function(){D?C.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=D||L(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){g.call(c,(function(){var e;D?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=A(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,l(R,r,1),l(N,r,1))}catch(t){N.call(r,t)}})):(n._v=t,n._s=1,P(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};T||(E=function(t){h(this,E,"Promise","_h"),d(t),r.call(this);try{t(l(R,this,1),l(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("3Lyj")(E.prototype,{then:function(t,e){var n=M(m(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=D?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(R,t,1),this.reject=l(N,t,1)},b.f=M=function(t){return t===E||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!T,{Promise:E}),n("fyDq")(E,"Promise"),n("elZq")("Promise"),a=n("g3g5").Promise,f(f.S+f.F*!T,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!T),"Promise",{resolve:function(t){return _(s&&this===a?E:this,t)}}),f(f.S+f.F*!(T&&n("XMVh")((function(t){E.all(t).catch(F)}))),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,i=n.reject,o=w((function(){var n=[],o=0,a=1;v(t,!1,(function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,i=w((function(){v(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},VTer:function(t,e,n){var r=n("g3g5"),i=n("dyZX"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("LQAc")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},Vd3H:function(t,e,n){"use strict";var r=n("XKFU"),i=n("2OiF"),o=n("S/j/"),a=n("eeVq"),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n("LyE8")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},VpUO:function(t,e,n){var r=n("XKFU"),i=n("d/Gc"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},VsWn:function(t,e,n){n("7PI8"),t.exports=n("WEpk").global},W8MJ:function(t,e){function n(t,e){for(var n=0;n=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},Xi7e:function(t,e,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?arguments[1]:void 0)}}),n("nGyu")("includes")},Z6vF:function(t,e,n){var r=n("ylqs")("meta"),i=n("0/R4"),o=n("aagx"),a=n("hswa").f,s=0,c=Object.isExtensible||function(){return!0},l=!n("eeVq")((function(){return c(Object.preventExtensions({}))})),u=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return l&&f.NEED&&c(t)&&!o(t,r)&&u(t),t}}},Z8oC:function(t,e,n){var r=n("y1pI");t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},ZD67:function(t,e,n){"use strict";var r=n("3Lyj"),i=n("Z6vF").getWeak,o=n("y3w9"),a=n("0/R4"),s=n("9gX7"),c=n("SlkY"),l=n("CkkT"),u=n("aagx"),f=n("s5qY"),p=l(5),d=l(6),h=0,v=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},g=function(t,e){return p(t.a,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=h++,t._l=void 0,null!=r&&c(r,n,t[o],t)}));return r(l.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).has(t):n&&u(n,this._i)}}),l},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},Zshi:function(t,e,n){var r=n("0/R4");n("Xtr8")("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},Zz4T:function(t,e,n){"use strict";n("OGtf")("sub",(function(t){return function(){return t(this,"sub","","")}}))},a1Th:function(t,e,n){"use strict";n("OEbY");var r=n("y3w9"),i=n("C/va"),o=n("nh4g"),a=/./.toString,s=function(t){n("KroJ")(RegExp.prototype,"toString",t,!0)};n("eeVq")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},aCFj:function(t,e,n){var r=n("Ymqv"),i=n("vhPU");t.exports=function(t){return r(i(t))}},"aET+":function(t,e,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=s.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),l=null,u=0,f=[],p=n("9tPo");function d(t,e){for(var n=0;n=0&&f.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),v(t,e),e}function y(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function b(t,e){var n,r,i,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=u++;n=l||(l=g(e)),r=_.bind(null,n,a,!1),i=_.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),v(t,e),e}(e),r=C.bind(null,n,e),i=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),r=k.bind(null,n),i=function(){m(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=h(t,e);return d(n,e),function(t){for(var r=[],i=0;it[e]=n[e]);return t})},"cq/+":function(t,e,n){var r=n("mc0g")();t.exports=r},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},cybi:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9)}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\\0;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays,.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-weekdays .flatpickr-weekdaycontainer,span.flatpickr-weekday{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(57,57,57,.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.flatpickr-innerContainer,.flatpickr-rContainer{-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-rContainer{display:inline-block;padding:0}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}',""])},czNK:function(t,e,n){"use strict";var r=n("nh4g"),i=n("DVgA"),o=n("JiEa"),a=n("UqcF"),s=n("S/j/"),c=n("Ymqv"),l=Object.assign;t.exports=!l||n("eeVq")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r}))?function(t,e){for(var n=s(t),l=arguments.length,u=1,f=o.f,p=a.f;l>u;)for(var d,h=c(arguments[u++]),v=f?i(h).concat(f(h)):i(h),m=v.length,g=0;m>g;)d=v[g++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},"d/Gc":function(t,e,n){var r=n("RYi7"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},dD9F:function(t,e,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},"dE+T":function(t,e,n){var r=n("XKFU");r(r.P,"Array",{copyWithin:n("upKx")}),n("nGyu")("copyWithin")},dRSK:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")("find")},dTAl:function(t,e,n){var r=n("GoyQ"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},"dZ+Y":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(3);r(r.P+r.F*!n("LyE8")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},dasq:function(t,e,n){(function(t){!function(t){"use strict";var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),o=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),a=u.prototype,s=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&o)){a.append=function(t,e){v(this.__URLSearchParams__,t,e)},a.delete=function(t){delete this.__URLSearchParams__[t]},a.get=function(t){var e=this.__URLSearchParams__;return t in e?e[t][0]:null},a.getAll=function(t){var e=this.__URLSearchParams__;return t in e?e[t].slice(0):[]},a.has=function(t){return t in this.__URLSearchParams__},a.set=function(t,e){this.__URLSearchParams__[t]=[""+e]},a.toString=function(){var t,e,n,r,i=this.__URLSearchParams__,o=[];for(e in i)for(n=f(e),t=0,r=i[e];ts;)a.push(String(e[s++])),s=0:f>p;p+=d)p in u&&(s=e(s,u[p],p,l));return s}},"f/aN":function(t,e,n){"use strict";var r=n("XKFU"),i=n("y3w9"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("QaDb")(o,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},"f3/d":function(t,e,n){var r=n("hswa").f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n("nh4g")&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},fA63:function(t,e,n){"use strict";n("qncB")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},fN96:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isInteger:n("nBIS")})},"fR/l":function(t,e,n){var r=n("CH3K"),i=n("Z0cm");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},fmRc:function(t,e,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),c=n("0Cz8");function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,t.exports=l},ftKO:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},fyDq:function(t,e,n){var r=n("hswa").f,i=n("aagx"),o=n("K0xU")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},fyVe:function(t,e,n){var r=n("XKFU"),i=n("1sa7"),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},g2aq:function(t,e,n){"use strict";n("W9dy"),n("FDph"),n("Yp8f"),n("wYy3"),n("QNwp"),n("Izvi"),n("ln0Z"),n("wDwx"),n("+Xmh"),n("zFFn"),n("JbTB"),n("TIpR"),n("FxUG"),n("ls82")},g3g5:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},g4EE:function(t,e,n){"use strict";var r=n("y3w9"),i=n("apmT");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},g6HL:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},gHnn:function(t,e,n){var r=n("dyZX"),i=n("GZEu").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("LZWt")(a);t.exports=function(){var t,e,n,l=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},"h/M4":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},h7Nl:function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("KroJ")(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},hEkN:function(t,e,n){"use strict";n("OGtf")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},hHhE:function(t,e,n){var r=n("XKFU");r(r.S,"Object",{create:n("Kuth")})},hLT2:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},hPIQ:function(t,e){t.exports={}},heNW:function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},hfxi:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".preview-wrapper{height:200px;width:200px;padding:5px}.image-preview{height:190px;width:190px}",""])},hhXQ:function(t,e,n){var r=n("XKFU"),i=n("UExd")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},hswa:function(t,e,n){var r=n("y3w9"),i=n("xpql"),o=n("apmT"),a=Object.defineProperty;e.f=n("nh4g")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},hypo:function(t,e,n){var r=n("O0oS");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},i5dc:function(t,e,n){var r=n("0/R4"),i=n("y3w9"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("m0Pp")(Function.call,n("EemH").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},iMoV:function(t,e,n){var r=n("hswa"),i=n("XKFU"),o=n("y3w9"),a=n("apmT");i(i.S+i.F*n("eeVq")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},ioFf:function(t,e,n){"use strict";var r=n("dyZX"),i=n("aagx"),o=n("nh4g"),a=n("XKFU"),s=n("KroJ"),c=n("Z6vF").KEY,l=n("eeVq"),u=n("VTer"),f=n("fyDq"),p=n("ylqs"),d=n("K0xU"),h=n("N8g3"),v=n("OnI7"),m=n("1MBn"),g=n("EWmC"),y=n("y3w9"),b=n("0/R4"),w=n("S/j/"),x=n("aCFj"),_=n("apmT"),k=n("RjD/"),C=n("Kuth"),S=n("e7yV"),O=n("EemH"),E=n("JiEa"),D=n("hswa"),F=n("DVgA"),M=O.f,T=D.f,A=S.f,P=r.Symbol,j=r.JSON,L=j&&j.stringify,I=d("_hidden"),N=d("toPrimitive"),R={}.propertyIsEnumerable,U=u("symbol-registry"),V=u("symbols"),$=u("op-symbols"),B=Object.prototype,z="function"==typeof P&&!!E.f,K=r.QObject,H=!K||!K.prototype||!K.prototype.findChild,X=o&&l((function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=M(B,e);r&&delete B[e],T(t,e,n),r&&t!==B&&T(B,e,r)}:T,q=function(t){var e=V[t]=C(P.prototype);return e._k=t,e},W=z&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,n){return t===B&&Y($,e,n),y(t),e=_(e,!0),y(n),i(V,e)?(n.enumerable?(i(t,I)&&t[I][e]&&(t[I][e]=!1),n=C(n,{enumerable:k(0,!1)})):(i(t,I)||T(t,I,k(1,{})),t[I][e]=!0),X(t,e,n)):T(t,e,n)},G=function(t,e){y(t);for(var n,r=m(e=x(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Z=function(t){var e=R.call(this,t=_(t,!0));return!(this===B&&i(V,t)&&!i($,t))&&(!(e||!i(this,t)||!i(V,t)||i(this,I)&&this[I][t])||e)},J=function(t,e){if(t=x(t),e=_(e,!0),t!==B||!i(V,e)||i($,e)){var n=M(t,e);return!n||!i(V,e)||i(t,I)&&t[I][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=A(x(t)),r=[],o=0;n.length>o;)i(V,e=n[o++])||e==I||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===B,r=A(n?$:x(t)),o=[],a=0;r.length>a;)!i(V,e=r[a++])||n&&!i(B,e)||o.push(V[e]);return o};z||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call($,n),i(this,I)&&i(this[I],t)&&(this[I][t]=!1),X(this,t,k(1,n))};return o&&H&&X(B,t,{configurable:!0,set:e}),q(t)}).prototype,"toString",(function(){return this._k})),O.f=J,D.f=Y,n("kJMx").f=S.f=Q,n("UqcF").f=Z,E.f=tt,o&&!n("LQAc")&&s(B,"propertyIsEnumerable",Z,!0),h.f=function(t){return q(d(t))}),a(a.G+a.W+a.F*!z,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=F(d.store),it=0;rt.length>it;)v(rt[it++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=P(t)},keyFor:function(t){if(!W(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?C(t):G(C(t),e)},defineProperty:Y,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=l((function(){E.f(1)}));a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return E.f(w(t))}}),j&&a(a.S+a.F*(!z||l((function(){var t=P();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!W(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!W(e))return e}),r[1]=e,L.apply(j,r)}}),P.prototype[N]||n("Mukb")(P.prototype,N,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},itsj:function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t){return r(t,i(t))}},"jl8+":function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(49)("wks"),i=n(30),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(0),i=n(10),o=n(8),a=n(6),s=n(11),c=function(t,e,n){var l,u,f,p,d=t&c.F,h=t&c.G,v=t&c.S,m=t&c.P,g=t&c.B,y=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?i:i[e]||(i[e]={}),w=b.prototype||(b.prototype={});for(l in h&&(n=e),n)f=((u=!d&&y&&void 0!==y[l])?y:n)[l],p=g&&u?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,y&&a(y,l,f,t&c.U),b[l]!=f&&o(b,l,p),m&&w[l]!=f&&(w[l]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(0),i=n(8),o=n(12),a=n(30)("src"),s=Function.toString,c=(""+s).split("toString");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),i=n(25);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(2),i=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(23),i=n(16);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(53),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(11),i=n(23),o=n(28),a=n(19),s=n(64);t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var v,m,g=o(e),y=i(g),b=r(s,h,3),w=a(y.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((p||x in y)&&(m=b(v=y[x],x,g),t))if(n)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(u)return!1;return f?-1:l||u?u:_}}},function(t,e,n){var r=n(5),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(13).f,i=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(49)("keys"),i=n(30);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(9),a=n(67),s=n(29),c=n(7),l=n(77).f,u=n(45).f,f=n(13).f,p=n(51).trim,d=r.Number,h=d,v=d.prototype,m="Number"==o(n(44)(v)),g="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=g?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),l=0,u=c.length;li)return NaN;return parseInt(c,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(m?c((function(){v.valueOf.call(n)})):"Number"!=o(n))?a(new h(y(e)),n,d):y(e)};for(var b,w=n(4)?l(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(h,b=w[x])&&!i(d,b)&&f(d,b,u(h,b));d.prototype=v,v.constructor=d,n(6)(r,"Number",d)}},function(t,e,n){"use strict";function r(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function i(t,e,n,r){return t.filter((function(t){return function(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}(r(t,n),e)}))}function o(t){return t.filter((function(t){return!t.$isLabel}))}function a(t,e){return function(n){return n.reduce((function(n,r){return r[t]&&r[t].length?(n.push({$groupLabel:r[e],$isLabel:!0}),n.concat(r[t])):n}),[])}}function s(t,e,r,o,a){return function(s){return s.map((function(s){var c;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var l=i(s[r],t,e,a);return l.length?(c={},n.i(p.a)(c,o,s[o]),n.i(p.a)(c,r,l),c):[]}))}}var c=n(59),l=n(54),u=(n.n(l),n(95)),f=(n.n(u),n(31)),p=(n.n(f),n(58)),d=n(91),h=(n.n(d),n(98)),v=(n.n(h),n(92)),m=(n.n(v),n(88)),g=(n.n(m),n(97)),y=(n.n(g),n(89)),b=(n.n(y),n(96)),w=(n.n(b),n(93)),x=(n.n(w),n(90)),_=(n.n(x),function(){for(var t=arguments.length,e=new Array(t),n=0;n-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(r(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return r(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",r,this.id)}else{var i=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(c.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var i=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var r=n(54),i=(n.n(r),n(31));n.n(i),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter",e=t.key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward:function(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var r=n(36),i=n(74),o=n(15),a=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(31),i=(n.n(r),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;null==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(18),i=n(19),o=n(85);t.exports=function(t){return function(e,n,a){var s,c=r(e),l=i(c.length),u=o(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var r=n(9),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(9);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=i(e),this.reject=i(n)}var i=n(14);t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(2),i=n(76),o=n(22),a=n(27)("IE_PROTO"),s=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("